mirror of https://github.com/Icinga/icinga2.git
31 lines
546 B
Plaintext
31 lines
546 B
Plaintext
#include "base/dynamicobject.h"
|
|
|
|
namespace icinga
|
|
{
|
|
|
|
class User : DynamicObject
|
|
{
|
|
[config] String display_name {
|
|
get {{{
|
|
if (m_DisplayName.IsEmpty())
|
|
return GetName();
|
|
else
|
|
return m_DisplayName;
|
|
}}}
|
|
};
|
|
[config] Array::Ptr groups;
|
|
[config] String period (PeriodRaw);
|
|
[config] Array::Ptr types;
|
|
int type_filter_real (TypeFilter);
|
|
[config] Array::Ptr states;
|
|
int state_filter_real (StateFilter);
|
|
|
|
[config] String email;
|
|
[config] String pager;
|
|
|
|
[state] bool enable_notifications;
|
|
[state] double last_notification;
|
|
};
|
|
|
|
}
|