Class: TencentCloud::Tcaplusdb::V20190823::DescribeBackupRecordsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tcaplusdb::V20190823::DescribeBackupRecordsResponse
- Defined in:
- lib/v20190823/models.rb
Overview
DescribeBackupRecords返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(backuprecords = nil, totalcount = nil, requestid = nil) ⇒ DescribeBackupRecordsResponse
constructor
A new instance of DescribeBackupRecordsResponse.
Constructor Details
#initialize(backuprecords = nil, totalcount = nil, requestid = nil) ⇒ DescribeBackupRecordsResponse
1482 1483 1484 1485 1486 |
# File 'lib/v20190823/models.rb', line 1482 def initialize(backuprecords=nil, totalcount=nil, requestid=nil) @BackupRecords = backuprecords @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#BackupRecords ⇒ Object
1480 1481 1482 |
# File 'lib/v20190823/models.rb', line 1480 def BackupRecords @BackupRecords end |
#RequestId ⇒ Object
1480 1481 1482 |
# File 'lib/v20190823/models.rb', line 1480 def RequestId @RequestId end |
#TotalCount ⇒ Object
1480 1481 1482 |
# File 'lib/v20190823/models.rb', line 1480 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 |
# File 'lib/v20190823/models.rb', line 1488 def deserialize(params) unless params['BackupRecords'].nil? @BackupRecords = [] params['BackupRecords'].each do |i| backuprecords_tmp = BackupRecords.new backuprecords_tmp.deserialize(i) @BackupRecords << backuprecords_tmp end end @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end |