IModelObjectpublic class User extends AbstractModelObject
null, depending on the scopes specified in the
authentication request.| Modifier and Type | Class | Description |
|---|---|---|
static class |
User.Builder |
Builder class for building
User instances. |
static class |
User.JsonUtil |
JsonUtil class for building
User instances. |
IModelObject.IJsonUtil<T>| Modifier and Type | Method | Description |
|---|---|---|
User.Builder |
builder() |
Create a builder for building an instance of a model object.
|
String |
getBirthdate() |
Get the users birthdate.
|
com.neovisionaries.i18n.CountryCode |
getCountry() |
Get the country code of the users set home country.
|
String |
getDisplayName() |
Get the users display name if available.
|
String |
getEmail() |
Get the users email address.
|
ExternalUrl |
getExternalUrls() |
Get the external URLs of the user.
|
Followers |
getFollowers() |
Get information about the followers of the user.
|
String |
getHref() |
Get the Spotify Web API endpoint URL of the user.
|
String |
getId() |
Get the Spotify ID of the user.
|
Image[] |
getImages() |
Get the profile image of the user in different sizes.
|
ProductType |
getProduct() |
Get the product type of the users account.
|
ModelObjectType |
getType() |
Get the model object type.
|
String |
getUri() |
Get the Spotify URI of the
user.
|
public String getBirthdate()
user-read-birthdate scope.public com.neovisionaries.i18n.CountryCode getCountry()
user-read-private
scope.public String getDisplayName()
null will be returned.null if not available.public String getEmail()
user-read-email
scope.public ExternalUrl getExternalUrls()
public Followers getFollowers()
public String getHref()
public String getId()
public Image[] getImages()
public ProductType getProduct()
user-read-private
scope.public ModelObjectType getType()
public String getUri()
public User.Builder builder()
IModelObjectCopyright © 2019. All rights reserved.