Package-level declarations

This is an internal package which contains data classes for API responses of Spotify playlist APIs.

Types

Link copied to clipboard
@Serializable
internal data class AdditionalTrackInfo(val externalUrls: ExternalUrls, val href: String, val id: String, val type: String, val uri: String)
Link copied to clipboard
@Serializable
internal data class FeaturedPlaylistsResponse(val message: String, val playlists: Playlists)
Link copied to clipboard
@Serializable
internal data class FollowersInfo(val href: String?, val total: Long)
Link copied to clipboard
@Serializable
internal data class Playlists(val href: String, val limit: Int, val next: String?, val offset: Int, val total: Int, val previous: String?, val items: List<PlaylistInfo>)
Link copied to clipboard
@Serializable
internal data class PlaylistTracksResponse(val href: String, val limit: Int, val next: String?, val offset: Int, val previous: String?, val total: Int, val items: List<TrackItem>)
Link copied to clipboard
@Serializable
internal data class RestrictionInfo(val reason: String)
Link copied to clipboard
@Serializable
internal data class TrackItem(val addedAt: String?, val isLocal: Boolean, val addedBy: AdditionalTrackInfo?, val primaryColor: String?, val trackInfo: TrackInfo, val videoThumbnail: VideoThumbnailInfo?)
Link copied to clipboard
@Serializable
internal data class VideoThumbnailInfo(val url: String?)