Package-level declarations

Types

Link copied to clipboard
@Serializable
data class Album(val albumType: String, val totalTracks: Int, val availableMarkets: List<String>, val externalUrls: ExternalUrls, val href: String, val id: String, val images: List<ImageObject>, val isPlayable: Boolean = false, val name: String, val releaseDate: String, val releaseDatePrecision: String, val restrictions: Restrictions? = null, val type: String, val uri: String, val artists: List<SimplifiedArtistObject>)
Link copied to clipboard
@Serializable
data class AudioFeaturesObject(val acousticness: Double? = null, val analysisUrl: String? = null, val danceability: Double? = null, val durationMs: Int? = null, val energy: Double? = null, val id: String? = null, val instrumentalness: Double? = null, val key: Int? = null, val liveness: Double? = null, val loudness: Double? = null, val mode: Int? = null, val speechiness: Double? = null, val tempo: Double? = null, val timeSignature: Int? = null, val trackHref: String? = null, val type: String? = null, val uri: String? = null, val valence: Double? = null)
Link copied to clipboard
Link copied to clipboard
@Serializable
data class Recommendations(val seeds: List<RecommendationSeedObject> = emptyList(), val tracks: List<TrackObject> = emptyList())
Link copied to clipboard
@Serializable
data class RecommendationSeedObject(val afterFilteringSize: Int? = null, val afterRelinkingSize: Int? = null, val href: String? = null, val id: String? = null, val initialPoolSize: Int? = null, val type: String? = null)
Link copied to clipboard
@Serializable
data class SavedTrackObject(val addedAt: String, val track: Track)
Link copied to clipboard
@Serializable
data class Track(val album: Album? = null, val artists: List<SimplifiedArtistObject> = listOf(), val availableMarkets: List<String> = listOf(), val discNumber: Int? = null, val durationMs: Int? = null, val explicit: Boolean? = null, val externalIds: ExternalIds? = null, val externalUrls: ExternalUrls? = null, val href: String? = null, val id: String? = null, val isPlayable: Boolean? = null, val linkedFrom: LinkedFrom? = null, val restrictions: Restrictions? = null, val name: String? = null, val popularity: Int? = null, val previewUrl: String? = null, val trackNumber: Int? = null, val type: String? = null, val uri: String? = null, val isLocal: Boolean? = null) : PlaybackItem
Link copied to clipboard
@Serializable
data class TrackObject(val album: Album? = null, val artists: List<SimplifiedArtistObject> = listOf(), val availableMarkets: List<String> = listOf(), val discNumber: Int? = null, val durationMs: Int? = null, val explicit: Boolean? = null, val externalIds: ExternalIds? = null, val externalUrls: ExternalUrls? = null, val href: String? = null, val id: String? = null, val isPlayable: Boolean? = null, val linkedFrom: LinkedFrom? = null, val restrictions: Restrictions? = null, val name: String? = null, val popularity: Int? = null, val previewUrl: String? = null, val trackNumber: Int? = null, val type: String? = null, val uri: String? = null, val isLocal: Boolean? = null) : PlaybackItem
Link copied to clipboard
@Serializable
data class Tracks(val tracks: List<TrackObject>)
Link copied to clipboard
@Serializable
data class TracksAudioAnalysis(val meta: Meta = Meta(), val track: TrackAnalysis = TrackAnalysis(), val bars: List<Bars> = emptyList(), val beats: List<Beats> = emptyList(), val sections: List<Sections> = emptyList(), val segments: List<Segments> = emptyList(), val tatums: List<Tatums> = emptyList())
Link copied to clipboard
@Serializable
data class TracksAudioFeatures(val audioFeatures: List<AudioFeaturesObject>)
Link copied to clipboard
@Serializable
data class UsersSavedTrack(val href: String, val limit: Int, val next: String?, val offset: Int, val previous: String?, val total: Int, val items: List<SavedTrackObject>)