Package com.openai.models.realtime
        Class ResponseCreatedEvent
- 
                    
                    - All Implemented Interfaces:
 
 public final class ResponseCreatedEventReturned when a new Response is created. The first event of response creation, where the response is in an initial state of in_progress.
- 
                
                    
                    - 
                                
                            
                                Nested Class SummaryNested Classes Modifier and Type Class Description public final classResponseCreatedEvent.BuilderA builder for ResponseCreatedEvent. 
 - 
                                
                            
                                Method SummaryModifier and Type Method Description final StringeventId()The unique ID of the server event. final RealtimeResponseresponse()The response resource. final JsonValue_type()The event type, must be response.created.final JsonField<String>_eventId()Returns the raw JSON value of eventId. final JsonField<RealtimeResponse>_response()Returns the raw JSON value of response. final Map<String, JsonValue>_additionalProperties()final ResponseCreatedEvent.BuildertoBuilder()final ResponseCreatedEventvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ResponseCreatedEvent.Builderbuilder()Returns a mutable builder for constructing an instance of ResponseCreatedEvent. - 
                    
                    
                    - 
                                
                            
                                Method Detail- 
                                        responsefinal RealtimeResponse response() The response resource. 
 - 
                                        _typefinal JsonValue _type() The event type, must be response.created.Expected to always return the following: JsonValue.from("response.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. 
 - 
                                        _responsefinal JsonField<RealtimeResponse> _response() Returns the raw JSON value of response. Unlike response, this method doesn't throw if the JSON field has an unexpected type. 
 - 
                                        _additionalPropertiesfinal Map<String, JsonValue> _additionalProperties() 
 - 
                                        toBuilderfinal ResponseCreatedEvent.Builder toBuilder() 
 - 
                                        validatefinal ResponseCreatedEvent validate() 
 - 
                                        builderfinal static ResponseCreatedEvent.Builder builder() Returns a mutable builder for constructing an instance of ResponseCreatedEvent. The following fields are required: .eventId() .response()
 
- 
                                        
 
- 
                                
                            
                                
 
- 
                    
                    
                    
 
-