Skip to content

Commit f13c767

Browse files
committed
Regenerate client using the latest spec
1 parent d06249c commit f13c767

File tree

292 files changed

+30609
-3484
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

292 files changed

+30609
-3484
lines changed

src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Cluster/AllocationExplainRequest.g.cs

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,13 @@ public sealed partial class AllocationExplainRequestParameters : RequestParamete
4545
/// </para>
4646
/// </summary>
4747
public bool? IncludeYesDecisions { get => Q<bool?>("include_yes_decisions"); set => Q("include_yes_decisions", value); }
48+
49+
/// <summary>
50+
/// <para>
51+
/// Period to wait for a connection to the master node.
52+
/// </para>
53+
/// </summary>
54+
public Elastic.Clients.Elasticsearch.Serverless.Duration? MasterTimeout { get => Q<Elastic.Clients.Elasticsearch.Serverless.Duration?>("master_timeout"); set => Q("master_timeout", value); }
4855
}
4956

5057
/// <summary>
@@ -82,6 +89,14 @@ public sealed partial class AllocationExplainRequest : PlainRequest<AllocationEx
8289
[JsonIgnore]
8390
public bool? IncludeYesDecisions { get => Q<bool?>("include_yes_decisions"); set => Q("include_yes_decisions", value); }
8491

92+
/// <summary>
93+
/// <para>
94+
/// Period to wait for a connection to the master node.
95+
/// </para>
96+
/// </summary>
97+
[JsonIgnore]
98+
public Elastic.Clients.Elasticsearch.Serverless.Duration? MasterTimeout { get => Q<Elastic.Clients.Elasticsearch.Serverless.Duration?>("master_timeout"); set => Q("master_timeout", value); }
99+
85100
/// <summary>
86101
/// <para>
87102
/// Specifies the node ID or the name of the node to only explain a shard that is currently located on the specified node.
@@ -142,6 +157,7 @@ public AllocationExplainRequestDescriptor()
142157

143158
public AllocationExplainRequestDescriptor IncludeDiskInfo(bool? includeDiskInfo = true) => Qs("include_disk_info", includeDiskInfo);
144159
public AllocationExplainRequestDescriptor IncludeYesDecisions(bool? includeYesDecisions = true) => Qs("include_yes_decisions", includeYesDecisions);
160+
public AllocationExplainRequestDescriptor MasterTimeout(Elastic.Clients.Elasticsearch.Serverless.Duration? masterTimeout) => Qs("master_timeout", masterTimeout);
145161

146162
private string? CurrentNodeValue { get; set; }
147163
private Elastic.Clients.Elasticsearch.Serverless.IndexName? IndexValue { get; set; }

