code: public ServiceFuture<NewsModel> categoryAsync(CategoryOptionalParameter categoryOptionalParameter, final ServiceCallback<NewsModel> serviceCallback) {
          return ServiceFuture.fromResponse(categoryWithServiceResponseAsync(categoryOptionalParameter), serviceCallback);
      }
docs: The News Category API lets lets you search on Bing and get back a list of top news articles by category. This section provides technical details about the query parameters and headers that you use to request news and the JSON response objects that contain them.  For examples that show how to make requests, see [Searching the web for news](https://docs.microsoft.com/en-us/azure/cognitive-services/bing-news-search/search-the-web).
  
  @param categoryOptionalParameter the object representing the optional parameters to be set before calling this API
  @param serviceCallback the async ServiceCallback to handle successful and failed responses.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the {@link ServiceFuture} object