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

com.exacttarget.fuelsdk.internal.QueryRequest 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.XmlType;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.cxf.xjc.runtime.JAXBToStringStyle;


/**
 * 

Java class for QueryRequest complex type. * *

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

 * <complexType name="QueryRequest">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="ClientIDs" type="{http://exacttarget.com/wsdl/partnerAPI}ClientID" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="Query" type="{http://exacttarget.com/wsdl/partnerAPI}Query"/>
 *         <element name="RespondTo" type="{http://exacttarget.com/wsdl/partnerAPI}AsyncResponse" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="PartnerProperties" type="{http://exacttarget.com/wsdl/partnerAPI}APIProperty" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="ContinueRequest" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="QueryAllAccounts" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
 *         <element name="RetrieveAllSinceLastBatch" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "QueryRequest", propOrder = { "clientIDs", "query", "respondTo", "partnerProperties", "continueRequest", "queryAllAccounts", "retrieveAllSinceLastBatch" }) public class QueryRequest { @XmlElement(name = "ClientIDs") protected List clientIDs; @XmlElement(name = "Query", required = true) protected Query query; @XmlElement(name = "RespondTo") protected List respondTo; @XmlElement(name = "PartnerProperties") protected List partnerProperties; @XmlElement(name = "ContinueRequest") protected String continueRequest; @XmlElement(name = "QueryAllAccounts") protected Boolean queryAllAccounts; @XmlElement(name = "RetrieveAllSinceLastBatch") protected Boolean retrieveAllSinceLastBatch; /** * Gets the value of the clientIDs 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 clientIDs property. * *

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

     *    getClientIDs().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link ClientID } * * */ public List getClientIDs() { if (clientIDs == null) { clientIDs = new ArrayList(); } return this.clientIDs; } /** * Gets the value of the query property. * * @return * possible object is * {@link Query } * */ public Query getQuery() { return query; } /** * Sets the value of the query property. * * @param value * allowed object is * {@link Query } * */ public void setQuery(Query value) { this.query = value; } /** * Gets the value of the respondTo 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 respondTo property. * *

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

     *    getRespondTo().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link AsyncResponse } * * */ public List getRespondTo() { if (respondTo == null) { respondTo = new ArrayList(); } return this.respondTo; } /** * Gets the value of the partnerProperties 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 partnerProperties property. * *

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

     *    getPartnerProperties().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link APIProperty } * * */ public List getPartnerProperties() { if (partnerProperties == null) { partnerProperties = new ArrayList(); } return this.partnerProperties; } /** * Gets the value of the continueRequest property. * * @return * possible object is * {@link String } * */ public String getContinueRequest() { return continueRequest; } /** * Sets the value of the continueRequest property. * * @param value * allowed object is * {@link String } * */ public void setContinueRequest(String value) { this.continueRequest = value; } /** * Gets the value of the queryAllAccounts property. * * @return * possible object is * {@link Boolean } * */ public Boolean getQueryAllAccounts() { return queryAllAccounts; } /** * Sets the value of the queryAllAccounts property. * * @param value * allowed object is * {@link Boolean } * */ public void setQueryAllAccounts(Boolean value) { this.queryAllAccounts = value; } /** * Gets the value of the retrieveAllSinceLastBatch property. * * @return * possible object is * {@link Boolean } * */ public Boolean getRetrieveAllSinceLastBatch() { return retrieveAllSinceLastBatch; } /** * Sets the value of the retrieveAllSinceLastBatch property. * * @param value * allowed object is * {@link Boolean } * */ public void setRetrieveAllSinceLastBatch(Boolean value) { this.retrieveAllSinceLastBatch = 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); } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy