public class DriveSearchCollectionRequest extends BaseCollectionRequest<DriveSearchCollectionResponse,IDriveSearchCollectionPage> implements IDriveSearchCollectionRequest
| Constructor and Description |
|---|
DriveSearchCollectionRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
The request for this DriveSearch
|
| Modifier and Type | Method and Description |
|---|---|
IDriveSearchCollectionPage |
buildFromResponse(DriveSearchCollectionResponse response) |
IDriveSearchCollectionRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
IDriveSearchCollectionPage |
get() |
void |
get(ICallback<IDriveSearchCollectionPage> callback) |
IDriveSearchCollectionRequest |
select(java.lang.String value)
Sets the select clause for the request
|
IDriveSearchCollectionRequest |
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 DriveSearchCollectionRequest(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<IDriveSearchCollectionPage> callback)
get in interface IDriveSearchCollectionRequestpublic IDriveSearchCollectionPage get() throws ClientException
get in interface IDriveSearchCollectionRequestClientExceptionpublic IDriveSearchCollectionPage buildFromResponse(DriveSearchCollectionResponse response)
public IDriveSearchCollectionRequest select(java.lang.String value)
select in interface IDriveSearchCollectionRequestvalue - the select clausepublic IDriveSearchCollectionRequest top(int value)
top in interface IDriveSearchCollectionRequestvalue - the max number of items to returnpublic IDriveSearchCollectionRequest expand(java.lang.String value)
expand in interface IDriveSearchCollectionRequestvalue - the expand clause