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.



7119
7120
7121
7122
7123
7124
# File 'lib/v20170312/models.rb', line 7119

def initialize(usedquota=nil, remainingquota=nil, totalquota=nil, zone=nil)
  @UsedQuota = usedquota
  @RemainingQuota = remainingquota
  @TotalQuota = totalquota
  @Zone = zone
end

Instance Attribute Details

#RemainingQuota ⇒ Object

Parameters:

  • UsedQuota: —

    累计已使用配额

  • RemainingQuota: —

    剩余配额

  • TotalQuota: —

    总配额

  • Zone: —

    可用区



7117
7118
7119
# File 'lib/v20170312/models.rb', line 7117

def RemainingQuota
  @RemainingQuota
end

#TotalQuota ⇒ Object

Parameters:

  • UsedQuota: —

    累计已使用配额

  • RemainingQuota: —

    剩余配额

  • TotalQuota: —

    总配额

  • Zone: —

    可用区



7117
7118
7119
# File 'lib/v20170312/models.rb', line 7117

def TotalQuota
  @TotalQuota
end

#UsedQuota ⇒ Object

Parameters:

  • UsedQuota: —

    累计已使用配额

  • RemainingQuota: —

    剩余配额

  • TotalQuota: —

    总配额

  • Zone: —

    可用区



7117
7118
7119
# File 'lib/v20170312/models.rb', line 7117

def UsedQuota
  @UsedQuota
end

#Zone ⇒ Object

Parameters:

  • UsedQuota: —

    累计已使用配额

  • RemainingQuota: —

    剩余配额

  • TotalQuota: —

    总配额

  • Zone: —

    可用区



7117
7118
7119
# File 'lib/v20170312/models.rb', line 7117

def Zone
  @Zone
end

Instance Method Details

#deserialize(params) ⇒ Object



7126
7127
7128
7129
7130
7131
# File 'lib/v20170312/models.rb', line 7126

def deserialize(params)
  @UsedQuota = params['UsedQuota']
  @RemainingQuota = params['RemainingQuota']
  @TotalQuota = params['TotalQuota']
  @Zone = params['Zone']
end