public abstract class FolderListingRequest extends BaseFssApiResource
| Modifier and Type | Class and Description |
|---|---|
static class |
FolderListingRequest.SortingCriterion |
static class |
FolderListingRequest.SortingDirection |
UTF_8| Modifier and Type | Method and Description |
|---|---|
static FolderListingRequest |
create(FssApiVersion apiVersion,
java.io.InputStreamReader reader)
Constructs a FolderListingRequest from the JSON string representation contained in the
specified reader.
|
static FolderListingRequest |
create(FssApiVersion apiVersion,
java.lang.String path,
java.lang.String pageToken,
java.lang.Integer pageSize,
java.lang.Long viewAtTime,
java.lang.Boolean includeDeleted,
FolderListingRequest.SortingCriterion sortingCriterion,
FolderListingRequest.SortingDirection sortingDirection)
Returns a versioned FolderListingRequest that is compatible with the specified apiVersion.
|
static java.lang.Class<? extends FolderListingRequest> |
getFssApiClass(FssApiVersion apiVersion)
Returns the
Class of the FolderListingRequest that corresponds to the
specified apiVersion. |
java.lang.Boolean |
getIncludeDeleted()
Returns whether to include deleted items in the response.
|
java.lang.Integer |
getPageSize()
Returns the maximum number of entries requested.
|
java.lang.String |
getPageToken()
Returns the page token that identifies the next requested page of results.
|
java.lang.String |
getPath()
Returns the path of the folder whose contents are being requested.
|
FolderListingRequest.SortingCriterion |
getSortingCriterion() |
FolderListingRequest.SortingDirection |
getSortingDirection() |
java.lang.Long |
getViewAtTime()
Returns the time in milliseconds since 12:00:00 AM January 1, 1970, to view 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 FolderListingRequest> getFssApiClass(FssApiVersion apiVersion) throws AwUnsupportedApiVersionException
Class of the FolderListingRequest that corresponds to the
specified apiVersion.apiVersion - API version of the class to be returnedClass of the FolderListRequest that corresponds to the
specified apiVersionAwUnsupportedApiVersionExceptionpublic static FolderListingRequest create(FssApiVersion apiVersion, java.lang.String path, java.lang.String pageToken, java.lang.Integer pageSize, java.lang.Long viewAtTime, java.lang.Boolean includeDeleted, FolderListingRequest.SortingCriterion sortingCriterion, FolderListingRequest.SortingDirection sortingDirection) throws AwUnsupportedApiVersionException
apiVersion - API version to be supported by the FolderListingRequestpath - path of the folder to listpageToken - the token returned in the previous list of resultspageSize - the number of results that will be returned by a request. If there are
additional folder listing results, you use the pageToken provided to request the
next page of resultsviewAtTime - the time at which to view the directory, in the number of milliseconds
since 12:00:00 AM January 1, 1970. Mutually exclusive with includeDeletedincludeDeleted - whether to include deleted items in the output of the listing. Mutually
exclusive with viewAtTimeAwUnsupportedApiVersionExceptionpublic static FolderListingRequest create(FssApiVersion apiVersion, java.io.InputStreamReader reader) throws AwJsonException, AwUnsupportedApiVersionException
apiVersion - API version of the object to be readreader - contains the JSON string representation of a FolderListingRequestAwJsonExceptionAwUnsupportedApiVersionExceptionpublic 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 getPath()
public java.lang.String getPageToken()
FolderListing that was returned from the previous request.FolderListingpublic java.lang.Integer getPageSize()
public java.lang.Long getViewAtTime()
public java.lang.Boolean getIncludeDeleted()
public FolderListingRequest.SortingCriterion getSortingCriterion()
public FolderListingRequest.SortingDirection getSortingDirection()