Class: TencentCloud::Cdn::V20180606::DescribeEdgePackTaskStatusResponse

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

Overview

DescribeEdgePackTaskStatus返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(edgepacktaskstatusset = nil, totalcount = nil, requestid = nil) ⇒ DescribeEdgePackTaskStatusResponse

Returns a new instance of DescribeEdgePackTaskStatusResponse.



4513
4514
4515
4516
4517
# File 'lib/v20180606/models.rb', line 4513

def initialize(edgepacktaskstatusset=nil, totalcount=nil, requestid=nil)
  @EdgePackTaskStatusSet = edgepacktaskstatusset
  @TotalCount = totalcount
  @RequestId = requestid
end

Instance Attribute Details

#EdgePackTaskStatusSetObject

Parameters:

  • EdgePackTaskStatusSet:

    动态打包任务状态列表

  • TotalCount:

    总数,用于分页查询

  • RequestId:

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



4511
4512
4513
# File 'lib/v20180606/models.rb', line 4511

def EdgePackTaskStatusSet
  @EdgePackTaskStatusSet
end

#RequestIdObject

Parameters:

  • EdgePackTaskStatusSet:

    动态打包任务状态列表

  • TotalCount:

    总数,用于分页查询

  • RequestId:

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



4511
4512
4513
# File 'lib/v20180606/models.rb', line 4511

def RequestId
  @RequestId
end

#TotalCountObject

Parameters:

  • EdgePackTaskStatusSet:

    动态打包任务状态列表

  • TotalCount:

    总数,用于分页查询

  • RequestId:

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



4511
4512
4513
# File 'lib/v20180606/models.rb', line 4511

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
# File 'lib/v20180606/models.rb', line 4519

def deserialize(params)
  unless params['EdgePackTaskStatusSet'].nil?
    @EdgePackTaskStatusSet = []
    params['EdgePackTaskStatusSet'].each do |i|
      edgepacktaskstatus_tmp = EdgePackTaskStatus.new
      edgepacktaskstatus_tmp.deserialize(i)
      @EdgePackTaskStatusSet << edgepacktaskstatus_tmp
    end
  end
  @TotalCount = params['TotalCount']
  @RequestId = params['RequestId']
end