public abstract class LinkCopyToLocalRequest extends LinkRequestBase
accessCode, itemName, linkTokenUTF_8| Modifier and Type | Method and Description |
|---|---|
static LinkCopyToLocalRequest |
create(FssApiVersion apiVersion,
java.lang.String linkToken,
java.lang.String itemName,
java.lang.String accessCode,
java.util.List<java.lang.String> pathList,
java.lang.String destinationPath)
Returns a versioned LinkFolderCreateRequest that is compatible with the specified apiVersion.
|
java.lang.String |
getDestinationPath() |
static java.lang.Class<? extends LinkCopyToLocalRequest> |
getFssApiClass(FssApiVersion apiVersion)
Returns the
Class of the LinkFolderCreateRequest that corresponds to the
specified apiVersion. |
java.util.List<java.lang.String> |
getPathList() |
protected void |
validate(java.lang.String fieldName,
BaseFssApiResource parent)
Validates this object.
|
getAccessCode, getItemName, getLinkTokenbadValue, badValue, fromJson, toJson, toJson, toString, validate, validateFieldInRange, validateFieldInRange, validateFieldIsNull, validateFieldNotNull, validateLocale, validateOptionalField, validateOptionalFieldList, validateRequiredField, validateRequiredFieldList, writeToOutputStreampublic static java.lang.Class<? extends LinkCopyToLocalRequest> getFssApiClass(FssApiVersion apiVersion) throws AwUnsupportedApiVersionException
Class of the LinkFolderCreateRequest that corresponds to the
specified apiVersion.apiVersion - API version of the class to be returnedClass of the LinkFolderCreateRequest that corresponds to the
specified apiVersionAwUnsupportedApiVersionExceptionpublic static LinkCopyToLocalRequest create(FssApiVersion apiVersion, java.lang.String linkToken, java.lang.String itemName, java.lang.String accessCode, java.util.List<java.lang.String> pathList, java.lang.String destinationPath) throws AwUnsupportedApiVersionException
apiVersion - API version to be supported by the LinkFolderCreateRequestlinkToken - The token for the linkitemName - The name of the item pointed to by the linkaccessCode - Access code of the linkpathList - List of path to be copieddestinationPath - Destination path for files to be copied toAwUnsupportedApiVersionExceptionpublic java.util.List<java.lang.String> getPathList()
public java.lang.String getDestinationPath()
protected void validate(java.lang.String fieldName,
BaseFssApiResource parent)
throws AwJsonException
LinkRequestBasevalidate in class LinkRequestBasefieldName - 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)