Class Device.JsonUtil

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

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

  • Method Details

    • createModelObject

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