Creates a new instance of the {ApiSummaryItem} class.
@param opts [Hash] A hash containing the attributes of the object. The keys of the hash
should be symbols corresponding to the names of the attributes. The values of the hash should be the values of the attributes.
@option opts [Integer] :active The value of attribute `active`.
@option opts [Integer] :total The value of attribute `total`.
# File lib/ovirtsdk4/types.rb, line 1028 def initialize(opts = {}) super(opts) self.active = opts[:active] self.total = opts[:total] end
Returns the value of the `active` attribute.
@return [Integer]
# File lib/ovirtsdk4/types.rb, line 985 def active return @active end
Sets the value of the `active` attribute.
@param value [Integer]
# File lib/ovirtsdk4/types.rb, line 994 def active=(value) @active = value end
Returns the value of the `total` attribute.
@return [Integer]
# File lib/ovirtsdk4/types.rb, line 1003 def total return @total end
Sets the value of the `total` attribute.
@param value [Integer]
# File lib/ovirtsdk4/types.rb, line 1012 def total=(value) @total = value end