public interface IDriveItemVersionRequest extends IHttpRequest
| Modifier and Type | Method and Description |
|---|---|
void |
delete()
Delete this item from the service
|
void |
delete(ICallback<DriveItemVersion> callback)
Delete this item from the service
|
IDriveItemVersionRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
DriveItemVersion |
get()
Gets the DriveItemVersion from the service
|
void |
get(ICallback<DriveItemVersion> callback)
Gets the DriveItemVersion from the service
|
DriveItemVersion |
patch(DriveItemVersion sourceDriveItemVersion)
Patches this DriveItemVersion with a source
|
void |
patch(DriveItemVersion sourceDriveItemVersion,
ICallback<DriveItemVersion> callback)
Patches this DriveItemVersion with a source
|
DriveItemVersion |
post(DriveItemVersion newDriveItemVersion)
Posts a DriveItemVersion with a new object
|
void |
post(DriveItemVersion newDriveItemVersion,
ICallback<DriveItemVersion> callback)
Posts a DriveItemVersion with a new object
|
IDriveItemVersionRequest |
select(java.lang.String value)
Sets the select clause for the request
|
addHeader, getDelay, getHeaders, getHttpMethod, getMaxRedirects, getMaxRetries, getOptions, getRequestUrl, getShouldRedirect, getShouldRetry, getUseCaches, setDelay, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCachesvoid get(ICallback<DriveItemVersion> callback)
callback - the callback to be called after success or failureDriveItemVersion get() throws ClientException
ClientException - this exception occurs if the request was unable to complete for any reasonvoid delete(ICallback<DriveItemVersion> callback)
callback - the callback when the deletion action has completedvoid delete()
throws ClientException
ClientException - if there was an exception during the delete operationvoid patch(DriveItemVersion sourceDriveItemVersion, ICallback<DriveItemVersion> callback)
sourceDriveItemVersion - the source object with updatescallback - the callback to be called after success or failureDriveItemVersion patch(DriveItemVersion sourceDriveItemVersion) throws ClientException
sourceDriveItemVersion - the source object with updatesClientException - this exception occurs if the request was unable to complete for any reasonvoid post(DriveItemVersion newDriveItemVersion, ICallback<DriveItemVersion> callback)
newDriveItemVersion - the new object to createcallback - the callback to be called after success or failureDriveItemVersion post(DriveItemVersion newDriveItemVersion) throws ClientException
newDriveItemVersion - the new object to createClientException - this exception occurs if the request was unable to complete for any reasonIDriveItemVersionRequest select(java.lang.String value)
value - the select clauseIDriveItemVersionRequest expand(java.lang.String value)
value - the expand clause