类 AdminServiceProcedureManagementApi


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

      • AdminServiceProcedureManagementApi

        public AdminServiceProcedureManagementApi()
      • AdminServiceProcedureManagementApi

        public AdminServiceProcedureManagementApi​(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)
      • createProcedureCall

        public okhttp3.Call createProcedureCall​(String graphId,
                                                CreateProcedureRequest createProcedureRequest,
                                                ApiCallback _callback)
                                         throws ApiException
        Build call for createProcedure
        参数:
        graphId - (required)
        createProcedureRequest - (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 -
        400 Bad request -
        404 not found -
        500 Internal Error -
      • createProcedure

        public CreateProcedureResponse createProcedure​(String graphId,
                                                       CreateProcedureRequest createProcedureRequest)
                                                throws ApiException
        Create a new procedure on a graph
        参数:
        graphId - (required)
        createProcedureRequest - (required)
        返回:
        CreateProcedureResponse
        抛出:
        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 -
        400 Bad request -
        404 not found -
        500 Internal Error -
      • createProcedureWithHttpInfo

        public ApiResponse<CreateProcedureResponse> createProcedureWithHttpInfo​(String graphId,
                                                                                CreateProcedureRequest createProcedureRequest)
                                                                         throws ApiException
        Create a new procedure on a graph
        参数:
        graphId - (required)
        createProcedureRequest - (required)
        返回:
        ApiResponse<CreateProcedureResponse>
        抛出:
        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 -
        400 Bad request -
        404 not found -
        500 Internal Error -
      • createProcedureAsync

        public okhttp3.Call createProcedureAsync​(String graphId,
                                                 CreateProcedureRequest createProcedureRequest,
                                                 ApiCallback<CreateProcedureResponse> _callback)
                                          throws ApiException
        (asynchronously) Create a new procedure on a graph
        参数:
        graphId - (required)
        createProcedureRequest - (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 -
        400 Bad request -
        404 not found -
        500 Internal Error -
      • deleteProcedureCall

        public okhttp3.Call deleteProcedureCall​(String graphId,
                                                String procedureId,
                                                ApiCallback _callback)
                                         throws ApiException
        Build call for deleteProcedure
        参数:
        graphId - (required)
        procedureId - (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 -
        404 Not Found -
      • deleteProcedure

        public String deleteProcedure​(String graphId,
                                      String procedureId)
                               throws ApiException
        Delete a procedure on a graph by name
        参数:
        graphId - (required)
        procedureId - (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 -
        404 Not Found -
      • deleteProcedureWithHttpInfo

        public ApiResponse<String> deleteProcedureWithHttpInfo​(String graphId,
                                                               String procedureId)
                                                        throws ApiException
        Delete a procedure on a graph by name
        参数:
        graphId - (required)
        procedureId - (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 -
        404 Not Found -
      • deleteProcedureAsync

        public okhttp3.Call deleteProcedureAsync​(String graphId,
                                                 String procedureId,
                                                 ApiCallback<String> _callback)
                                          throws ApiException
        (asynchronously) Delete a procedure on a graph by name
        参数:
        graphId - (required)
        procedureId - (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 -
        404 Not Found -
      • getProcedureCall

        public okhttp3.Call getProcedureCall​(String graphId,
                                             String procedureId,
                                             ApiCallback _callback)
                                      throws ApiException
        Build call for getProcedure
        参数:
        graphId - (required)
        procedureId - (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 -
        404 Not found -
      • getProcedure

        public GetProcedureResponse getProcedure​(String graphId,
                                                 String procedureId)
                                          throws ApiException
        Get a procedure by name
        参数:
        graphId - (required)
        procedureId - (required)
        返回:
        GetProcedureResponse
        抛出:
        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 -
        404 Not found -
      • getProcedureWithHttpInfo

        public ApiResponse<GetProcedureResponse> getProcedureWithHttpInfo​(String graphId,
                                                                          String procedureId)
                                                                   throws ApiException
        Get a procedure by name
        参数:
        graphId - (required)
        procedureId - (required)
        返回:
        ApiResponse<GetProcedureResponse>
        抛出:
        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 -
        404 Not found -
      • getProcedureAsync

        public okhttp3.Call getProcedureAsync​(String graphId,
                                              String procedureId,
                                              ApiCallback<GetProcedureResponse> _callback)
                                       throws ApiException
        (asynchronously) Get a procedure by name
        参数:
        graphId - (required)
        procedureId - (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 -
        404 Not found -
      • listProceduresCall

        public okhttp3.Call listProceduresCall​(String graphId,
                                               ApiCallback _callback)
                                        throws ApiException
        Build call for listProcedures
        参数:
        graphId - (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 -
        404 Not found -
      • listProcedures

        public List<GetProcedureResponse> listProcedures​(String graphId)
                                                  throws ApiException
        List all procedures
        参数:
        graphId - (required)
        返回:
        List<GetProcedureResponse>
        抛出:
        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 -
        404 Not found -
      • listProceduresWithHttpInfo

        public ApiResponse<List<GetProcedureResponse>> listProceduresWithHttpInfo​(String graphId)
                                                                           throws ApiException
        List all procedures
        参数:
        graphId - (required)
        返回:
        ApiResponse<List<GetProcedureResponse>>
        抛出:
        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 -
        404 Not found -
      • listProceduresAsync

        public okhttp3.Call listProceduresAsync​(String graphId,
                                                ApiCallback<List<GetProcedureResponse>> _callback)
                                         throws ApiException
        (asynchronously) List all procedures
        参数:
        graphId - (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 -
        404 Not found -
      • updateProcedureCall

        public okhttp3.Call updateProcedureCall​(String graphId,
                                                String procedureId,
                                                UpdateProcedureRequest updateProcedureRequest,
                                                ApiCallback _callback)
                                         throws ApiException
        Build call for updateProcedure
        参数:
        graphId - (required)
        procedureId - (required)
        updateProcedureRequest - (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 -
        400 Bad request -
        404 Not Found -
        500 Internal error -
      • updateProcedure

        public String updateProcedure​(String graphId,
                                      String procedureId,
                                      UpdateProcedureRequest updateProcedureRequest)
                               throws ApiException
        Update procedure on a graph by name
        参数:
        graphId - (required)
        procedureId - (required)
        updateProcedureRequest - (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 -
        400 Bad request -
        404 Not Found -
        500 Internal error -
      • updateProcedureWithHttpInfo

        public ApiResponse<String> updateProcedureWithHttpInfo​(String graphId,
                                                               String procedureId,
                                                               UpdateProcedureRequest updateProcedureRequest)
                                                        throws ApiException
        Update procedure on a graph by name
        参数:
        graphId - (required)
        procedureId - (required)
        updateProcedureRequest - (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 -
        400 Bad request -
        404 Not Found -
        500 Internal error -
      • updateProcedureAsync

        public okhttp3.Call updateProcedureAsync​(String graphId,
                                                 String procedureId,
                                                 UpdateProcedureRequest updateProcedureRequest,
                                                 ApiCallback<String> _callback)
                                          throws ApiException
        (asynchronously) Update procedure on a graph by name
        参数:
        graphId - (required)
        procedureId - (required)
        updateProcedureRequest - (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 -
        400 Bad request -
        404 Not Found -
        500 Internal error -