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

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

Overview

See Also:

  • Sandbox::DirectoryCreateParams::Body#employment

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, dump, fields, hash, #hash, inspect, #inspect, known_fields, optional, required, #to_h, #to_json, #to_s, #to_yaml, walk

Methods included from Internal::Type::Converter

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

Constructor Details

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

Some parameter documentations has been truncated, see Sandbox::DirectoryCreateParams::Body::Employment for more details.

The employment object.

Parameters:

  • subtype (Symbol, FinchAPI::Sandbox::DirectoryCreateParams::Body::Employment::Subtype, nil) (defaults to: nil)

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

  • type (Symbol, FinchAPI::Sandbox::DirectoryCreateParams::Body::Employment::Type, nil) (defaults to: nil)

    The main employment type of the individual.



# File 'lib/finch_api/models/sandbox/directory_create_params.rb', line 353

Instance Attribute Details

#subtypeSymbol, ...

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

Returns:

  • (Symbol, FinchAPI::Sandbox::DirectoryCreateParams::Body::Employment::Subtype, nil)


339
340
341
# File 'lib/finch_api/models/sandbox/directory_create_params.rb', line 339

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

#typeSymbol, ...

The main employment type of the individual.

Returns:

  • (Symbol, FinchAPI::Sandbox::DirectoryCreateParams::Body::Employment::Type, nil)


347
348
349
350
351
# File 'lib/finch_api/models/sandbox/directory_create_params.rb', line 347

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

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/finch_api/models/sandbox/directory_create_params.rb', line 377