Class: Conductor::Http::Models::StartWorkflow

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

Overview

Start workflow action details

Constant Summary collapse

SWAGGER_TYPES =
{
  name: 'String',
  version: 'Integer',
  input: 'Hash<String, Object>',
  correlation_id: 'String',
  task_to_domain: 'Hash<String, String>'
}.freeze
ATTRIBUTE_MAP =
{
  name: :name,
  version: :version,
  input: :input,
  correlation_id: :correlationId,
  task_to_domain: :taskToDomain
}.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 = {}) ⇒ StartWorkflow

Returns a new instance of StartWorkflow.



94
95
96
97
98
99
100
# File 'lib/conductor/http/models/event_handler.rb', line 94

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

Instance Attribute Details

#correlation_idObject

Returns the value of attribute correlation_id.



92
93
94
# File 'lib/conductor/http/models/event_handler.rb', line 92

def correlation_id
  @correlation_id
end

#inputObject

Returns the value of attribute input.



92
93
94
# File 'lib/conductor/http/models/event_handler.rb', line 92

def input
  @input
end

#nameObject

Returns the value of attribute name.



92
93
94
# File 'lib/conductor/http/models/event_handler.rb', line 92

def name
  @name
end

#task_to_domainObject

Returns the value of attribute task_to_domain.



92
93
94
# File 'lib/conductor/http/models/event_handler.rb', line 92

def task_to_domain
  @task_to_domain
end

#versionObject

Returns the value of attribute version.



92
93
94
# File 'lib/conductor/http/models/event_handler.rb', line 92

def version
  @version
end