Class PrivateUser

java.lang.Object
de.sonallux.spotify.api.models.BaseObject
de.sonallux.spotify.api.models.PrivateUser

public class PrivateUser extends BaseObject
PrivateUserObject
  • Field Details

    • 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. null if 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.

    • images

      public List<Image> images

      The user's profile image.

    • 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.

  • Constructor Details

    • PrivateUser

      public PrivateUser()