datai/docs/reference-code/com/sforce/soap/tooling/PolicyOutcome.java

168 lines
2.5 KiB
Java

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<String, String> valuesToEnums;
static {
valuesToEnums = new HashMap<String, String>();
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;
}
}