Package com.openai.models.beta.realtime
        Class InputAudioBufferClearedEvent.Builder
- 
                    
                    
- All Implemented Interfaces:
 
public final class InputAudioBufferClearedEvent.BuilderA builder for InputAudioBufferClearedEvent.
 
- 
                
                    
                    
- 
                                
                            
                                
Method Summary
Modifier and Type Method Description final InputAudioBufferClearedEvent.BuildereventId(String eventId)The unique ID of the server event. final InputAudioBufferClearedEvent.BuildereventId(JsonField<String> eventId)Sets Builder.eventId to an arbitrary JSON value. final InputAudioBufferClearedEvent.Buildertype(JsonValue type)Sets the field to an arbitrary JSON value. final InputAudioBufferClearedEvent.BuilderadditionalProperties(Map<String, JsonValue> additionalProperties)final InputAudioBufferClearedEvent.BuilderputAdditionalProperty(String key, JsonValue value)final InputAudioBufferClearedEvent.BuilderputAllAdditionalProperties(Map<String, JsonValue> additionalProperties)final InputAudioBufferClearedEvent.BuilderremoveAdditionalProperty(String key)final InputAudioBufferClearedEvent.BuilderremoveAllAdditionalProperties(Set<String> keys)final InputAudioBufferClearedEventbuild()Returns an immutable instance of InputAudioBufferClearedEvent. - 
                    
                    
                    
- 
                                
                            
                                
Method Detail
- 
                                        
eventId
final InputAudioBufferClearedEvent.Builder eventId(String eventId)
The unique ID of the server event.
 
- 
                                        
eventId
final InputAudioBufferClearedEvent.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.
 
- 
                                        
type
final InputAudioBufferClearedEvent.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("input_audio_buffer.cleared")This method is primarily for setting the field to an undocumented or not yet supported value.
 
- 
                                        
additionalProperties
final InputAudioBufferClearedEvent.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
 
- 
                                        
putAdditionalProperty
final InputAudioBufferClearedEvent.Builder putAdditionalProperty(String key, JsonValue value)
 
- 
                                        
putAllAdditionalProperties
final InputAudioBufferClearedEvent.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
 
- 
                                        
removeAdditionalProperty
final InputAudioBufferClearedEvent.Builder removeAdditionalProperty(String key)
 
- 
                                        
removeAllAdditionalProperties
final InputAudioBufferClearedEvent.Builder removeAllAdditionalProperties(Set<String> keys)
 
- 
                                        
build
final InputAudioBufferClearedEvent build()
Returns an immutable instance of InputAudioBufferClearedEvent.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.eventId() 
 - 
                                        
 
 - 
                                
                            
                                
 
 - 
                    
                    
                    
 
 -