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.
8037 8038 8039 8040 8041 |
# File 'lib/v20170320/models.rb', line 8037 def initialize(totalcount=nil, items=nil, requestid=nil) @TotalCount = totalcount @Items = items @RequestId = requestid end |
Instance Attribute Details
#Items ⇒ Object
8035 8036 8037 |
# File 'lib/v20170320/models.rb', line 8035 def Items @Items end |
#RequestId ⇒ Object
8035 8036 8037 |
# File 'lib/v20170320/models.rb', line 8035 def RequestId @RequestId end |
#TotalCount ⇒ Object
8035 8036 8037 |
# File 'lib/v20170320/models.rb', line 8035 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
8043 8044 8045 8046 8047 8048 8049 8050 8051 8052 8053 8054 |
# File 'lib/v20170320/models.rb', line 8043 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 |