UpdatePromptTemplatePrivacyRequest

Properties

Name

Type

Description

Notes

is_public

bool

A flag specifying whether a prompt template is private or public.

Example

from h2ogpte.rest_sync.models.update_prompt_template_privacy_request import UpdatePromptTemplatePrivacyRequest

# TODO update the JSON string below
json = "{}"
# create an instance of UpdatePromptTemplatePrivacyRequest from a JSON string
update_prompt_template_privacy_request_instance = UpdatePromptTemplatePrivacyRequest.from_json(json)
# print the JSON string representation of the object
print(UpdatePromptTemplatePrivacyRequest.to_json())

# convert the object into a dict
update_prompt_template_privacy_request_dict = update_prompt_template_privacy_request_instance.to_dict()
# create an instance of UpdatePromptTemplatePrivacyRequest from a dict
update_prompt_template_privacy_request_from_dict = UpdatePromptTemplatePrivacyRequest.from_dict(update_prompt_template_privacy_request_dict)