class OvirtSDK4::Struct
This is the base class for all the struct types.
Public Class Methods
new(opts = {})
click to toggle source
Empty constructor.
# File lib/ovirtsdk4/type.rb, line 104 def initialize(opts = {}) self.href = opts[:href] end
Public Instance Methods
==(other)
click to toggle source
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
Also aliased as: eql?
hash()
click to toggle source
Generates a hash value for this object.
# File lib/ovirtsdk4/type.rb, line 123 def hash 0 end