Method: OpenapiClient::OrganizationReadWithAPIKey#==

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

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



167
168
169
170
171
172
173
174
175
176
177
178
# File 'lib/openapi_client/models/organization_read_with_api_key.rb', line 167

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      key == o.key &&
      id == o.id &&
      created_at == o.created_at &&
      updated_at == o.updated_at &&
      name == o.name &&
      settings == o.settings &&
      api_key_id == o.api_key_id &&
      api_key_secret == o.api_key_secret
end