Class: GustoEmbedded::Models::Operations::GetV1EmployeesEmployeeUuidPayStubsRequest

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

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(employee_id:, page: nil, per: nil, x_gusto_api_version: Models::Operations::GetV1EmployeesEmployeeUuidPayStubsHeaderXGustoAPIVersion::TWO_THOUSAND_AND_TWENTY_FIVE_MINUS_06_MINUS_15) ⇒ GetV1EmployeesEmployeeUuidPayStubsRequest

Returns a new instance of GetV1EmployeesEmployeeUuidPayStubsRequest.



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

def initialize(employee_id:, page: nil, per: nil, x_gusto_api_version: Models::Operations::GetV1EmployeesEmployeeUuidPayStubsHeaderXGustoAPIVersion::TWO_THOUSAND_AND_TWENTY_FIVE_MINUS_06_MINUS_15)
  @employee_id = employee_id
  @page = page
  @per = per
  @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/get_v1_employees_employee_uuid_pay_stubs_request.rb', line 33

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