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.



6888
6889
6890
6891
6892
6893
6894
# File 'lib/v20170312/models.rb', line 6888

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

#OnceQuotaObject

Parameters:

  • UsedQuota:

    当月已使用配额

  • OnceQuota:

    单次购买最大数量

  • RemainingQuota:

    剩余配额

  • TotalQuota:

    总配额

  • Zone:

    可用区



6886
6887
6888
# File 'lib/v20170312/models.rb', line 6886

def OnceQuota
  @OnceQuota
end

#RemainingQuotaObject

Parameters:

  • UsedQuota:

    当月已使用配额

  • OnceQuota:

    单次购买最大数量

  • RemainingQuota:

    剩余配额

  • TotalQuota:

    总配额

  • Zone:

    可用区



6886
6887
6888
# File 'lib/v20170312/models.rb', line 6886

def RemainingQuota
  @RemainingQuota
end

#TotalQuotaObject

Parameters:

  • UsedQuota:

    当月已使用配额

  • OnceQuota:

    单次购买最大数量

  • RemainingQuota:

    剩余配额

  • TotalQuota:

    总配额

  • Zone:

    可用区



6886
6887
6888
# File 'lib/v20170312/models.rb', line 6886

def TotalQuota
  @TotalQuota
end

#UsedQuotaObject

Parameters:

  • UsedQuota:

    当月已使用配额

  • OnceQuota:

    单次购买最大数量

  • RemainingQuota:

    剩余配额

  • TotalQuota:

    总配额

  • Zone:

    可用区



6886
6887
6888
# File 'lib/v20170312/models.rb', line 6886

def UsedQuota
  @UsedQuota
end

#ZoneObject

Parameters:

  • UsedQuota:

    当月已使用配额

  • OnceQuota:

    单次购买最大数量

  • RemainingQuota:

    剩余配额

  • TotalQuota:

    总配额

  • Zone:

    可用区



6886
6887
6888
# File 'lib/v20170312/models.rb', line 6886

def Zone
  @Zone
end

Instance Method Details

#deserialize(params) ⇒ Object



6896
6897
6898
6899
6900
6901
6902
# File 'lib/v20170312/models.rb', line 6896

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