Class: OvirtSDK4::HostedEngine
- Inherits:
-
Struct
- Object
- Struct
- OvirtSDK4::HostedEngine
- Defined in:
- lib/ovirtsdk4/types.rb,
lib/ovirtsdk4/types.rb
Instance Method Summary (collapse)
-
- (Boolean) active
Returns the value of the
active
attribute. -
- (Object) active=(value)
Sets the value of the
active
attribute. -
- (Boolean) configured
Returns the value of the
configured
attribute. -
- (Object) configured=(value)
Sets the value of the
configured
attribute. -
- (Boolean) global_maintenance
Returns the value of the
global_maintenance
attribute. -
- (Object) global_maintenance=(value)
Sets the value of the
global_maintenance
attribute. -
- (HostedEngine) initialize(opts = {})
constructor
Creates a new instance of the HostedEngine class.
-
- (Boolean) local_maintenance
Returns the value of the
local_maintenance
attribute. -
- (Object) local_maintenance=(value)
Sets the value of the
local_maintenance
attribute. -
- (Integer) score
Returns the value of the
score
attribute. -
- (Object) score=(value)
Sets the value of the
score
attribute.
Methods included from Type
Constructor Details
- (HostedEngine) initialize(opts = {})
Creates a new instance of the OvirtSDK4::HostedEngine class.
3602 3603 3604 3605 3606 3607 3608 3609 |
# File 'lib/ovirtsdk4/types.rb', line 3602 def initialize(opts = {}) super(opts) self.active = opts[:active] self.configured = opts[:configured] self.global_maintenance = opts[:global_maintenance] self.local_maintenance = opts[:local_maintenance] self.score = opts[:score] end |
Instance Method Details
- (Boolean) active
Returns the value of the active
attribute.
3499 3500 3501 |
# File 'lib/ovirtsdk4/types.rb', line 3499 def active return @active end |
- (Object) active=(value)
Sets the value of the active
attribute.
3508 3509 3510 |
# File 'lib/ovirtsdk4/types.rb', line 3508 def active=(value) @active = value end |
- (Boolean) configured
Returns the value of the configured
attribute.
3517 3518 3519 |
# File 'lib/ovirtsdk4/types.rb', line 3517 def configured return @configured end |
- (Object) configured=(value)
Sets the value of the configured
attribute.
3526 3527 3528 |
# File 'lib/ovirtsdk4/types.rb', line 3526 def configured=(value) @configured = value end |
- (Boolean) global_maintenance
Returns the value of the global_maintenance
attribute.
3535 3536 3537 |
# File 'lib/ovirtsdk4/types.rb', line 3535 def global_maintenance return @global_maintenance end |
- (Object) global_maintenance=(value)
Sets the value of the global_maintenance
attribute.
3544 3545 3546 |
# File 'lib/ovirtsdk4/types.rb', line 3544 def global_maintenance=(value) @global_maintenance = value end |
- (Boolean) local_maintenance
Returns the value of the local_maintenance
attribute.
3553 3554 3555 |
# File 'lib/ovirtsdk4/types.rb', line 3553 def local_maintenance return @local_maintenance end |
- (Object) local_maintenance=(value)
Sets the value of the local_maintenance
attribute.
3562 3563 3564 |
# File 'lib/ovirtsdk4/types.rb', line 3562 def local_maintenance=(value) @local_maintenance = value end |
- (Integer) score
Returns the value of the score
attribute.
3571 3572 3573 |
# File 'lib/ovirtsdk4/types.rb', line 3571 def score return @score end |
- (Object) score=(value)
Sets the value of the score
attribute.
3580 3581 3582 |
# File 'lib/ovirtsdk4/types.rb', line 3580 def score=(value) @score = value end |