Class: Clerk::Models::Operations::RevokeAdminPortalLinkTokenResponseBody

Inherits:
Object
  • Object
show all
Includes:
Crystalline::MetadataFields
Defined in:
lib/clerk/models/operations/revokeadminportallinktoken_responsebody.rb

Overview

200 OK

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

#field, #fields, included, #marshal_single, #to_dict, #to_json

Constructor Details

#initialize(object:, id:, admin_portal_link_id:, instance_id:, revoked:, expired:, created_at:, updated_at:, organization_id: nil, it_contact_id: nil, scopes: nil, revocation_reason: nil, expiration: nil) ⇒ RevokeAdminPortalLinkTokenResponseBody

Returns a new instance of RevokeAdminPortalLinkTokenResponseBody.



43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# File 'lib/clerk/models/operations/revokeadminportallinktoken_responsebody.rb', line 43

def initialize(object:, id:, admin_portal_link_id:, instance_id:, revoked:, expired:, created_at:, updated_at:, organization_id: nil, it_contact_id: nil, scopes: nil, revocation_reason: nil, expiration: nil)
  @object = object
  @id = id
  @admin_portal_link_id = admin_portal_link_id
  @instance_id = instance_id
  @revoked = revoked
  @expired = expired
  @created_at = created_at
  @updated_at = updated_at
  @organization_id = organization_id
  @it_contact_id = it_contact_id
  @scopes = scopes
  @revocation_reason = revocation_reason
  @expiration = expiration
end

Instance Method Details

#==(other) ⇒ Object



60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
# File 'lib/clerk/models/operations/revokeadminportallinktoken_responsebody.rb', line 60

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 @admin_portal_link_id == other.admin_portal_link_id
  return false unless @instance_id == other.instance_id
  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 @organization_id == other.organization_id
  return false unless @it_contact_id == other.it_contact_id
  return false unless @scopes == other.scopes
  return false unless @revocation_reason == other.revocation_reason
  return false unless @expiration == other.expiration
  true
end