public class ActionsApi
extends java.lang.Object
| Constructor and Description |
|---|
ActionsApi() |
ActionsApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
void |
clearSeverityOverride(java.lang.Integer findingId)
Severity Override [Clear]
Allows severity overrides for findings to be cleared.
|
com.squareup.okhttp.Call |
clearSeverityOverrideAsync(java.lang.Integer findingId,
ApiCallback<java.lang.Void> callback)
Severity Override [Clear] (asynchronously)
Allows severity overrides for findings to be cleared.
|
com.squareup.okhttp.Call |
clearSeverityOverrideCall(java.lang.Integer findingId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for clearSeverityOverride
|
ApiResponse<java.lang.Void> |
clearSeverityOverrideWithHttpInfo(java.lang.Integer findingId)
Severity Override [Clear]
Allows severity overrides for findings to be cleared.
|
ApiClient |
getApiClient() |
void |
overrideSeverity(java.lang.Integer findingId,
SeverityOverride severity)
Severity Override [Set]
Allows severities for findings to be overridden.
|
com.squareup.okhttp.Call |
overrideSeverityAsync(java.lang.Integer findingId,
SeverityOverride severity,
ApiCallback<java.lang.Void> callback)
Severity Override [Set] (asynchronously)
Allows severities for findings to be overridden.
|
com.squareup.okhttp.Call |
overrideSeverityCall(java.lang.Integer findingId,
SeverityOverride severity,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for overrideSeverity
|
ApiResponse<java.lang.Void> |
overrideSeverityWithHttpInfo(java.lang.Integer findingId,
SeverityOverride severity)
Severity Override [Set]
Allows severities for findings to be overridden.
|
void |
postComment(java.lang.Integer findingId,
PostComment content)
Post Comment
Post a new comment on a finding
|
com.squareup.okhttp.Call |
postCommentAsync(java.lang.Integer findingId,
PostComment content,
ApiCallback<java.lang.Void> callback)
Post Comment (asynchronously)
Post a new comment on a finding
|
com.squareup.okhttp.Call |
postCommentCall(java.lang.Integer findingId,
PostComment content,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for postComment
|
ApiResponse<java.lang.Void> |
postCommentWithHttpInfo(java.lang.Integer findingId,
PostComment content)
Post Comment
Post a new comment on a finding
|
void |
setApiClient(ApiClient apiClient) |
Job |
setBulkStatus(java.lang.Integer projectId,
SetStatusBulk bulkStatusUpdate)
Bulk Status Update
Allows bulk updating of triage statuses of multiple findings, controlled by a filter.
|
com.squareup.okhttp.Call |
setBulkStatusAsync(java.lang.Integer projectId,
SetStatusBulk bulkStatusUpdate,
ApiCallback<Job> callback)
Bulk Status Update (asynchronously)
Allows bulk updating of triage statuses of multiple findings, controlled by a filter.
|
com.squareup.okhttp.Call |
setBulkStatusCall(java.lang.Integer projectId,
SetStatusBulk bulkStatusUpdate,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for setBulkStatus
|
ApiResponse<Job> |
setBulkStatusWithHttpInfo(java.lang.Integer projectId,
SetStatusBulk bulkStatusUpdate)
Bulk Status Update
Allows bulk updating of triage statuses of multiple findings, controlled by a filter.
|
void |
setStatus(java.lang.Integer findingId,
SetStatus status)
Status Update
Allows changing of the triage status of a single finding.
|
com.squareup.okhttp.Call |
setStatusAsync(java.lang.Integer findingId,
SetStatus status,
ApiCallback<java.lang.Void> callback)
Status Update (asynchronously)
Allows changing of the triage status of a single finding.
|
com.squareup.okhttp.Call |
setStatusCall(java.lang.Integer findingId,
SetStatus status,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for setStatus
|
ApiResponse<java.lang.Void> |
setStatusWithHttpInfo(java.lang.Integer findingId,
SetStatus status)
Status Update
Allows changing of the triage status of a single finding.
|
public ActionsApi()
public ActionsApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call clearSeverityOverrideCall(java.lang.Integer findingId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
throws ApiException
findingId - The finding ID. (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic void clearSeverityOverride(java.lang.Integer findingId)
throws ApiException
findingId - The finding ID. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<java.lang.Void> clearSeverityOverrideWithHttpInfo(java.lang.Integer findingId) throws ApiException
findingId - The finding ID. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call clearSeverityOverrideAsync(java.lang.Integer findingId,
ApiCallback<java.lang.Void> callback)
throws ApiException
findingId - The finding ID. (required)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call overrideSeverityCall(java.lang.Integer findingId,
SeverityOverride severity,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
throws ApiException
findingId - The finding ID. (required)severity - (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic void overrideSeverity(java.lang.Integer findingId,
SeverityOverride severity)
throws ApiException
findingId - The finding ID. (required)severity - (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<java.lang.Void> overrideSeverityWithHttpInfo(java.lang.Integer findingId, SeverityOverride severity) throws ApiException
findingId - The finding ID. (required)severity - (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call overrideSeverityAsync(java.lang.Integer findingId,
SeverityOverride severity,
ApiCallback<java.lang.Void> callback)
throws ApiException
findingId - The finding ID. (required)severity - (optional)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call postCommentCall(java.lang.Integer findingId,
PostComment content,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
throws ApiException
findingId - The finding ID. (required)content - `content` should be a string containing the raw markdown content of the new comment (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic void postComment(java.lang.Integer findingId,
PostComment content)
throws ApiException
findingId - The finding ID. (required)content - `content` should be a string containing the raw markdown content of the new comment (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<java.lang.Void> postCommentWithHttpInfo(java.lang.Integer findingId, PostComment content) throws ApiException
findingId - The finding ID. (required)content - `content` should be a string containing the raw markdown content of the new comment (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call postCommentAsync(java.lang.Integer findingId,
PostComment content,
ApiCallback<java.lang.Void> callback)
throws ApiException
findingId - The finding ID. (required)content - `content` should be a string containing the raw markdown content of the new comment (required)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call setBulkStatusCall(java.lang.Integer projectId,
SetStatusBulk bulkStatusUpdate,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
throws ApiException
projectId - The ID of the project. (required)bulkStatusUpdate - (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic Job setBulkStatus(java.lang.Integer projectId, SetStatusBulk bulkStatusUpdate) throws ApiException
projectId - The ID of the project. (required)bulkStatusUpdate - (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Job> setBulkStatusWithHttpInfo(java.lang.Integer projectId, SetStatusBulk bulkStatusUpdate) throws ApiException
projectId - The ID of the project. (required)bulkStatusUpdate - (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call setBulkStatusAsync(java.lang.Integer projectId,
SetStatusBulk bulkStatusUpdate,
ApiCallback<Job> callback)
throws ApiException
projectId - The ID of the project. (required)bulkStatusUpdate - (optional)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call setStatusCall(java.lang.Integer findingId,
SetStatus status,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
throws ApiException
findingId - The finding ID. (required)status - `status` should be a valid status ID (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic void setStatus(java.lang.Integer findingId,
SetStatus status)
throws ApiException
findingId - The finding ID. (required)status - `status` should be a valid status ID (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<java.lang.Void> setStatusWithHttpInfo(java.lang.Integer findingId, SetStatus status) throws ApiException
findingId - The finding ID. (required)status - `status` should be a valid status ID (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call setStatusAsync(java.lang.Integer findingId,
SetStatus status,
ApiCallback<java.lang.Void> callback)
throws ApiException
findingId - The finding ID. (required)status - `status` should be a valid status ID (required)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body object