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

from __future__ import annotations
from friendli.core.types import BaseModel
import pydantic
from typing_extensions import Annotated, TypedDict


class VersionInfoTypedDict(TypedDict):
    """Version info."""

    id: str
    "ID of the version."
    comment: str
    "Comment for the version."
    created_at: int
    "Unix timestamp (in seconds) of when the version was created."


class VersionInfo(BaseModel):
    """Version info."""

    id: str
    "ID of the version."
    comment: str
    "Comment for the version."
    created_at: Annotated[int, pydantic.Field(alias="createdAt")]
    "Unix timestamp (in seconds) of when the version was created."
