Class PlaylistTrack.JsonUtil
java.lang.Object
com.wrapper.spotify.model_objects.AbstractModelObject.JsonUtil<PlaylistTrack>
com.wrapper.spotify.model_objects.specification.PlaylistTrack.JsonUtil
- All Implemented Interfaces:
IModelObject.IJsonUtil<PlaylistTrack>
- Enclosing class:
- PlaylistTrack
public static final class PlaylistTrack.JsonUtil extends AbstractModelObject.JsonUtil<PlaylistTrack>
JsonUtil class for building
PlaylistTrack instances.-
Constructor Summary
Constructors Constructor Description JsonUtil() -
Method Summary
Modifier and Type Method Description PlaylistTrackcreateModelObject(com.google.gson.JsonObject jsonObject)Build a model object with the information given in a json object.Methods inherited from class com.wrapper.spotify.model_objects.AbstractModelObject.JsonUtil
createModelObject, createModelObjectArray, createModelObjectArray, createModelObjectArray, createModelObjectArray, createModelObjectPaging, createModelObjectPaging, createModelObjectPaging, createModelObjectPagingCursorbased, createModelObjectPagingCursorbased, createModelObjectPagingCursorbased, hasAndNotNull
-
Constructor Details
-
JsonUtil
public JsonUtil()
-
-
Method Details
-
createModelObject
Description copied from interface:IModelObject.IJsonUtilBuild a model object with the information given in a json object.
The type of the model object and its methods depend on its corresponding implementation.- Parameters:
jsonObject- A json object.- Returns:
- A model object. The type depends on this methods implementation.
-