Class: GustoEmbedded::Models::Operations::PatchV1EmployeesEmployeeUuidSection603HighEarnerStatusesEffectiveYearRequest

Inherits:
Object
  • Object
show all
Extended by:
T::Sig
Includes:
Crystalline::MetadataFields
Defined in:
lib/gusto_embedded/models/operations/patch_v1_employees_employee_uuid_section603_high_earner_statuses_effectiv_c5e92b.rb

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

#field, #fields, included, #marshal_single, #to_dict, #to_json

Constructor Details

#initialize(employee_uuid:, effective_year:, employee_section603_high_earner_status_update_request:, x_gusto_api_version: Models::Operations::PatchV1EmployeesEmployeeUuidSection603HighEarnerStatusesEffectiveYearHeaderXGustoAPIVersion::TWO_THOUSAND_AND_TWENTY_FIVE_MINUS_06_MINUS_15) ⇒ PatchV1EmployeesEmployeeUuidSection603HighEarnerStatusesEffectiveYearRequest

Returns a new instance of PatchV1EmployeesEmployeeUuidSection603HighEarnerStatusesEffectiveYearRequest.



25
26
27
28
29
30
# File 'lib/gusto_embedded/models/operations/patch_v1_employees_employee_uuid_section603_high_earner_statuses_effectiv_c5e92b.rb', line 25

def initialize(employee_uuid:, effective_year:, employee_section603_high_earner_status_update_request:, x_gusto_api_version: Models::Operations::PatchV1EmployeesEmployeeUuidSection603HighEarnerStatusesEffectiveYearHeaderXGustoAPIVersion::TWO_THOUSAND_AND_TWENTY_FIVE_MINUS_06_MINUS_15)
  @employee_uuid = employee_uuid
  @effective_year = effective_year
  @employee_section603_high_earner_status_update_request = employee_section603_high_earner_status_update_request
  @x_gusto_api_version = x_gusto_api_version
end

Instance Method Details

#==(other) ⇒ Object



33
34
35
36
37
38
39
40
# File 'lib/gusto_embedded/models/operations/patch_v1_employees_employee_uuid_section603_high_earner_statuses_effectiv_c5e92b.rb', line 33

def ==(other)
  return false unless other.is_a? self.class
  return false unless @employee_uuid == other.employee_uuid
  return false unless @effective_year == other.effective_year
  return false unless @employee_section603_high_earner_status_update_request == other.employee_section603_high_earner_status_update_request
  return false unless @x_gusto_api_version == other.x_gusto_api_version
  true
end