Class: OvirtSDK4::VmSummary
- Inherits:
-
Struct
- Object
- Struct
- OvirtSDK4::VmSummary
- Defined in:
- lib/ovirtsdk4/types.rb,
lib/ovirtsdk4/types.rb
Instance Method Summary (collapse)
-
- (Integer) active
Returns the value of the
active
attribute. -
- (Object) active=(value)
Sets the value of the
active
attribute. -
- (VmSummary) initialize(opts = {})
constructor
Creates a new instance of the VmSummary class.
-
- (Integer) migrating
Returns the value of the
migrating
attribute. -
- (Object) migrating=(value)
Sets the value of the
migrating
attribute. -
- (Integer) total
Returns the value of the
total
attribute. -
- (Object) total=(value)
Sets the value of the
total
attribute.
Methods included from Type
Constructor Details
- (VmSummary) initialize(opts = {})
Creates a new instance of the OvirtSDK4::VmSummary class.
20195 20196 20197 20198 20199 20200 |
# File 'lib/ovirtsdk4/types.rb', line 20195 def initialize(opts = {}) super(opts) self.active = opts[:active] self. = opts[:migrating] self.total = opts[:total] end |
Instance Method Details
- (Integer) active
Returns the value of the active
attribute.
20132 20133 20134 |
# File 'lib/ovirtsdk4/types.rb', line 20132 def active return @active end |
- (Object) active=(value)
Sets the value of the active
attribute.
20141 20142 20143 |
# File 'lib/ovirtsdk4/types.rb', line 20141 def active=(value) @active = value end |
- (Integer) migrating
Returns the value of the migrating
attribute.
20150 20151 20152 |
# File 'lib/ovirtsdk4/types.rb', line 20150 def return @migrating end |
- (Object) migrating=(value)
Sets the value of the migrating
attribute.
20159 20160 20161 |
# File 'lib/ovirtsdk4/types.rb', line 20159 def (value) @migrating = value end |
- (Integer) total
Returns the value of the total
attribute.
20168 20169 20170 |
# File 'lib/ovirtsdk4/types.rb', line 20168 def total return @total end |
- (Object) total=(value)
Sets the value of the total
attribute.
20177 20178 20179 |
# File 'lib/ovirtsdk4/types.rb', line 20177 def total=(value) @total = value end |