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

from typing import Optional
from datetime import datetime

from pydantic import Field as FieldInfo

from ....._models import BaseModel

__all__ = ["CustomerShowReview"]


class CustomerShowReview(BaseModel):
    id: Optional[int] = None
    """Numeric identifier for a resource"""

    api_type: Optional[str] = FieldInfo(alias="_type", default=None)

    customer_id: Optional[str] = FieldInfo(alias="customerId", default=None)
    """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.
    """

    last_rated: Optional[datetime] = FieldInfo(alias="lastRated", default=None)
    """the timestamp when the customer rated this show last time"""

    rating: Optional[int] = None
    """rating (one star to five stars)"""

    show_id: Optional[int] = FieldInfo(alias="showId", default=None)
    """Numeric identifier for a resource"""
