Class: TencentCloud::Cvm::V20170312::PostPaidQuota
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cvm::V20170312::PostPaidQuota
- 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) ⇒ PostPaidQuota
constructor
A new instance of PostPaidQuota.
Constructor Details
#initialize(usedquota = nil, remainingquota = nil, totalquota = nil, zone = nil) ⇒ PostPaidQuota
Returns a new instance of PostPaidQuota.
7119 7120 7121 7122 7123 7124 |
# File 'lib/v20170312/models.rb', line 7119 def initialize(usedquota=nil, remainingquota=nil, totalquota=nil, zone=nil) @UsedQuota = usedquota @RemainingQuota = remainingquota @TotalQuota = totalquota @Zone = zone end |
Instance Attribute Details
#RemainingQuota ⇒ Object
7117 7118 7119 |
# File 'lib/v20170312/models.rb', line 7117 def RemainingQuota @RemainingQuota end |
#TotalQuota ⇒ Object
7117 7118 7119 |
# File 'lib/v20170312/models.rb', line 7117 def TotalQuota @TotalQuota end |
#UsedQuota ⇒ Object
7117 7118 7119 |
# File 'lib/v20170312/models.rb', line 7117 def UsedQuota @UsedQuota end |
#Zone ⇒ Object
7117 7118 7119 |
# File 'lib/v20170312/models.rb', line 7117 def Zone @Zone end |
Instance Method Details
#deserialize(params) ⇒ Object
7126 7127 7128 7129 7130 7131 |
# File 'lib/v20170312/models.rb', line 7126 def deserialize(params) @UsedQuota = params['UsedQuota'] @RemainingQuota = params['RemainingQuota'] @TotalQuota = params['TotalQuota'] @Zone = params['Zone'] end |