Package com.dropbox.core.v2.teamlog
Class NamespaceRelativePathLogInfo
- java.lang.Object
-
- com.dropbox.core.v2.teamlog.NamespaceRelativePathLogInfo
-
public class NamespaceRelativePathLogInfo extends java.lang.Object
Namespace relative path details.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
NamespaceRelativePathLogInfo.Builder
Builder forNamespaceRelativePathLogInfo
.
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.Boolean
isSharedNamespace
protected java.lang.String
nsId
protected java.lang.String
relativePath
-
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 boolean
equals(java.lang.Object obj)
java.lang.Boolean
getIsSharedNamespace()
True if the namespace is shared.java.lang.String
getNsId()
Namespace ID.java.lang.String
getRelativePath()
A path relative to the specified namespace ID.int
hashCode()
static NamespaceRelativePathLogInfo.Builder
newBuilder()
Returns a new builder for creating an instance of this class.java.lang.String
toString()
java.lang.String
toStringMultiline()
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
null
if not present.
-
getRelativePath
public java.lang.String getRelativePath()
A path relative to the specified namespace ID.- Returns:
- value for this field, or
null
if not present.
-
getIsSharedNamespace
public java.lang.Boolean getIsSharedNamespace()
True if the namespace is shared.- Returns:
- value for this field, or
null
if 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:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in 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
-
-