Creates a new instance of the {SystemOptionValue} 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 [String] :value The value of attribute `value`.
@option opts [String] :version The value of attribute `version`.
# File lib/ovirtsdk4/types.rb, line 22066 def initialize(opts = {}) super(opts) self.value = opts[:value] self.version = opts[:version] end
Returns `true` if `self` and `other` have the same attributes and values.
# File lib/ovirtsdk4/types.rb, line 22075 def ==(other) super && @value == other.value && @version == other.version end
Generates a hash value for this object.
# File lib/ovirtsdk4/types.rb, line 22084 def hash super + @value.hash + @version.hash end
Returns the value of the `value` attribute.
@return [String]
# File lib/ovirtsdk4/types.rb, line 22023 def value @value end
Sets the value of the `value` attribute.
@param value [String]
# File lib/ovirtsdk4/types.rb, line 22032 def value=(value) @value = value end
Returns the value of the `version` attribute.
@return [String]
# File lib/ovirtsdk4/types.rb, line 22041 def version @version end
Sets the value of the `version` attribute.
@param value [String]
# File lib/ovirtsdk4/types.rb, line 22050 def version=(value) @version = value end