Class: Rdkafka::Admin::ConfigResourceBindingResult
- Inherits:
 - 
      Object
      
        
- Object
 - Rdkafka::Admin::ConfigResourceBindingResult
 
 
- Defined in:
 - lib/rdkafka/admin/config_resource_binding_result.rb
 
Overview
A simple binding that represents the requested config resource
Instance Attribute Summary collapse
- 
  
    
      #configs  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    
Returns the value of attribute configs.
 - 
  
    
      #configs_count  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    
Returns the value of attribute configs_count.
 - 
  
    
      #name  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    
Returns the value of attribute name.
 - 
  
    
      #type  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    
Returns the value of attribute type.
 
Instance Method Summary collapse
- 
  
    
      #initialize(config_resource_ptr)  ⇒ ConfigResourceBindingResult 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of ConfigResourceBindingResult.
 
Constructor Details
#initialize(config_resource_ptr) ⇒ ConfigResourceBindingResult
Returns a new instance of ConfigResourceBindingResult.
      9 10 11 12 13 14 15  | 
    
      # File 'lib/rdkafka/admin/config_resource_binding_result.rb', line 9 def initialize(config_resource_ptr) ffi_binding = Bindings::ConfigResource.new(config_resource_ptr) @name = ffi_binding[:name] @type = ffi_binding[:type] @configs = [] end  | 
  
Instance Attribute Details
#configs ⇒ Object (readonly)
Returns the value of attribute configs.
      7 8 9  | 
    
      # File 'lib/rdkafka/admin/config_resource_binding_result.rb', line 7 def configs @configs end  | 
  
#configs_count ⇒ Object (readonly)
Returns the value of attribute configs_count.
      7 8 9  | 
    
      # File 'lib/rdkafka/admin/config_resource_binding_result.rb', line 7 def configs_count @configs_count end  | 
  
#name ⇒ Object (readonly)
Returns the value of attribute name.
      7 8 9  | 
    
      # File 'lib/rdkafka/admin/config_resource_binding_result.rb', line 7 def name @name end  | 
  
#type ⇒ Object (readonly)
Returns the value of attribute type.
      7 8 9  | 
    
      # File 'lib/rdkafka/admin/config_resource_binding_result.rb', line 7 def type @type end  |