Class RealtimeServerEvent.OutputAudioBufferCleared.Builder
- 
                    
                    
- All Implemented Interfaces:
 
public final class RealtimeServerEvent.OutputAudioBufferCleared.BuilderA builder for OutputAudioBufferCleared.
 
- 
                
                    
                    
- 
                                
                            
                                
Method Summary
- 
                    
                    
                    
- 
                                
                            
                                
Method Detail
- 
                                        
eventId
final RealtimeServerEvent.OutputAudioBufferCleared.Builder eventId(String eventId)
The unique ID of the server event.
 
- 
                                        
eventId
final RealtimeServerEvent.OutputAudioBufferCleared.Builder eventId(JsonField<String> eventId)
Sets Builder.eventId to an arbitrary JSON value.
You should usually call Builder.eventId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
 
- 
                                        
responseId
final RealtimeServerEvent.OutputAudioBufferCleared.Builder responseId(String responseId)
The unique ID of the response that produced the audio.
 
- 
                                        
responseId
final RealtimeServerEvent.OutputAudioBufferCleared.Builder responseId(JsonField<String> responseId)
Sets Builder.responseId to an arbitrary JSON value.
You should usually call Builder.responseId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
 
- 
                                        
type
final RealtimeServerEvent.OutputAudioBufferCleared.Builder type(JsonValue type)
Sets the field to an arbitrary JSON value.
It is usually unnecessary to call this method because the field defaults to the following:
JsonValue.from("output_audio_buffer.cleared")This method is primarily for setting the field to an undocumented or not yet supported value.
 
- 
                                        
additionalProperties
final RealtimeServerEvent.OutputAudioBufferCleared.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
 
- 
                                        
putAdditionalProperty
final RealtimeServerEvent.OutputAudioBufferCleared.Builder putAdditionalProperty(String key, JsonValue value)
 
- 
                                        
putAllAdditionalProperties
final RealtimeServerEvent.OutputAudioBufferCleared.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
 
- 
                                        
removeAdditionalProperty
final RealtimeServerEvent.OutputAudioBufferCleared.Builder removeAdditionalProperty(String key)
 
- 
                                        
removeAllAdditionalProperties
final RealtimeServerEvent.OutputAudioBufferCleared.Builder removeAllAdditionalProperties(Set<String> keys)
 
- 
                                        
build
final RealtimeServerEvent.OutputAudioBufferCleared build()
Returns an immutable instance of OutputAudioBufferCleared.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.eventId() .responseId() 
 - 
                                        
 
 - 
                                
                            
                                
 
 - 
                    
                    
                    
 
 -