public class List extends APIObject
Java class for List complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="List"> <complexContent> <extension base="{http://exacttarget.com/wsdl/partnerAPI}APIObject"> <sequence> <element name="ListName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="Category" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/> <element name="Type" type="{http://exacttarget.com/wsdl/partnerAPI}ListTypeEnum" minOccurs="0"/> <element name="Description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="Subscribers" type="{http://exacttarget.com/wsdl/partnerAPI}Subscriber" maxOccurs="unbounded" minOccurs="0"/> <element name="ListClassification" type="{http://exacttarget.com/wsdl/partnerAPI}ListClassificationEnum" minOccurs="0"/> <element name="AutomatedEmail" type="{http://exacttarget.com/wsdl/partnerAPI}Email" minOccurs="0"/> <element name="SendClassification" type="{http://exacttarget.com/wsdl/partnerAPI}SendClassification" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected Email |
automatedEmail |
protected Integer |
category |
protected String |
description |
protected ListClassificationEnum |
listClassification |
protected String |
listName |
protected SendClassification |
sendClassification |
protected List<Subscriber> |
subscribers |
protected ListTypeEnum |
type |
client, correlationID, createdDate, customerKey, id, modifiedDate, objectID, objectState, owner, partnerKey, partnerProperties
Constructor and Description |
---|
List() |
Modifier and Type | Method and Description |
---|---|
Email |
getAutomatedEmail()
Gets the value of the automatedEmail property.
|
Integer |
getCategory()
Gets the value of the category property.
|
String |
getDescription()
Gets the value of the description property.
|
ListClassificationEnum |
getListClassification()
Gets the value of the listClassification property.
|
String |
getListName()
Gets the value of the listName property.
|
SendClassification |
getSendClassification()
Gets the value of the sendClassification property.
|
List<Subscriber> |
getSubscribers()
Gets the value of the subscribers property.
|
ListTypeEnum |
getType()
Gets the value of the type property.
|
void |
setAutomatedEmail(Email value)
Sets the value of the automatedEmail property.
|
void |
setCategory(Integer value)
Sets the value of the category property.
|
void |
setDescription(String value)
Sets the value of the description property.
|
void |
setListClassification(ListClassificationEnum value)
Sets the value of the listClassification property.
|
void |
setListName(String value)
Sets the value of the listName property.
|
void |
setSendClassification(SendClassification value)
Sets the value of the sendClassification property.
|
void |
setType(ListTypeEnum value)
Sets the value of the type 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 listName
protected Integer category
protected ListTypeEnum type
protected String description
protected List<Subscriber> subscribers
protected ListClassificationEnum listClassification
protected Email automatedEmail
protected SendClassification sendClassification
public String getListName()
String
public void setListName(String value)
value
- allowed object is
String
public Integer getCategory()
Integer
public void setCategory(Integer value)
value
- allowed object is
Integer
public ListTypeEnum getType()
ListTypeEnum
public void setType(ListTypeEnum value)
value
- allowed object is
ListTypeEnum
public String getDescription()
String
public void setDescription(String value)
value
- allowed object is
String
public List<Subscriber> getSubscribers()
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 subscribers property.
For example, to add a new item, do as follows:
getSubscribers().add(newItem);
Objects of the following type(s) are allowed in the list
Subscriber
public ListClassificationEnum getListClassification()
ListClassificationEnum
public void setListClassification(ListClassificationEnum value)
value
- allowed object is
ListClassificationEnum
public Email getAutomatedEmail()
Email
public void setAutomatedEmail(Email value)
value
- allowed object is
Email
public SendClassification getSendClassification()
SendClassification
public void setSendClassification(SendClassification value)
value
- allowed object is
SendClassification
Copyright © 2017. All rights reserved.