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

from __future__ import annotations

from typing import List, Union

from pydantic import BaseModel


class Key(BaseModel):
    address: str
    nat: str


class ModelItem(BaseModel):
    key: Key
    value: str


class Model(BaseModel):
    __root__: Union[int, List[ModelItem]]
