Package net.troja.eve.esi.model
Enum SovereigntyCampaignsResponse.EventTypeEnum
- java.lang.Object
-
- java.lang.Enum<SovereigntyCampaignsResponse.EventTypeEnum>
-
- net.troja.eve.esi.model.SovereigntyCampaignsResponse.EventTypeEnum
-
- All Implemented Interfaces:
Serializable,Comparable<SovereigntyCampaignsResponse.EventTypeEnum>
- Enclosing class:
- SovereigntyCampaignsResponse
public static enum SovereigntyCampaignsResponse.EventTypeEnum extends Enum<SovereigntyCampaignsResponse.EventTypeEnum>
Type of event this campaign is for. tcu_defense, ihub_defense and station_defense are referred to as \"Defense Events\", station_freeport as \"Freeport Events\".
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSovereigntyCampaignsResponse.EventTypeEnum.Adapter
-
Enum Constant Summary
Enum Constants Enum Constant Description IHUB_DEFENSESTATION_DEFENSESTATION_FREEPORTTCU_DEFENSE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SovereigntyCampaignsResponse.EventTypeEnumfromValue(String value)StringgetValue()StringtoString()static SovereigntyCampaignsResponse.EventTypeEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static SovereigntyCampaignsResponse.EventTypeEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TCU_DEFENSE
public static final SovereigntyCampaignsResponse.EventTypeEnum TCU_DEFENSE
-
IHUB_DEFENSE
public static final SovereigntyCampaignsResponse.EventTypeEnum IHUB_DEFENSE
-
STATION_DEFENSE
public static final SovereigntyCampaignsResponse.EventTypeEnum STATION_DEFENSE
-
STATION_FREEPORT
public static final SovereigntyCampaignsResponse.EventTypeEnum STATION_FREEPORT
-
-
Method Detail
-
values
public static SovereigntyCampaignsResponse.EventTypeEnum[] 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 (SovereigntyCampaignsResponse.EventTypeEnum c : SovereigntyCampaignsResponse.EventTypeEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SovereigntyCampaignsResponse.EventTypeEnum 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<SovereigntyCampaignsResponse.EventTypeEnum>
-
fromValue
public static SovereigntyCampaignsResponse.EventTypeEnum fromValue(String value)
-
-