Class: GustoEmbedded::Shared::Employee
- Inherits:
-
Crystalline::FieldAugmented
- Object
- Crystalline::FieldAugmented
- GustoEmbedded::Shared::Employee
- Extended by:
- T::Sig
- Defined in:
- lib/gusto_embedded/models/shared/employee.rb
Overview
The representation of an employee in Gusto.
Instance Method Summary collapse
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(first_name: nil, last_name: nil, uuid: nil, company_uuid: nil, current_employment_status: nil, custom_fields: nil, date_of_birth: nil, department: nil, eligible_paid_time_off: nil, email: nil, garnishments: nil, has_ssn: nil, jobs: nil, manager_uuid: nil, middle_initial: nil, onboarded: nil, onboarding_documents_config: nil, onboarding_status: nil, payment_method: nil, phone: nil, preferred_first_name: nil, ssn: nil, terminated: nil, terminations: nil, two_percent_shareholder: nil, version: nil, work_email: nil) ⇒ Employee
Returns a new instance of Employee.
71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 |
# File 'lib/gusto_embedded/models/shared/employee.rb', line 71 def initialize(first_name: nil, last_name: nil, uuid: nil, company_uuid: nil, current_employment_status: nil, custom_fields: nil, date_of_birth: nil, department: nil, eligible_paid_time_off: nil, email: nil, garnishments: nil, has_ssn: nil, jobs: nil, manager_uuid: nil, middle_initial: nil, onboarded: nil, onboarding_documents_config: nil, onboarding_status: nil, payment_method: nil, phone: nil, preferred_first_name: nil, ssn: nil, terminated: nil, terminations: nil, two_percent_shareholder: nil, version: nil, work_email: nil) @first_name = first_name @last_name = last_name @uuid = uuid @company_uuid = company_uuid @current_employment_status = current_employment_status @custom_fields = custom_fields @date_of_birth = date_of_birth @department = department @eligible_paid_time_off = eligible_paid_time_off @email = email @garnishments = garnishments @has_ssn = has_ssn @jobs = jobs @manager_uuid = manager_uuid @middle_initial = middle_initial @onboarded = onboarded @onboarding_documents_config = onboarding_documents_config @onboarding_status = onboarding_status @payment_method = payment_method @phone = phone @preferred_first_name = preferred_first_name @ssn = ssn @terminated = terminated @terminations = terminations @two_percent_shareholder = two_percent_shareholder @version = version @work_email = work_email end |