Class: Kafka::Protocol::DescribeConfigsResponse::ResourceDescription

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name:, type:, error_code:, error_message:, configs:) ⇒ ResourceDescription

Returns a new instance of ResourceDescription


9
10
11
12
13
14
15
# File 'lib/kafka/protocol/describe_configs_response.rb', line 9

def initialize(name:, type:, error_code:, error_message:, configs:)
  @name = name
  @type = type
  @error_code = error_code
  @error_message = error_message
  @configs = configs
end

Instance Attribute Details

#configsObject (readonly)

Returns the value of attribute configs


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

def configs
  @configs
end

#error_codeObject (readonly)

Returns the value of attribute error_code


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

def error_code
  @error_code
end

#error_messageObject (readonly)

Returns the value of attribute error_message


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

def error_message
  @error_message
end

#nameObject (readonly)

Returns the value of attribute name


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

def name
  @name
end

#typeObject (readonly)

Returns the value of attribute type


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

def type
  @type
end