public class SovereigntyCampaignsResponse extends Object implements Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
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\".
|
| Modifier and Type | Field and Description |
|---|---|
static String |
SERIALIZED_NAME_ATTACKERS_SCORE |
static String |
SERIALIZED_NAME_CAMPAIGN_ID |
static String |
SERIALIZED_NAME_CONSTELLATION_ID |
static String |
SERIALIZED_NAME_DEFENDER_ID |
static String |
SERIALIZED_NAME_DEFENDER_SCORE |
static String |
SERIALIZED_NAME_EVENT_TYPE |
static String |
SERIALIZED_NAME_PARTICIPANTS |
static String |
SERIALIZED_NAME_SOLAR_SYSTEM_ID |
static String |
SERIALIZED_NAME_START_TIME |
static String |
SERIALIZED_NAME_STRUCTURE_ID |
| Constructor and Description |
|---|
SovereigntyCampaignsResponse() |
| Modifier and Type | Method and Description |
|---|---|
SovereigntyCampaignsResponse |
addParticipantsItem(SovereigntyCampaignParticipant participantsItem) |
SovereigntyCampaignsResponse |
attackersScore(Float attackersScore) |
SovereigntyCampaignsResponse |
campaignId(Integer campaignId) |
SovereigntyCampaignsResponse |
constellationId(Integer constellationId) |
SovereigntyCampaignsResponse |
defenderId(Integer defenderId) |
SovereigntyCampaignsResponse |
defenderScore(Float defenderScore) |
boolean |
equals(Object o) |
SovereigntyCampaignsResponse |
eventType(SovereigntyCampaignsResponse.EventTypeEnum eventType) |
Float |
getAttackersScore()
Score for all attacking parties, only present in Defense Events.
|
Integer |
getCampaignId()
Unique ID for this campaign.
|
Integer |
getConstellationId()
The constellation in which the campaign will take place.
|
Integer |
getDefenderId()
Defending alliance, only present in Defense Events
|
Float |
getDefenderScore()
Score for the defending alliance, only present in Defense Events.
|
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\".
|
List<SovereigntyCampaignParticipant> |
getParticipants()
Alliance participating and their respective scores, only present in
Freeport Events.
|
Integer |
getSolarSystemId()
The solar system the structure is located in.
|
java.time.OffsetDateTime |
getStartTime()
Time the event is scheduled to start.
|
Long |
getStructureId()
The structure item ID that is related to this campaign.
|
int |
hashCode() |
SovereigntyCampaignsResponse |
participants(List<SovereigntyCampaignParticipant> participants) |
void |
setAttackersScore(Float attackersScore) |
void |
setCampaignId(Integer campaignId) |
void |
setConstellationId(Integer constellationId) |
void |
setDefenderId(Integer defenderId) |
void |
setDefenderScore(Float defenderScore) |
void |
setEventType(SovereigntyCampaignsResponse.EventTypeEnum eventType) |
void |
setParticipants(List<SovereigntyCampaignParticipant> participants) |
void |
setSolarSystemId(Integer solarSystemId) |
void |
setStartTime(java.time.OffsetDateTime startTime) |
void |
setStructureId(Long structureId) |
SovereigntyCampaignsResponse |
solarSystemId(Integer solarSystemId) |
SovereigntyCampaignsResponse |
startTime(java.time.OffsetDateTime startTime) |
SovereigntyCampaignsResponse |
structureId(Long structureId) |
String |
toString() |
public static final String SERIALIZED_NAME_ATTACKERS_SCORE
public static final String SERIALIZED_NAME_CAMPAIGN_ID
public static final String SERIALIZED_NAME_CONSTELLATION_ID
public static final String SERIALIZED_NAME_DEFENDER_ID
public static final String SERIALIZED_NAME_DEFENDER_SCORE
public static final String SERIALIZED_NAME_EVENT_TYPE
public static final String SERIALIZED_NAME_PARTICIPANTS
public static final String SERIALIZED_NAME_SOLAR_SYSTEM_ID
public static final String SERIALIZED_NAME_START_TIME
public static final String SERIALIZED_NAME_STRUCTURE_ID
public SovereigntyCampaignsResponse attackersScore(Float attackersScore)
@Nullable public Float getAttackersScore()
public void setAttackersScore(Float attackersScore)
public SovereigntyCampaignsResponse campaignId(Integer campaignId)
public Integer getCampaignId()
public void setCampaignId(Integer campaignId)
public SovereigntyCampaignsResponse constellationId(Integer constellationId)
public Integer getConstellationId()
public void setConstellationId(Integer constellationId)
public SovereigntyCampaignsResponse defenderId(Integer defenderId)
@Nullable public Integer getDefenderId()
public void setDefenderId(Integer defenderId)
public SovereigntyCampaignsResponse defenderScore(Float defenderScore)
@Nullable public Float getDefenderScore()
public void setDefenderScore(Float defenderScore)
public SovereigntyCampaignsResponse eventType(SovereigntyCampaignsResponse.EventTypeEnum eventType)
public SovereigntyCampaignsResponse.EventTypeEnum getEventType()
public void setEventType(SovereigntyCampaignsResponse.EventTypeEnum eventType)
public SovereigntyCampaignsResponse participants(List<SovereigntyCampaignParticipant> participants)
public SovereigntyCampaignsResponse addParticipantsItem(SovereigntyCampaignParticipant participantsItem)
@Nullable public List<SovereigntyCampaignParticipant> getParticipants()
public void setParticipants(List<SovereigntyCampaignParticipant> participants)
public SovereigntyCampaignsResponse solarSystemId(Integer solarSystemId)
public Integer getSolarSystemId()
public void setSolarSystemId(Integer solarSystemId)
public SovereigntyCampaignsResponse startTime(java.time.OffsetDateTime startTime)
public java.time.OffsetDateTime getStartTime()
public void setStartTime(java.time.OffsetDateTime startTime)
public SovereigntyCampaignsResponse structureId(Long structureId)
public Long getStructureId()
public void setStructureId(Long structureId)
Copyright © 2020. All Rights Reserved.