Class: Kafka::Protocol::ListGroupsResponse::GroupEntry
- Inherits:
- Object
- Object
- Kafka::Protocol::ListGroupsResponse::GroupEntry
- Defined in:
- lib/kafka/protocol/list_groups_response.rb
Instance Attribute Summary collapse
- #group_id ⇒ Object readonly
Returns the value of attribute group_id.
- #protocol_type ⇒ Object readonly
Returns the value of attribute protocol_type.
Instance Method Summary collapse
- #initialize(group_id:, protocol_type:) ⇒ GroupEntry constructor
A new instance of GroupEntry.
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_id ⇒ Object (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_type ⇒ Object (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 |