Class ChatSessionChatKitConfigurationParam.History
-
- All Implemented Interfaces:
public final class ChatSessionChatKitConfigurationParam.History
Configuration for chat history retention. When omitted, history is enabled by default with no limit on recent_threads (null).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
ChatSessionChatKitConfigurationParam.History.Builder
A builder for History.
-
Method Summary
Modifier and Type Method Description final Optional<Boolean>
enabled()
Enables chat users to access previous ChatKit threads. final Optional<Long>
recentThreads()
Number of recent ChatKit threads users have access to. 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 ChatSessionChatKitConfigurationParam.History.Builder
toBuilder()
final ChatSessionChatKitConfigurationParam.History
validate()
final Boolean
isValid()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static ChatSessionChatKitConfigurationParam.History.Builder
builder()
Returns a mutable builder for constructing an instance of History. -
-
Method Detail
-
enabled
final Optional<Boolean> enabled()
Enables chat users to access previous ChatKit threads. Defaults to true.
-
recentThreads
final Optional<Long> recentThreads()
Number of recent ChatKit threads users have access to. Defaults to unlimited when unset.
-
_enabled
final 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.
-
_recentThreads
final 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.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final ChatSessionChatKitConfigurationParam.History.Builder toBuilder()
-
validate
final ChatSessionChatKitConfigurationParam.History validate()
-
builder
final static ChatSessionChatKitConfigurationParam.History.Builder builder()
Returns a mutable builder for constructing an instance of History.
-
-
-
-