Class: Conductor::Http::Models::SubWorkflowParams

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

Overview

Sub-workflow parameters for SUB_WORKFLOW tasks

Constant Summary collapse

SWAGGER_TYPES =
{
  name: 'String',
  version: 'Integer',
  task_to_domain: 'Hash<String, String>',
  workflow_definition: 'WorkflowDef'
}.freeze
ATTRIBUTE_MAP =
{
  name: :name,
  version: :version,
  task_to_domain: :taskToDomain,
  workflow_definition: :workflowDefinition
}.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 = {}) ⇒ SubWorkflowParams

Returns a new instance of SubWorkflowParams.



160
161
162
163
164
165
# File 'lib/conductor/http/models/workflow_task.rb', line 160

def initialize(params = {})
  @name = params[:name]
  @version = params[:version]
  @task_to_domain = params[:task_to_domain]
  @workflow_definition = params[:workflow_definition]
end

Instance Attribute Details

#nameObject

Returns the value of attribute name.



158
159
160
# File 'lib/conductor/http/models/workflow_task.rb', line 158

def name
  @name
end

#task_to_domainObject

Returns the value of attribute task_to_domain.



158
159
160
# File 'lib/conductor/http/models/workflow_task.rb', line 158

def task_to_domain
  @task_to_domain
end

#versionObject

Returns the value of attribute version.



158
159
160
# File 'lib/conductor/http/models/workflow_task.rb', line 158

def version
  @version
end

#workflow_definitionObject

Returns the value of attribute workflow_definition.



158
159
160
# File 'lib/conductor/http/models/workflow_task.rb', line 158

def workflow_definition
  @workflow_definition
end