Class: GustoEmbedded::Models::Operations::GetV1CompaniesCompanyIdPayrollsRequest

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

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(company_id:, processing_statuses: nil, payroll_types: nil, processed: nil, include_off_cycle: nil, include: nil, start_date: nil, end_date: nil, date_filter_by: nil, page: nil, per: nil, sort_order: nil, x_gusto_api_version: Models::Operations::GetV1CompaniesCompanyIdPayrollsHeaderXGustoAPIVersion::TWO_THOUSAND_AND_TWENTY_FIVE_MINUS_06_MINUS_15) ⇒ GetV1CompaniesCompanyIdPayrollsRequest

Returns a new instance of GetV1CompaniesCompanyIdPayrollsRequest.



43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# File 'lib/gusto_embedded/models/operations/get_v1_companies_company_id_payrolls_request.rb', line 43

def initialize(company_id:, processing_statuses: nil, payroll_types: nil, processed: nil, include_off_cycle: nil, include: nil, start_date: nil, end_date: nil, date_filter_by: nil, page: nil, per: nil, sort_order: nil, x_gusto_api_version: Models::Operations::GetV1CompaniesCompanyIdPayrollsHeaderXGustoAPIVersion::TWO_THOUSAND_AND_TWENTY_FIVE_MINUS_06_MINUS_15)
  @company_id = company_id
  @processing_statuses = processing_statuses
  @payroll_types = payroll_types
  @processed = processed
  @include_off_cycle = include_off_cycle
  @include = include
  @start_date = start_date
  @end_date = end_date
  @date_filter_by = date_filter_by
  @page = page
  @per = per
  @sort_order = sort_order
  @x_gusto_api_version = x_gusto_api_version
end

Instance Method Details

#==(other) ⇒ Object



60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
# File 'lib/gusto_embedded/models/operations/get_v1_companies_company_id_payrolls_request.rb', line 60

def ==(other)
  return false unless other.is_a? self.class
  return false unless @company_id == other.company_id
  return false unless @processing_statuses == other.processing_statuses
  return false unless @payroll_types == other.payroll_types
  return false unless @processed == other.processed
  return false unless @include_off_cycle == other.include_off_cycle
  return false unless @include == other.include
  return false unless @start_date == other.start_date
  return false unless @end_date == other.end_date
  return false unless @date_filter_by == other.date_filter_by
  return false unless @page == other.page
  return false unless @per == other.per
  return false unless @sort_order == other.sort_order
  return false unless @x_gusto_api_version == other.x_gusto_api_version
  true
end