src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Cluster/DeleteComponentTemplateRequest.g.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ public sealed partial class DeleteComponentTemplateRequestParameters : RequestPa
5252
/// <summary>
5353
/// <para>
5454
/// Delete component templates.
55-
/// Deletes component templates.
5655
/// Component templates are building blocks for constructing index templates that specify index mappings, settings, and aliases.
5756
/// </para>
5857
/// </summary>
@@ -92,7 +91,6 @@ public DeleteComponentTemplateRequest(Elastic.Clients.Elasticsearch.Serverless.N
9291
/// <summary>
9392
/// <para>
9493
/// Delete component templates.
95-
/// Deletes component templates.
9694
/// Component templates are building blocks for constructing index templates that specify index mappings, settings, and aliases.
9795
/// </para>
9896
/// </summary>

src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Cluster/GetComponentTemplateRequest.g.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public sealed partial class GetComponentTemplateRequestParameters : RequestParam
6666
/// <summary>
6767
/// <para>
6868
/// Get component templates.
69-
/// Retrieves information about component templates.
69+
/// Get information about component templates.
7070
/// </para>
7171
/// </summary>
7272
public sealed partial class GetComponentTemplateRequest : PlainRequest<GetComponentTemplateRequestParameters>
@@ -125,7 +125,7 @@ public GetComponentTemplateRequest(Elastic.Clients.Elasticsearch.Serverless.Name
125125
/// <summary>
126126
/// <para>
127127
/// Get component templates.
128-
/// Retrieves information about component templates.
128+
/// Get information about component templates.
129129
/// </para>
130130
/// </summary>
131131
public sealed partial class GetComponentTemplateRequestDescriptor : RequestDescriptor<GetComponentTemplateRequestDescriptor, GetComponentTemplateRequestParameters>

src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Cluster/PutComponentTemplateRequest.g.cs

Lines changed: 24 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ public sealed partial class PutComponentTemplateRequestParameters : RequestParam
5151
/// <summary>
5252
/// <para>
5353
/// Create or update a component template.
54-
/// Creates or updates a component template.
5554
/// Component templates are building blocks for constructing index templates that specify index mappings, settings, and aliases.
5655
/// </para>
5756
/// <para>
@@ -71,6 +70,13 @@ public sealed partial class PutComponentTemplateRequestParameters : RequestParam
7170
/// You can use C-style <c>/* *\/</c> block comments in component templates.
7271
/// You can include comments anywhere in the request body except before the opening curly bracket.
7372
/// </para>
73+
/// <para>
74+
/// <strong>Applying component templates</strong>
75+
/// </para>
76+
/// <para>
77+
/// You cannot directly apply a component template to a data stream or index.
78+
/// To be applied, a component template must be included in an index template's <c>composed_of</c> list.
79+
/// </para>
7480
/// </summary>
7581
public sealed partial class PutComponentTemplateRequest : PlainRequest<PutComponentTemplateRequestParameters>
7682
{
@@ -115,7 +121,7 @@ public PutComponentTemplateRequest(Elastic.Clients.Elasticsearch.Serverless.Name
115121
/// <summary>
116122
/// <para>
117123
/// Optional user metadata about the component template.
118-
/// May have any contents. This map is not automatically generated by Elasticsearch.
124+
/// It may have any contents. This map is not automatically generated by Elasticsearch.
119125
/// This information is stored in the cluster state, so keeping it short is preferable.
120126
/// To unset <c>_meta</c>, replace the template without specifying this information.
121127
/// </para>
@@ -145,7 +151,6 @@ public PutComponentTemplateRequest(Elastic.Clients.Elasticsearch.Serverless.Name
145151
/// <summary>
146152
/// <para>
147153
/// Create or update a component template.
148-
/// Creates or updates a component template.
149154
/// Component templates are building blocks for constructing index templates that specify index mappings, settings, and aliases.
150155
/// </para>
151156
/// <para>
@@ -165,6 +170,13 @@ public PutComponentTemplateRequest(Elastic.Clients.Elasticsearch.Serverless.Name
165170
/// You can use C-style <c>/* *\/</c> block comments in component templates.
166171
/// You can include comments anywhere in the request body except before the opening curly bracket.
167172
/// </para>
173+
/// <para>
174+
/// <strong>Applying component templates</strong>
175+
/// </para>
176+
/// <para>
177+
/// You cannot directly apply a component template to a data stream or index.
178+
/// To be applied, a component template must be included in an index template's <c>composed_of</c> list.
179+
/// </para>
168180
/// </summary>
169181
public sealed partial class PutComponentTemplateRequestDescriptor<TDocument> : RequestDescriptor<PutComponentTemplateRequestDescriptor<TDocument>, PutComponentTemplateRequestParameters>
170182
{
@@ -213,7 +225,7 @@ public PutComponentTemplateRequestDescriptor<TDocument> Deprecated(bool? depreca
213225
/// <summary>
214226
/// <para>
215227
/// Optional user metadata about the component template.
216-
/// May have any contents. This map is not automatically generated by Elasticsearch.
228+
/// It may have any contents. This map is not automatically generated by Elasticsearch.
217229
/// This information is stored in the cluster state, so keeping it short is preferable.
218230
/// To unset <c>_meta</c>, replace the template without specifying this information.
219231
/// </para>
@@ -310,7 +322,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o
310322
/// <summary>
311323
/// <para>
312324
/// Create or update a component template.
313-
/// Creates or updates a component template.
314325
/// Component templates are building blocks for constructing index templates that specify index mappings, settings, and aliases.
315326
/// </para>
316327
/// <para>
@@ -330,6 +341,13 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o
330341
/// You can use C-style <c>/* *\/</c> block comments in component templates.
331342
/// You can include comments anywhere in the request body except before the opening curly bracket.
332343
/// </para>
344+
/// <para>
345+
/// <strong>Applying component templates</strong>
346+
/// </para>
347+
/// <para>
348+
/// You cannot directly apply a component template to a data stream or index.
349+
/// To be applied, a component template must be included in an index template's <c>composed_of</c> list.
350+
/// </para>
333351
/// </summary>
334352
public sealed partial class PutComponentTemplateRequestDescriptor : RequestDescriptor<PutComponentTemplateRequestDescriptor, PutComponentTemplateRequestParameters>
335353
{
@@ -378,7 +396,7 @@ public PutComponentTemplateRequestDescriptor Deprecated(bool? deprecated = true)
378396
/// <summary>
379397
/// <para>
380398
/// Optional user metadata about the component template.
381-
/// May have any contents. This map is not automatically generated by Elasticsearch.
399+
/// It may have any contents. This map is not automatically generated by Elasticsearch.
382400
/// This information is stored in the cluster state, so keeping it short is preferable.
383401
/// To unset <c>_meta</c>, replace the template without specifying this information.
384402
/// </para>

src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Enrich/DeletePolicyRequest.g.cs

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,12 @@ namespace Elastic.Clients.Elasticsearch.Serverless.Enrich;
3232

3333
public sealed partial class DeletePolicyRequestParameters : RequestParameters
3434
{
35+
/// <summary>
36+
/// <para>
37+
/// Period to wait for a connection to the master node.
38+
/// </para>
39+
/// </summary>
40+
public Elastic.Clients.Elasticsearch.Serverless.Duration? MasterTimeout { get => Q<Elastic.Clients.Elasticsearch.Serverless.Duration?>("master_timeout"); set => Q("master_timeout", value); }
3541
}
3642

3743
/// <summary>
@@ -53,6 +59,14 @@ public DeletePolicyRequest(Elastic.Clients.Elasticsearch.Serverless.Name name) :
5359
internal override bool SupportsBody => false;
5460

5561
internal override string OperationName => "enrich.delete_policy";
62+
63+
/// <summary>
64+
/// <para>
65+
/// Period to wait for a connection to the master node.
66+
/// </para>
67+
/// </summary>
68+
[JsonIgnore]
69+
public Elastic.Clients.Elasticsearch.Serverless.Duration? MasterTimeout { get => Q<Elastic.Clients.Elasticsearch.Serverless.Duration?>("master_timeout"); set => Q("master_timeout", value); }
5670
}
5771

5872
/// <summary>
@@ -77,6 +91,8 @@ public DeletePolicyRequestDescriptor(Elastic.Clients.Elasticsearch.Serverless.Na
7791

7892
internal override string OperationName => "enrich.delete_policy";
7993

94+
public DeletePolicyRequestDescriptor MasterTimeout(Elastic.Clients.Elasticsearch.Serverless.Duration? masterTimeout) => Qs("master_timeout", masterTimeout);
95+
8096
public DeletePolicyRequestDescriptor Name(Elastic.Clients.Elasticsearch.Serverless.Name name)
8197
{
8298
RouteValues.Required("name", name);

src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Enrich/EnrichStatsRequest.g.cs

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,12 @@ namespace Elastic.Clients.Elasticsearch.Serverless.Enrich;
3232

3333
public sealed partial class EnrichStatsRequestParameters : RequestParameters
3434
{
35+
/// <summary>
36+
/// <para>
37+
/// Period to wait for a connection to the master node.
38+
/// </para>
39+
/// </summary>
40+
public Elastic.Clients.Elasticsearch.Serverless.Duration? MasterTimeout { get => Q<Elastic.Clients.Elasticsearch.Serverless.Duration?>("master_timeout"); set => Q("master_timeout", value); }
3541
}
3642

3743
/// <summary>
@@ -49,6 +55,14 @@ public sealed partial class EnrichStatsRequest : PlainRequest<EnrichStatsRequest
4955
internal override bool SupportsBody => false;
5056

5157
internal override string OperationName => "enrich.stats";
58+
59+
/// <summary>
60+
/// <para>
61+
/// Period to wait for a connection to the master node.
62+
/// </para>
63+
/// </summary>
64+
[JsonIgnore]
65+
public Elastic.Clients.Elasticsearch.Serverless.Duration? MasterTimeout { get => Q<Elastic.Clients.Elasticsearch.Serverless.Duration?>("master_timeout"); set => Q("master_timeout", value); }
5266
}
5367

5468
/// <summary>
@@ -73,6 +87,8 @@ public EnrichStatsRequestDescriptor()
7387

7488
internal override string OperationName => "enrich.stats";
7589

90+
public EnrichStatsRequestDescriptor MasterTimeout(Elastic.Clients.Elasticsearch.Serverless.Duration? masterTimeout) => Qs("master_timeout", masterTimeout);
91+
7692
protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings)
7793
{
7894
}

src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Enrich/ExecutePolicyRequest.g.cs

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,13 @@ namespace Elastic.Clients.Elasticsearch.Serverless.Enrich;
3232

3333
public sealed partial class ExecutePolicyRequestParameters : RequestParameters
3434
{
35+
/// <summary>
36+
/// <para>
37+
/// Period to wait for a connection to the master node.
38+
/// </para>
39+
/// </summary>
40+
public Elastic.Clients.Elasticsearch.Serverless.Duration? MasterTimeout { get => Q<Elastic.Clients.Elasticsearch.Serverless.Duration?>("master_timeout"); set => Q("master_timeout", value); }
41+
3542
/// <summary>
3643
/// <para>
3744
/// If <c>true</c>, the request blocks other enrich policy execution requests until complete.
@@ -60,6 +67,14 @@ public ExecutePolicyRequest(Elastic.Clients.Elasticsearch.Serverless.Name name)
6067

6168
internal override string OperationName => "enrich.execute_policy";
6269

70+
/// <summary>
71+
/// <para>
72+
/// Period to wait for a connection to the master node.
73+
/// </para>
74+
/// </summary>
75+
[JsonIgnore]
76+
public Elastic.Clients.Elasticsearch.Serverless.Duration? MasterTimeout { get => Q<Elastic.Clients.Elasticsearch.Serverless.Duration?>("master_timeout"); set => Q("master_timeout", value); }
77+
6378
/// <summary>
6479
/// <para>
6580
/// If <c>true</c>, the request blocks other enrich policy execution requests until complete.
@@ -91,6 +106,7 @@ public ExecutePolicyRequestDescriptor(Elastic.Clients.Elasticsearch.Serverless.N
91106

92107
internal override string OperationName => "enrich.execute_policy";
93108

109+
public ExecutePolicyRequestDescriptor MasterTimeout(Elastic.Clients.Elasticsearch.Serverless.Duration? masterTimeout) => Qs("master_timeout", masterTimeout);
94110
public ExecutePolicyRequestDescriptor WaitForCompletion(bool? waitForCompletion = true) => Qs("wait_for_completion", waitForCompletion);
95111

96112
public ExecutePolicyRequestDescriptor Name(Elastic.Clients.Elasticsearch.Serverless.Name name)

src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Enrich/GetPolicyRequest.g.cs

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,12 @@ namespace Elastic.Clients.Elasticsearch.Serverless.Enrich;
3232

3333
public sealed partial class GetPolicyRequestParameters : RequestParameters
3434
{
35+
/// <summary>
36+
/// <para>
37+
/// Period to wait for a connection to the master node.
38+
/// </para>
39+
/// </summary>
40+
public Elastic.Clients.Elasticsearch.Serverless.Duration? MasterTimeout { get => Q<Elastic.Clients.Elasticsearch.Serverless.Duration?>("master_timeout"); set => Q("master_timeout", value); }
3541
}
3642

3743
/// <summary>
@@ -57,6 +63,14 @@ public GetPolicyRequest(Elastic.Clients.Elasticsearch.Serverless.Names? name) :
5763
internal override bool SupportsBody => false;
5864

5965
internal override string OperationName => "enrich.get_policy";
66+
67+
/// <summary>
68+
/// <para>
69+
/// Period to wait for a connection to the master node.
70+
/// </para>
71+
/// </summary>
72+
[JsonIgnore]
73+
public Elastic.Clients.Elasticsearch.Serverless.Duration? MasterTimeout { get => Q<Elastic.Clients.Elasticsearch.Serverless.Duration?>("master_timeout"); set => Q("master_timeout", value); }
6074
}
6175

6276
/// <summary>
@@ -85,6 +99,8 @@ public GetPolicyRequestDescriptor()
8599

86100
internal override string OperationName => "enrich.get_policy";
87101

102+
public GetPolicyRequestDescriptor MasterTimeout(Elastic.Clients.Elasticsearch.Serverless.Duration? masterTimeout) => Qs("master_timeout", masterTimeout);
103+
88104
public GetPolicyRequestDescriptor Name(Elastic.Clients.Elasticsearch.Serverless.Names? name)
89105
{
90106
RouteValues.Optional("name", name);

src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Enrich/PutPolicyRequest.g.cs

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,12 @@ namespace Elastic.Clients.Elasticsearch.Serverless.Enrich;
3232

3333
public sealed partial class PutPolicyRequestParameters : RequestParameters
3434
{
35+
/// <summary>
36+
/// <para>
37+
/// Period to wait for a connection to the master node.
38+
/// </para>
39+
/// </summary>
40+
public Elastic.Clients.Elasticsearch.Serverless.Duration? MasterTimeout { get => Q<Elastic.Clients.Elasticsearch.Serverless.Duration?>("master_timeout"); set => Q("master_timeout", value); }
3541
}
3642

3743
/// <summary>
@@ -54,6 +60,14 @@ public PutPolicyRequest(Elastic.Clients.Elasticsearch.Serverless.Name name) : ba
5460

5561
internal override string OperationName => "enrich.put_policy";
5662

63+
/// <summary>
64+
/// <para>
65+
/// Period to wait for a connection to the master node.
66+
/// </para>
67+
/// </summary>
68+
[JsonIgnore]
69+
public Elastic.Clients.Elasticsearch.Serverless.Duration? MasterTimeout { get => Q<Elastic.Clients.Elasticsearch.Serverless.Duration?>("master_timeout"); set => Q("master_timeout", value); }
70+
5771
/// <summary>
5872
/// <para>
5973
/// Matches enrich data to incoming documents based on a <c>geo_shape</c> query.
@@ -101,6 +115,8 @@ public PutPolicyRequestDescriptor(Elastic.Clients.Elasticsearch.Serverless.Name
101115

102116
internal override string OperationName => "enrich.put_policy";
103117

118+
public PutPolicyRequestDescriptor<TDocument> MasterTimeout(Elastic.Clients.Elasticsearch.Serverless.Duration? masterTimeout) => Qs("master_timeout", masterTimeout);
119+
104120
public PutPolicyRequestDescriptor<TDocument> Name(Elastic.Clients.Elasticsearch.Serverless.Name name)
105121
{
106122
RouteValues.Required("name", name);
@@ -281,6 +297,8 @@ public PutPolicyRequestDescriptor(Elastic.Clients.Elasticsearch.Serverless.Name
281297

282298
internal override string OperationName => "enrich.put_policy";
283299

300+
public PutPolicyRequestDescriptor MasterTimeout(Elastic.Clients.Elasticsearch.Serverless.Duration? masterTimeout) => Qs("master_timeout", masterTimeout);
301+
284302
public PutPolicyRequestDescriptor Name(Elastic.Clients.Elasticsearch.Serverless.Name name)
285303
{
286304
RouteValues.Required("name", name);

0 commit comments

Comments
 (0)