# Generated by ariadne-codegen
# Source: todosrht/graphql/

from typing import Literal

from pydantic import Field

from .base_model import BaseModel


class CreateTracker(BaseModel):
    tracker: "CreateTrackerTracker"


class CreateTrackerTracker(BaseModel):
    name: str
    owner: "CreateTrackerTrackerOwner"


class CreateTrackerTrackerOwner(BaseModel):
    typename__: Literal["EmailAddress", "Entity", "ExternalUser", "User"] = Field(
        alias="__typename"
    )
    canonical_name: str = Field(alias="canonicalName")


CreateTracker.model_rebuild()
CreateTrackerTracker.model_rebuild()
