Class ListItemVersionListParser
java.lang.Object
com.amilesend.onedrive.parse.resource.parser.ListItemVersionListParser
- All Implemented Interfaces:
GsonParser<List<ListItemVersion>>
Parses a response body that contains a list of
ListItemVersions.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classUsed to deserialize a response body that contains a list of list item versions. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionparse(@NonNull com.google.gson.Gson gson, @NonNull InputStream jsonStream) Deserializes a JSON-formatted input stream to the defined POJO type.
-
Constructor Details
-
ListItemVersionListParser
-
-
Method Details
-
parse
public List<ListItemVersion> parse(@NonNull com.google.gson.Gson gson, @NonNull InputStream jsonStream) Description copied from interface:GsonParserDeserializes a JSON-formatted input stream to the defined POJO type.- Specified by:
parsein interfaceGsonParser<List<ListItemVersion>>- Parameters:
gson- the Gson instance used to deserialize the stringjsonStream- stream with expected JSON-formatted contents- Returns:
- the parsed POJO instance
-