com.exacttarget.fuelsdk.internal.PerformRequest Maven / Gradle / Ivy
Show all versions of fuelsdk Show documentation
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;
/**
* PerformRequest has been deprecated. See PerformRequestMsg.
*
* Java class for PerformRequest complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="PerformRequest">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="Client" type="{http://exacttarget.com/wsdl/partnerAPI}ClientID" minOccurs="0"/>
* <element name="Action" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="Definitions" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="Definition" type="{http://exacttarget.com/wsdl/partnerAPI}InteractionBaseObject" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "PerformRequest", propOrder = {
"client",
"action",
"definitions"
})
public class PerformRequest {
@XmlElement(name = "Client")
protected ClientID client;
@XmlElement(name = "Action")
protected String action;
@XmlElement(name = "Definitions")
protected PerformRequest.Definitions definitions;
/**
* Gets the value of the client property.
*
* @return
* possible object is
* {@link ClientID }
*
*/
public ClientID getClient() {
return client;
}
/**
* Sets the value of the client property.
*
* @param value
* allowed object is
* {@link ClientID }
*
*/
public void setClient(ClientID value) {
this.client = 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 definitions property.
*
* @return
* possible object is
* {@link PerformRequest.Definitions }
*
*/
public PerformRequest.Definitions getDefinitions() {
return definitions;
}
/**
* Sets the value of the definitions property.
*
* @param value
* allowed object is
* {@link PerformRequest.Definitions }
*
*/
public void setDefinitions(PerformRequest.Definitions value) {
this.definitions = 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="Definition" type="{http://exacttarget.com/wsdl/partnerAPI}InteractionBaseObject" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"definition"
})
public static class Definitions {
@XmlElement(name = "Definition")
protected List definition;
/**
* Gets the value of the definition 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 definition property.
*
*
* For example, to add a new item, do as follows:
*
* getDefinition().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link InteractionBaseObject }
*
*
*/
public List getDefinition() {
if (definition == null) {
definition = new ArrayList();
}
return this.definition;
}
/**
* 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);
}
}
}