com.podio.task.TaskStatus Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of api Show documentation
Show all versions of api Show documentation
The official Java wrapper for the Podio API
package com.podio.task;
import org.codehaus.jackson.annotate.JsonCreator;
import org.codehaus.jackson.annotate.JsonValue;
public enum TaskStatus {
ACTIVE, COMPLETED, DELETED;
@Override
@JsonValue
public String toString() {
return name().toLowerCase();
}
@JsonCreator
public static TaskStatus getByName(String value) {
return valueOf(value.toUpperCase());
}
}