//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-792
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2011.04.07 at 12:06:52 PM GMT+05:30
//
package com.ebay.marketplace.search.v1.services;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
import javax.xml.datatype.XMLGregorianCalendar;
/**
*
* Base response container for all service
* operations. Contains error information
* associated with the request.
*
*
* <p>Java class for BaseServiceResponse complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType name="BaseServiceResponse">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="ack" type="{http://www.ebay.com/marketplace/search/v1/services}AckValue"/>
* <element name="errorMessage" type="{http://www.ebay.com/marketplace/search/v1/services}ErrorMessage" minOccurs="0"/>
* <element name="version" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="timestamp" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "BaseServiceResponse", propOrder = {
"ack",
"errorMessage",
"version",
"timestamp"
})
@XmlSeeAlso({
GetVersionResponse.class,
FindItemsResponse.class,
FindItemsByIdsResponse.class
})
public abstract class BaseServiceResponse {
@XmlElement(required = true)
protected AckValue ack;
protected ErrorMessage errorMessage;
protected String version;
@XmlSchemaType(name = "dateTime")
protected XMLGregorianCalendar timestamp;
/**
* Gets the value of the ack property.
*
* @return
* possible object is
* {@link AckValue }
*
*/
public AckValue getAck() {
return ack;
}
/**
* Sets the value of the ack property.
*
* @param value
* allowed object is
* {@link AckValue }
*
*/
public void setAck(AckValue value) {
this.ack = value;
}
/**
* Gets the value of the errorMessage property.
*
* @return
* possible object is
* {@link ErrorMessage }
*
*/
public ErrorMessage getErrorMessage() {
return errorMessage;
}
/**
* Sets the value of the errorMessage property.
*
* @param value
* allowed object is
* {@link ErrorMessage }
*
*/
public void setErrorMessage(ErrorMessage value) {
this.errorMessage = value;
}
/**
* Gets the value of the version property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getVersion() {
return version;
}
/**
* Sets the value of the version property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setVersion(String value) {
this.version = value;
}
/**
* Gets the value of the timestamp property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getTimestamp() {
return timestamp;
}
/**
* Sets the value of the timestamp property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public void setTimestamp(XMLGregorianCalendar value) {
this.timestamp = value;
}
}