Package ai.reveng.api
Class StringsApi
java.lang.Object
ai.reveng.api.StringsApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddUserStringToAnalysis(Long analysisId, AddUserStringInputBody addUserStringInputBody) Add a user-provided string to an analysis.okhttp3.CalladdUserStringToAnalysisAsync(Long analysisId, AddUserStringInputBody addUserStringInputBody, ApiCallback<Map<String, Object>> _callback) Add a user-provided string to an analysis.okhttp3.CalladdUserStringToAnalysisCall(Long analysisId, AddUserStringInputBody addUserStringInputBody, ApiCallback _callback) Build call for addUserStringToAnalysisaddUserStringToAnalysisWithHttpInfo(Long analysisId, AddUserStringInputBody addUserStringInputBody) Add a user-provided string to an analysis.addUserStringToFunction(Long functionId, AddUserStringToFunctionInputBody addUserStringToFunctionInputBody) Add a user-provided string to a function.okhttp3.CalladdUserStringToFunctionAsync(Long functionId, AddUserStringToFunctionInputBody addUserStringToFunctionInputBody, ApiCallback<Map<String, Object>> _callback) Add a user-provided string to a function.okhttp3.CalladdUserStringToFunctionCall(Long functionId, AddUserStringToFunctionInputBody addUserStringToFunctionInputBody, ApiCallback _callback) Build call for addUserStringToFunctionaddUserStringToFunctionWithHttpInfo(Long functionId, AddUserStringToFunctionInputBody addUserStringToFunctionInputBody) Add a user-provided string to a function.intvoidsetApiClient(ApiClient apiClient) voidsetCustomBaseUrl(String customBaseUrl) voidsetHostIndex(int hostIndex)
-
Constructor Details
-
StringsApi
public StringsApi() -
StringsApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
getHostIndex
public int getHostIndex() -
setHostIndex
public void setHostIndex(int hostIndex) -
getCustomBaseUrl
-
setCustomBaseUrl
-
addUserStringToAnalysisCall
public okhttp3.Call addUserStringToAnalysisCall(@Nonnull Long analysisId, @Nonnull AddUserStringInputBody addUserStringInputBody, ApiCallback _callback) throws ApiException Build call for addUserStringToAnalysis- Parameters:
analysisId- Analysis ID (required)addUserStringInputBody- (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 201 Created - 403 Forbidden - 404 Not Found - 422 Unprocessable Entity - 500 Internal Server Error -
-
addUserStringToAnalysis
public Map<String,Object> addUserStringToAnalysis(@Nonnull Long analysisId, @Nonnull AddUserStringInputBody addUserStringInputBody) throws ApiException Add a user-provided string to an analysis. Attaches a user-provided string to an analysis at the given virtual address. The string is stored with source `USER` and complements strings discovered automatically during analysis. **Error codes:** - `404` [`NOT_FOUND`](/errors/NOT_FOUND) — Not Found - `403` [`ACCESS_DENIED`](/errors/ACCESS_DENIED) — Access Denied- Parameters:
analysisId- Analysis ID (required)addUserStringInputBody- (required)- Returns:
- Map<String, Object>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 201 Created - 403 Forbidden - 404 Not Found - 422 Unprocessable Entity - 500 Internal Server Error -
-
addUserStringToAnalysisWithHttpInfo
public ApiResponse<Map<String,Object>> addUserStringToAnalysisWithHttpInfo(@Nonnull Long analysisId, @Nonnull AddUserStringInputBody addUserStringInputBody) throws ApiException Add a user-provided string to an analysis. Attaches a user-provided string to an analysis at the given virtual address. The string is stored with source `USER` and complements strings discovered automatically during analysis. **Error codes:** - `404` [`NOT_FOUND`](/errors/NOT_FOUND) — Not Found - `403` [`ACCESS_DENIED`](/errors/ACCESS_DENIED) — Access Denied- Parameters:
analysisId- Analysis ID (required)addUserStringInputBody- (required)- Returns:
- ApiResponse<Map<String, Object>>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 201 Created - 403 Forbidden - 404 Not Found - 422 Unprocessable Entity - 500 Internal Server Error -
-
addUserStringToAnalysisAsync
public okhttp3.Call addUserStringToAnalysisAsync(@Nonnull Long analysisId, @Nonnull AddUserStringInputBody addUserStringInputBody, ApiCallback<Map<String, Object>> _callback) throws ApiExceptionAdd a user-provided string to an analysis. (asynchronously) Attaches a user-provided string to an analysis at the given virtual address. The string is stored with source `USER` and complements strings discovered automatically during analysis. **Error codes:** - `404` [`NOT_FOUND`](/errors/NOT_FOUND) — Not Found - `403` [`ACCESS_DENIED`](/errors/ACCESS_DENIED) — Access Denied- Parameters:
analysisId- Analysis ID (required)addUserStringInputBody- (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 201 Created - 403 Forbidden - 404 Not Found - 422 Unprocessable Entity - 500 Internal Server Error -
-
addUserStringToFunctionCall
public okhttp3.Call addUserStringToFunctionCall(@Nonnull Long functionId, @Nonnull AddUserStringToFunctionInputBody addUserStringToFunctionInputBody, ApiCallback _callback) throws ApiException Build call for addUserStringToFunction- Parameters:
functionId- Function ID (required)addUserStringToFunctionInputBody- (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 201 Created - 403 Forbidden - 404 Not Found - 422 Unprocessable Entity - 500 Internal Server Error -
-
addUserStringToFunction
public Map<String,Object> addUserStringToFunction(@Nonnull Long functionId, @Nonnull AddUserStringToFunctionInputBody addUserStringToFunctionInputBody) throws ApiException Add a user-provided string to a function. Attaches a user-provided string to a function at the given virtual address. The string is stored with source `USER` and complements strings discovered automatically during analysis. **Error codes:** - `404` [`NOT_FOUND`](/errors/NOT_FOUND) — Not Found - `403` [`ACCESS_DENIED`](/errors/ACCESS_DENIED) — Access Denied- Parameters:
functionId- Function ID (required)addUserStringToFunctionInputBody- (required)- Returns:
- Map<String, Object>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 201 Created - 403 Forbidden - 404 Not Found - 422 Unprocessable Entity - 500 Internal Server Error -
-
addUserStringToFunctionWithHttpInfo
public ApiResponse<Map<String,Object>> addUserStringToFunctionWithHttpInfo(@Nonnull Long functionId, @Nonnull AddUserStringToFunctionInputBody addUserStringToFunctionInputBody) throws ApiException Add a user-provided string to a function. Attaches a user-provided string to a function at the given virtual address. The string is stored with source `USER` and complements strings discovered automatically during analysis. **Error codes:** - `404` [`NOT_FOUND`](/errors/NOT_FOUND) — Not Found - `403` [`ACCESS_DENIED`](/errors/ACCESS_DENIED) — Access Denied- Parameters:
functionId- Function ID (required)addUserStringToFunctionInputBody- (required)- Returns:
- ApiResponse<Map<String, Object>>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 201 Created - 403 Forbidden - 404 Not Found - 422 Unprocessable Entity - 500 Internal Server Error -
-
addUserStringToFunctionAsync
public okhttp3.Call addUserStringToFunctionAsync(@Nonnull Long functionId, @Nonnull AddUserStringToFunctionInputBody addUserStringToFunctionInputBody, ApiCallback<Map<String, Object>> _callback) throws ApiExceptionAdd a user-provided string to a function. (asynchronously) Attaches a user-provided string to a function at the given virtual address. The string is stored with source `USER` and complements strings discovered automatically during analysis. **Error codes:** - `404` [`NOT_FOUND`](/errors/NOT_FOUND) — Not Found - `403` [`ACCESS_DENIED`](/errors/ACCESS_DENIED) — Access Denied- Parameters:
functionId- Function ID (required)addUserStringToFunctionInputBody- (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 201 Created - 403 Forbidden - 404 Not Found - 422 Unprocessable Entity - 500 Internal Server Error -
-