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

from typing import List, Optional

from .base_model import BaseModel


class AddProductToCollection(BaseModel):
    collectionAddProducts: Optional["AddProductToCollectionCollectionAddProducts"]


class AddProductToCollectionCollectionAddProducts(BaseModel):
    collection: Optional["AddProductToCollectionCollectionAddProductsCollection"]
    userErrors: List["AddProductToCollectionCollectionAddProductsUserErrors"]


class AddProductToCollectionCollectionAddProductsCollection(BaseModel):
    id: str
    products: "AddProductToCollectionCollectionAddProductsCollectionProducts"


class AddProductToCollectionCollectionAddProductsCollectionProducts(BaseModel):
    edges: List["AddProductToCollectionCollectionAddProductsCollectionProductsEdges"]


class AddProductToCollectionCollectionAddProductsCollectionProductsEdges(BaseModel):
    node: "AddProductToCollectionCollectionAddProductsCollectionProductsEdgesNode"


class AddProductToCollectionCollectionAddProductsCollectionProductsEdgesNode(BaseModel):
    id: str


class AddProductToCollectionCollectionAddProductsUserErrors(BaseModel):
    field: Optional[List[str]]
    message: str


AddProductToCollection.model_rebuild()
AddProductToCollectionCollectionAddProducts.model_rebuild()
AddProductToCollectionCollectionAddProductsCollection.model_rebuild()
AddProductToCollectionCollectionAddProductsCollectionProducts.model_rebuild()
AddProductToCollectionCollectionAddProductsCollectionProductsEdges.model_rebuild()
