Method: PureCloud::RecordingEmailMessage#==

Defined in:
lib/purecloudplatformclientv2/models/recording_email_message.rb

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



313
314
315
316
317
318
319
320
321
322
323
324
325
326
# File 'lib/purecloudplatformclientv2/models/recording_email_message.rb', line 313

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      html_body == o.html_body &&
      text_body == o.text_body &&
      id == o.id &&
      to == o.to &&
      cc == o.cc &&
      bcc == o.bcc &&
      from == o.from &&
      subject == o.subject &&
      attachments == o.attachments &&
      time == o.time
end