com.sportradar.uf.custombet.datamodel.CAPIResponse Maven / Gradle / Ivy
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2019.05.22 at 02:21:03 PM CEST
//
package com.sportradar.uf.custombet.datamodel;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for ResponseType complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="ResponseType">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="message" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="errors" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* </sequence>
* <attribute name="response_code" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="generated_at" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ResponseType", propOrder = {
"message",
"errors"
})
@XmlRootElement(name = "response")
public class CAPIResponse {
@XmlElement(required = true)
protected String message;
protected String errors;
@XmlAttribute(name = "response_code", required = true)
protected String responseCode;
@XmlAttribute(name = "generated_at", required = true)
protected String generatedAt;
/**
* 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 errors property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getErrors() {
return errors;
}
/**
* Sets the value of the errors property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setErrors(String value) {
this.errors = value;
}
/**
* Gets the value of the responseCode property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getResponseCode() {
return responseCode;
}
/**
* Sets the value of the responseCode property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setResponseCode(String value) {
this.responseCode = value;
}
/**
* Gets the value of the generatedAt property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getGeneratedAt() {
return generatedAt;
}
/**
* Sets the value of the generatedAt property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setGeneratedAt(String value) {
this.generatedAt = value;
}
}