Class: FinchAPI::Models::Sandbox::Connections::AccountUpdateResponse

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/finch_api/models/sandbox/connections/account_update_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(account_id: , authentication_type: , company_id: , products: , provider_id: , connection_id: nil) ⇒ Object

Parameters:

  • account_id (String) (defaults to: )
    DEPRECATED

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

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

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

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

    The ID of the provider associated with the ‘access_token`

  • connection_id (String) (defaults to: nil)

    The ID of the new connection



# File 'lib/finch_api/models/sandbox/connections/account_update_response.rb', line 48

Instance Attribute Details

#account_idString

Deprecated.
DEPRECATED

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

Returns:

  • (String)


15
# File 'lib/finch_api/models/sandbox/connections/account_update_response.rb', line 15

required :account_id, String

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



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

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

#company_idString

Deprecated.
DEPRECATED

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

Returns:

  • (String)


29
# File 'lib/finch_api/models/sandbox/connections/account_update_response.rb', line 29

required :company_id, String

#connection_idString?

The ID of the new connection

Returns:

  • (String, nil)


46
# File 'lib/finch_api/models/sandbox/connections/account_update_response.rb', line 46

optional :connection_id, String

#productsArray<String>

Returns:

  • (Array<String>)


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

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

#provider_idString

The ID of the provider associated with the ‘access_token`

Returns:

  • (String)


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

required :provider_id, String