public class TeamFolderListResult
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
cursor |
protected boolean |
hasMore |
protected java.util.List<TeamFolderMetadata> |
teamFolders |
Constructor and Description |
---|
TeamFolderListResult(java.util.List<TeamFolderMetadata> teamFolders,
java.lang.String cursor,
boolean hasMore)
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getCursor()
Pass the cursor into
DbxTeamTeamRequests.teamFolderListContinue(String) to obtain additional
team folders. |
boolean |
getHasMore()
Is true if there are additional team folders that have not been returned
yet.
|
java.util.List<TeamFolderMetadata> |
getTeamFolders()
List of all team folders in the authenticated team.
|
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<TeamFolderMetadata> teamFolders
protected final java.lang.String cursor
protected final boolean hasMore
public TeamFolderListResult(java.util.List<TeamFolderMetadata> teamFolders, java.lang.String cursor, boolean hasMore)
DbxTeamTeamRequests.teamFolderList(long)
and DbxTeamTeamRequests.teamFolderListContinue(String)
.teamFolders
- List of all team folders in the authenticated team.
Must not contain a null
item and not be null
.cursor
- Pass the cursor into DbxTeamTeamRequests.teamFolderListContinue(String)
to obtain
additional team folders. Must not be null
.hasMore
- Is true if there are additional team folders that have
not been returned yet. An additional call to DbxTeamTeamRequests.teamFolderListContinue(String)
can retrieve
them.java.lang.IllegalArgumentException
- If any argument does not meet its
preconditions.public java.util.List<TeamFolderMetadata> getTeamFolders()
null
.public java.lang.String getCursor()
DbxTeamTeamRequests.teamFolderListContinue(String)
to obtain additional
team folders.null
.public boolean getHasMore()
DbxTeamTeamRequests.teamFolderListContinue(String)
can retrieve them.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.