Class: TencentCloud::Vod::V20180717::DescribeStorageDataResponse

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20180717/models.rb

Overview

DescribeStorageData返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#ArchiveStorageObject



12420
12421
12422
# File 'lib/v20180717/models.rb', line 12420

def ArchiveStorage
  @ArchiveStorage
end

#DeepArchiveStorageObject



12420
12421
12422
# File 'lib/v20180717/models.rb', line 12420

def DeepArchiveStorage
  @DeepArchiveStorage
end

#InfrequentStorageObject



12420
12421
12422
# File 'lib/v20180717/models.rb', line 12420

def InfrequentStorage
  @InfrequentStorage
end

#MediaCountObject



12420
12421
12422
# File 'lib/v20180717/models.rb', line 12420

def MediaCount
  @MediaCount
end

#RequestIdObject



12420
12421
12422
# File 'lib/v20180717/models.rb', line 12420

def RequestId
  @RequestId
end

#StandardStorageObject



12420
12421
12422
# File 'lib/v20180717/models.rb', line 12420

def StandardStorage
  @StandardStorage
end

#StorageStatObject



12420
12421
12422
# File 'lib/v20180717/models.rb', line 12420

def StorageStat
  @StorageStat
end

#TotalStorageObject



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