Package com.seeq.api

Class ConditionMonitorsApi

java.lang.Object
com.seeq.api.ConditionMonitorsApi

public class ConditionMonitorsApi extends Object
  • Constructor Details

    • ConditionMonitorsApi

      public ConditionMonitorsApi()
    • ConditionMonitorsApi

      public ConditionMonitorsApi(ApiClient apiClient)
  • Method Details

    • setRetryTimeout

      public void setRetryTimeout(long retryTimeout)
    • getRetryTimeout

      public long getRetryTimeout()
    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • archiveConditionMonitor

      public void archiveConditionMonitor(String id) throws ApiException
      Archive a condition monitor
      Parameters:
      id - ID of the condition monitor to archive. (required)
      Throws:
      ApiException - if fails to make API call
    • archiveConditionMonitorWithHttpInfo

      public void archiveConditionMonitorWithHttpInfo(String id) throws ApiException
      Archive a condition monitor
      Parameters:
      id - ID of the condition monitor to archive. (required)
      Throws:
      ApiException - if fails to make API call
    • archiveConditionMonitorWithHeadersAndHttpInfo

      public void archiveConditionMonitorWithHeadersAndHttpInfo(String id, Map<String,String> customHeaders) throws ApiException
      Archive a condition monitor
      Parameters:
      id - ID of the condition monitor to archive. (required)
      customHeaders - a map with custom headers for the HTTP request (required)
      Throws:
      ApiException - if fails to make API call
    • createConditionMonitor

      public ConditionMonitorOutputV1 createConditionMonitor(ConditionMonitorInputV1 body) throws ApiException
      Create a new condition monitor
      Parameters:
      body - (required)
      Returns:
      ConditionMonitorOutputV1
      Throws:
      ApiException - if fails to make API call
    • createConditionMonitorWithHttpInfo

      public ApiClient.ApiResponse<ConditionMonitorOutputV1> createConditionMonitorWithHttpInfo(ConditionMonitorInputV1 body) throws ApiException
      Create a new condition monitor
      Parameters:
      body - (required)
      Throws:
      ApiException - if fails to make API call
    • createConditionMonitorWithHeadersAndHttpInfo

      public ApiClient.ApiResponse<ConditionMonitorOutputV1> createConditionMonitorWithHeadersAndHttpInfo(ConditionMonitorInputV1 body, Map<String,String> customHeaders) throws ApiException
      Create a new condition monitor
      Parameters:
      body - (required)
      customHeaders - a map with custom headers for the HTTP request (required)
      Throws:
      ApiException - if fails to make API call
    • getConditionMonitor

      public ConditionMonitorOutputV1 getConditionMonitor(String id) throws ApiException
      Get a condition monitor
      Parameters:
      id - The Seeq ID for the condition monitor (required)
      Returns:
      ConditionMonitorOutputV1
      Throws:
      ApiException - if fails to make API call
    • getConditionMonitorWithHttpInfo

      public ApiClient.ApiResponse<ConditionMonitorOutputV1> getConditionMonitorWithHttpInfo(String id) throws ApiException
      Get a condition monitor
      Parameters:
      id - The Seeq ID for the condition monitor (required)
      Throws:
      ApiException - if fails to make API call
    • getConditionMonitorWithHeadersAndHttpInfo

      public ApiClient.ApiResponse<ConditionMonitorOutputV1> getConditionMonitorWithHeadersAndHttpInfo(String id, Map<String,String> customHeaders) throws ApiException
      Get a condition monitor
      Parameters:
      id - The Seeq ID for the condition monitor (required)
      customHeaders - a map with custom headers for the HTTP request (required)
      Throws:
      ApiException - if fails to make API call
    • getConditionMonitors

      public GetConditionMonitorItemsOutputV1 getConditionMonitors(List<String> executorIds, String nameSearch, List<String> conditionIds, Boolean enabledFilter, Integer offset, Integer limit, String sortField, Boolean sortAsc) throws ApiException
      Get a list of condition monitors
      Parameters:
      executorIds - Filter condition monitors to only those created by the specified user IDs (optional)
      nameSearch - Filter the condition monitors to those whose name match any part of the specified string (optional)
      conditionIds - Filter condition monitors to only those that are monitoring one of the specified conditions as specified by the list of IDs (optional)
      enabledFilter - Filter condition monitors by their enabled status (optional)
      offset - Whether to filter condition monitors to only users who are enabled. (optional, default to 0)
      limit - The pagination limit, the total number of condition monitor that will be returned in this page of results (optional, default to 40)
      sortField - Orders the condition monitors by either name, createdAt or workbook (optional, default to Name)
      sortAsc - Sorts the sort field in ascending order when true and descending when false (optional, default to true)
      Returns:
      GetConditionMonitorItemsOutputV1
      Throws:
      ApiException - if fails to make API call
    • getConditionMonitorsWithHttpInfo

      public ApiClient.ApiResponse<GetConditionMonitorItemsOutputV1> getConditionMonitorsWithHttpInfo(List<String> executorIds, String nameSearch, List<String> conditionIds, Boolean enabledFilter, Integer offset, Integer limit, String sortField, Boolean sortAsc) throws ApiException
      Get a list of condition monitors
      Parameters:
      executorIds - Filter condition monitors to only those created by the specified user IDs (optional)
      nameSearch - Filter the condition monitors to those whose name match any part of the specified string (optional)
      conditionIds - Filter condition monitors to only those that are monitoring one of the specified conditions as specified by the list of IDs (optional)
      enabledFilter - Filter condition monitors by their enabled status (optional)
      offset - Whether to filter condition monitors to only users who are enabled. (optional, default to 0)
      limit - The pagination limit, the total number of condition monitor that will be returned in this page of results (optional, default to 40)
      sortField - Orders the condition monitors by either name, createdAt or workbook (optional, default to Name)
      sortAsc - Sorts the sort field in ascending order when true and descending when false (optional, default to true)
      Throws:
      ApiException - if fails to make API call
    • getConditionMonitorsWithHeadersAndHttpInfo

      public ApiClient.ApiResponse<GetConditionMonitorItemsOutputV1> getConditionMonitorsWithHeadersAndHttpInfo(List<String> executorIds, String nameSearch, List<String> conditionIds, Boolean enabledFilter, Integer offset, Integer limit, String sortField, Boolean sortAsc, Map<String,String> customHeaders) throws ApiException
      Get a list of condition monitors
      Parameters:
      executorIds - Filter condition monitors to only those created by the specified user IDs (optional)
      nameSearch - Filter the condition monitors to those whose name match any part of the specified string (optional)
      conditionIds - Filter condition monitors to only those that are monitoring one of the specified conditions as specified by the list of IDs (optional)
      enabledFilter - Filter condition monitors by their enabled status (optional)
      offset - Whether to filter condition monitors to only users who are enabled. (optional, default to 0)
      limit - The pagination limit, the total number of condition monitor that will be returned in this page of results (optional, default to 40)
      sortField - Orders the condition monitors by either name, createdAt or workbook (optional, default to Name)
      sortAsc - Sorts the sort field in ascending order when true and descending when false (optional, default to true)
      customHeaders - a map with custom headers for the HTTP request (required)
      Throws:
      ApiException - if fails to make API call
    • updateConditionMonitor

      public ConditionMonitorOutputV1 updateConditionMonitor(String id, ConditionMonitorInputV1 body) throws ApiException
      Update a condition monitor
      Parameters:
      id - The Seeq ID for the condition monitor (required)
      body - (required)
      Returns:
      ConditionMonitorOutputV1
      Throws:
      ApiException - if fails to make API call
    • updateConditionMonitorWithHttpInfo

      public ApiClient.ApiResponse<ConditionMonitorOutputV1> updateConditionMonitorWithHttpInfo(String id, ConditionMonitorInputV1 body) throws ApiException
      Update a condition monitor
      Parameters:
      id - The Seeq ID for the condition monitor (required)
      body - (required)
      Throws:
      ApiException - if fails to make API call
    • updateConditionMonitorWithHeadersAndHttpInfo

      public ApiClient.ApiResponse<ConditionMonitorOutputV1> updateConditionMonitorWithHeadersAndHttpInfo(String id, ConditionMonitorInputV1 body, Map<String,String> customHeaders) throws ApiException
      Update a condition monitor
      Parameters:
      id - The Seeq ID for the condition monitor (required)
      body - (required)
      customHeaders - a map with custom headers for the HTTP request (required)
      Throws:
      ApiException - if fails to make API call