Method: KlaviyoAPI::StaticDateRangeFilter#==

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

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



158
159
160
161
162
163
164
165
# File 'lib/klaviyo-api-sdk/models/static_date_range_filter.rb', line 158

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      type == o.type &&
      operator == o.operator &&
      start == o.start &&
      _end == o._end
end