mirror of https://github.com/Icinga/icinga2.git
28 lines
467 B
Plaintext
28 lines
467 B
Plaintext
/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
|
|
|
|
#include "icinga/customvarobject.hpp"
|
|
|
|
library icinga;
|
|
|
|
namespace icinga
|
|
{
|
|
|
|
class ServiceGroup : CustomVarObject
|
|
{
|
|
[config] String display_name {
|
|
get {{{
|
|
if (m_DisplayName.m_Value.IsEmpty())
|
|
return GetName();
|
|
else
|
|
return m_DisplayName.m_Value;
|
|
}}}
|
|
};
|
|
|
|
[config, no_user_modify] array(name(ServiceGroup)) groups;
|
|
[config] String notes;
|
|
[config] String notes_url;
|
|
[config] String action_url;
|
|
};
|
|
|
|
}
|