Package com.openai.models.beta.realtime
        Class SessionUpdateEvent.Session.MaxResponseOutputTokens
- 
                    
                    - All Implemented Interfaces:
 
 public final class SessionUpdateEvent.Session.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 SummaryNested Classes Modifier and Type Class Description public interfaceSessionUpdateEvent.Session.MaxResponseOutputTokens.VisitorAn interface that defines how to map each variant of MaxResponseOutputTokens to a value of type T. 
 - 
                                
                            
                                Method SummaryModifier 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(SessionUpdateEvent.Session.MaxResponseOutputTokens.Visitor<T> visitor)final SessionUpdateEvent.Session.MaxResponseOutputTokensvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static SessionUpdateEvent.Session.MaxResponseOutputTokensofInteger(Long integer)final static SessionUpdateEvent.Session.MaxResponseOutputTokensofInf()- 
                    
                    
                    - 
                                
                            
                                Method Detail- 
                                        acceptfinal <T extends Any> T accept(SessionUpdateEvent.Session.MaxResponseOutputTokens.Visitor<T> visitor) 
 - 
                                        validatefinal SessionUpdateEvent.Session.MaxResponseOutputTokens validate() 
 - 
                                        ofIntegerfinal static SessionUpdateEvent.Session.MaxResponseOutputTokens ofInteger(Long integer) 
 - 
                                        ofInffinal static SessionUpdateEvent.Session.MaxResponseOutputTokens ofInf() 
 
- 
                                        
 
- 
                                
                            
                                
 
- 
                    
                    
                    
 
-