package com.microsoft.bingads.v10.bulk; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlSeeAlso; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for BatchError complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType name="BatchError"> * <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="FieldPath" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * <element name="ForwardCompatibilityMap" type="{http://schemas.datacontract.org/2004/07/System.Collections.Generic}ArrayOfKeyValuePairOfstringstring" minOccurs="0"/> * <element name="Index" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/> * <element name="Message" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * <element name="Type" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "BatchError", propOrder = { "code", "details", "errorCode", "fieldPath", "forwardCompatibilityMap", "index", "message", "type" }) @XmlSeeAlso({ EditorialError.class }) public class BatchError { @XmlElement(name = "Code") protected Integer code; @XmlElement(name = "Details", nillable = true) protected String details; @XmlElement(name = "ErrorCode", nillable = true) protected String errorCode; @XmlElement(name = "FieldPath", nillable = true) protected String fieldPath; @XmlElement(name = "ForwardCompatibilityMap", nillable = true) protected ArrayOfKeyValuePairOfstringstring forwardCompatibilityMap; @XmlElement(name = "Index") protected Integer index; @XmlElement(name = "Message", nillable = true) protected String message; @XmlElement(name = "Type", nillable = true) protected String type; /** * 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 fieldPath property. * * @return * possible object is * {@link String } * */ public String getFieldPath() { return fieldPath; } /** * Sets the value of the fieldPath property. * * @param value * allowed object is * {@link String } * */ public void setFieldPath(String value) { this.fieldPath = value; } /** * Gets the value of the forwardCompatibilityMap property. * * @return * possible object is * {@link ArrayOfKeyValuePairOfstringstring } * */ public ArrayOfKeyValuePairOfstringstring getForwardCompatibilityMap() { return forwardCompatibilityMap; } /** * Sets the value of the forwardCompatibilityMap property. * * @param value * allowed object is * {@link ArrayOfKeyValuePairOfstringstring } * */ public void setForwardCompatibilityMap(ArrayOfKeyValuePairOfstringstring value) { this.forwardCompatibilityMap = value; } /** * Gets the value of the index property. * * @return * possible object is * {@link Integer } * */ public Integer getIndex() { return index; } /** * Sets the value of the index property. * * @param value * allowed object is * {@link Integer } * */ public void setIndex(Integer value) { this.index = 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 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; } }