Class: TencentCloud::Cfs::V20190719::DescribeCfsSnapshotOverviewResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cfs::V20190719::DescribeCfsSnapshotOverviewResponse
- Defined in:
- lib/v20190719/models.rb
Overview
DescribeCfsSnapshotOverview返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(statisticslist = nil, requestid = nil) ⇒ DescribeCfsSnapshotOverviewResponse
constructor
A new instance of DescribeCfsSnapshotOverviewResponse.
Constructor Details
#initialize(statisticslist = nil, requestid = nil) ⇒ DescribeCfsSnapshotOverviewResponse
Returns a new instance of DescribeCfsSnapshotOverviewResponse.
1561 1562 1563 1564 |
# File 'lib/v20190719/models.rb', line 1561 def initialize(statisticslist=nil, requestid=nil) @StatisticsList = statisticslist @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
1559 1560 1561 |
# File 'lib/v20190719/models.rb', line 1559 def RequestId @RequestId end |
#StatisticsList ⇒ Object
1559 1560 1561 |
# File 'lib/v20190719/models.rb', line 1559 def StatisticsList @StatisticsList end |
Instance Method Details
#deserialize(params) ⇒ Object
1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 |
# File 'lib/v20190719/models.rb', line 1566 def deserialize(params) unless params['StatisticsList'].nil? @StatisticsList = [] params['StatisticsList'].each do |i| snapshotstatistics_tmp = SnapshotStatistics.new snapshotstatistics_tmp.deserialize(i) @StatisticsList << snapshotstatistics_tmp end end @RequestId = params['RequestId'] end |