Class AlbumSimplified

    • Method Detail

      • getAlbumType

        public AlbumType getAlbumType()
        Get the type of the album.
        Returns:
        The AlbumType.
      • getAvailableMarkets

        public com.neovisionaries.i18n.CountryCode[] getAvailableMarkets()
        Get the country codes of all countries, in which the album is available.
        Returns:
        An array of ISO 3166-1 alpha-2 country codes.
      • getHref

        public java.lang.String getHref()
        Get the full Spotify Web API endpoint URL of the album.
        Returns:
        A Spotify Web API endpoint URL.
      • getId

        public java.lang.String getId()
        Get the Spotify ID of the album.
        Returns:
        A Spotify album ID.
      • getImages

        public Image[] getImages()
        Get the album cover art of the album in different sizes.
        Returns:
        An array of Image objects.
      • getName

        public java.lang.String getName()
        Get the name of the album.
        Returns:
        Album name.
      • getUri

        public java.lang.String getUri()
        Get the Spotify URI of the album.
        Returns:
        Spotify album URI.
      • builder

        public AlbumSimplified.Builder builder()
        Description copied from interface: IModelObject
        Create a builder for building an instance of a model object.
        The type of the builder and its methods depend on its corresponding implementation.
        Specified by:
        builder in interface IModelObject
        Returns:
        A builder object.