"""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 SplitInfoTypedDict(TypedDict):
    """Split info."""

    id: str
    "ID of the split."
    name: str
    "Name of the split."
    created_at: int
    "Unix timestamp (in seconds) of when the split was created."
    updated_at: int
    "Unix timestamp (in seconds) of when the split was last modified."


class SplitInfo(BaseModel):
    """Split info."""

    id: str
    "ID of the split."
    name: str
    "Name of the split."
    created_at: Annotated[int, pydantic.Field(alias="createdAt")]
    "Unix timestamp (in seconds) of when the split was created."
    updated_at: Annotated[int, pydantic.Field(alias="updatedAt")]
    "Unix timestamp (in seconds) of when the split was last modified."
