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 classTranslationVerbose.BuilderA builder for TranslationVerbose.
-
Method Summary
Modifier and Type Method Description final Doubleduration()The duration of the input audio. final Stringlanguage()The language of the output translation (always english).final Stringtext()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 TranslationVerbosevalidate()final TranslationVerbose.BuildertoBuilder()Booleanequals(Object other)IntegerhashCode()StringtoString()final static TranslationVerbose.Builderbuilder()Returns a mutable builder for constructing an instance of TranslationVerbose. -
-
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()
Returns a mutable builder for constructing an instance of TranslationVerbose.
The following fields are required:
.duration() .language() .text()
-
-
-
-