Method: OpenapiClient::TenantObject#==

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

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



140
141
142
143
144
145
146
147
148
149
# File 'lib/openapi_client/models/tenant_object.rb', line 140

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