public class Link extends APIObject
Java class for Link complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Link">
<complexContent>
<extension base="{http://exacttarget.com/wsdl/partnerAPI}APIObject">
<sequence>
<element name="LastClicked" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
<element name="Alias" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="TotalClicks" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
<element name="UniqueClicks" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
<element name="URL" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="Subscribers" type="{http://exacttarget.com/wsdl/partnerAPI}TrackingEvent" maxOccurs="unbounded" minOccurs="0"/>
<element name="IDLong" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected String |
alias |
protected Long |
idLong |
protected Date |
lastClicked |
protected List<TrackingEvent> |
subscribers |
protected Integer |
totalClicks |
protected Integer |
uniqueClicks |
protected String |
url |
client, correlationID, createdDate, customerKey, id, modifiedDate, objectID, objectState, owner, partnerKey, partnerProperties| Constructor and Description |
|---|
Link() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAlias()
Gets the value of the alias property.
|
Long |
getIDLong()
Gets the value of the idLong property.
|
Date |
getLastClicked()
Gets the value of the lastClicked property.
|
List<TrackingEvent> |
getSubscribers()
Gets the value of the subscribers property.
|
Integer |
getTotalClicks()
Gets the value of the totalClicks property.
|
Integer |
getUniqueClicks()
Gets the value of the uniqueClicks property.
|
String |
getURL()
Gets the value of the url property.
|
void |
setAlias(String value)
Sets the value of the alias property.
|
void |
setIDLong(Long value)
Sets the value of the idLong property.
|
void |
setLastClicked(Date value)
Sets the value of the lastClicked property.
|
void |
setTotalClicks(Integer value)
Sets the value of the totalClicks property.
|
void |
setUniqueClicks(Integer value)
Sets the value of the uniqueClicks property.
|
void |
setURL(String value)
Sets the value of the url 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 Date lastClicked
protected String alias
protected Integer totalClicks
protected Integer uniqueClicks
protected String url
protected List<TrackingEvent> subscribers
protected Long idLong
public Date getLastClicked()
Stringpublic void setLastClicked(Date value)
value - allowed object is
Stringpublic String getAlias()
Stringpublic void setAlias(String value)
value - allowed object is
Stringpublic Integer getTotalClicks()
Integerpublic void setTotalClicks(Integer value)
value - allowed object is
Integerpublic Integer getUniqueClicks()
Integerpublic void setUniqueClicks(Integer value)
value - allowed object is
Integerpublic String getURL()
Stringpublic void setURL(String value)
value - allowed object is
Stringpublic List<TrackingEvent> 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
TrackingEvent
public Long getIDLong()
Longpublic void setIDLong(Long value)
value - allowed object is
LongCopyright © 2017. All rights reserved.