@Generated(value="com.linkedin.pegasus.generator.JavaCodeUtil",
comments="Rest.li Data Template. Generated from restli-example-api/src/main/pegasus/com/linkedin/restli/example/PhotoFormats.pdsc.")
public enum PhotoFormats
extends java.lang.Enum<PhotoFormats>
| Enum Constant and Description |
|---|
$UNKNOWN |
BMP
Bitmap
|
JPG
Joint Photographic Experts Group
|
PNG
Portable Network Graphics
|
| Modifier and Type | Method and Description |
|---|---|
static PhotoFormats |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PhotoFormats[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PhotoFormats BMP
public static final PhotoFormats JPG
public static final PhotoFormats PNG
public static final PhotoFormats $UNKNOWN
public static PhotoFormats[] values()
for (PhotoFormats c : PhotoFormats.values()) System.out.println(c);
public static PhotoFormats valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null