Collection of scores
| Name | Type |
|---|---|
id |
string |
title |
string |
htmlUrl |
string |
type |
CollectionType |
labelKey |
string |
privacy |
CollectionPrivacy |
sharingKey |
string |
app |
CollectionApp |
creationDate |
Date |
modificationDate |
Date |
user |
UserPublicSummary |
organization |
string |
rights |
ResourceRights |
collaborators |
Array<ResourceCollaborator> |
isPinned |
boolean |
contents |
CollectionContents |
capabilities |
CollectionCapabilities |
collections |
Array<string> |
import type { Collection } from 'flat-api'
// TODO: Update the object below with actual values
const example = {
"id": null,
"title": null,
"htmlUrl": null,
"type": null,
"labelKey": null,
"privacy": null,
"sharingKey": null,
"app": null,
"creationDate": null,
"modificationDate": null,
"user": null,
"organization": null,
"rights": null,
"collaborators": null,
"isPinned": null,
"contents": null,
"capabilities": null,
"collections": null,
} satisfies Collection
console.log(example)
// Convert the instance to a JSON string
const exampleJSON: string = JSON.stringify(example)
console.log(exampleJSON)
// Parse the JSON string back to an object
const exampleParsed = JSON.parse(exampleJSON) as Collection
console.log(exampleParsed)[Back to top] [Back to API list] [Back to Model list] [Back to README]