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
|
ISharedDriveItemCollectionPage |
get() |
void |
get(ICallback<ISharedDriveItemCollectionPage> callback) |
SharedDriveItem |
post(SharedDriveItem newSharedDriveItem) |
void |
post(SharedDriveItem newSharedDriveItem,
ICallback<SharedDriveItem> callback) |
ISharedDriveItemCollectionRequest |
select(java.lang.String value)
Sets the select clause for the request
|
ISharedDriveItemCollectionRequest |
top(int value)
Sets the top value for the request
|
addFunctionOption, addHeader, addQueryOption, getBaseRequest, getCollectionPageClass, getDelay, getHeaders, getHttpMethod, getMaxRedirects, getMaxRetries, getOptions, getRequestUrl, getShouldRedirect, getShouldRetry, getUseCaches, post, send, setDelay, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCachespublic 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<ISharedDriveItemCollectionPage> callback)
get in interface ISharedDriveItemCollectionRequestpublic ISharedDriveItemCollectionPage get() throws ClientException
get in interface ISharedDriveItemCollectionRequestClientExceptionpublic void post(SharedDriveItem newSharedDriveItem, ICallback<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 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 ISharedDriveItemCollectionPage buildFromResponse(SharedDriveItemCollectionResponse response)