Class LegalHoldsChangeHoldNameDetails

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

public class LegalHoldsChangeHoldNameDetails extends Object
Renamed a hold.
  • Field Details

    • legalHoldId

      @Nonnull protected final String legalHoldId
    • previousValue

      @Nonnull protected final String previousValue
    • newValue

      @Nonnull protected final String newValue
  • Constructor Details

    • LegalHoldsChangeHoldNameDetails

      public LegalHoldsChangeHoldNameDetails(@Nonnull String legalHoldId, @Nonnull String previousValue, @Nonnull String newValue)
      Renamed a hold.
      Parameters:
      legalHoldId - Hold ID. Must not be null.
      previousValue - Previous Name. Must not be null.
      newValue - New Name. Must not be null.
      Throws:
      IllegalArgumentException - If any argument does not meet its preconditions.
  • Method Details

    • getLegalHoldId

      @Nonnull public String getLegalHoldId()
      Hold ID.
      Returns:
      value for this field, never null.
    • getPreviousValue

      @Nonnull public String getPreviousValue()
      Previous Name.
      Returns:
      value for this field, never null.
    • getNewValue

      @Nonnull public String getNewValue()
      New Name.
      Returns:
      value for this field, never null.
    • 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