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