Class: GustoEmbedded::Models::Operations::GetV1CompaniesCompanyIdPaySchedulesPreviewRequest
- Inherits:
-
Object
- Object
- GustoEmbedded::Models::Operations::GetV1CompaniesCompanyIdPaySchedulesPreviewRequest
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/gusto_embedded/models/operations/get_v1_companies_company_id_pay_schedules_preview_request.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(company_id:, frequency:, anchor_pay_date:, anchor_end_of_pay_period:, day_1: nil, day_2: nil, end_date: nil, x_gusto_api_version: Models::Operations::GetV1CompaniesCompanyIdPaySchedulesPreviewHeaderXGustoAPIVersion::TWO_THOUSAND_AND_TWENTY_FIVE_MINUS_06_MINUS_15) ⇒ GetV1CompaniesCompanyIdPaySchedulesPreviewRequest
constructor
A new instance of GetV1CompaniesCompanyIdPaySchedulesPreviewRequest.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(company_id:, frequency:, anchor_pay_date:, anchor_end_of_pay_period:, day_1: nil, day_2: nil, end_date: nil, x_gusto_api_version: Models::Operations::GetV1CompaniesCompanyIdPaySchedulesPreviewHeaderXGustoAPIVersion::TWO_THOUSAND_AND_TWENTY_FIVE_MINUS_06_MINUS_15) ⇒ GetV1CompaniesCompanyIdPaySchedulesPreviewRequest
Returns a new instance of GetV1CompaniesCompanyIdPaySchedulesPreviewRequest.
33 34 35 36 37 38 39 40 41 42 |
# File 'lib/gusto_embedded/models/operations/get_v1_companies_company_id_pay_schedules_preview_request.rb', line 33 def initialize(company_id:, frequency:, anchor_pay_date:, anchor_end_of_pay_period:, day_1: nil, day_2: nil, end_date: nil, x_gusto_api_version: Models::Operations::GetV1CompaniesCompanyIdPaySchedulesPreviewHeaderXGustoAPIVersion::TWO_THOUSAND_AND_TWENTY_FIVE_MINUS_06_MINUS_15) @company_id = company_id @frequency = frequency @anchor_pay_date = anchor_pay_date @anchor_end_of_pay_period = anchor_end_of_pay_period @day_1 = day_1 @day_2 = day_2 @end_date = end_date @x_gusto_api_version = x_gusto_api_version end |
Instance Method Details
#==(other) ⇒ Object
45 46 47 48 49 50 51 52 53 54 55 56 |
# File 'lib/gusto_embedded/models/operations/get_v1_companies_company_id_pay_schedules_preview_request.rb', line 45 def ==(other) return false unless other.is_a? self.class return false unless @company_id == other.company_id return false unless @frequency == other.frequency return false unless @anchor_pay_date == other.anchor_pay_date return false unless @anchor_end_of_pay_period == other.anchor_end_of_pay_period return false unless @day_1 == other.day_1 return false unless @day_2 == other.day_2 return false unless @end_date == other.end_date return false unless @x_gusto_api_version == other.x_gusto_api_version true end |