Class: Kafka::Protocol::DescribeGroupsResponse::Group
- Inherits:
-
Object
- Object
- Kafka::Protocol::DescribeGroupsResponse::Group
- Defined in:
- lib/kafka/protocol/describe_groups_response.rb
Instance Attribute Summary collapse
-
#error_code ⇒ Object
readonly
Returns the value of attribute error_code.
-
#group_id ⇒ Object
readonly
Returns the value of attribute group_id.
-
#members ⇒ Object
readonly
Returns the value of attribute members.
-
#protocol ⇒ Object
readonly
Returns the value of attribute protocol.
-
#state ⇒ Object
readonly
Returns the value of attribute state.
Instance Method Summary collapse
-
#initialize(error_code:, group_id:, protocol_type:, protocol:, state:, members:) ⇒ Group
constructor
A new instance of Group.
Constructor Details
#initialize(error_code:, group_id:, protocol_type:, protocol:, state:, members:) ⇒ Group
Returns a new instance of Group.
9 10 11 12 13 14 15 16 |
# File 'lib/kafka/protocol/describe_groups_response.rb', line 9 def initialize(error_code:, group_id:, protocol_type:, protocol:, state:, members:) @error_code = error_code @group_id = group_id @protocol_type = protocol_type @protocol = protocol @state = state @members = members end |
Instance Attribute Details
#error_code ⇒ Object (readonly)
Returns the value of attribute error_code.
7 8 9 |
# File 'lib/kafka/protocol/describe_groups_response.rb', line 7 def error_code @error_code end |
#group_id ⇒ Object (readonly)
Returns the value of attribute group_id.
7 8 9 |
# File 'lib/kafka/protocol/describe_groups_response.rb', line 7 def group_id @group_id end |
#members ⇒ Object (readonly)
Returns the value of attribute members.
7 8 9 |
# File 'lib/kafka/protocol/describe_groups_response.rb', line 7 def members @members end |
#protocol ⇒ Object (readonly)
Returns the value of attribute protocol.
7 8 9 |
# File 'lib/kafka/protocol/describe_groups_response.rb', line 7 def protocol @protocol end |
#state ⇒ Object (readonly)
Returns the value of attribute state.
7 8 9 |
# File 'lib/kafka/protocol/describe_groups_response.rb', line 7 def state @state end |