Class: Conductor::Http::Models::StartWorkflowRequest
- Defined in:
- lib/conductor/http/models/start_workflow_request.rb
Overview
StartWorkflowRequest model for starting a workflow execution
Defined Under Namespace
Modules: IdempotencyStrategy
Constant Summary collapse
- SWAGGER_TYPES =
{ name: 'String', version: 'Integer', correlation_id: 'String', input: 'Hash<String, Object>', task_to_domain: 'Hash<String, String>', workflow_def: 'WorkflowDef', external_input_payload_storage_path: 'String', priority: 'Integer', created_by: 'String', idempotency_key: 'String', idempotency_strategy: 'String' }.freeze
- ATTRIBUTE_MAP =
{ name: :name, version: :version, correlation_id: :correlationId, input: :input, task_to_domain: :taskToDomain, workflow_def: :workflowDef, external_input_payload_storage_path: :externalInputPayloadStoragePath, priority: :priority, created_by: :createdBy, idempotency_key: :idempotencyKey, idempotency_strategy: :idempotencyStrategy }.freeze
Instance Attribute Summary collapse
-
#correlation_id ⇒ Object
Returns the value of attribute correlation_id.
-
#created_by ⇒ Object
Returns the value of attribute created_by.
-
#external_input_payload_storage_path ⇒ Object
Returns the value of attribute external_input_payload_storage_path.
-
#idempotency_key ⇒ Object
Returns the value of attribute idempotency_key.
-
#idempotency_strategy ⇒ Object
Returns the value of attribute idempotency_strategy.
-
#input ⇒ Object
Returns the value of attribute input.
-
#name ⇒ Object
Returns the value of attribute name.
-
#priority ⇒ Object
Returns the value of attribute priority.
-
#task_to_domain ⇒ Object
Returns the value of attribute task_to_domain.
-
#version ⇒ Object
Returns the value of attribute version.
-
#workflow_def ⇒ Object
Returns the value of attribute workflow_def.
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ StartWorkflowRequest
constructor
Initialize a new StartWorkflowRequest.
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(attributes = {}) ⇒ StartWorkflowRequest
Initialize a new StartWorkflowRequest
50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 |
# File 'lib/conductor/http/models/start_workflow_request.rb', line 50 def initialize(attributes = {}) return unless attributes.is_a?(Hash) self.name = attributes[:name] if attributes.key?(:name) self.version = attributes[:version] if attributes.key?(:version) self.correlation_id = attributes[:correlation_id] if attributes.key?(:correlation_id) self.input = attributes[:input] if attributes.key?(:input) self.task_to_domain = attributes[:task_to_domain] if attributes.key?(:task_to_domain) self.workflow_def = attributes[:workflow_def] if attributes.key?(:workflow_def) self.external_input_payload_storage_path = attributes[:external_input_payload_storage_path] if attributes.key?(:external_input_payload_storage_path) self.priority = attributes[:priority] if attributes.key?(:priority) self.created_by = attributes[:created_by] if attributes.key?(:created_by) self.idempotency_key = attributes[:idempotency_key] if attributes.key?(:idempotency_key) self.idempotency_strategy = attributes[:idempotency_strategy] if attributes.key?(:idempotency_strategy) end |
Instance Attribute Details
#correlation_id ⇒ Object
Returns the value of attribute correlation_id.
44 45 46 |
# File 'lib/conductor/http/models/start_workflow_request.rb', line 44 def correlation_id @correlation_id end |
#created_by ⇒ Object
Returns the value of attribute created_by.
44 45 46 |
# File 'lib/conductor/http/models/start_workflow_request.rb', line 44 def created_by @created_by end |
#external_input_payload_storage_path ⇒ Object
Returns the value of attribute external_input_payload_storage_path.
44 45 46 |
# File 'lib/conductor/http/models/start_workflow_request.rb', line 44 def external_input_payload_storage_path @external_input_payload_storage_path end |
#idempotency_key ⇒ Object
Returns the value of attribute idempotency_key.
44 45 46 |
# File 'lib/conductor/http/models/start_workflow_request.rb', line 44 def idempotency_key @idempotency_key end |
#idempotency_strategy ⇒ Object
Returns the value of attribute idempotency_strategy.
44 45 46 |
# File 'lib/conductor/http/models/start_workflow_request.rb', line 44 def idempotency_strategy @idempotency_strategy end |
#input ⇒ Object
Returns the value of attribute input.
44 45 46 |
# File 'lib/conductor/http/models/start_workflow_request.rb', line 44 def input @input end |
#name ⇒ Object
Returns the value of attribute name.
44 45 46 |
# File 'lib/conductor/http/models/start_workflow_request.rb', line 44 def name @name end |
#priority ⇒ Object
Returns the value of attribute priority.
44 45 46 |
# File 'lib/conductor/http/models/start_workflow_request.rb', line 44 def priority @priority end |
#task_to_domain ⇒ Object
Returns the value of attribute task_to_domain.
44 45 46 |
# File 'lib/conductor/http/models/start_workflow_request.rb', line 44 def task_to_domain @task_to_domain end |
#version ⇒ Object
Returns the value of attribute version.
44 45 46 |
# File 'lib/conductor/http/models/start_workflow_request.rb', line 44 def version @version end |
#workflow_def ⇒ Object
Returns the value of attribute workflow_def.
44 45 46 |
# File 'lib/conductor/http/models/start_workflow_request.rb', line 44 def workflow_def @workflow_def end |