SpotifyPublicUser

data class SpotifyPublicUser(externalUrlsString: Map<String, String>, href: String, id: String, uri: UserUri, displayName: String?, followers: Followers, images: List<SpotifyImage>, type: String) : CoreObject

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

SpotifyPublicUser
Link copied to clipboard
common
fun SpotifyPublicUser(externalUrlsString: Map<String, String>, href: String, id: String, uri: UserUri, displayName: String? = null, followers: Followers = Followers(null, -1), images: List<SpotifyImage> = listOf(), type: String)
The name displayed on the user’s profile.

Functions

getMembersThatNeedApiInstantiation
Link copied to clipboard
common
open override fun getMembersThatNeedApiInstantiation(): List<NeedsApi?>

Properties

api
Link copied to clipboard
common
lateinit var api: GenericSpotifyApi
The API client associated with the request
displayName
Link copied to clipboard
common
val displayName: String? = null
The name displayed on the user’s profile.
externalUrls
Link copied to clipboard
common
val externalUrls: List<ExternalUrl>
Known external URLs for this object
followers
Link copied to clipboard
common
val followers: Followers
Information about the followers of this user.
href
Link copied to clipboard
common
open override val href: String
A link to the Web API endpoint for this user.
id
Link copied to clipboard
common
open override val id: String
The Spotify user ID for this user.
images
Link copied to clipboard
common
val images: List<SpotifyImage>
The user’s profile image.
type
Link copied to clipboard
common
val type: String
The object type: “user”
uri
Link copied to clipboard
common
open override val uri: UserUri
The URI associated with the object

Sources

common source
Link copied to clipboard