-
Notifications
You must be signed in to change notification settings - Fork 1.2k
/
Copy pathElasticsearchClient.DanglingIndices.g.cs
124 lines (111 loc) · 6.56 KB
/
ElasticsearchClient.DanglingIndices.g.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
// Licensed to Elasticsearch B.V under one or more agreements.
// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information.
//
// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗
// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝
// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗
// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝
// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗
// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝
// ------------------------------------------------
//
// This file is automatically generated.
// Please do not edit these files manually.
//
// ------------------------------------------------
#nullable restore
using System;
using System.Threading;
using System.Threading.Tasks;
namespace Elastic.Clients.Elasticsearch.DanglingIndices;
public partial class DanglingIndicesNamespacedClient : NamespacedClientProxy
{
/// <summary>
/// Initializes a new instance of the <see cref="DanglingIndicesNamespacedClient"/> class for mocking.
/// </summary>
protected DanglingIndicesNamespacedClient() : base()
{
}
internal DanglingIndicesNamespacedClient(ElasticsearchClient client) : base(client)
{
}
/// <summary>
/// <para>Returns all dangling indices.</para>
/// <para><see href="https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-gateway-dangling-indices.html">Learn more about this API in the Elasticsearch documentation.</see></para>
/// </summary>
public virtual ListDanglingIndicesResponse ListDanglingIndices(ListDanglingIndicesRequest request)
{
request.BeforeRequest();
return DoRequest<ListDanglingIndicesRequest, ListDanglingIndicesResponse, ListDanglingIndicesRequestParameters>(request);
}
/// <summary>
/// <para>Returns all dangling indices.</para>
/// <para><see href="https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-gateway-dangling-indices.html">Learn more about this API in the Elasticsearch documentation.</see></para>
/// </summary>
public virtual Task<ListDanglingIndicesResponse> ListDanglingIndicesAsync(ListDanglingIndicesRequest request, CancellationToken cancellationToken = default)
{
request.BeforeRequest();
return DoRequestAsync<ListDanglingIndicesRequest, ListDanglingIndicesResponse, ListDanglingIndicesRequestParameters>(request, cancellationToken);
}
/// <summary>
/// <para>Returns all dangling indices.</para>
/// <para><see href="https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-gateway-dangling-indices.html">Learn more about this API in the Elasticsearch documentation.</see></para>
/// </summary>
public virtual ListDanglingIndicesResponse ListDanglingIndices()
{
var descriptor = new ListDanglingIndicesRequestDescriptor();
descriptor.BeforeRequest();
return DoRequest<ListDanglingIndicesRequestDescriptor, ListDanglingIndicesResponse, ListDanglingIndicesRequestParameters>(descriptor);
}
/// <summary>
/// <para>Returns all dangling indices.</para>
/// <para><see href="https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-gateway-dangling-indices.html">Learn more about this API in the Elasticsearch documentation.</see></para>
/// </summary>
public virtual ListDanglingIndicesResponse ListDanglingIndices(ListDanglingIndicesRequestDescriptor descriptor)
{
descriptor.BeforeRequest();
return DoRequest<ListDanglingIndicesRequestDescriptor, ListDanglingIndicesResponse, ListDanglingIndicesRequestParameters>(descriptor);
}
/// <summary>
/// <para>Returns all dangling indices.</para>
/// <para><see href="https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-gateway-dangling-indices.html">Learn more about this API in the Elasticsearch documentation.</see></para>
/// </summary>
public virtual ListDanglingIndicesResponse ListDanglingIndices(Action<ListDanglingIndicesRequestDescriptor> configureRequest)
{
var descriptor = new ListDanglingIndicesRequestDescriptor();
configureRequest?.Invoke(descriptor);
descriptor.BeforeRequest();
return DoRequest<ListDanglingIndicesRequestDescriptor, ListDanglingIndicesResponse, ListDanglingIndicesRequestParameters>(descriptor);
}
/// <summary>
/// <para>Returns all dangling indices.</para>
/// <para><see href="https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-gateway-dangling-indices.html">Learn more about this API in the Elasticsearch documentation.</see></para>
/// </summary>
public virtual Task<ListDanglingIndicesResponse> ListDanglingIndicesAsync(CancellationToken cancellationToken = default)
{
var descriptor = new ListDanglingIndicesRequestDescriptor();
descriptor.BeforeRequest();
return DoRequestAsync<ListDanglingIndicesRequestDescriptor, ListDanglingIndicesResponse, ListDanglingIndicesRequestParameters>(descriptor, cancellationToken);
}
/// <summary>
/// <para>Returns all dangling indices.</para>
/// <para><see href="https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-gateway-dangling-indices.html">Learn more about this API in the Elasticsearch documentation.</see></para>
/// </summary>
public virtual Task<ListDanglingIndicesResponse> ListDanglingIndicesAsync(ListDanglingIndicesRequestDescriptor descriptor, CancellationToken cancellationToken = default)
{
descriptor.BeforeRequest();
return DoRequestAsync<ListDanglingIndicesRequestDescriptor, ListDanglingIndicesResponse, ListDanglingIndicesRequestParameters>(descriptor, cancellationToken);
}
/// <summary>
/// <para>Returns all dangling indices.</para>
/// <para><see href="https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-gateway-dangling-indices.html">Learn more about this API in the Elasticsearch documentation.</see></para>
/// </summary>
public virtual Task<ListDanglingIndicesResponse> ListDanglingIndicesAsync(Action<ListDanglingIndicesRequestDescriptor> configureRequest, CancellationToken cancellationToken = default)
{
var descriptor = new ListDanglingIndicesRequestDescriptor();
configureRequest?.Invoke(descriptor);
descriptor.BeforeRequest();
return DoRequestAsync<ListDanglingIndicesRequestDescriptor, ListDanglingIndicesResponse, ListDanglingIndicesRequestParameters>(descriptor, cancellationToken);
}
}