Method: OryClient::ProjectApiKey#==

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

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



132
133
134
135
136
137
138
139
140
# File 'lib/ory-client/models/project_api_key.rb', line 132

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      id == o.id &&
      name == o.name &&
      owner_id == o.owner_id &&
      project_id == o.project_id &&
      value == o.value
end