/// <inheritdoc /> public Task <IDeleteRoleResponse> DeleteRoleAsync(IDeleteRoleRequest request, CancellationToken cancellationToken = default(CancellationToken) ) => Dispatcher.DispatchAsync <IDeleteRoleRequest, DeleteRoleRequestParameters, DeleteRoleResponse, IDeleteRoleResponse>( request, cancellationToken, (p, d, c) => LowLevelDispatch.XpackSecurityDeleteRoleDispatchAsync <DeleteRoleResponse>(p, c) );
/// <inheritdoc/> public Task<IDeleteRoleResponse> DeleteRoleAsync(IDeleteRoleRequest request, CancellationToken cancellationToken = default(CancellationToken)) => this.Dispatcher.DispatchAsync<IDeleteRoleRequest, DeleteRoleRequestParameters, DeleteRoleResponse, IDeleteRoleResponse>( request, cancellationToken, (p, d, c) => this.LowLevelDispatch.XpackSecurityDeleteRoleDispatchAsync<DeleteRoleResponse>(p, c) );
/// <inheritdoc/> public IDeleteRoleResponse DeleteRole(IDeleteRoleRequest request) => this.Dispatcher.Dispatch<IDeleteRoleRequest, DeleteRoleRequestParameters, DeleteRoleResponse>( request, (p, d) =>this.LowLevelDispatch.XpackSecurityDeleteRoleDispatch<DeleteRoleResponse>(p) );
/// <inheritdoc /> public IDeleteRoleResponse DeleteRole(IDeleteRoleRequest request) => Dispatcher.Dispatch <IDeleteRoleRequest, DeleteRoleRequestParameters, DeleteRoleResponse>( request, (p, d) => LowLevelDispatch.XpackSecurityDeleteRoleDispatch <DeleteRoleResponse>(p) );
/// <inheritdoc /> public DeleteRoleResponse DeleteRole(IDeleteRoleRequest request) => DoRequest <IDeleteRoleRequest, DeleteRoleResponse>(request, request.RequestParameters);
/// <inheritdoc /> public Task <DeleteRoleResponse> DeleteRoleAsync(IDeleteRoleRequest request, CancellationToken ct = default) => DoRequestAsync <IDeleteRoleRequest, DeleteRoleResponse>(request, request.RequestParameters, ct);
/// <inheritdoc/> public Task <IDeleteRoleResponse> DeleteRoleAsync(IDeleteRoleRequest request) => this.Dispatcher.DispatchAsync <IDeleteRoleRequest, DeleteRoleRequestParameters, DeleteRoleResponse, IDeleteRoleResponse>( request, (p, d) => this.LowLevelDispatch.XpackSecurityDeleteRoleDispatchAsync <DeleteRoleResponse>(p) );
/// <inheritdoc/> public IDeleteRoleResponse DeleteRole(IDeleteRoleRequest request) => this.Dispatcher.Dispatch <IDeleteRoleRequest, DeleteRoleRequestParameters, DeleteRoleResponse>( request, (p, d) => this.LowLevelDispatch.ShieldDeleteRoleDispatch <DeleteRoleResponse>(p) );
public static Task <DeleteRoleResponse> DeleteRoleAsync(this IElasticClient client, IDeleteRoleRequest request, CancellationToken ct = default) => client.Security.DeleteRoleAsync(request, ct);
public static DeleteRoleResponse DeleteRole(this IElasticClient client, IDeleteRoleRequest request) => client.Security.DeleteRole(request);
/// <inheritdoc/> public Task<IDeleteRoleResponse> DeleteRoleAsync(IDeleteRoleRequest request) => this.Dispatcher.DispatchAsync<IDeleteRoleRequest, DeleteRoleRequestParameters, DeleteRoleResponse, IDeleteRoleResponse>( request, (p,d ) => this.LowLevelDispatch.XpackSecurityDeleteRoleDispatchAsync<DeleteRoleResponse>(p) );