public class Email extends APIObject
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>
| Modifier and Type | Field and Description |
|---|---|
protected Integer |
categoryID |
protected String |
characterSet |
protected Integer |
clonedFromID |
protected List<ContentArea> |
contentAreas |
protected String |
contentCheckStatus |
protected String |
emailType |
protected String |
folder |
protected Boolean |
hasDynamicSubjectLine |
protected String |
htmlBody |
protected Boolean |
isActive |
protected Boolean |
isApproved |
protected Boolean |
isHTMLPaste |
protected String |
name |
protected String |
preHeader |
protected String |
status |
protected String |
subject |
protected Boolean |
syncTextWithHTML |
protected String |
textBody |
client, correlationID, createdDate, customerKey, id, modifiedDate, objectID, objectState, owner, partnerKey, partnerProperties| Constructor and Description |
|---|
Email() |
| Modifier and Type | Method and Description |
|---|---|
Integer |
getCategoryID()
Gets the value of the categoryID property.
|
String |
getCharacterSet()
Gets the value of the characterSet property.
|
Integer |
getClonedFromID()
Gets the value of the clonedFromID property.
|
List<ContentArea> |
getContentAreas()
Gets the value of the contentAreas property.
|
String |
getContentCheckStatus()
Gets the value of the contentCheckStatus property.
|
String |
getEmailType()
Gets the value of the emailType property.
|
String |
getFolder()
Gets the value of the folder property.
|
Boolean |
getHasDynamicSubjectLine()
Gets the value of the hasDynamicSubjectLine property.
|
String |
getHtmlBody()
Gets the value of the htmlBody property.
|
Boolean |
getIsActive()
Gets the value of the isActive property.
|
Boolean |
getIsApproved()
Gets the value of the isApproved property.
|
Boolean |
getIsHTMLPaste()
Gets the value of the isHTMLPaste property.
|
String |
getName()
Gets the value of the name property.
|
String |
getPreHeader()
Gets the value of the preHeader property.
|
String |
getStatus()
Gets the value of the status property.
|
String |
getSubject()
Gets the value of the subject property.
|
Boolean |
getSyncTextWithHTML()
Gets the value of the syncTextWithHTML property.
|
String |
getTextBody()
Gets the value of the textBody property.
|
void |
setCategoryID(Integer value)
Sets the value of the categoryID property.
|
void |
setCharacterSet(String value)
Sets the value of the characterSet property.
|
void |
setClonedFromID(Integer value)
Sets the value of the clonedFromID property.
|
void |
setContentCheckStatus(String value)
Sets the value of the contentCheckStatus property.
|
void |
setEmailType(String value)
Sets the value of the emailType property.
|
void |
setFolder(String value)
Sets the value of the folder property.
|
void |
setHasDynamicSubjectLine(Boolean value)
Sets the value of the hasDynamicSubjectLine property.
|
void |
setHtmlBody(String value)
Sets the value of the htmlBody property.
|
void |
setIsActive(Boolean value)
Sets the value of the isActive property.
|
void |
setIsApproved(Boolean value)
Sets the value of the isApproved property.
|
void |
setIsHTMLPaste(Boolean value)
Sets the value of the isHTMLPaste property.
|
void |
setName(String value)
Sets the value of the name property.
|
void |
setPreHeader(String value)
Sets the value of the preHeader property.
|
void |
setStatus(String value)
Sets the value of the status property.
|
void |
setSubject(String value)
Sets the value of the subject property.
|
void |
setSyncTextWithHTML(Boolean value)
Sets the value of the syncTextWithHTML property.
|
void |
setTextBody(String value)
Sets the value of the textBody property.
|
String |
toString()
Generates a String representation of the contents of this type.
|
getClient, getCorrelationID, getCreatedDate, getCustomerKey, getId, getModifiedDate, getObjectID, getObjectState, getOwner, getPartnerKey, getPartnerProperties, setClient, setCorrelationID, setCreatedDate, setCustomerKey, setId, setModifiedDate, setObjectID, setObjectState, setOwner, setPartnerKeyprotected String name
protected String folder
protected Integer categoryID
protected String htmlBody
protected String textBody
protected List<ContentArea> contentAreas
protected String subject
protected Boolean isActive
protected Boolean isHTMLPaste
protected Integer clonedFromID
protected String status
protected String emailType
protected String characterSet
protected Boolean hasDynamicSubjectLine
protected String contentCheckStatus
protected Boolean syncTextWithHTML
protected String preHeader
protected Boolean isApproved
public String getName()
Stringpublic void setName(String value)
value - allowed object is
Stringpublic String getFolder()
Stringpublic void setFolder(String value)
value - allowed object is
Stringpublic Integer getCategoryID()
Integerpublic void setCategoryID(Integer value)
value - allowed object is
Integerpublic String getHtmlBody()
Stringpublic void setHtmlBody(String value)
value - allowed object is
Stringpublic String getTextBody()
Stringpublic void setTextBody(String value)
value - allowed object is
Stringpublic List<ContentArea> getContentAreas()
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
ContentArea
public String getSubject()
Stringpublic void setSubject(String value)
value - allowed object is
Stringpublic Boolean getIsActive()
Booleanpublic void setIsActive(Boolean value)
value - allowed object is
Booleanpublic Boolean getIsHTMLPaste()
Booleanpublic void setIsHTMLPaste(Boolean value)
value - allowed object is
Booleanpublic Integer getClonedFromID()
Integerpublic void setClonedFromID(Integer value)
value - allowed object is
Integerpublic String getStatus()
Stringpublic void setStatus(String value)
value - allowed object is
Stringpublic String getEmailType()
Stringpublic void setEmailType(String value)
value - allowed object is
Stringpublic String getCharacterSet()
Stringpublic void setCharacterSet(String value)
value - allowed object is
Stringpublic Boolean getHasDynamicSubjectLine()
Booleanpublic void setHasDynamicSubjectLine(Boolean value)
value - allowed object is
Booleanpublic String getContentCheckStatus()
Stringpublic void setContentCheckStatus(String value)
value - allowed object is
Stringpublic Boolean getSyncTextWithHTML()
Booleanpublic void setSyncTextWithHTML(Boolean value)
value - allowed object is
Booleanpublic String getPreHeader()
Stringpublic void setPreHeader(String value)
value - allowed object is
Stringpublic Boolean getIsApproved()
Booleanpublic void setIsApproved(Boolean value)
value - allowed object is
BooleanCopyright © 2017. All rights reserved.