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