type = $type; $this->label = $label; } public function getId(): ?int { return $this->id; } public function getType(): ResourceType { return $this->type; } public function getLabel(): string { return $this->label; } public function setLabel(string $label): void { $this->label = $label; } public function getGroup(): ?ResourceGroup { return $this->group; } public function setGroup(?ResourceGroup $group): void { $this->group = $group; } public function isActive(): bool { return $this->active; } public function setActive(bool $active): void { $this->active = $active; } }