Class: TencentCloud::Keewidb::V20220308::DescribeInstanceBackupsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Keewidb::V20220308::DescribeInstanceBackupsResponse
- Extended by:
- Gem::Deprecate
- Defined in:
- lib/v20220308/models.rb
Overview
DescribeInstanceBackups返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, backupset = nil, backuprecord = nil, requestid = nil) ⇒ DescribeInstanceBackupsResponse
constructor
A new instance of DescribeInstanceBackupsResponse.
Constructor Details
#initialize(totalcount = nil, backupset = nil, backuprecord = nil, requestid = nil) ⇒ DescribeInstanceBackupsResponse
Returns a new instance of DescribeInstanceBackupsResponse.
647 648 649 650 651 652 |
# File 'lib/v20220308/models.rb', line 647 def initialize(totalcount=nil, backupset=nil, backuprecord=nil, requestid=nil) @TotalCount = totalcount @BackupSet = backupset @BackupRecord = backuprecord @RequestId = requestid end |
Instance Attribute Details
#BackupRecord ⇒ Object
642 643 644 |
# File 'lib/v20220308/models.rb', line 642 def BackupRecord @BackupRecord end |
#BackupSet ⇒ Object
642 643 644 |
# File 'lib/v20220308/models.rb', line 642 def BackupSet @BackupSet end |
#RequestId ⇒ Object
642 643 644 |
# File 'lib/v20220308/models.rb', line 642 def RequestId @RequestId end |
#TotalCount ⇒ Object
642 643 644 |
# File 'lib/v20220308/models.rb', line 642 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 |
# File 'lib/v20220308/models.rb', line 654 def deserialize(params) @TotalCount = params['TotalCount'] unless params['BackupSet'].nil? @BackupSet = [] params['BackupSet'].each do |i| binloginfo_tmp = BinlogInfo.new binloginfo_tmp.deserialize(i) @BackupSet << binloginfo_tmp end end unless params['BackupRecord'].nil? @BackupRecord = [] params['BackupRecord'].each do |i| backupinfo_tmp = BackupInfo.new backupinfo_tmp.deserialize(i) @BackupRecord << backupinfo_tmp end end @RequestId = params['RequestId'] end |