Package com.dropbox.core.v2.teamlog
Class PaperContentRemoveFromFolderDetails
- java.lang.Object
-
- com.dropbox.core.v2.teamlog.PaperContentRemoveFromFolderDetails
-
public class PaperContentRemoveFromFolderDetails extends java.lang.Object
Removed Paper doc/folder from folder.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PaperContentRemoveFromFolderDetails.Builder
Builder forPaperContentRemoveFromFolderDetails
.
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
eventUuid
protected java.lang.Long
parentAssetIndex
protected java.lang.Long
targetAssetIndex
-
Constructor Summary
Constructors Constructor Description PaperContentRemoveFromFolderDetails(java.lang.String eventUuid)
Removed Paper doc/folder from folder.PaperContentRemoveFromFolderDetails(java.lang.String eventUuid, java.lang.Long targetAssetIndex, java.lang.Long parentAssetIndex)
Removed Paper doc/folder from 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
getEventUuid()
Event unique identifier.java.lang.Long
getParentAssetIndex()
Parent asset position in the Assets list.java.lang.Long
getTargetAssetIndex()
Target asset position in the Assets list.int
hashCode()
static PaperContentRemoveFromFolderDetails.Builder
newBuilder(java.lang.String eventUuid)
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
-
PaperContentRemoveFromFolderDetails
public PaperContentRemoveFromFolderDetails(@Nonnull java.lang.String eventUuid, @Nullable java.lang.Long targetAssetIndex, @Nullable java.lang.Long parentAssetIndex)
Removed Paper doc/folder from folder.Use
newBuilder(java.lang.String)
to create instances of this class without specifying values for all optional fields.- Parameters:
eventUuid
- Event unique identifier. Must not benull
.targetAssetIndex
- Target asset position in the Assets list.parentAssetIndex
- Parent asset position in the Assets list.- Throws:
java.lang.IllegalArgumentException
- If any argument does not meet its preconditions.
-
PaperContentRemoveFromFolderDetails
public PaperContentRemoveFromFolderDetails(@Nonnull java.lang.String eventUuid)
Removed Paper doc/folder from folder.The default values for unset fields will be used.
- Parameters:
eventUuid
- Event unique identifier. Must not benull
.- Throws:
java.lang.IllegalArgumentException
- If any argument does not meet its preconditions.
-
-
Method Detail
-
getEventUuid
@Nonnull public java.lang.String getEventUuid()
Event unique identifier.- Returns:
- value for this field, never
null
.
-
getTargetAssetIndex
@Nullable public java.lang.Long getTargetAssetIndex()
Target asset position in the Assets list.- Returns:
- value for this field, or
null
if not present.
-
getParentAssetIndex
@Nullable public java.lang.Long getParentAssetIndex()
Parent asset position in the Assets list.- Returns:
- value for this field, or
null
if not present.
-
newBuilder
public static PaperContentRemoveFromFolderDetails.Builder newBuilder(java.lang.String eventUuid)
Returns a new builder for creating an instance of this class.- Parameters:
eventUuid
- Event unique identifier. Must not benull
.- Returns:
- builder for this class.
- Throws:
java.lang.IllegalArgumentException
- If any argument does not meet its preconditions.
-
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
-
-