Class SnapshotResult
- java.lang.Object
-
- se.michaelthelin.spotify.model_objects.AbstractModelObject
-
- se.michaelthelin.spotify.model_objects.special.SnapshotResult
-
- All Implemented Interfaces:
Serializable,IModelObject
public class SnapshotResult extends AbstractModelObject
Retrieve information about Snapshot Result objects by building instances from this class. These objects contain a playlist snapshot ID, which is created after adding or removing tracks from a playlist.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSnapshotResult.BuilderBuilder class for buildingSnapshotResultinstances.static classSnapshotResult.JsonUtilJsonUtil class for buildingSnapshotResultinstances.-
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 SnapshotResult.Builderbuilder()Create a builder for building an instance of a model object.StringgetSnapshotId()Get the snapshot ID.StringtoString()Returns a String representation of this model object in the style:
-
-
-
Method Detail
-
getSnapshotId
public String getSnapshotId()
Get the snapshot ID.- Returns:
- The snapshot ID.
-
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 SnapshotResult.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.
-
-