Class ChatSessionHistory
- 
                    
                    - All Implemented Interfaces:
 
 public final class ChatSessionHistoryHistory retention preferences returned for the session. 
- 
                
                    
                    - 
                                
                            
                                Nested Class SummaryNested Classes Modifier and Type Class Description public final classChatSessionHistory.BuilderA builder for ChatSessionHistory. 
 - 
                                
                            
                                Method SummaryModifier and Type Method Description final Booleanenabled()Indicates if chat history is persisted for the session. final Optional<Long>recentThreads()Number of prior threads surfaced in history views. final JsonField<Boolean>_enabled()Returns the raw JSON value of enabled. final JsonField<Long>_recentThreads()Returns the raw JSON value of recentThreads. final Map<String, JsonValue>_additionalProperties()final ChatSessionHistory.BuildertoBuilder()final ChatSessionHistoryvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ChatSessionHistory.Builderbuilder()Returns a mutable builder for constructing an instance of ChatSessionHistory. - 
                    
                    
                    - 
                                
                            
                                Method Detail- 
                                        recentThreadsfinal Optional<Long> recentThreads() Number of prior threads surfaced in history views. Defaults to null when all history is retained. 
 - 
                                        _enabledfinal JsonField<Boolean> _enabled() Returns the raw JSON value of enabled. Unlike enabled, this method doesn't throw if the JSON field has an unexpected type. 
 - 
                                        _recentThreadsfinal JsonField<Long> _recentThreads() Returns the raw JSON value of recentThreads. Unlike recentThreads, this method doesn't throw if the JSON field has an unexpected type. 
 - 
                                        _additionalPropertiesfinal Map<String, JsonValue> _additionalProperties() 
 - 
                                        toBuilderfinal ChatSessionHistory.Builder toBuilder() 
 - 
                                        validatefinal ChatSessionHistory validate() 
 - 
                                        builderfinal static ChatSessionHistory.Builder builder() Returns a mutable builder for constructing an instance of ChatSessionHistory. The following fields are required: .enabled() .recentThreads()
 
- 
                                        
 
- 
                                
                            
                                
 
- 
                    
                    
                    
 
-