Method: PureCloud::SearchAggregation#==

Defined in:
lib/purecloud/models/search_aggregation.rb

#==(o) ⇒ Object

Check equality by comparing each attribute.



81
82
83
84
85
86
87
# File 'lib/purecloud/models/search_aggregation.rb', line 81

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      field == o.field &&
      name == o.name &&
      type == o.type
end