/// <inheritdoc cref="ClearSqlCursor(System.Func{Nest.ClearSqlCursorDescriptor,Nest.IClearSqlCursorRequest})" />
 public Task <IClearSqlCursorResponse> ClearSqlCursorAsync(IClearSqlCursorRequest request,
                                                           CancellationToken cancellationToken = default(CancellationToken)
                                                           ) =>
 Dispatcher.DispatchAsync <IClearSqlCursorRequest, ClearSqlCursorRequestParameters, ClearSqlCursorResponse, IClearSqlCursorResponse>(
     request,
     cancellationToken,
     (p, d, c) => LowLevelDispatch.XpackSqlClearCursorDispatchAsync <ClearSqlCursorResponse>(p, d, c)
     );
 /// <summary>
 /// <c>POST</c> request to the <c>sql.clear_cursor</c> API, read more about this API online:
 /// <para></para>
 /// <a href = "https://www.elastic.co/guide/en/elasticsearch/reference/current/sql-pagination.html">https://www.elastic.co/guide/en/elasticsearch/reference/current/sql-pagination.html</a>
 /// </summary>
 public Task <ClearSqlCursorResponse> ClearCursorAsync(IClearSqlCursorRequest request, CancellationToken ct = default) => DoRequestAsync <IClearSqlCursorRequest, ClearSqlCursorResponse>(request, request.RequestParameters, ct);
 /// <summary>
 /// <c>POST</c> request to the <c>sql.clear_cursor</c> API, read more about this API online:
 /// <para></para>
 /// <a href = "https://www.elastic.co/guide/en/elasticsearch/reference/current/sql-pagination.html">https://www.elastic.co/guide/en/elasticsearch/reference/current/sql-pagination.html</a>
 /// </summary>
 public ClearSqlCursorResponse ClearCursor(IClearSqlCursorRequest request) => DoRequest <IClearSqlCursorRequest, ClearSqlCursorResponse>(request, request.RequestParameters);
 public static Task <ClearSqlCursorResponse> ClearSqlCursorAsync(this IElasticClient client, IClearSqlCursorRequest request,
                                                                 CancellationToken ct = default
                                                                 )
 => client.Sql.ClearCursorAsync(request, ct);
 public static ClearSqlCursorResponse ClearSqlCursor(this IElasticClient client, IClearSqlCursorRequest request)
 => client.Sql.ClearCursor(request);
 /// <inheritdoc cref="ClearSqlCursor(System.Func{Nest.ClearSqlCursorDescriptor,Nest.IClearSqlCursorRequest})" />
 public IClearSqlCursorResponse ClearSqlCursor(IClearSqlCursorRequest request) =>
 Dispatcher.Dispatch <IClearSqlCursorRequest, ClearSqlCursorRequestParameters, ClearSqlCursorResponse>(
     request,
     (p, d) => LowLevelDispatch.XpackSqlClearCursorDispatch <ClearSqlCursorResponse>(p, d)
     );