Class Actions
- java.lang.Object
-
- se.michaelthelin.spotify.model_objects.AbstractModelObject
-
- se.michaelthelin.spotify.model_objects.special.Actions
-
- All Implemented Interfaces:
Serializable,IModelObject
public class Actions extends AbstractModelObject
Retrieve information about Actions objects by building instances from this class. These objects contain information to allow to update the user interface based on which playback actions are available within the current context. These objects contain aDisallowsobject.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classActions.BuilderBuilder class for buildingActionsinstances.static classActions.JsonUtilJsonUtil class for buildingActionsinstances.-
Nested classes/interfaces inherited from interface se.michaelthelin.spotify.model_objects.IModelObject
IModelObject.IJsonUtil<T>
-
-
Constructor Summary
Constructors Constructor Description Actions(Actions.Builder builder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Actions.Builderbuilder()Create a builder for building an instance of a model object.DisallowsgetDisallows()Get the Disallows object.StringtoString()Returns a String representation of this model object in the style:
-
-
-
Constructor Detail
-
Actions
public Actions(Actions.Builder builder)
-
-
Method Detail
-
getDisallows
public Disallows getDisallows()
Get the Disallows object.- Returns:
- Disallows object.
-
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 Actions.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.
-
-