Class: TencentCloud::Keewidb::V20220308::DescribeTaskListResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Keewidb::V20220308::DescribeTaskListResponse
- Defined in:
- lib/v20220308/models.rb
Overview
DescribeTaskList返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, tasks = nil, requestid = nil) ⇒ DescribeTaskListResponse
constructor
A new instance of DescribeTaskListResponse.
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
#RequestId ⇒ Object
1534 1535 1536 |
# File 'lib/v20220308/models.rb', line 1534 def RequestId @RequestId end |
#Tasks ⇒ Object
1534 1535 1536 |
# File 'lib/v20220308/models.rb', line 1534 def Tasks @Tasks end |
#TotalCount ⇒ Object
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 |