Class: Clerk::Models::Operations::VerifyApiKeyResponseBody
- Inherits:
-
Object
- Object
- Clerk::Models::Operations::VerifyApiKeyResponseBody
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/clerk/models/operations/verifyapikey_responsebody.rb
Overview
200 OK
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(object:, id:, type:, subject:, name:, scopes:, revoked:, expired:, created_at:, updated_at:, claims: nil, revocation_reason: nil, expiration: nil, created_by: nil, last_used_at: nil, description: nil) ⇒ VerifyApiKeyResponseBody
constructor
A new instance of VerifyApiKeyResponseBody.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(object:, id:, type:, subject:, name:, scopes:, revoked:, expired:, created_at:, updated_at:, claims: nil, revocation_reason: nil, expiration: nil, created_by: nil, last_used_at: nil, description: nil) ⇒ VerifyApiKeyResponseBody
Returns a new instance of VerifyApiKeyResponseBody.
49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 |
# File 'lib/clerk/models/operations/verifyapikey_responsebody.rb', line 49 def initialize(object:, id:, type:, subject:, name:, scopes:, revoked:, expired:, created_at:, updated_at:, claims: nil, revocation_reason: nil, expiration: nil, created_by: nil, last_used_at: nil, description: nil) @object = object @id = id @type = type @subject = subject @name = name @scopes = scopes @revoked = revoked @expired = expired @created_at = created_at @updated_at = updated_at @claims = claims @revocation_reason = revocation_reason @expiration = expiration @created_by = created_by @last_used_at = last_used_at @description = description end |
Instance Method Details
#==(other) ⇒ Object
69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 |
# File 'lib/clerk/models/operations/verifyapikey_responsebody.rb', line 69 def ==(other) return false unless other.is_a? self.class return false unless @object == other.object return false unless @id == other.id return false unless @type == other.type return false unless @subject == other.subject return false unless @name == other.name return false unless @scopes == other.scopes return false unless @revoked == other.revoked return false unless @expired == other.expired return false unless @created_at == other.created_at return false unless @updated_at == other.updated_at return false unless @claims == other.claims return false unless @revocation_reason == other.revocation_reason return false unless @expiration == other.expiration return false unless @created_by == other.created_by return false unless @last_used_at == other.last_used_at return false unless @description == other.description true end |