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.
8663 8664 8665 8666 8667 |
# File 'lib/v20170320/models.rb', line 8663 def initialize(totalcount=nil, items=nil, requestid=nil) @TotalCount = totalcount @Items = items @RequestId = requestid end |
Instance Attribute Details
#Items ⇒ Object
8661 8662 8663 |
# File 'lib/v20170320/models.rb', line 8661 def Items @Items end |
#RequestId ⇒ Object
8661 8662 8663 |
# File 'lib/v20170320/models.rb', line 8661 def RequestId @RequestId end |
#TotalCount ⇒ Object
8661 8662 8663 |
# File 'lib/v20170320/models.rb', line 8661 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
8669 8670 8671 8672 8673 8674 8675 8676 8677 8678 8679 8680 |
# File 'lib/v20170320/models.rb', line 8669 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 |