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 21942 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 21951 def ==(other) super && @value == other.value && @version == other.version end
Generates a hash value for this object.
# File lib/ovirtsdk4/types.rb, line 21960 def hash super + @value.hash + @version.hash end
Returns the value of the `value` attribute.
@return [String]
# File lib/ovirtsdk4/types.rb, line 21899 def value @value end
Sets the value of the `value` attribute.
@param value [String]
# File lib/ovirtsdk4/types.rb, line 21908 def value=(value) @value = value end
Returns the value of the `version` attribute.
@return [String]
# File lib/ovirtsdk4/types.rb, line 21917 def version @version end
Sets the value of the `version` attribute.
@param value [String]
# File lib/ovirtsdk4/types.rb, line 21926 def version=(value) @version = value end