code: public ListSavedSearchResponse listSavedSearches() throws ApiException {
  
  
      Object localVarPostBody = null;
  
      // create path and map variables
      String localVarPath = "/v2/alerts/saved-searches";
  
      // query params
      List<Pair> localVarQueryParams = new ArrayList<Pair>();
      Map<String, String> localVarHeaderParams = new HashMap<String, String>();
      Map<String, Object> localVarFormParams = new HashMap<String, Object>();
  
  
      final String[] localVarAccepts = {
              "application/json"
      };
      final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts);
  
      final String[] localVarContentTypes = {
  
      };
      final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);
  
      String[] localVarAuthNames = new String[]{"GenieKey"};
  
      GenericType<ListSavedSearchResponse> localVarReturnType = new GenericType<ListSavedSearchResponse>() {
      };
      return apiClient.invokeAPI(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType);
    }
docs: Lists Saved Searches
  List all saved searches
  
  @return ListSavedSearchResponse
  @throws ApiException if fails to make API call