# This file was auto-generated by Fern from our API Definition.

from ...core.unchecked_base_model import UncheckedBaseModel
import typing
from .integration_web_hook import IntegrationWebHook
import pydantic
from ...core.pydantic_utilities import IS_PYDANTIC_V2


class ListIntegrationWebHooksResponse(UncheckedBaseModel):
    result: typing.List[IntegrationWebHook]
    url: str = pydantic.Field()
    """
    Unique URL for this webhook. This is the URL that the end-user can use to manually create the webhook in the provider.
    """

    if IS_PYDANTIC_V2:
        model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(
            extra="allow"
        )  # type: ignore # Pydantic v2
    else:

        class Config:
            smart_union = True
            extra = pydantic.Extra.allow
