public class ListFoldersResult
extends java.lang.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 java.lang.String |
cursor |
protected java.util.List<SharedFolderMetadata> |
entries |
Constructor and Description |
---|
ListFoldersResult(java.util.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(java.util.List<SharedFolderMetadata> entries,
java.lang.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(java.lang.Object obj) |
java.lang.String |
getCursor()
Present if there are additional shared folders that have not been
returned yet.
|
java.util.List<SharedFolderMetadata> |
getEntries()
List of all shared folders the authenticated user has access to.
|
int |
hashCode() |
java.lang.String |
toString() |
java.lang.String |
toStringMultiline()
Returns a String representation of this object formatted for easier
readability.
|
protected final java.util.List<SharedFolderMetadata> entries
protected final java.lang.String cursor
public ListFoldersResult(java.util.List<SharedFolderMetadata> entries, java.lang.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.java.lang.IllegalArgumentException
- If any argument does not meet its
preconditions.public ListFoldersResult(java.util.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
.java.lang.IllegalArgumentException
- If any argument does not meet its
preconditions.public java.util.List<SharedFolderMetadata> getEntries()
null
.public java.lang.String getCursor()
DbxUserSharingRequests.listFoldersContinue(String)
or
DbxUserSharingRequests.listMountableFoldersContinue(String)
) to
list additional folders.null
if not present.public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toStringMultiline()
The returned String may contain newlines.