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

from typing import Optional

from pydantic import Field as FieldInfo

from ....._models import BaseModel
from .ticket_type import TicketType

__all__ = ["Alert"]


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

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

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

    ticket_type: Optional[TicketType] = FieldInfo(alias="ticketType", default=None)
    """Type of the tickets (Lottery, Rush and Regular tickets)"""
