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

from __future__ import annotations

from pydantic import BaseModel


class NullableString(BaseModel):
    __root__: str | None


class NonNullableString(BaseModel):
    __root__: str


class NullOnly(BaseModel):
    __root__: None


class Model(BaseModel):
    nullableRef: NullableString | None
    nonNullableRef: NonNullableString
    nullOnlyRef: NullOnly | None
