Class: FinchAPI::Models::Sandbox::DirectoryCreateParams::Body::Employment

Inherits:
BaseModel
  • Object
show all
Defined in:
lib/finch-api/models/sandbox/directory_create_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.



6
# File 'lib/finch-api/models/sandbox/directory_create_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`.


365
366
367
# File 'lib/finch-api/models/sandbox/directory_create_params.rb', line 365

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

#typeSymbol, ...

The main employment type of the individual.



373
374
375
# File 'lib/finch-api/models/sandbox/directory_create_params.rb', line 373

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

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


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

def self.values; end