com.sportradar.uf.sportsapi.datamodel.ResponseCode 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:20 PM CEST
//
package com.sportradar.uf.sportsapi.datamodel;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for response_code.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="response_code">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="OK"/>
* <enumeration value="CREATED"/>
* <enumeration value="ACCEPTED"/>
* <enumeration value="FORBIDDEN"/>
* <enumeration value="NOT_FOUND"/>
* <enumeration value="CONFLICT"/>
* <enumeration value="SERVICE_UNAVAILABLE"/>
* <enumeration value="NOT_IMPLEMENTED"/>
* <enumeration value="MOVED_PERMANENTLY"/>
* <enumeration value="BAD_REQUEST"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "response_code", namespace = "")
@XmlEnum
public enum ResponseCode {
OK,
CREATED,
ACCEPTED,
FORBIDDEN,
NOT_FOUND,
CONFLICT,
SERVICE_UNAVAILABLE,
NOT_IMPLEMENTED,
MOVED_PERMANENTLY,
BAD_REQUEST;
public String value() {
return name();
}
public static ResponseCode fromValue(String v) {
return valueOf(v);
}
}