public interface IDriveItemRequest extends IHttpRequest
| Modifier and Type | Method and Description |
|---|---|
void |
delete()
Delete this item from the service
|
void |
delete(ICallback<? super DriveItem> callback)
Delete this item from the service
|
IDriveItemRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
DriveItem |
get()
Gets the DriveItem from the service
|
void |
get(ICallback<? super DriveItem> callback)
Gets the DriveItem from the service
|
DriveItem |
patch(DriveItem sourceDriveItem)
Patches this DriveItem with a source
|
void |
patch(DriveItem sourceDriveItem,
ICallback<? super DriveItem> callback)
Patches this DriveItem with a source
|
DriveItem |
post(DriveItem newDriveItem)
Posts a DriveItem with a new object
|
void |
post(DriveItem newDriveItem,
ICallback<? super DriveItem> callback)
Posts a DriveItem with a new object
|
DriveItem |
put(DriveItem newDriveItem)
Posts a DriveItem with a new object
|
void |
put(DriveItem newDriveItem,
ICallback<? super DriveItem> callback)
Posts a DriveItem with a new object
|
IDriveItemRequest |
select(java.lang.String value)
Sets the select clause for the request
|
addHeader, getDelay, getHeaders, getHttpMethod, getHttpRequest, getHttpRequest, getHttpRequest, getMaxRedirects, getMaxRetries, getOptions, getRequestUrl, getShouldRedirect, getShouldRetry, getUseCaches, setDelay, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCaches, withHttpMethodvoid get(ICallback<? super DriveItem> callback)
callback - the callback to be called after success or failureDriveItem get() throws ClientException
ClientException - this exception occurs if the request was unable to complete for any reasonvoid delete(ICallback<? super DriveItem> callback)
callback - the callback when the deletion action has completedvoid delete()
throws ClientException
ClientException - if there was an exception during the delete operationvoid patch(DriveItem sourceDriveItem, ICallback<? super DriveItem> callback)
sourceDriveItem - the source object with updatescallback - the callback to be called after success or failureDriveItem patch(DriveItem sourceDriveItem) throws ClientException
sourceDriveItem - the source object with updatesClientException - this exception occurs if the request was unable to complete for any reasonvoid post(DriveItem newDriveItem, ICallback<? super DriveItem> callback)
newDriveItem - the new object to createcallback - the callback to be called after success or failureDriveItem post(DriveItem newDriveItem) throws ClientException
newDriveItem - the new object to createClientException - this exception occurs if the request was unable to complete for any reasonvoid put(DriveItem newDriveItem, ICallback<? super DriveItem> callback)
newDriveItem - the object to create/updatecallback - the callback to be called after success or failureDriveItem put(DriveItem newDriveItem) throws ClientException
newDriveItem - the object to create/updateClientException - this exception occurs if the request was unable to complete for any reasonIDriveItemRequest select(java.lang.String value)
value - the select clauseIDriveItemRequest expand(java.lang.String value)
value - the expand clause