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.
6858 6859 6860 6861 6862 6863 |
# File 'lib/v20170312/models.rb', line 6858 def initialize(usedquota=nil, remainingquota=nil, totalquota=nil, zone=nil) @UsedQuota = usedquota @RemainingQuota = remainingquota @TotalQuota = totalquota @Zone = zone end |
Instance Attribute Details
#RemainingQuota ⇒ Object
6856 6857 6858 |
# File 'lib/v20170312/models.rb', line 6856 def RemainingQuota @RemainingQuota end |
#TotalQuota ⇒ Object
6856 6857 6858 |
# File 'lib/v20170312/models.rb', line 6856 def TotalQuota @TotalQuota end |
#UsedQuota ⇒ Object
6856 6857 6858 |
# File 'lib/v20170312/models.rb', line 6856 def UsedQuota @UsedQuota end |
#Zone ⇒ Object
6856 6857 6858 |
# File 'lib/v20170312/models.rb', line 6856 def Zone @Zone end |
Instance Method Details
#deserialize(params) ⇒ Object
6865 6866 6867 6868 6869 6870 |
# File 'lib/v20170312/models.rb', line 6865 def deserialize(params) @UsedQuota = params['UsedQuota'] @RemainingQuota = params['RemainingQuota'] @TotalQuota = params['TotalQuota'] @Zone = params['Zone'] end |