Class: TencentCloud::Cvm::V20170312::PostPaidQuota

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

Overview

后付费实例配额

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#RemainingQuotaObject

Parameters:

  • UsedQuota:

    累计已使用配额

  • RemainingQuota:

    剩余配额

  • TotalQuota:

    总配额

  • Zone:

    可用区



6856
6857
6858
# File 'lib/v20170312/models.rb', line 6856

def RemainingQuota
  @RemainingQuota
end

#TotalQuotaObject

Parameters:

  • UsedQuota:

    累计已使用配额

  • RemainingQuota:

    剩余配额

  • TotalQuota:

    总配额

  • Zone:

    可用区



6856
6857
6858
# File 'lib/v20170312/models.rb', line 6856

def TotalQuota
  @TotalQuota
end

#UsedQuotaObject

Parameters:

  • UsedQuota:

    累计已使用配额

  • RemainingQuota:

    剩余配额

  • TotalQuota:

    总配额

  • Zone:

    可用区



6856
6857
6858
# File 'lib/v20170312/models.rb', line 6856

def UsedQuota
  @UsedQuota
end

#ZoneObject

Parameters:

  • UsedQuota:

    累计已使用配额

  • RemainingQuota:

    剩余配额

  • TotalQuota:

    总配额

  • Zone:

    可用区



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