public class TeamNamespacesListResult
extends java.lang.Object
DbxTeamTeamRequests.namespacesList(long)
.Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
cursor |
protected boolean |
hasMore |
protected java.util.List<NamespaceMetadata> |
namespaces |
Constructor and Description |
---|
TeamNamespacesListResult(java.util.List<NamespaceMetadata> namespaces,
java.lang.String cursor,
boolean hasMore)
Result for
DbxTeamTeamRequests.namespacesList(long) . |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getCursor()
Pass the cursor into
DbxTeamTeamRequests.namespacesListContinue(String) to obtain additional
namespaces. |
boolean |
getHasMore()
Is true if there are additional namespaces that have not been returned
yet.
|
java.util.List<NamespaceMetadata> |
getNamespaces()
List of all namespaces the team can access.
|
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<NamespaceMetadata> namespaces
protected final java.lang.String cursor
protected final boolean hasMore
public TeamNamespacesListResult(java.util.List<NamespaceMetadata> namespaces, java.lang.String cursor, boolean hasMore)
DbxTeamTeamRequests.namespacesList(long)
.namespaces
- List of all namespaces the team can access. Must not
contain a null
item and not be null
.cursor
- Pass the cursor into DbxTeamTeamRequests.namespacesListContinue(String)
to obtain
additional namespaces. Note that duplicate namespaces may be
returned. Must not be null
.hasMore
- Is true if there are additional namespaces that have not
been returned yet.java.lang.IllegalArgumentException
- If any argument does not meet its
preconditions.public java.util.List<NamespaceMetadata> getNamespaces()
null
.public java.lang.String getCursor()
DbxTeamTeamRequests.namespacesListContinue(String)
to obtain additional
namespaces. Note that duplicate namespaces may be returned.null
.public boolean getHasMore()
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.