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

com.exacttarget.fuelsdk.internal.Email Maven / Gradle / Ivy

There is a newer version: 1.6.0
Show newest version

package com.exacttarget.fuelsdk.internal;

import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.cxf.xjc.runtime.JAXBToStringStyle;


/**
 * 

Java class for Email complex type. * *

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

 * <complexType name="Email">
 *   <complexContent>
 *     <extension base="{http://exacttarget.com/wsdl/partnerAPI}APIObject">
 *       <sequence>
 *         <element name="Name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="Folder" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="CategoryID" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
 *         <element name="HTMLBody" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="TextBody" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="ContentAreas" type="{http://exacttarget.com/wsdl/partnerAPI}ContentArea" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="Subject" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="IsActive" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
 *         <element name="IsHTMLPaste" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
 *         <element name="ClonedFromID" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
 *         <element name="Status" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="EmailType" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="CharacterSet" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="HasDynamicSubjectLine" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
 *         <element name="ContentCheckStatus" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="SyncTextWithHTML" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
 *         <element name="PreHeader" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="IsApproved" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
 *       </sequence>
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "Email", propOrder = { "name", "folder", "categoryID", "htmlBody", "textBody", "contentAreas", "subject", "isActive", "isHTMLPaste", "clonedFromID", "status", "emailType", "characterSet", "hasDynamicSubjectLine", "contentCheckStatus", "syncTextWithHTML", "preHeader", "isApproved" }) public class Email extends APIObject { @XmlElement(name = "Name") protected String name; @XmlElement(name = "Folder") protected String folder; @XmlElement(name = "CategoryID") protected Integer categoryID; @XmlElement(name = "HTMLBody") protected String htmlBody; @XmlElement(name = "TextBody") protected String textBody; @XmlElement(name = "ContentAreas") protected List contentAreas; @XmlElement(name = "Subject") protected String subject; @XmlElement(name = "IsActive") protected Boolean isActive; @XmlElement(name = "IsHTMLPaste") protected Boolean isHTMLPaste; @XmlElement(name = "ClonedFromID") protected Integer clonedFromID; @XmlElement(name = "Status") protected String status; @XmlElement(name = "EmailType") protected String emailType; @XmlElement(name = "CharacterSet") protected String characterSet; @XmlElement(name = "HasDynamicSubjectLine") protected Boolean hasDynamicSubjectLine; @XmlElement(name = "ContentCheckStatus") protected String contentCheckStatus; @XmlElement(name = "SyncTextWithHTML") protected Boolean syncTextWithHTML; @XmlElement(name = "PreHeader") protected String preHeader; @XmlElement(name = "IsApproved") protected Boolean isApproved; /** * Gets the value of the name property. * * @return * possible object is * {@link String } * */ public String getName() { return name; } /** * Sets the value of the name property. * * @param value * allowed object is * {@link String } * */ public void setName(String value) { this.name = value; } /** * Gets the value of the folder property. * * @return * possible object is * {@link String } * */ public String getFolder() { return folder; } /** * Sets the value of the folder property. * * @param value * allowed object is * {@link String } * */ public void setFolder(String value) { this.folder = value; } /** * Gets the value of the categoryID property. * * @return * possible object is * {@link Integer } * */ public Integer getCategoryID() { return categoryID; } /** * Sets the value of the categoryID property. * * @param value * allowed object is * {@link Integer } * */ public void setCategoryID(Integer value) { this.categoryID = value; } /** * Gets the value of the htmlBody property. * * @return * possible object is * {@link String } * */ public String getHtmlBody() { return htmlBody; } /** * Sets the value of the htmlBody property. * * @param value * allowed object is * {@link String } * */ public void setHtmlBody(String value) { this.htmlBody = value; } /** * Gets the value of the textBody property. * * @return * possible object is * {@link String } * */ public String getTextBody() { return textBody; } /** * Sets the value of the textBody property. * * @param value * allowed object is * {@link String } * */ public void setTextBody(String value) { this.textBody = value; } /** * Gets the value of the contentAreas property. * *

* This accessor method returns a reference to the live list, * not a snapshot. Therefore any modification you make to the * returned list will be present inside the JAXB object. * This is why there is not a set method for the contentAreas property. * *

* For example, to add a new item, do as follows: *

     *    getContentAreas().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link ContentArea } * * */ public List getContentAreas() { if (contentAreas == null) { contentAreas = new ArrayList(); } return this.contentAreas; } /** * Gets the value of the subject property. * * @return * possible object is * {@link String } * */ public String getSubject() { return subject; } /** * Sets the value of the subject property. * * @param value * allowed object is * {@link String } * */ public void setSubject(String value) { this.subject = value; } /** * Gets the value of the isActive property. * * @return * possible object is * {@link Boolean } * */ public Boolean getIsActive() { return isActive; } /** * Sets the value of the isActive property. * * @param value * allowed object is * {@link Boolean } * */ public void setIsActive(Boolean value) { this.isActive = value; } /** * Gets the value of the isHTMLPaste property. * * @return * possible object is * {@link Boolean } * */ public Boolean getIsHTMLPaste() { return isHTMLPaste; } /** * Sets the value of the isHTMLPaste property. * * @param value * allowed object is * {@link Boolean } * */ public void setIsHTMLPaste(Boolean value) { this.isHTMLPaste = value; } /** * Gets the value of the clonedFromID property. * * @return * possible object is * {@link Integer } * */ public Integer getClonedFromID() { return clonedFromID; } /** * Sets the value of the clonedFromID property. * * @param value * allowed object is * {@link Integer } * */ public void setClonedFromID(Integer value) { this.clonedFromID = value; } /** * Gets the value of the status property. * * @return * possible object is * {@link String } * */ public String getStatus() { return status; } /** * Sets the value of the status property. * * @param value * allowed object is * {@link String } * */ public void setStatus(String value) { this.status = value; } /** * Gets the value of the emailType property. * * @return * possible object is * {@link String } * */ public String getEmailType() { return emailType; } /** * Sets the value of the emailType property. * * @param value * allowed object is * {@link String } * */ public void setEmailType(String value) { this.emailType = value; } /** * Gets the value of the characterSet property. * * @return * possible object is * {@link String } * */ public String getCharacterSet() { return characterSet; } /** * Sets the value of the characterSet property. * * @param value * allowed object is * {@link String } * */ public void setCharacterSet(String value) { this.characterSet = value; } /** * Gets the value of the hasDynamicSubjectLine property. * * @return * possible object is * {@link Boolean } * */ public Boolean getHasDynamicSubjectLine() { return hasDynamicSubjectLine; } /** * Sets the value of the hasDynamicSubjectLine property. * * @param value * allowed object is * {@link Boolean } * */ public void setHasDynamicSubjectLine(Boolean value) { this.hasDynamicSubjectLine = value; } /** * Gets the value of the contentCheckStatus property. * * @return * possible object is * {@link String } * */ public String getContentCheckStatus() { return contentCheckStatus; } /** * Sets the value of the contentCheckStatus property. * * @param value * allowed object is * {@link String } * */ public void setContentCheckStatus(String value) { this.contentCheckStatus = value; } /** * Gets the value of the syncTextWithHTML property. * * @return * possible object is * {@link Boolean } * */ public Boolean getSyncTextWithHTML() { return syncTextWithHTML; } /** * Sets the value of the syncTextWithHTML property. * * @param value * allowed object is * {@link Boolean } * */ public void setSyncTextWithHTML(Boolean value) { this.syncTextWithHTML = value; } /** * Gets the value of the preHeader property. * * @return * possible object is * {@link String } * */ public String getPreHeader() { return preHeader; } /** * Sets the value of the preHeader property. * * @param value * allowed object is * {@link String } * */ public void setPreHeader(String value) { this.preHeader = value; } /** * Gets the value of the isApproved property. * * @return * possible object is * {@link Boolean } * */ public Boolean getIsApproved() { return isApproved; } /** * Sets the value of the isApproved property. * * @param value * allowed object is * {@link Boolean } * */ public void setIsApproved(Boolean value) { this.isApproved = value; } /** * Generates a String representation of the contents of this type. * This is an extension method, produced by the 'ts' xjc plugin * */ @Override public String toString() { return ToStringBuilder.reflectionToString(this, JAXBToStringStyle.DEFAULT_STYLE); } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy