mirror of
				https://github.com/Icinga/icinga2.git
				synced 2025-11-03 21:25:56 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			30 lines
		
	
	
		
			583 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			30 lines
		
	
	
		
			583 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] Dictionary::Ptr macros;
 | 
						|
	[config] Array::Ptr groups;
 | 
						|
	[config] String notification_period (NotificationPeriodRaw);
 | 
						|
	[config] int notification_type_filter {
 | 
						|
		default {{{ return ~(int)0; }}}
 | 
						|
	};
 | 
						|
	[config] int notification_state_filter {
 | 
						|
		default {{{ return ~(int)0; }}}
 | 
						|
	};
 | 
						|
	[state] bool enable_notifications;
 | 
						|
	[state] double last_notification;
 | 
						|
};
 | 
						|
 | 
						|
}
 |