Class: TencentCloud::Iotcloud::V20210408::DescribeProductTasksResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iotcloud::V20210408::DescribeProductTasksResponse
- Defined in:
- lib/v20210408/models.rb
Overview
DescribeProductTasks返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, taskinfos = nil, requestid = nil) ⇒ DescribeProductTasksResponse
constructor
A new instance of DescribeProductTasksResponse.
Constructor Details
#initialize(totalcount = nil, taskinfos = nil, requestid = nil) ⇒ DescribeProductTasksResponse
Returns a new instance of DescribeProductTasksResponse.
2315 2316 2317 2318 2319 |
# File 'lib/v20210408/models.rb', line 2315 def initialize(totalcount=nil, taskinfos=nil, requestid=nil) @TotalCount = totalcount @TaskInfos = taskinfos @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
2313 2314 2315 |
# File 'lib/v20210408/models.rb', line 2313 def RequestId @RequestId end |
#TaskInfos ⇒ Object
2313 2314 2315 |
# File 'lib/v20210408/models.rb', line 2313 def TaskInfos @TaskInfos end |
#TotalCount ⇒ Object
2313 2314 2315 |
# File 'lib/v20210408/models.rb', line 2313 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 |
# File 'lib/v20210408/models.rb', line 2321 def deserialize(params) @TotalCount = params['TotalCount'] unless params['TaskInfos'].nil? @TaskInfos = [] params['TaskInfos'].each do |i| producttaskinfo_tmp = ProductTaskInfo.new producttaskinfo_tmp.deserialize(i) @TaskInfos << producttaskinfo_tmp end end @RequestId = params['RequestId'] end |