Class: TencentCloud::Tdmq::V20200217::DescribeRabbitMQExchangesResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tdmq::V20200217::DescribeRabbitMQExchangesResponse
- Defined in:
- lib/v20200217/models.rb
Overview
DescribeRabbitMQExchanges返回参数结构体
Instance Attribute Summary collapse
-
#ExchangeInfoList ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#TotalCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(exchangeinfolist = nil, totalcount = nil, requestid = nil) ⇒ DescribeRabbitMQExchangesResponse
constructor
A new instance of DescribeRabbitMQExchangesResponse.
Constructor Details
#initialize(exchangeinfolist = nil, totalcount = nil, requestid = nil) ⇒ DescribeRabbitMQExchangesResponse
Returns a new instance of DescribeRabbitMQExchangesResponse.
5048 5049 5050 5051 5052 |
# File 'lib/v20200217/models.rb', line 5048 def initialize(exchangeinfolist=nil, totalcount=nil, requestid=nil) @ExchangeInfoList = exchangeinfolist @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#ExchangeInfoList ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
5046 5047 5048 |
# File 'lib/v20200217/models.rb', line 5046 def ExchangeInfoList @ExchangeInfoList end |
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
5046 5047 5048 |
# File 'lib/v20200217/models.rb', line 5046 def RequestId @RequestId end |
#TotalCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
5046 5047 5048 |
# File 'lib/v20200217/models.rb', line 5046 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
5054 5055 5056 5057 5058 5059 5060 5061 5062 5063 5064 5065 |
# File 'lib/v20200217/models.rb', line 5054 def deserialize(params) unless params['ExchangeInfoList'].nil? @ExchangeInfoList = [] params['ExchangeInfoList'].each do |i| rabbitmqexchangelistinfo_tmp = RabbitMQExchangeListInfo.new rabbitmqexchangelistinfo_tmp.deserialize(i) @ExchangeInfoList << rabbitmqexchangelistinfo_tmp end end @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end |