Class LockFileBatchResult

java.lang.Object
com.dropbox.core.v2.files.FileOpsResult
com.dropbox.core.v2.files.LockFileBatchResult

public class LockFileBatchResult extends FileOpsResult
  • Field Details

  • Constructor Details

    • LockFileBatchResult

      public LockFileBatchResult(@Nonnull List<LockFileResultEntry> entries)
      Parameters:
      entries - Each Entry in the 'entries' will have '.tag' with the operation status (e.g. success), the metadata for the file and the lock state after the operation. Must not contain a null item and not be null.
      Throws:
      IllegalArgumentException - If any argument does not meet its preconditions.
  • Method Details

    • getEntries

      @Nonnull public List<LockFileResultEntry> getEntries()
      Each Entry in the 'entries' will have '.tag' with the operation status (e.g. success), the metadata for the file and the lock state after the operation.
      Returns:
      value for this field, never null.
    • hashCode

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

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

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

      public String toStringMultiline()
      Returns a String representation of this object formatted for easier readability.

      The returned String may contain newlines.

      Overrides:
      toStringMultiline in class FileOpsResult
      Returns:
      Formatted, multiline String representation of this object