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

from datetime import datetime

from ..._models import BaseModel

__all__ = ["Subscription"]


class Subscription(BaseModel):
    """A user's subscription to a topic"""

    id: str
    """Subscription ID"""

    created_at: datetime
    """When the subscription was created"""

    topic_name: str
    """Name of the subscribed topic"""

    user_id: str
    """User's internal ID"""
