summaryrefslogtreecommitdiffstats
path: root/lib/icinga/hostgroup.ti
blob: b679344aabd213055b9acf27c350d624e9234412 (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 HostGroup : 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(HostGroup)) groups;
	[config] String notes;
	[config] String notes_url;
	[config] String action_url;
};

}