Class SharingInfo

java.lang.Object
com.dropbox.core.v2.files.SharingInfo
Direct Known Subclasses:
FileSharingInfo, FolderSharingInfo

public class SharingInfo extends Object
Sharing info for a file or folder.
  • Field Details

    • readOnly

      protected final boolean readOnly
  • Constructor Details

    • SharingInfo

      public SharingInfo(boolean readOnly)
      Sharing info for a file or folder.
      Parameters:
      readOnly - True if the file or folder is inside a read-only shared folder.
  • Method Details

    • getReadOnly

      public boolean getReadOnly()
      True if the file or folder is inside a read-only shared folder.
      Returns:
      value for this field.
    • 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