public abstract class LinkDeleteRequest extends BaseFssApiResource
UTF_8| Modifier and Type | Method and Description |
|---|---|
static LinkDeleteRequest |
create(FssApiVersion apiVersion,
java.io.InputStreamReader reader)
Constructs a LinkDeleteRequest from the JSON string representation contained in reader.
|
static LinkDeleteRequest |
create(FssApiVersion apiVersion,
java.lang.String url)
Returns a versioned LinkDeleteRequest that is compatible with the specified apiVersion.
|
static LinkDeleteRequest |
create(FssApiVersion apiVersion,
java.lang.String path,
java.lang.String url)
Returns a versioned LinkDeleteRequest that is compatible with the specified apiVersion.
|
static java.lang.Class<? extends LinkDeleteRequest> |
getFssApiClass(FssApiVersion apiVersion)
Returns the
Class of the LinkDeleteRequest that corresponds to the
specified apiVersion. |
java.lang.String |
getUrl()
Returns the url of the link.
|
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 LinkDeleteRequest> getFssApiClass(FssApiVersion apiVersion) throws AwUnsupportedApiVersionException
Class of the LinkDeleteRequest that corresponds to the
specified apiVersion.apiVersion - API version of the class to be returnedClass of the LinkDeleteRequest that corresponds to the
specified apiVersionAwUnsupportedApiVersionExceptionpublic static LinkDeleteRequest create(FssApiVersion apiVersion, java.lang.String path, java.lang.String url) throws AwUnsupportedApiVersionException
apiVersion - API version to be supported by the LinkDeleteRequestpath - path to the file or folderurl - url of the linkAwUnsupportedApiVersionExceptionpublic static LinkDeleteRequest create(FssApiVersion apiVersion, java.lang.String url) throws AwUnsupportedApiVersionException
apiVersion - API version to be supported by the LinkDeleteRequesturl - url of the linkAwUnsupportedApiVersionExceptionpublic static LinkDeleteRequest create(FssApiVersion apiVersion, java.io.InputStreamReader reader) throws AwJsonException, AwUnsupportedApiVersionException
apiVersion - API version of the object to be read from readerreader - contains the JSON representation of a LinkDeleteRequestAwJsonExceptionAwUnsupportedApiVersionExceptionpublic 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 getUrl()