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

com.exacttarget.fuelsdk.internal.PerformResponse 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 PerformResponse complex type. * *

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

 * <complexType name="PerformResponse">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="StatusCode" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="StatusMessage" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="OrdinalID" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
 *         <element name="Results" minOccurs="0">
 *           <complexType>
 *             <complexContent>
 *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                 <sequence>
 *                   <element name="Result" type="{http://exacttarget.com/wsdl/partnerAPI}APIProperty" maxOccurs="unbounded" minOccurs="0"/>
 *                 </sequence>
 *               </restriction>
 *             </complexContent>
 *           </complexType>
 *         </element>
 *         <element name="ErrorCode" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "PerformResponse", propOrder = { "statusCode", "statusMessage", "ordinalID", "results", "errorCode" }) public class PerformResponse { @XmlElement(name = "StatusCode") protected String statusCode; @XmlElement(name = "StatusMessage") protected String statusMessage; @XmlElement(name = "OrdinalID") protected Integer ordinalID; @XmlElement(name = "Results") protected PerformResponse.Results results; @XmlElement(name = "ErrorCode") protected Integer errorCode; /** * Gets the value of the statusCode property. * * @return * possible object is * {@link String } * */ public String getStatusCode() { return statusCode; } /** * Sets the value of the statusCode property. * * @param value * allowed object is * {@link String } * */ public void setStatusCode(String value) { this.statusCode = value; } /** * Gets the value of the statusMessage property. * * @return * possible object is * {@link String } * */ public String getStatusMessage() { return statusMessage; } /** * Sets the value of the statusMessage property. * * @param value * allowed object is * {@link String } * */ public void setStatusMessage(String value) { this.statusMessage = value; } /** * Gets the value of the ordinalID property. * * @return * possible object is * {@link Integer } * */ public Integer getOrdinalID() { return ordinalID; } /** * Sets the value of the ordinalID property. * * @param value * allowed object is * {@link Integer } * */ public void setOrdinalID(Integer value) { this.ordinalID = value; } /** * Gets the value of the results property. * * @return * possible object is * {@link PerformResponse.Results } * */ public PerformResponse.Results getResults() { return results; } /** * Sets the value of the results property. * * @param value * allowed object is * {@link PerformResponse.Results } * */ public void setResults(PerformResponse.Results value) { this.results = value; } /** * Gets the value of the errorCode property. * * @return * possible object is * {@link Integer } * */ public Integer getErrorCode() { return errorCode; } /** * Sets the value of the errorCode property. * * @param value * allowed object is * {@link Integer } * */ public void setErrorCode(Integer value) { this.errorCode = 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="Result" type="{http://exacttarget.com/wsdl/partnerAPI}APIProperty" maxOccurs="unbounded" minOccurs="0"/>
     *       </sequence>
     *     </restriction>
     *   </complexContent>
     * </complexType>
     * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "result" }) public static class Results { @XmlElement(name = "Result") protected List result; /** * Gets the value of the result 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 result property. * *

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

         *    getResult().add(newItem);
         * 
* * *

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