# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

from typing import Optional
from typing_extensions import Literal

from pydantic import Field as FieldInfo

from ....._models import BaseModel

__all__ = ["Bookmark"]


class Bookmark(BaseModel):
    api_type: Literal["ShowBookmark", "ShowGroupBookmark"] = FieldInfo(alias="_type")

    customer_id: str = FieldInfo(alias="customerId")
    """A customer public facing Id (String).

    "me" or a hashed string. ?customer=me and /customers/me/ are both magical
    customer identifiers, but they are customer identifiers nonetheless. They make
    the API easier to use than ?customer=c.dkd3kl238es or
    /customers/c.23i8fjdksdfs3.
    """

    id: Optional[int] = None
    """Numeric identifier for a resource"""
