/// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='type'>
 /// Possible values include: 'Aging', 'InReview', 'AgingDataByType',
 /// 'AgingDataByFlags', 'InReviewData', 'InReviewLackData'
 /// </param>
 /// <param name='year'>
 /// </param>
 /// <param name='flags'>
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <object> GetAsync(this IAgingReports operations, string type, string year, string flags = default(string), CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.GetWithHttpMessagesAsync(type, year, flags, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='type'>
 /// Possible values include: 'Aging', 'InReview', 'AgingDataByType',
 /// 'AgingDataByFlags', 'InReviewData', 'InReviewLackData'
 /// </param>
 /// <param name='year'>
 /// </param>
 /// <param name='flags'>
 /// </param>
 public static object Get(this IAgingReports operations, string type, string year, string flags = default(string))
 {
     return(operations.GetAsync(type, year, flags).GetAwaiter().GetResult());
 }