Class SessionUpdateEvent
- 
                    
                    - All Implemented Interfaces:
 
 public final class SessionUpdateEventSend this event to update the session’s configuration. The client may send this event at any time to update any field except for voiceandmodel.voicecan be updated only if there have been no other audio outputs yet.When the server receives a session.update, it will respond with asession.updatedevent showing the full, effective configuration. Only the fields that are present in thesession.updateare updated. To clear a field likeinstructions, pass an empty string. To clear a field liketools, pass an empty array. To clear a field liketurn_detection, passnull.
- 
                
                    
                    - 
                                
                            
                                Nested Class SummaryNested Classes Modifier and Type Class Description public final classSessionUpdateEvent.BuilderA builder for SessionUpdateEvent. public final classSessionUpdateEvent.SessionUpdate the Realtime session. Choose either a realtime session or a transcription session. 
 - 
                                
                            
                                Method SummaryModifier and Type Method Description final SessionUpdateEvent.Sessionsession()Update the Realtime session. final JsonValue_type()The event type, must be session.update.final Optional<String>eventId()Optional client-generated ID used to identify this event. final JsonField<SessionUpdateEvent.Session>_session()Returns the raw JSON value of session. final JsonField<String>_eventId()Returns the raw JSON value of eventId. final Map<String, JsonValue>_additionalProperties()final SessionUpdateEvent.BuildertoBuilder()final SessionUpdateEventvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static SessionUpdateEvent.Builderbuilder()Returns a mutable builder for constructing an instance of SessionUpdateEvent. - 
                    
                    
                    - 
                                
                            
                                Method Detail- 
                                        sessionfinal SessionUpdateEvent.Session session() Update the Realtime session. Choose either a realtime session or a transcription session. 
 - 
                                        _typefinal JsonValue _type() The event type, must be session.update.Expected to always return the following: JsonValue.from("session.update")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value). 
 - 
                                        eventIdfinal Optional<String> eventId() Optional client-generated ID used to identify this event. This is an arbitrary string that a client may assign. It will be passed back if there is an error with the event, but the corresponding session.updatedevent will not include it.
 - 
                                        _sessionfinal JsonField<SessionUpdateEvent.Session> _session() Returns the raw JSON value of session. Unlike session, this method doesn't throw if the JSON field has an unexpected type. 
 - 
                                        _eventIdfinal JsonField<String> _eventId() Returns the raw JSON value of eventId. Unlike eventId, this method doesn't throw if the JSON field has an unexpected type. 
 - 
                                        _additionalPropertiesfinal Map<String, JsonValue> _additionalProperties() 
 - 
                                        toBuilderfinal SessionUpdateEvent.Builder toBuilder() 
 - 
                                        validatefinal SessionUpdateEvent validate() 
 - 
                                        builderfinal static SessionUpdateEvent.Builder builder() Returns a mutable builder for constructing an instance of SessionUpdateEvent. The following fields are required: .session()
 
- 
                                        
 
- 
                                
                            
                                
 
- 
                    
                    
                    
 
-