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

from typing import Optional
from datetime import datetime
from typing_extensions import Literal

from ..._models import BaseModel
from .regional_tiered_cache import RegionalTieredCache

__all__ = ["RegionalTieredCacheEditResponse"]


class RegionalTieredCacheEditResponse(BaseModel):
    id: RegionalTieredCache
    """The identifier of the caching setting."""

    editable: bool
    """Whether the setting is editable."""

    value: Literal["on", "off"]
    """Value of the Regional Tiered Cache zone setting."""

    modified_on: Optional[datetime] = None
    """Last time this setting was modified."""
