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

from pydantic import Field

from .base_model import BaseModel
from .fragments import L2BookFields


class GetL2BookSnapshotQuery(BaseModel):
    marketdata: "GetL2BookSnapshotQueryMarketdata"


class GetL2BookSnapshotQueryMarketdata(BaseModel):
    l_2_book_snapshot: "GetL2BookSnapshotQueryMarketdataL2BookSnapshot" = Field(
        alias="l2BookSnapshot"
    )


class GetL2BookSnapshotQueryMarketdataL2BookSnapshot(L2BookFields):
    pass


GetL2BookSnapshotQuery.model_rebuild()
GetL2BookSnapshotQueryMarketdata.model_rebuild()
