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

from __future__ import annotations
from .v3_incidents_incidentpriorityupdaterequest import (
    V3IncidentsIncidentPriorityUpdateRequest,
    V3IncidentsIncidentPriorityUpdateRequestTypedDict,
)
from .v3_incidents_incidentpriorityupdateresponse import (
    V3IncidentsIncidentPriorityUpdateResponse,
    V3IncidentsIncidentPriorityUpdateResponseTypedDict,
)
import pydantic
from squadcast_sdk.types import BaseModel
from squadcast_sdk.utils import FieldMetadata, PathParamMetadata, RequestMetadata
from typing_extensions import Annotated, TypedDict


class IncidentsIncidentPriorityUpdateRequestTypedDict(TypedDict):
    incident_id: str
    v3_incidents_incident_priority_update_request: (
        V3IncidentsIncidentPriorityUpdateRequestTypedDict
    )


class IncidentsIncidentPriorityUpdateRequest(BaseModel):
    incident_id: Annotated[
        str,
        pydantic.Field(alias="incidentID"),
        FieldMetadata(path=PathParamMetadata(style="simple", explode=False)),
    ]

    v3_incidents_incident_priority_update_request: Annotated[
        V3IncidentsIncidentPriorityUpdateRequest,
        FieldMetadata(request=RequestMetadata(media_type="application/json")),
    ]


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

    data: V3IncidentsIncidentPriorityUpdateResponseTypedDict


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

    data: V3IncidentsIncidentPriorityUpdateResponse
