Class PrivateUser
- java.lang.Object
-
- de.sonallux.spotify.api.models.BaseObject
-
- de.sonallux.spotify.api.models.PrivateUser
-
public class PrivateUser extends BaseObject
-
-
Field Summary
Fields Modifier and Type Field Description StringcountryThe country of the user, as set in the user's account profile.StringdisplayNameThe name displayed on the user's profile.StringemailThe user's email address, as entered by the user when creating their account.ExplicitContentSettingsexplicitContentThe user's explicit content settings.ExternalUrlexternalUrlsKnown external URLs for this user.FollowersfollowersInformation about the followers of the user.List<Image>imagesThe user's profile image.StringproductThe user's Spotify subscription level: "premium", "free", etc.-
Fields inherited from class de.sonallux.spotify.api.models.BaseObject
href, id, type, uri
-
-
Constructor Summary
Constructors Constructor Description PrivateUser()
-
-
-
Field Detail
-
country
public String country
The country of the user, as set in the user's account profile. An ISO 3166-1 alpha-2 country code. This field is only available when the current user has granted access to the user-read-private scope.
-
displayName
public String displayName
The name displayed on the user's profile.
nullif not available.
-
email
public String email
The user's email address, as entered by the user when creating their account. Important! This email address is unverified; there is no proof that it actually belongs to the user. This field is only available when the current user has granted access to the user-read-email scope.
-
explicitContent
public ExplicitContentSettings explicitContent
The user's explicit content settings. This field is only available when the current user has granted access to the user-read-private scope.
-
externalUrls
public ExternalUrl externalUrls
Known external URLs for this user.
-
followers
public Followers followers
Information about the followers of the user.
-
product
public String product
The user's Spotify subscription level: "premium", "free", etc. (The subscription level "open" can be considered the same as "free".) This field is only available when the current user has granted access to the user-read-private scope.
-
-