code: public TargetsResponse getRecentTargets(BigDecimal limit) throws ApiException {
          ApiResponse<TargetsResponse> resp = getRecentTargetsWithHttpInfo(limit);
          return resp.getData();
      }
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 TargetsResponse
  @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body