public class DriveItemVersionCollectionRequest extends BaseCollectionRequest<DriveItemVersionCollectionResponse,IDriveItemVersionCollectionPage> implements IDriveItemVersionCollectionRequest
| Constructor and Description |
|---|
DriveItemVersionCollectionRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
The request builder for this collection of DriveItemVersion
|
| Modifier and Type | Method and Description |
|---|---|
IDriveItemVersionCollectionPage |
buildFromResponse(DriveItemVersionCollectionResponse response) |
IDriveItemVersionCollectionRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
IDriveItemVersionCollectionRequest |
filter(java.lang.String value)
Sets the filter clause for the request
|
IDriveItemVersionCollectionPage |
get() |
void |
get(ICallback<? super IDriveItemVersionCollectionPage> callback) |
IDriveItemVersionCollectionRequest |
orderBy(java.lang.String value)
Sets the order by clause for the request
|
DriveItemVersion |
post(DriveItemVersion newDriveItemVersion) |
void |
post(DriveItemVersion newDriveItemVersion,
ICallback<? super DriveItemVersion> callback) |
IDriveItemVersionCollectionRequest |
select(java.lang.String value)
Sets the select clause for the request
|
IDriveItemVersionCollectionRequest |
skip(int value)
Sets the skip value for the request
|
IDriveItemVersionCollectionRequest |
skipToken(java.lang.String skipToken)
Add Skip token for pagination
|
IDriveItemVersionCollectionRequest |
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 DriveItemVersionCollectionRequest(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 IDriveItemVersionCollectionPage> callback)
get in interface IDriveItemVersionCollectionRequestpublic IDriveItemVersionCollectionPage get() throws ClientException
get in interface IDriveItemVersionCollectionRequestClientExceptionpublic void post(DriveItemVersion newDriveItemVersion, ICallback<? super DriveItemVersion> callback)
post in interface IDriveItemVersionCollectionRequestpublic DriveItemVersion post(DriveItemVersion newDriveItemVersion) throws ClientException
post in interface IDriveItemVersionCollectionRequestClientExceptionpublic IDriveItemVersionCollectionRequest expand(java.lang.String value)
expand in interface IDriveItemVersionCollectionRequestvalue - the expand clausepublic IDriveItemVersionCollectionRequest filter(java.lang.String value)
filter in interface IDriveItemVersionCollectionRequestvalue - the filter clausepublic IDriveItemVersionCollectionRequest orderBy(java.lang.String value)
orderBy in interface IDriveItemVersionCollectionRequestvalue - the order by clausepublic IDriveItemVersionCollectionRequest select(java.lang.String value)
select in interface IDriveItemVersionCollectionRequestvalue - the select clausepublic IDriveItemVersionCollectionRequest top(int value)
top in interface IDriveItemVersionCollectionRequestvalue - the max number of items to returnpublic IDriveItemVersionCollectionRequest skip(int value)
skip in interface IDriveItemVersionCollectionRequestvalue - of the number of items to skippublic IDriveItemVersionCollectionRequest skipToken(java.lang.String skipToken)
skipToken in interface IDriveItemVersionCollectionRequestskipToken - - Token for paginationpublic IDriveItemVersionCollectionPage buildFromResponse(DriveItemVersionCollectionResponse response)