Class: Conductor::Http::Models::StartWorkflow
- 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
-
#correlation_id ⇒ Object
Returns the value of attribute correlation_id.
-
#input ⇒ Object
Returns the value of attribute input.
-
#name ⇒ Object
Returns the value of attribute name.
-
#task_to_domain ⇒ Object
Returns the value of attribute task_to_domain.
-
#version ⇒ Object
Returns the value of attribute version.
Instance Method Summary collapse
-
#initialize(params = {}) ⇒ StartWorkflow
constructor
A new instance of StartWorkflow.
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_id ⇒ Object
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 |
#input ⇒ Object
Returns the value of attribute input.
92 93 94 |
# File 'lib/conductor/http/models/event_handler.rb', line 92 def input @input end |
#name ⇒ Object
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_domain ⇒ Object
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 |
#version ⇒ Object
Returns the value of attribute version.
92 93 94 |
# File 'lib/conductor/http/models/event_handler.rb', line 92 def version @version end |