public abstract class FilesActivityRequest extends BaseFssApiResource
| Modifier and Type | Class and Description |
|---|---|
static class |
FilesActivityRequest.FilesActivityType |
UTF_8| Modifier and Type | Method and Description |
|---|---|
static FilesActivityRequest |
create(FssApiVersion apiVersion,
FilesActivityRequest.FilesActivityType activityType,
java.lang.String fsId,
java.lang.String pageToken,
java.lang.Integer pageSize,
PageAction pageAction,
java.lang.String language)
Returns a versioned FilesActivityRequest that is compatible with the specified apiVersion.
|
FilesActivityRequest.FilesActivityType |
getActivityType() |
java.lang.String |
getFsId() |
static java.lang.Class<? extends FilesActivityRequest> |
getFssApiClass(FssApiVersion apiVersion)
Returns the
Class of the FilesActivityRequest that corresponds to the
specified apiVersion. |
java.lang.String |
getLanguage() |
PageAction |
getPageAction() |
java.lang.Integer |
getPageSize() |
java.lang.String |
getPageToken() |
protected 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 FilesActivityRequest> getFssApiClass(FssApiVersion apiVersion) throws AwUnsupportedApiVersionException
Class of the FilesActivityRequest that corresponds to the
specified apiVersion.apiVersion - API version of the class to be returnedClass of the FilesActivityRequest that corresponds to the
specified apiVersionAwUnsupportedApiVersionExceptionpublic static FilesActivityRequest create(FssApiVersion apiVersion, FilesActivityRequest.FilesActivityType activityType, java.lang.String fsId, java.lang.String pageToken, java.lang.Integer pageSize, PageAction pageAction, java.lang.String language) throws AwUnsupportedApiVersionException
apiVersion - API version to be supported by the FilesActivityRequestactivityType - Type of file activity, must be either MODIFY, READ_LINK, or READfsId - Filesystem IDpageToken - 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)language - Locale in which activity strings should be returnedAwUnsupportedApiVersionExceptionpublic FilesActivityRequest.FilesActivityType getActivityType()
public java.lang.String getFsId()
public java.lang.String getPageToken()
public java.lang.Integer getPageSize()
public PageAction getPageAction()
public java.lang.String getLanguage()
protected void validate(java.lang.String fieldName,
BaseFssApiResource parent)
throws AwJsonException
BaseFssApiResourceBaseFssApiResource.validateRequiredField(String, BaseFssApiResource, String) for foo, and
BaseFssApiResource.validateOptionalField(String, BaseFssApiResource) for bar.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 occur