Class ClientSecretCreateResponse.Session.RealtimeTranscriptionSessionCreateResponse.Builder
-
- All Implemented Interfaces:
public final class ClientSecretCreateResponse.Session.RealtimeTranscriptionSessionCreateResponse.Builder
A builder for RealtimeTranscriptionSessionCreateResponse.
-
-
Method Summary
-
-
Method Detail
-
id
final ClientSecretCreateResponse.Session.RealtimeTranscriptionSessionCreateResponse.Builder id(String id)
Unique identifier for the session that looks like
sess_1234567890abcdef
.
-
id
final ClientSecretCreateResponse.Session.RealtimeTranscriptionSessionCreateResponse.Builder id(JsonField<String> id)
Sets Builder.id to an arbitrary JSON value.
You should usually call Builder.id with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
audio
final ClientSecretCreateResponse.Session.RealtimeTranscriptionSessionCreateResponse.Builder audio(ClientSecretCreateResponse.Session.RealtimeTranscriptionSessionCreateResponse.Audio audio)
Configuration for input audio for the session.
-
audio
final ClientSecretCreateResponse.Session.RealtimeTranscriptionSessionCreateResponse.Builder audio(JsonField<ClientSecretCreateResponse.Session.RealtimeTranscriptionSessionCreateResponse.Audio> audio)
Sets Builder.audio to an arbitrary JSON value.
You should usually call Builder.audio with a well-typed Audio value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
expiresAt
final ClientSecretCreateResponse.Session.RealtimeTranscriptionSessionCreateResponse.Builder expiresAt(Long expiresAt)
Expiration timestamp for the session, in seconds since epoch.
-
expiresAt
final ClientSecretCreateResponse.Session.RealtimeTranscriptionSessionCreateResponse.Builder expiresAt(JsonField<Long> expiresAt)
Sets Builder.expiresAt to an arbitrary JSON value.
You should usually call Builder.expiresAt with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
include
final ClientSecretCreateResponse.Session.RealtimeTranscriptionSessionCreateResponse.Builder include(List<ClientSecretCreateResponse.Session.RealtimeTranscriptionSessionCreateResponse.Include> include)
Additional fields to include in server outputs.
item.input_audio_transcription.logprobs
: Include logprobs for input audio transcription.
-
include
final ClientSecretCreateResponse.Session.RealtimeTranscriptionSessionCreateResponse.Builder include(JsonField<List<ClientSecretCreateResponse.Session.RealtimeTranscriptionSessionCreateResponse.Include>> include)
Sets Builder.include to an arbitrary JSON value.
You should usually call Builder.include with a well-typed
List<Include>
value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addInclude
final ClientSecretCreateResponse.Session.RealtimeTranscriptionSessionCreateResponse.Builder addInclude(ClientSecretCreateResponse.Session.RealtimeTranscriptionSessionCreateResponse.Include include)
Adds a single Include to Builder.include.
-
object_
final ClientSecretCreateResponse.Session.RealtimeTranscriptionSessionCreateResponse.Builder object_(String object_)
The object type. Always
realtime.transcription_session
.
-
object_
final ClientSecretCreateResponse.Session.RealtimeTranscriptionSessionCreateResponse.Builder object_(JsonField<String> object_)
Sets Builder.object_ to an arbitrary JSON value.
You should usually call Builder.object_ with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final ClientSecretCreateResponse.Session.RealtimeTranscriptionSessionCreateResponse.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ClientSecretCreateResponse.Session.RealtimeTranscriptionSessionCreateResponse.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ClientSecretCreateResponse.Session.RealtimeTranscriptionSessionCreateResponse.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ClientSecretCreateResponse.Session.RealtimeTranscriptionSessionCreateResponse.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ClientSecretCreateResponse.Session.RealtimeTranscriptionSessionCreateResponse.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ClientSecretCreateResponse.Session.RealtimeTranscriptionSessionCreateResponse build()
Returns an immutable instance of RealtimeTranscriptionSessionCreateResponse.
Further updates to this Builder will not mutate the returned instance.
-
-
-
-