Package com.openai.models.realtime
        Class RealtimeResponseStatus.Error
- 
                    
                    
- All Implemented Interfaces:
 
public final class RealtimeResponseStatus.ErrorA description of the error that caused the response to fail, populated when the
statusisfailed. 
- 
                
                    
                    
- 
                                
                            
                                
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classRealtimeResponseStatus.Error.BuilderA builder for Error.
 
- 
                                
                            
                                
Method Summary
Modifier and Type Method Description final Optional<String>code()Error code, if any. final Optional<String>type()The type of error. final JsonField<String>_code()Returns the raw JSON value of code. final JsonField<String>_type()Returns the raw JSON value of type. final Map<String, JsonValue>_additionalProperties()final RealtimeResponseStatus.Error.BuildertoBuilder()final RealtimeResponseStatus.Errorvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static RealtimeResponseStatus.Error.Builderbuilder()Returns a mutable builder for constructing an instance of Error. - 
                    
                    
                    
- 
                                
                            
                                
Method Detail
- 
                                        
_code
final JsonField<String> _code()
Returns the raw JSON value of code.
Unlike code, this method doesn't throw if the JSON field has an unexpected type.
 
- 
                                        
_type
final JsonField<String> _type()
Returns the raw JSON value of type.
Unlike type, this method doesn't throw if the JSON field has an unexpected type.
 
- 
                                        
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
 
- 
                                        
toBuilder
final RealtimeResponseStatus.Error.Builder toBuilder()
 
- 
                                        
validate
final RealtimeResponseStatus.Error validate()
 
- 
                                        
builder
final static RealtimeResponseStatus.Error.Builder builder()
Returns a mutable builder for constructing an instance of Error.
 
 - 
                                        
 
 - 
                                
                            
                                
 
 - 
                    
                    
                    
 
 -