toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case AccountTakeoverEventActionType.block:
      return 'BLOCK';
    case AccountTakeoverEventActionType.mfaIfConfigured:
      return 'MFA_IF_CONFIGURED';
    case AccountTakeoverEventActionType.mfaRequired:
      return 'MFA_REQUIRED';
    case AccountTakeoverEventActionType.noAction:
      return 'NO_ACTION';
  }
}