Class: TencentCloud::Tcaplusdb::V20190823::DescribeTasksResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tcaplusdb::V20190823::DescribeTasksResponse
- Defined in:
- lib/v20190823/models.rb
Overview
DescribeTasks返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, taskinfos = nil, requestid = nil) ⇒ DescribeTasksResponse
constructor
A new instance of DescribeTasksResponse.
Constructor Details
#initialize(totalcount = nil, taskinfos = nil, requestid = nil) ⇒ DescribeTasksResponse
Returns a new instance of DescribeTasksResponse.
2217 2218 2219 2220 2221 |
# File 'lib/v20190823/models.rb', line 2217 def initialize(totalcount=nil, taskinfos=nil, requestid=nil) @TotalCount = totalcount @TaskInfos = taskinfos @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
2215 2216 2217 |
# File 'lib/v20190823/models.rb', line 2215 def RequestId @RequestId end |
#TaskInfos ⇒ Object
2215 2216 2217 |
# File 'lib/v20190823/models.rb', line 2215 def TaskInfos @TaskInfos end |
#TotalCount ⇒ Object
2215 2216 2217 |
# File 'lib/v20190823/models.rb', line 2215 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 |
# File 'lib/v20190823/models.rb', line 2223 def deserialize(params) @TotalCount = params['TotalCount'] unless params['TaskInfos'].nil? @TaskInfos = [] params['TaskInfos'].each do |i| taskinfonew_tmp = TaskInfoNew.new taskinfonew_tmp.deserialize(i) @TaskInfos << taskinfonew_tmp end end @RequestId = params['RequestId'] end |