Class SharedLinkAddExpiryDetails

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

public class SharedLinkAddExpiryDetails extends Object
Added shared link expiration date.
  • Field Details

    • newValue

      @Nonnull protected final Date newValue
    • isConsolidationAction

      @Nullable protected final Boolean isConsolidationAction
  • Constructor Details

    • SharedLinkAddExpiryDetails

      public SharedLinkAddExpiryDetails(@Nonnull Date newValue, @Nullable Boolean isConsolidationAction)
      Added shared link expiration date.
      Parameters:
      newValue - New shared link expiration date. Must not be null.
      isConsolidationAction - Indicates whether this was a consolidation action by system.
      Throws:
      IllegalArgumentException - If any argument does not meet its preconditions.
    • SharedLinkAddExpiryDetails

      public SharedLinkAddExpiryDetails(@Nonnull Date newValue)
      Added shared link expiration date.

      The default values for unset fields will be used.

      Parameters:
      newValue - New shared link expiration date. Must not be null.
      Throws:
      IllegalArgumentException - If any argument does not meet its preconditions.
  • Method Details

    • getNewValue

      @Nonnull public Date getNewValue()
      New shared link expiration date.
      Returns:
      value for this field, never null.
    • getIsConsolidationAction

      @Nullable public Boolean getIsConsolidationAction()
      Indicates whether this was a consolidation action by system.
      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