CreatePlaylistDto

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

Create new playlist dto.

Constructors

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

Properties

Link copied to clipboard
val ids: List<UUID>

Item ids to add to the playlist.

Link copied to clipboard

A value indicating whether the playlist is public.

Link copied to clipboard
val mediaType: MediaType? = null

The media type.

Link copied to clipboard

The name of the new playlist.

Link copied to clipboard
val userId: UUID? = null

The user id.

Link copied to clipboard

The playlist users.