# generated by datamodel-codegen:
#   filename:  _internal
#   timestamp: 1985-10-26T08:21:00+00:00

from __future__ import annotations

from pydantic import BaseModel


class Root(BaseModel):
    id: str | None = None
    alpha_ref: Model | None = None


class Model(BaseModel):
    id: str | None = None
    beta_ref: Model_1 | None = None


class Model_1(BaseModel):
    id: str | None = None
    gamma_ref: Model_2 | None = None


class Model_2(BaseModel):
    id: str | None = None
    root_ref: Root | None = None


Root.model_rebuild()
Model.model_rebuild()
Model_1.model_rebuild()
