"""Pydantic models for the T API (generated by clientsmith, do not edit)."""

from __future__ import annotations

from pydantic import BaseModel, ConfigDict


class User(BaseModel):
    """A user."""

    model_config = ConfigDict(populate_by_name=True, protected_namespaces=())

    id: int
    email: str
    bio: str | None
    nick: str | None = None
    age: int | None = None


User.model_rebuild()

__all__ = [
    "User",
]
