Method: OneSignal::NotificationWithMetaAllOf#==

Defined in:
lib/onesignal/models/notification_with_meta_all_of.rb

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
# File 'lib/onesignal/models/notification_with_meta_all_of.rb', line 174

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      remaining == o.remaining &&
      successful == o.successful &&
      failed == o.failed &&
      errored == o.errored &&
      converted == o.converted &&
      queued_at == o.queued_at &&
      send_after == o.send_after &&
      completed_at == o.completed_at &&
      platform_delivery_stats == o.platform_delivery_stats &&
      received == o.received &&
      throttle_rate_per_minute == o.throttle_rate_per_minute
end