Method: OryClient::ProjectMetadata#==

Defined in:
lib/ory-client/models/project_metadata.rb

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



218
219
220
221
222
223
224
225
226
227
228
229
230
# File 'lib/ory-client/models/project_metadata.rb', line 218

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      created_at == o.created_at &&
      hosts == o.hosts &&
      id == o.id &&
      name == o.name &&
      slug == o.slug &&
      state == o.state &&
      subscription_id == o.subscription_id &&
      subscription_plan == o.subscription_plan &&
      updated_at == o.updated_at
end