2023-03-07 14:29:34 +01:00

35 lines
770 B
PHP

<?php
namespace Icinga\Module\Director\Objects;
use Icinga\Module\Director\DirectorObject\Automation\ExportInterface;
abstract class IcingaObjectGroup extends IcingaObject implements ExportInterface
{
protected $supportsImports = true;
protected $supportedInLegacy = true;
protected $uuidColumn = 'uuid';
protected $defaultProperties = [
'id' => null,
'uuid' => null,
'object_name' => null,
'object_type' => null,
'disabled' => 'n',
'display_name' => null,
'assign_filter' => null,
];
public function getUniqueIdentifier()
{
return $this->getObjectName();
}
protected function prefersGlobalZone()
{
return true;
}
}