Class: GustoEmbedded::Models::Operations::GetV1PayrollsPayrollUuidEmployeesEmployeeUuidPayStubRequest

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

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(payroll_id:, employee_id:, x_gusto_api_version: Models::Operations::GetV1PayrollsPayrollUuidEmployeesEmployeeUuidPayStubHeaderXGustoAPIVersion::TWO_THOUSAND_AND_TWENTY_FIVE_MINUS_06_MINUS_15) ⇒ GetV1PayrollsPayrollUuidEmployeesEmployeeUuidPayStubRequest

Returns a new instance of GetV1PayrollsPayrollUuidEmployeesEmployeeUuidPayStubRequest.



23
24
25
26
27
# File 'lib/gusto_embedded/models/operations/get_v1_payrolls_payroll_uuid_employees_employee_uuid_pay_stub_request.rb', line 23

def initialize(payroll_id:, employee_id:, x_gusto_api_version: Models::Operations::GetV1PayrollsPayrollUuidEmployeesEmployeeUuidPayStubHeaderXGustoAPIVersion::TWO_THOUSAND_AND_TWENTY_FIVE_MINUS_06_MINUS_15)
  @payroll_id = payroll_id
  @employee_id = employee_id
  @x_gusto_api_version = x_gusto_api_version
end

Instance Method Details

#==(other) ⇒ Object



30
31
32
33
34
35
36
# File 'lib/gusto_embedded/models/operations/get_v1_payrolls_payroll_uuid_employees_employee_uuid_pay_stub_request.rb', line 30

def ==(other)
  return false unless other.is_a? self.class
  return false unless @payroll_id == other.payroll_id
  return false unless @employee_id == other.employee_id
  return false unless @x_gusto_api_version == other.x_gusto_api_version
  true
end