Class: TencentCloud::Iotcloud::V20180614::DescribeProductTasksResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iotcloud::V20180614::DescribeProductTasksResponse
- Defined in:
- lib/v20180614/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.
2301 2302 2303 2304 2305 |
# File 'lib/v20180614/models.rb', line 2301 def initialize(totalcount=nil, taskinfos=nil, requestid=nil) @TotalCount = totalcount @TaskInfos = taskinfos @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
2299 2300 2301 |
# File 'lib/v20180614/models.rb', line 2299 def RequestId @RequestId end |
#TaskInfos ⇒ Object
2299 2300 2301 |
# File 'lib/v20180614/models.rb', line 2299 def TaskInfos @TaskInfos end |
#TotalCount ⇒ Object
2299 2300 2301 |
# File 'lib/v20180614/models.rb', line 2299 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 |
# File 'lib/v20180614/models.rb', line 2307 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 |