Class: TencentCloud::Emr::V20190103::QuotaEntity
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Emr::V20190103::QuotaEntity
- Defined in:
- lib/v20190103/models.rb
Overview
获取CVM配额
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(usedquota = nil, remainingquota = nil, totalquota = nil, zone = nil) ⇒ QuotaEntity
constructor
A new instance of QuotaEntity.
Constructor Details
#initialize(usedquota = nil, remainingquota = nil, totalquota = nil, zone = nil) ⇒ QuotaEntity
Returns a new instance of QuotaEntity.
11785 11786 11787 11788 11789 11790 |
# File 'lib/v20190103/models.rb', line 11785 def initialize(usedquota=nil, remainingquota=nil, totalquota=nil, zone=nil) @UsedQuota = usedquota @RemainingQuota = remainingquota @TotalQuota = totalquota @Zone = zone end |
Instance Attribute Details
#RemainingQuota ⇒ Object
11783 11784 11785 |
# File 'lib/v20190103/models.rb', line 11783 def RemainingQuota @RemainingQuota end |
#TotalQuota ⇒ Object
11783 11784 11785 |
# File 'lib/v20190103/models.rb', line 11783 def TotalQuota @TotalQuota end |
#UsedQuota ⇒ Object
11783 11784 11785 |
# File 'lib/v20190103/models.rb', line 11783 def UsedQuota @UsedQuota end |
#Zone ⇒ Object
11783 11784 11785 |
# File 'lib/v20190103/models.rb', line 11783 def Zone @Zone end |
Instance Method Details
#deserialize(params) ⇒ Object
11792 11793 11794 11795 11796 11797 |
# File 'lib/v20190103/models.rb', line 11792 def deserialize(params) @UsedQuota = params['UsedQuota'] @RemainingQuota = params['RemainingQuota'] @TotalQuota = params['TotalQuota'] @Zone = params['Zone'] end |