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 OrgWideEmailAddressPurpose { /** * Enumeration : UserSelection */ UserSelection("UserSelection"), /** * Enumeration : DefaultNoreply */ DefaultNoreply("DefaultNoreply"), /** * Enumeration : UserSelectionAndDefaultNoReply */ UserSelectionAndDefaultNoReply("UserSelectionAndDefaultNoReply"), ; public static Map valuesToEnums; static { valuesToEnums = new HashMap(); for (OrgWideEmailAddressPurpose e : EnumSet.allOf(OrgWideEmailAddressPurpose.class)) { valuesToEnums.put(e.toString(), e.name()); } } private String value; private OrgWideEmailAddressPurpose(String value) { this.value = value; } @Override public String toString() { return value; } }