Package net.troja.eve.esi.api
Class LocationApi
- java.lang.Object
-
- net.troja.eve.esi.api.LocationApi
-
public class LocationApi extends Object
-
-
Constructor Summary
Constructors Constructor Description LocationApi()LocationApi(ApiClient apiClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApiClientgetApiClient()CharacterLocationResponsegetCharactersCharacterIdLocation(Integer characterId, String datasource, String ifNoneMatch, String token)Get character location Information about the characters current location.okhttp3.CallgetCharactersCharacterIdLocationAsync(Integer characterId, String datasource, String ifNoneMatch, String token, ApiCallback<CharacterLocationResponse> _callback)Get character location (asynchronously) Information about the characters current location.okhttp3.CallgetCharactersCharacterIdLocationCall(Integer characterId, String datasource, String ifNoneMatch, String token, ApiCallback _callback)Build call for getCharactersCharacterIdLocationApiResponse<CharacterLocationResponse>getCharactersCharacterIdLocationWithHttpInfo(Integer characterId, String datasource, String ifNoneMatch, String token)Get character location Information about the characters current location.CharacterOnlineResponsegetCharactersCharacterIdOnline(Integer characterId, String datasource, String ifNoneMatch, String token)Get character online Checks if the character is currently online --- This route is cached for up to 60 seconds SSO Scope: esi-location.read_online.v1okhttp3.CallgetCharactersCharacterIdOnlineAsync(Integer characterId, String datasource, String ifNoneMatch, String token, ApiCallback<CharacterOnlineResponse> _callback)Get character online (asynchronously) Checks if the character is currently online --- This route is cached for up to 60 seconds SSO Scope: esi-location.read_online.v1okhttp3.CallgetCharactersCharacterIdOnlineCall(Integer characterId, String datasource, String ifNoneMatch, String token, ApiCallback _callback)Build call for getCharactersCharacterIdOnlineApiResponse<CharacterOnlineResponse>getCharactersCharacterIdOnlineWithHttpInfo(Integer characterId, String datasource, String ifNoneMatch, String token)Get character online Checks if the character is currently online --- This route is cached for up to 60 seconds SSO Scope: esi-location.read_online.v1CharacterShipResponsegetCharactersCharacterIdShip(Integer characterId, String datasource, String ifNoneMatch, String token)Get current ship Get the current ship type, name and id --- This route is cached for up to 5 seconds SSO Scope: esi-location.read_ship_type.v1okhttp3.CallgetCharactersCharacterIdShipAsync(Integer characterId, String datasource, String ifNoneMatch, String token, ApiCallback<CharacterShipResponse> _callback)Get current ship (asynchronously) Get the current ship type, name and id --- This route is cached for up to 5 seconds SSO Scope: esi-location.read_ship_type.v1okhttp3.CallgetCharactersCharacterIdShipCall(Integer characterId, String datasource, String ifNoneMatch, String token, ApiCallback _callback)Build call for getCharactersCharacterIdShipApiResponse<CharacterShipResponse>getCharactersCharacterIdShipWithHttpInfo(Integer characterId, String datasource, String ifNoneMatch, String token)Get current ship Get the current ship type, name and id --- This route is cached for up to 5 seconds SSO Scope: esi-location.read_ship_type.v1voidsetApiClient(ApiClient apiClient)
-
-
-
Constructor Detail
-
LocationApi
public LocationApi()
-
LocationApi
public LocationApi(ApiClient apiClient)
-
-
Method Detail
-
getApiClient
public ApiClient getApiClient()
-
setApiClient
public void setApiClient(ApiClient apiClient)
-
getCharactersCharacterIdLocationCall
public okhttp3.Call getCharactersCharacterIdLocationCall(Integer characterId, String datasource, String ifNoneMatch, String token, ApiCallback _callback) throws ApiException
Build call for getCharactersCharacterIdLocation- 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
-
getCharactersCharacterIdLocation
public CharacterLocationResponse getCharactersCharacterIdLocation(Integer characterId, String datasource, String ifNoneMatch, String token) throws ApiException
Get character location Information about the characters current location. Returns the current solar system id, and also the current station or structure ID if applicable --- This route is cached for up to 5 seconds SSO Scope: esi-location.read_location.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:
- CharacterLocationResponse
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getCharactersCharacterIdLocationWithHttpInfo
public ApiResponse<CharacterLocationResponse> getCharactersCharacterIdLocationWithHttpInfo(Integer characterId, String datasource, String ifNoneMatch, String token) throws ApiException
Get character location Information about the characters current location. Returns the current solar system id, and also the current station or structure ID if applicable --- This route is cached for up to 5 seconds SSO Scope: esi-location.read_location.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<CharacterLocationResponse>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getCharactersCharacterIdLocationAsync
public okhttp3.Call getCharactersCharacterIdLocationAsync(Integer characterId, String datasource, String ifNoneMatch, String token, ApiCallback<CharacterLocationResponse> _callback) throws ApiException
Get character location (asynchronously) Information about the characters current location. Returns the current solar system id, and also the current station or structure ID if applicable --- This route is cached for up to 5 seconds SSO Scope: esi-location.read_location.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
-
getCharactersCharacterIdOnlineCall
public okhttp3.Call getCharactersCharacterIdOnlineCall(Integer characterId, String datasource, String ifNoneMatch, String token, ApiCallback _callback) throws ApiException
Build call for getCharactersCharacterIdOnline- 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
-
getCharactersCharacterIdOnline
public CharacterOnlineResponse getCharactersCharacterIdOnline(Integer characterId, String datasource, String ifNoneMatch, String token) throws ApiException
Get character online Checks if the character is currently online --- This route is cached for up to 60 seconds SSO Scope: esi-location.read_online.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:
- CharacterOnlineResponse
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getCharactersCharacterIdOnlineWithHttpInfo
public ApiResponse<CharacterOnlineResponse> getCharactersCharacterIdOnlineWithHttpInfo(Integer characterId, String datasource, String ifNoneMatch, String token) throws ApiException
Get character online Checks if the character is currently online --- This route is cached for up to 60 seconds SSO Scope: esi-location.read_online.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<CharacterOnlineResponse>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getCharactersCharacterIdOnlineAsync
public okhttp3.Call getCharactersCharacterIdOnlineAsync(Integer characterId, String datasource, String ifNoneMatch, String token, ApiCallback<CharacterOnlineResponse> _callback) throws ApiException
Get character online (asynchronously) Checks if the character is currently online --- This route is cached for up to 60 seconds SSO Scope: esi-location.read_online.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
-
getCharactersCharacterIdShipCall
public okhttp3.Call getCharactersCharacterIdShipCall(Integer characterId, String datasource, String ifNoneMatch, String token, ApiCallback _callback) throws ApiException
Build call for getCharactersCharacterIdShip- 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
-
getCharactersCharacterIdShip
public CharacterShipResponse getCharactersCharacterIdShip(Integer characterId, String datasource, String ifNoneMatch, String token) throws ApiException
Get current ship Get the current ship type, name and id --- This route is cached for up to 5 seconds SSO Scope: esi-location.read_ship_type.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:
- CharacterShipResponse
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getCharactersCharacterIdShipWithHttpInfo
public ApiResponse<CharacterShipResponse> getCharactersCharacterIdShipWithHttpInfo(Integer characterId, String datasource, String ifNoneMatch, String token) throws ApiException
Get current ship Get the current ship type, name and id --- This route is cached for up to 5 seconds SSO Scope: esi-location.read_ship_type.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<CharacterShipResponse>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getCharactersCharacterIdShipAsync
public okhttp3.Call getCharactersCharacterIdShipAsync(Integer characterId, String datasource, String ifNoneMatch, String token, ApiCallback<CharacterShipResponse> _callback) throws ApiException
Get current ship (asynchronously) Get the current ship type, name and id --- This route is cached for up to 5 seconds SSO Scope: esi-location.read_ship_type.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
-
-