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.
5358 5359 5360 5361 5362 |
# File 'lib/v20170320/models.rb', line 5358 def initialize(items=nil, totalcount=nil, requestid=nil) @Items = items @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#Items ⇒ Object
5356 5357 5358 |
# File 'lib/v20170320/models.rb', line 5356 def Items @Items end |
#RequestId ⇒ Object
5356 5357 5358 |
# File 'lib/v20170320/models.rb', line 5356 def RequestId @RequestId end |
#TotalCount ⇒ Object
5356 5357 5358 |
# File 'lib/v20170320/models.rb', line 5356 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
5364 5365 5366 5367 5368 5369 5370 5371 5372 5373 5374 5375 |
# File 'lib/v20170320/models.rb', line 5364 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 |