Class: FinchAPI::Models::Sandbox::ConnectionCreateResponse

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/finch_api/models/sandbox/connection_create_response.rb,
sig/finch_api/models/sandbox/connection_create_response.rbs

Overview

See Also:

  • FinchAPI::Resources::Sandbox::Connections#create

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:, entity_id:, products:, provider_id:, token_type:) ⇒ Object

Parameters:



# File 'lib/finch_api/models/sandbox/connection_create_response.rb', line 54

Instance Attribute Details

#access_tokenString

Parameters:

  • value (String)

Returns:

  • (String)


11
# File 'lib/finch_api/models/sandbox/connection_create_response.rb', line 11

required :access_token, String

#account_idString

Parameters:

  • value (String)

Returns:

  • (String)


16
# File 'lib/finch_api/models/sandbox/connection_create_response.rb', line 16

required :account_id, String

#authentication_typeSymbol, FinchAPI::Models::Sandbox::ConnectionCreateResponse::AuthenticationType

Parameters:

  • value (FinchAPI::Models::Sandbox::ConnectionCreateResponse::authentication_type)

Returns:



21
22
# File 'lib/finch_api/models/sandbox/connection_create_response.rb', line 21

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

#company_idString?

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


27
# File 'lib/finch_api/models/sandbox/connection_create_response.rb', line 27

required :company_id, String, nil?: true

#connection_idString

Parameters:

  • value (String)

Returns:

  • (String)


32
# File 'lib/finch_api/models/sandbox/connection_create_response.rb', line 32

required :connection_id, String

#entity_idString

Parameters:

  • value (String)

Returns:

  • (String)


37
# File 'lib/finch_api/models/sandbox/connection_create_response.rb', line 37

required :entity_id, String

#productsArray<String>

Parameters:

  • value (::Array[String])

Returns:

  • (Array<String>)


42
# File 'lib/finch_api/models/sandbox/connection_create_response.rb', line 42

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

#provider_idString

Parameters:

  • value (String)

Returns:

  • (String)


47
# File 'lib/finch_api/models/sandbox/connection_create_response.rb', line 47

required :provider_id, String

#token_typeString

Parameters:

  • value (String)

Returns:

  • (String)


52
# File 'lib/finch_api/models/sandbox/connection_create_response.rb', line 52

required :token_type, String

Instance Method Details

#to_hash{

Returns:

  • ({)


48
# File 'sig/finch_api/models/sandbox/connection_create_response.rbs', line 48

def to_hash: -> {