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