Source code for meilisearch.models.webhook

from typing import Any, Dict, List, Optional

from camel_converter.pydantic_base import CamelBase
from pydantic import ConfigDict


[docs] class Webhook(CamelBase): """Model for a Meilisearch webhook.""" model_config = ConfigDict(arbitrary_types_allowed=True) uuid: str url: str headers: Optional[Dict[str, Any]] = None isEditable: bool
[docs] class WebhooksResults(CamelBase): """Model for webhooks list results.""" model_config = ConfigDict(arbitrary_types_allowed=True) results: List[Webhook]