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

from typing import List, Optional
from typing_extensions import Literal, TypeAlias

from pydantic import Field as FieldInfo

from ....._models import BaseModel

__all__ = ["ShowtimeRetrieveSectionsResponse", "ShowtimeRetrieveSectionsResponseItem"]


class ShowtimeRetrieveSectionsResponseItem(BaseModel):
    api_type: Optional[Literal["AssignedSection", "GASection"]] = FieldInfo(alias="_type", default=None)
    """Type of object"""

    name: Optional[str] = None
    """Name of the section"""

    order_value: Optional[float] = FieldInfo(alias="orderValue", default=None)
    """A value given to each section to help with ordering"""


ShowtimeRetrieveSectionsResponse: TypeAlias = List[ShowtimeRetrieveSectionsResponseItem]
