Package net.troja.eve.esi.model
Enum ContactsResponse.ContactTypeEnum
- java.lang.Object
-
- java.lang.Enum<ContactsResponse.ContactTypeEnum>
-
- net.troja.eve.esi.model.ContactsResponse.ContactTypeEnum
-
- All Implemented Interfaces:
Serializable,Comparable<ContactsResponse.ContactTypeEnum>
- Enclosing class:
- ContactsResponse
public static enum ContactsResponse.ContactTypeEnum extends Enum<ContactsResponse.ContactTypeEnum>
contact_type string
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classContactsResponse.ContactTypeEnum.Adapter
-
Enum Constant Summary
Enum Constants Enum Constant Description ALLIANCECHARACTERCORPORATIONFACTION
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ContactsResponse.ContactTypeEnumfromValue(String value)StringgetValue()StringtoString()static ContactsResponse.ContactTypeEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static ContactsResponse.ContactTypeEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CHARACTER
public static final ContactsResponse.ContactTypeEnum CHARACTER
-
CORPORATION
public static final ContactsResponse.ContactTypeEnum CORPORATION
-
ALLIANCE
public static final ContactsResponse.ContactTypeEnum ALLIANCE
-
FACTION
public static final ContactsResponse.ContactTypeEnum FACTION
-
-
Method Detail
-
values
public static ContactsResponse.ContactTypeEnum[] 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 (ContactsResponse.ContactTypeEnum c : ContactsResponse.ContactTypeEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ContactsResponse.ContactTypeEnum 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<ContactsResponse.ContactTypeEnum>
-
fromValue
public static ContactsResponse.ContactTypeEnum fromValue(String value)
-
-