Class: TencentCloud::Cvm::V20170312::ImageQuota
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cvm::V20170312::ImageQuota
- Defined in:
- lib/v20170312/models.rb
Overview
镜像配额
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(usedquota = nil, totalquota = nil) ⇒ ImageQuota
constructor
A new instance of ImageQuota.
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
#TotalQuota ⇒ Object
4346 4347 4348 |
# File 'lib/v20170312/models.rb', line 4346 def TotalQuota @TotalQuota end |
#UsedQuota ⇒ Object
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 |