All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.apache.camel.component.linkedin.api.Order Maven / Gradle / Ivy

There is a newer version: 2.15.6
Show newest version
/**
 * 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();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy