org.apache.camel.component.linkedin.api.Role Maven / Gradle / Ivy
/**
* 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();
}
}