Package com.openai.models
Class TranslationVerbose
-
- All Implemented Interfaces:
public final class TranslationVerbose
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
TranslationVerbose.Builder
A builder for TranslationVerbose.
-
Method Summary
Modifier and Type Method Description final Double
duration()
The duration of the input audio. final String
language()
The language of the output translation (always english
).final String
text()
The translated text. final Optional<List<TranscriptionSegment>>
segments()
Segments of the translated text and their corresponding details. final JsonField<Double>
_duration()
The duration of the input audio. final JsonField<String>
_language()
The language of the output translation (always english
).final JsonField<String>
_text()
The translated text. final JsonField<List<TranscriptionSegment>>
_segments()
Segments of the translated text and their corresponding details. final Map<String, JsonValue>
_additionalProperties()
final TranslationVerbose
validate()
final TranslationVerbose.Builder
toBuilder()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static TranslationVerbose.Builder
builder()
-
-
Method Detail
-
segments
final Optional<List<TranscriptionSegment>> segments()
Segments of the translated text and their corresponding details.
-
_language
final JsonField<String> _language()
The language of the output translation (always
english
).
-
_segments
final JsonField<List<TranscriptionSegment>> _segments()
Segments of the translated text and their corresponding details.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
validate
final TranslationVerbose validate()
-
toBuilder
final TranslationVerbose.Builder toBuilder()
-
builder
final static TranslationVerbose.Builder builder()
-
-
-
-