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.
5424 5425 5426 5427 5428 |
# File 'lib/v20170320/models.rb', line 5424 def initialize(items=nil, totalcount=nil, requestid=nil) @Items = items @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#Items ⇒ Object
5422 5423 5424 |
# File 'lib/v20170320/models.rb', line 5422 def Items @Items end |
#RequestId ⇒ Object
5422 5423 5424 |
# File 'lib/v20170320/models.rb', line 5422 def RequestId @RequestId end |
#TotalCount ⇒ Object
5422 5423 5424 |
# File 'lib/v20170320/models.rb', line 5422 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
5430 5431 5432 5433 5434 5435 5436 5437 5438 5439 5440 5441 |
# File 'lib/v20170320/models.rb', line 5430 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 |