Method: PureCloud::Attribute#==

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

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



290
291
292
293
294
295
296
297
298
299
300
301
302
# File 'lib/purecloudclient_v2a/models/attribute.rb', line 290

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