Method: PureCloud::LineBase#==

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

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
# File 'lib/purecloudclient_v2a/models/line_base.rb', line 433

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      id == o.id &&
      name == o.name &&
      description == o.description &&
      version == o.version &&
      date_created == o.date_created &&
      date_modified == o.date_modified &&
      modified_by == o.modified_by &&
      created_by == o.created_by &&
      state == o.state &&
      modified_by_app == o.modified_by_app &&
      created_by_app == o.created_by_app &&
      line_meta_base == o.line_meta_base &&
      properties == o.properties &&
      self_uri == o.self_uri
end