Package com.dropbox.core.v2.teamlog
Class SharedFolderNestDetails
- java.lang.Object
-
- com.dropbox.core.v2.teamlog.SharedFolderNestDetails
-
public class SharedFolderNestDetails extends java.lang.Object
Changed parent of shared folder.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SharedFolderNestDetails.Builder
Builder forSharedFolderNestDetails
.
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
newNsPath
protected java.lang.String
newParentNsId
protected java.lang.String
previousNsPath
protected java.lang.String
previousParentNsId
-
Constructor Summary
Constructors Constructor Description SharedFolderNestDetails()
Changed parent of shared folder.SharedFolderNestDetails(java.lang.String previousParentNsId, java.lang.String newParentNsId, java.lang.String previousNsPath, java.lang.String newNsPath)
Changed parent of shared folder.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.lang.String
getNewNsPath()
New namespace path.java.lang.String
getNewParentNsId()
New parent namespace ID.java.lang.String
getPreviousNsPath()
Previous namespace path.java.lang.String
getPreviousParentNsId()
Previous parent namespace ID.int
hashCode()
static SharedFolderNestDetails.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
-
SharedFolderNestDetails
public SharedFolderNestDetails(java.lang.String previousParentNsId, java.lang.String newParentNsId, java.lang.String previousNsPath, java.lang.String newNsPath)
Changed parent of shared folder.Use
newBuilder()
to create instances of this class without specifying values for all optional fields.- Parameters:
previousParentNsId
- Previous parent namespace ID. Might be missing due to historical data gap.newParentNsId
- New parent namespace ID. Might be missing due to historical data gap.previousNsPath
- Previous namespace path. Might be missing due to historical data gap.newNsPath
- New namespace path. Might be missing due to historical data gap.
-
SharedFolderNestDetails
public SharedFolderNestDetails()
Changed parent of shared folder.The default values for unset fields will be used.
-
-
Method Detail
-
getPreviousParentNsId
public java.lang.String getPreviousParentNsId()
Previous parent namespace ID. Might be missing due to historical data gap.- Returns:
- value for this field, or
null
if not present.
-
getNewParentNsId
public java.lang.String getNewParentNsId()
New parent namespace ID. Might be missing due to historical data gap.- Returns:
- value for this field, or
null
if not present.
-
getPreviousNsPath
public java.lang.String getPreviousNsPath()
Previous namespace path. Might be missing due to historical data gap.- Returns:
- value for this field, or
null
if not present.
-
getNewNsPath
public java.lang.String getNewNsPath()
New namespace path. Might be missing due to historical data gap.- Returns:
- value for this field, or
null
if not present.
-
newBuilder
public static SharedFolderNestDetails.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
-
-