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.



38021
38022
38023
38024
# File 'lib/v20210820/models.rb', line 38021

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

Instance Attribute Details

#LogContentListObject

Parameters:

  • LogContentList:

    任务详细日志

  • RequestId:

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



38019
38020
38021
# File 'lib/v20210820/models.rb', line 38019

def LogContentList
  @LogContentList
end

#RequestIdObject

Parameters:

  • LogContentList:

    任务详细日志

  • RequestId:

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



38019
38020
38021
# File 'lib/v20210820/models.rb', line 38019

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



38026
38027
38028
38029
38030
38031
38032
38033
38034
38035
38036
# File 'lib/v20210820/models.rb', line 38026

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