public abstract class FileHistoryListingRequest extends BaseFssApiResource
UTF_8| Modifier and Type | Method and Description |
|---|---|
static FileHistoryListingRequest |
create(FssApiVersion apiVersion,
java.lang.String path,
java.lang.Boolean showPrivate,
java.lang.String pageToken,
java.lang.Integer pageSize,
PageAction pageAction)
Returns a versioned FileListVersionRequest that is compatible with the specified apiVersion.
|
static java.lang.Class<? extends FileHistoryListingRequest> |
getFssApiClass(FssApiVersion apiVersion)
Returns the
Class of the FileVersionListRequest that corresponds to the
specified apiVersion. |
PageAction |
getPageAction()
Returns the requested user action
|
java.lang.Integer |
getPageSize()
Returns the maximum number of entries requested.
|
java.lang.String |
getPageToken()
Returns the page token that identifies the next requested page of results.
|
java.lang.String |
getPath()
Returns the path to the file for which to return the version list.
|
java.lang.Boolean |
getShowPrivate()
Returns true if the request is for private history, false for shared history
|
void |
validate(java.lang.String fieldName,
BaseFssApiResource parent)
Validates this object.
|
badValue, badValue, fromJson, toJson, toJson, toString, validate, validateFieldInRange, validateFieldInRange, validateFieldIsNull, validateFieldNotNull, validateLocale, validateOptionalField, validateOptionalFieldList, validateRequiredField, validateRequiredFieldList, writeToOutputStreampublic static java.lang.Class<? extends FileHistoryListingRequest> getFssApiClass(FssApiVersion apiVersion) throws AwUnsupportedApiVersionException
Class of the FileVersionListRequest that corresponds to the
specified apiVersion.apiVersion - API version of the class to be returnedClass of the FileListVersionRequest that corresponds to the
specified apiVersionAwUnsupportedApiVersionExceptionpublic static FileHistoryListingRequest create(FssApiVersion apiVersion, java.lang.String path, java.lang.Boolean showPrivate, java.lang.String pageToken, java.lang.Integer pageSize, PageAction pageAction) throws AwUnsupportedApiVersionException
apiVersion - API version to be supported by the FileListVersionRequestpath - Path to the fileshowPrivate - If true, show private activity, else sharedpageToken - Token returned in last call to this API, or nullpageSize - Maximum number of entries to returnpageAction - Action to perform for this request (first, last, next, prev)AwUnsupportedApiVersionExceptionpublic void validate(java.lang.String fieldName,
BaseFssApiResource parent)
throws AwJsonException
validate in class BaseFssApiResourcefieldName - name of this object in the parent (containing) object. If this object is a
top-level object (not contained within another object), then enter null for this
parameterparent - parent (containing) object that contains the object specified in the fieldName
parameter. If this object is a top-level object (not contained within another
object), then enter null for this parameterAwJsonException - if any validation errors occurBaseFssApiResource.validate(String, BaseFssApiResource)public java.lang.String getPath()
public java.lang.Boolean getShowPrivate()
public java.lang.String getPageToken()
FileVersionListing that was returned from the previous
request.FileVersionListingpublic java.lang.Integer getPageSize()
public PageAction getPageAction()