Package com.dropbox.core.v2.files
Class SharingInfo
java.lang.Object
com.dropbox.core.v2.files.SharingInfo
- Direct Known Subclasses:
FileSharingInfo,FolderSharingInfo
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() -
equals
-
toString
-
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
-