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.
6888 6889 6890 6891 6892 6893 6894 |
# File 'lib/v20170312/models.rb', line 6888 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
6886 6887 6888 |
# File 'lib/v20170312/models.rb', line 6886 def OnceQuota @OnceQuota end |
#RemainingQuota ⇒ Object
6886 6887 6888 |
# File 'lib/v20170312/models.rb', line 6886 def RemainingQuota @RemainingQuota end |
#TotalQuota ⇒ Object
6886 6887 6888 |
# File 'lib/v20170312/models.rb', line 6886 def TotalQuota @TotalQuota end |
#UsedQuota ⇒ Object
6886 6887 6888 |
# File 'lib/v20170312/models.rb', line 6886 def UsedQuota @UsedQuota end |
#Zone ⇒ Object
6886 6887 6888 |
# File 'lib/v20170312/models.rb', line 6886 def Zone @Zone end |
Instance Method Details
#deserialize(params) ⇒ Object
6896 6897 6898 6899 6900 6901 6902 |
# File 'lib/v20170312/models.rb', line 6896 def deserialize(params) @UsedQuota = params['UsedQuota'] @OnceQuota = params['OnceQuota'] @RemainingQuota = params['RemainingQuota'] @TotalQuota = params['TotalQuota'] @Zone = params['Zone'] end |