Class: TencentCloud::Cynosdb::V20190107::DescribeBackupListResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cynosdb::V20190107::DescribeBackupListResponse
- Defined in:
- lib/v20190107/models.rb
Overview
DescribeBackupList返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, backuplist = nil, requestid = nil) ⇒ DescribeBackupListResponse
constructor
A new instance of DescribeBackupListResponse.
Constructor Details
#initialize(totalcount = nil, backuplist = nil, requestid = nil) ⇒ DescribeBackupListResponse
Returns a new instance of DescribeBackupListResponse.
5388 5389 5390 5391 5392 |
# File 'lib/v20190107/models.rb', line 5388 def initialize(totalcount=nil, backuplist=nil, requestid=nil) @TotalCount = totalcount @BackupList = backuplist @RequestId = requestid end |
Instance Attribute Details
#BackupList ⇒ Object
5386 5387 5388 |
# File 'lib/v20190107/models.rb', line 5386 def BackupList @BackupList end |
#RequestId ⇒ Object
5386 5387 5388 |
# File 'lib/v20190107/models.rb', line 5386 def RequestId @RequestId end |
#TotalCount ⇒ Object
5386 5387 5388 |
# File 'lib/v20190107/models.rb', line 5386 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
5394 5395 5396 5397 5398 5399 5400 5401 5402 5403 5404 5405 |
# File 'lib/v20190107/models.rb', line 5394 def deserialize(params) @TotalCount = params['TotalCount'] unless params['BackupList'].nil? @BackupList = [] params['BackupList'].each do |i| backupfileinfo_tmp = BackupFileInfo.new backupfileinfo_tmp.deserialize(i) @BackupList << backupfileinfo_tmp end end @RequestId = params['RequestId'] end |