Package net.troja.eve.esi.model
Class KillmailResponse
- java.lang.Object
-
- net.troja.eve.esi.model.KillmailResponse
-
- All Implemented Interfaces:
Serializable
public class KillmailResponse extends Object implements Serializable
200 ok object- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringSERIALIZED_NAME_ATTACKERSstatic StringSERIALIZED_NAME_KILLMAIL_IDstatic StringSERIALIZED_NAME_KILLMAIL_TIMEstatic StringSERIALIZED_NAME_MOON_IDstatic StringSERIALIZED_NAME_SOLAR_SYSTEM_IDstatic StringSERIALIZED_NAME_VICTIMstatic StringSERIALIZED_NAME_WAR_ID
-
Constructor Summary
Constructors Constructor Description KillmailResponse()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description KillmailResponseaddAttackersItem(KillmailAttacker attackersItem)KillmailResponseattackers(List<KillmailAttacker> attackers)booleanequals(Object o)List<KillmailAttacker>getAttackers()attackers arrayIntegergetKillmailId()ID of the killmailjava.time.OffsetDateTimegetKillmailTime()Time that the victim was killed and the killmail generatedIntegergetMoonId()Moon if the kill took place at oneIntegergetSolarSystemId()Solar system that the kill took place inKillmailVictimgetVictim()Get victimIntegergetWarId()War if the killmail is generated in relation to an official warinthashCode()KillmailResponsekillmailId(Integer killmailId)KillmailResponsekillmailTime(java.time.OffsetDateTime killmailTime)KillmailResponsemoonId(Integer moonId)voidsetAttackers(List<KillmailAttacker> attackers)voidsetKillmailId(Integer killmailId)voidsetKillmailTime(java.time.OffsetDateTime killmailTime)voidsetMoonId(Integer moonId)voidsetSolarSystemId(Integer solarSystemId)voidsetVictim(KillmailVictim victim)voidsetWarId(Integer warId)KillmailResponsesolarSystemId(Integer solarSystemId)StringtoString()KillmailResponsevictim(KillmailVictim victim)KillmailResponsewarId(Integer warId)
-
-
-
Field Detail
-
SERIALIZED_NAME_ATTACKERS
public static final String SERIALIZED_NAME_ATTACKERS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_KILLMAIL_ID
public static final String SERIALIZED_NAME_KILLMAIL_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_KILLMAIL_TIME
public static final String SERIALIZED_NAME_KILLMAIL_TIME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_MOON_ID
public static final String SERIALIZED_NAME_MOON_ID
- 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_VICTIM
public static final String SERIALIZED_NAME_VICTIM
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_WAR_ID
public static final String SERIALIZED_NAME_WAR_ID
- See Also:
- Constant Field Values
-
-
Method Detail
-
attackers
public KillmailResponse attackers(List<KillmailAttacker> attackers)
-
addAttackersItem
public KillmailResponse addAttackersItem(KillmailAttacker attackersItem)
-
getAttackers
public List<KillmailAttacker> getAttackers()
attackers array- Returns:
- attackers
-
setAttackers
public void setAttackers(List<KillmailAttacker> attackers)
-
killmailId
public KillmailResponse killmailId(Integer killmailId)
-
getKillmailId
public Integer getKillmailId()
ID of the killmail- Returns:
- killmailId
-
setKillmailId
public void setKillmailId(Integer killmailId)
-
killmailTime
public KillmailResponse killmailTime(java.time.OffsetDateTime killmailTime)
-
getKillmailTime
public java.time.OffsetDateTime getKillmailTime()
Time that the victim was killed and the killmail generated- Returns:
- killmailTime
-
setKillmailTime
public void setKillmailTime(java.time.OffsetDateTime killmailTime)
-
moonId
public KillmailResponse moonId(Integer moonId)
-
setMoonId
public void setMoonId(Integer moonId)
-
solarSystemId
public KillmailResponse solarSystemId(Integer solarSystemId)
-
getSolarSystemId
public Integer getSolarSystemId()
Solar system that the kill took place in- Returns:
- solarSystemId
-
setSolarSystemId
public void setSolarSystemId(Integer solarSystemId)
-
victim
public KillmailResponse victim(KillmailVictim victim)
-
getVictim
public KillmailVictim getVictim()
Get victim- Returns:
- victim
-
setVictim
public void setVictim(KillmailVictim victim)
-
warId
public KillmailResponse warId(Integer warId)
-
getWarId
@Nullable public Integer getWarId()
War if the killmail is generated in relation to an official war- Returns:
- warId
-
setWarId
public void setWarId(Integer warId)
-
-