Class: Kafka::Protocol::ListGroupsResponse::GroupEntry

Inherits:
Object
  • Object
show all
Defined in:
lib/kafka/protocol/list_groups_response.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(group_id:, protocol_type:) ⇒ GroupEntry

Returns a new instance of GroupEntry


9
10
11
12
# File 'lib/kafka/protocol/list_groups_response.rb', line 9

def initialize(group_id:, protocol_type:)
  @group_id = group_id
  @protocol_type = protocol_type
end

Instance Attribute Details

#group_idObject (readonly)

Returns the value of attribute group_id


7
8
9
# File 'lib/kafka/protocol/list_groups_response.rb', line 7

def group_id
  @group_id
end

#protocol_typeObject (readonly)

Returns the value of attribute protocol_type


7
8
9
# File 'lib/kafka/protocol/list_groups_response.rb', line 7

def protocol_type
  @protocol_type
end