Package com.openai.models.beta.realtime
        Class ResponseCreateEvent.Response.MaxResponseOutputTokens
- 
                    
                    
- All Implemented Interfaces:
 
public final class ResponseCreateEvent.Response.MaxResponseOutputTokensMaximum number of output tokens for a single assistant response, inclusive of tool calls. Provide an integer between 1 and 4096 to limit output tokens, or
inffor the maximum available tokens for a given model. Defaults toinf. 
- 
                
                    
                    
- 
                                
                            
                                
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceResponseCreateEvent.Response.MaxResponseOutputTokens.VisitorAn interface that defines how to map each variant of MaxResponseOutputTokens to a value of type T.
 
- 
                                
                            
                                
Method Summary
Modifier and Type Method Description final Optional<Long>integer()final Optional<JsonValue>inf()final BooleanisInteger()final BooleanisInf()final LongasInteger()final JsonValueasInf()final Optional<JsonValue>_json()final <T extends Any> Taccept(ResponseCreateEvent.Response.MaxResponseOutputTokens.Visitor<T> visitor)final ResponseCreateEvent.Response.MaxResponseOutputTokensvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ResponseCreateEvent.Response.MaxResponseOutputTokensofInteger(Long integer)final static ResponseCreateEvent.Response.MaxResponseOutputTokensofInf()- 
                    
                    
                    
- 
                                
                            
                                
Method Detail
- 
                                        
accept
final <T extends Any> T accept(ResponseCreateEvent.Response.MaxResponseOutputTokens.Visitor<T> visitor)
 
- 
                                        
validate
final ResponseCreateEvent.Response.MaxResponseOutputTokens validate()
 
- 
                                        
ofInteger
final static ResponseCreateEvent.Response.MaxResponseOutputTokens ofInteger(Long integer)
 
- 
                                        
ofInf
final static ResponseCreateEvent.Response.MaxResponseOutputTokens ofInf()
 
 - 
                                        
 
 - 
                                
                            
                                
 
 - 
                    
                    
                    
 
 -