public class WarsApi extends Object
| Modifier and Type | Method and Description |
|---|---|
ApiClient |
getApiClient() |
List<Integer> |
getWars(String datasource,
String ifNoneMatch,
Integer maxWarId)
List wars Return a list of wars --- This route is cached for up to 3600
seconds
|
okhttp3.Call |
getWarsAsync(String datasource,
String ifNoneMatch,
Integer maxWarId,
ApiCallback<List<Integer>> _callback)
List wars (asynchronously) Return a list of wars --- This route is cached
for up to 3600 seconds
|
okhttp3.Call |
getWarsCall(String datasource,
String ifNoneMatch,
Integer maxWarId,
ApiCallback _callback)
Build call for getWars
|
WarResponse |
getWarsWarId(Integer warId,
String datasource,
String ifNoneMatch)
Get war information Return details about a war --- This route is cached
for up to 3600 seconds
|
okhttp3.Call |
getWarsWarIdAsync(Integer warId,
String datasource,
String ifNoneMatch,
ApiCallback<WarResponse> _callback)
Get war information (asynchronously) Return details about a war --- This
route is cached for up to 3600 seconds
|
okhttp3.Call |
getWarsWarIdCall(Integer warId,
String datasource,
String ifNoneMatch,
ApiCallback _callback)
Build call for getWarsWarId
|
List<WarKillmailsResponse> |
getWarsWarIdKillmails(Integer warId,
String datasource,
String ifNoneMatch,
Integer page)
List kills for a war Return a list of kills related to a war --- This
route is cached for up to 3600 seconds
|
okhttp3.Call |
getWarsWarIdKillmailsAsync(Integer warId,
String datasource,
String ifNoneMatch,
Integer page,
ApiCallback<List<WarKillmailsResponse>> _callback)
List kills for a war (asynchronously) Return a list of kills related to a
war --- This route is cached for up to 3600 seconds
|
okhttp3.Call |
getWarsWarIdKillmailsCall(Integer warId,
String datasource,
String ifNoneMatch,
Integer page,
ApiCallback _callback)
Build call for getWarsWarIdKillmails
|
ApiResponse<List<WarKillmailsResponse>> |
getWarsWarIdKillmailsWithHttpInfo(Integer warId,
String datasource,
String ifNoneMatch,
Integer page)
List kills for a war Return a list of kills related to a war --- This
route is cached for up to 3600 seconds
|
ApiResponse<WarResponse> |
getWarsWarIdWithHttpInfo(Integer warId,
String datasource,
String ifNoneMatch)
Get war information Return details about a war --- This route is cached
for up to 3600 seconds
|
ApiResponse<List<Integer>> |
getWarsWithHttpInfo(String datasource,
String ifNoneMatch,
Integer maxWarId)
List wars Return a list of wars --- This route is cached for up to 3600
seconds
|
void |
setApiClient(ApiClient apiClient) |
public WarsApi()
public WarsApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public okhttp3.Call getWarsCall(String datasource, String ifNoneMatch, Integer maxWarId, ApiCallback _callback) throws ApiException
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)maxWarId - Only return wars with ID smaller than this (optional)_callback - Callback for upload/download progressApiException - If fail to serialize the request body objectpublic List<Integer> getWars(String datasource, String ifNoneMatch, Integer maxWarId) throws ApiException
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)maxWarId - Only return wars with ID smaller than this (optional)ApiException - If fail to call the API, e.g. server error or cannot
deserialize the response bodypublic ApiResponse<List<Integer>> getWarsWithHttpInfo(String datasource, String ifNoneMatch, Integer maxWarId) throws ApiException
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)maxWarId - Only return wars with ID smaller than this (optional)ApiException - If fail to call the API, e.g. server error or cannot
deserialize the response bodypublic okhttp3.Call getWarsAsync(String datasource, String ifNoneMatch, Integer maxWarId, ApiCallback<List<Integer>> _callback) throws ApiException
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)maxWarId - Only return wars with ID smaller than this (optional)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request
body objectpublic okhttp3.Call getWarsWarIdCall(Integer warId, String datasource, String ifNoneMatch, ApiCallback _callback) throws ApiException
warId - ID for a war (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 progressApiException - If fail to serialize the request body objectpublic WarResponse getWarsWarId(Integer warId, String datasource, String ifNoneMatch) throws ApiException
warId - ID for a war (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)ApiException - If fail to call the API, e.g. server error or cannot
deserialize the response bodypublic ApiResponse<WarResponse> getWarsWarIdWithHttpInfo(Integer warId, String datasource, String ifNoneMatch) throws ApiException
warId - ID for a war (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)ApiException - If fail to call the API, e.g. server error or cannot
deserialize the response bodypublic okhttp3.Call getWarsWarIdAsync(Integer warId, String datasource, String ifNoneMatch, ApiCallback<WarResponse> _callback) throws ApiException
warId - ID for a war (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 finishesApiException - If fail to process the API call, e.g. serializing the request
body objectpublic okhttp3.Call getWarsWarIdKillmailsCall(Integer warId, String datasource, String ifNoneMatch, Integer page, ApiCallback _callback) throws ApiException
warId - A valid war 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)_callback - Callback for upload/download progressApiException - If fail to serialize the request body objectpublic List<WarKillmailsResponse> getWarsWarIdKillmails(Integer warId, String datasource, String ifNoneMatch, Integer page) throws ApiException
warId - A valid war 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)ApiException - If fail to call the API, e.g. server error or cannot
deserialize the response bodypublic ApiResponse<List<WarKillmailsResponse>> getWarsWarIdKillmailsWithHttpInfo(Integer warId, String datasource, String ifNoneMatch, Integer page) throws ApiException
warId - A valid war 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)ApiException - If fail to call the API, e.g. server error or cannot
deserialize the response bodypublic okhttp3.Call getWarsWarIdKillmailsAsync(Integer warId, String datasource, String ifNoneMatch, Integer page, ApiCallback<List<WarKillmailsResponse>> _callback) throws ApiException
warId - A valid war 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)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request
body objectCopyright © 2020. All Rights Reserved.