public abstract class PathMetadataGetRequest extends BaseFssApiResource
UTF_8| Modifier and Type | Method and Description |
|---|---|
static PathMetadataGetRequest |
create(FssApiVersion apiVersion,
java.io.InputStreamReader reader)
Constructs a PathMetadataGetRequest from the JSON string representation contained in the
reader.
|
static PathMetadataGetRequest |
create(FssApiVersion apiVersion,
java.lang.String path,
java.lang.Boolean includeDeleted)
Returns a versioned PathMetadataGetRequest that is compatible with the specified apiVersion.
|
static java.lang.Class<? extends PathMetadataGetRequest> |
getFssApiClass(FssApiVersion apiVersion)
Returns the
Class of the PathMetadataGetRequest that corresponds to the
specified apiVersion. |
java.lang.Boolean |
getIncludeDeleted() |
java.lang.String |
getPath()
Returns the path of the file or folder that you are getting metadata about.
|
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 PathMetadataGetRequest> getFssApiClass(FssApiVersion apiVersion) throws AwUnsupportedApiVersionException
Class of the PathMetadataGetRequest that corresponds to the
specified apiVersion.apiVersion - API version of the class to be returnedClass of the PathMetadataGetRequest that corresponds to the
specified apiVersionAwUnsupportedApiVersionExceptionpublic static PathMetadataGetRequest create(FssApiVersion apiVersion, java.lang.String path, java.lang.Boolean includeDeleted) throws AwUnsupportedApiVersionException
apiVersion - API version to be supported by the PathMetadataGetRequestpath - path of the file or folder which you are getting metadata aboutincludeDeleted - whether to include deleted itemAwUnsupportedApiVersionExceptionpublic static PathMetadataGetRequest create(FssApiVersion apiVersion, java.io.InputStreamReader reader) throws AwJsonException, AwUnsupportedApiVersionException
apiVersion - API version of the object to be read from the readerreader - contains the JSON string representation of a PathMetadataGetRequestAwJsonExceptionAwUnsupportedApiVersionExceptionpublic java.lang.String getPath()
public java.lang.Boolean getIncludeDeleted()
protected 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)