# Generated by ariadne-codegen
# Source: mansrht/git/

from typing import Any, Literal

from pydantic import Field

from .base_model import BaseModel


class CommitDetails(BaseModel):
    id: str
    message: str
    author: "CommitDetailsAuthor"


class CommitDetailsAuthor(BaseModel):
    name: str
    email: str
    time: Any


class RepoDetails(BaseModel):
    id: int
    name: str
    owner: "RepoDetailsOwner"


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


CommitDetails.model_rebuild()
RepoDetails.model_rebuild()
