Class SharedLinkChangeExpiryDetails

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

public class SharedLinkChangeExpiryDetails extends Object
Changed shared link expiration date.
  • Field Details

    • newValue

      @Nullable protected final Date newValue
    • previousValue

      @Nullable protected final Date previousValue
    • isConsolidationAction

      @Nullable protected final Boolean isConsolidationAction
  • Constructor Details

    • SharedLinkChangeExpiryDetails

      public SharedLinkChangeExpiryDetails(@Nullable Date newValue, @Nullable Date previousValue, @Nullable Boolean isConsolidationAction)
      Changed shared link expiration date.

      Use newBuilder() to create instances of this class without specifying values for all optional fields.

      Parameters:
      newValue - New shared link expiration date. Might be missing due to historical data gap.
      previousValue - Previous shared link expiration date. Might be missing due to historical data gap.
      isConsolidationAction - Indicates whether this was a consolidation action by system.
    • SharedLinkChangeExpiryDetails

      public SharedLinkChangeExpiryDetails()
      Changed shared link expiration date.

      The default values for unset fields will be used.

  • Method Details

    • getNewValue

      @Nullable public Date getNewValue()
      New shared link expiration date. Might be missing due to historical data gap.
      Returns:
      value for this field, or null if not present.
    • getPreviousValue

      @Nullable public Date getPreviousValue()
      Previous shared link expiration date. Might be missing due to historical data gap.
      Returns:
      value for this field, or null if not present.
    • getIsConsolidationAction

      @Nullable public Boolean getIsConsolidationAction()
      Indicates whether this was a consolidation action by system.
      Returns:
      value for this field, or null if not present.
    • newBuilder

      public static SharedLinkChangeExpiryDetails.Builder newBuilder()
      Returns a new builder for creating an instance of this class.
      Returns:
      builder for this class.
    • 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