org.apache.camel.component.linkedin.api.Timegranularity Maven / Gradle / Ivy
/**
* Created by Apache CXF WadlToJava code generator
**/
package org.apache.camel.component.linkedin.api;
public enum Timegranularity {
DAY("day"),
MONTH("month");
private String value;
private Timegranularity(String v) {
this.value = v;
}
public static Timegranularity fromString(String value) {
if (value != null) {
for (Timegranularity v : Timegranularity.values()) {
if (value.equalsIgnoreCase(v.value)) {
return v;
}
}
}
throw new IllegalArgumentException();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy