public static enum YouTubeQuery.OrderBy extends java.lang.Enum<YouTubeQuery.OrderBy>
orderby
parameter.Enum Constant and Description |
---|
PUBLISHED |
RATING |
RELEVANCE |
UPDATED
Deprecated.
use
PUBLISHED instead. |
VIEW_COUNT |
Modifier and Type | Method and Description |
---|---|
static YouTubeQuery.OrderBy |
fromParameterValue(java.lang.String value) |
java.lang.String |
toParameterValue()
Returns the corresponding parameter value.
|
static YouTubeQuery.OrderBy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static YouTubeQuery.OrderBy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final YouTubeQuery.OrderBy RELEVANCE
@Deprecated public static final YouTubeQuery.OrderBy UPDATED
PUBLISHED
instead.public static final YouTubeQuery.OrderBy VIEW_COUNT
public static final YouTubeQuery.OrderBy RATING
public static final YouTubeQuery.OrderBy PUBLISHED
public static YouTubeQuery.OrderBy[] values()
for (YouTubeQuery.OrderBy c : YouTubeQuery.OrderBy.values()) System.out.println(c);
public static YouTubeQuery.OrderBy 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 toParameterValue()
public static YouTubeQuery.OrderBy fromParameterValue(java.lang.String value)