icinga2/lib/icinga/scheduleddowntime.ti

31 lines
572 B
Plaintext

#include "base/dynamicobject.h"
namespace icinga
{
code {{{
class I2_ICINGA_API ScheduledDowntimeNameComposer : public NameComposer
{
public:
virtual String MakeName(const String& shortName, const Dictionary::Ptr props) const;
};
}}}
class ScheduledDowntime : DynamicObject < ScheduledDowntimeNameComposer
{
[config, protected] String host_name;
[config, protected] String service_name;
[config] String author;
[config] String comment;
[config] double duration;
[config] bool fixed {
default {{{ return true; }}}
};
[config] Dictionary::Ptr ranges;
};
}