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

54 lines
847 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 ChannelSource {
/**
* Enumeration : Other
*/
Other("Other"),
/**
* Enumeration : Phone
*/
Phone("Phone"),
/**
* Enumeration : Chat
*/
Chat("Chat"),
;
public static Map<String, String> valuesToEnums;
static {
valuesToEnums = new HashMap<String, String>();
for (ChannelSource e : EnumSet.allOf(ChannelSource.class)) {
valuesToEnums.put(e.toString(), e.name());
}
}
private String value;
private ChannelSource(String value) {
this.value = value;
}
@Override
public String toString() {
return value;
}
}