Class: TencentCloud::Cdb::V20170320::DescribeRollbackTaskDetailResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdb::V20170320::DescribeRollbackTaskDetailResponse
- Defined in:
- lib/v20170320/models.rb
Overview
DescribeRollbackTaskDetail返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, items = nil, requestid = nil) ⇒ DescribeRollbackTaskDetailResponse
constructor
A new instance of DescribeRollbackTaskDetailResponse.
Constructor Details
#initialize(totalcount = nil, items = nil, requestid = nil) ⇒ DescribeRollbackTaskDetailResponse
Returns a new instance of DescribeRollbackTaskDetailResponse.
8165 8166 8167 8168 8169 |
# File 'lib/v20170320/models.rb', line 8165 def initialize(totalcount=nil, items=nil, requestid=nil) @TotalCount = totalcount @Items = items @RequestId = requestid end |
Instance Attribute Details
#Items ⇒ Object
8163 8164 8165 |
# File 'lib/v20170320/models.rb', line 8163 def Items @Items end |
#RequestId ⇒ Object
8163 8164 8165 |
# File 'lib/v20170320/models.rb', line 8163 def RequestId @RequestId end |
#TotalCount ⇒ Object
8163 8164 8165 |
# File 'lib/v20170320/models.rb', line 8163 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
8171 8172 8173 8174 8175 8176 8177 8178 8179 8180 8181 8182 |
# File 'lib/v20170320/models.rb', line 8171 def deserialize(params) @TotalCount = params['TotalCount'] unless params['Items'].nil? @Items = [] params['Items'].each do |i| rollbacktask_tmp = RollbackTask.new rollbacktask_tmp.deserialize(i) @Items << rollbacktask_tmp end end @RequestId = params['RequestId'] end |