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, setPartnerKey
protected 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()
String
public void setName(String value)
value
- allowed object is
String
public String getFolder()
String
public void setFolder(String value)
value
- allowed object is
String
public Integer getCategoryID()
Integer
public void setCategoryID(Integer value)
value
- allowed object is
Integer
public String getHtmlBody()
String
public void setHtmlBody(String value)
value
- allowed object is
String
public String getTextBody()
String
public void setTextBody(String value)
value
- allowed object is
String
public 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()
String
public void setSubject(String value)
value
- allowed object is
String
public Boolean getIsActive()
Boolean
public void setIsActive(Boolean value)
value
- allowed object is
Boolean
public Boolean getIsHTMLPaste()
Boolean
public void setIsHTMLPaste(Boolean value)
value
- allowed object is
Boolean
public Integer getClonedFromID()
Integer
public void setClonedFromID(Integer value)
value
- allowed object is
Integer
public String getStatus()
String
public void setStatus(String value)
value
- allowed object is
String
public String getEmailType()
String
public void setEmailType(String value)
value
- allowed object is
String
public String getCharacterSet()
String
public void setCharacterSet(String value)
value
- allowed object is
String
public Boolean getHasDynamicSubjectLine()
Boolean
public void setHasDynamicSubjectLine(Boolean value)
value
- allowed object is
Boolean
public String getContentCheckStatus()
String
public void setContentCheckStatus(String value)
value
- allowed object is
String
public Boolean getSyncTextWithHTML()
Boolean
public void setSyncTextWithHTML(Boolean value)
value
- allowed object is
Boolean
public String getPreHeader()
String
public void setPreHeader(String value)
value
- allowed object is
String
public Boolean getIsApproved()
Boolean
public void setIsApproved(Boolean value)
value
- allowed object is
Boolean
Copyright © 2017. All rights reserved.