Class: Conductor::Http::Models::WorkflowTestRequest
- Defined in:
- lib/conductor/http/models/workflow_test_request.rb
Overview
Request to test a workflow with mocked task outputs
Constant Summary collapse
- SWAGGER_TYPES =
{ workflow_def: 'WorkflowDef', name: 'String', version: 'Integer', input: 'Hash<String, Object>', correlation_id: 'String', task_ref_to_mock_output: 'Hash<String, Array<WorkflowTestTaskResult>>', external_input_payload_storage_path: 'String', sub_workflow_test_request: 'Hash<String, WorkflowTestRequest>' }.freeze
- ATTRIBUTE_MAP =
{ workflow_def: :workflowDef, name: :name, version: :version, input: :input, correlation_id: :correlationId, task_ref_to_mock_output: :taskRefToMockOutput, external_input_payload_storage_path: :externalInputPayloadStoragePath, sub_workflow_test_request: :subWorkflowTestRequest }.freeze
Instance Attribute Summary collapse
-
#correlation_id ⇒ Object
Returns the value of attribute correlation_id.
-
#external_input_payload_storage_path ⇒ Object
Returns the value of attribute external_input_payload_storage_path.
-
#input ⇒ Object
Returns the value of attribute input.
-
#name ⇒ Object
Returns the value of attribute name.
-
#sub_workflow_test_request ⇒ Object
Returns the value of attribute sub_workflow_test_request.
-
#task_ref_to_mock_output ⇒ Object
Returns the value of attribute task_ref_to_mock_output.
-
#version ⇒ Object
Returns the value of attribute version.
-
#workflow_def ⇒ Object
Returns the value of attribute workflow_def.
Instance Method Summary collapse
-
#initialize(params = {}) ⇒ WorkflowTestRequest
constructor
A new instance of WorkflowTestRequest.
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 = {}) ⇒ WorkflowTestRequest
Returns a new instance of WorkflowTestRequest.
34 35 36 37 38 39 40 41 42 43 |
# File 'lib/conductor/http/models/workflow_test_request.rb', line 34 def initialize(params = {}) @workflow_def = params[:workflow_def] @name = params[:name] @version = params[:version] @input = params[:input] || {} @correlation_id = params[:correlation_id] @task_ref_to_mock_output = params[:task_ref_to_mock_output] || {} @external_input_payload_storage_path = params[:external_input_payload_storage_path] @sub_workflow_test_request = params[:sub_workflow_test_request] || {} end |
Instance Attribute Details
#correlation_id ⇒ Object
Returns the value of attribute correlation_id.
30 31 32 |
# File 'lib/conductor/http/models/workflow_test_request.rb', line 30 def correlation_id @correlation_id end |
#external_input_payload_storage_path ⇒ Object
Returns the value of attribute external_input_payload_storage_path.
30 31 32 |
# File 'lib/conductor/http/models/workflow_test_request.rb', line 30 def external_input_payload_storage_path @external_input_payload_storage_path end |
#input ⇒ Object
Returns the value of attribute input.
30 31 32 |
# File 'lib/conductor/http/models/workflow_test_request.rb', line 30 def input @input end |
#name ⇒ Object
Returns the value of attribute name.
30 31 32 |
# File 'lib/conductor/http/models/workflow_test_request.rb', line 30 def name @name end |
#sub_workflow_test_request ⇒ Object
Returns the value of attribute sub_workflow_test_request.
30 31 32 |
# File 'lib/conductor/http/models/workflow_test_request.rb', line 30 def sub_workflow_test_request @sub_workflow_test_request end |
#task_ref_to_mock_output ⇒ Object
Returns the value of attribute task_ref_to_mock_output.
30 31 32 |
# File 'lib/conductor/http/models/workflow_test_request.rb', line 30 def task_ref_to_mock_output @task_ref_to_mock_output end |
#version ⇒ Object
Returns the value of attribute version.
30 31 32 |
# File 'lib/conductor/http/models/workflow_test_request.rb', line 30 def version @version end |
#workflow_def ⇒ Object
Returns the value of attribute workflow_def.
30 31 32 |
# File 'lib/conductor/http/models/workflow_test_request.rb', line 30 def workflow_def @workflow_def end |