]> granicus.if.org Git - icinga2/blobdiff - lib/icinga/servicegroup.ti
Merge pull request #6727 from Icinga/feature/cluster-config-sync-stage
[icinga2] / lib / icinga / servicegroup.ti
index c07fb45936d4a30e4caf8fdafdfbb4821523f44b..69f300508261d47b70060b1b84f881b45e641d14 100644 (file)
@@ -1,9 +1,13 @@
-#include "base/dynamicobject.h"
+/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
+
+#include "icinga/customvarobject.hpp"
+
+library icinga;
 
 namespace icinga
 {
 
-class ServiceGroup : DynamicObject
+class ServiceGroup : CustomVarObject
 {
        [config] String display_name {
                get {{{
@@ -13,6 +17,11 @@ class ServiceGroup : DynamicObject
                                return m_DisplayName;
                }}}
        };
+
+       [config, no_user_modify] array(name(ServiceGroup)) groups;
+       [config] String notes;
+       [config] String notes_url;
+       [config] String action_url;
 };
 
 }