Class: TencentCloud::Cvm::V20170312::PrePaidQuota

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, oncequota = nil, remainingquota = nil, totalquota = nil, zone = nil) ⇒ PrePaidQuota

Returns a new instance of PrePaidQuota.



7149
7150
7151
7152
7153
7154
7155
# File 'lib/v20170312/models.rb', line 7149

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

Instance Attribute Details

#OnceQuota ⇒ Object

Parameters:

  • UsedQuota: —

    当月已使用配额

  • OnceQuota: —

    单次购买最大数量

  • RemainingQuota: —

    剩余配额

  • TotalQuota: —

    总配额

  • Zone: —

    可用区



7147
7148
7149
# File 'lib/v20170312/models.rb', line 7147

def OnceQuota
  @OnceQuota
end

#RemainingQuota ⇒ Object

Parameters:

  • UsedQuota: —

    当月已使用配额

  • OnceQuota: —

    单次购买最大数量

  • RemainingQuota: —

    剩余配额

  • TotalQuota: —

    总配额

  • Zone: —

    可用区



7147
7148
7149
# File 'lib/v20170312/models.rb', line 7147

def RemainingQuota
  @RemainingQuota
end

#TotalQuota ⇒ Object

Parameters:

  • UsedQuota: —

    当月已使用配额

  • OnceQuota: —

    单次购买最大数量

  • RemainingQuota: —

    剩余配额

  • TotalQuota: —

    总配额

  • Zone: —

    可用区



7147
7148
7149
# File 'lib/v20170312/models.rb', line 7147

def TotalQuota
  @TotalQuota
end

#UsedQuota ⇒ Object

Parameters:

  • UsedQuota: —

    当月已使用配额

  • OnceQuota: —

    单次购买最大数量

  • RemainingQuota: —

    剩余配额

  • TotalQuota: —

    总配额

  • Zone: —

    可用区



7147
7148
7149
# File 'lib/v20170312/models.rb', line 7147

def UsedQuota
  @UsedQuota
end

#Zone ⇒ Object

Parameters:

  • UsedQuota: —

    当月已使用配额

  • OnceQuota: —

    单次购买最大数量

  • RemainingQuota: —

    剩余配额

  • TotalQuota: —

    总配额

  • Zone: —

    可用区



7147
7148
7149
# File 'lib/v20170312/models.rb', line 7147

def Zone
  @Zone
end

Instance Method Details

#deserialize(params) ⇒ Object



7157
7158
7159
7160
7161
7162
7163
# File 'lib/v20170312/models.rb', line 7157

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