Skip to content

Latest commit

History

History
33 lines (24 loc) · 1.33 KB

File metadata and controls

33 lines (24 loc) · 1.33 KB

CreateCollectionInputBody

Properties

NameTypeDescriptionNotes
binariesList[int]Optional binary IDs to link to the collection.[optional]
collection_namestrCollection name.
collection_scopestrVisibility scope.[default to 'PRIVATE']
descriptionstrCollection description.
tagsList[str]Optional tags to attach to the collection.[optional]

Example

fromrevengai.models.create_collection_input_bodyimportCreateCollectionInputBody# TODO update the JSON string belowjson="{}"# create an instance of CreateCollectionInputBody from a JSON stringcreate_collection_input_body_instance=CreateCollectionInputBody.from_json(json)
# print the JSON string representation of the objectprint(CreateCollectionInputBody.to_json())
# convert the object into a dictcreate_collection_input_body_dict=create_collection_input_body_instance.to_dict()
# create an instance of CreateCollectionInputBody from a dictcreate_collection_input_body_from_dict=CreateCollectionInputBody.from_dict(create_collection_input_body_dict)

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