/// <summary>
 /// Lists all billingPermissions for the caller has for a Invoice Section.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='billingAccountName'>
 /// billing Account Id.
 /// </param>
 /// <param name='invoiceSectionName'>
 /// InvoiceSection Id.
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <BillingPermissionsListResult> ListAsync(this IInvoiceSectionsBillingPermissionsOperations operations, string billingAccountName, string invoiceSectionName, CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.ListWithHttpMessagesAsync(billingAccountName, invoiceSectionName, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }
 /// <summary>
 /// Lists all billingPermissions for the caller has for a Invoice Section.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='billingAccountName'>
 /// billing Account Id.
 /// </param>
 /// <param name='invoiceSectionName'>
 /// InvoiceSection Id.
 /// </param>
 public static BillingPermissionsListResult List(this IInvoiceSectionsBillingPermissionsOperations operations, string billingAccountName, string invoiceSectionName)
 {
     return(operations.ListAsync(billingAccountName, invoiceSectionName).GetAwaiter().GetResult());
 }