# generated by datamodel-codegen:
#   filename:  read_only_write_only_allof.yaml
#   timestamp: 2019-07-26T00:00:00+00:00

from __future__ import annotations

from pydantic import AwareDatetime, BaseModel


class UserRequest(BaseModel):
    password: str | None = None
    api_key: str | None = None
    name: str
    email: str | None = None


class UserResponse(BaseModel):
    created_at: AwareDatetime | None = None
    updated_at: AwareDatetime | None = None
    id: int
    name: str
    email: str | None = None
