Skip to content

Latest commit

 

History

History
39 lines (30 loc) · 1.62 KB

File metadata and controls

39 lines (30 loc) · 1.62 KB

CollectionListItem

Properties

Name Type Description Notes
collection_name str The name of the collection
description str The description of the collection
collection_scope str The scope of the collection
collection_owner str The owner of the collection
official_collection bool Whether the collection is maintained by RevEng.AI
collection_tags List[str] The tags of the collection [optional] [default to []]
collection_size int The size of the collection
collection_id int The ID of the collection
creation datetime The datetime of when the collection was created
model_name str The model being used for the collection
team_id int [optional]

Example

from revengai.models.collection_list_item import CollectionListItem

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

# convert the object into a dict
collection_list_item_dict = collection_list_item_instance.to_dict()
# create an instance of CollectionListItem from a dict
collection_list_item_from_dict = CollectionListItem.from_dict(collection_list_item_dict)

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