Class: Kafka::Protocol::AlterConfigsResponse::ResourceDescription
- Inherits:
-
Object
- Object
- Kafka::Protocol::AlterConfigsResponse::ResourceDescription
- Defined in:
- lib/kafka/protocol/alter_configs_response.rb
Instance Attribute Summary collapse
-
#error_code ⇒ Object
readonly
Returns the value of attribute error_code.
-
#error_message ⇒ Object
readonly
Returns the value of attribute error_message.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(name:, type:, error_code:, error_message:) ⇒ ResourceDescription
constructor
A new instance of ResourceDescription.
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 = end |
Instance Attribute Details
#error_code ⇒ Object (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_message ⇒ Object (readonly)
Returns the value of attribute error_message.
7 8 9 |
# File 'lib/kafka/protocol/alter_configs_response.rb', line 7 def @error_message end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
7 8 9 |
# File 'lib/kafka/protocol/alter_configs_response.rb', line 7 def name @name end |
#type ⇒ Object (readonly)
Returns the value of attribute type.
7 8 9 |
# File 'lib/kafka/protocol/alter_configs_response.rb', line 7 def type @type end |