public interface IDriveRequest extends IHttpRequest
| Modifier and Type | Method and Description |
|---|---|
void |
delete()
Delete this item from the service
|
void |
delete(ICallback<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<Drive> callback)
Gets the Drive from the service
|
Drive |
patch(Drive sourceDrive)
Patches this Drive with a source
|
void |
patch(Drive sourceDrive,
ICallback<Drive> callback)
Patches this Drive with a source
|
Drive |
post(Drive newDrive)
Posts a Drive with a new object
|
void |
post(Drive newDrive,
ICallback<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, getMaxRedirects, getMaxRetries, getOptions, getRequestUrl, getShouldRedirect, getShouldRetry, getUseCaches, setDelay, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCachesvoid get(ICallback<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<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<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<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 reasonIDriveRequest select(java.lang.String value)
value - the select clauseIDriveRequest expand(java.lang.String value)
value - the expand clause