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, #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: , 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 269

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)


255
256
257
# File 'lib/finch_api/models/hris/employment_data.rb', line 255

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)


263
264
265
266
267
# File 'lib/finch_api/models/hris/employment_data.rb', line 263

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 293