mirror of https://github.com/Icinga/icinga2.git
29 lines
487 B
Plaintext
29 lines
487 B
Plaintext
/* 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;
|
|
};
|
|
|
|
}
|