Followers

@Serializable(with = FollowersSerializer::class)
data class Followers(val href: String? = null, val total: Int? = null)(source)

Information about a Spotify user's followers

Parameters

href

Will always be null, per the Spotify documentation, until the Web API is updated to support this.

total

Null or -1 if the user object does not contain followers, otherwise the amount of followers the user has

Constructors

Link copied to clipboard
constructor(href: String? = null, total: Int? = null)

Properties

Link copied to clipboard
val href: String? = null
Link copied to clipboard
@SerialName(value = "total")
val total: Int? = null