com.podio.app.TextFieldSize 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.app;
import org.codehaus.jackson.annotate.JsonCreator;
import org.codehaus.jackson.annotate.JsonValue;
public enum TextFieldSize {
/**
* A small text field with a single line
*/
SMALL,
/**
* A large text field with multiple lines
*/
LARGE;
@Override
@JsonValue
public String toString() {
return name().toLowerCase();
}
@JsonCreator()
public static TextFieldSize getByName(String value) {
return TextFieldSize.valueOf(value.toUpperCase());
}
}