Class: TencentCloud::Postgres::V20170312::DescribeDBBackupsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Postgres::V20170312::DescribeDBBackupsResponse
- Defined in:
- lib/v20170312/models.rb
Overview
DescribeDBBackups返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, backuplist = nil, requestid = nil) ⇒ DescribeDBBackupsResponse
constructor
A new instance of DescribeDBBackupsResponse.
Constructor Details
#initialize(totalcount = nil, backuplist = nil, requestid = nil) ⇒ DescribeDBBackupsResponse
Returns a new instance of DescribeDBBackupsResponse.
3004 3005 3006 3007 3008 |
# File 'lib/v20170312/models.rb', line 3004 def initialize(totalcount=nil, backuplist=nil, requestid=nil) @TotalCount = totalcount @BackupList = backuplist @RequestId = requestid end |
Instance Attribute Details
#BackupList ⇒ Object
3002 3003 3004 |
# File 'lib/v20170312/models.rb', line 3002 def BackupList @BackupList end |
#RequestId ⇒ Object
3002 3003 3004 |
# File 'lib/v20170312/models.rb', line 3002 def RequestId @RequestId end |
#TotalCount ⇒ Object
3002 3003 3004 |
# File 'lib/v20170312/models.rb', line 3002 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 |
# File 'lib/v20170312/models.rb', line 3010 def deserialize(params) @TotalCount = params['TotalCount'] unless params['BackupList'].nil? @BackupList = [] params['BackupList'].each do |i| dbbackup_tmp = DBBackup.new dbbackup_tmp.deserialize(i) @BackupList << dbbackup_tmp end end @RequestId = params['RequestId'] end |