
org.apache.camel.component.linkedin.internal.LinkedInApiName Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of camel-linkedin Show documentation
Show all versions of camel-linkedin Show documentation
Camel Component for LinkedIn
/*
* Camel ApiName Enumeration generated by camel-component-util-maven-plugin
* Generated on: Wed Dec 10 16:14:08 UTC 2014
*/
package org.apache.camel.component.linkedin.internal;
import org.apache.camel.util.component.ApiName;
/**
* Camel {@link ApiName} Enumeration for Component LinkedIn
*/
public enum LinkedInApiName implements ApiName {
COMMENTS("comments"),
COMPANIES("companies"),
GROUPS("groups"),
JOBS("jobs"),
PEOPLE("people"),
POSTS("posts"),
SEARCH("search");
private final String name;
private LinkedInApiName(String name) {
this.name = name;
}
@Override
public String getName() {
return name;
}
public static LinkedInApiName fromValue(String value) throws IllegalArgumentException {
for (LinkedInApiName api : LinkedInApiName.values()) {
if (api.name.equals(value)) {
return api;
}
}
throw new IllegalArgumentException("Invalid value " + value);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy