public class RoutesApi extends Object
| Constructor and Description |
|---|
RoutesApi() |
RoutesApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
ApiClient |
getApiClient() |
List<Integer> |
getRouteOriginDestination(Integer destination,
Integer origin,
List<Integer> avoid,
List<List<Integer>> connections,
String datasource,
String flag,
String ifNoneMatch)
Get route Get the systems between origin and destination --- This route
is cached for up to 86400 seconds
|
okhttp3.Call |
getRouteOriginDestinationAsync(Integer destination,
Integer origin,
List<Integer> avoid,
List<List<Integer>> connections,
String datasource,
String flag,
String ifNoneMatch,
ApiCallback<List<Integer>> _callback)
Get route (asynchronously) Get the systems between origin and destination
--- This route is cached for up to 86400 seconds
|
okhttp3.Call |
getRouteOriginDestinationCall(Integer destination,
Integer origin,
List<Integer> avoid,
List<List<Integer>> connections,
String datasource,
String flag,
String ifNoneMatch,
ApiCallback _callback)
Build call for getRouteOriginDestination
|
ApiResponse<List<Integer>> |
getRouteOriginDestinationWithHttpInfo(Integer destination,
Integer origin,
List<Integer> avoid,
List<List<Integer>> connections,
String datasource,
String flag,
String ifNoneMatch)
Get route Get the systems between origin and destination --- This route
is cached for up to 86400 seconds
|
void |
setApiClient(ApiClient apiClient) |
public RoutesApi()
public RoutesApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public okhttp3.Call getRouteOriginDestinationCall(Integer destination, Integer origin, List<Integer> avoid, List<List<Integer>> connections, String datasource, String flag, String ifNoneMatch, ApiCallback _callback) throws ApiException
destination - destination solar system ID (required)origin - origin solar system ID (required)avoid - avoid solar system ID(s) (optional)connections - connected solar system pairs (optional)datasource - The server name you would like data from (optional, default to
tranquility)flag - route security preference (optional, default to shortest)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 List<Integer> getRouteOriginDestination(Integer destination, Integer origin, List<Integer> avoid, List<List<Integer>> connections, String datasource, String flag, String ifNoneMatch) throws ApiException
destination - destination solar system ID (required)origin - origin solar system ID (required)avoid - avoid solar system ID(s) (optional)connections - connected solar system pairs (optional)datasource - The server name you would like data from (optional, default to
tranquility)flag - route security preference (optional, default to shortest)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<List<Integer>> getRouteOriginDestinationWithHttpInfo(Integer destination, Integer origin, List<Integer> avoid, List<List<Integer>> connections, String datasource, String flag, String ifNoneMatch) throws ApiException
destination - destination solar system ID (required)origin - origin solar system ID (required)avoid - avoid solar system ID(s) (optional)connections - connected solar system pairs (optional)datasource - The server name you would like data from (optional, default to
tranquility)flag - route security preference (optional, default to shortest)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 getRouteOriginDestinationAsync(Integer destination, Integer origin, List<Integer> avoid, List<List<Integer>> connections, String datasource, String flag, String ifNoneMatch, ApiCallback<List<Integer>> _callback) throws ApiException
destination - destination solar system ID (required)origin - origin solar system ID (required)avoid - avoid solar system ID(s) (optional)connections - connected solar system pairs (optional)datasource - The server name you would like data from (optional, default to
tranquility)flag - route security preference (optional, default to shortest)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 objectCopyright © 2020. All Rights Reserved.