Class: TencentCloud::Mongodb::V20190725::DescribeDBBackupsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mongodb::V20190725::DescribeDBBackupsResponse
- Defined in:
- lib/v20190725/models.rb
Overview
DescribeDBBackups返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(backuplist = nil, totalcount = nil, requestid = nil) ⇒ DescribeDBBackupsResponse
constructor
A new instance of DescribeDBBackupsResponse.
Constructor Details
#initialize(backuplist = nil, totalcount = nil, requestid = nil) ⇒ DescribeDBBackupsResponse
Returns a new instance of DescribeDBBackupsResponse.
2004 2005 2006 2007 2008 |
# File 'lib/v20190725/models.rb', line 2004 def initialize(backuplist=nil, totalcount=nil, requestid=nil) @BackupList = backuplist @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#BackupList ⇒ Object
2002 2003 2004 |
# File 'lib/v20190725/models.rb', line 2002 def BackupList @BackupList end |
#RequestId ⇒ Object
2002 2003 2004 |
# File 'lib/v20190725/models.rb', line 2002 def RequestId @RequestId end |
#TotalCount ⇒ Object
2002 2003 2004 |
# File 'lib/v20190725/models.rb', line 2002 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 |
# File 'lib/v20190725/models.rb', line 2010 def deserialize(params) unless params['BackupList'].nil? @BackupList = [] params['BackupList'].each do |i| backupinfo_tmp = BackupInfo.new backupinfo_tmp.deserialize(i) @BackupList << backupinfo_tmp end end @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end |