public class FindingDataApi
extends java.lang.Object
| Constructor and Description |
|---|
FindingDataApi() |
FindingDataApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
ApiClient |
getApiClient() |
Finding |
getFindingData(java.lang.Integer findingId,
java.util.List<java.lang.String> expand)
Finding Data
Returns metadata for the given finding
|
com.squareup.okhttp.Call |
getFindingDataAsync(java.lang.Integer findingId,
java.util.List<java.lang.String> expand,
ApiCallback<Finding> callback)
Finding Data (asynchronously)
Returns metadata for the given finding
|
com.squareup.okhttp.Call |
getFindingDataCall(java.lang.Integer findingId,
java.util.List<java.lang.String> expand,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getFindingData
|
ApiResponse<Finding> |
getFindingDataWithHttpInfo(java.lang.Integer findingId,
java.util.List<java.lang.String> expand)
Finding Data
Returns metadata for the given finding
|
FindingDescription |
getFindingDescription(java.lang.Integer findingId)
Finding Descriptions
Returns the descriptions for the given finding from all available sources.
|
com.squareup.okhttp.Call |
getFindingDescriptionAsync(java.lang.Integer findingId,
ApiCallback<FindingDescription> callback)
Finding Descriptions (asynchronously)
Returns the descriptions for the given finding from all available sources.
|
com.squareup.okhttp.Call |
getFindingDescriptionCall(java.lang.Integer findingId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getFindingDescription
|
ApiResponse<FindingDescription> |
getFindingDescriptionWithHttpInfo(java.lang.Integer findingId)
Finding Descriptions
Returns the descriptions for the given finding from all available sources.
|
java.util.List<FlowData> |
getFindingFlow(java.lang.Integer projectId,
FlowRequest flowRequest)
Finding Flow Data
Returns filtered finding flow data.
|
com.squareup.okhttp.Call |
getFindingFlowAsync(java.lang.Integer projectId,
FlowRequest flowRequest,
ApiCallback<java.util.List<FlowData>> callback)
Finding Flow Data (asynchronously)
Returns filtered finding flow data.
|
com.squareup.okhttp.Call |
getFindingFlowCall(java.lang.Integer projectId,
FlowRequest flowRequest,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getFindingFlow
|
ApiResponse<java.util.List<FlowData>> |
getFindingFlowWithHttpInfo(java.lang.Integer projectId,
FlowRequest flowRequest)
Finding Flow Data
Returns filtered finding flow data.
|
java.util.List<ActivityEvent> |
getFindingHistory(java.lang.Integer findingId)
Finding History
Responds with an array of \"activity event\" objects in JSON.
|
com.squareup.okhttp.Call |
getFindingHistoryAsync(java.lang.Integer findingId,
ApiCallback<java.util.List<ActivityEvent>> callback)
Finding History (asynchronously)
Responds with an array of \"activity event\" objects in JSON.
|
com.squareup.okhttp.Call |
getFindingHistoryCall(java.lang.Integer findingId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getFindingHistory
|
ApiResponse<java.util.List<ActivityEvent>> |
getFindingHistoryWithHttpInfo(java.lang.Integer findingId)
Finding History
Responds with an array of \"activity event\" objects in JSON.
|
Count |
getFindingsCount(java.lang.Integer projectId,
Query query)
Finding Count
Returns the count of all findings in the project matching the given filter.
|
com.squareup.okhttp.Call |
getFindingsCountAsync(java.lang.Integer projectId,
Query query,
ApiCallback<Count> callback)
Finding Count (asynchronously)
Returns the count of all findings in the project matching the given filter.
|
com.squareup.okhttp.Call |
getFindingsCountCall(java.lang.Integer projectId,
Query query,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getFindingsCount
|
ApiResponse<Count> |
getFindingsCountWithHttpInfo(java.lang.Integer projectId,
Query query)
Finding Count
Returns the count of all findings in the project matching the given filter.
|
java.util.List<GroupedCount> |
getFindingsGroupCount(java.lang.Integer projectId,
GroupedCountsRequest groupedCountRequest)
Findings Grouped Count
Returns filtered finding counts, grouped by the specified field.
|
com.squareup.okhttp.Call |
getFindingsGroupCountAsync(java.lang.Integer projectId,
GroupedCountsRequest groupedCountRequest,
ApiCallback<java.util.List<GroupedCount>> callback)
Findings Grouped Count (asynchronously)
Returns filtered finding counts, grouped by the specified field.
|
com.squareup.okhttp.Call |
getFindingsGroupCountCall(java.lang.Integer projectId,
GroupedCountsRequest groupedCountRequest,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getFindingsGroupCount
|
ApiResponse<java.util.List<GroupedCount>> |
getFindingsGroupCountWithHttpInfo(java.lang.Integer projectId,
GroupedCountsRequest groupedCountRequest)
Findings Grouped Count
Returns filtered finding counts, grouped by the specified field.
|
java.util.List<Finding> |
getFindingsTable(java.lang.Integer projectId,
Query query,
java.util.List<java.lang.String> expand)
Finding Table Data
Returns filtered finding table data.
|
com.squareup.okhttp.Call |
getFindingsTableAsync(java.lang.Integer projectId,
Query query,
java.util.List<java.lang.String> expand,
ApiCallback<java.util.List<Finding>> callback)
Finding Table Data (asynchronously)
Returns filtered finding table data.
|
com.squareup.okhttp.Call |
getFindingsTableCall(java.lang.Integer projectId,
Query query,
java.util.List<java.lang.String> expand,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getFindingsTable
|
ApiResponse<java.util.List<Finding>> |
getFindingsTableWithHttpInfo(java.lang.Integer projectId,
Query query,
java.util.List<java.lang.String> expand)
Finding Table Data
Returns filtered finding table data.
|
java.lang.String |
getSourceFileContents(java.lang.Integer projectId,
java.lang.Integer pathId)
Source File Contents
Returns the contents of a given file, as long as it is a text file.
|
com.squareup.okhttp.Call |
getSourceFileContentsAsync(java.lang.Integer projectId,
java.lang.Integer pathId,
ApiCallback<java.lang.String> callback)
Source File Contents (asynchronously)
Returns the contents of a given file, as long as it is a text file.
|
com.squareup.okhttp.Call |
getSourceFileContentsCall(java.lang.Integer projectId,
java.lang.Integer pathId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getSourceFileContents
|
java.lang.String |
getSourceFileContentsFromPath(java.lang.Integer projectId,
java.lang.String path)
Source File Contents (tree)
Returns the contents of a given file, as long as it is a text file.
|
com.squareup.okhttp.Call |
getSourceFileContentsFromPathAsync(java.lang.Integer projectId,
java.lang.String path,
ApiCallback<java.lang.String> callback)
Source File Contents (tree) (asynchronously)
Returns the contents of a given file, as long as it is a text file.
|
com.squareup.okhttp.Call |
getSourceFileContentsFromPathCall(java.lang.Integer projectId,
java.lang.String path,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getSourceFileContentsFromPath
|
ApiResponse<java.lang.String> |
getSourceFileContentsFromPathWithHttpInfo(java.lang.Integer projectId,
java.lang.String path)
Source File Contents (tree)
Returns the contents of a given file, as long as it is a text file.
|
ApiResponse<java.lang.String> |
getSourceFileContentsWithHttpInfo(java.lang.Integer projectId,
java.lang.Integer pathId)
Source File Contents
Returns the contents of a given file, as long as it is a text file.
|
void |
setApiClient(ApiClient apiClient) |
public FindingDataApi()
public FindingDataApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call getFindingDataCall(java.lang.Integer findingId,
java.util.List<java.lang.String> expand,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
throws ApiException
findingId - The finding ID. (required)expand - The expand parameter is a comma seperated list. Each value included in the list has the potential to modify the response's Finding objects. The available values and their effects are: - `descriptions` - an additional property named `descriptions` is added to the Finding objects. It is a Description object that contains the tool/rule description for the finding - `descriptor` - adds additional content to the `descriptor` property of the Finding object. - `issue` - an additional property named `issue` is added to the Finding objects. `issue` will be an Issue object. - `triage-time` - an additional property named `triageTime` is added to the Finding objects. It is a date time that corresponds to the most recent time the status of the finding was updated. - `results` - an additional property named `results` is added to the Finding objects. It is an array of ToolResult objects that relate to the finding. - `results.descriptions` - does the same thing as `results` as well as adds an additional property named `descriptions` to the ToolResult objects. This property is a Description object and will contain the tool and contextual descriptions for the result. - `results.descriptor` - does the same thing as `results` as well as adds additional properties to the ToolResults' `descriptor` properties. - `results.metadata` - does the same thing as `results` as well as adds an additional property to the ToolResult object named `metadata`. `metadata` is an object that contains key values pairs, usually some additional information reported by a tool. - `results.variants` - does the same thing as `results` as well as adds an additional property to the the ToolResult object named `variants`. `variants` is an array of Variant objects. A Variant typically contains http/https request and response information. (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic Finding getFindingData(java.lang.Integer findingId, java.util.List<java.lang.String> expand) throws ApiException
findingId - The finding ID. (required)expand - The expand parameter is a comma seperated list. Each value included in the list has the potential to modify the response's Finding objects. The available values and their effects are: - `descriptions` - an additional property named `descriptions` is added to the Finding objects. It is a Description object that contains the tool/rule description for the finding - `descriptor` - adds additional content to the `descriptor` property of the Finding object. - `issue` - an additional property named `issue` is added to the Finding objects. `issue` will be an Issue object. - `triage-time` - an additional property named `triageTime` is added to the Finding objects. It is a date time that corresponds to the most recent time the status of the finding was updated. - `results` - an additional property named `results` is added to the Finding objects. It is an array of ToolResult objects that relate to the finding. - `results.descriptions` - does the same thing as `results` as well as adds an additional property named `descriptions` to the ToolResult objects. This property is a Description object and will contain the tool and contextual descriptions for the result. - `results.descriptor` - does the same thing as `results` as well as adds additional properties to the ToolResults' `descriptor` properties. - `results.metadata` - does the same thing as `results` as well as adds an additional property to the ToolResult object named `metadata`. `metadata` is an object that contains key values pairs, usually some additional information reported by a tool. - `results.variants` - does the same thing as `results` as well as adds an additional property to the the ToolResult object named `variants`. `variants` is an array of Variant objects. A Variant typically contains http/https request and response information. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Finding> getFindingDataWithHttpInfo(java.lang.Integer findingId, java.util.List<java.lang.String> expand) throws ApiException
findingId - The finding ID. (required)expand - The expand parameter is a comma seperated list. Each value included in the list has the potential to modify the response's Finding objects. The available values and their effects are: - `descriptions` - an additional property named `descriptions` is added to the Finding objects. It is a Description object that contains the tool/rule description for the finding - `descriptor` - adds additional content to the `descriptor` property of the Finding object. - `issue` - an additional property named `issue` is added to the Finding objects. `issue` will be an Issue object. - `triage-time` - an additional property named `triageTime` is added to the Finding objects. It is a date time that corresponds to the most recent time the status of the finding was updated. - `results` - an additional property named `results` is added to the Finding objects. It is an array of ToolResult objects that relate to the finding. - `results.descriptions` - does the same thing as `results` as well as adds an additional property named `descriptions` to the ToolResult objects. This property is a Description object and will contain the tool and contextual descriptions for the result. - `results.descriptor` - does the same thing as `results` as well as adds additional properties to the ToolResults' `descriptor` properties. - `results.metadata` - does the same thing as `results` as well as adds an additional property to the ToolResult object named `metadata`. `metadata` is an object that contains key values pairs, usually some additional information reported by a tool. - `results.variants` - does the same thing as `results` as well as adds an additional property to the the ToolResult object named `variants`. `variants` is an array of Variant objects. A Variant typically contains http/https request and response information. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getFindingDataAsync(java.lang.Integer findingId,
java.util.List<java.lang.String> expand,
ApiCallback<Finding> callback)
throws ApiException
findingId - The finding ID. (required)expand - The expand parameter is a comma seperated list. Each value included in the list has the potential to modify the response's Finding objects. The available values and their effects are: - `descriptions` - an additional property named `descriptions` is added to the Finding objects. It is a Description object that contains the tool/rule description for the finding - `descriptor` - adds additional content to the `descriptor` property of the Finding object. - `issue` - an additional property named `issue` is added to the Finding objects. `issue` will be an Issue object. - `triage-time` - an additional property named `triageTime` is added to the Finding objects. It is a date time that corresponds to the most recent time the status of the finding was updated. - `results` - an additional property named `results` is added to the Finding objects. It is an array of ToolResult objects that relate to the finding. - `results.descriptions` - does the same thing as `results` as well as adds an additional property named `descriptions` to the ToolResult objects. This property is a Description object and will contain the tool and contextual descriptions for the result. - `results.descriptor` - does the same thing as `results` as well as adds additional properties to the ToolResults' `descriptor` properties. - `results.metadata` - does the same thing as `results` as well as adds an additional property to the ToolResult object named `metadata`. `metadata` is an object that contains key values pairs, usually some additional information reported by a tool. - `results.variants` - does the same thing as `results` as well as adds an additional property to the the ToolResult object named `variants`. `variants` is an array of Variant objects. A Variant typically contains http/https request and response information. (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 getFindingDescriptionCall(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 FindingDescription getFindingDescription(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<FindingDescription> getFindingDescriptionWithHttpInfo(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 getFindingDescriptionAsync(java.lang.Integer findingId,
ApiCallback<FindingDescription> 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 getFindingFlowCall(java.lang.Integer projectId,
FlowRequest flowRequest,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
throws ApiException
projectId - The ID of the project. (required)flowRequest - (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic java.util.List<FlowData> getFindingFlow(java.lang.Integer projectId, FlowRequest flowRequest) throws ApiException
projectId - The ID of the project. (required)flowRequest - (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<java.util.List<FlowData>> getFindingFlowWithHttpInfo(java.lang.Integer projectId, FlowRequest flowRequest) throws ApiException
projectId - The ID of the project. (required)flowRequest - (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getFindingFlowAsync(java.lang.Integer projectId,
FlowRequest flowRequest,
ApiCallback<java.util.List<FlowData>> callback)
throws ApiException
projectId - The ID of the project. (required)flowRequest - (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 getFindingHistoryCall(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 java.util.List<ActivityEvent> getFindingHistory(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.util.List<ActivityEvent>> getFindingHistoryWithHttpInfo(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 getFindingHistoryAsync(java.lang.Integer findingId,
ApiCallback<java.util.List<ActivityEvent>> 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 getFindingsCountCall(java.lang.Integer projectId,
Query query,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
throws ApiException
projectId - The ID of the project. (required)query - (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic Count getFindingsCount(java.lang.Integer projectId, Query query) throws ApiException
projectId - The ID of the project. (required)query - (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Count> getFindingsCountWithHttpInfo(java.lang.Integer projectId, Query query) throws ApiException
projectId - The ID of the project. (required)query - (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getFindingsCountAsync(java.lang.Integer projectId,
Query query,
ApiCallback<Count> callback)
throws ApiException
projectId - The ID of the project. (required)query - (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 getFindingsGroupCountCall(java.lang.Integer projectId,
GroupedCountsRequest groupedCountRequest,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
throws ApiException
projectId - The ID of the project. (required)groupedCountRequest - (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic java.util.List<GroupedCount> getFindingsGroupCount(java.lang.Integer projectId, GroupedCountsRequest groupedCountRequest) throws ApiException
projectId - The ID of the project. (required)groupedCountRequest - (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<java.util.List<GroupedCount>> getFindingsGroupCountWithHttpInfo(java.lang.Integer projectId, GroupedCountsRequest groupedCountRequest) throws ApiException
projectId - The ID of the project. (required)groupedCountRequest - (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getFindingsGroupCountAsync(java.lang.Integer projectId,
GroupedCountsRequest groupedCountRequest,
ApiCallback<java.util.List<GroupedCount>> callback)
throws ApiException
projectId - The ID of the project. (required)groupedCountRequest - (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 getFindingsTableCall(java.lang.Integer projectId,
Query query,
java.util.List<java.lang.String> expand,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
throws ApiException
projectId - The ID of the project. (required)query - (optional)expand - The expand parameter is a comma seperated list. Each value included in the list has the potential to modify the response's Finding objects. The available values and their effects are: - `descriptions` - an additional property named `descriptions` is added to the Finding objects. It is a Description object that contains the tool/rule description for the finding - `descriptor` - adds additional content to the `descriptor` property of the Finding object. - `issue` - an additional property named `issue` is added to the Finding objects. `issue` will be an Issue object. - `triage-time` - an additional property named `triageTime` is added to the Finding objects. It is a date time that corresponds to the most recent time the status of the finding was updated. - `results` - an additional property named `results` is added to the Finding objects. It is an array of ToolResult objects that relate to the finding. - `results.descriptions` - does the same thing as `results` as well as adds an additional property named `descriptions` to the ToolResult objects. This property is a Description object and will contain the tool and contextual descriptions for the result. - `results.descriptor` - does the same thing as `results` as well as adds additional properties to the ToolResults' `descriptor` properties. - `results.metadata` - does the same thing as `results` as well as adds an additional property to the ToolResult object named `metadata`. `metadata` is an object that contains key values pairs, usually some additional information reported by a tool. - `results.variants` - does the same thing as `results` as well as adds an additional property to the the ToolResult object named `variants`. `variants` is an array of Variant objects. A Variant typically contains http/https request and response information. (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic java.util.List<Finding> getFindingsTable(java.lang.Integer projectId, Query query, java.util.List<java.lang.String> expand) throws ApiException
projectId - The ID of the project. (required)query - (optional)expand - The expand parameter is a comma seperated list. Each value included in the list has the potential to modify the response's Finding objects. The available values and their effects are: - `descriptions` - an additional property named `descriptions` is added to the Finding objects. It is a Description object that contains the tool/rule description for the finding - `descriptor` - adds additional content to the `descriptor` property of the Finding object. - `issue` - an additional property named `issue` is added to the Finding objects. `issue` will be an Issue object. - `triage-time` - an additional property named `triageTime` is added to the Finding objects. It is a date time that corresponds to the most recent time the status of the finding was updated. - `results` - an additional property named `results` is added to the Finding objects. It is an array of ToolResult objects that relate to the finding. - `results.descriptions` - does the same thing as `results` as well as adds an additional property named `descriptions` to the ToolResult objects. This property is a Description object and will contain the tool and contextual descriptions for the result. - `results.descriptor` - does the same thing as `results` as well as adds additional properties to the ToolResults' `descriptor` properties. - `results.metadata` - does the same thing as `results` as well as adds an additional property to the ToolResult object named `metadata`. `metadata` is an object that contains key values pairs, usually some additional information reported by a tool. - `results.variants` - does the same thing as `results` as well as adds an additional property to the the ToolResult object named `variants`. `variants` is an array of Variant objects. A Variant typically contains http/https request and response information. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<java.util.List<Finding>> getFindingsTableWithHttpInfo(java.lang.Integer projectId, Query query, java.util.List<java.lang.String> expand) throws ApiException
projectId - The ID of the project. (required)query - (optional)expand - The expand parameter is a comma seperated list. Each value included in the list has the potential to modify the response's Finding objects. The available values and their effects are: - `descriptions` - an additional property named `descriptions` is added to the Finding objects. It is a Description object that contains the tool/rule description for the finding - `descriptor` - adds additional content to the `descriptor` property of the Finding object. - `issue` - an additional property named `issue` is added to the Finding objects. `issue` will be an Issue object. - `triage-time` - an additional property named `triageTime` is added to the Finding objects. It is a date time that corresponds to the most recent time the status of the finding was updated. - `results` - an additional property named `results` is added to the Finding objects. It is an array of ToolResult objects that relate to the finding. - `results.descriptions` - does the same thing as `results` as well as adds an additional property named `descriptions` to the ToolResult objects. This property is a Description object and will contain the tool and contextual descriptions for the result. - `results.descriptor` - does the same thing as `results` as well as adds additional properties to the ToolResults' `descriptor` properties. - `results.metadata` - does the same thing as `results` as well as adds an additional property to the ToolResult object named `metadata`. `metadata` is an object that contains key values pairs, usually some additional information reported by a tool. - `results.variants` - does the same thing as `results` as well as adds an additional property to the the ToolResult object named `variants`. `variants` is an array of Variant objects. A Variant typically contains http/https request and response information. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getFindingsTableAsync(java.lang.Integer projectId,
Query query,
java.util.List<java.lang.String> expand,
ApiCallback<java.util.List<Finding>> callback)
throws ApiException
projectId - The ID of the project. (required)query - (optional)expand - The expand parameter is a comma seperated list. Each value included in the list has the potential to modify the response's Finding objects. The available values and their effects are: - `descriptions` - an additional property named `descriptions` is added to the Finding objects. It is a Description object that contains the tool/rule description for the finding - `descriptor` - adds additional content to the `descriptor` property of the Finding object. - `issue` - an additional property named `issue` is added to the Finding objects. `issue` will be an Issue object. - `triage-time` - an additional property named `triageTime` is added to the Finding objects. It is a date time that corresponds to the most recent time the status of the finding was updated. - `results` - an additional property named `results` is added to the Finding objects. It is an array of ToolResult objects that relate to the finding. - `results.descriptions` - does the same thing as `results` as well as adds an additional property named `descriptions` to the ToolResult objects. This property is a Description object and will contain the tool and contextual descriptions for the result. - `results.descriptor` - does the same thing as `results` as well as adds additional properties to the ToolResults' `descriptor` properties. - `results.metadata` - does the same thing as `results` as well as adds an additional property to the ToolResult object named `metadata`. `metadata` is an object that contains key values pairs, usually some additional information reported by a tool. - `results.variants` - does the same thing as `results` as well as adds an additional property to the the ToolResult object named `variants`. `variants` is an array of Variant objects. A Variant typically contains http/https request and response information. (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 getSourceFileContentsCall(java.lang.Integer projectId,
java.lang.Integer pathId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
throws ApiException
projectId - The ID of the project. (required)pathId - The ID of the path (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic java.lang.String getSourceFileContents(java.lang.Integer projectId,
java.lang.Integer pathId)
throws ApiException
projectId - The ID of the project. (required)pathId - The ID of the path (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<java.lang.String> getSourceFileContentsWithHttpInfo(java.lang.Integer projectId, java.lang.Integer pathId) throws ApiException
projectId - The ID of the project. (required)pathId - The ID of the path (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getSourceFileContentsAsync(java.lang.Integer projectId,
java.lang.Integer pathId,
ApiCallback<java.lang.String> callback)
throws ApiException
projectId - The ID of the project. (required)pathId - The ID of the path (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 getSourceFileContentsFromPathCall(java.lang.Integer projectId,
java.lang.String path,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
throws ApiException
projectId - The ID of the project. (required)path - The literal path to the file (e.g., \"com/foo/bar/Baz.java\") (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic java.lang.String getSourceFileContentsFromPath(java.lang.Integer projectId,
java.lang.String path)
throws ApiException
projectId - The ID of the project. (required)path - The literal path to the file (e.g., \"com/foo/bar/Baz.java\") (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<java.lang.String> getSourceFileContentsFromPathWithHttpInfo(java.lang.Integer projectId, java.lang.String path) throws ApiException
projectId - The ID of the project. (required)path - The literal path to the file (e.g., \"com/foo/bar/Baz.java\") (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getSourceFileContentsFromPathAsync(java.lang.Integer projectId,
java.lang.String path,
ApiCallback<java.lang.String> callback)
throws ApiException
projectId - The ID of the project. (required)path - The literal path to the file (e.g., \"com/foo/bar/Baz.java\") (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