Method: Algolia::Insights::AddedToCartObjectIDs#==

Defined in:
lib/algolia/models/insights/added_to_cart_object_ids.rb

#==(other) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
# File 'lib/algolia/models/insights/added_to_cart_object_ids.rb', line 178

def ==(other)
  return true if self.equal?(other)
  self.class == other.class &&
    event_name == other.event_name &&
    event_type == other.event_type &&
    event_subtype == other.event_subtype &&
    index == other.index &&
    object_ids == other.object_ids &&
    user_token == other.user_token &&
    authenticated_user_token == other.authenticated_user_token &&
    currency == other.currency &&
    object_data == other.object_data &&
    timestamp == other.timestamp &&
    value == other.value
end