UpdatePlaylistDto

@Serializable
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
@SerialName(value = "Ids")
val ids: List<UUID>?

Item ids of the playlist.

Link copied to clipboard
@SerialName(value = "IsPublic")
val isPublic: Boolean?

A value indicating whether the playlist is public.

Link copied to clipboard
@SerialName(value = "Name")
val name: String?

The name of the new playlist.

Link copied to clipboard
@SerialName(value = "Users")
val users: List<PlaylistUserPermissions>?

The playlist users.