Class: OvirtSDK4::Spm
- Inherits:
-
Struct
- Object
- Struct
- OvirtSDK4::Spm
- Defined in:
- lib/ovirtsdk4/types.rb,
lib/ovirtsdk4/types.rb
Instance Method Summary (collapse)
-
- (Spm) initialize(opts = {})
constructor
Creates a new instance of the Spm class.
-
- (Integer) priority
Returns the value of the
priority
attribute. -
- (Object) priority=(value)
Sets the value of the
priority
attribute. -
- (SpmStatus) status
Returns the value of the
status
attribute. -
- (Object) status=(value)
Sets the value of the
status
attribute.
Methods included from Type
Constructor Details
- (Spm) initialize(opts = {})
Creates a new instance of the OvirtSDK4::Spm class.
14122 14123 14124 14125 14126 |
# File 'lib/ovirtsdk4/types.rb', line 14122 def initialize(opts = {}) super(opts) self.priority = opts[:priority] self.status = opts[:status] end |
Instance Method Details
- (Integer) priority
Returns the value of the priority
attribute.
14079 14080 14081 |
# File 'lib/ovirtsdk4/types.rb', line 14079 def priority return @priority end |
- (Object) priority=(value)
Sets the value of the priority
attribute.
14088 14089 14090 |
# File 'lib/ovirtsdk4/types.rb', line 14088 def priority=(value) @priority = value end |
- (SpmStatus) status
Returns the value of the status
attribute.
14097 14098 14099 |
# File 'lib/ovirtsdk4/types.rb', line 14097 def status return @status end |
- (Object) status=(value)
Sets the value of the status
attribute.
14106 14107 14108 |
# File 'lib/ovirtsdk4/types.rb', line 14106 def status=(value) @status = value end |