code: public ApiSuccessResponse addRecentTarget(RecentTargetData recentTargetData) throws ApiException {
          ApiResponse<ApiSuccessResponse> resp = addRecentTargetWithHttpInfo(recentTargetData);
          return resp.getData();
      }
docs: Add a target
  Add a target that the agent recently used.
  @param recentTargetData  (required)
  @return ApiSuccessResponse
  @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body