public class ListFoldersResult extends Object
DbxUserSharingRequests.listFolders(com.dropbox.core.v2.sharing.ListFoldersArgs)
or DbxUserSharingRequests.listMountableFolders(com.dropbox.core.v2.sharing.ListFoldersArgs)
, depending on which endpoint was
requested. Unmounted shared folders can be identified by the absence of
SharedFolderMetadata.getPathLower()
.Modifier and Type | Field and Description |
---|---|
protected String |
cursor |
protected List<SharedFolderMetadata> |
entries |
Constructor and Description |
---|
ListFoldersResult(List<SharedFolderMetadata> entries)
Result for
DbxUserSharingRequests.listFolders(com.dropbox.core.v2.sharing.ListFoldersArgs) or DbxUserSharingRequests.listMountableFolders(com.dropbox.core.v2.sharing.ListFoldersArgs) , depending on which endpoint
was requested. |
ListFoldersResult(List<SharedFolderMetadata> entries,
String cursor)
Result for
DbxUserSharingRequests.listFolders(com.dropbox.core.v2.sharing.ListFoldersArgs) or DbxUserSharingRequests.listMountableFolders(com.dropbox.core.v2.sharing.ListFoldersArgs) , depending on which endpoint
was requested. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getCursor()
Present if there are additional shared folders that have not been
returned yet.
|
List<SharedFolderMetadata> |
getEntries()
List of all shared folders the authenticated user has access to.
|
int |
hashCode() |
String |
toString() |
String |
toStringMultiline()
Returns a String representation of this object formatted for easier
readability.
|
protected final List<SharedFolderMetadata> entries
protected final String cursor
public ListFoldersResult(List<SharedFolderMetadata> entries, String cursor)
DbxUserSharingRequests.listFolders(com.dropbox.core.v2.sharing.ListFoldersArgs)
or DbxUserSharingRequests.listMountableFolders(com.dropbox.core.v2.sharing.ListFoldersArgs)
, depending on which endpoint
was requested. Unmounted shared folders can be identified by the absence
of SharedFolderMetadata.getPathLower()
.entries
- List of all shared folders the authenticated user has
access to. Must not contain a null
item and not be null
.cursor
- Present if there are additional shared folders that have
not been returned yet. Pass the cursor into the corresponding
continue endpoint (either DbxUserSharingRequests.listFoldersContinue(String)
or DbxUserSharingRequests.listMountableFoldersContinue(String)
) to list
additional folders.IllegalArgumentException
- If any argument does not meet its
preconditions.public ListFoldersResult(List<SharedFolderMetadata> entries)
DbxUserSharingRequests.listFolders(com.dropbox.core.v2.sharing.ListFoldersArgs)
or DbxUserSharingRequests.listMountableFolders(com.dropbox.core.v2.sharing.ListFoldersArgs)
, depending on which endpoint
was requested. Unmounted shared folders can be identified by the absence
of SharedFolderMetadata.getPathLower()
.
The default values for unset fields will be used.
entries
- List of all shared folders the authenticated user has
access to. Must not contain a null
item and not be null
.IllegalArgumentException
- If any argument does not meet its
preconditions.public List<SharedFolderMetadata> getEntries()
null
.public String getCursor()
DbxUserSharingRequests.listFoldersContinue(String)
or
DbxUserSharingRequests.listMountableFoldersContinue(String)
) to
list additional folders.null
if not present.public String toStringMultiline()
The returned String may contain newlines.