/// <inheritdoc /> public PutRoleResponse PutRole(IPutRoleRequest request) => DoRequest <IPutRoleRequest, PutRoleResponse>(request, request.RequestParameters);
/// <inheritdoc /> public Task <PutRoleResponse> PutRoleAsync(IPutRoleRequest request, CancellationToken ct = default) => DoRequestAsync <IPutRoleRequest, PutRoleResponse>(request, request.RequestParameters, ct);
/// <inheritdoc/> public IPutRoleResponse PutRole(IPutRoleRequest request) => this.Dispatcher.Dispatch<IPutRoleRequest, PutRoleRequestParameters, PutRoleResponse>( request, this.LowLevelDispatch.XpackSecurityPutRoleDispatch<PutRoleResponse> );
/// <inheritdoc/> public Task<IPutRoleResponse> PutRoleAsync(IPutRoleRequest request) => this.Dispatcher.DispatchAsync<IPutRoleRequest, PutRoleRequestParameters, PutRoleResponse, IPutRoleResponse>( request, this.LowLevelDispatch.XpackSecurityPutRoleDispatchAsync<PutRoleResponse> );
/// <inheritdoc /> public IPutRoleResponse PutRole(IPutRoleRequest request) => Dispatcher.Dispatch <IPutRoleRequest, PutRoleRequestParameters, PutRoleResponse>( request, LowLevelDispatch.XpackSecurityPutRoleDispatch <PutRoleResponse> );
/// <inheritdoc /> public Task <IPutRoleResponse> PutRoleAsync(IPutRoleRequest request, CancellationToken cancellationToken = default(CancellationToken)) => Dispatcher.DispatchAsync <IPutRoleRequest, PutRoleRequestParameters, PutRoleResponse, IPutRoleResponse>( request, cancellationToken, LowLevelDispatch.XpackSecurityPutRoleDispatchAsync <PutRoleResponse> );
public static Task <PutRoleResponse> PutRoleAsync(this IElasticClient client, IPutRoleRequest request, CancellationToken ct = default) => client.Security.PutRoleAsync(request, ct);
public static PutRoleResponse PutRole(this IElasticClient client, IPutRoleRequest request) => client.Security.PutRole(request);
/// <inheritdoc/> public Task <IPutRoleResponse> PutRoleAsync(IPutRoleRequest request) => this.Dispatcher.DispatchAsync <IPutRoleRequest, PutRoleRequestParameters, PutRoleResponse, IPutRoleResponse>( request, this.LowLevelDispatch.XpackSecurityPutRoleDispatchAsync <PutRoleResponse> );
/// <inheritdoc/> public Task<IPutRoleResponse> PutRoleAsync(IPutRoleRequest request, CancellationToken cancellationToken = default(CancellationToken)) => this.Dispatcher.DispatchAsync<IPutRoleRequest, PutRoleRequestParameters, PutRoleResponse, IPutRoleResponse>( request, cancellationToken, this.LowLevelDispatch.XpackSecurityPutRoleDispatchAsync<PutRoleResponse> );
/// <inheritdoc/> public IPutRoleResponse PutRole(IPutRoleRequest request) => this.Dispatcher.Dispatch <IPutRoleRequest, PutRoleRequestParameters, PutRoleResponse>( request, this.LowLevelDispatch.ShieldPutRoleDispatch <PutRoleResponse> );