2014-10-17 19:44:31 +02:00
|
|
|
/******************************************************************************
|
|
|
|
* Icinga 2 *
|
2015-01-22 12:00:23 +01:00
|
|
|
* Copyright (C) 2012-2015 Icinga Development Team (http://www.icinga.org) *
|
2014-10-17 19:44:31 +02:00
|
|
|
* *
|
|
|
|
* This program is free software; you can redistribute it and/or *
|
|
|
|
* modify it under the terms of the GNU General Public License *
|
|
|
|
* as published by the Free Software Foundation; either version 2 *
|
|
|
|
* of the License, or (at your option) any later version. *
|
|
|
|
* *
|
|
|
|
* This program is distributed in the hope that it will be useful, *
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
|
|
|
|
* GNU General Public License for more details. *
|
|
|
|
* *
|
|
|
|
* You should have received a copy of the GNU General Public License *
|
|
|
|
* along with this program; if not, write to the Free Software Foundation *
|
|
|
|
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. *
|
|
|
|
******************************************************************************/
|
|
|
|
|
2015-08-04 14:47:44 +02:00
|
|
|
library icinga;
|
|
|
|
|
2013-11-09 22:08:26 +01:00
|
|
|
namespace icinga
|
|
|
|
{
|
|
|
|
|
2014-10-25 09:14:56 +02:00
|
|
|
class Downtime
|
2013-11-09 22:08:26 +01:00
|
|
|
{
|
|
|
|
[state] String id;
|
|
|
|
[state] double entry_time;
|
|
|
|
[state] String author;
|
|
|
|
[state] String comment;
|
|
|
|
[state] double start_time;
|
|
|
|
[state] double end_time;
|
|
|
|
[state] double trigger_time;
|
|
|
|
[state] bool fixed;
|
|
|
|
[state] double duration;
|
2013-12-17 15:15:39 +01:00
|
|
|
[state] int triggered_by_legacy_id;
|
2013-11-09 22:08:26 +01:00
|
|
|
[state] String triggered_by;
|
2013-11-13 14:56:31 +01:00
|
|
|
[state] String scheduled_by;
|
2013-11-09 22:08:26 +01:00
|
|
|
[state] Dictionary::Ptr triggers {
|
2014-11-08 21:17:16 +01:00
|
|
|
default {{{ return new Dictionary(); }}}
|
2013-11-09 22:08:26 +01:00
|
|
|
};
|
|
|
|
[state] int legacy_id;
|
|
|
|
[state] bool was_cancelled;
|
2014-05-04 16:57:11 +02:00
|
|
|
[state] String config_owner;
|
2013-11-09 22:08:26 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|