Package com.dropbox.core.v2.common
Class TeamRootInfo
- java.lang.Object
- 
- com.dropbox.core.v2.common.RootInfo
- 
- com.dropbox.core.v2.common.TeamRootInfo
 
 
- 
 public class TeamRootInfo extends RootInfo Root info when user is member of a team with a separate root namespace ID.
- 
- 
Field SummaryFields Modifier and Type Field Description protected java.lang.StringhomePath- 
Fields inherited from class com.dropbox.core.v2.common.RootInfohomeNamespaceId, rootNamespaceId
 
- 
 - 
Constructor SummaryConstructors Constructor Description TeamRootInfo(java.lang.String rootNamespaceId, java.lang.String homeNamespaceId, java.lang.String homePath)Root info when user is member of a team with a separate root namespace ID.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.lang.StringgetHomeNamespaceId()The namespace ID for user's home namespace.java.lang.StringgetHomePath()The path for user's home directory under the shared team root.java.lang.StringgetRootNamespaceId()The namespace ID for user's root namespace.inthashCode()java.lang.StringtoString()java.lang.StringtoStringMultiline()Returns a String representation of this object formatted for easier readability.
 
- 
- 
- 
Constructor Detail- 
TeamRootInfopublic TeamRootInfo(java.lang.String rootNamespaceId, java.lang.String homeNamespaceId, java.lang.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. Otherwise it will be same as- RootInfo.getHomeNamespaceId(). Must match pattern "- [-_0-9a-zA-Z:]+" and not be- null.
- homeNamespaceId- The namespace ID for user's home namespace. Must match pattern "- [-_0-9a-zA-Z:]+" and not be- null.
- homePath- The path for user's home directory under the shared team root. Must not be- null.
- Throws:
- java.lang.IllegalArgumentException- If any argument does not meet its preconditions.
 
 
- 
 - 
Method Detail- 
getRootNamespaceIdpublic java.lang.String 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. Otherwise it will be same asRootInfo.getHomeNamespaceId().- Overrides:
- getRootNamespaceIdin class- RootInfo
- Returns:
- value for this field, never null.
 
 - 
getHomeNamespaceIdpublic java.lang.String getHomeNamespaceId() The namespace ID for user's home namespace.- Overrides:
- getHomeNamespaceIdin class- RootInfo
- Returns:
- value for this field, never null.
 
 - 
getHomePathpublic java.lang.String getHomePath() The path for user's home directory under the shared team root.- Returns:
- value for this field, never null.
 
 - 
toStringMultilinepublic java.lang.String toStringMultiline() Returns a String representation of this object formatted for easier readability.The returned String may contain newlines. - Overrides:
- toStringMultilinein class- RootInfo
- Returns:
- Formatted, multiline String representation of this object
 
 
- 
 
-