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.



24851
24852
24853
24854
# File 'lib/v20210820/models.rb', line 24851

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

Instance Attribute Details

#LogContentListObject

Parameters:

  • LogContentList:

    任务详细日志

  • RequestId:

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



24849
24850
24851
# File 'lib/v20210820/models.rb', line 24849

def LogContentList
  @LogContentList
end

#RequestIdObject

Parameters:

  • LogContentList:

    任务详细日志

  • RequestId:

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



24849
24850
24851
# File 'lib/v20210820/models.rb', line 24849

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



24856
24857
24858
24859
24860
24861
24862
24863
24864
24865
24866
# File 'lib/v20210820/models.rb', line 24856

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