AdminCleanupChatSessionsRequest
Properties
Name |
Type |
Description |
Notes |
|---|---|---|---|
older_than_days |
int |
Delete chat sessions older than this many days. |
|
force |
bool |
If true, also deletes sessions with keep_forever set. |
[optional] [default to False] |
Example
from h2ogpte.rest_async.models.admin_cleanup_chat_sessions_request import AdminCleanupChatSessionsRequest
# TODO update the JSON string below
json = "{}"
# create an instance of AdminCleanupChatSessionsRequest from a JSON string
admin_cleanup_chat_sessions_request_instance = AdminCleanupChatSessionsRequest.from_json(json)
# print the JSON string representation of the object
print(AdminCleanupChatSessionsRequest.to_json())
# convert the object into a dict
admin_cleanup_chat_sessions_request_dict = admin_cleanup_chat_sessions_request_instance.to_dict()
# create an instance of AdminCleanupChatSessionsRequest from a dict
admin_cleanup_chat_sessions_request_from_dict = AdminCleanupChatSessionsRequest.from_dict(admin_cleanup_chat_sessions_request_dict)