feat: start ovh API implement

This commit is contained in:
Maël Gangloff
2024-07-29 03:27:55 +02:00
parent d8eae925f1
commit f73aabea88
5 changed files with 106 additions and 61 deletions

View File

@@ -2,7 +2,6 @@
namespace App\Entity;
use App\Config\EventAction;
use App\Config\TriggerAction;
use App\Repository\EventTriggerRepository;
use Doctrine\ORM\Mapping as ORM;
@@ -26,9 +25,6 @@ class WatchListTrigger
#[Groups(['watchlist:list', 'watchlist:item', 'watchlist:create', 'watchlist:update'])]
private ?TriggerAction $action = null;
#[ORM\ManyToOne(inversedBy: 'watchListTriggers')]
private ?Connector $connector = null;
public function getEvent(): ?string
{
return $this->event;
@@ -64,16 +60,4 @@ class WatchListTrigger
return $this;
}
public function getConnector(): ?Connector
{
return $this->connector;
}
public function setConnector(?Connector $connector): static
{
$this->connector = $connector;
return $this;
}
}