Method: PureCloud::LocationDefinition#==

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

#==(o) ⇒ Object

Check equality by comparing each attribute.



140
141
142
143
144
145
146
147
148
149
150
151
152
# File 'lib/purecloud/models/location_definition.rb', line 140

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