Class ListItemVersionListParser

java.lang.Object
com.amilesend.onedrive.parse.resource.parser.ListItemVersionListParser
All Implemented Interfaces:
GsonParser<List<ListItemVersion>>

public class ListItemVersionListParser extends Object implements GsonParser<List<ListItemVersion>>
Parses a response body that contains a list of ListItemVersions.

API Documentation

See Also:
  • Constructor Details

    • ListItemVersionListParser

      public ListItemVersionListParser(String siteId, String listId, String listItemId)
  • Method Details

    • parse

      public List<ListItemVersion> parse(@NonNull com.google.gson.Gson gson, @NonNull InputStream jsonStream)
      Description copied from interface: GsonParser
      Deserializes a JSON-formatted input stream to the defined POJO type.
      Specified by:
      parse in interface GsonParser<List<ListItemVersion>>
      Parameters:
      gson - the Gson instance used to deserialize the string
      jsonStream - stream with expected JSON-formatted contents
      Returns:
      the parsed POJO instance