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.

Spotify: Working With Playlists

See Also:
  • Method Details

    • getSnapshotId

      public String getSnapshotId()
      Get the snapshot ID.
      Returns:
      The snapshot ID.
    • toString

      public String toString()
      Description copied from class: AbstractModelObject
      Returns a String representation of this model object in the style:

      ModelObject(attr1=value1, attr2=value2, ...)

      Specified by:
      toString in class AbstractModelObject
    • builder

      public SnapshotResult.Builder builder()
      Description copied from interface: IModelObject
      Create 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.