de.sonallux.spotify.api.models.Playlist Maven / Gradle / Ivy
Show all versions of spotify-web-api-java Show documentation
package de.sonallux.spotify.api.models;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import lombok.*;
/**
* PlaylistObject
*/
@Getter
@Setter
@NoArgsConstructor
@JsonTypeInfo(use = JsonTypeInfo.Id.NONE) // Disable deserialization based on @JsonTypeInfo
public class Playlist extends BaseObject {
/**
* true
if the owner allows other users to modify the playlist.
*/
public boolean collaborative;
/**
* The playlist description. Only returned for modified, verified playlists, otherwise null
.
*/
public String description;
/**
* Known external URLs for this playlist.
*/
public ExternalUrl externalUrls;
/**
* Information about the followers of the playlist.
*/
public Followers followers;
/**
* 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.
*/
public java.util.List images;
/**
* The name of the playlist.
*/
public String name;
/**
* The user who owns the playlist
*/
public PlaylistOwner owner;
/**
* The playlist's public/private status (if it is added to the user's profile): true
the playlist is public, false
the playlist is private, null
the playlist status is not relevant. For more about public/private status, see Working with Playlists
*/
@lombok.experimental.Accessors(prefix = "_")
public boolean _public;
/**
* The version identifier for the current playlist. Can be supplied in other requests to target a specific playlist version
*/
public String snapshotId;
/**
* The tracks of the playlist.
*/
public Paging tracks;
}