# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

from typing import List, Optional
from typing_extensions import Literal

from pydantic import Field as FieldInfo

from ....._models import BaseModel

__all__ = ["CustomCreateResponse"]


class CustomCreateResponse(BaseModel):
    domain: str
    """Domain name of the affected custom domain."""

    enabled: bool
    """Whether this bucket is publicly accessible at the specified custom domain."""

    zone_id: str = FieldInfo(alias="zoneId")
    """Zone ID of the custom domain."""

    ciphers: Optional[List[str]] = None
    """An allowlist of ciphers for TLS termination.

    These ciphers must be in the BoringSSL format.
    """

    min_tls: Optional[Literal["1.0", "1.1", "1.2", "1.3"]] = FieldInfo(alias="minTLS", default=None)
    """Minimum TLS Version the custom domain will accept for incoming connections.

    If not set, defaults to 1.0.
    """
