Class: Conductor::Http::Models::TaskExecLog

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

Overview

Task execution log entry

Constant Summary collapse

SWAGGER_TYPES =
{
  log: 'String',
  task_id: 'String',
  created_time: 'Integer'
}.freeze
ATTRIBUTE_MAP =
{
  log: :log,
  task_id: :taskId,
  created_time: :createdTime
}.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 = {}) ⇒ TaskExecLog

Returns a new instance of TaskExecLog.



22
23
24
25
26
# File 'lib/conductor/http/models/task_exec_log.rb', line 22

def initialize(params = {})
  @log = params[:log]
  @task_id = params[:task_id]
  @created_time = params[:created_time]
end

Instance Attribute Details

#created_timeObject

Returns the value of attribute created_time.



20
21
22
# File 'lib/conductor/http/models/task_exec_log.rb', line 20

def created_time
  @created_time
end

#logObject

Returns the value of attribute log.



20
21
22
# File 'lib/conductor/http/models/task_exec_log.rb', line 20

def log
  @log
end

#task_idObject

Returns the value of attribute task_id.



20
21
22
# File 'lib/conductor/http/models/task_exec_log.rb', line 20

def task_id
  @task_id
end