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

from __future__ import annotations

from typing import List, Union

from pydantic import BaseModel, Extra


class Key(BaseModel):
    class Config:
        extra = Extra.forbid

    address: str
    nat: str


class ModelItem(BaseModel):
    class Config:
        extra = Extra.forbid

    key: Key
    value: str


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