mirror of https://github.com/Icinga/icinga2.git
24 lines
449 B
Plaintext
24 lines
449 B
Plaintext
#include "base/dynamicobject.h"
|
|
|
|
namespace icinga
|
|
{
|
|
|
|
class Host : DynamicObject
|
|
{
|
|
[config] String display_name {
|
|
get {{{
|
|
if (m_DisplayName.IsEmpty())
|
|
return GetName();
|
|
else
|
|
return m_DisplayName;
|
|
}}}
|
|
};
|
|
[config] Array::Ptr groups;
|
|
[config] Dictionary::Ptr macros;
|
|
[config] String check;
|
|
[config, protected] Dictionary::Ptr services (ServiceDescriptions);
|
|
[config] Dictionary::Ptr dependencies (DependencyDescriptions);
|
|
};
|
|
|
|
}
|