]> granicus.if.org Git - icinga2/blob - lib/icinga/usergroup.ti
Service: be handled while host is down
[icinga2] / lib / icinga / usergroup.ti
1 /* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
2
3 #include "icinga/customvarobject.hpp"
4
5 library icinga;
6
7 namespace icinga
8 {
9
10 class UserGroup : CustomVarObject
11 {
12         [config] String display_name {
13                 get {{{
14                         if (m_DisplayName.IsEmpty())
15                                 return GetName();
16                         else
17                                 return m_DisplayName;
18                 }}}
19         };
20
21         [config, no_user_modify] array(name(UserGroup)) groups;
22 };
23
24 }