1/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ 2 3#include "base/configobject.hpp" 4 5library remote; 6 7namespace icinga 8{ 9 10class Zone : ConfigObject 11{ 12 [config, navigation] name(Zone) parent (ParentRaw) { 13 navigate {{{ 14 return Zone::GetByName(GetParentRaw()); 15 }}} 16 }; 17 18 [config] array(name(Endpoint)) endpoints (EndpointsRaw); 19 [config] bool global; 20 [no_user_modify, no_storage] array(Value) all_parents { 21 get; 22 }; 23}; 24 25} 26