Class LinkSettingsLogInfo

java.lang.Object
com.dropbox.core.v2.teamlog.LinkSettingsLogInfo

public class LinkSettingsLogInfo extends Object
Link Settings
  • Field Details

    • name

      @Nonnull protected final String name
    • requireEmail

      protected final boolean requireEmail
    • downloadable

      protected final boolean downloadable
    • expireAt

      @Nullable protected final Date expireAt
    • passwordRequired

      protected final boolean passwordRequired
    • url

      @Nonnull protected final String 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 be null.
      requireEmail - Email Required.
      downloadable - Downloadable.
      passwordRequired - Password required.
      url - Link URL. Must not be null.
      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 Settings

      The default values for unset fields will be used.

      Parameters:
      name - Link Name. Must not be null.
      requireEmail - Email Required.
      downloadable - Downloadable.
      passwordRequired - Password required.
      url - Link URL. Must not be null.
      Throws:
      IllegalArgumentException - If any argument does not meet its preconditions.
  • Method Details

    • getName

      @Nonnull public String 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

      @Nonnull public String getUrl()
      Link URL.
      Returns:
      value for this field, never null.
    • getExpireAt

      @Nullable public Date getExpireAt()
      Expires at.
      Returns:
      value for this field, or null if not present.
    • 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