/// <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='flag'>
 /// </param>
 /// <param name='value'>
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <object> GetAsync(this IAgingRecords operations, string type, string year, string flag, string value, CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.GetWithHttpMessagesAsync(type, year, flag, value, 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='flag'>
 /// </param>
 /// <param name='value'>
 /// </param>
 public static object Get(this IAgingRecords operations, string type, string year, string flag, string value)
 {
     return(operations.GetAsync(type, year, flag, value).GetAwaiter().GetResult());
 }