public static enum QueryParams.APIParameter extends Enum<QueryParams.APIParameter>
| Enum Constant and Description |
|---|
API_KEY |
COUNTRY |
DAY |
FORMAT |
MONTH |
PRETTY |
PREVIOUS |
PUBLIC |
UPCOMING |
YEAR |
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
static QueryParams.APIParameter |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static QueryParams.APIParameter[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final QueryParams.APIParameter API_KEY
public static final QueryParams.APIParameter COUNTRY
public static final QueryParams.APIParameter YEAR
public static final QueryParams.APIParameter MONTH
public static final QueryParams.APIParameter DAY
public static final QueryParams.APIParameter PREVIOUS
public static final QueryParams.APIParameter UPCOMING
public static final QueryParams.APIParameter PUBLIC
public static final QueryParams.APIParameter FORMAT
public static final QueryParams.APIParameter PRETTY
public static QueryParams.APIParameter[] values()
for (QueryParams.APIParameter c : QueryParams.APIParameter.values()) System.out.println(c);
public static QueryParams.APIParameter 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 toString()
toString in class Enum<QueryParams.APIParameter>Copyright © 2020. All rights reserved.