Class: TencentCloud::Cvm::V20170312::AccountQuotaOverview

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(region = nil, accountquota = nil) ⇒ AccountQuotaOverview

Returns a new instance of AccountQuotaOverview.



96
97
98
99
# File 'lib/v20170312/models.rb', line 96

def initialize(region=nil, accountquota=nil)
  @Region = region
  @AccountQuota = accountquota
end

Instance Attribute Details

#AccountQuotaObject

Parameters:

  • Region:

    地域

  • AccountQuota:

    配额数据



94
95
96
# File 'lib/v20170312/models.rb', line 94

def AccountQuota
  @AccountQuota
end

#RegionObject

Parameters:

  • Region:

    地域

  • AccountQuota:

    配额数据



94
95
96
# File 'lib/v20170312/models.rb', line 94

def Region
  @Region
end

Instance Method Details

#deserialize(params) ⇒ Object



101
102
103
104
105
106
107
# File 'lib/v20170312/models.rb', line 101

def deserialize(params)
  @Region = params['Region']
  unless params['AccountQuota'].nil?
    @AccountQuota = AccountQuota.new
    @AccountQuota.deserialize(params['AccountQuota'])
  end
end