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 22112 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 22121 def ==(other) super && @value == other.value && @version == other.version end
Generates a hash value for this object.
# File lib/ovirtsdk4/types.rb, line 22130 def hash super + @value.hash + @version.hash end
Returns the value of the `value` attribute.
@return [String]
# File lib/ovirtsdk4/types.rb, line 22069 def value @value end
Sets the value of the `value` attribute.
@param value [String]
# File lib/ovirtsdk4/types.rb, line 22078 def value=(value) @value = value end
Returns the value of the `version` attribute.
@return [String]
# File lib/ovirtsdk4/types.rb, line 22087 def version @version end
Sets the value of the `version` attribute.
@param value [String]
# File lib/ovirtsdk4/types.rb, line 22096 def version=(value) @version = value end