public class AnalysisApi
extends java.lang.Object
| Constructor and Description |
|---|
AnalysisApi() |
AnalysisApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
AnalysisPrepResponse |
createAnalysisPrep(ProjectId projectId)
Create Analysis Prep
Create a new Analysis Prep associated with a particular project.
|
com.squareup.okhttp.Call |
createAnalysisPrepAsync(ProjectId projectId,
ApiCallback<AnalysisPrepResponse> callback)
Create Analysis Prep (asynchronously)
Create a new Analysis Prep associated with a particular project.
|
com.squareup.okhttp.Call |
createAnalysisPrepCall(ProjectId projectId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for createAnalysisPrep
|
ApiResponse<AnalysisPrepResponse> |
createAnalysisPrepWithHttpInfo(ProjectId projectId)
Create Analysis Prep
Create a new Analysis Prep associated with a particular project.
|
void |
deleteInput(java.lang.String prepId,
java.lang.String inputId)
Delete Input
Note that depending on the timing of the deletion, one of two different endpoints should be used.
|
com.squareup.okhttp.Call |
deleteInputAsync(java.lang.String prepId,
java.lang.String inputId,
ApiCallback<java.lang.Void> callback)
Delete Input (asynchronously)
Note that depending on the timing of the deletion, one of two different endpoints should be used.
|
com.squareup.okhttp.Call |
deleteInputCall(java.lang.String prepId,
java.lang.String inputId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for deleteInput
|
ApiResponse<java.lang.Void> |
deleteInputWithHttpInfo(java.lang.String prepId,
java.lang.String inputId)
Delete Input
Note that depending on the timing of the deletion, one of two different endpoints should be used.
|
void |
deletePendingInput(java.lang.String prepId,
java.lang.String xClientRequestId)
Delete Input (pending)
Note that depending on the timing of the deletion, one of two different endpoints should be used.
|
com.squareup.okhttp.Call |
deletePendingInputAsync(java.lang.String prepId,
java.lang.String xClientRequestId,
ApiCallback<java.lang.Void> callback)
Delete Input (pending) (asynchronously)
Note that depending on the timing of the deletion, one of two different endpoints should be used.
|
com.squareup.okhttp.Call |
deletePendingInputCall(java.lang.String prepId,
java.lang.String xClientRequestId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for deletePendingInput
|
ApiResponse<java.lang.Void> |
deletePendingInputWithHttpInfo(java.lang.String prepId,
java.lang.String xClientRequestId)
Delete Input (pending)
Note that depending on the timing of the deletion, one of two different endpoints should be used.
|
java.util.List<AnalysisDetails> |
getAllAnalysisDetails(java.lang.Integer projectId)
Get All Analysis Details
Obtain analysis details for a project, such as start and finish times
|
com.squareup.okhttp.Call |
getAllAnalysisDetailsAsync(java.lang.Integer projectId,
ApiCallback<java.util.List<AnalysisDetails>> callback)
Get All Analysis Details (asynchronously)
Obtain analysis details for a project, such as start and finish times
|
com.squareup.okhttp.Call |
getAllAnalysisDetailsCall(java.lang.Integer projectId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getAllAnalysisDetails
|
ApiResponse<java.util.List<AnalysisDetails>> |
getAllAnalysisDetailsWithHttpInfo(java.lang.Integer projectId)
Get All Analysis Details
Obtain analysis details for a project, such as start and finish times
|
AnalysisDetails |
getAnalysisDetails(java.lang.Integer projectId,
java.lang.Integer analysisId)
Get Analysis Details
Obtain analysis details, such as start and finish times
|
com.squareup.okhttp.Call |
getAnalysisDetailsAsync(java.lang.Integer projectId,
java.lang.Integer analysisId,
ApiCallback<AnalysisDetails> callback)
Get Analysis Details (asynchronously)
Obtain analysis details, such as start and finish times
|
com.squareup.okhttp.Call |
getAnalysisDetailsCall(java.lang.Integer projectId,
java.lang.Integer analysisId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getAnalysisDetails
|
ApiResponse<AnalysisDetails> |
getAnalysisDetailsWithHttpInfo(java.lang.Integer projectId,
java.lang.Integer analysisId)
Get Analysis Details
Obtain analysis details, such as start and finish times
|
ApiClient |
getApiClient() |
InputDisplayInfo |
getInputMetadata(java.lang.String prepId,
java.lang.String inputId)
Get Input Metadata
Get metadata for a particular input associated with an Analysis Prep.
|
com.squareup.okhttp.Call |
getInputMetadataAsync(java.lang.String prepId,
java.lang.String inputId,
ApiCallback<InputDisplayInfo> callback)
Get Input Metadata (asynchronously)
Get metadata for a particular input associated with an Analysis Prep.
|
com.squareup.okhttp.Call |
getInputMetadataCall(java.lang.String prepId,
java.lang.String inputId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getInputMetadata
|
ApiResponse<InputDisplayInfo> |
getInputMetadataWithHttpInfo(java.lang.String prepId,
java.lang.String inputId)
Get Input Metadata
Get metadata for a particular input associated with an Analysis Prep.
|
AnalysisQueryResponse |
queryAnalysisPrepState(java.lang.String prepId)
Query Analysis Prep State
Get a list of Input IDs and Verification Errors for an Analysis Prep.
|
com.squareup.okhttp.Call |
queryAnalysisPrepStateAsync(java.lang.String prepId,
ApiCallback<AnalysisQueryResponse> callback)
Query Analysis Prep State (asynchronously)
Get a list of Input IDs and Verification Errors for an Analysis Prep.
|
com.squareup.okhttp.Call |
queryAnalysisPrepStateCall(java.lang.String prepId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for queryAnalysisPrepState
|
ApiResponse<AnalysisQueryResponse> |
queryAnalysisPrepStateWithHttpInfo(java.lang.String prepId)
Query Analysis Prep State
Get a list of Input IDs and Verification Errors for an Analysis Prep.
|
Analysis |
runPreparedAnalysis(java.lang.String prepId)
Run Prepared Analysis
Once all of the verificationErrors in an Analysis Prep are addressed, an analysis can be started.
|
com.squareup.okhttp.Call |
runPreparedAnalysisAsync(java.lang.String prepId,
ApiCallback<Analysis> callback)
Run Prepared Analysis (asynchronously)
Once all of the verificationErrors in an Analysis Prep are addressed, an analysis can be started.
|
com.squareup.okhttp.Call |
runPreparedAnalysisCall(java.lang.String prepId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for runPreparedAnalysis
|
ApiResponse<Analysis> |
runPreparedAnalysisWithHttpInfo(java.lang.String prepId)
Run Prepared Analysis
Once all of the verificationErrors in an Analysis Prep are addressed, an analysis can be started.
|
void |
setAnalysisName(java.lang.Integer projectId,
java.lang.Integer analysisId,
AnalysisName analysisName)
Name Analysis
Set a name for a specific analysis
|
com.squareup.okhttp.Call |
setAnalysisNameAsync(java.lang.Integer projectId,
java.lang.Integer analysisId,
AnalysisName analysisName,
ApiCallback<java.lang.Void> callback)
Name Analysis (asynchronously)
Set a name for a specific analysis
|
com.squareup.okhttp.Call |
setAnalysisNameCall(java.lang.Integer projectId,
java.lang.Integer analysisId,
AnalysisName analysisName,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for setAnalysisName
|
ApiResponse<java.lang.Void> |
setAnalysisNameWithHttpInfo(java.lang.Integer projectId,
java.lang.Integer analysisId,
AnalysisName analysisName)
Name Analysis
Set a name for a specific analysis
|
void |
setApiClient(ApiClient apiClient) |
InputDisplayInfo |
setDisplayTag(java.lang.String prepId,
java.lang.String inputId,
java.lang.String tagId,
Enabled enabled)
Enable/Disable Display Tag
Enable and disable individual display tags on individual prop inputs.
|
com.squareup.okhttp.Call |
setDisplayTagAsync(java.lang.String prepId,
java.lang.String inputId,
java.lang.String tagId,
Enabled enabled,
ApiCallback<InputDisplayInfo> callback)
Enable/Disable Display Tag (asynchronously)
Enable and disable individual display tags on individual prop inputs.
|
com.squareup.okhttp.Call |
setDisplayTagCall(java.lang.String prepId,
java.lang.String inputId,
java.lang.String tagId,
Enabled enabled,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for setDisplayTag
|
ApiResponse<InputDisplayInfo> |
setDisplayTagWithHttpInfo(java.lang.String prepId,
java.lang.String inputId,
java.lang.String tagId,
Enabled enabled)
Enable/Disable Display Tag
Enable and disable individual display tags on individual prop inputs.
|
FileUploadResponse |
uploadFile(java.lang.String prepId,
java.io.File file,
java.lang.String xClientRequestId)
Upload File to Analysis Prep
Analysis Preps should be populated by uploading files to Code Dx (or by configuring Git on a project, causing the source to be automatically added to the prep).
|
com.squareup.okhttp.Call |
uploadFileAsync(java.lang.String prepId,
java.io.File file,
java.lang.String xClientRequestId,
ApiCallback<FileUploadResponse> callback)
Upload File to Analysis Prep (asynchronously)
Analysis Preps should be populated by uploading files to Code Dx (or by configuring Git on a project, causing the source to be automatically added to the prep).
|
com.squareup.okhttp.Call |
uploadFileCall(java.lang.String prepId,
java.io.File file,
java.lang.String xClientRequestId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for uploadFile
|
ApiResponse<FileUploadResponse> |
uploadFileWithHttpInfo(java.lang.String prepId,
java.io.File file,
java.lang.String xClientRequestId)
Upload File to Analysis Prep
Analysis Preps should be populated by uploading files to Code Dx (or by configuring Git on a project, causing the source to be automatically added to the prep).
|
public AnalysisApi()
public AnalysisApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call createAnalysisPrepCall(ProjectId projectId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
projectId - (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic AnalysisPrepResponse createAnalysisPrep(ProjectId projectId) throws ApiException
projectId - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<AnalysisPrepResponse> createAnalysisPrepWithHttpInfo(ProjectId projectId) throws ApiException
projectId - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call createAnalysisPrepAsync(ProjectId projectId, ApiCallback<AnalysisPrepResponse> callback) throws ApiException
projectId - (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 deleteInputCall(java.lang.String prepId,
java.lang.String inputId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
throws ApiException
prepId - The ID of the Analysis Prep. This should come from the Create Analysis Prep response. (required)inputId - The ID of the prep input. (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic void deleteInput(java.lang.String prepId,
java.lang.String inputId)
throws ApiException
prepId - The ID of the Analysis Prep. This should come from the Create Analysis Prep response. (required)inputId - The ID of the prep input. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<java.lang.Void> deleteInputWithHttpInfo(java.lang.String prepId, java.lang.String inputId) throws ApiException
prepId - The ID of the Analysis Prep. This should come from the Create Analysis Prep response. (required)inputId - The ID of the prep input. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call deleteInputAsync(java.lang.String prepId,
java.lang.String inputId,
ApiCallback<java.lang.Void> callback)
throws ApiException
prepId - The ID of the Analysis Prep. This should come from the Create Analysis Prep response. (required)inputId - The ID of the prep input. (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 deletePendingInputCall(java.lang.String prepId,
java.lang.String xClientRequestId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
throws ApiException
prepId - The ID of the Analysis Prep. This should come from the Create Analysis Prep response. (required)xClientRequestId - If the input-id is not known, and the \"pending\" URL is being used, this header should be set to the value used by the requrest which initiated the input file upload. (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic void deletePendingInput(java.lang.String prepId,
java.lang.String xClientRequestId)
throws ApiException
prepId - The ID of the Analysis Prep. This should come from the Create Analysis Prep response. (required)xClientRequestId - If the input-id is not known, and the \"pending\" URL is being used, this header should be set to the value used by the requrest which initiated the input file upload. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<java.lang.Void> deletePendingInputWithHttpInfo(java.lang.String prepId, java.lang.String xClientRequestId) throws ApiException
prepId - The ID of the Analysis Prep. This should come from the Create Analysis Prep response. (required)xClientRequestId - If the input-id is not known, and the \"pending\" URL is being used, this header should be set to the value used by the requrest which initiated the input file upload. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call deletePendingInputAsync(java.lang.String prepId,
java.lang.String xClientRequestId,
ApiCallback<java.lang.Void> callback)
throws ApiException
prepId - The ID of the Analysis Prep. This should come from the Create Analysis Prep response. (required)xClientRequestId - If the input-id is not known, and the \"pending\" URL is being used, this header should be set to the value used by the requrest which initiated the input file upload. (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 getAllAnalysisDetailsCall(java.lang.Integer projectId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
throws ApiException
projectId - The ID of the project. (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic java.util.List<AnalysisDetails> getAllAnalysisDetails(java.lang.Integer projectId) throws ApiException
projectId - The ID of the project. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<java.util.List<AnalysisDetails>> getAllAnalysisDetailsWithHttpInfo(java.lang.Integer projectId) throws ApiException
projectId - The ID of the project. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getAllAnalysisDetailsAsync(java.lang.Integer projectId,
ApiCallback<java.util.List<AnalysisDetails>> callback)
throws ApiException
projectId - The ID of the project. (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 getAnalysisDetailsCall(java.lang.Integer projectId,
java.lang.Integer analysisId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
throws ApiException
projectId - The ID of the project. (required)analysisId - The ID of the analysis (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic AnalysisDetails getAnalysisDetails(java.lang.Integer projectId, java.lang.Integer analysisId) throws ApiException
projectId - The ID of the project. (required)analysisId - The ID of the analysis (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<AnalysisDetails> getAnalysisDetailsWithHttpInfo(java.lang.Integer projectId, java.lang.Integer analysisId) throws ApiException
projectId - The ID of the project. (required)analysisId - The ID of the analysis (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getAnalysisDetailsAsync(java.lang.Integer projectId,
java.lang.Integer analysisId,
ApiCallback<AnalysisDetails> callback)
throws ApiException
projectId - The ID of the project. (required)analysisId - The ID of the analysis (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 getInputMetadataCall(java.lang.String prepId,
java.lang.String inputId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
throws ApiException
prepId - The ID of the Analysis Prep. This should come from the Create Analysis Prep response. (required)inputId - The ID of the prep input. (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic InputDisplayInfo getInputMetadata(java.lang.String prepId, java.lang.String inputId) throws ApiException
prepId - The ID of the Analysis Prep. This should come from the Create Analysis Prep response. (required)inputId - The ID of the prep input. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<InputDisplayInfo> getInputMetadataWithHttpInfo(java.lang.String prepId, java.lang.String inputId) throws ApiException
prepId - The ID of the Analysis Prep. This should come from the Create Analysis Prep response. (required)inputId - The ID of the prep input. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getInputMetadataAsync(java.lang.String prepId,
java.lang.String inputId,
ApiCallback<InputDisplayInfo> callback)
throws ApiException
prepId - The ID of the Analysis Prep. This should come from the Create Analysis Prep response. (required)inputId - The ID of the prep input. (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 queryAnalysisPrepStateCall(java.lang.String prepId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
throws ApiException
prepId - The ID of the Analysis Prep. This should come from the Create Analysis Prep response. (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic AnalysisQueryResponse queryAnalysisPrepState(java.lang.String prepId) throws ApiException
prepId - The ID of the Analysis Prep. This should come from the Create Analysis Prep response. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<AnalysisQueryResponse> queryAnalysisPrepStateWithHttpInfo(java.lang.String prepId) throws ApiException
prepId - The ID of the Analysis Prep. This should come from the Create Analysis Prep response. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call queryAnalysisPrepStateAsync(java.lang.String prepId,
ApiCallback<AnalysisQueryResponse> callback)
throws ApiException
prepId - The ID of the Analysis Prep. This should come from the Create Analysis Prep response. (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 runPreparedAnalysisCall(java.lang.String prepId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
throws ApiException
prepId - The ID of the Analysis Prep. This should come from the Create Analysis Prep response. (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic Analysis runPreparedAnalysis(java.lang.String prepId) throws ApiException
prepId - The ID of the Analysis Prep. This should come from the Create Analysis Prep response. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Analysis> runPreparedAnalysisWithHttpInfo(java.lang.String prepId) throws ApiException
prepId - The ID of the Analysis Prep. This should come from the Create Analysis Prep response. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call runPreparedAnalysisAsync(java.lang.String prepId,
ApiCallback<Analysis> callback)
throws ApiException
prepId - The ID of the Analysis Prep. This should come from the Create Analysis Prep response. (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 setAnalysisNameCall(java.lang.Integer projectId,
java.lang.Integer analysisId,
AnalysisName analysisName,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
throws ApiException
projectId - The ID of the project. (required)analysisId - The ID of the analysis (required)analysisName - An object containing the name of the analysis (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic void setAnalysisName(java.lang.Integer projectId,
java.lang.Integer analysisId,
AnalysisName analysisName)
throws ApiException
projectId - The ID of the project. (required)analysisId - The ID of the analysis (required)analysisName - An object containing the name of the analysis (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<java.lang.Void> setAnalysisNameWithHttpInfo(java.lang.Integer projectId, java.lang.Integer analysisId, AnalysisName analysisName) throws ApiException
projectId - The ID of the project. (required)analysisId - The ID of the analysis (required)analysisName - An object containing the name of the analysis (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call setAnalysisNameAsync(java.lang.Integer projectId,
java.lang.Integer analysisId,
AnalysisName analysisName,
ApiCallback<java.lang.Void> callback)
throws ApiException
projectId - The ID of the project. (required)analysisId - The ID of the analysis (required)analysisName - An object containing the name of the analysis (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 setDisplayTagCall(java.lang.String prepId,
java.lang.String inputId,
java.lang.String tagId,
Enabled enabled,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
throws ApiException
prepId - The ID of the Analysis Prep. This should come from the Create Analysis Prep response. (required)inputId - The ID of the prep input. (required)tagId - The ID of a Display Tag State object which would have been returned by the Get Input Metadata endpoint (required)enabled - A boolean indicating whether the tag should be enabled or disabled (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic InputDisplayInfo setDisplayTag(java.lang.String prepId, java.lang.String inputId, java.lang.String tagId, Enabled enabled) throws ApiException
prepId - The ID of the Analysis Prep. This should come from the Create Analysis Prep response. (required)inputId - The ID of the prep input. (required)tagId - The ID of a Display Tag State object which would have been returned by the Get Input Metadata endpoint (required)enabled - A boolean indicating whether the tag should be enabled or disabled (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<InputDisplayInfo> setDisplayTagWithHttpInfo(java.lang.String prepId, java.lang.String inputId, java.lang.String tagId, Enabled enabled) throws ApiException
prepId - The ID of the Analysis Prep. This should come from the Create Analysis Prep response. (required)inputId - The ID of the prep input. (required)tagId - The ID of a Display Tag State object which would have been returned by the Get Input Metadata endpoint (required)enabled - A boolean indicating whether the tag should be enabled or disabled (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call setDisplayTagAsync(java.lang.String prepId,
java.lang.String inputId,
java.lang.String tagId,
Enabled enabled,
ApiCallback<InputDisplayInfo> callback)
throws ApiException
prepId - The ID of the Analysis Prep. This should come from the Create Analysis Prep response. (required)inputId - The ID of the prep input. (required)tagId - The ID of a Display Tag State object which would have been returned by the Get Input Metadata endpoint (required)enabled - A boolean indicating whether the tag should be enabled or disabled (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 uploadFileCall(java.lang.String prepId,
java.io.File file,
java.lang.String xClientRequestId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
throws ApiException
prepId - The ID of the Analysis Prep. This should come from the Create Analysis Prep response. (required)file - The file to be uploaded (required)xClientRequestId - Clients may choose an arbitrary identifier (a random string will suffice) to associate with the upload. This is done to enable deletion of an input before its file upload is fully complete. For more info, see Delete Input. (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic FileUploadResponse uploadFile(java.lang.String prepId, java.io.File file, java.lang.String xClientRequestId) throws ApiException
prepId - The ID of the Analysis Prep. This should come from the Create Analysis Prep response. (required)file - The file to be uploaded (required)xClientRequestId - Clients may choose an arbitrary identifier (a random string will suffice) to associate with the upload. This is done to enable deletion of an input before its file upload is fully complete. For more info, see Delete Input. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<FileUploadResponse> uploadFileWithHttpInfo(java.lang.String prepId, java.io.File file, java.lang.String xClientRequestId) throws ApiException
prepId - The ID of the Analysis Prep. This should come from the Create Analysis Prep response. (required)file - The file to be uploaded (required)xClientRequestId - Clients may choose an arbitrary identifier (a random string will suffice) to associate with the upload. This is done to enable deletion of an input before its file upload is fully complete. For more info, see Delete Input. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call uploadFileAsync(java.lang.String prepId,
java.io.File file,
java.lang.String xClientRequestId,
ApiCallback<FileUploadResponse> callback)
throws ApiException
prepId - The ID of the Analysis Prep. This should come from the Create Analysis Prep response. (required)file - The file to be uploaded (required)xClientRequestId - Clients may choose an arbitrary identifier (a random string will suffice) to associate with the upload. This is done to enable deletion of an input before its file upload is fully complete. For more info, see Delete Input. (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 object