import datetime
from typing import Optional
from pydantic import BaseModel, ConfigDict
from ..models.api_call_status import ApiCallStatus
from ..models.file_import_format import FileImportFormat
from ..models.unit_volume import UnitVolume
from ..models.uuid import Uuid
[docs]
class FileVolume(BaseModel):
"""A file volume result."""
completed_at: Optional[datetime.datetime] = None
created_at: datetime.datetime
error: Optional[str] = None
id: Uuid
output_unit: UnitVolume
src_format: FileImportFormat
started_at: Optional[datetime.datetime] = None
status: ApiCallStatus
updated_at: datetime.datetime
user_id: Uuid
volume: Optional[float] = None
model_config = ConfigDict(protected_namespaces=())