Class: GustoEmbedded::Models::Operations::PostV1CompaniesCompanyIdContractorPaymentGroupsPreviewRequest
- Inherits:
-
Object
- Object
- GustoEmbedded::Models::Operations::PostV1CompaniesCompanyIdContractorPaymentGroupsPreviewRequest
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/gusto_embedded/models/operations/post_v1_companies_company_id_contractor_payment_groups_preview_request.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(company_id:, request_body:, x_gusto_api_version: Models::Operations::PostV1CompaniesCompanyIdContractorPaymentGroupsPreviewHeaderXGustoAPIVersion::TWO_THOUSAND_AND_TWENTY_FIVE_MINUS_06_MINUS_15) ⇒ PostV1CompaniesCompanyIdContractorPaymentGroupsPreviewRequest
constructor
A new instance of PostV1CompaniesCompanyIdContractorPaymentGroupsPreviewRequest.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(company_id:, request_body:, x_gusto_api_version: Models::Operations::PostV1CompaniesCompanyIdContractorPaymentGroupsPreviewHeaderXGustoAPIVersion::TWO_THOUSAND_AND_TWENTY_FIVE_MINUS_06_MINUS_15) ⇒ PostV1CompaniesCompanyIdContractorPaymentGroupsPreviewRequest
Returns a new instance of PostV1CompaniesCompanyIdContractorPaymentGroupsPreviewRequest.
23 24 25 26 27 |
# File 'lib/gusto_embedded/models/operations/post_v1_companies_company_id_contractor_payment_groups_preview_request.rb', line 23 def initialize(company_id:, request_body:, x_gusto_api_version: Models::Operations::PostV1CompaniesCompanyIdContractorPaymentGroupsPreviewHeaderXGustoAPIVersion::TWO_THOUSAND_AND_TWENTY_FIVE_MINUS_06_MINUS_15) @company_id = company_id @request_body = request_body @x_gusto_api_version = x_gusto_api_version end |
Instance Method Details
#==(other) ⇒ Object
30 31 32 33 34 35 36 |
# File 'lib/gusto_embedded/models/operations/post_v1_companies_company_id_contractor_payment_groups_preview_request.rb', line 30 def ==(other) return false unless other.is_a? self.class return false unless @company_id == other.company_id return false unless @request_body == other.request_body return false unless @x_gusto_api_version == other.x_gusto_api_version true end |