# Generated by ariadne-codegen
# Source: operations/

from typing import Optional

from pydantic import Field

from .base_model import BaseModel


class UserTemplates(BaseModel):
    user_templates: "UserTemplatesUserTemplates" = Field(alias="userTemplates")


class UserTemplatesUserTemplates(BaseModel):
    page_info: "UserTemplatesUserTemplatesPageInfo" = Field(alias="pageInfo")
    edges: list[Optional["UserTemplatesUserTemplatesEdges"]]


class UserTemplatesUserTemplatesPageInfo(BaseModel):
    total_count: int = Field(alias="totalCount")
    has_next_page: bool = Field(alias="hasNextPage")
    has_previous_page: bool = Field(alias="hasPreviousPage")
    start_cursor: str = Field(alias="startCursor")
    end_cursor: str = Field(alias="endCursor")


class UserTemplatesUserTemplatesEdges(BaseModel):
    cursor: str


UserTemplates.model_rebuild()
UserTemplatesUserTemplates.model_rebuild()
