Method: OryClient::Message#==

Defined in:
lib/ory-client/models/message.rb

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
# File 'lib/ory-client/models/message.rb', line 376

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      body == o.body &&
      channel == o.channel &&
      created_at == o.created_at &&
      dispatches == o.dispatches &&
      id == o.id &&
      recipient == o.recipient &&
      send_count == o.send_count &&
      status == o.status &&
      subject == o.subject &&
      template_type == o.template_type &&
      type == o.type &&
      updated_at == o.updated_at
end