Package net.troja.eve.esi.api
Class LoyaltyApi
- java.lang.Object
-
- net.troja.eve.esi.api.LoyaltyApi
-
public class LoyaltyApi extends Object
-
-
Constructor Summary
Constructors Constructor Description LoyaltyApi()LoyaltyApi(ApiClient apiClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApiClientgetApiClient()List<CharacterLoyaltyPointsResponse>getCharactersCharacterIdLoyaltyPoints(Integer characterId, String datasource, String ifNoneMatch, String token)Get loyalty points Return a list of loyalty points for all corporations the character has worked for --- This route is cached for up to 3600 seconds SSO Scope: esi-characters.read_loyalty.v1okhttp3.CallgetCharactersCharacterIdLoyaltyPointsAsync(Integer characterId, String datasource, String ifNoneMatch, String token, ApiCallback<List<CharacterLoyaltyPointsResponse>> _callback)Get loyalty points (asynchronously) Return a list of loyalty points for all corporations the character has worked for --- This route is cached for up to 3600 seconds SSO Scope: esi-characters.read_loyalty.v1okhttp3.CallgetCharactersCharacterIdLoyaltyPointsCall(Integer characterId, String datasource, String ifNoneMatch, String token, ApiCallback _callback)Build call for getCharactersCharacterIdLoyaltyPointsApiResponse<List<CharacterLoyaltyPointsResponse>>getCharactersCharacterIdLoyaltyPointsWithHttpInfo(Integer characterId, String datasource, String ifNoneMatch, String token)Get loyalty points Return a list of loyalty points for all corporations the character has worked for --- This route is cached for up to 3600 seconds SSO Scope: esi-characters.read_loyalty.v1List<LoyaltyStoreOffersResponse>getLoyaltyStoresCorporationIdOffers(Integer corporationId, String datasource, String ifNoneMatch)List loyalty store offers Return a list of offers from a specific corporation's loyalty store --- This route expires daily at 11:05okhttp3.CallgetLoyaltyStoresCorporationIdOffersAsync(Integer corporationId, String datasource, String ifNoneMatch, ApiCallback<List<LoyaltyStoreOffersResponse>> _callback)List loyalty store offers (asynchronously) Return a list of offers from a specific corporation's loyalty store --- This route expires daily at 11:05okhttp3.CallgetLoyaltyStoresCorporationIdOffersCall(Integer corporationId, String datasource, String ifNoneMatch, ApiCallback _callback)Build call for getLoyaltyStoresCorporationIdOffersApiResponse<List<LoyaltyStoreOffersResponse>>getLoyaltyStoresCorporationIdOffersWithHttpInfo(Integer corporationId, String datasource, String ifNoneMatch)List loyalty store offers Return a list of offers from a specific corporation's loyalty store --- This route expires daily at 11:05voidsetApiClient(ApiClient apiClient)
-
-
-
Constructor Detail
-
LoyaltyApi
public LoyaltyApi()
-
LoyaltyApi
public LoyaltyApi(ApiClient apiClient)
-
-
Method Detail
-
getApiClient
public ApiClient getApiClient()
-
setApiClient
public void setApiClient(ApiClient apiClient)
-
getCharactersCharacterIdLoyaltyPointsCall
public okhttp3.Call getCharactersCharacterIdLoyaltyPointsCall(Integer characterId, String datasource, String ifNoneMatch, String token, ApiCallback _callback) throws ApiException
Build call for getCharactersCharacterIdLoyaltyPoints- 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
-
getCharactersCharacterIdLoyaltyPoints
public List<CharacterLoyaltyPointsResponse> getCharactersCharacterIdLoyaltyPoints(Integer characterId, String datasource, String ifNoneMatch, String token) throws ApiException
Get loyalty points Return a list of loyalty points for all corporations the character has worked for --- This route is cached for up to 3600 seconds SSO Scope: esi-characters.read_loyalty.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<CharacterLoyaltyPointsResponse>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getCharactersCharacterIdLoyaltyPointsWithHttpInfo
public ApiResponse<List<CharacterLoyaltyPointsResponse>> getCharactersCharacterIdLoyaltyPointsWithHttpInfo(Integer characterId, String datasource, String ifNoneMatch, String token) throws ApiException
Get loyalty points Return a list of loyalty points for all corporations the character has worked for --- This route is cached for up to 3600 seconds SSO Scope: esi-characters.read_loyalty.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<CharacterLoyaltyPointsResponse>>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getCharactersCharacterIdLoyaltyPointsAsync
public okhttp3.Call getCharactersCharacterIdLoyaltyPointsAsync(Integer characterId, String datasource, String ifNoneMatch, String token, ApiCallback<List<CharacterLoyaltyPointsResponse>> _callback) throws ApiException
Get loyalty points (asynchronously) Return a list of loyalty points for all corporations the character has worked for --- This route is cached for up to 3600 seconds SSO Scope: esi-characters.read_loyalty.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
-
getLoyaltyStoresCorporationIdOffersCall
public okhttp3.Call getLoyaltyStoresCorporationIdOffersCall(Integer corporationId, String datasource, String ifNoneMatch, ApiCallback _callback) throws ApiException
Build call for getLoyaltyStoresCorporationIdOffers- 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)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
getLoyaltyStoresCorporationIdOffers
public List<LoyaltyStoreOffersResponse> getLoyaltyStoresCorporationIdOffers(Integer corporationId, String datasource, String ifNoneMatch) throws ApiException
List loyalty store offers Return a list of offers from a specific corporation's loyalty store --- This route expires daily at 11:05- 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)- Returns:
- List<LoyaltyStoreOffersResponse>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getLoyaltyStoresCorporationIdOffersWithHttpInfo
public ApiResponse<List<LoyaltyStoreOffersResponse>> getLoyaltyStoresCorporationIdOffersWithHttpInfo(Integer corporationId, String datasource, String ifNoneMatch) throws ApiException
List loyalty store offers Return a list of offers from a specific corporation's loyalty store --- This route expires daily at 11:05- 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)- Returns:
- ApiResponse<List<LoyaltyStoreOffersResponse>>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getLoyaltyStoresCorporationIdOffersAsync
public okhttp3.Call getLoyaltyStoresCorporationIdOffersAsync(Integer corporationId, String datasource, String ifNoneMatch, ApiCallback<List<LoyaltyStoreOffersResponse>> _callback) throws ApiException
List loyalty store offers (asynchronously) Return a list of offers from a specific corporation's loyalty store --- This route expires daily at 11:05- 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)_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
-
-