CreatePlaylistDto

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

Item ids to add to 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 = "MediaType")
val mediaType: MediaType?

The media type.

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

The name of the new playlist.

Link copied to clipboard
@SerialName(value = "UserId")
val userId: UUID?

The user id.

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

The playlist users.