public static class BoxRequestsFile.DeleteFileVersion extends BoxRequest<BoxVoid,BoxRequestsFile.DeleteFileVersion>
BoxRequest.BoxRequestHandler<R extends BoxRequest>, BoxRequest.ContentTypes, BoxRequest.MethodsJSON_OBJECT, mBodyMap, mContentType, mHeaderMap, mListener, mQueryMap, mRequestMethod, mRequestUrlString, mSession| Constructor and Description |
|---|
BoxRequestsFile.DeleteFileVersion(java.lang.String versionId,
java.lang.String requestUrl,
BoxSession session)
Creates a delete old file version request with the default parameters
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getVersionId()
Returns the id of the file version to delete.
|
buildUrl, createHttpRequest, createQuery, getIfMatchEtag, getIfNoneMatchEtag, getRequestHandler, getSession, getStringBody, importRequestContentMapsFrom, logDebug, logRequest, parseHashMapEntry, parseJsonObject, send, setBody, setContentType, setHeaders, setIfMatchEtag, setIfNoneMatchEtag, setRequestHandler, setTimeOut, toTaskpublic BoxRequestsFile.DeleteFileVersion(java.lang.String versionId,
java.lang.String requestUrl,
BoxSession session)
versionId - id of the version to deleterequestUrl - URL of the delete file version endpointsession - the authenticated session that will be used to make the request with