Method: PureCloud::KnowledgeDocument#==

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

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
# File 'lib/purecloudplatformclientv2/models/knowledge_document.rb', line 378

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      id == o.id &&
      name == o.name &&
      language_code == o.language_code &&
      type == o.type &&
      faq == o.faq &&
      date_created == o.date_created &&
      date_modified == o.date_modified &&
      categories == o.categories &&
      knowledge_base == o.knowledge_base &&
      external_url == o.external_url &&
      self_uri == o.self_uri
end