Class: Kafka::Protocol::DescribeConfigsResponse::ConfigEntry

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:, value:, read_only:, is_default:, is_sensitive:) ⇒ ConfigEntry

Returns a new instance of ConfigEntry


21
22
23
24
25
26
27
# File 'lib/kafka/protocol/describe_configs_response.rb', line 21

def initialize(name:, value:, read_only:, is_default:, is_sensitive:)
  @name = name
  @value = value
  @read_only = read_only
  @is_default = is_default
  @is_sensitive = is_sensitive
end

Instance Attribute Details

#is_defaultObject (readonly)

Returns the value of attribute is_default


19
20
21
# File 'lib/kafka/protocol/describe_configs_response.rb', line 19

def is_default
  @is_default
end

#is_sensitiveObject (readonly)

Returns the value of attribute is_sensitive


19
20
21
# File 'lib/kafka/protocol/describe_configs_response.rb', line 19

def is_sensitive
  @is_sensitive
end

#nameObject (readonly)

Returns the value of attribute name


19
20
21
# File 'lib/kafka/protocol/describe_configs_response.rb', line 19

def name
  @name
end

#read_onlyObject (readonly)

Returns the value of attribute read_only


19
20
21
# File 'lib/kafka/protocol/describe_configs_response.rb', line 19

def read_only
  @read_only
end

#valueObject (readonly)

Returns the value of attribute value


19
20
21
# File 'lib/kafka/protocol/describe_configs_response.rb', line 19

def value
  @value
end