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
|
IDriveSearchCollectionRequest |
filter(java.lang.String value)
Sets the filter clause for the request
|
IDriveSearchCollectionPage |
get() |
void |
get(ICallback<? super IDriveSearchCollectionPage> callback) |
IDriveSearchCollectionRequest |
orderBy(java.lang.String value)
Sets the order by clause for the request
|
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, getHttpRequest, getHttpRequest, getHttpRequest, getMaxRedirects, getMaxRetries, getOptions, getRequestUrl, getShouldRedirect, getShouldRetry, getUseCaches, post, send, setDelay, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCaches, withHttpMethod
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addHeader, getDelay, getHeaders, getHttpMethod, getHttpRequest, getHttpRequest, getHttpRequest, getMaxRedirects, getMaxRetries, getOptions, getRequestUrl, getShouldRedirect, getShouldRetry, getUseCaches, setDelay, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCaches, withHttpMethod
public 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<? super IDriveSearchCollectionPage> callback)
get
in interface IDriveSearchCollectionRequest
public IDriveSearchCollectionPage get() throws ClientException
get
in interface IDriveSearchCollectionRequest
ClientException
public IDriveSearchCollectionPage buildFromResponse(DriveSearchCollectionResponse response)
public IDriveSearchCollectionRequest select(java.lang.String value)
select
in interface IDriveSearchCollectionRequest
value
- the select clausepublic IDriveSearchCollectionRequest top(int value)
top
in interface IDriveSearchCollectionRequest
value
- the max number of items to returnpublic IDriveSearchCollectionRequest expand(java.lang.String value)
expand
in interface IDriveSearchCollectionRequest
value
- the expand clausepublic IDriveSearchCollectionRequest filter(java.lang.String value)
value
- the filter clausepublic IDriveSearchCollectionRequest orderBy(java.lang.String value)
value
- the order by clause