类 AdminServiceServiceManagementApi


  • public class AdminServiceServiceManagementApi
    extends Object
    • 构造器详细资料

      • AdminServiceServiceManagementApi

        public AdminServiceServiceManagementApi()
      • AdminServiceServiceManagementApi

        public AdminServiceServiceManagementApi​(ApiClient apiClient)
    • 方法详细资料

      • 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)
      • getServiceStatusCall

        public okhttp3.Call getServiceStatusCall​(ApiCallback _callback)
                                          throws ApiException
        Build call for getServiceStatus
        参数:
        _callback - Callback for upload/download progress
        返回:
        Call to execute
        抛出:
        ApiException - If fail to serialize the request body object
        Http Response Details:
        Status Code Description Response Headers
        200 successful operation -
      • getServiceStatus

        public ServiceStatus getServiceStatus()
                                       throws ApiException
        Get service status
        返回:
        ServiceStatus
        抛出:
        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 successful operation -
      • getServiceStatusWithHttpInfo

        public ApiResponse<ServiceStatus> getServiceStatusWithHttpInfo()
                                                                throws ApiException
        Get service status
        返回:
        ApiResponse<ServiceStatus>
        抛出:
        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 successful operation -
      • getServiceStatusAsync

        public okhttp3.Call getServiceStatusAsync​(ApiCallback<ServiceStatus> _callback)
                                           throws ApiException
        (asynchronously) Get service status
        参数:
        _callback - The callback to be executed when the API call finishes
        返回:
        The request call
        抛出:
        ApiException - If fail to process the API call, e.g. serializing the request body object
        Http Response Details:
        Status Code Description Response Headers
        200 successful operation -
      • restartServiceCall

        public okhttp3.Call restartServiceCall​(ApiCallback _callback)
                                        throws ApiException
        Build call for restartService
        参数:
        _callback - Callback for upload/download progress
        返回:
        Call to execute
        抛出:
        ApiException - If fail to serialize the request body object
        Http Response Details:
        Status Code Description Response Headers
        200 successful operation -
      • restartService

        public String restartService()
                              throws ApiException
        Start current service
        返回:
        String
        抛出:
        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 successful operation -
      • restartServiceWithHttpInfo

        public ApiResponse<String> restartServiceWithHttpInfo()
                                                       throws ApiException
        Start current service
        返回:
        ApiResponse<String>
        抛出:
        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 successful operation -
      • restartServiceAsync

        public okhttp3.Call restartServiceAsync​(ApiCallback<String> _callback)
                                         throws ApiException
        (asynchronously) Start current service
        参数:
        _callback - The callback to be executed when the API call finishes
        返回:
        The request call
        抛出:
        ApiException - If fail to process the API call, e.g. serializing the request body object
        Http Response Details:
        Status Code Description Response Headers
        200 successful operation -
      • startServiceCall

        public okhttp3.Call startServiceCall​(StartServiceRequest startServiceRequest,
                                             ApiCallback _callback)
                                      throws ApiException
        Build call for startService
        参数:
        startServiceRequest - Start service on a specified graph (optional)
        _callback - Callback for upload/download progress
        返回:
        Call to execute
        抛出:
        ApiException - If fail to serialize the request body object
        Http Response Details:
        Status Code Description Response Headers
        200 successful operation -
        500 Internal Error -
      • startService

        public String startService​(StartServiceRequest startServiceRequest)
                            throws ApiException
        Start service on a specified graph
        参数:
        startServiceRequest - Start service on a specified graph (optional)
        返回:
        String
        抛出:
        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 successful operation -
        500 Internal Error -
      • startServiceWithHttpInfo

        public ApiResponse<String> startServiceWithHttpInfo​(StartServiceRequest startServiceRequest)
                                                     throws ApiException
        Start service on a specified graph
        参数:
        startServiceRequest - Start service on a specified graph (optional)
        返回:
        ApiResponse<String>
        抛出:
        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 successful operation -
        500 Internal Error -
      • startServiceAsync

        public okhttp3.Call startServiceAsync​(StartServiceRequest startServiceRequest,
                                              ApiCallback<String> _callback)
                                       throws ApiException
        (asynchronously) Start service on a specified graph
        参数:
        startServiceRequest - Start service on a specified graph (optional)
        _callback - The callback to be executed when the API call finishes
        返回:
        The request call
        抛出:
        ApiException - If fail to process the API call, e.g. serializing the request body object
        Http Response Details:
        Status Code Description Response Headers
        200 successful operation -
        500 Internal Error -
      • stopServiceCall

        public okhttp3.Call stopServiceCall​(ApiCallback _callback)
                                     throws ApiException
        Build call for stopService
        参数:
        _callback - Callback for upload/download progress
        返回:
        Call to execute
        抛出:
        ApiException - If fail to serialize the request body object
        Http Response Details:
        Status Code Description Response Headers
        200 successful operation -
      • stopService

        public String stopService()
                           throws ApiException
        Stop current service
        返回:
        String
        抛出:
        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 successful operation -
      • stopServiceWithHttpInfo

        public ApiResponse<String> stopServiceWithHttpInfo()
                                                    throws ApiException
        Stop current service
        返回:
        ApiResponse<String>
        抛出:
        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 successful operation -
      • stopServiceAsync

        public okhttp3.Call stopServiceAsync​(ApiCallback<String> _callback)
                                      throws ApiException
        (asynchronously) Stop current service
        参数:
        _callback - The callback to be executed when the API call finishes
        返回:
        The request call
        抛出:
        ApiException - If fail to process the API call, e.g. serializing the request body object
        Http Response Details:
        Status Code Description Response Headers
        200 successful operation -