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