Class: TencentCloud::Cvm::V20170312::PrePaidQuota
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cvm::V20170312::PrePaidQuota
- Defined in:
- lib/v20170312/models.rb
Overview
预付费实例配额
Instance Attribute Summary collapse
- #OnceQuota ⇒ Object
- #RemainingQuota ⇒ Object
- #TotalQuota ⇒ Object
- #UsedQuota ⇒ Object
- #Zone ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(usedquota = nil, oncequota = nil, remainingquota = nil, totalquota = nil, zone = nil) ⇒ PrePaidQuota
constructor
A new instance of PrePaidQuota.
Constructor Details
#initialize(usedquota = nil, oncequota = nil, remainingquota = nil, totalquota = nil, zone = nil) ⇒ PrePaidQuota
Returns a new instance of PrePaidQuota.
7149 7150 7151 7152 7153 7154 7155 |
# File 'lib/v20170312/models.rb', line 7149 def initialize(usedquota=nil, oncequota=nil, remainingquota=nil, totalquota=nil, zone=nil) @UsedQuota = usedquota @OnceQuota = oncequota @RemainingQuota = remainingquota @TotalQuota = totalquota @Zone = zone end |
Instance Attribute Details
#OnceQuota ⇒ Object
7147 7148 7149 |
# File 'lib/v20170312/models.rb', line 7147 def OnceQuota @OnceQuota end |
#RemainingQuota ⇒ Object
7147 7148 7149 |
# File 'lib/v20170312/models.rb', line 7147 def RemainingQuota @RemainingQuota end |
#TotalQuota ⇒ Object
7147 7148 7149 |
# File 'lib/v20170312/models.rb', line 7147 def TotalQuota @TotalQuota end |
#UsedQuota ⇒ Object
7147 7148 7149 |
# File 'lib/v20170312/models.rb', line 7147 def UsedQuota @UsedQuota end |
#Zone ⇒ Object
7147 7148 7149 |
# File 'lib/v20170312/models.rb', line 7147 def Zone @Zone end |
Instance Method Details
#deserialize(params) ⇒ Object
7157 7158 7159 7160 7161 7162 7163 |
# File 'lib/v20170312/models.rb', line 7157 def deserialize(params) @UsedQuota = params['UsedQuota'] @OnceQuota = params['OnceQuota'] @RemainingQuota = params['RemainingQuota'] @TotalQuota = params['TotalQuota'] @Zone = params['Zone'] end |