public abstract class MultiDeletePathRequest extends BaseFssApiResource
UTF_8| Modifier and Type | Method and Description |
|---|---|
static MultiDeletePathRequest |
create(FssApiVersion apiVersion,
java.io.InputStreamReader reader)
Constructs a MultiDeletePathRequest from the JSON string representation contained in the
specified reader.
|
static MultiDeletePathRequest |
create(FssApiVersion apiVersion,
java.util.List<EntryIdentifier> entryList,
java.lang.Boolean recursive)
Returns a versioned MultiDeletePathRequest that is compatible with the specified apiVersion.
|
java.util.List<EntryIdentifier> |
getEntryList()
Returns the list of entries to delete.
|
static java.lang.Class<? extends MultiDeletePathRequest> |
getFssApiClass(FssApiVersion apiVersion)
Returns the
Class of the MultiDeletePathRequest that corresponds to the
specified apiVersion. |
java.lang.Boolean |
isRecursive()
For each entry in the list, if the entry is a folder, whether to recursively delete all the
contents of the folder.
|
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 MultiDeletePathRequest> getFssApiClass(FssApiVersion apiVersion) throws AwUnsupportedApiVersionException
Class of the MultiDeletePathRequest that corresponds to the
specified apiVersion.apiVersion - API version of the class to be returnedClass of the MultiDeletePathRequest that corresponds to the
specified apiVersionAwUnsupportedApiVersionExceptionpublic static MultiDeletePathRequest create(FssApiVersion apiVersion, java.util.List<EntryIdentifier> entryList, java.lang.Boolean recursive) throws AwUnsupportedApiVersionException
apiVersion - API version to be supported by the MultiDeletePathRequestentryList - the list of files or folders to delete.recursive - true indicates that the entries of under each entry in the list should be
recursively deleted. False indicates that the entries should not be recursively
deleted.AwUnsupportedApiVersionExceptionpublic static MultiDeletePathRequest create(FssApiVersion apiVersion, java.io.InputStreamReader reader) throws AwJsonException, AwUnsupportedApiVersionException
apiVersion - API version of the object to be read from readerreader - contains the JSON string representation of a MultiDeletePathRequestAwJsonExceptionAwUnsupportedApiVersionExceptionpublic void validate(java.lang.String fieldName,
BaseFssApiResource parent)
throws AwJsonException
BaseFssApiResource.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 occurpublic java.util.List<EntryIdentifier> getEntryList()
public java.lang.Boolean isRecursive()