Package com.seeq.api

Class RequestsApi

java.lang.Object
com.seeq.api.RequestsApi

public class RequestsApi extends Object
  • Constructor Details

    • RequestsApi

      public RequestsApi()
    • RequestsApi

      public RequestsApi(ApiClient apiClient)
  • Method Details

    • setRetryTimeout

      public void setRetryTimeout(long retryTimeout)
    • getRetryTimeout

      public long getRetryTimeout()
    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • cancelAllRequests

      public StatusMessageBase cancelAllRequests() throws ApiException
      Cancel all requests
      Returns:
      StatusMessageBase
      Throws:
      ApiException - if fails to make API call
    • cancelAllRequestsWithHttpInfo

      public ApiClient.ApiResponse<StatusMessageBase> cancelAllRequestsWithHttpInfo() throws ApiException
      Cancel all requests
      Throws:
      ApiException - if fails to make API call
    • cancelAllRequestsWithHeadersAndHttpInfo

      public ApiClient.ApiResponse<StatusMessageBase> cancelAllRequestsWithHeadersAndHttpInfo(Map<String,String> customHeaders) throws ApiException
      Cancel all requests
      Parameters:
      customHeaders - a map with custom headers for the HTTP request (required)
      Throws:
      ApiException - if fails to make API call
    • cancelMyRequests

      public StatusMessageBase cancelMyRequests() throws ApiException
      Cancel all requests made by the invoking user
      Returns:
      StatusMessageBase
      Throws:
      ApiException - if fails to make API call
    • cancelMyRequestsWithHttpInfo

      public ApiClient.ApiResponse<StatusMessageBase> cancelMyRequestsWithHttpInfo() throws ApiException
      Cancel all requests made by the invoking user
      Throws:
      ApiException - if fails to make API call
    • cancelMyRequestsWithHeadersAndHttpInfo

      public ApiClient.ApiResponse<StatusMessageBase> cancelMyRequestsWithHeadersAndHttpInfo(Map<String,String> customHeaders) throws ApiException
      Cancel all requests made by the invoking user
      Parameters:
      customHeaders - a map with custom headers for the HTTP request (required)
      Throws:
      ApiException - if fails to make API call
    • cancelMyRequestsBySessionId

      public StatusMessageBase cancelMyRequestsBySessionId(String sessionId) throws ApiException
      Cancel all requests made by the invoking user for a specific session
      Parameters:
      sessionId - ID of the current session (required)
      Returns:
      StatusMessageBase
      Throws:
      ApiException - if fails to make API call
    • cancelMyRequestsBySessionIdWithHttpInfo

      public ApiClient.ApiResponse<StatusMessageBase> cancelMyRequestsBySessionIdWithHttpInfo(String sessionId) throws ApiException
      Cancel all requests made by the invoking user for a specific session
      Parameters:
      sessionId - ID of the current session (required)
      Throws:
      ApiException - if fails to make API call
    • cancelMyRequestsBySessionIdWithHeadersAndHttpInfo

      public ApiClient.ApiResponse<StatusMessageBase> cancelMyRequestsBySessionIdWithHeadersAndHttpInfo(String sessionId, Map<String,String> customHeaders) throws ApiException
      Cancel all requests made by the invoking user for a specific session
      Parameters:
      sessionId - ID of the current session (required)
      customHeaders - a map with custom headers for the HTTP request (required)
      Throws:
      ApiException - if fails to make API call
    • cancelRequest

      public StatusMessageBase cancelRequest(String requestId) throws ApiException
      Cancel a request
      Parameters:
      requestId - ID of the request to cancel (required)
      Returns:
      StatusMessageBase
      Throws:
      ApiException - if fails to make API call
    • cancelRequestWithHttpInfo

      public ApiClient.ApiResponse<StatusMessageBase> cancelRequestWithHttpInfo(String requestId) throws ApiException
      Cancel a request
      Parameters:
      requestId - ID of the request to cancel (required)
      Throws:
      ApiException - if fails to make API call
    • cancelRequestWithHeadersAndHttpInfo

      public ApiClient.ApiResponse<StatusMessageBase> cancelRequestWithHeadersAndHttpInfo(String requestId, Map<String,String> customHeaders) throws ApiException
      Cancel a request
      Parameters:
      requestId - ID of the request to cancel (required)
      customHeaders - a map with custom headers for the HTTP request (required)
      Throws:
      ApiException - if fails to make API call
    • cancelRequests

      public StatusMessageBase cancelRequests(String userId, String datasourceClass, String datasourceId, String dataId) throws ApiException
      Cancel multiple requests, optionally filtering by a user and/or datasource. If you don't specify any filters, all of the requests currently running in Seeq will be cancelled. If you specify multiple filters, only requests matching all filters will be cancelled.
      Parameters:
      userId - userId (optional)
      datasourceClass - datasourceClass (optional)
      datasourceId - datasourceId (optional)
      dataId - dataId (optional)
      Returns:
      StatusMessageBase
      Throws:
      ApiException - if fails to make API call
    • cancelRequestsWithHttpInfo

      public ApiClient.ApiResponse<StatusMessageBase> cancelRequestsWithHttpInfo(String userId, String datasourceClass, String datasourceId, String dataId) throws ApiException
      Cancel multiple requests, optionally filtering by a user and/or datasource. If you don't specify any filters, all of the requests currently running in Seeq will be cancelled. If you specify multiple filters, only requests matching all filters will be cancelled.
      Parameters:
      userId - userId (optional)
      datasourceClass - datasourceClass (optional)
      datasourceId - datasourceId (optional)
      dataId - dataId (optional)
      Throws:
      ApiException - if fails to make API call
    • cancelRequestsWithHeadersAndHttpInfo

      public ApiClient.ApiResponse<StatusMessageBase> cancelRequestsWithHeadersAndHttpInfo(String userId, String datasourceClass, String datasourceId, String dataId, Map<String,String> customHeaders) throws ApiException
      Cancel multiple requests, optionally filtering by a user and/or datasource. If you don't specify any filters, all of the requests currently running in Seeq will be cancelled. If you specify multiple filters, only requests matching all filters will be cancelled.
      Parameters:
      userId - userId (optional)
      datasourceClass - datasourceClass (optional)
      datasourceId - datasourceId (optional)
      dataId - dataId (optional)
      customHeaders - a map with custom headers for the HTTP request (required)
      Throws:
      ApiException - if fails to make API call
    • getRequest

      public GetRequestOutputV1 getRequest(String requestId) throws ApiException
      Get progress information for the request identified by the supplied ID
      Parameters:
      requestId - ID of the request for which to retrieve progress information (required)
      Returns:
      GetRequestOutputV1
      Throws:
      ApiException - if fails to make API call
    • getRequestWithHttpInfo

      public ApiClient.ApiResponse<GetRequestOutputV1> getRequestWithHttpInfo(String requestId) throws ApiException
      Get progress information for the request identified by the supplied ID
      Parameters:
      requestId - ID of the request for which to retrieve progress information (required)
      Throws:
      ApiException - if fails to make API call
    • getRequestWithHeadersAndHttpInfo

      public ApiClient.ApiResponse<GetRequestOutputV1> getRequestWithHeadersAndHttpInfo(String requestId, Map<String,String> customHeaders) throws ApiException
      Get progress information for the request identified by the supplied ID
      Parameters:
      requestId - ID of the request for which to retrieve progress information (required)
      customHeaders - a map with custom headers for the HTTP request (required)
      Throws:
      ApiException - if fails to make API call
    • getRequests

      public GetRequestsOutputV1 getRequests(Integer limit) throws ApiException
      Get the collection of requests
      Parameters:
      limit - The maximum number of requests that will be returned (optional, default to 250)
      Returns:
      GetRequestsOutputV1
      Throws:
      ApiException - if fails to make API call
    • getRequestsWithHttpInfo

      public ApiClient.ApiResponse<GetRequestsOutputV1> getRequestsWithHttpInfo(Integer limit) throws ApiException
      Get the collection of requests
      Parameters:
      limit - The maximum number of requests that will be returned (optional, default to 250)
      Throws:
      ApiException - if fails to make API call
    • getRequestsWithHeadersAndHttpInfo

      public ApiClient.ApiResponse<GetRequestsOutputV1> getRequestsWithHeadersAndHttpInfo(Integer limit, Map<String,String> customHeaders) throws ApiException
      Get the collection of requests
      Parameters:
      limit - The maximum number of requests that will be returned (optional, default to 250)
      customHeaders - a map with custom headers for the HTTP request (required)
      Throws:
      ApiException - if fails to make API call
    • restartRequest

      public StatusMessageBase restartRequest(String requestId) throws ApiException
      Restart a request, sending it to the back of the line
      Parameters:
      requestId - ID of the request to restart (required)
      Returns:
      StatusMessageBase
      Throws:
      ApiException - if fails to make API call
    • restartRequestWithHttpInfo

      public ApiClient.ApiResponse<StatusMessageBase> restartRequestWithHttpInfo(String requestId) throws ApiException
      Restart a request, sending it to the back of the line
      Parameters:
      requestId - ID of the request to restart (required)
      Throws:
      ApiException - if fails to make API call
    • restartRequestWithHeadersAndHttpInfo

      public ApiClient.ApiResponse<StatusMessageBase> restartRequestWithHeadersAndHttpInfo(String requestId, Map<String,String> customHeaders) throws ApiException
      Restart a request, sending it to the back of the line
      Parameters:
      requestId - ID of the request to restart (required)
      customHeaders - a map with custom headers for the HTTP request (required)
      Throws:
      ApiException - if fails to make API call