Package org.openapitools.client.api
Class HealthApi
- java.lang.Object
-
- org.openapitools.client.api.HealthApi
-
public class HealthApi extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApiClientgetApiClient()StringgetCustomBaseUrl()intgetHostIndex()voidhealthCheck()Health Check Health Check Confirmation that the service is healthy and can make embedding vectorsokhttp3.CallhealthCheckAsync(ApiCallback<Void> _callback)Health Check (asynchronously) Health Check Confirmation that the service is healthy and can make embedding vectorsokhttp3.CallhealthCheckCall(ApiCallback _callback)Build call for healthCheckApiResponse<Void>healthCheckWithHttpInfo()Health Check Health Check Confirmation that the service is healthy and can make embedding vectorsvoidsetApiClient(ApiClient apiClient)voidsetCustomBaseUrl(String customBaseUrl)voidsetHostIndex(int hostIndex)
-
-
-
Constructor Detail
-
HealthApi
public HealthApi()
-
HealthApi
public HealthApi(ApiClient apiClient)
-
-
Method Detail
-
getApiClient
public ApiClient getApiClient()
-
setApiClient
public void setApiClient(ApiClient apiClient)
-
getHostIndex
public int getHostIndex()
-
setHostIndex
public void setHostIndex(int hostIndex)
-
getCustomBaseUrl
public String getCustomBaseUrl()
-
setCustomBaseUrl
public void setCustomBaseUrl(String customBaseUrl)
-
healthCheckCall
public okhttp3.Call healthCheckCall(ApiCallback _callback) throws ApiException
Build call for healthCheck- Parameters:
_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details:
Status Code Description Response Headers 200 Confirmation that the service is healthy and can make embedding vectors - 400 Service error relating to making an embedding or overall service health -
-
healthCheck
public void healthCheck() throws ApiExceptionHealth Check Health Check Confirmation that the service is healthy and can make embedding vectors- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 Confirmation that the service is healthy and can make embedding vectors - 400 Service error relating to making an embedding or overall service health -
-
healthCheckWithHttpInfo
public ApiResponse<Void> healthCheckWithHttpInfo() throws ApiException
Health Check Health Check Confirmation that the service is healthy and can make embedding vectors- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 Confirmation that the service is healthy and can make embedding vectors - 400 Service error relating to making an embedding or overall service health -
-
healthCheckAsync
public okhttp3.Call healthCheckAsync(ApiCallback<Void> _callback) throws ApiException
Health Check (asynchronously) Health Check Confirmation that the service is healthy and can make embedding vectors- Parameters:
_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- Http Response Details:
Status Code Description Response Headers 200 Confirmation that the service is healthy and can make embedding vectors - 400 Service error relating to making an embedding or overall service health -
-
-