Class: FinchAPI::Models::HRIS::EmploymentData::UnionMember0::Employment

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/finch_api/models/hris/employment_data.rb

Overview

See Also:

  • HRIS::EmploymentData::UnionMember0#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: , type: ) ⇒ Object

Some parameter documentations has been truncated, see HRIS::EmploymentData::UnionMember0::Employment for more details.

The employment object.

Parameters:

  • subtype (Symbol, FinchAPI::HRIS::EmploymentData::UnionMember0::Employment::Subtype, nil) (defaults to: )

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

  • type (Symbol, FinchAPI::HRIS::EmploymentData::UnionMember0::Employment::Type, nil) (defaults to: )

    The main employment type of the individual.



# File 'lib/finch_api/models/hris/employment_data.rb', line 264

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::HRIS::EmploymentData::UnionMember0::Employment::Subtype, nil)


250
251
252
# File 'lib/finch_api/models/hris/employment_data.rb', line 250

required :subtype,
enum: -> { FinchAPI::HRIS::EmploymentData::UnionMember0::Employment::Subtype },
nil?: true

#typeSymbol, ...

The main employment type of the individual.

Returns:

  • (Symbol, FinchAPI::HRIS::EmploymentData::UnionMember0::Employment::Type, nil)


258
259
260
261
262
# File 'lib/finch_api/models/hris/employment_data.rb', line 258

required :type,
enum: -> {
  FinchAPI::HRIS::EmploymentData::UnionMember0::Employment::Type
},
nil?: true

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/finch_api/models/hris/employment_data.rb', line 288