package com.sforce.soap.tooling; import java.util.EnumSet; import java.util.HashMap; import java.util.Map; /** * This is a generated class for the SObject Enterprise API. * Do not edit this file, as your changes will be lost. */ public enum PolicyOutcome { /** * Enumeration : Block */ Block("Block"), /** * Enumeration : FreezeUser */ FreezeUser("FreezeUser"), /** * Enumeration : EndSession */ EndSession("EndSession"), /** * Enumeration : Notified */ Notified("Notified"), /** * Enumeration : NoAction */ NoAction("NoAction"), /** * Enumeration : TwoFAInitiated */ TwoFAInitiated("TwoFAInitiated"), /** * Enumeration : TwoFASucceeded */ TwoFASucceeded("TwoFASucceeded"), /** * Enumeration : TwoFADenied */ TwoFADenied("TwoFADenied"), /** * Enumeration : Error */ Error("Error"), /** * Enumeration : TwoFAInProgress */ TwoFAInProgress("TwoFAInProgress"), /** * Enumeration : TwoFARecoverableError */ TwoFARecoverableError("TwoFARecoverableError"), /** * Enumeration : TwoFAFailedGeneralError */ TwoFAFailedGeneralError("TwoFAFailedGeneralError"), /** * Enumeration : TwoFAFailedInvalidCode */ TwoFAFailedInvalidCode("TwoFAFailedInvalidCode"), /** * Enumeration : TwoFAFailedTooManyAttempts */ TwoFAFailedTooManyAttempts("TwoFAFailedTooManyAttempts"), /** * Enumeration : TwoFAAutomatedSuccess */ TwoFAAutomatedSuccess("TwoFAAutomatedSuccess"), /** * Enumeration : TwoFAReportedDenied */ TwoFAReportedDenied("TwoFAReportedDenied"), /** * Enumeration : TwoFANoAction */ TwoFANoAction("TwoFANoAction"), /** * Enumeration : FailedPasswordLockout */ FailedPasswordLockout("FailedPasswordLockout"), /** * Enumeration : FailedInvalidPassword */ FailedInvalidPassword("FailedInvalidPassword"), /** * Enumeration : ExemptNoAction */ ExemptNoAction("ExemptNoAction"), /** * Enumeration : MeteringNoAction */ MeteringNoAction("MeteringNoAction"), /** * Enumeration : MeteringBlock */ MeteringBlock("MeteringBlock"), ; public static Map valuesToEnums; static { valuesToEnums = new HashMap(); for (PolicyOutcome e : EnumSet.allOf(PolicyOutcome.class)) { valuesToEnums.put(e.toString(), e.name()); } } private String value; private PolicyOutcome(String value) { this.value = value; } @Override public String toString() { return value; } }