Class: TencentCloud::Emr::V20190103::QuotaEntity

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20190103/models.rb

Overview

获取CVM配额

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#RemainingQuotaObject

Parameters:

  • 已使用配额

  • 剩余配额

  • 总配额

  • 可用区



11783
11784
11785
# File 'lib/v20190103/models.rb', line 11783

def RemainingQuota
  @RemainingQuota
end

#TotalQuotaObject

Parameters:

  • 已使用配额

  • 剩余配额

  • 总配额

  • 可用区



11783
11784
11785
# File 'lib/v20190103/models.rb', line 11783

def TotalQuota
  @TotalQuota
end

#UsedQuotaObject

Parameters:

  • 已使用配额

  • 剩余配额

  • 总配额

  • 可用区



11783
11784
11785
# File 'lib/v20190103/models.rb', line 11783

def UsedQuota
  @UsedQuota
end

#ZoneObject

Parameters:

  • 已使用配额

  • 剩余配额

  • 总配额

  • 可用区



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