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

Parameters:

  • body (FinchAPI::Models::HRIS::EmploymentData) (defaults to: nil)
  • code (Integer) (defaults to: nil)
  • individual_id (String) (defaults to: nil)

    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::Models::HRIS::EmploymentData?



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

optional :body, -> { FinchAPI::Models::HRIS::EmploymentData }

#codeInteger?

Returns:

  • (Integer, nil)


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

optional :code, Integer

#individual_idString?

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

Returns:

  • (String, nil)


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

optional :individual_id, String