public static enum GasPrices.Status extends Enum<GasPrices.Status>
| Enum Constant and Description |
|---|
CLOSED
The gas station is closed
|
NOT_FOUND
The gas station could not be found
|
OPEN
The gas station is opened
|
| Modifier and Type | Method and Description |
|---|---|
static GasPrices.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GasPrices.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@SerializedName(value="not found") public static final GasPrices.Status NOT_FOUND
@SerializedName(value="closed") public static final GasPrices.Status CLOSED
@SerializedName(value="open") public static final GasPrices.Status OPEN
public static GasPrices.Status[] values()
for (GasPrices.Status c : GasPrices.Status.values()) System.out.println(c);
public static GasPrices.Status 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 © 2017. All rights reserved.