Class: ZabbixApi::HostGroups
- Defined in:
- lib/zabbixapi/classes/hostgroups.rb
Instance Method Summary collapse
- 
  
    
      #indentify  ⇒ String 
    
    
  
  
  
  
  
  
  
  
  
    The id field name used for identifying specific HostGroup objects via Zabbix API. 
- 
  
    
      #key  ⇒ String 
    
    
  
  
  
  
  
  
  
  
  
    The key field name used for HostGroup objects via Zabbix API. 
- 
  
    
      #method_name  ⇒ String 
    
    
  
  
  
  
  
  
  
  
  
    The method name used for interacting with HostGroups via Zabbix API. 
Methods inherited from Basic
#add, #all, #create, #create_or_update, #default_options, #delete, #destroy, #dump_by_id, #get, #get_full_data, #get_id, #get_or_create, #get_raw, #hash_equals?, #initialize, #keys, #log, #merge_params, #normalize_array, #normalize_hash, #parse_keys, #symbolize_keys, #update
Constructor Details
This class inherits a constructor from ZabbixApi::Basic
Instance Method Details
#indentify ⇒ String
The id field name used for identifying specific HostGroup objects via Zabbix API
| 13 14 15 | # File 'lib/zabbixapi/classes/hostgroups.rb', line 13 def indentify 'name' end | 
#key ⇒ String
The key field name used for HostGroup objects via Zabbix API
| 20 21 22 | # File 'lib/zabbixapi/classes/hostgroups.rb', line 20 def key 'groupid' end | 
#method_name ⇒ String
The method name used for interacting with HostGroups via Zabbix API
| 6 7 8 | # File 'lib/zabbixapi/classes/hostgroups.rb', line 6 def method_name 'hostgroup' end |