Package com.openai.models.beta.realtime
        Class SessionUpdatedEvent
- 
                    
                    
- All Implemented Interfaces:
 
public final class SessionUpdatedEventReturned when a session is updated with a
session.updateevent, unless there is an error. 
- 
                
                    
                    
- 
                                
                            
                                
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classSessionUpdatedEvent.BuilderA builder for SessionUpdatedEvent.
 
- 
                                
                            
                                
Method Summary
Modifier and Type Method Description final StringeventId()The unique ID of the server event. final Sessionsession()Realtime session object configuration. final JsonValue_type()The event type, must be session.updated.final JsonField<String>_eventId()Returns the raw JSON value of eventId. final JsonField<Session>_session()Returns the raw JSON value of session. final Map<String, JsonValue>_additionalProperties()final SessionUpdatedEvent.BuildertoBuilder()final SessionUpdatedEventvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static SessionUpdatedEvent.Builderbuilder()Returns a mutable builder for constructing an instance of SessionUpdatedEvent. - 
                    
                    
                    
- 
                                
                            
                                
Method Detail
- 
                                        
_type
final JsonValue _type()
The event type, must be
session.updated.Expected to always return the following:
JsonValue.from("session.updated")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
 
- 
                                        
_eventId
final 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.
 
- 
                                        
_session
final JsonField<Session> _session()
Returns the raw JSON value of session.
Unlike session, this method doesn't throw if the JSON field has an unexpected type.
 
- 
                                        
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
 
- 
                                        
toBuilder
final SessionUpdatedEvent.Builder toBuilder()
 
- 
                                        
validate
final SessionUpdatedEvent validate()
 
- 
                                        
builder
final static SessionUpdatedEvent.Builder builder()
Returns a mutable builder for constructing an instance of SessionUpdatedEvent.
The following fields are required:
.eventId() .session() 
 - 
                                        
 
 - 
                                
                            
                                
 
 - 
                    
                    
                    
 
 -