All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.exacttarget.fuelsdk.internal.TriggeredSend Maven / Gradle / Ivy

The newest version!

package com.exacttarget.fuelsdk.internal;

import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.cxf.xjc.runtime.JAXBToStringStyle;


/**
 * 

Java class for TriggeredSend complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <complexType name="TriggeredSend">
 *   <complexContent>
 *     <extension base="{http://exacttarget.com/wsdl/partnerAPI}APIObject">
 *       <sequence>
 *         <element name="TriggeredSendDefinition" type="{http://exacttarget.com/wsdl/partnerAPI}TriggeredSendDefinition"/>
 *         <element name="Subscribers" type="{http://exacttarget.com/wsdl/partnerAPI}Subscriber" maxOccurs="unbounded"/>
 *         <element name="Attributes" type="{http://exacttarget.com/wsdl/partnerAPI}Attribute" maxOccurs="unbounded" minOccurs="0"/>
 *       </sequence>
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "TriggeredSend", propOrder = { "triggeredSendDefinition", "subscribers", "attributes" }) public class TriggeredSend extends APIObject { @XmlElement(name = "TriggeredSendDefinition", required = true) protected TriggeredSendDefinition triggeredSendDefinition; @XmlElement(name = "Subscribers", required = true) protected List subscribers; @XmlElement(name = "Attributes") protected List attributes; /** * Gets the value of the triggeredSendDefinition property. * * @return * possible object is * {@link TriggeredSendDefinition } * */ public TriggeredSendDefinition getTriggeredSendDefinition() { return triggeredSendDefinition; } /** * Sets the value of the triggeredSendDefinition property. * * @param value * allowed object is * {@link TriggeredSendDefinition } * */ public void setTriggeredSendDefinition(TriggeredSendDefinition value) { this.triggeredSendDefinition = value; } /** * Gets the value of the subscribers property. * *

* 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 * {@link Subscriber } * * */ public List getSubscribers() { if (subscribers == null) { subscribers = new ArrayList(); } return this.subscribers; } /** * Gets the value of the attributes property. * *

* 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 attributes property. * *

* For example, to add a new item, do as follows: *

     *    getAttributes().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Attribute } * * */ public List getAttributes() { if (attributes == null) { attributes = new ArrayList(); } return this.attributes; } /** * Generates a String representation of the contents of this type. * This is an extension method, produced by the 'ts' xjc plugin * */ @Override public String toString() { return ToStringBuilder.reflectionToString(this, JAXBToStringStyle.DEFAULT_STYLE); } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy