package com.microsoft.bingads.v11.reporting; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for AdApiError complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType name="AdApiError"> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="Code" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/> * <element name="Detail" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * <element name="ErrorCode" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * <element name="Message" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "AdApiError", namespace = "https://adapi.microsoft.com", propOrder = { "code", "detail", "errorCode", "message" }) public class AdApiError { @XmlElement(name = "Code") protected Integer code; @XmlElement(name = "Detail", nillable = true) protected String detail; @XmlElement(name = "ErrorCode", nillable = true) protected String errorCode; @XmlElement(name = "Message", nillable = true) protected String message; /** * Gets the value of the code property. * * @return * possible object is * {@link Integer } * */ public Integer getCode() { return code; } /** * Sets the value of the code property. * * @param value * allowed object is * {@link Integer } * */ public void setCode(Integer value) { this.code = value; } /** * Gets the value of the detail property. * * @return * possible object is * {@link String } * */ public String getDetail() { return detail; } /** * Sets the value of the detail property. * * @param value * allowed object is * {@link String } * */ public void setDetail(String value) { this.detail = value; } /** * Gets the value of the errorCode property. * * @return * possible object is * {@link String } * */ public String getErrorCode() { return errorCode; } /** * Sets the value of the errorCode property. * * @param value * allowed object is * {@link String } * */ public void setErrorCode(String value) { this.errorCode = 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; } }