Class: Conductor::Http::Models::WorkflowTestTaskResult

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

Overview

Mock task result for workflow testing

Constant Summary collapse

SWAGGER_TYPES =
{
  status: 'String',
  output: 'Hash<String, Object>'
}.freeze
ATTRIBUTE_MAP =
{
  status: :status,
  output: :output
}.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 = {}) ⇒ WorkflowTestTaskResult

Returns a new instance of WorkflowTestTaskResult.



60
61
62
63
# File 'lib/conductor/http/models/workflow_test_request.rb', line 60

def initialize(params = {})
  @status = params[:status] || 'COMPLETED'
  @output = params[:output] || {}
end

Instance Attribute Details

#outputObject

Returns the value of attribute output.



58
59
60
# File 'lib/conductor/http/models/workflow_test_request.rb', line 58

def output
  @output
end

#statusObject

Returns the value of attribute status.



58
59
60
# File 'lib/conductor/http/models/workflow_test_request.rb', line 58

def status
  @status
end