"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""

from __future__ import annotations
from openrouter.types import BaseModel
from typing import Literal
from typing_extensions import TypedDict


FileMetadataType = Literal["file",]


class FileMetadataTypedDict(TypedDict):
    r"""Metadata describing a stored file."""

    created_at: str
    downloadable: bool
    filename: str
    id: str
    mime_type: str
    size_bytes: int
    type: FileMetadataType


class FileMetadata(BaseModel):
    r"""Metadata describing a stored file."""

    created_at: str

    downloadable: bool

    filename: str

    id: str

    mime_type: str

    size_bytes: int

    type: FileMetadataType
