fish.focus.schema.exchange.v1.MessageDirection Maven / Gradle / Ivy
package fish.focus.schema.exchange.v1;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for MessageDirection.
*
*
The following schema fragment specifies the expected content contained within this class.
*
* <simpleType name="MessageDirection">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="ALL"/>
* <enumeration value="INCOMING"/>
* <enumeration value="OUTGOING"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "MessageDirection")
@XmlEnum
public enum MessageDirection {
ALL,
INCOMING,
OUTGOING;
public String value() {
return name();
}
public static MessageDirection fromValue(String v) {
return valueOf(v);
}
}