icinga2/lib/icinga/usergroup.ti
Alexander A. Klimov bbe0f2d8c4 mkclass: make .ti class members atomic if possible
... not to have to lock the objects while setting attributes.
2020-07-07 18:24:06 +02:00

25 lines
380 B
Plaintext

/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
#include "icinga/customvarobject.hpp"
library icinga;
namespace icinga
{
class UserGroup : 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(UserGroup)) groups;
};
}