Method: PureCloud::FacetKeyAttribute#==

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

#==(o) ⇒ Object

Check equality by comparing each attribute.



72
73
74
75
76
77
78
# File 'lib/purecloud/models/facet_key_attribute.rb', line 72

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