mirror of https://github.com/Icinga/icinga2.git
23 lines
308 B
Plaintext
23 lines
308 B
Plaintext
#include "icinga/checkable.h"
|
|
#include "base/dynamicobject.h"
|
|
|
|
namespace icinga
|
|
{
|
|
|
|
class Host : Checkable
|
|
{
|
|
[config] String display_name {
|
|
get {{{
|
|
if (m_DisplayName.IsEmpty())
|
|
return GetName();
|
|
else
|
|
return m_DisplayName;
|
|
}}}
|
|
};
|
|
|
|
[config] String address;
|
|
[config] String address6;
|
|
};
|
|
|
|
}
|