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
Returns a new instance of DescribeBackupRecordsResponse.
1503 1504 1505 1506 1507 |
# File 'lib/v20190823/models.rb', line 1503 def initialize(backuprecords=nil, totalcount=nil, requestid=nil) @BackupRecords = backuprecords @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#BackupRecords ⇒ Object
1501 1502 1503 |
# File 'lib/v20190823/models.rb', line 1501 def BackupRecords @BackupRecords end |
#RequestId ⇒ Object
1501 1502 1503 |
# File 'lib/v20190823/models.rb', line 1501 def RequestId @RequestId end |
#TotalCount ⇒ Object
1501 1502 1503 |
# File 'lib/v20190823/models.rb', line 1501 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 |
# File 'lib/v20190823/models.rb', line 1509 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 |