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