Class: FinchAPI::Models::Sandbox::Connections::AccountCreateResponse

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/finch_api/models/sandbox/connections/account_create_response.rb

Overview

Defined Under Namespace

Modules: AuthenticationType

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Internal::Type::BaseModel

==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Constructor Details

#initialize(access_token: , account_id: , authentication_type: , company_id: , connection_id: , products: , provider_id: ) ⇒ Object

Parameters:

  • access_token (String) (defaults to: )
  • account_id (String) (defaults to: )
    DEPRECATED

    Use ‘connection_id` to associate a connection with an access token

  • authentication_type (Symbol, FinchAPI::Models::Sandbox::Connections::AccountCreateResponse::AuthenticationType) (defaults to: )
  • company_id (String) (defaults to: )
    DEPRECATED

    Use ‘connection_id` to associate a connection with an access token

  • connection_id (String) (defaults to: )

    The ID of the new connection

  • products (Array<String>) (defaults to: )
  • provider_id (String) (defaults to: )

    The ID of the provider associated with the ‘access_token`



# File 'lib/finch_api/models/sandbox/connections/account_create_response.rb', line 53

Instance Attribute Details

#access_tokenString

Returns:

  • (String)


12
# File 'lib/finch_api/models/sandbox/connections/account_create_response.rb', line 12

required :access_token, String

#account_idString

Deprecated.
DEPRECATED

Use ‘connection_id` to associate a connection with an access token

Returns:

  • (String)


20
# File 'lib/finch_api/models/sandbox/connections/account_create_response.rb', line 20

required :account_id, String

#authentication_typeSymbol, FinchAPI::Models::Sandbox::Connections::AccountCreateResponse::AuthenticationType



25
26
# File 'lib/finch_api/models/sandbox/connections/account_create_response.rb', line 25

required :authentication_type,
enum: -> { FinchAPI::Models::Sandbox::Connections::AccountCreateResponse::AuthenticationType }

#company_idString

Deprecated.
DEPRECATED

Use ‘connection_id` to associate a connection with an access token

Returns:

  • (String)


34
# File 'lib/finch_api/models/sandbox/connections/account_create_response.rb', line 34

required :company_id, String

#connection_idString

The ID of the new connection

Returns:

  • (String)


40
# File 'lib/finch_api/models/sandbox/connections/account_create_response.rb', line 40

required :connection_id, String

#productsArray<String>

Returns:

  • (Array<String>)


45
# File 'lib/finch_api/models/sandbox/connections/account_create_response.rb', line 45

required :products, FinchAPI::Internal::Type::ArrayOf[String]

#provider_idString

The ID of the provider associated with the ‘access_token`

Returns:

  • (String)


51
# File 'lib/finch_api/models/sandbox/connections/account_create_response.rb', line 51

required :provider_id, String