public enum PostBody extends Enum<PostBody>
| Enum Constant and Description |
|---|
DESCRIPTION |
FAVORITE |
MEDIA_ID |
MEDIA_TYPE |
NAME |
VALUE |
WATCHLIST |
| Modifier and Type | Method and Description |
|---|---|
String |
getValue()
Get the URL parameter to use
|
static PostBody |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PostBody[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PostBody MEDIA_ID
public static final PostBody MEDIA_TYPE
public static final PostBody FAVORITE
public static final PostBody WATCHLIST
public static final PostBody NAME
public static final PostBody DESCRIPTION
public static final PostBody VALUE
public static PostBody[] values()
for (PostBody c : PostBody.values()) System.out.println(c);
public static PostBody valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getValue()
Copyright © 2012–2017. All rights reserved.