SpotifyCategory

data class SpotifyCategory(href: String, id: String, icons: List<SpotifyImage>, name: String) : Identifiable

Spotify music category

Parameters

href

A link to the Web API endpoint returning full details of the category.

icons

The category icon, in various sizes.

id

The Spotify category ID of the category.

name

The name of the category.

Constructors

SpotifyCategory
Link copied to clipboard
common
fun SpotifyCategory(href: String, id: String, icons: List<SpotifyImage>, name: String)
A link to the Web API endpoint returning full details of the category.

Functions

component1
Link copied to clipboard
common
operator fun component1(): String
component2
Link copied to clipboard
common
operator fun component2(): String
component3
Link copied to clipboard
common
operator fun component3(): List<SpotifyImage>
component4
Link copied to clipboard
common
operator fun component4(): String
copy
Link copied to clipboard
common
fun copy(href: String, id: String, icons: List<SpotifyImage>, name: String): SpotifyCategory
equals
Link copied to clipboard
common
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
common
open override fun hashCode(): Int
toString
Link copied to clipboard
common
open override fun toString(): String

Properties

api
Link copied to clipboard
common
lateinit var api: GenericSpotifyApi
The API client associated with the request
href
Link copied to clipboard
common
open override val href: String
A link to the Web API endpoint returning full details of the category.
icons
Link copied to clipboard
common
val icons: List<SpotifyImage>
The category icon, in various sizes.
id
Link copied to clipboard
common
open override val id: String
The Spotify category ID of the category.
name
Link copied to clipboard
common
val name: String
The name of the category.

Sources

(source)
Link copied to clipboard