Package com.dropbox.core.v2.teamlog
Class LinkSettingsLogInfo
java.lang.Object
com.dropbox.core.v2.teamlog.LinkSettingsLogInfo
Link Settings
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionLinkSettingsLogInfo(String name, boolean requireEmail, boolean downloadable, boolean passwordRequired, String url) Link SettingsLinkSettingsLogInfo(String name, boolean requireEmail, boolean downloadable, boolean passwordRequired, String url, Date expireAt) Link Settings -
Method Summary
-
Field Details
-
name
-
requireEmail
protected final boolean requireEmail -
downloadable
protected final boolean downloadable -
expireAt
-
passwordRequired
protected final boolean passwordRequired -
url
-
-
Constructor Details
-
LinkSettingsLogInfo
public LinkSettingsLogInfo(@Nonnull String name, boolean requireEmail, boolean downloadable, boolean passwordRequired, @Nonnull String url, @Nullable Date expireAt) Link Settings- Parameters:
name- Link Name. Must not benull.requireEmail- Email Required.downloadable- Downloadable.passwordRequired- Password required.url- Link URL. Must not benull.expireAt- Expires at.- Throws:
IllegalArgumentException- If any argument does not meet its preconditions.
-
LinkSettingsLogInfo
public LinkSettingsLogInfo(@Nonnull String name, boolean requireEmail, boolean downloadable, boolean passwordRequired, @Nonnull String url) Link SettingsThe default values for unset fields will be used.
- Parameters:
name- Link Name. Must not benull.requireEmail- Email Required.downloadable- Downloadable.passwordRequired- Password required.url- Link URL. Must not benull.- Throws:
IllegalArgumentException- If any argument does not meet its preconditions.
-
-
Method Details
-
getName
Link Name.- Returns:
- value for this field, never
null.
-
getRequireEmail
public boolean getRequireEmail()Email Required.- Returns:
- value for this field.
-
getDownloadable
public boolean getDownloadable()Downloadable.- Returns:
- value for this field.
-
getPasswordRequired
public boolean getPasswordRequired()Password required.- Returns:
- value for this field.
-
getUrl
Link URL.- Returns:
- value for this field, never
null.
-
getExpireAt
Expires at.- 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
-