/// <summary>
 /// Gets a list of recommendations associated with the specified subscription.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='featured'>
 /// If set, this API returns only the most critical recommendation among the
 /// others. Otherwise this API returns all recommendations available
 /// </param>
 /// <param name='filter'>
 /// Return only channels specified in the filter. Filter is specified by using
 /// OData syntax. Example: $filter=channels eq 'Api' or channel eq
 /// 'Notification'
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <IList <Recommendation> > GetRecommendationBySubscriptionAsync(this IRecommendationsOperations operations, bool?featured = default(bool?), string filter = default(string), CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.GetRecommendationBySubscriptionWithHttpMessagesAsync(featured, filter, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }