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

from __future__ import annotations
from .v3_slo_sloresponse import V3SLOSLOResponse, V3SLOSLOResponseTypedDict
import pydantic
from squadcast.types import BaseModel
from squadcast.utils import FieldMetadata, PathParamMetadata, QueryParamMetadata
from typing_extensions import Annotated, TypedDict


class SLORemoveSLORequestTypedDict(TypedDict):
    slo_id: int
    owner_id: str


class SLORemoveSLORequest(BaseModel):
    slo_id: Annotated[
        int,
        pydantic.Field(alias="sloID"),
        FieldMetadata(path=PathParamMetadata(style="simple", explode=False)),
    ]

    owner_id: Annotated[
        str, FieldMetadata(query=QueryParamMetadata(style="form", explode=True))
    ]


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

    data: V3SLOSLOResponseTypedDict


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

    data: V3SLOSLOResponse
