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