Class: FinchAPI::Models::Sandbox::DirectoryCreateParams::Body::CustomField

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

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_sorbet_type, #to_yaml

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Constructor Details

#initialize(class_code: nil, custom_fields: nil, department: nil, dob: nil, emails: nil, employment: nil, employment_status: nil, encrypted_ssn: nil, end_date: nil, ethnicity: nil, first_name: nil, gender: nil, income: nil, income_history: nil, is_active: nil, last_name: nil, latest_rehire_date: nil, location: nil, manager: nil, middle_name: nil, phone_numbers: nil, preferred_name: nil, residence: nil, source_id: nil, ssn: nil, start_date: nil, title: nil) ⇒ Object

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

Parameters:



270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
# File 'lib/finch_api/models/sandbox/directory_create_params.rb', line 270

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)


274
# File 'lib/finch_api/models/sandbox/directory_create_params.rb', line 274

optional :name, String, nil?: true

#valueObject?

Returns:

  • (Object, nil)


279
# File 'lib/finch_api/models/sandbox/directory_create_params.rb', line 279

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