# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

from typing import List, Optional

from .._models import BaseModel

__all__ = ["SandboxDeleteAllResponse", "Error"]


class Error(BaseModel):
    id: str
    """Sandbox ID that failed to delete"""

    error: str
    """Error message"""


class SandboxDeleteAllResponse(BaseModel):
    deleted_count: float
    """Number of sandboxes deleted"""

    deleted_ids: List[str]
    """Array of deleted sandbox IDs"""

    message: str
    """Success message"""

    errors: Optional[List[Error]] = None
    """Array of deletion errors, if any"""
