Class: FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod

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

Overview

Defined Under Namespace

Modules: Type Classes: SupportedFields

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(end_date: nil, start_date: nil) ⇒ Object

Parameters:

  • end_date (Boolean) (defaults to: nil)
  • start_date (Boolean) (defaults to: nil)


# File 'lib/finch_api/models/account_update_event.rb', line 58

Instance Attribute Details

#benefits_supportFinchAPI::Models::HRIS::BenefitsSupport?

Each benefit type and their supported features. If the benefit type is not supported, the property will be null



42
# File 'lib/finch_api/models/account_update_event.rb', line 42

optional :benefits_support, -> { FinchAPI::HRIS::BenefitsSupport }, nil?: true

#supported_fieldsFinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields?

The supported data fields returned by our HR and payroll endpoints



48
49
50
# File 'lib/finch_api/models/account_update_event.rb', line 48

optional :supported_fields,
-> { FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields },
nil?: true

#typeSymbol, ...

The type of authentication method.



56
# File 'lib/finch_api/models/account_update_event.rb', line 56

optional :type, enum: -> { FinchAPI::AccountUpdateEvent::Data::AuthenticationMethod::Type }