Class: Conductor::Http::Models::WorkflowTestTaskResult
- Defined in:
- lib/conductor/http/models/workflow_test_request.rb
Overview
Mock task result for workflow testing
Constant Summary collapse
- SWAGGER_TYPES =
{ status: 'String', output: 'Hash<String, Object>' }.freeze
- ATTRIBUTE_MAP =
{ status: :status, output: :output }.freeze
Instance Attribute Summary collapse
-
#output ⇒ Object
Returns the value of attribute output.
-
#status ⇒ Object
Returns the value of attribute status.
Instance Method Summary collapse
-
#initialize(params = {}) ⇒ WorkflowTestTaskResult
constructor
A new instance of WorkflowTestTaskResult.
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 = {}) ⇒ WorkflowTestTaskResult
Returns a new instance of WorkflowTestTaskResult.
60 61 62 63 |
# File 'lib/conductor/http/models/workflow_test_request.rb', line 60 def initialize(params = {}) @status = params[:status] || 'COMPLETED' @output = params[:output] || {} end |
Instance Attribute Details
#output ⇒ Object
Returns the value of attribute output.
58 59 60 |
# File 'lib/conductor/http/models/workflow_test_request.rb', line 58 def output @output end |
#status ⇒ Object
Returns the value of attribute status.
58 59 60 |
# File 'lib/conductor/http/models/workflow_test_request.rb', line 58 def status @status end |