]> granicus.if.org Git - icinga2/blob - lib/icinga/servicegroup.ti
Add {Host,Service}Group attributes: notes, notes_url, action_url.
[icinga2] / lib / icinga / servicegroup.ti
1 #include "base/dynamicobject.h"
2
3 namespace icinga
4 {
5
6 class ServiceGroup : DynamicObject
7 {
8         [config] String display_name {
9                 get {{{
10                         if (m_DisplayName.IsEmpty())
11                                 return GetName();
12                         else
13                                 return m_DisplayName;
14                 }}}
15         };
16
17         [config] Array::Ptr groups;
18         [config] String notes;
19         [config] String notes_url;
20         [config] String action_url;
21 };
22
23 }