Class: FinchAPI::Models::HRIS::EmploymentRetrieveManyParams::Request

Inherits:
BaseModel
  • Object
show all
Defined in:
lib/finch-api/models/hris/employment_retrieve_many_params.rb

Overview

def initialize: (Hash | FinchAPI::BaseModel) -> void

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from BaseModel

#==, #[], coerce, #deconstruct_keys, defaults, dump, fields, #inspect, known_fields, optional, required, reverse_map, #to_h, #to_s, try_strict_coerce

Methods included from Converter

#coerce, coerce, #dump, dump, #try_strict_coerce, try_strict_coerce, type_info

Constructor Details

#initialize(individual_id:) ⇒ Request

Returns a new instance of Request.

Parameters:

  • individual_id (String)


3
# File 'lib/finch-api/models/hris/employment_retrieve_many_params.rb', line 3

def initialize(individual_id:, **) = super

Instance Attribute Details

#individual_idString

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

limit to the number of `individual_id` to send per request. It is preferantial
to send all ids in a single request for Finch to optimize provider rate-limits.

Returns:

  • (String)


33
# File 'lib/finch-api/models/hris/employment_retrieve_many_params.rb', line 33

required :individual_id, String