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

from __future__ import annotations
from .v3_globaleventrules_rulesetresponse import (
    V3GlobalEventRulesRulesetResponse,
    V3GlobalEventRulesRulesetResponseTypedDict,
)
from squadcast.types import BaseModel
from squadcast.utils import FieldMetadata, PathParamMetadata
from typing_extensions import Annotated, TypedDict


class GlobalEventRulesGetRulesetRequestTypedDict(TypedDict):
    ger_id: int
    alert_source_version: str
    alert_source_shortname: str


class GlobalEventRulesGetRulesetRequest(BaseModel):
    ger_id: Annotated[
        int, FieldMetadata(path=PathParamMetadata(style="simple", explode=False))
    ]

    alert_source_version: Annotated[
        str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False))
    ]

    alert_source_shortname: Annotated[
        str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False))
    ]


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

    data: V3GlobalEventRulesRulesetResponseTypedDict


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

    data: V3GlobalEventRulesRulesetResponse
