Class: OvirtSDK4::HighAvailability
- Inherits:
-
Struct
- Object
- Struct
- OvirtSDK4::HighAvailability
- Defined in:
- lib/ovirtsdk4/types.rb,
lib/ovirtsdk4/types.rb
Instance Method Summary (collapse)
-
- (Boolean) enabled
Returns the value of the
enabled
attribute. -
- (Object) enabled=(value)
Sets the value of the
enabled
attribute. -
- (HighAvailability) initialize(opts = {})
constructor
Creates a new instance of the HighAvailability class.
-
- (Integer) priority
Returns the value of the
priority
attribute. -
- (Object) priority=(value)
Sets the value of the
priority
attribute.
Methods included from Type
Constructor Details
- (HighAvailability) initialize(opts = {})
Creates a new instance of the OvirtSDK4::HighAvailability class.
3368 3369 3370 3371 3372 |
# File 'lib/ovirtsdk4/types.rb', line 3368 def initialize(opts = {}) super(opts) self.enabled = opts[:enabled] self.priority = opts[:priority] end |
Instance Method Details
- (Boolean) enabled
Returns the value of the enabled
attribute.
3325 3326 3327 |
# File 'lib/ovirtsdk4/types.rb', line 3325 def enabled return @enabled end |
- (Object) enabled=(value)
Sets the value of the enabled
attribute.
3334 3335 3336 |
# File 'lib/ovirtsdk4/types.rb', line 3334 def enabled=(value) @enabled = value end |
- (Integer) priority
Returns the value of the priority
attribute.
3343 3344 3345 |
# File 'lib/ovirtsdk4/types.rb', line 3343 def priority return @priority end |
- (Object) priority=(value)
Sets the value of the priority
attribute.
3352 3353 3354 |
# File 'lib/ovirtsdk4/types.rb', line 3352 def priority=(value) @priority = value end |