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.
8154 8155 8156 8157 8158 |
# File 'lib/v20170320/models.rb', line 8154 def initialize(totalcount=nil, items=nil, requestid=nil) @TotalCount = totalcount @Items = items @RequestId = requestid end |
Instance Attribute Details
#Items ⇒ Object
8152 8153 8154 |
# File 'lib/v20170320/models.rb', line 8152 def Items @Items end |
#RequestId ⇒ Object
8152 8153 8154 |
# File 'lib/v20170320/models.rb', line 8152 def RequestId @RequestId end |
#TotalCount ⇒ Object
8152 8153 8154 |
# File 'lib/v20170320/models.rb', line 8152 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
8160 8161 8162 8163 8164 8165 8166 8167 8168 8169 8170 8171 |
# File 'lib/v20170320/models.rb', line 8160 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 |