Class: FinchAPI::Models::Sandbox::Connections::AccountCreateParams
- Inherits:
-
BaseModel
- Object
- BaseModel
- FinchAPI::Models::Sandbox::Connections::AccountCreateParams
- Includes:
- RequestParameters
- Defined in:
- lib/finch-api/models/sandbox/connections/account_create_params.rb
Defined Under Namespace
Modules: AuthenticationType
Instance Attribute Summary collapse
- #authentication_type ⇒ Symbol, ...
- #company_id ⇒ String
-
#products ⇒ Array<String>?
Optional, defaults to Organization products (‘company`, `directory`, `employment`, `individual`).
-
#provider_id ⇒ String
The provider associated with the ‘access_token`.
Attributes included from RequestParameters
Instance Method Summary collapse
-
#initialize(company_id:, provider_id:, authentication_type: nil, products: nil, request_options: {}) ⇒ AccountCreateParams
constructor
A new instance of AccountCreateParams.
Methods included from RequestParameters
Methods inherited from BaseModel
==, #==, #[], coerce, #deconstruct_keys, dump, fields, #inspect, known_fields, optional, required, #to_h
Methods included from Converter
#coerce, coerce, #dump, dump, type_info
Constructor Details
#initialize(company_id:, provider_id:, authentication_type: nil, products: nil, request_options: {}) ⇒ AccountCreateParams
Returns a new instance of AccountCreateParams.
7 |
# File 'lib/finch-api/models/sandbox/connections/account_create_params.rb', line 7 def initialize(company_id:, provider_id:, authentication_type: nil, products: nil, request_options: {}, **) = super |
Instance Attribute Details
#authentication_type ⇒ Symbol, ...
26 27 |
# File 'lib/finch-api/models/sandbox/connections/account_create_params.rb', line 26 optional :authentication_type, enum: -> { FinchAPI::Models::Sandbox::Connections::AccountCreateParams::AuthenticationType } |
#company_id ⇒ String
15 |
# File 'lib/finch-api/models/sandbox/connections/account_create_params.rb', line 15 required :company_id, String |
#products ⇒ Array<String>?
Optional, defaults to Organization products (‘company`, `directory`,
`employment`, `individual`)
38 |
# File 'lib/finch-api/models/sandbox/connections/account_create_params.rb', line 38 optional :products, FinchAPI::ArrayOf[String] |
#provider_id ⇒ String
The provider associated with the ‘access_token`
21 |
# File 'lib/finch-api/models/sandbox/connections/account_create_params.rb', line 21 required :provider_id, String |