Class: GustoEmbedded::Models::Operations::GetV1CompaniesCompanyUuidContractorsRequest

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

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(company_uuid:, search_term: nil, sort_by: nil, onboarded: nil, onboarded_active: nil, terminated: nil, terminated_today: nil, include: nil, page: nil, per: nil, x_gusto_api_version: Models::Operations::GetV1CompaniesCompanyUuidContractorsHeaderXGustoAPIVersion::TWO_THOUSAND_AND_TWENTY_FIVE_MINUS_06_MINUS_15) ⇒ GetV1CompaniesCompanyUuidContractorsRequest

Returns a new instance of GetV1CompaniesCompanyUuidContractorsRequest.



39
40
41
42
43
44
45
46
47
48
49
50
51
# File 'lib/gusto_embedded/models/operations/get_v1_companies_company_uuid_contractors_request.rb', line 39

def initialize(company_uuid:, search_term: nil, sort_by: nil, onboarded: nil, onboarded_active: nil, terminated: nil, terminated_today: nil, include: nil, page: nil, per: nil, x_gusto_api_version: Models::Operations::GetV1CompaniesCompanyUuidContractorsHeaderXGustoAPIVersion::TWO_THOUSAND_AND_TWENTY_FIVE_MINUS_06_MINUS_15)
  @company_uuid = company_uuid
  @search_term = search_term
  @sort_by = sort_by
  @onboarded = onboarded
  @onboarded_active = onboarded_active
  @terminated = terminated
  @terminated_today = terminated_today
  @include = include
  @page = page
  @per = per
  @x_gusto_api_version = x_gusto_api_version
end

Instance Method Details

#==(other) ⇒ Object



54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# File 'lib/gusto_embedded/models/operations/get_v1_companies_company_uuid_contractors_request.rb', line 54

def ==(other)
  return false unless other.is_a? self.class
  return false unless @company_uuid == other.company_uuid
  return false unless @search_term == other.search_term
  return false unless @sort_by == other.sort_by
  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 @include == other.include
  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