# Generated by ariadne-codegen
# Source: operations/

from typing import Any, Optional

from pydantic import Field

from .base_model import BaseModel


class ProjectUsage(BaseModel):
    project_usage: "ProjectUsageProjectUsage" = Field(alias="projectUsage")


class ProjectUsageProjectUsage(BaseModel):
    usages: list[Optional["ProjectUsageProjectUsageUsages"]]
    budget: int
    period_start: Any = Field(alias="periodStart")
    period_end: Any = Field(alias="periodEnd")


class ProjectUsageProjectUsageUsages(BaseModel):
    usage: float
    entity: str


ProjectUsage.model_rebuild()
ProjectUsageProjectUsage.model_rebuild()
