Class: TencentCloud::Cdb::V20170320::DescribeTasksResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdb::V20170320::DescribeTasksResponse
- Defined in:
- lib/v20170320/models.rb
Overview
DescribeTasks返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, items = nil, requestid = nil) ⇒ DescribeTasksResponse
constructor
A new instance of DescribeTasksResponse.
Constructor Details
#initialize(totalcount = nil, items = nil, requestid = nil) ⇒ DescribeTasksResponse
Returns a new instance of DescribeTasksResponse.
8537 8538 8539 8540 8541 |
# File 'lib/v20170320/models.rb', line 8537 def initialize(totalcount=nil, items=nil, requestid=nil) @TotalCount = totalcount @Items = items @RequestId = requestid end |
Instance Attribute Details
#Items ⇒ Object
8535 8536 8537 |
# File 'lib/v20170320/models.rb', line 8535 def Items @Items end |
#RequestId ⇒ Object
8535 8536 8537 |
# File 'lib/v20170320/models.rb', line 8535 def RequestId @RequestId end |
#TotalCount ⇒ Object
8535 8536 8537 |
# File 'lib/v20170320/models.rb', line 8535 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
8543 8544 8545 8546 8547 8548 8549 8550 8551 8552 8553 8554 |
# File 'lib/v20170320/models.rb', line 8543 def deserialize(params) @TotalCount = params['TotalCount'] unless params['Items'].nil? @Items = [] params['Items'].each do |i| taskdetail_tmp = TaskDetail.new taskdetail_tmp.deserialize(i) @Items << taskdetail_tmp end end @RequestId = params['RequestId'] end |