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

getMembersThatNeedApiInstantiation
Link copied to clipboard
common
open override fun getMembersThatNeedApiInstantiation(): List<NeedsApi?>
toFullArtist
Link copied to clipboard
common
suspend fun toFullArtist(): Artist?
Converts this SimpleArtist into a full Artist object
toFullArtistRestAction
Link copied to clipboard
common
fun toFullArtistRestAction(): SpotifyRestAction<Artist?>
Converts this SimpleArtist into a full Artist object

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

common source
Link copied to clipboard