public class PaperContentRemoveFromFolderDetails
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
PaperContentRemoveFromFolderDetails.Builder
Builder for
PaperContentRemoveFromFolderDetails . |
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
eventUuid |
protected java.lang.Long |
parentAssetIndex |
protected java.lang.Long |
targetAssetIndex |
Constructor and 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.
|
Modifier and Type | Method and 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.
|
protected final java.lang.String eventUuid
protected final java.lang.Long targetAssetIndex
protected final java.lang.Long parentAssetIndex
public PaperContentRemoveFromFolderDetails(java.lang.String eventUuid, java.lang.Long targetAssetIndex, java.lang.Long parentAssetIndex)
Use newBuilder
to create instances of this class without
specifying values for all optional fields.
eventUuid
- Event unique identifier. Must not be null
.targetAssetIndex
- Target asset position in the Assets list.parentAssetIndex
- Parent asset position in the Assets list.java.lang.IllegalArgumentException
- If any argument does not meet its
preconditions.public PaperContentRemoveFromFolderDetails(java.lang.String eventUuid)
The default values for unset fields will be used.
eventUuid
- Event unique identifier. Must not be null
.java.lang.IllegalArgumentException
- If any argument does not meet its
preconditions.public java.lang.String getEventUuid()
null
.public java.lang.Long getTargetAssetIndex()
null
if not present.public java.lang.Long getParentAssetIndex()
null
if not present.public static PaperContentRemoveFromFolderDetails.Builder newBuilder(java.lang.String eventUuid)
eventUuid
- Event unique identifier. Must not be null
.java.lang.IllegalArgumentException
- If any argument does not meet its
preconditions.public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toStringMultiline()
The returned String may contain newlines.