Class: TencentCloud::Cdn::V20180606::ListScdnLogTasksResponse

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

Overview

ListScdnLogTasks返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(tasklist = nil, totalcount = nil, requestid = nil) ⇒ ListScdnLogTasksResponse

Returns a new instance of ListScdnLogTasksResponse.



8749
8750
8751
8752
8753
# File 'lib/v20180606/models.rb', line 8749

def initialize(tasklist=nil, totalcount=nil, requestid=nil)
  @TaskList = tasklist
  @TotalCount = totalcount
  @RequestId = requestid
end

Instance Attribute Details

#RequestIdObject

Parameters:

  • TaskList:

    日志下载任务详情

  • TotalCount:

    查询到的下载任务的总数

  • RequestId:

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



8747
8748
8749
# File 'lib/v20180606/models.rb', line 8747

def RequestId
  @RequestId
end

#TaskListObject

Parameters:

  • TaskList:

    日志下载任务详情

  • TotalCount:

    查询到的下载任务的总数

  • RequestId:

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



8747
8748
8749
# File 'lib/v20180606/models.rb', line 8747

def TaskList
  @TaskList
end

#TotalCountObject

Parameters:

  • TaskList:

    日志下载任务详情

  • TotalCount:

    查询到的下载任务的总数

  • RequestId:

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



8747
8748
8749
# File 'lib/v20180606/models.rb', line 8747

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



8755
8756
8757
8758
8759
8760
8761
8762
8763
8764
8765
8766
# File 'lib/v20180606/models.rb', line 8755

def deserialize(params)
  unless params['TaskList'].nil?
    @TaskList = []
    params['TaskList'].each do |i|
      scdnlogtaskdetail_tmp = ScdnLogTaskDetail.new
      scdnlogtaskdetail_tmp.deserialize(i)
      @TaskList << scdnlogtaskdetail_tmp
    end
  end
  @TotalCount = params['TotalCount']
  @RequestId = params['RequestId']
end