Class: TencentCloud::Iotcloud::V20180614::DescribeTasksResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iotcloud::V20180614::DescribeTasksResponse
- Defined in:
- lib/v20180614/models.rb
Overview
DescribeTasks返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, tasks = nil, requestid = nil) ⇒ DescribeTasksResponse
constructor
A new instance of DescribeTasksResponse.
Constructor Details
#initialize(totalcount = nil, tasks = nil, requestid = nil) ⇒ DescribeTasksResponse
Returns a new instance of DescribeTasksResponse.
2610 2611 2612 2613 2614 |
# File 'lib/v20180614/models.rb', line 2610 def initialize(totalcount=nil, tasks=nil, requestid=nil) @TotalCount = totalcount @Tasks = tasks @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
2608 2609 2610 |
# File 'lib/v20180614/models.rb', line 2608 def RequestId @RequestId end |
#Tasks ⇒ Object
2608 2609 2610 |
# File 'lib/v20180614/models.rb', line 2608 def Tasks @Tasks end |
#TotalCount ⇒ Object
2608 2609 2610 |
# File 'lib/v20180614/models.rb', line 2608 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 |
# File 'lib/v20180614/models.rb', line 2616 def deserialize(params) @TotalCount = params['TotalCount'] unless params['Tasks'].nil? @Tasks = [] params['Tasks'].each do |i| taskinfo_tmp = TaskInfo.new taskinfo_tmp.deserialize(i) @Tasks << taskinfo_tmp end end @RequestId = params['RequestId'] end |