Class: TencentCloud::Tdmq::V20200217::DescribeRocketMQConsumerConnectionsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tdmq::V20200217::DescribeRocketMQConsumerConnectionsResponse
- Defined in:
- lib/v20200217/models.rb
Overview
DescribeRocketMQConsumerConnections返回参数结构体
Instance Attribute Summary collapse
-
#Connections ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#GroupDetail ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#TotalCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, connections = nil, groupdetail = nil, requestid = nil) ⇒ DescribeRocketMQConsumerConnectionsResponse
constructor
A new instance of DescribeRocketMQConsumerConnectionsResponse.
Constructor Details
#initialize(totalcount = nil, connections = nil, groupdetail = nil, requestid = nil) ⇒ DescribeRocketMQConsumerConnectionsResponse
Returns a new instance of DescribeRocketMQConsumerConnectionsResponse.
6079 6080 6081 6082 6083 6084 |
# File 'lib/v20200217/models.rb', line 6079 def initialize(totalcount=nil, connections=nil, groupdetail=nil, requestid=nil) @TotalCount = totalcount @Connections = connections @GroupDetail = groupdetail @RequestId = requestid end |
Instance Attribute Details
#Connections ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
6077 6078 6079 |
# File 'lib/v20200217/models.rb', line 6077 def Connections @Connections end |
#GroupDetail ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
6077 6078 6079 |
# File 'lib/v20200217/models.rb', line 6077 def GroupDetail @GroupDetail end |
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
6077 6078 6079 |
# File 'lib/v20200217/models.rb', line 6077 def RequestId @RequestId end |
#TotalCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
6077 6078 6079 |
# File 'lib/v20200217/models.rb', line 6077 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
6086 6087 6088 6089 6090 6091 6092 6093 6094 6095 6096 6097 6098 6099 6100 6101 |
# File 'lib/v20200217/models.rb', line 6086 def deserialize(params) @TotalCount = params['TotalCount'] unless params['Connections'].nil? @Connections = [] params['Connections'].each do |i| rocketmqconsumerconnection_tmp = RocketMQConsumerConnection.new rocketmqconsumerconnection_tmp.deserialize(i) @Connections << rocketmqconsumerconnection_tmp end end unless params['GroupDetail'].nil? @GroupDetail = RocketMQGroup.new @GroupDetail.deserialize(params['GroupDetail']) end @RequestId = params['RequestId'] end |