Class Playlist
- java.lang.Object
-
- de.sonallux.spotify.api.models.BaseObject
-
- de.sonallux.spotify.api.models.Playlist
-
public class Playlist extends BaseObject
-
-
Field Summary
Fields Modifier and Type Field Description boolean_publicThe playlist's public/private status:truethe playlist is public,falsethe playlist is private,nullthe playlist status is not relevant.booleancollaborativetrueif the owner allows other users to modify the playlist.StringdescriptionThe playlist description.ExternalUrlexternalUrlsKnown external URLs for this playlist.FollowersfollowersInformation about the followers of the playlist.List<Image>imagesImages for the playlist.StringnameThe name of the playlist.PublicUserownerThe user who owns the playlistStringsnapshotIdThe version identifier for the current playlist.Paging<PlaylistTrack>tracksThe tracks of the playlist.-
Fields inherited from class de.sonallux.spotify.api.models.BaseObject
href, id, type, uri
-
-
Constructor Summary
Constructors Constructor Description Playlist()
-
-
-
Field Detail
-
collaborative
public boolean collaborative
trueif the owner allows other users to modify the playlist.
-
description
public String description
The playlist description. Only returned for modified, verified playlists, otherwise
null.
-
externalUrls
public ExternalUrl externalUrls
Known external URLs for this playlist.
-
followers
public Followers followers
Information about the followers of the playlist.
-
images
public List<Image> 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
public String name
The name of the playlist.
-
owner
public PublicUser owner
The user who owns the playlist
-
_public
public boolean _public
The playlist's public/private status:
truethe playlist is public,falsethe playlist is private,nullthe playlist status is not relevant. For more about public/private status, see Working with Playlists
-
snapshotId
public String snapshotId
The version identifier for the current playlist. Can be supplied in other requests to target a specific playlist version
-
tracks
public Paging<PlaylistTrack> tracks
The tracks of the playlist.
-
-