Class: GustoEmbedded::Models::Operations::GetV1CompaniesCompanyIdEmployeesRequest

Inherits:
Object
  • Object
show all
Extended by:
T::Sig
Includes:
Crystalline::MetadataFields
Defined in:
lib/gusto_embedded/models/operations/get_v1_companies_company_id_employees_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:, location_uuid: nil, payroll_uuid: nil, search_term: nil, sort_by: nil, include: nil, onboarded: nil, onboarded_active: nil, terminated: nil, terminated_today: nil, uuids: nil, page: nil, per: nil, x_gusto_api_version: Models::Operations::GetV1CompaniesCompanyIdEmployeesHeaderXGustoAPIVersion::TWO_THOUSAND_AND_TWENTY_FIVE_MINUS_06_MINUS_15) ⇒ GetV1CompaniesCompanyIdEmployeesRequest

Returns a new instance of GetV1CompaniesCompanyIdEmployeesRequest.



45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# File 'lib/gusto_embedded/models/operations/get_v1_companies_company_id_employees_request.rb', line 45

def initialize(company_id:, location_uuid: nil, payroll_uuid: nil, search_term: nil, sort_by: nil, include: nil, onboarded: nil, onboarded_active: nil, terminated: nil, terminated_today: nil, uuids: nil, page: nil, per: nil, x_gusto_api_version: Models::Operations::GetV1CompaniesCompanyIdEmployeesHeaderXGustoAPIVersion::TWO_THOUSAND_AND_TWENTY_FIVE_MINUS_06_MINUS_15)
  @company_id = company_id
  @location_uuid = location_uuid
  @payroll_uuid = payroll_uuid
  @search_term = search_term
  @sort_by = sort_by
  @include = include
  @onboarded = onboarded
  @onboarded_active = onboarded_active
  @terminated = terminated
  @terminated_today = terminated_today
  @uuids = uuids
  @page = page
  @per = per
  @x_gusto_api_version = x_gusto_api_version
end

Instance Method Details

#==(other) ⇒ Object



63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
# File 'lib/gusto_embedded/models/operations/get_v1_companies_company_id_employees_request.rb', line 63

def ==(other)
  return false unless other.is_a? self.class
  return false unless @company_id == other.company_id
  return false unless @location_uuid == other.location_uuid
  return false unless @payroll_uuid == other.payroll_uuid
  return false unless @search_term == other.search_term
  return false unless @sort_by == other.sort_by
  return false unless @include == other.include
  return false unless @onboarded == other.onboarded
  return false unless @onboarded_active == other.onboarded_active
  return false unless @terminated == other.terminated
  return false unless @terminated_today == other.terminated_today
  return false unless @uuids == other.uuids
  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