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