class OvirtSDK4::Range
def ==(other)
Returns `true` if `self` and `other` have the same attributes and values.
def ==(other) super && @from == other.from && @to == other.to end
def from
-
(String)-
def from @from end
def from=(value)
-
value(String) --
def from=(value) @from = value end
def hash
Generates a hash value for this object.
def hash super + @from.hash + @to.hash end
def initialize(opts = {})
(**opts)-
:to(String) -- The value of attribute `to`. -
:from(String) -- The value of attribute `from`.
Parameters:
-
opts(Hash) -- A hash containing the attributes of the object. The keys of the hash
def initialize(opts = {}) super(opts) self.from = opts[:from] self.to = opts[:to] end
def to
-
(String)-
def to @to end
def to=(value)
-
value(String) --
def to=(value) @to = value end