public class DriveCollectionRequest extends BaseCollectionRequest<DriveCollectionResponse,IDriveCollectionPage> implements IDriveCollectionRequest
| Constructor and Description |
|---|
DriveCollectionRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
The request builder for this collection of Drive
|
| Modifier and Type | Method and Description |
|---|---|
IDriveCollectionPage |
buildFromResponse(DriveCollectionResponse response) |
IDriveCollectionRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
IDriveCollectionRequest |
filter(java.lang.String value)
Sets the filter clause for the request
|
IDriveCollectionPage |
get() |
void |
get(ICallback<? super IDriveCollectionPage> callback) |
IDriveCollectionRequest |
orderBy(java.lang.String value)
Sets the order by clause for the request
|
Drive |
post(Drive newDrive) |
void |
post(Drive newDrive,
ICallback<? super Drive> callback) |
IDriveCollectionRequest |
select(java.lang.String value)
Sets the select clause for the request
|
IDriveCollectionRequest |
skip(int value)
Sets the skip value for the request
|
IDriveCollectionRequest |
skipToken(java.lang.String skipToken)
Add Skip token for pagination
|
IDriveCollectionRequest |
top(int value)
Sets the top value for the request
|
addFunctionOption, addHeader, addQueryOption, getBaseRequest, getCollectionPageClass, getDelay, getHeaders, getHttpMethod, getHttpRequest, getHttpRequest, getHttpRequest, getMaxRedirects, getMaxRetries, getOptions, getRequestUrl, getShouldRedirect, getShouldRetry, getUseCaches, post, send, setDelay, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCaches, withHttpMethodclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddHeader, getDelay, getHeaders, getHttpMethod, getHttpRequest, getHttpRequest, getHttpRequest, getMaxRedirects, getMaxRetries, getOptions, getRequestUrl, getShouldRedirect, getShouldRetry, getUseCaches, setDelay, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCaches, withHttpMethodpublic DriveCollectionRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
requestUrl - the request URLclient - the service clientrequestOptions - the options for this requestpublic void get(ICallback<? super IDriveCollectionPage> callback)
get in interface IDriveCollectionRequestpublic IDriveCollectionPage get() throws ClientException
get in interface IDriveCollectionRequestClientExceptionpublic void post(Drive newDrive, ICallback<? super Drive> callback)
post in interface IDriveCollectionRequestpublic Drive post(Drive newDrive) throws ClientException
post in interface IDriveCollectionRequestClientExceptionpublic IDriveCollectionRequest expand(java.lang.String value)
expand in interface IDriveCollectionRequestvalue - the expand clausepublic IDriveCollectionRequest filter(java.lang.String value)
filter in interface IDriveCollectionRequestvalue - the filter clausepublic IDriveCollectionRequest orderBy(java.lang.String value)
orderBy in interface IDriveCollectionRequestvalue - the order by clausepublic IDriveCollectionRequest select(java.lang.String value)
select in interface IDriveCollectionRequestvalue - the select clausepublic IDriveCollectionRequest top(int value)
top in interface IDriveCollectionRequestvalue - the max number of items to returnpublic IDriveCollectionRequest skip(int value)
skip in interface IDriveCollectionRequestvalue - of the number of items to skippublic IDriveCollectionRequest skipToken(java.lang.String skipToken)
skipToken in interface IDriveCollectionRequestskipToken - - Token for paginationpublic IDriveCollectionPage buildFromResponse(DriveCollectionResponse response)