Class: FinchAPI::Models::Sandbox::EmploymentUpdateParams::Employment

Inherits:
BaseModel
  • Object
show all
Defined in:
lib/finch-api/models/sandbox/employment_update_params.rb

Defined Under Namespace

Modules: Subtype, Type

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

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

The employment object.

Parameters:



6
# File 'lib/finch-api/models/sandbox/employment_update_params.rb', line 6

def initialize(subtype: nil, type: nil, **) = super

Instance Attribute Details

#subtypeSymbol, ...

The secondary employment type of the individual. Options: ‘full_time`,

`part_time`, `intern`, `temp`, `seasonal` and `individual_contractor`.


225
226
227
# File 'lib/finch-api/models/sandbox/employment_update_params.rb', line 225

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

#typeSymbol, ...

The main employment type of the individual.



233
234
235
# File 'lib/finch-api/models/sandbox/employment_update_params.rb', line 233

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

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


2
# File 'lib/finch-api/models/sandbox/employment_update_params.rb', line 2

def self.values; end