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