Package net.troja.eve.esi.model
Enum CharacterContractsResponse.TypeEnum
- java.lang.Object
-
- java.lang.Enum<CharacterContractsResponse.TypeEnum>
-
- net.troja.eve.esi.model.CharacterContractsResponse.TypeEnum
-
- All Implemented Interfaces:
Serializable,Comparable<CharacterContractsResponse.TypeEnum>
- Enclosing class:
- CharacterContractsResponse
public static enum CharacterContractsResponse.TypeEnum extends Enum<CharacterContractsResponse.TypeEnum>
Type of the contract
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCharacterContractsResponse.TypeEnum.Adapter
-
Enum Constant Summary
Enum Constants Enum Constant Description AUCTIONCOURIERITEM_EXCHANGELOANUNKNOWN
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CharacterContractsResponse.TypeEnumfromValue(String value)StringgetValue()StringtoString()static CharacterContractsResponse.TypeEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static CharacterContractsResponse.TypeEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNKNOWN
public static final CharacterContractsResponse.TypeEnum UNKNOWN
-
ITEM_EXCHANGE
public static final CharacterContractsResponse.TypeEnum ITEM_EXCHANGE
-
AUCTION
public static final CharacterContractsResponse.TypeEnum AUCTION
-
COURIER
public static final CharacterContractsResponse.TypeEnum COURIER
-
LOAN
public static final CharacterContractsResponse.TypeEnum LOAN
-
-
Method Detail
-
values
public static CharacterContractsResponse.TypeEnum[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (CharacterContractsResponse.TypeEnum c : CharacterContractsResponse.TypeEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CharacterContractsResponse.TypeEnum valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getValue
public String getValue()
-
toString
public String toString()
- Overrides:
toStringin classEnum<CharacterContractsResponse.TypeEnum>
-
fromValue
public static CharacterContractsResponse.TypeEnum fromValue(String value)
-
-