Method: OpenapiClient::LocationResponse#==

Defined in:
lib/openapi_client/models/location_response.rb

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



121
122
123
124
125
126
127
128
129
# File 'lib/openapi_client/models/location_response.rb', line 121

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      id == o.id &&
      remote_id == o.remote_id &&
      name == o.name &&
      type == o.type &&
      address == o.address
end