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

com.podio.app.CategoryOptionStatus Maven / Gradle / Ivy

There is a newer version: 0.7.9
Show newest version
package com.podio.app;

import org.codehaus.jackson.annotate.JsonCreator;
import org.codehaus.jackson.annotate.JsonValue;

public enum CategoryOptionStatus {

	/**
	 * The option is still active
	 */
	ACTIVE,

	/**
	 * The option has been deleted
	 */
	DELETED;

	@Override
	@JsonValue
	public String toString() {
		return name().toLowerCase();
	}

	@JsonCreator()
	public static CategoryOptionStatus getByName(String value) {
		return CategoryOptionStatus.valueOf(value.toUpperCase());
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy