public enum GasRequestType extends Enum<GasRequestType>
| Modifier and Type | Method and Description |
|---|---|
String |
toQueryParam() |
static GasRequestType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GasRequestType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GasRequestType DIESEL
public static final GasRequestType E5
public static final GasRequestType E10
public static final GasRequestType ALL
public static GasRequestType[] values()
for (GasRequestType c : GasRequestType.values()) System.out.println(c);
public static GasRequestType 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 toQueryParam()
Copyright © 2017. All rights reserved.