Class: FinchAPI::Models::Sandbox::EmploymentUpdateParams::CustomField

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/finch_api/models/sandbox/employment_update_params.rb

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(class_code: nil, custom_fields: nil, department: nil, employment: nil, employment_status: nil, end_date: nil, first_name: nil, income: nil, income_history: nil, is_active: nil, last_name: nil, latest_rehire_date: nil, location: nil, manager: nil, middle_name: nil, source_id: nil, start_date: nil, title: nil, request_options: {}) ⇒ Object

Some parameter documentations has been truncated, see FinchAPI::Models::Sandbox::EmploymentUpdateParams for more details.

Parameters:



168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
# File 'lib/finch_api/models/sandbox/employment_update_params.rb', line 168

class CustomField < FinchAPI::Internal::Type::BaseModel
  # @!attribute name
  #
  #   @return [String, nil]
  optional :name, String, nil?: true

  # @!attribute value
  #
  #   @return [Object, nil]
  optional :value, FinchAPI::Internal::Type::Unknown

  # @!method initialize(name: nil, value: nil)
  #   @param name [String, nil]
  #   @param value [Object]
end

Instance Attribute Details

#nameString?

Returns:

  • (String, nil)


172
# File 'lib/finch_api/models/sandbox/employment_update_params.rb', line 172

optional :name, String, nil?: true

#valueObject?

Returns:

  • (Object, nil)


177
# File 'lib/finch_api/models/sandbox/employment_update_params.rb', line 177

optional :value, FinchAPI::Internal::Type::Unknown