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

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

There is a newer version: 1.6.0
Show 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.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.cxf.xjc.runtime.JAXBToStringStyle;


/**
 * 

Java class for anonymous complex type. * *

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

 * <complexType>
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="Options" type="{http://exacttarget.com/wsdl/partnerAPI}ScheduleOptions" minOccurs="0"/>
 *         <element name="Action" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="Schedule" type="{http://exacttarget.com/wsdl/partnerAPI}ScheduleDefinition" minOccurs="0"/>
 *         <element name="Interactions" minOccurs="0">
 *           <complexType>
 *             <complexContent>
 *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                 <sequence>
 *                   <element name="Interaction" type="{http://exacttarget.com/wsdl/partnerAPI}APIObject" maxOccurs="unbounded" minOccurs="0"/>
 *                 </sequence>
 *               </restriction>
 *             </complexContent>
 *           </complexType>
 *         </element>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "options", "action", "schedule", "interactions" }) @XmlRootElement(name = "ScheduleRequestMsg") public class ScheduleRequestMsg { @XmlElement(name = "Options") protected ScheduleOptions options; @XmlElement(name = "Action") protected String action; @XmlElement(name = "Schedule") protected ScheduleDefinition schedule; @XmlElement(name = "Interactions") protected ScheduleRequestMsg.Interactions interactions; /** * Gets the value of the options property. * * @return * possible object is * {@link ScheduleOptions } * */ public ScheduleOptions getOptions() { return options; } /** * Sets the value of the options property. * * @param value * allowed object is * {@link ScheduleOptions } * */ public void setOptions(ScheduleOptions value) { this.options = value; } /** * Gets the value of the action property. * * @return * possible object is * {@link String } * */ public String getAction() { return action; } /** * Sets the value of the action property. * * @param value * allowed object is * {@link String } * */ public void setAction(String value) { this.action = value; } /** * Gets the value of the schedule property. * * @return * possible object is * {@link ScheduleDefinition } * */ public ScheduleDefinition getSchedule() { return schedule; } /** * Sets the value of the schedule property. * * @param value * allowed object is * {@link ScheduleDefinition } * */ public void setSchedule(ScheduleDefinition value) { this.schedule = value; } /** * Gets the value of the interactions property. * * @return * possible object is * {@link ScheduleRequestMsg.Interactions } * */ public ScheduleRequestMsg.Interactions getInteractions() { return interactions; } /** * Sets the value of the interactions property. * * @param value * allowed object is * {@link ScheduleRequestMsg.Interactions } * */ public void setInteractions(ScheduleRequestMsg.Interactions value) { this.interactions = value; } /** * 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); } /** *

Java class for anonymous complex type. * *

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

     * <complexType>
     *   <complexContent>
     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
     *       <sequence>
     *         <element name="Interaction" type="{http://exacttarget.com/wsdl/partnerAPI}APIObject" maxOccurs="unbounded" minOccurs="0"/>
     *       </sequence>
     *     </restriction>
     *   </complexContent>
     * </complexType>
     * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "interaction" }) public static class Interactions { @XmlElement(name = "Interaction") protected List interaction; /** * Gets the value of the interaction 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 interaction property. * *

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

         *    getInteraction().add(newItem);
         * 
* * *

* Objects of the following type(s) are allowed in the list * {@link APIObject } * * */ public List getInteraction() { if (interaction == null) { interaction = new ArrayList(); } return this.interaction; } /** * 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