Class: TencentCloud::Cvm::V20170312::SpotPaidQuota
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cvm::V20170312::SpotPaidQuota
- Defined in:
- lib/v20170312/models.rb
Overview
竞价实例配额
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(usedquota = nil, remainingquota = nil, totalquota = nil, zone = nil) ⇒ SpotPaidQuota
constructor
A new instance of SpotPaidQuota.
Constructor Details
#initialize(usedquota = nil, remainingquota = nil, totalquota = nil, zone = nil) ⇒ SpotPaidQuota
Returns a new instance of SpotPaidQuota.
8400 8401 8402 8403 8404 8405 |
# File 'lib/v20170312/models.rb', line 8400 def initialize(usedquota=nil, remainingquota=nil, totalquota=nil, zone=nil) @UsedQuota = usedquota @RemainingQuota = remainingquota @TotalQuota = totalquota @Zone = zone end |
Instance Attribute Details
#RemainingQuota ⇒ Object
8398 8399 8400 |
# File 'lib/v20170312/models.rb', line 8398 def RemainingQuota @RemainingQuota end |
#TotalQuota ⇒ Object
8398 8399 8400 |
# File 'lib/v20170312/models.rb', line 8398 def TotalQuota @TotalQuota end |
#UsedQuota ⇒ Object
8398 8399 8400 |
# File 'lib/v20170312/models.rb', line 8398 def UsedQuota @UsedQuota end |
#Zone ⇒ Object
8398 8399 8400 |
# File 'lib/v20170312/models.rb', line 8398 def Zone @Zone end |
Instance Method Details
#deserialize(params) ⇒ Object
8407 8408 8409 8410 8411 8412 |
# File 'lib/v20170312/models.rb', line 8407 def deserialize(params) @UsedQuota = params['UsedQuota'] @RemainingQuota = params['RemainingQuota'] @TotalQuota = params['TotalQuota'] @Zone = params['Zone'] end |