Method: OryClient::WorkspaceApiKey#==

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

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



202
203
204
205
206
207
208
209
210
211
212
213
# File 'lib/ory-client/models/workspace_api_key.rb', line 202

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      created_at == o.created_at &&
      expires_at == o.expires_at &&
      id == o.id &&
      name == o.name &&
      owner_id == o.owner_id &&
      updated_at == o.updated_at &&
      value == o.value &&
      workspace_id == o.workspace_id
end