All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.sforce.soap.tooling.EmailTemplateStyle Maven / Gradle / Ivy

The newest version!

package com.sforce.soap.tooling;

import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;


/**
 * 

Java class for EmailTemplateStyle. * *

The following schema fragment specifies the expected content contained within this class. *

*

 * <simpleType name="EmailTemplateStyle">
 *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
 *     <enumeration value="none"/>
 *     <enumeration value="freeForm"/>
 *     <enumeration value="formalLetter"/>
 *     <enumeration value="promotionRight"/>
 *     <enumeration value="promotionLeft"/>
 *     <enumeration value="newsletter"/>
 *     <enumeration value="products"/>
 *   </restriction>
 * </simpleType>
 * 
* */ @XmlType(name = "EmailTemplateStyle") @XmlEnum public enum EmailTemplateStyle { @XmlEnumValue("none") NONE("none"), @XmlEnumValue("freeForm") FREE_FORM("freeForm"), @XmlEnumValue("formalLetter") FORMAL_LETTER("formalLetter"), @XmlEnumValue("promotionRight") PROMOTION_RIGHT("promotionRight"), @XmlEnumValue("promotionLeft") PROMOTION_LEFT("promotionLeft"), @XmlEnumValue("newsletter") NEWSLETTER("newsletter"), @XmlEnumValue("products") PRODUCTS("products"); private final String value; EmailTemplateStyle(String v) { value = v; } public String value() { return value; } public static EmailTemplateStyle fromValue(String v) { for (EmailTemplateStyle c: EmailTemplateStyle.values()) { if (c.value.equals(v)) { return c; } } throw new IllegalArgumentException(v); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy