SimplePlaylist

constructor(externalUrlsString: Map<String, String>, href: String, id: String, uri: SpotifyUri, collaborative: Boolean, images: List<SpotifyImage>? = null, name: String, description: String? = null, owner: SpotifyPublicUser, primaryColor: String? = null, public: Boolean? = null, snapshotIdString: String, tracks: PlaylistTrackInfo, type: String)(source)

Parameters

collaborative

Returns true if context is not search and the owner allows other users to modify the playlist. Otherwise returns false.

href

A link to the Web API endpoint providing full details of the playlist.

id

The Spotify ID for the playlist.

images

Images for the playlist. The array may be empty or contain up to three images. The images are returned by size in descending order. See Working with Playlists. Note: If returned, the source URL for the image ( url ) is temporary and will expire in less than a day.

name

The name of the playlist.

owner

The user who owns the playlist

primaryColor

Unknown.

public

The playlist’s public/private status: true the playlist is public, false the playlist is private, null the playlist status is not relevant.

tracks

A collection containing a link ( href ) to the Web API endpoint where full details of the playlist’s tracks can be retrieved, along with the total number of tracks in the playlist.

type

The object type: “playlist”

description

The playlist description. Only returned for modified, verified playlists, otherwise null.