code: public Observable<TrendingVideos> trendingAsync(TrendingOptionalParameter trendingOptionalParameter) {
          return trendingWithServiceResponseAsync(trendingOptionalParameter).map(new Func1<ServiceResponse<TrendingVideos>, TrendingVideos>() {
              @Override
              public TrendingVideos call(ServiceResponse<TrendingVideos> response) {
                  return response.body();
              }
          });
      }
docs: The Video Trending Search API lets you search on Bing and get back a list of videos that are trending based on search requests made by others. The videos are broken out into different categories. For example, Top Music Videos. For a list of markets that support trending videos, see [Trending Videos](https://docs.microsoft.com/azure/cognitive-services/bing-video-search/trending-videos).
  
  @param trendingOptionalParameter the object representing the optional parameters to be set before calling this API
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the observable to the TrendingVideos object