Class: FinchAPI::Models::Sandbox::DirectoryCreateParams::Body::Employment
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- FinchAPI::Models::Sandbox::DirectoryCreateParams::Body::Employment
- Defined in:
- lib/finch_api/models/sandbox/directory_create_params.rb,
sig/finch_api/models/sandbox/directory_create_params.rbs
Overview
Defined Under Namespace
Instance Attribute Summary collapse
-
#subtype ⇒ Symbol, ...
The secondary employment type of the individual.
-
#type ⇒ Symbol, ...
The main employment type of the individual.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(subtype: nil, type: nil) ⇒ Object
constructor
Some parameter documentations has been truncated, see Employment for more details.
- #to_hash ⇒ {
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(subtype: nil, type: nil) ⇒ Object
Some parameter documentations has been truncated, see FinchAPI::Models::Sandbox::DirectoryCreateParams::Body::Employment for more details.
The employment object.
|
|
# File 'lib/finch_api/models/sandbox/directory_create_params.rb', line 387
|
Instance Attribute Details
#subtype ⇒ Symbol, ...
The secondary employment type of the individual. Options: full_time,
part_time, intern, temp, seasonal and individual_contractor.
373 374 375 |
# File 'lib/finch_api/models/sandbox/directory_create_params.rb', line 373 optional :subtype, enum: -> { FinchAPI::Sandbox::DirectoryCreateParams::Body::Employment::Subtype }, nil?: true |
#type ⇒ Symbol, ...
The main employment type of the individual.
381 382 383 384 385 |
# File 'lib/finch_api/models/sandbox/directory_create_params.rb', line 381 optional :type, enum: -> { FinchAPI::Sandbox::DirectoryCreateParams::Body::Employment::Type }, nil?: true |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/finch_api/models/sandbox/directory_create_params.rb', line 412
|
Instance Method Details
#to_hash ⇒ {
272 |
# File 'sig/finch_api/models/sandbox/directory_create_params.rbs', line 272
def to_hash: -> {
|