# This file was auto-generated by Fern from our API Definition.

import typing

import pydantic
from ...core.pydantic_utilities import UniversalBaseModel


class UpdateCommentParamsData(UniversalBaseModel):
    page: typing.Optional[int] = pydantic.Field(default=None)
    """
    Document page. Only allowed when file type is a pdf document
    """

    text: typing.Optional[str] = pydantic.Field(default=None)
    """
    Comment text
    """

    timestamp: typing.Optional[float] = pydantic.Field(default=None)
    """
    Comment frame number in media. Only allowed when file type is 'audio', 'stream', or 'video'.
    """

    model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True)  # type: ignore # Pydantic v2
