Package com.dropbox.core.v2.common
Class RootInfo
java.lang.Object
com.dropbox.core.v2.common.RootInfo
- Direct Known Subclasses:
TeamRootInfo,UserRootInfo
Information about current user's root.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
rootNamespaceId
-
homeNamespaceId
-
-
Constructor Details
-
RootInfo
Information about current user's root.- Parameters:
rootNamespaceId- The namespace ID for user's root namespace. It will be the namespace ID of the shared team root if the user is member of a team with a separate team root, or the user root if user is member of a team with separate distinct roots for users. Otherwise it will be the same asgetHomeNamespaceId(). Must match pattern "[-_0-9a-zA-Z:]+" and not benull.homeNamespaceId- The namespace ID for user's home namespace. Must match pattern "[-_0-9a-zA-Z:]+" and not benull.- Throws:
IllegalArgumentException- If any argument does not meet its preconditions.
-
-
Method Details
-
getRootNamespaceId
The namespace ID for user's root namespace. It will be the namespace ID of the shared team root if the user is member of a team with a separate team root, or the user root if user is member of a team with separate distinct roots for users. Otherwise it will be the same asgetHomeNamespaceId().- Returns:
- value for this field, never
null.
-
getHomeNamespaceId
The namespace ID for user's home namespace.- Returns:
- value for this field, never
null.
-
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
-