Package com.dropbox.core.v2.team
Class TeamNamespacesListResult
- java.lang.Object
-
- com.dropbox.core.v2.team.TeamNamespacesListResult
-
public class TeamNamespacesListResult extends java.lang.Object
Result forDbxTeamTeamRequests.namespacesList(long)
.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
cursor
protected boolean
hasMore
protected java.util.List<NamespaceMetadata>
namespaces
-
Constructor Summary
Constructors Constructor Description TeamNamespacesListResult(java.util.List<NamespaceMetadata> namespaces, java.lang.String cursor, boolean hasMore)
Result forDbxTeamTeamRequests.namespacesList(long)
.
-
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.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.
-
-
-
Field Detail
-
namespaces
@Nonnull protected final java.util.List<NamespaceMetadata> namespaces
-
cursor
@Nonnull protected final java.lang.String cursor
-
hasMore
protected final boolean hasMore
-
-
Constructor Detail
-
TeamNamespacesListResult
public TeamNamespacesListResult(@Nonnull java.util.List<NamespaceMetadata> namespaces, @Nonnull java.lang.String cursor, boolean hasMore)
Result forDbxTeamTeamRequests.namespacesList(long)
.- Parameters:
namespaces
- List of all namespaces the team can access. Must not contain anull
item 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:
java.lang.IllegalArgumentException
- If any argument does not meet its preconditions.
-
-
Method Detail
-
getNamespaces
@Nonnull public java.util.List<NamespaceMetadata> getNamespaces()
List of all namespaces the team can access.- Returns:
- value for this field, never
null
.
-
getCursor
@Nonnull public java.lang.String 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()
- 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
-
-