Package io.lakefs.clients.api
Class ConfigApi
- java.lang.Object
-
- io.lakefs.clients.api.ConfigApi
-
public class ConfigApi extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApiClientgetApiClient()ConfiggetConfig()retrieve lakeFS configurationokhttp3.CallgetConfigAsync(ApiCallback<Config> _callback)(asynchronously) retrieve lakeFS configurationokhttp3.CallgetConfigCall(ApiCallback _callback)Build call for getConfigApiResponse<Config>getConfigWithHttpInfo()retrieve lakeFS configurationvoidsetApiClient(ApiClient apiClient)
-
-
-
Constructor Detail
-
ConfigApi
public ConfigApi()
-
ConfigApi
public ConfigApi(ApiClient apiClient)
-
-
Method Detail
-
getApiClient
public ApiClient getApiClient()
-
setApiClient
public void setApiClient(ApiClient apiClient)
-
getConfigCall
public okhttp3.Call getConfigCall(ApiCallback _callback) throws ApiException
Build call for getConfig- 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 lakeFS configuration - 401 Unauthorized -
-
getConfig
public Config getConfig() throws ApiException
retrieve lakeFS configuration- Returns:
- Config
- 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 lakeFS configuration - 401 Unauthorized -
-
getConfigWithHttpInfo
public ApiResponse<Config> getConfigWithHttpInfo() throws ApiException
retrieve lakeFS configuration- Returns:
- ApiResponse<Config>
- 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 lakeFS configuration - 401 Unauthorized -
-
getConfigAsync
public okhttp3.Call getConfigAsync(ApiCallback<Config> _callback) throws ApiException
(asynchronously) retrieve lakeFS configuration- 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 lakeFS configuration - 401 Unauthorized -
-
-