Class MemberChangeEmailDetails

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

public class MemberChangeEmailDetails extends Object
Changed team member email.
  • Field Details

    • newValue

      @Nonnull protected final String newValue
    • previousValue

      @Nullable protected final String previousValue
  • Constructor Details

    • MemberChangeEmailDetails

      public MemberChangeEmailDetails(@Nonnull String newValue, @Nullable String previousValue)
      Changed team member email.
      Parameters:
      newValue - New email. Must have length of at most 255 and not be null.
      previousValue - Previous email. Might be missing due to historical data gap. Must have length of at most 255.
      Throws:
      IllegalArgumentException - If any argument does not meet its preconditions.
    • MemberChangeEmailDetails

      public MemberChangeEmailDetails(@Nonnull String newValue)
      Changed team member email.

      The default values for unset fields will be used.

      Parameters:
      newValue - New email. Must have length of at most 255 and not be null.
      Throws:
      IllegalArgumentException - If any argument does not meet its preconditions.
  • Method Details

    • getNewValue

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

      @Nullable public String getPreviousValue()
      Previous email. Might be missing due to historical data gap.
      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