Class: OvirtSDK4::ApiSummaryItem
- Inherits:
-
Struct
- Object
- Struct
- OvirtSDK4::ApiSummaryItem
- 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. -
- (ApiSummaryItem) initialize(opts = {})
constructor
Creates a new instance of the ApiSummaryItem class.
-
- (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
- (ApiSummaryItem) initialize(opts = {})
Creates a new instance of the OvirtSDK4::ApiSummaryItem class.
1034 1035 1036 1037 1038 |
# File 'lib/ovirtsdk4/types.rb', line 1034 def initialize(opts = {}) super(opts) self.active = opts[:active] self.total = opts[:total] end |
Instance Method Details
- (Integer) active
Returns the value of the active
attribute.
991 992 993 |
# File 'lib/ovirtsdk4/types.rb', line 991 def active return @active end |
- (Object) active=(value)
Sets the value of the active
attribute.
1000 1001 1002 |
# File 'lib/ovirtsdk4/types.rb', line 1000 def active=(value) @active = value end |
- (Integer) total
Returns the value of the total
attribute.
1009 1010 1011 |
# File 'lib/ovirtsdk4/types.rb', line 1009 def total return @total end |
- (Object) total=(value)
Sets the value of the total
attribute.
1018 1019 1020 |
# File 'lib/ovirtsdk4/types.rb', line 1018 def total=(value) @total = value end |