public class FolderListing extends BaseFssApiResource
Entries in a folder, that are
returned as single page of results. The list also contains a page token, which is used to get the
next page of entries.UTF_8| Modifier and Type | Method and Description |
|---|---|
static FolderListing |
create(FssApiVersion apiVersion,
java.lang.String pageToken,
java.util.List<Entry> entries)
Returns a versioned FolderListing that is compatible with the specified apiVersion.
|
java.util.List<Entry> |
getEntries()
Returns a page of
Entrys in the folder. |
static java.lang.Class<? extends FolderListing> |
getFssApiClass(FssApiVersion apiVersion)
Returns the
Class of the FolderListing that corresponds to the specified
apiVersion. |
java.lang.String |
getPageToken()
Returns the page token that was returned from the request.
|
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 FolderListing> getFssApiClass(FssApiVersion apiVersion)
Class of the FolderListing that corresponds to the specified
apiVersion.apiVersion - API version of the class to be returnedClass of the FolderListing that corresponds to the specified
apiVersionpublic static FolderListing create(FssApiVersion apiVersion, java.lang.String pageToken, java.util.List<Entry> entries) throws AwUnsupportedApiVersionException
apiVersion - API version to be supported by the FolderListingpageToken - token used to get the next page of folder listing resultsentries - a list of Entries that represent a page
of folder listing resultsAwUnsupportedApiVersionExceptionpublic 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 getPageToken()
FolderListingRequest in order to retrieve the
next page of the folder's contents. If this value is null, then there are no more pages; i.e.
this is the last page.FolderListingRequest, or null if there are no
more pagesFolderListingRequest