Class: Conductor::Http::Models::RerunWorkflowRequest

Inherits:
BaseModel
  • Object
show all
Defined in:
lib/conductor/http/models/rerun_workflow_request.rb

Overview

Request to rerun a workflow from a specific task

Constant Summary collapse

SWAGGER_TYPES =
{
  re_run_from_workflow_id: 'String',
  workflow_input: 'Hash<String, Object>',
  re_run_from_task_id: 'String',
  task_input: 'Hash<String, Object>',
  correlation_id: 'String'
}.freeze
ATTRIBUTE_MAP =
{
  re_run_from_workflow_id: :reRunFromWorkflowId,
  workflow_input: :workflowInput,
  re_run_from_task_id: :reRunFromTaskId,
  task_input: :taskInput,
  correlation_id: :correlationId
}.freeze

Instance Attribute Summary collapse

Instance Method Summary collapse

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 = {}) ⇒ RerunWorkflowRequest

Returns a new instance of RerunWorkflowRequest.



27
28
29
30
31
32
33
# File 'lib/conductor/http/models/rerun_workflow_request.rb', line 27

def initialize(params = {})
  @re_run_from_workflow_id = params[:re_run_from_workflow_id]
  @workflow_input = params[:workflow_input]
  @re_run_from_task_id = params[:re_run_from_task_id]
  @task_input = params[:task_input]
  @correlation_id = params[:correlation_id]
end

Instance Attribute Details

#correlation_idObject

Returns the value of attribute correlation_id.



24
25
26
# File 'lib/conductor/http/models/rerun_workflow_request.rb', line 24

def correlation_id
  @correlation_id
end

#re_run_from_task_idObject

Returns the value of attribute re_run_from_task_id.



24
25
26
# File 'lib/conductor/http/models/rerun_workflow_request.rb', line 24

def re_run_from_task_id
  @re_run_from_task_id
end

#re_run_from_workflow_idObject

Returns the value of attribute re_run_from_workflow_id.



24
25
26
# File 'lib/conductor/http/models/rerun_workflow_request.rb', line 24

def re_run_from_workflow_id
  @re_run_from_workflow_id
end

#task_inputObject

Returns the value of attribute task_input.



24
25
26
# File 'lib/conductor/http/models/rerun_workflow_request.rb', line 24

def task_input
  @task_input
end

#workflow_inputObject

Returns the value of attribute workflow_input.



24
25
26
# File 'lib/conductor/http/models/rerun_workflow_request.rb', line 24

def workflow_input
  @workflow_input
end