Package com.dropbox.core.v2.common
Class TeamRootInfo
java.lang.Object
com.dropbox.core.v2.common.RootInfo
com.dropbox.core.v2.common.TeamRootInfo
Root info when user is member of a team with a separate root namespace ID.
-
Field Summary
FieldsFields inherited from class com.dropbox.core.v2.common.RootInfo
homeNamespaceId, rootNamespaceId -
Constructor Summary
ConstructorsConstructorDescriptionTeamRootInfo(String rootNamespaceId, String homeNamespaceId, String homePath) Root info when user is member of a team with a separate root namespace ID. -
Method Summary
Modifier and TypeMethodDescriptionbooleanThe namespace ID for user's home namespace.The path for user's home directory under the shared team root.The namespace ID for user's root namespace.inthashCode()toString()Returns a String representation of this object formatted for easier readability.
-
Field Details
-
homePath
-
-
Constructor Details
-
TeamRootInfo
public TeamRootInfo(@Nonnull String rootNamespaceId, @Nonnull String homeNamespaceId, @Nonnull String homePath) Root info when user is member of a team with a separate root namespace ID.- 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 asRootInfo.getHomeNamespaceId(). 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.homePath- The path for user's home directory under the shared team root. Must 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 asRootInfo.getHomeNamespaceId().- Overrides:
getRootNamespaceIdin classRootInfo- Returns:
- value for this field, never
null.
-
getHomeNamespaceId
The namespace ID for user's home namespace.- Overrides:
getHomeNamespaceIdin classRootInfo- Returns:
- value for this field, never
null.
-
getHomePath
The path for user's home directory under the shared team root.- 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.
- Overrides:
toStringMultilinein classRootInfo- Returns:
- Formatted, multiline String representation of this object
-