public class Template extends APIObject
Java class for Template complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Template">
<complexContent>
<extension base="{http://exacttarget.com/wsdl/partnerAPI}APIObject">
<sequence>
<element name="TemplateName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="LayoutHTML" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="BackgroundColor" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="BorderColor" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="BorderWidth" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
<element name="Cellpadding" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
<element name="Cellspacing" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
<element name="Width" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
<element name="Align" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="ActiveFlag" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
<element name="CategoryID" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
<element name="CategoryType" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="OwnerID" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
<element name="HeaderContent" type="{http://exacttarget.com/wsdl/partnerAPI}ContentArea" minOccurs="0"/>
<element name="Layout" type="{http://exacttarget.com/wsdl/partnerAPI}Layout" minOccurs="0"/>
<element name="TemplateSubject" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="IsTemplateSubjectLocked" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
<element name="PreHeader" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected Integer |
activeFlag |
protected String |
align |
protected String |
backgroundColor |
protected String |
borderColor |
protected Integer |
borderWidth |
protected Integer |
categoryID |
protected String |
categoryType |
protected Integer |
cellpadding |
protected Integer |
cellspacing |
protected ContentArea |
headerContent |
protected Boolean |
isTemplateSubjectLocked |
protected Layout |
layout |
protected String |
layoutHTML |
protected Integer |
ownerID |
protected String |
preHeader |
protected String |
templateName |
protected String |
templateSubject |
protected Integer |
width |
client, correlationID, createdDate, customerKey, id, modifiedDate, objectID, objectState, owner, partnerKey, partnerProperties| Constructor and Description |
|---|
Template() |
| Modifier and Type | Method and Description |
|---|---|
Integer |
getActiveFlag()
Gets the value of the activeFlag property.
|
String |
getAlign()
Gets the value of the align property.
|
String |
getBackgroundColor()
Gets the value of the backgroundColor property.
|
String |
getBorderColor()
Gets the value of the borderColor property.
|
Integer |
getBorderWidth()
Gets the value of the borderWidth property.
|
Integer |
getCategoryID()
Gets the value of the categoryID property.
|
String |
getCategoryType()
Gets the value of the categoryType property.
|
Integer |
getCellpadding()
Gets the value of the cellpadding property.
|
Integer |
getCellspacing()
Gets the value of the cellspacing property.
|
ContentArea |
getHeaderContent()
Gets the value of the headerContent property.
|
Boolean |
getIsTemplateSubjectLocked()
Gets the value of the isTemplateSubjectLocked property.
|
Layout |
getLayout()
Gets the value of the layout property.
|
String |
getLayoutHTML()
Gets the value of the layoutHTML property.
|
Integer |
getOwnerID()
Gets the value of the ownerID property.
|
String |
getPreHeader()
Gets the value of the preHeader property.
|
String |
getTemplateName()
Gets the value of the templateName property.
|
String |
getTemplateSubject()
Gets the value of the templateSubject property.
|
Integer |
getWidth()
Gets the value of the width property.
|
void |
setActiveFlag(Integer value)
Sets the value of the activeFlag property.
|
void |
setAlign(String value)
Sets the value of the align property.
|
void |
setBackgroundColor(String value)
Sets the value of the backgroundColor property.
|
void |
setBorderColor(String value)
Sets the value of the borderColor property.
|
void |
setBorderWidth(Integer value)
Sets the value of the borderWidth property.
|
void |
setCategoryID(Integer value)
Sets the value of the categoryID property.
|
void |
setCategoryType(String value)
Sets the value of the categoryType property.
|
void |
setCellpadding(Integer value)
Sets the value of the cellpadding property.
|
void |
setCellspacing(Integer value)
Sets the value of the cellspacing property.
|
void |
setHeaderContent(ContentArea value)
Sets the value of the headerContent property.
|
void |
setIsTemplateSubjectLocked(Boolean value)
Sets the value of the isTemplateSubjectLocked property.
|
void |
setLayout(Layout value)
Sets the value of the layout property.
|
void |
setLayoutHTML(String value)
Sets the value of the layoutHTML property.
|
void |
setOwnerID(Integer value)
Sets the value of the ownerID property.
|
void |
setPreHeader(String value)
Sets the value of the preHeader property.
|
void |
setTemplateName(String value)
Sets the value of the templateName property.
|
void |
setTemplateSubject(String value)
Sets the value of the templateSubject property.
|
void |
setWidth(Integer value)
Sets the value of the width 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 templateName
protected String layoutHTML
protected String backgroundColor
protected String borderColor
protected Integer borderWidth
protected Integer cellpadding
protected Integer cellspacing
protected Integer width
protected String align
protected Integer activeFlag
protected Integer categoryID
protected String categoryType
protected Integer ownerID
protected ContentArea headerContent
protected Layout layout
protected String templateSubject
protected Boolean isTemplateSubjectLocked
protected String preHeader
public String getTemplateName()
Stringpublic void setTemplateName(String value)
value - allowed object is
Stringpublic String getLayoutHTML()
Stringpublic void setLayoutHTML(String value)
value - allowed object is
Stringpublic String getBackgroundColor()
Stringpublic void setBackgroundColor(String value)
value - allowed object is
Stringpublic String getBorderColor()
Stringpublic void setBorderColor(String value)
value - allowed object is
Stringpublic Integer getBorderWidth()
Integerpublic void setBorderWidth(Integer value)
value - allowed object is
Integerpublic Integer getCellpadding()
Integerpublic void setCellpadding(Integer value)
value - allowed object is
Integerpublic Integer getCellspacing()
Integerpublic void setCellspacing(Integer value)
value - allowed object is
Integerpublic Integer getWidth()
Integerpublic void setWidth(Integer value)
value - allowed object is
Integerpublic String getAlign()
Stringpublic void setAlign(String value)
value - allowed object is
Stringpublic Integer getActiveFlag()
Integerpublic void setActiveFlag(Integer value)
value - allowed object is
Integerpublic Integer getCategoryID()
Integerpublic void setCategoryID(Integer value)
value - allowed object is
Integerpublic String getCategoryType()
Stringpublic void setCategoryType(String value)
value - allowed object is
Stringpublic Integer getOwnerID()
Integerpublic void setOwnerID(Integer value)
value - allowed object is
Integerpublic ContentArea getHeaderContent()
ContentAreapublic void setHeaderContent(ContentArea value)
value - allowed object is
ContentAreapublic Layout getLayout()
Layoutpublic void setLayout(Layout value)
value - allowed object is
Layoutpublic String getTemplateSubject()
Stringpublic void setTemplateSubject(String value)
value - allowed object is
Stringpublic Boolean getIsTemplateSubjectLocked()
Booleanpublic void setIsTemplateSubjectLocked(Boolean value)
value - allowed object is
Booleanpublic String getPreHeader()
Stringpublic void setPreHeader(String value)
value - allowed object is
StringCopyright © 2017. All rights reserved.