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.
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
#TotalQuota ⇒ Object
4196 4197 4198 |
# File 'lib/v20170312/models.rb', line 4196 def TotalQuota @TotalQuota end |
#UsedQuota ⇒ Object
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 |