/// <summary>
 /// Lists the reservations details for provided date range.
 /// <see href="https://docs.microsoft.com/en-us/rest/api/consumption/" />
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='reservationOrderId'>
 /// Order Id of the reservation
 /// </param>
 /// <param name='reservationId'>
 /// Id of the reservation
 /// </param>
 /// <param name='filter'>
 /// Filter reservation details by date range. The properties/UsageDate for
 /// start date and end date. The filter supports 'le' and  'ge'
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <IPage <ReservationDetails> > ListByReservationOrderAndReservationAsync(this IReservationsDetailsOperations operations, string reservationOrderId, string reservationId, string filter, CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.ListByReservationOrderAndReservationWithHttpMessagesAsync(reservationOrderId, reservationId, filter, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }