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

from __future__ import annotations

from typing import Literal

from pydantic import BaseModel
from typing_extensions import TypeAliasType

EnumFromParam = TypeAliasType("EnumFromParam", Literal['a', 'b'])


EnumFromProperty = TypeAliasType("EnumFromProperty", Literal['x', 'y'])


class Thing(BaseModel):
    kind: EnumFromProperty | None = None
