Package net.troja.eve.esi.api
Class SearchApi
- java.lang.Object
-
- net.troja.eve.esi.api.SearchApi
-
public class SearchApi extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApiClientgetApiClient()CharacterSearchResponsegetCharactersCharacterIdSearch(List<String> categories, Integer characterId, String search, String acceptLanguage, String datasource, String ifNoneMatch, String language, Boolean strict, String token)Search on a string Search for entities that match a given sub-string. --- This route is cached for up to 3600 seconds SSO Scope: esi-search.search_structures.v1okhttp3.CallgetCharactersCharacterIdSearchAsync(List<String> categories, Integer characterId, String search, String acceptLanguage, String datasource, String ifNoneMatch, String language, Boolean strict, String token, ApiCallback<CharacterSearchResponse> _callback)Search on a string (asynchronously) Search for entities that match a given sub-string. --- This route is cached for up to 3600 seconds SSO Scope: esi-search.search_structures.v1okhttp3.CallgetCharactersCharacterIdSearchCall(List<String> categories, Integer characterId, String search, String acceptLanguage, String datasource, String ifNoneMatch, String language, Boolean strict, String token, ApiCallback _callback)Build call for getCharactersCharacterIdSearchApiResponse<CharacterSearchResponse>getCharactersCharacterIdSearchWithHttpInfo(List<String> categories, Integer characterId, String search, String acceptLanguage, String datasource, String ifNoneMatch, String language, Boolean strict, String token)Search on a string Search for entities that match a given sub-string. --- This route is cached for up to 3600 seconds SSO Scope: esi-search.search_structures.v1voidsetApiClient(ApiClient apiClient)
-
-
-
Constructor Detail
-
SearchApi
public SearchApi()
-
SearchApi
public SearchApi(ApiClient apiClient)
-
-
Method Detail
-
getApiClient
public ApiClient getApiClient()
-
setApiClient
public void setApiClient(ApiClient apiClient)
-
getCharactersCharacterIdSearchCall
public okhttp3.Call getCharactersCharacterIdSearchCall(List<String> categories, Integer characterId, String search, String acceptLanguage, String datasource, String ifNoneMatch, String language, Boolean strict, String token, ApiCallback _callback) throws ApiException
Build call for getCharactersCharacterIdSearch- Parameters:
categories- Type of entities to search for (required)characterId- An EVE character ID (required)search- The string to search on (required)acceptLanguage- Language to use in the response (optional, default to en)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)language- Language to use in the response, takes precedence over Accept-Language (optional, default to en)strict- Whether the search should be a strict match (optional, default to false)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
-
getCharactersCharacterIdSearch
public CharacterSearchResponse getCharactersCharacterIdSearch(List<String> categories, Integer characterId, String search, String acceptLanguage, String datasource, String ifNoneMatch, String language, Boolean strict, String token) throws ApiException
Search on a string Search for entities that match a given sub-string. --- This route is cached for up to 3600 seconds SSO Scope: esi-search.search_structures.v1- Parameters:
categories- Type of entities to search for (required)characterId- An EVE character ID (required)search- The string to search on (required)acceptLanguage- Language to use in the response (optional, default to en)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)language- Language to use in the response, takes precedence over Accept-Language (optional, default to en)strict- Whether the search should be a strict match (optional, default to false)token- Access token to use if unable to set a header (optional)- Returns:
- CharacterSearchResponse
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getCharactersCharacterIdSearchWithHttpInfo
public ApiResponse<CharacterSearchResponse> getCharactersCharacterIdSearchWithHttpInfo(List<String> categories, Integer characterId, String search, String acceptLanguage, String datasource, String ifNoneMatch, String language, Boolean strict, String token) throws ApiException
Search on a string Search for entities that match a given sub-string. --- This route is cached for up to 3600 seconds SSO Scope: esi-search.search_structures.v1- Parameters:
categories- Type of entities to search for (required)characterId- An EVE character ID (required)search- The string to search on (required)acceptLanguage- Language to use in the response (optional, default to en)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)language- Language to use in the response, takes precedence over Accept-Language (optional, default to en)strict- Whether the search should be a strict match (optional, default to false)token- Access token to use if unable to set a header (optional)- Returns:
- ApiResponse<CharacterSearchResponse>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getCharactersCharacterIdSearchAsync
public okhttp3.Call getCharactersCharacterIdSearchAsync(List<String> categories, Integer characterId, String search, String acceptLanguage, String datasource, String ifNoneMatch, String language, Boolean strict, String token, ApiCallback<CharacterSearchResponse> _callback) throws ApiException
Search on a string (asynchronously) Search for entities that match a given sub-string. --- This route is cached for up to 3600 seconds SSO Scope: esi-search.search_structures.v1- Parameters:
categories- Type of entities to search for (required)characterId- An EVE character ID (required)search- The string to search on (required)acceptLanguage- Language to use in the response (optional, default to en)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)language- Language to use in the response, takes precedence over Accept-Language (optional, default to en)strict- Whether the search should be a strict match (optional, default to false)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
-
-