Package app.kntrl.client.openapi.api
Class ServerApi
- java.lang.Object
-
- app.kntrl.client.openapi.api.ServerApi
-
public class ServerApi extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ShAppCfgcfg()Server configuration Current server configuration.okhttp3.CallcfgAsync(ApiCallback<ShAppCfg> _callback)Server configuration (asynchronously) Current server configuration.okhttp3.CallcfgCall(ApiCallback _callback)Build call for cfgPublicCfgRescfgPublic()Public server configuration Get server configuration.okhttp3.CallcfgPublicAsync(ApiCallback<PublicCfgRes> _callback)Public server configuration (asynchronously) Get server configuration.okhttp3.CallcfgPublicCall(ApiCallback _callback)Build call for cfgPublicApiResponse<PublicCfgRes>cfgPublicWithHttpInfo()Public server configuration Get server configuration.ApiResponse<ShAppCfg>cfgWithHttpInfo()Server configuration Current server configuration.ApiClientgetApiClient()java.lang.StringgetCustomBaseUrl()intgetHostIndex()HealthReshealth(java.lang.String key)Server health status Get server plugins stateokhttp3.CallhealthAsync(java.lang.String key, ApiCallback<HealthRes> _callback)Server health status (asynchronously) Get server plugins stateokhttp3.CallhealthCall(java.lang.String key, ApiCallback _callback)Build call for healthApiResponse<HealthRes>healthWithHttpInfo(java.lang.String key)Server health status Get server plugins statevoidsetApiClient(ApiClient apiClient)voidsetCustomBaseUrl(java.lang.String customBaseUrl)voidsetHostIndex(int hostIndex)
-
-
-
Constructor Detail
-
ServerApi
public ServerApi()
-
ServerApi
public ServerApi(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 java.lang.String getCustomBaseUrl()
-
setCustomBaseUrl
public void setCustomBaseUrl(java.lang.String customBaseUrl)
-
cfgCall
public okhttp3.Call cfgCall(ApiCallback _callback) throws ApiException
Build call for cfg- Parameters:
_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
cfg
public ShAppCfg cfg() throws ApiException
Server configuration Current server configuration. Available only for users with system-access.- Returns:
- ShAppCfg
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
cfgWithHttpInfo
public ApiResponse<ShAppCfg> cfgWithHttpInfo() throws ApiException
Server configuration Current server configuration. Available only for users with system-access.- Returns:
- ApiResponse<ShAppCfg>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
cfgAsync
public okhttp3.Call cfgAsync(ApiCallback<ShAppCfg> _callback) throws ApiException
Server configuration (asynchronously) Current server configuration. Available only for users with system-access.- 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
-
cfgPublicCall
public okhttp3.Call cfgPublicCall(ApiCallback _callback) throws ApiException
Build call for cfgPublic- Parameters:
_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
cfgPublic
public PublicCfgRes cfgPublic() throws ApiException
Public server configuration Get server configuration.- Returns:
- PublicCfgRes
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
cfgPublicWithHttpInfo
public ApiResponse<PublicCfgRes> cfgPublicWithHttpInfo() throws ApiException
Public server configuration Get server configuration.- Returns:
- ApiResponse<PublicCfgRes>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
cfgPublicAsync
public okhttp3.Call cfgPublicAsync(ApiCallback<PublicCfgRes> _callback) throws ApiException
Public server configuration (asynchronously) Get server 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
-
healthCall
public okhttp3.Call healthCall(java.lang.String key, ApiCallback _callback) throws ApiExceptionBuild call for health- Parameters:
key- (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
health
public HealthRes health(java.lang.String key) throws ApiException
Server health status Get server plugins state- Parameters:
key- (optional)- Returns:
- HealthRes
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
healthWithHttpInfo
public ApiResponse<HealthRes> healthWithHttpInfo(java.lang.String key) throws ApiException
Server health status Get server plugins state- Parameters:
key- (optional)- Returns:
- ApiResponse<HealthRes>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
healthAsync
public okhttp3.Call healthAsync(java.lang.String key, ApiCallback<HealthRes> _callback) throws ApiExceptionServer health status (asynchronously) Get server plugins state- Parameters:
key- (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
-
-