main
 1# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
 2
 3from typing import List, Optional
 4
 5from ..._models import BaseModel
 6from .transcription_segment import TranscriptionSegment
 7
 8__all__ = ["TranslationVerbose"]
 9
10
11class TranslationVerbose(BaseModel):
12    duration: float
13    """The duration of the input audio."""
14
15    language: str
16    """The language of the output translation (always `english`)."""
17
18    text: str
19    """The translated text."""
20
21    segments: Optional[List[TranscriptionSegment]] = None
22    """Segments of the translated text and their corresponding details."""