Package net.troja.eve.esi.model
Class SovereigntyCampaignsResponse
- java.lang.Object
-
- net.troja.eve.esi.model.SovereigntyCampaignsResponse
-
- All Implemented Interfaces:
Serializable
public class SovereigntyCampaignsResponse extends Object implements Serializable
200 ok object- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSovereigntyCampaignsResponse.EventTypeEnumType of event this campaign is for. tcu_defense, ihub_defense and station_defense are referred to as \"Defense Events\", station_freeport as \"Freeport Events\".
-
Field Summary
Fields Modifier and Type Field Description static StringSERIALIZED_NAME_ATTACKERS_SCOREstatic StringSERIALIZED_NAME_CAMPAIGN_IDstatic StringSERIALIZED_NAME_CONSTELLATION_IDstatic StringSERIALIZED_NAME_DEFENDER_IDstatic StringSERIALIZED_NAME_DEFENDER_SCOREstatic StringSERIALIZED_NAME_EVENT_TYPEstatic StringSERIALIZED_NAME_PARTICIPANTSstatic StringSERIALIZED_NAME_SOLAR_SYSTEM_IDstatic StringSERIALIZED_NAME_START_TIMEstatic StringSERIALIZED_NAME_STRUCTURE_ID
-
Constructor Summary
Constructors Constructor Description SovereigntyCampaignsResponse()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SovereigntyCampaignsResponseaddParticipantsItem(SovereigntyCampaignParticipant participantsItem)SovereigntyCampaignsResponseattackersScore(Float attackersScore)SovereigntyCampaignsResponsecampaignId(Integer campaignId)SovereigntyCampaignsResponseconstellationId(Integer constellationId)SovereigntyCampaignsResponsedefenderId(Integer defenderId)SovereigntyCampaignsResponsedefenderScore(Float defenderScore)booleanequals(Object o)SovereigntyCampaignsResponseeventType(SovereigntyCampaignsResponse.EventTypeEnum eventTypeEnum)SovereigntyCampaignsResponseeventTypeString(String eventType)FloatgetAttackersScore()Score for all attacking parties, only present in Defense Events.IntegergetCampaignId()Unique ID for this campaign.IntegergetConstellationId()The constellation in which the campaign will take place.IntegergetDefenderId()Defending alliance, only present in Defense EventsFloatgetDefenderScore()Score for the defending alliance, only present in Defense Events.SovereigntyCampaignsResponse.EventTypeEnumgetEventType()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\".StringgetEventTypeString()List<SovereigntyCampaignParticipant>getParticipants()Alliance participating and their respective scores, only present in Freeport Events.IntegergetSolarSystemId()The solar system the structure is located in.java.time.OffsetDateTimegetStartTime()Time the event is scheduled to start.LonggetStructureId()The structure item ID that is related to this campaign.inthashCode()SovereigntyCampaignsResponseparticipants(List<SovereigntyCampaignParticipant> participants)voidsetAttackersScore(Float attackersScore)voidsetCampaignId(Integer campaignId)voidsetConstellationId(Integer constellationId)voidsetDefenderId(Integer defenderId)voidsetDefenderScore(Float defenderScore)voidsetEventType(SovereigntyCampaignsResponse.EventTypeEnum eventTypeEnum)voidsetEventTypeString(String eventType)voidsetParticipants(List<SovereigntyCampaignParticipant> participants)voidsetSolarSystemId(Integer solarSystemId)voidsetStartTime(java.time.OffsetDateTime startTime)voidsetStructureId(Long structureId)SovereigntyCampaignsResponsesolarSystemId(Integer solarSystemId)SovereigntyCampaignsResponsestartTime(java.time.OffsetDateTime startTime)SovereigntyCampaignsResponsestructureId(Long structureId)StringtoString()
-
-
-
Field Detail
-
SERIALIZED_NAME_ATTACKERS_SCORE
public static final String SERIALIZED_NAME_ATTACKERS_SCORE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CAMPAIGN_ID
public static final String SERIALIZED_NAME_CAMPAIGN_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CONSTELLATION_ID
public static final String SERIALIZED_NAME_CONSTELLATION_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_DEFENDER_ID
public static final String SERIALIZED_NAME_DEFENDER_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_DEFENDER_SCORE
public static final String SERIALIZED_NAME_DEFENDER_SCORE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_EVENT_TYPE
public static final String SERIALIZED_NAME_EVENT_TYPE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PARTICIPANTS
public static final String SERIALIZED_NAME_PARTICIPANTS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_SOLAR_SYSTEM_ID
public static final String SERIALIZED_NAME_SOLAR_SYSTEM_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_START_TIME
public static final String SERIALIZED_NAME_START_TIME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_STRUCTURE_ID
public static final String SERIALIZED_NAME_STRUCTURE_ID
- See Also:
- Constant Field Values
-
-
Method Detail
-
attackersScore
public SovereigntyCampaignsResponse attackersScore(Float attackersScore)
-
getAttackersScore
@Nullable public Float getAttackersScore()
Score for all attacking parties, only present in Defense Events.- Returns:
- attackersScore
-
setAttackersScore
public void setAttackersScore(Float attackersScore)
-
campaignId
public SovereigntyCampaignsResponse campaignId(Integer campaignId)
-
getCampaignId
public Integer getCampaignId()
Unique ID for this campaign.- Returns:
- campaignId
-
setCampaignId
public void setCampaignId(Integer campaignId)
-
constellationId
public SovereigntyCampaignsResponse constellationId(Integer constellationId)
-
getConstellationId
public Integer getConstellationId()
The constellation in which the campaign will take place.- Returns:
- constellationId
-
setConstellationId
public void setConstellationId(Integer constellationId)
-
defenderId
public SovereigntyCampaignsResponse defenderId(Integer defenderId)
-
getDefenderId
@Nullable public Integer getDefenderId()
Defending alliance, only present in Defense Events- Returns:
- defenderId
-
setDefenderId
public void setDefenderId(Integer defenderId)
-
defenderScore
public SovereigntyCampaignsResponse defenderScore(Float defenderScore)
-
getDefenderScore
@Nullable public Float getDefenderScore()
Score for the defending alliance, only present in Defense Events.- Returns:
- defenderScore
-
setDefenderScore
public void setDefenderScore(Float defenderScore)
-
eventType
public SovereigntyCampaignsResponse eventType(SovereigntyCampaignsResponse.EventTypeEnum eventTypeEnum)
-
eventTypeString
public SovereigntyCampaignsResponse eventTypeString(String eventType)
-
getEventType
public SovereigntyCampaignsResponse.EventTypeEnum getEventType()
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\".- Returns:
- eventType
-
getEventTypeString
public String getEventTypeString()
-
setEventType
public void setEventType(SovereigntyCampaignsResponse.EventTypeEnum eventTypeEnum)
-
setEventTypeString
public void setEventTypeString(String eventType)
-
participants
public SovereigntyCampaignsResponse participants(List<SovereigntyCampaignParticipant> participants)
-
addParticipantsItem
public SovereigntyCampaignsResponse addParticipantsItem(SovereigntyCampaignParticipant participantsItem)
-
getParticipants
@Nullable public List<SovereigntyCampaignParticipant> getParticipants()
Alliance participating and their respective scores, only present in Freeport Events.- Returns:
- participants
-
setParticipants
public void setParticipants(List<SovereigntyCampaignParticipant> participants)
-
solarSystemId
public SovereigntyCampaignsResponse solarSystemId(Integer solarSystemId)
-
getSolarSystemId
public Integer getSolarSystemId()
The solar system the structure is located in.- Returns:
- solarSystemId
-
setSolarSystemId
public void setSolarSystemId(Integer solarSystemId)
-
startTime
public SovereigntyCampaignsResponse startTime(java.time.OffsetDateTime startTime)
-
getStartTime
public java.time.OffsetDateTime getStartTime()
Time the event is scheduled to start.- Returns:
- startTime
-
setStartTime
public void setStartTime(java.time.OffsetDateTime startTime)
-
structureId
public SovereigntyCampaignsResponse structureId(Long structureId)
-
getStructureId
public Long getStructureId()
The structure item ID that is related to this campaign.- Returns:
- structureId
-
setStructureId
public void setStructureId(Long structureId)
-
-