package com.microsoft.bingads.v11.adinsight; 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 OperationError complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType name="OperationError"> * <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="Details" 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 = "OperationError", namespace = "https://bingads.microsoft.com/AdInsight/v11", propOrder = { "code", "details", "errorCode", "message" }) public class OperationError { @XmlElement(name = "Code") protected Integer code; @XmlElement(name = "Details", nillable = true) protected String details; @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 details property. * * @return * possible object is * {@link String } * */ public String getDetails() { return details; } /** * Sets the value of the details property. * * @param value * allowed object is * {@link String } * */ public void setDetails(String value) { this.details = 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; } }