Class FeaturedPlaylists
- java.lang.Object
-
- se.michaelthelin.spotify.model_objects.AbstractModelObject
-
- se.michaelthelin.spotify.model_objects.special.FeaturedPlaylists
-
- All Implemented Interfaces:
Serializable,IModelObject
public class FeaturedPlaylists extends AbstractModelObject
Retrieve information about Featured Playlist objects by building instances from this class.- See Also:
- Serialized Form
-
-
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 se.michaelthelin.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.StringtoString()Returns a String representation of this model object in the style:
-
-
-
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.
-
toString
public String toString()
Description copied from class:AbstractModelObjectReturns a String representation of this model object in the style:ModelObject(attr1=value1, attr2=value2, ...)- Specified by:
toStringin classAbstractModelObject
-
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.
-
-