# Generated by ariadne-codegen
# Source: queries/central-data

from typing import Any, List, Optional

from pydantic import Field

from .base_model import BaseModel


class GetGames(BaseModel):
    all_series: "GetGamesAllSeries" = Field(alias="allSeries")


class GetGamesAllSeries(BaseModel):
    edges: List["GetGamesAllSeriesEdges"]
    page_info: "GetGamesAllSeriesPageInfo" = Field(alias="pageInfo")
    total_count: int = Field(alias="totalCount")


class GetGamesAllSeriesEdges(BaseModel):
    node: "GetGamesAllSeriesEdgesNode"


class GetGamesAllSeriesEdgesNode(BaseModel):
    id: str


class GetGamesAllSeriesPageInfo(BaseModel):
    end_cursor: Optional[Any] = Field(alias="endCursor")
    has_next_page: bool = Field(alias="hasNextPage")


GetGames.model_rebuild()
GetGamesAllSeries.model_rebuild()
GetGamesAllSeriesEdges.model_rebuild()
