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

96 lines
1.5 KiB
Java
Raw Normal View History

2026-01-22 10:52:30 +08:00
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 ConvMsgExternalErrorCode {
/**
* Enumeration : InvalidParameter
*/
InvalidParameter("InvalidParameter"),
/**
* Enumeration : IntegrityError
*/
IntegrityError("IntegrityError"),
/**
* Enumeration : InternalError
*/
InternalError("InternalError"),
/**
* Enumeration : PublishError
*/
PublishError("PublishError"),
/**
* Enumeration : DeprecationError
*/
DeprecationError("DeprecationError"),
/**
* Enumeration : MetricsThresholdNotReached
*/
MetricsThresholdNotReached("MetricsThresholdNotReached"),
/**
* Enumeration : InvalidAccessToken
*/
InvalidAccessToken("InvalidAccessToken"),
/**
* Enumeration : ValidationError
*/
ValidationError("ValidationError"),
/**
* Enumeration : Other
*/
Other("Other"),
/**
* Enumeration : OutOfSync
*/
OutOfSync("OutOfSync"),
;
public static Map<String, String> valuesToEnums;
static {
valuesToEnums = new HashMap<String, String>();
for (ConvMsgExternalErrorCode e : EnumSet.allOf(ConvMsgExternalErrorCode.class)) {
valuesToEnums.put(e.toString(), e.name());
}
}
private String value;
private ConvMsgExternalErrorCode(String value) {
this.value = value;
}
@Override
public String toString() {
return value;
}
}