Method: MailSlurpClient::Complaint#==

Defined in:
lib/mailslurp_client/models/complaint.rb

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



150
151
152
153
154
155
156
157
158
159
160
161
# File 'lib/mailslurp_client/models/complaint.rb', line 150

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      id == o.id &&
      user_id == o.user_id &&
      event_type == o.event_type &&
      mail_source == o.mail_source &&
      mail_message_id == o.mail_message_id &&
      complaint_recipient == o.complaint_recipient &&
      created_at == o.created_at &&
      updated_at == o.updated_at
end