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