package ebayopensource.apis.eblbasecomponents; 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.XmlAnyElement; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlType; import org.w3c.dom.Element; /** * * Container of token and image URL and Audio URL. * * * Please note that this response is returned for * all calls that trigger traffic limiter rules. * * * * * <p>Java class for BotBlockResponseType complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType name="BotBlockResponseType"> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="BotBlockToken" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * <element name="BotBlockUrl" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * <element name="BotBlockAudioUrl" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * <any/> * </sequence> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "BotBlockResponseType", propOrder = { "botBlockToken", "botBlockUrl", "botBlockAudioUrl", "any" }) public class BotBlockResponseType { @XmlElement(name = "BotBlockToken") protected String botBlockToken; @XmlElement(name = "BotBlockUrl") protected String botBlockUrl; @XmlElement(name = "BotBlockAudioUrl") protected String botBlockAudioUrl; @XmlAnyElement(lax = true) protected List<Object> any; /** * Gets the value of the botBlockToken property. * * @return * possible object is * {@link String } * */ public String getBotBlockToken() { return botBlockToken; } /** * Sets the value of the botBlockToken property. * * @param value * allowed object is * {@link String } * */ public void setBotBlockToken(String value) { this.botBlockToken = value; } /** * Gets the value of the botBlockUrl property. * * @return * possible object is * {@link String } * */ public String getBotBlockUrl() { return botBlockUrl; } /** * Sets the value of the botBlockUrl property. * * @param value * allowed object is * {@link String } * */ public void setBotBlockUrl(String value) { this.botBlockUrl = value; } /** * Gets the value of the botBlockAudioUrl property. * * @return * possible object is * {@link String } * */ public String getBotBlockAudioUrl() { return botBlockAudioUrl; } /** * Sets the value of the botBlockAudioUrl property. * * @param value * allowed object is * {@link String } * */ public void setBotBlockAudioUrl(String value) { this.botBlockAudioUrl = value; } /** * Gets the value of the any property. * * <p> * 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 <CODE>set</CODE> method for the any property. * * <p> * For example, to add a new item, do as follows: * <pre> * getAny().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link Element } * {@link Object } * * */ public List<Object> getAny() { if (any == null) { any = new ArrayList<Object>(); } return this.any; } }