Skip to content

Commit 9d3b0da

Browse files
committed
Regenerate client
1 parent ff7b3cb commit 9d3b0da

File tree

95 files changed

+5324
-555
lines changed

Some content is hidden

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

95 files changed

+5324
-555
lines changed

src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/GetClusterSettingsRequest.g.cs

Lines changed: 21 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,13 @@ public sealed partial class GetClusterSettingsRequestParameters : Elastic.Transp
3434

3535
/// <summary>
3636
/// <para>
37-
/// If <c>true</c>, also returns default values for all other cluster settings, reflecting the values
38-
/// in the <c>elasticsearch.yml</c> file of one of the nodes in the cluster. If the nodes in your
39-
/// cluster do not all have the same values in their <c>elasticsearch.yml</c> config files then the
40-
/// values returned by this API may vary from invocation to invocation and may not reflect the
41-
/// values that Elasticsearch uses in all situations. Use the <c>GET _nodes/settings</c> API to
42-
/// fetch the settings for each individual node in your cluster.
37+
/// If <c>true</c>, also returns the values of all other cluster settings set in the
38+
/// <c>elasticsearch.yml</c> file on one of the nodes in your cluster, together with the default
39+
/// values of all other cluster settings on that node. The default value of each setting may
40+
/// depend on the values of other settings on that node. If the nodes in your cluster do not all
41+
/// have the same configuration then the values returned by this API may vary from invocation to
42+
/// invocation and may not reflect the values that Elasticsearch uses in all situations. Use the
43+
/// <c>GET _nodes/settings</c> API to fetch the settings for each individual node in your cluster.
4344
/// </para>
4445
/// </summary>
4546
public bool? IncludeDefaults { get => Q<bool?>("include_defaults"); set => Q("include_defaults", value); }
@@ -99,12 +100,13 @@ internal GetClusterSettingsRequest(Elastic.Clients.Elasticsearch.Serialization.J
99100

100101
/// <summary>
101102
/// <para>
102-
/// If <c>true</c>, also returns default values for all other cluster settings, reflecting the values
103-
/// in the <c>elasticsearch.yml</c> file of one of the nodes in the cluster. If the nodes in your
104-
/// cluster do not all have the same values in their <c>elasticsearch.yml</c> config files then the
105-
/// values returned by this API may vary from invocation to invocation and may not reflect the
106-
/// values that Elasticsearch uses in all situations. Use the <c>GET _nodes/settings</c> API to
107-
/// fetch the settings for each individual node in your cluster.
103+
/// If <c>true</c>, also returns the values of all other cluster settings set in the
104+
/// <c>elasticsearch.yml</c> file on one of the nodes in your cluster, together with the default
105+
/// values of all other cluster settings on that node. The default value of each setting may
106+
/// depend on the values of other settings on that node. If the nodes in your cluster do not all
107+
/// have the same configuration then the values returned by this API may vary from invocation to
108+
/// invocation and may not reflect the values that Elasticsearch uses in all situations. Use the
109+
/// <c>GET _nodes/settings</c> API to fetch the settings for each individual node in your cluster.
108110
/// </para>
109111
/// </summary>
110112
public bool? IncludeDefaults { get => Q<bool?>("include_defaults"); set => Q("include_defaults", value); }
@@ -165,12 +167,13 @@ public Elastic.Clients.Elasticsearch.Cluster.GetClusterSettingsRequestDescriptor
165167

166168
/// <summary>
167169
/// <para>
168-
/// If <c>true</c>, also returns default values for all other cluster settings, reflecting the values
169-
/// in the <c>elasticsearch.yml</c> file of one of the nodes in the cluster. If the nodes in your
170-
/// cluster do not all have the same values in their <c>elasticsearch.yml</c> config files then the
171-
/// values returned by this API may vary from invocation to invocation and may not reflect the
172-
/// values that Elasticsearch uses in all situations. Use the <c>GET _nodes/settings</c> API to
173-
/// fetch the settings for each individual node in your cluster.
170+
/// If <c>true</c>, also returns the values of all other cluster settings set in the
171+
/// <c>elasticsearch.yml</c> file on one of the nodes in your cluster, together with the default
172+
/// values of all other cluster settings on that node. The default value of each setting may
173+
/// depend on the values of other settings on that node. If the nodes in your cluster do not all
174+
/// have the same configuration then the values returned by this API may vary from invocation to
175+
/// invocation and may not reflect the values that Elasticsearch uses in all situations. Use the
176+
/// <c>GET _nodes/settings</c> API to fetch the settings for each individual node in your cluster.
174177
/// </para>
175178
/// </summary>
176179
public Elastic.Clients.Elasticsearch.Cluster.GetClusterSettingsRequestDescriptor IncludeDefaults(bool? value = true)

src/Elastic.Clients.Elasticsearch/_Generated/Api/Esql/AsyncQueryRequest.Converters.g.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public override Elastic.Clients.Elasticsearch.Esql.AsyncQueryRequest Read(ref Sy
4949
LocalJsonValue<Elastic.Clients.Elasticsearch.Duration?> propKeepAlive = default;
5050
LocalJsonValue<bool?> propKeepOnCompletion = default;
5151
LocalJsonValue<string?> propLocale = default;
52-
LocalJsonValue<System.Collections.Generic.ICollection<Elastic.Clients.Elasticsearch.FieldValue>?> propParams = default;
52+
LocalJsonValue<Elastic.Clients.Elasticsearch.Union<System.Collections.Generic.ICollection<System.Collections.Generic.ICollection<Elastic.Clients.Elasticsearch.FieldValue>>, System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<string, System.Collections.Generic.ICollection<Elastic.Clients.Elasticsearch.FieldValue>>>>?> propParams = default;
5353
LocalJsonValue<bool?> propProfile = default;
5454
LocalJsonValue<string?> propProjectRouting = default;
5555
LocalJsonValue<string> propQuery = default;
@@ -92,7 +92,7 @@ public override Elastic.Clients.Elasticsearch.Esql.AsyncQueryRequest Read(ref Sy
9292
continue;
9393
}
9494

95-
if (propParams.TryReadProperty(ref reader, options, PropParams, static System.Collections.Generic.ICollection<Elastic.Clients.Elasticsearch.FieldValue>? (ref System.Text.Json.Utf8JsonReader r, System.Text.Json.JsonSerializerOptions o) => r.ReadCollectionValue<Elastic.Clients.Elasticsearch.FieldValue>(o, null)))
95+
if (propParams.TryReadProperty(ref reader, options, PropParams, static Elastic.Clients.Elasticsearch.Union<System.Collections.Generic.ICollection<System.Collections.Generic.ICollection<Elastic.Clients.Elasticsearch.FieldValue>>, System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<string, System.Collections.Generic.ICollection<Elastic.Clients.Elasticsearch.FieldValue>>>>? (ref System.Text.Json.Utf8JsonReader r, System.Text.Json.JsonSerializerOptions o) => r.ReadUnionValue<System.Collections.Generic.ICollection<System.Collections.Generic.ICollection<Elastic.Clients.Elasticsearch.FieldValue>>, System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<string, System.Collections.Generic.ICollection<Elastic.Clients.Elasticsearch.FieldValue>>>>(o, static (ref System.Text.Json.Utf8JsonReader r, System.Text.Json.JsonSerializerOptions o) => JsonUnionSelector.T1(ref r, o), static System.Collections.Generic.ICollection<System.Collections.Generic.ICollection<Elastic.Clients.Elasticsearch.FieldValue>> (ref System.Text.Json.Utf8JsonReader r, System.Text.Json.JsonSerializerOptions o) => r.ReadCollectionValue<System.Collections.Generic.ICollection<Elastic.Clients.Elasticsearch.FieldValue>>(o, static System.Collections.Generic.ICollection<Elastic.Clients.Elasticsearch.FieldValue> (ref System.Text.Json.Utf8JsonReader r, System.Text.Json.JsonSerializerOptions o) => r.ReadSingleOrManyCollectionValue<Elastic.Clients.Elasticsearch.FieldValue>(o, null)!)!, static System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<string, System.Collections.Generic.ICollection<Elastic.Clients.Elasticsearch.FieldValue>>> (ref System.Text.Json.Utf8JsonReader r, System.Text.Json.JsonSerializerOptions o) => r.ReadCollectionValue<System.Collections.Generic.KeyValuePair<string, System.Collections.Generic.ICollection<Elastic.Clients.Elasticsearch.FieldValue>>>(o, static System.Collections.Generic.KeyValuePair<string, System.Collections.Generic.ICollection<Elastic.Clients.Elasticsearch.FieldValue>> (ref System.Text.Json.Utf8JsonReader r, System.Text.Json.JsonSerializerOptions o) => r.ReadKeyValuePairValue<string, System.Collections.Generic.ICollection<Elastic.Clients.Elasticsearch.FieldValue>>(o, null, static System.Collections.Generic.ICollection<Elastic.Clients.Elasticsearch.FieldValue> (ref System.Text.Json.Utf8JsonReader r, System.Text.Json.JsonSerializerOptions o) => r.ReadSingleOrManyCollectionValue<Elastic.Clients.Elasticsearch.FieldValue>(o, null)!))!)))
9696
{
9797
continue;
9898
}
@@ -160,7 +160,7 @@ public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clien
160160
writer.WriteProperty(options, PropKeepAlive, value.KeepAlive, null, null);
161161
writer.WriteProperty(options, PropKeepOnCompletion, value.KeepOnCompletion, null, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, bool? v) => w.WriteNullableValue<bool>(o, v));
162162
writer.WriteProperty(options, PropLocale, value.Locale, null, null);
163-
writer.WriteProperty(options, PropParams, value.Params, null, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, System.Collections.Generic.ICollection<Elastic.Clients.Elasticsearch.FieldValue>? v) => w.WriteCollectionValue<Elastic.Clients.Elasticsearch.FieldValue>(o, v, null));
163+
writer.WriteProperty(options, PropParams, value.Params, null, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, Elastic.Clients.Elasticsearch.Union<System.Collections.Generic.ICollection<System.Collections.Generic.ICollection<Elastic.Clients.Elasticsearch.FieldValue>>, System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<string, System.Collections.Generic.ICollection<Elastic.Clients.Elasticsearch.FieldValue>>>>? v) => w.WriteUnionValue<System.Collections.Generic.ICollection<System.Collections.Generic.ICollection<Elastic.Clients.Elasticsearch.FieldValue>>, System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<string, System.Collections.Generic.ICollection<Elastic.Clients.Elasticsearch.FieldValue>>>>(o, v, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, System.Collections.Generic.ICollection<System.Collections.Generic.ICollection<Elastic.Clients.Elasticsearch.FieldValue>> v) => w.WriteCollectionValue<System.Collections.Generic.ICollection<Elastic.Clients.Elasticsearch.FieldValue>>(o, v, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, System.Collections.Generic.ICollection<Elastic.Clients.Elasticsearch.FieldValue> v) => w.WriteSingleOrManyCollectionValue<Elastic.Clients.Elasticsearch.FieldValue>(o, v, null)), static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<string, System.Collections.Generic.ICollection<Elastic.Clients.Elasticsearch.FieldValue>>> v) => w.WriteCollectionValue<System.Collections.Generic.KeyValuePair<string, System.Collections.Generic.ICollection<Elastic.Clients.Elasticsearch.FieldValue>>>(o, v, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, System.Collections.Generic.KeyValuePair<string, System.Collections.Generic.ICollection<Elastic.Clients.Elasticsearch.FieldValue>> v) => w.WriteKeyValuePairValue<string, System.Collections.Generic.ICollection<Elastic.Clients.Elasticsearch.FieldValue>>(o, v, null, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, System.Collections.Generic.ICollection<Elastic.Clients.Elasticsearch.FieldValue> v) => w.WriteSingleOrManyCollectionValue<Elastic.Clients.Elasticsearch.FieldValue>(o, v, null)))));
164164
writer.WriteProperty(options, PropProfile, value.Profile, null, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, bool? v) => w.WriteNullableValue<bool>(o, v));
165165
writer.WriteProperty(options, PropProjectRouting, value.ProjectRouting, null, null);
166166
writer.WriteProperty(options, PropQuery, value.Query, null, null);

