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.
8304 8305 8306 8307 8308 8309 |
# File 'lib/v20170312/models.rb', line 8304 def initialize(usedquota=nil, remainingquota=nil, totalquota=nil, zone=nil) @UsedQuota = usedquota @RemainingQuota = remainingquota @TotalQuota = totalquota @Zone = zone end |
Instance Attribute Details
#RemainingQuota ⇒ Object
8302 8303 8304 |
# File 'lib/v20170312/models.rb', line 8302 def RemainingQuota @RemainingQuota end |
#TotalQuota ⇒ Object
8302 8303 8304 |
# File 'lib/v20170312/models.rb', line 8302 def TotalQuota @TotalQuota end |
#UsedQuota ⇒ Object
8302 8303 8304 |
# File 'lib/v20170312/models.rb', line 8302 def UsedQuota @UsedQuota end |
#Zone ⇒ Object
8302 8303 8304 |
# File 'lib/v20170312/models.rb', line 8302 def Zone @Zone end |
Instance Method Details
#deserialize(params) ⇒ Object
8311 8312 8313 8314 8315 8316 |
# File 'lib/v20170312/models.rb', line 8311 def deserialize(params) @UsedQuota = params['UsedQuota'] @RemainingQuota = params['RemainingQuota'] @TotalQuota = params['TotalQuota'] @Zone = params['Zone'] end |