Package-level declarations

Types

Link copied to clipboard
@Serializable(with = BestSerializer::class)
data class Best(val type: QueryResponseType, val result: Any)
Link copied to clipboard
object BestSerializer : KSerializer<Best>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@Serializable
data class Search(val searchRequestId: String, val query: String, val misspellResult: String? = null, val misspellOriginal: String? = null, val isCorrect: Boolean? = null, val misspellCorrected: Boolean? = null, val best: Best? = null, val artists: SearchResult<Artist>? = null, val albums: SearchResult<Album>? = null, val playlist: SearchResult<Playlist>? = null, val tracks: SearchResult<TrackData>? = null, val videos: SearchResult<Video>? = null, val users: SearchResult<User>? = null, val podcasts: SearchResult<Album>? = null, val podcastsEpisodes: SearchResult<TrackData>? = null, val clips: SearchResult<Clip>? = null)
Link copied to clipboard
@Serializable
data class SearchResult<T>(val total: Int, val perPage: Int, val order: Int, val results: List<T>)
Link copied to clipboard
@Serializable
data class Suggestions(val best: Best? = null, val suggestions: List<String>)