*/ final class ShowResponse implements ApiResponse { private $webhook = []; private function __construct() { } public static function create(array $data): self { $model = new self(); $model->webhook = $data['webhook'] ?? []; return $model; } public function getWebhookUrl(): ?string { return $this->webhook['url'] ?? null; } }