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.



39608
39609
39610
39611
# File 'lib/v20210820/models.rb', line 39608

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

Instance Attribute Details

#LogContentListObject

Parameters:

  • LogContentList:

    任务详细日志

  • RequestId:

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



39606
39607
39608
# File 'lib/v20210820/models.rb', line 39606

def LogContentList
  @LogContentList
end

#RequestIdObject

Parameters:

  • LogContentList:

    任务详细日志

  • RequestId:

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



39606
39607
39608
# File 'lib/v20210820/models.rb', line 39606

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



39613
39614
39615
39616
39617
39618
39619
39620
39621
39622
39623
# File 'lib/v20210820/models.rb', line 39613

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