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

from __future__ import annotations
from .updatemodelaliasrequest import (
    UpdateModelAliasRequest,
    UpdateModelAliasRequestTypedDict,
)
from opperai.types import BaseModel
from opperai.utils import FieldMetadata, PathParamMetadata, RequestMetadata
from typing_extensions import Annotated, TypedDict


class UpdateModelAliasModelsAliasesAliasIDPatchRequestTypedDict(TypedDict):
    alias_id: str
    r"""The ID of the model alias to update"""
    update_model_alias_request: UpdateModelAliasRequestTypedDict


class UpdateModelAliasModelsAliasesAliasIDPatchRequest(BaseModel):
    alias_id: Annotated[
        str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False))
    ]
    r"""The ID of the model alias to update"""

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