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

from typing import List

from pydantic import Field

from .base_model import BaseModel
from .fragments import CreditGrantFragment, PageInfoFragment


class GetCreditGrants(BaseModel):
    credit_grants: "GetCreditGrantsCreditGrants" = Field(alias="creditGrants")


class GetCreditGrantsCreditGrants(BaseModel):
    page_info: "GetCreditGrantsCreditGrantsPageInfo" = Field(alias="pageInfo")
    edges: List["GetCreditGrantsCreditGrantsEdges"]
    total_count: int = Field(alias="totalCount")


class GetCreditGrantsCreditGrantsPageInfo(PageInfoFragment):
    pass


class GetCreditGrantsCreditGrantsEdges(BaseModel):
    node: "GetCreditGrantsCreditGrantsEdgesNode"


class GetCreditGrantsCreditGrantsEdgesNode(CreditGrantFragment):
    pass


GetCreditGrants.model_rebuild()
GetCreditGrantsCreditGrants.model_rebuild()
GetCreditGrantsCreditGrantsEdges.model_rebuild()
