code: public ApiResponse<TargetsResponse> getRecentTargetsWithHttpInfo(BigDecimal limit) throws ApiException {
          com.squareup.okhttp.Call call = getRecentTargetsValidateBeforeCall(limit, null, null);
          Type localVarReturnType = new TypeToken<TargetsResponse>(){}.getType();
          return apiClient.execute(call, localVarReturnType);
      }
docs: Get recently used targets
  Get recently used targets for the current agent.
  @param limit The number of results to return. The default value is 50. (optional)
  @return ApiResponse&lt;TargetsResponse&gt;
  @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body