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