# Generated by ariadne-codegen
# Source: ./documents

from typing import Any, Optional

from pydantic import Field

from .base_model import BaseModel


class QueryGitLabProjects(BaseModel):
    git_lab_projects: Optional["QueryGitLabProjectsGitLabProjects"] = Field(
        alias="gitLabProjects"
    )


class QueryGitLabProjectsGitLabProjects(BaseModel):
    results: Optional[list[Optional["QueryGitLabProjectsGitLabProjectsResults"]]]


class QueryGitLabProjectsGitLabProjectsResults(BaseModel):
    project_id: Optional[Any] = Field(alias="projectId")
    project_name: Optional[str] = Field(alias="projectName")
    project_path: Optional[str] = Field(alias="projectPath")
    description: Optional[str]
    is_private: Optional[bool] = Field(alias="isPrivate")
    star_count: Optional[int] = Field(alias="starCount")
    forks_count: Optional[int] = Field(alias="forksCount")
    last_activity_at: Optional[Any] = Field(alias="lastActivityAt")
    created_at: Optional[Any] = Field(alias="createdAt")
    web_url: Optional[str] = Field(alias="webUrl")


QueryGitLabProjects.model_rebuild()
QueryGitLabProjectsGitLabProjects.model_rebuild()
