Class ResumePoint
- java.lang.Object
-
- se.michaelthelin.spotify.model_objects.AbstractModelObject
-
- se.michaelthelin.spotify.model_objects.specification.ResumePoint
-
- All Implemented Interfaces:
Serializable,IModelObject
public class ResumePoint extends AbstractModelObject
Retrieve information about Resume Point objects by building instances from this class.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classResumePoint.BuilderBuilder class for buildingResumePointinstances.static classResumePoint.JsonUtilJsonUtil class for buildingResumePointinstances.-
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 ResumePoint.Builderbuilder()Create a builder for building an instance of a model object.BooleangetFullyPlayed()Check whether the episode has been fully played by the user.IntegergetResumePositionMs()Get the user’s most recent position in the episode in milliseconds.StringtoString()Returns a String representation of this model object in the style:
-
-
-
Method Detail
-
getFullyPlayed
public Boolean getFullyPlayed()
Check whether the episode has been fully played by the user.- Returns:
- If
true, the episode has been fully played by the user.
-
getResumePositionMs
public Integer getResumePositionMs()
Get the user’s most recent position in the episode in milliseconds.- Returns:
- The user’s most recent position in the episode in milliseconds.
-
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 ResumePoint.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.
-
-