Class TeamNamespacesListResult

    • Field Detail

      • 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)
        Parameters:
        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.
        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 into DbxTeamTeamRequests.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 class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.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