Class: FinchAPI::Models::HRIS::EmploymentDataResponse

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

Overview

Instance Attribute 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(body: , code: , individual_id: ) ⇒ Object

Parameters:

  • body (FinchAPI::HRIS::EmploymentData::UnionMember0, FinchAPI::HRIS::EmploymentData::BatchError) (defaults to: )
  • code (Integer) (defaults to: )
  • individual_id (String) (defaults to: )

    A stable Finch ‘id` (UUID v4) for an individual in the company.



# File 'lib/finch_api/models/hris/employment_data_response.rb', line 24

Instance Attribute Details

#bodyFinchAPI::HRIS::EmploymentData::UnionMember0, FinchAPI::HRIS::EmploymentData::BatchError

Returns:

  • (FinchAPI::HRIS::EmploymentData::UnionMember0, FinchAPI::HRIS::EmploymentData::BatchError)


11
# File 'lib/finch_api/models/hris/employment_data_response.rb', line 11

required :body, union: -> { FinchAPI::HRIS::EmploymentData }

#codeInteger

Returns:

  • (Integer)


16
# File 'lib/finch_api/models/hris/employment_data_response.rb', line 16

required :code, Integer

#individual_idString

A stable Finch ‘id` (UUID v4) for an individual in the company.

Returns:

  • (String)


22
# File 'lib/finch_api/models/hris/employment_data_response.rb', line 22

required :individual_id, String