Class PaperContentRemoveFromFolderDetails

java.lang.Object
com.dropbox.core.v2.teamlog.PaperContentRemoveFromFolderDetails

public class PaperContentRemoveFromFolderDetails extends Object
Removed Paper doc/folder from folder.
  • Field Details

    • eventUuid

      @Nonnull protected final String eventUuid
    • targetAssetIndex

      @Nullable protected final Long targetAssetIndex
    • parentAssetIndex

      @Nullable protected final Long parentAssetIndex
  • Constructor Details

    • PaperContentRemoveFromFolderDetails

      public PaperContentRemoveFromFolderDetails(@Nonnull String eventUuid, @Nullable Long targetAssetIndex, @Nullable 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 be null.
      targetAssetIndex - Target asset position in the Assets list.
      parentAssetIndex - Parent asset position in the Assets list.
      Throws:
      IllegalArgumentException - If any argument does not meet its preconditions.
    • PaperContentRemoveFromFolderDetails

      public PaperContentRemoveFromFolderDetails(@Nonnull String eventUuid)
      Removed Paper doc/folder from folder.

      The default values for unset fields will be used.

      Parameters:
      eventUuid - Event unique identifier. Must not be null.
      Throws:
      IllegalArgumentException - If any argument does not meet its preconditions.
  • Method Details

    • getEventUuid

      @Nonnull public String getEventUuid()
      Event unique identifier.
      Returns:
      value for this field, never null.
    • getTargetAssetIndex

      @Nullable public Long getTargetAssetIndex()
      Target asset position in the Assets list.
      Returns:
      value for this field, or null if not present.
    • getParentAssetIndex

      @Nullable public 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(String eventUuid)
      Returns a new builder for creating an instance of this class.
      Parameters:
      eventUuid - Event unique identifier. Must not be null.
      Returns:
      builder for this class.
      Throws:
      IllegalArgumentException - If any argument does not meet its preconditions.
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • toStringMultiline

      public 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