public static enum BoxRequest.ContentTypes extends java.lang.Enum<BoxRequest.ContentTypes>
| Enum Constant and Description |
|---|
JSON |
JSON_PATCH |
URL_ENCODED |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
toString() |
static BoxRequest.ContentTypes |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BoxRequest.ContentTypes[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BoxRequest.ContentTypes JSON
public static final BoxRequest.ContentTypes URL_ENCODED
public static final BoxRequest.ContentTypes JSON_PATCH
public static BoxRequest.ContentTypes[] values()
for (BoxRequest.ContentTypes c : BoxRequest.ContentTypes.values()) System.out.println(c);
public static BoxRequest.ContentTypes 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 nullpublic java.lang.String toString()
toString in class java.lang.Enum<BoxRequest.ContentTypes>