Package com.openai.models.realtime
Class RealtimeTranslationSessionUpdateRequest.Audio.Output
-
- All Implemented Interfaces:
public final class RealtimeTranslationSessionUpdateRequest.Audio.Output
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classRealtimeTranslationSessionUpdateRequest.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 RealtimeTranslationSessionUpdateRequest.Audio.Output.BuildertoBuilder()final RealtimeTranslationSessionUpdateRequest.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 RealtimeTranslationSessionUpdateRequest.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 RealtimeTranslationSessionUpdateRequest.Audio.Output.Builder toBuilder()
-
validate
final RealtimeTranslationSessionUpdateRequest.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 RealtimeTranslationSessionUpdateRequest.Audio.Output.Builder builder()
Returns a mutable builder for constructing an instance of Output.
-
-
-
-