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

Returns:
  • (String) -
def from
  @from
end

def from=(value)

Parameters:
  • 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 = {})

Options Hash: (**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

Returns:
  • (String) -
def to
  @to
end

def to=(value)

Parameters:
  • value (String) --
def to=(value)
  @to = value
end