Method: KlaviyoAPI::TagUpdateQueryResourceObject#==

Defined in:
lib/klaviyo-api-sdk/models/tag_update_query_resource_object.rb

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



112
113
114
115
116
117
118
# File 'lib/klaviyo-api-sdk/models/tag_update_query_resource_object.rb', line 112

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