Class: GustoEmbedded::Models::Operations::PostV1CompaniesCompanyUuidTimeOffRequestsRequestBody
- Inherits:
-
Object
- Object
- GustoEmbedded::Models::Operations::PostV1CompaniesCompanyUuidTimeOffRequestsRequestBody
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/gusto_embedded/models/operations/post_v1_companies_company_uuid_time_off_requests_requestbody.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(employee_uuid:, policy_uuid:, start_date:, end_date:, days:, employee_note: nil) ⇒ PostV1CompaniesCompanyUuidTimeOffRequestsRequestBody
constructor
A new instance of PostV1CompaniesCompanyUuidTimeOffRequestsRequestBody.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(employee_uuid:, policy_uuid:, start_date:, end_date:, days:, employee_note: nil) ⇒ PostV1CompaniesCompanyUuidTimeOffRequestsRequestBody
Returns a new instance of PostV1CompaniesCompanyUuidTimeOffRequestsRequestBody.
29 30 31 32 33 34 35 36 |
# File 'lib/gusto_embedded/models/operations/post_v1_companies_company_uuid_time_off_requests_requestbody.rb', line 29 def initialize(employee_uuid:, policy_uuid:, start_date:, end_date:, days:, employee_note: nil) @employee_uuid = employee_uuid @policy_uuid = policy_uuid @start_date = start_date @end_date = end_date @days = days @employee_note = employee_note end |
Instance Method Details
#==(other) ⇒ Object
39 40 41 42 43 44 45 46 47 48 |
# File 'lib/gusto_embedded/models/operations/post_v1_companies_company_uuid_time_off_requests_requestbody.rb', line 39 def ==(other) return false unless other.is_a? self.class return false unless @employee_uuid == other.employee_uuid return false unless @policy_uuid == other.policy_uuid return false unless @start_date == other.start_date return false unless @end_date == other.end_date return false unless @days == other.days return false unless @employee_note == other.employee_note true end |