Module: FinchAPI::Models::Sandbox::ConnectionCreateParams::AuthenticationType

Extended by:
Internal::Type::Enum
Defined in:
lib/finch_api/models/sandbox/connection_create_params.rb

Constant Summary collapse

CREDENTIAL =
:credential
API_TOKEN =
:api_token
OAUTH =
:oauth
ASSISTED =
:assisted

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Internal::Type::Enum

==, ===, coerce, dump, hash, inspect, values

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, #inspect, inspect, type_info

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/finch_api/models/sandbox/connection_create_params.rb', line 60

Instance Method Details

#initialize(provider_id: , authentication_type: nil, employee_size: nil, products: nil, request_options: {}) ⇒ Object

Some parameter documentations has been truncated, see FinchAPI::Models::Sandbox::ConnectionCreateParams for more details.

Parameters:

  • provider_id (String) (defaults to: )

    The provider associated with the connection

  • authentication_type (Symbol, FinchAPI::Sandbox::ConnectionCreateParams::AuthenticationType) (defaults to: nil)
  • employee_size (Integer) (defaults to: nil)

    Optional: the size of the employer to be created with this connection. Defaults

  • products (Array<String>) (defaults to: nil)
  • request_options (FinchAPI::RequestOptions, Hash{Symbol=>Object}) (defaults to: {})


52
53
54
55
56
57
58
59
60
61
62
# File 'lib/finch_api/models/sandbox/connection_create_params.rb', line 52

module AuthenticationType
  extend FinchAPI::Internal::Type::Enum

  CREDENTIAL = :credential
  API_TOKEN = :api_token
  OAUTH = :oauth
  ASSISTED = :assisted

  # @!method self.values
  #   @return [Array<Symbol>]
end