package ocpp.v15.cs;
import javax.annotation.Generated;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for DataTransferStatus.
*
* <p>The following schema fragment specifies the expected content contained within this class.
* <p>
* <pre>
* <simpleType name="DataTransferStatus">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="Accepted"/>
* <enumeration value="Rejected"/>
* <enumeration value="UnknownMessageId"/>
* <enumeration value="UnknownVendorId"/>
* </restriction>
* </simpleType>
* </pre>
*
*/
@XmlType(name = "DataTransferStatus")
@XmlEnum
@Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2015-06-12T04:15:01+12:00", comments = "JAXB RI v2.2.4-2")
public enum DataTransferStatus {
@XmlEnumValue("Accepted")
ACCEPTED("Accepted"),
@XmlEnumValue("Rejected")
REJECTED("Rejected"),
@XmlEnumValue("UnknownMessageId")
UNKNOWN_MESSAGE_ID("UnknownMessageId"),
@XmlEnumValue("UnknownVendorId")
UNKNOWN_VENDOR_ID("UnknownVendorId");
private final String value;
DataTransferStatus(String v) {
value = v;
}
public String value() {
return value;
}
public static DataTransferStatus fromValue(String v) {
for (DataTransferStatus c: DataTransferStatus.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}