Class RiscSecurityEventDetails

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

public class RiscSecurityEventDetails extends Object
RISC security event received from external provider.
  • Field Details

    • eventType

      @Nonnull protected final String eventType
    • reason

      @Nonnull protected final String reason
    • issuer

      @Nonnull protected final String issuer
  • Constructor Details

    • RiscSecurityEventDetails

      public RiscSecurityEventDetails(@Nonnull String eventType, @Nonnull String reason, @Nonnull String issuer)
      RISC security event received from external provider.
      Parameters:
      eventType - RISC event type (e.g., account-disabled, token-revoked). Must not be null.
      reason - Reason for the RISC event. Must not be null.
      issuer - Identity provider issuer (e.g., https://accounts.google.com). Must not be null.
      Throws:
      IllegalArgumentException - If any argument does not meet its preconditions.
  • Method Details

    • getEventType

      @Nonnull public String getEventType()
      RISC event type (e.g., account-disabled, token-revoked).
      Returns:
      value for this field, never null.
    • getReason

      @Nonnull public String getReason()
      Reason for the RISC event.
      Returns:
      value for this field, never null.
    • getIssuer

      @Nonnull public String getIssuer()
      Identity provider issuer (e.g., https://accounts.google.com).
      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