# Generated by ariadne-codegen
# Source: queries.graphql

from typing import Any, List, Optional

from .base_model import BaseModel


class GetCollection(BaseModel):
    collection: Optional["GetCollectionCollection"]


class GetCollectionCollection(BaseModel):
    id: str
    handle: str
    title: str
    description: str
    updatedAt: Any
    products: "GetCollectionCollectionProducts"


class GetCollectionCollectionProducts(BaseModel):
    edges: List["GetCollectionCollectionProductsEdges"]
    pageInfo: "GetCollectionCollectionProductsPageInfo"


class GetCollectionCollectionProductsEdges(BaseModel):
    node: "GetCollectionCollectionProductsEdgesNode"


class GetCollectionCollectionProductsEdgesNode(BaseModel):
    id: str
    title: str
    handle: str


class GetCollectionCollectionProductsPageInfo(BaseModel):
    hasNextPage: bool
    hasPreviousPage: bool
    startCursor: Optional[str]
    endCursor: Optional[str]


GetCollection.model_rebuild()
GetCollectionCollection.model_rebuild()
GetCollectionCollectionProducts.model_rebuild()
GetCollectionCollectionProductsEdges.model_rebuild()
