class WebhookInfo:
    """Data structure containing information about a webhook.

    Attributes:
        id (`str`):
            ID of the webhook.
        url (`str`):
            URL of the webhook.
        watched (`List[WebhookWatchedItem]`):
            List of items watched by the webhook, see [`WebhookWatchedItem`].
        domains (`List[WEBHOOK_DOMAIN_T]`):
            List of domains the webhook is watching. Can be one of `["repo", "discussions"]`.
        secret (`str`, *optional*):
            Secret of the webhook.
        disabled (`bool`):
            Whether the webhook is disabled or not.
    """

    id: str
    url: str
    watched: List[WebhookWatchedItem]
    domains: List[constants.WEBHOOK_DOMAIN_T]
    secret: Optional[str]
    disabled: bool
/Users/nielsrogge/Documents/python_projecten/huggingface_hub/src/huggingface_hub/hf_api.py