org.apache.camel.component.linkedin.api.Order Maven / Gradle / Ivy
/**
* Created by Apache CXF WadlToJava code generator
**/
package org.apache.camel.component.linkedin.api;
public enum Order {
RECENCY("recency"),
POPULARITY("popularity");
private String value;
private Order(String v) {
this.value = v;
}
public static Order fromString(String value) {
if (value != null) {
for (Order v : Order.values()) {
if (value.equalsIgnoreCase(v.value)) {
return v;
}
}
}
throw new IllegalArgumentException();
}
}