"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""

from __future__ import annotations
from .v4_statuspages_statuspagestatusesresponse import (
    V4StatusPagesStatusPageStatusesResponse,
    V4StatusPagesStatusPageStatusesResponseTypedDict,
)
import pydantic
from squadcast.types import BaseModel
from squadcast.utils import FieldMetadata, PathParamMetadata
from typing import List
from typing_extensions import Annotated, TypedDict


class StatusPagesListStatusPageStatusesRequestTypedDict(TypedDict):
    statuspage_id: str


class StatusPagesListStatusPageStatusesRequest(BaseModel):
    statuspage_id: Annotated[
        str,
        pydantic.Field(alias="statuspageID"),
        FieldMetadata(path=PathParamMetadata(style="simple", explode=False)),
    ]


class StatusPagesListStatusPageStatusesResponseTypedDict(TypedDict):
    r"""The request has succeeded."""

    data: List[V4StatusPagesStatusPageStatusesResponseTypedDict]


class StatusPagesListStatusPageStatusesResponse(BaseModel):
    r"""The request has succeeded."""

    data: List[V4StatusPagesStatusPageStatusesResponse]
