Method: PureCloud::LocationDefinition#==

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

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



148
149
150
151
152
153
154
155
156
157
158
159
160
# File 'lib/purecloudplatformclientv2/models/location_definition.rb', line 148

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      id == o.id &&
      name == o.name &&
      address == o.address &&
      address_verified == o.address_verified &&
      emergency_number == o.emergency_number &&
      state == o.state &&
      version == o.version &&
      path == o.path &&
      self_uri == o.self_uri
end