code: public SearchResult<Target> getPersonalFavorites(int limit) throws WorkspaceApiException {
          try {
              TargetsResponse resp = targetsApi.getPersonalFavorites(limit > 0? new BigDecimal(limit): null);
              Util.throwIfNotOk(resp.getStatus());
              
              TargetsResponseData data = resp.getData();
              int total = 0;
              List<Target> list = new ArrayList<>();
              if(data != null) {
                  total = data.getTotalMatches();
                  if(data.getTargets() != null) {
                      for (com.genesys.internal.workspace.model.Target t : data.getTargets()) {
                          Target target = Target.fromTarget(t);
                          list.add(target);
                      }
                  }
              }
  
              return new SearchResult<>(total, list);
          }
          catch(ApiException ex) {
              throw new WorkspaceApiException("Cannot personal favorites", ex);
          }
      }
docs: Get the agent's personal favorites.
  @param limit Number of results to return. The default value is 50. (optional)
  @return SearchResult<Target>