Class: TencentCloud::Cvm::V20170312::ImageQuota

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

Overview

镜像配额

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(usedquota = nil, totalquota = nil) ⇒ ImageQuota

Returns a new instance of ImageQuota.



4348
4349
4350
4351
# File 'lib/v20170312/models.rb', line 4348

def initialize(usedquota=nil, totalquota=nil)
  @UsedQuota = usedquota
  @TotalQuota = totalquota
end

Instance Attribute Details

#TotalQuotaObject

Parameters:

  • UsedQuota:

    已使用配额

  • TotalQuota:

    总配额



4346
4347
4348
# File 'lib/v20170312/models.rb', line 4346

def TotalQuota
  @TotalQuota
end

#UsedQuotaObject

Parameters:

  • UsedQuota:

    已使用配额

  • TotalQuota:

    总配额



4346
4347
4348
# File 'lib/v20170312/models.rb', line 4346

def UsedQuota
  @UsedQuota
end

Instance Method Details

#deserialize(params) ⇒ Object



4353
4354
4355
4356
# File 'lib/v20170312/models.rb', line 4353

def deserialize(params)
  @UsedQuota = params['UsedQuota']
  @TotalQuota = params['TotalQuota']
end