# This file was auto-generated by Fern from our API Definition.

from typing import Optional

from ....core.pydantic_utilities import UniversalBaseModel


class ListenV2ConnectedEvent(UniversalBaseModel):
    type: str
    request_id: str
    sequence_id: int

    def json(self, **kwargs) -> str:
        kwargs_with_defaults = {"by_alias": True, "exclude_unset": True, **kwargs}
        return super().json(**kwargs_with_defaults)

    def dict(self, **kwargs) -> dict:
        kwargs_with_defaults = {"by_alias": True, "exclude_unset": True, **kwargs}
        return super().dict(**kwargs_with_defaults)

    class Config:
        frozen = True
        extra = "forbid"
