SpotifyPublicUser

@Serializable
data class SpotifyPublicUser(externalUrlsString: Map<String, String>, val href: String, val id: String, val uri: UserUri, val displayName: String? = null, val followers: Followers = Followers(null, -1), val images: List<SpotifyImage> = listOf(), val type: String) : CoreObject(source)

Public information about a Spotify user

Parameters

displayName

The name displayed on the user’s profile. null if not available.

followers

Information about the followers of this user.

href

A link to the Web API endpoint for this user.

id

The Spotify user ID for this user.

images

The user’s profile image.

type

The object type: “user”

Constructors

Link copied to clipboard
constructor(externalUrlsString: Map<String, String>, href: String, id: String, uri: UserUri, displayName: String? = null, followers: Followers = Followers(null, -1), images: List<SpotifyImage> = listOf(), type: String)

Properties

Link copied to clipboard
@Transient
lateinit var api: GenericSpotifyApi

The API client associated with the request

Link copied to clipboard
@SerialName(value = "display_name")
val displayName: String? = null
Link copied to clipboard

Known external URLs for this object

Link copied to clipboard
Link copied to clipboard
open override val href: String
Link copied to clipboard
open override val id: String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val uri: UserUri

The URI associated with the object

Functions