Package com.openai.models.realtime
Class RealtimeTranslationSession.Audio.Output
-
- All Implemented Interfaces:
public final class RealtimeTranslationSession.Audio.Output
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classRealtimeTranslationSession.Audio.Output.BuilderA builder for Output.
-
Method Summary
Modifier and Type Method Description final Optional<String>language()Target language for translated output audio and transcript deltas. final JsonField<String>_language()Returns the raw JSON value of language. final Map<String, JsonValue>_additionalProperties()final RealtimeTranslationSession.Audio.Output.BuildertoBuilder()final RealtimeTranslationSession.Audio.Outputvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static RealtimeTranslationSession.Audio.Output.Builderbuilder()Returns a mutable builder for constructing an instance of Output. -
-
Method Detail
-
language
final Optional<String> language()
Target language for translated output audio and transcript deltas.
-
_language
final JsonField<String> _language()
Returns the raw JSON value of language.
Unlike language, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final RealtimeTranslationSession.Audio.Output.Builder toBuilder()
-
validate
final RealtimeTranslationSession.Audio.Output validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static RealtimeTranslationSession.Audio.Output.Builder builder()
Returns a mutable builder for constructing an instance of Output.
-
-
-
-