Method: PureCloud::FaxDocument#==

Defined in:
lib/purecloudclient_v2a/models/fax_document.rb

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
# File 'lib/purecloudclient_v2a/models/fax_document.rb', line 502

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      id == o.id &&
      name == o.name &&
      date_created == o.date_created &&
      date_modified == o.date_modified &&
      content_uri == o.content_uri &&
      workspace == o.workspace &&
      created_by == o.created_by &&
      content_type == o.content_type &&
      content_length == o.content_length &&
      filename == o.filename &&
      read == o.read &&
      page_count == o.page_count &&
      caller_address == o.caller_address &&
      receiver_address == o.receiver_address &&
      thumbnails == o.thumbnails &&
      sharing_uri == o.sharing_uri &&
      download_sharing_uri == o.download_sharing_uri &&
      self_uri == o.self_uri
end