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

from __future__ import annotations
from attio.types import BaseModel
from typing_extensions import TypedDict


class SelectOptionIDTypedDict(TypedDict):
    workspace_id: str
    r"""The ID of the workspace"""
    object_id: str
    r"""The ID of the object"""
    attribute_id: str
    r"""The ID of the attribute"""
    option_id: str
    r"""The ID of the select option"""


class SelectOptionID(BaseModel):
    workspace_id: str
    r"""The ID of the workspace"""

    object_id: str
    r"""The ID of the object"""

    attribute_id: str
    r"""The ID of the attribute"""

    option_id: str
    r"""The ID of the select option"""


class SelectOptionTypedDict(TypedDict):
    id: SelectOptionIDTypedDict
    title: str
    r"""The title of the select option"""
    is_archived: bool
    r"""Whether or not to archive the select option. See our [archiving guide](/docs/archiving-vs-deleting) for more information on archiving."""


class SelectOption(BaseModel):
    id: SelectOptionID

    title: str
    r"""The title of the select option"""

    is_archived: bool
    r"""Whether or not to archive the select option. See our [archiving guide](/docs/archiving-vs-deleting) for more information on archiving."""
