SimpleArtist

data class SimpleArtist(externalUrlsString: Map<String, String>, href: String, id: String, uri: SpotifyUri, name: String, type: String) : CoreObject

Simplified Artist object that can be used to retrieve a full Artist

Parameters

href

A link to the Web API endpoint providing full details of the artist.

id

The Spotify ID for the artist.

name

The name of the artist

type

The object type: "artist"

Constructors

SimpleArtist
Link copied to clipboard
common
fun SimpleArtist(externalUrlsString: Map<String, String>, href: String, id: String, uri: SpotifyUri, name: String, type: String)
A link to the Web API endpoint providing full details of the artist.

Functions

component2
Link copied to clipboard
common
operator fun component2(): String
component3
Link copied to clipboard
common
operator fun component3(): String
component4
Link copied to clipboard
common
operator fun component4(): SpotifyUri
component5
Link copied to clipboard
common
operator fun component5(): String
component6
Link copied to clipboard
common
operator fun component6(): String
copy
Link copied to clipboard
common
fun copy(externalUrlsString: Map<String, String>, href: String, id: String, uri: SpotifyUri, name: String, type: String): SimpleArtist
equals
Link copied to clipboard
common
open operator override fun equals(other: Any?): Boolean
getMembersThatNeedApiInstantiation
Link copied to clipboard
common
open override fun getMembersThatNeedApiInstantiation(): List<NeedsApi?>
hashCode
Link copied to clipboard
common
open override fun hashCode(): Int
toFullArtist
Link copied to clipboard
common
suspend fun toFullArtist(): Artist?
Converts this SimpleArtist into a full Artist object
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
externalUrls
Link copied to clipboard
common
val externalUrls: List<ExternalUrl>
Known external URLs for this object
href
Link copied to clipboard
common
open override val href: String
A link to the Web API endpoint providing full details of the artist.
id
Link copied to clipboard
common
open override val id: String
The Spotify ID for the artist.
name
Link copied to clipboard
common
val name: String
The name of the artist
type
Link copied to clipboard
common
val type: String
The object type: "artist"
uri
Link copied to clipboard
common
open override val uri: SpotifyUri
The URI associated with the object

Sources

(source)
Link copied to clipboard