summaryrefslogtreecommitdiffstats
path: root/lib/icinga/servicegroup.ti
blob: 7daf9d419b33dad5489bdd02b3c848a968fa9bdf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */

#include "icinga/customvarobject.hpp"

library icinga;

namespace icinga
{

class ServiceGroup : CustomVarObject
{
	[config] String display_name {
		get {{{
			String displayName = m_DisplayName.load();
			if (displayName.IsEmpty())
				return GetName();
			else
				return displayName;
		}}}
	};

	[config, no_user_modify] array(name(ServiceGroup)) groups;
	[config] String notes;
	[config] String notes_url;
	[config] String action_url;
};

}