Package com.dropbox.core.v2.teamlog
Class NamespaceRelativePathLogInfo
- java.lang.Object
-
- com.dropbox.core.v2.teamlog.NamespaceRelativePathLogInfo
-
public class NamespaceRelativePathLogInfo extends java.lang.ObjectNamespace relative path details.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNamespaceRelativePathLogInfo.BuilderBuilder forNamespaceRelativePathLogInfo.
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.BooleanisSharedNamespaceprotected java.lang.StringnsIdprotected java.lang.StringrelativePath
-
Constructor Summary
Constructors Constructor Description NamespaceRelativePathLogInfo()Namespace relative path details.NamespaceRelativePathLogInfo(java.lang.String nsId, java.lang.String relativePath, java.lang.Boolean isSharedNamespace)Namespace relative path details.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.lang.BooleangetIsSharedNamespace()True if the namespace is shared.java.lang.StringgetNsId()Namespace ID.java.lang.StringgetRelativePath()A path relative to the specified namespace ID.inthashCode()static NamespaceRelativePathLogInfo.BuildernewBuilder()Returns a new builder for creating an instance of this class.java.lang.StringtoString()java.lang.StringtoStringMultiline()Returns a String representation of this object formatted for easier readability.
-
-
-
Constructor Detail
-
NamespaceRelativePathLogInfo
public NamespaceRelativePathLogInfo(java.lang.String nsId, java.lang.String relativePath, java.lang.Boolean isSharedNamespace)Namespace relative path details.Use
newBuilder()to create instances of this class without specifying values for all optional fields.- Parameters:
nsId- Namespace ID.relativePath- A path relative to the specified namespace ID.isSharedNamespace- True if the namespace is shared.
-
NamespaceRelativePathLogInfo
public NamespaceRelativePathLogInfo()
Namespace relative path details.The default values for unset fields will be used.
-
-
Method Detail
-
getNsId
public java.lang.String getNsId()
Namespace ID.- Returns:
- value for this field, or
nullif not present.
-
getRelativePath
public java.lang.String getRelativePath()
A path relative to the specified namespace ID.- Returns:
- value for this field, or
nullif not present.
-
getIsSharedNamespace
public java.lang.Boolean getIsSharedNamespace()
True if the namespace is shared.- Returns:
- value for this field, or
nullif not present.
-
newBuilder
public static NamespaceRelativePathLogInfo.Builder newBuilder()
Returns a new builder for creating an instance of this class.- Returns:
- builder for this class.
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin 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
-
-