Class: FinchAPI::Models::Sandbox::EmploymentUpdateResponse::Employment

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/finch_api/models/sandbox/employment_update_response.rb

Overview

See Also:

Defined Under Namespace

Modules: Subtype, Type

Instance Attribute Summary collapse

Class Method 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_yaml

Methods included from Internal::Type::Converter

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

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!

Constructor Details

#initialize(subtype: nil, type: nil) ⇒ Object

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

The employment object.

Parameters:



# File 'lib/finch_api/models/sandbox/employment_update_response.rb', line 220

Instance Attribute Details

#subtypeSymbol, ...

The secondary employment type of the individual. Options: ‘full_time`, `part_time`, `intern`, `temp`, `seasonal` and `individual_contractor`.



208
209
210
# File 'lib/finch_api/models/sandbox/employment_update_response.rb', line 208

optional :subtype,
enum: -> { FinchAPI::Models::Sandbox::EmploymentUpdateResponse::Employment::Subtype },
nil?: true

#typeSymbol, ...

The main employment type of the individual.



216
217
218
# File 'lib/finch_api/models/sandbox/employment_update_response.rb', line 216

optional :type,
enum: -> { FinchAPI::Models::Sandbox::EmploymentUpdateResponse::Employment::Type },
nil?: true

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/finch_api/models/sandbox/employment_update_response.rb', line 245