Class: TencentCloud::Ckafka::V20190819::GroupInfoResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Ckafka::V20190819::GroupInfoResponse
- Defined in:
- lib/v20190819/models.rb
Overview
GroupInfo返回数据的实体
Instance Attribute Summary collapse
-
#ErrorCode ⇒ Object
Dead:消费分组不存在 Empty:消费分组,当前没有任何消费者订阅 PreparingRebalance:消费分组处于 rebalance 状态 CompletingRebalance:消费分组处于 rebalance 状态 Stable:消费分组中各个消费者已经加入,处于稳定状态.
-
#Group ⇒ Object
Dead:消费分组不存在 Empty:消费分组,当前没有任何消费者订阅 PreparingRebalance:消费分组处于 rebalance 状态 CompletingRebalance:消费分组处于 rebalance 状态 Stable:消费分组中各个消费者已经加入,处于稳定状态.
-
#Members ⇒ Object
Dead:消费分组不存在 Empty:消费分组,当前没有任何消费者订阅 PreparingRebalance:消费分组处于 rebalance 状态 CompletingRebalance:消费分组处于 rebalance 状态 Stable:消费分组中各个消费者已经加入,处于稳定状态.
-
#Protocol ⇒ Object
Dead:消费分组不存在 Empty:消费分组,当前没有任何消费者订阅 PreparingRebalance:消费分组处于 rebalance 状态 CompletingRebalance:消费分组处于 rebalance 状态 Stable:消费分组中各个消费者已经加入,处于稳定状态.
-
#ProtocolType ⇒ Object
Dead:消费分组不存在 Empty:消费分组,当前没有任何消费者订阅 PreparingRebalance:消费分组处于 rebalance 状态 CompletingRebalance:消费分组处于 rebalance 状态 Stable:消费分组中各个消费者已经加入,处于稳定状态.
-
#State ⇒ Object
Dead:消费分组不存在 Empty:消费分组,当前没有任何消费者订阅 PreparingRebalance:消费分组处于 rebalance 状态 CompletingRebalance:消费分组处于 rebalance 状态 Stable:消费分组中各个消费者已经加入,处于稳定状态.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(errorcode = nil, state = nil, protocoltype = nil, protocol = nil, members = nil, group = nil) ⇒ GroupInfoResponse
constructor
A new instance of GroupInfoResponse.
Constructor Details
#initialize(errorcode = nil, state = nil, protocoltype = nil, protocol = nil, members = nil, group = nil) ⇒ GroupInfoResponse
Returns a new instance of GroupInfoResponse.
7338 7339 7340 7341 7342 7343 7344 7345 |
# File 'lib/v20190819/models.rb', line 7338 def initialize(errorcode=nil, state=nil, protocoltype=nil, protocol=nil, members=nil, group=nil) @ErrorCode = errorcode @State = state @ProtocolType = protocoltype @Protocol = protocol @Members = members @Group = group end |
Instance Attribute Details
#ErrorCode ⇒ Object
Dead:消费分组不存在 Empty:消费分组,当前没有任何消费者订阅 PreparingRebalance:消费分组处于 rebalance 状态 CompletingRebalance:消费分组处于 rebalance 状态 Stable:消费分组中各个消费者已经加入,处于稳定状态
7336 7337 7338 |
# File 'lib/v20190819/models.rb', line 7336 def ErrorCode @ErrorCode end |
#Group ⇒ Object
Dead:消费分组不存在 Empty:消费分组,当前没有任何消费者订阅 PreparingRebalance:消费分组处于 rebalance 状态 CompletingRebalance:消费分组处于 rebalance 状态 Stable:消费分组中各个消费者已经加入,处于稳定状态
7336 7337 7338 |
# File 'lib/v20190819/models.rb', line 7336 def Group @Group end |
#Members ⇒ Object
Dead:消费分组不存在 Empty:消费分组,当前没有任何消费者订阅 PreparingRebalance:消费分组处于 rebalance 状态 CompletingRebalance:消费分组处于 rebalance 状态 Stable:消费分组中各个消费者已经加入,处于稳定状态
7336 7337 7338 |
# File 'lib/v20190819/models.rb', line 7336 def Members @Members end |
#Protocol ⇒ Object
Dead:消费分组不存在 Empty:消费分组,当前没有任何消费者订阅 PreparingRebalance:消费分组处于 rebalance 状态 CompletingRebalance:消费分组处于 rebalance 状态 Stable:消费分组中各个消费者已经加入,处于稳定状态
7336 7337 7338 |
# File 'lib/v20190819/models.rb', line 7336 def Protocol @Protocol end |
#ProtocolType ⇒ Object
Dead:消费分组不存在 Empty:消费分组,当前没有任何消费者订阅 PreparingRebalance:消费分组处于 rebalance 状态 CompletingRebalance:消费分组处于 rebalance 状态 Stable:消费分组中各个消费者已经加入,处于稳定状态
7336 7337 7338 |
# File 'lib/v20190819/models.rb', line 7336 def ProtocolType @ProtocolType end |
#State ⇒ Object
Dead:消费分组不存在 Empty:消费分组,当前没有任何消费者订阅 PreparingRebalance:消费分组处于 rebalance 状态 CompletingRebalance:消费分组处于 rebalance 状态 Stable:消费分组中各个消费者已经加入,处于稳定状态
7336 7337 7338 |
# File 'lib/v20190819/models.rb', line 7336 def State @State end |
Instance Method Details
#deserialize(params) ⇒ Object
7347 7348 7349 7350 7351 7352 7353 7354 7355 7356 7357 7358 7359 7360 7361 |
# File 'lib/v20190819/models.rb', line 7347 def deserialize(params) @ErrorCode = params['ErrorCode'] @State = params['State'] @ProtocolType = params['ProtocolType'] @Protocol = params['Protocol'] unless params['Members'].nil? @Members = [] params['Members'].each do |i| groupinfomember_tmp = GroupInfoMember.new groupinfomember_tmp.deserialize(i) @Members << groupinfomember_tmp end end @Group = params['Group'] end |