This is the base class for all the struct types.
Empty constructor.
# File lib/ovirtsdk4/type.rb, line 104 def initialize(opts = {}) self.href = opts[:href] end
Returns `true` if `self` and `other` have the same attributes and values.
# File lib/ovirtsdk4/type.rb, line 111 def ==(other) !other.nil? && self.class == other.class end
Generates a hash value for this object.
# File lib/ovirtsdk4/type.rb, line 123 def hash 0 end