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 21753 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 21762 def ==(other) super && @value == other.value && @version == other.version end
Generates a hash value for this object.
# File lib/ovirtsdk4/types.rb, line 21771 def hash super + @value.hash + @version.hash end
Returns the value of the `value` attribute.
@return [String]
# File lib/ovirtsdk4/types.rb, line 21710 def value @value end
Sets the value of the `value` attribute.
@param value [String]
# File lib/ovirtsdk4/types.rb, line 21719 def value=(value) @value = value end
Returns the value of the `version` attribute.
@return [String]
# File lib/ovirtsdk4/types.rb, line 21728 def version @version end
Sets the value of the `version` attribute.
@param value [String]
# File lib/ovirtsdk4/types.rb, line 21737 def version=(value) @version = value end