Class: TencentCloud::Wedata::V20210820::TaskLogResponse

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20210820/models.rb

Overview

TaskLog返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(logcontentlist = nil, requestid = nil) ⇒ TaskLogResponse

Returns a new instance of TaskLogResponse.



25135
25136
25137
25138
# File 'lib/v20210820/models.rb', line 25135

def initialize(logcontentlist=nil, requestid=nil)
  @LogContentList = logcontentlist
  @RequestId = requestid
end

Instance Attribute Details

#LogContentListObject

Parameters:

  • LogContentList:

    任务详细日志

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



25133
25134
25135
# File 'lib/v20210820/models.rb', line 25133

def LogContentList
  @LogContentList
end

#RequestIdObject

Parameters:

  • LogContentList:

    任务详细日志

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



25133
25134
25135
# File 'lib/v20210820/models.rb', line 25133

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



25140
25141
25142
25143
25144
25145
25146
25147
25148
25149
25150
# File 'lib/v20210820/models.rb', line 25140

def deserialize(params)
  unless params['LogContentList'].nil?
    @LogContentList = []
    params['LogContentList'].each do |i|
      logcontent_tmp = LogContent.new
      logcontent_tmp.deserialize(i)
      @LogContentList << logcontent_tmp
    end
  end
  @RequestId = params['RequestId']
end