public class DriveItemCollectionRequest extends BaseCollectionRequest<DriveItemCollectionResponse,IDriveItemCollectionPage> implements IDriveItemCollectionRequest
| Constructor and Description |
|---|
DriveItemCollectionRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
The request builder for this collection of DriveItem
|
| Modifier and Type | Method and Description |
|---|---|
IDriveItemCollectionPage |
buildFromResponse(DriveItemCollectionResponse response) |
IDriveItemCollectionRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
IDriveItemCollectionRequest |
filter(java.lang.String value)
Sets the filter clause for the request
|
IDriveItemCollectionPage |
get() |
void |
get(ICallback<? super IDriveItemCollectionPage> callback) |
IDriveItemCollectionRequest |
orderBy(java.lang.String value)
Sets the order by clause for the request
|
DriveItem |
post(DriveItem newDriveItem) |
void |
post(DriveItem newDriveItem,
ICallback<? super DriveItem> callback) |
IDriveItemCollectionRequest |
select(java.lang.String value)
Sets the select clause for the request
|
IDriveItemCollectionRequest |
skip(int value)
Sets the skip value for the request
|
IDriveItemCollectionRequest |
skipToken(java.lang.String skipToken)
Add Skip token for pagination
|
IDriveItemCollectionRequest |
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 DriveItemCollectionRequest(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 IDriveItemCollectionPage> callback)
get in interface IDriveItemCollectionRequestpublic IDriveItemCollectionPage get() throws ClientException
get in interface IDriveItemCollectionRequestClientExceptionpublic void post(DriveItem newDriveItem, ICallback<? super DriveItem> callback)
post in interface IDriveItemCollectionRequestpublic DriveItem post(DriveItem newDriveItem) throws ClientException
post in interface IDriveItemCollectionRequestClientExceptionpublic IDriveItemCollectionRequest expand(java.lang.String value)
expand in interface IDriveItemCollectionRequestvalue - the expand clausepublic IDriveItemCollectionRequest filter(java.lang.String value)
filter in interface IDriveItemCollectionRequestvalue - the filter clausepublic IDriveItemCollectionRequest orderBy(java.lang.String value)
orderBy in interface IDriveItemCollectionRequestvalue - the order by clausepublic IDriveItemCollectionRequest select(java.lang.String value)
select in interface IDriveItemCollectionRequestvalue - the select clausepublic IDriveItemCollectionRequest top(int value)
top in interface IDriveItemCollectionRequestvalue - the max number of items to returnpublic IDriveItemCollectionRequest skip(int value)
skip in interface IDriveItemCollectionRequestvalue - of the number of items to skippublic IDriveItemCollectionRequest skipToken(java.lang.String skipToken)
skipToken in interface IDriveItemCollectionRequestskipToken - - Token for paginationpublic IDriveItemCollectionPage buildFromResponse(DriveItemCollectionResponse response)