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

com.connectifier.xeroclient.models.ApiException Maven / Gradle / Ivy

//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 
// See http://java.sun.com/xml/jaxb 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2015.03.08 at 08:40:56 PM PDT 
//


package com.connectifier.xeroclient.models;

import java.math.BigInteger;
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.XmlRootElement;
import javax.xml.bind.annotation.XmlType;


/**
 * 

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">
 *       <all>
 *         <element name="ErrorNumber" type="{http://www.w3.org/2001/XMLSchema}integer"/>
 *         <element name="Type" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         <element name="Message" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         <element name="Elements" type="{}Elements" maxOccurs="unbounded" minOccurs="0"/>
 *       </all>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { }) @XmlRootElement(name = "ApiException") public class ApiException { @XmlElement(name = "ErrorNumber", required = true) protected BigInteger errorNumber; @XmlElement(name = "Type", required = true) protected String type; @XmlElement(name = "Message", required = true) protected String message; @XmlElement(name = "Elements") protected List elements; /** * Gets the value of the errorNumber property. * * @return * possible object is * {@link BigInteger } * */ public BigInteger getErrorNumber() { return errorNumber; } /** * Sets the value of the errorNumber property. * * @param value * allowed object is * {@link BigInteger } * */ public void setErrorNumber(BigInteger value) { this.errorNumber = value; } /** * Gets the value of the type property. * * @return * possible object is * {@link String } * */ public String getType() { return type; } /** * Sets the value of the type property. * * @param value * allowed object is * {@link String } * */ public void setType(String value) { this.type = value; } /** * Gets the value of the message property. * * @return * possible object is * {@link String } * */ public String getMessage() { return message; } /** * Sets the value of the message property. * * @param value * allowed object is * {@link String } * */ public void setMessage(String value) { this.message = value; } /** * Gets the value of the elements 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 elements property. * *

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

     *    getElements().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Elements } * * */ public List getElements() { if (elements == null) { elements = new ArrayList(); } return this.elements; } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy