Class SessionCreatedEvent
- 
                    
                    - All Implemented Interfaces:
 
 public final class SessionCreatedEventReturned when a Session is created. Emitted automatically when a new connection is established as the first server event. This event will contain the default Session configuration. 
- 
                
                    
                    - 
                                
                            
                                Nested Class SummaryNested Classes Modifier and Type Class Description public final classSessionCreatedEvent.BuilderA builder for SessionCreatedEvent. public final classSessionCreatedEvent.SessionThe session configuration. 
 - 
                                
                            
                                Method SummaryModifier and Type Method Description final StringeventId()The unique ID of the server event. final SessionCreatedEvent.Sessionsession()The session configuration. final JsonValue_type()The event type, must be session.created.final JsonField<String>_eventId()Returns the raw JSON value of eventId. final JsonField<SessionCreatedEvent.Session>_session()Returns the raw JSON value of session. final Map<String, JsonValue>_additionalProperties()final SessionCreatedEvent.BuildertoBuilder()final SessionCreatedEventvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static SessionCreatedEvent.Builderbuilder()Returns a mutable builder for constructing an instance of SessionCreatedEvent. - 
                    
                    
                    - 
                                
                            
                                Method Detail- 
                                        sessionfinal SessionCreatedEvent.Session session() The session configuration. 
 - 
                                        _typefinal JsonValue _type() The event type, must be session.created.Expected to always return the following: JsonValue.from("session.created")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value). 
 - 
                                        _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. 
 - 
                                        _sessionfinal JsonField<SessionCreatedEvent.Session> _session() Returns the raw JSON value of session. Unlike session, this method doesn't throw if the JSON field has an unexpected type. 
 - 
                                        _additionalPropertiesfinal Map<String, JsonValue> _additionalProperties() 
 - 
                                        toBuilderfinal SessionCreatedEvent.Builder toBuilder() 
 - 
                                        validatefinal SessionCreatedEvent validate() 
 - 
                                        builderfinal static SessionCreatedEvent.Builder builder() Returns a mutable builder for constructing an instance of SessionCreatedEvent. The following fields are required: .eventId() .session()
 
- 
                                        
 
- 
                                
                            
                                
 
- 
                    
                    
                    
 
-