Class: GustoEmbedded::Models::Operations::PostCompaniesPayrollSkipCompanyUuidRequestBody
- Inherits:
-
Object
- Object
- GustoEmbedded::Models::Operations::PostCompaniesPayrollSkipCompanyUuidRequestBody
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/gusto_embedded/models/operations/post_companies_payroll_skip_company_uuid_requestbody.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(payroll_type:, start_date: nil, end_date: nil, pay_schedule_uuid: nil, employee_uuids: nil) ⇒ PostCompaniesPayrollSkipCompanyUuidRequestBody
constructor
A new instance of PostCompaniesPayrollSkipCompanyUuidRequestBody.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(payroll_type:, start_date: nil, end_date: nil, pay_schedule_uuid: nil, employee_uuids: nil) ⇒ PostCompaniesPayrollSkipCompanyUuidRequestBody
Returns a new instance of PostCompaniesPayrollSkipCompanyUuidRequestBody.
27 28 29 30 31 32 33 |
# File 'lib/gusto_embedded/models/operations/post_companies_payroll_skip_company_uuid_requestbody.rb', line 27 def initialize(payroll_type:, start_date: nil, end_date: nil, pay_schedule_uuid: nil, employee_uuids: nil) @payroll_type = payroll_type @start_date = start_date @end_date = end_date @pay_schedule_uuid = pay_schedule_uuid @employee_uuids = employee_uuids end |
Instance Method Details
#==(other) ⇒ Object
36 37 38 39 40 41 42 43 44 |
# File 'lib/gusto_embedded/models/operations/post_companies_payroll_skip_company_uuid_requestbody.rb', line 36 def ==(other) return false unless other.is_a? self.class return false unless @payroll_type == other.payroll_type return false unless @start_date == other.start_date return false unless @end_date == other.end_date return false unless @pay_schedule_uuid == other.pay_schedule_uuid return false unless @employee_uuids == other.employee_uuids true end |