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

import typing

import pydantic
from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel


class AttackProtectionCaptchaArkoseResponseContent(UniversalBaseModel):
    site_key: typing.Optional[str] = pydantic.Field(default=None)
    """
    The site key for the Arkose captcha provider.
    """

    fail_open: typing.Optional[bool] = pydantic.Field(default=None)
    """
    Whether the captcha should fail open.
    """

    client_subdomain: typing.Optional[str] = pydantic.Field(default=None)
    """
    The subdomain used for client requests to the Arkose captcha provider.
    """

    verify_subdomain: typing.Optional[str] = pydantic.Field(default=None)
    """
    The subdomain used for server-side verification requests to the Arkose captcha provider.
    """

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

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