public static enum CharacterPlanetsResponse.PlanetTypeEnum extends Enum<CharacterPlanetsResponse.PlanetTypeEnum>
| Enum Constant and Description |
|---|
BARREN |
GAS |
ICE |
LAVA |
OCEANIC |
PLASMA |
STORM |
TEMPERATE |
| Modifier and Type | Method and Description |
|---|---|
static CharacterPlanetsResponse.PlanetTypeEnum |
fromValue(String text) |
String |
toString() |
static CharacterPlanetsResponse.PlanetTypeEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CharacterPlanetsResponse.PlanetTypeEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CharacterPlanetsResponse.PlanetTypeEnum TEMPERATE
public static final CharacterPlanetsResponse.PlanetTypeEnum BARREN
public static final CharacterPlanetsResponse.PlanetTypeEnum OCEANIC
public static final CharacterPlanetsResponse.PlanetTypeEnum ICE
public static final CharacterPlanetsResponse.PlanetTypeEnum GAS
public static final CharacterPlanetsResponse.PlanetTypeEnum LAVA
public static final CharacterPlanetsResponse.PlanetTypeEnum STORM
public static final CharacterPlanetsResponse.PlanetTypeEnum PLASMA
public static CharacterPlanetsResponse.PlanetTypeEnum[] values()
for (CharacterPlanetsResponse.PlanetTypeEnum c : CharacterPlanetsResponse.PlanetTypeEnum.values()) System.out.println(c);
public static CharacterPlanetsResponse.PlanetTypeEnum 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<CharacterPlanetsResponse.PlanetTypeEnum>public static CharacterPlanetsResponse.PlanetTypeEnum fromValue(String text)
Copyright © 2019. All Rights Reserved.