Package com.dropbox.core.v2.team
Class TeamNamespacesListResult
java.lang.Object
com.dropbox.core.v2.team.TeamNamespacesListResult
Result for
DbxTeamTeamRequests.namespacesList(long).-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final Stringprotected final booleanprotected final List<NamespaceMetadata> -
Constructor Summary
ConstructorsConstructorDescriptionTeamNamespacesListResult(List<NamespaceMetadata> namespaces, String cursor, boolean hasMore) Result forDbxTeamTeamRequests.namespacesList(long). -
Method Summary
Modifier and TypeMethodDescriptionbooleanPass the cursor intoDbxTeamTeamRequests.namespacesListContinue(String)to obtain additional namespaces.booleanIs true if there are additional namespaces that have not been returned yet.List of all namespaces the team can access.inthashCode()toString()Returns a String representation of this object formatted for easier readability.
-
Field Details
-
namespaces
-
cursor
-
hasMore
protected final boolean hasMore
-
-
Constructor Details
-
TeamNamespacesListResult
public TeamNamespacesListResult(@Nonnull List<NamespaceMetadata> namespaces, @Nonnull String cursor, boolean hasMore) Result forDbxTeamTeamRequests.namespacesList(long).- Parameters:
namespaces- List of all namespaces the team can access. Must not contain anullitem and not benull.cursor- Pass the cursor intoDbxTeamTeamRequests.namespacesListContinue(String)to obtain additional namespaces. Note that duplicate namespaces may be returned. Must not benull.hasMore- Is true if there are additional namespaces that have not been returned yet.- Throws:
IllegalArgumentException- If any argument does not meet its preconditions.
-
-
Method Details
-
getNamespaces
List of all namespaces the team can access.- Returns:
- value for this field, never
null.
-
getCursor
Pass the cursor intoDbxTeamTeamRequests.namespacesListContinue(String)to obtain additional namespaces. Note that duplicate namespaces may be returned.- Returns:
- value for this field, never
null.
-
getHasMore
public boolean getHasMore()Is true if there are additional namespaces that have not been returned yet.- Returns:
- value for this field.
-
hashCode
public int hashCode() -
equals
-
toString
-
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
-