Class ListItemVersionInstanceCreator
java.lang.Object
com.amilesend.onedrive.parse.resource.creator.ListItemVersionInstanceCreator
- All Implemented Interfaces:
com.google.gson.InstanceCreator<ListItemVersion>
public class ListItemVersionInstanceCreator
extends Object
implements com.google.gson.InstanceCreator<ListItemVersion>
A custom
InstanceCreator
implementation that injects the OneDriveConnection
to the
resource type so that method operations can be performed on the ListItemVersion
resource.-
Constructor Summary
ConstructorsConstructorDescriptionListItemVersionInstanceCreator
(OneDriveConnection connection) Creates a newListItemVersionInstanceCreator
instance. -
Method Summary
Modifier and TypeMethodDescriptioncreateInstance
(Type type) Creates a newListItemVersion
with the current client connection instance.
-
Constructor Details
-
ListItemVersionInstanceCreator
Creates a newListItemVersionInstanceCreator
instance.- Parameters:
connection
- The current client connection instance.
-
-
Method Details
-
createInstance
Creates a newListItemVersion
with the current client connection instance.- Specified by:
createInstance
in interfacecom.google.gson.InstanceCreator<ListItemVersion>
-