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

from __future__ import annotations

from pydantic import BaseModel, Field, RootModel


class Filter(BaseModel):
    name: str | None = None


class UsersGetParametersQuery(BaseModel):
    status: str = 'active'
    filter: Filter = Field({}, validate_default=True)


class User(BaseModel):
    id: int | None = None
    name: str | None = None


class UserList(RootModel[list[User]]):
    root: list[User]
