Playlist

@Serializable
data class Playlist(val owner: User? = null, val cover: Cover? = null, val coverWithoutText: Cover? = null, val madeFor: MadeFor? = null, val playCounter: PlayCounter? = null, val idForFrom: GeneratedPlaylistType? = null, val urlPart: String? = null, val descriptionFormatted: String? = null, val backgroundVideoUrl: String? = null, val backgroundImageUrl: String? = null, val uid: Int, val kind: Int, val title: String, val description: String? = null, val trackCount: Int, val tags: List<String> = listOf(), val revision: Int, val snapshot: Int, val visibility: Visibility, val collective: Boolean, val created: Instant, val modified: Instant, val isBanner: Boolean, val isPremiere: Boolean, val everPlayed: Boolean? = null, val durationMs: Int? = null, val ogImageUri: String? = null, val tracks: List<TrackShort> = listOf())(source)

Constructors

Link copied to clipboard
constructor(owner: User? = null, cover: Cover? = null, coverWithoutText: Cover? = null, madeFor: MadeFor? = null, playCounter: PlayCounter? = null, idForFrom: GeneratedPlaylistType? = null, urlPart: String? = null, descriptionFormatted: String? = null, backgroundVideoUrl: String? = null, backgroundImageUrl: String? = null, uid: Int, kind: Int, title: String, description: String? = null, trackCount: Int, tags: List<String> = listOf(), revision: Int, snapshot: Int, visibility: Visibility, collective: Boolean, created: Instant, modified: Instant, isBanner: Boolean, isPremiere: Boolean, everPlayed: Boolean? = null, durationMs: Int? = null, ogImageUri: String? = null, tracks: List<TrackShort> = listOf())

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val cover: Cover? = null
Link copied to clipboard
val coverWithoutText: Cover? = null
Link copied to clipboard
val created: Instant
Link copied to clipboard
val description: String? = null
Link copied to clipboard
Link copied to clipboard
val durationMs: Int? = null
Link copied to clipboard
val everPlayed: Boolean? = null
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val kind: Int
Link copied to clipboard
val madeFor: MadeFor? = null
Link copied to clipboard
val modified: Instant
Link copied to clipboard
@SerialName(value = "ogImage")
val ogImageUri: String? = null
Link copied to clipboard
val owner: User? = null
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val uid: Int
Link copied to clipboard
val urlPart: String? = null
Link copied to clipboard

Functions

Link copied to clipboard
suspend fun fetchTracks(client: YaMusicApiClient): List<TrackData>?
Link copied to clipboard
Link copied to clipboard