Class: TencentCloud::Keewidb::V20220308::DescribeTaskListResponse

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

Overview

DescribeTaskList返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(totalcount = nil, tasks = nil, requestid = nil) ⇒ DescribeTaskListResponse

Returns a new instance of DescribeTaskListResponse.



1536
1537
1538
1539
1540
# File 'lib/v20220308/models.rb', line 1536

def initialize(totalcount=nil, tasks=nil, requestid=nil)
  @TotalCount = totalcount
  @Tasks = tasks
  @RequestId = requestid
end

Instance Attribute Details

#RequestIdObject

Parameters:

  • TotalCount:

    任务总数。

  • Tasks:

    任务详细信息列表。

  • RequestId:

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



1534
1535
1536
# File 'lib/v20220308/models.rb', line 1534

def RequestId
  @RequestId
end

#TasksObject

Parameters:

  • TotalCount:

    任务总数。

  • Tasks:

    任务详细信息列表。

  • RequestId:

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



1534
1535
1536
# File 'lib/v20220308/models.rb', line 1534

def Tasks
  @Tasks
end

#TotalCountObject

Parameters:

  • TotalCount:

    任务总数。

  • Tasks:

    任务详细信息列表。

  • RequestId:

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



1534
1535
1536
# File 'lib/v20220308/models.rb', line 1534

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
# File 'lib/v20220308/models.rb', line 1542

def deserialize(params)
  @TotalCount = params['TotalCount']
  unless params['Tasks'].nil?
    @Tasks = []
    params['Tasks'].each do |i|
      taskinfodetail_tmp = TaskInfoDetail.new
      taskinfodetail_tmp.deserialize(i)
      @Tasks << taskinfodetail_tmp
    end
  end
  @RequestId = params['RequestId']
end