类 AdminServiceJobManagementApi


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

      • AdminServiceJobManagementApi

        public AdminServiceJobManagementApi()
      • AdminServiceJobManagementApi

        public AdminServiceJobManagementApi​(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)
      • deleteJobByIdCall

        public okhttp3.Call deleteJobByIdCall​(String jobId,
                                              ApiCallback _callback)
                                       throws ApiException
        Build call for deleteJobById
        参数:
        jobId - (required)
        _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 -
      • deleteJobById

        public String deleteJobById​(String jobId)
                             throws ApiException
        参数:
        jobId - (required)
        返回:
        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 -
      • deleteJobByIdWithHttpInfo

        public ApiResponse<String> deleteJobByIdWithHttpInfo​(String jobId)
                                                      throws ApiException
        参数:
        jobId - (required)
        返回:
        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 -
      • deleteJobByIdAsync

        public okhttp3.Call deleteJobByIdAsync​(String jobId,
                                               ApiCallback<String> _callback)
                                        throws ApiException
        (asynchronously)
        参数:
        jobId - (required)
        _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 -
      • getJobByIdCall

        public okhttp3.Call getJobByIdCall​(String jobId,
                                           ApiCallback _callback)
                                    throws ApiException
        Build call for getJobById
        参数:
        jobId - The id of the job, returned from POST /v1/graph/{graph_id}/dataloading (required)
        _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 -
      • getJobById

        public JobStatus getJobById​(String jobId)
                             throws ApiException
        参数:
        jobId - The id of the job, returned from POST /v1/graph/{graph_id}/dataloading (required)
        返回:
        JobStatus
        抛出:
        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 -
      • getJobByIdWithHttpInfo

        public ApiResponse<JobStatus> getJobByIdWithHttpInfo​(String jobId)
                                                      throws ApiException
        参数:
        jobId - The id of the job, returned from POST /v1/graph/{graph_id}/dataloading (required)
        返回:
        ApiResponse<JobStatus>
        抛出:
        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 -
      • getJobByIdAsync

        public okhttp3.Call getJobByIdAsync​(String jobId,
                                            ApiCallback<JobStatus> _callback)
                                     throws ApiException
        (asynchronously)
        参数:
        jobId - The id of the job, returned from POST /v1/graph/{graph_id}/dataloading (required)
        _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 -
      • listJobsCall

        public okhttp3.Call listJobsCall​(ApiCallback _callback)
                                  throws ApiException
        Build call for listJobs
        参数:
        _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 -
      • listJobs

        public List<JobStatus> listJobs()
                                 throws ApiException
        返回:
        List<JobStatus>
        抛出:
        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 -
      • listJobsWithHttpInfo

        public ApiResponse<List<JobStatus>> listJobsWithHttpInfo()
                                                          throws ApiException
        返回:
        ApiResponse<List<JobStatus>>
        抛出:
        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 -
      • listJobsAsync

        public okhttp3.Call listJobsAsync​(ApiCallback<List<JobStatus>> _callback)
                                   throws ApiException
        (asynchronously)
        参数:
        _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 -