Class ServerApi


  • public class ServerApi
    extends java.lang.Object
    • 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 ApiException
        Build 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 ApiException
        Server 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