Class: GustoEmbedded::Models::Operations::PostV1PayrollsPayrollUuidGeneratedDocumentsPrintablePayrollChecksRequest

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

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(payroll_uuid:, printable_payroll_checks_body:, x_gusto_api_version: Models::Operations::PostV1PayrollsPayrollUuidGeneratedDocumentsPrintablePayrollChecksHeaderXGustoAPIVersion::TWO_THOUSAND_AND_TWENTY_FIVE_MINUS_06_MINUS_15) ⇒ PostV1PayrollsPayrollUuidGeneratedDocumentsPrintablePayrollChecksRequest

Returns a new instance of PostV1PayrollsPayrollUuidGeneratedDocumentsPrintablePayrollChecksRequest.



23
24
25
26
27
# File 'lib/gusto_embedded/models/operations/post_v1_payrolls_payroll_uuid_generated_documents_printable_payroll_check_544031.rb', line 23

def initialize(payroll_uuid:, printable_payroll_checks_body:, x_gusto_api_version: Models::Operations::PostV1PayrollsPayrollUuidGeneratedDocumentsPrintablePayrollChecksHeaderXGustoAPIVersion::TWO_THOUSAND_AND_TWENTY_FIVE_MINUS_06_MINUS_15)
  @payroll_uuid = payroll_uuid
  @printable_payroll_checks_body = printable_payroll_checks_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_payrolls_payroll_uuid_generated_documents_printable_payroll_check_544031.rb', line 30

def ==(other)
  return false unless other.is_a? self.class
  return false unless @payroll_uuid == other.payroll_uuid
  return false unless @printable_payroll_checks_body == other.printable_payroll_checks_body
  return false unless @x_gusto_api_version == other.x_gusto_api_version
  true
end