Class: Kafka::Protocol::AlterConfigsResponse::ResourceDescription

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of ResourceDescription.



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

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

Instance Attribute Details

#error_codeObject (readonly)

Returns the value of attribute error_code.



7
8
9
# File 'lib/kafka/protocol/alter_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/alter_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/alter_configs_response.rb', line 7

def name
  @name
end

#typeObject (readonly)

Returns the value of attribute type.



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

def type
  @type
end