public class LocationsApi extends Object
| Constructor and Description |
|---|
LocationsApi() |
LocationsApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Location> |
getAllLocations()
Get all locations instances
|
okhttp3.Call |
getAllLocationsAsync(ApiCallback<Map<String,Location>> _callback)
Get all locations instances (asynchronously)
|
okhttp3.Call |
getAllLocationsCall(ApiCallback _callback)
Build call for getAllLocations
|
ApiResponse<Map<String,Location>> |
getAllLocationsWithHttpInfo()
Get all locations instances
|
ApiClient |
getApiClient() |
String |
getCustomBaseUrl() |
int |
getHostIndex() |
void |
setApiClient(ApiClient apiClient) |
void |
setCustomBaseUrl(String customBaseUrl) |
void |
setHostIndex(int hostIndex) |
public LocationsApi()
public LocationsApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public int getHostIndex()
public void setHostIndex(int hostIndex)
public String getCustomBaseUrl()
public void setCustomBaseUrl(String customBaseUrl)
public okhttp3.Call getAllLocationsCall(ApiCallback _callback) throws ApiException
_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | Success | - |
| 204 | No Content | - |
public Map<String,Location> getAllLocations() throws ApiException
ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | Success | - |
| 204 | No Content | - |
public ApiResponse<Map<String,Location>> getAllLocationsWithHttpInfo() throws ApiException
ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | Success | - |
| 204 | No Content | - |
public okhttp3.Call getAllLocationsAsync(ApiCallback<Map<String,Location>> _callback) throws ApiException
_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body object| Status Code | Description | Response Headers |
| 200 | Success | - |
| 204 | No Content | - |
Copyright © 2024. All rights reserved.