Class User.JsonUtil
java.lang.Object
se.michaelthelin.spotify.model_objects.AbstractModelObject.JsonUtil<User>
se.michaelthelin.spotify.model_objects.specification.User.JsonUtil
- All Implemented Interfaces:
IModelObject.IJsonUtil<User>
- Enclosing class:
User
JsonUtil class for building
User
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.
-