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

org.apache.camel.component.linkedin.api.Role 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 Role {
    CREATOR("creator"),
    COMMENTER("commenter"),
    FOLLOWER("follower");
    private String value;
    private Role(String v) {
        this.value = v;
    }
    public static Role fromString(String value) {
        if (value != null) {
            for (Role v : Role.values()) {
                if (value.equalsIgnoreCase(v.value)) {
                    return v;
                }
            }
        }
        throw new IllegalArgumentException();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy