Class PagingCursorbased.JsonUtil<X>
java.lang.Object
se.michaelthelin.spotify.model_objects.AbstractModelObject.JsonUtil<PagingCursorbased<X>>
se.michaelthelin.spotify.model_objects.specification.PagingCursorbased.JsonUtil<X>
- Type Parameters:
X
- The type of the objects contained in a paging object.
- All Implemented Interfaces:
IModelObject.IJsonUtil<PagingCursorbased<X>>
- Enclosing class:
PagingCursorbased<T>
public static final class PagingCursorbased.JsonUtil<X>
extends AbstractModelObject.JsonUtil<PagingCursorbased<X>>
JsonUtil class for building
PagingCursorbased
instances.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateModelObject
(com.google.gson.JsonObject jsonObject) Build a model object with the information given in a json object.Methods inherited from class se.michaelthelin.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.IJsonUtil
Build 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.
-