public interface ISharedDriveItemRequest extends IHttpRequest
| Modifier and Type | Method and Description |
|---|---|
void |
delete()
Delete this item from the service
|
void |
delete(ICallback<? super SharedDriveItem> callback)
Delete this item from the service
|
ISharedDriveItemRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
SharedDriveItem |
get()
Gets the SharedDriveItem from the service
|
void |
get(ICallback<? super SharedDriveItem> callback)
Gets the SharedDriveItem from the service
|
SharedDriveItem |
patch(SharedDriveItem sourceSharedDriveItem)
Patches this SharedDriveItem with a source
|
void |
patch(SharedDriveItem sourceSharedDriveItem,
ICallback<? super SharedDriveItem> callback)
Patches this SharedDriveItem with a source
|
SharedDriveItem |
post(SharedDriveItem newSharedDriveItem)
Posts a SharedDriveItem with a new object
|
void |
post(SharedDriveItem newSharedDriveItem,
ICallback<? super SharedDriveItem> callback)
Posts a SharedDriveItem with a new object
|
SharedDriveItem |
put(SharedDriveItem newSharedDriveItem)
Posts a SharedDriveItem with a new object
|
void |
put(SharedDriveItem newSharedDriveItem,
ICallback<? super SharedDriveItem> callback)
Posts a SharedDriveItem with a new object
|
ISharedDriveItemRequest |
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 SharedDriveItem> callback)
callback - the callback to be called after success or failureSharedDriveItem get() throws ClientException
ClientException - this exception occurs if the request was unable to complete for any reasonvoid delete(ICallback<? super SharedDriveItem> callback)
callback - the callback when the deletion action has completedvoid delete()
throws ClientException
ClientException - if there was an exception during the delete operationvoid patch(SharedDriveItem sourceSharedDriveItem, ICallback<? super SharedDriveItem> callback)
sourceSharedDriveItem - the source object with updatescallback - the callback to be called after success or failureSharedDriveItem patch(SharedDriveItem sourceSharedDriveItem) throws ClientException
sourceSharedDriveItem - the source object with updatesClientException - this exception occurs if the request was unable to complete for any reasonvoid post(SharedDriveItem newSharedDriveItem, ICallback<? super SharedDriveItem> callback)
newSharedDriveItem - the new object to createcallback - the callback to be called after success or failureSharedDriveItem post(SharedDriveItem newSharedDriveItem) throws ClientException
newSharedDriveItem - the new object to createClientException - this exception occurs if the request was unable to complete for any reasonvoid put(SharedDriveItem newSharedDriveItem, ICallback<? super SharedDriveItem> callback)
newSharedDriveItem - the object to create/updatecallback - the callback to be called after success or failureSharedDriveItem put(SharedDriveItem newSharedDriveItem) throws ClientException
newSharedDriveItem - the object to create/updateClientException - this exception occurs if the request was unable to complete for any reasonISharedDriveItemRequest select(java.lang.String value)
value - the select clauseISharedDriveItemRequest expand(java.lang.String value)
value - the expand clause