Method: PureCloud::SearchAggregation#==

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

#==(o) ⇒ Object

Check equality by comparing each attribute.



116
117
118
119
120
121
122
123
124
125
# File 'lib/purecloud/models/search_aggregation.rb', line 116

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