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

from typing import Any, List, Optional

from .base_model import BaseModel


class SetMetafield(BaseModel):
    metafieldsSet: Optional["SetMetafieldMetafieldsSet"]


class SetMetafieldMetafieldsSet(BaseModel):
    metafields: Optional[List["SetMetafieldMetafieldsSetMetafields"]]
    userErrors: List["SetMetafieldMetafieldsSetUserErrors"]


class SetMetafieldMetafieldsSetMetafields(BaseModel):
    id: str
    namespace: str
    key: str
    value: str
    type: str
    createdAt: Any
    updatedAt: Any


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


SetMetafield.model_rebuild()
SetMetafieldMetafieldsSet.model_rebuild()
