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.
8578 8579 8580 8581 8582 |
# File 'lib/v20170320/models.rb', line 8578 def initialize(totalcount=nil, items=nil, requestid=nil) @TotalCount = totalcount @Items = items @RequestId = requestid end |
Instance Attribute Details
#Items ⇒ Object
8576 8577 8578 |
# File 'lib/v20170320/models.rb', line 8576 def Items @Items end |
#RequestId ⇒ Object
8576 8577 8578 |
# File 'lib/v20170320/models.rb', line 8576 def RequestId @RequestId end |
#TotalCount ⇒ Object
8576 8577 8578 |
# File 'lib/v20170320/models.rb', line 8576 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
8584 8585 8586 8587 8588 8589 8590 8591 8592 8593 8594 8595 |
# File 'lib/v20170320/models.rb', line 8584 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 |