Class FeaturedPlaylists
- java.lang.Object
-
- com.wrapper.spotify.model_objects.AbstractModelObject
-
- com.wrapper.spotify.model_objects.special.FeaturedPlaylists
-
- All Implemented Interfaces:
IModelObject
public class FeaturedPlaylists extends AbstractModelObject
Retrieve information about Featured Playlist objects by building instances from this class.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFeaturedPlaylists.BuilderBuilder class for buildingFeaturedPlaylistsinstances.static classFeaturedPlaylists.JsonUtilJsonUtil class for buildingFeaturedPlaylistsinstances.-
Nested classes/interfaces inherited from interface com.wrapper.spotify.model_objects.IModelObject
IModelObject.IJsonUtil<T>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FeaturedPlaylists.Builderbuilder()Create a builder for building an instance of a model object.StringgetMessage()Get the message which is displayed on the front page of the "browse" tab in the Spotify client.Paging<PlaylistSimplified>getPlaylists()Get the page of featured playlists.
-
-
-
Method Detail
-
getMessage
public String getMessage()
Get the message which is displayed on the front page of the "browse" tab in the Spotify client.
The message usually refers to the featured playlists.- Returns:
- A "welcoming" message.
-
getPlaylists
public Paging<PlaylistSimplified> getPlaylists()
Get the page of featured playlists.- Returns:
- Featured playlists page.
-
builder
public FeaturedPlaylists.Builder builder()
Description copied from interface:IModelObjectCreate a builder for building an instance of a model object.
The type of the builder and its methods depend on its corresponding implementation.- Returns:
- A builder object.
-
-