EditCollection

EditCollection

Collection edit parameter handler.

Constructor

# new EditCollection()

Used to handle collection edits. See NewCollection to handle new collection parameters.

Extends

Methods

# deleteCollection() → {EditCollection}

Deletes the collection.
Returns:
Type
EditCollection

# emptyCollection() → {EditCollection}

Deletes all the images in the collection.
Returns:
Type
EditCollection

# regenToken() → {EditCollection}

Regenerates the token of the collection.
Returns:
Type
EditCollection

# setDescription(description)

Parameters:
Name Type Description
description String Description of the collection.

# setPrivate(private)

Parameters:
Name Type Description
private Boolean Set this to true to set the collection private. Defaults to false.

# setTitle(title)

Sets the title of the collection.
Parameters:
Name Type Description
title String The title of the collection.