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

from __future__ import annotations
from opperai.types import BaseModel
from opperai.utils import FieldMetadata, PathParamMetadata
from typing_extensions import Annotated, TypedDict


class GetFunctionByRevisionFunctionsFunctionIDRevisionsRevisionIDGetRequestTypedDict(
    TypedDict
):
    function_id: str
    r"""The id of the function to retrieve"""
    revision_id: str
    r"""The id of the revision to retrieve"""


class GetFunctionByRevisionFunctionsFunctionIDRevisionsRevisionIDGetRequest(BaseModel):
    function_id: Annotated[
        str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False))
    ]
    r"""The id of the function to retrieve"""

    revision_id: Annotated[
        str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False))
    ]
    r"""The id of the revision to retrieve"""
