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.
8081 8082 8083 8084 8085 |
# File 'lib/v20170320/models.rb', line 8081 def initialize(totalcount=nil, items=nil, requestid=nil) @TotalCount = totalcount @Items = items @RequestId = requestid end |
Instance Attribute Details
#Items ⇒ Object
8079 8080 8081 |
# File 'lib/v20170320/models.rb', line 8079 def Items @Items end |
#RequestId ⇒ Object
8079 8080 8081 |
# File 'lib/v20170320/models.rb', line 8079 def RequestId @RequestId end |
#TotalCount ⇒ Object
8079 8080 8081 |
# File 'lib/v20170320/models.rb', line 8079 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
8087 8088 8089 8090 8091 8092 8093 8094 8095 8096 8097 8098 |
# File 'lib/v20170320/models.rb', line 8087 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 |