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

from __future__ import annotations
from .index import Index, IndexTypedDict
from duckyai.types import BaseModel
from typing import List, Optional
from typing_extensions import NotRequired, TypedDict


class ProjectTypedDict(TypedDict):
    project_id: NotRequired[str]
    r"""The unique identifier of the project"""
    project_name: NotRequired[str]
    r"""The name of the project"""
    indexes: NotRequired[List[IndexTypedDict]]
    r"""List of indexes associated with the project"""


class Project(BaseModel):
    project_id: Optional[str] = None
    r"""The unique identifier of the project"""

    project_name: Optional[str] = None
    r"""The name of the project"""

    indexes: Optional[List[Index]] = None
    r"""List of indexes associated with the project"""
