Class: TencentCloud::Cdb::V20170320::DescribeBackupSummariesResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdb::V20170320::DescribeBackupSummariesResponse
- Defined in:
- lib/v20170320/models.rb
Overview
DescribeBackupSummaries返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(items = nil, totalcount = nil, requestid = nil) ⇒ DescribeBackupSummariesResponse
constructor
A new instance of DescribeBackupSummariesResponse.
Constructor Details
#initialize(items = nil, totalcount = nil, requestid = nil) ⇒ DescribeBackupSummariesResponse
Returns a new instance of DescribeBackupSummariesResponse.
5387 5388 5389 5390 5391 |
# File 'lib/v20170320/models.rb', line 5387 def initialize(items=nil, totalcount=nil, requestid=nil) @Items = items @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#Items ⇒ Object
5385 5386 5387 |
# File 'lib/v20170320/models.rb', line 5385 def Items @Items end |
#RequestId ⇒ Object
5385 5386 5387 |
# File 'lib/v20170320/models.rb', line 5385 def RequestId @RequestId end |
#TotalCount ⇒ Object
5385 5386 5387 |
# File 'lib/v20170320/models.rb', line 5385 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
5393 5394 5395 5396 5397 5398 5399 5400 5401 5402 5403 5404 |
# File 'lib/v20170320/models.rb', line 5393 def deserialize(params) unless params['Items'].nil? @Items = [] params['Items'].each do |i| backupsummaryitem_tmp = BackupSummaryItem.new backupsummaryitem_tmp.deserialize(i) @Items << backupsummaryitem_tmp end end @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end |