Package net.troja.eve.esi.model
Class EsiVerifyResponse
- java.lang.Object
-
- net.troja.eve.esi.model.EsiVerifyResponse
-
- All Implemented Interfaces:
Serializable
public class EsiVerifyResponse extends Object implements Serializable
SSO /verify JSON- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringSERIALIZED_NAME_CHARACTER_I_Dstatic StringSERIALIZED_NAME_CHARACTER_NAMEstatic StringSERIALIZED_NAME_CHARACTER_OWNER_HASHstatic StringSERIALIZED_NAME_EXPIRES_ONstatic StringSERIALIZED_NAME_INTELLECTUAL_PROPERTYstatic StringSERIALIZED_NAME_SCOPESstatic StringSERIALIZED_NAME_TOKEN_TYPE
-
Constructor Summary
Constructors Constructor Description EsiVerifyResponse()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EsiVerifyResponsecharacterID(Integer characterID)EsiVerifyResponsecharacterName(String characterName)EsiVerifyResponsecharacterOwnerHash(String characterOwnerHash)booleanequals(Object o)EsiVerifyResponseexpiresOn(String expiresOn)IntegergetCharacterID()Token owner's character IDStringgetCharacterName()Token owner's character nameStringgetCharacterOwnerHash()Hash of the character's owner.StringgetExpiresOn()Expiry time of the token (not RFC3339)StringgetIntellectualProperty()The IP which generated the tokenStringgetScopes()Space separated list of scopes the token is valid forStringgetTokenType()Type of access tokeninthashCode()EsiVerifyResponseintellectualProperty(String intellectualProperty)EsiVerifyResponsescopes(String scopes)voidsetCharacterID(Integer characterID)voidsetCharacterName(String characterName)voidsetCharacterOwnerHash(String characterOwnerHash)voidsetExpiresOn(String expiresOn)voidsetIntellectualProperty(String intellectualProperty)voidsetScopes(String scopes)voidsetTokenType(String tokenType)EsiVerifyResponsetokenType(String tokenType)StringtoString()
-
-
-
Field Detail
-
SERIALIZED_NAME_CHARACTER_I_D
public static final String SERIALIZED_NAME_CHARACTER_I_D
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CHARACTER_NAME
public static final String SERIALIZED_NAME_CHARACTER_NAME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CHARACTER_OWNER_HASH
public static final String SERIALIZED_NAME_CHARACTER_OWNER_HASH
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_EXPIRES_ON
public static final String SERIALIZED_NAME_EXPIRES_ON
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_INTELLECTUAL_PROPERTY
public static final String SERIALIZED_NAME_INTELLECTUAL_PROPERTY
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_SCOPES
public static final String SERIALIZED_NAME_SCOPES
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TOKEN_TYPE
public static final String SERIALIZED_NAME_TOKEN_TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
characterID
public EsiVerifyResponse characterID(Integer characterID)
-
getCharacterID
public Integer getCharacterID()
Token owner's character ID- Returns:
- characterID
-
setCharacterID
public void setCharacterID(Integer characterID)
-
characterName
public EsiVerifyResponse characterName(String characterName)
-
getCharacterName
@Nullable public String getCharacterName()
Token owner's character name- Returns:
- characterName
-
setCharacterName
public void setCharacterName(String characterName)
-
characterOwnerHash
public EsiVerifyResponse characterOwnerHash(String characterOwnerHash)
-
getCharacterOwnerHash
@Nullable public String getCharacterOwnerHash()
Hash of the character's owner. If the character is sold or otherwise transferred, this will change- Returns:
- characterOwnerHash
-
setCharacterOwnerHash
public void setCharacterOwnerHash(String characterOwnerHash)
-
expiresOn
public EsiVerifyResponse expiresOn(String expiresOn)
-
getExpiresOn
@Nullable public String getExpiresOn()
Expiry time of the token (not RFC3339)- Returns:
- expiresOn
-
setExpiresOn
public void setExpiresOn(String expiresOn)
-
intellectualProperty
public EsiVerifyResponse intellectualProperty(String intellectualProperty)
-
getIntellectualProperty
@Nullable public String getIntellectualProperty()
The IP which generated the token- Returns:
- intellectualProperty
-
setIntellectualProperty
public void setIntellectualProperty(String intellectualProperty)
-
scopes
public EsiVerifyResponse scopes(String scopes)
-
getScopes
@Nullable public String getScopes()
Space separated list of scopes the token is valid for- Returns:
- scopes
-
setScopes
public void setScopes(String scopes)
-
tokenType
public EsiVerifyResponse tokenType(String tokenType)
-
setTokenType
public void setTokenType(String tokenType)
-
-