Package net.troja.eve.esi.api
Class KillmailsApi
- java.lang.Object
-
- net.troja.eve.esi.api.KillmailsApi
-
public class KillmailsApi extends Object
-
-
Constructor Summary
Constructors Constructor Description KillmailsApi()KillmailsApi(ApiClient apiClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApiClientgetApiClient()List<CharacterKillmailsResponse>getCharactersCharacterIdKillmailsRecent(Integer characterId, String datasource, String ifNoneMatch, Integer page, String token)Get a character's recent kills and losses Return a list of a character's kills and losses going back 90 days --- This route is cached for up to 300 seconds SSO Scope: esi-killmails.read_killmails.v1okhttp3.CallgetCharactersCharacterIdKillmailsRecentAsync(Integer characterId, String datasource, String ifNoneMatch, Integer page, String token, ApiCallback<List<CharacterKillmailsResponse>> _callback)Get a character's recent kills and losses (asynchronously) Return a list of a character's kills and losses going back 90 days --- This route is cached for up to 300 seconds SSO Scope: esi-killmails.read_killmails.v1okhttp3.CallgetCharactersCharacterIdKillmailsRecentCall(Integer characterId, String datasource, String ifNoneMatch, Integer page, String token, ApiCallback _callback)Build call for getCharactersCharacterIdKillmailsRecentApiResponse<List<CharacterKillmailsResponse>>getCharactersCharacterIdKillmailsRecentWithHttpInfo(Integer characterId, String datasource, String ifNoneMatch, Integer page, String token)Get a character's recent kills and losses Return a list of a character's kills and losses going back 90 days --- This route is cached for up to 300 seconds SSO Scope: esi-killmails.read_killmails.v1List<CorporationKillmailsResponse>getCorporationsCorporationIdKillmailsRecent(Integer corporationId, String datasource, String ifNoneMatch, Integer page, String token)Get a corporation's recent kills and losses Get a list of a corporation's kills and losses going back 90 days --- This route is cached for up to 300 seconds --- Requires one of the following EVE corporation role(s): Director SSO Scope: esi-killmails.read_corporation_killmails.v1okhttp3.CallgetCorporationsCorporationIdKillmailsRecentAsync(Integer corporationId, String datasource, String ifNoneMatch, Integer page, String token, ApiCallback<List<CorporationKillmailsResponse>> _callback)Get a corporation's recent kills and losses (asynchronously) Get a list of a corporation's kills and losses going back 90 days --- This route is cached for up to 300 seconds --- Requires one of the following EVE corporation role(s): Director SSO Scope: esi-killmails.read_corporation_killmails.v1okhttp3.CallgetCorporationsCorporationIdKillmailsRecentCall(Integer corporationId, String datasource, String ifNoneMatch, Integer page, String token, ApiCallback _callback)Build call for getCorporationsCorporationIdKillmailsRecentApiResponse<List<CorporationKillmailsResponse>>getCorporationsCorporationIdKillmailsRecentWithHttpInfo(Integer corporationId, String datasource, String ifNoneMatch, Integer page, String token)Get a corporation's recent kills and losses Get a list of a corporation's kills and losses going back 90 days --- This route is cached for up to 300 seconds --- Requires one of the following EVE corporation role(s): Director SSO Scope: esi-killmails.read_corporation_killmails.v1KillmailResponsegetKillmailsKillmailIdKillmailHash(String killmailHash, Integer killmailId, String datasource, String ifNoneMatch)Get a single killmail Return a single killmail from its ID and hash --- This route is cached for up to 30758400 secondsokhttp3.CallgetKillmailsKillmailIdKillmailHashAsync(String killmailHash, Integer killmailId, String datasource, String ifNoneMatch, ApiCallback<KillmailResponse> _callback)Get a single killmail (asynchronously) Return a single killmail from its ID and hash --- This route is cached for up to 30758400 secondsokhttp3.CallgetKillmailsKillmailIdKillmailHashCall(String killmailHash, Integer killmailId, String datasource, String ifNoneMatch, ApiCallback _callback)Build call for getKillmailsKillmailIdKillmailHashApiResponse<KillmailResponse>getKillmailsKillmailIdKillmailHashWithHttpInfo(String killmailHash, Integer killmailId, String datasource, String ifNoneMatch)Get a single killmail Return a single killmail from its ID and hash --- This route is cached for up to 30758400 secondsvoidsetApiClient(ApiClient apiClient)
-
-
-
Constructor Detail
-
KillmailsApi
public KillmailsApi()
-
KillmailsApi
public KillmailsApi(ApiClient apiClient)
-
-
Method Detail
-
getApiClient
public ApiClient getApiClient()
-
setApiClient
public void setApiClient(ApiClient apiClient)
-
getCharactersCharacterIdKillmailsRecentCall
public okhttp3.Call getCharactersCharacterIdKillmailsRecentCall(Integer characterId, String datasource, String ifNoneMatch, Integer page, String token, ApiCallback _callback) throws ApiException
Build call for getCharactersCharacterIdKillmailsRecent- 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)page- Which page of results to return (optional, default to 1)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
-
getCharactersCharacterIdKillmailsRecent
public List<CharacterKillmailsResponse> getCharactersCharacterIdKillmailsRecent(Integer characterId, String datasource, String ifNoneMatch, Integer page, String token) throws ApiException
Get a character's recent kills and losses Return a list of a character's kills and losses going back 90 days --- This route is cached for up to 300 seconds SSO Scope: esi-killmails.read_killmails.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)page- Which page of results to return (optional, default to 1)token- Access token to use if unable to set a header (optional)- Returns:
- List<CharacterKillmailsResponse>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getCharactersCharacterIdKillmailsRecentWithHttpInfo
public ApiResponse<List<CharacterKillmailsResponse>> getCharactersCharacterIdKillmailsRecentWithHttpInfo(Integer characterId, String datasource, String ifNoneMatch, Integer page, String token) throws ApiException
Get a character's recent kills and losses Return a list of a character's kills and losses going back 90 days --- This route is cached for up to 300 seconds SSO Scope: esi-killmails.read_killmails.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)page- Which page of results to return (optional, default to 1)token- Access token to use if unable to set a header (optional)- Returns:
- ApiResponse<List<CharacterKillmailsResponse>>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getCharactersCharacterIdKillmailsRecentAsync
public okhttp3.Call getCharactersCharacterIdKillmailsRecentAsync(Integer characterId, String datasource, String ifNoneMatch, Integer page, String token, ApiCallback<List<CharacterKillmailsResponse>> _callback) throws ApiException
Get a character's recent kills and losses (asynchronously) Return a list of a character's kills and losses going back 90 days --- This route is cached for up to 300 seconds SSO Scope: esi-killmails.read_killmails.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)page- Which page of results to return (optional, default to 1)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
-
getCorporationsCorporationIdKillmailsRecentCall
public okhttp3.Call getCorporationsCorporationIdKillmailsRecentCall(Integer corporationId, String datasource, String ifNoneMatch, Integer page, String token, ApiCallback _callback) throws ApiException
Build call for getCorporationsCorporationIdKillmailsRecent- Parameters:
corporationId- An EVE corporation 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)page- Which page of results to return (optional, default to 1)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
-
getCorporationsCorporationIdKillmailsRecent
public List<CorporationKillmailsResponse> getCorporationsCorporationIdKillmailsRecent(Integer corporationId, String datasource, String ifNoneMatch, Integer page, String token) throws ApiException
Get a corporation's recent kills and losses Get a list of a corporation's kills and losses going back 90 days --- This route is cached for up to 300 seconds --- Requires one of the following EVE corporation role(s): Director SSO Scope: esi-killmails.read_corporation_killmails.v1- Parameters:
corporationId- An EVE corporation 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)page- Which page of results to return (optional, default to 1)token- Access token to use if unable to set a header (optional)- Returns:
- List<CorporationKillmailsResponse>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getCorporationsCorporationIdKillmailsRecentWithHttpInfo
public ApiResponse<List<CorporationKillmailsResponse>> getCorporationsCorporationIdKillmailsRecentWithHttpInfo(Integer corporationId, String datasource, String ifNoneMatch, Integer page, String token) throws ApiException
Get a corporation's recent kills and losses Get a list of a corporation's kills and losses going back 90 days --- This route is cached for up to 300 seconds --- Requires one of the following EVE corporation role(s): Director SSO Scope: esi-killmails.read_corporation_killmails.v1- Parameters:
corporationId- An EVE corporation 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)page- Which page of results to return (optional, default to 1)token- Access token to use if unable to set a header (optional)- Returns:
- ApiResponse<List<CorporationKillmailsResponse>>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getCorporationsCorporationIdKillmailsRecentAsync
public okhttp3.Call getCorporationsCorporationIdKillmailsRecentAsync(Integer corporationId, String datasource, String ifNoneMatch, Integer page, String token, ApiCallback<List<CorporationKillmailsResponse>> _callback) throws ApiException
Get a corporation's recent kills and losses (asynchronously) Get a list of a corporation's kills and losses going back 90 days --- This route is cached for up to 300 seconds --- Requires one of the following EVE corporation role(s): Director SSO Scope: esi-killmails.read_corporation_killmails.v1- Parameters:
corporationId- An EVE corporation 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)page- Which page of results to return (optional, default to 1)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
-
getKillmailsKillmailIdKillmailHashCall
public okhttp3.Call getKillmailsKillmailIdKillmailHashCall(String killmailHash, Integer killmailId, String datasource, String ifNoneMatch, ApiCallback _callback) throws ApiException
Build call for getKillmailsKillmailIdKillmailHash- Parameters:
killmailHash- The killmail hash for verification (required)killmailId- The killmail ID to be queried (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)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
getKillmailsKillmailIdKillmailHash
public KillmailResponse getKillmailsKillmailIdKillmailHash(String killmailHash, Integer killmailId, String datasource, String ifNoneMatch) throws ApiException
Get a single killmail Return a single killmail from its ID and hash --- This route is cached for up to 30758400 seconds- Parameters:
killmailHash- The killmail hash for verification (required)killmailId- The killmail ID to be queried (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)- Returns:
- KillmailResponse
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getKillmailsKillmailIdKillmailHashWithHttpInfo
public ApiResponse<KillmailResponse> getKillmailsKillmailIdKillmailHashWithHttpInfo(String killmailHash, Integer killmailId, String datasource, String ifNoneMatch) throws ApiException
Get a single killmail Return a single killmail from its ID and hash --- This route is cached for up to 30758400 seconds- Parameters:
killmailHash- The killmail hash for verification (required)killmailId- The killmail ID to be queried (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)- Returns:
- ApiResponse<KillmailResponse>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getKillmailsKillmailIdKillmailHashAsync
public okhttp3.Call getKillmailsKillmailIdKillmailHashAsync(String killmailHash, Integer killmailId, String datasource, String ifNoneMatch, ApiCallback<KillmailResponse> _callback) throws ApiException
Get a single killmail (asynchronously) Return a single killmail from its ID and hash --- This route is cached for up to 30758400 seconds- Parameters:
killmailHash- The killmail hash for verification (required)killmailId- The killmail ID to be queried (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)_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
-
-