Collection
Extends
Collection
Properties
payload
payload: Collection;The underlying payload data for this resource
Inherited from
Bkper.Collection.payloadMethods
getBooks()
getBooks(): Book[];Returns
Book[]
All Books of this collection.
Inherited from
Bkper.Collection.getBooksgetId()
getId(): string;Returns
string
The id of this Collection
Inherited from
Bkper.Collection.getIdgetName()
getName(): string;Returns
string
The name of this Collection
Inherited from
Bkper.Collection.getNamejson()
json(): Collection;Gets an immutable copy of the JSON payload for this resource.
Returns
Collection
An immutable copy of the json payload
Inherited from
Bkper.Collection.jsonsetName()
setName(name): Collection;Sets the name of the Collection.
Parameters
| Parameter | Type |
|---|---|
name | string |
Returns
Collection
This Collection, for chainning.
Inherited from
Bkper.Collection.setNameupdate()
update(): Collection;Performs update Collection, applying pending changes.
Returns
Collection
The updated Collection object
Inherited from
Bkper.Collection.update