# Generated by ariadne-codegen
# Source: operations/

from typing import Any, Optional

from pydantic import Field

from .base_model import BaseModel
from .enums import BackupStatus


class Backups(BaseModel):
    backups: Optional[list[Optional["BackupsBackups"]]]


class BackupsBackups(BaseModel):
    id: Any = Field(alias="_id")
    environment_id: Any = Field(alias="environmentID")
    service_id: Any = Field(alias="serviceID")
    file_size: Optional[int] = Field(alias="fileSize")
    download_url: Optional[str] = Field(alias="downloadURL")
    status: BackupStatus
    created_at: Any = Field(alias="createdAt")
    finished_at: Optional[Any] = Field(alias="finishedAt")


Backups.model_rebuild()
