Method: AvmClient::Valuation#==

Defined in:
lib/avm_client/models/valuation.rb

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



107
108
109
110
111
112
113
114
115
# File 'lib/avm_client/models/valuation.rb', line 107

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      most_probable_price == o.most_probable_price &&
      price_range_from == o.price_range_from &&
      price_range_to == o.price_range_to &&
      confidence == o.confidence &&
      price_distribution == o.price_distribution
end