001//
002// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 
003// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
004// Any modifications to this file will be lost upon recompilation of the source schema. 
005// Generated on: 2015.08.26 at 05:38:23 AM CEST 
006//
007
008
009package org.opends.dsml.protocol;
010
011import javax.xml.bind.annotation.XmlAccessType;
012import javax.xml.bind.annotation.XmlAccessorType;
013import javax.xml.bind.annotation.XmlAnyElement;
014import javax.xml.bind.annotation.XmlAttribute;
015import javax.xml.bind.annotation.XmlElement;
016import javax.xml.bind.annotation.XmlType;
017
018
019/**
020 * <p>Java class for ErrorResponse complex type.
021 * 
022 * <p>The following schema fragment specifies the expected content contained within this class.
023 * 
024 * <pre>
025 * &lt;complexType name="ErrorResponse">
026 *   &lt;complexContent>
027 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
028 *       &lt;sequence>
029 *         &lt;element name="message" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
030 *         &lt;element name="detail" minOccurs="0">
031 *           &lt;complexType>
032 *             &lt;complexContent>
033 *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
034 *                 &lt;sequence>
035 *                   &lt;any/>
036 *                 &lt;/sequence>
037 *               &lt;/restriction>
038 *             &lt;/complexContent>
039 *           &lt;/complexType>
040 *         &lt;/element>
041 *       &lt;/sequence>
042 *       &lt;attribute name="requestID" type="{urn:oasis:names:tc:DSML:2:0:core}RequestID" />
043 *       &lt;attribute name="type">
044 *         &lt;simpleType>
045 *           &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
046 *             &lt;enumeration value="notAttempted"/>
047 *             &lt;enumeration value="couldNotConnect"/>
048 *             &lt;enumeration value="connectionClosed"/>
049 *             &lt;enumeration value="malformedRequest"/>
050 *             &lt;enumeration value="gatewayInternalError"/>
051 *             &lt;enumeration value="authenticationFailed"/>
052 *             &lt;enumeration value="unresolvableURI"/>
053 *             &lt;enumeration value="other"/>
054 *           &lt;/restriction>
055 *         &lt;/simpleType>
056 *       &lt;/attribute>
057 *     &lt;/restriction>
058 *   &lt;/complexContent>
059 * &lt;/complexType>
060 * </pre>
061 * 
062 * 
063 */
064@XmlAccessorType(XmlAccessType.FIELD)
065@XmlType(name = "ErrorResponse", namespace = "urn:oasis:names:tc:DSML:2:0:core", propOrder = {
066    "message",
067    "detail"
068})
069public class ErrorResponse {
070
071    @XmlElement(namespace = "urn:oasis:names:tc:DSML:2:0:core")
072    protected String message;
073    @XmlElement(namespace = "urn:oasis:names:tc:DSML:2:0:core")
074    protected ErrorResponse.Detail detail;
075    @XmlAttribute(name = "requestID")
076    protected String requestID;
077    @XmlAttribute(name = "type")
078    protected String type;
079
080    /**
081     * Gets the value of the message property.
082     * 
083     * @return
084     *     possible object is
085     *     {@link String }
086     *     
087     */
088    public String getMessage() {
089        return message;
090    }
091
092    /**
093     * Sets the value of the message property.
094     * 
095     * @param value
096     *     allowed object is
097     *     {@link String }
098     *     
099     */
100    public void setMessage(String value) {
101        this.message = value;
102    }
103
104    /**
105     * Gets the value of the detail property.
106     * 
107     * @return
108     *     possible object is
109     *     {@link ErrorResponse.Detail }
110     *     
111     */
112    public ErrorResponse.Detail getDetail() {
113        return detail;
114    }
115
116    /**
117     * Sets the value of the detail property.
118     * 
119     * @param value
120     *     allowed object is
121     *     {@link ErrorResponse.Detail }
122     *     
123     */
124    public void setDetail(ErrorResponse.Detail value) {
125        this.detail = value;
126    }
127
128    /**
129     * Gets the value of the requestID property.
130     * 
131     * @return
132     *     possible object is
133     *     {@link String }
134     *     
135     */
136    public String getRequestID() {
137        return requestID;
138    }
139
140    /**
141     * Sets the value of the requestID property.
142     * 
143     * @param value
144     *     allowed object is
145     *     {@link String }
146     *     
147     */
148    public void setRequestID(String value) {
149        this.requestID = value;
150    }
151
152    /**
153     * Gets the value of the type property.
154     * 
155     * @return
156     *     possible object is
157     *     {@link String }
158     *     
159     */
160    public String getType() {
161        return type;
162    }
163
164    /**
165     * Sets the value of the type property.
166     * 
167     * @param value
168     *     allowed object is
169     *     {@link String }
170     *     
171     */
172    public void setType(String value) {
173        this.type = value;
174    }
175
176
177    /**
178     * <p>Java class for anonymous complex type.
179     * 
180     * <p>The following schema fragment specifies the expected content contained within this class.
181     * 
182     * <pre>
183     * &lt;complexType>
184     *   &lt;complexContent>
185     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
186     *       &lt;sequence>
187     *         &lt;any/>
188     *       &lt;/sequence>
189     *     &lt;/restriction>
190     *   &lt;/complexContent>
191     * &lt;/complexType>
192     * </pre>
193     * 
194     * 
195     */
196    @XmlAccessorType(XmlAccessType.FIELD)
197    @XmlType(name = "", propOrder = {
198        "any"
199    })
200    public static class Detail {
201
202        @XmlAnyElement(lax = true)
203        protected Object any;
204
205        /**
206         * Gets the value of the any property.
207         * 
208         * @return
209         *     possible object is
210         *     {@link Object }
211         *     
212         */
213        public Object getAny() {
214            return any;
215        }
216
217        /**
218         * Sets the value of the any property.
219         * 
220         * @param value
221         *     allowed object is
222         *     {@link Object }
223         *     
224         */
225        public void setAny(Object value) {
226            this.any = value;
227        }
228
229    }
230
231}