public static enum QueryParams.Sort extends Enum<QueryParams.Sort>
| Enum Constant and Description |
|---|
CREATED_AT |
UPDATED_AT |
| Modifier and Type | Method and Description |
|---|---|
String |
getType() |
static QueryParams.Sort |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static QueryParams.Sort[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final QueryParams.Sort CREATED_AT
public static final QueryParams.Sort UPDATED_AT
public static QueryParams.Sort[] values()
for (QueryParams.Sort c : QueryParams.Sort.values()) System.out.println(c);
public static QueryParams.Sort 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 nullCopyright © 2012-2020. All Rights Reserved.