Package net.troja.eve.esi.api
Class MailApi
- java.lang.Object
-
- net.troja.eve.esi.api.MailApi
-
public class MailApi extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddeleteCharactersCharacterIdMailLabelsLabelId(Integer characterId, Integer labelId, String datasource, String token)Delete a mail label Delete a mail label --- SSO Scope: esi-mail.organize_mail.v1okhttp3.CalldeleteCharactersCharacterIdMailLabelsLabelIdAsync(Integer characterId, Integer labelId, String datasource, String token, ApiCallback<Void> _callback)Delete a mail label (asynchronously) Delete a mail label --- SSO Scope: esi-mail.organize_mail.v1okhttp3.CalldeleteCharactersCharacterIdMailLabelsLabelIdCall(Integer characterId, Integer labelId, String datasource, String token, ApiCallback _callback)Build call for deleteCharactersCharacterIdMailLabelsLabelIdApiResponse<Void>deleteCharactersCharacterIdMailLabelsLabelIdWithHttpInfo(Integer characterId, Integer labelId, String datasource, String token)Delete a mail label Delete a mail label --- SSO Scope: esi-mail.organize_mail.v1voiddeleteCharactersCharacterIdMailMailId(Integer characterId, Integer mailId, String datasource, String token)Delete a mail Delete a mail --- SSO Scope: esi-mail.organize_mail.v1okhttp3.CalldeleteCharactersCharacterIdMailMailIdAsync(Integer characterId, Integer mailId, String datasource, String token, ApiCallback<Void> _callback)Delete a mail (asynchronously) Delete a mail --- SSO Scope: esi-mail.organize_mail.v1okhttp3.CalldeleteCharactersCharacterIdMailMailIdCall(Integer characterId, Integer mailId, String datasource, String token, ApiCallback _callback)Build call for deleteCharactersCharacterIdMailMailIdApiResponse<Void>deleteCharactersCharacterIdMailMailIdWithHttpInfo(Integer characterId, Integer mailId, String datasource, String token)Delete a mail Delete a mail --- SSO Scope: esi-mail.organize_mail.v1ApiClientgetApiClient()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.okhttp3.CallgetCharactersCharacterIdMailAsync(Integer characterId, String datasource, String ifNoneMatch, List<Integer> labels, Integer lastMailId, String token, ApiCallback<List<MailHeadersResponse>> _callback)Return mail headers (asynchronously) Return the 50 most recent mail headers belonging to the character that match the query criteria.okhttp3.CallgetCharactersCharacterIdMailCall(Integer characterId, String datasource, String ifNoneMatch, List<Integer> labels, Integer lastMailId, String token, ApiCallback _callback)Build call for getCharactersCharacterIdMailMailLabelsResponsegetCharactersCharacterIdMailLabels(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.v1okhttp3.CallgetCharactersCharacterIdMailLabelsAsync(Integer characterId, String datasource, String ifNoneMatch, String token, ApiCallback<MailLabelsResponse> _callback)Get mail labels and unread counts (asynchronously) 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.v1okhttp3.CallgetCharactersCharacterIdMailLabelsCall(Integer characterId, String datasource, String ifNoneMatch, String token, ApiCallback _callback)Build call for getCharactersCharacterIdMailLabelsApiResponse<MailLabelsResponse>getCharactersCharacterIdMailLabelsWithHttpInfo(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.v1List<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.v1okhttp3.CallgetCharactersCharacterIdMailListsAsync(Integer characterId, String datasource, String ifNoneMatch, String token, ApiCallback<List<CharacterMailinglistsResponse>> _callback)Return mailing list subscriptions (asynchronously) 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.v1okhttp3.CallgetCharactersCharacterIdMailListsCall(Integer characterId, String datasource, String ifNoneMatch, String token, ApiCallback _callback)Build call for getCharactersCharacterIdMailListsApiResponse<List<CharacterMailinglistsResponse>>getCharactersCharacterIdMailListsWithHttpInfo(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.v1MailResponsegetCharactersCharacterIdMailMailId(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.v1okhttp3.CallgetCharactersCharacterIdMailMailIdAsync(Integer characterId, Integer mailId, String datasource, String ifNoneMatch, String token, ApiCallback<MailResponse> _callback)Return a mail (asynchronously) Return the contents of an EVE mail --- This route is cached for up to 30 seconds SSO Scope: esi-mail.read_mail.v1okhttp3.CallgetCharactersCharacterIdMailMailIdCall(Integer characterId, Integer mailId, String datasource, String ifNoneMatch, String token, ApiCallback _callback)Build call for getCharactersCharacterIdMailMailIdApiResponse<MailResponse>getCharactersCharacterIdMailMailIdWithHttpInfo(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.v1ApiResponse<List<MailHeadersResponse>>getCharactersCharacterIdMailWithHttpInfo(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.IntegerpostCharactersCharacterIdMail(Integer characterId, Mail mail, String datasource, String token)Send a new mail Create and send a new mail --- SSO Scope: esi-mail.send_mail.v1okhttp3.CallpostCharactersCharacterIdMailAsync(Integer characterId, Mail mail, String datasource, String token, ApiCallback<Integer> _callback)Send a new mail (asynchronously) Create and send a new mail --- SSO Scope: esi-mail.send_mail.v1okhttp3.CallpostCharactersCharacterIdMailCall(Integer characterId, Mail mail, String datasource, String token, ApiCallback _callback)Build call for postCharactersCharacterIdMailIntegerpostCharactersCharacterIdMailLabels(Integer characterId, MailLabelSimple label, String datasource, String token)Create a mail label Create a mail label --- SSO Scope: esi-mail.organize_mail.v1okhttp3.CallpostCharactersCharacterIdMailLabelsAsync(Integer characterId, MailLabelSimple label, String datasource, String token, ApiCallback<Integer> _callback)Create a mail label (asynchronously) Create a mail label --- SSO Scope: esi-mail.organize_mail.v1okhttp3.CallpostCharactersCharacterIdMailLabelsCall(Integer characterId, MailLabelSimple label, String datasource, String token, ApiCallback _callback)Build call for postCharactersCharacterIdMailLabelsApiResponse<Integer>postCharactersCharacterIdMailLabelsWithHttpInfo(Integer characterId, MailLabelSimple label, String datasource, String token)Create a mail label Create a mail label --- SSO Scope: esi-mail.organize_mail.v1ApiResponse<Integer>postCharactersCharacterIdMailWithHttpInfo(Integer characterId, Mail mail, String datasource, String token)Send a new mail Create and send a new mail --- SSO Scope: esi-mail.send_mail.v1voidputCharactersCharacterIdMailMailId(Integer characterId, Integer mailId, MailMetaData contents, String datasource, String token)Update metadata about a mail Update metadata about a mail --- SSO Scope: esi-mail.organize_mail.v1okhttp3.CallputCharactersCharacterIdMailMailIdAsync(Integer characterId, Integer mailId, MailMetaData contents, String datasource, String token, ApiCallback<Void> _callback)Update metadata about a mail (asynchronously) Update metadata about a mail --- SSO Scope: esi-mail.organize_mail.v1okhttp3.CallputCharactersCharacterIdMailMailIdCall(Integer characterId, Integer mailId, MailMetaData contents, String datasource, String token, ApiCallback _callback)Build call for putCharactersCharacterIdMailMailIdApiResponse<Void>putCharactersCharacterIdMailMailIdWithHttpInfo(Integer characterId, Integer mailId, MailMetaData contents, String datasource, String token)Update metadata about a mail Update metadata about a mail --- SSO Scope: esi-mail.organize_mail.v1voidsetApiClient(ApiClient apiClient)
-
-
-
Constructor Detail
-
MailApi
public MailApi()
-
MailApi
public MailApi(ApiClient apiClient)
-
-
Method Detail
-
getApiClient
public ApiClient getApiClient()
-
setApiClient
public void setApiClient(ApiClient apiClient)
-
deleteCharactersCharacterIdMailLabelsLabelIdCall
public okhttp3.Call deleteCharactersCharacterIdMailLabelsLabelIdCall(Integer characterId, Integer labelId, String datasource, String token, ApiCallback _callback) throws ApiException
Build call for deleteCharactersCharacterIdMailLabelsLabelId- Parameters:
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)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
deleteCharactersCharacterIdMailLabelsLabelId
public void deleteCharactersCharacterIdMailLabelsLabelId(Integer characterId, Integer labelId, String datasource, String token) throws ApiException
Delete a mail label Delete a mail label --- SSO Scope: esi-mail.organize_mail.v1- Parameters:
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)- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
deleteCharactersCharacterIdMailLabelsLabelIdWithHttpInfo
public ApiResponse<Void> deleteCharactersCharacterIdMailLabelsLabelIdWithHttpInfo(Integer characterId, Integer labelId, String datasource, String token) throws ApiException
Delete a mail label Delete a mail label --- SSO Scope: esi-mail.organize_mail.v1- Parameters:
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)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
deleteCharactersCharacterIdMailLabelsLabelIdAsync
public okhttp3.Call deleteCharactersCharacterIdMailLabelsLabelIdAsync(Integer characterId, Integer labelId, String datasource, String token, ApiCallback<Void> _callback) throws ApiException
Delete a mail label (asynchronously) Delete a mail label --- SSO Scope: esi-mail.organize_mail.v1- Parameters:
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)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
deleteCharactersCharacterIdMailMailIdCall
public okhttp3.Call deleteCharactersCharacterIdMailMailIdCall(Integer characterId, Integer mailId, String datasource, String token, ApiCallback _callback) throws ApiException
Build call for deleteCharactersCharacterIdMailMailId- Parameters:
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)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
deleteCharactersCharacterIdMailMailId
public void deleteCharactersCharacterIdMailMailId(Integer characterId, Integer mailId, String datasource, String token) throws ApiException
Delete a mail Delete a mail --- SSO Scope: esi-mail.organize_mail.v1- Parameters:
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)- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
deleteCharactersCharacterIdMailMailIdWithHttpInfo
public ApiResponse<Void> deleteCharactersCharacterIdMailMailIdWithHttpInfo(Integer characterId, Integer mailId, String datasource, String token) throws ApiException
Delete a mail Delete a mail --- SSO Scope: esi-mail.organize_mail.v1- Parameters:
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)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
deleteCharactersCharacterIdMailMailIdAsync
public okhttp3.Call deleteCharactersCharacterIdMailMailIdAsync(Integer characterId, Integer mailId, String datasource, String token, ApiCallback<Void> _callback) throws ApiException
Delete a mail (asynchronously) Delete a mail --- SSO Scope: esi-mail.organize_mail.v1- Parameters:
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)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
getCharactersCharacterIdMailCall
public okhttp3.Call getCharactersCharacterIdMailCall(Integer characterId, String datasource, String ifNoneMatch, List<Integer> labels, Integer lastMailId, String token, ApiCallback _callback) throws ApiException
Build call for getCharactersCharacterIdMail- Parameters:
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)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
getCharactersCharacterIdMail
public List<MailHeadersResponse> getCharactersCharacterIdMail(Integer characterId, String datasource, String ifNoneMatch, List<Integer> labels, Integer lastMailId, String token) throws ApiException
Return mail headers Return the 50 most recent mail headers belonging to the character that match the query criteria. Queries can be filtered by label, and last_mail_id can be used to paginate backwards --- This route is cached for up to 30 seconds SSO Scope: esi-mail.read_mail.v1- Parameters:
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)- Returns:
- List<MailHeadersResponse>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getCharactersCharacterIdMailWithHttpInfo
public ApiResponse<List<MailHeadersResponse>> getCharactersCharacterIdMailWithHttpInfo(Integer characterId, String datasource, String ifNoneMatch, List<Integer> labels, Integer lastMailId, String token) throws ApiException
Return mail headers Return the 50 most recent mail headers belonging to the character that match the query criteria. Queries can be filtered by label, and last_mail_id can be used to paginate backwards --- This route is cached for up to 30 seconds SSO Scope: esi-mail.read_mail.v1- Parameters:
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)- Returns:
- ApiResponse<List<MailHeadersResponse>>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getCharactersCharacterIdMailAsync
public okhttp3.Call getCharactersCharacterIdMailAsync(Integer characterId, String datasource, String ifNoneMatch, List<Integer> labels, Integer lastMailId, String token, ApiCallback<List<MailHeadersResponse>> _callback) throws ApiException
Return mail headers (asynchronously) Return the 50 most recent mail headers belonging to the character that match the query criteria. Queries can be filtered by label, and last_mail_id can be used to paginate backwards --- This route is cached for up to 30 seconds SSO Scope: esi-mail.read_mail.v1- Parameters:
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)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
getCharactersCharacterIdMailLabelsCall
public okhttp3.Call getCharactersCharacterIdMailLabelsCall(Integer characterId, String datasource, String ifNoneMatch, String token, ApiCallback _callback) throws ApiException
Build call for getCharactersCharacterIdMailLabels- Parameters:
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)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
getCharactersCharacterIdMailLabels
public MailLabelsResponse getCharactersCharacterIdMailLabels(Integer characterId, String datasource, String ifNoneMatch, String token) throws ApiException
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- Parameters:
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)- Returns:
- MailLabelsResponse
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getCharactersCharacterIdMailLabelsWithHttpInfo
public ApiResponse<MailLabelsResponse> getCharactersCharacterIdMailLabelsWithHttpInfo(Integer characterId, String datasource, String ifNoneMatch, String token) throws ApiException
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- Parameters:
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)- Returns:
- ApiResponse<MailLabelsResponse>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getCharactersCharacterIdMailLabelsAsync
public okhttp3.Call getCharactersCharacterIdMailLabelsAsync(Integer characterId, String datasource, String ifNoneMatch, String token, ApiCallback<MailLabelsResponse> _callback) throws ApiException
Get mail labels and unread counts (asynchronously) 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- Parameters:
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)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
getCharactersCharacterIdMailListsCall
public okhttp3.Call getCharactersCharacterIdMailListsCall(Integer characterId, String datasource, String ifNoneMatch, String token, ApiCallback _callback) throws ApiException
Build call for getCharactersCharacterIdMailLists- Parameters:
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)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
getCharactersCharacterIdMailLists
public List<CharacterMailinglistsResponse> getCharactersCharacterIdMailLists(Integer characterId, String datasource, String ifNoneMatch, String token) throws ApiException
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- Parameters:
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)- Returns:
- List<CharacterMailinglistsResponse>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getCharactersCharacterIdMailListsWithHttpInfo
public ApiResponse<List<CharacterMailinglistsResponse>> getCharactersCharacterIdMailListsWithHttpInfo(Integer characterId, String datasource, String ifNoneMatch, String token) throws ApiException
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- Parameters:
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)- Returns:
- ApiResponse<List<CharacterMailinglistsResponse>>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getCharactersCharacterIdMailListsAsync
public okhttp3.Call getCharactersCharacterIdMailListsAsync(Integer characterId, String datasource, String ifNoneMatch, String token, ApiCallback<List<CharacterMailinglistsResponse>> _callback) throws ApiException
Return mailing list subscriptions (asynchronously) 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- Parameters:
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)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
getCharactersCharacterIdMailMailIdCall
public okhttp3.Call getCharactersCharacterIdMailMailIdCall(Integer characterId, Integer mailId, String datasource, String ifNoneMatch, String token, ApiCallback _callback) throws ApiException
Build call for getCharactersCharacterIdMailMailId- Parameters:
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)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
getCharactersCharacterIdMailMailId
public MailResponse getCharactersCharacterIdMailMailId(Integer characterId, Integer mailId, String datasource, String ifNoneMatch, String token) throws ApiException
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- Parameters:
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)- Returns:
- MailResponse
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getCharactersCharacterIdMailMailIdWithHttpInfo
public ApiResponse<MailResponse> getCharactersCharacterIdMailMailIdWithHttpInfo(Integer characterId, Integer mailId, String datasource, String ifNoneMatch, String token) throws ApiException
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- Parameters:
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)- Returns:
- ApiResponse<MailResponse>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getCharactersCharacterIdMailMailIdAsync
public okhttp3.Call getCharactersCharacterIdMailMailIdAsync(Integer characterId, Integer mailId, String datasource, String ifNoneMatch, String token, ApiCallback<MailResponse> _callback) throws ApiException
Return a mail (asynchronously) Return the contents of an EVE mail --- This route is cached for up to 30 seconds SSO Scope: esi-mail.read_mail.v1- Parameters:
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)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
postCharactersCharacterIdMailCall
public okhttp3.Call postCharactersCharacterIdMailCall(Integer characterId, Mail mail, String datasource, String token, ApiCallback _callback) throws ApiException
Build call for postCharactersCharacterIdMail- Parameters:
characterId- An EVE character ID (required)mail- (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)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
postCharactersCharacterIdMail
public Integer postCharactersCharacterIdMail(Integer characterId, Mail mail, String datasource, String token) throws ApiException
Send a new mail Create and send a new mail --- SSO Scope: esi-mail.send_mail.v1- Parameters:
characterId- An EVE character ID (required)mail- (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)- Returns:
- Integer
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
postCharactersCharacterIdMailWithHttpInfo
public ApiResponse<Integer> postCharactersCharacterIdMailWithHttpInfo(Integer characterId, Mail mail, String datasource, String token) throws ApiException
Send a new mail Create and send a new mail --- SSO Scope: esi-mail.send_mail.v1- Parameters:
characterId- An EVE character ID (required)mail- (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)- Returns:
- ApiResponse<Integer>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
postCharactersCharacterIdMailAsync
public okhttp3.Call postCharactersCharacterIdMailAsync(Integer characterId, Mail mail, String datasource, String token, ApiCallback<Integer> _callback) throws ApiException
Send a new mail (asynchronously) Create and send a new mail --- SSO Scope: esi-mail.send_mail.v1- Parameters:
characterId- An EVE character ID (required)mail- (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)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
postCharactersCharacterIdMailLabelsCall
public okhttp3.Call postCharactersCharacterIdMailLabelsCall(Integer characterId, MailLabelSimple label, String datasource, String token, ApiCallback _callback) throws ApiException
Build call for postCharactersCharacterIdMailLabels- Parameters:
characterId- An EVE character ID (required)label- (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)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
postCharactersCharacterIdMailLabels
public Integer postCharactersCharacterIdMailLabels(Integer characterId, MailLabelSimple label, String datasource, String token) throws ApiException
Create a mail label Create a mail label --- SSO Scope: esi-mail.organize_mail.v1- Parameters:
characterId- An EVE character ID (required)label- (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)- Returns:
- Integer
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
postCharactersCharacterIdMailLabelsWithHttpInfo
public ApiResponse<Integer> postCharactersCharacterIdMailLabelsWithHttpInfo(Integer characterId, MailLabelSimple label, String datasource, String token) throws ApiException
Create a mail label Create a mail label --- SSO Scope: esi-mail.organize_mail.v1- Parameters:
characterId- An EVE character ID (required)label- (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)- Returns:
- ApiResponse<Integer>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
postCharactersCharacterIdMailLabelsAsync
public okhttp3.Call postCharactersCharacterIdMailLabelsAsync(Integer characterId, MailLabelSimple label, String datasource, String token, ApiCallback<Integer> _callback) throws ApiException
Create a mail label (asynchronously) Create a mail label --- SSO Scope: esi-mail.organize_mail.v1- Parameters:
characterId- An EVE character ID (required)label- (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)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
putCharactersCharacterIdMailMailIdCall
public okhttp3.Call putCharactersCharacterIdMailMailIdCall(Integer characterId, Integer mailId, MailMetaData contents, String datasource, String token, ApiCallback _callback) throws ApiException
Build call for putCharactersCharacterIdMailMailId- Parameters:
characterId- An EVE character ID (required)mailId- An EVE mail ID (required)contents- (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)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
putCharactersCharacterIdMailMailId
public void putCharactersCharacterIdMailMailId(Integer characterId, Integer mailId, MailMetaData contents, String datasource, String token) throws ApiException
Update metadata about a mail Update metadata about a mail --- SSO Scope: esi-mail.organize_mail.v1- Parameters:
characterId- An EVE character ID (required)mailId- An EVE mail ID (required)contents- (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)- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
putCharactersCharacterIdMailMailIdWithHttpInfo
public ApiResponse<Void> putCharactersCharacterIdMailMailIdWithHttpInfo(Integer characterId, Integer mailId, MailMetaData contents, String datasource, String token) throws ApiException
Update metadata about a mail Update metadata about a mail --- SSO Scope: esi-mail.organize_mail.v1- Parameters:
characterId- An EVE character ID (required)mailId- An EVE mail ID (required)contents- (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)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
putCharactersCharacterIdMailMailIdAsync
public okhttp3.Call putCharactersCharacterIdMailMailIdAsync(Integer characterId, Integer mailId, MailMetaData contents, String datasource, String token, ApiCallback<Void> _callback) throws ApiException
Update metadata about a mail (asynchronously) Update metadata about a mail --- SSO Scope: esi-mail.organize_mail.v1- Parameters:
characterId- An EVE character ID (required)mailId- An EVE mail ID (required)contents- (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)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
-