Package net.troja.eve.esi.model
Class SovereigntyStructuresResponse
- java.lang.Object
-
- net.troja.eve.esi.model.SovereigntyStructuresResponse
-
- All Implemented Interfaces:
Serializable
public class SovereigntyStructuresResponse extends Object implements Serializable
200 ok object- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringSERIALIZED_NAME_ALLIANCE_IDstatic StringSERIALIZED_NAME_SOLAR_SYSTEM_IDstatic StringSERIALIZED_NAME_STRUCTURE_IDstatic StringSERIALIZED_NAME_STRUCTURE_TYPE_IDstatic StringSERIALIZED_NAME_VULNERABILITY_OCCUPANCY_LEVELstatic StringSERIALIZED_NAME_VULNERABLE_END_TIMEstatic StringSERIALIZED_NAME_VULNERABLE_START_TIME
-
Constructor Summary
Constructors Constructor Description SovereigntyStructuresResponse()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SovereigntyStructuresResponseallianceId(Integer allianceId)booleanequals(Object o)IntegergetAllianceId()The alliance that owns the structure.IntegergetSolarSystemId()Solar system in which the structure is located.LonggetStructureId()Unique item ID for this structure.IntegergetStructureTypeId()A reference to the type of structure this is.FloatgetVulnerabilityOccupancyLevel()The occupancy level for the next or current vulnerability window.java.time.OffsetDateTimegetVulnerableEndTime()The time at which the next or current vulnerability window ends.java.time.OffsetDateTimegetVulnerableStartTime()The next time at which the structure will become vulnerable.inthashCode()voidsetAllianceId(Integer allianceId)voidsetSolarSystemId(Integer solarSystemId)voidsetStructureId(Long structureId)voidsetStructureTypeId(Integer structureTypeId)voidsetVulnerabilityOccupancyLevel(Float vulnerabilityOccupancyLevel)voidsetVulnerableEndTime(java.time.OffsetDateTime vulnerableEndTime)voidsetVulnerableStartTime(java.time.OffsetDateTime vulnerableStartTime)SovereigntyStructuresResponsesolarSystemId(Integer solarSystemId)SovereigntyStructuresResponsestructureId(Long structureId)SovereigntyStructuresResponsestructureTypeId(Integer structureTypeId)StringtoString()SovereigntyStructuresResponsevulnerabilityOccupancyLevel(Float vulnerabilityOccupancyLevel)SovereigntyStructuresResponsevulnerableEndTime(java.time.OffsetDateTime vulnerableEndTime)SovereigntyStructuresResponsevulnerableStartTime(java.time.OffsetDateTime vulnerableStartTime)
-
-
-
Field Detail
-
SERIALIZED_NAME_ALLIANCE_ID
public static final String SERIALIZED_NAME_ALLIANCE_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_STRUCTURE_ID
public static final String SERIALIZED_NAME_STRUCTURE_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_STRUCTURE_TYPE_ID
public static final String SERIALIZED_NAME_STRUCTURE_TYPE_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_VULNERABILITY_OCCUPANCY_LEVEL
public static final String SERIALIZED_NAME_VULNERABILITY_OCCUPANCY_LEVEL
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_VULNERABLE_END_TIME
public static final String SERIALIZED_NAME_VULNERABLE_END_TIME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_VULNERABLE_START_TIME
public static final String SERIALIZED_NAME_VULNERABLE_START_TIME
- See Also:
- Constant Field Values
-
-
Method Detail
-
allianceId
public SovereigntyStructuresResponse allianceId(Integer allianceId)
-
getAllianceId
public Integer getAllianceId()
The alliance that owns the structure.- Returns:
- allianceId
-
setAllianceId
public void setAllianceId(Integer allianceId)
-
solarSystemId
public SovereigntyStructuresResponse solarSystemId(Integer solarSystemId)
-
getSolarSystemId
public Integer getSolarSystemId()
Solar system in which the structure is located.- Returns:
- solarSystemId
-
setSolarSystemId
public void setSolarSystemId(Integer solarSystemId)
-
structureId
public SovereigntyStructuresResponse structureId(Long structureId)
-
getStructureId
public Long getStructureId()
Unique item ID for this structure.- Returns:
- structureId
-
setStructureId
public void setStructureId(Long structureId)
-
structureTypeId
public SovereigntyStructuresResponse structureTypeId(Integer structureTypeId)
-
getStructureTypeId
public Integer getStructureTypeId()
A reference to the type of structure this is.- Returns:
- structureTypeId
-
setStructureTypeId
public void setStructureTypeId(Integer structureTypeId)
-
vulnerabilityOccupancyLevel
public SovereigntyStructuresResponse vulnerabilityOccupancyLevel(Float vulnerabilityOccupancyLevel)
-
getVulnerabilityOccupancyLevel
@Nullable public Float getVulnerabilityOccupancyLevel()
The occupancy level for the next or current vulnerability window. This takes into account all development indexes and capital system bonuses. Also known as Activity Defense Multiplier from in the client. It increases the time that attackers must spend using their entosis links on the structure.- Returns:
- vulnerabilityOccupancyLevel
-
setVulnerabilityOccupancyLevel
public void setVulnerabilityOccupancyLevel(Float vulnerabilityOccupancyLevel)
-
vulnerableEndTime
public SovereigntyStructuresResponse vulnerableEndTime(java.time.OffsetDateTime vulnerableEndTime)
-
getVulnerableEndTime
@Nullable public java.time.OffsetDateTime getVulnerableEndTime()
The time at which the next or current vulnerability window ends. At the end of a vulnerability window the next window is recalculated and locked in along with the vulnerabilityOccupancyLevel. If the structure is not in 100% entosis control of the defender, it will go in to 'overtime' and stay vulnerable for as long as that situation persists. Only once the defenders have 100% entosis control and has the vulnerableEndTime passed does the vulnerability interval expire and a new one is calculated.- Returns:
- vulnerableEndTime
-
setVulnerableEndTime
public void setVulnerableEndTime(java.time.OffsetDateTime vulnerableEndTime)
-
vulnerableStartTime
public SovereigntyStructuresResponse vulnerableStartTime(java.time.OffsetDateTime vulnerableStartTime)
-
getVulnerableStartTime
@Nullable public java.time.OffsetDateTime getVulnerableStartTime()
The next time at which the structure will become vulnerable. Or the start time of the current window if current time is between this and vulnerableEndTime.- Returns:
- vulnerableStartTime
-
setVulnerableStartTime
public void setVulnerableStartTime(java.time.OffsetDateTime vulnerableStartTime)
-
-