Package com.dropbox.core.v2.files
Class SharedLink
java.lang.Object
com.dropbox.core.v2.files.SharedLink
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
url
-
password
-
-
Constructor Details
-
SharedLink
- Parameters:
url- Shared link url. Must not benull.password- Password for the shared link.- Throws:
IllegalArgumentException- If any argument does not meet its preconditions.
-
SharedLink
NoneThe default values for unset fields will be used.
- Parameters:
url- Shared link url. Must not benull.- Throws:
IllegalArgumentException- If any argument does not meet its preconditions.
-
-
Method Details
-
getUrl
Shared link url.- Returns:
- value for this field, never
null.
-
getPassword
Password for the shared link.- Returns:
- value for this field, or
nullif not present.
-
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
-