public class DriveRecentCollectionRequest extends BaseCollectionRequest<DriveRecentCollectionResponse,IDriveRecentCollectionPage> implements IDriveRecentCollectionRequest
| Constructor and Description |
|---|
DriveRecentCollectionRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
The request for this DriveRecent
|
| Modifier and Type | Method and Description |
|---|---|
IDriveRecentCollectionPage |
buildFromResponse(DriveRecentCollectionResponse response) |
IDriveRecentCollectionRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
IDriveRecentCollectionRequest |
filter(java.lang.String value)
Sets the filter clause for the request
|
IDriveRecentCollectionPage |
get() |
void |
get(ICallback<? super IDriveRecentCollectionPage> callback) |
IDriveRecentCollectionRequest |
orderBy(java.lang.String value)
Sets the order by clause for the request
|
IDriveRecentCollectionRequest |
select(java.lang.String value)
Sets the select clause for the request
|
IDriveRecentCollectionRequest |
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 DriveRecentCollectionRequest(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 IDriveRecentCollectionPage> callback)
get in interface IDriveRecentCollectionRequestpublic IDriveRecentCollectionPage get() throws ClientException
get in interface IDriveRecentCollectionRequestClientExceptionpublic IDriveRecentCollectionPage buildFromResponse(DriveRecentCollectionResponse response)
public IDriveRecentCollectionRequest select(java.lang.String value)
select in interface IDriveRecentCollectionRequestvalue - the select clausepublic IDriveRecentCollectionRequest top(int value)
top in interface IDriveRecentCollectionRequestvalue - the max number of items to returnpublic IDriveRecentCollectionRequest expand(java.lang.String value)
expand in interface IDriveRecentCollectionRequestvalue - the expand clausepublic IDriveRecentCollectionRequest filter(java.lang.String value)
value - the filter clausepublic IDriveRecentCollectionRequest orderBy(java.lang.String value)
value - the order by clause