Class: Conductor::Http::Models::TaskDetails
- Defined in:
- lib/conductor/http/models/event_handler.rb
Overview
Task details for event handler actions (complete_task / fail_task)
Constant Summary collapse
- SWAGGER_TYPES =
{ workflow_id: 'String', task_ref_name: 'String', output: 'Hash<String, Object>', task_id: 'String' }.freeze
- ATTRIBUTE_MAP =
{ workflow_id: :workflowId, task_ref_name: :taskRefName, output: :output, task_id: :taskId }.freeze
Instance Attribute Summary collapse
-
#output ⇒ Object
Returns the value of attribute output.
-
#task_id ⇒ Object
Returns the value of attribute task_id.
-
#task_ref_name ⇒ Object
Returns the value of attribute task_ref_name.
-
#workflow_id ⇒ Object
Returns the value of attribute workflow_id.
Instance Method Summary collapse
-
#initialize(params = {}) ⇒ TaskDetails
constructor
A new instance of TaskDetails.
Methods inherited from BaseModel
attribute_map, deserialize_model, deserialize_value, find_model_class, from_hash, from_json, parse_datetime, swagger_types, #to_h, #to_json
Constructor Details
#initialize(params = {}) ⇒ TaskDetails
Returns a new instance of TaskDetails.
121 122 123 124 125 126 |
# File 'lib/conductor/http/models/event_handler.rb', line 121 def initialize(params = {}) @workflow_id = params[:workflow_id] @task_ref_name = params[:task_ref_name] @output = params[:output] || {} @task_id = params[:task_id] end |
Instance Attribute Details
#output ⇒ Object
Returns the value of attribute output.
119 120 121 |
# File 'lib/conductor/http/models/event_handler.rb', line 119 def output @output end |
#task_id ⇒ Object
Returns the value of attribute task_id.
119 120 121 |
# File 'lib/conductor/http/models/event_handler.rb', line 119 def task_id @task_id end |
#task_ref_name ⇒ Object
Returns the value of attribute task_ref_name.
119 120 121 |
# File 'lib/conductor/http/models/event_handler.rb', line 119 def task_ref_name @task_ref_name end |
#workflow_id ⇒ Object
Returns the value of attribute workflow_id.
119 120 121 |
# File 'lib/conductor/http/models/event_handler.rb', line 119 def workflow_id @workflow_id end |