public class MailApi extends Object
| Modifier and Type | Method and Description |
|---|---|
void |
deleteCharactersCharacterIdMailLabelsLabelId(Integer characterId,
Integer labelId,
String datasource,
String token)
Delete a mail label Delete a mail label --- SSO Scope:
esi-mail.organize_mail.v1
|
void |
deleteCharactersCharacterIdMailMailId(Integer characterId,
Integer mailId,
String datasource,
String token)
Delete a mail Delete a mail --- SSO Scope: esi-mail.organize_mail.v1
|
ApiClient |
getApiClient() |
List<MailHeadersResponse> |
getCharactersCharacterIdMail(Integer characterId,
String datasource,
String ifNoneMatch,
List<Integer> labels,
Integer lastMailId,
String token)
Return mail headers Return the 50 most recent mail headers belonging to
the character that match the query criteria.
|
MailLabelsResponse |
getCharactersCharacterIdMailLabels(Integer characterId,
String datasource,
String ifNoneMatch,
String token)
Get mail labels and unread counts Return a list of the users mail labels,
unread counts for each label and a total unread count. --- This route is
cached for up to 30 seconds SSO Scope: esi-mail.read_mail.v1
|
List<CharacterMailinglistsResponse> |
getCharactersCharacterIdMailLists(Integer characterId,
String datasource,
String ifNoneMatch,
String token)
Return mailing list subscriptions Return all mailing lists that the
character is subscribed to --- This route is cached for up to 120 seconds
SSO Scope: esi-mail.read_mail.v1
|
MailResponse |
getCharactersCharacterIdMailMailId(Integer characterId,
Integer mailId,
String datasource,
String ifNoneMatch,
String token)
Return a mail Return the contents of an EVE mail --- This route is cached
for up to 30 seconds SSO Scope: esi-mail.read_mail.v1
|
Integer |
postCharactersCharacterIdMail(Integer characterId,
Mail mail,
String datasource,
String token)
Send a new mail Create and send a new mail --- SSO Scope:
esi-mail.send_mail.v1
|
Integer |
postCharactersCharacterIdMailLabels(Integer characterId,
MailLabelSimple label,
String datasource,
String token)
Create a mail label Create a mail label --- SSO Scope:
esi-mail.organize_mail.v1
|
void |
putCharactersCharacterIdMailMailId(Integer characterId,
MailMetaData contents,
Integer mailId,
String datasource,
String token)
Update metadata about a mail Update metadata about a mail --- SSO Scope:
esi-mail.organize_mail.v1
|
void |
setApiClient(ApiClient apiClient) |
public MailApi()
public MailApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public void deleteCharactersCharacterIdMailLabelsLabelId(Integer characterId, Integer labelId, String datasource, String token) throws ApiException
characterId - An EVE character ID (required)labelId - An EVE label id (required)datasource - The server name you would like data from (optional, default to
tranquility)token - Access token to use if unable to set a header (optional)ApiException - if fails to make API callpublic void deleteCharactersCharacterIdMailMailId(Integer characterId, Integer mailId, String datasource, String token) throws ApiException
characterId - An EVE character ID (required)mailId - An EVE mail ID (required)datasource - The server name you would like data from (optional, default to
tranquility)token - Access token to use if unable to set a header (optional)ApiException - if fails to make API callpublic List<MailHeadersResponse> getCharactersCharacterIdMail(Integer characterId, String datasource, String ifNoneMatch, List<Integer> labels, Integer lastMailId, String token) throws ApiException
characterId - An EVE character ID (required)datasource - The server name you would like data from (optional, default to
tranquility)ifNoneMatch - ETag from a previous request. A 304 will be returned if this
matches the current ETag (optional)labels - Fetch only mails that match one or more of the given labels
(optional)lastMailId - List only mail with an ID lower than the given ID, if present
(optional)token - Access token to use if unable to set a header (optional)ApiException - if fails to make API callpublic MailLabelsResponse getCharactersCharacterIdMailLabels(Integer characterId, String datasource, String ifNoneMatch, String token) throws ApiException
characterId - An EVE character ID (required)datasource - The server name you would like data from (optional, default to
tranquility)ifNoneMatch - ETag from a previous request. A 304 will be returned if this
matches the current ETag (optional)token - Access token to use if unable to set a header (optional)ApiException - if fails to make API callpublic List<CharacterMailinglistsResponse> getCharactersCharacterIdMailLists(Integer characterId, String datasource, String ifNoneMatch, String token) throws ApiException
characterId - An EVE character ID (required)datasource - The server name you would like data from (optional, default to
tranquility)ifNoneMatch - ETag from a previous request. A 304 will be returned if this
matches the current ETag (optional)token - Access token to use if unable to set a header (optional)ApiException - if fails to make API callpublic MailResponse getCharactersCharacterIdMailMailId(Integer characterId, Integer mailId, String datasource, String ifNoneMatch, String token) throws ApiException
characterId - An EVE character ID (required)mailId - An EVE mail ID (required)datasource - The server name you would like data from (optional, default to
tranquility)ifNoneMatch - ETag from a previous request. A 304 will be returned if this
matches the current ETag (optional)token - Access token to use if unable to set a header (optional)ApiException - if fails to make API callpublic Integer postCharactersCharacterIdMail(Integer characterId, Mail mail, String datasource, String token) throws ApiException
characterId - An EVE character ID (required)mail - The mail to send (required)datasource - The server name you would like data from (optional, default to
tranquility)token - Access token to use if unable to set a header (optional)ApiException - if fails to make API callpublic Integer postCharactersCharacterIdMailLabels(Integer characterId, MailLabelSimple label, String datasource, String token) throws ApiException
characterId - An EVE character ID (required)label - Label to create (required)datasource - The server name you would like data from (optional, default to
tranquility)token - Access token to use if unable to set a header (optional)ApiException - if fails to make API callpublic void putCharactersCharacterIdMailMailId(Integer characterId, MailMetaData contents, Integer mailId, String datasource, String token) throws ApiException
characterId - An EVE character ID (required)contents - Data used to update the mail (required)mailId - An EVE mail ID (required)datasource - The server name you would like data from (optional, default to
tranquility)token - Access token to use if unable to set a header (optional)ApiException - if fails to make API callCopyright © 2019. All Rights Reserved.