Class Track.JsonUtil

java.lang.Object
com.wrapper.spotify.model_objects.AbstractModelObject.JsonUtil<Track>
com.wrapper.spotify.model_objects.specification.Track.JsonUtil
All Implemented Interfaces:
IModelObject.IJsonUtil<Track>
Enclosing class:
Track

public static final class Track.JsonUtil
extends AbstractModelObject.JsonUtil<Track>
JsonUtil class for building Track instances.
  • Constructor Details

  • Method Details

    • createModelObject

      public Track 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.