public abstract class LinkBrowseRequest extends LinkRequestBase
accessCode, itemName, linkTokenUTF_8| Modifier and Type | Method and Description |
|---|---|
static LinkBrowseRequest |
create(FssApiVersion apiVersion,
java.lang.String linkToken,
java.lang.String itemName,
java.lang.String accessCode,
java.lang.String path,
java.lang.Integer pageSize,
java.lang.String pageToken,
FolderListingRequest.SortingCriterion sortingCriterion,
FolderListingRequest.SortingDirection sortingDirection)
Returns a versioned LinkBrowseRequest that is compatible with the specified apiVersion.
|
static java.lang.Class<? extends LinkBrowseRequest> |
getFssApiClass(FssApiVersion apiVersion)
Returns the
Class of the LinkBrowseRequest that corresponds to the
specified apiVersion. |
java.lang.Integer |
getPageSize()
Returns the page size for this page of a link to browse
|
java.lang.String |
getPageToken()
Returns the pageToken for the link to browse
|
java.lang.String |
getPath()
Returns the path to browse relative to the link
|
FolderListingRequest.SortingCriterion |
getSortingCriterion() |
FolderListingRequest.SortingDirection |
getSortingDirection() |
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 LinkBrowseRequest> getFssApiClass(FssApiVersion apiVersion) throws AwUnsupportedApiVersionException
Class of the LinkBrowseRequest that corresponds to the
specified apiVersion.apiVersion - API version of the class to be returnedClass of the LinkBrowseRequest that corresponds to the
specified apiVersionAwUnsupportedApiVersionExceptionpublic static LinkBrowseRequest create(FssApiVersion apiVersion, java.lang.String linkToken, java.lang.String itemName, java.lang.String accessCode, java.lang.String path, java.lang.Integer pageSize, java.lang.String pageToken, FolderListingRequest.SortingCriterion sortingCriterion, FolderListingRequest.SortingDirection sortingDirection) throws AwUnsupportedApiVersionException
apiVersion - API version to be supported by the LinkBrowseRequestpath - The path relative to the link root to browsepageToken - The pageToken for the link as supplied in a
LinkAwUnsupportedApiVersionExceptionprotected void validate(java.lang.String fieldName,
BaseFssApiResource parent)
throws AwJsonException
validate 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)public java.lang.String getPath()
public java.lang.String getPageToken()
public java.lang.Integer getPageSize()
public FolderListingRequest.SortingCriterion getSortingCriterion()
public FolderListingRequest.SortingDirection getSortingDirection()