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

from __future__ import annotations

from pydantic import BaseModel


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


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


class Parent(BaseModel):
    nullableChild: NullableChild | None
    nonNullableChild: NonNullableChild
