class TencentCloud::Vod::V20180717::DescribeStorageDataResponse
DescribeStorageData返回参数结构体
def deserialize(params)
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
def initialize(mediacount=nil, totalstorage=nil, standardstorage=nil, infrequentstorage=nil, archivestorage=nil, deeparchivestorage=nil, storagestat=nil, requestid=nil)
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