54 lines
865 B
Java
54 lines
865 B
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 SupportedChannel {
|
|
|
|
|
|
|
|
/**
|
|
* Enumeration : Email
|
|
*/
|
|
Email("Email"),
|
|
|
|
|
|
/**
|
|
* Enumeration : Sms
|
|
*/
|
|
Sms("Sms"),
|
|
|
|
|
|
/**
|
|
* Enumeration : WhatsApp
|
|
*/
|
|
WhatsApp("WhatsApp"),
|
|
|
|
;
|
|
|
|
public static Map<String, String> valuesToEnums;
|
|
|
|
static {
|
|
valuesToEnums = new HashMap<String, String>();
|
|
for (SupportedChannel e : EnumSet.allOf(SupportedChannel.class)) {
|
|
valuesToEnums.put(e.toString(), e.name());
|
|
}
|
|
}
|
|
|
|
private String value;
|
|
|
|
private SupportedChannel(String value) {
|
|
this.value = value;
|
|
}
|
|
|
|
@Override
|
|
public String toString() {
|
|
return value;
|
|
}
|
|
}
|