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

from typing import Any, List, Optional

from .base_model import BaseModel


class UpdateCollection(BaseModel):
    collectionUpdate: Optional["UpdateCollectionCollectionUpdate"]


class UpdateCollectionCollectionUpdate(BaseModel):
    collection: Optional["UpdateCollectionCollectionUpdateCollection"]
    userErrors: List["UpdateCollectionCollectionUpdateUserErrors"]


class UpdateCollectionCollectionUpdateCollection(BaseModel):
    id: str
    title: str
    handle: str
    updatedAt: Any


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


UpdateCollection.model_rebuild()
UpdateCollectionCollectionUpdate.model_rebuild()
