Class: TencentCloud::Tdmq::V20200217::ExchangeQuota

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

Overview

exchange使用配额信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(maxexchange = nil, usedexchange = nil) ⇒ ExchangeQuota

Returns a new instance of ExchangeQuota.



8044
8045
8046
8047
# File 'lib/v20200217/models.rb', line 8044

def initialize(maxexchange=nil, usedexchange=nil)
  @MaxExchange = maxexchange
  @UsedExchange = usedexchange
end

Instance Attribute Details

#MaxExchangeObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • MaxExchange:

    可创建最大exchange数

  • UsedExchange:

    已创建exchange数



8042
8043
8044
# File 'lib/v20200217/models.rb', line 8042

def MaxExchange
  @MaxExchange
end

#UsedExchangeObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • MaxExchange:

    可创建最大exchange数

  • UsedExchange:

    已创建exchange数



8042
8043
8044
# File 'lib/v20200217/models.rb', line 8042

def UsedExchange
  @UsedExchange
end

Instance Method Details

#deserialize(params) ⇒ Object



8049
8050
8051
8052
# File 'lib/v20200217/models.rb', line 8049

def deserialize(params)
  @MaxExchange = params['MaxExchange']
  @UsedExchange = params['UsedExchange']
end