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

from __future__ import annotations
from .keyassignment import KeyAssignment, KeyAssignmentTypedDict
from openrouter.types import BaseModel
from typing import List
from typing_extensions import TypedDict


class ListKeyAssignmentsResponseTypedDict(TypedDict):
    data: List[KeyAssignmentTypedDict]
    r"""List of key assignments"""
    total_count: int
    r"""Total number of key assignments for this guardrail"""


class ListKeyAssignmentsResponse(BaseModel):
    data: List[KeyAssignment]
    r"""List of key assignments"""

    total_count: int
    r"""Total number of key assignments for this guardrail"""
