2019-02-25 14:48:22 +01:00
|
|
|
/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
|
2015-06-17 15:45:45 +02:00
|
|
|
|
|
|
|
#ifndef ZONEDBOBJECT_H
|
|
|
|
#define ZONEDBOBJECT_H
|
|
|
|
|
|
|
|
#include "db_ido/dbobject.hpp"
|
2015-08-15 20:28:05 +02:00
|
|
|
#include "base/configobject.hpp"
|
2015-06-17 15:45:45 +02:00
|
|
|
#include "remote/zone.hpp"
|
|
|
|
|
|
|
|
namespace icinga
|
|
|
|
{
|
|
|
|
|
|
|
|
/**
|
|
|
|
* An Endpoint database object.
|
|
|
|
*
|
|
|
|
* @ingroup ido
|
|
|
|
*/
|
2018-01-04 06:11:04 +01:00
|
|
|
class ZoneDbObject final : public DbObject
|
2015-06-17 15:45:45 +02:00
|
|
|
{
|
|
|
|
public:
|
|
|
|
DECLARE_PTR_TYPEDEFS(ZoneDbObject);
|
|
|
|
|
|
|
|
ZoneDbObject(const intrusive_ptr<DbType>& type, const String& name1, const String& name2);
|
|
|
|
|
2018-01-04 05:12:56 +01:00
|
|
|
Dictionary::Ptr GetConfigFields() const override;
|
|
|
|
Dictionary::Ptr GetStatusFields() const override;
|
2015-06-17 15:45:45 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif /* ZONEDBOBJECT_H */
|