Class SavedAlbum
- java.lang.Object
-
- com.wrapper.spotify.model_objects.AbstractModelObject
-
- com.wrapper.spotify.model_objects.specification.SavedAlbum
-
- All Implemented Interfaces:
IModelObject
public class SavedAlbum extends AbstractModelObject
Retrieve information about Saved Album objects by building instances from this class.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSavedAlbum.BuilderBuilder class for buildingSavedAlbuminstances.static classSavedAlbum.JsonUtilJsonUtil class for buildingSavedAlbuminstances.-
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 SavedAlbum.Builderbuilder()Create a builder for building an instance of a model object.DategetAddedAt()Get the date, when the album has been saved.AlbumgetAlbum()Get information about the album from a saved album object.
-
-
-
Method Detail
-
getAddedAt
public Date getAddedAt()
Get the date, when the album has been saved.- Returns:
- The date and time the album was saved.
-
getAlbum
public Album getAlbum()
Get information about the album from a saved album object.- Returns:
- Information about the album.
-
builder
public SavedAlbum.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.
-
-