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

from typing import Dict, List, Optional

from ...._models import BaseModel

__all__ = ["FileFileContentResponse"]


class FileFileContentResponse(BaseModel):
    """Content of a single transformed file/sample."""

    content: Optional[str] = None
    """Masked/redacted file content."""

    entities_found: Optional[List[object]] = None
    """List of PII/PHI entities detected in this sample."""

    entity_summary: Optional[Dict[str, int]] = None
    """Count of entities found per entity type (e.g. `{"PERSON": 3, "EMAIL": 1}`)."""

    file_name: Optional[str] = None
    """Original file name."""

    file_type: Optional[str] = None
    """File type extension in uppercase (e.g. `JSON`, `TXT`, `CSV`)."""

    sample_index: Optional[int] = None
    """Zero-based index of this sample within the job results."""
