@@ -152,47 +152,11 @@ private constructor(
152
152
/* * Alias for calling [session] with `Session.ofRealtime(realtime)`. */
153
153
fun session (realtime : RealtimeSessionCreateRequest ) = apply { body.session(realtime) }
154
154
155
- /* *
156
- * Alias for calling [session] with the following:
157
- * ```java
158
- * RealtimeSessionCreateRequest.builder()
159
- * .model(model)
160
- * .build()
161
- * ```
162
- */
163
- fun realtimeSession (model : RealtimeSessionCreateRequest .Model ) = apply {
164
- body.realtimeSession(model)
165
- }
166
-
167
- /* *
168
- * Alias for calling [realtimeSession] with
169
- * `RealtimeSessionCreateRequest.Model.ofString(string)`.
170
- */
171
- fun realtimeSession (string : String ) = apply { body.realtimeSession(string) }
172
-
173
155
/* * Alias for calling [session] with `Session.ofTranscription(transcription)`. */
174
156
fun session (transcription : RealtimeTranscriptionSessionCreateRequest ) = apply {
175
157
body.session(transcription)
176
158
}
177
159
178
- /* *
179
- * Alias for calling [session] with the following:
180
- * ```java
181
- * RealtimeTranscriptionSessionCreateRequest.builder()
182
- * .model(model)
183
- * .build()
184
- * ```
185
- */
186
- fun transcriptionSession (model : RealtimeTranscriptionSessionCreateRequest .Model ) = apply {
187
- body.transcriptionSession(model)
188
- }
189
-
190
- /* *
191
- * Alias for calling [transcriptionSession] with
192
- * `RealtimeTranscriptionSessionCreateRequest.Model.ofString(string)`.
193
- */
194
- fun transcriptionSession (string : String ) = apply { body.transcriptionSession(string) }
195
-
196
160
fun additionalBodyProperties (additionalBodyProperties : Map <String , JsonValue >) = apply {
197
161
body.additionalProperties(additionalBodyProperties)
198
162
}
@@ -456,29 +420,10 @@ private constructor(
456
420
fun session (realtime : RealtimeSessionCreateRequest ) =
457
421
session(Session .ofRealtime(realtime))
458
422
459
- /* *
460
- * Alias for calling [session] with the following:
461
- * ```java
462
- * RealtimeSessionCreateRequest.builder()
463
- * .model(model)
464
- * .build()
465
- * ```
466
- */
467
- fun realtimeSession (model : RealtimeSessionCreateRequest .Model ) =
468
- session(RealtimeSessionCreateRequest .builder().model(model).build())
469
-
470
- /* *
471
- * Alias for calling [realtimeSession] with
472
- * `RealtimeSessionCreateRequest.Model.ofString(string)`.
473
- */
474
- fun realtimeSession (string : String ) =
475
- realtimeSession(RealtimeSessionCreateRequest .Model .of(string))
476
-
477
423
/* * Alias for calling [session] with `Session.ofTranscription(transcription)`. */
478
424
fun session (transcription : RealtimeTranscriptionSessionCreateRequest ) =
479
425
session(Session .ofTranscription(transcription))
480
426
481
-
482
427
fun additionalProperties (additionalProperties : Map <String , JsonValue >) = apply {
483
428
this .additionalProperties.clear()
484
429
putAllAdditionalProperties(additionalProperties)
0 commit comments