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

from typing import Any, List, Optional

from pydantic import Field

from .base_model import BaseModel
from .fragments import MarketFields


class SubscribeExchangeSpecific(BaseModel):
    exchange_specific: List["SubscribeExchangeSpecificExchangeSpecific"] = Field(
        alias="exchangeSpecific"
    )


class SubscribeExchangeSpecificExchangeSpecific(BaseModel):
    market: "SubscribeExchangeSpecificExchangeSpecificMarket"
    field: str
    value: Optional[Any]


class SubscribeExchangeSpecificExchangeSpecificMarket(MarketFields):
    pass


SubscribeExchangeSpecific.model_rebuild()
SubscribeExchangeSpecificExchangeSpecific.model_rebuild()
