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

from __future__ import annotations

from enum import Enum
from typing import Annotated

from pydantic import BaseModel, ConfigDict, Field


class Account(BaseModel):
    model_config = ConfigDict(
        extra='forbid',
        populate_by_name=True,
    )
    id: str | None = None
    account_type: str | None = None


class FilterType(Enum):
    TypeA = 'TypeA'
    TypeB = 'TypeB'


class AccountsGetParametersQuery(BaseModel):
    model_config = ConfigDict(
        extra='forbid',
        populate_by_name=True,
    )
    page_size_: Annotated[int | None, Field(alias='page[size]')] = None
    filter_type_: Annotated[FilterType | None, Field(alias='filter[type]')] = None
