public class DataExtension extends APIObject
Java class for DataExtension complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="DataExtension"> <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="Description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="IsSendable" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> <element name="IsTestable" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> <element name="SendableDataExtensionField" type="{http://exacttarget.com/wsdl/partnerAPI}DataExtensionField" minOccurs="0"/> <element name="SendableSubscriberField" type="{http://exacttarget.com/wsdl/partnerAPI}Attribute" minOccurs="0"/> <element name="Template" type="{http://exacttarget.com/wsdl/partnerAPI}DataExtensionTemplate" minOccurs="0"/> <element name="DataRetentionPeriodLength" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/> <element name="DataRetentionPeriodUnitOfMeasure" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/> <element name="RowBasedRetention" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> <element name="ResetRetentionPeriodOnImport" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> <element name="DeleteAtEndOfRetentionPeriod" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> <element name="RetainUntil" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="Fields" minOccurs="0"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="Field" type="{http://exacttarget.com/wsdl/partnerAPI}DataExtensionField" maxOccurs="unbounded" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType> </element> <element name="DataRetentionPeriod" type="{http://exacttarget.com/wsdl/partnerAPI}DateTimeUnitOfMeasure" minOccurs="0"/> <element name="CategoryID" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/> <element name="Status" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>
Modifier and Type | Class and Description |
---|---|
static class |
DataExtension.Fields
Java class for anonymous complex type.
|
Modifier and Type | Field and Description |
---|---|
protected Long |
categoryID |
protected DateTimeUnitOfMeasure |
dataRetentionPeriod |
protected Integer |
dataRetentionPeriodLength |
protected Integer |
dataRetentionPeriodUnitOfMeasure |
protected Boolean |
deleteAtEndOfRetentionPeriod |
protected String |
description |
protected DataExtension.Fields |
fields |
protected Boolean |
isSendable |
protected Boolean |
isTestable |
protected String |
name |
protected Boolean |
resetRetentionPeriodOnImport |
protected String |
retainUntil |
protected Boolean |
rowBasedRetention |
protected DataExtensionField |
sendableDataExtensionField |
protected Attribute |
sendableSubscriberField |
protected String |
status |
protected DataExtensionTemplate |
template |
client, correlationID, createdDate, customerKey, id, modifiedDate, objectID, objectState, owner, partnerKey, partnerProperties
Constructor and Description |
---|
DataExtension() |
Modifier and Type | Method and Description |
---|---|
Long |
getCategoryID()
Gets the value of the categoryID property.
|
DateTimeUnitOfMeasure |
getDataRetentionPeriod()
Gets the value of the dataRetentionPeriod property.
|
Integer |
getDataRetentionPeriodLength()
Gets the value of the dataRetentionPeriodLength property.
|
Integer |
getDataRetentionPeriodUnitOfMeasure()
Gets the value of the dataRetentionPeriodUnitOfMeasure property.
|
Boolean |
getDeleteAtEndOfRetentionPeriod()
Gets the value of the deleteAtEndOfRetentionPeriod property.
|
String |
getDescription()
Gets the value of the description property.
|
DataExtension.Fields |
getFields()
Gets the value of the fields property.
|
Boolean |
getIsSendable()
Gets the value of the isSendable property.
|
Boolean |
getIsTestable()
Gets the value of the isTestable property.
|
String |
getName()
Gets the value of the name property.
|
Boolean |
getResetRetentionPeriodOnImport()
Gets the value of the resetRetentionPeriodOnImport property.
|
String |
getRetainUntil()
Gets the value of the retainUntil property.
|
Boolean |
getRowBasedRetention()
Gets the value of the rowBasedRetention property.
|
DataExtensionField |
getSendableDataExtensionField()
Gets the value of the sendableDataExtensionField property.
|
Attribute |
getSendableSubscriberField()
Gets the value of the sendableSubscriberField property.
|
String |
getStatus()
Gets the value of the status property.
|
DataExtensionTemplate |
getTemplate()
Gets the value of the template property.
|
void |
setCategoryID(Long value)
Sets the value of the categoryID property.
|
void |
setDataRetentionPeriod(DateTimeUnitOfMeasure value)
Sets the value of the dataRetentionPeriod property.
|
void |
setDataRetentionPeriodLength(Integer value)
Sets the value of the dataRetentionPeriodLength property.
|
void |
setDataRetentionPeriodUnitOfMeasure(Integer value)
Sets the value of the dataRetentionPeriodUnitOfMeasure property.
|
void |
setDeleteAtEndOfRetentionPeriod(Boolean value)
Sets the value of the deleteAtEndOfRetentionPeriod property.
|
void |
setDescription(String value)
Sets the value of the description property.
|
void |
setFields(DataExtension.Fields value)
Sets the value of the fields property.
|
void |
setIsSendable(Boolean value)
Sets the value of the isSendable property.
|
void |
setIsTestable(Boolean value)
Sets the value of the isTestable property.
|
void |
setName(String value)
Sets the value of the name property.
|
void |
setResetRetentionPeriodOnImport(Boolean value)
Sets the value of the resetRetentionPeriodOnImport property.
|
void |
setRetainUntil(String value)
Sets the value of the retainUntil property.
|
void |
setRowBasedRetention(Boolean value)
Sets the value of the rowBasedRetention property.
|
void |
setSendableDataExtensionField(DataExtensionField value)
Sets the value of the sendableDataExtensionField property.
|
void |
setSendableSubscriberField(Attribute value)
Sets the value of the sendableSubscriberField property.
|
void |
setStatus(String value)
Sets the value of the status property.
|
void |
setTemplate(DataExtensionTemplate value)
Sets the value of the template 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 description
protected Boolean isSendable
protected Boolean isTestable
protected DataExtensionField sendableDataExtensionField
protected Attribute sendableSubscriberField
protected DataExtensionTemplate template
protected Integer dataRetentionPeriodLength
protected Integer dataRetentionPeriodUnitOfMeasure
protected Boolean rowBasedRetention
protected Boolean resetRetentionPeriodOnImport
protected Boolean deleteAtEndOfRetentionPeriod
protected String retainUntil
protected DataExtension.Fields fields
protected DateTimeUnitOfMeasure dataRetentionPeriod
protected Long categoryID
protected String status
public String getName()
String
public void setName(String value)
value
- allowed object is
String
public String getDescription()
String
public void setDescription(String value)
value
- allowed object is
String
public Boolean getIsSendable()
Boolean
public void setIsSendable(Boolean value)
value
- allowed object is
Boolean
public Boolean getIsTestable()
Boolean
public void setIsTestable(Boolean value)
value
- allowed object is
Boolean
public DataExtensionField getSendableDataExtensionField()
DataExtensionField
public void setSendableDataExtensionField(DataExtensionField value)
value
- allowed object is
DataExtensionField
public Attribute getSendableSubscriberField()
Attribute
public void setSendableSubscriberField(Attribute value)
value
- allowed object is
Attribute
public DataExtensionTemplate getTemplate()
DataExtensionTemplate
public void setTemplate(DataExtensionTemplate value)
value
- allowed object is
DataExtensionTemplate
public Integer getDataRetentionPeriodLength()
Integer
public void setDataRetentionPeriodLength(Integer value)
value
- allowed object is
Integer
public Integer getDataRetentionPeriodUnitOfMeasure()
Integer
public void setDataRetentionPeriodUnitOfMeasure(Integer value)
value
- allowed object is
Integer
public Boolean getRowBasedRetention()
Boolean
public void setRowBasedRetention(Boolean value)
value
- allowed object is
Boolean
public Boolean getResetRetentionPeriodOnImport()
Boolean
public void setResetRetentionPeriodOnImport(Boolean value)
value
- allowed object is
Boolean
public Boolean getDeleteAtEndOfRetentionPeriod()
Boolean
public void setDeleteAtEndOfRetentionPeriod(Boolean value)
value
- allowed object is
Boolean
public String getRetainUntil()
String
public void setRetainUntil(String value)
value
- allowed object is
String
public DataExtension.Fields getFields()
DataExtension.Fields
public void setFields(DataExtension.Fields value)
value
- allowed object is
DataExtension.Fields
public DateTimeUnitOfMeasure getDataRetentionPeriod()
DateTimeUnitOfMeasure
public void setDataRetentionPeriod(DateTimeUnitOfMeasure value)
value
- allowed object is
DateTimeUnitOfMeasure
public Long getCategoryID()
Long
public void setCategoryID(Long value)
value
- allowed object is
Long
public String getStatus()
String
public void setStatus(String value)
value
- allowed object is
String
Copyright © 2017. All rights reserved.