Class: TencentCloud::Cdb::V20170320::DescribeBackupsResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdb::V20170320::DescribeBackupsResponse
- Defined in:
- lib/v20170320/models.rb
Overview
DescribeBackups返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, items = nil, requestid = nil) ⇒ DescribeBackupsResponse
constructor
A new instance of DescribeBackupsResponse.
Constructor Details
#initialize(totalcount = nil, items = nil, requestid = nil) ⇒ DescribeBackupsResponse
Returns a new instance of DescribeBackupsResponse.
5442 5443 5444 5445 5446 |
# File 'lib/v20170320/models.rb', line 5442 def initialize(totalcount=nil, items=nil, requestid=nil) @TotalCount = totalcount @Items = items @RequestId = requestid end |
Instance Attribute Details
#Items ⇒ Object
5440 5441 5442 |
# File 'lib/v20170320/models.rb', line 5440 def Items @Items end |
#RequestId ⇒ Object
5440 5441 5442 |
# File 'lib/v20170320/models.rb', line 5440 def RequestId @RequestId end |
#TotalCount ⇒ Object
5440 5441 5442 |
# File 'lib/v20170320/models.rb', line 5440 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
5448 5449 5450 5451 5452 5453 5454 5455 5456 5457 5458 5459 |
# File 'lib/v20170320/models.rb', line 5448 def deserialize(params) @TotalCount = params['TotalCount'] unless params['Items'].nil? @Items = [] params['Items'].each do |i| backupinfo_tmp = BackupInfo.new backupinfo_tmp.deserialize(i) @Items << backupinfo_tmp end end @RequestId = params['RequestId'] end |