Package net.troja.eve.esi.api
Class AllianceApi
- java.lang.Object
-
- net.troja.eve.esi.api.AllianceApi
-
public class AllianceApi extends Object
-
-
Constructor Summary
Constructors Constructor Description AllianceApi()AllianceApi(ApiClient apiClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Integer>getAlliances(String datasource, String ifNoneMatch)List all alliances List all active player alliances --- This route is cached for up to 3600 secondsAllianceResponsegetAlliancesAllianceId(Integer allianceId, String datasource, String ifNoneMatch)Get alliance information Public information about an alliance --- This route is cached for up to 3600 secondsokhttp3.CallgetAlliancesAllianceIdAsync(Integer allianceId, String datasource, String ifNoneMatch, ApiCallback<AllianceResponse> _callback)Get alliance information (asynchronously) Public information about an alliance --- This route is cached for up to 3600 secondsokhttp3.CallgetAlliancesAllianceIdCall(Integer allianceId, String datasource, String ifNoneMatch, ApiCallback _callback)Build call for getAlliancesAllianceIdList<Integer>getAlliancesAllianceIdCorporations(Integer allianceId, String datasource, String ifNoneMatch)List alliance's corporations List all current member corporations of an alliance --- This route is cached for up to 3600 secondsokhttp3.CallgetAlliancesAllianceIdCorporationsAsync(Integer allianceId, String datasource, String ifNoneMatch, ApiCallback<List<Integer>> _callback)List alliance's corporations (asynchronously) List all current member corporations of an alliance --- This route is cached for up to 3600 secondsokhttp3.CallgetAlliancesAllianceIdCorporationsCall(Integer allianceId, String datasource, String ifNoneMatch, ApiCallback _callback)Build call for getAlliancesAllianceIdCorporationsApiResponse<List<Integer>>getAlliancesAllianceIdCorporationsWithHttpInfo(Integer allianceId, String datasource, String ifNoneMatch)List alliance's corporations List all current member corporations of an alliance --- This route is cached for up to 3600 secondsAllianceIconsResponsegetAlliancesAllianceIdIcons(Integer allianceId, String datasource, String ifNoneMatch)Get alliance icon Get the icon urls for a alliance --- This route expires daily at 11:05 --- [Diff of the upcoming changes](https://esi.evetech.net/ diff/latest/dev/#GET-/alliances/{alliance_id}/icons/)okhttp3.CallgetAlliancesAllianceIdIconsAsync(Integer allianceId, String datasource, String ifNoneMatch, ApiCallback<AllianceIconsResponse> _callback)Get alliance icon (asynchronously) Get the icon urls for a alliance --- This route expires daily at 11:05 --- [Diff of the upcoming changes](https ://esi.evetech.net/diff/latest/dev/#GET-/alliances/{alliance_id}/icons/)okhttp3.CallgetAlliancesAllianceIdIconsCall(Integer allianceId, String datasource, String ifNoneMatch, ApiCallback _callback)Build call for getAlliancesAllianceIdIconsApiResponse<AllianceIconsResponse>getAlliancesAllianceIdIconsWithHttpInfo(Integer allianceId, String datasource, String ifNoneMatch)Get alliance icon Get the icon urls for a alliance --- This route expires daily at 11:05 --- [Diff of the upcoming changes](https://esi.evetech.net/ diff/latest/dev/#GET-/alliances/{alliance_id}/icons/)ApiResponse<AllianceResponse>getAlliancesAllianceIdWithHttpInfo(Integer allianceId, String datasource, String ifNoneMatch)Get alliance information Public information about an alliance --- This route is cached for up to 3600 secondsokhttp3.CallgetAlliancesAsync(String datasource, String ifNoneMatch, ApiCallback<List<Integer>> _callback)List all alliances (asynchronously) List all active player alliances --- This route is cached for up to 3600 secondsokhttp3.CallgetAlliancesCall(String datasource, String ifNoneMatch, ApiCallback _callback)Build call for getAlliancesApiResponse<List<Integer>>getAlliancesWithHttpInfo(String datasource, String ifNoneMatch)List all alliances List all active player alliances --- This route is cached for up to 3600 secondsApiClientgetApiClient()voidsetApiClient(ApiClient apiClient)
-
-
-
Constructor Detail
-
AllianceApi
public AllianceApi()
-
AllianceApi
public AllianceApi(ApiClient apiClient)
-
-
Method Detail
-
getApiClient
public ApiClient getApiClient()
-
setApiClient
public void setApiClient(ApiClient apiClient)
-
getAlliancesCall
public okhttp3.Call getAlliancesCall(String datasource, String ifNoneMatch, ApiCallback _callback) throws ApiException
Build call for getAlliances- Parameters:
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
-
getAlliances
public List<Integer> getAlliances(String datasource, String ifNoneMatch) throws ApiException
List all alliances List all active player alliances --- This route is cached for up to 3600 seconds- Parameters:
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:
- List<Integer>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getAlliancesWithHttpInfo
public ApiResponse<List<Integer>> getAlliancesWithHttpInfo(String datasource, String ifNoneMatch) throws ApiException
List all alliances List all active player alliances --- This route is cached for up to 3600 seconds- Parameters:
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<List<Integer>>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getAlliancesAsync
public okhttp3.Call getAlliancesAsync(String datasource, String ifNoneMatch, ApiCallback<List<Integer>> _callback) throws ApiException
List all alliances (asynchronously) List all active player alliances --- This route is cached for up to 3600 seconds- Parameters:
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
-
getAlliancesAllianceIdCall
public okhttp3.Call getAlliancesAllianceIdCall(Integer allianceId, String datasource, String ifNoneMatch, ApiCallback _callback) throws ApiException
Build call for getAlliancesAllianceId- Parameters:
allianceId- An EVE alliance 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)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
getAlliancesAllianceId
public AllianceResponse getAlliancesAllianceId(Integer allianceId, String datasource, String ifNoneMatch) throws ApiException
Get alliance information Public information about an alliance --- This route is cached for up to 3600 seconds- Parameters:
allianceId- An EVE alliance 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)- Returns:
- AllianceResponse
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getAlliancesAllianceIdWithHttpInfo
public ApiResponse<AllianceResponse> getAlliancesAllianceIdWithHttpInfo(Integer allianceId, String datasource, String ifNoneMatch) throws ApiException
Get alliance information Public information about an alliance --- This route is cached for up to 3600 seconds- Parameters:
allianceId- An EVE alliance 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)- Returns:
- ApiResponse<AllianceResponse>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getAlliancesAllianceIdAsync
public okhttp3.Call getAlliancesAllianceIdAsync(Integer allianceId, String datasource, String ifNoneMatch, ApiCallback<AllianceResponse> _callback) throws ApiException
Get alliance information (asynchronously) Public information about an alliance --- This route is cached for up to 3600 seconds- Parameters:
allianceId- An EVE alliance 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)_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
-
getAlliancesAllianceIdCorporationsCall
public okhttp3.Call getAlliancesAllianceIdCorporationsCall(Integer allianceId, String datasource, String ifNoneMatch, ApiCallback _callback) throws ApiException
Build call for getAlliancesAllianceIdCorporations- Parameters:
allianceId- An EVE alliance 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)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
getAlliancesAllianceIdCorporations
public List<Integer> getAlliancesAllianceIdCorporations(Integer allianceId, String datasource, String ifNoneMatch) throws ApiException
List alliance's corporations List all current member corporations of an alliance --- This route is cached for up to 3600 seconds- Parameters:
allianceId- An EVE alliance 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)- Returns:
- List<Integer>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getAlliancesAllianceIdCorporationsWithHttpInfo
public ApiResponse<List<Integer>> getAlliancesAllianceIdCorporationsWithHttpInfo(Integer allianceId, String datasource, String ifNoneMatch) throws ApiException
List alliance's corporations List all current member corporations of an alliance --- This route is cached for up to 3600 seconds- Parameters:
allianceId- An EVE alliance 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)- Returns:
- ApiResponse<List<Integer>>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getAlliancesAllianceIdCorporationsAsync
public okhttp3.Call getAlliancesAllianceIdCorporationsAsync(Integer allianceId, String datasource, String ifNoneMatch, ApiCallback<List<Integer>> _callback) throws ApiException
List alliance's corporations (asynchronously) List all current member corporations of an alliance --- This route is cached for up to 3600 seconds- Parameters:
allianceId- An EVE alliance 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)_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
-
getAlliancesAllianceIdIconsCall
public okhttp3.Call getAlliancesAllianceIdIconsCall(Integer allianceId, String datasource, String ifNoneMatch, ApiCallback _callback) throws ApiException
Build call for getAlliancesAllianceIdIcons- Parameters:
allianceId- An EVE alliance 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)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
getAlliancesAllianceIdIcons
public AllianceIconsResponse getAlliancesAllianceIdIcons(Integer allianceId, String datasource, String ifNoneMatch) throws ApiException
Get alliance icon Get the icon urls for a alliance --- This route expires daily at 11:05 --- [Diff of the upcoming changes](https://esi.evetech.net/ diff/latest/dev/#GET-/alliances/{alliance_id}/icons/)- Parameters:
allianceId- An EVE alliance 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)- Returns:
- AllianceIconsResponse
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getAlliancesAllianceIdIconsWithHttpInfo
public ApiResponse<AllianceIconsResponse> getAlliancesAllianceIdIconsWithHttpInfo(Integer allianceId, String datasource, String ifNoneMatch) throws ApiException
Get alliance icon Get the icon urls for a alliance --- This route expires daily at 11:05 --- [Diff of the upcoming changes](https://esi.evetech.net/ diff/latest/dev/#GET-/alliances/{alliance_id}/icons/)- Parameters:
allianceId- An EVE alliance 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)- Returns:
- ApiResponse<AllianceIconsResponse>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getAlliancesAllianceIdIconsAsync
public okhttp3.Call getAlliancesAllianceIdIconsAsync(Integer allianceId, String datasource, String ifNoneMatch, ApiCallback<AllianceIconsResponse> _callback) throws ApiException
Get alliance icon (asynchronously) Get the icon urls for a alliance --- This route expires daily at 11:05 --- [Diff of the upcoming changes](https ://esi.evetech.net/diff/latest/dev/#GET-/alliances/{alliance_id}/icons/)- Parameters:
allianceId- An EVE alliance 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)_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
-
-