Class: Conductor::Http::Models::WorkflowSummary

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

Overview

Workflow summary for search results

Constant Summary collapse

SWAGGER_TYPES =
{
  workflow_id: 'String',
  correlation_id: 'String',
  workflow_type: 'String',
  version: 'Integer',
  start_time: 'String',
  update_time: 'String',
  end_time: 'String',
  status: 'String',
  input: 'String',
  output: 'String',
  reason_for_incompletion: 'String',
  execution_time: 'Integer',
  event: 'String',
  failed_reference_task_names: 'String',
  external_input_payload_storage_path: 'String',
  external_output_payload_storage_path: 'String',
  priority: 'Integer',
  input_size: 'Integer',
  output_size: 'Integer',
  failed_task_names: 'Array<String>'
}.freeze
ATTRIBUTE_MAP =
{
  workflow_id: :workflowId,
  correlation_id: :correlationId,
  workflow_type: :workflowType,
  version: :version,
  start_time: :startTime,
  update_time: :updateTime,
  end_time: :endTime,
  status: :status,
  input: :input,
  output: :output,
  reason_for_incompletion: :reasonForIncompletion,
  execution_time: :executionTime,
  event: :event,
  failed_reference_task_names: :failedReferenceTaskNames,
  external_input_payload_storage_path: :externalInputPayloadStoragePath,
  external_output_payload_storage_path: :externalOutputPayloadStoragePath,
  priority: :priority,
  input_size: :inputSize,
  output_size: :outputSize,
  failed_task_names: :failedTaskNames
}.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 = {}) ⇒ WorkflowSummary

Returns a new instance of WorkflowSummary.



82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
# File 'lib/conductor/http/models/search_result.rb', line 82

def initialize(params = {})
  @workflow_id = params[:workflow_id]
  @correlation_id = params[:correlation_id]
  @workflow_type = params[:workflow_type]
  @version = params[:version]
  @start_time = params[:start_time]
  @update_time = params[:update_time]
  @end_time = params[:end_time]
  @status = params[:status]
  @input = params[:input]
  @output = params[:output]
  @reason_for_incompletion = params[:reason_for_incompletion]
  @execution_time = params[:execution_time]
  @event = params[:event]
  @failed_reference_task_names = params[:failed_reference_task_names]
  @external_input_payload_storage_path = params[:external_input_payload_storage_path]
  @external_output_payload_storage_path = params[:external_output_payload_storage_path]
  @priority = params[:priority]
  @input_size = params[:input_size]
  @output_size = params[:output_size]
  @failed_task_names = params[:failed_task_names] || []
end

Instance Attribute Details

#correlation_idObject

Returns the value of attribute correlation_id.



74
75
76
# File 'lib/conductor/http/models/search_result.rb', line 74

def correlation_id
  @correlation_id
end

#end_timeObject

Returns the value of attribute end_time.



74
75
76
# File 'lib/conductor/http/models/search_result.rb', line 74

def end_time
  @end_time
end

#eventObject

Returns the value of attribute event.



74
75
76
# File 'lib/conductor/http/models/search_result.rb', line 74

def event
  @event
end

#execution_timeObject

Returns the value of attribute execution_time.



74
75
76
# File 'lib/conductor/http/models/search_result.rb', line 74

def execution_time
  @execution_time
end

#external_input_payload_storage_pathObject

Returns the value of attribute external_input_payload_storage_path.



74
75
76
# File 'lib/conductor/http/models/search_result.rb', line 74

def external_input_payload_storage_path
  @external_input_payload_storage_path
end

#external_output_payload_storage_pathObject

Returns the value of attribute external_output_payload_storage_path.



74
75
76
# File 'lib/conductor/http/models/search_result.rb', line 74

def external_output_payload_storage_path
  @external_output_payload_storage_path
end

#failed_reference_task_namesObject

Returns the value of attribute failed_reference_task_names.



74
75
76
# File 'lib/conductor/http/models/search_result.rb', line 74

def failed_reference_task_names
  @failed_reference_task_names
end

#failed_task_namesObject

Returns the value of attribute failed_task_names.



74
75
76
# File 'lib/conductor/http/models/search_result.rb', line 74

def failed_task_names
  @failed_task_names
end

#inputObject

Returns the value of attribute input.



74
75
76
# File 'lib/conductor/http/models/search_result.rb', line 74

def input
  @input
end

#input_sizeObject

Returns the value of attribute input_size.



74
75
76
# File 'lib/conductor/http/models/search_result.rb', line 74

def input_size
  @input_size
end

#outputObject

Returns the value of attribute output.



74
75
76
# File 'lib/conductor/http/models/search_result.rb', line 74

def output
  @output
end

#output_sizeObject

Returns the value of attribute output_size.



74
75
76
# File 'lib/conductor/http/models/search_result.rb', line 74

def output_size
  @output_size
end

#priorityObject

Returns the value of attribute priority.



74
75
76
# File 'lib/conductor/http/models/search_result.rb', line 74

def priority
  @priority
end

#reason_for_incompletionObject

Returns the value of attribute reason_for_incompletion.



74
75
76
# File 'lib/conductor/http/models/search_result.rb', line 74

def reason_for_incompletion
  @reason_for_incompletion
end

#start_timeObject

Returns the value of attribute start_time.



74
75
76
# File 'lib/conductor/http/models/search_result.rb', line 74

def start_time
  @start_time
end

#statusObject

Returns the value of attribute status.



74
75
76
# File 'lib/conductor/http/models/search_result.rb', line 74

def status
  @status
end

#update_timeObject

Returns the value of attribute update_time.



74
75
76
# File 'lib/conductor/http/models/search_result.rb', line 74

def update_time
  @update_time
end

#versionObject

Returns the value of attribute version.



74
75
76
# File 'lib/conductor/http/models/search_result.rb', line 74

def version
  @version
end

#workflow_idObject

Returns the value of attribute workflow_id.



74
75
76
# File 'lib/conductor/http/models/search_result.rb', line 74

def workflow_id
  @workflow_id
end

#workflow_typeObject

Returns the value of attribute workflow_type.



74
75
76
# File 'lib/conductor/http/models/search_result.rb', line 74

def workflow_type
  @workflow_type
end