Class: TencentCloud::Tdmq::V20200217::DescribeRabbitMQNodeListResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tdmq::V20200217::DescribeRabbitMQNodeListResponse
- Defined in:
- lib/v20200217/models.rb
Overview
DescribeRabbitMQNodeList返回参数结构体
Instance Attribute Summary collapse
-
#NodeList ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#TotalCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, nodelist = nil, requestid = nil) ⇒ DescribeRabbitMQNodeListResponse
constructor
A new instance of DescribeRabbitMQNodeListResponse.
Constructor Details
#initialize(totalcount = nil, nodelist = nil, requestid = nil) ⇒ DescribeRabbitMQNodeListResponse
Returns a new instance of DescribeRabbitMQNodeListResponse.
5132 5133 5134 5135 5136 |
# File 'lib/v20200217/models.rb', line 5132 def initialize(totalcount=nil, nodelist=nil, requestid=nil) @TotalCount = totalcount @NodeList = nodelist @RequestId = requestid end |
Instance Attribute Details
#NodeList ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
5130 5131 5132 |
# File 'lib/v20200217/models.rb', line 5130 def NodeList @NodeList end |
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
5130 5131 5132 |
# File 'lib/v20200217/models.rb', line 5130 def RequestId @RequestId end |
#TotalCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
5130 5131 5132 |
# File 'lib/v20200217/models.rb', line 5130 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
5138 5139 5140 5141 5142 5143 5144 5145 5146 5147 5148 5149 |
# File 'lib/v20200217/models.rb', line 5138 def deserialize(params) @TotalCount = params['TotalCount'] unless params['NodeList'].nil? @NodeList = [] params['NodeList'].each do |i| rabbitmqprivatenode_tmp = RabbitMQPrivateNode.new rabbitmqprivatenode_tmp.deserialize(i) @NodeList << rabbitmqprivatenode_tmp end end @RequestId = params['RequestId'] end |