Class DriveItemVersionListParser
java.lang.Object
com.amilesend.onedrive.parse.resource.parser.DriveItemVersionListParser
- All Implemented Interfaces:
com.amilesend.client.parse.parser.GsonParser<List<DriveItemVersion>>
public class DriveItemVersionListParser
extends Object
implements com.amilesend.client.parse.parser.GsonParser<List<DriveItemVersion>>
Parses a response body that contains a list of
DriveItemVersion
s.
Example response body:
{ "value": [ { "id": "3.0", "lastModifiedBy": { "user": { "id": "CE251278-EF9E-4FE5-833C-1D89EEAE68E0", "displayName": "Ryan Gregg" } }, "lastModifiedDateTime": "2017-09-14T12:34:53.912Z", "size": 123 }, { "id": "2.0", "lastModifiedBy": { "user": { "id": "CE251278-EF9E-4FE5-833C-1D89EEAE68E0", "displayName": "Ryan Gregg" } }, "lastModifiedDateTime": "2017-09-11T10:21:03.000Z", "size": 62 }, { "id": "1.0", "lastModifiedBy": { "user": { "id": "CE251278-EF9E-4FE5-833C-1D89EEAE68E0", "displayName": "Ryan Gregg" } }, "lastModifiedDateTime": "2017-09-10T15:20:01.125Z", "size": 16 } ] }API Documentation
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionparse
(@NonNull com.google.gson.Gson gson, @NonNull InputStream jsonStream) Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.amilesend.client.parse.parser.GsonParser
parse
-
Method Details
-
parse
public List<DriveItemVersion> parse(@NonNull com.google.gson.Gson gson, @NonNull InputStream jsonStream) - Specified by:
parse
in interfacecom.amilesend.client.parse.parser.GsonParser<List<DriveItemVersion>>
-