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.



4198
4199
4200
4201
# File 'lib/v20170312/models.rb', line 4198

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

Instance Attribute Details

#TotalQuotaObject

Parameters:

  • UsedQuota:

    已使用配额

  • TotalQuota:

    总配额



4196
4197
4198
# File 'lib/v20170312/models.rb', line 4196

def TotalQuota
  @TotalQuota
end

#UsedQuotaObject

Parameters:

  • UsedQuota:

    已使用配额

  • TotalQuota:

    总配额



4196
4197
4198
# File 'lib/v20170312/models.rb', line 4196

def UsedQuota
  @UsedQuota
end

Instance Method Details

#deserialize(params) ⇒ Object



4203
4204
4205
4206
# File 'lib/v20170312/models.rb', line 4203

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