Class: TencentCloud::Vod::V20180717::DescribeStorageDataResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Vod::V20180717::DescribeStorageDataResponse
- Defined in:
- lib/v20180717/models.rb
Overview
DescribeStorageData返回参数结构体
Instance Attribute Summary collapse
- #ArchiveStorage ⇒ Object
- #DeepArchiveStorage ⇒ Object
- #InfrequentStorage ⇒ Object
- #MediaCount ⇒ Object
- #RequestId ⇒ Object
- #StandardStorage ⇒ Object
- #StorageStat ⇒ Object
- #TotalStorage ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(mediacount = nil, totalstorage = nil, standardstorage = nil, infrequentstorage = nil, archivestorage = nil, deeparchivestorage = nil, storagestat = nil, requestid = nil) ⇒ DescribeStorageDataResponse
constructor
A new instance of DescribeStorageDataResponse.
Constructor Details
#initialize(mediacount = nil, totalstorage = nil, standardstorage = nil, infrequentstorage = nil, archivestorage = nil, deeparchivestorage = nil, storagestat = nil, requestid = nil) ⇒ DescribeStorageDataResponse
12422 12423 12424 12425 12426 12427 12428 12429 12430 12431 |
# File 'lib/v20180717/models.rb', line 12422 def initialize(mediacount=nil, totalstorage=nil, standardstorage=nil, infrequentstorage=nil, archivestorage=nil, deeparchivestorage=nil, storagestat=nil, requestid=nil) @MediaCount = mediacount @TotalStorage = totalstorage @StandardStorage = standardstorage @InfrequentStorage = infrequentstorage @ArchiveStorage = archivestorage @DeepArchiveStorage = deeparchivestorage @StorageStat = storagestat @RequestId = requestid end |
Instance Attribute Details
#ArchiveStorage ⇒ Object
12420 12421 12422 |
# File 'lib/v20180717/models.rb', line 12420 def ArchiveStorage @ArchiveStorage end |
#DeepArchiveStorage ⇒ Object
12420 12421 12422 |
# File 'lib/v20180717/models.rb', line 12420 def DeepArchiveStorage @DeepArchiveStorage end |
#InfrequentStorage ⇒ Object
12420 12421 12422 |
# File 'lib/v20180717/models.rb', line 12420 def InfrequentStorage @InfrequentStorage end |
#MediaCount ⇒ Object
12420 12421 12422 |
# File 'lib/v20180717/models.rb', line 12420 def MediaCount @MediaCount end |
#RequestId ⇒ Object
12420 12421 12422 |
# File 'lib/v20180717/models.rb', line 12420 def RequestId @RequestId end |
#StandardStorage ⇒ Object
12420 12421 12422 |
# File 'lib/v20180717/models.rb', line 12420 def StandardStorage @StandardStorage end |
#StorageStat ⇒ Object
12420 12421 12422 |
# File 'lib/v20180717/models.rb', line 12420 def StorageStat @StorageStat end |
#TotalStorage ⇒ Object
12420 12421 12422 |
# File 'lib/v20180717/models.rb', line 12420 def TotalStorage @TotalStorage end |
Instance Method Details
#deserialize(params) ⇒ Object
12433 12434 12435 12436 12437 12438 12439 12440 12441 12442 12443 12444 12445 12446 12447 12448 12449 |
# File 'lib/v20180717/models.rb', line 12433 def deserialize(params) @MediaCount = params['MediaCount'] @TotalStorage = params['TotalStorage'] @StandardStorage = params['StandardStorage'] @InfrequentStorage = params['InfrequentStorage'] @ArchiveStorage = params['ArchiveStorage'] @DeepArchiveStorage = params['DeepArchiveStorage'] unless params['StorageStat'].nil? @StorageStat = [] params['StorageStat'].each do |i| storagestatdata_tmp = StorageStatData.new storagestatdata_tmp.deserialize(i) @StorageStat << storagestatdata_tmp end end @RequestId = params['RequestId'] end |