UpdateDefaultPromptTemplateVisibilityRequest

Properties

Name

Type

Description

Notes

is_visible

bool

A flag specifying whether the default prompt template should be visible or not.

Example

from h2ogpte.rest_async.models.update_default_prompt_template_visibility_request import UpdateDefaultPromptTemplateVisibilityRequest

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

# convert the object into a dict
update_default_prompt_template_visibility_request_dict = update_default_prompt_template_visibility_request_instance.to_dict()
# create an instance of UpdateDefaultPromptTemplateVisibilityRequest from a dict
update_default_prompt_template_visibility_request_from_dict = UpdateDefaultPromptTemplateVisibilityRequest.from_dict(update_default_prompt_template_visibility_request_dict)