Package com.dropbox.core.v2.team
Class TeamFolderListResult
- java.lang.Object
-
- com.dropbox.core.v2.team.TeamFolderListResult
-
public class TeamFolderListResult extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
cursor
protected boolean
hasMore
protected java.util.List<TeamFolderMetadata>
teamFolders
-
Constructor Summary
Constructors Constructor Description TeamFolderListResult(java.util.List<TeamFolderMetadata> teamFolders, java.lang.String cursor, boolean hasMore)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.lang.String
getCursor()
Pass the cursor intoDbxTeamTeamRequests.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.
-
-
-
Field Detail
-
teamFolders
protected final java.util.List<TeamFolderMetadata> teamFolders
-
cursor
protected final java.lang.String cursor
-
hasMore
protected final boolean hasMore
-
-
Constructor Detail
-
TeamFolderListResult
public TeamFolderListResult(java.util.List<TeamFolderMetadata> teamFolders, java.lang.String cursor, boolean hasMore)
Result forDbxTeamTeamRequests.teamFolderList(long)
andDbxTeamTeamRequests.teamFolderListContinue(String)
.- Parameters:
teamFolders
- List of all team folders in the authenticated team. Must not contain anull
item and not benull
.cursor
- Pass the cursor intoDbxTeamTeamRequests.teamFolderListContinue(String)
to obtain additional team folders. Must not benull
.hasMore
- Is true if there are additional team folders that have not been returned yet. An additional call toDbxTeamTeamRequests.teamFolderListContinue(String)
can retrieve them.- Throws:
java.lang.IllegalArgumentException
- If any argument does not meet its preconditions.
-
-
Method Detail
-
getTeamFolders
public java.util.List<TeamFolderMetadata> getTeamFolders()
List of all team folders in the authenticated team.- Returns:
- value for this field, never
null
.
-
getCursor
public java.lang.String getCursor()
Pass the cursor intoDbxTeamTeamRequests.teamFolderListContinue(String)
to obtain additional team folders.- Returns:
- value for this field, never
null
.
-
getHasMore
public boolean getHasMore()
Is true if there are additional team folders that have not been returned yet. An additional call toDbxTeamTeamRequests.teamFolderListContinue(String)
can retrieve them.- Returns:
- value for this field.
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
toStringMultiline
public java.lang.String toStringMultiline()
Returns a String representation of this object formatted for easier readability.The returned String may contain newlines.
- Returns:
- Formatted, multiline String representation of this object
-
-