Package com.seeq.api
Class ConditionMonitorsApi
java.lang.Object
com.seeq.api.ConditionMonitorsApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Archive a condition monitorvoid
archiveConditionMonitorWithHeadersAndHttpInfo
(String id, Map<String, String> customHeaders) Archive a condition monitorvoid
Archive a condition monitorCreate a new condition monitorcreateConditionMonitorWithHeadersAndHttpInfo
(ConditionMonitorInputV1 body, Map<String, String> customHeaders) Create a new condition monitorCreate a new condition monitorGet a condition monitorgetConditionMonitors
(List<String> executorIds, String nameSearch, List<String> conditionIds, Boolean enabledFilter, Integer offset, Integer limit, String sortField, Boolean sortAsc) Get a list of condition monitorsgetConditionMonitorsWithHeadersAndHttpInfo
(List<String> executorIds, String nameSearch, List<String> conditionIds, Boolean enabledFilter, Integer offset, Integer limit, String sortField, Boolean sortAsc, Map<String, String> customHeaders) Get a list of condition monitorsgetConditionMonitorsWithHttpInfo
(List<String> executorIds, String nameSearch, List<String> conditionIds, Boolean enabledFilter, Integer offset, Integer limit, String sortField, Boolean sortAsc) Get a list of condition monitorsgetConditionMonitorWithHeadersAndHttpInfo
(String id, Map<String, String> customHeaders) Get a condition monitorGet a condition monitorlong
void
setApiClient
(ApiClient apiClient) void
setRetryTimeout
(long retryTimeout) Update a condition monitorupdateConditionMonitorWithHeadersAndHttpInfo
(String id, ConditionMonitorInputV1 body, Map<String, String> customHeaders) Update a condition monitorUpdate a condition monitor
-
Constructor Details
-
ConditionMonitorsApi
public ConditionMonitorsApi() -
ConditionMonitorsApi
-
-
Method Details
-
setRetryTimeout
public void setRetryTimeout(long retryTimeout) -
getRetryTimeout
public long getRetryTimeout() -
getApiClient
-
setApiClient
-
archiveConditionMonitor
Archive a condition monitor- Parameters:
id
- ID of the condition monitor to archive. (required)- Throws:
ApiException
- if fails to make API call
-
archiveConditionMonitorWithHttpInfo
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 ApiExceptionArchive 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 ApiExceptionCreate 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
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 ApiExceptionGet 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 ApiExceptionGet 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 ApiExceptionUpdate 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
-