Package ai.reveng.api
Class FunctionsBlockCommentsApi
java.lang.Object
ai.reveng.api.FunctionsBlockCommentsApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongenerateBlockCommentsForBlockInFunction(Integer functionId, Block block) Generate block comments for a specific block in a functionokhttp3.CallgenerateBlockCommentsForBlockInFunctionAsync(Integer functionId, Block block, ApiCallback<BaseResponseBlockCommentsGenerationForFunctionResponse> _callback) Generate block comments for a specific block in a function (asynchronously)okhttp3.CallgenerateBlockCommentsForBlockInFunctionCall(Integer functionId, Block block, ApiCallback _callback) Build call for generateBlockCommentsForBlockInFunctiongenerateBlockCommentsForBlockInFunctionWithHttpInfo(Integer functionId, Block block) Generate block comments for a specific block in a functiongenerateBlockCommentsForFunction(Integer functionId) Generate block comments for a functionokhttp3.CallgenerateBlockCommentsForFunctionAsync(Integer functionId, ApiCallback<BaseResponseBlockCommentsGenerationForFunctionResponse> _callback) Generate block comments for a function (asynchronously)okhttp3.CallgenerateBlockCommentsForFunctionCall(Integer functionId, ApiCallback _callback) Build call for generateBlockCommentsForFunctiongenerateBlockCommentsForFunctionWithHttpInfo(Integer functionId) Generate block comments for a functiongenerateOverviewCommentForFunction(Integer functionId) Generate overview comment for a functionokhttp3.CallgenerateOverviewCommentForFunctionAsync(Integer functionId, ApiCallback<BaseResponseBlockCommentsOverviewGenerationResponse> _callback) Generate overview comment for a function (asynchronously)okhttp3.CallgenerateOverviewCommentForFunctionCall(Integer functionId, ApiCallback _callback) Build call for generateOverviewCommentForFunctionGenerate overview comment for a functionintvoidsetApiClient(ApiClient apiClient) voidsetCustomBaseUrl(String customBaseUrl) voidsetHostIndex(int hostIndex)
-
Constructor Details
-
FunctionsBlockCommentsApi
public FunctionsBlockCommentsApi() -
FunctionsBlockCommentsApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
getHostIndex
public int getHostIndex() -
setHostIndex
public void setHostIndex(int hostIndex) -
getCustomBaseUrl
-
setCustomBaseUrl
-
generateBlockCommentsForBlockInFunctionCall
public okhttp3.Call generateBlockCommentsForBlockInFunctionCall(@Nonnull Integer functionId, @Nonnull Block block, ApiCallback _callback) throws ApiException Build call for generateBlockCommentsForBlockInFunction- Parameters:
functionId- (required)block- (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 200 Successful Response - 422 Invalid request parameters -
-
generateBlockCommentsForBlockInFunction
public BaseResponseBlockCommentsGenerationForFunctionResponse generateBlockCommentsForBlockInFunction(@Nonnull Integer functionId, @Nonnull Block block) throws ApiException Generate block comments for a specific block in a function- Parameters:
functionId- (required)block- (required)- Returns:
- BaseResponseBlockCommentsGenerationForFunctionResponse
- 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 200 Successful Response - 422 Invalid request parameters -
-
generateBlockCommentsForBlockInFunctionWithHttpInfo
public ApiResponse<BaseResponseBlockCommentsGenerationForFunctionResponse> generateBlockCommentsForBlockInFunctionWithHttpInfo(@Nonnull Integer functionId, @Nonnull Block block) throws ApiException Generate block comments for a specific block in a function- Parameters:
functionId- (required)block- (required)- Returns:
- ApiResponse<BaseResponseBlockCommentsGenerationForFunctionResponse>
- 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 200 Successful Response - 422 Invalid request parameters -
-
generateBlockCommentsForBlockInFunctionAsync
public okhttp3.Call generateBlockCommentsForBlockInFunctionAsync(@Nonnull Integer functionId, @Nonnull Block block, ApiCallback<BaseResponseBlockCommentsGenerationForFunctionResponse> _callback) throws ApiException Generate block comments for a specific block in a function (asynchronously)- Parameters:
functionId- (required)block- (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 200 Successful Response - 422 Invalid request parameters -
-
generateBlockCommentsForFunctionCall
public okhttp3.Call generateBlockCommentsForFunctionCall(@Nonnull Integer functionId, ApiCallback _callback) throws ApiException Build call for generateBlockCommentsForFunction- Parameters:
functionId- (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 200 Successful Response - 422 Invalid request parameters -
-
generateBlockCommentsForFunction
public BaseResponseBlockCommentsGenerationForFunctionResponse generateBlockCommentsForFunction(@Nonnull Integer functionId) throws ApiException Generate block comments for a function- Parameters:
functionId- (required)- Returns:
- BaseResponseBlockCommentsGenerationForFunctionResponse
- 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 200 Successful Response - 422 Invalid request parameters -
-
generateBlockCommentsForFunctionWithHttpInfo
public ApiResponse<BaseResponseBlockCommentsGenerationForFunctionResponse> generateBlockCommentsForFunctionWithHttpInfo(@Nonnull Integer functionId) throws ApiException Generate block comments for a function- Parameters:
functionId- (required)- Returns:
- ApiResponse<BaseResponseBlockCommentsGenerationForFunctionResponse>
- 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 200 Successful Response - 422 Invalid request parameters -
-
generateBlockCommentsForFunctionAsync
public okhttp3.Call generateBlockCommentsForFunctionAsync(@Nonnull Integer functionId, ApiCallback<BaseResponseBlockCommentsGenerationForFunctionResponse> _callback) throws ApiException Generate block comments for a function (asynchronously)- Parameters:
functionId- (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 200 Successful Response - 422 Invalid request parameters -
-
generateOverviewCommentForFunctionCall
public okhttp3.Call generateOverviewCommentForFunctionCall(@Nonnull Integer functionId, ApiCallback _callback) throws ApiException Build call for generateOverviewCommentForFunction- Parameters:
functionId- (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 200 Successful Response - 422 Invalid request parameters -
-
generateOverviewCommentForFunction
public BaseResponseBlockCommentsOverviewGenerationResponse generateOverviewCommentForFunction(@Nonnull Integer functionId) throws ApiException Generate overview comment for a function- Parameters:
functionId- (required)- Returns:
- BaseResponseBlockCommentsOverviewGenerationResponse
- 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 200 Successful Response - 422 Invalid request parameters -
-
generateOverviewCommentForFunctionWithHttpInfo
public ApiResponse<BaseResponseBlockCommentsOverviewGenerationResponse> generateOverviewCommentForFunctionWithHttpInfo(@Nonnull Integer functionId) throws ApiException Generate overview comment for a function- Parameters:
functionId- (required)- Returns:
- ApiResponse<BaseResponseBlockCommentsOverviewGenerationResponse>
- 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 200 Successful Response - 422 Invalid request parameters -
-
generateOverviewCommentForFunctionAsync
public okhttp3.Call generateOverviewCommentForFunctionAsync(@Nonnull Integer functionId, ApiCallback<BaseResponseBlockCommentsOverviewGenerationResponse> _callback) throws ApiException Generate overview comment for a function (asynchronously)- Parameters:
functionId- (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 200 Successful Response - 422 Invalid request parameters -
-