Class: StackOne::Models::Shared::ConnectSessionTokenAuthLink

Inherits:
Object
  • Object
show all
Extended by:
T::Sig
Includes:
Crystalline::MetadataFields
Defined in:
lib/stack_one/models/shared/connectsessiontokenauthlink.rb

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(auth_link_url:, created_at:, id:, organization_id:, origin_owner_id:, origin_owner_name:, project_id:, token:, account_id: nil, categories: nil, external_trigger_token: nil, integration_id: nil, label: nil, metadata: nil, origin_username: nil, provider: nil, type: nil) ⇒ ConnectSessionTokenAuthLink

Returns a new instance of ConnectSessionTokenAuthLink.



51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
# File 'lib/stack_one/models/shared/connectsessiontokenauthlink.rb', line 51

def initialize(auth_link_url:, created_at:, id:, organization_id:, origin_owner_id:, origin_owner_name:, project_id:, token:, account_id: nil, categories: nil, external_trigger_token: nil, integration_id: nil, label: nil, metadata: nil, origin_username: nil, provider: nil, type: nil)
  @auth_link_url = auth_link_url
  @created_at = created_at
  @id = id
  @organization_id = organization_id
  @origin_owner_id = origin_owner_id
  @origin_owner_name = origin_owner_name
  @project_id = project_id
  @token = token
  @account_id = 
  @categories = categories
  @external_trigger_token = external_trigger_token
  @integration_id = integration_id
  @label = label
  @metadata = 
  @origin_username = origin_username
  @provider = provider
  @type = type
end

Instance Method Details

#==(other) ⇒ Object



72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
# File 'lib/stack_one/models/shared/connectsessiontokenauthlink.rb', line 72

def ==(other)
  return false unless other.is_a? self.class
  return false unless @auth_link_url == other.auth_link_url
  return false unless @created_at == other.created_at
  return false unless @id == other.id
  return false unless @organization_id == other.organization_id
  return false unless @origin_owner_id == other.origin_owner_id
  return false unless @origin_owner_name == other.origin_owner_name
  return false unless @project_id == other.project_id
  return false unless @token == other.token
  return false unless @account_id == other.
  return false unless @categories == other.categories
  return false unless @external_trigger_token == other.external_trigger_token
  return false unless @integration_id == other.integration_id
  return false unless @label == other.label
  return false unless @metadata == other.
  return false unless @origin_username == other.origin_username
  return false unless @provider == other.provider
  return false unless @type == other.type
  true
end