src/Elastic.Clients.Elasticsearch/_Generated/Api/Esql/AsyncQueryRequest.g.cs

Lines changed: 3 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ internal AsyncQueryRequest(Elastic.Clients.Elasticsearch.Serialization.JsonConst
209209
/// To avoid any attempts of hacking or code injection, extract the values in a separate list of parameters. Use question mark placeholders (?) in the query string for each of the parameters.
210210
/// </para>
211211
/// </summary>
212-
public System.Collections.Generic.ICollection<Elastic.Clients.Elasticsearch.FieldValue>? Params { get; set; }
212+
public Elastic.Clients.Elasticsearch.Union<System.Collections.Generic.ICollection<System.Collections.Generic.ICollection<Elastic.Clients.Elasticsearch.FieldValue>>, System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<string, System.Collections.Generic.ICollection<Elastic.Clients.Elasticsearch.FieldValue>>>>? Params { get; set; }
213213

214214
/// <summary>
215215
/// <para>
@@ -459,23 +459,12 @@ public Elastic.Clients.Elasticsearch.Esql.AsyncQueryRequestDescriptor Locale(str
459459
/// To avoid any attempts of hacking or code injection, extract the values in a separate list of parameters. Use question mark placeholders (?) in the query string for each of the parameters.
460460
/// </para>
461461
/// </summary>
462-
public Elastic.Clients.Elasticsearch.Esql.AsyncQueryRequestDescriptor Params(System.Collections.Generic.ICollection<Elastic.Clients.Elasticsearch.FieldValue>? value)
462+
public Elastic.Clients.Elasticsearch.Esql.AsyncQueryRequestDescriptor Params(Elastic.Clients.Elasticsearch.Union<System.Collections.Generic.ICollection<System.Collections.Generic.ICollection<Elastic.Clients.Elasticsearch.FieldValue>>, System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<string, System.Collections.Generic.ICollection<Elastic.Clients.Elasticsearch.FieldValue>>>>? value)
463463
{
464464
Instance.Params = value;
465465
return this;
466466
}
467467

468-
/// <summary>
469-
/// <para>
470-
/// To avoid any attempts of hacking or code injection, extract the values in a separate list of parameters. Use question mark placeholders (?) in the query string for each of the parameters.
471-
/// </para>
472-
/// </summary>
473-
public Elastic.Clients.Elasticsearch.Esql.AsyncQueryRequestDescriptor Params(params Elastic.Clients.Elasticsearch.FieldValue[] values)
474-
{
475-
Instance.Params = [.. values];
476-
return this;
477-
}
478-
479468
/// <summary>
480469
/// <para>
481470
/// If provided and <c>true</c> the response will include an extra <c>profile</c> object
@@ -788,23 +777,12 @@ public Elastic.Clients.Elasticsearch.Esql.AsyncQueryRequestDescriptor<TDocument>
788777
/// To avoid any attempts of hacking or code injection, extract the values in a separate list of parameters. Use question mark placeholders (?) in the query string for each of the parameters.
789778
/// </para>
790779
/// </summary>
791-
public Elastic.Clients.Elasticsearch.Esql.AsyncQueryRequestDescriptor<TDocument> Params(System.Collections.Generic.ICollection<Elastic.Clients.Elasticsearch.FieldValue>? value)
780+
public Elastic.Clients.Elasticsearch.Esql.AsyncQueryRequestDescriptor<TDocument> Params(Elastic.Clients.Elasticsearch.Union<System.Collections.Generic.ICollection<System.Collections.Generic.ICollection<Elastic.Clients.Elasticsearch.FieldValue>>, System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<string, System.Collections.Generic.ICollection<Elastic.Clients.Elasticsearch.FieldValue>>>>? value)
792781
{
793782
Instance.Params = value;
794783
return this;
795784
}
796785

797-
/// <summary>
798-
/// <para>
799-
/// To avoid any attempts of hacking or code injection, extract the values in a separate list of parameters. Use question mark placeholders (?) in the query string for each of the parameters.
800-
/// </para>
801-
/// </summary>
802-
public Elastic.Clients.Elasticsearch.Esql.AsyncQueryRequestDescriptor<TDocument> Params(params Elastic.Clients.Elasticsearch.FieldValue[] values)
803-
{
804-
Instance.Params = [.. values];
805-
return this;
806-
}
807-
808786
/// <summary>
809787
/// <para>
810788
/// If provided and <c>true</c> the response will include an extra <c>profile</c> object

src/Elastic.Clients.Elasticsearch/_Generated/Api/LicenseManagement/PostRequest.g.cs

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ public sealed partial class PostRequestParameters : Elastic.Transport.RequestPar
2727
{
2828
/// <summary>
2929
/// <para>
30-
/// Specifies whether you acknowledge the license changes.
30+
/// To update a license, you must accept the acknowledge messages and set this parameter to <c>true</c>.
31+
/// In particular, if you are upgrading or downgrading a license, you must acknowlege the feature changes.
3132
/// </para>
3233
/// </summary>
3334
public bool? Acknowledge { get => Q<bool?>("acknowledge"); set => Q("acknowledge", value); }
@@ -85,7 +86,8 @@ internal PostRequest(Elastic.Clients.Elasticsearch.Serialization.JsonConstructor
8586

8687
/// <summary>
8788
/// <para>
88-
/// Specifies whether you acknowledge the license changes.
89+
/// To update a license, you must accept the acknowledge messages and set this parameter to <c>true</c>.
90+
/// In particular, if you are upgrading or downgrading a license, you must acknowlege the feature changes.
8991
/// </para>
9092
/// </summary>
9193
public bool? Acknowledge { get => Q<bool?>("acknowledge"); set => Q("acknowledge", value); }
@@ -148,7 +150,8 @@ public PostRequestDescriptor()
148150

149151
/// <summary>
150152
/// <para>
151-
/// Specifies whether you acknowledge the license changes.
153+
/// To update a license, you must accept the acknowledge messages and set this parameter to <c>true</c>.
154+
/// In particular, if you are upgrading or downgrading a license, you must acknowlege the feature changes.
152155
/// </para>
153156
/// </summary>
154157
public Elastic.Clients.Elasticsearch.LicenseManagement.PostRequestDescriptor Acknowledge(bool? value = true)

src/Elastic.Clients.Elasticsearch/_Generated/Api/LicenseManagement/PostStartBasicRequest.g.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public sealed partial class PostStartBasicRequestParameters : Elastic.Transport.
2727
{
2828
/// <summary>
2929
/// <para>
30-
/// Whether the user has acknowledged acknowledge messages
30+
/// To start a basic license, you must accept the acknowledge messages and set this parameter to <c>true</c>.
3131
/// </para>
3232
/// </summary>
3333
public bool? Acknowledge { get => Q<bool?>("acknowledge"); set => Q("acknowledge", value); }
@@ -88,7 +88,7 @@ internal PostStartBasicRequest(Elastic.Clients.Elasticsearch.Serialization.JsonC
8888

8989
/// <summary>
9090
/// <para>
91-
/// Whether the user has acknowledged acknowledge messages
91+
/// To start a basic license, you must accept the acknowledge messages and set this parameter to <c>true</c>.
9292
/// </para>
9393
/// </summary>
9494
public bool? Acknowledge { get => Q<bool?>("acknowledge"); set => Q("acknowledge", value); }
@@ -146,7 +146,7 @@ public PostStartBasicRequestDescriptor()
146146

147147
/// <summary>
148148
/// <para>
149-
/// Whether the user has acknowledged acknowledge messages
149+
/// To start a basic license, you must accept the acknowledge messages and set this parameter to <c>true</c>.
150150
/// </para>
151151
/// </summary>
152152
public Elastic.Clients.Elasticsearch.LicenseManagement.PostStartBasicRequestDescriptor Acknowledge(bool? value = true)

src/Elastic.Clients.Elasticsearch/_Generated/Api/LicenseManagement/PostStartTrialRequest.g.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public sealed partial class PostStartTrialRequestParameters : Elastic.Transport.
2727
{
2828
/// <summary>
2929
/// <para>
30-
/// Whether the user has acknowledged acknowledge messages
30+
/// To start a trial, you must accept the acknowledge messages and set this parameter to <c>true</c>.
3131
/// </para>
3232
/// </summary>
3333
public bool? Acknowledge { get => Q<bool?>("acknowledge"); set => Q("acknowledge", value); }
@@ -85,7 +85,7 @@ internal PostStartTrialRequest(Elastic.Clients.Elasticsearch.Serialization.JsonC
8585

8686
/// <summary>
8787
/// <para>
88-
/// Whether the user has acknowledged acknowledge messages
88+
/// To start a trial, you must accept the acknowledge messages and set this parameter to <c>true</c>.
8989
/// </para>
9090
/// </summary>
9191
public bool? Acknowledge { get => Q<bool?>("acknowledge"); set => Q("acknowledge", value); }
@@ -140,7 +140,7 @@ public PostStartTrialRequestDescriptor()
140140

141141
/// <summary>
142142
/// <para>
143-
/// Whether the user has acknowledged acknowledge messages
143+
/// To start a trial, you must accept the acknowledge messages and set this parameter to <c>true</c>.
144144
/// </para>
145145
/// </summary>
146146
public Elastic.Clients.Elasticsearch.LicenseManagement.PostStartTrialRequestDescriptor Acknowledge(bool? value = true)

0 commit comments

Comments
 (0)