Skip to content

Latest commit

 

History

History
43 lines (34 loc) · 2.15 KB

Collection.md

File metadata and controls

43 lines (34 loc) · 2.15 KB

Collection

Collection of scores

Properties

Name Type Description Notes
id str Unique identifier of the collection [optional]
title str The title of the collection [optional]
html_url str The url where the collection can be viewed in a web browser [optional]
type CollectionType [optional]
privacy CollectionPrivacy [optional]
sharing_key str The private sharing key of the collection (available when the `privacy` mode is set to `privateLink`) [optional]
app CollectionApp [optional]
creation_date datetime The date when the collection was created [optional]
user UserPublicSummary [optional]
organization str If the score has been created in an organization, the identifier of this organization. [optional]
rights ResourceRights [optional]
collaborators List[ResourceCollaborator] The list of the collaborators of the collection [optional]
capabilities CollectionCapabilities
collections List[str] The List of parent collections, which includes all the collections this score is included. Please note that you might not have access to all of them. [optional]

Example

from flat_api.models.collection import Collection

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

# convert the object into a dict
collection_dict = collection_instance.to_dict()
# create an instance of Collection from a dict
collection_form_dict = collection.from_dict(collection_dict)

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