Skip to content

Latest commit

 

History

History
35 lines (26 loc) · 1.52 KB

CategoryData.md

File metadata and controls

35 lines (26 loc) · 1.52 KB

CategoryData

A category as returned to clients. id is the system-generated stable key.

Properties

Name Type Description Notes
id str Category id (system-generated, stable)
name str The category's display name.
description str What belongs in this category. The classifier matches documents against this text, so it is functional, not decorative. [optional] [default to '']
document_count int How many documents are filed under it. [optional] [default to 0]
scope str 'kb' = user-created in this kb; 'tenant' = global preset (read-only) [optional] [default to 'kb']
editable bool False for tenant-global preset categories (read-only) [optional] [default to True]

Example

from everos_cloud.models.category_data import CategoryData

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

# convert the object into a dict
category_data_dict = category_data_instance.to_dict()
# create an instance of CategoryData from a dict
category_data_from_dict = CategoryData.from_dict(category_data_dict)

[Back to Model list] [Back to API list] [Back to README]