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
|
IDriveItemVersionCollectionPage |
get() |
void |
get(ICallback<IDriveItemVersionCollectionPage> callback) |
DriveItemVersion |
post(DriveItemVersion newDriveItemVersion) |
void |
post(DriveItemVersion newDriveItemVersion,
ICallback<DriveItemVersion> callback) |
IDriveItemVersionCollectionRequest |
select(java.lang.String value)
Sets the select clause for the request
|
IDriveItemVersionCollectionRequest |
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 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<IDriveItemVersionCollectionPage> callback)
get in interface IDriveItemVersionCollectionRequestpublic IDriveItemVersionCollectionPage get() throws ClientException
get in interface IDriveItemVersionCollectionRequestClientExceptionpublic void post(DriveItemVersion newDriveItemVersion, ICallback<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 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 IDriveItemVersionCollectionPage buildFromResponse(DriveItemVersionCollectionResponse response)