Class: FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod
- Inherits:
-
BaseModel
- Object
- FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod
- Defined in:
- lib/finch-api/models/account_update_event.rb
Overview
def initialize: (Hash | FinchAPI::BaseModel) -> void
Defined Under Namespace
Modules: Type Classes: SupportedFields
Instance Attribute Summary collapse
-
#benefits_support ⇒ FinchAPI::Models::HRIS::BenefitsSupport?
Each benefit type and their supported features.
- #start_date ⇒ Boolean writeonly
-
#supported_fields ⇒ FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields?
The supported data fields returned by our HR and payroll endpoints.
-
#type ⇒ Symbol, ...
The type of authentication method.
Instance Method Summary collapse
-
#initialize(end_date: nil, start_date: nil) ⇒ AuthenticationMethod
constructor
A new instance of AuthenticationMethod.
Constructor Details
#initialize(end_date: nil, start_date: nil) ⇒ AuthenticationMethod
Returns a new instance of AuthenticationMethod.
5 |
# File 'lib/finch-api/models/account_update_event.rb', line 5 def initialize(benefits_support: nil, supported_fields: nil, type: nil, **) = super |
Instance Attribute Details
#benefits_support ⇒ FinchAPI::Models::HRIS::BenefitsSupport?
Each benefit type and their supported features. If the benefit type is not
supported, the property will be null
57 |
# File 'lib/finch-api/models/account_update_event.rb', line 57 optional :benefits_support, -> { FinchAPI::Models::HRIS::BenefitsSupport }, nil?: true |
#start_date=(value) ⇒ Boolean (writeonly)
2 3 4 |
# File 'lib/finch-api/models/account_update_event.rb', line 2 def start_date=(value) @start_date = value end |
#supported_fields ⇒ FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields?
The supported data fields returned by our HR and payroll endpoints
63 64 65 |
# File 'lib/finch-api/models/account_update_event.rb', line 63 optional :supported_fields, -> { FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields }, nil?: true |
#type ⇒ Symbol, ...
The type of authentication method.
71 |
# File 'lib/finch-api/models/account_update_event.rb', line 71 optional :type, enum: -> { FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::Type } |