Class PlaylistTrack.JsonUtil

java.lang.Object
se.michaelthelin.spotify.model_objects.AbstractModelObject.JsonUtil<PlaylistTrack>
se.michaelthelin.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 Details

    • JsonUtil

      public JsonUtil()
  • Method Details

    • createModelObject

      public PlaylistTrack createModelObject(com.google.gson.JsonObject jsonObject)
      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.