Class: Kafka::Protocol::DescribeGroupsResponse::Group

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

Instance Attribute Summary collapse

Instance Method Summary collapse

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_codeObject (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_idObject (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

#membersObject (readonly)

Returns the value of attribute members.



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

def members
  @members
end

#protocolObject (readonly)

Returns the value of attribute protocol.



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

def protocol
  @protocol
end

#stateObject (readonly)

Returns the value of attribute state.



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

def state
  @state
end