UpdatePlaylistDto

data class UpdatePlaylistDto(val name: String? = null, val ids: List<UUID>? = null, val users: List<PlaylistUserPermissions>? = null, val isPublic: Boolean? = null)

Update existing playlist dto. Fields set to null will not be updated and keep their current values.

Constructors

Link copied to clipboard
constructor(name: String? = null, ids: List<UUID>? = null, users: List<PlaylistUserPermissions>? = null, isPublic: Boolean? = null)

Properties

Link copied to clipboard
val ids: List<UUID>? = null

Item ids of the playlist.

Link copied to clipboard
val isPublic: Boolean? = null

A value indicating whether the playlist is public.

Link copied to clipboard
val name: String? = null

The name of the new playlist.

Link copied to clipboard

The playlist users.