1 #include "base/dynamicobject.h"
2 #include "base/array.h"
7 class User : DynamicObject
9 [config] String display_name {
11 if (m_DisplayName.IsEmpty())
17 [config] Array::Ptr groups {
18 default {{{ return make_shared<Array>(); }}}
20 [config] String period (PeriodRaw);
21 [config] Array::Ptr types;
22 int type_filter_real (TypeFilter);
23 [config] Array::Ptr states;
24 int state_filter_real (StateFilter);
26 [config] String email;
27 [config] String pager;
29 [state] bool enable_notifications;
30 [state] double last_notification;