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

from typing import Any, List, Optional

from .base_model import BaseModel


class UpdateVariants(BaseModel):
    productVariantsBulkUpdate: Optional["UpdateVariantsProductVariantsBulkUpdate"]


class UpdateVariantsProductVariantsBulkUpdate(BaseModel):
    productVariants: Optional[
        List["UpdateVariantsProductVariantsBulkUpdateProductVariants"]
    ]
    userErrors: List["UpdateVariantsProductVariantsBulkUpdateUserErrors"]


class UpdateVariantsProductVariantsBulkUpdateProductVariants(BaseModel):
    id: str
    price: Any
    barcode: Optional[str]
    createdAt: Any


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


UpdateVariants.model_rebuild()
UpdateVariantsProductVariantsBulkUpdate.model_rebuild()
