icinga2/lib/icinga/scheduleddowntime.ti

31 lines
580 B
Plaintext
Raw Normal View History

2014-05-25 16:23:35 +02:00
#include "icinga/customvarobject.hpp"
namespace icinga
{
code {{{
class I2_ICINGA_API ScheduledDowntimeNameComposer : public NameComposer
{
public:
virtual String MakeName(const String& shortName, const Dictionary::Ptr props) const;
};
}}}
class ScheduledDowntime : CustomVarObject < 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;
};
}