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