From 3e532796fd13f650e37c9fd764d0dfeecc57d6f4 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 27 Sep 2024 11:45:52 +0200 Subject: [PATCH 01/25] Fix (de-)serialization of `Fields` in custom converters (#8360) (#8364) Co-authored-by: Florian Bernd --- .../Api/AsyncSearch/SubmitAsyncSearchRequest.g.cs | 2 +- .../_Generated/Api/SearchRequest.g.cs | 2 +- .../_Generated/Types/Core/MSearch/MultisearchBody.g.cs | 5 +++-- .../_Generated/Types/Core/Search/SourceFilter.g.cs | 10 ++++++---- .../Core/Infer/Field/Field.cs | 2 +- .../Core/Infer/Fields/Fields.cs | 2 +- .../Api/AsyncSearch/SubmitAsyncSearchRequest.g.cs | 2 +- .../_Generated/Api/SearchRequest.g.cs | 2 +- .../_Generated/Types/Core/MSearch/MultisearchBody.g.cs | 5 +++-- .../_Generated/Types/Core/Search/SourceFilter.g.cs | 10 ++++++---- 10 files changed, 24 insertions(+), 18 deletions(-) diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/AsyncSearch/SubmitAsyncSearchRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/AsyncSearch/SubmitAsyncSearchRequest.g.cs index eaa612fb23a..3619775104c 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/AsyncSearch/SubmitAsyncSearchRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/AsyncSearch/SubmitAsyncSearchRequest.g.cs @@ -606,7 +606,7 @@ public override void Write(Utf8JsonWriter writer, SubmitAsyncSearchRequest value if (value.StoredFields is not null) { writer.WritePropertyName("stored_fields"); - JsonSerializer.Serialize(writer, value.StoredFields, options); + new FieldsConverter().Write(writer, value.StoredFields, options); } if (value.Suggest is not null) diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SearchRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SearchRequest.g.cs index a117fb67133..43b83d2d913 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SearchRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SearchRequest.g.cs @@ -660,7 +660,7 @@ public override void Write(Utf8JsonWriter writer, SearchRequest value, JsonSeria if (value.StoredFields is not null) { writer.WritePropertyName("stored_fields"); - JsonSerializer.Serialize(writer, value.StoredFields, options); + new FieldsConverter().Write(writer, value.StoredFields, options); } if (value.Suggest is not null) diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Core/MSearch/MultisearchBody.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Core/MSearch/MultisearchBody.g.cs index 7d80571faa9..e3593c503c5 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Core/MSearch/MultisearchBody.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Core/MSearch/MultisearchBody.g.cs @@ -185,7 +185,8 @@ public override MultisearchBody Read(ref Utf8JsonReader reader, Type typeToConve if (property == "stored_fields") { - variant.StoredFields = JsonSerializer.Deserialize(ref reader, options); + reader.Read(); + variant.StoredFields = new FieldsConverter().Read(ref reader, typeToConvert, options); continue; } @@ -380,7 +381,7 @@ public override void Write(Utf8JsonWriter writer, MultisearchBody value, JsonSer if (value.StoredFields is not null) { writer.WritePropertyName("stored_fields"); - JsonSerializer.Serialize(writer, value.StoredFields, options); + new FieldsConverter().Write(writer, value.StoredFields, options); } if (value.Suggest is not null) diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Core/Search/SourceFilter.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Core/Search/SourceFilter.g.cs index 6a454e55072..476fc65d917 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Core/Search/SourceFilter.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Core/Search/SourceFilter.g.cs @@ -41,13 +41,15 @@ public override SourceFilter Read(ref Utf8JsonReader reader, Type typeToConvert, var property = reader.GetString(); if (property == "excludes" || property == "exclude") { - variant.Excludes = JsonSerializer.Deserialize(ref reader, options); + reader.Read(); + variant.Excludes = new FieldsConverter().Read(ref reader, typeToConvert, options); continue; } if (property == "includes" || property == "include") { - variant.Includes = JsonSerializer.Deserialize(ref reader, options); + reader.Read(); + variant.Includes = new FieldsConverter().Read(ref reader, typeToConvert, options); continue; } } @@ -62,13 +64,13 @@ public override void Write(Utf8JsonWriter writer, SourceFilter value, JsonSerial if (value.Excludes is not null) { writer.WritePropertyName("excludes"); - JsonSerializer.Serialize(writer, value.Excludes, options); + new FieldsConverter().Write(writer, value.Excludes, options); } if (value.Includes is not null) { writer.WritePropertyName("includes"); - JsonSerializer.Serialize(writer, value.Includes, options); + new FieldsConverter().Write(writer, value.Includes, options); } writer.WriteEndObject(); diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Core/Infer/Field/Field.cs b/src/Elastic.Clients.Elasticsearch.Shared/Core/Infer/Field/Field.cs index 6ecff34ef00..2b0aef9bd91 100644 --- a/src/Elastic.Clients.Elasticsearch.Shared/Core/Infer/Field/Field.cs +++ b/src/Elastic.Clients.Elasticsearch.Shared/Core/Infer/Field/Field.cs @@ -20,7 +20,7 @@ namespace Elastic.Clients.Elasticsearch; #endif [JsonConverter(typeof(FieldConverter))] -[DebuggerDisplay($"{nameof(DebuggerDisplay)},nq")] +[DebuggerDisplay($"{{{nameof(DebuggerDisplay)},nq}}")] public sealed class Field : IEquatable, IUrlParameter diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Core/Infer/Fields/Fields.cs b/src/Elastic.Clients.Elasticsearch.Shared/Core/Infer/Fields/Fields.cs index 0112a9e2f2b..cf610735c72 100644 --- a/src/Elastic.Clients.Elasticsearch.Shared/Core/Infer/Fields/Fields.cs +++ b/src/Elastic.Clients.Elasticsearch.Shared/Core/Infer/Fields/Fields.cs @@ -18,7 +18,7 @@ namespace Elastic.Clients.Elasticsearch.Serverless; namespace Elastic.Clients.Elasticsearch; #endif -[DebuggerDisplay($"{nameof(DebuggerDisplay)},nq")] +[DebuggerDisplay($"{{{nameof(DebuggerDisplay)},nq}}")] public sealed class Fields : IEquatable, IEnumerable, diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/SubmitAsyncSearchRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/SubmitAsyncSearchRequest.g.cs index 9b8f681bf1b..aa79a1aaf15 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/SubmitAsyncSearchRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/SubmitAsyncSearchRequest.g.cs @@ -606,7 +606,7 @@ public override void Write(Utf8JsonWriter writer, SubmitAsyncSearchRequest value if (value.StoredFields is not null) { writer.WritePropertyName("stored_fields"); - JsonSerializer.Serialize(writer, value.StoredFields, options); + new FieldsConverter().Write(writer, value.StoredFields, options); } if (value.Suggest is not null) diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchRequest.g.cs index c0126e9aec1..2f7583f26a0 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchRequest.g.cs @@ -669,7 +669,7 @@ public override void Write(Utf8JsonWriter writer, SearchRequest value, JsonSeria if (value.StoredFields is not null) { writer.WritePropertyName("stored_fields"); - JsonSerializer.Serialize(writer, value.StoredFields, options); + new FieldsConverter().Write(writer, value.StoredFields, options); } if (value.Suggest is not null) diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/MSearch/MultisearchBody.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/MSearch/MultisearchBody.g.cs index eba508a1054..1cac0049899 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/MSearch/MultisearchBody.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/MSearch/MultisearchBody.g.cs @@ -185,7 +185,8 @@ public override MultisearchBody Read(ref Utf8JsonReader reader, Type typeToConve if (property == "stored_fields") { - variant.StoredFields = JsonSerializer.Deserialize(ref reader, options); + reader.Read(); + variant.StoredFields = new FieldsConverter().Read(ref reader, typeToConvert, options); continue; } @@ -380,7 +381,7 @@ public override void Write(Utf8JsonWriter writer, MultisearchBody value, JsonSer if (value.StoredFields is not null) { writer.WritePropertyName("stored_fields"); - JsonSerializer.Serialize(writer, value.StoredFields, options); + new FieldsConverter().Write(writer, value.StoredFields, options); } if (value.Suggest is not null) diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/Search/SourceFilter.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/Search/SourceFilter.g.cs index 64dbc8a8257..ecf27ebf675 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/Search/SourceFilter.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/Search/SourceFilter.g.cs @@ -41,13 +41,15 @@ public override SourceFilter Read(ref Utf8JsonReader reader, Type typeToConvert, var property = reader.GetString(); if (property == "excludes" || property == "exclude") { - variant.Excludes = JsonSerializer.Deserialize(ref reader, options); + reader.Read(); + variant.Excludes = new FieldsConverter().Read(ref reader, typeToConvert, options); continue; } if (property == "includes" || property == "include") { - variant.Includes = JsonSerializer.Deserialize(ref reader, options); + reader.Read(); + variant.Includes = new FieldsConverter().Read(ref reader, typeToConvert, options); continue; } } @@ -62,13 +64,13 @@ public override void Write(Utf8JsonWriter writer, SourceFilter value, JsonSerial if (value.Excludes is not null) { writer.WritePropertyName("excludes"); - JsonSerializer.Serialize(writer, value.Excludes, options); + new FieldsConverter().Write(writer, value.Excludes, options); } if (value.Includes is not null) { writer.WritePropertyName("includes"); - JsonSerializer.Serialize(writer, value.Includes, options); + new FieldsConverter().Write(writer, value.Includes, options); } writer.WriteEndObject(); From 6bb513bab3e827feb0a002a972da76a0eb4a324a Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 27 Sep 2024 11:46:06 +0200 Subject: [PATCH 02/25] Introduce `DictionaryResponse.Values` (#8361) (#8366) Co-authored-by: Florian Bernd --- .../Core/Response/DictionaryResponse.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Core/Response/DictionaryResponse.cs b/src/Elastic.Clients.Elasticsearch.Shared/Core/Response/DictionaryResponse.cs index 1ad8146c5c6..63e3e4630db 100644 --- a/src/Elastic.Clients.Elasticsearch.Shared/Core/Response/DictionaryResponse.cs +++ b/src/Elastic.Clients.Elasticsearch.Shared/Core/Response/DictionaryResponse.cs @@ -4,6 +4,7 @@ using System; using System.Collections.Generic; + using Elastic.Transport.Products.Elasticsearch; #if ELASTICSEARCH_SERVERLESS @@ -25,4 +26,8 @@ internal DictionaryResponse(IReadOnlyDictionary dictionary) internal DictionaryResponse() => BackingDictionary = EmptyReadOnly.Dictionary; protected IReadOnlyDictionary BackingDictionary { get; } + + // TODO: Remove after exposing the values in the derived responses + [Obsolete("Temporary workaround. This field will be removed in the future and replaced by custom accessors in the derived classes.")] + public IReadOnlyDictionary Values => BackingDictionary; } From f9d28ca17881570e362ab251c49fbad0b913e946 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 27 Sep 2024 11:48:37 +0200 Subject: [PATCH 03/25] Synchronize `DefaultFieldNameInferrer` and `PropertyNamingPolicy` (#8362) (#8368) Co-authored-by: Florian Bernd --- .../Core/Configuration/ElasticsearchClientSettings.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Core/Configuration/ElasticsearchClientSettings.cs b/src/Elastic.Clients.Elasticsearch.Shared/Core/Configuration/ElasticsearchClientSettings.cs index 9be4f8fb4c2..cce890562f2 100644 --- a/src/Elastic.Clients.Elasticsearch.Shared/Core/Configuration/ElasticsearchClientSettings.cs +++ b/src/Elastic.Clients.Elasticsearch.Shared/Core/Configuration/ElasticsearchClientSettings.cs @@ -133,7 +133,7 @@ protected ElasticsearchClientSettingsBase( _sourceSerializer = sourceSerializerFactory?.Invoke(sourceSerializer, this) ?? sourceSerializer; _propertyMappingProvider = propertyMappingProvider ?? sourceSerializer as IPropertyMappingProvider ?? new DefaultPropertyMappingProvider(); - _defaultFieldNameInferrer = p => p.ToCamelCase(); + _defaultFieldNameInferrer = (_sourceSerializer is DefaultSourceSerializer dfs) ? p => dfs.Options?.PropertyNamingPolicy?.ConvertName(p) ?? p : p => p.ToCamelCase(); _defaultIndices = new FluentDictionary(); _defaultRelationNames = new FluentDictionary(); _inferrer = new Inferrer(this); From 209187c4a99a0bdc72e9474a8c9931e5d1cd7899 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 30 Sep 2024 10:44:01 +0200 Subject: [PATCH 04/25] Regenerate client using the latest specification (#8369) (#8371) Co-authored-by: Florian Bernd --- .../Api/Cluster/HealthResponse.g.cs | 8 + .../_Generated/Api/Esql/EsqlQueryRequest.g.cs | 8 +- .../IndexManagement/GetDataStreamRequest.g.cs | 16 + .../IndexManagement/ResolveIndexRequest.g.cs | 36 + .../Api/Ingest/PutPipelineRequest.g.cs | 47 + .../Api/OpenPointInTimeRequest.g.cs | 116 +- .../Api/OpenPointInTimeResponse.g.cs | 8 + .../_Generated/Api/SearchRequest.g.cs | 116 -- .../_Generated/Api/Sql/QueryRequest.g.cs | 8 +- .../Api/Xpack/XpackInfoRequest.g.cs | 6 +- .../Client/ElasticsearchClient.Ingest.g.cs | 50 +- .../Aggregations/AggregateDictionary.g.cs | 8 + .../Aggregations/TimeSeriesAggregate.g.cs | 36 + .../Types/Aggregations/TimeSeriesBucket.g.cs | 87 ++ .../Types/Analysis/ClassicTokenizer.g.cs | 90 ++ .../Types/Analysis/EdgeNGramTokenizer.g.cs | 14 +- .../Analysis/KeywordMarkerTokenFilter.g.cs | 3 +- .../Types/Analysis/KeywordTokenizer.g.cs | 14 +- .../Types/Analysis/NGramTokenizer.g.cs | 14 +- .../Analysis/SimplePatternSplitTokenizer.g.cs | 90 ++ .../Analysis/SimplePatternTokenizer.g.cs | 90 ++ .../Types/Analysis/ThaiTokenizer.g.cs | 73 ++ .../_Generated/Types/Analysis/Tokenizers.g.cs | 32 + .../_Generated/Types/Cluster/CurrentNode.g.cs | 2 + .../Types/Cluster/IndexHealthStats.g.cs | 2 + .../Cluster/NodeAllocationExplanation.g.cs | 2 + .../Types/Cluster/ShardHealthStats.g.cs | 2 + .../Core/Search/AggregationProfileDebug.g.cs | 8 + .../Types/Core/Search/DfsKnnProfile.g.cs | 40 + .../Types/Core/Search/DfsProfile.g.cs | 36 + .../Core/Search/DfsStatisticsBreakdown.g.cs | 48 + .../Core/Search/DfsStatisticsProfile.g.cs | 46 + .../_Generated/Types/Core/Search/Hit.g.cs | 2 +- .../Types/Core/Search/KnnCollectorResult.g.cs | 42 + .../Core/Search/KnnQueryProfileBreakdown.g.cs | 72 ++ .../Core/Search/KnnQueryProfileResult.g.cs | 46 + .../Types/Core/Search/QueryBreakdown.g.cs | 4 + .../Types/Core/Search/ShardProfile.g.cs | 10 + .../_Generated/Types/Enrich/CacheStats.g.cs | 6 + .../_Generated/Types/Enums/Enums.Esql.g.cs | 113 ++ .../_Generated/Types/Enums/Enums.Ingest.g.cs | 172 ++- .../Types/Enums/Enums.MachineLearning.g.cs | 84 +- .../_Generated/Types/Enums/Enums.Sql.g.cs | 106 ++ .../_Generated/Types/Enums/Enums.Xpack.g.cs | 78 ++ .../Types/Ingest/AppendProcessor.g.cs | 5 +- .../Types/Ingest/DotExpanderProcessor.g.cs | 50 + .../Types/Ingest/GeoGridProcessor.g.cs | 1010 +++++++++++++++++ .../Types/Ingest/GeoIpProcessor.g.cs | 47 + .../_Generated/Types/Ingest/Pipeline.g.cs | 47 + .../_Generated/Types/Ingest/Processor.g.cs | 30 + .../Types/Ingest/RedactProcessor.g.cs | 727 ++++++++++++ .../Types/Ingest/UserAgentProcessor.g.cs | 88 +- .../Types/MachineLearning/CalendarEvent.g.cs | 78 ++ .../TrainedModelDeploymentStats.g.cs | 2 +- .../Types/Mapping/BinaryProperty.g.cs | 30 - .../Types/Mapping/BooleanProperty.g.cs | 30 - .../Types/Mapping/ByteNumberProperty.g.cs | 30 - .../Types/Mapping/CompletionProperty.g.cs | 30 - .../Types/Mapping/CompositeSubField.g.cs | 59 + .../Types/Mapping/DateNanosProperty.g.cs | 30 - .../Types/Mapping/DateProperty.g.cs | 30 - .../Types/Mapping/DateRangeProperty.g.cs | 30 - .../Types/Mapping/DoubleNumberProperty.g.cs | 30 - .../Types/Mapping/DoubleRangeProperty.g.cs | 30 - .../Types/Mapping/DynamicProperty.g.cs | 30 - .../Types/Mapping/FloatNumberProperty.g.cs | 30 - .../Types/Mapping/FloatRangeProperty.g.cs | 30 - .../Types/Mapping/GeoPointProperty.g.cs | 30 - .../Types/Mapping/GeoShapeProperty.g.cs | 30 - .../Mapping/HalfFloatNumberProperty.g.cs | 30 - .../Types/Mapping/IcuCollationProperty.g.cs | 30 - .../Types/Mapping/IntegerNumberProperty.g.cs | 30 - .../Types/Mapping/IntegerRangeProperty.g.cs | 30 - .../_Generated/Types/Mapping/IpProperty.g.cs | 30 - .../Types/Mapping/IpRangeProperty.g.cs | 30 - .../Types/Mapping/LongNumberProperty.g.cs | 30 - .../Types/Mapping/LongRangeProperty.g.cs | 30 - .../Types/Mapping/Murmur3HashProperty.g.cs | 30 - .../Types/Mapping/NestedProperty.g.cs | 30 - .../Types/Mapping/ObjectProperty.g.cs | 30 - .../Types/Mapping/PointProperty.g.cs | 30 - .../Types/Mapping/RuntimeField.g.cs | 44 + .../Mapping/ScaledFloatNumberProperty.g.cs | 30 - .../Types/Mapping/ShapeProperty.g.cs | 30 - .../Types/Mapping/ShortNumberProperty.g.cs | 30 - .../Types/Mapping/TokenCountProperty.g.cs | 30 - .../Mapping/UnsignedLongNumberProperty.g.cs | 30 - .../Types/Mapping/VersionProperty.g.cs | 30 - .../Types/Mapping/WildcardProperty.g.cs | 30 - .../_Generated/Types/Nodes/Ingest.g.cs | 2 +- .../_Generated/Types/Nodes/IngestStats.g.cs | 92 ++ .../_Generated/Types/Nodes/IngestTotal.g.cs | 16 +- .../Types/QueryDsl/TermsSetQuery.g.cs | 67 +- .../_Generated/Types/Rank.g.cs | 227 ---- .../Types/Snapshot/SnapshotShardFailure.g.cs | 2 + .../Client/ElasticsearchClient.Esql.cs | 2 +- .../Api/Cluster/HealthResponse.g.cs | 8 + .../_Generated/Api/Esql/EsqlQueryRequest.g.cs | 8 +- .../IndexManagement/GetDataStreamRequest.g.cs | 16 + .../IndexManagement/ResolveIndexRequest.g.cs | 36 + .../Api/Ingest/PutPipelineRequest.g.cs | 47 + .../Api/OpenPointInTimeRequest.g.cs | 116 +- .../Api/OpenPointInTimeResponse.g.cs | 8 + .../DeleteBehavioralAnalyticsRequest.g.cs | 2 + .../DeleteSearchApplicationRequest.g.cs | 6 +- .../GetBehavioralAnalyticsRequest.g.cs | 4 +- .../GetSearchApplicationRequest.g.cs | 4 +- .../PutBehavioralAnalyticsRequest.g.cs | 4 +- .../PutSearchApplicationRequest.g.cs | 4 +- .../SearchApplicationSearchRequest.g.cs | 8 +- .../_Generated/Api/SearchShardsResponse.g.cs | 2 +- .../Api/Security/PutRoleRequest.g.cs | 160 +++ .../_Generated/Api/Sql/QueryRequest.g.cs | 8 +- .../Api/Xpack/XpackInfoRequest.g.cs | 6 +- .../Client/ElasticsearchClient.Ingest.g.cs | 100 +- ...ElasticsearchClient.SearchApplication.g.cs | 112 +- .../Aggregations/AggregateDictionary.g.cs | 8 + .../Types/Aggregations/Aggregation.g.cs | 30 + .../RandomSamplerAggregation.g.cs | 129 +++ .../Aggregations/TimeSeriesAggregate.g.cs | 36 + .../Aggregations/TimeSeriesAggregation.g.cs} | 56 +- .../Types/Aggregations/TimeSeriesBucket.g.cs | 87 ++ .../Types/Analysis/ClassicTokenizer.g.cs | 90 ++ .../Types/Analysis/EdgeNGramTokenizer.g.cs | 14 +- .../Analysis/KeywordMarkerTokenFilter.g.cs | 3 +- .../Types/Analysis/KeywordTokenizer.g.cs | 14 +- .../Types/Analysis/NGramTokenizer.g.cs | 14 +- .../Analysis/SimplePatternSplitTokenizer.g.cs | 90 ++ .../Analysis/SimplePatternTokenizer.g.cs | 90 ++ .../Types/Analysis/ThaiTokenizer.g.cs | 73 ++ .../_Generated/Types/Analysis/Tokenizers.g.cs | 32 + .../_Generated/Types/Cluster/CurrentNode.g.cs | 2 + .../Types/Cluster/IndexHealthStats.g.cs | 2 + .../Cluster/NodeAllocationExplanation.g.cs | 2 + .../Types/Cluster/ShardHealthStats.g.cs | 2 + .../Core/Search/AggregationProfileDebug.g.cs | 8 + .../Types/Core/Search/DfsKnnProfile.g.cs | 40 + .../Types/Core/Search/DfsProfile.g.cs | 36 + .../Core/Search/DfsStatisticsBreakdown.g.cs | 48 + .../Core/Search/DfsStatisticsProfile.g.cs | 46 + .../_Generated/Types/Core/Search/Hit.g.cs | 2 +- .../Types/Core/Search/KnnCollectorResult.g.cs | 42 + .../Core/Search/KnnQueryProfileBreakdown.g.cs | 72 ++ .../Core/Search/KnnQueryProfileResult.g.cs | 46 + .../Types/Core/Search/QueryBreakdown.g.cs | 4 + .../Types/Core/Search/ShardProfile.g.cs | 10 + .../SearchShardsNodeAttributes.g.cs | 73 ++ .../_Generated/Types/Enrich/CacheStats.g.cs | 6 + .../_Generated/Types/Enums/Enums.Esql.g.cs | 113 ++ .../_Generated/Types/Enums/Enums.Ingest.g.cs | 172 ++- .../Types/Enums/Enums.MachineLearning.g.cs | 84 +- .../_Generated/Types/Enums/Enums.Sql.g.cs | 106 ++ .../_Generated/Types/Enums/Enums.Xpack.g.cs | 78 ++ .../Types/Ingest/AppendProcessor.g.cs | 5 +- .../Types/Ingest/DotExpanderProcessor.g.cs | 50 + .../Types/Ingest/GeoGridProcessor.g.cs | 1010 +++++++++++++++++ .../Types/Ingest/GeoIpProcessor.g.cs | 47 + .../_Generated/Types/Ingest/Pipeline.g.cs | 47 + .../_Generated/Types/Ingest/Processor.g.cs | 30 + .../Types/Ingest/RedactProcessor.g.cs | 727 ++++++++++++ .../Types/Ingest/UserAgentProcessor.g.cs | 88 +- .../Types/MachineLearning/CalendarEvent.g.cs | 78 ++ .../TrainedModelDeploymentStats.g.cs | 2 +- .../Types/Mapping/BinaryProperty.g.cs | 30 - .../Types/Mapping/BooleanProperty.g.cs | 30 - .../Types/Mapping/ByteNumberProperty.g.cs | 30 - .../Types/Mapping/CompletionProperty.g.cs | 30 - .../Types/Mapping/CompositeSubField.g.cs | 59 + .../Types/Mapping/DateNanosProperty.g.cs | 30 - .../Types/Mapping/DateProperty.g.cs | 30 - .../Types/Mapping/DateRangeProperty.g.cs | 30 - .../Types/Mapping/DoubleNumberProperty.g.cs | 30 - .../Types/Mapping/DoubleRangeProperty.g.cs | 30 - .../Types/Mapping/DynamicProperty.g.cs | 30 - .../Types/Mapping/FloatNumberProperty.g.cs | 30 - .../Types/Mapping/FloatRangeProperty.g.cs | 30 - .../Types/Mapping/GeoPointProperty.g.cs | 30 - .../Types/Mapping/GeoShapeProperty.g.cs | 30 - .../Mapping/HalfFloatNumberProperty.g.cs | 30 - .../Types/Mapping/IcuCollationProperty.g.cs | 30 - .../Types/Mapping/IntegerNumberProperty.g.cs | 30 - .../Types/Mapping/IntegerRangeProperty.g.cs | 30 - .../_Generated/Types/Mapping/IpProperty.g.cs | 30 - .../Types/Mapping/IpRangeProperty.g.cs | 30 - .../Types/Mapping/LongNumberProperty.g.cs | 30 - .../Types/Mapping/LongRangeProperty.g.cs | 30 - .../Types/Mapping/Murmur3HashProperty.g.cs | 30 - .../Types/Mapping/NestedProperty.g.cs | 30 - .../Types/Mapping/ObjectProperty.g.cs | 30 - .../Types/Mapping/PointProperty.g.cs | 30 - .../Types/Mapping/RuntimeField.g.cs | 44 + .../Mapping/ScaledFloatNumberProperty.g.cs | 30 - .../Types/Mapping/ShapeProperty.g.cs | 30 - .../Types/Mapping/ShortNumberProperty.g.cs | 30 - .../Types/Mapping/TokenCountProperty.g.cs | 30 - .../Mapping/UnsignedLongNumberProperty.g.cs | 30 - .../Types/Mapping/VersionProperty.g.cs | 30 - .../Types/Mapping/WildcardProperty.g.cs | 30 - .../_Generated/Types/NodeAttributes.g.cs | 4 - .../_Generated/Types/Nodes/Http.g.cs | 8 + .../_Generated/Types/Nodes/HttpRoute.g.cs | 36 + .../Types/Nodes/HttpRouteRequests.g.cs | 38 + .../Types/Nodes/HttpRouteResponses.g.cs | 40 + .../_Generated/Types/Nodes/Ingest.g.cs | 2 +- .../_Generated/Types/Nodes/IngestStats.g.cs | 92 ++ .../_Generated/Types/Nodes/IngestTotal.g.cs | 16 +- .../Types/Nodes/SizeHttpHistogram.g.cs | 38 + .../Types/Nodes/TimeHttpHistogram.g.cs | 38 + .../Types/QueryDsl/TermsSetQuery.g.cs | 67 +- .../Security/RemoteIndicesPrivileges.g.cs | 363 ++++++ .../Types/Snapshot/SnapshotShardFailure.g.cs | 2 + 211 files changed, 8948 insertions(+), 2868 deletions(-) create mode 100644 src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Aggregations/TimeSeriesAggregate.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Aggregations/TimeSeriesBucket.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Analysis/ClassicTokenizer.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Analysis/SimplePatternSplitTokenizer.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Analysis/SimplePatternTokenizer.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Analysis/ThaiTokenizer.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Core/Search/DfsKnnProfile.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Core/Search/DfsProfile.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Core/Search/DfsStatisticsBreakdown.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Core/Search/DfsStatisticsProfile.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Core/Search/KnnCollectorResult.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Core/Search/KnnQueryProfileBreakdown.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Core/Search/KnnQueryProfileResult.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Enums/Enums.Esql.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Enums/Enums.Sql.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Enums/Enums.Xpack.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Ingest/GeoGridProcessor.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Ingest/RedactProcessor.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Mapping/CompositeSubField.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Nodes/IngestStats.g.cs delete mode 100644 src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Rank.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/RandomSamplerAggregation.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/TimeSeriesAggregate.g.cs rename src/{Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/RrfRank.g.cs => Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/TimeSeriesAggregation.g.cs} (51%) create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/TimeSeriesBucket.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Analysis/ClassicTokenizer.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Analysis/SimplePatternSplitTokenizer.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Analysis/SimplePatternTokenizer.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Analysis/ThaiTokenizer.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/Search/DfsKnnProfile.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/Search/DfsProfile.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/Search/DfsStatisticsBreakdown.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/Search/DfsStatisticsProfile.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/Search/KnnCollectorResult.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/Search/KnnQueryProfileBreakdown.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/Search/KnnQueryProfileResult.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/SearchShards/SearchShardsNodeAttributes.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Enums/Enums.Esql.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Enums/Enums.Sql.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Enums/Enums.Xpack.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/GeoGridProcessor.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/RedactProcessor.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Mapping/CompositeSubField.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/HttpRoute.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/HttpRouteRequests.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/HttpRouteResponses.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/IngestStats.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/SizeHttpHistogram.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/TimeHttpHistogram.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Security/RemoteIndicesPrivileges.g.cs diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Cluster/HealthResponse.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Cluster/HealthResponse.g.cs index a3fac39235a..609d064dd95 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Cluster/HealthResponse.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Cluster/HealthResponse.g.cs @@ -145,6 +145,14 @@ public sealed partial class HealthResponse : ElasticsearchResponse [JsonInclude, JsonPropertyName("timed_out")] public bool TimedOut { get; init; } + /// + /// + /// The number of primary shards that are not allocated. + /// + /// + [JsonInclude, JsonPropertyName("unassigned_primary_shards")] + public int UnassignedPrimaryShards { get; init; } + /// /// /// The number of shards that are not allocated. diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Esql/EsqlQueryRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Esql/EsqlQueryRequest.g.cs index 69b18ee8d0e..3a9c22fbcf8 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Esql/EsqlQueryRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Esql/EsqlQueryRequest.g.cs @@ -51,7 +51,7 @@ public sealed partial class EsqlQueryRequestParameters : RequestParameters /// A short version of the Accept header, e.g. json, yaml. /// /// - public string? Format { get => Q("format"); set => Q("format", value); } + public Elastic.Clients.Elasticsearch.Serverless.Esql.EsqlFormat? Format { get => Q("format"); set => Q("format", value); } } /// @@ -92,7 +92,7 @@ public sealed partial class EsqlQueryRequest : PlainRequest /// [JsonIgnore] - public string? Format { get => Q("format"); set => Q("format", value); } + public Elastic.Clients.Elasticsearch.Serverless.Esql.EsqlFormat? Format { get => Q("format"); set => Q("format", value); } /// /// @@ -163,7 +163,7 @@ public EsqlQueryRequestDescriptor() public EsqlQueryRequestDescriptor Delimiter(string? delimiter) => Qs("delimiter", delimiter); public EsqlQueryRequestDescriptor DropNullColumns(bool? dropNullColumns = true) => Qs("drop_null_columns", dropNullColumns); - public EsqlQueryRequestDescriptor Format(string? format) => Qs("format", format); + public EsqlQueryRequestDescriptor Format(Elastic.Clients.Elasticsearch.Serverless.Esql.EsqlFormat? format) => Qs("format", format); private bool? ColumnarValue { get; set; } private Elastic.Clients.Elasticsearch.Serverless.QueryDsl.Query? FilterValue { get; set; } @@ -328,7 +328,7 @@ public EsqlQueryRequestDescriptor() public EsqlQueryRequestDescriptor Delimiter(string? delimiter) => Qs("delimiter", delimiter); public EsqlQueryRequestDescriptor DropNullColumns(bool? dropNullColumns = true) => Qs("drop_null_columns", dropNullColumns); - public EsqlQueryRequestDescriptor Format(string? format) => Qs("format", format); + public EsqlQueryRequestDescriptor Format(Elastic.Clients.Elasticsearch.Serverless.Esql.EsqlFormat? format) => Qs("format", format); private bool? ColumnarValue { get; set; } private Elastic.Clients.Elasticsearch.Serverless.QueryDsl.Query? FilterValue { get; set; } diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/GetDataStreamRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/GetDataStreamRequest.g.cs index 3a26e483e8b..88efd35baf2 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/GetDataStreamRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/GetDataStreamRequest.g.cs @@ -52,6 +52,13 @@ public sealed partial class GetDataStreamRequestParameters : RequestParameters /// /// public Elastic.Clients.Elasticsearch.Serverless.Duration? MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); } + + /// + /// + /// Whether the maximum timestamp for each data stream should be calculated and returned. + /// + /// + public bool? Verbose { get => Q("verbose"); set => Q("verbose", value); } } /// @@ -102,6 +109,14 @@ public GetDataStreamRequest(Elastic.Clients.Elasticsearch.Serverless.DataStreamN /// [JsonIgnore] public Elastic.Clients.Elasticsearch.Serverless.Duration? MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); } + + /// + /// + /// Whether the maximum timestamp for each data stream should be calculated and returned. + /// + /// + [JsonIgnore] + public bool? Verbose { get => Q("verbose"); set => Q("verbose", value); } } /// @@ -133,6 +148,7 @@ public GetDataStreamRequestDescriptor() public GetDataStreamRequestDescriptor ExpandWildcards(ICollection? expandWildcards) => Qs("expand_wildcards", expandWildcards); public GetDataStreamRequestDescriptor IncludeDefaults(bool? includeDefaults = true) => Qs("include_defaults", includeDefaults); public GetDataStreamRequestDescriptor MasterTimeout(Elastic.Clients.Elasticsearch.Serverless.Duration? masterTimeout) => Qs("master_timeout", masterTimeout); + public GetDataStreamRequestDescriptor Verbose(bool? verbose = true) => Qs("verbose", verbose); public GetDataStreamRequestDescriptor Name(Elastic.Clients.Elasticsearch.Serverless.DataStreamNames? name) { diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/ResolveIndexRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/ResolveIndexRequest.g.cs index c18ffe5c104..35ff26b1dce 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/ResolveIndexRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/ResolveIndexRequest.g.cs @@ -31,6 +31,15 @@ namespace Elastic.Clients.Elasticsearch.Serverless.IndexManagement; public sealed partial class ResolveIndexRequestParameters : RequestParameters { + /// + /// + /// If false, the request returns an error if any wildcard expression, index alias, or _all value targets only missing or closed indices. + /// This behavior applies even if the request targets other open indices. + /// For example, a request targeting foo*,bar* returns an error if an index starts with foo but no index starts with bar. + /// + /// + public bool? AllowNoIndices { get => Q("allow_no_indices"); set => Q("allow_no_indices", value); } + /// /// /// Type of index that wildcard patterns can match. @@ -40,6 +49,13 @@ public sealed partial class ResolveIndexRequestParameters : RequestParameters /// /// public ICollection? ExpandWildcards { get => Q?>("expand_wildcards"); set => Q("expand_wildcards", value); } + + /// + /// + /// If false, the request returns an error if it targets a missing or closed index. + /// + /// + public bool? IgnoreUnavailable { get => Q("ignore_unavailable"); set => Q("ignore_unavailable", value); } } /// @@ -62,6 +78,16 @@ public ResolveIndexRequest(Elastic.Clients.Elasticsearch.Serverless.Names name) internal override string OperationName => "indices.resolve_index"; + /// + /// + /// If false, the request returns an error if any wildcard expression, index alias, or _all value targets only missing or closed indices. + /// This behavior applies even if the request targets other open indices. + /// For example, a request targeting foo*,bar* returns an error if an index starts with foo but no index starts with bar. + /// + /// + [JsonIgnore] + public bool? AllowNoIndices { get => Q("allow_no_indices"); set => Q("allow_no_indices", value); } + /// /// /// Type of index that wildcard patterns can match. @@ -72,6 +98,14 @@ public ResolveIndexRequest(Elastic.Clients.Elasticsearch.Serverless.Names name) /// [JsonIgnore] public ICollection? ExpandWildcards { get => Q?>("expand_wildcards"); set => Q("expand_wildcards", value); } + + /// + /// + /// If false, the request returns an error if it targets a missing or closed index. + /// + /// + [JsonIgnore] + public bool? IgnoreUnavailable { get => Q("ignore_unavailable"); set => Q("ignore_unavailable", value); } } /// @@ -96,7 +130,9 @@ public ResolveIndexRequestDescriptor(Elastic.Clients.Elasticsearch.Serverless.Na internal override string OperationName => "indices.resolve_index"; + public ResolveIndexRequestDescriptor AllowNoIndices(bool? allowNoIndices = true) => Qs("allow_no_indices", allowNoIndices); public ResolveIndexRequestDescriptor ExpandWildcards(ICollection? expandWildcards) => Qs("expand_wildcards", expandWildcards); + public ResolveIndexRequestDescriptor IgnoreUnavailable(bool? ignoreUnavailable = true) => Qs("ignore_unavailable", ignoreUnavailable); public ResolveIndexRequestDescriptor Name(Elastic.Clients.Elasticsearch.Serverless.Names name) { diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Ingest/PutPipelineRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Ingest/PutPipelineRequest.g.cs index f4488ec31d1..f4019717ca4 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Ingest/PutPipelineRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Ingest/PutPipelineRequest.g.cs @@ -97,6 +97,15 @@ public PutPipelineRequest(Elastic.Clients.Elasticsearch.Serverless.Id id) : base [JsonIgnore] public Elastic.Clients.Elasticsearch.Serverless.Duration? Timeout { get => Q("timeout"); set => Q("timeout", value); } + /// + /// + /// Marks this ingest pipeline as deprecated. + /// When a deprecated ingest pipeline is referenced as the default or final pipeline when creating or updating a non-deprecated index template, Elasticsearch will emit a deprecation warning. + /// + /// + [JsonInclude, JsonPropertyName("deprecated")] + public bool? Deprecated { get; set; } + /// /// /// Description of the ingest pipeline. @@ -170,6 +179,7 @@ public PutPipelineRequestDescriptor Id(Elastic.Clients.Elasticsearch. return Self; } + private bool? DeprecatedValue { get; set; } private string? DescriptionValue { get; set; } private IDictionary? MetaValue { get; set; } private ICollection? OnFailureValue { get; set; } @@ -182,6 +192,18 @@ public PutPipelineRequestDescriptor Id(Elastic.Clients.Elasticsearch. private Action>[] ProcessorsDescriptorActions { get; set; } private long? VersionValue { get; set; } + /// + /// + /// Marks this ingest pipeline as deprecated. + /// When a deprecated ingest pipeline is referenced as the default or final pipeline when creating or updating a non-deprecated index template, Elasticsearch will emit a deprecation warning. + /// + /// + public PutPipelineRequestDescriptor Deprecated(bool? deprecated = true) + { + DeprecatedValue = deprecated; + return Self; + } + /// /// /// Description of the ingest pipeline. @@ -300,6 +322,12 @@ public PutPipelineRequestDescriptor Version(long? version) protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) { writer.WriteStartObject(); + if (DeprecatedValue.HasValue) + { + writer.WritePropertyName("deprecated"); + writer.WriteBooleanValue(DeprecatedValue.Value); + } + if (!string.IsNullOrEmpty(DescriptionValue)) { writer.WritePropertyName("description"); @@ -416,6 +444,7 @@ public PutPipelineRequestDescriptor Id(Elastic.Clients.Elasticsearch.Serverless. return Self; } + private bool? DeprecatedValue { get; set; } private string? DescriptionValue { get; set; } private IDictionary? MetaValue { get; set; } private ICollection? OnFailureValue { get; set; } @@ -428,6 +457,18 @@ public PutPipelineRequestDescriptor Id(Elastic.Clients.Elasticsearch.Serverless. private Action[] ProcessorsDescriptorActions { get; set; } private long? VersionValue { get; set; } + /// + /// + /// Marks this ingest pipeline as deprecated. + /// When a deprecated ingest pipeline is referenced as the default or final pipeline when creating or updating a non-deprecated index template, Elasticsearch will emit a deprecation warning. + /// + /// + public PutPipelineRequestDescriptor Deprecated(bool? deprecated = true) + { + DeprecatedValue = deprecated; + return Self; + } + /// /// /// Description of the ingest pipeline. @@ -546,6 +587,12 @@ public PutPipelineRequestDescriptor Version(long? version) protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) { writer.WriteStartObject(); + if (DeprecatedValue.HasValue) + { + writer.WritePropertyName("deprecated"); + writer.WriteBooleanValue(DeprecatedValue.Value); + } + if (!string.IsNullOrEmpty(DescriptionValue)) { writer.WritePropertyName("description"); diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/OpenPointInTimeRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/OpenPointInTimeRequest.g.cs index 856765300ec..769f6db4bcb 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/OpenPointInTimeRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/OpenPointInTimeRequest.g.cs @@ -90,7 +90,7 @@ public OpenPointInTimeRequest(Elastic.Clients.Elasticsearch.Serverless.Indices i protected override HttpMethod StaticHttpMethod => HttpMethod.POST; - internal override bool SupportsBody => false; + internal override bool SupportsBody => true; internal override string OperationName => "open_point_in_time"; @@ -136,6 +136,14 @@ public OpenPointInTimeRequest(Elastic.Clients.Elasticsearch.Serverless.Indices i /// [JsonIgnore] public Elastic.Clients.Elasticsearch.Serverless.Routing? Routing { get => Q("routing"); set => Q("routing", value); } + + /// + /// + /// Allows to filter indices if the provided query rewrites to match_none on every shard. + /// + /// + [JsonInclude, JsonPropertyName("index_filter")] + public Elastic.Clients.Elasticsearch.Serverless.QueryDsl.Query? IndexFilter { get; set; } } /// @@ -164,7 +172,7 @@ public OpenPointInTimeRequestDescriptor() : this(typeof(TDocument)) protected override HttpMethod StaticHttpMethod => HttpMethod.POST; - internal override bool SupportsBody => false; + internal override bool SupportsBody => true; internal override string OperationName => "open_point_in_time"; @@ -180,8 +188,59 @@ public OpenPointInTimeRequestDescriptor Indices(Elastic.Clients.Elast return Self; } + private Elastic.Clients.Elasticsearch.Serverless.QueryDsl.Query? IndexFilterValue { get; set; } + private Elastic.Clients.Elasticsearch.Serverless.QueryDsl.QueryDescriptor IndexFilterDescriptor { get; set; } + private Action> IndexFilterDescriptorAction { get; set; } + + /// + /// + /// Allows to filter indices if the provided query rewrites to match_none on every shard. + /// + /// + public OpenPointInTimeRequestDescriptor IndexFilter(Elastic.Clients.Elasticsearch.Serverless.QueryDsl.Query? indexFilter) + { + IndexFilterDescriptor = null; + IndexFilterDescriptorAction = null; + IndexFilterValue = indexFilter; + return Self; + } + + public OpenPointInTimeRequestDescriptor IndexFilter(Elastic.Clients.Elasticsearch.Serverless.QueryDsl.QueryDescriptor descriptor) + { + IndexFilterValue = null; + IndexFilterDescriptorAction = null; + IndexFilterDescriptor = descriptor; + return Self; + } + + public OpenPointInTimeRequestDescriptor IndexFilter(Action> configure) + { + IndexFilterValue = null; + IndexFilterDescriptor = null; + IndexFilterDescriptorAction = configure; + return Self; + } + protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) { + writer.WriteStartObject(); + if (IndexFilterDescriptor is not null) + { + writer.WritePropertyName("index_filter"); + JsonSerializer.Serialize(writer, IndexFilterDescriptor, options); + } + else if (IndexFilterDescriptorAction is not null) + { + writer.WritePropertyName("index_filter"); + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.Serverless.QueryDsl.QueryDescriptor(IndexFilterDescriptorAction), options); + } + else if (IndexFilterValue is not null) + { + writer.WritePropertyName("index_filter"); + JsonSerializer.Serialize(writer, IndexFilterValue, options); + } + + writer.WriteEndObject(); } } @@ -207,7 +266,7 @@ public OpenPointInTimeRequestDescriptor(Elastic.Clients.Elasticsearch.Serverless protected override HttpMethod StaticHttpMethod => HttpMethod.POST; - internal override bool SupportsBody => false; + internal override bool SupportsBody => true; internal override string OperationName => "open_point_in_time"; @@ -223,7 +282,58 @@ public OpenPointInTimeRequestDescriptor Indices(Elastic.Clients.Elasticsearch.Se return Self; } + private Elastic.Clients.Elasticsearch.Serverless.QueryDsl.Query? IndexFilterValue { get; set; } + private Elastic.Clients.Elasticsearch.Serverless.QueryDsl.QueryDescriptor IndexFilterDescriptor { get; set; } + private Action IndexFilterDescriptorAction { get; set; } + + /// + /// + /// Allows to filter indices if the provided query rewrites to match_none on every shard. + /// + /// + public OpenPointInTimeRequestDescriptor IndexFilter(Elastic.Clients.Elasticsearch.Serverless.QueryDsl.Query? indexFilter) + { + IndexFilterDescriptor = null; + IndexFilterDescriptorAction = null; + IndexFilterValue = indexFilter; + return Self; + } + + public OpenPointInTimeRequestDescriptor IndexFilter(Elastic.Clients.Elasticsearch.Serverless.QueryDsl.QueryDescriptor descriptor) + { + IndexFilterValue = null; + IndexFilterDescriptorAction = null; + IndexFilterDescriptor = descriptor; + return Self; + } + + public OpenPointInTimeRequestDescriptor IndexFilter(Action configure) + { + IndexFilterValue = null; + IndexFilterDescriptor = null; + IndexFilterDescriptorAction = configure; + return Self; + } + protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) { + writer.WriteStartObject(); + if (IndexFilterDescriptor is not null) + { + writer.WritePropertyName("index_filter"); + JsonSerializer.Serialize(writer, IndexFilterDescriptor, options); + } + else if (IndexFilterDescriptorAction is not null) + { + writer.WritePropertyName("index_filter"); + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.Serverless.QueryDsl.QueryDescriptor(IndexFilterDescriptorAction), options); + } + else if (IndexFilterValue is not null) + { + writer.WritePropertyName("index_filter"); + JsonSerializer.Serialize(writer, IndexFilterValue, options); + } + + writer.WriteEndObject(); } } \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/OpenPointInTimeResponse.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/OpenPointInTimeResponse.g.cs index 6094b36e7d1..b31084c2922 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/OpenPointInTimeResponse.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/OpenPointInTimeResponse.g.cs @@ -30,4 +30,12 @@ public sealed partial class OpenPointInTimeResponse : ElasticsearchResponse { [JsonInclude, JsonPropertyName("id")] public string Id { get; init; } + + /// + /// + /// Shards used to create the PIT + /// + /// + [JsonInclude, JsonPropertyName("_shards")] + public Elastic.Clients.Elasticsearch.Serverless.ShardStatistics Shards { get; init; } } \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SearchRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SearchRequest.g.cs index 43b83d2d913..35976debed0 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SearchRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SearchRequest.g.cs @@ -373,12 +373,6 @@ public override SearchRequest Read(ref Utf8JsonReader reader, Type typeToConvert continue; } - if (property == "rank") - { - variant.Rank = JsonSerializer.Deserialize(ref reader, options); - continue; - } - if (property == "rescore") { variant.Rescore = JsonSerializer.Deserialize?>(ref reader, options); @@ -585,12 +579,6 @@ public override void Write(Utf8JsonWriter writer, SearchRequest value, JsonSeria JsonSerializer.Serialize(writer, value.Query, options); } - if (value.Rank is not null) - { - writer.WritePropertyName("rank"); - JsonSerializer.Serialize(writer, value.Rank, options); - } - if (value.Rescore is not null) { writer.WritePropertyName("rescore"); @@ -1128,14 +1116,6 @@ public SearchRequest(Elastic.Clients.Elasticsearch.Serverless.Indices? indices) [JsonInclude, JsonPropertyName("query")] public Elastic.Clients.Elasticsearch.Serverless.QueryDsl.Query? Query { get; set; } - /// - /// - /// Defines the Reciprocal Rank Fusion (RRF) to use. - /// - /// - [JsonInclude, JsonPropertyName("rank")] - public Elastic.Clients.Elasticsearch.Serverless.Rank? Rank { get; set; } - /// /// /// Can be used to improve precision by reordering just the top (for example 100 - 500) documents returned by the query and post_filter phases. @@ -1401,9 +1381,6 @@ public SearchRequestDescriptor Indices(Elastic.Clients.Elasticsearch. private Elastic.Clients.Elasticsearch.Serverless.QueryDsl.Query? QueryValue { get; set; } private Elastic.Clients.Elasticsearch.Serverless.QueryDsl.QueryDescriptor QueryDescriptor { get; set; } private Action> QueryDescriptorAction { get; set; } - private Elastic.Clients.Elasticsearch.Serverless.Rank? RankValue { get; set; } - private Elastic.Clients.Elasticsearch.Serverless.RankDescriptor RankDescriptor { get; set; } - private Action RankDescriptorAction { get; set; } private ICollection? RescoreValue { get; set; } private Elastic.Clients.Elasticsearch.Serverless.Core.Search.RescoreDescriptor RescoreDescriptor { get; set; } private Action> RescoreDescriptorAction { get; set; } @@ -1790,35 +1767,6 @@ public SearchRequestDescriptor Query(Action - /// - /// Defines the Reciprocal Rank Fusion (RRF) to use. - /// - /// - public SearchRequestDescriptor Rank(Elastic.Clients.Elasticsearch.Serverless.Rank? rank) - { - RankDescriptor = null; - RankDescriptorAction = null; - RankValue = rank; - return Self; - } - - public SearchRequestDescriptor Rank(Elastic.Clients.Elasticsearch.Serverless.RankDescriptor descriptor) - { - RankValue = null; - RankDescriptorAction = null; - RankDescriptor = descriptor; - return Self; - } - - public SearchRequestDescriptor Rank(Action configure) - { - RankValue = null; - RankDescriptor = null; - RankDescriptorAction = configure; - return Self; - } - /// /// /// Can be used to improve precision by reordering just the top (for example 100 - 500) documents returned by the query and post_filter phases. @@ -2367,22 +2315,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o JsonSerializer.Serialize(writer, QueryValue, options); } - if (RankDescriptor is not null) - { - writer.WritePropertyName("rank"); - JsonSerializer.Serialize(writer, RankDescriptor, options); - } - else if (RankDescriptorAction is not null) - { - writer.WritePropertyName("rank"); - JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.Serverless.RankDescriptor(RankDescriptorAction), options); - } - else if (RankValue is not null) - { - writer.WritePropertyName("rank"); - JsonSerializer.Serialize(writer, RankValue, options); - } - if (RescoreDescriptor is not null) { writer.WritePropertyName("rescore"); @@ -2668,9 +2600,6 @@ public SearchRequestDescriptor Indices(Elastic.Clients.Elasticsearch.Serverless. private Elastic.Clients.Elasticsearch.Serverless.QueryDsl.Query? QueryValue { get; set; } private Elastic.Clients.Elasticsearch.Serverless.QueryDsl.QueryDescriptor QueryDescriptor { get; set; } private Action QueryDescriptorAction { get; set; } - private Elastic.Clients.Elasticsearch.Serverless.Rank? RankValue { get; set; } - private Elastic.Clients.Elasticsearch.Serverless.RankDescriptor RankDescriptor { get; set; } - private Action RankDescriptorAction { get; set; } private ICollection? RescoreValue { get; set; } private Elastic.Clients.Elasticsearch.Serverless.Core.Search.RescoreDescriptor RescoreDescriptor { get; set; } private Action RescoreDescriptorAction { get; set; } @@ -3057,35 +2986,6 @@ public SearchRequestDescriptor Query(Action - /// - /// Defines the Reciprocal Rank Fusion (RRF) to use. - /// - /// - public SearchRequestDescriptor Rank(Elastic.Clients.Elasticsearch.Serverless.Rank? rank) - { - RankDescriptor = null; - RankDescriptorAction = null; - RankValue = rank; - return Self; - } - - public SearchRequestDescriptor Rank(Elastic.Clients.Elasticsearch.Serverless.RankDescriptor descriptor) - { - RankValue = null; - RankDescriptorAction = null; - RankDescriptor = descriptor; - return Self; - } - - public SearchRequestDescriptor Rank(Action configure) - { - RankValue = null; - RankDescriptor = null; - RankDescriptorAction = configure; - return Self; - } - /// /// /// Can be used to improve precision by reordering just the top (for example 100 - 500) documents returned by the query and post_filter phases. @@ -3634,22 +3534,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o JsonSerializer.Serialize(writer, QueryValue, options); } - if (RankDescriptor is not null) - { - writer.WritePropertyName("rank"); - JsonSerializer.Serialize(writer, RankDescriptor, options); - } - else if (RankDescriptorAction is not null) - { - writer.WritePropertyName("rank"); - JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.Serverless.RankDescriptor(RankDescriptorAction), options); - } - else if (RankValue is not null) - { - writer.WritePropertyName("rank"); - JsonSerializer.Serialize(writer, RankValue, options); - } - if (RescoreDescriptor is not null) { writer.WritePropertyName("rescore"); diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Sql/QueryRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Sql/QueryRequest.g.cs index acc10e56463..c07aacaaa31 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Sql/QueryRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Sql/QueryRequest.g.cs @@ -36,7 +36,7 @@ public sealed partial class QueryRequestParameters : RequestParameters /// Format for the response. /// /// - public string? Format { get => Q("format"); set => Q("format", value); } + public Elastic.Clients.Elasticsearch.Serverless.Sql.SqlFormat? Format { get => Q("format"); set => Q("format", value); } } /// @@ -60,7 +60,7 @@ public sealed partial class QueryRequest : PlainRequest /// /// [JsonIgnore] - public string? Format { get => Q("format"); set => Q("format", value); } + public Elastic.Clients.Elasticsearch.Serverless.Sql.SqlFormat? Format { get => Q("format"); set => Q("format", value); } /// /// @@ -215,7 +215,7 @@ public QueryRequestDescriptor() internal override string OperationName => "sql.query"; - public QueryRequestDescriptor Format(string? format) => Qs("format", format); + public QueryRequestDescriptor Format(Elastic.Clients.Elasticsearch.Serverless.Sql.SqlFormat? format) => Qs("format", format); private string? CatalogValue { get; set; } private bool? ColumnarValue { get; set; } @@ -567,7 +567,7 @@ public QueryRequestDescriptor() internal override string OperationName => "sql.query"; - public QueryRequestDescriptor Format(string? format) => Qs("format", format); + public QueryRequestDescriptor Format(Elastic.Clients.Elasticsearch.Serverless.Sql.SqlFormat? format) => Qs("format", format); private string? CatalogValue { get; set; } private bool? ColumnarValue { get; set; } diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Xpack/XpackInfoRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Xpack/XpackInfoRequest.g.cs index 87f0195bc1a..36f4e1f3351 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Xpack/XpackInfoRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Xpack/XpackInfoRequest.g.cs @@ -43,7 +43,7 @@ public sealed partial class XpackInfoRequestParameters : RequestParameters /// A comma-separated list of the information categories to include in the response. For example, build,license,features. /// /// - public ICollection? Categories { get => Q?>("categories"); set => Q("categories", value); } + public ICollection? Categories { get => Q?>("categories"); set => Q("categories", value); } } /// @@ -75,7 +75,7 @@ public sealed partial class XpackInfoRequest : PlainRequest /// [JsonIgnore] - public ICollection? Categories { get => Q?>("categories"); set => Q("categories", value); } + public ICollection? Categories { get => Q?>("categories"); set => Q("categories", value); } } /// @@ -100,7 +100,7 @@ public XpackInfoRequestDescriptor() internal override string OperationName => "xpack.info"; public XpackInfoRequestDescriptor AcceptEnterprise(bool? acceptEnterprise = true) => Qs("accept_enterprise", acceptEnterprise); - public XpackInfoRequestDescriptor Categories(ICollection? categories) => Qs("categories", categories); + public XpackInfoRequestDescriptor Categories(ICollection? categories) => Qs("categories", categories); protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) { diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.Ingest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.Ingest.g.cs index 903fa74a8f7..cdd7941b0fe 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.Ingest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.Ingest.g.cs @@ -43,7 +43,7 @@ internal IngestNamespacedClient(ElasticsearchClient client) : base(client) /// /// Deletes a geoip database configuration. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteGeoipDatabaseAsync(DeleteGeoipDatabaseRequest request, CancellationToken cancellationToken = default) { @@ -55,7 +55,7 @@ public virtual Task DeleteGeoipDatabaseAsync(Delete /// /// Deletes a geoip database configuration. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteGeoipDatabaseAsync(DeleteGeoipDatabaseRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -67,7 +67,7 @@ public virtual Task DeleteGeoipDatabaseAsync /// Deletes a geoip database configuration. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteGeoipDatabaseAsync(Elastic.Clients.Elasticsearch.Serverless.Ids id, CancellationToken cancellationToken = default) { @@ -80,7 +80,7 @@ public virtual Task DeleteGeoipDatabaseAsync /// Deletes a geoip database configuration. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteGeoipDatabaseAsync(Elastic.Clients.Elasticsearch.Serverless.Ids id, Action> configureRequest, CancellationToken cancellationToken = default) { @@ -94,7 +94,7 @@ public virtual Task DeleteGeoipDatabaseAsync /// Deletes a geoip database configuration. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteGeoipDatabaseAsync(DeleteGeoipDatabaseRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -106,7 +106,7 @@ public virtual Task DeleteGeoipDatabaseAsync(Delete /// /// Deletes a geoip database configuration. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteGeoipDatabaseAsync(Elastic.Clients.Elasticsearch.Serverless.Ids id, CancellationToken cancellationToken = default) { @@ -119,7 +119,7 @@ public virtual Task DeleteGeoipDatabaseAsync(Elasti /// /// Deletes a geoip database configuration. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteGeoipDatabaseAsync(Elastic.Clients.Elasticsearch.Serverless.Ids id, Action configureRequest, CancellationToken cancellationToken = default) { @@ -274,7 +274,7 @@ public virtual Task GeoIpStatsAsync(Action /// Returns information about one or more geoip database configurations. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task GetGeoipDatabaseAsync(GetGeoipDatabaseRequest request, CancellationToken cancellationToken = default) { @@ -286,7 +286,7 @@ public virtual Task GetGeoipDatabaseAsync(GetGeoipData /// /// Returns information about one or more geoip database configurations. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task GetGeoipDatabaseAsync(GetGeoipDatabaseRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -298,7 +298,7 @@ public virtual Task GetGeoipDatabaseAsync(G /// /// Returns information about one or more geoip database configurations. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task GetGeoipDatabaseAsync(Elastic.Clients.Elasticsearch.Serverless.Ids? id, CancellationToken cancellationToken = default) { @@ -311,7 +311,7 @@ public virtual Task GetGeoipDatabaseAsync(E /// /// Returns information about one or more geoip database configurations. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task GetGeoipDatabaseAsync(Elastic.Clients.Elasticsearch.Serverless.Ids? id, Action> configureRequest, CancellationToken cancellationToken = default) { @@ -325,7 +325,7 @@ public virtual Task GetGeoipDatabaseAsync(E /// /// Returns information about one or more geoip database configurations. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task GetGeoipDatabaseAsync(CancellationToken cancellationToken = default) { @@ -338,7 +338,7 @@ public virtual Task GetGeoipDatabaseAsync(C /// /// Returns information about one or more geoip database configurations. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task GetGeoipDatabaseAsync(Action> configureRequest, CancellationToken cancellationToken = default) { @@ -352,7 +352,7 @@ public virtual Task GetGeoipDatabaseAsync(A /// /// Returns information about one or more geoip database configurations. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task GetGeoipDatabaseAsync(GetGeoipDatabaseRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -364,7 +364,7 @@ public virtual Task GetGeoipDatabaseAsync(GetGeoipData /// /// Returns information about one or more geoip database configurations. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task GetGeoipDatabaseAsync(Elastic.Clients.Elasticsearch.Serverless.Ids? id, CancellationToken cancellationToken = default) { @@ -377,7 +377,7 @@ public virtual Task GetGeoipDatabaseAsync(Elastic.Clie /// /// Returns information about one or more geoip database configurations. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task GetGeoipDatabaseAsync(Elastic.Clients.Elasticsearch.Serverless.Ids? id, Action configureRequest, CancellationToken cancellationToken = default) { @@ -391,7 +391,7 @@ public virtual Task GetGeoipDatabaseAsync(Elastic.Clie /// /// Returns information about one or more geoip database configurations. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task GetGeoipDatabaseAsync(CancellationToken cancellationToken = default) { @@ -404,7 +404,7 @@ public virtual Task GetGeoipDatabaseAsync(Cancellation /// /// Returns information about one or more geoip database configurations. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task GetGeoipDatabaseAsync(Action configureRequest, CancellationToken cancellationToken = default) { @@ -632,7 +632,7 @@ public virtual Task ProcessorGrokAsync(Action /// Returns information about one or more geoip database configurations. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PutGeoipDatabaseAsync(PutGeoipDatabaseRequest request, CancellationToken cancellationToken = default) { @@ -644,7 +644,7 @@ public virtual Task PutGeoipDatabaseAsync(PutGeoipData /// /// Returns information about one or more geoip database configurations. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PutGeoipDatabaseAsync(PutGeoipDatabaseRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -656,7 +656,7 @@ public virtual Task PutGeoipDatabaseAsync(P /// /// Returns information about one or more geoip database configurations. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PutGeoipDatabaseAsync(Elastic.Clients.Elasticsearch.Serverless.Id id, CancellationToken cancellationToken = default) { @@ -669,7 +669,7 @@ public virtual Task PutGeoipDatabaseAsync(E /// /// Returns information about one or more geoip database configurations. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PutGeoipDatabaseAsync(Elastic.Clients.Elasticsearch.Serverless.Id id, Action> configureRequest, CancellationToken cancellationToken = default) { @@ -683,7 +683,7 @@ public virtual Task PutGeoipDatabaseAsync(E /// /// Returns information about one or more geoip database configurations. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PutGeoipDatabaseAsync(PutGeoipDatabaseRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -695,7 +695,7 @@ public virtual Task PutGeoipDatabaseAsync(PutGeoipData /// /// Returns information about one or more geoip database configurations. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PutGeoipDatabaseAsync(Elastic.Clients.Elasticsearch.Serverless.Id id, CancellationToken cancellationToken = default) { @@ -708,7 +708,7 @@ public virtual Task PutGeoipDatabaseAsync(Elastic.Clie /// /// Returns information about one or more geoip database configurations. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PutGeoipDatabaseAsync(Elastic.Clients.Elasticsearch.Serverless.Id id, Action configureRequest, CancellationToken cancellationToken = default) { diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Aggregations/AggregateDictionary.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Aggregations/AggregateDictionary.g.cs index 2201077a4d4..7f1f89d7900 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Aggregations/AggregateDictionary.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Aggregations/AggregateDictionary.g.cs @@ -101,6 +101,7 @@ public AggregateDictionary(IReadOnlyDictionary backingDictio public Elastic.Clients.Elasticsearch.Serverless.Aggregations.SumAggregate? GetSum(string key) => TryGet(key); public Elastic.Clients.Elasticsearch.Serverless.Aggregations.TDigestPercentileRanksAggregate? GetTDigestPercentileRanks(string key) => TryGet(key); public Elastic.Clients.Elasticsearch.Serverless.Aggregations.TDigestPercentilesAggregate? GetTDigestPercentiles(string key) => TryGet(key); + public Elastic.Clients.Elasticsearch.Serverless.Aggregations.TimeSeriesAggregate? GetTimeSeries(string key) => TryGet(key); public Elastic.Clients.Elasticsearch.Serverless.Aggregations.TopHitsAggregate? GetTopHits(string key) => TryGet(key); public Elastic.Clients.Elasticsearch.Serverless.Aggregations.TopMetricsAggregate? GetTopMetrics(string key) => TryGet(key); public Elastic.Clients.Elasticsearch.Serverless.Aggregations.TTestAggregate? GetTTest(string key) => TryGet(key); @@ -559,6 +560,13 @@ public static void ReadItem(ref Utf8JsonReader reader, JsonSerializerOptions opt break; } + case "time_series": + { + var item = JsonSerializer.Deserialize(ref reader, options); + dictionary.Add(nameParts[1], item); + break; + } + case "top_hits": { var item = JsonSerializer.Deserialize(ref reader, options); diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Aggregations/TimeSeriesAggregate.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Aggregations/TimeSeriesAggregate.g.cs new file mode 100644 index 00000000000..8eeb3961a76 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Aggregations/TimeSeriesAggregate.g.cs @@ -0,0 +1,36 @@ +// 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 Elastic.Clients.Elasticsearch.Serverless.Fluent; +using Elastic.Clients.Elasticsearch.Serverless.Serialization; +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +namespace Elastic.Clients.Elasticsearch.Serverless.Aggregations; + +public sealed partial class TimeSeriesAggregate : IAggregate +{ + [JsonInclude, JsonPropertyName("buckets")] + public IReadOnlyCollection Buckets { get; init; } + [JsonInclude, JsonPropertyName("meta")] + public IReadOnlyDictionary? Meta { get; init; } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Aggregations/TimeSeriesBucket.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Aggregations/TimeSeriesBucket.g.cs new file mode 100644 index 00000000000..920d0906f9c --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Aggregations/TimeSeriesBucket.g.cs @@ -0,0 +1,87 @@ +// 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 Elastic.Clients.Elasticsearch.Serverless.Fluent; +using Elastic.Clients.Elasticsearch.Serverless.Serialization; +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +namespace Elastic.Clients.Elasticsearch.Serverless.Aggregations; + +internal sealed partial class TimeSeriesBucketConverter : JsonConverter +{ + public override TimeSeriesBucket Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) + { + if (reader.TokenType != JsonTokenType.StartObject) + throw new JsonException("Unexpected JSON detected."); + long docCount = default; + IReadOnlyDictionary key = default; + Dictionary additionalProperties = null; + while (reader.Read() && reader.TokenType != JsonTokenType.EndObject) + { + if (reader.TokenType == JsonTokenType.PropertyName) + { + var property = reader.GetString(); + if (property == "doc_count") + { + docCount = JsonSerializer.Deserialize(ref reader, options); + continue; + } + + if (property == "key") + { + key = JsonSerializer.Deserialize>(ref reader, options); + continue; + } + + if (property.Contains("#")) + { + additionalProperties ??= new Dictionary(); + AggregateDictionaryConverter.ReadItem(ref reader, options, additionalProperties, property); + continue; + } + + throw new JsonException("Unknown property read from JSON."); + } + } + + return new TimeSeriesBucket { Aggregations = new Elastic.Clients.Elasticsearch.Serverless.Aggregations.AggregateDictionary(additionalProperties), DocCount = docCount, Key = key }; + } + + public override void Write(Utf8JsonWriter writer, TimeSeriesBucket value, JsonSerializerOptions options) + { + throw new NotImplementedException("'TimeSeriesBucket' is a readonly type, used only on responses and does not support being written to JSON."); + } +} + +[JsonConverter(typeof(TimeSeriesBucketConverter))] +public sealed partial class TimeSeriesBucket +{ + /// + /// + /// Nested aggregations + /// + /// + public Elastic.Clients.Elasticsearch.Serverless.Aggregations.AggregateDictionary Aggregations { get; init; } + public long DocCount { get; init; } + public IReadOnlyDictionary Key { get; init; } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Analysis/ClassicTokenizer.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Analysis/ClassicTokenizer.g.cs new file mode 100644 index 00000000000..dd3cd63d201 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Analysis/ClassicTokenizer.g.cs @@ -0,0 +1,90 @@ +// 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 Elastic.Clients.Elasticsearch.Serverless.Fluent; +using Elastic.Clients.Elasticsearch.Serverless.Serialization; +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +namespace Elastic.Clients.Elasticsearch.Serverless.Analysis; + +public sealed partial class ClassicTokenizer : ITokenizer +{ + [JsonInclude, JsonPropertyName("max_token_length")] + public int? MaxTokenLength { get; set; } + + [JsonInclude, JsonPropertyName("type")] + public string Type => "classic"; + + [JsonInclude, JsonPropertyName("version")] + public string? Version { get; set; } +} + +public sealed partial class ClassicTokenizerDescriptor : SerializableDescriptor, IBuildableDescriptor +{ + internal ClassicTokenizerDescriptor(Action configure) => configure.Invoke(this); + + public ClassicTokenizerDescriptor() : base() + { + } + + private int? MaxTokenLengthValue { get; set; } + private string? VersionValue { get; set; } + + public ClassicTokenizerDescriptor MaxTokenLength(int? maxTokenLength) + { + MaxTokenLengthValue = maxTokenLength; + return Self; + } + + public ClassicTokenizerDescriptor Version(string? version) + { + VersionValue = version; + return Self; + } + + protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) + { + writer.WriteStartObject(); + if (MaxTokenLengthValue.HasValue) + { + writer.WritePropertyName("max_token_length"); + writer.WriteNumberValue(MaxTokenLengthValue.Value); + } + + writer.WritePropertyName("type"); + writer.WriteStringValue("classic"); + if (!string.IsNullOrEmpty(VersionValue)) + { + writer.WritePropertyName("version"); + writer.WriteStringValue(VersionValue); + } + + writer.WriteEndObject(); + } + + ClassicTokenizer IBuildableDescriptor.Build() => new() + { + MaxTokenLength = MaxTokenLengthValue, + Version = VersionValue + }; +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Analysis/EdgeNGramTokenizer.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Analysis/EdgeNGramTokenizer.g.cs index 6992131e171..41b05db29a7 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Analysis/EdgeNGramTokenizer.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Analysis/EdgeNGramTokenizer.g.cs @@ -36,7 +36,7 @@ public sealed partial class EdgeNGramTokenizer : ITokenizer [JsonInclude, JsonPropertyName("min_gram")] public int MinGram { get; set; } [JsonInclude, JsonPropertyName("token_chars")] - public ICollection TokenChars { get; set; } + public ICollection? TokenChars { get; set; } [JsonInclude, JsonPropertyName("type")] public string Type => "edge_ngram"; @@ -56,7 +56,7 @@ public EdgeNGramTokenizerDescriptor() : base() private string? CustomTokenCharsValue { get; set; } private int MaxGramValue { get; set; } private int MinGramValue { get; set; } - private ICollection TokenCharsValue { get; set; } + private ICollection? TokenCharsValue { get; set; } private string? VersionValue { get; set; } public EdgeNGramTokenizerDescriptor CustomTokenChars(string? customTokenChars) @@ -77,7 +77,7 @@ public EdgeNGramTokenizerDescriptor MinGram(int minGram) return Self; } - public EdgeNGramTokenizerDescriptor TokenChars(ICollection tokenChars) + public EdgeNGramTokenizerDescriptor TokenChars(ICollection? tokenChars) { TokenCharsValue = tokenChars; return Self; @@ -102,8 +102,12 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o writer.WriteNumberValue(MaxGramValue); writer.WritePropertyName("min_gram"); writer.WriteNumberValue(MinGramValue); - writer.WritePropertyName("token_chars"); - JsonSerializer.Serialize(writer, TokenCharsValue, options); + if (TokenCharsValue is not null) + { + writer.WritePropertyName("token_chars"); + JsonSerializer.Serialize(writer, TokenCharsValue, options); + } + writer.WritePropertyName("type"); writer.WriteStringValue("edge_ngram"); if (!string.IsNullOrEmpty(VersionValue)) diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Analysis/KeywordMarkerTokenFilter.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Analysis/KeywordMarkerTokenFilter.g.cs index 9fc8bf1b52e..63c98e51412 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Analysis/KeywordMarkerTokenFilter.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Analysis/KeywordMarkerTokenFilter.g.cs @@ -32,6 +32,7 @@ public sealed partial class KeywordMarkerTokenFilter : ITokenFilter [JsonInclude, JsonPropertyName("ignore_case")] public bool? IgnoreCase { get; set; } [JsonInclude, JsonPropertyName("keywords")] + [SingleOrManyCollectionConverter(typeof(string))] public ICollection? Keywords { get; set; } [JsonInclude, JsonPropertyName("keywords_path")] public string? KeywordsPath { get; set; } @@ -101,7 +102,7 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o if (KeywordsValue is not null) { writer.WritePropertyName("keywords"); - JsonSerializer.Serialize(writer, KeywordsValue, options); + SingleOrManySerializationHelper.Serialize(KeywordsValue, writer, options); } if (!string.IsNullOrEmpty(KeywordsPathValue)) diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Analysis/KeywordTokenizer.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Analysis/KeywordTokenizer.g.cs index 25621e123f4..379e6bdb7e9 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Analysis/KeywordTokenizer.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Analysis/KeywordTokenizer.g.cs @@ -30,7 +30,7 @@ namespace Elastic.Clients.Elasticsearch.Serverless.Analysis; public sealed partial class KeywordTokenizer : ITokenizer { [JsonInclude, JsonPropertyName("buffer_size")] - public int BufferSize { get; set; } + public int? BufferSize { get; set; } [JsonInclude, JsonPropertyName("type")] public string Type => "keyword"; @@ -47,10 +47,10 @@ public KeywordTokenizerDescriptor() : base() { } - private int BufferSizeValue { get; set; } + private int? BufferSizeValue { get; set; } private string? VersionValue { get; set; } - public KeywordTokenizerDescriptor BufferSize(int bufferSize) + public KeywordTokenizerDescriptor BufferSize(int? bufferSize) { BufferSizeValue = bufferSize; return Self; @@ -65,8 +65,12 @@ public KeywordTokenizerDescriptor Version(string? version) protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) { writer.WriteStartObject(); - writer.WritePropertyName("buffer_size"); - writer.WriteNumberValue(BufferSizeValue); + if (BufferSizeValue.HasValue) + { + writer.WritePropertyName("buffer_size"); + writer.WriteNumberValue(BufferSizeValue.Value); + } + writer.WritePropertyName("type"); writer.WriteStringValue("keyword"); if (!string.IsNullOrEmpty(VersionValue)) diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Analysis/NGramTokenizer.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Analysis/NGramTokenizer.g.cs index b56cc0414bb..1c685bd6ccf 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Analysis/NGramTokenizer.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Analysis/NGramTokenizer.g.cs @@ -36,7 +36,7 @@ public sealed partial class NGramTokenizer : ITokenizer [JsonInclude, JsonPropertyName("min_gram")] public int MinGram { get; set; } [JsonInclude, JsonPropertyName("token_chars")] - public ICollection TokenChars { get; set; } + public ICollection? TokenChars { get; set; } [JsonInclude, JsonPropertyName("type")] public string Type => "ngram"; @@ -56,7 +56,7 @@ public NGramTokenizerDescriptor() : base() private string? CustomTokenCharsValue { get; set; } private int MaxGramValue { get; set; } private int MinGramValue { get; set; } - private ICollection TokenCharsValue { get; set; } + private ICollection? TokenCharsValue { get; set; } private string? VersionValue { get; set; } public NGramTokenizerDescriptor CustomTokenChars(string? customTokenChars) @@ -77,7 +77,7 @@ public NGramTokenizerDescriptor MinGram(int minGram) return Self; } - public NGramTokenizerDescriptor TokenChars(ICollection tokenChars) + public NGramTokenizerDescriptor TokenChars(ICollection? tokenChars) { TokenCharsValue = tokenChars; return Self; @@ -102,8 +102,12 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o writer.WriteNumberValue(MaxGramValue); writer.WritePropertyName("min_gram"); writer.WriteNumberValue(MinGramValue); - writer.WritePropertyName("token_chars"); - JsonSerializer.Serialize(writer, TokenCharsValue, options); + if (TokenCharsValue is not null) + { + writer.WritePropertyName("token_chars"); + JsonSerializer.Serialize(writer, TokenCharsValue, options); + } + writer.WritePropertyName("type"); writer.WriteStringValue("ngram"); if (!string.IsNullOrEmpty(VersionValue)) diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Analysis/SimplePatternSplitTokenizer.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Analysis/SimplePatternSplitTokenizer.g.cs new file mode 100644 index 00000000000..7953d768925 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Analysis/SimplePatternSplitTokenizer.g.cs @@ -0,0 +1,90 @@ +// 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 Elastic.Clients.Elasticsearch.Serverless.Fluent; +using Elastic.Clients.Elasticsearch.Serverless.Serialization; +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +namespace Elastic.Clients.Elasticsearch.Serverless.Analysis; + +public sealed partial class SimplePatternSplitTokenizer : ITokenizer +{ + [JsonInclude, JsonPropertyName("pattern")] + public string? Pattern { get; set; } + + [JsonInclude, JsonPropertyName("type")] + public string Type => "simple_pattern_split"; + + [JsonInclude, JsonPropertyName("version")] + public string? Version { get; set; } +} + +public sealed partial class SimplePatternSplitTokenizerDescriptor : SerializableDescriptor, IBuildableDescriptor +{ + internal SimplePatternSplitTokenizerDescriptor(Action configure) => configure.Invoke(this); + + public SimplePatternSplitTokenizerDescriptor() : base() + { + } + + private string? PatternValue { get; set; } + private string? VersionValue { get; set; } + + public SimplePatternSplitTokenizerDescriptor Pattern(string? pattern) + { + PatternValue = pattern; + return Self; + } + + public SimplePatternSplitTokenizerDescriptor Version(string? version) + { + VersionValue = version; + return Self; + } + + protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) + { + writer.WriteStartObject(); + if (!string.IsNullOrEmpty(PatternValue)) + { + writer.WritePropertyName("pattern"); + writer.WriteStringValue(PatternValue); + } + + writer.WritePropertyName("type"); + writer.WriteStringValue("simple_pattern_split"); + if (!string.IsNullOrEmpty(VersionValue)) + { + writer.WritePropertyName("version"); + writer.WriteStringValue(VersionValue); + } + + writer.WriteEndObject(); + } + + SimplePatternSplitTokenizer IBuildableDescriptor.Build() => new() + { + Pattern = PatternValue, + Version = VersionValue + }; +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Analysis/SimplePatternTokenizer.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Analysis/SimplePatternTokenizer.g.cs new file mode 100644 index 00000000000..922ae85dd8e --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Analysis/SimplePatternTokenizer.g.cs @@ -0,0 +1,90 @@ +// 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 Elastic.Clients.Elasticsearch.Serverless.Fluent; +using Elastic.Clients.Elasticsearch.Serverless.Serialization; +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +namespace Elastic.Clients.Elasticsearch.Serverless.Analysis; + +public sealed partial class SimplePatternTokenizer : ITokenizer +{ + [JsonInclude, JsonPropertyName("pattern")] + public string? Pattern { get; set; } + + [JsonInclude, JsonPropertyName("type")] + public string Type => "simple_pattern"; + + [JsonInclude, JsonPropertyName("version")] + public string? Version { get; set; } +} + +public sealed partial class SimplePatternTokenizerDescriptor : SerializableDescriptor, IBuildableDescriptor +{ + internal SimplePatternTokenizerDescriptor(Action configure) => configure.Invoke(this); + + public SimplePatternTokenizerDescriptor() : base() + { + } + + private string? PatternValue { get; set; } + private string? VersionValue { get; set; } + + public SimplePatternTokenizerDescriptor Pattern(string? pattern) + { + PatternValue = pattern; + return Self; + } + + public SimplePatternTokenizerDescriptor Version(string? version) + { + VersionValue = version; + return Self; + } + + protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) + { + writer.WriteStartObject(); + if (!string.IsNullOrEmpty(PatternValue)) + { + writer.WritePropertyName("pattern"); + writer.WriteStringValue(PatternValue); + } + + writer.WritePropertyName("type"); + writer.WriteStringValue("simple_pattern"); + if (!string.IsNullOrEmpty(VersionValue)) + { + writer.WritePropertyName("version"); + writer.WriteStringValue(VersionValue); + } + + writer.WriteEndObject(); + } + + SimplePatternTokenizer IBuildableDescriptor.Build() => new() + { + Pattern = PatternValue, + Version = VersionValue + }; +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Analysis/ThaiTokenizer.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Analysis/ThaiTokenizer.g.cs new file mode 100644 index 00000000000..3d31fe4eadc --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Analysis/ThaiTokenizer.g.cs @@ -0,0 +1,73 @@ +// 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 Elastic.Clients.Elasticsearch.Serverless.Fluent; +using Elastic.Clients.Elasticsearch.Serverless.Serialization; +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +namespace Elastic.Clients.Elasticsearch.Serverless.Analysis; + +public sealed partial class ThaiTokenizer : ITokenizer +{ + [JsonInclude, JsonPropertyName("type")] + public string Type => "thai"; + + [JsonInclude, JsonPropertyName("version")] + public string? Version { get; set; } +} + +public sealed partial class ThaiTokenizerDescriptor : SerializableDescriptor, IBuildableDescriptor +{ + internal ThaiTokenizerDescriptor(Action configure) => configure.Invoke(this); + + public ThaiTokenizerDescriptor() : base() + { + } + + private string? VersionValue { get; set; } + + public ThaiTokenizerDescriptor Version(string? version) + { + VersionValue = version; + return Self; + } + + protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) + { + writer.WriteStartObject(); + writer.WritePropertyName("type"); + writer.WriteStringValue("thai"); + if (!string.IsNullOrEmpty(VersionValue)) + { + writer.WritePropertyName("version"); + writer.WriteStringValue(VersionValue); + } + + writer.WriteEndObject(); + } + + ThaiTokenizer IBuildableDescriptor.Build() => new() + { + Version = VersionValue + }; +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Analysis/Tokenizers.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Analysis/Tokenizers.g.cs index e43e3e982d9..0e3c17b8211 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Analysis/Tokenizers.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Analysis/Tokenizers.g.cs @@ -69,6 +69,9 @@ public TokenizersDescriptor() : base(new Tokenizers()) public TokenizersDescriptor CharGroup(string tokenizerName) => AssignVariant(tokenizerName, null); public TokenizersDescriptor CharGroup(string tokenizerName, Action configure) => AssignVariant(tokenizerName, configure); public TokenizersDescriptor CharGroup(string tokenizerName, CharGroupTokenizer charGroupTokenizer) => AssignVariant(tokenizerName, charGroupTokenizer); + public TokenizersDescriptor Classic(string tokenizerName) => AssignVariant(tokenizerName, null); + public TokenizersDescriptor Classic(string tokenizerName, Action configure) => AssignVariant(tokenizerName, configure); + public TokenizersDescriptor Classic(string tokenizerName, ClassicTokenizer classicTokenizer) => AssignVariant(tokenizerName, classicTokenizer); public TokenizersDescriptor EdgeNGram(string tokenizerName) => AssignVariant(tokenizerName, null); public TokenizersDescriptor EdgeNGram(string tokenizerName, Action configure) => AssignVariant(tokenizerName, configure); public TokenizersDescriptor EdgeNGram(string tokenizerName, EdgeNGramTokenizer edgeNGramTokenizer) => AssignVariant(tokenizerName, edgeNGramTokenizer); @@ -99,9 +102,18 @@ public TokenizersDescriptor() : base(new Tokenizers()) public TokenizersDescriptor Pattern(string tokenizerName) => AssignVariant(tokenizerName, null); public TokenizersDescriptor Pattern(string tokenizerName, Action configure) => AssignVariant(tokenizerName, configure); public TokenizersDescriptor Pattern(string tokenizerName, PatternTokenizer patternTokenizer) => AssignVariant(tokenizerName, patternTokenizer); + public TokenizersDescriptor SimplePatternSplit(string tokenizerName) => AssignVariant(tokenizerName, null); + public TokenizersDescriptor SimplePatternSplit(string tokenizerName, Action configure) => AssignVariant(tokenizerName, configure); + public TokenizersDescriptor SimplePatternSplit(string tokenizerName, SimplePatternSplitTokenizer simplePatternSplitTokenizer) => AssignVariant(tokenizerName, simplePatternSplitTokenizer); + public TokenizersDescriptor SimplePattern(string tokenizerName) => AssignVariant(tokenizerName, null); + public TokenizersDescriptor SimplePattern(string tokenizerName, Action configure) => AssignVariant(tokenizerName, configure); + public TokenizersDescriptor SimplePattern(string tokenizerName, SimplePatternTokenizer simplePatternTokenizer) => AssignVariant(tokenizerName, simplePatternTokenizer); public TokenizersDescriptor Standard(string tokenizerName) => AssignVariant(tokenizerName, null); public TokenizersDescriptor Standard(string tokenizerName, Action configure) => AssignVariant(tokenizerName, configure); public TokenizersDescriptor Standard(string tokenizerName, StandardTokenizer standardTokenizer) => AssignVariant(tokenizerName, standardTokenizer); + public TokenizersDescriptor Thai(string tokenizerName) => AssignVariant(tokenizerName, null); + public TokenizersDescriptor Thai(string tokenizerName, Action configure) => AssignVariant(tokenizerName, configure); + public TokenizersDescriptor Thai(string tokenizerName, ThaiTokenizer thaiTokenizer) => AssignVariant(tokenizerName, thaiTokenizer); public TokenizersDescriptor UaxEmailUrl(string tokenizerName) => AssignVariant(tokenizerName, null); public TokenizersDescriptor UaxEmailUrl(string tokenizerName, Action configure) => AssignVariant(tokenizerName, configure); public TokenizersDescriptor UaxEmailUrl(string tokenizerName, UaxEmailUrlTokenizer uaxEmailUrlTokenizer) => AssignVariant(tokenizerName, uaxEmailUrlTokenizer); @@ -126,6 +138,8 @@ public override ITokenizer Read(ref Utf8JsonReader reader, Type typeToConvert, J { case "char_group": return JsonSerializer.Deserialize(ref reader, options); + case "classic": + return JsonSerializer.Deserialize(ref reader, options); case "edge_ngram": return JsonSerializer.Deserialize(ref reader, options); case "icu_tokenizer": @@ -146,8 +160,14 @@ public override ITokenizer Read(ref Utf8JsonReader reader, Type typeToConvert, J return JsonSerializer.Deserialize(ref reader, options); case "pattern": return JsonSerializer.Deserialize(ref reader, options); + case "simple_pattern_split": + return JsonSerializer.Deserialize(ref reader, options); + case "simple_pattern": + return JsonSerializer.Deserialize(ref reader, options); case "standard": return JsonSerializer.Deserialize(ref reader, options); + case "thai": + return JsonSerializer.Deserialize(ref reader, options); case "uax_url_email": return JsonSerializer.Deserialize(ref reader, options); case "whitespace": @@ -171,6 +191,9 @@ public override void Write(Utf8JsonWriter writer, ITokenizer value, JsonSerializ case "char_group": JsonSerializer.Serialize(writer, value, typeof(Elastic.Clients.Elasticsearch.Serverless.Analysis.CharGroupTokenizer), options); return; + case "classic": + JsonSerializer.Serialize(writer, value, typeof(Elastic.Clients.Elasticsearch.Serverless.Analysis.ClassicTokenizer), options); + return; case "edge_ngram": JsonSerializer.Serialize(writer, value, typeof(Elastic.Clients.Elasticsearch.Serverless.Analysis.EdgeNGramTokenizer), options); return; @@ -201,9 +224,18 @@ public override void Write(Utf8JsonWriter writer, ITokenizer value, JsonSerializ case "pattern": JsonSerializer.Serialize(writer, value, typeof(Elastic.Clients.Elasticsearch.Serverless.Analysis.PatternTokenizer), options); return; + case "simple_pattern_split": + JsonSerializer.Serialize(writer, value, typeof(Elastic.Clients.Elasticsearch.Serverless.Analysis.SimplePatternSplitTokenizer), options); + return; + case "simple_pattern": + JsonSerializer.Serialize(writer, value, typeof(Elastic.Clients.Elasticsearch.Serverless.Analysis.SimplePatternTokenizer), options); + return; case "standard": JsonSerializer.Serialize(writer, value, typeof(Elastic.Clients.Elasticsearch.Serverless.Analysis.StandardTokenizer), options); return; + case "thai": + JsonSerializer.Serialize(writer, value, typeof(Elastic.Clients.Elasticsearch.Serverless.Analysis.ThaiTokenizer), options); + return; case "uax_url_email": JsonSerializer.Serialize(writer, value, typeof(Elastic.Clients.Elasticsearch.Serverless.Analysis.UaxEmailUrlTokenizer), options); return; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Cluster/CurrentNode.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Cluster/CurrentNode.g.cs index e96acb32e06..9ae6aadc90c 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Cluster/CurrentNode.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Cluster/CurrentNode.g.cs @@ -35,6 +35,8 @@ public sealed partial class CurrentNode public string Id { get; init; } [JsonInclude, JsonPropertyName("name")] public string Name { get; init; } + [JsonInclude, JsonPropertyName("roles")] + public IReadOnlyCollection Roles { get; init; } [JsonInclude, JsonPropertyName("transport_address")] public string TransportAddress { get; init; } [JsonInclude, JsonPropertyName("weight_ranking")] diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Cluster/IndexHealthStats.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Cluster/IndexHealthStats.g.cs index e9f1e22a8a7..8731a5b847d 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Cluster/IndexHealthStats.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Cluster/IndexHealthStats.g.cs @@ -45,6 +45,8 @@ public sealed partial class IndexHealthStats public IReadOnlyDictionary? Shards { get; init; } [JsonInclude, JsonPropertyName("status")] public Elastic.Clients.Elasticsearch.Serverless.HealthStatus Status { get; init; } + [JsonInclude, JsonPropertyName("unassigned_primary_shards")] + public int UnassignedPrimaryShards { get; init; } [JsonInclude, JsonPropertyName("unassigned_shards")] public int UnassignedShards { get; init; } } \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Cluster/NodeAllocationExplanation.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Cluster/NodeAllocationExplanation.g.cs index a7d5a34d3cb..9eddb8404ad 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Cluster/NodeAllocationExplanation.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Cluster/NodeAllocationExplanation.g.cs @@ -39,6 +39,8 @@ public sealed partial class NodeAllocationExplanation public string NodeId { get; init; } [JsonInclude, JsonPropertyName("node_name")] public string NodeName { get; init; } + [JsonInclude, JsonPropertyName("roles")] + public IReadOnlyCollection Roles { get; init; } [JsonInclude, JsonPropertyName("store")] public Elastic.Clients.Elasticsearch.Serverless.Cluster.AllocationStore? Store { get; init; } [JsonInclude, JsonPropertyName("transport_address")] diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Cluster/ShardHealthStats.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Cluster/ShardHealthStats.g.cs index 36433d2d2fb..0c606274b01 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Cluster/ShardHealthStats.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Cluster/ShardHealthStats.g.cs @@ -39,6 +39,8 @@ public sealed partial class ShardHealthStats public int RelocatingShards { get; init; } [JsonInclude, JsonPropertyName("status")] public Elastic.Clients.Elasticsearch.Serverless.HealthStatus Status { get; init; } + [JsonInclude, JsonPropertyName("unassigned_primary_shards")] + public int UnassignedPrimaryShards { get; init; } [JsonInclude, JsonPropertyName("unassigned_shards")] public int UnassignedShards { get; init; } } \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Core/Search/AggregationProfileDebug.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Core/Search/AggregationProfileDebug.g.cs index 18394575b9a..b37d0f1d624 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Core/Search/AggregationProfileDebug.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Core/Search/AggregationProfileDebug.g.cs @@ -29,6 +29,8 @@ namespace Elastic.Clients.Elasticsearch.Serverless.Core.Search; public sealed partial class AggregationProfileDebug { + [JsonInclude, JsonPropertyName("brute_force_used")] + public int? BruteForceUsed { get; init; } [JsonInclude, JsonPropertyName("built_buckets")] public int? BuiltBuckets { get; init; } [JsonInclude, JsonPropertyName("chars_fetched")] @@ -45,6 +47,10 @@ public sealed partial class AggregationProfileDebug public string? Delegate { get; init; } [JsonInclude, JsonPropertyName("delegate_debug")] public Elastic.Clients.Elasticsearch.Serverless.Core.Search.AggregationProfileDebug? DelegateDebug { get; init; } + [JsonInclude, JsonPropertyName("dynamic_pruning_attempted")] + public int? DynamicPruningAttempted { get; init; } + [JsonInclude, JsonPropertyName("dynamic_pruning_used")] + public int? DynamicPruningUsed { get; init; } [JsonInclude, JsonPropertyName("empty_collectors_used")] public int? EmptyCollectorsUsed { get; init; } [JsonInclude, JsonPropertyName("extract_count")] @@ -77,6 +83,8 @@ public sealed partial class AggregationProfileDebug public int? SegmentsWithMultiValuedOrds { get; init; } [JsonInclude, JsonPropertyName("segments_with_single_valued_ords")] public int? SegmentsWithSingleValuedOrds { get; init; } + [JsonInclude, JsonPropertyName("skipped_due_to_no_data")] + public int? SkippedDueToNoData { get; init; } [JsonInclude, JsonPropertyName("string_hashing_collectors_used")] public int? StringHashingCollectorsUsed { get; init; } [JsonInclude, JsonPropertyName("surviving_buckets")] diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Core/Search/DfsKnnProfile.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Core/Search/DfsKnnProfile.g.cs new file mode 100644 index 00000000000..e530248121d --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Core/Search/DfsKnnProfile.g.cs @@ -0,0 +1,40 @@ +// 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 Elastic.Clients.Elasticsearch.Serverless.Fluent; +using Elastic.Clients.Elasticsearch.Serverless.Serialization; +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +namespace Elastic.Clients.Elasticsearch.Serverless.Core.Search; + +public sealed partial class DfsKnnProfile +{ + [JsonInclude, JsonPropertyName("collector")] + public IReadOnlyCollection Collector { get; init; } + [JsonInclude, JsonPropertyName("query")] + public IReadOnlyCollection Query { get; init; } + [JsonInclude, JsonPropertyName("rewrite_time")] + public long RewriteTime { get; init; } + [JsonInclude, JsonPropertyName("vector_operations_count")] + public long? VectorOperationsCount { get; init; } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Core/Search/DfsProfile.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Core/Search/DfsProfile.g.cs new file mode 100644 index 00000000000..9382b2458b4 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Core/Search/DfsProfile.g.cs @@ -0,0 +1,36 @@ +// 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 Elastic.Clients.Elasticsearch.Serverless.Fluent; +using Elastic.Clients.Elasticsearch.Serverless.Serialization; +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +namespace Elastic.Clients.Elasticsearch.Serverless.Core.Search; + +public sealed partial class DfsProfile +{ + [JsonInclude, JsonPropertyName("knn")] + public IReadOnlyCollection? Knn { get; init; } + [JsonInclude, JsonPropertyName("statistics")] + public Elastic.Clients.Elasticsearch.Serverless.Core.Search.DfsStatisticsProfile? Statistics { get; init; } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Core/Search/DfsStatisticsBreakdown.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Core/Search/DfsStatisticsBreakdown.g.cs new file mode 100644 index 00000000000..c1e450ddf09 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Core/Search/DfsStatisticsBreakdown.g.cs @@ -0,0 +1,48 @@ +// 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 Elastic.Clients.Elasticsearch.Serverless.Fluent; +using Elastic.Clients.Elasticsearch.Serverless.Serialization; +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +namespace Elastic.Clients.Elasticsearch.Serverless.Core.Search; + +public sealed partial class DfsStatisticsBreakdown +{ + [JsonInclude, JsonPropertyName("collection_statistics")] + public long CollectionStatistics { get; init; } + [JsonInclude, JsonPropertyName("collection_statistics_count")] + public long CollectionStatisticsCount { get; init; } + [JsonInclude, JsonPropertyName("create_weight")] + public long CreateWeight { get; init; } + [JsonInclude, JsonPropertyName("create_weight_count")] + public long CreateWeightCount { get; init; } + [JsonInclude, JsonPropertyName("rewrite")] + public long Rewrite { get; init; } + [JsonInclude, JsonPropertyName("rewrite_count")] + public long RewriteCount { get; init; } + [JsonInclude, JsonPropertyName("term_statistics")] + public long TermStatistics { get; init; } + [JsonInclude, JsonPropertyName("term_statistics_count")] + public long TermStatisticsCount { get; init; } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Core/Search/DfsStatisticsProfile.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Core/Search/DfsStatisticsProfile.g.cs new file mode 100644 index 00000000000..45ca7daa2a6 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Core/Search/DfsStatisticsProfile.g.cs @@ -0,0 +1,46 @@ +// 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 Elastic.Clients.Elasticsearch.Serverless.Fluent; +using Elastic.Clients.Elasticsearch.Serverless.Serialization; +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +namespace Elastic.Clients.Elasticsearch.Serverless.Core.Search; + +public sealed partial class DfsStatisticsProfile +{ + [JsonInclude, JsonPropertyName("breakdown")] + public Elastic.Clients.Elasticsearch.Serverless.Core.Search.DfsStatisticsBreakdown Breakdown { get; init; } + [JsonInclude, JsonPropertyName("children")] + public IReadOnlyCollection? Children { get; init; } + [JsonInclude, JsonPropertyName("debug")] + public IReadOnlyDictionary? Debug { get; init; } + [JsonInclude, JsonPropertyName("description")] + public string Description { get; init; } + [JsonInclude, JsonPropertyName("time")] + public Elastic.Clients.Elasticsearch.Serverless.Duration? Time { get; init; } + [JsonInclude, JsonPropertyName("time_in_nanos")] + public long TimeInNanos { get; init; } + [JsonInclude, JsonPropertyName("type")] + public string Type { get; init; } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Core/Search/Hit.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Core/Search/Hit.g.cs index db68c554542..4950958526d 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Core/Search/Hit.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Core/Search/Hit.g.cs @@ -40,7 +40,7 @@ public sealed partial class Hit [JsonInclude, JsonPropertyName("_ignored")] public IReadOnlyCollection? Ignored { get; init; } [JsonInclude, JsonPropertyName("ignored_field_values")] - public IReadOnlyDictionary>? IgnoredFieldValues { get; init; } + public IReadOnlyDictionary>? IgnoredFieldValues { get; init; } [JsonInclude, JsonPropertyName("_index")] public string Index { get; init; } [JsonInclude, JsonPropertyName("inner_hits")] diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Core/Search/KnnCollectorResult.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Core/Search/KnnCollectorResult.g.cs new file mode 100644 index 00000000000..d75e41dce07 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Core/Search/KnnCollectorResult.g.cs @@ -0,0 +1,42 @@ +// 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 Elastic.Clients.Elasticsearch.Serverless.Fluent; +using Elastic.Clients.Elasticsearch.Serverless.Serialization; +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +namespace Elastic.Clients.Elasticsearch.Serverless.Core.Search; + +public sealed partial class KnnCollectorResult +{ + [JsonInclude, JsonPropertyName("children")] + public IReadOnlyCollection? Children { get; init; } + [JsonInclude, JsonPropertyName("name")] + public string Name { get; init; } + [JsonInclude, JsonPropertyName("reason")] + public string Reason { get; init; } + [JsonInclude, JsonPropertyName("time")] + public Elastic.Clients.Elasticsearch.Serverless.Duration? Time { get; init; } + [JsonInclude, JsonPropertyName("time_in_nanos")] + public long TimeInNanos { get; init; } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Core/Search/KnnQueryProfileBreakdown.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Core/Search/KnnQueryProfileBreakdown.g.cs new file mode 100644 index 00000000000..1cd52e5c480 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Core/Search/KnnQueryProfileBreakdown.g.cs @@ -0,0 +1,72 @@ +// 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 Elastic.Clients.Elasticsearch.Serverless.Fluent; +using Elastic.Clients.Elasticsearch.Serverless.Serialization; +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +namespace Elastic.Clients.Elasticsearch.Serverless.Core.Search; + +public sealed partial class KnnQueryProfileBreakdown +{ + [JsonInclude, JsonPropertyName("advance")] + public long Advance { get; init; } + [JsonInclude, JsonPropertyName("advance_count")] + public long AdvanceCount { get; init; } + [JsonInclude, JsonPropertyName("build_scorer")] + public long BuildScorer { get; init; } + [JsonInclude, JsonPropertyName("build_scorer_count")] + public long BuildScorerCount { get; init; } + [JsonInclude, JsonPropertyName("compute_max_score")] + public long ComputeMaxScore { get; init; } + [JsonInclude, JsonPropertyName("compute_max_score_count")] + public long ComputeMaxScoreCount { get; init; } + [JsonInclude, JsonPropertyName("count_weight")] + public long CountWeight { get; init; } + [JsonInclude, JsonPropertyName("count_weight_count")] + public long CountWeightCount { get; init; } + [JsonInclude, JsonPropertyName("create_weight")] + public long CreateWeight { get; init; } + [JsonInclude, JsonPropertyName("create_weight_count")] + public long CreateWeightCount { get; init; } + [JsonInclude, JsonPropertyName("match")] + public long Match { get; init; } + [JsonInclude, JsonPropertyName("match_count")] + public long MatchCount { get; init; } + [JsonInclude, JsonPropertyName("next_doc")] + public long NextDoc { get; init; } + [JsonInclude, JsonPropertyName("next_doc_count")] + public long NextDocCount { get; init; } + [JsonInclude, JsonPropertyName("score")] + public long Score { get; init; } + [JsonInclude, JsonPropertyName("score_count")] + public long ScoreCount { get; init; } + [JsonInclude, JsonPropertyName("set_min_competitive_score")] + public long SetMinCompetitiveScore { get; init; } + [JsonInclude, JsonPropertyName("set_min_competitive_score_count")] + public long SetMinCompetitiveScoreCount { get; init; } + [JsonInclude, JsonPropertyName("shallow_advance")] + public long ShallowAdvance { get; init; } + [JsonInclude, JsonPropertyName("shallow_advance_count")] + public long ShallowAdvanceCount { get; init; } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Core/Search/KnnQueryProfileResult.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Core/Search/KnnQueryProfileResult.g.cs new file mode 100644 index 00000000000..cc0b60423d2 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Core/Search/KnnQueryProfileResult.g.cs @@ -0,0 +1,46 @@ +// 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 Elastic.Clients.Elasticsearch.Serverless.Fluent; +using Elastic.Clients.Elasticsearch.Serverless.Serialization; +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +namespace Elastic.Clients.Elasticsearch.Serverless.Core.Search; + +public sealed partial class KnnQueryProfileResult +{ + [JsonInclude, JsonPropertyName("breakdown")] + public Elastic.Clients.Elasticsearch.Serverless.Core.Search.KnnQueryProfileBreakdown Breakdown { get; init; } + [JsonInclude, JsonPropertyName("children")] + public IReadOnlyCollection? Children { get; init; } + [JsonInclude, JsonPropertyName("debug")] + public IReadOnlyDictionary? Debug { get; init; } + [JsonInclude, JsonPropertyName("description")] + public string Description { get; init; } + [JsonInclude, JsonPropertyName("time")] + public Elastic.Clients.Elasticsearch.Serverless.Duration? Time { get; init; } + [JsonInclude, JsonPropertyName("time_in_nanos")] + public long TimeInNanos { get; init; } + [JsonInclude, JsonPropertyName("type")] + public string Type { get; init; } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Core/Search/QueryBreakdown.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Core/Search/QueryBreakdown.g.cs index 68c7c76cddf..d1437731867 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Core/Search/QueryBreakdown.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Core/Search/QueryBreakdown.g.cs @@ -41,6 +41,10 @@ public sealed partial class QueryBreakdown public long ComputeMaxScore { get; init; } [JsonInclude, JsonPropertyName("compute_max_score_count")] public long ComputeMaxScoreCount { get; init; } + [JsonInclude, JsonPropertyName("count_weight")] + public long CountWeight { get; init; } + [JsonInclude, JsonPropertyName("count_weight_count")] + public long CountWeightCount { get; init; } [JsonInclude, JsonPropertyName("create_weight")] public long CreateWeight { get; init; } [JsonInclude, JsonPropertyName("create_weight_count")] diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Core/Search/ShardProfile.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Core/Search/ShardProfile.g.cs index b7f93f0ad9d..f06dd7d80c0 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Core/Search/ShardProfile.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Core/Search/ShardProfile.g.cs @@ -31,10 +31,20 @@ public sealed partial class ShardProfile { [JsonInclude, JsonPropertyName("aggregations")] public IReadOnlyCollection Aggregations { get; init; } + [JsonInclude, JsonPropertyName("cluster")] + public string Cluster { get; init; } + [JsonInclude, JsonPropertyName("dfs")] + public Elastic.Clients.Elasticsearch.Serverless.Core.Search.DfsProfile? Dfs { get; init; } [JsonInclude, JsonPropertyName("fetch")] public Elastic.Clients.Elasticsearch.Serverless.Core.Search.FetchProfile? Fetch { get; init; } [JsonInclude, JsonPropertyName("id")] public string Id { get; init; } + [JsonInclude, JsonPropertyName("index")] + public string Index { get; init; } + [JsonInclude, JsonPropertyName("node_id")] + public string NodeId { get; init; } [JsonInclude, JsonPropertyName("searches")] public IReadOnlyCollection Searches { get; init; } + [JsonInclude, JsonPropertyName("shard_id")] + public long ShardId { get; init; } } \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Enrich/CacheStats.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Enrich/CacheStats.g.cs index bd7b388718d..333b77ee818 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Enrich/CacheStats.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Enrich/CacheStats.g.cs @@ -35,8 +35,14 @@ public sealed partial class CacheStats public int Evictions { get; init; } [JsonInclude, JsonPropertyName("hits")] public int Hits { get; init; } + [JsonInclude, JsonPropertyName("hits_time_in_millis")] + public long HitsTimeInMillis { get; init; } [JsonInclude, JsonPropertyName("misses")] public int Misses { get; init; } + [JsonInclude, JsonPropertyName("misses_time_in_millis")] + public long MissesTimeInMillis { get; init; } [JsonInclude, JsonPropertyName("node_id")] public string NodeId { get; init; } + [JsonInclude, JsonPropertyName("size_in_bytes")] + public long SizeInBytes { get; init; } } \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Enums/Enums.Esql.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Enums/Enums.Esql.g.cs new file mode 100644 index 00000000000..9f3b55c714b --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Enums/Enums.Esql.g.cs @@ -0,0 +1,113 @@ +// 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 Elastic.Clients.Elasticsearch.Serverless.Core; +using Elastic.Clients.Elasticsearch.Serverless.Serialization; +using Elastic.Transport; +using System; +using System.Runtime.Serialization; +using System.Text; +using System.Text.Json; +using System.Text.Json.Serialization; + +namespace Elastic.Clients.Elasticsearch.Serverless.Esql; + +[JsonConverter(typeof(EsqlFormatConverter))] +public enum EsqlFormat +{ + [EnumMember(Value = "yaml")] + Yaml, + [EnumMember(Value = "txt")] + Txt, + [EnumMember(Value = "tsv")] + Tsv, + [EnumMember(Value = "smile")] + Smile, + [EnumMember(Value = "json")] + Json, + [EnumMember(Value = "csv")] + Csv, + [EnumMember(Value = "cbor")] + Cbor, + [EnumMember(Value = "arrow")] + Arrow +} + +internal sealed class EsqlFormatConverter : JsonConverter +{ + public override EsqlFormat Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) + { + var enumString = reader.GetString(); + switch (enumString) + { + case "yaml": + return EsqlFormat.Yaml; + case "txt": + return EsqlFormat.Txt; + case "tsv": + return EsqlFormat.Tsv; + case "smile": + return EsqlFormat.Smile; + case "json": + return EsqlFormat.Json; + case "csv": + return EsqlFormat.Csv; + case "cbor": + return EsqlFormat.Cbor; + case "arrow": + return EsqlFormat.Arrow; + } + + ThrowHelper.ThrowJsonException(); + return default; + } + + public override void Write(Utf8JsonWriter writer, EsqlFormat value, JsonSerializerOptions options) + { + switch (value) + { + case EsqlFormat.Yaml: + writer.WriteStringValue("yaml"); + return; + case EsqlFormat.Txt: + writer.WriteStringValue("txt"); + return; + case EsqlFormat.Tsv: + writer.WriteStringValue("tsv"); + return; + case EsqlFormat.Smile: + writer.WriteStringValue("smile"); + return; + case EsqlFormat.Json: + writer.WriteStringValue("json"); + return; + case EsqlFormat.Csv: + writer.WriteStringValue("csv"); + return; + case EsqlFormat.Cbor: + writer.WriteStringValue("cbor"); + return; + case EsqlFormat.Arrow: + writer.WriteStringValue("arrow"); + return; + } + + writer.WriteNullValue(); + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Enums/Enums.Ingest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Enums/Enums.Ingest.g.cs index 79956b3e4c1..6d0a3acaabb 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Enums/Enums.Ingest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Enums/Enums.Ingest.g.cs @@ -105,6 +105,97 @@ public override void Write(Utf8JsonWriter writer, ConvertType value, JsonSeriali } } +[JsonConverter(typeof(GeoGridTargetFormatConverter))] +public enum GeoGridTargetFormat +{ + [EnumMember(Value = "wkt")] + Wkt, + [EnumMember(Value = "geojson")] + Geojson +} + +internal sealed class GeoGridTargetFormatConverter : JsonConverter +{ + public override GeoGridTargetFormat Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) + { + var enumString = reader.GetString(); + switch (enumString) + { + case "wkt": + return GeoGridTargetFormat.Wkt; + case "geojson": + return GeoGridTargetFormat.Geojson; + } + + ThrowHelper.ThrowJsonException(); + return default; + } + + public override void Write(Utf8JsonWriter writer, GeoGridTargetFormat value, JsonSerializerOptions options) + { + switch (value) + { + case GeoGridTargetFormat.Wkt: + writer.WriteStringValue("wkt"); + return; + case GeoGridTargetFormat.Geojson: + writer.WriteStringValue("geojson"); + return; + } + + writer.WriteNullValue(); + } +} + +[JsonConverter(typeof(GeoGridTileTypeConverter))] +public enum GeoGridTileType +{ + [EnumMember(Value = "geotile")] + Geotile, + [EnumMember(Value = "geohex")] + Geohex, + [EnumMember(Value = "geohash")] + Geohash +} + +internal sealed class GeoGridTileTypeConverter : JsonConverter +{ + public override GeoGridTileType Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) + { + var enumString = reader.GetString(); + switch (enumString) + { + case "geotile": + return GeoGridTileType.Geotile; + case "geohex": + return GeoGridTileType.Geohex; + case "geohash": + return GeoGridTileType.Geohash; + } + + ThrowHelper.ThrowJsonException(); + return default; + } + + public override void Write(Utf8JsonWriter writer, GeoGridTileType value, JsonSerializerOptions options) + { + switch (value) + { + case GeoGridTileType.Geotile: + writer.WriteStringValue("geotile"); + return; + case GeoGridTileType.Geohex: + writer.WriteStringValue("geohex"); + return; + case GeoGridTileType.Geohash: + writer.WriteStringValue("geohash"); + return; + } + + writer.WriteNullValue(); + } +} + [JsonConverter(typeof(JsonProcessorConflictStrategyConverter))] public enum JsonProcessorConflictStrategy { @@ -202,26 +293,16 @@ public override void Write(Utf8JsonWriter writer, ShapeType value, JsonSerialize [JsonConverter(typeof(UserAgentPropertyConverter))] public enum UserAgentProperty { - [EnumMember(Value = "PATCH")] - Patch, - [EnumMember(Value = "OS_NAME")] - OsName, - [EnumMember(Value = "OS_MINOR")] - OsMinor, - [EnumMember(Value = "OS_MAJOR")] - OsMajor, - [EnumMember(Value = "OS")] + [EnumMember(Value = "version")] + Version, + [EnumMember(Value = "os")] Os, - [EnumMember(Value = "NAME")] + [EnumMember(Value = "original")] + Original, + [EnumMember(Value = "name")] Name, - [EnumMember(Value = "MINOR")] - Minor, - [EnumMember(Value = "MAJOR")] - Major, - [EnumMember(Value = "DEVICE")] - Device, - [EnumMember(Value = "BUILD")] - Build + [EnumMember(Value = "device")] + Device } internal sealed class UserAgentPropertyConverter : JsonConverter @@ -231,26 +312,16 @@ public override UserAgentProperty Read(ref Utf8JsonReader reader, Type typeToCon var enumString = reader.GetString(); switch (enumString) { - case "PATCH": - return UserAgentProperty.Patch; - case "OS_NAME": - return UserAgentProperty.OsName; - case "OS_MINOR": - return UserAgentProperty.OsMinor; - case "OS_MAJOR": - return UserAgentProperty.OsMajor; - case "OS": + case "version": + return UserAgentProperty.Version; + case "os": return UserAgentProperty.Os; - case "NAME": + case "original": + return UserAgentProperty.Original; + case "name": return UserAgentProperty.Name; - case "MINOR": - return UserAgentProperty.Minor; - case "MAJOR": - return UserAgentProperty.Major; - case "DEVICE": + case "device": return UserAgentProperty.Device; - case "BUILD": - return UserAgentProperty.Build; } ThrowHelper.ThrowJsonException(); @@ -261,35 +332,20 @@ public override void Write(Utf8JsonWriter writer, UserAgentProperty value, JsonS { switch (value) { - case UserAgentProperty.Patch: - writer.WriteStringValue("PATCH"); - return; - case UserAgentProperty.OsName: - writer.WriteStringValue("OS_NAME"); - return; - case UserAgentProperty.OsMinor: - writer.WriteStringValue("OS_MINOR"); - return; - case UserAgentProperty.OsMajor: - writer.WriteStringValue("OS_MAJOR"); + case UserAgentProperty.Version: + writer.WriteStringValue("version"); return; case UserAgentProperty.Os: - writer.WriteStringValue("OS"); + writer.WriteStringValue("os"); return; - case UserAgentProperty.Name: - writer.WriteStringValue("NAME"); + case UserAgentProperty.Original: + writer.WriteStringValue("original"); return; - case UserAgentProperty.Minor: - writer.WriteStringValue("MINOR"); - return; - case UserAgentProperty.Major: - writer.WriteStringValue("MAJOR"); + case UserAgentProperty.Name: + writer.WriteStringValue("name"); return; case UserAgentProperty.Device: - writer.WriteStringValue("DEVICE"); - return; - case UserAgentProperty.Build: - writer.WriteStringValue("BUILD"); + writer.WriteStringValue("device"); return; } diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Enums/Enums.MachineLearning.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Enums/Enums.MachineLearning.g.cs index bc9ef7c13fd..31515f05fd6 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Enums/Enums.MachineLearning.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Enums/Enums.MachineLearning.g.cs @@ -417,12 +417,32 @@ public override void Write(Utf8JsonWriter writer, DeploymentAllocationState valu [JsonConverter(typeof(DeploymentAssignmentStateConverter))] public enum DeploymentAssignmentState { + /// + /// + /// The deployment is preparing to stop and deallocate the model from the relevant nodes. + /// + /// [EnumMember(Value = "stopping")] Stopping, + /// + /// + /// The deployment has recently started but is not yet usable; the model is not allocated on any nodes. + /// + /// [EnumMember(Value = "starting")] Starting, + /// + /// + /// The deployment is usable; at least one node has the model allocated. + /// + /// [EnumMember(Value = "started")] Started, + /// + /// + /// The deployment is on a failed state and must be re-deployed. + /// + /// [EnumMember(Value = "failed")] Failed } @@ -470,70 +490,6 @@ public override void Write(Utf8JsonWriter writer, DeploymentAssignmentState valu } } -[JsonConverter(typeof(DeploymentStateConverter))] -public enum DeploymentState -{ - /// - /// - /// The deployment is preparing to stop and deallocate the model from the relevant nodes. - /// - /// - [EnumMember(Value = "stopping")] - Stopping, - /// - /// - /// The deployment has recently started but is not yet usable; the model is not allocated on any nodes. - /// - /// - [EnumMember(Value = "starting")] - Starting, - /// - /// - /// The deployment is usable; at least one node has the model allocated. - /// - /// - [EnumMember(Value = "started")] - Started -} - -internal sealed class DeploymentStateConverter : JsonConverter -{ - public override DeploymentState Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) - { - var enumString = reader.GetString(); - switch (enumString) - { - case "stopping": - return DeploymentState.Stopping; - case "starting": - return DeploymentState.Starting; - case "started": - return DeploymentState.Started; - } - - ThrowHelper.ThrowJsonException(); - return default; - } - - public override void Write(Utf8JsonWriter writer, DeploymentState value, JsonSerializerOptions options) - { - switch (value) - { - case DeploymentState.Stopping: - writer.WriteStringValue("stopping"); - return; - case DeploymentState.Starting: - writer.WriteStringValue("starting"); - return; - case DeploymentState.Started: - writer.WriteStringValue("started"); - return; - } - - writer.WriteNullValue(); - } -} - [JsonConverter(typeof(ExcludeFrequentConverter))] public enum ExcludeFrequent { diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Enums/Enums.Sql.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Enums/Enums.Sql.g.cs new file mode 100644 index 00000000000..4cdbebbc92a --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Enums/Enums.Sql.g.cs @@ -0,0 +1,106 @@ +// 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 Elastic.Clients.Elasticsearch.Serverless.Core; +using Elastic.Clients.Elasticsearch.Serverless.Serialization; +using Elastic.Transport; +using System; +using System.Runtime.Serialization; +using System.Text; +using System.Text.Json; +using System.Text.Json.Serialization; + +namespace Elastic.Clients.Elasticsearch.Serverless.Sql; + +[JsonConverter(typeof(SqlFormatConverter))] +public enum SqlFormat +{ + [EnumMember(Value = "yaml")] + Yaml, + [EnumMember(Value = "txt")] + Txt, + [EnumMember(Value = "tsv")] + Tsv, + [EnumMember(Value = "smile")] + Smile, + [EnumMember(Value = "json")] + Json, + [EnumMember(Value = "csv")] + Csv, + [EnumMember(Value = "cbor")] + Cbor +} + +internal sealed class SqlFormatConverter : JsonConverter +{ + public override SqlFormat Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) + { + var enumString = reader.GetString(); + switch (enumString) + { + case "yaml": + return SqlFormat.Yaml; + case "txt": + return SqlFormat.Txt; + case "tsv": + return SqlFormat.Tsv; + case "smile": + return SqlFormat.Smile; + case "json": + return SqlFormat.Json; + case "csv": + return SqlFormat.Csv; + case "cbor": + return SqlFormat.Cbor; + } + + ThrowHelper.ThrowJsonException(); + return default; + } + + public override void Write(Utf8JsonWriter writer, SqlFormat value, JsonSerializerOptions options) + { + switch (value) + { + case SqlFormat.Yaml: + writer.WriteStringValue("yaml"); + return; + case SqlFormat.Txt: + writer.WriteStringValue("txt"); + return; + case SqlFormat.Tsv: + writer.WriteStringValue("tsv"); + return; + case SqlFormat.Smile: + writer.WriteStringValue("smile"); + return; + case SqlFormat.Json: + writer.WriteStringValue("json"); + return; + case SqlFormat.Csv: + writer.WriteStringValue("csv"); + return; + case SqlFormat.Cbor: + writer.WriteStringValue("cbor"); + return; + } + + writer.WriteNullValue(); + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Enums/Enums.Xpack.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Enums/Enums.Xpack.g.cs new file mode 100644 index 00000000000..e217b5508b1 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Enums/Enums.Xpack.g.cs @@ -0,0 +1,78 @@ +// 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 Elastic.Clients.Elasticsearch.Serverless.Core; +using Elastic.Clients.Elasticsearch.Serverless.Serialization; +using Elastic.Transport; +using System; +using System.Runtime.Serialization; +using System.Text; +using System.Text.Json; +using System.Text.Json.Serialization; + +namespace Elastic.Clients.Elasticsearch.Serverless.Xpack; + +[JsonConverter(typeof(XPackCategoryConverter))] +public enum XPackCategory +{ + [EnumMember(Value = "license")] + License, + [EnumMember(Value = "features")] + Features, + [EnumMember(Value = "build")] + Build +} + +internal sealed class XPackCategoryConverter : JsonConverter +{ + public override XPackCategory Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) + { + var enumString = reader.GetString(); + switch (enumString) + { + case "license": + return XPackCategory.License; + case "features": + return XPackCategory.Features; + case "build": + return XPackCategory.Build; + } + + ThrowHelper.ThrowJsonException(); + return default; + } + + public override void Write(Utf8JsonWriter writer, XPackCategory value, JsonSerializerOptions options) + { + switch (value) + { + case XPackCategory.License: + writer.WriteStringValue("license"); + return; + case XPackCategory.Features: + writer.WriteStringValue("features"); + return; + case XPackCategory.Build: + writer.WriteStringValue("build"); + return; + } + + writer.WriteNullValue(); + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Ingest/AppendProcessor.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Ingest/AppendProcessor.g.cs index 0e2b0839e9a..d90d96e78bf 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Ingest/AppendProcessor.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Ingest/AppendProcessor.g.cs @@ -94,6 +94,7 @@ public sealed partial class AppendProcessor /// /// [JsonInclude, JsonPropertyName("value")] + [SingleOrManyCollectionConverter(typeof(object))] public ICollection Value { get; set; } public static implicit operator Elastic.Clients.Elasticsearch.Serverless.Ingest.Processor(AppendProcessor appendProcessor) => Elastic.Clients.Elasticsearch.Serverless.Ingest.Processor.Append(appendProcessor); @@ -331,7 +332,7 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o } writer.WritePropertyName("value"); - JsonSerializer.Serialize(writer, ValueValue, options); + SingleOrManySerializationHelper.Serialize(ValueValue, writer, options); writer.WriteEndObject(); } } @@ -568,7 +569,7 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o } writer.WritePropertyName("value"); - JsonSerializer.Serialize(writer, ValueValue, options); + SingleOrManySerializationHelper.Serialize(ValueValue, writer, options); writer.WriteEndObject(); } } \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Ingest/DotExpanderProcessor.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Ingest/DotExpanderProcessor.g.cs index f311c327dd7..e0c64014ac1 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Ingest/DotExpanderProcessor.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Ingest/DotExpanderProcessor.g.cs @@ -71,6 +71,16 @@ public sealed partial class DotExpanderProcessor [JsonInclude, JsonPropertyName("on_failure")] public ICollection? OnFailure { get; set; } + /// + /// + /// Controls the behavior when there is already an existing nested object that conflicts with the expanded field. + /// When false, the processor will merge conflicts by combining the old and the new values into an array. + /// When true, the value from the expanded field will overwrite the existing value. + /// + /// + [JsonInclude, JsonPropertyName("override")] + public bool? Override { get; set; } + /// /// /// The field that contains the field to expand. @@ -108,6 +118,7 @@ public DotExpanderProcessorDescriptor() : base() private Elastic.Clients.Elasticsearch.Serverless.Ingest.ProcessorDescriptor OnFailureDescriptor { get; set; } private Action> OnFailureDescriptorAction { get; set; } private Action>[] OnFailureDescriptorActions { get; set; } + private bool? OverrideValue { get; set; } private string? PathValue { get; set; } private string? TagValue { get; set; } @@ -222,6 +233,19 @@ public DotExpanderProcessorDescriptor OnFailure(params Action + /// + /// Controls the behavior when there is already an existing nested object that conflicts with the expanded field. + /// When false, the processor will merge conflicts by combining the old and the new values into an array. + /// When true, the value from the expanded field will overwrite the existing value. + /// + /// + public DotExpanderProcessorDescriptor Override(bool? value = true) + { + OverrideValue = value; + return Self; + } + /// /// /// The field that contains the field to expand. @@ -300,6 +324,12 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o JsonSerializer.Serialize(writer, OnFailureValue, options); } + if (OverrideValue.HasValue) + { + writer.WritePropertyName("override"); + writer.WriteBooleanValue(OverrideValue.Value); + } + if (!string.IsNullOrEmpty(PathValue)) { writer.WritePropertyName("path"); @@ -332,6 +362,7 @@ public DotExpanderProcessorDescriptor() : base() private Elastic.Clients.Elasticsearch.Serverless.Ingest.ProcessorDescriptor OnFailureDescriptor { get; set; } private Action OnFailureDescriptorAction { get; set; } private Action[] OnFailureDescriptorActions { get; set; } + private bool? OverrideValue { get; set; } private string? PathValue { get; set; } private string? TagValue { get; set; } @@ -446,6 +477,19 @@ public DotExpanderProcessorDescriptor OnFailure(params Action + /// + /// Controls the behavior when there is already an existing nested object that conflicts with the expanded field. + /// When false, the processor will merge conflicts by combining the old and the new values into an array. + /// When true, the value from the expanded field will overwrite the existing value. + /// + /// + public DotExpanderProcessorDescriptor Override(bool? value = true) + { + OverrideValue = value; + return Self; + } + /// /// /// The field that contains the field to expand. @@ -524,6 +568,12 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o JsonSerializer.Serialize(writer, OnFailureValue, options); } + if (OverrideValue.HasValue) + { + writer.WritePropertyName("override"); + writer.WriteBooleanValue(OverrideValue.Value); + } + if (!string.IsNullOrEmpty(PathValue)) { writer.WritePropertyName("path"); diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Ingest/GeoGridProcessor.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Ingest/GeoGridProcessor.g.cs new file mode 100644 index 00000000000..869d5a103e6 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Ingest/GeoGridProcessor.g.cs @@ -0,0 +1,1010 @@ +// 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 Elastic.Clients.Elasticsearch.Serverless.Fluent; +using Elastic.Clients.Elasticsearch.Serverless.Serialization; +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +namespace Elastic.Clients.Elasticsearch.Serverless.Ingest; + +public sealed partial class GeoGridProcessor +{ + /// + /// + /// If specified and children tiles exist, save those tile addresses to this field as an array of strings. + /// + /// + [JsonInclude, JsonPropertyName("children_field")] + public Elastic.Clients.Elasticsearch.Serverless.Field? ChildrenField { get; set; } + + /// + /// + /// Description of the processor. + /// Useful for describing the purpose of the processor or its configuration. + /// + /// + [JsonInclude, JsonPropertyName("description")] + public string? Description { get; set; } + + /// + /// + /// The field to interpret as a geo-tile.= + /// The field format is determined by the tile_type. + /// + /// + [JsonInclude, JsonPropertyName("field")] + public string Field { get; set; } + + /// + /// + /// Conditionally execute the processor. + /// + /// + [JsonInclude, JsonPropertyName("if")] + public string? If { get; set; } + + /// + /// + /// Ignore failures for the processor. + /// + /// + [JsonInclude, JsonPropertyName("ignore_failure")] + public bool? IgnoreFailure { get; set; } + + /// + /// + /// If true and field does not exist, the processor quietly exits without modifying the document. + /// + /// + [JsonInclude, JsonPropertyName("ignore_missing")] + public bool? IgnoreMissing { get; set; } + + /// + /// + /// If specified and intersecting non-child tiles exist, save their addresses to this field as an array of strings. + /// + /// + [JsonInclude, JsonPropertyName("non_children_field")] + public Elastic.Clients.Elasticsearch.Serverless.Field? NonChildrenField { get; set; } + + /// + /// + /// Handle failures for the processor. + /// + /// + [JsonInclude, JsonPropertyName("on_failure")] + public ICollection? OnFailure { get; set; } + + /// + /// + /// If specified and a parent tile exists, save that tile address to this field. + /// + /// + [JsonInclude, JsonPropertyName("parent_field")] + public Elastic.Clients.Elasticsearch.Serverless.Field? ParentField { get; set; } + + /// + /// + /// If specified, save the tile precision (zoom) as an integer to this field. + /// + /// + [JsonInclude, JsonPropertyName("precision_field")] + public Elastic.Clients.Elasticsearch.Serverless.Field? PrecisionField { get; set; } + + /// + /// + /// Identifier for the processor. + /// Useful for debugging and metrics. + /// + /// + [JsonInclude, JsonPropertyName("tag")] + public string? Tag { get; set; } + + /// + /// + /// The field to assign the polygon shape to, by default, the field is updated in-place. + /// + /// + [JsonInclude, JsonPropertyName("target_field")] + public Elastic.Clients.Elasticsearch.Serverless.Field? TargetField { get; set; } + + /// + /// + /// Which format to save the generated polygon in. + /// + /// + [JsonInclude, JsonPropertyName("target_format")] + public Elastic.Clients.Elasticsearch.Serverless.Ingest.GeoGridTargetFormat? TargetFormat { get; set; } + + /// + /// + /// Three tile formats are understood: geohash, geotile and geohex. + /// + /// + [JsonInclude, JsonPropertyName("tile_type")] + public Elastic.Clients.Elasticsearch.Serverless.Ingest.GeoGridTileType TileType { get; set; } + + public static implicit operator Elastic.Clients.Elasticsearch.Serverless.Ingest.Processor(GeoGridProcessor geoGridProcessor) => Elastic.Clients.Elasticsearch.Serverless.Ingest.Processor.GeoGrid(geoGridProcessor); +} + +public sealed partial class GeoGridProcessorDescriptor : SerializableDescriptor> +{ + internal GeoGridProcessorDescriptor(Action> configure) => configure.Invoke(this); + + public GeoGridProcessorDescriptor() : base() + { + } + + private Elastic.Clients.Elasticsearch.Serverless.Field? ChildrenFieldValue { get; set; } + private string? DescriptionValue { get; set; } + private string FieldValue { get; set; } + private string? IfValue { get; set; } + private bool? IgnoreFailureValue { get; set; } + private bool? IgnoreMissingValue { get; set; } + private Elastic.Clients.Elasticsearch.Serverless.Field? NonChildrenFieldValue { get; set; } + private ICollection? OnFailureValue { get; set; } + private Elastic.Clients.Elasticsearch.Serverless.Ingest.ProcessorDescriptor OnFailureDescriptor { get; set; } + private Action> OnFailureDescriptorAction { get; set; } + private Action>[] OnFailureDescriptorActions { get; set; } + private Elastic.Clients.Elasticsearch.Serverless.Field? ParentFieldValue { get; set; } + private Elastic.Clients.Elasticsearch.Serverless.Field? PrecisionFieldValue { get; set; } + private string? TagValue { get; set; } + private Elastic.Clients.Elasticsearch.Serverless.Field? TargetFieldValue { get; set; } + private Elastic.Clients.Elasticsearch.Serverless.Ingest.GeoGridTargetFormat? TargetFormatValue { get; set; } + private Elastic.Clients.Elasticsearch.Serverless.Ingest.GeoGridTileType TileTypeValue { get; set; } + + /// + /// + /// If specified and children tiles exist, save those tile addresses to this field as an array of strings. + /// + /// + public GeoGridProcessorDescriptor ChildrenField(Elastic.Clients.Elasticsearch.Serverless.Field? childrenField) + { + ChildrenFieldValue = childrenField; + return Self; + } + + /// + /// + /// If specified and children tiles exist, save those tile addresses to this field as an array of strings. + /// + /// + public GeoGridProcessorDescriptor ChildrenField(Expression> childrenField) + { + ChildrenFieldValue = childrenField; + return Self; + } + + /// + /// + /// If specified and children tiles exist, save those tile addresses to this field as an array of strings. + /// + /// + public GeoGridProcessorDescriptor ChildrenField(Expression> childrenField) + { + ChildrenFieldValue = childrenField; + return Self; + } + + /// + /// + /// Description of the processor. + /// Useful for describing the purpose of the processor or its configuration. + /// + /// + public GeoGridProcessorDescriptor Description(string? description) + { + DescriptionValue = description; + return Self; + } + + /// + /// + /// The field to interpret as a geo-tile.= + /// The field format is determined by the tile_type. + /// + /// + public GeoGridProcessorDescriptor Field(string field) + { + FieldValue = field; + return Self; + } + + /// + /// + /// Conditionally execute the processor. + /// + /// + public GeoGridProcessorDescriptor If(string? value) + { + IfValue = value; + return Self; + } + + /// + /// + /// Ignore failures for the processor. + /// + /// + public GeoGridProcessorDescriptor IgnoreFailure(bool? ignoreFailure = true) + { + IgnoreFailureValue = ignoreFailure; + return Self; + } + + /// + /// + /// If true and field does not exist, the processor quietly exits without modifying the document. + /// + /// + public GeoGridProcessorDescriptor IgnoreMissing(bool? ignoreMissing = true) + { + IgnoreMissingValue = ignoreMissing; + return Self; + } + + /// + /// + /// If specified and intersecting non-child tiles exist, save their addresses to this field as an array of strings. + /// + /// + public GeoGridProcessorDescriptor NonChildrenField(Elastic.Clients.Elasticsearch.Serverless.Field? nonChildrenField) + { + NonChildrenFieldValue = nonChildrenField; + return Self; + } + + /// + /// + /// If specified and intersecting non-child tiles exist, save their addresses to this field as an array of strings. + /// + /// + public GeoGridProcessorDescriptor NonChildrenField(Expression> nonChildrenField) + { + NonChildrenFieldValue = nonChildrenField; + return Self; + } + + /// + /// + /// If specified and intersecting non-child tiles exist, save their addresses to this field as an array of strings. + /// + /// + public GeoGridProcessorDescriptor NonChildrenField(Expression> nonChildrenField) + { + NonChildrenFieldValue = nonChildrenField; + return Self; + } + + /// + /// + /// Handle failures for the processor. + /// + /// + public GeoGridProcessorDescriptor OnFailure(ICollection? onFailure) + { + OnFailureDescriptor = null; + OnFailureDescriptorAction = null; + OnFailureDescriptorActions = null; + OnFailureValue = onFailure; + return Self; + } + + public GeoGridProcessorDescriptor OnFailure(Elastic.Clients.Elasticsearch.Serverless.Ingest.ProcessorDescriptor descriptor) + { + OnFailureValue = null; + OnFailureDescriptorAction = null; + OnFailureDescriptorActions = null; + OnFailureDescriptor = descriptor; + return Self; + } + + public GeoGridProcessorDescriptor OnFailure(Action> configure) + { + OnFailureValue = null; + OnFailureDescriptor = null; + OnFailureDescriptorActions = null; + OnFailureDescriptorAction = configure; + return Self; + } + + public GeoGridProcessorDescriptor OnFailure(params Action>[] configure) + { + OnFailureValue = null; + OnFailureDescriptor = null; + OnFailureDescriptorAction = null; + OnFailureDescriptorActions = configure; + return Self; + } + + /// + /// + /// If specified and a parent tile exists, save that tile address to this field. + /// + /// + public GeoGridProcessorDescriptor ParentField(Elastic.Clients.Elasticsearch.Serverless.Field? parentField) + { + ParentFieldValue = parentField; + return Self; + } + + /// + /// + /// If specified and a parent tile exists, save that tile address to this field. + /// + /// + public GeoGridProcessorDescriptor ParentField(Expression> parentField) + { + ParentFieldValue = parentField; + return Self; + } + + /// + /// + /// If specified and a parent tile exists, save that tile address to this field. + /// + /// + public GeoGridProcessorDescriptor ParentField(Expression> parentField) + { + ParentFieldValue = parentField; + return Self; + } + + /// + /// + /// If specified, save the tile precision (zoom) as an integer to this field. + /// + /// + public GeoGridProcessorDescriptor PrecisionField(Elastic.Clients.Elasticsearch.Serverless.Field? precisionField) + { + PrecisionFieldValue = precisionField; + return Self; + } + + /// + /// + /// If specified, save the tile precision (zoom) as an integer to this field. + /// + /// + public GeoGridProcessorDescriptor PrecisionField(Expression> precisionField) + { + PrecisionFieldValue = precisionField; + return Self; + } + + /// + /// + /// If specified, save the tile precision (zoom) as an integer to this field. + /// + /// + public GeoGridProcessorDescriptor PrecisionField(Expression> precisionField) + { + PrecisionFieldValue = precisionField; + return Self; + } + + /// + /// + /// Identifier for the processor. + /// Useful for debugging and metrics. + /// + /// + public GeoGridProcessorDescriptor Tag(string? tag) + { + TagValue = tag; + return Self; + } + + /// + /// + /// The field to assign the polygon shape to, by default, the field is updated in-place. + /// + /// + public GeoGridProcessorDescriptor TargetField(Elastic.Clients.Elasticsearch.Serverless.Field? targetField) + { + TargetFieldValue = targetField; + return Self; + } + + /// + /// + /// The field to assign the polygon shape to, by default, the field is updated in-place. + /// + /// + public GeoGridProcessorDescriptor TargetField(Expression> targetField) + { + TargetFieldValue = targetField; + return Self; + } + + /// + /// + /// The field to assign the polygon shape to, by default, the field is updated in-place. + /// + /// + public GeoGridProcessorDescriptor TargetField(Expression> targetField) + { + TargetFieldValue = targetField; + return Self; + } + + /// + /// + /// Which format to save the generated polygon in. + /// + /// + public GeoGridProcessorDescriptor TargetFormat(Elastic.Clients.Elasticsearch.Serverless.Ingest.GeoGridTargetFormat? targetFormat) + { + TargetFormatValue = targetFormat; + return Self; + } + + /// + /// + /// Three tile formats are understood: geohash, geotile and geohex. + /// + /// + public GeoGridProcessorDescriptor TileType(Elastic.Clients.Elasticsearch.Serverless.Ingest.GeoGridTileType tileType) + { + TileTypeValue = tileType; + return Self; + } + + protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) + { + writer.WriteStartObject(); + if (ChildrenFieldValue is not null) + { + writer.WritePropertyName("children_field"); + JsonSerializer.Serialize(writer, ChildrenFieldValue, options); + } + + if (!string.IsNullOrEmpty(DescriptionValue)) + { + writer.WritePropertyName("description"); + writer.WriteStringValue(DescriptionValue); + } + + writer.WritePropertyName("field"); + writer.WriteStringValue(FieldValue); + if (!string.IsNullOrEmpty(IfValue)) + { + writer.WritePropertyName("if"); + writer.WriteStringValue(IfValue); + } + + if (IgnoreFailureValue.HasValue) + { + writer.WritePropertyName("ignore_failure"); + writer.WriteBooleanValue(IgnoreFailureValue.Value); + } + + if (IgnoreMissingValue.HasValue) + { + writer.WritePropertyName("ignore_missing"); + writer.WriteBooleanValue(IgnoreMissingValue.Value); + } + + if (NonChildrenFieldValue is not null) + { + writer.WritePropertyName("non_children_field"); + JsonSerializer.Serialize(writer, NonChildrenFieldValue, options); + } + + if (OnFailureDescriptor is not null) + { + writer.WritePropertyName("on_failure"); + writer.WriteStartArray(); + JsonSerializer.Serialize(writer, OnFailureDescriptor, options); + writer.WriteEndArray(); + } + else if (OnFailureDescriptorAction is not null) + { + writer.WritePropertyName("on_failure"); + writer.WriteStartArray(); + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.Serverless.Ingest.ProcessorDescriptor(OnFailureDescriptorAction), options); + writer.WriteEndArray(); + } + else if (OnFailureDescriptorActions is not null) + { + writer.WritePropertyName("on_failure"); + writer.WriteStartArray(); + foreach (var action in OnFailureDescriptorActions) + { + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.Serverless.Ingest.ProcessorDescriptor(action), options); + } + + writer.WriteEndArray(); + } + else if (OnFailureValue is not null) + { + writer.WritePropertyName("on_failure"); + JsonSerializer.Serialize(writer, OnFailureValue, options); + } + + if (ParentFieldValue is not null) + { + writer.WritePropertyName("parent_field"); + JsonSerializer.Serialize(writer, ParentFieldValue, options); + } + + if (PrecisionFieldValue is not null) + { + writer.WritePropertyName("precision_field"); + JsonSerializer.Serialize(writer, PrecisionFieldValue, options); + } + + if (!string.IsNullOrEmpty(TagValue)) + { + writer.WritePropertyName("tag"); + writer.WriteStringValue(TagValue); + } + + if (TargetFieldValue is not null) + { + writer.WritePropertyName("target_field"); + JsonSerializer.Serialize(writer, TargetFieldValue, options); + } + + if (TargetFormatValue is not null) + { + writer.WritePropertyName("target_format"); + JsonSerializer.Serialize(writer, TargetFormatValue, options); + } + + writer.WritePropertyName("tile_type"); + JsonSerializer.Serialize(writer, TileTypeValue, options); + writer.WriteEndObject(); + } +} + +public sealed partial class GeoGridProcessorDescriptor : SerializableDescriptor +{ + internal GeoGridProcessorDescriptor(Action configure) => configure.Invoke(this); + + public GeoGridProcessorDescriptor() : base() + { + } + + private Elastic.Clients.Elasticsearch.Serverless.Field? ChildrenFieldValue { get; set; } + private string? DescriptionValue { get; set; } + private string FieldValue { get; set; } + private string? IfValue { get; set; } + private bool? IgnoreFailureValue { get; set; } + private bool? IgnoreMissingValue { get; set; } + private Elastic.Clients.Elasticsearch.Serverless.Field? NonChildrenFieldValue { get; set; } + private ICollection? OnFailureValue { get; set; } + private Elastic.Clients.Elasticsearch.Serverless.Ingest.ProcessorDescriptor OnFailureDescriptor { get; set; } + private Action OnFailureDescriptorAction { get; set; } + private Action[] OnFailureDescriptorActions { get; set; } + private Elastic.Clients.Elasticsearch.Serverless.Field? ParentFieldValue { get; set; } + private Elastic.Clients.Elasticsearch.Serverless.Field? PrecisionFieldValue { get; set; } + private string? TagValue { get; set; } + private Elastic.Clients.Elasticsearch.Serverless.Field? TargetFieldValue { get; set; } + private Elastic.Clients.Elasticsearch.Serverless.Ingest.GeoGridTargetFormat? TargetFormatValue { get; set; } + private Elastic.Clients.Elasticsearch.Serverless.Ingest.GeoGridTileType TileTypeValue { get; set; } + + /// + /// + /// If specified and children tiles exist, save those tile addresses to this field as an array of strings. + /// + /// + public GeoGridProcessorDescriptor ChildrenField(Elastic.Clients.Elasticsearch.Serverless.Field? childrenField) + { + ChildrenFieldValue = childrenField; + return Self; + } + + /// + /// + /// If specified and children tiles exist, save those tile addresses to this field as an array of strings. + /// + /// + public GeoGridProcessorDescriptor ChildrenField(Expression> childrenField) + { + ChildrenFieldValue = childrenField; + return Self; + } + + /// + /// + /// If specified and children tiles exist, save those tile addresses to this field as an array of strings. + /// + /// + public GeoGridProcessorDescriptor ChildrenField(Expression> childrenField) + { + ChildrenFieldValue = childrenField; + return Self; + } + + /// + /// + /// Description of the processor. + /// Useful for describing the purpose of the processor or its configuration. + /// + /// + public GeoGridProcessorDescriptor Description(string? description) + { + DescriptionValue = description; + return Self; + } + + /// + /// + /// The field to interpret as a geo-tile.= + /// The field format is determined by the tile_type. + /// + /// + public GeoGridProcessorDescriptor Field(string field) + { + FieldValue = field; + return Self; + } + + /// + /// + /// Conditionally execute the processor. + /// + /// + public GeoGridProcessorDescriptor If(string? value) + { + IfValue = value; + return Self; + } + + /// + /// + /// Ignore failures for the processor. + /// + /// + public GeoGridProcessorDescriptor IgnoreFailure(bool? ignoreFailure = true) + { + IgnoreFailureValue = ignoreFailure; + return Self; + } + + /// + /// + /// If true and field does not exist, the processor quietly exits without modifying the document. + /// + /// + public GeoGridProcessorDescriptor IgnoreMissing(bool? ignoreMissing = true) + { + IgnoreMissingValue = ignoreMissing; + return Self; + } + + /// + /// + /// If specified and intersecting non-child tiles exist, save their addresses to this field as an array of strings. + /// + /// + public GeoGridProcessorDescriptor NonChildrenField(Elastic.Clients.Elasticsearch.Serverless.Field? nonChildrenField) + { + NonChildrenFieldValue = nonChildrenField; + return Self; + } + + /// + /// + /// If specified and intersecting non-child tiles exist, save their addresses to this field as an array of strings. + /// + /// + public GeoGridProcessorDescriptor NonChildrenField(Expression> nonChildrenField) + { + NonChildrenFieldValue = nonChildrenField; + return Self; + } + + /// + /// + /// If specified and intersecting non-child tiles exist, save their addresses to this field as an array of strings. + /// + /// + public GeoGridProcessorDescriptor NonChildrenField(Expression> nonChildrenField) + { + NonChildrenFieldValue = nonChildrenField; + return Self; + } + + /// + /// + /// Handle failures for the processor. + /// + /// + public GeoGridProcessorDescriptor OnFailure(ICollection? onFailure) + { + OnFailureDescriptor = null; + OnFailureDescriptorAction = null; + OnFailureDescriptorActions = null; + OnFailureValue = onFailure; + return Self; + } + + public GeoGridProcessorDescriptor OnFailure(Elastic.Clients.Elasticsearch.Serverless.Ingest.ProcessorDescriptor descriptor) + { + OnFailureValue = null; + OnFailureDescriptorAction = null; + OnFailureDescriptorActions = null; + OnFailureDescriptor = descriptor; + return Self; + } + + public GeoGridProcessorDescriptor OnFailure(Action configure) + { + OnFailureValue = null; + OnFailureDescriptor = null; + OnFailureDescriptorActions = null; + OnFailureDescriptorAction = configure; + return Self; + } + + public GeoGridProcessorDescriptor OnFailure(params Action[] configure) + { + OnFailureValue = null; + OnFailureDescriptor = null; + OnFailureDescriptorAction = null; + OnFailureDescriptorActions = configure; + return Self; + } + + /// + /// + /// If specified and a parent tile exists, save that tile address to this field. + /// + /// + public GeoGridProcessorDescriptor ParentField(Elastic.Clients.Elasticsearch.Serverless.Field? parentField) + { + ParentFieldValue = parentField; + return Self; + } + + /// + /// + /// If specified and a parent tile exists, save that tile address to this field. + /// + /// + public GeoGridProcessorDescriptor ParentField(Expression> parentField) + { + ParentFieldValue = parentField; + return Self; + } + + /// + /// + /// If specified and a parent tile exists, save that tile address to this field. + /// + /// + public GeoGridProcessorDescriptor ParentField(Expression> parentField) + { + ParentFieldValue = parentField; + return Self; + } + + /// + /// + /// If specified, save the tile precision (zoom) as an integer to this field. + /// + /// + public GeoGridProcessorDescriptor PrecisionField(Elastic.Clients.Elasticsearch.Serverless.Field? precisionField) + { + PrecisionFieldValue = precisionField; + return Self; + } + + /// + /// + /// If specified, save the tile precision (zoom) as an integer to this field. + /// + /// + public GeoGridProcessorDescriptor PrecisionField(Expression> precisionField) + { + PrecisionFieldValue = precisionField; + return Self; + } + + /// + /// + /// If specified, save the tile precision (zoom) as an integer to this field. + /// + /// + public GeoGridProcessorDescriptor PrecisionField(Expression> precisionField) + { + PrecisionFieldValue = precisionField; + return Self; + } + + /// + /// + /// Identifier for the processor. + /// Useful for debugging and metrics. + /// + /// + public GeoGridProcessorDescriptor Tag(string? tag) + { + TagValue = tag; + return Self; + } + + /// + /// + /// The field to assign the polygon shape to, by default, the field is updated in-place. + /// + /// + public GeoGridProcessorDescriptor TargetField(Elastic.Clients.Elasticsearch.Serverless.Field? targetField) + { + TargetFieldValue = targetField; + return Self; + } + + /// + /// + /// The field to assign the polygon shape to, by default, the field is updated in-place. + /// + /// + public GeoGridProcessorDescriptor TargetField(Expression> targetField) + { + TargetFieldValue = targetField; + return Self; + } + + /// + /// + /// The field to assign the polygon shape to, by default, the field is updated in-place. + /// + /// + public GeoGridProcessorDescriptor TargetField(Expression> targetField) + { + TargetFieldValue = targetField; + return Self; + } + + /// + /// + /// Which format to save the generated polygon in. + /// + /// + public GeoGridProcessorDescriptor TargetFormat(Elastic.Clients.Elasticsearch.Serverless.Ingest.GeoGridTargetFormat? targetFormat) + { + TargetFormatValue = targetFormat; + return Self; + } + + /// + /// + /// Three tile formats are understood: geohash, geotile and geohex. + /// + /// + public GeoGridProcessorDescriptor TileType(Elastic.Clients.Elasticsearch.Serverless.Ingest.GeoGridTileType tileType) + { + TileTypeValue = tileType; + return Self; + } + + protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) + { + writer.WriteStartObject(); + if (ChildrenFieldValue is not null) + { + writer.WritePropertyName("children_field"); + JsonSerializer.Serialize(writer, ChildrenFieldValue, options); + } + + if (!string.IsNullOrEmpty(DescriptionValue)) + { + writer.WritePropertyName("description"); + writer.WriteStringValue(DescriptionValue); + } + + writer.WritePropertyName("field"); + writer.WriteStringValue(FieldValue); + if (!string.IsNullOrEmpty(IfValue)) + { + writer.WritePropertyName("if"); + writer.WriteStringValue(IfValue); + } + + if (IgnoreFailureValue.HasValue) + { + writer.WritePropertyName("ignore_failure"); + writer.WriteBooleanValue(IgnoreFailureValue.Value); + } + + if (IgnoreMissingValue.HasValue) + { + writer.WritePropertyName("ignore_missing"); + writer.WriteBooleanValue(IgnoreMissingValue.Value); + } + + if (NonChildrenFieldValue is not null) + { + writer.WritePropertyName("non_children_field"); + JsonSerializer.Serialize(writer, NonChildrenFieldValue, options); + } + + if (OnFailureDescriptor is not null) + { + writer.WritePropertyName("on_failure"); + writer.WriteStartArray(); + JsonSerializer.Serialize(writer, OnFailureDescriptor, options); + writer.WriteEndArray(); + } + else if (OnFailureDescriptorAction is not null) + { + writer.WritePropertyName("on_failure"); + writer.WriteStartArray(); + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.Serverless.Ingest.ProcessorDescriptor(OnFailureDescriptorAction), options); + writer.WriteEndArray(); + } + else if (OnFailureDescriptorActions is not null) + { + writer.WritePropertyName("on_failure"); + writer.WriteStartArray(); + foreach (var action in OnFailureDescriptorActions) + { + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.Serverless.Ingest.ProcessorDescriptor(action), options); + } + + writer.WriteEndArray(); + } + else if (OnFailureValue is not null) + { + writer.WritePropertyName("on_failure"); + JsonSerializer.Serialize(writer, OnFailureValue, options); + } + + if (ParentFieldValue is not null) + { + writer.WritePropertyName("parent_field"); + JsonSerializer.Serialize(writer, ParentFieldValue, options); + } + + if (PrecisionFieldValue is not null) + { + writer.WritePropertyName("precision_field"); + JsonSerializer.Serialize(writer, PrecisionFieldValue, options); + } + + if (!string.IsNullOrEmpty(TagValue)) + { + writer.WritePropertyName("tag"); + writer.WriteStringValue(TagValue); + } + + if (TargetFieldValue is not null) + { + writer.WritePropertyName("target_field"); + JsonSerializer.Serialize(writer, TargetFieldValue, options); + } + + if (TargetFormatValue is not null) + { + writer.WritePropertyName("target_format"); + JsonSerializer.Serialize(writer, TargetFormatValue, options); + } + + writer.WritePropertyName("tile_type"); + JsonSerializer.Serialize(writer, TileTypeValue, options); + writer.WriteEndObject(); + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Ingest/GeoIpProcessor.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Ingest/GeoIpProcessor.g.cs index 0a7368724f1..7cb501b0299 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Ingest/GeoIpProcessor.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Ingest/GeoIpProcessor.g.cs @@ -46,6 +46,15 @@ public sealed partial class GeoIpProcessor [JsonInclude, JsonPropertyName("description")] public string? Description { get; set; } + /// + /// + /// If true (and if ingest.geoip.downloader.eager.download is false), the missing database is downloaded when the pipeline is created. + /// Else, the download is triggered by when the pipeline is used as the default_pipeline or final_pipeline in an index. + /// + /// + [JsonInclude, JsonPropertyName("download_database_on_pipeline_creation")] + public bool? DownloadDatabaseOnPipelineCreation { get; set; } + /// /// /// The field to get the ip address from for the geographical lookup. @@ -132,6 +141,7 @@ public GeoIpProcessorDescriptor() : base() private string? DatabaseFileValue { get; set; } private string? DescriptionValue { get; set; } + private bool? DownloadDatabaseOnPipelineCreationValue { get; set; } private Elastic.Clients.Elasticsearch.Serverless.Field FieldValue { get; set; } private bool? FirstOnlyValue { get; set; } private string? IfValue { get; set; } @@ -168,6 +178,18 @@ public GeoIpProcessorDescriptor Description(string? description) return Self; } + /// + /// + /// If true (and if ingest.geoip.downloader.eager.download is false), the missing database is downloaded when the pipeline is created. + /// Else, the download is triggered by when the pipeline is used as the default_pipeline or final_pipeline in an index. + /// + /// + public GeoIpProcessorDescriptor DownloadDatabaseOnPipelineCreation(bool? downloadDatabaseOnPipelineCreation = true) + { + DownloadDatabaseOnPipelineCreationValue = downloadDatabaseOnPipelineCreation; + return Self; + } + /// /// /// The field to get the ip address from for the geographical lookup. @@ -357,6 +379,12 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o writer.WriteStringValue(DescriptionValue); } + if (DownloadDatabaseOnPipelineCreationValue.HasValue) + { + writer.WritePropertyName("download_database_on_pipeline_creation"); + writer.WriteBooleanValue(DownloadDatabaseOnPipelineCreationValue.Value); + } + writer.WritePropertyName("field"); JsonSerializer.Serialize(writer, FieldValue, options); if (FirstOnlyValue.HasValue) @@ -446,6 +474,7 @@ public GeoIpProcessorDescriptor() : base() private string? DatabaseFileValue { get; set; } private string? DescriptionValue { get; set; } + private bool? DownloadDatabaseOnPipelineCreationValue { get; set; } private Elastic.Clients.Elasticsearch.Serverless.Field FieldValue { get; set; } private bool? FirstOnlyValue { get; set; } private string? IfValue { get; set; } @@ -482,6 +511,18 @@ public GeoIpProcessorDescriptor Description(string? description) return Self; } + /// + /// + /// If true (and if ingest.geoip.downloader.eager.download is false), the missing database is downloaded when the pipeline is created. + /// Else, the download is triggered by when the pipeline is used as the default_pipeline or final_pipeline in an index. + /// + /// + public GeoIpProcessorDescriptor DownloadDatabaseOnPipelineCreation(bool? downloadDatabaseOnPipelineCreation = true) + { + DownloadDatabaseOnPipelineCreationValue = downloadDatabaseOnPipelineCreation; + return Self; + } + /// /// /// The field to get the ip address from for the geographical lookup. @@ -671,6 +712,12 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o writer.WriteStringValue(DescriptionValue); } + if (DownloadDatabaseOnPipelineCreationValue.HasValue) + { + writer.WritePropertyName("download_database_on_pipeline_creation"); + writer.WriteBooleanValue(DownloadDatabaseOnPipelineCreationValue.Value); + } + writer.WritePropertyName("field"); JsonSerializer.Serialize(writer, FieldValue, options); if (FirstOnlyValue.HasValue) diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Ingest/Pipeline.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Ingest/Pipeline.g.cs index 617925202ea..7cbfd0a3e85 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Ingest/Pipeline.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Ingest/Pipeline.g.cs @@ -29,6 +29,15 @@ namespace Elastic.Clients.Elasticsearch.Serverless.Ingest; public sealed partial class Pipeline { + /// + /// + /// Marks this ingest pipeline as deprecated. + /// When a deprecated ingest pipeline is referenced as the default or final pipeline when creating or updating a non-deprecated index template, Elasticsearch will emit a deprecation warning. + /// + /// + [JsonInclude, JsonPropertyName("deprecated")] + public bool? Deprecated { get; set; } + /// /// /// Description of the ingest pipeline. @@ -79,6 +88,7 @@ public PipelineDescriptor() : base() { } + private bool? DeprecatedValue { get; set; } private string? DescriptionValue { get; set; } private IDictionary? MetaValue { get; set; } private ICollection? OnFailureValue { get; set; } @@ -91,6 +101,18 @@ public PipelineDescriptor() : base() private Action>[] ProcessorsDescriptorActions { get; set; } private long? VersionValue { get; set; } + /// + /// + /// Marks this ingest pipeline as deprecated. + /// When a deprecated ingest pipeline is referenced as the default or final pipeline when creating or updating a non-deprecated index template, Elasticsearch will emit a deprecation warning. + /// + /// + public PipelineDescriptor Deprecated(bool? deprecated = true) + { + DeprecatedValue = deprecated; + return Self; + } + /// /// /// Description of the ingest pipeline. @@ -210,6 +232,12 @@ public PipelineDescriptor Version(long? version) protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) { writer.WriteStartObject(); + if (DeprecatedValue.HasValue) + { + writer.WritePropertyName("deprecated"); + writer.WriteBooleanValue(DeprecatedValue.Value); + } + if (!string.IsNullOrEmpty(DescriptionValue)) { writer.WritePropertyName("description"); @@ -302,6 +330,7 @@ public PipelineDescriptor() : base() { } + private bool? DeprecatedValue { get; set; } private string? DescriptionValue { get; set; } private IDictionary? MetaValue { get; set; } private ICollection? OnFailureValue { get; set; } @@ -314,6 +343,18 @@ public PipelineDescriptor() : base() private Action[] ProcessorsDescriptorActions { get; set; } private long? VersionValue { get; set; } + /// + /// + /// Marks this ingest pipeline as deprecated. + /// When a deprecated ingest pipeline is referenced as the default or final pipeline when creating or updating a non-deprecated index template, Elasticsearch will emit a deprecation warning. + /// + /// + public PipelineDescriptor Deprecated(bool? deprecated = true) + { + DeprecatedValue = deprecated; + return Self; + } + /// /// /// Description of the ingest pipeline. @@ -433,6 +474,12 @@ public PipelineDescriptor Version(long? version) protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) { writer.WriteStartObject(); + if (DeprecatedValue.HasValue) + { + writer.WritePropertyName("deprecated"); + writer.WriteBooleanValue(DeprecatedValue.Value); + } + if (!string.IsNullOrEmpty(DescriptionValue)) { writer.WritePropertyName("description"); diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Ingest/Processor.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Ingest/Processor.g.cs index 2480b2f8bca..e55af2cc02a 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Ingest/Processor.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Ingest/Processor.g.cs @@ -60,6 +60,7 @@ internal Processor(string variantName, object variant) public static Processor Enrich(Elastic.Clients.Elasticsearch.Serverless.Ingest.EnrichProcessor enrichProcessor) => new Processor("enrich", enrichProcessor); public static Processor Fail(Elastic.Clients.Elasticsearch.Serverless.Ingest.FailProcessor failProcessor) => new Processor("fail", failProcessor); public static Processor Foreach(Elastic.Clients.Elasticsearch.Serverless.Ingest.ForeachProcessor foreachProcessor) => new Processor("foreach", foreachProcessor); + public static Processor GeoGrid(Elastic.Clients.Elasticsearch.Serverless.Ingest.GeoGridProcessor geoGridProcessor) => new Processor("geo_grid", geoGridProcessor); public static Processor Geoip(Elastic.Clients.Elasticsearch.Serverless.Ingest.GeoIpProcessor geoIpProcessor) => new Processor("geoip", geoIpProcessor); public static Processor Grok(Elastic.Clients.Elasticsearch.Serverless.Ingest.GrokProcessor grokProcessor) => new Processor("grok", grokProcessor); public static Processor Gsub(Elastic.Clients.Elasticsearch.Serverless.Ingest.GsubProcessor gsubProcessor) => new Processor("gsub", gsubProcessor); @@ -70,6 +71,7 @@ internal Processor(string variantName, object variant) public static Processor Kv(Elastic.Clients.Elasticsearch.Serverless.Ingest.KeyValueProcessor keyValueProcessor) => new Processor("kv", keyValueProcessor); public static Processor Lowercase(Elastic.Clients.Elasticsearch.Serverless.Ingest.LowercaseProcessor lowercaseProcessor) => new Processor("lowercase", lowercaseProcessor); public static Processor Pipeline(Elastic.Clients.Elasticsearch.Serverless.Ingest.PipelineProcessor pipelineProcessor) => new Processor("pipeline", pipelineProcessor); + public static Processor Redact(Elastic.Clients.Elasticsearch.Serverless.Ingest.RedactProcessor redactProcessor) => new Processor("redact", redactProcessor); public static Processor Remove(Elastic.Clients.Elasticsearch.Serverless.Ingest.RemoveProcessor removeProcessor) => new Processor("remove", removeProcessor); public static Processor Rename(Elastic.Clients.Elasticsearch.Serverless.Ingest.RenameProcessor renameProcessor) => new Processor("rename", renameProcessor); public static Processor Reroute(Elastic.Clients.Elasticsearch.Serverless.Ingest.RerouteProcessor rerouteProcessor) => new Processor("reroute", rerouteProcessor); @@ -220,6 +222,13 @@ public override Processor Read(ref Utf8JsonReader reader, Type typeToConvert, Js continue; } + if (propertyName == "geo_grid") + { + variantValue = JsonSerializer.Deserialize(ref reader, options); + variantNameValue = propertyName; + continue; + } + if (propertyName == "geoip") { variantValue = JsonSerializer.Deserialize(ref reader, options); @@ -290,6 +299,13 @@ public override Processor Read(ref Utf8JsonReader reader, Type typeToConvert, Js continue; } + if (propertyName == "redact") + { + variantValue = JsonSerializer.Deserialize(ref reader, options); + variantNameValue = propertyName; + continue; + } + if (propertyName == "remove") { variantValue = JsonSerializer.Deserialize(ref reader, options); @@ -438,6 +454,9 @@ public override void Write(Utf8JsonWriter writer, Processor value, JsonSerialize case "foreach": JsonSerializer.Serialize(writer, (Elastic.Clients.Elasticsearch.Serverless.Ingest.ForeachProcessor)value.Variant, options); break; + case "geo_grid": + JsonSerializer.Serialize(writer, (Elastic.Clients.Elasticsearch.Serverless.Ingest.GeoGridProcessor)value.Variant, options); + break; case "geoip": JsonSerializer.Serialize(writer, (Elastic.Clients.Elasticsearch.Serverless.Ingest.GeoIpProcessor)value.Variant, options); break; @@ -468,6 +487,9 @@ public override void Write(Utf8JsonWriter writer, Processor value, JsonSerialize case "pipeline": JsonSerializer.Serialize(writer, (Elastic.Clients.Elasticsearch.Serverless.Ingest.PipelineProcessor)value.Variant, options); break; + case "redact": + JsonSerializer.Serialize(writer, (Elastic.Clients.Elasticsearch.Serverless.Ingest.RedactProcessor)value.Variant, options); + break; case "remove": JsonSerializer.Serialize(writer, (Elastic.Clients.Elasticsearch.Serverless.Ingest.RemoveProcessor)value.Variant, options); break; @@ -573,6 +595,8 @@ private ProcessorDescriptor Set(object variant, string variantName) public ProcessorDescriptor Fail(Action> configure) => Set(configure, "fail"); public ProcessorDescriptor Foreach(Elastic.Clients.Elasticsearch.Serverless.Ingest.ForeachProcessor foreachProcessor) => Set(foreachProcessor, "foreach"); public ProcessorDescriptor Foreach(Action> configure) => Set(configure, "foreach"); + public ProcessorDescriptor GeoGrid(Elastic.Clients.Elasticsearch.Serverless.Ingest.GeoGridProcessor geoGridProcessor) => Set(geoGridProcessor, "geo_grid"); + public ProcessorDescriptor GeoGrid(Action> configure) => Set(configure, "geo_grid"); public ProcessorDescriptor Geoip(Elastic.Clients.Elasticsearch.Serverless.Ingest.GeoIpProcessor geoIpProcessor) => Set(geoIpProcessor, "geoip"); public ProcessorDescriptor Geoip(Action> configure) => Set(configure, "geoip"); public ProcessorDescriptor Grok(Elastic.Clients.Elasticsearch.Serverless.Ingest.GrokProcessor grokProcessor) => Set(grokProcessor, "grok"); @@ -593,6 +617,8 @@ private ProcessorDescriptor Set(object variant, string variantName) public ProcessorDescriptor Lowercase(Action> configure) => Set(configure, "lowercase"); public ProcessorDescriptor Pipeline(Elastic.Clients.Elasticsearch.Serverless.Ingest.PipelineProcessor pipelineProcessor) => Set(pipelineProcessor, "pipeline"); public ProcessorDescriptor Pipeline(Action> configure) => Set(configure, "pipeline"); + public ProcessorDescriptor Redact(Elastic.Clients.Elasticsearch.Serverless.Ingest.RedactProcessor redactProcessor) => Set(redactProcessor, "redact"); + public ProcessorDescriptor Redact(Action> configure) => Set(configure, "redact"); public ProcessorDescriptor Remove(Elastic.Clients.Elasticsearch.Serverless.Ingest.RemoveProcessor removeProcessor) => Set(removeProcessor, "remove"); public ProcessorDescriptor Remove(Action> configure) => Set(configure, "remove"); public ProcessorDescriptor Rename(Elastic.Clients.Elasticsearch.Serverless.Ingest.RenameProcessor renameProcessor) => Set(renameProcessor, "rename"); @@ -699,6 +725,8 @@ private ProcessorDescriptor Set(object variant, string variantName) public ProcessorDescriptor Fail(Action configure) => Set(configure, "fail"); public ProcessorDescriptor Foreach(Elastic.Clients.Elasticsearch.Serverless.Ingest.ForeachProcessor foreachProcessor) => Set(foreachProcessor, "foreach"); public ProcessorDescriptor Foreach(Action configure) => Set(configure, "foreach"); + public ProcessorDescriptor GeoGrid(Elastic.Clients.Elasticsearch.Serverless.Ingest.GeoGridProcessor geoGridProcessor) => Set(geoGridProcessor, "geo_grid"); + public ProcessorDescriptor GeoGrid(Action configure) => Set(configure, "geo_grid"); public ProcessorDescriptor Geoip(Elastic.Clients.Elasticsearch.Serverless.Ingest.GeoIpProcessor geoIpProcessor) => Set(geoIpProcessor, "geoip"); public ProcessorDescriptor Geoip(Action configure) => Set(configure, "geoip"); public ProcessorDescriptor Grok(Elastic.Clients.Elasticsearch.Serverless.Ingest.GrokProcessor grokProcessor) => Set(grokProcessor, "grok"); @@ -719,6 +747,8 @@ private ProcessorDescriptor Set(object variant, string variantName) public ProcessorDescriptor Lowercase(Action configure) => Set(configure, "lowercase"); public ProcessorDescriptor Pipeline(Elastic.Clients.Elasticsearch.Serverless.Ingest.PipelineProcessor pipelineProcessor) => Set(pipelineProcessor, "pipeline"); public ProcessorDescriptor Pipeline(Action configure) => Set(configure, "pipeline"); + public ProcessorDescriptor Redact(Elastic.Clients.Elasticsearch.Serverless.Ingest.RedactProcessor redactProcessor) => Set(redactProcessor, "redact"); + public ProcessorDescriptor Redact(Action configure) => Set(configure, "redact"); public ProcessorDescriptor Remove(Elastic.Clients.Elasticsearch.Serverless.Ingest.RemoveProcessor removeProcessor) => Set(removeProcessor, "remove"); public ProcessorDescriptor Remove(Action configure) => Set(configure, "remove"); public ProcessorDescriptor Rename(Elastic.Clients.Elasticsearch.Serverless.Ingest.RenameProcessor renameProcessor) => Set(renameProcessor, "rename"); diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Ingest/RedactProcessor.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Ingest/RedactProcessor.g.cs new file mode 100644 index 00000000000..34389a4e009 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Ingest/RedactProcessor.g.cs @@ -0,0 +1,727 @@ +// 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 Elastic.Clients.Elasticsearch.Serverless.Fluent; +using Elastic.Clients.Elasticsearch.Serverless.Serialization; +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +namespace Elastic.Clients.Elasticsearch.Serverless.Ingest; + +public sealed partial class RedactProcessor +{ + /// + /// + /// Description of the processor. + /// Useful for describing the purpose of the processor or its configuration. + /// + /// + [JsonInclude, JsonPropertyName("description")] + public string? Description { get; set; } + + /// + /// + /// The field to be redacted + /// + /// + [JsonInclude, JsonPropertyName("field")] + public Elastic.Clients.Elasticsearch.Serverless.Field Field { get; set; } + + /// + /// + /// Conditionally execute the processor. + /// + /// + [JsonInclude, JsonPropertyName("if")] + public string? If { get; set; } + + /// + /// + /// Ignore failures for the processor. + /// + /// + [JsonInclude, JsonPropertyName("ignore_failure")] + public bool? IgnoreFailure { get; set; } + + /// + /// + /// If true and field does not exist or is null, the processor quietly exits without modifying the document. + /// + /// + [JsonInclude, JsonPropertyName("ignore_missing")] + public bool? IgnoreMissing { get; set; } + + /// + /// + /// Handle failures for the processor. + /// + /// + [JsonInclude, JsonPropertyName("on_failure")] + public ICollection? OnFailure { get; set; } + [JsonInclude, JsonPropertyName("pattern_definitions")] + public IDictionary? PatternDefinitions { get; set; } + + /// + /// + /// A list of grok expressions to match and redact named captures with + /// + /// + [JsonInclude, JsonPropertyName("patterns")] + public ICollection Patterns { get; set; } + + /// + /// + /// Start a redacted section with this token + /// + /// + [JsonInclude, JsonPropertyName("prefix")] + public string? Prefix { get; set; } + + /// + /// + /// If true and the current license does not support running redact processors, then the processor quietly exits without modifying the document + /// + /// + [JsonInclude, JsonPropertyName("skip_if_unlicensed")] + public bool? SkipIfUnlicensed { get; set; } + + /// + /// + /// End a redacted section with this token + /// + /// + [JsonInclude, JsonPropertyName("suffix")] + public string? Suffix { get; set; } + + /// + /// + /// Identifier for the processor. + /// Useful for debugging and metrics. + /// + /// + [JsonInclude, JsonPropertyName("tag")] + public string? Tag { get; set; } + + public static implicit operator Elastic.Clients.Elasticsearch.Serverless.Ingest.Processor(RedactProcessor redactProcessor) => Elastic.Clients.Elasticsearch.Serverless.Ingest.Processor.Redact(redactProcessor); +} + +public sealed partial class RedactProcessorDescriptor : SerializableDescriptor> +{ + internal RedactProcessorDescriptor(Action> configure) => configure.Invoke(this); + + public RedactProcessorDescriptor() : base() + { + } + + private string? DescriptionValue { get; set; } + private Elastic.Clients.Elasticsearch.Serverless.Field FieldValue { get; set; } + private string? IfValue { get; set; } + private bool? IgnoreFailureValue { get; set; } + private bool? IgnoreMissingValue { get; set; } + private ICollection? OnFailureValue { get; set; } + private Elastic.Clients.Elasticsearch.Serverless.Ingest.ProcessorDescriptor OnFailureDescriptor { get; set; } + private Action> OnFailureDescriptorAction { get; set; } + private Action>[] OnFailureDescriptorActions { get; set; } + private IDictionary? PatternDefinitionsValue { get; set; } + private ICollection PatternsValue { get; set; } + private string? PrefixValue { get; set; } + private bool? SkipIfUnlicensedValue { get; set; } + private string? SuffixValue { get; set; } + private string? TagValue { get; set; } + + /// + /// + /// Description of the processor. + /// Useful for describing the purpose of the processor or its configuration. + /// + /// + public RedactProcessorDescriptor Description(string? description) + { + DescriptionValue = description; + return Self; + } + + /// + /// + /// The field to be redacted + /// + /// + public RedactProcessorDescriptor Field(Elastic.Clients.Elasticsearch.Serverless.Field field) + { + FieldValue = field; + return Self; + } + + /// + /// + /// The field to be redacted + /// + /// + public RedactProcessorDescriptor Field(Expression> field) + { + FieldValue = field; + return Self; + } + + /// + /// + /// The field to be redacted + /// + /// + public RedactProcessorDescriptor Field(Expression> field) + { + FieldValue = field; + return Self; + } + + /// + /// + /// Conditionally execute the processor. + /// + /// + public RedactProcessorDescriptor If(string? value) + { + IfValue = value; + return Self; + } + + /// + /// + /// Ignore failures for the processor. + /// + /// + public RedactProcessorDescriptor IgnoreFailure(bool? ignoreFailure = true) + { + IgnoreFailureValue = ignoreFailure; + return Self; + } + + /// + /// + /// If true and field does not exist or is null, the processor quietly exits without modifying the document. + /// + /// + public RedactProcessorDescriptor IgnoreMissing(bool? ignoreMissing = true) + { + IgnoreMissingValue = ignoreMissing; + return Self; + } + + /// + /// + /// Handle failures for the processor. + /// + /// + public RedactProcessorDescriptor OnFailure(ICollection? onFailure) + { + OnFailureDescriptor = null; + OnFailureDescriptorAction = null; + OnFailureDescriptorActions = null; + OnFailureValue = onFailure; + return Self; + } + + public RedactProcessorDescriptor OnFailure(Elastic.Clients.Elasticsearch.Serverless.Ingest.ProcessorDescriptor descriptor) + { + OnFailureValue = null; + OnFailureDescriptorAction = null; + OnFailureDescriptorActions = null; + OnFailureDescriptor = descriptor; + return Self; + } + + public RedactProcessorDescriptor OnFailure(Action> configure) + { + OnFailureValue = null; + OnFailureDescriptor = null; + OnFailureDescriptorActions = null; + OnFailureDescriptorAction = configure; + return Self; + } + + public RedactProcessorDescriptor OnFailure(params Action>[] configure) + { + OnFailureValue = null; + OnFailureDescriptor = null; + OnFailureDescriptorAction = null; + OnFailureDescriptorActions = configure; + return Self; + } + + public RedactProcessorDescriptor PatternDefinitions(Func, FluentDictionary> selector) + { + PatternDefinitionsValue = selector?.Invoke(new FluentDictionary()); + return Self; + } + + /// + /// + /// A list of grok expressions to match and redact named captures with + /// + /// + public RedactProcessorDescriptor Patterns(ICollection patterns) + { + PatternsValue = patterns; + return Self; + } + + /// + /// + /// Start a redacted section with this token + /// + /// + public RedactProcessorDescriptor Prefix(string? prefix) + { + PrefixValue = prefix; + return Self; + } + + /// + /// + /// If true and the current license does not support running redact processors, then the processor quietly exits without modifying the document + /// + /// + public RedactProcessorDescriptor SkipIfUnlicensed(bool? skipIfUnlicensed = true) + { + SkipIfUnlicensedValue = skipIfUnlicensed; + return Self; + } + + /// + /// + /// End a redacted section with this token + /// + /// + public RedactProcessorDescriptor Suffix(string? suffix) + { + SuffixValue = suffix; + return Self; + } + + /// + /// + /// Identifier for the processor. + /// Useful for debugging and metrics. + /// + /// + public RedactProcessorDescriptor Tag(string? tag) + { + TagValue = tag; + return Self; + } + + protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) + { + writer.WriteStartObject(); + if (!string.IsNullOrEmpty(DescriptionValue)) + { + writer.WritePropertyName("description"); + writer.WriteStringValue(DescriptionValue); + } + + writer.WritePropertyName("field"); + JsonSerializer.Serialize(writer, FieldValue, options); + if (!string.IsNullOrEmpty(IfValue)) + { + writer.WritePropertyName("if"); + writer.WriteStringValue(IfValue); + } + + if (IgnoreFailureValue.HasValue) + { + writer.WritePropertyName("ignore_failure"); + writer.WriteBooleanValue(IgnoreFailureValue.Value); + } + + if (IgnoreMissingValue.HasValue) + { + writer.WritePropertyName("ignore_missing"); + writer.WriteBooleanValue(IgnoreMissingValue.Value); + } + + if (OnFailureDescriptor is not null) + { + writer.WritePropertyName("on_failure"); + writer.WriteStartArray(); + JsonSerializer.Serialize(writer, OnFailureDescriptor, options); + writer.WriteEndArray(); + } + else if (OnFailureDescriptorAction is not null) + { + writer.WritePropertyName("on_failure"); + writer.WriteStartArray(); + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.Serverless.Ingest.ProcessorDescriptor(OnFailureDescriptorAction), options); + writer.WriteEndArray(); + } + else if (OnFailureDescriptorActions is not null) + { + writer.WritePropertyName("on_failure"); + writer.WriteStartArray(); + foreach (var action in OnFailureDescriptorActions) + { + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.Serverless.Ingest.ProcessorDescriptor(action), options); + } + + writer.WriteEndArray(); + } + else if (OnFailureValue is not null) + { + writer.WritePropertyName("on_failure"); + JsonSerializer.Serialize(writer, OnFailureValue, options); + } + + if (PatternDefinitionsValue is not null) + { + writer.WritePropertyName("pattern_definitions"); + JsonSerializer.Serialize(writer, PatternDefinitionsValue, options); + } + + writer.WritePropertyName("patterns"); + JsonSerializer.Serialize(writer, PatternsValue, options); + if (!string.IsNullOrEmpty(PrefixValue)) + { + writer.WritePropertyName("prefix"); + writer.WriteStringValue(PrefixValue); + } + + if (SkipIfUnlicensedValue.HasValue) + { + writer.WritePropertyName("skip_if_unlicensed"); + writer.WriteBooleanValue(SkipIfUnlicensedValue.Value); + } + + if (!string.IsNullOrEmpty(SuffixValue)) + { + writer.WritePropertyName("suffix"); + writer.WriteStringValue(SuffixValue); + } + + if (!string.IsNullOrEmpty(TagValue)) + { + writer.WritePropertyName("tag"); + writer.WriteStringValue(TagValue); + } + + writer.WriteEndObject(); + } +} + +public sealed partial class RedactProcessorDescriptor : SerializableDescriptor +{ + internal RedactProcessorDescriptor(Action configure) => configure.Invoke(this); + + public RedactProcessorDescriptor() : base() + { + } + + private string? DescriptionValue { get; set; } + private Elastic.Clients.Elasticsearch.Serverless.Field FieldValue { get; set; } + private string? IfValue { get; set; } + private bool? IgnoreFailureValue { get; set; } + private bool? IgnoreMissingValue { get; set; } + private ICollection? OnFailureValue { get; set; } + private Elastic.Clients.Elasticsearch.Serverless.Ingest.ProcessorDescriptor OnFailureDescriptor { get; set; } + private Action OnFailureDescriptorAction { get; set; } + private Action[] OnFailureDescriptorActions { get; set; } + private IDictionary? PatternDefinitionsValue { get; set; } + private ICollection PatternsValue { get; set; } + private string? PrefixValue { get; set; } + private bool? SkipIfUnlicensedValue { get; set; } + private string? SuffixValue { get; set; } + private string? TagValue { get; set; } + + /// + /// + /// Description of the processor. + /// Useful for describing the purpose of the processor or its configuration. + /// + /// + public RedactProcessorDescriptor Description(string? description) + { + DescriptionValue = description; + return Self; + } + + /// + /// + /// The field to be redacted + /// + /// + public RedactProcessorDescriptor Field(Elastic.Clients.Elasticsearch.Serverless.Field field) + { + FieldValue = field; + return Self; + } + + /// + /// + /// The field to be redacted + /// + /// + public RedactProcessorDescriptor Field(Expression> field) + { + FieldValue = field; + return Self; + } + + /// + /// + /// The field to be redacted + /// + /// + public RedactProcessorDescriptor Field(Expression> field) + { + FieldValue = field; + return Self; + } + + /// + /// + /// Conditionally execute the processor. + /// + /// + public RedactProcessorDescriptor If(string? value) + { + IfValue = value; + return Self; + } + + /// + /// + /// Ignore failures for the processor. + /// + /// + public RedactProcessorDescriptor IgnoreFailure(bool? ignoreFailure = true) + { + IgnoreFailureValue = ignoreFailure; + return Self; + } + + /// + /// + /// If true and field does not exist or is null, the processor quietly exits without modifying the document. + /// + /// + public RedactProcessorDescriptor IgnoreMissing(bool? ignoreMissing = true) + { + IgnoreMissingValue = ignoreMissing; + return Self; + } + + /// + /// + /// Handle failures for the processor. + /// + /// + public RedactProcessorDescriptor OnFailure(ICollection? onFailure) + { + OnFailureDescriptor = null; + OnFailureDescriptorAction = null; + OnFailureDescriptorActions = null; + OnFailureValue = onFailure; + return Self; + } + + public RedactProcessorDescriptor OnFailure(Elastic.Clients.Elasticsearch.Serverless.Ingest.ProcessorDescriptor descriptor) + { + OnFailureValue = null; + OnFailureDescriptorAction = null; + OnFailureDescriptorActions = null; + OnFailureDescriptor = descriptor; + return Self; + } + + public RedactProcessorDescriptor OnFailure(Action configure) + { + OnFailureValue = null; + OnFailureDescriptor = null; + OnFailureDescriptorActions = null; + OnFailureDescriptorAction = configure; + return Self; + } + + public RedactProcessorDescriptor OnFailure(params Action[] configure) + { + OnFailureValue = null; + OnFailureDescriptor = null; + OnFailureDescriptorAction = null; + OnFailureDescriptorActions = configure; + return Self; + } + + public RedactProcessorDescriptor PatternDefinitions(Func, FluentDictionary> selector) + { + PatternDefinitionsValue = selector?.Invoke(new FluentDictionary()); + return Self; + } + + /// + /// + /// A list of grok expressions to match and redact named captures with + /// + /// + public RedactProcessorDescriptor Patterns(ICollection patterns) + { + PatternsValue = patterns; + return Self; + } + + /// + /// + /// Start a redacted section with this token + /// + /// + public RedactProcessorDescriptor Prefix(string? prefix) + { + PrefixValue = prefix; + return Self; + } + + /// + /// + /// If true and the current license does not support running redact processors, then the processor quietly exits without modifying the document + /// + /// + public RedactProcessorDescriptor SkipIfUnlicensed(bool? skipIfUnlicensed = true) + { + SkipIfUnlicensedValue = skipIfUnlicensed; + return Self; + } + + /// + /// + /// End a redacted section with this token + /// + /// + public RedactProcessorDescriptor Suffix(string? suffix) + { + SuffixValue = suffix; + return Self; + } + + /// + /// + /// Identifier for the processor. + /// Useful for debugging and metrics. + /// + /// + public RedactProcessorDescriptor Tag(string? tag) + { + TagValue = tag; + return Self; + } + + protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) + { + writer.WriteStartObject(); + if (!string.IsNullOrEmpty(DescriptionValue)) + { + writer.WritePropertyName("description"); + writer.WriteStringValue(DescriptionValue); + } + + writer.WritePropertyName("field"); + JsonSerializer.Serialize(writer, FieldValue, options); + if (!string.IsNullOrEmpty(IfValue)) + { + writer.WritePropertyName("if"); + writer.WriteStringValue(IfValue); + } + + if (IgnoreFailureValue.HasValue) + { + writer.WritePropertyName("ignore_failure"); + writer.WriteBooleanValue(IgnoreFailureValue.Value); + } + + if (IgnoreMissingValue.HasValue) + { + writer.WritePropertyName("ignore_missing"); + writer.WriteBooleanValue(IgnoreMissingValue.Value); + } + + if (OnFailureDescriptor is not null) + { + writer.WritePropertyName("on_failure"); + writer.WriteStartArray(); + JsonSerializer.Serialize(writer, OnFailureDescriptor, options); + writer.WriteEndArray(); + } + else if (OnFailureDescriptorAction is not null) + { + writer.WritePropertyName("on_failure"); + writer.WriteStartArray(); + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.Serverless.Ingest.ProcessorDescriptor(OnFailureDescriptorAction), options); + writer.WriteEndArray(); + } + else if (OnFailureDescriptorActions is not null) + { + writer.WritePropertyName("on_failure"); + writer.WriteStartArray(); + foreach (var action in OnFailureDescriptorActions) + { + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.Serverless.Ingest.ProcessorDescriptor(action), options); + } + + writer.WriteEndArray(); + } + else if (OnFailureValue is not null) + { + writer.WritePropertyName("on_failure"); + JsonSerializer.Serialize(writer, OnFailureValue, options); + } + + if (PatternDefinitionsValue is not null) + { + writer.WritePropertyName("pattern_definitions"); + JsonSerializer.Serialize(writer, PatternDefinitionsValue, options); + } + + writer.WritePropertyName("patterns"); + JsonSerializer.Serialize(writer, PatternsValue, options); + if (!string.IsNullOrEmpty(PrefixValue)) + { + writer.WritePropertyName("prefix"); + writer.WriteStringValue(PrefixValue); + } + + if (SkipIfUnlicensedValue.HasValue) + { + writer.WritePropertyName("skip_if_unlicensed"); + writer.WriteBooleanValue(SkipIfUnlicensedValue.Value); + } + + if (!string.IsNullOrEmpty(SuffixValue)) + { + writer.WritePropertyName("suffix"); + writer.WriteStringValue(SuffixValue); + } + + if (!string.IsNullOrEmpty(TagValue)) + { + writer.WritePropertyName("tag"); + writer.WriteStringValue(TagValue); + } + + writer.WriteEndObject(); + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Ingest/UserAgentProcessor.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Ingest/UserAgentProcessor.g.cs index de8974bf964..d3686cd1ac9 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Ingest/UserAgentProcessor.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Ingest/UserAgentProcessor.g.cs @@ -38,6 +38,14 @@ public sealed partial class UserAgentProcessor [JsonInclude, JsonPropertyName("description")] public string? Description { get; set; } + /// + /// + /// Extracts device type from the user agent string on a best-effort basis. + /// + /// + [JsonInclude, JsonPropertyName("extract_device_type")] + public bool? ExtractDeviceType { get; set; } + /// /// /// The field containing the user agent string. @@ -77,8 +85,14 @@ public sealed partial class UserAgentProcessor /// [JsonInclude, JsonPropertyName("on_failure")] public ICollection? OnFailure { get; set; } - [JsonInclude, JsonPropertyName("options")] - public ICollection? Options { get; set; } + + /// + /// + /// Controls what properties are added to target_field. + /// + /// + [JsonInclude, JsonPropertyName("properties")] + public ICollection? Properties { get; set; } /// /// @@ -117,6 +131,7 @@ public UserAgentProcessorDescriptor() : base() } private string? DescriptionValue { get; set; } + private bool? ExtractDeviceTypeValue { get; set; } private Elastic.Clients.Elasticsearch.Serverless.Field FieldValue { get; set; } private string? IfValue { get; set; } private bool? IgnoreFailureValue { get; set; } @@ -125,7 +140,7 @@ public UserAgentProcessorDescriptor() : base() private Elastic.Clients.Elasticsearch.Serverless.Ingest.ProcessorDescriptor OnFailureDescriptor { get; set; } private Action> OnFailureDescriptorAction { get; set; } private Action>[] OnFailureDescriptorActions { get; set; } - private ICollection? OptionsValue { get; set; } + private ICollection? PropertiesValue { get; set; } private string? RegexFileValue { get; set; } private string? TagValue { get; set; } private Elastic.Clients.Elasticsearch.Serverless.Field? TargetFieldValue { get; set; } @@ -142,6 +157,17 @@ public UserAgentProcessorDescriptor Description(string? description) return Self; } + /// + /// + /// Extracts device type from the user agent string on a best-effort basis. + /// + /// + public UserAgentProcessorDescriptor ExtractDeviceType(bool? extractDeviceType = true) + { + ExtractDeviceTypeValue = extractDeviceType; + return Self; + } + /// /// /// The field containing the user agent string. @@ -249,9 +275,14 @@ public UserAgentProcessorDescriptor OnFailure(params Action Options(ICollection? options) + /// + /// + /// Controls what properties are added to target_field. + /// + /// + public UserAgentProcessorDescriptor Properties(ICollection? properties) { - OptionsValue = options; + PropertiesValue = properties; return Self; } @@ -320,6 +351,12 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o writer.WriteStringValue(DescriptionValue); } + if (ExtractDeviceTypeValue.HasValue) + { + writer.WritePropertyName("extract_device_type"); + writer.WriteBooleanValue(ExtractDeviceTypeValue.Value); + } + writer.WritePropertyName("field"); JsonSerializer.Serialize(writer, FieldValue, options); if (!string.IsNullOrEmpty(IfValue)) @@ -371,10 +408,10 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o JsonSerializer.Serialize(writer, OnFailureValue, options); } - if (OptionsValue is not null) + if (PropertiesValue is not null) { - writer.WritePropertyName("options"); - JsonSerializer.Serialize(writer, OptionsValue, options); + writer.WritePropertyName("properties"); + JsonSerializer.Serialize(writer, PropertiesValue, options); } if (!string.IsNullOrEmpty(RegexFileValue)) @@ -408,6 +445,7 @@ public UserAgentProcessorDescriptor() : base() } private string? DescriptionValue { get; set; } + private bool? ExtractDeviceTypeValue { get; set; } private Elastic.Clients.Elasticsearch.Serverless.Field FieldValue { get; set; } private string? IfValue { get; set; } private bool? IgnoreFailureValue { get; set; } @@ -416,7 +454,7 @@ public UserAgentProcessorDescriptor() : base() private Elastic.Clients.Elasticsearch.Serverless.Ingest.ProcessorDescriptor OnFailureDescriptor { get; set; } private Action OnFailureDescriptorAction { get; set; } private Action[] OnFailureDescriptorActions { get; set; } - private ICollection? OptionsValue { get; set; } + private ICollection? PropertiesValue { get; set; } private string? RegexFileValue { get; set; } private string? TagValue { get; set; } private Elastic.Clients.Elasticsearch.Serverless.Field? TargetFieldValue { get; set; } @@ -433,6 +471,17 @@ public UserAgentProcessorDescriptor Description(string? description) return Self; } + /// + /// + /// Extracts device type from the user agent string on a best-effort basis. + /// + /// + public UserAgentProcessorDescriptor ExtractDeviceType(bool? extractDeviceType = true) + { + ExtractDeviceTypeValue = extractDeviceType; + return Self; + } + /// /// /// The field containing the user agent string. @@ -540,9 +589,14 @@ public UserAgentProcessorDescriptor OnFailure(params Action? options) + /// + /// + /// Controls what properties are added to target_field. + /// + /// + public UserAgentProcessorDescriptor Properties(ICollection? properties) { - OptionsValue = options; + PropertiesValue = properties; return Self; } @@ -611,6 +665,12 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o writer.WriteStringValue(DescriptionValue); } + if (ExtractDeviceTypeValue.HasValue) + { + writer.WritePropertyName("extract_device_type"); + writer.WriteBooleanValue(ExtractDeviceTypeValue.Value); + } + writer.WritePropertyName("field"); JsonSerializer.Serialize(writer, FieldValue, options); if (!string.IsNullOrEmpty(IfValue)) @@ -662,10 +722,10 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o JsonSerializer.Serialize(writer, OnFailureValue, options); } - if (OptionsValue is not null) + if (PropertiesValue is not null) { - writer.WritePropertyName("options"); - JsonSerializer.Serialize(writer, OptionsValue, options); + writer.WritePropertyName("properties"); + JsonSerializer.Serialize(writer, PropertiesValue, options); } if (!string.IsNullOrEmpty(RegexFileValue)) diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/MachineLearning/CalendarEvent.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/MachineLearning/CalendarEvent.g.cs index 8b324a0c0c8..1adb1897de4 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/MachineLearning/CalendarEvent.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/MachineLearning/CalendarEvent.g.cs @@ -55,6 +55,30 @@ public sealed partial class CalendarEvent [JsonInclude, JsonPropertyName("event_id")] public Elastic.Clients.Elasticsearch.Serverless.Id? EventId { get; set; } + /// + /// + /// Shift time by this many seconds. For example adjust time for daylight savings changes + /// + /// + [JsonInclude, JsonPropertyName("force_time_shift")] + public int? ForceTimeShift { get; set; } + + /// + /// + /// When true the model will not be updated for this calendar period. + /// + /// + [JsonInclude, JsonPropertyName("skip_model_update")] + public bool? SkipModelUpdate { get; set; } + + /// + /// + /// When true the model will not create results for this calendar period. + /// + /// + [JsonInclude, JsonPropertyName("skip_result")] + public bool? SkipResult { get; set; } + /// /// /// The timestamp for the beginning of the scheduled event in milliseconds since the epoch or ISO 8601 format. @@ -76,6 +100,9 @@ public CalendarEventDescriptor() : base() private string DescriptionValue { get; set; } private DateTimeOffset EndTimeValue { get; set; } private Elastic.Clients.Elasticsearch.Serverless.Id? EventIdValue { get; set; } + private int? ForceTimeShiftValue { get; set; } + private bool? SkipModelUpdateValue { get; set; } + private bool? SkipResultValue { get; set; } private DateTimeOffset StartTimeValue { get; set; } /// @@ -117,6 +144,39 @@ public CalendarEventDescriptor EventId(Elastic.Clients.Elasticsearch.Serverless. return Self; } + /// + /// + /// Shift time by this many seconds. For example adjust time for daylight savings changes + /// + /// + public CalendarEventDescriptor ForceTimeShift(int? forceTimeShift) + { + ForceTimeShiftValue = forceTimeShift; + return Self; + } + + /// + /// + /// When true the model will not be updated for this calendar period. + /// + /// + public CalendarEventDescriptor SkipModelUpdate(bool? skipModelUpdate = true) + { + SkipModelUpdateValue = skipModelUpdate; + return Self; + } + + /// + /// + /// When true the model will not create results for this calendar period. + /// + /// + public CalendarEventDescriptor SkipResult(bool? skipResult = true) + { + SkipResultValue = skipResult; + return Self; + } + /// /// /// The timestamp for the beginning of the scheduled event in milliseconds since the epoch or ISO 8601 format. @@ -147,6 +207,24 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o JsonSerializer.Serialize(writer, EventIdValue, options); } + if (ForceTimeShiftValue.HasValue) + { + writer.WritePropertyName("force_time_shift"); + writer.WriteNumberValue(ForceTimeShiftValue.Value); + } + + if (SkipModelUpdateValue.HasValue) + { + writer.WritePropertyName("skip_model_update"); + writer.WriteBooleanValue(SkipModelUpdateValue.Value); + } + + if (SkipResultValue.HasValue) + { + writer.WritePropertyName("skip_result"); + writer.WriteBooleanValue(SkipResultValue.Value); + } + writer.WritePropertyName("start_time"); JsonSerializer.Serialize(writer, StartTimeValue, options); writer.WriteEndObject(); diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/MachineLearning/TrainedModelDeploymentStats.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/MachineLearning/TrainedModelDeploymentStats.g.cs index d9f682addf5..571b619d95b 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/MachineLearning/TrainedModelDeploymentStats.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/MachineLearning/TrainedModelDeploymentStats.g.cs @@ -130,7 +130,7 @@ public sealed partial class TrainedModelDeploymentStats /// /// [JsonInclude, JsonPropertyName("state")] - public Elastic.Clients.Elasticsearch.Serverless.MachineLearning.DeploymentState State { get; init; } + public Elastic.Clients.Elasticsearch.Serverless.MachineLearning.DeploymentAssignmentState State { get; init; } /// /// diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Mapping/BinaryProperty.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Mapping/BinaryProperty.g.cs index c3ded8fb693..b28e2cb4305 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Mapping/BinaryProperty.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Mapping/BinaryProperty.g.cs @@ -50,8 +50,6 @@ public sealed partial class BinaryProperty : IProperty public IDictionary? Meta { get; set; } [JsonInclude, JsonPropertyName("properties")] public Elastic.Clients.Elasticsearch.Serverless.Mapping.Properties? Properties { get; set; } - [JsonInclude, JsonPropertyName("similarity")] - public string? Similarity { get; set; } [JsonInclude, JsonPropertyName("store")] public bool? Store { get; set; } @@ -74,7 +72,6 @@ public BinaryPropertyDescriptor() : base() private int? IgnoreAboveValue { get; set; } private IDictionary? MetaValue { get; set; } private Elastic.Clients.Elasticsearch.Serverless.Mapping.Properties? PropertiesValue { get; set; } - private string? SimilarityValue { get; set; } private bool? StoreValue { get; set; } public BinaryPropertyDescriptor CopyTo(Elastic.Clients.Elasticsearch.Serverless.Fields? copyTo) @@ -152,12 +149,6 @@ public BinaryPropertyDescriptor Properties(Action Similarity(string? similarity) - { - SimilarityValue = similarity; - return Self; - } - public BinaryPropertyDescriptor Store(bool? store = true) { StoreValue = store; @@ -209,12 +200,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o JsonSerializer.Serialize(writer, PropertiesValue, options); } - if (!string.IsNullOrEmpty(SimilarityValue)) - { - writer.WritePropertyName("similarity"); - writer.WriteStringValue(SimilarityValue); - } - if (StoreValue.HasValue) { writer.WritePropertyName("store"); @@ -235,7 +220,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o IgnoreAbove = IgnoreAboveValue, Meta = MetaValue, Properties = PropertiesValue, - Similarity = SimilarityValue, Store = StoreValue }; } @@ -255,7 +239,6 @@ public BinaryPropertyDescriptor() : base() private int? IgnoreAboveValue { get; set; } private IDictionary? MetaValue { get; set; } private Elastic.Clients.Elasticsearch.Serverless.Mapping.Properties? PropertiesValue { get; set; } - private string? SimilarityValue { get; set; } private bool? StoreValue { get; set; } public BinaryPropertyDescriptor CopyTo(Elastic.Clients.Elasticsearch.Serverless.Fields? copyTo) @@ -333,12 +316,6 @@ public BinaryPropertyDescriptor Properties(Action? MetaValue { get; set; } private bool? NullValueValue { get; set; } private Elastic.Clients.Elasticsearch.Serverless.Mapping.Properties? PropertiesValue { get; set; } - private string? SimilarityValue { get; set; } private bool? StoreValue { get; set; } public BooleanPropertyDescriptor Boost(double? boost) @@ -208,12 +205,6 @@ public BooleanPropertyDescriptor Properties(Action Similarity(string? similarity) - { - SimilarityValue = similarity; - return Self; - } - public BooleanPropertyDescriptor Store(bool? store = true) { StoreValue = store; @@ -299,12 +290,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o JsonSerializer.Serialize(writer, PropertiesValue, options); } - if (!string.IsNullOrEmpty(SimilarityValue)) - { - writer.WritePropertyName("similarity"); - writer.WriteStringValue(SimilarityValue); - } - if (StoreValue.HasValue) { writer.WritePropertyName("store"); @@ -353,7 +338,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o Meta = MetaValue, NullValue = NullValueValue, Properties = PropertiesValue, - Similarity = SimilarityValue, Store = StoreValue }; } @@ -379,7 +363,6 @@ public BooleanPropertyDescriptor() : base() private IDictionary? MetaValue { get; set; } private bool? NullValueValue { get; set; } private Elastic.Clients.Elasticsearch.Serverless.Mapping.Properties? PropertiesValue { get; set; } - private string? SimilarityValue { get; set; } private bool? StoreValue { get; set; } public BooleanPropertyDescriptor Boost(double? boost) @@ -499,12 +482,6 @@ public BooleanPropertyDescriptor Properties(Action ScriptDescriptorAction { get; set; } - private string? SimilarityValue { get; set; } private bool? StoreValue { get; set; } public ByteNumberPropertyDescriptor Boost(double? boost) @@ -235,12 +232,6 @@ public ByteNumberPropertyDescriptor Script(Action Similarity(string? similarity) - { - SimilarityValue = similarity; - return Self; - } - public ByteNumberPropertyDescriptor Store(bool? store = true) { StoreValue = store; @@ -344,12 +335,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o JsonSerializer.Serialize(writer, ScriptValue, options); } - if (!string.IsNullOrEmpty(SimilarityValue)) - { - writer.WritePropertyName("similarity"); - writer.WriteStringValue(SimilarityValue); - } - if (StoreValue.HasValue) { writer.WritePropertyName("store"); @@ -401,7 +386,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o OnScriptError = OnScriptErrorValue, Properties = PropertiesValue, Script = BuildScript(), - Similarity = SimilarityValue, Store = StoreValue }; } @@ -430,7 +414,6 @@ public ByteNumberPropertyDescriptor() : base() private Elastic.Clients.Elasticsearch.Serverless.Script? ScriptValue { get; set; } private Elastic.Clients.Elasticsearch.Serverless.ScriptDescriptor ScriptDescriptor { get; set; } private Action ScriptDescriptorAction { get; set; } - private string? SimilarityValue { get; set; } private bool? StoreValue { get; set; } public ByteNumberPropertyDescriptor Boost(double? boost) @@ -568,12 +551,6 @@ public ByteNumberPropertyDescriptor Script(Action Analyzer(string? analyzer) @@ -239,12 +236,6 @@ public CompletionPropertyDescriptor SearchAnalyzer(string? searchAnal return Self; } - public CompletionPropertyDescriptor Similarity(string? similarity) - { - SimilarityValue = similarity; - return Self; - } - public CompletionPropertyDescriptor Store(bool? store = true) { StoreValue = store; @@ -357,12 +348,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o writer.WriteStringValue(SearchAnalyzerValue); } - if (!string.IsNullOrEmpty(SimilarityValue)) - { - writer.WritePropertyName("similarity"); - writer.WriteStringValue(SimilarityValue); - } - if (StoreValue.HasValue) { writer.WritePropertyName("store"); @@ -413,7 +398,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o PreserveSeparators = PreserveSeparatorsValue, Properties = PropertiesValue, SearchAnalyzer = SearchAnalyzerValue, - Similarity = SimilarityValue, Store = StoreValue }; } @@ -442,7 +426,6 @@ public CompletionPropertyDescriptor() : base() private bool? PreserveSeparatorsValue { get; set; } private Elastic.Clients.Elasticsearch.Serverless.Mapping.Properties? PropertiesValue { get; set; } private string? SearchAnalyzerValue { get; set; } - private string? SimilarityValue { get; set; } private bool? StoreValue { get; set; } public CompletionPropertyDescriptor Analyzer(string? analyzer) @@ -586,12 +569,6 @@ public CompletionPropertyDescriptor SearchAnalyzer(string? searchAnalyzer) return Self; } - public CompletionPropertyDescriptor Similarity(string? similarity) - { - SimilarityValue = similarity; - return Self; - } - public CompletionPropertyDescriptor Store(bool? store = true) { StoreValue = store; @@ -704,12 +681,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o writer.WriteStringValue(SearchAnalyzerValue); } - if (!string.IsNullOrEmpty(SimilarityValue)) - { - writer.WritePropertyName("similarity"); - writer.WriteStringValue(SimilarityValue); - } - if (StoreValue.HasValue) { writer.WritePropertyName("store"); @@ -760,7 +731,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o PreserveSeparators = PreserveSeparatorsValue, Properties = PropertiesValue, SearchAnalyzer = SearchAnalyzerValue, - Similarity = SimilarityValue, Store = StoreValue }; } \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Mapping/CompositeSubField.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Mapping/CompositeSubField.g.cs new file mode 100644 index 00000000000..a0d3725ffa7 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Mapping/CompositeSubField.g.cs @@ -0,0 +1,59 @@ +// 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 Elastic.Clients.Elasticsearch.Serverless.Fluent; +using Elastic.Clients.Elasticsearch.Serverless.Serialization; +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +namespace Elastic.Clients.Elasticsearch.Serverless.Mapping; + +public sealed partial class CompositeSubField +{ + [JsonInclude, JsonPropertyName("type")] + public Elastic.Clients.Elasticsearch.Serverless.Mapping.RuntimeFieldType Type { get; set; } +} + +public sealed partial class CompositeSubFieldDescriptor : SerializableDescriptor +{ + internal CompositeSubFieldDescriptor(Action configure) => configure.Invoke(this); + + public CompositeSubFieldDescriptor() : base() + { + } + + private Elastic.Clients.Elasticsearch.Serverless.Mapping.RuntimeFieldType TypeValue { get; set; } + + public CompositeSubFieldDescriptor Type(Elastic.Clients.Elasticsearch.Serverless.Mapping.RuntimeFieldType type) + { + TypeValue = type; + return Self; + } + + protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) + { + writer.WriteStartObject(); + writer.WritePropertyName("type"); + JsonSerializer.Serialize(writer, TypeValue, options); + writer.WriteEndObject(); + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Mapping/DateNanosProperty.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Mapping/DateNanosProperty.g.cs index c41e1563ea2..9cc89e12a5b 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Mapping/DateNanosProperty.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Mapping/DateNanosProperty.g.cs @@ -62,8 +62,6 @@ public sealed partial class DateNanosProperty : IProperty public int? PrecisionStep { get; set; } [JsonInclude, JsonPropertyName("properties")] public Elastic.Clients.Elasticsearch.Serverless.Mapping.Properties? Properties { get; set; } - [JsonInclude, JsonPropertyName("similarity")] - public string? Similarity { get; set; } [JsonInclude, JsonPropertyName("store")] public bool? Store { get; set; } @@ -92,7 +90,6 @@ public DateNanosPropertyDescriptor() : base() private DateTimeOffset? NullValueValue { get; set; } private int? PrecisionStepValue { get; set; } private Elastic.Clients.Elasticsearch.Serverless.Mapping.Properties? PropertiesValue { get; set; } - private string? SimilarityValue { get; set; } private bool? StoreValue { get; set; } public DateNanosPropertyDescriptor Boost(double? boost) @@ -206,12 +203,6 @@ public DateNanosPropertyDescriptor Properties(Action Similarity(string? similarity) - { - SimilarityValue = similarity; - return Self; - } - public DateNanosPropertyDescriptor Store(bool? store = true) { StoreValue = store; @@ -299,12 +290,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o JsonSerializer.Serialize(writer, PropertiesValue, options); } - if (!string.IsNullOrEmpty(SimilarityValue)) - { - writer.WritePropertyName("similarity"); - writer.WriteStringValue(SimilarityValue); - } - if (StoreValue.HasValue) { writer.WritePropertyName("store"); @@ -331,7 +316,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o NullValue = NullValueValue, PrecisionStep = PrecisionStepValue, Properties = PropertiesValue, - Similarity = SimilarityValue, Store = StoreValue }; } @@ -357,7 +341,6 @@ public DateNanosPropertyDescriptor() : base() private DateTimeOffset? NullValueValue { get; set; } private int? PrecisionStepValue { get; set; } private Elastic.Clients.Elasticsearch.Serverless.Mapping.Properties? PropertiesValue { get; set; } - private string? SimilarityValue { get; set; } private bool? StoreValue { get; set; } public DateNanosPropertyDescriptor Boost(double? boost) @@ -471,12 +454,6 @@ public DateNanosPropertyDescriptor Properties(Action Boost(double? boost) @@ -244,12 +241,6 @@ public DatePropertyDescriptor Properties(Action Similarity(string? similarity) - { - SimilarityValue = similarity; - return Self; - } - public DatePropertyDescriptor Store(bool? store = true) { StoreValue = store; @@ -359,12 +350,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o JsonSerializer.Serialize(writer, PropertiesValue, options); } - if (!string.IsNullOrEmpty(SimilarityValue)) - { - writer.WritePropertyName("similarity"); - writer.WriteStringValue(SimilarityValue); - } - if (StoreValue.HasValue) { writer.WritePropertyName("store"); @@ -417,7 +402,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o NullValue = NullValueValue, PrecisionStep = PrecisionStepValue, Properties = PropertiesValue, - Similarity = SimilarityValue, Store = StoreValue }; } @@ -447,7 +431,6 @@ public DatePropertyDescriptor() : base() private DateTimeOffset? NullValueValue { get; set; } private int? PrecisionStepValue { get; set; } private Elastic.Clients.Elasticsearch.Serverless.Mapping.Properties? PropertiesValue { get; set; } - private string? SimilarityValue { get; set; } private bool? StoreValue { get; set; } public DatePropertyDescriptor Boost(double? boost) @@ -591,12 +574,6 @@ public DatePropertyDescriptor Properties(Action? Meta { get; set; } [JsonInclude, JsonPropertyName("properties")] public Elastic.Clients.Elasticsearch.Serverless.Mapping.Properties? Properties { get; set; } - [JsonInclude, JsonPropertyName("similarity")] - public string? Similarity { get; set; } [JsonInclude, JsonPropertyName("store")] public bool? Store { get; set; } @@ -86,7 +84,6 @@ public DateRangePropertyDescriptor() : base() private bool? IndexValue { get; set; } private IDictionary? MetaValue { get; set; } private Elastic.Clients.Elasticsearch.Serverless.Mapping.Properties? PropertiesValue { get; set; } - private string? SimilarityValue { get; set; } private bool? StoreValue { get; set; } public DateRangePropertyDescriptor Boost(double? boost) @@ -188,12 +185,6 @@ public DateRangePropertyDescriptor Properties(Action Similarity(string? similarity) - { - SimilarityValue = similarity; - return Self; - } - public DateRangePropertyDescriptor Store(bool? store = true) { StoreValue = store; @@ -269,12 +260,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o JsonSerializer.Serialize(writer, PropertiesValue, options); } - if (!string.IsNullOrEmpty(SimilarityValue)) - { - writer.WritePropertyName("similarity"); - writer.WriteStringValue(SimilarityValue); - } - if (StoreValue.HasValue) { writer.WritePropertyName("store"); @@ -299,7 +284,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o Index = IndexValue, Meta = MetaValue, Properties = PropertiesValue, - Similarity = SimilarityValue, Store = StoreValue }; } @@ -323,7 +307,6 @@ public DateRangePropertyDescriptor() : base() private bool? IndexValue { get; set; } private IDictionary? MetaValue { get; set; } private Elastic.Clients.Elasticsearch.Serverless.Mapping.Properties? PropertiesValue { get; set; } - private string? SimilarityValue { get; set; } private bool? StoreValue { get; set; } public DateRangePropertyDescriptor Boost(double? boost) @@ -425,12 +408,6 @@ public DateRangePropertyDescriptor Properties(Action ScriptDescriptorAction { get; set; } - private string? SimilarityValue { get; set; } private bool? StoreValue { get; set; } public DoubleNumberPropertyDescriptor Boost(double? boost) @@ -235,12 +232,6 @@ public DoubleNumberPropertyDescriptor Script(Action Similarity(string? similarity) - { - SimilarityValue = similarity; - return Self; - } - public DoubleNumberPropertyDescriptor Store(bool? store = true) { StoreValue = store; @@ -344,12 +335,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o JsonSerializer.Serialize(writer, ScriptValue, options); } - if (!string.IsNullOrEmpty(SimilarityValue)) - { - writer.WritePropertyName("similarity"); - writer.WriteStringValue(SimilarityValue); - } - if (StoreValue.HasValue) { writer.WritePropertyName("store"); @@ -401,7 +386,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o OnScriptError = OnScriptErrorValue, Properties = PropertiesValue, Script = BuildScript(), - Similarity = SimilarityValue, Store = StoreValue }; } @@ -430,7 +414,6 @@ public DoubleNumberPropertyDescriptor() : base() private Elastic.Clients.Elasticsearch.Serverless.Script? ScriptValue { get; set; } private Elastic.Clients.Elasticsearch.Serverless.ScriptDescriptor ScriptDescriptor { get; set; } private Action ScriptDescriptorAction { get; set; } - private string? SimilarityValue { get; set; } private bool? StoreValue { get; set; } public DoubleNumberPropertyDescriptor Boost(double? boost) @@ -568,12 +551,6 @@ public DoubleNumberPropertyDescriptor Script(Action? Meta { get; set; } [JsonInclude, JsonPropertyName("properties")] public Elastic.Clients.Elasticsearch.Serverless.Mapping.Properties? Properties { get; set; } - [JsonInclude, JsonPropertyName("similarity")] - public string? Similarity { get; set; } [JsonInclude, JsonPropertyName("store")] public bool? Store { get; set; } @@ -83,7 +81,6 @@ public DoubleRangePropertyDescriptor() : base() private bool? IndexValue { get; set; } private IDictionary? MetaValue { get; set; } private Elastic.Clients.Elasticsearch.Serverless.Mapping.Properties? PropertiesValue { get; set; } - private string? SimilarityValue { get; set; } private bool? StoreValue { get; set; } public DoubleRangePropertyDescriptor Boost(double? boost) @@ -179,12 +176,6 @@ public DoubleRangePropertyDescriptor Properties(Action Similarity(string? similarity) - { - SimilarityValue = similarity; - return Self; - } - public DoubleRangePropertyDescriptor Store(bool? store = true) { StoreValue = store; @@ -254,12 +245,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o JsonSerializer.Serialize(writer, PropertiesValue, options); } - if (!string.IsNullOrEmpty(SimilarityValue)) - { - writer.WritePropertyName("similarity"); - writer.WriteStringValue(SimilarityValue); - } - if (StoreValue.HasValue) { writer.WritePropertyName("store"); @@ -283,7 +268,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o Index = IndexValue, Meta = MetaValue, Properties = PropertiesValue, - Similarity = SimilarityValue, Store = StoreValue }; } @@ -306,7 +290,6 @@ public DoubleRangePropertyDescriptor() : base() private bool? IndexValue { get; set; } private IDictionary? MetaValue { get; set; } private Elastic.Clients.Elasticsearch.Serverless.Mapping.Properties? PropertiesValue { get; set; } - private string? SimilarityValue { get; set; } private bool? StoreValue { get; set; } public DoubleRangePropertyDescriptor Boost(double? boost) @@ -402,12 +385,6 @@ public DoubleRangePropertyDescriptor Properties(Action ScriptDescriptorAction { get; set; } private string? SearchAnalyzerValue { get; set; } private string? SearchQuoteAnalyzerValue { get; set; } - private string? SimilarityValue { get; set; } private bool? StoreValue { get; set; } private Elastic.Clients.Elasticsearch.Serverless.Mapping.TermVectorOption? TermVectorValue { get; set; } private Elastic.Clients.Elasticsearch.Serverless.Mapping.TimeSeriesMetricType? TimeSeriesMetricValue { get; set; } @@ -378,12 +375,6 @@ public DynamicPropertyDescriptor SearchQuoteAnalyzer(string? searchQu return Self; } - public DynamicPropertyDescriptor Similarity(string? similarity) - { - SimilarityValue = similarity; - return Self; - } - public DynamicPropertyDescriptor Store(bool? store = true) { StoreValue = store; @@ -587,12 +578,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o writer.WriteStringValue(SearchQuoteAnalyzerValue); } - if (!string.IsNullOrEmpty(SimilarityValue)) - { - writer.WritePropertyName("similarity"); - writer.WriteStringValue(SimilarityValue); - } - if (StoreValue.HasValue) { writer.WritePropertyName("store"); @@ -693,7 +678,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o Script = BuildScript(), SearchAnalyzer = SearchAnalyzerValue, SearchQuoteAnalyzer = SearchQuoteAnalyzerValue, - Similarity = SimilarityValue, Store = StoreValue, TermVector = TermVectorValue, TimeSeriesMetric = TimeSeriesMetricValue @@ -739,7 +723,6 @@ public DynamicPropertyDescriptor() : base() private Action ScriptDescriptorAction { get; set; } private string? SearchAnalyzerValue { get; set; } private string? SearchQuoteAnalyzerValue { get; set; } - private string? SimilarityValue { get; set; } private bool? StoreValue { get; set; } private Elastic.Clients.Elasticsearch.Serverless.Mapping.TermVectorOption? TermVectorValue { get; set; } private Elastic.Clients.Elasticsearch.Serverless.Mapping.TimeSeriesMetricType? TimeSeriesMetricValue { get; set; } @@ -975,12 +958,6 @@ public DynamicPropertyDescriptor SearchQuoteAnalyzer(string? searchQuoteAnalyzer return Self; } - public DynamicPropertyDescriptor Similarity(string? similarity) - { - SimilarityValue = similarity; - return Self; - } - public DynamicPropertyDescriptor Store(bool? store = true) { StoreValue = store; @@ -1184,12 +1161,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o writer.WriteStringValue(SearchQuoteAnalyzerValue); } - if (!string.IsNullOrEmpty(SimilarityValue)) - { - writer.WritePropertyName("similarity"); - writer.WriteStringValue(SimilarityValue); - } - if (StoreValue.HasValue) { writer.WritePropertyName("store"); @@ -1290,7 +1261,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o Script = BuildScript(), SearchAnalyzer = SearchAnalyzerValue, SearchQuoteAnalyzer = SearchQuoteAnalyzerValue, - Similarity = SimilarityValue, Store = StoreValue, TermVector = TermVectorValue, TimeSeriesMetric = TimeSeriesMetricValue diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Mapping/FloatNumberProperty.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Mapping/FloatNumberProperty.g.cs index 680f6acc55b..209758f348f 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Mapping/FloatNumberProperty.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Mapping/FloatNumberProperty.g.cs @@ -64,8 +64,6 @@ public sealed partial class FloatNumberProperty : IProperty public Elastic.Clients.Elasticsearch.Serverless.Mapping.Properties? Properties { get; set; } [JsonInclude, JsonPropertyName("script")] public Elastic.Clients.Elasticsearch.Serverless.Script? Script { get; set; } - [JsonInclude, JsonPropertyName("similarity")] - public string? Similarity { get; set; } [JsonInclude, JsonPropertyName("store")] public bool? Store { get; set; } @@ -97,7 +95,6 @@ public FloatNumberPropertyDescriptor() : base() private Elastic.Clients.Elasticsearch.Serverless.Script? ScriptValue { get; set; } private Elastic.Clients.Elasticsearch.Serverless.ScriptDescriptor ScriptDescriptor { get; set; } private Action ScriptDescriptorAction { get; set; } - private string? SimilarityValue { get; set; } private bool? StoreValue { get; set; } public FloatNumberPropertyDescriptor Boost(double? boost) @@ -235,12 +232,6 @@ public FloatNumberPropertyDescriptor Script(Action Similarity(string? similarity) - { - SimilarityValue = similarity; - return Self; - } - public FloatNumberPropertyDescriptor Store(bool? store = true) { StoreValue = store; @@ -344,12 +335,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o JsonSerializer.Serialize(writer, ScriptValue, options); } - if (!string.IsNullOrEmpty(SimilarityValue)) - { - writer.WritePropertyName("similarity"); - writer.WriteStringValue(SimilarityValue); - } - if (StoreValue.HasValue) { writer.WritePropertyName("store"); @@ -401,7 +386,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o OnScriptError = OnScriptErrorValue, Properties = PropertiesValue, Script = BuildScript(), - Similarity = SimilarityValue, Store = StoreValue }; } @@ -430,7 +414,6 @@ public FloatNumberPropertyDescriptor() : base() private Elastic.Clients.Elasticsearch.Serverless.Script? ScriptValue { get; set; } private Elastic.Clients.Elasticsearch.Serverless.ScriptDescriptor ScriptDescriptor { get; set; } private Action ScriptDescriptorAction { get; set; } - private string? SimilarityValue { get; set; } private bool? StoreValue { get; set; } public FloatNumberPropertyDescriptor Boost(double? boost) @@ -568,12 +551,6 @@ public FloatNumberPropertyDescriptor Script(Action? Meta { get; set; } [JsonInclude, JsonPropertyName("properties")] public Elastic.Clients.Elasticsearch.Serverless.Mapping.Properties? Properties { get; set; } - [JsonInclude, JsonPropertyName("similarity")] - public string? Similarity { get; set; } [JsonInclude, JsonPropertyName("store")] public bool? Store { get; set; } @@ -83,7 +81,6 @@ public FloatRangePropertyDescriptor() : base() private bool? IndexValue { get; set; } private IDictionary? MetaValue { get; set; } private Elastic.Clients.Elasticsearch.Serverless.Mapping.Properties? PropertiesValue { get; set; } - private string? SimilarityValue { get; set; } private bool? StoreValue { get; set; } public FloatRangePropertyDescriptor Boost(double? boost) @@ -179,12 +176,6 @@ public FloatRangePropertyDescriptor Properties(Action Similarity(string? similarity) - { - SimilarityValue = similarity; - return Self; - } - public FloatRangePropertyDescriptor Store(bool? store = true) { StoreValue = store; @@ -254,12 +245,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o JsonSerializer.Serialize(writer, PropertiesValue, options); } - if (!string.IsNullOrEmpty(SimilarityValue)) - { - writer.WritePropertyName("similarity"); - writer.WriteStringValue(SimilarityValue); - } - if (StoreValue.HasValue) { writer.WritePropertyName("store"); @@ -283,7 +268,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o Index = IndexValue, Meta = MetaValue, Properties = PropertiesValue, - Similarity = SimilarityValue, Store = StoreValue }; } @@ -306,7 +290,6 @@ public FloatRangePropertyDescriptor() : base() private bool? IndexValue { get; set; } private IDictionary? MetaValue { get; set; } private Elastic.Clients.Elasticsearch.Serverless.Mapping.Properties? PropertiesValue { get; set; } - private string? SimilarityValue { get; set; } private bool? StoreValue { get; set; } public FloatRangePropertyDescriptor Boost(double? boost) @@ -402,12 +385,6 @@ public FloatRangePropertyDescriptor Properties(Action ScriptDescriptorAction { get; set; } - private string? SimilarityValue { get; set; } private bool? StoreValue { get; set; } public GeoPointPropertyDescriptor CopyTo(Elastic.Clients.Elasticsearch.Serverless.Fields? copyTo) @@ -226,12 +223,6 @@ public GeoPointPropertyDescriptor Script(Action Similarity(string? similarity) - { - SimilarityValue = similarity; - return Self; - } - public GeoPointPropertyDescriptor Store(bool? store = true) { StoreValue = store; @@ -329,12 +320,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o JsonSerializer.Serialize(writer, ScriptValue, options); } - if (!string.IsNullOrEmpty(SimilarityValue)) - { - writer.WritePropertyName("similarity"); - writer.WriteStringValue(SimilarityValue); - } - if (StoreValue.HasValue) { writer.WritePropertyName("store"); @@ -385,7 +370,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o OnScriptError = OnScriptErrorValue, Properties = PropertiesValue, Script = BuildScript(), - Similarity = SimilarityValue, Store = StoreValue }; } @@ -413,7 +397,6 @@ public GeoPointPropertyDescriptor() : base() private Elastic.Clients.Elasticsearch.Serverless.Script? ScriptValue { get; set; } private Elastic.Clients.Elasticsearch.Serverless.ScriptDescriptor ScriptDescriptor { get; set; } private Action ScriptDescriptorAction { get; set; } - private string? SimilarityValue { get; set; } private bool? StoreValue { get; set; } public GeoPointPropertyDescriptor CopyTo(Elastic.Clients.Elasticsearch.Serverless.Fields? copyTo) @@ -545,12 +528,6 @@ public GeoPointPropertyDescriptor Script(Action? MetaValue { get; set; } private Elastic.Clients.Elasticsearch.Serverless.Mapping.GeoOrientation? OrientationValue { get; set; } private Elastic.Clients.Elasticsearch.Serverless.Mapping.Properties? PropertiesValue { get; set; } - private string? SimilarityValue { get; set; } private bool? StoreValue { get; set; } private Elastic.Clients.Elasticsearch.Serverless.Mapping.GeoStrategy? StrategyValue { get; set; } @@ -205,12 +202,6 @@ public GeoShapePropertyDescriptor Properties(Action Similarity(string? similarity) - { - SimilarityValue = similarity; - return Self; - } - public GeoShapePropertyDescriptor Store(bool? store = true) { StoreValue = store; @@ -292,12 +283,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o JsonSerializer.Serialize(writer, PropertiesValue, options); } - if (!string.IsNullOrEmpty(SimilarityValue)) - { - writer.WritePropertyName("similarity"); - writer.WriteStringValue(SimilarityValue); - } - if (StoreValue.HasValue) { writer.WritePropertyName("store"); @@ -328,7 +313,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o Meta = MetaValue, Orientation = OrientationValue, Properties = PropertiesValue, - Similarity = SimilarityValue, Store = StoreValue, Strategy = StrategyValue }; @@ -360,7 +344,6 @@ public GeoShapePropertyDescriptor() : base() private IDictionary? MetaValue { get; set; } private Elastic.Clients.Elasticsearch.Serverless.Mapping.GeoOrientation? OrientationValue { get; set; } private Elastic.Clients.Elasticsearch.Serverless.Mapping.Properties? PropertiesValue { get; set; } - private string? SimilarityValue { get; set; } private bool? StoreValue { get; set; } private Elastic.Clients.Elasticsearch.Serverless.Mapping.GeoStrategy? StrategyValue { get; set; } @@ -463,12 +446,6 @@ public GeoShapePropertyDescriptor Properties(Action ScriptDescriptorAction { get; set; } - private string? SimilarityValue { get; set; } private bool? StoreValue { get; set; } public HalfFloatNumberPropertyDescriptor Boost(double? boost) @@ -235,12 +232,6 @@ public HalfFloatNumberPropertyDescriptor Script(Action Similarity(string? similarity) - { - SimilarityValue = similarity; - return Self; - } - public HalfFloatNumberPropertyDescriptor Store(bool? store = true) { StoreValue = store; @@ -344,12 +335,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o JsonSerializer.Serialize(writer, ScriptValue, options); } - if (!string.IsNullOrEmpty(SimilarityValue)) - { - writer.WritePropertyName("similarity"); - writer.WriteStringValue(SimilarityValue); - } - if (StoreValue.HasValue) { writer.WritePropertyName("store"); @@ -401,7 +386,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o OnScriptError = OnScriptErrorValue, Properties = PropertiesValue, Script = BuildScript(), - Similarity = SimilarityValue, Store = StoreValue }; } @@ -430,7 +414,6 @@ public HalfFloatNumberPropertyDescriptor() : base() private Elastic.Clients.Elasticsearch.Serverless.Script? ScriptValue { get; set; } private Elastic.Clients.Elasticsearch.Serverless.ScriptDescriptor ScriptDescriptor { get; set; } private Action ScriptDescriptorAction { get; set; } - private string? SimilarityValue { get; set; } private bool? StoreValue { get; set; } public HalfFloatNumberPropertyDescriptor Boost(double? boost) @@ -568,12 +551,6 @@ public HalfFloatNumberPropertyDescriptor Script(Action Rules(string? rules) return Self; } - public IcuCollationPropertyDescriptor Similarity(string? similarity) - { - SimilarityValue = similarity; - return Self; - } - public IcuCollationPropertyDescriptor Store(bool? store = true) { StoreValue = store; @@ -454,12 +445,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o writer.WriteStringValue(RulesValue); } - if (!string.IsNullOrEmpty(SimilarityValue)) - { - writer.WritePropertyName("similarity"); - writer.WriteStringValue(SimilarityValue); - } - if (StoreValue.HasValue) { writer.WritePropertyName("store"); @@ -511,7 +496,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o Numeric = NumericValue, Properties = PropertiesValue, Rules = RulesValue, - Similarity = SimilarityValue, Store = StoreValue, Strength = StrengthValue, VariableTop = VariableTopValue, @@ -547,7 +531,6 @@ public IcuCollationPropertyDescriptor() : base() private bool? NumericValue { get; set; } private Elastic.Clients.Elasticsearch.Serverless.Mapping.Properties? PropertiesValue { get; set; } private string? RulesValue { get; set; } - private string? SimilarityValue { get; set; } private bool? StoreValue { get; set; } private Elastic.Clients.Elasticsearch.Serverless.Analysis.IcuCollationStrength? StrengthValue { get; set; } private string? VariableTopValue { get; set; } @@ -716,12 +699,6 @@ public IcuCollationPropertyDescriptor Rules(string? rules) return Self; } - public IcuCollationPropertyDescriptor Similarity(string? similarity) - { - SimilarityValue = similarity; - return Self; - } - public IcuCollationPropertyDescriptor Store(bool? store = true) { StoreValue = store; @@ -869,12 +846,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o writer.WriteStringValue(RulesValue); } - if (!string.IsNullOrEmpty(SimilarityValue)) - { - writer.WritePropertyName("similarity"); - writer.WriteStringValue(SimilarityValue); - } - if (StoreValue.HasValue) { writer.WritePropertyName("store"); @@ -926,7 +897,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o Numeric = NumericValue, Properties = PropertiesValue, Rules = RulesValue, - Similarity = SimilarityValue, Store = StoreValue, Strength = StrengthValue, VariableTop = VariableTopValue, diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Mapping/IntegerNumberProperty.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Mapping/IntegerNumberProperty.g.cs index 079db51b6fd..508c776da51 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Mapping/IntegerNumberProperty.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Mapping/IntegerNumberProperty.g.cs @@ -64,8 +64,6 @@ public sealed partial class IntegerNumberProperty : IProperty public Elastic.Clients.Elasticsearch.Serverless.Mapping.Properties? Properties { get; set; } [JsonInclude, JsonPropertyName("script")] public Elastic.Clients.Elasticsearch.Serverless.Script? Script { get; set; } - [JsonInclude, JsonPropertyName("similarity")] - public string? Similarity { get; set; } [JsonInclude, JsonPropertyName("store")] public bool? Store { get; set; } @@ -97,7 +95,6 @@ public IntegerNumberPropertyDescriptor() : base() private Elastic.Clients.Elasticsearch.Serverless.Script? ScriptValue { get; set; } private Elastic.Clients.Elasticsearch.Serverless.ScriptDescriptor ScriptDescriptor { get; set; } private Action ScriptDescriptorAction { get; set; } - private string? SimilarityValue { get; set; } private bool? StoreValue { get; set; } public IntegerNumberPropertyDescriptor Boost(double? boost) @@ -235,12 +232,6 @@ public IntegerNumberPropertyDescriptor Script(Action Similarity(string? similarity) - { - SimilarityValue = similarity; - return Self; - } - public IntegerNumberPropertyDescriptor Store(bool? store = true) { StoreValue = store; @@ -344,12 +335,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o JsonSerializer.Serialize(writer, ScriptValue, options); } - if (!string.IsNullOrEmpty(SimilarityValue)) - { - writer.WritePropertyName("similarity"); - writer.WriteStringValue(SimilarityValue); - } - if (StoreValue.HasValue) { writer.WritePropertyName("store"); @@ -401,7 +386,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o OnScriptError = OnScriptErrorValue, Properties = PropertiesValue, Script = BuildScript(), - Similarity = SimilarityValue, Store = StoreValue }; } @@ -430,7 +414,6 @@ public IntegerNumberPropertyDescriptor() : base() private Elastic.Clients.Elasticsearch.Serverless.Script? ScriptValue { get; set; } private Elastic.Clients.Elasticsearch.Serverless.ScriptDescriptor ScriptDescriptor { get; set; } private Action ScriptDescriptorAction { get; set; } - private string? SimilarityValue { get; set; } private bool? StoreValue { get; set; } public IntegerNumberPropertyDescriptor Boost(double? boost) @@ -568,12 +551,6 @@ public IntegerNumberPropertyDescriptor Script(Action? Meta { get; set; } [JsonInclude, JsonPropertyName("properties")] public Elastic.Clients.Elasticsearch.Serverless.Mapping.Properties? Properties { get; set; } - [JsonInclude, JsonPropertyName("similarity")] - public string? Similarity { get; set; } [JsonInclude, JsonPropertyName("store")] public bool? Store { get; set; } @@ -83,7 +81,6 @@ public IntegerRangePropertyDescriptor() : base() private bool? IndexValue { get; set; } private IDictionary? MetaValue { get; set; } private Elastic.Clients.Elasticsearch.Serverless.Mapping.Properties? PropertiesValue { get; set; } - private string? SimilarityValue { get; set; } private bool? StoreValue { get; set; } public IntegerRangePropertyDescriptor Boost(double? boost) @@ -179,12 +176,6 @@ public IntegerRangePropertyDescriptor Properties(Action Similarity(string? similarity) - { - SimilarityValue = similarity; - return Self; - } - public IntegerRangePropertyDescriptor Store(bool? store = true) { StoreValue = store; @@ -254,12 +245,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o JsonSerializer.Serialize(writer, PropertiesValue, options); } - if (!string.IsNullOrEmpty(SimilarityValue)) - { - writer.WritePropertyName("similarity"); - writer.WriteStringValue(SimilarityValue); - } - if (StoreValue.HasValue) { writer.WritePropertyName("store"); @@ -283,7 +268,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o Index = IndexValue, Meta = MetaValue, Properties = PropertiesValue, - Similarity = SimilarityValue, Store = StoreValue }; } @@ -306,7 +290,6 @@ public IntegerRangePropertyDescriptor() : base() private bool? IndexValue { get; set; } private IDictionary? MetaValue { get; set; } private Elastic.Clients.Elasticsearch.Serverless.Mapping.Properties? PropertiesValue { get; set; } - private string? SimilarityValue { get; set; } private bool? StoreValue { get; set; } public IntegerRangePropertyDescriptor Boost(double? boost) @@ -402,12 +385,6 @@ public IntegerRangePropertyDescriptor Properties(Action ScriptDescriptorAction { get; set; } - private string? SimilarityValue { get; set; } private bool? StoreValue { get; set; } public IpPropertyDescriptor Boost(double? boost) @@ -226,12 +223,6 @@ public IpPropertyDescriptor Script(Action Similarity(string? similarity) - { - SimilarityValue = similarity; - return Self; - } - public IpPropertyDescriptor Store(bool? store = true) { StoreValue = store; @@ -329,12 +320,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o JsonSerializer.Serialize(writer, ScriptValue, options); } - if (!string.IsNullOrEmpty(SimilarityValue)) - { - writer.WritePropertyName("similarity"); - writer.WriteStringValue(SimilarityValue); - } - if (StoreValue.HasValue) { writer.WritePropertyName("store"); @@ -385,7 +370,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o OnScriptError = OnScriptErrorValue, Properties = PropertiesValue, Script = BuildScript(), - Similarity = SimilarityValue, Store = StoreValue }; } @@ -413,7 +397,6 @@ public IpPropertyDescriptor() : base() private Elastic.Clients.Elasticsearch.Serverless.Script? ScriptValue { get; set; } private Elastic.Clients.Elasticsearch.Serverless.ScriptDescriptor ScriptDescriptor { get; set; } private Action ScriptDescriptorAction { get; set; } - private string? SimilarityValue { get; set; } private bool? StoreValue { get; set; } public IpPropertyDescriptor Boost(double? boost) @@ -545,12 +528,6 @@ public IpPropertyDescriptor Script(Action? Meta { get; set; } [JsonInclude, JsonPropertyName("properties")] public Elastic.Clients.Elasticsearch.Serverless.Mapping.Properties? Properties { get; set; } - [JsonInclude, JsonPropertyName("similarity")] - public string? Similarity { get; set; } [JsonInclude, JsonPropertyName("store")] public bool? Store { get; set; } @@ -83,7 +81,6 @@ public IpRangePropertyDescriptor() : base() private bool? IndexValue { get; set; } private IDictionary? MetaValue { get; set; } private Elastic.Clients.Elasticsearch.Serverless.Mapping.Properties? PropertiesValue { get; set; } - private string? SimilarityValue { get; set; } private bool? StoreValue { get; set; } public IpRangePropertyDescriptor Boost(double? boost) @@ -179,12 +176,6 @@ public IpRangePropertyDescriptor Properties(Action Similarity(string? similarity) - { - SimilarityValue = similarity; - return Self; - } - public IpRangePropertyDescriptor Store(bool? store = true) { StoreValue = store; @@ -254,12 +245,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o JsonSerializer.Serialize(writer, PropertiesValue, options); } - if (!string.IsNullOrEmpty(SimilarityValue)) - { - writer.WritePropertyName("similarity"); - writer.WriteStringValue(SimilarityValue); - } - if (StoreValue.HasValue) { writer.WritePropertyName("store"); @@ -283,7 +268,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o Index = IndexValue, Meta = MetaValue, Properties = PropertiesValue, - Similarity = SimilarityValue, Store = StoreValue }; } @@ -306,7 +290,6 @@ public IpRangePropertyDescriptor() : base() private bool? IndexValue { get; set; } private IDictionary? MetaValue { get; set; } private Elastic.Clients.Elasticsearch.Serverless.Mapping.Properties? PropertiesValue { get; set; } - private string? SimilarityValue { get; set; } private bool? StoreValue { get; set; } public IpRangePropertyDescriptor Boost(double? boost) @@ -402,12 +385,6 @@ public IpRangePropertyDescriptor Properties(Action ScriptDescriptorAction { get; set; } - private string? SimilarityValue { get; set; } private bool? StoreValue { get; set; } public LongNumberPropertyDescriptor Boost(double? boost) @@ -235,12 +232,6 @@ public LongNumberPropertyDescriptor Script(Action Similarity(string? similarity) - { - SimilarityValue = similarity; - return Self; - } - public LongNumberPropertyDescriptor Store(bool? store = true) { StoreValue = store; @@ -344,12 +335,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o JsonSerializer.Serialize(writer, ScriptValue, options); } - if (!string.IsNullOrEmpty(SimilarityValue)) - { - writer.WritePropertyName("similarity"); - writer.WriteStringValue(SimilarityValue); - } - if (StoreValue.HasValue) { writer.WritePropertyName("store"); @@ -401,7 +386,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o OnScriptError = OnScriptErrorValue, Properties = PropertiesValue, Script = BuildScript(), - Similarity = SimilarityValue, Store = StoreValue }; } @@ -430,7 +414,6 @@ public LongNumberPropertyDescriptor() : base() private Elastic.Clients.Elasticsearch.Serverless.Script? ScriptValue { get; set; } private Elastic.Clients.Elasticsearch.Serverless.ScriptDescriptor ScriptDescriptor { get; set; } private Action ScriptDescriptorAction { get; set; } - private string? SimilarityValue { get; set; } private bool? StoreValue { get; set; } public LongNumberPropertyDescriptor Boost(double? boost) @@ -568,12 +551,6 @@ public LongNumberPropertyDescriptor Script(Action? Meta { get; set; } [JsonInclude, JsonPropertyName("properties")] public Elastic.Clients.Elasticsearch.Serverless.Mapping.Properties? Properties { get; set; } - [JsonInclude, JsonPropertyName("similarity")] - public string? Similarity { get; set; } [JsonInclude, JsonPropertyName("store")] public bool? Store { get; set; } @@ -83,7 +81,6 @@ public LongRangePropertyDescriptor() : base() private bool? IndexValue { get; set; } private IDictionary? MetaValue { get; set; } private Elastic.Clients.Elasticsearch.Serverless.Mapping.Properties? PropertiesValue { get; set; } - private string? SimilarityValue { get; set; } private bool? StoreValue { get; set; } public LongRangePropertyDescriptor Boost(double? boost) @@ -179,12 +176,6 @@ public LongRangePropertyDescriptor Properties(Action Similarity(string? similarity) - { - SimilarityValue = similarity; - return Self; - } - public LongRangePropertyDescriptor Store(bool? store = true) { StoreValue = store; @@ -254,12 +245,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o JsonSerializer.Serialize(writer, PropertiesValue, options); } - if (!string.IsNullOrEmpty(SimilarityValue)) - { - writer.WritePropertyName("similarity"); - writer.WriteStringValue(SimilarityValue); - } - if (StoreValue.HasValue) { writer.WritePropertyName("store"); @@ -283,7 +268,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o Index = IndexValue, Meta = MetaValue, Properties = PropertiesValue, - Similarity = SimilarityValue, Store = StoreValue }; } @@ -306,7 +290,6 @@ public LongRangePropertyDescriptor() : base() private bool? IndexValue { get; set; } private IDictionary? MetaValue { get; set; } private Elastic.Clients.Elasticsearch.Serverless.Mapping.Properties? PropertiesValue { get; set; } - private string? SimilarityValue { get; set; } private bool? StoreValue { get; set; } public LongRangePropertyDescriptor Boost(double? boost) @@ -402,12 +385,6 @@ public LongRangePropertyDescriptor Properties(Action? Meta { get; set; } [JsonInclude, JsonPropertyName("properties")] public Elastic.Clients.Elasticsearch.Serverless.Mapping.Properties? Properties { get; set; } - [JsonInclude, JsonPropertyName("similarity")] - public string? Similarity { get; set; } [JsonInclude, JsonPropertyName("store")] public bool? Store { get; set; } @@ -74,7 +72,6 @@ public Murmur3HashPropertyDescriptor() : base() private int? IgnoreAboveValue { get; set; } private IDictionary? MetaValue { get; set; } private Elastic.Clients.Elasticsearch.Serverless.Mapping.Properties? PropertiesValue { get; set; } - private string? SimilarityValue { get; set; } private bool? StoreValue { get; set; } public Murmur3HashPropertyDescriptor CopyTo(Elastic.Clients.Elasticsearch.Serverless.Fields? copyTo) @@ -152,12 +149,6 @@ public Murmur3HashPropertyDescriptor Properties(Action Similarity(string? similarity) - { - SimilarityValue = similarity; - return Self; - } - public Murmur3HashPropertyDescriptor Store(bool? store = true) { StoreValue = store; @@ -209,12 +200,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o JsonSerializer.Serialize(writer, PropertiesValue, options); } - if (!string.IsNullOrEmpty(SimilarityValue)) - { - writer.WritePropertyName("similarity"); - writer.WriteStringValue(SimilarityValue); - } - if (StoreValue.HasValue) { writer.WritePropertyName("store"); @@ -235,7 +220,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o IgnoreAbove = IgnoreAboveValue, Meta = MetaValue, Properties = PropertiesValue, - Similarity = SimilarityValue, Store = StoreValue }; } @@ -255,7 +239,6 @@ public Murmur3HashPropertyDescriptor() : base() private int? IgnoreAboveValue { get; set; } private IDictionary? MetaValue { get; set; } private Elastic.Clients.Elasticsearch.Serverless.Mapping.Properties? PropertiesValue { get; set; } - private string? SimilarityValue { get; set; } private bool? StoreValue { get; set; } public Murmur3HashPropertyDescriptor CopyTo(Elastic.Clients.Elasticsearch.Serverless.Fields? copyTo) @@ -333,12 +316,6 @@ public Murmur3HashPropertyDescriptor Properties(Action? Meta { get; set; } [JsonInclude, JsonPropertyName("properties")] public Elastic.Clients.Elasticsearch.Serverless.Mapping.Properties? Properties { get; set; } - [JsonInclude, JsonPropertyName("similarity")] - public string? Similarity { get; set; } [JsonInclude, JsonPropertyName("store")] public bool? Store { get; set; } @@ -80,7 +78,6 @@ public NestedPropertyDescriptor() : base() private bool? IncludeInRootValue { get; set; } private IDictionary? MetaValue { get; set; } private Elastic.Clients.Elasticsearch.Serverless.Mapping.Properties? PropertiesValue { get; set; } - private string? SimilarityValue { get; set; } private bool? StoreValue { get; set; } public NestedPropertyDescriptor CopyTo(Elastic.Clients.Elasticsearch.Serverless.Fields? copyTo) @@ -170,12 +167,6 @@ public NestedPropertyDescriptor Properties(Action Similarity(string? similarity) - { - SimilarityValue = similarity; - return Self; - } - public NestedPropertyDescriptor Store(bool? store = true) { StoreValue = store; @@ -239,12 +230,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o JsonSerializer.Serialize(writer, PropertiesValue, options); } - if (!string.IsNullOrEmpty(SimilarityValue)) - { - writer.WritePropertyName("similarity"); - writer.WriteStringValue(SimilarityValue); - } - if (StoreValue.HasValue) { writer.WritePropertyName("store"); @@ -267,7 +252,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o IncludeInRoot = IncludeInRootValue, Meta = MetaValue, Properties = PropertiesValue, - Similarity = SimilarityValue, Store = StoreValue }; } @@ -289,7 +273,6 @@ public NestedPropertyDescriptor() : base() private bool? IncludeInRootValue { get; set; } private IDictionary? MetaValue { get; set; } private Elastic.Clients.Elasticsearch.Serverless.Mapping.Properties? PropertiesValue { get; set; } - private string? SimilarityValue { get; set; } private bool? StoreValue { get; set; } public NestedPropertyDescriptor CopyTo(Elastic.Clients.Elasticsearch.Serverless.Fields? copyTo) @@ -379,12 +362,6 @@ public NestedPropertyDescriptor Properties(Action? Meta { get; set; } [JsonInclude, JsonPropertyName("properties")] public Elastic.Clients.Elasticsearch.Serverless.Mapping.Properties? Properties { get; set; } - [JsonInclude, JsonPropertyName("similarity")] - public string? Similarity { get; set; } [JsonInclude, JsonPropertyName("store")] public bool? Store { get; set; } [JsonInclude, JsonPropertyName("subobjects")] @@ -76,7 +74,6 @@ public ObjectPropertyDescriptor() : base() private int? IgnoreAboveValue { get; set; } private IDictionary? MetaValue { get; set; } private Elastic.Clients.Elasticsearch.Serverless.Mapping.Properties? PropertiesValue { get; set; } - private string? SimilarityValue { get; set; } private bool? StoreValue { get; set; } private bool? SubobjectsValue { get; set; } @@ -155,12 +152,6 @@ public ObjectPropertyDescriptor Properties(Action Similarity(string? similarity) - { - SimilarityValue = similarity; - return Self; - } - public ObjectPropertyDescriptor Store(bool? store = true) { StoreValue = store; @@ -218,12 +209,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o JsonSerializer.Serialize(writer, PropertiesValue, options); } - if (!string.IsNullOrEmpty(SimilarityValue)) - { - writer.WritePropertyName("similarity"); - writer.WriteStringValue(SimilarityValue); - } - if (StoreValue.HasValue) { writer.WritePropertyName("store"); @@ -250,7 +235,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o IgnoreAbove = IgnoreAboveValue, Meta = MetaValue, Properties = PropertiesValue, - Similarity = SimilarityValue, Store = StoreValue, Subobjects = SubobjectsValue }; @@ -271,7 +255,6 @@ public ObjectPropertyDescriptor() : base() private int? IgnoreAboveValue { get; set; } private IDictionary? MetaValue { get; set; } private Elastic.Clients.Elasticsearch.Serverless.Mapping.Properties? PropertiesValue { get; set; } - private string? SimilarityValue { get; set; } private bool? StoreValue { get; set; } private bool? SubobjectsValue { get; set; } @@ -350,12 +333,6 @@ public ObjectPropertyDescriptor Properties(Action? MetaValue { get; set; } private string? NullValueValue { get; set; } private Elastic.Clients.Elasticsearch.Serverless.Mapping.Properties? PropertiesValue { get; set; } - private string? SimilarityValue { get; set; } private bool? StoreValue { get; set; } public PointPropertyDescriptor CopyTo(Elastic.Clients.Elasticsearch.Serverless.Fields? copyTo) @@ -179,12 +176,6 @@ public PointPropertyDescriptor Properties(Action Similarity(string? similarity) - { - SimilarityValue = similarity; - return Self; - } - public PointPropertyDescriptor Store(bool? store = true) { StoreValue = store; @@ -254,12 +245,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o JsonSerializer.Serialize(writer, PropertiesValue, options); } - if (!string.IsNullOrEmpty(SimilarityValue)) - { - writer.WritePropertyName("similarity"); - writer.WriteStringValue(SimilarityValue); - } - if (StoreValue.HasValue) { writer.WritePropertyName("store"); @@ -283,7 +268,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o Meta = MetaValue, NullValue = NullValueValue, Properties = PropertiesValue, - Similarity = SimilarityValue, Store = StoreValue }; } @@ -306,7 +290,6 @@ public PointPropertyDescriptor() : base() private IDictionary? MetaValue { get; set; } private string? NullValueValue { get; set; } private Elastic.Clients.Elasticsearch.Serverless.Mapping.Properties? PropertiesValue { get; set; } - private string? SimilarityValue { get; set; } private bool? StoreValue { get; set; } public PointPropertyDescriptor CopyTo(Elastic.Clients.Elasticsearch.Serverless.Fields? copyTo) @@ -402,12 +385,6 @@ public PointPropertyDescriptor Properties(Action? FetchFields { get; set; } + /// + /// + /// For type composite + /// + /// + [JsonInclude, JsonPropertyName("fields")] + public IDictionary? Fields { get; set; } + /// /// /// A custom format for date type runtime fields. @@ -98,6 +106,7 @@ public RuntimeFieldDescriptor() : base() private Elastic.Clients.Elasticsearch.Serverless.Mapping.RuntimeFieldFetchFieldsDescriptor FetchFieldsDescriptor { get; set; } private Action> FetchFieldsDescriptorAction { get; set; } private Action>[] FetchFieldsDescriptorActions { get; set; } + private IDictionary FieldsValue { get; set; } private string? FormatValue { get; set; } private Elastic.Clients.Elasticsearch.Serverless.Field? InputFieldValue { get; set; } private Elastic.Clients.Elasticsearch.Serverless.Script? ScriptValue { get; set; } @@ -148,6 +157,17 @@ public RuntimeFieldDescriptor FetchFields(params Action + /// + /// For type composite + /// + /// + public RuntimeFieldDescriptor Fields(Func, FluentDescriptorDictionary> selector) + { + FieldsValue = selector?.Invoke(new FluentDescriptorDictionary()); + return Self; + } + /// /// /// A custom format for date type runtime fields. @@ -310,6 +330,12 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o JsonSerializer.Serialize(writer, FetchFieldsValue, options); } + if (FieldsValue is not null) + { + writer.WritePropertyName("fields"); + JsonSerializer.Serialize(writer, FieldsValue, options); + } + if (!string.IsNullOrEmpty(FormatValue)) { writer.WritePropertyName("format"); @@ -368,6 +394,7 @@ public RuntimeFieldDescriptor() : base() private Elastic.Clients.Elasticsearch.Serverless.Mapping.RuntimeFieldFetchFieldsDescriptor FetchFieldsDescriptor { get; set; } private Action FetchFieldsDescriptorAction { get; set; } private Action[] FetchFieldsDescriptorActions { get; set; } + private IDictionary FieldsValue { get; set; } private string? FormatValue { get; set; } private Elastic.Clients.Elasticsearch.Serverless.Field? InputFieldValue { get; set; } private Elastic.Clients.Elasticsearch.Serverless.Script? ScriptValue { get; set; } @@ -418,6 +445,17 @@ public RuntimeFieldDescriptor FetchFields(params Action + /// + /// For type composite + /// + /// + public RuntimeFieldDescriptor Fields(Func, FluentDescriptorDictionary> selector) + { + FieldsValue = selector?.Invoke(new FluentDescriptorDictionary()); + return Self; + } + /// /// /// A custom format for date type runtime fields. @@ -580,6 +618,12 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o JsonSerializer.Serialize(writer, FetchFieldsValue, options); } + if (FieldsValue is not null) + { + writer.WritePropertyName("fields"); + JsonSerializer.Serialize(writer, FieldsValue, options); + } + if (!string.IsNullOrEmpty(FormatValue)) { writer.WritePropertyName("format"); diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Mapping/ScaledFloatNumberProperty.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Mapping/ScaledFloatNumberProperty.g.cs index 343a9aaa7fd..2f3f8288c6f 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Mapping/ScaledFloatNumberProperty.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Mapping/ScaledFloatNumberProperty.g.cs @@ -66,8 +66,6 @@ public sealed partial class ScaledFloatNumberProperty : IProperty public double? ScalingFactor { get; set; } [JsonInclude, JsonPropertyName("script")] public Elastic.Clients.Elasticsearch.Serverless.Script? Script { get; set; } - [JsonInclude, JsonPropertyName("similarity")] - public string? Similarity { get; set; } [JsonInclude, JsonPropertyName("store")] public bool? Store { get; set; } @@ -100,7 +98,6 @@ public ScaledFloatNumberPropertyDescriptor() : base() private Elastic.Clients.Elasticsearch.Serverless.Script? ScriptValue { get; set; } private Elastic.Clients.Elasticsearch.Serverless.ScriptDescriptor ScriptDescriptor { get; set; } private Action ScriptDescriptorAction { get; set; } - private string? SimilarityValue { get; set; } private bool? StoreValue { get; set; } public ScaledFloatNumberPropertyDescriptor Boost(double? boost) @@ -244,12 +241,6 @@ public ScaledFloatNumberPropertyDescriptor Script(Action Similarity(string? similarity) - { - SimilarityValue = similarity; - return Self; - } - public ScaledFloatNumberPropertyDescriptor Store(bool? store = true) { StoreValue = store; @@ -359,12 +350,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o JsonSerializer.Serialize(writer, ScriptValue, options); } - if (!string.IsNullOrEmpty(SimilarityValue)) - { - writer.WritePropertyName("similarity"); - writer.WriteStringValue(SimilarityValue); - } - if (StoreValue.HasValue) { writer.WritePropertyName("store"); @@ -417,7 +402,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o Properties = PropertiesValue, ScalingFactor = ScalingFactorValue, Script = BuildScript(), - Similarity = SimilarityValue, Store = StoreValue }; } @@ -447,7 +431,6 @@ public ScaledFloatNumberPropertyDescriptor() : base() private Elastic.Clients.Elasticsearch.Serverless.Script? ScriptValue { get; set; } private Elastic.Clients.Elasticsearch.Serverless.ScriptDescriptor ScriptDescriptor { get; set; } private Action ScriptDescriptorAction { get; set; } - private string? SimilarityValue { get; set; } private bool? StoreValue { get; set; } public ScaledFloatNumberPropertyDescriptor Boost(double? boost) @@ -591,12 +574,6 @@ public ScaledFloatNumberPropertyDescriptor Script(Action? MetaValue { get; set; } private Elastic.Clients.Elasticsearch.Serverless.Mapping.GeoOrientation? OrientationValue { get; set; } private Elastic.Clients.Elasticsearch.Serverless.Mapping.Properties? PropertiesValue { get; set; } - private string? SimilarityValue { get; set; } private bool? StoreValue { get; set; } public ShapePropertyDescriptor Coerce(bool? coerce = true) @@ -202,12 +199,6 @@ public ShapePropertyDescriptor Properties(Action Similarity(string? similarity) - { - SimilarityValue = similarity; - return Self; - } - public ShapePropertyDescriptor Store(bool? store = true) { StoreValue = store; @@ -283,12 +274,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o JsonSerializer.Serialize(writer, PropertiesValue, options); } - if (!string.IsNullOrEmpty(SimilarityValue)) - { - writer.WritePropertyName("similarity"); - writer.WriteStringValue(SimilarityValue); - } - if (StoreValue.HasValue) { writer.WritePropertyName("store"); @@ -313,7 +298,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o Meta = MetaValue, Orientation = OrientationValue, Properties = PropertiesValue, - Similarity = SimilarityValue, Store = StoreValue }; } @@ -344,7 +328,6 @@ public ShapePropertyDescriptor() : base() private IDictionary? MetaValue { get; set; } private Elastic.Clients.Elasticsearch.Serverless.Mapping.GeoOrientation? OrientationValue { get; set; } private Elastic.Clients.Elasticsearch.Serverless.Mapping.Properties? PropertiesValue { get; set; } - private string? SimilarityValue { get; set; } private bool? StoreValue { get; set; } public ShapePropertyDescriptor Coerce(bool? coerce = true) @@ -446,12 +429,6 @@ public ShapePropertyDescriptor Properties(Action ScriptDescriptorAction { get; set; } - private string? SimilarityValue { get; set; } private bool? StoreValue { get; set; } public ShortNumberPropertyDescriptor Boost(double? boost) @@ -235,12 +232,6 @@ public ShortNumberPropertyDescriptor Script(Action Similarity(string? similarity) - { - SimilarityValue = similarity; - return Self; - } - public ShortNumberPropertyDescriptor Store(bool? store = true) { StoreValue = store; @@ -344,12 +335,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o JsonSerializer.Serialize(writer, ScriptValue, options); } - if (!string.IsNullOrEmpty(SimilarityValue)) - { - writer.WritePropertyName("similarity"); - writer.WriteStringValue(SimilarityValue); - } - if (StoreValue.HasValue) { writer.WritePropertyName("store"); @@ -401,7 +386,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o OnScriptError = OnScriptErrorValue, Properties = PropertiesValue, Script = BuildScript(), - Similarity = SimilarityValue, Store = StoreValue }; } @@ -430,7 +414,6 @@ public ShortNumberPropertyDescriptor() : base() private Elastic.Clients.Elasticsearch.Serverless.Script? ScriptValue { get; set; } private Elastic.Clients.Elasticsearch.Serverless.ScriptDescriptor ScriptDescriptor { get; set; } private Action ScriptDescriptorAction { get; set; } - private string? SimilarityValue { get; set; } private bool? StoreValue { get; set; } public ShortNumberPropertyDescriptor Boost(double? boost) @@ -568,12 +551,6 @@ public ShortNumberPropertyDescriptor Script(Action? MetaValue { get; set; } private double? NullValueValue { get; set; } private Elastic.Clients.Elasticsearch.Serverless.Mapping.Properties? PropertiesValue { get; set; } - private string? SimilarityValue { get; set; } private bool? StoreValue { get; set; } public TokenCountPropertyDescriptor Analyzer(string? analyzer) @@ -197,12 +194,6 @@ public TokenCountPropertyDescriptor Properties(Action Similarity(string? similarity) - { - SimilarityValue = similarity; - return Self; - } - public TokenCountPropertyDescriptor Store(bool? store = true) { StoreValue = store; @@ -284,12 +275,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o JsonSerializer.Serialize(writer, PropertiesValue, options); } - if (!string.IsNullOrEmpty(SimilarityValue)) - { - writer.WritePropertyName("similarity"); - writer.WriteStringValue(SimilarityValue); - } - if (StoreValue.HasValue) { writer.WritePropertyName("store"); @@ -315,7 +300,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o Meta = MetaValue, NullValue = NullValueValue, Properties = PropertiesValue, - Similarity = SimilarityValue, Store = StoreValue }; } @@ -340,7 +324,6 @@ public TokenCountPropertyDescriptor() : base() private IDictionary? MetaValue { get; set; } private double? NullValueValue { get; set; } private Elastic.Clients.Elasticsearch.Serverless.Mapping.Properties? PropertiesValue { get; set; } - private string? SimilarityValue { get; set; } private bool? StoreValue { get; set; } public TokenCountPropertyDescriptor Analyzer(string? analyzer) @@ -448,12 +431,6 @@ public TokenCountPropertyDescriptor Properties(Action ScriptDescriptorAction { get; set; } - private string? SimilarityValue { get; set; } private bool? StoreValue { get; set; } public UnsignedLongNumberPropertyDescriptor Boost(double? boost) @@ -235,12 +232,6 @@ public UnsignedLongNumberPropertyDescriptor Script(Action Similarity(string? similarity) - { - SimilarityValue = similarity; - return Self; - } - public UnsignedLongNumberPropertyDescriptor Store(bool? store = true) { StoreValue = store; @@ -344,12 +335,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o JsonSerializer.Serialize(writer, ScriptValue, options); } - if (!string.IsNullOrEmpty(SimilarityValue)) - { - writer.WritePropertyName("similarity"); - writer.WriteStringValue(SimilarityValue); - } - if (StoreValue.HasValue) { writer.WritePropertyName("store"); @@ -401,7 +386,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o OnScriptError = OnScriptErrorValue, Properties = PropertiesValue, Script = BuildScript(), - Similarity = SimilarityValue, Store = StoreValue }; } @@ -430,7 +414,6 @@ public UnsignedLongNumberPropertyDescriptor() : base() private Elastic.Clients.Elasticsearch.Serverless.Script? ScriptValue { get; set; } private Elastic.Clients.Elasticsearch.Serverless.ScriptDescriptor ScriptDescriptor { get; set; } private Action ScriptDescriptorAction { get; set; } - private string? SimilarityValue { get; set; } private bool? StoreValue { get; set; } public UnsignedLongNumberPropertyDescriptor Boost(double? boost) @@ -568,12 +551,6 @@ public UnsignedLongNumberPropertyDescriptor Script(Action? Meta { get; set; } [JsonInclude, JsonPropertyName("properties")] public Elastic.Clients.Elasticsearch.Serverless.Mapping.Properties? Properties { get; set; } - [JsonInclude, JsonPropertyName("similarity")] - public string? Similarity { get; set; } [JsonInclude, JsonPropertyName("store")] public bool? Store { get; set; } @@ -74,7 +72,6 @@ public VersionPropertyDescriptor() : base() private int? IgnoreAboveValue { get; set; } private IDictionary? MetaValue { get; set; } private Elastic.Clients.Elasticsearch.Serverless.Mapping.Properties? PropertiesValue { get; set; } - private string? SimilarityValue { get; set; } private bool? StoreValue { get; set; } public VersionPropertyDescriptor CopyTo(Elastic.Clients.Elasticsearch.Serverless.Fields? copyTo) @@ -152,12 +149,6 @@ public VersionPropertyDescriptor Properties(Action Similarity(string? similarity) - { - SimilarityValue = similarity; - return Self; - } - public VersionPropertyDescriptor Store(bool? store = true) { StoreValue = store; @@ -209,12 +200,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o JsonSerializer.Serialize(writer, PropertiesValue, options); } - if (!string.IsNullOrEmpty(SimilarityValue)) - { - writer.WritePropertyName("similarity"); - writer.WriteStringValue(SimilarityValue); - } - if (StoreValue.HasValue) { writer.WritePropertyName("store"); @@ -235,7 +220,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o IgnoreAbove = IgnoreAboveValue, Meta = MetaValue, Properties = PropertiesValue, - Similarity = SimilarityValue, Store = StoreValue }; } @@ -255,7 +239,6 @@ public VersionPropertyDescriptor() : base() private int? IgnoreAboveValue { get; set; } private IDictionary? MetaValue { get; set; } private Elastic.Clients.Elasticsearch.Serverless.Mapping.Properties? PropertiesValue { get; set; } - private string? SimilarityValue { get; set; } private bool? StoreValue { get; set; } public VersionPropertyDescriptor CopyTo(Elastic.Clients.Elasticsearch.Serverless.Fields? copyTo) @@ -333,12 +316,6 @@ public VersionPropertyDescriptor Properties(Action? MetaValue { get; set; } private string? NullValueValue { get; set; } private Elastic.Clients.Elasticsearch.Serverless.Mapping.Properties? PropertiesValue { get; set; } - private string? SimilarityValue { get; set; } private bool? StoreValue { get; set; } public WildcardPropertyDescriptor CopyTo(Elastic.Clients.Elasticsearch.Serverless.Fields? copyTo) @@ -161,12 +158,6 @@ public WildcardPropertyDescriptor Properties(Action Similarity(string? similarity) - { - SimilarityValue = similarity; - return Self; - } - public WildcardPropertyDescriptor Store(bool? store = true) { StoreValue = store; @@ -224,12 +215,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o JsonSerializer.Serialize(writer, PropertiesValue, options); } - if (!string.IsNullOrEmpty(SimilarityValue)) - { - writer.WritePropertyName("similarity"); - writer.WriteStringValue(SimilarityValue); - } - if (StoreValue.HasValue) { writer.WritePropertyName("store"); @@ -251,7 +236,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o Meta = MetaValue, NullValue = NullValueValue, Properties = PropertiesValue, - Similarity = SimilarityValue, Store = StoreValue }; } @@ -272,7 +256,6 @@ public WildcardPropertyDescriptor() : base() private IDictionary? MetaValue { get; set; } private string? NullValueValue { get; set; } private Elastic.Clients.Elasticsearch.Serverless.Mapping.Properties? PropertiesValue { get; set; } - private string? SimilarityValue { get; set; } private bool? StoreValue { get; set; } public WildcardPropertyDescriptor CopyTo(Elastic.Clients.Elasticsearch.Serverless.Fields? copyTo) @@ -356,12 +339,6 @@ public WildcardPropertyDescriptor Properties(Action /// [JsonInclude, JsonPropertyName("pipelines")] - public IReadOnlyDictionary? Pipelines { get; init; } + public IReadOnlyDictionary? Pipelines { get; init; } /// /// diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Nodes/IngestStats.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Nodes/IngestStats.g.cs new file mode 100644 index 00000000000..14f02675ad2 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Nodes/IngestStats.g.cs @@ -0,0 +1,92 @@ +// 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 Elastic.Clients.Elasticsearch.Serverless.Fluent; +using Elastic.Clients.Elasticsearch.Serverless.Serialization; +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +namespace Elastic.Clients.Elasticsearch.Serverless.Nodes; + +public sealed partial class IngestStats +{ + /// + /// + /// Total number of documents ingested during the lifetime of this node. + /// + /// + [JsonInclude, JsonPropertyName("count")] + public long Count { get; init; } + + /// + /// + /// Total number of documents currently being ingested. + /// + /// + [JsonInclude, JsonPropertyName("current")] + public long Current { get; init; } + + /// + /// + /// Total number of failed ingest operations during the lifetime of this node. + /// + /// + [JsonInclude, JsonPropertyName("failed")] + public long Failed { get; init; } + + /// + /// + /// Total number of bytes of all documents ingested by the pipeline. + /// This field is only present on pipelines which are the first to process a document. + /// Thus, it is not present on pipelines which only serve as a final pipeline after a default pipeline, a pipeline run after a reroute processor, or pipelines in pipeline processors. + /// + /// + [JsonInclude, JsonPropertyName("ingested_as_first_pipeline_in_bytes")] + public long IngestedAsFirstPipelineInBytes { get; init; } + + /// + /// + /// Total number of ingest processors. + /// + /// + [JsonInclude, JsonPropertyName("processors")] + public IReadOnlyCollection> Processors { get; init; } + + /// + /// + /// Total number of bytes of all documents produced by the pipeline. + /// This field is only present on pipelines which are the first to process a document. + /// Thus, it is not present on pipelines which only serve as a final pipeline after a default pipeline, a pipeline run after a reroute processor, or pipelines in pipeline processors. + /// In situations where there are subsequent pipelines, the value represents the size of the document after all pipelines have run. + /// + /// + [JsonInclude, JsonPropertyName("produced_as_first_pipeline_in_bytes")] + public long ProducedAsFirstPipelineInBytes { get; init; } + + /// + /// + /// Total time, in milliseconds, spent preprocessing ingest documents during the lifetime of this node. + /// + /// + [JsonInclude, JsonPropertyName("time_in_millis")] + public long TimeInMillis { get; init; } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Nodes/IngestTotal.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Nodes/IngestTotal.g.cs index 28969d1c701..353d8167d58 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Nodes/IngestTotal.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Nodes/IngestTotal.g.cs @@ -35,7 +35,7 @@ public sealed partial class IngestTotal /// /// [JsonInclude, JsonPropertyName("count")] - public long? Count { get; init; } + public long Count { get; init; } /// /// @@ -43,7 +43,7 @@ public sealed partial class IngestTotal /// /// [JsonInclude, JsonPropertyName("current")] - public long? Current { get; init; } + public long Current { get; init; } /// /// @@ -51,15 +51,7 @@ public sealed partial class IngestTotal /// /// [JsonInclude, JsonPropertyName("failed")] - public long? Failed { get; init; } - - /// - /// - /// Total number of ingest processors. - /// - /// - [JsonInclude, JsonPropertyName("processors")] - public IReadOnlyCollection>? Processors { get; init; } + public long Failed { get; init; } /// /// @@ -67,5 +59,5 @@ public sealed partial class IngestTotal /// /// [JsonInclude, JsonPropertyName("time_in_millis")] - public long? TimeInMillis { get; init; } + public long TimeInMillis { get; init; } } \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/QueryDsl/TermsSetQuery.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/QueryDsl/TermsSetQuery.g.cs index 64d06eaff47..8da1d26d0e4 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/QueryDsl/TermsSetQuery.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/QueryDsl/TermsSetQuery.g.cs @@ -48,6 +48,12 @@ public override TermsSetQuery Read(ref Utf8JsonReader reader, Type typeToConvert continue; } + if (property == "minimum_should_match") + { + variant.MinimumShouldMatch = JsonSerializer.Deserialize(ref reader, options); + continue; + } + if (property == "minimum_should_match_field") { variant.MinimumShouldMatchField = JsonSerializer.Deserialize(ref reader, options); @@ -68,7 +74,7 @@ public override TermsSetQuery Read(ref Utf8JsonReader reader, Type typeToConvert if (property == "terms") { - variant.Terms = JsonSerializer.Deserialize>(ref reader, options); + variant.Terms = JsonSerializer.Deserialize>(ref reader, options); continue; } } @@ -93,6 +99,12 @@ public override void Write(Utf8JsonWriter writer, TermsSetQuery value, JsonSeria writer.WriteNumberValue(value.Boost.Value); } + if (value.MinimumShouldMatch is not null) + { + writer.WritePropertyName("minimum_should_match"); + JsonSerializer.Serialize(writer, value.MinimumShouldMatch, options); + } + if (value.MinimumShouldMatchField is not null) { writer.WritePropertyName("minimum_should_match_field"); @@ -139,6 +151,13 @@ public TermsSetQuery(Elastic.Clients.Elasticsearch.Serverless.Field field) public float? Boost { get; set; } public Elastic.Clients.Elasticsearch.Serverless.Field Field { get; set; } + /// + /// + /// Specification describing number of matching terms required to return a document. + /// + /// + public Elastic.Clients.Elasticsearch.Serverless.MinimumShouldMatch? MinimumShouldMatch { get; set; } + /// /// /// Numeric field containing the number of matching terms required to return a document. @@ -159,7 +178,7 @@ public TermsSetQuery(Elastic.Clients.Elasticsearch.Serverless.Field field) /// Array of terms you wish to find in the provided field. /// /// - public ICollection Terms { get; set; } + public ICollection Terms { get; set; } public static implicit operator Elastic.Clients.Elasticsearch.Serverless.QueryDsl.Query(TermsSetQuery termsSetQuery) => Elastic.Clients.Elasticsearch.Serverless.QueryDsl.Query.TermsSet(termsSetQuery); } @@ -174,12 +193,13 @@ public TermsSetQueryDescriptor() : base() private float? BoostValue { get; set; } private Elastic.Clients.Elasticsearch.Serverless.Field FieldValue { get; set; } + private Elastic.Clients.Elasticsearch.Serverless.MinimumShouldMatch? MinimumShouldMatchValue { get; set; } private Elastic.Clients.Elasticsearch.Serverless.Field? MinimumShouldMatchFieldValue { get; set; } private Elastic.Clients.Elasticsearch.Serverless.Script? MinimumShouldMatchScriptValue { get; set; } private Elastic.Clients.Elasticsearch.Serverless.ScriptDescriptor MinimumShouldMatchScriptDescriptor { get; set; } private Action MinimumShouldMatchScriptDescriptorAction { get; set; } private string? QueryNameValue { get; set; } - private ICollection TermsValue { get; set; } + private ICollection TermsValue { get; set; } /// /// @@ -213,6 +233,17 @@ public TermsSetQueryDescriptor Field(Expression + /// + /// Specification describing number of matching terms required to return a document. + /// + /// + public TermsSetQueryDescriptor MinimumShouldMatch(Elastic.Clients.Elasticsearch.Serverless.MinimumShouldMatch? minimumShouldMatch) + { + MinimumShouldMatchValue = minimumShouldMatch; + return Self; + } + /// /// /// Numeric field containing the number of matching terms required to return a document. @@ -286,7 +317,7 @@ public TermsSetQueryDescriptor QueryName(string? queryName) /// Array of terms you wish to find in the provided field. /// /// - public TermsSetQueryDescriptor Terms(ICollection terms) + public TermsSetQueryDescriptor Terms(ICollection terms) { TermsValue = terms; return Self; @@ -305,6 +336,12 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o writer.WriteNumberValue(BoostValue.Value); } + if (MinimumShouldMatchValue is not null) + { + writer.WritePropertyName("minimum_should_match"); + JsonSerializer.Serialize(writer, MinimumShouldMatchValue, options); + } + if (MinimumShouldMatchFieldValue is not null) { writer.WritePropertyName("minimum_should_match_field"); @@ -350,12 +387,13 @@ public TermsSetQueryDescriptor() : base() private float? BoostValue { get; set; } private Elastic.Clients.Elasticsearch.Serverless.Field FieldValue { get; set; } + private Elastic.Clients.Elasticsearch.Serverless.MinimumShouldMatch? MinimumShouldMatchValue { get; set; } private Elastic.Clients.Elasticsearch.Serverless.Field? MinimumShouldMatchFieldValue { get; set; } private Elastic.Clients.Elasticsearch.Serverless.Script? MinimumShouldMatchScriptValue { get; set; } private Elastic.Clients.Elasticsearch.Serverless.ScriptDescriptor MinimumShouldMatchScriptDescriptor { get; set; } private Action MinimumShouldMatchScriptDescriptorAction { get; set; } private string? QueryNameValue { get; set; } - private ICollection TermsValue { get; set; } + private ICollection TermsValue { get; set; } /// /// @@ -389,6 +427,17 @@ public TermsSetQueryDescriptor Field(Expression + /// + /// Specification describing number of matching terms required to return a document. + /// + /// + public TermsSetQueryDescriptor MinimumShouldMatch(Elastic.Clients.Elasticsearch.Serverless.MinimumShouldMatch? minimumShouldMatch) + { + MinimumShouldMatchValue = minimumShouldMatch; + return Self; + } + /// /// /// Numeric field containing the number of matching terms required to return a document. @@ -462,7 +511,7 @@ public TermsSetQueryDescriptor QueryName(string? queryName) /// Array of terms you wish to find in the provided field. /// /// - public TermsSetQueryDescriptor Terms(ICollection terms) + public TermsSetQueryDescriptor Terms(ICollection terms) { TermsValue = terms; return Self; @@ -481,6 +530,12 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o writer.WriteNumberValue(BoostValue.Value); } + if (MinimumShouldMatchValue is not null) + { + writer.WritePropertyName("minimum_should_match"); + JsonSerializer.Serialize(writer, MinimumShouldMatchValue, options); + } + if (MinimumShouldMatchFieldValue is not null) { writer.WritePropertyName("minimum_should_match_field"); diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Rank.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Rank.g.cs deleted file mode 100644 index 1fa0ea7e982..00000000000 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Rank.g.cs +++ /dev/null @@ -1,227 +0,0 @@ -// 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 Elastic.Clients.Elasticsearch.Serverless.Fluent; -using Elastic.Clients.Elasticsearch.Serverless.Serialization; -using System; -using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; -using System.Linq.Expressions; -using System.Text.Json; -using System.Text.Json.Serialization; - -namespace Elastic.Clients.Elasticsearch.Serverless; - -[JsonConverter(typeof(RankConverter))] -public sealed partial class Rank -{ - internal Rank(string variantName, object variant) - { - if (variantName is null) - throw new ArgumentNullException(nameof(variantName)); - if (variant is null) - throw new ArgumentNullException(nameof(variant)); - if (string.IsNullOrWhiteSpace(variantName)) - throw new ArgumentException("Variant name must not be empty or whitespace."); - VariantName = variantName; - Variant = variant; - } - - internal object Variant { get; } - internal string VariantName { get; } - - public static Rank Rrf(Elastic.Clients.Elasticsearch.Serverless.RrfRank rrfRank) => new Rank("rrf", rrfRank); - - public bool TryGet([NotNullWhen(true)] out T? result) where T : class - { - result = default; - if (Variant is T variant) - { - result = variant; - return true; - } - - return false; - } -} - -internal sealed partial class RankConverter : JsonConverter -{ - public override Rank Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) - { - if (reader.TokenType != JsonTokenType.StartObject) - { - throw new JsonException("Expected start token."); - } - - object? variantValue = default; - string? variantNameValue = default; - while (reader.Read() && reader.TokenType != JsonTokenType.EndObject) - { - if (reader.TokenType != JsonTokenType.PropertyName) - { - throw new JsonException("Expected a property name token."); - } - - if (reader.TokenType != JsonTokenType.PropertyName) - { - throw new JsonException("Expected a property name token representing the name of an Elasticsearch field."); - } - - var propertyName = reader.GetString(); - reader.Read(); - if (propertyName == "rrf") - { - variantValue = JsonSerializer.Deserialize(ref reader, options); - variantNameValue = propertyName; - continue; - } - - throw new JsonException($"Unknown property name '{propertyName}' received while deserializing the 'Rank' from the response."); - } - - var result = new Rank(variantNameValue, variantValue); - return result; - } - - public override void Write(Utf8JsonWriter writer, Rank value, JsonSerializerOptions options) - { - writer.WriteStartObject(); - if (value.VariantName is not null && value.Variant is not null) - { - writer.WritePropertyName(value.VariantName); - switch (value.VariantName) - { - case "rrf": - JsonSerializer.Serialize(writer, (Elastic.Clients.Elasticsearch.Serverless.RrfRank)value.Variant, options); - break; - } - } - - writer.WriteEndObject(); - } -} - -public sealed partial class RankDescriptor : SerializableDescriptor> -{ - internal RankDescriptor(Action> configure) => configure.Invoke(this); - - public RankDescriptor() : base() - { - } - - private bool ContainsVariant { get; set; } - private string ContainedVariantName { get; set; } - private object Variant { get; set; } - private Descriptor Descriptor { get; set; } - - private RankDescriptor Set(Action descriptorAction, string variantName) where T : Descriptor - { - ContainedVariantName = variantName; - ContainsVariant = true; - var descriptor = (T)Activator.CreateInstance(typeof(T), true); - descriptorAction?.Invoke(descriptor); - Descriptor = descriptor; - return Self; - } - - private RankDescriptor Set(object variant, string variantName) - { - Variant = variant; - ContainedVariantName = variantName; - ContainsVariant = true; - return Self; - } - - public RankDescriptor Rrf(Elastic.Clients.Elasticsearch.Serverless.RrfRank rrfRank) => Set(rrfRank, "rrf"); - public RankDescriptor Rrf(Action configure) => Set(configure, "rrf"); - - protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) - { - writer.WriteStartObject(); - if (!string.IsNullOrEmpty(ContainedVariantName)) - { - writer.WritePropertyName(ContainedVariantName); - if (Variant is not null) - { - JsonSerializer.Serialize(writer, Variant, Variant.GetType(), options); - writer.WriteEndObject(); - return; - } - - JsonSerializer.Serialize(writer, Descriptor, Descriptor.GetType(), options); - } - - writer.WriteEndObject(); - } -} - -public sealed partial class RankDescriptor : SerializableDescriptor -{ - internal RankDescriptor(Action configure) => configure.Invoke(this); - - public RankDescriptor() : base() - { - } - - private bool ContainsVariant { get; set; } - private string ContainedVariantName { get; set; } - private object Variant { get; set; } - private Descriptor Descriptor { get; set; } - - private RankDescriptor Set(Action descriptorAction, string variantName) where T : Descriptor - { - ContainedVariantName = variantName; - ContainsVariant = true; - var descriptor = (T)Activator.CreateInstance(typeof(T), true); - descriptorAction?.Invoke(descriptor); - Descriptor = descriptor; - return Self; - } - - private RankDescriptor Set(object variant, string variantName) - { - Variant = variant; - ContainedVariantName = variantName; - ContainsVariant = true; - return Self; - } - - public RankDescriptor Rrf(Elastic.Clients.Elasticsearch.Serverless.RrfRank rrfRank) => Set(rrfRank, "rrf"); - public RankDescriptor Rrf(Action configure) => Set(configure, "rrf"); - - protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) - { - writer.WriteStartObject(); - if (!string.IsNullOrEmpty(ContainedVariantName)) - { - writer.WritePropertyName(ContainedVariantName); - if (Variant is not null) - { - JsonSerializer.Serialize(writer, Variant, Variant.GetType(), options); - writer.WriteEndObject(); - return; - } - - JsonSerializer.Serialize(writer, Descriptor, Descriptor.GetType(), options); - } - - writer.WriteEndObject(); - } -} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Snapshot/SnapshotShardFailure.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Snapshot/SnapshotShardFailure.g.cs index 0071b40bb4f..4c2effd0b43 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Snapshot/SnapshotShardFailure.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Snapshot/SnapshotShardFailure.g.cs @@ -31,6 +31,8 @@ public sealed partial class SnapshotShardFailure { [JsonInclude, JsonPropertyName("index")] public string Index { get; init; } + [JsonInclude, JsonPropertyName("index_uuid")] + public string IndexUuid { get; init; } [JsonInclude, JsonPropertyName("node_id")] public string? NodeId { get; init; } [JsonInclude, JsonPropertyName("reason")] diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Client/ElasticsearchClient.Esql.cs b/src/Elastic.Clients.Elasticsearch.Shared/Client/ElasticsearchClient.Esql.cs index 14c8d7ac845..76740e3fc05 100644 --- a/src/Elastic.Clients.Elasticsearch.Shared/Client/ElasticsearchClient.Esql.cs +++ b/src/Elastic.Clients.Elasticsearch.Shared/Client/ElasticsearchClient.Esql.cs @@ -65,7 +65,7 @@ public virtual async Task> QueryAsObjectsAsync void Configure(EsqlQueryRequestDescriptor descriptor) { configureRequest(descriptor); - descriptor.Format("JSON"); + descriptor.Format(EsqlFormat.Json); descriptor.Columnar(false); } } diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/HealthResponse.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/HealthResponse.g.cs index abfc1200a0f..e3fca0ec657 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/HealthResponse.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/HealthResponse.g.cs @@ -145,6 +145,14 @@ public sealed partial class HealthResponse : ElasticsearchResponse [JsonInclude, JsonPropertyName("timed_out")] public bool TimedOut { get; init; } + /// + /// + /// The number of primary shards that are not allocated. + /// + /// + [JsonInclude, JsonPropertyName("unassigned_primary_shards")] + public int UnassignedPrimaryShards { get; init; } + /// /// /// The number of shards that are not allocated. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Esql/EsqlQueryRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Esql/EsqlQueryRequest.g.cs index a4500abf0e0..625dac5748f 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Esql/EsqlQueryRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Esql/EsqlQueryRequest.g.cs @@ -51,7 +51,7 @@ public sealed partial class EsqlQueryRequestParameters : RequestParameters /// A short version of the Accept header, e.g. json, yaml. /// /// - public string? Format { get => Q("format"); set => Q("format", value); } + public Elastic.Clients.Elasticsearch.Esql.EsqlFormat? Format { get => Q("format"); set => Q("format", value); } } /// @@ -92,7 +92,7 @@ public sealed partial class EsqlQueryRequest : PlainRequest /// [JsonIgnore] - public string? Format { get => Q("format"); set => Q("format", value); } + public Elastic.Clients.Elasticsearch.Esql.EsqlFormat? Format { get => Q("format"); set => Q("format", value); } /// /// @@ -163,7 +163,7 @@ public EsqlQueryRequestDescriptor() public EsqlQueryRequestDescriptor Delimiter(string? delimiter) => Qs("delimiter", delimiter); public EsqlQueryRequestDescriptor DropNullColumns(bool? dropNullColumns = true) => Qs("drop_null_columns", dropNullColumns); - public EsqlQueryRequestDescriptor Format(string? format) => Qs("format", format); + public EsqlQueryRequestDescriptor Format(Elastic.Clients.Elasticsearch.Esql.EsqlFormat? format) => Qs("format", format); private bool? ColumnarValue { get; set; } private Elastic.Clients.Elasticsearch.QueryDsl.Query? FilterValue { get; set; } @@ -328,7 +328,7 @@ public EsqlQueryRequestDescriptor() public EsqlQueryRequestDescriptor Delimiter(string? delimiter) => Qs("delimiter", delimiter); public EsqlQueryRequestDescriptor DropNullColumns(bool? dropNullColumns = true) => Qs("drop_null_columns", dropNullColumns); - public EsqlQueryRequestDescriptor Format(string? format) => Qs("format", format); + public EsqlQueryRequestDescriptor Format(Elastic.Clients.Elasticsearch.Esql.EsqlFormat? format) => Qs("format", format); private bool? ColumnarValue { get; set; } private Elastic.Clients.Elasticsearch.QueryDsl.Query? FilterValue { get; set; } diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetDataStreamRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetDataStreamRequest.g.cs index 6401716d076..1ee0173f080 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetDataStreamRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetDataStreamRequest.g.cs @@ -52,6 +52,13 @@ public sealed partial class GetDataStreamRequestParameters : RequestParameters /// /// public Elastic.Clients.Elasticsearch.Duration? MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); } + + /// + /// + /// Whether the maximum timestamp for each data stream should be calculated and returned. + /// + /// + public bool? Verbose { get => Q("verbose"); set => Q("verbose", value); } } /// @@ -102,6 +109,14 @@ public GetDataStreamRequest(Elastic.Clients.Elasticsearch.DataStreamNames? name) /// [JsonIgnore] public Elastic.Clients.Elasticsearch.Duration? MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); } + + /// + /// + /// Whether the maximum timestamp for each data stream should be calculated and returned. + /// + /// + [JsonIgnore] + public bool? Verbose { get => Q("verbose"); set => Q("verbose", value); } } /// @@ -133,6 +148,7 @@ public GetDataStreamRequestDescriptor() public GetDataStreamRequestDescriptor ExpandWildcards(ICollection? expandWildcards) => Qs("expand_wildcards", expandWildcards); public GetDataStreamRequestDescriptor IncludeDefaults(bool? includeDefaults = true) => Qs("include_defaults", includeDefaults); public GetDataStreamRequestDescriptor MasterTimeout(Elastic.Clients.Elasticsearch.Duration? masterTimeout) => Qs("master_timeout", masterTimeout); + public GetDataStreamRequestDescriptor Verbose(bool? verbose = true) => Qs("verbose", verbose); public GetDataStreamRequestDescriptor Name(Elastic.Clients.Elasticsearch.DataStreamNames? name) { diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ResolveIndexRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ResolveIndexRequest.g.cs index 7e23ca3f0b8..e52b4679345 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ResolveIndexRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ResolveIndexRequest.g.cs @@ -31,6 +31,15 @@ namespace Elastic.Clients.Elasticsearch.IndexManagement; public sealed partial class ResolveIndexRequestParameters : RequestParameters { + /// + /// + /// If false, the request returns an error if any wildcard expression, index alias, or _all value targets only missing or closed indices. + /// This behavior applies even if the request targets other open indices. + /// For example, a request targeting foo*,bar* returns an error if an index starts with foo but no index starts with bar. + /// + /// + public bool? AllowNoIndices { get => Q("allow_no_indices"); set => Q("allow_no_indices", value); } + /// /// /// Type of index that wildcard patterns can match. @@ -40,6 +49,13 @@ public sealed partial class ResolveIndexRequestParameters : RequestParameters /// /// public ICollection? ExpandWildcards { get => Q?>("expand_wildcards"); set => Q("expand_wildcards", value); } + + /// + /// + /// If false, the request returns an error if it targets a missing or closed index. + /// + /// + public bool? IgnoreUnavailable { get => Q("ignore_unavailable"); set => Q("ignore_unavailable", value); } } /// @@ -62,6 +78,16 @@ public ResolveIndexRequest(Elastic.Clients.Elasticsearch.Names name) : base(r => internal override string OperationName => "indices.resolve_index"; + /// + /// + /// If false, the request returns an error if any wildcard expression, index alias, or _all value targets only missing or closed indices. + /// This behavior applies even if the request targets other open indices. + /// For example, a request targeting foo*,bar* returns an error if an index starts with foo but no index starts with bar. + /// + /// + [JsonIgnore] + public bool? AllowNoIndices { get => Q("allow_no_indices"); set => Q("allow_no_indices", value); } + /// /// /// Type of index that wildcard patterns can match. @@ -72,6 +98,14 @@ public ResolveIndexRequest(Elastic.Clients.Elasticsearch.Names name) : base(r => /// [JsonIgnore] public ICollection? ExpandWildcards { get => Q?>("expand_wildcards"); set => Q("expand_wildcards", value); } + + /// + /// + /// If false, the request returns an error if it targets a missing or closed index. + /// + /// + [JsonIgnore] + public bool? IgnoreUnavailable { get => Q("ignore_unavailable"); set => Q("ignore_unavailable", value); } } /// @@ -96,7 +130,9 @@ public ResolveIndexRequestDescriptor(Elastic.Clients.Elasticsearch.Names name) : internal override string OperationName => "indices.resolve_index"; + public ResolveIndexRequestDescriptor AllowNoIndices(bool? allowNoIndices = true) => Qs("allow_no_indices", allowNoIndices); public ResolveIndexRequestDescriptor ExpandWildcards(ICollection? expandWildcards) => Qs("expand_wildcards", expandWildcards); + public ResolveIndexRequestDescriptor IgnoreUnavailable(bool? ignoreUnavailable = true) => Qs("ignore_unavailable", ignoreUnavailable); public ResolveIndexRequestDescriptor Name(Elastic.Clients.Elasticsearch.Names name) { diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Ingest/PutPipelineRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Ingest/PutPipelineRequest.g.cs index acbda2c17ac..16eb12f2675 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Ingest/PutPipelineRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Ingest/PutPipelineRequest.g.cs @@ -97,6 +97,15 @@ public PutPipelineRequest(Elastic.Clients.Elasticsearch.Id id) : base(r => r.Req [JsonIgnore] public Elastic.Clients.Elasticsearch.Duration? Timeout { get => Q("timeout"); set => Q("timeout", value); } + /// + /// + /// Marks this ingest pipeline as deprecated. + /// When a deprecated ingest pipeline is referenced as the default or final pipeline when creating or updating a non-deprecated index template, Elasticsearch will emit a deprecation warning. + /// + /// + [JsonInclude, JsonPropertyName("deprecated")] + public bool? Deprecated { get; set; } + /// /// /// Description of the ingest pipeline. @@ -170,6 +179,7 @@ public PutPipelineRequestDescriptor Id(Elastic.Clients.Elasticsearch. return Self; } + private bool? DeprecatedValue { get; set; } private string? DescriptionValue { get; set; } private IDictionary? MetaValue { get; set; } private ICollection? OnFailureValue { get; set; } @@ -182,6 +192,18 @@ public PutPipelineRequestDescriptor Id(Elastic.Clients.Elasticsearch. private Action>[] ProcessorsDescriptorActions { get; set; } private long? VersionValue { get; set; } + /// + /// + /// Marks this ingest pipeline as deprecated. + /// When a deprecated ingest pipeline is referenced as the default or final pipeline when creating or updating a non-deprecated index template, Elasticsearch will emit a deprecation warning. + /// + /// + public PutPipelineRequestDescriptor Deprecated(bool? deprecated = true) + { + DeprecatedValue = deprecated; + return Self; + } + /// /// /// Description of the ingest pipeline. @@ -300,6 +322,12 @@ public PutPipelineRequestDescriptor Version(long? version) protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) { writer.WriteStartObject(); + if (DeprecatedValue.HasValue) + { + writer.WritePropertyName("deprecated"); + writer.WriteBooleanValue(DeprecatedValue.Value); + } + if (!string.IsNullOrEmpty(DescriptionValue)) { writer.WritePropertyName("description"); @@ -416,6 +444,7 @@ public PutPipelineRequestDescriptor Id(Elastic.Clients.Elasticsearch.Id id) return Self; } + private bool? DeprecatedValue { get; set; } private string? DescriptionValue { get; set; } private IDictionary? MetaValue { get; set; } private ICollection? OnFailureValue { get; set; } @@ -428,6 +457,18 @@ public PutPipelineRequestDescriptor Id(Elastic.Clients.Elasticsearch.Id id) private Action[] ProcessorsDescriptorActions { get; set; } private long? VersionValue { get; set; } + /// + /// + /// Marks this ingest pipeline as deprecated. + /// When a deprecated ingest pipeline is referenced as the default or final pipeline when creating or updating a non-deprecated index template, Elasticsearch will emit a deprecation warning. + /// + /// + public PutPipelineRequestDescriptor Deprecated(bool? deprecated = true) + { + DeprecatedValue = deprecated; + return Self; + } + /// /// /// Description of the ingest pipeline. @@ -546,6 +587,12 @@ public PutPipelineRequestDescriptor Version(long? version) protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) { writer.WriteStartObject(); + if (DeprecatedValue.HasValue) + { + writer.WritePropertyName("deprecated"); + writer.WriteBooleanValue(DeprecatedValue.Value); + } + if (!string.IsNullOrEmpty(DescriptionValue)) { writer.WritePropertyName("description"); diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/OpenPointInTimeRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/OpenPointInTimeRequest.g.cs index 70c7fbf99c4..0c5914a5c35 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/OpenPointInTimeRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/OpenPointInTimeRequest.g.cs @@ -90,7 +90,7 @@ public OpenPointInTimeRequest(Elastic.Clients.Elasticsearch.Indices indices) : b protected override HttpMethod StaticHttpMethod => HttpMethod.POST; - internal override bool SupportsBody => false; + internal override bool SupportsBody => true; internal override string OperationName => "open_point_in_time"; @@ -136,6 +136,14 @@ public OpenPointInTimeRequest(Elastic.Clients.Elasticsearch.Indices indices) : b /// [JsonIgnore] public Elastic.Clients.Elasticsearch.Routing? Routing { get => Q("routing"); set => Q("routing", value); } + + /// + /// + /// Allows to filter indices if the provided query rewrites to match_none on every shard. + /// + /// + [JsonInclude, JsonPropertyName("index_filter")] + public Elastic.Clients.Elasticsearch.QueryDsl.Query? IndexFilter { get; set; } } /// @@ -164,7 +172,7 @@ public OpenPointInTimeRequestDescriptor() : this(typeof(TDocument)) protected override HttpMethod StaticHttpMethod => HttpMethod.POST; - internal override bool SupportsBody => false; + internal override bool SupportsBody => true; internal override string OperationName => "open_point_in_time"; @@ -180,8 +188,59 @@ public OpenPointInTimeRequestDescriptor Indices(Elastic.Clients.Elast return Self; } + private Elastic.Clients.Elasticsearch.QueryDsl.Query? IndexFilterValue { get; set; } + private Elastic.Clients.Elasticsearch.QueryDsl.QueryDescriptor IndexFilterDescriptor { get; set; } + private Action> IndexFilterDescriptorAction { get; set; } + + /// + /// + /// Allows to filter indices if the provided query rewrites to match_none on every shard. + /// + /// + public OpenPointInTimeRequestDescriptor IndexFilter(Elastic.Clients.Elasticsearch.QueryDsl.Query? indexFilter) + { + IndexFilterDescriptor = null; + IndexFilterDescriptorAction = null; + IndexFilterValue = indexFilter; + return Self; + } + + public OpenPointInTimeRequestDescriptor IndexFilter(Elastic.Clients.Elasticsearch.QueryDsl.QueryDescriptor descriptor) + { + IndexFilterValue = null; + IndexFilterDescriptorAction = null; + IndexFilterDescriptor = descriptor; + return Self; + } + + public OpenPointInTimeRequestDescriptor IndexFilter(Action> configure) + { + IndexFilterValue = null; + IndexFilterDescriptor = null; + IndexFilterDescriptorAction = configure; + return Self; + } + protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) { + writer.WriteStartObject(); + if (IndexFilterDescriptor is not null) + { + writer.WritePropertyName("index_filter"); + JsonSerializer.Serialize(writer, IndexFilterDescriptor, options); + } + else if (IndexFilterDescriptorAction is not null) + { + writer.WritePropertyName("index_filter"); + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.QueryDsl.QueryDescriptor(IndexFilterDescriptorAction), options); + } + else if (IndexFilterValue is not null) + { + writer.WritePropertyName("index_filter"); + JsonSerializer.Serialize(writer, IndexFilterValue, options); + } + + writer.WriteEndObject(); } } @@ -207,7 +266,7 @@ public OpenPointInTimeRequestDescriptor(Elastic.Clients.Elasticsearch.Indices in protected override HttpMethod StaticHttpMethod => HttpMethod.POST; - internal override bool SupportsBody => false; + internal override bool SupportsBody => true; internal override string OperationName => "open_point_in_time"; @@ -223,7 +282,58 @@ public OpenPointInTimeRequestDescriptor Indices(Elastic.Clients.Elasticsearch.In return Self; } + private Elastic.Clients.Elasticsearch.QueryDsl.Query? IndexFilterValue { get; set; } + private Elastic.Clients.Elasticsearch.QueryDsl.QueryDescriptor IndexFilterDescriptor { get; set; } + private Action IndexFilterDescriptorAction { get; set; } + + /// + /// + /// Allows to filter indices if the provided query rewrites to match_none on every shard. + /// + /// + public OpenPointInTimeRequestDescriptor IndexFilter(Elastic.Clients.Elasticsearch.QueryDsl.Query? indexFilter) + { + IndexFilterDescriptor = null; + IndexFilterDescriptorAction = null; + IndexFilterValue = indexFilter; + return Self; + } + + public OpenPointInTimeRequestDescriptor IndexFilter(Elastic.Clients.Elasticsearch.QueryDsl.QueryDescriptor descriptor) + { + IndexFilterValue = null; + IndexFilterDescriptorAction = null; + IndexFilterDescriptor = descriptor; + return Self; + } + + public OpenPointInTimeRequestDescriptor IndexFilter(Action configure) + { + IndexFilterValue = null; + IndexFilterDescriptor = null; + IndexFilterDescriptorAction = configure; + return Self; + } + protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) { + writer.WriteStartObject(); + if (IndexFilterDescriptor is not null) + { + writer.WritePropertyName("index_filter"); + JsonSerializer.Serialize(writer, IndexFilterDescriptor, options); + } + else if (IndexFilterDescriptorAction is not null) + { + writer.WritePropertyName("index_filter"); + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.QueryDsl.QueryDescriptor(IndexFilterDescriptorAction), options); + } + else if (IndexFilterValue is not null) + { + writer.WritePropertyName("index_filter"); + JsonSerializer.Serialize(writer, IndexFilterValue, options); + } + + writer.WriteEndObject(); } } \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/OpenPointInTimeResponse.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/OpenPointInTimeResponse.g.cs index cc2ea924c79..1dd4dd1105d 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/OpenPointInTimeResponse.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/OpenPointInTimeResponse.g.cs @@ -30,4 +30,12 @@ public sealed partial class OpenPointInTimeResponse : ElasticsearchResponse { [JsonInclude, JsonPropertyName("id")] public string Id { get; init; } + + /// + /// + /// Shards used to create the PIT + /// + /// + [JsonInclude, JsonPropertyName("_shards")] + public Elastic.Clients.Elasticsearch.ShardStatistics Shards { get; init; } } \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchApplication/DeleteBehavioralAnalyticsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchApplication/DeleteBehavioralAnalyticsRequest.g.cs index 393dc6f1772..bb1dd14ba0a 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchApplication/DeleteBehavioralAnalyticsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchApplication/DeleteBehavioralAnalyticsRequest.g.cs @@ -36,6 +36,7 @@ public sealed partial class DeleteBehavioralAnalyticsRequestParameters : Request /// /// /// Delete a behavioral analytics collection. +/// The associated data stream is also deleted. /// /// public sealed partial class DeleteBehavioralAnalyticsRequest : PlainRequest @@ -56,6 +57,7 @@ public DeleteBehavioralAnalyticsRequest(Elastic.Clients.Elasticsearch.Name name) /// /// /// Delete a behavioral analytics collection. +/// The associated data stream is also deleted. /// /// public sealed partial class DeleteBehavioralAnalyticsRequestDescriptor : RequestDescriptor diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchApplication/DeleteSearchApplicationRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchApplication/DeleteSearchApplicationRequest.g.cs index 6eb2ed9f167..568ee9f3b60 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchApplication/DeleteSearchApplicationRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchApplication/DeleteSearchApplicationRequest.g.cs @@ -35,7 +35,8 @@ public sealed partial class DeleteSearchApplicationRequestParameters : RequestPa /// /// -/// Deletes a search application. +/// Delete a search application. +/// Remove a search application and its associated alias. Indices attached to the search application are not removed. /// /// public sealed partial class DeleteSearchApplicationRequest : PlainRequest @@ -55,7 +56,8 @@ public DeleteSearchApplicationRequest(Elastic.Clients.Elasticsearch.Name name) : /// /// -/// Deletes a search application. +/// Delete a search application. +/// Remove a search application and its associated alias. Indices attached to the search application are not removed. /// /// public sealed partial class DeleteSearchApplicationRequestDescriptor : RequestDescriptor diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchApplication/GetBehavioralAnalyticsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchApplication/GetBehavioralAnalyticsRequest.g.cs index a4916064d61..313dbe3f12f 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchApplication/GetBehavioralAnalyticsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchApplication/GetBehavioralAnalyticsRequest.g.cs @@ -35,7 +35,7 @@ public sealed partial class GetBehavioralAnalyticsRequestParameters : RequestPar /// /// -/// Returns the existing behavioral analytics collections. +/// Get behavioral analytics collections. /// /// public sealed partial class GetBehavioralAnalyticsRequest : PlainRequest @@ -59,7 +59,7 @@ public GetBehavioralAnalyticsRequest(IReadOnlyCollection /// -/// Returns the existing behavioral analytics collections. +/// Get behavioral analytics collections. /// /// public sealed partial class GetBehavioralAnalyticsRequestDescriptor : RequestDescriptor diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchApplication/GetSearchApplicationRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchApplication/GetSearchApplicationRequest.g.cs index aa25bd1fe0d..28c41602d1f 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchApplication/GetSearchApplicationRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchApplication/GetSearchApplicationRequest.g.cs @@ -35,7 +35,7 @@ public sealed partial class GetSearchApplicationRequestParameters : RequestParam /// /// -/// Returns the details about a search application +/// Get search application details. /// /// public sealed partial class GetSearchApplicationRequest : PlainRequest @@ -55,7 +55,7 @@ public GetSearchApplicationRequest(Elastic.Clients.Elasticsearch.Name name) : ba /// /// -/// Returns the details about a search application +/// Get search application details. /// /// public sealed partial class GetSearchApplicationRequestDescriptor : RequestDescriptor diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchApplication/PutBehavioralAnalyticsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchApplication/PutBehavioralAnalyticsRequest.g.cs index 32f48d14234..185a22a7f3f 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchApplication/PutBehavioralAnalyticsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchApplication/PutBehavioralAnalyticsRequest.g.cs @@ -35,7 +35,7 @@ public sealed partial class PutBehavioralAnalyticsRequestParameters : RequestPar /// /// -/// Creates a behavioral analytics collection. +/// Create a behavioral analytics collection. /// /// public sealed partial class PutBehavioralAnalyticsRequest : PlainRequest @@ -55,7 +55,7 @@ public PutBehavioralAnalyticsRequest(Elastic.Clients.Elasticsearch.Name name) : /// /// -/// Creates a behavioral analytics collection. +/// Create a behavioral analytics collection. /// /// public sealed partial class PutBehavioralAnalyticsRequestDescriptor : RequestDescriptor diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchApplication/PutSearchApplicationRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchApplication/PutSearchApplicationRequest.g.cs index 44d43d407b8..743674f4b71 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchApplication/PutSearchApplicationRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchApplication/PutSearchApplicationRequest.g.cs @@ -41,7 +41,7 @@ public sealed partial class PutSearchApplicationRequestParameters : RequestParam /// /// -/// Creates or updates a search application. +/// Create or update a search application. /// /// public sealed partial class PutSearchApplicationRequest : PlainRequest, ISelfSerializable @@ -76,7 +76,7 @@ void ISelfSerializable.Serialize(Utf8JsonWriter writer, JsonSerializerOptions op /// /// -/// Creates or updates a search application. +/// Create or update a search application. /// /// public sealed partial class PutSearchApplicationRequestDescriptor : RequestDescriptor diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchApplication/SearchApplicationSearchRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchApplication/SearchApplicationSearchRequest.g.cs index 239437b7290..28a5738d283 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchApplication/SearchApplicationSearchRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchApplication/SearchApplicationSearchRequest.g.cs @@ -41,7 +41,9 @@ public sealed partial class SearchApplicationSearchRequestParameters : RequestPa /// /// -/// Perform a search against a search application. +/// Run a search application search. +/// Generate and run an Elasticsearch query that uses the specified query parameteter and the search template associated with the search application or default template. +/// Unspecified template parameters are assigned their default values if applicable. /// /// public sealed partial class SearchApplicationSearchRequest : PlainRequest @@ -77,7 +79,9 @@ public SearchApplicationSearchRequest(Elastic.Clients.Elasticsearch.Name name) : /// /// -/// Perform a search against a search application. +/// Run a search application search. +/// Generate and run an Elasticsearch query that uses the specified query parameteter and the search template associated with the search application or default template. +/// Unspecified template parameters are assigned their default values if applicable. /// /// public sealed partial class SearchApplicationSearchRequestDescriptor : RequestDescriptor diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchShardsResponse.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchShardsResponse.g.cs index ef95b045455..2914a6a88f7 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchShardsResponse.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchShardsResponse.g.cs @@ -32,7 +32,7 @@ public sealed partial class SearchShardsResponse : ElasticsearchResponse [ReadOnlyIndexNameDictionaryConverter(typeof(Elastic.Clients.Elasticsearch.Core.SearchShards.ShardStoreIndex))] public IReadOnlyDictionary Indices { get; init; } [JsonInclude, JsonPropertyName("nodes")] - public IReadOnlyDictionary Nodes { get; init; } + public IReadOnlyDictionary Nodes { get; init; } [JsonInclude, JsonPropertyName("shards")] public IReadOnlyCollection> Shards { get; init; } } \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/PutRoleRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/PutRoleRequest.g.cs index ac3f5420753..d16082dbc34 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/PutRoleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/PutRoleRequest.g.cs @@ -115,6 +115,14 @@ public PutRoleRequest(Elastic.Clients.Elasticsearch.Name name) : base(r => r.Req [JsonInclude, JsonPropertyName("metadata")] public IDictionary? Metadata { get; set; } + /// + /// + /// A list of remote indices permissions entries. + /// + /// + [JsonInclude, JsonPropertyName("remote_indices")] + public ICollection? RemoteIndices { get; set; } + /// /// /// A list of users that the owners of this role can impersonate. Note: in Serverless, the run-as feature is disabled. For API compatibility, you can still specify an empty run_as field, but a non-empty list will be rejected. @@ -174,6 +182,10 @@ public PutRoleRequestDescriptor Name(Elastic.Clients.Elasticsearch.Na private Action> IndicesDescriptorAction { get; set; } private Action>[] IndicesDescriptorActions { get; set; } private IDictionary? MetadataValue { get; set; } + private ICollection? RemoteIndicesValue { get; set; } + private Elastic.Clients.Elasticsearch.Security.RemoteIndicesPrivilegesDescriptor RemoteIndicesDescriptor { get; set; } + private Action> RemoteIndicesDescriptorAction { get; set; } + private Action>[] RemoteIndicesDescriptorActions { get; set; } private ICollection? RunAsValue { get; set; } private IDictionary? TransientMetadataValue { get; set; } @@ -303,6 +315,47 @@ public PutRoleRequestDescriptor Metadata(Func + /// + /// A list of remote indices permissions entries. + /// + /// + public PutRoleRequestDescriptor RemoteIndices(ICollection? remoteIndices) + { + RemoteIndicesDescriptor = null; + RemoteIndicesDescriptorAction = null; + RemoteIndicesDescriptorActions = null; + RemoteIndicesValue = remoteIndices; + return Self; + } + + public PutRoleRequestDescriptor RemoteIndices(Elastic.Clients.Elasticsearch.Security.RemoteIndicesPrivilegesDescriptor descriptor) + { + RemoteIndicesValue = null; + RemoteIndicesDescriptorAction = null; + RemoteIndicesDescriptorActions = null; + RemoteIndicesDescriptor = descriptor; + return Self; + } + + public PutRoleRequestDescriptor RemoteIndices(Action> configure) + { + RemoteIndicesValue = null; + RemoteIndicesDescriptor = null; + RemoteIndicesDescriptorActions = null; + RemoteIndicesDescriptorAction = configure; + return Self; + } + + public PutRoleRequestDescriptor RemoteIndices(params Action>[] configure) + { + RemoteIndicesValue = null; + RemoteIndicesDescriptor = null; + RemoteIndicesDescriptorAction = null; + RemoteIndicesDescriptorActions = configure; + return Self; + } + /// /// /// A list of users that the owners of this role can impersonate. Note: in Serverless, the run-as feature is disabled. For API compatibility, you can still specify an empty run_as field, but a non-empty list will be rejected. @@ -414,6 +467,37 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o JsonSerializer.Serialize(writer, MetadataValue, options); } + if (RemoteIndicesDescriptor is not null) + { + writer.WritePropertyName("remote_indices"); + writer.WriteStartArray(); + JsonSerializer.Serialize(writer, RemoteIndicesDescriptor, options); + writer.WriteEndArray(); + } + else if (RemoteIndicesDescriptorAction is not null) + { + writer.WritePropertyName("remote_indices"); + writer.WriteStartArray(); + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.Security.RemoteIndicesPrivilegesDescriptor(RemoteIndicesDescriptorAction), options); + writer.WriteEndArray(); + } + else if (RemoteIndicesDescriptorActions is not null) + { + writer.WritePropertyName("remote_indices"); + writer.WriteStartArray(); + foreach (var action in RemoteIndicesDescriptorActions) + { + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.Security.RemoteIndicesPrivilegesDescriptor(action), options); + } + + writer.WriteEndArray(); + } + else if (RemoteIndicesValue is not null) + { + writer.WritePropertyName("remote_indices"); + JsonSerializer.Serialize(writer, RemoteIndicesValue, options); + } + if (RunAsValue is not null) { writer.WritePropertyName("run_as"); @@ -472,6 +556,10 @@ public PutRoleRequestDescriptor Name(Elastic.Clients.Elasticsearch.Name name) private Action IndicesDescriptorAction { get; set; } private Action[] IndicesDescriptorActions { get; set; } private IDictionary? MetadataValue { get; set; } + private ICollection? RemoteIndicesValue { get; set; } + private Elastic.Clients.Elasticsearch.Security.RemoteIndicesPrivilegesDescriptor RemoteIndicesDescriptor { get; set; } + private Action RemoteIndicesDescriptorAction { get; set; } + private Action[] RemoteIndicesDescriptorActions { get; set; } private ICollection? RunAsValue { get; set; } private IDictionary? TransientMetadataValue { get; set; } @@ -601,6 +689,47 @@ public PutRoleRequestDescriptor Metadata(Func, return Self; } + /// + /// + /// A list of remote indices permissions entries. + /// + /// + public PutRoleRequestDescriptor RemoteIndices(ICollection? remoteIndices) + { + RemoteIndicesDescriptor = null; + RemoteIndicesDescriptorAction = null; + RemoteIndicesDescriptorActions = null; + RemoteIndicesValue = remoteIndices; + return Self; + } + + public PutRoleRequestDescriptor RemoteIndices(Elastic.Clients.Elasticsearch.Security.RemoteIndicesPrivilegesDescriptor descriptor) + { + RemoteIndicesValue = null; + RemoteIndicesDescriptorAction = null; + RemoteIndicesDescriptorActions = null; + RemoteIndicesDescriptor = descriptor; + return Self; + } + + public PutRoleRequestDescriptor RemoteIndices(Action configure) + { + RemoteIndicesValue = null; + RemoteIndicesDescriptor = null; + RemoteIndicesDescriptorActions = null; + RemoteIndicesDescriptorAction = configure; + return Self; + } + + public PutRoleRequestDescriptor RemoteIndices(params Action[] configure) + { + RemoteIndicesValue = null; + RemoteIndicesDescriptor = null; + RemoteIndicesDescriptorAction = null; + RemoteIndicesDescriptorActions = configure; + return Self; + } + /// /// /// A list of users that the owners of this role can impersonate. Note: in Serverless, the run-as feature is disabled. For API compatibility, you can still specify an empty run_as field, but a non-empty list will be rejected. @@ -712,6 +841,37 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o JsonSerializer.Serialize(writer, MetadataValue, options); } + if (RemoteIndicesDescriptor is not null) + { + writer.WritePropertyName("remote_indices"); + writer.WriteStartArray(); + JsonSerializer.Serialize(writer, RemoteIndicesDescriptor, options); + writer.WriteEndArray(); + } + else if (RemoteIndicesDescriptorAction is not null) + { + writer.WritePropertyName("remote_indices"); + writer.WriteStartArray(); + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.Security.RemoteIndicesPrivilegesDescriptor(RemoteIndicesDescriptorAction), options); + writer.WriteEndArray(); + } + else if (RemoteIndicesDescriptorActions is not null) + { + writer.WritePropertyName("remote_indices"); + writer.WriteStartArray(); + foreach (var action in RemoteIndicesDescriptorActions) + { + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.Security.RemoteIndicesPrivilegesDescriptor(action), options); + } + + writer.WriteEndArray(); + } + else if (RemoteIndicesValue is not null) + { + writer.WritePropertyName("remote_indices"); + JsonSerializer.Serialize(writer, RemoteIndicesValue, options); + } + if (RunAsValue is not null) { writer.WritePropertyName("run_as"); diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Sql/QueryRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Sql/QueryRequest.g.cs index 3b9898c96f6..7da01d16fc0 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Sql/QueryRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Sql/QueryRequest.g.cs @@ -36,7 +36,7 @@ public sealed partial class QueryRequestParameters : RequestParameters /// Format for the response. /// /// - public string? Format { get => Q("format"); set => Q("format", value); } + public Elastic.Clients.Elasticsearch.Sql.SqlFormat? Format { get => Q("format"); set => Q("format", value); } } /// @@ -60,7 +60,7 @@ public sealed partial class QueryRequest : PlainRequest /// /// [JsonIgnore] - public string? Format { get => Q("format"); set => Q("format", value); } + public Elastic.Clients.Elasticsearch.Sql.SqlFormat? Format { get => Q("format"); set => Q("format", value); } /// /// @@ -215,7 +215,7 @@ public QueryRequestDescriptor() internal override string OperationName => "sql.query"; - public QueryRequestDescriptor Format(string? format) => Qs("format", format); + public QueryRequestDescriptor Format(Elastic.Clients.Elasticsearch.Sql.SqlFormat? format) => Qs("format", format); private string? CatalogValue { get; set; } private bool? ColumnarValue { get; set; } @@ -567,7 +567,7 @@ public QueryRequestDescriptor() internal override string OperationName => "sql.query"; - public QueryRequestDescriptor Format(string? format) => Qs("format", format); + public QueryRequestDescriptor Format(Elastic.Clients.Elasticsearch.Sql.SqlFormat? format) => Qs("format", format); private string? CatalogValue { get; set; } private bool? ColumnarValue { get; set; } diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Xpack/XpackInfoRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Xpack/XpackInfoRequest.g.cs index 651d7111d85..5bb229233bb 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Xpack/XpackInfoRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Xpack/XpackInfoRequest.g.cs @@ -43,7 +43,7 @@ public sealed partial class XpackInfoRequestParameters : RequestParameters /// A comma-separated list of the information categories to include in the response. For example, build,license,features. /// /// - public ICollection? Categories { get => Q?>("categories"); set => Q("categories", value); } + public ICollection? Categories { get => Q?>("categories"); set => Q("categories", value); } } /// @@ -75,7 +75,7 @@ public sealed partial class XpackInfoRequest : PlainRequest /// [JsonIgnore] - public ICollection? Categories { get => Q?>("categories"); set => Q("categories", value); } + public ICollection? Categories { get => Q?>("categories"); set => Q("categories", value); } } /// @@ -100,7 +100,7 @@ public XpackInfoRequestDescriptor() internal override string OperationName => "xpack.info"; public XpackInfoRequestDescriptor AcceptEnterprise(bool? acceptEnterprise = true) => Qs("accept_enterprise", acceptEnterprise); - public XpackInfoRequestDescriptor Categories(ICollection? categories) => Qs("categories", categories); + public XpackInfoRequestDescriptor Categories(ICollection? categories) => Qs("categories", categories); protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) { diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.Ingest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.Ingest.g.cs index d150269be2c..c9102687c74 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.Ingest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.Ingest.g.cs @@ -43,7 +43,7 @@ internal IngestNamespacedClient(ElasticsearchClient client) : base(client) /// /// Deletes a geoip database configuration. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual DeleteGeoipDatabaseResponse DeleteGeoipDatabase(DeleteGeoipDatabaseRequest request) @@ -56,7 +56,7 @@ public virtual DeleteGeoipDatabaseResponse DeleteGeoipDatabase(DeleteGeoipDataba /// /// Deletes a geoip database configuration. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteGeoipDatabaseAsync(DeleteGeoipDatabaseRequest request, CancellationToken cancellationToken = default) { @@ -68,7 +68,7 @@ public virtual Task DeleteGeoipDatabaseAsync(Delete /// /// Deletes a geoip database configuration. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual DeleteGeoipDatabaseResponse DeleteGeoipDatabase(DeleteGeoipDatabaseRequestDescriptor descriptor) @@ -81,7 +81,7 @@ public virtual DeleteGeoipDatabaseResponse DeleteGeoipDatabase(Delete /// /// Deletes a geoip database configuration. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual DeleteGeoipDatabaseResponse DeleteGeoipDatabase(Elastic.Clients.Elasticsearch.Ids id) @@ -95,7 +95,7 @@ public virtual DeleteGeoipDatabaseResponse DeleteGeoipDatabase(Elasti /// /// Deletes a geoip database configuration. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual DeleteGeoipDatabaseResponse DeleteGeoipDatabase(Elastic.Clients.Elasticsearch.Ids id, Action> configureRequest) @@ -110,7 +110,7 @@ public virtual DeleteGeoipDatabaseResponse DeleteGeoipDatabase(Elasti /// /// Deletes a geoip database configuration. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual DeleteGeoipDatabaseResponse DeleteGeoipDatabase(DeleteGeoipDatabaseRequestDescriptor descriptor) @@ -123,7 +123,7 @@ public virtual DeleteGeoipDatabaseResponse DeleteGeoipDatabase(DeleteGeoipDataba /// /// Deletes a geoip database configuration. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual DeleteGeoipDatabaseResponse DeleteGeoipDatabase(Elastic.Clients.Elasticsearch.Ids id) @@ -137,7 +137,7 @@ public virtual DeleteGeoipDatabaseResponse DeleteGeoipDatabase(Elastic.Clients.E /// /// Deletes a geoip database configuration. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual DeleteGeoipDatabaseResponse DeleteGeoipDatabase(Elastic.Clients.Elasticsearch.Ids id, Action configureRequest) @@ -152,7 +152,7 @@ public virtual DeleteGeoipDatabaseResponse DeleteGeoipDatabase(Elastic.Clients.E /// /// Deletes a geoip database configuration. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteGeoipDatabaseAsync(DeleteGeoipDatabaseRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -164,7 +164,7 @@ public virtual Task DeleteGeoipDatabaseAsync /// Deletes a geoip database configuration. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteGeoipDatabaseAsync(Elastic.Clients.Elasticsearch.Ids id, CancellationToken cancellationToken = default) { @@ -177,7 +177,7 @@ public virtual Task DeleteGeoipDatabaseAsync /// Deletes a geoip database configuration. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteGeoipDatabaseAsync(Elastic.Clients.Elasticsearch.Ids id, Action> configureRequest, CancellationToken cancellationToken = default) { @@ -191,7 +191,7 @@ public virtual Task DeleteGeoipDatabaseAsync /// Deletes a geoip database configuration. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteGeoipDatabaseAsync(DeleteGeoipDatabaseRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -203,7 +203,7 @@ public virtual Task DeleteGeoipDatabaseAsync(Delete /// /// Deletes a geoip database configuration. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteGeoipDatabaseAsync(Elastic.Clients.Elasticsearch.Ids id, CancellationToken cancellationToken = default) { @@ -216,7 +216,7 @@ public virtual Task DeleteGeoipDatabaseAsync(Elasti /// /// Deletes a geoip database configuration. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteGeoipDatabaseAsync(Elastic.Clients.Elasticsearch.Ids id, Action configureRequest, CancellationToken cancellationToken = default) { @@ -523,7 +523,7 @@ public virtual Task GeoIpStatsAsync(Action /// Returns information about one or more geoip database configurations. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual GetGeoipDatabaseResponse GetGeoipDatabase(GetGeoipDatabaseRequest request) @@ -536,7 +536,7 @@ public virtual GetGeoipDatabaseResponse GetGeoipDatabase(GetGeoipDatabaseRequest /// /// Returns information about one or more geoip database configurations. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task GetGeoipDatabaseAsync(GetGeoipDatabaseRequest request, CancellationToken cancellationToken = default) { @@ -548,7 +548,7 @@ public virtual Task GetGeoipDatabaseAsync(GetGeoipData /// /// Returns information about one or more geoip database configurations. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual GetGeoipDatabaseResponse GetGeoipDatabase(GetGeoipDatabaseRequestDescriptor descriptor) @@ -561,7 +561,7 @@ public virtual GetGeoipDatabaseResponse GetGeoipDatabase(GetGeoipData /// /// Returns information about one or more geoip database configurations. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual GetGeoipDatabaseResponse GetGeoipDatabase(Elastic.Clients.Elasticsearch.Ids? id) @@ -575,7 +575,7 @@ public virtual GetGeoipDatabaseResponse GetGeoipDatabase(Elastic.Clie /// /// Returns information about one or more geoip database configurations. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual GetGeoipDatabaseResponse GetGeoipDatabase(Elastic.Clients.Elasticsearch.Ids? id, Action> configureRequest) @@ -590,7 +590,7 @@ public virtual GetGeoipDatabaseResponse GetGeoipDatabase(Elastic.Clie /// /// Returns information about one or more geoip database configurations. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual GetGeoipDatabaseResponse GetGeoipDatabase() @@ -604,7 +604,7 @@ public virtual GetGeoipDatabaseResponse GetGeoipDatabase() /// /// Returns information about one or more geoip database configurations. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual GetGeoipDatabaseResponse GetGeoipDatabase(Action> configureRequest) @@ -619,7 +619,7 @@ public virtual GetGeoipDatabaseResponse GetGeoipDatabase(Action /// Returns information about one or more geoip database configurations. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual GetGeoipDatabaseResponse GetGeoipDatabase(GetGeoipDatabaseRequestDescriptor descriptor) @@ -632,7 +632,7 @@ public virtual GetGeoipDatabaseResponse GetGeoipDatabase(GetGeoipDatabaseRequest /// /// Returns information about one or more geoip database configurations. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual GetGeoipDatabaseResponse GetGeoipDatabase(Elastic.Clients.Elasticsearch.Ids? id) @@ -646,7 +646,7 @@ public virtual GetGeoipDatabaseResponse GetGeoipDatabase(Elastic.Clients.Elastic /// /// Returns information about one or more geoip database configurations. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual GetGeoipDatabaseResponse GetGeoipDatabase(Elastic.Clients.Elasticsearch.Ids? id, Action configureRequest) @@ -661,7 +661,7 @@ public virtual GetGeoipDatabaseResponse GetGeoipDatabase(Elastic.Clients.Elastic /// /// Returns information about one or more geoip database configurations. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual GetGeoipDatabaseResponse GetGeoipDatabase() @@ -675,7 +675,7 @@ public virtual GetGeoipDatabaseResponse GetGeoipDatabase() /// /// Returns information about one or more geoip database configurations. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual GetGeoipDatabaseResponse GetGeoipDatabase(Action configureRequest) @@ -690,7 +690,7 @@ public virtual GetGeoipDatabaseResponse GetGeoipDatabase(Action /// Returns information about one or more geoip database configurations. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task GetGeoipDatabaseAsync(GetGeoipDatabaseRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -702,7 +702,7 @@ public virtual Task GetGeoipDatabaseAsync(G /// /// Returns information about one or more geoip database configurations. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task GetGeoipDatabaseAsync(Elastic.Clients.Elasticsearch.Ids? id, CancellationToken cancellationToken = default) { @@ -715,7 +715,7 @@ public virtual Task GetGeoipDatabaseAsync(E /// /// Returns information about one or more geoip database configurations. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task GetGeoipDatabaseAsync(Elastic.Clients.Elasticsearch.Ids? id, Action> configureRequest, CancellationToken cancellationToken = default) { @@ -729,7 +729,7 @@ public virtual Task GetGeoipDatabaseAsync(E /// /// Returns information about one or more geoip database configurations. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task GetGeoipDatabaseAsync(CancellationToken cancellationToken = default) { @@ -742,7 +742,7 @@ public virtual Task GetGeoipDatabaseAsync(C /// /// Returns information about one or more geoip database configurations. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task GetGeoipDatabaseAsync(Action> configureRequest, CancellationToken cancellationToken = default) { @@ -756,7 +756,7 @@ public virtual Task GetGeoipDatabaseAsync(A /// /// Returns information about one or more geoip database configurations. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task GetGeoipDatabaseAsync(GetGeoipDatabaseRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -768,7 +768,7 @@ public virtual Task GetGeoipDatabaseAsync(GetGeoipData /// /// Returns information about one or more geoip database configurations. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task GetGeoipDatabaseAsync(Elastic.Clients.Elasticsearch.Ids? id, CancellationToken cancellationToken = default) { @@ -781,7 +781,7 @@ public virtual Task GetGeoipDatabaseAsync(Elastic.Clie /// /// Returns information about one or more geoip database configurations. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task GetGeoipDatabaseAsync(Elastic.Clients.Elasticsearch.Ids? id, Action configureRequest, CancellationToken cancellationToken = default) { @@ -795,7 +795,7 @@ public virtual Task GetGeoipDatabaseAsync(Elastic.Clie /// /// Returns information about one or more geoip database configurations. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task GetGeoipDatabaseAsync(CancellationToken cancellationToken = default) { @@ -808,7 +808,7 @@ public virtual Task GetGeoipDatabaseAsync(Cancellation /// /// Returns information about one or more geoip database configurations. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task GetGeoipDatabaseAsync(Action configureRequest, CancellationToken cancellationToken = default) { @@ -1265,7 +1265,7 @@ public virtual Task ProcessorGrokAsync(Action /// Returns information about one or more geoip database configurations. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual PutGeoipDatabaseResponse PutGeoipDatabase(PutGeoipDatabaseRequest request) @@ -1278,7 +1278,7 @@ public virtual PutGeoipDatabaseResponse PutGeoipDatabase(PutGeoipDatabaseRequest /// /// Returns information about one or more geoip database configurations. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PutGeoipDatabaseAsync(PutGeoipDatabaseRequest request, CancellationToken cancellationToken = default) { @@ -1290,7 +1290,7 @@ public virtual Task PutGeoipDatabaseAsync(PutGeoipData /// /// Returns information about one or more geoip database configurations. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual PutGeoipDatabaseResponse PutGeoipDatabase(PutGeoipDatabaseRequestDescriptor descriptor) @@ -1303,7 +1303,7 @@ public virtual PutGeoipDatabaseResponse PutGeoipDatabase(PutGeoipData /// /// Returns information about one or more geoip database configurations. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual PutGeoipDatabaseResponse PutGeoipDatabase(Elastic.Clients.Elasticsearch.Id id) @@ -1317,7 +1317,7 @@ public virtual PutGeoipDatabaseResponse PutGeoipDatabase(Elastic.Clie /// /// Returns information about one or more geoip database configurations. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual PutGeoipDatabaseResponse PutGeoipDatabase(Elastic.Clients.Elasticsearch.Id id, Action> configureRequest) @@ -1332,7 +1332,7 @@ public virtual PutGeoipDatabaseResponse PutGeoipDatabase(Elastic.Clie /// /// Returns information about one or more geoip database configurations. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual PutGeoipDatabaseResponse PutGeoipDatabase(PutGeoipDatabaseRequestDescriptor descriptor) @@ -1345,7 +1345,7 @@ public virtual PutGeoipDatabaseResponse PutGeoipDatabase(PutGeoipDatabaseRequest /// /// Returns information about one or more geoip database configurations. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual PutGeoipDatabaseResponse PutGeoipDatabase(Elastic.Clients.Elasticsearch.Id id) @@ -1359,7 +1359,7 @@ public virtual PutGeoipDatabaseResponse PutGeoipDatabase(Elastic.Clients.Elastic /// /// Returns information about one or more geoip database configurations. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual PutGeoipDatabaseResponse PutGeoipDatabase(Elastic.Clients.Elasticsearch.Id id, Action configureRequest) @@ -1374,7 +1374,7 @@ public virtual PutGeoipDatabaseResponse PutGeoipDatabase(Elastic.Clients.Elastic /// /// Returns information about one or more geoip database configurations. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PutGeoipDatabaseAsync(PutGeoipDatabaseRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -1386,7 +1386,7 @@ public virtual Task PutGeoipDatabaseAsync(P /// /// Returns information about one or more geoip database configurations. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PutGeoipDatabaseAsync(Elastic.Clients.Elasticsearch.Id id, CancellationToken cancellationToken = default) { @@ -1399,7 +1399,7 @@ public virtual Task PutGeoipDatabaseAsync(E /// /// Returns information about one or more geoip database configurations. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PutGeoipDatabaseAsync(Elastic.Clients.Elasticsearch.Id id, Action> configureRequest, CancellationToken cancellationToken = default) { @@ -1413,7 +1413,7 @@ public virtual Task PutGeoipDatabaseAsync(E /// /// Returns information about one or more geoip database configurations. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PutGeoipDatabaseAsync(PutGeoipDatabaseRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -1425,7 +1425,7 @@ public virtual Task PutGeoipDatabaseAsync(PutGeoipData /// /// Returns information about one or more geoip database configurations. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PutGeoipDatabaseAsync(Elastic.Clients.Elasticsearch.Id id, CancellationToken cancellationToken = default) { @@ -1438,7 +1438,7 @@ public virtual Task PutGeoipDatabaseAsync(Elastic.Clie /// /// Returns information about one or more geoip database configurations. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PutGeoipDatabaseAsync(Elastic.Clients.Elasticsearch.Id id, Action configureRequest, CancellationToken cancellationToken = default) { diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.SearchApplication.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.SearchApplication.g.cs index 559e5cdd430..fc2498eaccd 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.SearchApplication.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.SearchApplication.g.cs @@ -41,7 +41,8 @@ internal SearchApplicationNamespacedClient(ElasticsearchClient client) : base(cl /// /// - /// Deletes a search application. + /// Delete a search application. + /// Remove a search application and its associated alias. Indices attached to the search application are not removed. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -54,7 +55,8 @@ public virtual DeleteSearchApplicationResponse Delete(DeleteSearchApplicationReq /// /// - /// Deletes a search application. + /// Delete a search application. + /// Remove a search application and its associated alias. Indices attached to the search application are not removed. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -66,7 +68,8 @@ public virtual Task DeleteAsync(DeleteSearchApp /// /// - /// Deletes a search application. + /// Delete a search application. + /// Remove a search application and its associated alias. Indices attached to the search application are not removed. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -79,7 +82,8 @@ public virtual DeleteSearchApplicationResponse Delete(DeleteSearchApplicationReq /// /// - /// Deletes a search application. + /// Delete a search application. + /// Remove a search application and its associated alias. Indices attached to the search application are not removed. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -93,7 +97,8 @@ public virtual DeleteSearchApplicationResponse Delete(Elastic.Clients.Elasticsea /// /// - /// Deletes a search application. + /// Delete a search application. + /// Remove a search application and its associated alias. Indices attached to the search application are not removed. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -108,7 +113,8 @@ public virtual DeleteSearchApplicationResponse Delete(Elastic.Clients.Elasticsea /// /// - /// Deletes a search application. + /// Delete a search application. + /// Remove a search application and its associated alias. Indices attached to the search application are not removed. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -120,7 +126,8 @@ public virtual Task DeleteAsync(DeleteSearchApp /// /// - /// Deletes a search application. + /// Delete a search application. + /// Remove a search application and its associated alias. Indices attached to the search application are not removed. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -133,7 +140,8 @@ public virtual Task DeleteAsync(Elastic.Clients /// /// - /// Deletes a search application. + /// Delete a search application. + /// Remove a search application and its associated alias. Indices attached to the search application are not removed. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -148,6 +156,7 @@ public virtual Task DeleteAsync(Elastic.Clients /// /// /// Delete a behavioral analytics collection. + /// The associated data stream is also deleted. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -161,6 +170,7 @@ public virtual DeleteBehavioralAnalyticsResponse DeleteBehavioralAnalytics(Delet /// /// /// Delete a behavioral analytics collection. + /// The associated data stream is also deleted. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -173,6 +183,7 @@ public virtual Task DeleteBehavioralAnalytics /// /// /// Delete a behavioral analytics collection. + /// The associated data stream is also deleted. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -186,6 +197,7 @@ public virtual DeleteBehavioralAnalyticsResponse DeleteBehavioralAnalytics(Delet /// /// /// Delete a behavioral analytics collection. + /// The associated data stream is also deleted. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -200,6 +212,7 @@ public virtual DeleteBehavioralAnalyticsResponse DeleteBehavioralAnalytics(Elast /// /// /// Delete a behavioral analytics collection. + /// The associated data stream is also deleted. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -215,6 +228,7 @@ public virtual DeleteBehavioralAnalyticsResponse DeleteBehavioralAnalytics(Elast /// /// /// Delete a behavioral analytics collection. + /// The associated data stream is also deleted. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -227,6 +241,7 @@ public virtual Task DeleteBehavioralAnalytics /// /// /// Delete a behavioral analytics collection. + /// The associated data stream is also deleted. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -240,6 +255,7 @@ public virtual Task DeleteBehavioralAnalytics /// /// /// Delete a behavioral analytics collection. + /// The associated data stream is also deleted. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -253,7 +269,7 @@ public virtual Task DeleteBehavioralAnalytics /// /// - /// Returns the details about a search application + /// Get search application details. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -266,7 +282,7 @@ public virtual GetSearchApplicationResponse Get(GetSearchApplicationRequest requ /// /// - /// Returns the details about a search application + /// Get search application details. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -278,7 +294,7 @@ public virtual Task GetAsync(GetSearchApplicationR /// /// - /// Returns the details about a search application + /// Get search application details. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -291,7 +307,7 @@ public virtual GetSearchApplicationResponse Get(GetSearchApplicationRequestDescr /// /// - /// Returns the details about a search application + /// Get search application details. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -305,7 +321,7 @@ public virtual GetSearchApplicationResponse Get(Elastic.Clients.Elasticsearch.Na /// /// - /// Returns the details about a search application + /// Get search application details. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -320,7 +336,7 @@ public virtual GetSearchApplicationResponse Get(Elastic.Clients.Elasticsearch.Na /// /// - /// Returns the details about a search application + /// Get search application details. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -332,7 +348,7 @@ public virtual Task GetAsync(GetSearchApplicationR /// /// - /// Returns the details about a search application + /// Get search application details. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -345,7 +361,7 @@ public virtual Task GetAsync(Elastic.Clients.Elast /// /// - /// Returns the details about a search application + /// Get search application details. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -359,7 +375,7 @@ public virtual Task GetAsync(Elastic.Clients.Elast /// /// - /// Returns the existing behavioral analytics collections. + /// Get behavioral analytics collections. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -372,7 +388,7 @@ public virtual GetBehavioralAnalyticsResponse GetBehavioralAnalytics(GetBehavior /// /// - /// Returns the existing behavioral analytics collections. + /// Get behavioral analytics collections. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -384,7 +400,7 @@ public virtual Task GetBehavioralAnalyticsAsync( /// /// - /// Returns the existing behavioral analytics collections. + /// Get behavioral analytics collections. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -397,7 +413,7 @@ public virtual GetBehavioralAnalyticsResponse GetBehavioralAnalytics(GetBehavior /// /// - /// Returns the existing behavioral analytics collections. + /// Get behavioral analytics collections. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -411,7 +427,7 @@ public virtual GetBehavioralAnalyticsResponse GetBehavioralAnalytics(IReadOnlyCo /// /// - /// Returns the existing behavioral analytics collections. + /// Get behavioral analytics collections. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -426,7 +442,7 @@ public virtual GetBehavioralAnalyticsResponse GetBehavioralAnalytics(IReadOnlyCo /// /// - /// Returns the existing behavioral analytics collections. + /// Get behavioral analytics collections. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -440,7 +456,7 @@ public virtual GetBehavioralAnalyticsResponse GetBehavioralAnalytics() /// /// - /// Returns the existing behavioral analytics collections. + /// Get behavioral analytics collections. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -455,7 +471,7 @@ public virtual GetBehavioralAnalyticsResponse GetBehavioralAnalytics(Action /// - /// Returns the existing behavioral analytics collections. + /// Get behavioral analytics collections. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -467,7 +483,7 @@ public virtual Task GetBehavioralAnalyticsAsync( /// /// - /// Returns the existing behavioral analytics collections. + /// Get behavioral analytics collections. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -480,7 +496,7 @@ public virtual Task GetBehavioralAnalyticsAsync( /// /// - /// Returns the existing behavioral analytics collections. + /// Get behavioral analytics collections. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -494,7 +510,7 @@ public virtual Task GetBehavioralAnalyticsAsync( /// /// - /// Returns the existing behavioral analytics collections. + /// Get behavioral analytics collections. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -507,7 +523,7 @@ public virtual Task GetBehavioralAnalyticsAsync( /// /// - /// Returns the existing behavioral analytics collections. + /// Get behavioral analytics collections. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -627,7 +643,7 @@ public virtual Task ListAsync(Action config /// /// - /// Creates or updates a search application. + /// Create or update a search application. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -640,7 +656,7 @@ public virtual PutSearchApplicationResponse Put(PutSearchApplicationRequest requ /// /// - /// Creates or updates a search application. + /// Create or update a search application. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -652,7 +668,7 @@ public virtual Task PutAsync(PutSearchApplicationR /// /// - /// Creates or updates a search application. + /// Create or update a search application. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -665,7 +681,7 @@ public virtual PutSearchApplicationResponse Put(PutSearchApplicationRequestDescr /// /// - /// Creates or updates a search application. + /// Create or update a search application. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -679,7 +695,7 @@ public virtual PutSearchApplicationResponse Put(Elastic.Clients.Elasticsearch.Se /// /// - /// Creates or updates a search application. + /// Create or update a search application. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -694,7 +710,7 @@ public virtual PutSearchApplicationResponse Put(Elastic.Clients.Elasticsearch.Se /// /// - /// Creates or updates a search application. + /// Create or update a search application. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -706,7 +722,7 @@ public virtual Task PutAsync(PutSearchApplicationR /// /// - /// Creates or updates a search application. + /// Create or update a search application. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -719,7 +735,7 @@ public virtual Task PutAsync(Elastic.Clients.Elast /// /// - /// Creates or updates a search application. + /// Create or update a search application. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -733,7 +749,7 @@ public virtual Task PutAsync(Elastic.Clients.Elast /// /// - /// Creates a behavioral analytics collection. + /// Create a behavioral analytics collection. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -746,7 +762,7 @@ public virtual PutBehavioralAnalyticsResponse PutBehavioralAnalytics(PutBehavior /// /// - /// Creates a behavioral analytics collection. + /// Create a behavioral analytics collection. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -758,7 +774,7 @@ public virtual Task PutBehavioralAnalyticsAsync( /// /// - /// Creates a behavioral analytics collection. + /// Create a behavioral analytics collection. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -771,7 +787,7 @@ public virtual PutBehavioralAnalyticsResponse PutBehavioralAnalytics(PutBehavior /// /// - /// Creates a behavioral analytics collection. + /// Create a behavioral analytics collection. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -785,7 +801,7 @@ public virtual PutBehavioralAnalyticsResponse PutBehavioralAnalytics(Elastic.Cli /// /// - /// Creates a behavioral analytics collection. + /// Create a behavioral analytics collection. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -800,7 +816,7 @@ public virtual PutBehavioralAnalyticsResponse PutBehavioralAnalytics(Elastic.Cli /// /// - /// Creates a behavioral analytics collection. + /// Create a behavioral analytics collection. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -812,7 +828,7 @@ public virtual Task PutBehavioralAnalyticsAsync( /// /// - /// Creates a behavioral analytics collection. + /// Create a behavioral analytics collection. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -825,7 +841,7 @@ public virtual Task PutBehavioralAnalyticsAsync( /// /// - /// Creates a behavioral analytics collection. + /// Create a behavioral analytics collection. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -839,7 +855,9 @@ public virtual Task PutBehavioralAnalyticsAsync( /// /// - /// Perform a search against a search application. + /// Run a search application search. + /// Generate and run an Elasticsearch query that uses the specified query parameteter and the search template associated with the search application or default template. + /// Unspecified template parameters are assigned their default values if applicable. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -852,7 +870,9 @@ public virtual SearchApplicationSearchResponse Search(Sear /// /// - /// Perform a search against a search application. + /// Run a search application search. + /// Generate and run an Elasticsearch query that uses the specified query parameteter and the search template associated with the search application or default template. + /// Unspecified template parameters are assigned their default values if applicable. /// /// Learn more about this API in the Elasticsearch documentation. /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/AggregateDictionary.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/AggregateDictionary.g.cs index 890af04b65c..6198ae808d5 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/AggregateDictionary.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/AggregateDictionary.g.cs @@ -101,6 +101,7 @@ public AggregateDictionary(IReadOnlyDictionary backingDictio public Elastic.Clients.Elasticsearch.Aggregations.SumAggregate? GetSum(string key) => TryGet(key); public Elastic.Clients.Elasticsearch.Aggregations.TDigestPercentileRanksAggregate? GetTDigestPercentileRanks(string key) => TryGet(key); public Elastic.Clients.Elasticsearch.Aggregations.TDigestPercentilesAggregate? GetTDigestPercentiles(string key) => TryGet(key); + public Elastic.Clients.Elasticsearch.Aggregations.TimeSeriesAggregate? GetTimeSeries(string key) => TryGet(key); public Elastic.Clients.Elasticsearch.Aggregations.TopHitsAggregate? GetTopHits(string key) => TryGet(key); public Elastic.Clients.Elasticsearch.Aggregations.TopMetricsAggregate? GetTopMetrics(string key) => TryGet(key); public Elastic.Clients.Elasticsearch.Aggregations.TTestAggregate? GetTTest(string key) => TryGet(key); @@ -559,6 +560,13 @@ public static void ReadItem(ref Utf8JsonReader reader, JsonSerializerOptions opt break; } + case "time_series": + { + var item = JsonSerializer.Deserialize(ref reader, options); + dictionary.Add(nameParts[1], item); + break; + } + case "top_hits": { var item = JsonSerializer.Deserialize(ref reader, options); diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/Aggregation.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/Aggregation.g.cs index e6aae808b89..3ce7c7ac1d7 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/Aggregation.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/Aggregation.g.cs @@ -100,6 +100,7 @@ internal Aggregation(string variantName, object variant) public static Aggregation PercentileRanks(Elastic.Clients.Elasticsearch.Aggregations.PercentileRanksAggregation percentileRanksAggregation) => new Aggregation("percentile_ranks", percentileRanksAggregation); public static Aggregation Percentiles(Elastic.Clients.Elasticsearch.Aggregations.PercentilesAggregation percentilesAggregation) => new Aggregation("percentiles", percentilesAggregation); public static Aggregation PercentilesBucket(Elastic.Clients.Elasticsearch.Aggregations.PercentilesBucketAggregation percentilesBucketAggregation) => new Aggregation("percentiles_bucket", percentilesBucketAggregation); + public static Aggregation RandomSampler(Elastic.Clients.Elasticsearch.Aggregations.RandomSamplerAggregation randomSamplerAggregation) => new Aggregation("random_sampler", randomSamplerAggregation); public static Aggregation Range(Elastic.Clients.Elasticsearch.Aggregations.RangeAggregation rangeAggregation) => new Aggregation("range", rangeAggregation); public static Aggregation RareTerms(Elastic.Clients.Elasticsearch.Aggregations.RareTermsAggregation rareTermsAggregation) => new Aggregation("rare_terms", rareTermsAggregation); public static Aggregation Rate(Elastic.Clients.Elasticsearch.Aggregations.RateAggregation rateAggregation) => new Aggregation("rate", rateAggregation); @@ -115,6 +116,7 @@ internal Aggregation(string variantName, object variant) public static Aggregation Sum(Elastic.Clients.Elasticsearch.Aggregations.SumAggregation sumAggregation) => new Aggregation("sum", sumAggregation); public static Aggregation SumBucket(Elastic.Clients.Elasticsearch.Aggregations.SumBucketAggregation sumBucketAggregation) => new Aggregation("sum_bucket", sumBucketAggregation); public static Aggregation Terms(Elastic.Clients.Elasticsearch.Aggregations.TermsAggregation termsAggregation) => new Aggregation("terms", termsAggregation); + public static Aggregation TimeSeries(Elastic.Clients.Elasticsearch.Aggregations.TimeSeriesAggregation timeSeriesAggregation) => new Aggregation("time_series", timeSeriesAggregation); public static Aggregation TopHits(Elastic.Clients.Elasticsearch.Aggregations.TopHitsAggregation topHitsAggregation) => new Aggregation("top_hits", topHitsAggregation); public static Aggregation TopMetrics(Elastic.Clients.Elasticsearch.Aggregations.TopMetricsAggregation topMetricsAggregation) => new Aggregation("top_metrics", topMetricsAggregation); public static Aggregation TTest(Elastic.Clients.Elasticsearch.Aggregations.TTestAggregation tTestAggregation) => new Aggregation("t_test", tTestAggregation); @@ -563,6 +565,13 @@ public override Aggregation Read(ref Utf8JsonReader reader, Type typeToConvert, continue; } + if (propertyName == "random_sampler") + { + variantValue = JsonSerializer.Deserialize(ref reader, options); + variantNameValue = propertyName; + continue; + } + if (propertyName == "range") { variantValue = JsonSerializer.Deserialize(ref reader, options); @@ -668,6 +677,13 @@ public override Aggregation Read(ref Utf8JsonReader reader, Type typeToConvert, continue; } + if (propertyName == "time_series") + { + variantValue = JsonSerializer.Deserialize(ref reader, options); + variantNameValue = propertyName; + continue; + } + if (propertyName == "top_hits") { variantValue = JsonSerializer.Deserialize(ref reader, options); @@ -901,6 +917,9 @@ public override void Write(Utf8JsonWriter writer, Aggregation value, JsonSeriali case "percentiles_bucket": JsonSerializer.Serialize(writer, (Elastic.Clients.Elasticsearch.Aggregations.PercentilesBucketAggregation)value.Variant, options); break; + case "random_sampler": + JsonSerializer.Serialize(writer, (Elastic.Clients.Elasticsearch.Aggregations.RandomSamplerAggregation)value.Variant, options); + break; case "range": JsonSerializer.Serialize(writer, (Elastic.Clients.Elasticsearch.Aggregations.RangeAggregation)value.Variant, options); break; @@ -946,6 +965,9 @@ public override void Write(Utf8JsonWriter writer, Aggregation value, JsonSeriali case "terms": JsonSerializer.Serialize(writer, (Elastic.Clients.Elasticsearch.Aggregations.TermsAggregation)value.Variant, options); break; + case "time_series": + JsonSerializer.Serialize(writer, (Elastic.Clients.Elasticsearch.Aggregations.TimeSeriesAggregation)value.Variant, options); + break; case "top_hits": JsonSerializer.Serialize(writer, (Elastic.Clients.Elasticsearch.Aggregations.TopHitsAggregation)value.Variant, options); break; @@ -1131,6 +1153,8 @@ public AggregationDescriptor Meta(Func Percentiles(Action> configure) => Set(configure, "percentiles"); public AggregationDescriptor PercentilesBucket(Elastic.Clients.Elasticsearch.Aggregations.PercentilesBucketAggregation percentilesBucketAggregation) => Set(percentilesBucketAggregation, "percentiles_bucket"); public AggregationDescriptor PercentilesBucket(Action configure) => Set(configure, "percentiles_bucket"); + public AggregationDescriptor RandomSampler(Elastic.Clients.Elasticsearch.Aggregations.RandomSamplerAggregation randomSamplerAggregation) => Set(randomSamplerAggregation, "random_sampler"); + public AggregationDescriptor RandomSampler(Action configure) => Set(configure, "random_sampler"); public AggregationDescriptor Range(Elastic.Clients.Elasticsearch.Aggregations.RangeAggregation rangeAggregation) => Set(rangeAggregation, "range"); public AggregationDescriptor Range(Action> configure) => Set(configure, "range"); public AggregationDescriptor RareTerms(Elastic.Clients.Elasticsearch.Aggregations.RareTermsAggregation rareTermsAggregation) => Set(rareTermsAggregation, "rare_terms"); @@ -1161,6 +1185,8 @@ public AggregationDescriptor Meta(Func SumBucket(Action configure) => Set(configure, "sum_bucket"); public AggregationDescriptor Terms(Elastic.Clients.Elasticsearch.Aggregations.TermsAggregation termsAggregation) => Set(termsAggregation, "terms"); public AggregationDescriptor Terms(Action> configure) => Set(configure, "terms"); + public AggregationDescriptor TimeSeries(Elastic.Clients.Elasticsearch.Aggregations.TimeSeriesAggregation timeSeriesAggregation) => Set(timeSeriesAggregation, "time_series"); + public AggregationDescriptor TimeSeries(Action configure) => Set(configure, "time_series"); public AggregationDescriptor TopHits(Elastic.Clients.Elasticsearch.Aggregations.TopHitsAggregation topHitsAggregation) => Set(topHitsAggregation, "top_hits"); public AggregationDescriptor TopHits(Action> configure) => Set(configure, "top_hits"); public AggregationDescriptor TopMetrics(Elastic.Clients.Elasticsearch.Aggregations.TopMetricsAggregation topMetricsAggregation) => Set(topMetricsAggregation, "top_metrics"); @@ -1366,6 +1392,8 @@ public AggregationDescriptor Meta(Func, FluentD public AggregationDescriptor Percentiles(Action configure) => Set(configure, "percentiles"); public AggregationDescriptor PercentilesBucket(Elastic.Clients.Elasticsearch.Aggregations.PercentilesBucketAggregation percentilesBucketAggregation) => Set(percentilesBucketAggregation, "percentiles_bucket"); public AggregationDescriptor PercentilesBucket(Action configure) => Set(configure, "percentiles_bucket"); + public AggregationDescriptor RandomSampler(Elastic.Clients.Elasticsearch.Aggregations.RandomSamplerAggregation randomSamplerAggregation) => Set(randomSamplerAggregation, "random_sampler"); + public AggregationDescriptor RandomSampler(Action configure) => Set(configure, "random_sampler"); public AggregationDescriptor Range(Elastic.Clients.Elasticsearch.Aggregations.RangeAggregation rangeAggregation) => Set(rangeAggregation, "range"); public AggregationDescriptor Range(Action configure) => Set(configure, "range"); public AggregationDescriptor RareTerms(Elastic.Clients.Elasticsearch.Aggregations.RareTermsAggregation rareTermsAggregation) => Set(rareTermsAggregation, "rare_terms"); @@ -1396,6 +1424,8 @@ public AggregationDescriptor Meta(Func, FluentD public AggregationDescriptor SumBucket(Action configure) => Set(configure, "sum_bucket"); public AggregationDescriptor Terms(Elastic.Clients.Elasticsearch.Aggregations.TermsAggregation termsAggregation) => Set(termsAggregation, "terms"); public AggregationDescriptor Terms(Action configure) => Set(configure, "terms"); + public AggregationDescriptor TimeSeries(Elastic.Clients.Elasticsearch.Aggregations.TimeSeriesAggregation timeSeriesAggregation) => Set(timeSeriesAggregation, "time_series"); + public AggregationDescriptor TimeSeries(Action configure) => Set(configure, "time_series"); public AggregationDescriptor TopHits(Elastic.Clients.Elasticsearch.Aggregations.TopHitsAggregation topHitsAggregation) => Set(topHitsAggregation, "top_hits"); public AggregationDescriptor TopHits(Action configure) => Set(configure, "top_hits"); public AggregationDescriptor TopMetrics(Elastic.Clients.Elasticsearch.Aggregations.TopMetricsAggregation topMetricsAggregation) => Set(topMetricsAggregation, "top_metrics"); diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/RandomSamplerAggregation.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/RandomSamplerAggregation.g.cs new file mode 100644 index 00000000000..520b9aca721 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/RandomSamplerAggregation.g.cs @@ -0,0 +1,129 @@ +// 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 Elastic.Clients.Elasticsearch.Fluent; +using Elastic.Clients.Elasticsearch.Serialization; +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +namespace Elastic.Clients.Elasticsearch.Aggregations; + +public sealed partial class RandomSamplerAggregation +{ + /// + /// + /// The probability that a document will be included in the aggregated data. + /// Must be greater than 0, less than 0.5, or exactly 1. + /// The lower the probability, the fewer documents are matched. + /// + /// + [JsonInclude, JsonPropertyName("probability")] + public double Probability { get; set; } + + /// + /// + /// The seed to generate the random sampling of documents. + /// When a seed is provided, the random subset of documents is the same between calls. + /// + /// + [JsonInclude, JsonPropertyName("seed")] + public int? Seed { get; set; } + + /// + /// + /// When combined with seed, setting shard_seed ensures 100% consistent sampling over shards where data is exactly the same. + /// + /// + [JsonInclude, JsonPropertyName("shard_seed")] + public int? ShardSeed { get; set; } + + public static implicit operator Elastic.Clients.Elasticsearch.Aggregations.Aggregation(RandomSamplerAggregation randomSamplerAggregation) => Elastic.Clients.Elasticsearch.Aggregations.Aggregation.RandomSampler(randomSamplerAggregation); +} + +public sealed partial class RandomSamplerAggregationDescriptor : SerializableDescriptor +{ + internal RandomSamplerAggregationDescriptor(Action configure) => configure.Invoke(this); + + public RandomSamplerAggregationDescriptor() : base() + { + } + + private double ProbabilityValue { get; set; } + private int? SeedValue { get; set; } + private int? ShardSeedValue { get; set; } + + /// + /// + /// The probability that a document will be included in the aggregated data. + /// Must be greater than 0, less than 0.5, or exactly 1. + /// The lower the probability, the fewer documents are matched. + /// + /// + public RandomSamplerAggregationDescriptor Probability(double probability) + { + ProbabilityValue = probability; + return Self; + } + + /// + /// + /// The seed to generate the random sampling of documents. + /// When a seed is provided, the random subset of documents is the same between calls. + /// + /// + public RandomSamplerAggregationDescriptor Seed(int? seed) + { + SeedValue = seed; + return Self; + } + + /// + /// + /// When combined with seed, setting shard_seed ensures 100% consistent sampling over shards where data is exactly the same. + /// + /// + public RandomSamplerAggregationDescriptor ShardSeed(int? shardSeed) + { + ShardSeedValue = shardSeed; + return Self; + } + + protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) + { + writer.WriteStartObject(); + writer.WritePropertyName("probability"); + writer.WriteNumberValue(ProbabilityValue); + if (SeedValue.HasValue) + { + writer.WritePropertyName("seed"); + writer.WriteNumberValue(SeedValue.Value); + } + + if (ShardSeedValue.HasValue) + { + writer.WritePropertyName("shard_seed"); + writer.WriteNumberValue(ShardSeedValue.Value); + } + + writer.WriteEndObject(); + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/TimeSeriesAggregate.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/TimeSeriesAggregate.g.cs new file mode 100644 index 00000000000..bd927b7576c --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/TimeSeriesAggregate.g.cs @@ -0,0 +1,36 @@ +// 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 Elastic.Clients.Elasticsearch.Fluent; +using Elastic.Clients.Elasticsearch.Serialization; +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +namespace Elastic.Clients.Elasticsearch.Aggregations; + +public sealed partial class TimeSeriesAggregate : IAggregate +{ + [JsonInclude, JsonPropertyName("buckets")] + public IReadOnlyCollection Buckets { get; init; } + [JsonInclude, JsonPropertyName("meta")] + public IReadOnlyDictionary? Meta { get; init; } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/RrfRank.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/TimeSeriesAggregation.g.cs similarity index 51% rename from src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/RrfRank.g.cs rename to src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/TimeSeriesAggregation.g.cs index 63c54e86444..9e17f41186b 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/RrfRank.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/TimeSeriesAggregation.g.cs @@ -17,83 +17,83 @@ #nullable restore -using Elastic.Clients.Elasticsearch.Serverless.Fluent; -using Elastic.Clients.Elasticsearch.Serverless.Serialization; +using Elastic.Clients.Elasticsearch.Fluent; +using Elastic.Clients.Elasticsearch.Serialization; using System; using System.Collections.Generic; using System.Linq.Expressions; using System.Text.Json; using System.Text.Json.Serialization; -namespace Elastic.Clients.Elasticsearch.Serverless; +namespace Elastic.Clients.Elasticsearch.Aggregations; -public sealed partial class RrfRank +public sealed partial class TimeSeriesAggregation { /// /// - /// How much influence documents in individual result sets per query have over the final ranked result set + /// Set to true to associate a unique string key with each bucket and returns the ranges as a hash rather than an array. /// /// - [JsonInclude, JsonPropertyName("rank_constant")] - public long? RankConstant { get; set; } + [JsonInclude, JsonPropertyName("keyed")] + public bool? Keyed { get; set; } /// /// - /// Size of the individual result sets per query + /// The maximum number of results to return. /// /// - [JsonInclude, JsonPropertyName("rank_window_size")] - public long? RankWindowSize { get; set; } + [JsonInclude, JsonPropertyName("size")] + public int? Size { get; set; } - public static implicit operator Elastic.Clients.Elasticsearch.Serverless.Rank(RrfRank rrfRank) => Elastic.Clients.Elasticsearch.Serverless.Rank.Rrf(rrfRank); + public static implicit operator Elastic.Clients.Elasticsearch.Aggregations.Aggregation(TimeSeriesAggregation timeSeriesAggregation) => Elastic.Clients.Elasticsearch.Aggregations.Aggregation.TimeSeries(timeSeriesAggregation); } -public sealed partial class RrfRankDescriptor : SerializableDescriptor +public sealed partial class TimeSeriesAggregationDescriptor : SerializableDescriptor { - internal RrfRankDescriptor(Action configure) => configure.Invoke(this); + internal TimeSeriesAggregationDescriptor(Action configure) => configure.Invoke(this); - public RrfRankDescriptor() : base() + public TimeSeriesAggregationDescriptor() : base() { } - private long? RankConstantValue { get; set; } - private long? RankWindowSizeValue { get; set; } + private bool? KeyedValue { get; set; } + private int? SizeValue { get; set; } /// /// - /// How much influence documents in individual result sets per query have over the final ranked result set + /// Set to true to associate a unique string key with each bucket and returns the ranges as a hash rather than an array. /// /// - public RrfRankDescriptor RankConstant(long? rankConstant) + public TimeSeriesAggregationDescriptor Keyed(bool? keyed = true) { - RankConstantValue = rankConstant; + KeyedValue = keyed; return Self; } /// /// - /// Size of the individual result sets per query + /// The maximum number of results to return. /// /// - public RrfRankDescriptor RankWindowSize(long? rankWindowSize) + public TimeSeriesAggregationDescriptor Size(int? size) { - RankWindowSizeValue = rankWindowSize; + SizeValue = size; return Self; } protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) { writer.WriteStartObject(); - if (RankConstantValue.HasValue) + if (KeyedValue.HasValue) { - writer.WritePropertyName("rank_constant"); - writer.WriteNumberValue(RankConstantValue.Value); + writer.WritePropertyName("keyed"); + writer.WriteBooleanValue(KeyedValue.Value); } - if (RankWindowSizeValue.HasValue) + if (SizeValue.HasValue) { - writer.WritePropertyName("rank_window_size"); - writer.WriteNumberValue(RankWindowSizeValue.Value); + writer.WritePropertyName("size"); + writer.WriteNumberValue(SizeValue.Value); } writer.WriteEndObject(); diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/TimeSeriesBucket.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/TimeSeriesBucket.g.cs new file mode 100644 index 00000000000..3b391a5494c --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/TimeSeriesBucket.g.cs @@ -0,0 +1,87 @@ +// 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 Elastic.Clients.Elasticsearch.Fluent; +using Elastic.Clients.Elasticsearch.Serialization; +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +namespace Elastic.Clients.Elasticsearch.Aggregations; + +internal sealed partial class TimeSeriesBucketConverter : JsonConverter +{ + public override TimeSeriesBucket Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) + { + if (reader.TokenType != JsonTokenType.StartObject) + throw new JsonException("Unexpected JSON detected."); + long docCount = default; + IReadOnlyDictionary key = default; + Dictionary additionalProperties = null; + while (reader.Read() && reader.TokenType != JsonTokenType.EndObject) + { + if (reader.TokenType == JsonTokenType.PropertyName) + { + var property = reader.GetString(); + if (property == "doc_count") + { + docCount = JsonSerializer.Deserialize(ref reader, options); + continue; + } + + if (property == "key") + { + key = JsonSerializer.Deserialize>(ref reader, options); + continue; + } + + if (property.Contains("#")) + { + additionalProperties ??= new Dictionary(); + AggregateDictionaryConverter.ReadItem(ref reader, options, additionalProperties, property); + continue; + } + + throw new JsonException("Unknown property read from JSON."); + } + } + + return new TimeSeriesBucket { Aggregations = new Elastic.Clients.Elasticsearch.Aggregations.AggregateDictionary(additionalProperties), DocCount = docCount, Key = key }; + } + + public override void Write(Utf8JsonWriter writer, TimeSeriesBucket value, JsonSerializerOptions options) + { + throw new NotImplementedException("'TimeSeriesBucket' is a readonly type, used only on responses and does not support being written to JSON."); + } +} + +[JsonConverter(typeof(TimeSeriesBucketConverter))] +public sealed partial class TimeSeriesBucket +{ + /// + /// + /// Nested aggregations + /// + /// + public Elastic.Clients.Elasticsearch.Aggregations.AggregateDictionary Aggregations { get; init; } + public long DocCount { get; init; } + public IReadOnlyDictionary Key { get; init; } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Analysis/ClassicTokenizer.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Analysis/ClassicTokenizer.g.cs new file mode 100644 index 00000000000..769294fda99 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Analysis/ClassicTokenizer.g.cs @@ -0,0 +1,90 @@ +// 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 Elastic.Clients.Elasticsearch.Fluent; +using Elastic.Clients.Elasticsearch.Serialization; +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +namespace Elastic.Clients.Elasticsearch.Analysis; + +public sealed partial class ClassicTokenizer : ITokenizer +{ + [JsonInclude, JsonPropertyName("max_token_length")] + public int? MaxTokenLength { get; set; } + + [JsonInclude, JsonPropertyName("type")] + public string Type => "classic"; + + [JsonInclude, JsonPropertyName("version")] + public string? Version { get; set; } +} + +public sealed partial class ClassicTokenizerDescriptor : SerializableDescriptor, IBuildableDescriptor +{ + internal ClassicTokenizerDescriptor(Action configure) => configure.Invoke(this); + + public ClassicTokenizerDescriptor() : base() + { + } + + private int? MaxTokenLengthValue { get; set; } + private string? VersionValue { get; set; } + + public ClassicTokenizerDescriptor MaxTokenLength(int? maxTokenLength) + { + MaxTokenLengthValue = maxTokenLength; + return Self; + } + + public ClassicTokenizerDescriptor Version(string? version) + { + VersionValue = version; + return Self; + } + + protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) + { + writer.WriteStartObject(); + if (MaxTokenLengthValue.HasValue) + { + writer.WritePropertyName("max_token_length"); + writer.WriteNumberValue(MaxTokenLengthValue.Value); + } + + writer.WritePropertyName("type"); + writer.WriteStringValue("classic"); + if (!string.IsNullOrEmpty(VersionValue)) + { + writer.WritePropertyName("version"); + writer.WriteStringValue(VersionValue); + } + + writer.WriteEndObject(); + } + + ClassicTokenizer IBuildableDescriptor.Build() => new() + { + MaxTokenLength = MaxTokenLengthValue, + Version = VersionValue + }; +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Analysis/EdgeNGramTokenizer.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Analysis/EdgeNGramTokenizer.g.cs index 4141e89b468..110960e049d 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Analysis/EdgeNGramTokenizer.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Analysis/EdgeNGramTokenizer.g.cs @@ -36,7 +36,7 @@ public sealed partial class EdgeNGramTokenizer : ITokenizer [JsonInclude, JsonPropertyName("min_gram")] public int MinGram { get; set; } [JsonInclude, JsonPropertyName("token_chars")] - public ICollection TokenChars { get; set; } + public ICollection? TokenChars { get; set; } [JsonInclude, JsonPropertyName("type")] public string Type => "edge_ngram"; @@ -56,7 +56,7 @@ public EdgeNGramTokenizerDescriptor() : base() private string? CustomTokenCharsValue { get; set; } private int MaxGramValue { get; set; } private int MinGramValue { get; set; } - private ICollection TokenCharsValue { get; set; } + private ICollection? TokenCharsValue { get; set; } private string? VersionValue { get; set; } public EdgeNGramTokenizerDescriptor CustomTokenChars(string? customTokenChars) @@ -77,7 +77,7 @@ public EdgeNGramTokenizerDescriptor MinGram(int minGram) return Self; } - public EdgeNGramTokenizerDescriptor TokenChars(ICollection tokenChars) + public EdgeNGramTokenizerDescriptor TokenChars(ICollection? tokenChars) { TokenCharsValue = tokenChars; return Self; @@ -102,8 +102,12 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o writer.WriteNumberValue(MaxGramValue); writer.WritePropertyName("min_gram"); writer.WriteNumberValue(MinGramValue); - writer.WritePropertyName("token_chars"); - JsonSerializer.Serialize(writer, TokenCharsValue, options); + if (TokenCharsValue is not null) + { + writer.WritePropertyName("token_chars"); + JsonSerializer.Serialize(writer, TokenCharsValue, options); + } + writer.WritePropertyName("type"); writer.WriteStringValue("edge_ngram"); if (!string.IsNullOrEmpty(VersionValue)) diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Analysis/KeywordMarkerTokenFilter.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Analysis/KeywordMarkerTokenFilter.g.cs index 3fd2f033907..91a70863b7f 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Analysis/KeywordMarkerTokenFilter.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Analysis/KeywordMarkerTokenFilter.g.cs @@ -32,6 +32,7 @@ public sealed partial class KeywordMarkerTokenFilter : ITokenFilter [JsonInclude, JsonPropertyName("ignore_case")] public bool? IgnoreCase { get; set; } [JsonInclude, JsonPropertyName("keywords")] + [SingleOrManyCollectionConverter(typeof(string))] public ICollection? Keywords { get; set; } [JsonInclude, JsonPropertyName("keywords_path")] public string? KeywordsPath { get; set; } @@ -101,7 +102,7 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o if (KeywordsValue is not null) { writer.WritePropertyName("keywords"); - JsonSerializer.Serialize(writer, KeywordsValue, options); + SingleOrManySerializationHelper.Serialize(KeywordsValue, writer, options); } if (!string.IsNullOrEmpty(KeywordsPathValue)) diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Analysis/KeywordTokenizer.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Analysis/KeywordTokenizer.g.cs index aee020454b0..23daf00166f 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Analysis/KeywordTokenizer.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Analysis/KeywordTokenizer.g.cs @@ -30,7 +30,7 @@ namespace Elastic.Clients.Elasticsearch.Analysis; public sealed partial class KeywordTokenizer : ITokenizer { [JsonInclude, JsonPropertyName("buffer_size")] - public int BufferSize { get; set; } + public int? BufferSize { get; set; } [JsonInclude, JsonPropertyName("type")] public string Type => "keyword"; @@ -47,10 +47,10 @@ public KeywordTokenizerDescriptor() : base() { } - private int BufferSizeValue { get; set; } + private int? BufferSizeValue { get; set; } private string? VersionValue { get; set; } - public KeywordTokenizerDescriptor BufferSize(int bufferSize) + public KeywordTokenizerDescriptor BufferSize(int? bufferSize) { BufferSizeValue = bufferSize; return Self; @@ -65,8 +65,12 @@ public KeywordTokenizerDescriptor Version(string? version) protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) { writer.WriteStartObject(); - writer.WritePropertyName("buffer_size"); - writer.WriteNumberValue(BufferSizeValue); + if (BufferSizeValue.HasValue) + { + writer.WritePropertyName("buffer_size"); + writer.WriteNumberValue(BufferSizeValue.Value); + } + writer.WritePropertyName("type"); writer.WriteStringValue("keyword"); if (!string.IsNullOrEmpty(VersionValue)) diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Analysis/NGramTokenizer.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Analysis/NGramTokenizer.g.cs index 18208b70675..a68be22a2cb 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Analysis/NGramTokenizer.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Analysis/NGramTokenizer.g.cs @@ -36,7 +36,7 @@ public sealed partial class NGramTokenizer : ITokenizer [JsonInclude, JsonPropertyName("min_gram")] public int MinGram { get; set; } [JsonInclude, JsonPropertyName("token_chars")] - public ICollection TokenChars { get; set; } + public ICollection? TokenChars { get; set; } [JsonInclude, JsonPropertyName("type")] public string Type => "ngram"; @@ -56,7 +56,7 @@ public NGramTokenizerDescriptor() : base() private string? CustomTokenCharsValue { get; set; } private int MaxGramValue { get; set; } private int MinGramValue { get; set; } - private ICollection TokenCharsValue { get; set; } + private ICollection? TokenCharsValue { get; set; } private string? VersionValue { get; set; } public NGramTokenizerDescriptor CustomTokenChars(string? customTokenChars) @@ -77,7 +77,7 @@ public NGramTokenizerDescriptor MinGram(int minGram) return Self; } - public NGramTokenizerDescriptor TokenChars(ICollection tokenChars) + public NGramTokenizerDescriptor TokenChars(ICollection? tokenChars) { TokenCharsValue = tokenChars; return Self; @@ -102,8 +102,12 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o writer.WriteNumberValue(MaxGramValue); writer.WritePropertyName("min_gram"); writer.WriteNumberValue(MinGramValue); - writer.WritePropertyName("token_chars"); - JsonSerializer.Serialize(writer, TokenCharsValue, options); + if (TokenCharsValue is not null) + { + writer.WritePropertyName("token_chars"); + JsonSerializer.Serialize(writer, TokenCharsValue, options); + } + writer.WritePropertyName("type"); writer.WriteStringValue("ngram"); if (!string.IsNullOrEmpty(VersionValue)) diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Analysis/SimplePatternSplitTokenizer.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Analysis/SimplePatternSplitTokenizer.g.cs new file mode 100644 index 00000000000..efb69c647af --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Analysis/SimplePatternSplitTokenizer.g.cs @@ -0,0 +1,90 @@ +// 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 Elastic.Clients.Elasticsearch.Fluent; +using Elastic.Clients.Elasticsearch.Serialization; +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +namespace Elastic.Clients.Elasticsearch.Analysis; + +public sealed partial class SimplePatternSplitTokenizer : ITokenizer +{ + [JsonInclude, JsonPropertyName("pattern")] + public string? Pattern { get; set; } + + [JsonInclude, JsonPropertyName("type")] + public string Type => "simple_pattern_split"; + + [JsonInclude, JsonPropertyName("version")] + public string? Version { get; set; } +} + +public sealed partial class SimplePatternSplitTokenizerDescriptor : SerializableDescriptor, IBuildableDescriptor +{ + internal SimplePatternSplitTokenizerDescriptor(Action configure) => configure.Invoke(this); + + public SimplePatternSplitTokenizerDescriptor() : base() + { + } + + private string? PatternValue { get; set; } + private string? VersionValue { get; set; } + + public SimplePatternSplitTokenizerDescriptor Pattern(string? pattern) + { + PatternValue = pattern; + return Self; + } + + public SimplePatternSplitTokenizerDescriptor Version(string? version) + { + VersionValue = version; + return Self; + } + + protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) + { + writer.WriteStartObject(); + if (!string.IsNullOrEmpty(PatternValue)) + { + writer.WritePropertyName("pattern"); + writer.WriteStringValue(PatternValue); + } + + writer.WritePropertyName("type"); + writer.WriteStringValue("simple_pattern_split"); + if (!string.IsNullOrEmpty(VersionValue)) + { + writer.WritePropertyName("version"); + writer.WriteStringValue(VersionValue); + } + + writer.WriteEndObject(); + } + + SimplePatternSplitTokenizer IBuildableDescriptor.Build() => new() + { + Pattern = PatternValue, + Version = VersionValue + }; +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Analysis/SimplePatternTokenizer.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Analysis/SimplePatternTokenizer.g.cs new file mode 100644 index 00000000000..164e4c4ffe3 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Analysis/SimplePatternTokenizer.g.cs @@ -0,0 +1,90 @@ +// 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 Elastic.Clients.Elasticsearch.Fluent; +using Elastic.Clients.Elasticsearch.Serialization; +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +namespace Elastic.Clients.Elasticsearch.Analysis; + +public sealed partial class SimplePatternTokenizer : ITokenizer +{ + [JsonInclude, JsonPropertyName("pattern")] + public string? Pattern { get; set; } + + [JsonInclude, JsonPropertyName("type")] + public string Type => "simple_pattern"; + + [JsonInclude, JsonPropertyName("version")] + public string? Version { get; set; } +} + +public sealed partial class SimplePatternTokenizerDescriptor : SerializableDescriptor, IBuildableDescriptor +{ + internal SimplePatternTokenizerDescriptor(Action configure) => configure.Invoke(this); + + public SimplePatternTokenizerDescriptor() : base() + { + } + + private string? PatternValue { get; set; } + private string? VersionValue { get; set; } + + public SimplePatternTokenizerDescriptor Pattern(string? pattern) + { + PatternValue = pattern; + return Self; + } + + public SimplePatternTokenizerDescriptor Version(string? version) + { + VersionValue = version; + return Self; + } + + protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) + { + writer.WriteStartObject(); + if (!string.IsNullOrEmpty(PatternValue)) + { + writer.WritePropertyName("pattern"); + writer.WriteStringValue(PatternValue); + } + + writer.WritePropertyName("type"); + writer.WriteStringValue("simple_pattern"); + if (!string.IsNullOrEmpty(VersionValue)) + { + writer.WritePropertyName("version"); + writer.WriteStringValue(VersionValue); + } + + writer.WriteEndObject(); + } + + SimplePatternTokenizer IBuildableDescriptor.Build() => new() + { + Pattern = PatternValue, + Version = VersionValue + }; +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Analysis/ThaiTokenizer.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Analysis/ThaiTokenizer.g.cs new file mode 100644 index 00000000000..5ed31691456 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Analysis/ThaiTokenizer.g.cs @@ -0,0 +1,73 @@ +// 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 Elastic.Clients.Elasticsearch.Fluent; +using Elastic.Clients.Elasticsearch.Serialization; +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +namespace Elastic.Clients.Elasticsearch.Analysis; + +public sealed partial class ThaiTokenizer : ITokenizer +{ + [JsonInclude, JsonPropertyName("type")] + public string Type => "thai"; + + [JsonInclude, JsonPropertyName("version")] + public string? Version { get; set; } +} + +public sealed partial class ThaiTokenizerDescriptor : SerializableDescriptor, IBuildableDescriptor +{ + internal ThaiTokenizerDescriptor(Action configure) => configure.Invoke(this); + + public ThaiTokenizerDescriptor() : base() + { + } + + private string? VersionValue { get; set; } + + public ThaiTokenizerDescriptor Version(string? version) + { + VersionValue = version; + return Self; + } + + protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) + { + writer.WriteStartObject(); + writer.WritePropertyName("type"); + writer.WriteStringValue("thai"); + if (!string.IsNullOrEmpty(VersionValue)) + { + writer.WritePropertyName("version"); + writer.WriteStringValue(VersionValue); + } + + writer.WriteEndObject(); + } + + ThaiTokenizer IBuildableDescriptor.Build() => new() + { + Version = VersionValue + }; +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Analysis/Tokenizers.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Analysis/Tokenizers.g.cs index 8ea8d16b137..54f24ae2bab 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Analysis/Tokenizers.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Analysis/Tokenizers.g.cs @@ -69,6 +69,9 @@ public TokenizersDescriptor() : base(new Tokenizers()) public TokenizersDescriptor CharGroup(string tokenizerName) => AssignVariant(tokenizerName, null); public TokenizersDescriptor CharGroup(string tokenizerName, Action configure) => AssignVariant(tokenizerName, configure); public TokenizersDescriptor CharGroup(string tokenizerName, CharGroupTokenizer charGroupTokenizer) => AssignVariant(tokenizerName, charGroupTokenizer); + public TokenizersDescriptor Classic(string tokenizerName) => AssignVariant(tokenizerName, null); + public TokenizersDescriptor Classic(string tokenizerName, Action configure) => AssignVariant(tokenizerName, configure); + public TokenizersDescriptor Classic(string tokenizerName, ClassicTokenizer classicTokenizer) => AssignVariant(tokenizerName, classicTokenizer); public TokenizersDescriptor EdgeNGram(string tokenizerName) => AssignVariant(tokenizerName, null); public TokenizersDescriptor EdgeNGram(string tokenizerName, Action configure) => AssignVariant(tokenizerName, configure); public TokenizersDescriptor EdgeNGram(string tokenizerName, EdgeNGramTokenizer edgeNGramTokenizer) => AssignVariant(tokenizerName, edgeNGramTokenizer); @@ -99,9 +102,18 @@ public TokenizersDescriptor() : base(new Tokenizers()) public TokenizersDescriptor Pattern(string tokenizerName) => AssignVariant(tokenizerName, null); public TokenizersDescriptor Pattern(string tokenizerName, Action configure) => AssignVariant(tokenizerName, configure); public TokenizersDescriptor Pattern(string tokenizerName, PatternTokenizer patternTokenizer) => AssignVariant(tokenizerName, patternTokenizer); + public TokenizersDescriptor SimplePatternSplit(string tokenizerName) => AssignVariant(tokenizerName, null); + public TokenizersDescriptor SimplePatternSplit(string tokenizerName, Action configure) => AssignVariant(tokenizerName, configure); + public TokenizersDescriptor SimplePatternSplit(string tokenizerName, SimplePatternSplitTokenizer simplePatternSplitTokenizer) => AssignVariant(tokenizerName, simplePatternSplitTokenizer); + public TokenizersDescriptor SimplePattern(string tokenizerName) => AssignVariant(tokenizerName, null); + public TokenizersDescriptor SimplePattern(string tokenizerName, Action configure) => AssignVariant(tokenizerName, configure); + public TokenizersDescriptor SimplePattern(string tokenizerName, SimplePatternTokenizer simplePatternTokenizer) => AssignVariant(tokenizerName, simplePatternTokenizer); public TokenizersDescriptor Standard(string tokenizerName) => AssignVariant(tokenizerName, null); public TokenizersDescriptor Standard(string tokenizerName, Action configure) => AssignVariant(tokenizerName, configure); public TokenizersDescriptor Standard(string tokenizerName, StandardTokenizer standardTokenizer) => AssignVariant(tokenizerName, standardTokenizer); + public TokenizersDescriptor Thai(string tokenizerName) => AssignVariant(tokenizerName, null); + public TokenizersDescriptor Thai(string tokenizerName, Action configure) => AssignVariant(tokenizerName, configure); + public TokenizersDescriptor Thai(string tokenizerName, ThaiTokenizer thaiTokenizer) => AssignVariant(tokenizerName, thaiTokenizer); public TokenizersDescriptor UaxEmailUrl(string tokenizerName) => AssignVariant(tokenizerName, null); public TokenizersDescriptor UaxEmailUrl(string tokenizerName, Action configure) => AssignVariant(tokenizerName, configure); public TokenizersDescriptor UaxEmailUrl(string tokenizerName, UaxEmailUrlTokenizer uaxEmailUrlTokenizer) => AssignVariant(tokenizerName, uaxEmailUrlTokenizer); @@ -126,6 +138,8 @@ public override ITokenizer Read(ref Utf8JsonReader reader, Type typeToConvert, J { case "char_group": return JsonSerializer.Deserialize(ref reader, options); + case "classic": + return JsonSerializer.Deserialize(ref reader, options); case "edge_ngram": return JsonSerializer.Deserialize(ref reader, options); case "icu_tokenizer": @@ -146,8 +160,14 @@ public override ITokenizer Read(ref Utf8JsonReader reader, Type typeToConvert, J return JsonSerializer.Deserialize(ref reader, options); case "pattern": return JsonSerializer.Deserialize(ref reader, options); + case "simple_pattern_split": + return JsonSerializer.Deserialize(ref reader, options); + case "simple_pattern": + return JsonSerializer.Deserialize(ref reader, options); case "standard": return JsonSerializer.Deserialize(ref reader, options); + case "thai": + return JsonSerializer.Deserialize(ref reader, options); case "uax_url_email": return JsonSerializer.Deserialize(ref reader, options); case "whitespace": @@ -171,6 +191,9 @@ public override void Write(Utf8JsonWriter writer, ITokenizer value, JsonSerializ case "char_group": JsonSerializer.Serialize(writer, value, typeof(Elastic.Clients.Elasticsearch.Analysis.CharGroupTokenizer), options); return; + case "classic": + JsonSerializer.Serialize(writer, value, typeof(Elastic.Clients.Elasticsearch.Analysis.ClassicTokenizer), options); + return; case "edge_ngram": JsonSerializer.Serialize(writer, value, typeof(Elastic.Clients.Elasticsearch.Analysis.EdgeNGramTokenizer), options); return; @@ -201,9 +224,18 @@ public override void Write(Utf8JsonWriter writer, ITokenizer value, JsonSerializ case "pattern": JsonSerializer.Serialize(writer, value, typeof(Elastic.Clients.Elasticsearch.Analysis.PatternTokenizer), options); return; + case "simple_pattern_split": + JsonSerializer.Serialize(writer, value, typeof(Elastic.Clients.Elasticsearch.Analysis.SimplePatternSplitTokenizer), options); + return; + case "simple_pattern": + JsonSerializer.Serialize(writer, value, typeof(Elastic.Clients.Elasticsearch.Analysis.SimplePatternTokenizer), options); + return; case "standard": JsonSerializer.Serialize(writer, value, typeof(Elastic.Clients.Elasticsearch.Analysis.StandardTokenizer), options); return; + case "thai": + JsonSerializer.Serialize(writer, value, typeof(Elastic.Clients.Elasticsearch.Analysis.ThaiTokenizer), options); + return; case "uax_url_email": JsonSerializer.Serialize(writer, value, typeof(Elastic.Clients.Elasticsearch.Analysis.UaxEmailUrlTokenizer), options); return; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Cluster/CurrentNode.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Cluster/CurrentNode.g.cs index 55c1a5db8bf..8943689f868 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Cluster/CurrentNode.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Cluster/CurrentNode.g.cs @@ -35,6 +35,8 @@ public sealed partial class CurrentNode public string Id { get; init; } [JsonInclude, JsonPropertyName("name")] public string Name { get; init; } + [JsonInclude, JsonPropertyName("roles")] + public IReadOnlyCollection Roles { get; init; } [JsonInclude, JsonPropertyName("transport_address")] public string TransportAddress { get; init; } [JsonInclude, JsonPropertyName("weight_ranking")] diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Cluster/IndexHealthStats.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Cluster/IndexHealthStats.g.cs index 6d4369248d8..a978568c8ec 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Cluster/IndexHealthStats.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Cluster/IndexHealthStats.g.cs @@ -45,6 +45,8 @@ public sealed partial class IndexHealthStats public IReadOnlyDictionary? Shards { get; init; } [JsonInclude, JsonPropertyName("status")] public Elastic.Clients.Elasticsearch.HealthStatus Status { get; init; } + [JsonInclude, JsonPropertyName("unassigned_primary_shards")] + public int UnassignedPrimaryShards { get; init; } [JsonInclude, JsonPropertyName("unassigned_shards")] public int UnassignedShards { get; init; } } \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Cluster/NodeAllocationExplanation.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Cluster/NodeAllocationExplanation.g.cs index a124d639779..29ecfdb8296 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Cluster/NodeAllocationExplanation.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Cluster/NodeAllocationExplanation.g.cs @@ -39,6 +39,8 @@ public sealed partial class NodeAllocationExplanation public string NodeId { get; init; } [JsonInclude, JsonPropertyName("node_name")] public string NodeName { get; init; } + [JsonInclude, JsonPropertyName("roles")] + public IReadOnlyCollection Roles { get; init; } [JsonInclude, JsonPropertyName("store")] public Elastic.Clients.Elasticsearch.Cluster.AllocationStore? Store { get; init; } [JsonInclude, JsonPropertyName("transport_address")] diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Cluster/ShardHealthStats.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Cluster/ShardHealthStats.g.cs index 62534fff30d..9f29e457ded 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Cluster/ShardHealthStats.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Cluster/ShardHealthStats.g.cs @@ -39,6 +39,8 @@ public sealed partial class ShardHealthStats public int RelocatingShards { get; init; } [JsonInclude, JsonPropertyName("status")] public Elastic.Clients.Elasticsearch.HealthStatus Status { get; init; } + [JsonInclude, JsonPropertyName("unassigned_primary_shards")] + public int UnassignedPrimaryShards { get; init; } [JsonInclude, JsonPropertyName("unassigned_shards")] public int UnassignedShards { get; init; } } \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/Search/AggregationProfileDebug.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/Search/AggregationProfileDebug.g.cs index 4fecff97322..8fa399791e9 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/Search/AggregationProfileDebug.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/Search/AggregationProfileDebug.g.cs @@ -29,6 +29,8 @@ namespace Elastic.Clients.Elasticsearch.Core.Search; public sealed partial class AggregationProfileDebug { + [JsonInclude, JsonPropertyName("brute_force_used")] + public int? BruteForceUsed { get; init; } [JsonInclude, JsonPropertyName("built_buckets")] public int? BuiltBuckets { get; init; } [JsonInclude, JsonPropertyName("chars_fetched")] @@ -45,6 +47,10 @@ public sealed partial class AggregationProfileDebug public string? Delegate { get; init; } [JsonInclude, JsonPropertyName("delegate_debug")] public Elastic.Clients.Elasticsearch.Core.Search.AggregationProfileDebug? DelegateDebug { get; init; } + [JsonInclude, JsonPropertyName("dynamic_pruning_attempted")] + public int? DynamicPruningAttempted { get; init; } + [JsonInclude, JsonPropertyName("dynamic_pruning_used")] + public int? DynamicPruningUsed { get; init; } [JsonInclude, JsonPropertyName("empty_collectors_used")] public int? EmptyCollectorsUsed { get; init; } [JsonInclude, JsonPropertyName("extract_count")] @@ -77,6 +83,8 @@ public sealed partial class AggregationProfileDebug public int? SegmentsWithMultiValuedOrds { get; init; } [JsonInclude, JsonPropertyName("segments_with_single_valued_ords")] public int? SegmentsWithSingleValuedOrds { get; init; } + [JsonInclude, JsonPropertyName("skipped_due_to_no_data")] + public int? SkippedDueToNoData { get; init; } [JsonInclude, JsonPropertyName("string_hashing_collectors_used")] public int? StringHashingCollectorsUsed { get; init; } [JsonInclude, JsonPropertyName("surviving_buckets")] diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/Search/DfsKnnProfile.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/Search/DfsKnnProfile.g.cs new file mode 100644 index 00000000000..17aa732b4ba --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/Search/DfsKnnProfile.g.cs @@ -0,0 +1,40 @@ +// 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 Elastic.Clients.Elasticsearch.Fluent; +using Elastic.Clients.Elasticsearch.Serialization; +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +namespace Elastic.Clients.Elasticsearch.Core.Search; + +public sealed partial class DfsKnnProfile +{ + [JsonInclude, JsonPropertyName("collector")] + public IReadOnlyCollection Collector { get; init; } + [JsonInclude, JsonPropertyName("query")] + public IReadOnlyCollection Query { get; init; } + [JsonInclude, JsonPropertyName("rewrite_time")] + public long RewriteTime { get; init; } + [JsonInclude, JsonPropertyName("vector_operations_count")] + public long? VectorOperationsCount { get; init; } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/Search/DfsProfile.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/Search/DfsProfile.g.cs new file mode 100644 index 00000000000..6daaadcb967 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/Search/DfsProfile.g.cs @@ -0,0 +1,36 @@ +// 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 Elastic.Clients.Elasticsearch.Fluent; +using Elastic.Clients.Elasticsearch.Serialization; +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +namespace Elastic.Clients.Elasticsearch.Core.Search; + +public sealed partial class DfsProfile +{ + [JsonInclude, JsonPropertyName("knn")] + public IReadOnlyCollection? Knn { get; init; } + [JsonInclude, JsonPropertyName("statistics")] + public Elastic.Clients.Elasticsearch.Core.Search.DfsStatisticsProfile? Statistics { get; init; } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/Search/DfsStatisticsBreakdown.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/Search/DfsStatisticsBreakdown.g.cs new file mode 100644 index 00000000000..2f335c297e1 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/Search/DfsStatisticsBreakdown.g.cs @@ -0,0 +1,48 @@ +// 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 Elastic.Clients.Elasticsearch.Fluent; +using Elastic.Clients.Elasticsearch.Serialization; +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +namespace Elastic.Clients.Elasticsearch.Core.Search; + +public sealed partial class DfsStatisticsBreakdown +{ + [JsonInclude, JsonPropertyName("collection_statistics")] + public long CollectionStatistics { get; init; } + [JsonInclude, JsonPropertyName("collection_statistics_count")] + public long CollectionStatisticsCount { get; init; } + [JsonInclude, JsonPropertyName("create_weight")] + public long CreateWeight { get; init; } + [JsonInclude, JsonPropertyName("create_weight_count")] + public long CreateWeightCount { get; init; } + [JsonInclude, JsonPropertyName("rewrite")] + public long Rewrite { get; init; } + [JsonInclude, JsonPropertyName("rewrite_count")] + public long RewriteCount { get; init; } + [JsonInclude, JsonPropertyName("term_statistics")] + public long TermStatistics { get; init; } + [JsonInclude, JsonPropertyName("term_statistics_count")] + public long TermStatisticsCount { get; init; } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/Search/DfsStatisticsProfile.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/Search/DfsStatisticsProfile.g.cs new file mode 100644 index 00000000000..cabdc2faca5 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/Search/DfsStatisticsProfile.g.cs @@ -0,0 +1,46 @@ +// 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 Elastic.Clients.Elasticsearch.Fluent; +using Elastic.Clients.Elasticsearch.Serialization; +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +namespace Elastic.Clients.Elasticsearch.Core.Search; + +public sealed partial class DfsStatisticsProfile +{ + [JsonInclude, JsonPropertyName("breakdown")] + public Elastic.Clients.Elasticsearch.Core.Search.DfsStatisticsBreakdown Breakdown { get; init; } + [JsonInclude, JsonPropertyName("children")] + public IReadOnlyCollection? Children { get; init; } + [JsonInclude, JsonPropertyName("debug")] + public IReadOnlyDictionary? Debug { get; init; } + [JsonInclude, JsonPropertyName("description")] + public string Description { get; init; } + [JsonInclude, JsonPropertyName("time")] + public Elastic.Clients.Elasticsearch.Duration? Time { get; init; } + [JsonInclude, JsonPropertyName("time_in_nanos")] + public long TimeInNanos { get; init; } + [JsonInclude, JsonPropertyName("type")] + public string Type { get; init; } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/Search/Hit.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/Search/Hit.g.cs index 938ccad0fe5..bddd3f292b6 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/Search/Hit.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/Search/Hit.g.cs @@ -40,7 +40,7 @@ public sealed partial class Hit [JsonInclude, JsonPropertyName("_ignored")] public IReadOnlyCollection? Ignored { get; init; } [JsonInclude, JsonPropertyName("ignored_field_values")] - public IReadOnlyDictionary>? IgnoredFieldValues { get; init; } + public IReadOnlyDictionary>? IgnoredFieldValues { get; init; } [JsonInclude, JsonPropertyName("_index")] public string Index { get; init; } [JsonInclude, JsonPropertyName("inner_hits")] diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/Search/KnnCollectorResult.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/Search/KnnCollectorResult.g.cs new file mode 100644 index 00000000000..aaec4e00032 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/Search/KnnCollectorResult.g.cs @@ -0,0 +1,42 @@ +// 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 Elastic.Clients.Elasticsearch.Fluent; +using Elastic.Clients.Elasticsearch.Serialization; +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +namespace Elastic.Clients.Elasticsearch.Core.Search; + +public sealed partial class KnnCollectorResult +{ + [JsonInclude, JsonPropertyName("children")] + public IReadOnlyCollection? Children { get; init; } + [JsonInclude, JsonPropertyName("name")] + public string Name { get; init; } + [JsonInclude, JsonPropertyName("reason")] + public string Reason { get; init; } + [JsonInclude, JsonPropertyName("time")] + public Elastic.Clients.Elasticsearch.Duration? Time { get; init; } + [JsonInclude, JsonPropertyName("time_in_nanos")] + public long TimeInNanos { get; init; } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/Search/KnnQueryProfileBreakdown.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/Search/KnnQueryProfileBreakdown.g.cs new file mode 100644 index 00000000000..fa1f6814a4c --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/Search/KnnQueryProfileBreakdown.g.cs @@ -0,0 +1,72 @@ +// 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 Elastic.Clients.Elasticsearch.Fluent; +using Elastic.Clients.Elasticsearch.Serialization; +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +namespace Elastic.Clients.Elasticsearch.Core.Search; + +public sealed partial class KnnQueryProfileBreakdown +{ + [JsonInclude, JsonPropertyName("advance")] + public long Advance { get; init; } + [JsonInclude, JsonPropertyName("advance_count")] + public long AdvanceCount { get; init; } + [JsonInclude, JsonPropertyName("build_scorer")] + public long BuildScorer { get; init; } + [JsonInclude, JsonPropertyName("build_scorer_count")] + public long BuildScorerCount { get; init; } + [JsonInclude, JsonPropertyName("compute_max_score")] + public long ComputeMaxScore { get; init; } + [JsonInclude, JsonPropertyName("compute_max_score_count")] + public long ComputeMaxScoreCount { get; init; } + [JsonInclude, JsonPropertyName("count_weight")] + public long CountWeight { get; init; } + [JsonInclude, JsonPropertyName("count_weight_count")] + public long CountWeightCount { get; init; } + [JsonInclude, JsonPropertyName("create_weight")] + public long CreateWeight { get; init; } + [JsonInclude, JsonPropertyName("create_weight_count")] + public long CreateWeightCount { get; init; } + [JsonInclude, JsonPropertyName("match")] + public long Match { get; init; } + [JsonInclude, JsonPropertyName("match_count")] + public long MatchCount { get; init; } + [JsonInclude, JsonPropertyName("next_doc")] + public long NextDoc { get; init; } + [JsonInclude, JsonPropertyName("next_doc_count")] + public long NextDocCount { get; init; } + [JsonInclude, JsonPropertyName("score")] + public long Score { get; init; } + [JsonInclude, JsonPropertyName("score_count")] + public long ScoreCount { get; init; } + [JsonInclude, JsonPropertyName("set_min_competitive_score")] + public long SetMinCompetitiveScore { get; init; } + [JsonInclude, JsonPropertyName("set_min_competitive_score_count")] + public long SetMinCompetitiveScoreCount { get; init; } + [JsonInclude, JsonPropertyName("shallow_advance")] + public long ShallowAdvance { get; init; } + [JsonInclude, JsonPropertyName("shallow_advance_count")] + public long ShallowAdvanceCount { get; init; } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/Search/KnnQueryProfileResult.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/Search/KnnQueryProfileResult.g.cs new file mode 100644 index 00000000000..7482c065065 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/Search/KnnQueryProfileResult.g.cs @@ -0,0 +1,46 @@ +// 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 Elastic.Clients.Elasticsearch.Fluent; +using Elastic.Clients.Elasticsearch.Serialization; +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +namespace Elastic.Clients.Elasticsearch.Core.Search; + +public sealed partial class KnnQueryProfileResult +{ + [JsonInclude, JsonPropertyName("breakdown")] + public Elastic.Clients.Elasticsearch.Core.Search.KnnQueryProfileBreakdown Breakdown { get; init; } + [JsonInclude, JsonPropertyName("children")] + public IReadOnlyCollection? Children { get; init; } + [JsonInclude, JsonPropertyName("debug")] + public IReadOnlyDictionary? Debug { get; init; } + [JsonInclude, JsonPropertyName("description")] + public string Description { get; init; } + [JsonInclude, JsonPropertyName("time")] + public Elastic.Clients.Elasticsearch.Duration? Time { get; init; } + [JsonInclude, JsonPropertyName("time_in_nanos")] + public long TimeInNanos { get; init; } + [JsonInclude, JsonPropertyName("type")] + public string Type { get; init; } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/Search/QueryBreakdown.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/Search/QueryBreakdown.g.cs index 822a7c758e9..d89976f2084 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/Search/QueryBreakdown.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/Search/QueryBreakdown.g.cs @@ -41,6 +41,10 @@ public sealed partial class QueryBreakdown public long ComputeMaxScore { get; init; } [JsonInclude, JsonPropertyName("compute_max_score_count")] public long ComputeMaxScoreCount { get; init; } + [JsonInclude, JsonPropertyName("count_weight")] + public long CountWeight { get; init; } + [JsonInclude, JsonPropertyName("count_weight_count")] + public long CountWeightCount { get; init; } [JsonInclude, JsonPropertyName("create_weight")] public long CreateWeight { get; init; } [JsonInclude, JsonPropertyName("create_weight_count")] diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/Search/ShardProfile.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/Search/ShardProfile.g.cs index d7f4b76f217..20cfb6d97b0 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/Search/ShardProfile.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/Search/ShardProfile.g.cs @@ -31,10 +31,20 @@ public sealed partial class ShardProfile { [JsonInclude, JsonPropertyName("aggregations")] public IReadOnlyCollection Aggregations { get; init; } + [JsonInclude, JsonPropertyName("cluster")] + public string Cluster { get; init; } + [JsonInclude, JsonPropertyName("dfs")] + public Elastic.Clients.Elasticsearch.Core.Search.DfsProfile? Dfs { get; init; } [JsonInclude, JsonPropertyName("fetch")] public Elastic.Clients.Elasticsearch.Core.Search.FetchProfile? Fetch { get; init; } [JsonInclude, JsonPropertyName("id")] public string Id { get; init; } + [JsonInclude, JsonPropertyName("index")] + public string Index { get; init; } + [JsonInclude, JsonPropertyName("node_id")] + public string NodeId { get; init; } [JsonInclude, JsonPropertyName("searches")] public IReadOnlyCollection Searches { get; init; } + [JsonInclude, JsonPropertyName("shard_id")] + public long ShardId { get; init; } } \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/SearchShards/SearchShardsNodeAttributes.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/SearchShards/SearchShardsNodeAttributes.g.cs new file mode 100644 index 00000000000..33fe1cb1b9f --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/SearchShards/SearchShardsNodeAttributes.g.cs @@ -0,0 +1,73 @@ +// 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 Elastic.Clients.Elasticsearch.Fluent; +using Elastic.Clients.Elasticsearch.Serialization; +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +namespace Elastic.Clients.Elasticsearch.Core.SearchShards; + +public sealed partial class SearchShardsNodeAttributes +{ + /// + /// + /// Lists node attributes. + /// + /// + [JsonInclude, JsonPropertyName("attributes")] + public IReadOnlyDictionary Attributes { get; init; } + + /// + /// + /// The ephemeral ID of the node. + /// + /// + [JsonInclude, JsonPropertyName("ephemeral_id")] + public string EphemeralId { get; init; } + [JsonInclude, JsonPropertyName("external_id")] + public string ExternalId { get; init; } + [JsonInclude, JsonPropertyName("max_index_version")] + public int MaxIndexVersion { get; init; } + [JsonInclude, JsonPropertyName("min_index_version")] + public int MinIndexVersion { get; init; } + + /// + /// + /// The human-readable identifier of the node. + /// + /// + [JsonInclude, JsonPropertyName("name")] + public string Name { get; init; } + [JsonInclude, JsonPropertyName("roles")] + public IReadOnlyCollection Roles { get; init; } + + /// + /// + /// The host and port where transport HTTP connections are accepted. + /// + /// + [JsonInclude, JsonPropertyName("transport_address")] + public string TransportAddress { get; init; } + [JsonInclude, JsonPropertyName("version")] + public string Version { get; init; } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Enrich/CacheStats.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Enrich/CacheStats.g.cs index ddbe347dbeb..b884acb0e98 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Enrich/CacheStats.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Enrich/CacheStats.g.cs @@ -35,8 +35,14 @@ public sealed partial class CacheStats public int Evictions { get; init; } [JsonInclude, JsonPropertyName("hits")] public int Hits { get; init; } + [JsonInclude, JsonPropertyName("hits_time_in_millis")] + public long HitsTimeInMillis { get; init; } [JsonInclude, JsonPropertyName("misses")] public int Misses { get; init; } + [JsonInclude, JsonPropertyName("misses_time_in_millis")] + public long MissesTimeInMillis { get; init; } [JsonInclude, JsonPropertyName("node_id")] public string NodeId { get; init; } + [JsonInclude, JsonPropertyName("size_in_bytes")] + public long SizeInBytes { get; init; } } \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Enums/Enums.Esql.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Enums/Enums.Esql.g.cs new file mode 100644 index 00000000000..88f73b46228 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Enums/Enums.Esql.g.cs @@ -0,0 +1,113 @@ +// 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 Elastic.Clients.Elasticsearch.Core; +using Elastic.Clients.Elasticsearch.Serialization; +using Elastic.Transport; +using System; +using System.Runtime.Serialization; +using System.Text; +using System.Text.Json; +using System.Text.Json.Serialization; + +namespace Elastic.Clients.Elasticsearch.Esql; + +[JsonConverter(typeof(EsqlFormatConverter))] +public enum EsqlFormat +{ + [EnumMember(Value = "yaml")] + Yaml, + [EnumMember(Value = "txt")] + Txt, + [EnumMember(Value = "tsv")] + Tsv, + [EnumMember(Value = "smile")] + Smile, + [EnumMember(Value = "json")] + Json, + [EnumMember(Value = "csv")] + Csv, + [EnumMember(Value = "cbor")] + Cbor, + [EnumMember(Value = "arrow")] + Arrow +} + +internal sealed class EsqlFormatConverter : JsonConverter +{ + public override EsqlFormat Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) + { + var enumString = reader.GetString(); + switch (enumString) + { + case "yaml": + return EsqlFormat.Yaml; + case "txt": + return EsqlFormat.Txt; + case "tsv": + return EsqlFormat.Tsv; + case "smile": + return EsqlFormat.Smile; + case "json": + return EsqlFormat.Json; + case "csv": + return EsqlFormat.Csv; + case "cbor": + return EsqlFormat.Cbor; + case "arrow": + return EsqlFormat.Arrow; + } + + ThrowHelper.ThrowJsonException(); + return default; + } + + public override void Write(Utf8JsonWriter writer, EsqlFormat value, JsonSerializerOptions options) + { + switch (value) + { + case EsqlFormat.Yaml: + writer.WriteStringValue("yaml"); + return; + case EsqlFormat.Txt: + writer.WriteStringValue("txt"); + return; + case EsqlFormat.Tsv: + writer.WriteStringValue("tsv"); + return; + case EsqlFormat.Smile: + writer.WriteStringValue("smile"); + return; + case EsqlFormat.Json: + writer.WriteStringValue("json"); + return; + case EsqlFormat.Csv: + writer.WriteStringValue("csv"); + return; + case EsqlFormat.Cbor: + writer.WriteStringValue("cbor"); + return; + case EsqlFormat.Arrow: + writer.WriteStringValue("arrow"); + return; + } + + writer.WriteNullValue(); + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Enums/Enums.Ingest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Enums/Enums.Ingest.g.cs index 5dc8701708d..c930a3155e2 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Enums/Enums.Ingest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Enums/Enums.Ingest.g.cs @@ -105,6 +105,97 @@ public override void Write(Utf8JsonWriter writer, ConvertType value, JsonSeriali } } +[JsonConverter(typeof(GeoGridTargetFormatConverter))] +public enum GeoGridTargetFormat +{ + [EnumMember(Value = "wkt")] + Wkt, + [EnumMember(Value = "geojson")] + Geojson +} + +internal sealed class GeoGridTargetFormatConverter : JsonConverter +{ + public override GeoGridTargetFormat Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) + { + var enumString = reader.GetString(); + switch (enumString) + { + case "wkt": + return GeoGridTargetFormat.Wkt; + case "geojson": + return GeoGridTargetFormat.Geojson; + } + + ThrowHelper.ThrowJsonException(); + return default; + } + + public override void Write(Utf8JsonWriter writer, GeoGridTargetFormat value, JsonSerializerOptions options) + { + switch (value) + { + case GeoGridTargetFormat.Wkt: + writer.WriteStringValue("wkt"); + return; + case GeoGridTargetFormat.Geojson: + writer.WriteStringValue("geojson"); + return; + } + + writer.WriteNullValue(); + } +} + +[JsonConverter(typeof(GeoGridTileTypeConverter))] +public enum GeoGridTileType +{ + [EnumMember(Value = "geotile")] + Geotile, + [EnumMember(Value = "geohex")] + Geohex, + [EnumMember(Value = "geohash")] + Geohash +} + +internal sealed class GeoGridTileTypeConverter : JsonConverter +{ + public override GeoGridTileType Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) + { + var enumString = reader.GetString(); + switch (enumString) + { + case "geotile": + return GeoGridTileType.Geotile; + case "geohex": + return GeoGridTileType.Geohex; + case "geohash": + return GeoGridTileType.Geohash; + } + + ThrowHelper.ThrowJsonException(); + return default; + } + + public override void Write(Utf8JsonWriter writer, GeoGridTileType value, JsonSerializerOptions options) + { + switch (value) + { + case GeoGridTileType.Geotile: + writer.WriteStringValue("geotile"); + return; + case GeoGridTileType.Geohex: + writer.WriteStringValue("geohex"); + return; + case GeoGridTileType.Geohash: + writer.WriteStringValue("geohash"); + return; + } + + writer.WriteNullValue(); + } +} + [JsonConverter(typeof(JsonProcessorConflictStrategyConverter))] public enum JsonProcessorConflictStrategy { @@ -202,26 +293,16 @@ public override void Write(Utf8JsonWriter writer, ShapeType value, JsonSerialize [JsonConverter(typeof(UserAgentPropertyConverter))] public enum UserAgentProperty { - [EnumMember(Value = "PATCH")] - Patch, - [EnumMember(Value = "OS_NAME")] - OsName, - [EnumMember(Value = "OS_MINOR")] - OsMinor, - [EnumMember(Value = "OS_MAJOR")] - OsMajor, - [EnumMember(Value = "OS")] + [EnumMember(Value = "version")] + Version, + [EnumMember(Value = "os")] Os, - [EnumMember(Value = "NAME")] + [EnumMember(Value = "original")] + Original, + [EnumMember(Value = "name")] Name, - [EnumMember(Value = "MINOR")] - Minor, - [EnumMember(Value = "MAJOR")] - Major, - [EnumMember(Value = "DEVICE")] - Device, - [EnumMember(Value = "BUILD")] - Build + [EnumMember(Value = "device")] + Device } internal sealed class UserAgentPropertyConverter : JsonConverter @@ -231,26 +312,16 @@ public override UserAgentProperty Read(ref Utf8JsonReader reader, Type typeToCon var enumString = reader.GetString(); switch (enumString) { - case "PATCH": - return UserAgentProperty.Patch; - case "OS_NAME": - return UserAgentProperty.OsName; - case "OS_MINOR": - return UserAgentProperty.OsMinor; - case "OS_MAJOR": - return UserAgentProperty.OsMajor; - case "OS": + case "version": + return UserAgentProperty.Version; + case "os": return UserAgentProperty.Os; - case "NAME": + case "original": + return UserAgentProperty.Original; + case "name": return UserAgentProperty.Name; - case "MINOR": - return UserAgentProperty.Minor; - case "MAJOR": - return UserAgentProperty.Major; - case "DEVICE": + case "device": return UserAgentProperty.Device; - case "BUILD": - return UserAgentProperty.Build; } ThrowHelper.ThrowJsonException(); @@ -261,35 +332,20 @@ public override void Write(Utf8JsonWriter writer, UserAgentProperty value, JsonS { switch (value) { - case UserAgentProperty.Patch: - writer.WriteStringValue("PATCH"); - return; - case UserAgentProperty.OsName: - writer.WriteStringValue("OS_NAME"); - return; - case UserAgentProperty.OsMinor: - writer.WriteStringValue("OS_MINOR"); - return; - case UserAgentProperty.OsMajor: - writer.WriteStringValue("OS_MAJOR"); + case UserAgentProperty.Version: + writer.WriteStringValue("version"); return; case UserAgentProperty.Os: - writer.WriteStringValue("OS"); + writer.WriteStringValue("os"); return; - case UserAgentProperty.Name: - writer.WriteStringValue("NAME"); + case UserAgentProperty.Original: + writer.WriteStringValue("original"); return; - case UserAgentProperty.Minor: - writer.WriteStringValue("MINOR"); - return; - case UserAgentProperty.Major: - writer.WriteStringValue("MAJOR"); + case UserAgentProperty.Name: + writer.WriteStringValue("name"); return; case UserAgentProperty.Device: - writer.WriteStringValue("DEVICE"); - return; - case UserAgentProperty.Build: - writer.WriteStringValue("BUILD"); + writer.WriteStringValue("device"); return; } diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Enums/Enums.MachineLearning.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Enums/Enums.MachineLearning.g.cs index 5b046096bd0..a9f89e68101 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Enums/Enums.MachineLearning.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Enums/Enums.MachineLearning.g.cs @@ -417,12 +417,32 @@ public override void Write(Utf8JsonWriter writer, DeploymentAllocationState valu [JsonConverter(typeof(DeploymentAssignmentStateConverter))] public enum DeploymentAssignmentState { + /// + /// + /// The deployment is preparing to stop and deallocate the model from the relevant nodes. + /// + /// [EnumMember(Value = "stopping")] Stopping, + /// + /// + /// The deployment has recently started but is not yet usable; the model is not allocated on any nodes. + /// + /// [EnumMember(Value = "starting")] Starting, + /// + /// + /// The deployment is usable; at least one node has the model allocated. + /// + /// [EnumMember(Value = "started")] Started, + /// + /// + /// The deployment is on a failed state and must be re-deployed. + /// + /// [EnumMember(Value = "failed")] Failed } @@ -470,70 +490,6 @@ public override void Write(Utf8JsonWriter writer, DeploymentAssignmentState valu } } -[JsonConverter(typeof(DeploymentStateConverter))] -public enum DeploymentState -{ - /// - /// - /// The deployment is preparing to stop and deallocate the model from the relevant nodes. - /// - /// - [EnumMember(Value = "stopping")] - Stopping, - /// - /// - /// The deployment has recently started but is not yet usable; the model is not allocated on any nodes. - /// - /// - [EnumMember(Value = "starting")] - Starting, - /// - /// - /// The deployment is usable; at least one node has the model allocated. - /// - /// - [EnumMember(Value = "started")] - Started -} - -internal sealed class DeploymentStateConverter : JsonConverter -{ - public override DeploymentState Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) - { - var enumString = reader.GetString(); - switch (enumString) - { - case "stopping": - return DeploymentState.Stopping; - case "starting": - return DeploymentState.Starting; - case "started": - return DeploymentState.Started; - } - - ThrowHelper.ThrowJsonException(); - return default; - } - - public override void Write(Utf8JsonWriter writer, DeploymentState value, JsonSerializerOptions options) - { - switch (value) - { - case DeploymentState.Stopping: - writer.WriteStringValue("stopping"); - return; - case DeploymentState.Starting: - writer.WriteStringValue("starting"); - return; - case DeploymentState.Started: - writer.WriteStringValue("started"); - return; - } - - writer.WriteNullValue(); - } -} - [JsonConverter(typeof(ExcludeFrequentConverter))] public enum ExcludeFrequent { diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Enums/Enums.Sql.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Enums/Enums.Sql.g.cs new file mode 100644 index 00000000000..5b2210e7a2a --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Enums/Enums.Sql.g.cs @@ -0,0 +1,106 @@ +// 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 Elastic.Clients.Elasticsearch.Core; +using Elastic.Clients.Elasticsearch.Serialization; +using Elastic.Transport; +using System; +using System.Runtime.Serialization; +using System.Text; +using System.Text.Json; +using System.Text.Json.Serialization; + +namespace Elastic.Clients.Elasticsearch.Sql; + +[JsonConverter(typeof(SqlFormatConverter))] +public enum SqlFormat +{ + [EnumMember(Value = "yaml")] + Yaml, + [EnumMember(Value = "txt")] + Txt, + [EnumMember(Value = "tsv")] + Tsv, + [EnumMember(Value = "smile")] + Smile, + [EnumMember(Value = "json")] + Json, + [EnumMember(Value = "csv")] + Csv, + [EnumMember(Value = "cbor")] + Cbor +} + +internal sealed class SqlFormatConverter : JsonConverter +{ + public override SqlFormat Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) + { + var enumString = reader.GetString(); + switch (enumString) + { + case "yaml": + return SqlFormat.Yaml; + case "txt": + return SqlFormat.Txt; + case "tsv": + return SqlFormat.Tsv; + case "smile": + return SqlFormat.Smile; + case "json": + return SqlFormat.Json; + case "csv": + return SqlFormat.Csv; + case "cbor": + return SqlFormat.Cbor; + } + + ThrowHelper.ThrowJsonException(); + return default; + } + + public override void Write(Utf8JsonWriter writer, SqlFormat value, JsonSerializerOptions options) + { + switch (value) + { + case SqlFormat.Yaml: + writer.WriteStringValue("yaml"); + return; + case SqlFormat.Txt: + writer.WriteStringValue("txt"); + return; + case SqlFormat.Tsv: + writer.WriteStringValue("tsv"); + return; + case SqlFormat.Smile: + writer.WriteStringValue("smile"); + return; + case SqlFormat.Json: + writer.WriteStringValue("json"); + return; + case SqlFormat.Csv: + writer.WriteStringValue("csv"); + return; + case SqlFormat.Cbor: + writer.WriteStringValue("cbor"); + return; + } + + writer.WriteNullValue(); + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Enums/Enums.Xpack.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Enums/Enums.Xpack.g.cs new file mode 100644 index 00000000000..36d2bdbd1e9 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Enums/Enums.Xpack.g.cs @@ -0,0 +1,78 @@ +// 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 Elastic.Clients.Elasticsearch.Core; +using Elastic.Clients.Elasticsearch.Serialization; +using Elastic.Transport; +using System; +using System.Runtime.Serialization; +using System.Text; +using System.Text.Json; +using System.Text.Json.Serialization; + +namespace Elastic.Clients.Elasticsearch.Xpack; + +[JsonConverter(typeof(XPackCategoryConverter))] +public enum XPackCategory +{ + [EnumMember(Value = "license")] + License, + [EnumMember(Value = "features")] + Features, + [EnumMember(Value = "build")] + Build +} + +internal sealed class XPackCategoryConverter : JsonConverter +{ + public override XPackCategory Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) + { + var enumString = reader.GetString(); + switch (enumString) + { + case "license": + return XPackCategory.License; + case "features": + return XPackCategory.Features; + case "build": + return XPackCategory.Build; + } + + ThrowHelper.ThrowJsonException(); + return default; + } + + public override void Write(Utf8JsonWriter writer, XPackCategory value, JsonSerializerOptions options) + { + switch (value) + { + case XPackCategory.License: + writer.WriteStringValue("license"); + return; + case XPackCategory.Features: + writer.WriteStringValue("features"); + return; + case XPackCategory.Build: + writer.WriteStringValue("build"); + return; + } + + writer.WriteNullValue(); + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/AppendProcessor.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/AppendProcessor.g.cs index d89839c4c0b..b609af8460c 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/AppendProcessor.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/AppendProcessor.g.cs @@ -94,6 +94,7 @@ public sealed partial class AppendProcessor /// /// [JsonInclude, JsonPropertyName("value")] + [SingleOrManyCollectionConverter(typeof(object))] public ICollection Value { get; set; } public static implicit operator Elastic.Clients.Elasticsearch.Ingest.Processor(AppendProcessor appendProcessor) => Elastic.Clients.Elasticsearch.Ingest.Processor.Append(appendProcessor); @@ -331,7 +332,7 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o } writer.WritePropertyName("value"); - JsonSerializer.Serialize(writer, ValueValue, options); + SingleOrManySerializationHelper.Serialize(ValueValue, writer, options); writer.WriteEndObject(); } } @@ -568,7 +569,7 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o } writer.WritePropertyName("value"); - JsonSerializer.Serialize(writer, ValueValue, options); + SingleOrManySerializationHelper.Serialize(ValueValue, writer, options); writer.WriteEndObject(); } } \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/DotExpanderProcessor.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/DotExpanderProcessor.g.cs index 43b03668fd3..0140218155e 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/DotExpanderProcessor.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/DotExpanderProcessor.g.cs @@ -71,6 +71,16 @@ public sealed partial class DotExpanderProcessor [JsonInclude, JsonPropertyName("on_failure")] public ICollection? OnFailure { get; set; } + /// + /// + /// Controls the behavior when there is already an existing nested object that conflicts with the expanded field. + /// When false, the processor will merge conflicts by combining the old and the new values into an array. + /// When true, the value from the expanded field will overwrite the existing value. + /// + /// + [JsonInclude, JsonPropertyName("override")] + public bool? Override { get; set; } + /// /// /// The field that contains the field to expand. @@ -108,6 +118,7 @@ public DotExpanderProcessorDescriptor() : base() private Elastic.Clients.Elasticsearch.Ingest.ProcessorDescriptor OnFailureDescriptor { get; set; } private Action> OnFailureDescriptorAction { get; set; } private Action>[] OnFailureDescriptorActions { get; set; } + private bool? OverrideValue { get; set; } private string? PathValue { get; set; } private string? TagValue { get; set; } @@ -222,6 +233,19 @@ public DotExpanderProcessorDescriptor OnFailure(params Action + /// + /// Controls the behavior when there is already an existing nested object that conflicts with the expanded field. + /// When false, the processor will merge conflicts by combining the old and the new values into an array. + /// When true, the value from the expanded field will overwrite the existing value. + /// + /// + public DotExpanderProcessorDescriptor Override(bool? value = true) + { + OverrideValue = value; + return Self; + } + /// /// /// The field that contains the field to expand. @@ -300,6 +324,12 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o JsonSerializer.Serialize(writer, OnFailureValue, options); } + if (OverrideValue.HasValue) + { + writer.WritePropertyName("override"); + writer.WriteBooleanValue(OverrideValue.Value); + } + if (!string.IsNullOrEmpty(PathValue)) { writer.WritePropertyName("path"); @@ -332,6 +362,7 @@ public DotExpanderProcessorDescriptor() : base() private Elastic.Clients.Elasticsearch.Ingest.ProcessorDescriptor OnFailureDescriptor { get; set; } private Action OnFailureDescriptorAction { get; set; } private Action[] OnFailureDescriptorActions { get; set; } + private bool? OverrideValue { get; set; } private string? PathValue { get; set; } private string? TagValue { get; set; } @@ -446,6 +477,19 @@ public DotExpanderProcessorDescriptor OnFailure(params Action + /// + /// Controls the behavior when there is already an existing nested object that conflicts with the expanded field. + /// When false, the processor will merge conflicts by combining the old and the new values into an array. + /// When true, the value from the expanded field will overwrite the existing value. + /// + /// + public DotExpanderProcessorDescriptor Override(bool? value = true) + { + OverrideValue = value; + return Self; + } + /// /// /// The field that contains the field to expand. @@ -524,6 +568,12 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o JsonSerializer.Serialize(writer, OnFailureValue, options); } + if (OverrideValue.HasValue) + { + writer.WritePropertyName("override"); + writer.WriteBooleanValue(OverrideValue.Value); + } + if (!string.IsNullOrEmpty(PathValue)) { writer.WritePropertyName("path"); diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/GeoGridProcessor.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/GeoGridProcessor.g.cs new file mode 100644 index 00000000000..a0b61667ffe --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/GeoGridProcessor.g.cs @@ -0,0 +1,1010 @@ +// 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 Elastic.Clients.Elasticsearch.Fluent; +using Elastic.Clients.Elasticsearch.Serialization; +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +namespace Elastic.Clients.Elasticsearch.Ingest; + +public sealed partial class GeoGridProcessor +{ + /// + /// + /// If specified and children tiles exist, save those tile addresses to this field as an array of strings. + /// + /// + [JsonInclude, JsonPropertyName("children_field")] + public Elastic.Clients.Elasticsearch.Field? ChildrenField { get; set; } + + /// + /// + /// Description of the processor. + /// Useful for describing the purpose of the processor or its configuration. + /// + /// + [JsonInclude, JsonPropertyName("description")] + public string? Description { get; set; } + + /// + /// + /// The field to interpret as a geo-tile.= + /// The field format is determined by the tile_type. + /// + /// + [JsonInclude, JsonPropertyName("field")] + public string Field { get; set; } + + /// + /// + /// Conditionally execute the processor. + /// + /// + [JsonInclude, JsonPropertyName("if")] + public string? If { get; set; } + + /// + /// + /// Ignore failures for the processor. + /// + /// + [JsonInclude, JsonPropertyName("ignore_failure")] + public bool? IgnoreFailure { get; set; } + + /// + /// + /// If true and field does not exist, the processor quietly exits without modifying the document. + /// + /// + [JsonInclude, JsonPropertyName("ignore_missing")] + public bool? IgnoreMissing { get; set; } + + /// + /// + /// If specified and intersecting non-child tiles exist, save their addresses to this field as an array of strings. + /// + /// + [JsonInclude, JsonPropertyName("non_children_field")] + public Elastic.Clients.Elasticsearch.Field? NonChildrenField { get; set; } + + /// + /// + /// Handle failures for the processor. + /// + /// + [JsonInclude, JsonPropertyName("on_failure")] + public ICollection? OnFailure { get; set; } + + /// + /// + /// If specified and a parent tile exists, save that tile address to this field. + /// + /// + [JsonInclude, JsonPropertyName("parent_field")] + public Elastic.Clients.Elasticsearch.Field? ParentField { get; set; } + + /// + /// + /// If specified, save the tile precision (zoom) as an integer to this field. + /// + /// + [JsonInclude, JsonPropertyName("precision_field")] + public Elastic.Clients.Elasticsearch.Field? PrecisionField { get; set; } + + /// + /// + /// Identifier for the processor. + /// Useful for debugging and metrics. + /// + /// + [JsonInclude, JsonPropertyName("tag")] + public string? Tag { get; set; } + + /// + /// + /// The field to assign the polygon shape to, by default, the field is updated in-place. + /// + /// + [JsonInclude, JsonPropertyName("target_field")] + public Elastic.Clients.Elasticsearch.Field? TargetField { get; set; } + + /// + /// + /// Which format to save the generated polygon in. + /// + /// + [JsonInclude, JsonPropertyName("target_format")] + public Elastic.Clients.Elasticsearch.Ingest.GeoGridTargetFormat? TargetFormat { get; set; } + + /// + /// + /// Three tile formats are understood: geohash, geotile and geohex. + /// + /// + [JsonInclude, JsonPropertyName("tile_type")] + public Elastic.Clients.Elasticsearch.Ingest.GeoGridTileType TileType { get; set; } + + public static implicit operator Elastic.Clients.Elasticsearch.Ingest.Processor(GeoGridProcessor geoGridProcessor) => Elastic.Clients.Elasticsearch.Ingest.Processor.GeoGrid(geoGridProcessor); +} + +public sealed partial class GeoGridProcessorDescriptor : SerializableDescriptor> +{ + internal GeoGridProcessorDescriptor(Action> configure) => configure.Invoke(this); + + public GeoGridProcessorDescriptor() : base() + { + } + + private Elastic.Clients.Elasticsearch.Field? ChildrenFieldValue { get; set; } + private string? DescriptionValue { get; set; } + private string FieldValue { get; set; } + private string? IfValue { get; set; } + private bool? IgnoreFailureValue { get; set; } + private bool? IgnoreMissingValue { get; set; } + private Elastic.Clients.Elasticsearch.Field? NonChildrenFieldValue { get; set; } + private ICollection? OnFailureValue { get; set; } + private Elastic.Clients.Elasticsearch.Ingest.ProcessorDescriptor OnFailureDescriptor { get; set; } + private Action> OnFailureDescriptorAction { get; set; } + private Action>[] OnFailureDescriptorActions { get; set; } + private Elastic.Clients.Elasticsearch.Field? ParentFieldValue { get; set; } + private Elastic.Clients.Elasticsearch.Field? PrecisionFieldValue { get; set; } + private string? TagValue { get; set; } + private Elastic.Clients.Elasticsearch.Field? TargetFieldValue { get; set; } + private Elastic.Clients.Elasticsearch.Ingest.GeoGridTargetFormat? TargetFormatValue { get; set; } + private Elastic.Clients.Elasticsearch.Ingest.GeoGridTileType TileTypeValue { get; set; } + + /// + /// + /// If specified and children tiles exist, save those tile addresses to this field as an array of strings. + /// + /// + public GeoGridProcessorDescriptor ChildrenField(Elastic.Clients.Elasticsearch.Field? childrenField) + { + ChildrenFieldValue = childrenField; + return Self; + } + + /// + /// + /// If specified and children tiles exist, save those tile addresses to this field as an array of strings. + /// + /// + public GeoGridProcessorDescriptor ChildrenField(Expression> childrenField) + { + ChildrenFieldValue = childrenField; + return Self; + } + + /// + /// + /// If specified and children tiles exist, save those tile addresses to this field as an array of strings. + /// + /// + public GeoGridProcessorDescriptor ChildrenField(Expression> childrenField) + { + ChildrenFieldValue = childrenField; + return Self; + } + + /// + /// + /// Description of the processor. + /// Useful for describing the purpose of the processor or its configuration. + /// + /// + public GeoGridProcessorDescriptor Description(string? description) + { + DescriptionValue = description; + return Self; + } + + /// + /// + /// The field to interpret as a geo-tile.= + /// The field format is determined by the tile_type. + /// + /// + public GeoGridProcessorDescriptor Field(string field) + { + FieldValue = field; + return Self; + } + + /// + /// + /// Conditionally execute the processor. + /// + /// + public GeoGridProcessorDescriptor If(string? value) + { + IfValue = value; + return Self; + } + + /// + /// + /// Ignore failures for the processor. + /// + /// + public GeoGridProcessorDescriptor IgnoreFailure(bool? ignoreFailure = true) + { + IgnoreFailureValue = ignoreFailure; + return Self; + } + + /// + /// + /// If true and field does not exist, the processor quietly exits without modifying the document. + /// + /// + public GeoGridProcessorDescriptor IgnoreMissing(bool? ignoreMissing = true) + { + IgnoreMissingValue = ignoreMissing; + return Self; + } + + /// + /// + /// If specified and intersecting non-child tiles exist, save their addresses to this field as an array of strings. + /// + /// + public GeoGridProcessorDescriptor NonChildrenField(Elastic.Clients.Elasticsearch.Field? nonChildrenField) + { + NonChildrenFieldValue = nonChildrenField; + return Self; + } + + /// + /// + /// If specified and intersecting non-child tiles exist, save their addresses to this field as an array of strings. + /// + /// + public GeoGridProcessorDescriptor NonChildrenField(Expression> nonChildrenField) + { + NonChildrenFieldValue = nonChildrenField; + return Self; + } + + /// + /// + /// If specified and intersecting non-child tiles exist, save their addresses to this field as an array of strings. + /// + /// + public GeoGridProcessorDescriptor NonChildrenField(Expression> nonChildrenField) + { + NonChildrenFieldValue = nonChildrenField; + return Self; + } + + /// + /// + /// Handle failures for the processor. + /// + /// + public GeoGridProcessorDescriptor OnFailure(ICollection? onFailure) + { + OnFailureDescriptor = null; + OnFailureDescriptorAction = null; + OnFailureDescriptorActions = null; + OnFailureValue = onFailure; + return Self; + } + + public GeoGridProcessorDescriptor OnFailure(Elastic.Clients.Elasticsearch.Ingest.ProcessorDescriptor descriptor) + { + OnFailureValue = null; + OnFailureDescriptorAction = null; + OnFailureDescriptorActions = null; + OnFailureDescriptor = descriptor; + return Self; + } + + public GeoGridProcessorDescriptor OnFailure(Action> configure) + { + OnFailureValue = null; + OnFailureDescriptor = null; + OnFailureDescriptorActions = null; + OnFailureDescriptorAction = configure; + return Self; + } + + public GeoGridProcessorDescriptor OnFailure(params Action>[] configure) + { + OnFailureValue = null; + OnFailureDescriptor = null; + OnFailureDescriptorAction = null; + OnFailureDescriptorActions = configure; + return Self; + } + + /// + /// + /// If specified and a parent tile exists, save that tile address to this field. + /// + /// + public GeoGridProcessorDescriptor ParentField(Elastic.Clients.Elasticsearch.Field? parentField) + { + ParentFieldValue = parentField; + return Self; + } + + /// + /// + /// If specified and a parent tile exists, save that tile address to this field. + /// + /// + public GeoGridProcessorDescriptor ParentField(Expression> parentField) + { + ParentFieldValue = parentField; + return Self; + } + + /// + /// + /// If specified and a parent tile exists, save that tile address to this field. + /// + /// + public GeoGridProcessorDescriptor ParentField(Expression> parentField) + { + ParentFieldValue = parentField; + return Self; + } + + /// + /// + /// If specified, save the tile precision (zoom) as an integer to this field. + /// + /// + public GeoGridProcessorDescriptor PrecisionField(Elastic.Clients.Elasticsearch.Field? precisionField) + { + PrecisionFieldValue = precisionField; + return Self; + } + + /// + /// + /// If specified, save the tile precision (zoom) as an integer to this field. + /// + /// + public GeoGridProcessorDescriptor PrecisionField(Expression> precisionField) + { + PrecisionFieldValue = precisionField; + return Self; + } + + /// + /// + /// If specified, save the tile precision (zoom) as an integer to this field. + /// + /// + public GeoGridProcessorDescriptor PrecisionField(Expression> precisionField) + { + PrecisionFieldValue = precisionField; + return Self; + } + + /// + /// + /// Identifier for the processor. + /// Useful for debugging and metrics. + /// + /// + public GeoGridProcessorDescriptor Tag(string? tag) + { + TagValue = tag; + return Self; + } + + /// + /// + /// The field to assign the polygon shape to, by default, the field is updated in-place. + /// + /// + public GeoGridProcessorDescriptor TargetField(Elastic.Clients.Elasticsearch.Field? targetField) + { + TargetFieldValue = targetField; + return Self; + } + + /// + /// + /// The field to assign the polygon shape to, by default, the field is updated in-place. + /// + /// + public GeoGridProcessorDescriptor TargetField(Expression> targetField) + { + TargetFieldValue = targetField; + return Self; + } + + /// + /// + /// The field to assign the polygon shape to, by default, the field is updated in-place. + /// + /// + public GeoGridProcessorDescriptor TargetField(Expression> targetField) + { + TargetFieldValue = targetField; + return Self; + } + + /// + /// + /// Which format to save the generated polygon in. + /// + /// + public GeoGridProcessorDescriptor TargetFormat(Elastic.Clients.Elasticsearch.Ingest.GeoGridTargetFormat? targetFormat) + { + TargetFormatValue = targetFormat; + return Self; + } + + /// + /// + /// Three tile formats are understood: geohash, geotile and geohex. + /// + /// + public GeoGridProcessorDescriptor TileType(Elastic.Clients.Elasticsearch.Ingest.GeoGridTileType tileType) + { + TileTypeValue = tileType; + return Self; + } + + protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) + { + writer.WriteStartObject(); + if (ChildrenFieldValue is not null) + { + writer.WritePropertyName("children_field"); + JsonSerializer.Serialize(writer, ChildrenFieldValue, options); + } + + if (!string.IsNullOrEmpty(DescriptionValue)) + { + writer.WritePropertyName("description"); + writer.WriteStringValue(DescriptionValue); + } + + writer.WritePropertyName("field"); + writer.WriteStringValue(FieldValue); + if (!string.IsNullOrEmpty(IfValue)) + { + writer.WritePropertyName("if"); + writer.WriteStringValue(IfValue); + } + + if (IgnoreFailureValue.HasValue) + { + writer.WritePropertyName("ignore_failure"); + writer.WriteBooleanValue(IgnoreFailureValue.Value); + } + + if (IgnoreMissingValue.HasValue) + { + writer.WritePropertyName("ignore_missing"); + writer.WriteBooleanValue(IgnoreMissingValue.Value); + } + + if (NonChildrenFieldValue is not null) + { + writer.WritePropertyName("non_children_field"); + JsonSerializer.Serialize(writer, NonChildrenFieldValue, options); + } + + if (OnFailureDescriptor is not null) + { + writer.WritePropertyName("on_failure"); + writer.WriteStartArray(); + JsonSerializer.Serialize(writer, OnFailureDescriptor, options); + writer.WriteEndArray(); + } + else if (OnFailureDescriptorAction is not null) + { + writer.WritePropertyName("on_failure"); + writer.WriteStartArray(); + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.Ingest.ProcessorDescriptor(OnFailureDescriptorAction), options); + writer.WriteEndArray(); + } + else if (OnFailureDescriptorActions is not null) + { + writer.WritePropertyName("on_failure"); + writer.WriteStartArray(); + foreach (var action in OnFailureDescriptorActions) + { + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.Ingest.ProcessorDescriptor(action), options); + } + + writer.WriteEndArray(); + } + else if (OnFailureValue is not null) + { + writer.WritePropertyName("on_failure"); + JsonSerializer.Serialize(writer, OnFailureValue, options); + } + + if (ParentFieldValue is not null) + { + writer.WritePropertyName("parent_field"); + JsonSerializer.Serialize(writer, ParentFieldValue, options); + } + + if (PrecisionFieldValue is not null) + { + writer.WritePropertyName("precision_field"); + JsonSerializer.Serialize(writer, PrecisionFieldValue, options); + } + + if (!string.IsNullOrEmpty(TagValue)) + { + writer.WritePropertyName("tag"); + writer.WriteStringValue(TagValue); + } + + if (TargetFieldValue is not null) + { + writer.WritePropertyName("target_field"); + JsonSerializer.Serialize(writer, TargetFieldValue, options); + } + + if (TargetFormatValue is not null) + { + writer.WritePropertyName("target_format"); + JsonSerializer.Serialize(writer, TargetFormatValue, options); + } + + writer.WritePropertyName("tile_type"); + JsonSerializer.Serialize(writer, TileTypeValue, options); + writer.WriteEndObject(); + } +} + +public sealed partial class GeoGridProcessorDescriptor : SerializableDescriptor +{ + internal GeoGridProcessorDescriptor(Action configure) => configure.Invoke(this); + + public GeoGridProcessorDescriptor() : base() + { + } + + private Elastic.Clients.Elasticsearch.Field? ChildrenFieldValue { get; set; } + private string? DescriptionValue { get; set; } + private string FieldValue { get; set; } + private string? IfValue { get; set; } + private bool? IgnoreFailureValue { get; set; } + private bool? IgnoreMissingValue { get; set; } + private Elastic.Clients.Elasticsearch.Field? NonChildrenFieldValue { get; set; } + private ICollection? OnFailureValue { get; set; } + private Elastic.Clients.Elasticsearch.Ingest.ProcessorDescriptor OnFailureDescriptor { get; set; } + private Action OnFailureDescriptorAction { get; set; } + private Action[] OnFailureDescriptorActions { get; set; } + private Elastic.Clients.Elasticsearch.Field? ParentFieldValue { get; set; } + private Elastic.Clients.Elasticsearch.Field? PrecisionFieldValue { get; set; } + private string? TagValue { get; set; } + private Elastic.Clients.Elasticsearch.Field? TargetFieldValue { get; set; } + private Elastic.Clients.Elasticsearch.Ingest.GeoGridTargetFormat? TargetFormatValue { get; set; } + private Elastic.Clients.Elasticsearch.Ingest.GeoGridTileType TileTypeValue { get; set; } + + /// + /// + /// If specified and children tiles exist, save those tile addresses to this field as an array of strings. + /// + /// + public GeoGridProcessorDescriptor ChildrenField(Elastic.Clients.Elasticsearch.Field? childrenField) + { + ChildrenFieldValue = childrenField; + return Self; + } + + /// + /// + /// If specified and children tiles exist, save those tile addresses to this field as an array of strings. + /// + /// + public GeoGridProcessorDescriptor ChildrenField(Expression> childrenField) + { + ChildrenFieldValue = childrenField; + return Self; + } + + /// + /// + /// If specified and children tiles exist, save those tile addresses to this field as an array of strings. + /// + /// + public GeoGridProcessorDescriptor ChildrenField(Expression> childrenField) + { + ChildrenFieldValue = childrenField; + return Self; + } + + /// + /// + /// Description of the processor. + /// Useful for describing the purpose of the processor or its configuration. + /// + /// + public GeoGridProcessorDescriptor Description(string? description) + { + DescriptionValue = description; + return Self; + } + + /// + /// + /// The field to interpret as a geo-tile.= + /// The field format is determined by the tile_type. + /// + /// + public GeoGridProcessorDescriptor Field(string field) + { + FieldValue = field; + return Self; + } + + /// + /// + /// Conditionally execute the processor. + /// + /// + public GeoGridProcessorDescriptor If(string? value) + { + IfValue = value; + return Self; + } + + /// + /// + /// Ignore failures for the processor. + /// + /// + public GeoGridProcessorDescriptor IgnoreFailure(bool? ignoreFailure = true) + { + IgnoreFailureValue = ignoreFailure; + return Self; + } + + /// + /// + /// If true and field does not exist, the processor quietly exits without modifying the document. + /// + /// + public GeoGridProcessorDescriptor IgnoreMissing(bool? ignoreMissing = true) + { + IgnoreMissingValue = ignoreMissing; + return Self; + } + + /// + /// + /// If specified and intersecting non-child tiles exist, save their addresses to this field as an array of strings. + /// + /// + public GeoGridProcessorDescriptor NonChildrenField(Elastic.Clients.Elasticsearch.Field? nonChildrenField) + { + NonChildrenFieldValue = nonChildrenField; + return Self; + } + + /// + /// + /// If specified and intersecting non-child tiles exist, save their addresses to this field as an array of strings. + /// + /// + public GeoGridProcessorDescriptor NonChildrenField(Expression> nonChildrenField) + { + NonChildrenFieldValue = nonChildrenField; + return Self; + } + + /// + /// + /// If specified and intersecting non-child tiles exist, save their addresses to this field as an array of strings. + /// + /// + public GeoGridProcessorDescriptor NonChildrenField(Expression> nonChildrenField) + { + NonChildrenFieldValue = nonChildrenField; + return Self; + } + + /// + /// + /// Handle failures for the processor. + /// + /// + public GeoGridProcessorDescriptor OnFailure(ICollection? onFailure) + { + OnFailureDescriptor = null; + OnFailureDescriptorAction = null; + OnFailureDescriptorActions = null; + OnFailureValue = onFailure; + return Self; + } + + public GeoGridProcessorDescriptor OnFailure(Elastic.Clients.Elasticsearch.Ingest.ProcessorDescriptor descriptor) + { + OnFailureValue = null; + OnFailureDescriptorAction = null; + OnFailureDescriptorActions = null; + OnFailureDescriptor = descriptor; + return Self; + } + + public GeoGridProcessorDescriptor OnFailure(Action configure) + { + OnFailureValue = null; + OnFailureDescriptor = null; + OnFailureDescriptorActions = null; + OnFailureDescriptorAction = configure; + return Self; + } + + public GeoGridProcessorDescriptor OnFailure(params Action[] configure) + { + OnFailureValue = null; + OnFailureDescriptor = null; + OnFailureDescriptorAction = null; + OnFailureDescriptorActions = configure; + return Self; + } + + /// + /// + /// If specified and a parent tile exists, save that tile address to this field. + /// + /// + public GeoGridProcessorDescriptor ParentField(Elastic.Clients.Elasticsearch.Field? parentField) + { + ParentFieldValue = parentField; + return Self; + } + + /// + /// + /// If specified and a parent tile exists, save that tile address to this field. + /// + /// + public GeoGridProcessorDescriptor ParentField(Expression> parentField) + { + ParentFieldValue = parentField; + return Self; + } + + /// + /// + /// If specified and a parent tile exists, save that tile address to this field. + /// + /// + public GeoGridProcessorDescriptor ParentField(Expression> parentField) + { + ParentFieldValue = parentField; + return Self; + } + + /// + /// + /// If specified, save the tile precision (zoom) as an integer to this field. + /// + /// + public GeoGridProcessorDescriptor PrecisionField(Elastic.Clients.Elasticsearch.Field? precisionField) + { + PrecisionFieldValue = precisionField; + return Self; + } + + /// + /// + /// If specified, save the tile precision (zoom) as an integer to this field. + /// + /// + public GeoGridProcessorDescriptor PrecisionField(Expression> precisionField) + { + PrecisionFieldValue = precisionField; + return Self; + } + + /// + /// + /// If specified, save the tile precision (zoom) as an integer to this field. + /// + /// + public GeoGridProcessorDescriptor PrecisionField(Expression> precisionField) + { + PrecisionFieldValue = precisionField; + return Self; + } + + /// + /// + /// Identifier for the processor. + /// Useful for debugging and metrics. + /// + /// + public GeoGridProcessorDescriptor Tag(string? tag) + { + TagValue = tag; + return Self; + } + + /// + /// + /// The field to assign the polygon shape to, by default, the field is updated in-place. + /// + /// + public GeoGridProcessorDescriptor TargetField(Elastic.Clients.Elasticsearch.Field? targetField) + { + TargetFieldValue = targetField; + return Self; + } + + /// + /// + /// The field to assign the polygon shape to, by default, the field is updated in-place. + /// + /// + public GeoGridProcessorDescriptor TargetField(Expression> targetField) + { + TargetFieldValue = targetField; + return Self; + } + + /// + /// + /// The field to assign the polygon shape to, by default, the field is updated in-place. + /// + /// + public GeoGridProcessorDescriptor TargetField(Expression> targetField) + { + TargetFieldValue = targetField; + return Self; + } + + /// + /// + /// Which format to save the generated polygon in. + /// + /// + public GeoGridProcessorDescriptor TargetFormat(Elastic.Clients.Elasticsearch.Ingest.GeoGridTargetFormat? targetFormat) + { + TargetFormatValue = targetFormat; + return Self; + } + + /// + /// + /// Three tile formats are understood: geohash, geotile and geohex. + /// + /// + public GeoGridProcessorDescriptor TileType(Elastic.Clients.Elasticsearch.Ingest.GeoGridTileType tileType) + { + TileTypeValue = tileType; + return Self; + } + + protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) + { + writer.WriteStartObject(); + if (ChildrenFieldValue is not null) + { + writer.WritePropertyName("children_field"); + JsonSerializer.Serialize(writer, ChildrenFieldValue, options); + } + + if (!string.IsNullOrEmpty(DescriptionValue)) + { + writer.WritePropertyName("description"); + writer.WriteStringValue(DescriptionValue); + } + + writer.WritePropertyName("field"); + writer.WriteStringValue(FieldValue); + if (!string.IsNullOrEmpty(IfValue)) + { + writer.WritePropertyName("if"); + writer.WriteStringValue(IfValue); + } + + if (IgnoreFailureValue.HasValue) + { + writer.WritePropertyName("ignore_failure"); + writer.WriteBooleanValue(IgnoreFailureValue.Value); + } + + if (IgnoreMissingValue.HasValue) + { + writer.WritePropertyName("ignore_missing"); + writer.WriteBooleanValue(IgnoreMissingValue.Value); + } + + if (NonChildrenFieldValue is not null) + { + writer.WritePropertyName("non_children_field"); + JsonSerializer.Serialize(writer, NonChildrenFieldValue, options); + } + + if (OnFailureDescriptor is not null) + { + writer.WritePropertyName("on_failure"); + writer.WriteStartArray(); + JsonSerializer.Serialize(writer, OnFailureDescriptor, options); + writer.WriteEndArray(); + } + else if (OnFailureDescriptorAction is not null) + { + writer.WritePropertyName("on_failure"); + writer.WriteStartArray(); + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.Ingest.ProcessorDescriptor(OnFailureDescriptorAction), options); + writer.WriteEndArray(); + } + else if (OnFailureDescriptorActions is not null) + { + writer.WritePropertyName("on_failure"); + writer.WriteStartArray(); + foreach (var action in OnFailureDescriptorActions) + { + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.Ingest.ProcessorDescriptor(action), options); + } + + writer.WriteEndArray(); + } + else if (OnFailureValue is not null) + { + writer.WritePropertyName("on_failure"); + JsonSerializer.Serialize(writer, OnFailureValue, options); + } + + if (ParentFieldValue is not null) + { + writer.WritePropertyName("parent_field"); + JsonSerializer.Serialize(writer, ParentFieldValue, options); + } + + if (PrecisionFieldValue is not null) + { + writer.WritePropertyName("precision_field"); + JsonSerializer.Serialize(writer, PrecisionFieldValue, options); + } + + if (!string.IsNullOrEmpty(TagValue)) + { + writer.WritePropertyName("tag"); + writer.WriteStringValue(TagValue); + } + + if (TargetFieldValue is not null) + { + writer.WritePropertyName("target_field"); + JsonSerializer.Serialize(writer, TargetFieldValue, options); + } + + if (TargetFormatValue is not null) + { + writer.WritePropertyName("target_format"); + JsonSerializer.Serialize(writer, TargetFormatValue, options); + } + + writer.WritePropertyName("tile_type"); + JsonSerializer.Serialize(writer, TileTypeValue, options); + writer.WriteEndObject(); + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/GeoIpProcessor.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/GeoIpProcessor.g.cs index dcb30a270f1..db9452f8ded 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/GeoIpProcessor.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/GeoIpProcessor.g.cs @@ -46,6 +46,15 @@ public sealed partial class GeoIpProcessor [JsonInclude, JsonPropertyName("description")] public string? Description { get; set; } + /// + /// + /// If true (and if ingest.geoip.downloader.eager.download is false), the missing database is downloaded when the pipeline is created. + /// Else, the download is triggered by when the pipeline is used as the default_pipeline or final_pipeline in an index. + /// + /// + [JsonInclude, JsonPropertyName("download_database_on_pipeline_creation")] + public bool? DownloadDatabaseOnPipelineCreation { get; set; } + /// /// /// The field to get the ip address from for the geographical lookup. @@ -132,6 +141,7 @@ public GeoIpProcessorDescriptor() : base() private string? DatabaseFileValue { get; set; } private string? DescriptionValue { get; set; } + private bool? DownloadDatabaseOnPipelineCreationValue { get; set; } private Elastic.Clients.Elasticsearch.Field FieldValue { get; set; } private bool? FirstOnlyValue { get; set; } private string? IfValue { get; set; } @@ -168,6 +178,18 @@ public GeoIpProcessorDescriptor Description(string? description) return Self; } + /// + /// + /// If true (and if ingest.geoip.downloader.eager.download is false), the missing database is downloaded when the pipeline is created. + /// Else, the download is triggered by when the pipeline is used as the default_pipeline or final_pipeline in an index. + /// + /// + public GeoIpProcessorDescriptor DownloadDatabaseOnPipelineCreation(bool? downloadDatabaseOnPipelineCreation = true) + { + DownloadDatabaseOnPipelineCreationValue = downloadDatabaseOnPipelineCreation; + return Self; + } + /// /// /// The field to get the ip address from for the geographical lookup. @@ -357,6 +379,12 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o writer.WriteStringValue(DescriptionValue); } + if (DownloadDatabaseOnPipelineCreationValue.HasValue) + { + writer.WritePropertyName("download_database_on_pipeline_creation"); + writer.WriteBooleanValue(DownloadDatabaseOnPipelineCreationValue.Value); + } + writer.WritePropertyName("field"); JsonSerializer.Serialize(writer, FieldValue, options); if (FirstOnlyValue.HasValue) @@ -446,6 +474,7 @@ public GeoIpProcessorDescriptor() : base() private string? DatabaseFileValue { get; set; } private string? DescriptionValue { get; set; } + private bool? DownloadDatabaseOnPipelineCreationValue { get; set; } private Elastic.Clients.Elasticsearch.Field FieldValue { get; set; } private bool? FirstOnlyValue { get; set; } private string? IfValue { get; set; } @@ -482,6 +511,18 @@ public GeoIpProcessorDescriptor Description(string? description) return Self; } + /// + /// + /// If true (and if ingest.geoip.downloader.eager.download is false), the missing database is downloaded when the pipeline is created. + /// Else, the download is triggered by when the pipeline is used as the default_pipeline or final_pipeline in an index. + /// + /// + public GeoIpProcessorDescriptor DownloadDatabaseOnPipelineCreation(bool? downloadDatabaseOnPipelineCreation = true) + { + DownloadDatabaseOnPipelineCreationValue = downloadDatabaseOnPipelineCreation; + return Self; + } + /// /// /// The field to get the ip address from for the geographical lookup. @@ -671,6 +712,12 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o writer.WriteStringValue(DescriptionValue); } + if (DownloadDatabaseOnPipelineCreationValue.HasValue) + { + writer.WritePropertyName("download_database_on_pipeline_creation"); + writer.WriteBooleanValue(DownloadDatabaseOnPipelineCreationValue.Value); + } + writer.WritePropertyName("field"); JsonSerializer.Serialize(writer, FieldValue, options); if (FirstOnlyValue.HasValue) diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/Pipeline.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/Pipeline.g.cs index 70279bc35bc..4d32454100b 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/Pipeline.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/Pipeline.g.cs @@ -29,6 +29,15 @@ namespace Elastic.Clients.Elasticsearch.Ingest; public sealed partial class Pipeline { + /// + /// + /// Marks this ingest pipeline as deprecated. + /// When a deprecated ingest pipeline is referenced as the default or final pipeline when creating or updating a non-deprecated index template, Elasticsearch will emit a deprecation warning. + /// + /// + [JsonInclude, JsonPropertyName("deprecated")] + public bool? Deprecated { get; set; } + /// /// /// Description of the ingest pipeline. @@ -79,6 +88,7 @@ public PipelineDescriptor() : base() { } + private bool? DeprecatedValue { get; set; } private string? DescriptionValue { get; set; } private IDictionary? MetaValue { get; set; } private ICollection? OnFailureValue { get; set; } @@ -91,6 +101,18 @@ public PipelineDescriptor() : base() private Action>[] ProcessorsDescriptorActions { get; set; } private long? VersionValue { get; set; } + /// + /// + /// Marks this ingest pipeline as deprecated. + /// When a deprecated ingest pipeline is referenced as the default or final pipeline when creating or updating a non-deprecated index template, Elasticsearch will emit a deprecation warning. + /// + /// + public PipelineDescriptor Deprecated(bool? deprecated = true) + { + DeprecatedValue = deprecated; + return Self; + } + /// /// /// Description of the ingest pipeline. @@ -210,6 +232,12 @@ public PipelineDescriptor Version(long? version) protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) { writer.WriteStartObject(); + if (DeprecatedValue.HasValue) + { + writer.WritePropertyName("deprecated"); + writer.WriteBooleanValue(DeprecatedValue.Value); + } + if (!string.IsNullOrEmpty(DescriptionValue)) { writer.WritePropertyName("description"); @@ -302,6 +330,7 @@ public PipelineDescriptor() : base() { } + private bool? DeprecatedValue { get; set; } private string? DescriptionValue { get; set; } private IDictionary? MetaValue { get; set; } private ICollection? OnFailureValue { get; set; } @@ -314,6 +343,18 @@ public PipelineDescriptor() : base() private Action[] ProcessorsDescriptorActions { get; set; } private long? VersionValue { get; set; } + /// + /// + /// Marks this ingest pipeline as deprecated. + /// When a deprecated ingest pipeline is referenced as the default or final pipeline when creating or updating a non-deprecated index template, Elasticsearch will emit a deprecation warning. + /// + /// + public PipelineDescriptor Deprecated(bool? deprecated = true) + { + DeprecatedValue = deprecated; + return Self; + } + /// /// /// Description of the ingest pipeline. @@ -433,6 +474,12 @@ public PipelineDescriptor Version(long? version) protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) { writer.WriteStartObject(); + if (DeprecatedValue.HasValue) + { + writer.WritePropertyName("deprecated"); + writer.WriteBooleanValue(DeprecatedValue.Value); + } + if (!string.IsNullOrEmpty(DescriptionValue)) { writer.WritePropertyName("description"); diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/Processor.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/Processor.g.cs index 5ee61318923..0df789b01d2 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/Processor.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/Processor.g.cs @@ -60,6 +60,7 @@ internal Processor(string variantName, object variant) public static Processor Enrich(Elastic.Clients.Elasticsearch.Ingest.EnrichProcessor enrichProcessor) => new Processor("enrich", enrichProcessor); public static Processor Fail(Elastic.Clients.Elasticsearch.Ingest.FailProcessor failProcessor) => new Processor("fail", failProcessor); public static Processor Foreach(Elastic.Clients.Elasticsearch.Ingest.ForeachProcessor foreachProcessor) => new Processor("foreach", foreachProcessor); + public static Processor GeoGrid(Elastic.Clients.Elasticsearch.Ingest.GeoGridProcessor geoGridProcessor) => new Processor("geo_grid", geoGridProcessor); public static Processor Geoip(Elastic.Clients.Elasticsearch.Ingest.GeoIpProcessor geoIpProcessor) => new Processor("geoip", geoIpProcessor); public static Processor Grok(Elastic.Clients.Elasticsearch.Ingest.GrokProcessor grokProcessor) => new Processor("grok", grokProcessor); public static Processor Gsub(Elastic.Clients.Elasticsearch.Ingest.GsubProcessor gsubProcessor) => new Processor("gsub", gsubProcessor); @@ -70,6 +71,7 @@ internal Processor(string variantName, object variant) public static Processor Kv(Elastic.Clients.Elasticsearch.Ingest.KeyValueProcessor keyValueProcessor) => new Processor("kv", keyValueProcessor); public static Processor Lowercase(Elastic.Clients.Elasticsearch.Ingest.LowercaseProcessor lowercaseProcessor) => new Processor("lowercase", lowercaseProcessor); public static Processor Pipeline(Elastic.Clients.Elasticsearch.Ingest.PipelineProcessor pipelineProcessor) => new Processor("pipeline", pipelineProcessor); + public static Processor Redact(Elastic.Clients.Elasticsearch.Ingest.RedactProcessor redactProcessor) => new Processor("redact", redactProcessor); public static Processor Remove(Elastic.Clients.Elasticsearch.Ingest.RemoveProcessor removeProcessor) => new Processor("remove", removeProcessor); public static Processor Rename(Elastic.Clients.Elasticsearch.Ingest.RenameProcessor renameProcessor) => new Processor("rename", renameProcessor); public static Processor Reroute(Elastic.Clients.Elasticsearch.Ingest.RerouteProcessor rerouteProcessor) => new Processor("reroute", rerouteProcessor); @@ -220,6 +222,13 @@ public override Processor Read(ref Utf8JsonReader reader, Type typeToConvert, Js continue; } + if (propertyName == "geo_grid") + { + variantValue = JsonSerializer.Deserialize(ref reader, options); + variantNameValue = propertyName; + continue; + } + if (propertyName == "geoip") { variantValue = JsonSerializer.Deserialize(ref reader, options); @@ -290,6 +299,13 @@ public override Processor Read(ref Utf8JsonReader reader, Type typeToConvert, Js continue; } + if (propertyName == "redact") + { + variantValue = JsonSerializer.Deserialize(ref reader, options); + variantNameValue = propertyName; + continue; + } + if (propertyName == "remove") { variantValue = JsonSerializer.Deserialize(ref reader, options); @@ -438,6 +454,9 @@ public override void Write(Utf8JsonWriter writer, Processor value, JsonSerialize case "foreach": JsonSerializer.Serialize(writer, (Elastic.Clients.Elasticsearch.Ingest.ForeachProcessor)value.Variant, options); break; + case "geo_grid": + JsonSerializer.Serialize(writer, (Elastic.Clients.Elasticsearch.Ingest.GeoGridProcessor)value.Variant, options); + break; case "geoip": JsonSerializer.Serialize(writer, (Elastic.Clients.Elasticsearch.Ingest.GeoIpProcessor)value.Variant, options); break; @@ -468,6 +487,9 @@ public override void Write(Utf8JsonWriter writer, Processor value, JsonSerialize case "pipeline": JsonSerializer.Serialize(writer, (Elastic.Clients.Elasticsearch.Ingest.PipelineProcessor)value.Variant, options); break; + case "redact": + JsonSerializer.Serialize(writer, (Elastic.Clients.Elasticsearch.Ingest.RedactProcessor)value.Variant, options); + break; case "remove": JsonSerializer.Serialize(writer, (Elastic.Clients.Elasticsearch.Ingest.RemoveProcessor)value.Variant, options); break; @@ -573,6 +595,8 @@ private ProcessorDescriptor Set(object variant, string variantName) public ProcessorDescriptor Fail(Action> configure) => Set(configure, "fail"); public ProcessorDescriptor Foreach(Elastic.Clients.Elasticsearch.Ingest.ForeachProcessor foreachProcessor) => Set(foreachProcessor, "foreach"); public ProcessorDescriptor Foreach(Action> configure) => Set(configure, "foreach"); + public ProcessorDescriptor GeoGrid(Elastic.Clients.Elasticsearch.Ingest.GeoGridProcessor geoGridProcessor) => Set(geoGridProcessor, "geo_grid"); + public ProcessorDescriptor GeoGrid(Action> configure) => Set(configure, "geo_grid"); public ProcessorDescriptor Geoip(Elastic.Clients.Elasticsearch.Ingest.GeoIpProcessor geoIpProcessor) => Set(geoIpProcessor, "geoip"); public ProcessorDescriptor Geoip(Action> configure) => Set(configure, "geoip"); public ProcessorDescriptor Grok(Elastic.Clients.Elasticsearch.Ingest.GrokProcessor grokProcessor) => Set(grokProcessor, "grok"); @@ -593,6 +617,8 @@ private ProcessorDescriptor Set(object variant, string variantName) public ProcessorDescriptor Lowercase(Action> configure) => Set(configure, "lowercase"); public ProcessorDescriptor Pipeline(Elastic.Clients.Elasticsearch.Ingest.PipelineProcessor pipelineProcessor) => Set(pipelineProcessor, "pipeline"); public ProcessorDescriptor Pipeline(Action> configure) => Set(configure, "pipeline"); + public ProcessorDescriptor Redact(Elastic.Clients.Elasticsearch.Ingest.RedactProcessor redactProcessor) => Set(redactProcessor, "redact"); + public ProcessorDescriptor Redact(Action> configure) => Set(configure, "redact"); public ProcessorDescriptor Remove(Elastic.Clients.Elasticsearch.Ingest.RemoveProcessor removeProcessor) => Set(removeProcessor, "remove"); public ProcessorDescriptor Remove(Action> configure) => Set(configure, "remove"); public ProcessorDescriptor Rename(Elastic.Clients.Elasticsearch.Ingest.RenameProcessor renameProcessor) => Set(renameProcessor, "rename"); @@ -699,6 +725,8 @@ private ProcessorDescriptor Set(object variant, string variantName) public ProcessorDescriptor Fail(Action configure) => Set(configure, "fail"); public ProcessorDescriptor Foreach(Elastic.Clients.Elasticsearch.Ingest.ForeachProcessor foreachProcessor) => Set(foreachProcessor, "foreach"); public ProcessorDescriptor Foreach(Action configure) => Set(configure, "foreach"); + public ProcessorDescriptor GeoGrid(Elastic.Clients.Elasticsearch.Ingest.GeoGridProcessor geoGridProcessor) => Set(geoGridProcessor, "geo_grid"); + public ProcessorDescriptor GeoGrid(Action configure) => Set(configure, "geo_grid"); public ProcessorDescriptor Geoip(Elastic.Clients.Elasticsearch.Ingest.GeoIpProcessor geoIpProcessor) => Set(geoIpProcessor, "geoip"); public ProcessorDescriptor Geoip(Action configure) => Set(configure, "geoip"); public ProcessorDescriptor Grok(Elastic.Clients.Elasticsearch.Ingest.GrokProcessor grokProcessor) => Set(grokProcessor, "grok"); @@ -719,6 +747,8 @@ private ProcessorDescriptor Set(object variant, string variantName) public ProcessorDescriptor Lowercase(Action configure) => Set(configure, "lowercase"); public ProcessorDescriptor Pipeline(Elastic.Clients.Elasticsearch.Ingest.PipelineProcessor pipelineProcessor) => Set(pipelineProcessor, "pipeline"); public ProcessorDescriptor Pipeline(Action configure) => Set(configure, "pipeline"); + public ProcessorDescriptor Redact(Elastic.Clients.Elasticsearch.Ingest.RedactProcessor redactProcessor) => Set(redactProcessor, "redact"); + public ProcessorDescriptor Redact(Action configure) => Set(configure, "redact"); public ProcessorDescriptor Remove(Elastic.Clients.Elasticsearch.Ingest.RemoveProcessor removeProcessor) => Set(removeProcessor, "remove"); public ProcessorDescriptor Remove(Action configure) => Set(configure, "remove"); public ProcessorDescriptor Rename(Elastic.Clients.Elasticsearch.Ingest.RenameProcessor renameProcessor) => Set(renameProcessor, "rename"); diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/RedactProcessor.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/RedactProcessor.g.cs new file mode 100644 index 00000000000..d5254f4b816 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/RedactProcessor.g.cs @@ -0,0 +1,727 @@ +// 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 Elastic.Clients.Elasticsearch.Fluent; +using Elastic.Clients.Elasticsearch.Serialization; +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +namespace Elastic.Clients.Elasticsearch.Ingest; + +public sealed partial class RedactProcessor +{ + /// + /// + /// Description of the processor. + /// Useful for describing the purpose of the processor or its configuration. + /// + /// + [JsonInclude, JsonPropertyName("description")] + public string? Description { get; set; } + + /// + /// + /// The field to be redacted + /// + /// + [JsonInclude, JsonPropertyName("field")] + public Elastic.Clients.Elasticsearch.Field Field { get; set; } + + /// + /// + /// Conditionally execute the processor. + /// + /// + [JsonInclude, JsonPropertyName("if")] + public string? If { get; set; } + + /// + /// + /// Ignore failures for the processor. + /// + /// + [JsonInclude, JsonPropertyName("ignore_failure")] + public bool? IgnoreFailure { get; set; } + + /// + /// + /// If true and field does not exist or is null, the processor quietly exits without modifying the document. + /// + /// + [JsonInclude, JsonPropertyName("ignore_missing")] + public bool? IgnoreMissing { get; set; } + + /// + /// + /// Handle failures for the processor. + /// + /// + [JsonInclude, JsonPropertyName("on_failure")] + public ICollection? OnFailure { get; set; } + [JsonInclude, JsonPropertyName("pattern_definitions")] + public IDictionary? PatternDefinitions { get; set; } + + /// + /// + /// A list of grok expressions to match and redact named captures with + /// + /// + [JsonInclude, JsonPropertyName("patterns")] + public ICollection Patterns { get; set; } + + /// + /// + /// Start a redacted section with this token + /// + /// + [JsonInclude, JsonPropertyName("prefix")] + public string? Prefix { get; set; } + + /// + /// + /// If true and the current license does not support running redact processors, then the processor quietly exits without modifying the document + /// + /// + [JsonInclude, JsonPropertyName("skip_if_unlicensed")] + public bool? SkipIfUnlicensed { get; set; } + + /// + /// + /// End a redacted section with this token + /// + /// + [JsonInclude, JsonPropertyName("suffix")] + public string? Suffix { get; set; } + + /// + /// + /// Identifier for the processor. + /// Useful for debugging and metrics. + /// + /// + [JsonInclude, JsonPropertyName("tag")] + public string? Tag { get; set; } + + public static implicit operator Elastic.Clients.Elasticsearch.Ingest.Processor(RedactProcessor redactProcessor) => Elastic.Clients.Elasticsearch.Ingest.Processor.Redact(redactProcessor); +} + +public sealed partial class RedactProcessorDescriptor : SerializableDescriptor> +{ + internal RedactProcessorDescriptor(Action> configure) => configure.Invoke(this); + + public RedactProcessorDescriptor() : base() + { + } + + private string? DescriptionValue { get; set; } + private Elastic.Clients.Elasticsearch.Field FieldValue { get; set; } + private string? IfValue { get; set; } + private bool? IgnoreFailureValue { get; set; } + private bool? IgnoreMissingValue { get; set; } + private ICollection? OnFailureValue { get; set; } + private Elastic.Clients.Elasticsearch.Ingest.ProcessorDescriptor OnFailureDescriptor { get; set; } + private Action> OnFailureDescriptorAction { get; set; } + private Action>[] OnFailureDescriptorActions { get; set; } + private IDictionary? PatternDefinitionsValue { get; set; } + private ICollection PatternsValue { get; set; } + private string? PrefixValue { get; set; } + private bool? SkipIfUnlicensedValue { get; set; } + private string? SuffixValue { get; set; } + private string? TagValue { get; set; } + + /// + /// + /// Description of the processor. + /// Useful for describing the purpose of the processor or its configuration. + /// + /// + public RedactProcessorDescriptor Description(string? description) + { + DescriptionValue = description; + return Self; + } + + /// + /// + /// The field to be redacted + /// + /// + public RedactProcessorDescriptor Field(Elastic.Clients.Elasticsearch.Field field) + { + FieldValue = field; + return Self; + } + + /// + /// + /// The field to be redacted + /// + /// + public RedactProcessorDescriptor Field(Expression> field) + { + FieldValue = field; + return Self; + } + + /// + /// + /// The field to be redacted + /// + /// + public RedactProcessorDescriptor Field(Expression> field) + { + FieldValue = field; + return Self; + } + + /// + /// + /// Conditionally execute the processor. + /// + /// + public RedactProcessorDescriptor If(string? value) + { + IfValue = value; + return Self; + } + + /// + /// + /// Ignore failures for the processor. + /// + /// + public RedactProcessorDescriptor IgnoreFailure(bool? ignoreFailure = true) + { + IgnoreFailureValue = ignoreFailure; + return Self; + } + + /// + /// + /// If true and field does not exist or is null, the processor quietly exits without modifying the document. + /// + /// + public RedactProcessorDescriptor IgnoreMissing(bool? ignoreMissing = true) + { + IgnoreMissingValue = ignoreMissing; + return Self; + } + + /// + /// + /// Handle failures for the processor. + /// + /// + public RedactProcessorDescriptor OnFailure(ICollection? onFailure) + { + OnFailureDescriptor = null; + OnFailureDescriptorAction = null; + OnFailureDescriptorActions = null; + OnFailureValue = onFailure; + return Self; + } + + public RedactProcessorDescriptor OnFailure(Elastic.Clients.Elasticsearch.Ingest.ProcessorDescriptor descriptor) + { + OnFailureValue = null; + OnFailureDescriptorAction = null; + OnFailureDescriptorActions = null; + OnFailureDescriptor = descriptor; + return Self; + } + + public RedactProcessorDescriptor OnFailure(Action> configure) + { + OnFailureValue = null; + OnFailureDescriptor = null; + OnFailureDescriptorActions = null; + OnFailureDescriptorAction = configure; + return Self; + } + + public RedactProcessorDescriptor OnFailure(params Action>[] configure) + { + OnFailureValue = null; + OnFailureDescriptor = null; + OnFailureDescriptorAction = null; + OnFailureDescriptorActions = configure; + return Self; + } + + public RedactProcessorDescriptor PatternDefinitions(Func, FluentDictionary> selector) + { + PatternDefinitionsValue = selector?.Invoke(new FluentDictionary()); + return Self; + } + + /// + /// + /// A list of grok expressions to match and redact named captures with + /// + /// + public RedactProcessorDescriptor Patterns(ICollection patterns) + { + PatternsValue = patterns; + return Self; + } + + /// + /// + /// Start a redacted section with this token + /// + /// + public RedactProcessorDescriptor Prefix(string? prefix) + { + PrefixValue = prefix; + return Self; + } + + /// + /// + /// If true and the current license does not support running redact processors, then the processor quietly exits without modifying the document + /// + /// + public RedactProcessorDescriptor SkipIfUnlicensed(bool? skipIfUnlicensed = true) + { + SkipIfUnlicensedValue = skipIfUnlicensed; + return Self; + } + + /// + /// + /// End a redacted section with this token + /// + /// + public RedactProcessorDescriptor Suffix(string? suffix) + { + SuffixValue = suffix; + return Self; + } + + /// + /// + /// Identifier for the processor. + /// Useful for debugging and metrics. + /// + /// + public RedactProcessorDescriptor Tag(string? tag) + { + TagValue = tag; + return Self; + } + + protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) + { + writer.WriteStartObject(); + if (!string.IsNullOrEmpty(DescriptionValue)) + { + writer.WritePropertyName("description"); + writer.WriteStringValue(DescriptionValue); + } + + writer.WritePropertyName("field"); + JsonSerializer.Serialize(writer, FieldValue, options); + if (!string.IsNullOrEmpty(IfValue)) + { + writer.WritePropertyName("if"); + writer.WriteStringValue(IfValue); + } + + if (IgnoreFailureValue.HasValue) + { + writer.WritePropertyName("ignore_failure"); + writer.WriteBooleanValue(IgnoreFailureValue.Value); + } + + if (IgnoreMissingValue.HasValue) + { + writer.WritePropertyName("ignore_missing"); + writer.WriteBooleanValue(IgnoreMissingValue.Value); + } + + if (OnFailureDescriptor is not null) + { + writer.WritePropertyName("on_failure"); + writer.WriteStartArray(); + JsonSerializer.Serialize(writer, OnFailureDescriptor, options); + writer.WriteEndArray(); + } + else if (OnFailureDescriptorAction is not null) + { + writer.WritePropertyName("on_failure"); + writer.WriteStartArray(); + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.Ingest.ProcessorDescriptor(OnFailureDescriptorAction), options); + writer.WriteEndArray(); + } + else if (OnFailureDescriptorActions is not null) + { + writer.WritePropertyName("on_failure"); + writer.WriteStartArray(); + foreach (var action in OnFailureDescriptorActions) + { + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.Ingest.ProcessorDescriptor(action), options); + } + + writer.WriteEndArray(); + } + else if (OnFailureValue is not null) + { + writer.WritePropertyName("on_failure"); + JsonSerializer.Serialize(writer, OnFailureValue, options); + } + + if (PatternDefinitionsValue is not null) + { + writer.WritePropertyName("pattern_definitions"); + JsonSerializer.Serialize(writer, PatternDefinitionsValue, options); + } + + writer.WritePropertyName("patterns"); + JsonSerializer.Serialize(writer, PatternsValue, options); + if (!string.IsNullOrEmpty(PrefixValue)) + { + writer.WritePropertyName("prefix"); + writer.WriteStringValue(PrefixValue); + } + + if (SkipIfUnlicensedValue.HasValue) + { + writer.WritePropertyName("skip_if_unlicensed"); + writer.WriteBooleanValue(SkipIfUnlicensedValue.Value); + } + + if (!string.IsNullOrEmpty(SuffixValue)) + { + writer.WritePropertyName("suffix"); + writer.WriteStringValue(SuffixValue); + } + + if (!string.IsNullOrEmpty(TagValue)) + { + writer.WritePropertyName("tag"); + writer.WriteStringValue(TagValue); + } + + writer.WriteEndObject(); + } +} + +public sealed partial class RedactProcessorDescriptor : SerializableDescriptor +{ + internal RedactProcessorDescriptor(Action configure) => configure.Invoke(this); + + public RedactProcessorDescriptor() : base() + { + } + + private string? DescriptionValue { get; set; } + private Elastic.Clients.Elasticsearch.Field FieldValue { get; set; } + private string? IfValue { get; set; } + private bool? IgnoreFailureValue { get; set; } + private bool? IgnoreMissingValue { get; set; } + private ICollection? OnFailureValue { get; set; } + private Elastic.Clients.Elasticsearch.Ingest.ProcessorDescriptor OnFailureDescriptor { get; set; } + private Action OnFailureDescriptorAction { get; set; } + private Action[] OnFailureDescriptorActions { get; set; } + private IDictionary? PatternDefinitionsValue { get; set; } + private ICollection PatternsValue { get; set; } + private string? PrefixValue { get; set; } + private bool? SkipIfUnlicensedValue { get; set; } + private string? SuffixValue { get; set; } + private string? TagValue { get; set; } + + /// + /// + /// Description of the processor. + /// Useful for describing the purpose of the processor or its configuration. + /// + /// + public RedactProcessorDescriptor Description(string? description) + { + DescriptionValue = description; + return Self; + } + + /// + /// + /// The field to be redacted + /// + /// + public RedactProcessorDescriptor Field(Elastic.Clients.Elasticsearch.Field field) + { + FieldValue = field; + return Self; + } + + /// + /// + /// The field to be redacted + /// + /// + public RedactProcessorDescriptor Field(Expression> field) + { + FieldValue = field; + return Self; + } + + /// + /// + /// The field to be redacted + /// + /// + public RedactProcessorDescriptor Field(Expression> field) + { + FieldValue = field; + return Self; + } + + /// + /// + /// Conditionally execute the processor. + /// + /// + public RedactProcessorDescriptor If(string? value) + { + IfValue = value; + return Self; + } + + /// + /// + /// Ignore failures for the processor. + /// + /// + public RedactProcessorDescriptor IgnoreFailure(bool? ignoreFailure = true) + { + IgnoreFailureValue = ignoreFailure; + return Self; + } + + /// + /// + /// If true and field does not exist or is null, the processor quietly exits without modifying the document. + /// + /// + public RedactProcessorDescriptor IgnoreMissing(bool? ignoreMissing = true) + { + IgnoreMissingValue = ignoreMissing; + return Self; + } + + /// + /// + /// Handle failures for the processor. + /// + /// + public RedactProcessorDescriptor OnFailure(ICollection? onFailure) + { + OnFailureDescriptor = null; + OnFailureDescriptorAction = null; + OnFailureDescriptorActions = null; + OnFailureValue = onFailure; + return Self; + } + + public RedactProcessorDescriptor OnFailure(Elastic.Clients.Elasticsearch.Ingest.ProcessorDescriptor descriptor) + { + OnFailureValue = null; + OnFailureDescriptorAction = null; + OnFailureDescriptorActions = null; + OnFailureDescriptor = descriptor; + return Self; + } + + public RedactProcessorDescriptor OnFailure(Action configure) + { + OnFailureValue = null; + OnFailureDescriptor = null; + OnFailureDescriptorActions = null; + OnFailureDescriptorAction = configure; + return Self; + } + + public RedactProcessorDescriptor OnFailure(params Action[] configure) + { + OnFailureValue = null; + OnFailureDescriptor = null; + OnFailureDescriptorAction = null; + OnFailureDescriptorActions = configure; + return Self; + } + + public RedactProcessorDescriptor PatternDefinitions(Func, FluentDictionary> selector) + { + PatternDefinitionsValue = selector?.Invoke(new FluentDictionary()); + return Self; + } + + /// + /// + /// A list of grok expressions to match and redact named captures with + /// + /// + public RedactProcessorDescriptor Patterns(ICollection patterns) + { + PatternsValue = patterns; + return Self; + } + + /// + /// + /// Start a redacted section with this token + /// + /// + public RedactProcessorDescriptor Prefix(string? prefix) + { + PrefixValue = prefix; + return Self; + } + + /// + /// + /// If true and the current license does not support running redact processors, then the processor quietly exits without modifying the document + /// + /// + public RedactProcessorDescriptor SkipIfUnlicensed(bool? skipIfUnlicensed = true) + { + SkipIfUnlicensedValue = skipIfUnlicensed; + return Self; + } + + /// + /// + /// End a redacted section with this token + /// + /// + public RedactProcessorDescriptor Suffix(string? suffix) + { + SuffixValue = suffix; + return Self; + } + + /// + /// + /// Identifier for the processor. + /// Useful for debugging and metrics. + /// + /// + public RedactProcessorDescriptor Tag(string? tag) + { + TagValue = tag; + return Self; + } + + protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) + { + writer.WriteStartObject(); + if (!string.IsNullOrEmpty(DescriptionValue)) + { + writer.WritePropertyName("description"); + writer.WriteStringValue(DescriptionValue); + } + + writer.WritePropertyName("field"); + JsonSerializer.Serialize(writer, FieldValue, options); + if (!string.IsNullOrEmpty(IfValue)) + { + writer.WritePropertyName("if"); + writer.WriteStringValue(IfValue); + } + + if (IgnoreFailureValue.HasValue) + { + writer.WritePropertyName("ignore_failure"); + writer.WriteBooleanValue(IgnoreFailureValue.Value); + } + + if (IgnoreMissingValue.HasValue) + { + writer.WritePropertyName("ignore_missing"); + writer.WriteBooleanValue(IgnoreMissingValue.Value); + } + + if (OnFailureDescriptor is not null) + { + writer.WritePropertyName("on_failure"); + writer.WriteStartArray(); + JsonSerializer.Serialize(writer, OnFailureDescriptor, options); + writer.WriteEndArray(); + } + else if (OnFailureDescriptorAction is not null) + { + writer.WritePropertyName("on_failure"); + writer.WriteStartArray(); + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.Ingest.ProcessorDescriptor(OnFailureDescriptorAction), options); + writer.WriteEndArray(); + } + else if (OnFailureDescriptorActions is not null) + { + writer.WritePropertyName("on_failure"); + writer.WriteStartArray(); + foreach (var action in OnFailureDescriptorActions) + { + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.Ingest.ProcessorDescriptor(action), options); + } + + writer.WriteEndArray(); + } + else if (OnFailureValue is not null) + { + writer.WritePropertyName("on_failure"); + JsonSerializer.Serialize(writer, OnFailureValue, options); + } + + if (PatternDefinitionsValue is not null) + { + writer.WritePropertyName("pattern_definitions"); + JsonSerializer.Serialize(writer, PatternDefinitionsValue, options); + } + + writer.WritePropertyName("patterns"); + JsonSerializer.Serialize(writer, PatternsValue, options); + if (!string.IsNullOrEmpty(PrefixValue)) + { + writer.WritePropertyName("prefix"); + writer.WriteStringValue(PrefixValue); + } + + if (SkipIfUnlicensedValue.HasValue) + { + writer.WritePropertyName("skip_if_unlicensed"); + writer.WriteBooleanValue(SkipIfUnlicensedValue.Value); + } + + if (!string.IsNullOrEmpty(SuffixValue)) + { + writer.WritePropertyName("suffix"); + writer.WriteStringValue(SuffixValue); + } + + if (!string.IsNullOrEmpty(TagValue)) + { + writer.WritePropertyName("tag"); + writer.WriteStringValue(TagValue); + } + + writer.WriteEndObject(); + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/UserAgentProcessor.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/UserAgentProcessor.g.cs index d1ea59a81d4..34a08b30431 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/UserAgentProcessor.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/UserAgentProcessor.g.cs @@ -38,6 +38,14 @@ public sealed partial class UserAgentProcessor [JsonInclude, JsonPropertyName("description")] public string? Description { get; set; } + /// + /// + /// Extracts device type from the user agent string on a best-effort basis. + /// + /// + [JsonInclude, JsonPropertyName("extract_device_type")] + public bool? ExtractDeviceType { get; set; } + /// /// /// The field containing the user agent string. @@ -77,8 +85,14 @@ public sealed partial class UserAgentProcessor /// [JsonInclude, JsonPropertyName("on_failure")] public ICollection? OnFailure { get; set; } - [JsonInclude, JsonPropertyName("options")] - public ICollection? Options { get; set; } + + /// + /// + /// Controls what properties are added to target_field. + /// + /// + [JsonInclude, JsonPropertyName("properties")] + public ICollection? Properties { get; set; } /// /// @@ -117,6 +131,7 @@ public UserAgentProcessorDescriptor() : base() } private string? DescriptionValue { get; set; } + private bool? ExtractDeviceTypeValue { get; set; } private Elastic.Clients.Elasticsearch.Field FieldValue { get; set; } private string? IfValue { get; set; } private bool? IgnoreFailureValue { get; set; } @@ -125,7 +140,7 @@ public UserAgentProcessorDescriptor() : base() private Elastic.Clients.Elasticsearch.Ingest.ProcessorDescriptor OnFailureDescriptor { get; set; } private Action> OnFailureDescriptorAction { get; set; } private Action>[] OnFailureDescriptorActions { get; set; } - private ICollection? OptionsValue { get; set; } + private ICollection? PropertiesValue { get; set; } private string? RegexFileValue { get; set; } private string? TagValue { get; set; } private Elastic.Clients.Elasticsearch.Field? TargetFieldValue { get; set; } @@ -142,6 +157,17 @@ public UserAgentProcessorDescriptor Description(string? description) return Self; } + /// + /// + /// Extracts device type from the user agent string on a best-effort basis. + /// + /// + public UserAgentProcessorDescriptor ExtractDeviceType(bool? extractDeviceType = true) + { + ExtractDeviceTypeValue = extractDeviceType; + return Self; + } + /// /// /// The field containing the user agent string. @@ -249,9 +275,14 @@ public UserAgentProcessorDescriptor OnFailure(params Action Options(ICollection? options) + /// + /// + /// Controls what properties are added to target_field. + /// + /// + public UserAgentProcessorDescriptor Properties(ICollection? properties) { - OptionsValue = options; + PropertiesValue = properties; return Self; } @@ -320,6 +351,12 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o writer.WriteStringValue(DescriptionValue); } + if (ExtractDeviceTypeValue.HasValue) + { + writer.WritePropertyName("extract_device_type"); + writer.WriteBooleanValue(ExtractDeviceTypeValue.Value); + } + writer.WritePropertyName("field"); JsonSerializer.Serialize(writer, FieldValue, options); if (!string.IsNullOrEmpty(IfValue)) @@ -371,10 +408,10 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o JsonSerializer.Serialize(writer, OnFailureValue, options); } - if (OptionsValue is not null) + if (PropertiesValue is not null) { - writer.WritePropertyName("options"); - JsonSerializer.Serialize(writer, OptionsValue, options); + writer.WritePropertyName("properties"); + JsonSerializer.Serialize(writer, PropertiesValue, options); } if (!string.IsNullOrEmpty(RegexFileValue)) @@ -408,6 +445,7 @@ public UserAgentProcessorDescriptor() : base() } private string? DescriptionValue { get; set; } + private bool? ExtractDeviceTypeValue { get; set; } private Elastic.Clients.Elasticsearch.Field FieldValue { get; set; } private string? IfValue { get; set; } private bool? IgnoreFailureValue { get; set; } @@ -416,7 +454,7 @@ public UserAgentProcessorDescriptor() : base() private Elastic.Clients.Elasticsearch.Ingest.ProcessorDescriptor OnFailureDescriptor { get; set; } private Action OnFailureDescriptorAction { get; set; } private Action[] OnFailureDescriptorActions { get; set; } - private ICollection? OptionsValue { get; set; } + private ICollection? PropertiesValue { get; set; } private string? RegexFileValue { get; set; } private string? TagValue { get; set; } private Elastic.Clients.Elasticsearch.Field? TargetFieldValue { get; set; } @@ -433,6 +471,17 @@ public UserAgentProcessorDescriptor Description(string? description) return Self; } + /// + /// + /// Extracts device type from the user agent string on a best-effort basis. + /// + /// + public UserAgentProcessorDescriptor ExtractDeviceType(bool? extractDeviceType = true) + { + ExtractDeviceTypeValue = extractDeviceType; + return Self; + } + /// /// /// The field containing the user agent string. @@ -540,9 +589,14 @@ public UserAgentProcessorDescriptor OnFailure(params Action? options) + /// + /// + /// Controls what properties are added to target_field. + /// + /// + public UserAgentProcessorDescriptor Properties(ICollection? properties) { - OptionsValue = options; + PropertiesValue = properties; return Self; } @@ -611,6 +665,12 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o writer.WriteStringValue(DescriptionValue); } + if (ExtractDeviceTypeValue.HasValue) + { + writer.WritePropertyName("extract_device_type"); + writer.WriteBooleanValue(ExtractDeviceTypeValue.Value); + } + writer.WritePropertyName("field"); JsonSerializer.Serialize(writer, FieldValue, options); if (!string.IsNullOrEmpty(IfValue)) @@ -662,10 +722,10 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o JsonSerializer.Serialize(writer, OnFailureValue, options); } - if (OptionsValue is not null) + if (PropertiesValue is not null) { - writer.WritePropertyName("options"); - JsonSerializer.Serialize(writer, OptionsValue, options); + writer.WritePropertyName("properties"); + JsonSerializer.Serialize(writer, PropertiesValue, options); } if (!string.IsNullOrEmpty(RegexFileValue)) diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/MachineLearning/CalendarEvent.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/MachineLearning/CalendarEvent.g.cs index a0e178429e7..7bd01bd3b81 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/MachineLearning/CalendarEvent.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/MachineLearning/CalendarEvent.g.cs @@ -55,6 +55,30 @@ public sealed partial class CalendarEvent [JsonInclude, JsonPropertyName("event_id")] public Elastic.Clients.Elasticsearch.Id? EventId { get; set; } + /// + /// + /// Shift time by this many seconds. For example adjust time for daylight savings changes + /// + /// + [JsonInclude, JsonPropertyName("force_time_shift")] + public int? ForceTimeShift { get; set; } + + /// + /// + /// When true the model will not be updated for this calendar period. + /// + /// + [JsonInclude, JsonPropertyName("skip_model_update")] + public bool? SkipModelUpdate { get; set; } + + /// + /// + /// When true the model will not create results for this calendar period. + /// + /// + [JsonInclude, JsonPropertyName("skip_result")] + public bool? SkipResult { get; set; } + /// /// /// The timestamp for the beginning of the scheduled event in milliseconds since the epoch or ISO 8601 format. @@ -76,6 +100,9 @@ public CalendarEventDescriptor() : base() private string DescriptionValue { get; set; } private DateTimeOffset EndTimeValue { get; set; } private Elastic.Clients.Elasticsearch.Id? EventIdValue { get; set; } + private int? ForceTimeShiftValue { get; set; } + private bool? SkipModelUpdateValue { get; set; } + private bool? SkipResultValue { get; set; } private DateTimeOffset StartTimeValue { get; set; } /// @@ -117,6 +144,39 @@ public CalendarEventDescriptor EventId(Elastic.Clients.Elasticsearch.Id? eventId return Self; } + /// + /// + /// Shift time by this many seconds. For example adjust time for daylight savings changes + /// + /// + public CalendarEventDescriptor ForceTimeShift(int? forceTimeShift) + { + ForceTimeShiftValue = forceTimeShift; + return Self; + } + + /// + /// + /// When true the model will not be updated for this calendar period. + /// + /// + public CalendarEventDescriptor SkipModelUpdate(bool? skipModelUpdate = true) + { + SkipModelUpdateValue = skipModelUpdate; + return Self; + } + + /// + /// + /// When true the model will not create results for this calendar period. + /// + /// + public CalendarEventDescriptor SkipResult(bool? skipResult = true) + { + SkipResultValue = skipResult; + return Self; + } + /// /// /// The timestamp for the beginning of the scheduled event in milliseconds since the epoch or ISO 8601 format. @@ -147,6 +207,24 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o JsonSerializer.Serialize(writer, EventIdValue, options); } + if (ForceTimeShiftValue.HasValue) + { + writer.WritePropertyName("force_time_shift"); + writer.WriteNumberValue(ForceTimeShiftValue.Value); + } + + if (SkipModelUpdateValue.HasValue) + { + writer.WritePropertyName("skip_model_update"); + writer.WriteBooleanValue(SkipModelUpdateValue.Value); + } + + if (SkipResultValue.HasValue) + { + writer.WritePropertyName("skip_result"); + writer.WriteBooleanValue(SkipResultValue.Value); + } + writer.WritePropertyName("start_time"); JsonSerializer.Serialize(writer, StartTimeValue, options); writer.WriteEndObject(); diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/MachineLearning/TrainedModelDeploymentStats.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/MachineLearning/TrainedModelDeploymentStats.g.cs index 574d5e31fc4..145030816b7 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/MachineLearning/TrainedModelDeploymentStats.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/MachineLearning/TrainedModelDeploymentStats.g.cs @@ -130,7 +130,7 @@ public sealed partial class TrainedModelDeploymentStats /// /// [JsonInclude, JsonPropertyName("state")] - public Elastic.Clients.Elasticsearch.MachineLearning.DeploymentState State { get; init; } + public Elastic.Clients.Elasticsearch.MachineLearning.DeploymentAssignmentState State { get; init; } /// /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Mapping/BinaryProperty.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Mapping/BinaryProperty.g.cs index 22981021119..a27bb3c9071 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Mapping/BinaryProperty.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Mapping/BinaryProperty.g.cs @@ -50,8 +50,6 @@ public sealed partial class BinaryProperty : IProperty public IDictionary? Meta { get; set; } [JsonInclude, JsonPropertyName("properties")] public Elastic.Clients.Elasticsearch.Mapping.Properties? Properties { get; set; } - [JsonInclude, JsonPropertyName("similarity")] - public string? Similarity { get; set; } [JsonInclude, JsonPropertyName("store")] public bool? Store { get; set; } @@ -74,7 +72,6 @@ public BinaryPropertyDescriptor() : base() private int? IgnoreAboveValue { get; set; } private IDictionary? MetaValue { get; set; } private Elastic.Clients.Elasticsearch.Mapping.Properties? PropertiesValue { get; set; } - private string? SimilarityValue { get; set; } private bool? StoreValue { get; set; } public BinaryPropertyDescriptor CopyTo(Elastic.Clients.Elasticsearch.Fields? copyTo) @@ -152,12 +149,6 @@ public BinaryPropertyDescriptor Properties(Action Similarity(string? similarity) - { - SimilarityValue = similarity; - return Self; - } - public BinaryPropertyDescriptor Store(bool? store = true) { StoreValue = store; @@ -209,12 +200,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o JsonSerializer.Serialize(writer, PropertiesValue, options); } - if (!string.IsNullOrEmpty(SimilarityValue)) - { - writer.WritePropertyName("similarity"); - writer.WriteStringValue(SimilarityValue); - } - if (StoreValue.HasValue) { writer.WritePropertyName("store"); @@ -235,7 +220,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o IgnoreAbove = IgnoreAboveValue, Meta = MetaValue, Properties = PropertiesValue, - Similarity = SimilarityValue, Store = StoreValue }; } @@ -255,7 +239,6 @@ public BinaryPropertyDescriptor() : base() private int? IgnoreAboveValue { get; set; } private IDictionary? MetaValue { get; set; } private Elastic.Clients.Elasticsearch.Mapping.Properties? PropertiesValue { get; set; } - private string? SimilarityValue { get; set; } private bool? StoreValue { get; set; } public BinaryPropertyDescriptor CopyTo(Elastic.Clients.Elasticsearch.Fields? copyTo) @@ -333,12 +316,6 @@ public BinaryPropertyDescriptor Properties(Action? MetaValue { get; set; } private bool? NullValueValue { get; set; } private Elastic.Clients.Elasticsearch.Mapping.Properties? PropertiesValue { get; set; } - private string? SimilarityValue { get; set; } private bool? StoreValue { get; set; } public BooleanPropertyDescriptor Boost(double? boost) @@ -208,12 +205,6 @@ public BooleanPropertyDescriptor Properties(Action Similarity(string? similarity) - { - SimilarityValue = similarity; - return Self; - } - public BooleanPropertyDescriptor Store(bool? store = true) { StoreValue = store; @@ -299,12 +290,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o JsonSerializer.Serialize(writer, PropertiesValue, options); } - if (!string.IsNullOrEmpty(SimilarityValue)) - { - writer.WritePropertyName("similarity"); - writer.WriteStringValue(SimilarityValue); - } - if (StoreValue.HasValue) { writer.WritePropertyName("store"); @@ -353,7 +338,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o Meta = MetaValue, NullValue = NullValueValue, Properties = PropertiesValue, - Similarity = SimilarityValue, Store = StoreValue }; } @@ -379,7 +363,6 @@ public BooleanPropertyDescriptor() : base() private IDictionary? MetaValue { get; set; } private bool? NullValueValue { get; set; } private Elastic.Clients.Elasticsearch.Mapping.Properties? PropertiesValue { get; set; } - private string? SimilarityValue { get; set; } private bool? StoreValue { get; set; } public BooleanPropertyDescriptor Boost(double? boost) @@ -499,12 +482,6 @@ public BooleanPropertyDescriptor Properties(Action ScriptDescriptorAction { get; set; } - private string? SimilarityValue { get; set; } private bool? StoreValue { get; set; } private bool? TimeSeriesDimensionValue { get; set; } private Elastic.Clients.Elasticsearch.Mapping.TimeSeriesMetricType? TimeSeriesMetricValue { get; set; } @@ -253,12 +250,6 @@ public ByteNumberPropertyDescriptor Script(Action Similarity(string? similarity) - { - SimilarityValue = similarity; - return Self; - } - public ByteNumberPropertyDescriptor Store(bool? store = true) { StoreValue = store; @@ -384,12 +375,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o JsonSerializer.Serialize(writer, ScriptValue, options); } - if (!string.IsNullOrEmpty(SimilarityValue)) - { - writer.WritePropertyName("similarity"); - writer.WriteStringValue(SimilarityValue); - } - if (StoreValue.HasValue) { writer.WritePropertyName("store"); @@ -453,7 +438,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o OnScriptError = OnScriptErrorValue, Properties = PropertiesValue, Script = BuildScript(), - Similarity = SimilarityValue, Store = StoreValue, TimeSeriesDimension = TimeSeriesDimensionValue, TimeSeriesMetric = TimeSeriesMetricValue @@ -484,7 +468,6 @@ public ByteNumberPropertyDescriptor() : base() private Elastic.Clients.Elasticsearch.Script? ScriptValue { get; set; } private Elastic.Clients.Elasticsearch.ScriptDescriptor ScriptDescriptor { get; set; } private Action ScriptDescriptorAction { get; set; } - private string? SimilarityValue { get; set; } private bool? StoreValue { get; set; } private bool? TimeSeriesDimensionValue { get; set; } private Elastic.Clients.Elasticsearch.Mapping.TimeSeriesMetricType? TimeSeriesMetricValue { get; set; } @@ -624,12 +607,6 @@ public ByteNumberPropertyDescriptor Script(Action Analyzer(string? analyzer) @@ -239,12 +236,6 @@ public CompletionPropertyDescriptor SearchAnalyzer(string? searchAnal return Self; } - public CompletionPropertyDescriptor Similarity(string? similarity) - { - SimilarityValue = similarity; - return Self; - } - public CompletionPropertyDescriptor Store(bool? store = true) { StoreValue = store; @@ -357,12 +348,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o writer.WriteStringValue(SearchAnalyzerValue); } - if (!string.IsNullOrEmpty(SimilarityValue)) - { - writer.WritePropertyName("similarity"); - writer.WriteStringValue(SimilarityValue); - } - if (StoreValue.HasValue) { writer.WritePropertyName("store"); @@ -413,7 +398,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o PreserveSeparators = PreserveSeparatorsValue, Properties = PropertiesValue, SearchAnalyzer = SearchAnalyzerValue, - Similarity = SimilarityValue, Store = StoreValue }; } @@ -442,7 +426,6 @@ public CompletionPropertyDescriptor() : base() private bool? PreserveSeparatorsValue { get; set; } private Elastic.Clients.Elasticsearch.Mapping.Properties? PropertiesValue { get; set; } private string? SearchAnalyzerValue { get; set; } - private string? SimilarityValue { get; set; } private bool? StoreValue { get; set; } public CompletionPropertyDescriptor Analyzer(string? analyzer) @@ -586,12 +569,6 @@ public CompletionPropertyDescriptor SearchAnalyzer(string? searchAnalyzer) return Self; } - public CompletionPropertyDescriptor Similarity(string? similarity) - { - SimilarityValue = similarity; - return Self; - } - public CompletionPropertyDescriptor Store(bool? store = true) { StoreValue = store; @@ -704,12 +681,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o writer.WriteStringValue(SearchAnalyzerValue); } - if (!string.IsNullOrEmpty(SimilarityValue)) - { - writer.WritePropertyName("similarity"); - writer.WriteStringValue(SimilarityValue); - } - if (StoreValue.HasValue) { writer.WritePropertyName("store"); @@ -760,7 +731,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o PreserveSeparators = PreserveSeparatorsValue, Properties = PropertiesValue, SearchAnalyzer = SearchAnalyzerValue, - Similarity = SimilarityValue, Store = StoreValue }; } \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Mapping/CompositeSubField.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Mapping/CompositeSubField.g.cs new file mode 100644 index 00000000000..6d8b8077651 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Mapping/CompositeSubField.g.cs @@ -0,0 +1,59 @@ +// 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 Elastic.Clients.Elasticsearch.Fluent; +using Elastic.Clients.Elasticsearch.Serialization; +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +namespace Elastic.Clients.Elasticsearch.Mapping; + +public sealed partial class CompositeSubField +{ + [JsonInclude, JsonPropertyName("type")] + public Elastic.Clients.Elasticsearch.Mapping.RuntimeFieldType Type { get; set; } +} + +public sealed partial class CompositeSubFieldDescriptor : SerializableDescriptor +{ + internal CompositeSubFieldDescriptor(Action configure) => configure.Invoke(this); + + public CompositeSubFieldDescriptor() : base() + { + } + + private Elastic.Clients.Elasticsearch.Mapping.RuntimeFieldType TypeValue { get; set; } + + public CompositeSubFieldDescriptor Type(Elastic.Clients.Elasticsearch.Mapping.RuntimeFieldType type) + { + TypeValue = type; + return Self; + } + + protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) + { + writer.WriteStartObject(); + writer.WritePropertyName("type"); + JsonSerializer.Serialize(writer, TypeValue, options); + writer.WriteEndObject(); + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Mapping/DateNanosProperty.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Mapping/DateNanosProperty.g.cs index 8ee6c4ee1ce..fab89d7abb4 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Mapping/DateNanosProperty.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Mapping/DateNanosProperty.g.cs @@ -62,8 +62,6 @@ public sealed partial class DateNanosProperty : IProperty public int? PrecisionStep { get; set; } [JsonInclude, JsonPropertyName("properties")] public Elastic.Clients.Elasticsearch.Mapping.Properties? Properties { get; set; } - [JsonInclude, JsonPropertyName("similarity")] - public string? Similarity { get; set; } [JsonInclude, JsonPropertyName("store")] public bool? Store { get; set; } @@ -92,7 +90,6 @@ public DateNanosPropertyDescriptor() : base() private DateTimeOffset? NullValueValue { get; set; } private int? PrecisionStepValue { get; set; } private Elastic.Clients.Elasticsearch.Mapping.Properties? PropertiesValue { get; set; } - private string? SimilarityValue { get; set; } private bool? StoreValue { get; set; } public DateNanosPropertyDescriptor Boost(double? boost) @@ -206,12 +203,6 @@ public DateNanosPropertyDescriptor Properties(Action Similarity(string? similarity) - { - SimilarityValue = similarity; - return Self; - } - public DateNanosPropertyDescriptor Store(bool? store = true) { StoreValue = store; @@ -299,12 +290,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o JsonSerializer.Serialize(writer, PropertiesValue, options); } - if (!string.IsNullOrEmpty(SimilarityValue)) - { - writer.WritePropertyName("similarity"); - writer.WriteStringValue(SimilarityValue); - } - if (StoreValue.HasValue) { writer.WritePropertyName("store"); @@ -331,7 +316,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o NullValue = NullValueValue, PrecisionStep = PrecisionStepValue, Properties = PropertiesValue, - Similarity = SimilarityValue, Store = StoreValue }; } @@ -357,7 +341,6 @@ public DateNanosPropertyDescriptor() : base() private DateTimeOffset? NullValueValue { get; set; } private int? PrecisionStepValue { get; set; } private Elastic.Clients.Elasticsearch.Mapping.Properties? PropertiesValue { get; set; } - private string? SimilarityValue { get; set; } private bool? StoreValue { get; set; } public DateNanosPropertyDescriptor Boost(double? boost) @@ -471,12 +454,6 @@ public DateNanosPropertyDescriptor Properties(Action Boost(double? boost) @@ -244,12 +241,6 @@ public DatePropertyDescriptor Properties(Action Similarity(string? similarity) - { - SimilarityValue = similarity; - return Self; - } - public DatePropertyDescriptor Store(bool? store = true) { StoreValue = store; @@ -359,12 +350,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o JsonSerializer.Serialize(writer, PropertiesValue, options); } - if (!string.IsNullOrEmpty(SimilarityValue)) - { - writer.WritePropertyName("similarity"); - writer.WriteStringValue(SimilarityValue); - } - if (StoreValue.HasValue) { writer.WritePropertyName("store"); @@ -417,7 +402,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o NullValue = NullValueValue, PrecisionStep = PrecisionStepValue, Properties = PropertiesValue, - Similarity = SimilarityValue, Store = StoreValue }; } @@ -447,7 +431,6 @@ public DatePropertyDescriptor() : base() private DateTimeOffset? NullValueValue { get; set; } private int? PrecisionStepValue { get; set; } private Elastic.Clients.Elasticsearch.Mapping.Properties? PropertiesValue { get; set; } - private string? SimilarityValue { get; set; } private bool? StoreValue { get; set; } public DatePropertyDescriptor Boost(double? boost) @@ -591,12 +574,6 @@ public DatePropertyDescriptor Properties(Action? Meta { get; set; } [JsonInclude, JsonPropertyName("properties")] public Elastic.Clients.Elasticsearch.Mapping.Properties? Properties { get; set; } - [JsonInclude, JsonPropertyName("similarity")] - public string? Similarity { get; set; } [JsonInclude, JsonPropertyName("store")] public bool? Store { get; set; } @@ -86,7 +84,6 @@ public DateRangePropertyDescriptor() : base() private bool? IndexValue { get; set; } private IDictionary? MetaValue { get; set; } private Elastic.Clients.Elasticsearch.Mapping.Properties? PropertiesValue { get; set; } - private string? SimilarityValue { get; set; } private bool? StoreValue { get; set; } public DateRangePropertyDescriptor Boost(double? boost) @@ -188,12 +185,6 @@ public DateRangePropertyDescriptor Properties(Action Similarity(string? similarity) - { - SimilarityValue = similarity; - return Self; - } - public DateRangePropertyDescriptor Store(bool? store = true) { StoreValue = store; @@ -269,12 +260,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o JsonSerializer.Serialize(writer, PropertiesValue, options); } - if (!string.IsNullOrEmpty(SimilarityValue)) - { - writer.WritePropertyName("similarity"); - writer.WriteStringValue(SimilarityValue); - } - if (StoreValue.HasValue) { writer.WritePropertyName("store"); @@ -299,7 +284,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o Index = IndexValue, Meta = MetaValue, Properties = PropertiesValue, - Similarity = SimilarityValue, Store = StoreValue }; } @@ -323,7 +307,6 @@ public DateRangePropertyDescriptor() : base() private bool? IndexValue { get; set; } private IDictionary? MetaValue { get; set; } private Elastic.Clients.Elasticsearch.Mapping.Properties? PropertiesValue { get; set; } - private string? SimilarityValue { get; set; } private bool? StoreValue { get; set; } public DateRangePropertyDescriptor Boost(double? boost) @@ -425,12 +408,6 @@ public DateRangePropertyDescriptor Properties(Action ScriptDescriptorAction { get; set; } - private string? SimilarityValue { get; set; } private bool? StoreValue { get; set; } private bool? TimeSeriesDimensionValue { get; set; } private Elastic.Clients.Elasticsearch.Mapping.TimeSeriesMetricType? TimeSeriesMetricValue { get; set; } @@ -253,12 +250,6 @@ public DoubleNumberPropertyDescriptor Script(Action Similarity(string? similarity) - { - SimilarityValue = similarity; - return Self; - } - public DoubleNumberPropertyDescriptor Store(bool? store = true) { StoreValue = store; @@ -384,12 +375,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o JsonSerializer.Serialize(writer, ScriptValue, options); } - if (!string.IsNullOrEmpty(SimilarityValue)) - { - writer.WritePropertyName("similarity"); - writer.WriteStringValue(SimilarityValue); - } - if (StoreValue.HasValue) { writer.WritePropertyName("store"); @@ -453,7 +438,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o OnScriptError = OnScriptErrorValue, Properties = PropertiesValue, Script = BuildScript(), - Similarity = SimilarityValue, Store = StoreValue, TimeSeriesDimension = TimeSeriesDimensionValue, TimeSeriesMetric = TimeSeriesMetricValue @@ -484,7 +468,6 @@ public DoubleNumberPropertyDescriptor() : base() private Elastic.Clients.Elasticsearch.Script? ScriptValue { get; set; } private Elastic.Clients.Elasticsearch.ScriptDescriptor ScriptDescriptor { get; set; } private Action ScriptDescriptorAction { get; set; } - private string? SimilarityValue { get; set; } private bool? StoreValue { get; set; } private bool? TimeSeriesDimensionValue { get; set; } private Elastic.Clients.Elasticsearch.Mapping.TimeSeriesMetricType? TimeSeriesMetricValue { get; set; } @@ -624,12 +607,6 @@ public DoubleNumberPropertyDescriptor Script(Action? Meta { get; set; } [JsonInclude, JsonPropertyName("properties")] public Elastic.Clients.Elasticsearch.Mapping.Properties? Properties { get; set; } - [JsonInclude, JsonPropertyName("similarity")] - public string? Similarity { get; set; } [JsonInclude, JsonPropertyName("store")] public bool? Store { get; set; } @@ -83,7 +81,6 @@ public DoubleRangePropertyDescriptor() : base() private bool? IndexValue { get; set; } private IDictionary? MetaValue { get; set; } private Elastic.Clients.Elasticsearch.Mapping.Properties? PropertiesValue { get; set; } - private string? SimilarityValue { get; set; } private bool? StoreValue { get; set; } public DoubleRangePropertyDescriptor Boost(double? boost) @@ -179,12 +176,6 @@ public DoubleRangePropertyDescriptor Properties(Action Similarity(string? similarity) - { - SimilarityValue = similarity; - return Self; - } - public DoubleRangePropertyDescriptor Store(bool? store = true) { StoreValue = store; @@ -254,12 +245,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o JsonSerializer.Serialize(writer, PropertiesValue, options); } - if (!string.IsNullOrEmpty(SimilarityValue)) - { - writer.WritePropertyName("similarity"); - writer.WriteStringValue(SimilarityValue); - } - if (StoreValue.HasValue) { writer.WritePropertyName("store"); @@ -283,7 +268,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o Index = IndexValue, Meta = MetaValue, Properties = PropertiesValue, - Similarity = SimilarityValue, Store = StoreValue }; } @@ -306,7 +290,6 @@ public DoubleRangePropertyDescriptor() : base() private bool? IndexValue { get; set; } private IDictionary? MetaValue { get; set; } private Elastic.Clients.Elasticsearch.Mapping.Properties? PropertiesValue { get; set; } - private string? SimilarityValue { get; set; } private bool? StoreValue { get; set; } public DoubleRangePropertyDescriptor Boost(double? boost) @@ -402,12 +385,6 @@ public DoubleRangePropertyDescriptor Properties(Action ScriptDescriptorAction { get; set; } private string? SearchAnalyzerValue { get; set; } private string? SearchQuoteAnalyzerValue { get; set; } - private string? SimilarityValue { get; set; } private bool? StoreValue { get; set; } private Elastic.Clients.Elasticsearch.Mapping.TermVectorOption? TermVectorValue { get; set; } private Elastic.Clients.Elasticsearch.Mapping.TimeSeriesMetricType? TimeSeriesMetricValue { get; set; } @@ -378,12 +375,6 @@ public DynamicPropertyDescriptor SearchQuoteAnalyzer(string? searchQu return Self; } - public DynamicPropertyDescriptor Similarity(string? similarity) - { - SimilarityValue = similarity; - return Self; - } - public DynamicPropertyDescriptor Store(bool? store = true) { StoreValue = store; @@ -587,12 +578,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o writer.WriteStringValue(SearchQuoteAnalyzerValue); } - if (!string.IsNullOrEmpty(SimilarityValue)) - { - writer.WritePropertyName("similarity"); - writer.WriteStringValue(SimilarityValue); - } - if (StoreValue.HasValue) { writer.WritePropertyName("store"); @@ -693,7 +678,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o Script = BuildScript(), SearchAnalyzer = SearchAnalyzerValue, SearchQuoteAnalyzer = SearchQuoteAnalyzerValue, - Similarity = SimilarityValue, Store = StoreValue, TermVector = TermVectorValue, TimeSeriesMetric = TimeSeriesMetricValue @@ -739,7 +723,6 @@ public DynamicPropertyDescriptor() : base() private Action ScriptDescriptorAction { get; set; } private string? SearchAnalyzerValue { get; set; } private string? SearchQuoteAnalyzerValue { get; set; } - private string? SimilarityValue { get; set; } private bool? StoreValue { get; set; } private Elastic.Clients.Elasticsearch.Mapping.TermVectorOption? TermVectorValue { get; set; } private Elastic.Clients.Elasticsearch.Mapping.TimeSeriesMetricType? TimeSeriesMetricValue { get; set; } @@ -975,12 +958,6 @@ public DynamicPropertyDescriptor SearchQuoteAnalyzer(string? searchQuoteAnalyzer return Self; } - public DynamicPropertyDescriptor Similarity(string? similarity) - { - SimilarityValue = similarity; - return Self; - } - public DynamicPropertyDescriptor Store(bool? store = true) { StoreValue = store; @@ -1184,12 +1161,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o writer.WriteStringValue(SearchQuoteAnalyzerValue); } - if (!string.IsNullOrEmpty(SimilarityValue)) - { - writer.WritePropertyName("similarity"); - writer.WriteStringValue(SimilarityValue); - } - if (StoreValue.HasValue) { writer.WritePropertyName("store"); @@ -1290,7 +1261,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o Script = BuildScript(), SearchAnalyzer = SearchAnalyzerValue, SearchQuoteAnalyzer = SearchQuoteAnalyzerValue, - Similarity = SimilarityValue, Store = StoreValue, TermVector = TermVectorValue, TimeSeriesMetric = TimeSeriesMetricValue diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Mapping/FloatNumberProperty.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Mapping/FloatNumberProperty.g.cs index 36c1706ac20..78b51afb62b 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Mapping/FloatNumberProperty.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Mapping/FloatNumberProperty.g.cs @@ -64,8 +64,6 @@ public sealed partial class FloatNumberProperty : IProperty public Elastic.Clients.Elasticsearch.Mapping.Properties? Properties { get; set; } [JsonInclude, JsonPropertyName("script")] public Elastic.Clients.Elasticsearch.Script? Script { get; set; } - [JsonInclude, JsonPropertyName("similarity")] - public string? Similarity { get; set; } [JsonInclude, JsonPropertyName("store")] public bool? Store { get; set; } @@ -113,7 +111,6 @@ public FloatNumberPropertyDescriptor() : base() private Elastic.Clients.Elasticsearch.Script? ScriptValue { get; set; } private Elastic.Clients.Elasticsearch.ScriptDescriptor ScriptDescriptor { get; set; } private Action ScriptDescriptorAction { get; set; } - private string? SimilarityValue { get; set; } private bool? StoreValue { get; set; } private bool? TimeSeriesDimensionValue { get; set; } private Elastic.Clients.Elasticsearch.Mapping.TimeSeriesMetricType? TimeSeriesMetricValue { get; set; } @@ -253,12 +250,6 @@ public FloatNumberPropertyDescriptor Script(Action Similarity(string? similarity) - { - SimilarityValue = similarity; - return Self; - } - public FloatNumberPropertyDescriptor Store(bool? store = true) { StoreValue = store; @@ -384,12 +375,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o JsonSerializer.Serialize(writer, ScriptValue, options); } - if (!string.IsNullOrEmpty(SimilarityValue)) - { - writer.WritePropertyName("similarity"); - writer.WriteStringValue(SimilarityValue); - } - if (StoreValue.HasValue) { writer.WritePropertyName("store"); @@ -453,7 +438,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o OnScriptError = OnScriptErrorValue, Properties = PropertiesValue, Script = BuildScript(), - Similarity = SimilarityValue, Store = StoreValue, TimeSeriesDimension = TimeSeriesDimensionValue, TimeSeriesMetric = TimeSeriesMetricValue @@ -484,7 +468,6 @@ public FloatNumberPropertyDescriptor() : base() private Elastic.Clients.Elasticsearch.Script? ScriptValue { get; set; } private Elastic.Clients.Elasticsearch.ScriptDescriptor ScriptDescriptor { get; set; } private Action ScriptDescriptorAction { get; set; } - private string? SimilarityValue { get; set; } private bool? StoreValue { get; set; } private bool? TimeSeriesDimensionValue { get; set; } private Elastic.Clients.Elasticsearch.Mapping.TimeSeriesMetricType? TimeSeriesMetricValue { get; set; } @@ -624,12 +607,6 @@ public FloatNumberPropertyDescriptor Script(Action? Meta { get; set; } [JsonInclude, JsonPropertyName("properties")] public Elastic.Clients.Elasticsearch.Mapping.Properties? Properties { get; set; } - [JsonInclude, JsonPropertyName("similarity")] - public string? Similarity { get; set; } [JsonInclude, JsonPropertyName("store")] public bool? Store { get; set; } @@ -83,7 +81,6 @@ public FloatRangePropertyDescriptor() : base() private bool? IndexValue { get; set; } private IDictionary? MetaValue { get; set; } private Elastic.Clients.Elasticsearch.Mapping.Properties? PropertiesValue { get; set; } - private string? SimilarityValue { get; set; } private bool? StoreValue { get; set; } public FloatRangePropertyDescriptor Boost(double? boost) @@ -179,12 +176,6 @@ public FloatRangePropertyDescriptor Properties(Action Similarity(string? similarity) - { - SimilarityValue = similarity; - return Self; - } - public FloatRangePropertyDescriptor Store(bool? store = true) { StoreValue = store; @@ -254,12 +245,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o JsonSerializer.Serialize(writer, PropertiesValue, options); } - if (!string.IsNullOrEmpty(SimilarityValue)) - { - writer.WritePropertyName("similarity"); - writer.WriteStringValue(SimilarityValue); - } - if (StoreValue.HasValue) { writer.WritePropertyName("store"); @@ -283,7 +268,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o Index = IndexValue, Meta = MetaValue, Properties = PropertiesValue, - Similarity = SimilarityValue, Store = StoreValue }; } @@ -306,7 +290,6 @@ public FloatRangePropertyDescriptor() : base() private bool? IndexValue { get; set; } private IDictionary? MetaValue { get; set; } private Elastic.Clients.Elasticsearch.Mapping.Properties? PropertiesValue { get; set; } - private string? SimilarityValue { get; set; } private bool? StoreValue { get; set; } public FloatRangePropertyDescriptor Boost(double? boost) @@ -402,12 +385,6 @@ public FloatRangePropertyDescriptor Properties(Action ScriptDescriptorAction { get; set; } - private string? SimilarityValue { get; set; } private bool? StoreValue { get; set; } public GeoPointPropertyDescriptor CopyTo(Elastic.Clients.Elasticsearch.Fields? copyTo) @@ -226,12 +223,6 @@ public GeoPointPropertyDescriptor Script(Action Similarity(string? similarity) - { - SimilarityValue = similarity; - return Self; - } - public GeoPointPropertyDescriptor Store(bool? store = true) { StoreValue = store; @@ -329,12 +320,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o JsonSerializer.Serialize(writer, ScriptValue, options); } - if (!string.IsNullOrEmpty(SimilarityValue)) - { - writer.WritePropertyName("similarity"); - writer.WriteStringValue(SimilarityValue); - } - if (StoreValue.HasValue) { writer.WritePropertyName("store"); @@ -385,7 +370,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o OnScriptError = OnScriptErrorValue, Properties = PropertiesValue, Script = BuildScript(), - Similarity = SimilarityValue, Store = StoreValue }; } @@ -413,7 +397,6 @@ public GeoPointPropertyDescriptor() : base() private Elastic.Clients.Elasticsearch.Script? ScriptValue { get; set; } private Elastic.Clients.Elasticsearch.ScriptDescriptor ScriptDescriptor { get; set; } private Action ScriptDescriptorAction { get; set; } - private string? SimilarityValue { get; set; } private bool? StoreValue { get; set; } public GeoPointPropertyDescriptor CopyTo(Elastic.Clients.Elasticsearch.Fields? copyTo) @@ -545,12 +528,6 @@ public GeoPointPropertyDescriptor Script(Action? MetaValue { get; set; } private Elastic.Clients.Elasticsearch.Mapping.GeoOrientation? OrientationValue { get; set; } private Elastic.Clients.Elasticsearch.Mapping.Properties? PropertiesValue { get; set; } - private string? SimilarityValue { get; set; } private bool? StoreValue { get; set; } private Elastic.Clients.Elasticsearch.Mapping.GeoStrategy? StrategyValue { get; set; } @@ -205,12 +202,6 @@ public GeoShapePropertyDescriptor Properties(Action Similarity(string? similarity) - { - SimilarityValue = similarity; - return Self; - } - public GeoShapePropertyDescriptor Store(bool? store = true) { StoreValue = store; @@ -292,12 +283,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o JsonSerializer.Serialize(writer, PropertiesValue, options); } - if (!string.IsNullOrEmpty(SimilarityValue)) - { - writer.WritePropertyName("similarity"); - writer.WriteStringValue(SimilarityValue); - } - if (StoreValue.HasValue) { writer.WritePropertyName("store"); @@ -328,7 +313,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o Meta = MetaValue, Orientation = OrientationValue, Properties = PropertiesValue, - Similarity = SimilarityValue, Store = StoreValue, Strategy = StrategyValue }; @@ -360,7 +344,6 @@ public GeoShapePropertyDescriptor() : base() private IDictionary? MetaValue { get; set; } private Elastic.Clients.Elasticsearch.Mapping.GeoOrientation? OrientationValue { get; set; } private Elastic.Clients.Elasticsearch.Mapping.Properties? PropertiesValue { get; set; } - private string? SimilarityValue { get; set; } private bool? StoreValue { get; set; } private Elastic.Clients.Elasticsearch.Mapping.GeoStrategy? StrategyValue { get; set; } @@ -463,12 +446,6 @@ public GeoShapePropertyDescriptor Properties(Action ScriptDescriptorAction { get; set; } - private string? SimilarityValue { get; set; } private bool? StoreValue { get; set; } private bool? TimeSeriesDimensionValue { get; set; } private Elastic.Clients.Elasticsearch.Mapping.TimeSeriesMetricType? TimeSeriesMetricValue { get; set; } @@ -253,12 +250,6 @@ public HalfFloatNumberPropertyDescriptor Script(Action Similarity(string? similarity) - { - SimilarityValue = similarity; - return Self; - } - public HalfFloatNumberPropertyDescriptor Store(bool? store = true) { StoreValue = store; @@ -384,12 +375,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o JsonSerializer.Serialize(writer, ScriptValue, options); } - if (!string.IsNullOrEmpty(SimilarityValue)) - { - writer.WritePropertyName("similarity"); - writer.WriteStringValue(SimilarityValue); - } - if (StoreValue.HasValue) { writer.WritePropertyName("store"); @@ -453,7 +438,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o OnScriptError = OnScriptErrorValue, Properties = PropertiesValue, Script = BuildScript(), - Similarity = SimilarityValue, Store = StoreValue, TimeSeriesDimension = TimeSeriesDimensionValue, TimeSeriesMetric = TimeSeriesMetricValue @@ -484,7 +468,6 @@ public HalfFloatNumberPropertyDescriptor() : base() private Elastic.Clients.Elasticsearch.Script? ScriptValue { get; set; } private Elastic.Clients.Elasticsearch.ScriptDescriptor ScriptDescriptor { get; set; } private Action ScriptDescriptorAction { get; set; } - private string? SimilarityValue { get; set; } private bool? StoreValue { get; set; } private bool? TimeSeriesDimensionValue { get; set; } private Elastic.Clients.Elasticsearch.Mapping.TimeSeriesMetricType? TimeSeriesMetricValue { get; set; } @@ -624,12 +607,6 @@ public HalfFloatNumberPropertyDescriptor Script(Action Rules(string? rules) return Self; } - public IcuCollationPropertyDescriptor Similarity(string? similarity) - { - SimilarityValue = similarity; - return Self; - } - public IcuCollationPropertyDescriptor Store(bool? store = true) { StoreValue = store; @@ -454,12 +445,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o writer.WriteStringValue(RulesValue); } - if (!string.IsNullOrEmpty(SimilarityValue)) - { - writer.WritePropertyName("similarity"); - writer.WriteStringValue(SimilarityValue); - } - if (StoreValue.HasValue) { writer.WritePropertyName("store"); @@ -511,7 +496,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o Numeric = NumericValue, Properties = PropertiesValue, Rules = RulesValue, - Similarity = SimilarityValue, Store = StoreValue, Strength = StrengthValue, VariableTop = VariableTopValue, @@ -547,7 +531,6 @@ public IcuCollationPropertyDescriptor() : base() private bool? NumericValue { get; set; } private Elastic.Clients.Elasticsearch.Mapping.Properties? PropertiesValue { get; set; } private string? RulesValue { get; set; } - private string? SimilarityValue { get; set; } private bool? StoreValue { get; set; } private Elastic.Clients.Elasticsearch.Analysis.IcuCollationStrength? StrengthValue { get; set; } private string? VariableTopValue { get; set; } @@ -716,12 +699,6 @@ public IcuCollationPropertyDescriptor Rules(string? rules) return Self; } - public IcuCollationPropertyDescriptor Similarity(string? similarity) - { - SimilarityValue = similarity; - return Self; - } - public IcuCollationPropertyDescriptor Store(bool? store = true) { StoreValue = store; @@ -869,12 +846,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o writer.WriteStringValue(RulesValue); } - if (!string.IsNullOrEmpty(SimilarityValue)) - { - writer.WritePropertyName("similarity"); - writer.WriteStringValue(SimilarityValue); - } - if (StoreValue.HasValue) { writer.WritePropertyName("store"); @@ -926,7 +897,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o Numeric = NumericValue, Properties = PropertiesValue, Rules = RulesValue, - Similarity = SimilarityValue, Store = StoreValue, Strength = StrengthValue, VariableTop = VariableTopValue, diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Mapping/IntegerNumberProperty.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Mapping/IntegerNumberProperty.g.cs index 6317c6dc0e6..8d2512bed63 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Mapping/IntegerNumberProperty.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Mapping/IntegerNumberProperty.g.cs @@ -64,8 +64,6 @@ public sealed partial class IntegerNumberProperty : IProperty public Elastic.Clients.Elasticsearch.Mapping.Properties? Properties { get; set; } [JsonInclude, JsonPropertyName("script")] public Elastic.Clients.Elasticsearch.Script? Script { get; set; } - [JsonInclude, JsonPropertyName("similarity")] - public string? Similarity { get; set; } [JsonInclude, JsonPropertyName("store")] public bool? Store { get; set; } @@ -113,7 +111,6 @@ public IntegerNumberPropertyDescriptor() : base() private Elastic.Clients.Elasticsearch.Script? ScriptValue { get; set; } private Elastic.Clients.Elasticsearch.ScriptDescriptor ScriptDescriptor { get; set; } private Action ScriptDescriptorAction { get; set; } - private string? SimilarityValue { get; set; } private bool? StoreValue { get; set; } private bool? TimeSeriesDimensionValue { get; set; } private Elastic.Clients.Elasticsearch.Mapping.TimeSeriesMetricType? TimeSeriesMetricValue { get; set; } @@ -253,12 +250,6 @@ public IntegerNumberPropertyDescriptor Script(Action Similarity(string? similarity) - { - SimilarityValue = similarity; - return Self; - } - public IntegerNumberPropertyDescriptor Store(bool? store = true) { StoreValue = store; @@ -384,12 +375,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o JsonSerializer.Serialize(writer, ScriptValue, options); } - if (!string.IsNullOrEmpty(SimilarityValue)) - { - writer.WritePropertyName("similarity"); - writer.WriteStringValue(SimilarityValue); - } - if (StoreValue.HasValue) { writer.WritePropertyName("store"); @@ -453,7 +438,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o OnScriptError = OnScriptErrorValue, Properties = PropertiesValue, Script = BuildScript(), - Similarity = SimilarityValue, Store = StoreValue, TimeSeriesDimension = TimeSeriesDimensionValue, TimeSeriesMetric = TimeSeriesMetricValue @@ -484,7 +468,6 @@ public IntegerNumberPropertyDescriptor() : base() private Elastic.Clients.Elasticsearch.Script? ScriptValue { get; set; } private Elastic.Clients.Elasticsearch.ScriptDescriptor ScriptDescriptor { get; set; } private Action ScriptDescriptorAction { get; set; } - private string? SimilarityValue { get; set; } private bool? StoreValue { get; set; } private bool? TimeSeriesDimensionValue { get; set; } private Elastic.Clients.Elasticsearch.Mapping.TimeSeriesMetricType? TimeSeriesMetricValue { get; set; } @@ -624,12 +607,6 @@ public IntegerNumberPropertyDescriptor Script(Action? Meta { get; set; } [JsonInclude, JsonPropertyName("properties")] public Elastic.Clients.Elasticsearch.Mapping.Properties? Properties { get; set; } - [JsonInclude, JsonPropertyName("similarity")] - public string? Similarity { get; set; } [JsonInclude, JsonPropertyName("store")] public bool? Store { get; set; } @@ -83,7 +81,6 @@ public IntegerRangePropertyDescriptor() : base() private bool? IndexValue { get; set; } private IDictionary? MetaValue { get; set; } private Elastic.Clients.Elasticsearch.Mapping.Properties? PropertiesValue { get; set; } - private string? SimilarityValue { get; set; } private bool? StoreValue { get; set; } public IntegerRangePropertyDescriptor Boost(double? boost) @@ -179,12 +176,6 @@ public IntegerRangePropertyDescriptor Properties(Action Similarity(string? similarity) - { - SimilarityValue = similarity; - return Self; - } - public IntegerRangePropertyDescriptor Store(bool? store = true) { StoreValue = store; @@ -254,12 +245,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o JsonSerializer.Serialize(writer, PropertiesValue, options); } - if (!string.IsNullOrEmpty(SimilarityValue)) - { - writer.WritePropertyName("similarity"); - writer.WriteStringValue(SimilarityValue); - } - if (StoreValue.HasValue) { writer.WritePropertyName("store"); @@ -283,7 +268,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o Index = IndexValue, Meta = MetaValue, Properties = PropertiesValue, - Similarity = SimilarityValue, Store = StoreValue }; } @@ -306,7 +290,6 @@ public IntegerRangePropertyDescriptor() : base() private bool? IndexValue { get; set; } private IDictionary? MetaValue { get; set; } private Elastic.Clients.Elasticsearch.Mapping.Properties? PropertiesValue { get; set; } - private string? SimilarityValue { get; set; } private bool? StoreValue { get; set; } public IntegerRangePropertyDescriptor Boost(double? boost) @@ -402,12 +385,6 @@ public IntegerRangePropertyDescriptor Properties(Action ScriptDescriptorAction { get; set; } - private string? SimilarityValue { get; set; } private bool? StoreValue { get; set; } private bool? TimeSeriesDimensionValue { get; set; } @@ -235,12 +232,6 @@ public IpPropertyDescriptor Script(Action Similarity(string? similarity) - { - SimilarityValue = similarity; - return Self; - } - public IpPropertyDescriptor Store(bool? store = true) { StoreValue = store; @@ -349,12 +340,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o JsonSerializer.Serialize(writer, ScriptValue, options); } - if (!string.IsNullOrEmpty(SimilarityValue)) - { - writer.WritePropertyName("similarity"); - writer.WriteStringValue(SimilarityValue); - } - if (StoreValue.HasValue) { writer.WritePropertyName("store"); @@ -411,7 +396,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o OnScriptError = OnScriptErrorValue, Properties = PropertiesValue, Script = BuildScript(), - Similarity = SimilarityValue, Store = StoreValue, TimeSeriesDimension = TimeSeriesDimensionValue }; @@ -440,7 +424,6 @@ public IpPropertyDescriptor() : base() private Elastic.Clients.Elasticsearch.Script? ScriptValue { get; set; } private Elastic.Clients.Elasticsearch.ScriptDescriptor ScriptDescriptor { get; set; } private Action ScriptDescriptorAction { get; set; } - private string? SimilarityValue { get; set; } private bool? StoreValue { get; set; } private bool? TimeSeriesDimensionValue { get; set; } @@ -573,12 +556,6 @@ public IpPropertyDescriptor Script(Action? Meta { get; set; } [JsonInclude, JsonPropertyName("properties")] public Elastic.Clients.Elasticsearch.Mapping.Properties? Properties { get; set; } - [JsonInclude, JsonPropertyName("similarity")] - public string? Similarity { get; set; } [JsonInclude, JsonPropertyName("store")] public bool? Store { get; set; } @@ -83,7 +81,6 @@ public IpRangePropertyDescriptor() : base() private bool? IndexValue { get; set; } private IDictionary? MetaValue { get; set; } private Elastic.Clients.Elasticsearch.Mapping.Properties? PropertiesValue { get; set; } - private string? SimilarityValue { get; set; } private bool? StoreValue { get; set; } public IpRangePropertyDescriptor Boost(double? boost) @@ -179,12 +176,6 @@ public IpRangePropertyDescriptor Properties(Action Similarity(string? similarity) - { - SimilarityValue = similarity; - return Self; - } - public IpRangePropertyDescriptor Store(bool? store = true) { StoreValue = store; @@ -254,12 +245,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o JsonSerializer.Serialize(writer, PropertiesValue, options); } - if (!string.IsNullOrEmpty(SimilarityValue)) - { - writer.WritePropertyName("similarity"); - writer.WriteStringValue(SimilarityValue); - } - if (StoreValue.HasValue) { writer.WritePropertyName("store"); @@ -283,7 +268,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o Index = IndexValue, Meta = MetaValue, Properties = PropertiesValue, - Similarity = SimilarityValue, Store = StoreValue }; } @@ -306,7 +290,6 @@ public IpRangePropertyDescriptor() : base() private bool? IndexValue { get; set; } private IDictionary? MetaValue { get; set; } private Elastic.Clients.Elasticsearch.Mapping.Properties? PropertiesValue { get; set; } - private string? SimilarityValue { get; set; } private bool? StoreValue { get; set; } public IpRangePropertyDescriptor Boost(double? boost) @@ -402,12 +385,6 @@ public IpRangePropertyDescriptor Properties(Action ScriptDescriptorAction { get; set; } - private string? SimilarityValue { get; set; } private bool? StoreValue { get; set; } private bool? TimeSeriesDimensionValue { get; set; } private Elastic.Clients.Elasticsearch.Mapping.TimeSeriesMetricType? TimeSeriesMetricValue { get; set; } @@ -253,12 +250,6 @@ public LongNumberPropertyDescriptor Script(Action Similarity(string? similarity) - { - SimilarityValue = similarity; - return Self; - } - public LongNumberPropertyDescriptor Store(bool? store = true) { StoreValue = store; @@ -384,12 +375,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o JsonSerializer.Serialize(writer, ScriptValue, options); } - if (!string.IsNullOrEmpty(SimilarityValue)) - { - writer.WritePropertyName("similarity"); - writer.WriteStringValue(SimilarityValue); - } - if (StoreValue.HasValue) { writer.WritePropertyName("store"); @@ -453,7 +438,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o OnScriptError = OnScriptErrorValue, Properties = PropertiesValue, Script = BuildScript(), - Similarity = SimilarityValue, Store = StoreValue, TimeSeriesDimension = TimeSeriesDimensionValue, TimeSeriesMetric = TimeSeriesMetricValue @@ -484,7 +468,6 @@ public LongNumberPropertyDescriptor() : base() private Elastic.Clients.Elasticsearch.Script? ScriptValue { get; set; } private Elastic.Clients.Elasticsearch.ScriptDescriptor ScriptDescriptor { get; set; } private Action ScriptDescriptorAction { get; set; } - private string? SimilarityValue { get; set; } private bool? StoreValue { get; set; } private bool? TimeSeriesDimensionValue { get; set; } private Elastic.Clients.Elasticsearch.Mapping.TimeSeriesMetricType? TimeSeriesMetricValue { get; set; } @@ -624,12 +607,6 @@ public LongNumberPropertyDescriptor Script(Action? Meta { get; set; } [JsonInclude, JsonPropertyName("properties")] public Elastic.Clients.Elasticsearch.Mapping.Properties? Properties { get; set; } - [JsonInclude, JsonPropertyName("similarity")] - public string? Similarity { get; set; } [JsonInclude, JsonPropertyName("store")] public bool? Store { get; set; } @@ -83,7 +81,6 @@ public LongRangePropertyDescriptor() : base() private bool? IndexValue { get; set; } private IDictionary? MetaValue { get; set; } private Elastic.Clients.Elasticsearch.Mapping.Properties? PropertiesValue { get; set; } - private string? SimilarityValue { get; set; } private bool? StoreValue { get; set; } public LongRangePropertyDescriptor Boost(double? boost) @@ -179,12 +176,6 @@ public LongRangePropertyDescriptor Properties(Action Similarity(string? similarity) - { - SimilarityValue = similarity; - return Self; - } - public LongRangePropertyDescriptor Store(bool? store = true) { StoreValue = store; @@ -254,12 +245,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o JsonSerializer.Serialize(writer, PropertiesValue, options); } - if (!string.IsNullOrEmpty(SimilarityValue)) - { - writer.WritePropertyName("similarity"); - writer.WriteStringValue(SimilarityValue); - } - if (StoreValue.HasValue) { writer.WritePropertyName("store"); @@ -283,7 +268,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o Index = IndexValue, Meta = MetaValue, Properties = PropertiesValue, - Similarity = SimilarityValue, Store = StoreValue }; } @@ -306,7 +290,6 @@ public LongRangePropertyDescriptor() : base() private bool? IndexValue { get; set; } private IDictionary? MetaValue { get; set; } private Elastic.Clients.Elasticsearch.Mapping.Properties? PropertiesValue { get; set; } - private string? SimilarityValue { get; set; } private bool? StoreValue { get; set; } public LongRangePropertyDescriptor Boost(double? boost) @@ -402,12 +385,6 @@ public LongRangePropertyDescriptor Properties(Action? Meta { get; set; } [JsonInclude, JsonPropertyName("properties")] public Elastic.Clients.Elasticsearch.Mapping.Properties? Properties { get; set; } - [JsonInclude, JsonPropertyName("similarity")] - public string? Similarity { get; set; } [JsonInclude, JsonPropertyName("store")] public bool? Store { get; set; } @@ -74,7 +72,6 @@ public Murmur3HashPropertyDescriptor() : base() private int? IgnoreAboveValue { get; set; } private IDictionary? MetaValue { get; set; } private Elastic.Clients.Elasticsearch.Mapping.Properties? PropertiesValue { get; set; } - private string? SimilarityValue { get; set; } private bool? StoreValue { get; set; } public Murmur3HashPropertyDescriptor CopyTo(Elastic.Clients.Elasticsearch.Fields? copyTo) @@ -152,12 +149,6 @@ public Murmur3HashPropertyDescriptor Properties(Action Similarity(string? similarity) - { - SimilarityValue = similarity; - return Self; - } - public Murmur3HashPropertyDescriptor Store(bool? store = true) { StoreValue = store; @@ -209,12 +200,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o JsonSerializer.Serialize(writer, PropertiesValue, options); } - if (!string.IsNullOrEmpty(SimilarityValue)) - { - writer.WritePropertyName("similarity"); - writer.WriteStringValue(SimilarityValue); - } - if (StoreValue.HasValue) { writer.WritePropertyName("store"); @@ -235,7 +220,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o IgnoreAbove = IgnoreAboveValue, Meta = MetaValue, Properties = PropertiesValue, - Similarity = SimilarityValue, Store = StoreValue }; } @@ -255,7 +239,6 @@ public Murmur3HashPropertyDescriptor() : base() private int? IgnoreAboveValue { get; set; } private IDictionary? MetaValue { get; set; } private Elastic.Clients.Elasticsearch.Mapping.Properties? PropertiesValue { get; set; } - private string? SimilarityValue { get; set; } private bool? StoreValue { get; set; } public Murmur3HashPropertyDescriptor CopyTo(Elastic.Clients.Elasticsearch.Fields? copyTo) @@ -333,12 +316,6 @@ public Murmur3HashPropertyDescriptor Properties(Action? Meta { get; set; } [JsonInclude, JsonPropertyName("properties")] public Elastic.Clients.Elasticsearch.Mapping.Properties? Properties { get; set; } - [JsonInclude, JsonPropertyName("similarity")] - public string? Similarity { get; set; } [JsonInclude, JsonPropertyName("store")] public bool? Store { get; set; } @@ -80,7 +78,6 @@ public NestedPropertyDescriptor() : base() private bool? IncludeInRootValue { get; set; } private IDictionary? MetaValue { get; set; } private Elastic.Clients.Elasticsearch.Mapping.Properties? PropertiesValue { get; set; } - private string? SimilarityValue { get; set; } private bool? StoreValue { get; set; } public NestedPropertyDescriptor CopyTo(Elastic.Clients.Elasticsearch.Fields? copyTo) @@ -170,12 +167,6 @@ public NestedPropertyDescriptor Properties(Action Similarity(string? similarity) - { - SimilarityValue = similarity; - return Self; - } - public NestedPropertyDescriptor Store(bool? store = true) { StoreValue = store; @@ -239,12 +230,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o JsonSerializer.Serialize(writer, PropertiesValue, options); } - if (!string.IsNullOrEmpty(SimilarityValue)) - { - writer.WritePropertyName("similarity"); - writer.WriteStringValue(SimilarityValue); - } - if (StoreValue.HasValue) { writer.WritePropertyName("store"); @@ -267,7 +252,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o IncludeInRoot = IncludeInRootValue, Meta = MetaValue, Properties = PropertiesValue, - Similarity = SimilarityValue, Store = StoreValue }; } @@ -289,7 +273,6 @@ public NestedPropertyDescriptor() : base() private bool? IncludeInRootValue { get; set; } private IDictionary? MetaValue { get; set; } private Elastic.Clients.Elasticsearch.Mapping.Properties? PropertiesValue { get; set; } - private string? SimilarityValue { get; set; } private bool? StoreValue { get; set; } public NestedPropertyDescriptor CopyTo(Elastic.Clients.Elasticsearch.Fields? copyTo) @@ -379,12 +362,6 @@ public NestedPropertyDescriptor Properties(Action? Meta { get; set; } [JsonInclude, JsonPropertyName("properties")] public Elastic.Clients.Elasticsearch.Mapping.Properties? Properties { get; set; } - [JsonInclude, JsonPropertyName("similarity")] - public string? Similarity { get; set; } [JsonInclude, JsonPropertyName("store")] public bool? Store { get; set; } [JsonInclude, JsonPropertyName("subobjects")] @@ -76,7 +74,6 @@ public ObjectPropertyDescriptor() : base() private int? IgnoreAboveValue { get; set; } private IDictionary? MetaValue { get; set; } private Elastic.Clients.Elasticsearch.Mapping.Properties? PropertiesValue { get; set; } - private string? SimilarityValue { get; set; } private bool? StoreValue { get; set; } private bool? SubobjectsValue { get; set; } @@ -155,12 +152,6 @@ public ObjectPropertyDescriptor Properties(Action Similarity(string? similarity) - { - SimilarityValue = similarity; - return Self; - } - public ObjectPropertyDescriptor Store(bool? store = true) { StoreValue = store; @@ -218,12 +209,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o JsonSerializer.Serialize(writer, PropertiesValue, options); } - if (!string.IsNullOrEmpty(SimilarityValue)) - { - writer.WritePropertyName("similarity"); - writer.WriteStringValue(SimilarityValue); - } - if (StoreValue.HasValue) { writer.WritePropertyName("store"); @@ -250,7 +235,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o IgnoreAbove = IgnoreAboveValue, Meta = MetaValue, Properties = PropertiesValue, - Similarity = SimilarityValue, Store = StoreValue, Subobjects = SubobjectsValue }; @@ -271,7 +255,6 @@ public ObjectPropertyDescriptor() : base() private int? IgnoreAboveValue { get; set; } private IDictionary? MetaValue { get; set; } private Elastic.Clients.Elasticsearch.Mapping.Properties? PropertiesValue { get; set; } - private string? SimilarityValue { get; set; } private bool? StoreValue { get; set; } private bool? SubobjectsValue { get; set; } @@ -350,12 +333,6 @@ public ObjectPropertyDescriptor Properties(Action? MetaValue { get; set; } private string? NullValueValue { get; set; } private Elastic.Clients.Elasticsearch.Mapping.Properties? PropertiesValue { get; set; } - private string? SimilarityValue { get; set; } private bool? StoreValue { get; set; } public PointPropertyDescriptor CopyTo(Elastic.Clients.Elasticsearch.Fields? copyTo) @@ -179,12 +176,6 @@ public PointPropertyDescriptor Properties(Action Similarity(string? similarity) - { - SimilarityValue = similarity; - return Self; - } - public PointPropertyDescriptor Store(bool? store = true) { StoreValue = store; @@ -254,12 +245,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o JsonSerializer.Serialize(writer, PropertiesValue, options); } - if (!string.IsNullOrEmpty(SimilarityValue)) - { - writer.WritePropertyName("similarity"); - writer.WriteStringValue(SimilarityValue); - } - if (StoreValue.HasValue) { writer.WritePropertyName("store"); @@ -283,7 +268,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o Meta = MetaValue, NullValue = NullValueValue, Properties = PropertiesValue, - Similarity = SimilarityValue, Store = StoreValue }; } @@ -306,7 +290,6 @@ public PointPropertyDescriptor() : base() private IDictionary? MetaValue { get; set; } private string? NullValueValue { get; set; } private Elastic.Clients.Elasticsearch.Mapping.Properties? PropertiesValue { get; set; } - private string? SimilarityValue { get; set; } private bool? StoreValue { get; set; } public PointPropertyDescriptor CopyTo(Elastic.Clients.Elasticsearch.Fields? copyTo) @@ -402,12 +385,6 @@ public PointPropertyDescriptor Properties(Action? FetchFields { get; set; } + /// + /// + /// For type composite + /// + /// + [JsonInclude, JsonPropertyName("fields")] + public IDictionary? Fields { get; set; } + /// /// /// A custom format for date type runtime fields. @@ -98,6 +106,7 @@ public RuntimeFieldDescriptor() : base() private Elastic.Clients.Elasticsearch.Mapping.RuntimeFieldFetchFieldsDescriptor FetchFieldsDescriptor { get; set; } private Action> FetchFieldsDescriptorAction { get; set; } private Action>[] FetchFieldsDescriptorActions { get; set; } + private IDictionary FieldsValue { get; set; } private string? FormatValue { get; set; } private Elastic.Clients.Elasticsearch.Field? InputFieldValue { get; set; } private Elastic.Clients.Elasticsearch.Script? ScriptValue { get; set; } @@ -148,6 +157,17 @@ public RuntimeFieldDescriptor FetchFields(params Action + /// + /// For type composite + /// + /// + public RuntimeFieldDescriptor Fields(Func, FluentDescriptorDictionary> selector) + { + FieldsValue = selector?.Invoke(new FluentDescriptorDictionary()); + return Self; + } + /// /// /// A custom format for date type runtime fields. @@ -310,6 +330,12 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o JsonSerializer.Serialize(writer, FetchFieldsValue, options); } + if (FieldsValue is not null) + { + writer.WritePropertyName("fields"); + JsonSerializer.Serialize(writer, FieldsValue, options); + } + if (!string.IsNullOrEmpty(FormatValue)) { writer.WritePropertyName("format"); @@ -368,6 +394,7 @@ public RuntimeFieldDescriptor() : base() private Elastic.Clients.Elasticsearch.Mapping.RuntimeFieldFetchFieldsDescriptor FetchFieldsDescriptor { get; set; } private Action FetchFieldsDescriptorAction { get; set; } private Action[] FetchFieldsDescriptorActions { get; set; } + private IDictionary FieldsValue { get; set; } private string? FormatValue { get; set; } private Elastic.Clients.Elasticsearch.Field? InputFieldValue { get; set; } private Elastic.Clients.Elasticsearch.Script? ScriptValue { get; set; } @@ -418,6 +445,17 @@ public RuntimeFieldDescriptor FetchFields(params Action + /// + /// For type composite + /// + /// + public RuntimeFieldDescriptor Fields(Func, FluentDescriptorDictionary> selector) + { + FieldsValue = selector?.Invoke(new FluentDescriptorDictionary()); + return Self; + } + /// /// /// A custom format for date type runtime fields. @@ -580,6 +618,12 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o JsonSerializer.Serialize(writer, FetchFieldsValue, options); } + if (FieldsValue is not null) + { + writer.WritePropertyName("fields"); + JsonSerializer.Serialize(writer, FieldsValue, options); + } + if (!string.IsNullOrEmpty(FormatValue)) { writer.WritePropertyName("format"); diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Mapping/ScaledFloatNumberProperty.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Mapping/ScaledFloatNumberProperty.g.cs index c32c2f20aa6..af85a307d39 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Mapping/ScaledFloatNumberProperty.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Mapping/ScaledFloatNumberProperty.g.cs @@ -66,8 +66,6 @@ public sealed partial class ScaledFloatNumberProperty : IProperty public double? ScalingFactor { get; set; } [JsonInclude, JsonPropertyName("script")] public Elastic.Clients.Elasticsearch.Script? Script { get; set; } - [JsonInclude, JsonPropertyName("similarity")] - public string? Similarity { get; set; } [JsonInclude, JsonPropertyName("store")] public bool? Store { get; set; } @@ -116,7 +114,6 @@ public ScaledFloatNumberPropertyDescriptor() : base() private Elastic.Clients.Elasticsearch.Script? ScriptValue { get; set; } private Elastic.Clients.Elasticsearch.ScriptDescriptor ScriptDescriptor { get; set; } private Action ScriptDescriptorAction { get; set; } - private string? SimilarityValue { get; set; } private bool? StoreValue { get; set; } private bool? TimeSeriesDimensionValue { get; set; } private Elastic.Clients.Elasticsearch.Mapping.TimeSeriesMetricType? TimeSeriesMetricValue { get; set; } @@ -262,12 +259,6 @@ public ScaledFloatNumberPropertyDescriptor Script(Action Similarity(string? similarity) - { - SimilarityValue = similarity; - return Self; - } - public ScaledFloatNumberPropertyDescriptor Store(bool? store = true) { StoreValue = store; @@ -399,12 +390,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o JsonSerializer.Serialize(writer, ScriptValue, options); } - if (!string.IsNullOrEmpty(SimilarityValue)) - { - writer.WritePropertyName("similarity"); - writer.WriteStringValue(SimilarityValue); - } - if (StoreValue.HasValue) { writer.WritePropertyName("store"); @@ -469,7 +454,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o Properties = PropertiesValue, ScalingFactor = ScalingFactorValue, Script = BuildScript(), - Similarity = SimilarityValue, Store = StoreValue, TimeSeriesDimension = TimeSeriesDimensionValue, TimeSeriesMetric = TimeSeriesMetricValue @@ -501,7 +485,6 @@ public ScaledFloatNumberPropertyDescriptor() : base() private Elastic.Clients.Elasticsearch.Script? ScriptValue { get; set; } private Elastic.Clients.Elasticsearch.ScriptDescriptor ScriptDescriptor { get; set; } private Action ScriptDescriptorAction { get; set; } - private string? SimilarityValue { get; set; } private bool? StoreValue { get; set; } private bool? TimeSeriesDimensionValue { get; set; } private Elastic.Clients.Elasticsearch.Mapping.TimeSeriesMetricType? TimeSeriesMetricValue { get; set; } @@ -647,12 +630,6 @@ public ScaledFloatNumberPropertyDescriptor Script(Action? MetaValue { get; set; } private Elastic.Clients.Elasticsearch.Mapping.GeoOrientation? OrientationValue { get; set; } private Elastic.Clients.Elasticsearch.Mapping.Properties? PropertiesValue { get; set; } - private string? SimilarityValue { get; set; } private bool? StoreValue { get; set; } public ShapePropertyDescriptor Coerce(bool? coerce = true) @@ -202,12 +199,6 @@ public ShapePropertyDescriptor Properties(Action Similarity(string? similarity) - { - SimilarityValue = similarity; - return Self; - } - public ShapePropertyDescriptor Store(bool? store = true) { StoreValue = store; @@ -283,12 +274,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o JsonSerializer.Serialize(writer, PropertiesValue, options); } - if (!string.IsNullOrEmpty(SimilarityValue)) - { - writer.WritePropertyName("similarity"); - writer.WriteStringValue(SimilarityValue); - } - if (StoreValue.HasValue) { writer.WritePropertyName("store"); @@ -313,7 +298,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o Meta = MetaValue, Orientation = OrientationValue, Properties = PropertiesValue, - Similarity = SimilarityValue, Store = StoreValue }; } @@ -344,7 +328,6 @@ public ShapePropertyDescriptor() : base() private IDictionary? MetaValue { get; set; } private Elastic.Clients.Elasticsearch.Mapping.GeoOrientation? OrientationValue { get; set; } private Elastic.Clients.Elasticsearch.Mapping.Properties? PropertiesValue { get; set; } - private string? SimilarityValue { get; set; } private bool? StoreValue { get; set; } public ShapePropertyDescriptor Coerce(bool? coerce = true) @@ -446,12 +429,6 @@ public ShapePropertyDescriptor Properties(Action ScriptDescriptorAction { get; set; } - private string? SimilarityValue { get; set; } private bool? StoreValue { get; set; } private bool? TimeSeriesDimensionValue { get; set; } private Elastic.Clients.Elasticsearch.Mapping.TimeSeriesMetricType? TimeSeriesMetricValue { get; set; } @@ -253,12 +250,6 @@ public ShortNumberPropertyDescriptor Script(Action Similarity(string? similarity) - { - SimilarityValue = similarity; - return Self; - } - public ShortNumberPropertyDescriptor Store(bool? store = true) { StoreValue = store; @@ -384,12 +375,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o JsonSerializer.Serialize(writer, ScriptValue, options); } - if (!string.IsNullOrEmpty(SimilarityValue)) - { - writer.WritePropertyName("similarity"); - writer.WriteStringValue(SimilarityValue); - } - if (StoreValue.HasValue) { writer.WritePropertyName("store"); @@ -453,7 +438,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o OnScriptError = OnScriptErrorValue, Properties = PropertiesValue, Script = BuildScript(), - Similarity = SimilarityValue, Store = StoreValue, TimeSeriesDimension = TimeSeriesDimensionValue, TimeSeriesMetric = TimeSeriesMetricValue @@ -484,7 +468,6 @@ public ShortNumberPropertyDescriptor() : base() private Elastic.Clients.Elasticsearch.Script? ScriptValue { get; set; } private Elastic.Clients.Elasticsearch.ScriptDescriptor ScriptDescriptor { get; set; } private Action ScriptDescriptorAction { get; set; } - private string? SimilarityValue { get; set; } private bool? StoreValue { get; set; } private bool? TimeSeriesDimensionValue { get; set; } private Elastic.Clients.Elasticsearch.Mapping.TimeSeriesMetricType? TimeSeriesMetricValue { get; set; } @@ -624,12 +607,6 @@ public ShortNumberPropertyDescriptor Script(Action? MetaValue { get; set; } private double? NullValueValue { get; set; } private Elastic.Clients.Elasticsearch.Mapping.Properties? PropertiesValue { get; set; } - private string? SimilarityValue { get; set; } private bool? StoreValue { get; set; } public TokenCountPropertyDescriptor Analyzer(string? analyzer) @@ -197,12 +194,6 @@ public TokenCountPropertyDescriptor Properties(Action Similarity(string? similarity) - { - SimilarityValue = similarity; - return Self; - } - public TokenCountPropertyDescriptor Store(bool? store = true) { StoreValue = store; @@ -284,12 +275,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o JsonSerializer.Serialize(writer, PropertiesValue, options); } - if (!string.IsNullOrEmpty(SimilarityValue)) - { - writer.WritePropertyName("similarity"); - writer.WriteStringValue(SimilarityValue); - } - if (StoreValue.HasValue) { writer.WritePropertyName("store"); @@ -315,7 +300,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o Meta = MetaValue, NullValue = NullValueValue, Properties = PropertiesValue, - Similarity = SimilarityValue, Store = StoreValue }; } @@ -340,7 +324,6 @@ public TokenCountPropertyDescriptor() : base() private IDictionary? MetaValue { get; set; } private double? NullValueValue { get; set; } private Elastic.Clients.Elasticsearch.Mapping.Properties? PropertiesValue { get; set; } - private string? SimilarityValue { get; set; } private bool? StoreValue { get; set; } public TokenCountPropertyDescriptor Analyzer(string? analyzer) @@ -448,12 +431,6 @@ public TokenCountPropertyDescriptor Properties(Action ScriptDescriptorAction { get; set; } - private string? SimilarityValue { get; set; } private bool? StoreValue { get; set; } private bool? TimeSeriesDimensionValue { get; set; } private Elastic.Clients.Elasticsearch.Mapping.TimeSeriesMetricType? TimeSeriesMetricValue { get; set; } @@ -253,12 +250,6 @@ public UnsignedLongNumberPropertyDescriptor Script(Action Similarity(string? similarity) - { - SimilarityValue = similarity; - return Self; - } - public UnsignedLongNumberPropertyDescriptor Store(bool? store = true) { StoreValue = store; @@ -384,12 +375,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o JsonSerializer.Serialize(writer, ScriptValue, options); } - if (!string.IsNullOrEmpty(SimilarityValue)) - { - writer.WritePropertyName("similarity"); - writer.WriteStringValue(SimilarityValue); - } - if (StoreValue.HasValue) { writer.WritePropertyName("store"); @@ -453,7 +438,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o OnScriptError = OnScriptErrorValue, Properties = PropertiesValue, Script = BuildScript(), - Similarity = SimilarityValue, Store = StoreValue, TimeSeriesDimension = TimeSeriesDimensionValue, TimeSeriesMetric = TimeSeriesMetricValue @@ -484,7 +468,6 @@ public UnsignedLongNumberPropertyDescriptor() : base() private Elastic.Clients.Elasticsearch.Script? ScriptValue { get; set; } private Elastic.Clients.Elasticsearch.ScriptDescriptor ScriptDescriptor { get; set; } private Action ScriptDescriptorAction { get; set; } - private string? SimilarityValue { get; set; } private bool? StoreValue { get; set; } private bool? TimeSeriesDimensionValue { get; set; } private Elastic.Clients.Elasticsearch.Mapping.TimeSeriesMetricType? TimeSeriesMetricValue { get; set; } @@ -624,12 +607,6 @@ public UnsignedLongNumberPropertyDescriptor Script(Action? Meta { get; set; } [JsonInclude, JsonPropertyName("properties")] public Elastic.Clients.Elasticsearch.Mapping.Properties? Properties { get; set; } - [JsonInclude, JsonPropertyName("similarity")] - public string? Similarity { get; set; } [JsonInclude, JsonPropertyName("store")] public bool? Store { get; set; } @@ -74,7 +72,6 @@ public VersionPropertyDescriptor() : base() private int? IgnoreAboveValue { get; set; } private IDictionary? MetaValue { get; set; } private Elastic.Clients.Elasticsearch.Mapping.Properties? PropertiesValue { get; set; } - private string? SimilarityValue { get; set; } private bool? StoreValue { get; set; } public VersionPropertyDescriptor CopyTo(Elastic.Clients.Elasticsearch.Fields? copyTo) @@ -152,12 +149,6 @@ public VersionPropertyDescriptor Properties(Action Similarity(string? similarity) - { - SimilarityValue = similarity; - return Self; - } - public VersionPropertyDescriptor Store(bool? store = true) { StoreValue = store; @@ -209,12 +200,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o JsonSerializer.Serialize(writer, PropertiesValue, options); } - if (!string.IsNullOrEmpty(SimilarityValue)) - { - writer.WritePropertyName("similarity"); - writer.WriteStringValue(SimilarityValue); - } - if (StoreValue.HasValue) { writer.WritePropertyName("store"); @@ -235,7 +220,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o IgnoreAbove = IgnoreAboveValue, Meta = MetaValue, Properties = PropertiesValue, - Similarity = SimilarityValue, Store = StoreValue }; } @@ -255,7 +239,6 @@ public VersionPropertyDescriptor() : base() private int? IgnoreAboveValue { get; set; } private IDictionary? MetaValue { get; set; } private Elastic.Clients.Elasticsearch.Mapping.Properties? PropertiesValue { get; set; } - private string? SimilarityValue { get; set; } private bool? StoreValue { get; set; } public VersionPropertyDescriptor CopyTo(Elastic.Clients.Elasticsearch.Fields? copyTo) @@ -333,12 +316,6 @@ public VersionPropertyDescriptor Properties(Action? MetaValue { get; set; } private string? NullValueValue { get; set; } private Elastic.Clients.Elasticsearch.Mapping.Properties? PropertiesValue { get; set; } - private string? SimilarityValue { get; set; } private bool? StoreValue { get; set; } public WildcardPropertyDescriptor CopyTo(Elastic.Clients.Elasticsearch.Fields? copyTo) @@ -161,12 +158,6 @@ public WildcardPropertyDescriptor Properties(Action Similarity(string? similarity) - { - SimilarityValue = similarity; - return Self; - } - public WildcardPropertyDescriptor Store(bool? store = true) { StoreValue = store; @@ -224,12 +215,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o JsonSerializer.Serialize(writer, PropertiesValue, options); } - if (!string.IsNullOrEmpty(SimilarityValue)) - { - writer.WritePropertyName("similarity"); - writer.WriteStringValue(SimilarityValue); - } - if (StoreValue.HasValue) { writer.WritePropertyName("store"); @@ -251,7 +236,6 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o Meta = MetaValue, NullValue = NullValueValue, Properties = PropertiesValue, - Similarity = SimilarityValue, Store = StoreValue }; } @@ -272,7 +256,6 @@ public WildcardPropertyDescriptor() : base() private IDictionary? MetaValue { get; set; } private string? NullValueValue { get; set; } private Elastic.Clients.Elasticsearch.Mapping.Properties? PropertiesValue { get; set; } - private string? SimilarityValue { get; set; } private bool? StoreValue { get; set; } public WildcardPropertyDescriptor CopyTo(Elastic.Clients.Elasticsearch.Fields? copyTo) @@ -356,12 +339,6 @@ public WildcardPropertyDescriptor Properties(Action [JsonInclude, JsonPropertyName("ephemeral_id")] public string EphemeralId { get; init; } - [JsonInclude, JsonPropertyName("external_id")] - public string? ExternalId { get; init; } /// /// @@ -62,8 +60,6 @@ public sealed partial class NodeAttributes /// [JsonInclude, JsonPropertyName("name")] public string Name { get; init; } - [JsonInclude, JsonPropertyName("roles")] - public IReadOnlyCollection? Roles { get; init; } /// /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/Http.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/Http.g.cs index 26dad0d1a8f..987f8bd961b 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/Http.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/Http.g.cs @@ -46,6 +46,14 @@ public sealed partial class Http [JsonInclude, JsonPropertyName("current_open")] public int? CurrentOpen { get; init; } + /// + /// + /// Detailed HTTP stats broken down by route + /// + /// + [JsonInclude, JsonPropertyName("routes")] + public IReadOnlyDictionary Routes { get; init; } + /// /// /// Total number of HTTP connections opened for the node. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/HttpRoute.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/HttpRoute.g.cs new file mode 100644 index 00000000000..5a7a73b0dbd --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/HttpRoute.g.cs @@ -0,0 +1,36 @@ +// 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 Elastic.Clients.Elasticsearch.Fluent; +using Elastic.Clients.Elasticsearch.Serialization; +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +namespace Elastic.Clients.Elasticsearch.Nodes; + +public sealed partial class HttpRoute +{ + [JsonInclude, JsonPropertyName("requests")] + public Elastic.Clients.Elasticsearch.Nodes.HttpRouteRequests Requests { get; init; } + [JsonInclude, JsonPropertyName("responses")] + public Elastic.Clients.Elasticsearch.Nodes.HttpRouteResponses Responses { get; init; } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/HttpRouteRequests.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/HttpRouteRequests.g.cs new file mode 100644 index 00000000000..dc7a3eed1e9 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/HttpRouteRequests.g.cs @@ -0,0 +1,38 @@ +// 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 Elastic.Clients.Elasticsearch.Fluent; +using Elastic.Clients.Elasticsearch.Serialization; +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +namespace Elastic.Clients.Elasticsearch.Nodes; + +public sealed partial class HttpRouteRequests +{ + [JsonInclude, JsonPropertyName("count")] + public long Count { get; init; } + [JsonInclude, JsonPropertyName("size_histogram")] + public IReadOnlyCollection SizeHistogram { get; init; } + [JsonInclude, JsonPropertyName("total_size_in_bytes")] + public long TotalSizeInBytes { get; init; } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/HttpRouteResponses.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/HttpRouteResponses.g.cs new file mode 100644 index 00000000000..af52dc353ce --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/HttpRouteResponses.g.cs @@ -0,0 +1,40 @@ +// 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 Elastic.Clients.Elasticsearch.Fluent; +using Elastic.Clients.Elasticsearch.Serialization; +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +namespace Elastic.Clients.Elasticsearch.Nodes; + +public sealed partial class HttpRouteResponses +{ + [JsonInclude, JsonPropertyName("count")] + public long Count { get; init; } + [JsonInclude, JsonPropertyName("handling_time_histogram")] + public IReadOnlyCollection HandlingTimeHistogram { get; init; } + [JsonInclude, JsonPropertyName("size_histogram")] + public IReadOnlyCollection SizeHistogram { get; init; } + [JsonInclude, JsonPropertyName("total_size_in_bytes")] + public long TotalSizeInBytes { get; init; } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/Ingest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/Ingest.g.cs index c006508a460..b313cac7a44 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/Ingest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/Ingest.g.cs @@ -35,7 +35,7 @@ public sealed partial class Ingest /// /// [JsonInclude, JsonPropertyName("pipelines")] - public IReadOnlyDictionary? Pipelines { get; init; } + public IReadOnlyDictionary? Pipelines { get; init; } /// /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/IngestStats.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/IngestStats.g.cs new file mode 100644 index 00000000000..03ebdc03a38 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/IngestStats.g.cs @@ -0,0 +1,92 @@ +// 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 Elastic.Clients.Elasticsearch.Fluent; +using Elastic.Clients.Elasticsearch.Serialization; +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +namespace Elastic.Clients.Elasticsearch.Nodes; + +public sealed partial class IngestStats +{ + /// + /// + /// Total number of documents ingested during the lifetime of this node. + /// + /// + [JsonInclude, JsonPropertyName("count")] + public long Count { get; init; } + + /// + /// + /// Total number of documents currently being ingested. + /// + /// + [JsonInclude, JsonPropertyName("current")] + public long Current { get; init; } + + /// + /// + /// Total number of failed ingest operations during the lifetime of this node. + /// + /// + [JsonInclude, JsonPropertyName("failed")] + public long Failed { get; init; } + + /// + /// + /// Total number of bytes of all documents ingested by the pipeline. + /// This field is only present on pipelines which are the first to process a document. + /// Thus, it is not present on pipelines which only serve as a final pipeline after a default pipeline, a pipeline run after a reroute processor, or pipelines in pipeline processors. + /// + /// + [JsonInclude, JsonPropertyName("ingested_as_first_pipeline_in_bytes")] + public long IngestedAsFirstPipelineInBytes { get; init; } + + /// + /// + /// Total number of ingest processors. + /// + /// + [JsonInclude, JsonPropertyName("processors")] + public IReadOnlyCollection> Processors { get; init; } + + /// + /// + /// Total number of bytes of all documents produced by the pipeline. + /// This field is only present on pipelines which are the first to process a document. + /// Thus, it is not present on pipelines which only serve as a final pipeline after a default pipeline, a pipeline run after a reroute processor, or pipelines in pipeline processors. + /// In situations where there are subsequent pipelines, the value represents the size of the document after all pipelines have run. + /// + /// + [JsonInclude, JsonPropertyName("produced_as_first_pipeline_in_bytes")] + public long ProducedAsFirstPipelineInBytes { get; init; } + + /// + /// + /// Total time, in milliseconds, spent preprocessing ingest documents during the lifetime of this node. + /// + /// + [JsonInclude, JsonPropertyName("time_in_millis")] + public long TimeInMillis { get; init; } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/IngestTotal.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/IngestTotal.g.cs index 36be833970c..9984b1514d1 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/IngestTotal.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/IngestTotal.g.cs @@ -35,7 +35,7 @@ public sealed partial class IngestTotal /// /// [JsonInclude, JsonPropertyName("count")] - public long? Count { get; init; } + public long Count { get; init; } /// /// @@ -43,7 +43,7 @@ public sealed partial class IngestTotal /// /// [JsonInclude, JsonPropertyName("current")] - public long? Current { get; init; } + public long Current { get; init; } /// /// @@ -51,15 +51,7 @@ public sealed partial class IngestTotal /// /// [JsonInclude, JsonPropertyName("failed")] - public long? Failed { get; init; } - - /// - /// - /// Total number of ingest processors. - /// - /// - [JsonInclude, JsonPropertyName("processors")] - public IReadOnlyCollection>? Processors { get; init; } + public long Failed { get; init; } /// /// @@ -67,5 +59,5 @@ public sealed partial class IngestTotal /// /// [JsonInclude, JsonPropertyName("time_in_millis")] - public long? TimeInMillis { get; init; } + public long TimeInMillis { get; init; } } \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/SizeHttpHistogram.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/SizeHttpHistogram.g.cs new file mode 100644 index 00000000000..0014092d70b --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/SizeHttpHistogram.g.cs @@ -0,0 +1,38 @@ +// 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 Elastic.Clients.Elasticsearch.Fluent; +using Elastic.Clients.Elasticsearch.Serialization; +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +namespace Elastic.Clients.Elasticsearch.Nodes; + +public sealed partial class SizeHttpHistogram +{ + [JsonInclude, JsonPropertyName("count")] + public long Count { get; init; } + [JsonInclude, JsonPropertyName("ge_bytes")] + public long? GeBytes { get; init; } + [JsonInclude, JsonPropertyName("lt_bytes")] + public long? LtBytes { get; init; } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/TimeHttpHistogram.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/TimeHttpHistogram.g.cs new file mode 100644 index 00000000000..71bc31a204f --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/TimeHttpHistogram.g.cs @@ -0,0 +1,38 @@ +// 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 Elastic.Clients.Elasticsearch.Fluent; +using Elastic.Clients.Elasticsearch.Serialization; +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +namespace Elastic.Clients.Elasticsearch.Nodes; + +public sealed partial class TimeHttpHistogram +{ + [JsonInclude, JsonPropertyName("count")] + public long Count { get; init; } + [JsonInclude, JsonPropertyName("ge_millis")] + public long? GeMillis { get; init; } + [JsonInclude, JsonPropertyName("lt_millis")] + public long? LtMillis { get; init; } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/TermsSetQuery.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/TermsSetQuery.g.cs index 288028f159a..47cb8cf5415 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/TermsSetQuery.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/TermsSetQuery.g.cs @@ -48,6 +48,12 @@ public override TermsSetQuery Read(ref Utf8JsonReader reader, Type typeToConvert continue; } + if (property == "minimum_should_match") + { + variant.MinimumShouldMatch = JsonSerializer.Deserialize(ref reader, options); + continue; + } + if (property == "minimum_should_match_field") { variant.MinimumShouldMatchField = JsonSerializer.Deserialize(ref reader, options); @@ -68,7 +74,7 @@ public override TermsSetQuery Read(ref Utf8JsonReader reader, Type typeToConvert if (property == "terms") { - variant.Terms = JsonSerializer.Deserialize>(ref reader, options); + variant.Terms = JsonSerializer.Deserialize>(ref reader, options); continue; } } @@ -93,6 +99,12 @@ public override void Write(Utf8JsonWriter writer, TermsSetQuery value, JsonSeria writer.WriteNumberValue(value.Boost.Value); } + if (value.MinimumShouldMatch is not null) + { + writer.WritePropertyName("minimum_should_match"); + JsonSerializer.Serialize(writer, value.MinimumShouldMatch, options); + } + if (value.MinimumShouldMatchField is not null) { writer.WritePropertyName("minimum_should_match_field"); @@ -139,6 +151,13 @@ public TermsSetQuery(Elastic.Clients.Elasticsearch.Field field) public float? Boost { get; set; } public Elastic.Clients.Elasticsearch.Field Field { get; set; } + /// + /// + /// Specification describing number of matching terms required to return a document. + /// + /// + public Elastic.Clients.Elasticsearch.MinimumShouldMatch? MinimumShouldMatch { get; set; } + /// /// /// Numeric field containing the number of matching terms required to return a document. @@ -159,7 +178,7 @@ public TermsSetQuery(Elastic.Clients.Elasticsearch.Field field) /// Array of terms you wish to find in the provided field. /// /// - public ICollection Terms { get; set; } + public ICollection Terms { get; set; } public static implicit operator Elastic.Clients.Elasticsearch.QueryDsl.Query(TermsSetQuery termsSetQuery) => Elastic.Clients.Elasticsearch.QueryDsl.Query.TermsSet(termsSetQuery); } @@ -174,12 +193,13 @@ public TermsSetQueryDescriptor() : base() private float? BoostValue { get; set; } private Elastic.Clients.Elasticsearch.Field FieldValue { get; set; } + private Elastic.Clients.Elasticsearch.MinimumShouldMatch? MinimumShouldMatchValue { get; set; } private Elastic.Clients.Elasticsearch.Field? MinimumShouldMatchFieldValue { get; set; } private Elastic.Clients.Elasticsearch.Script? MinimumShouldMatchScriptValue { get; set; } private Elastic.Clients.Elasticsearch.ScriptDescriptor MinimumShouldMatchScriptDescriptor { get; set; } private Action MinimumShouldMatchScriptDescriptorAction { get; set; } private string? QueryNameValue { get; set; } - private ICollection TermsValue { get; set; } + private ICollection TermsValue { get; set; } /// /// @@ -213,6 +233,17 @@ public TermsSetQueryDescriptor Field(Expression + /// + /// Specification describing number of matching terms required to return a document. + /// + /// + public TermsSetQueryDescriptor MinimumShouldMatch(Elastic.Clients.Elasticsearch.MinimumShouldMatch? minimumShouldMatch) + { + MinimumShouldMatchValue = minimumShouldMatch; + return Self; + } + /// /// /// Numeric field containing the number of matching terms required to return a document. @@ -286,7 +317,7 @@ public TermsSetQueryDescriptor QueryName(string? queryName) /// Array of terms you wish to find in the provided field. /// /// - public TermsSetQueryDescriptor Terms(ICollection terms) + public TermsSetQueryDescriptor Terms(ICollection terms) { TermsValue = terms; return Self; @@ -305,6 +336,12 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o writer.WriteNumberValue(BoostValue.Value); } + if (MinimumShouldMatchValue is not null) + { + writer.WritePropertyName("minimum_should_match"); + JsonSerializer.Serialize(writer, MinimumShouldMatchValue, options); + } + if (MinimumShouldMatchFieldValue is not null) { writer.WritePropertyName("minimum_should_match_field"); @@ -350,12 +387,13 @@ public TermsSetQueryDescriptor() : base() private float? BoostValue { get; set; } private Elastic.Clients.Elasticsearch.Field FieldValue { get; set; } + private Elastic.Clients.Elasticsearch.MinimumShouldMatch? MinimumShouldMatchValue { get; set; } private Elastic.Clients.Elasticsearch.Field? MinimumShouldMatchFieldValue { get; set; } private Elastic.Clients.Elasticsearch.Script? MinimumShouldMatchScriptValue { get; set; } private Elastic.Clients.Elasticsearch.ScriptDescriptor MinimumShouldMatchScriptDescriptor { get; set; } private Action MinimumShouldMatchScriptDescriptorAction { get; set; } private string? QueryNameValue { get; set; } - private ICollection TermsValue { get; set; } + private ICollection TermsValue { get; set; } /// /// @@ -389,6 +427,17 @@ public TermsSetQueryDescriptor Field(Expression + /// + /// Specification describing number of matching terms required to return a document. + /// + /// + public TermsSetQueryDescriptor MinimumShouldMatch(Elastic.Clients.Elasticsearch.MinimumShouldMatch? minimumShouldMatch) + { + MinimumShouldMatchValue = minimumShouldMatch; + return Self; + } + /// /// /// Numeric field containing the number of matching terms required to return a document. @@ -462,7 +511,7 @@ public TermsSetQueryDescriptor QueryName(string? queryName) /// Array of terms you wish to find in the provided field. /// /// - public TermsSetQueryDescriptor Terms(ICollection terms) + public TermsSetQueryDescriptor Terms(ICollection terms) { TermsValue = terms; return Self; @@ -481,6 +530,12 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o writer.WriteNumberValue(BoostValue.Value); } + if (MinimumShouldMatchValue is not null) + { + writer.WritePropertyName("minimum_should_match"); + JsonSerializer.Serialize(writer, MinimumShouldMatchValue, options); + } + if (MinimumShouldMatchFieldValue is not null) { writer.WritePropertyName("minimum_should_match_field"); diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Security/RemoteIndicesPrivileges.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Security/RemoteIndicesPrivileges.g.cs new file mode 100644 index 00000000000..76e91fab6de --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Security/RemoteIndicesPrivileges.g.cs @@ -0,0 +1,363 @@ +// 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 Elastic.Clients.Elasticsearch.Fluent; +using Elastic.Clients.Elasticsearch.Serialization; +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +namespace Elastic.Clients.Elasticsearch.Security; + +public sealed partial class RemoteIndicesPrivileges +{ + /// + /// + /// Set to true if using wildcard or regular expressions for patterns that cover restricted indices. Implicitly, restricted indices have limited privileges that can cause pattern tests to fail. If restricted indices are explicitly included in the names list, Elasticsearch checks privileges against these indices regardless of the value set for allow_restricted_indices. + /// + /// + [JsonInclude, JsonPropertyName("allow_restricted_indices")] + public bool? AllowRestrictedIndices { get; set; } + + /// + /// + /// A list of cluster aliases to which the permissions in this entry apply. + /// + /// + [JsonInclude, JsonPropertyName("clusters")] + public Elastic.Clients.Elasticsearch.Names Clusters { get; set; } + + /// + /// + /// The document fields that the owners of the role have read access to. + /// + /// + [JsonInclude, JsonPropertyName("field_security")] + public Elastic.Clients.Elasticsearch.Security.FieldSecurity? FieldSecurity { get; set; } + + /// + /// + /// A list of indices (or index name patterns) to which the permissions in this entry apply. + /// + /// + [JsonInclude, JsonPropertyName("names")] + public Elastic.Clients.Elasticsearch.Indices Names { get; set; } + + /// + /// + /// The index level privileges that owners of the role have on the specified indices. + /// + /// + [JsonInclude, JsonPropertyName("privileges")] + public ICollection Privileges { get; set; } + + /// + /// + /// A search query that defines the documents the owners of the role have access to. A document within the specified indices must match this query for it to be accessible by the owners of the role. + /// + /// + [JsonInclude, JsonPropertyName("query")] + public object? Query { get; set; } +} + +public sealed partial class RemoteIndicesPrivilegesDescriptor : SerializableDescriptor> +{ + internal RemoteIndicesPrivilegesDescriptor(Action> configure) => configure.Invoke(this); + + public RemoteIndicesPrivilegesDescriptor() : base() + { + } + + private bool? AllowRestrictedIndicesValue { get; set; } + private Elastic.Clients.Elasticsearch.Names ClustersValue { get; set; } + private Elastic.Clients.Elasticsearch.Security.FieldSecurity? FieldSecurityValue { get; set; } + private Elastic.Clients.Elasticsearch.Security.FieldSecurityDescriptor FieldSecurityDescriptor { get; set; } + private Action> FieldSecurityDescriptorAction { get; set; } + private Elastic.Clients.Elasticsearch.Indices NamesValue { get; set; } + private ICollection PrivilegesValue { get; set; } + private object? QueryValue { get; set; } + + /// + /// + /// Set to true if using wildcard or regular expressions for patterns that cover restricted indices. Implicitly, restricted indices have limited privileges that can cause pattern tests to fail. If restricted indices are explicitly included in the names list, Elasticsearch checks privileges against these indices regardless of the value set for allow_restricted_indices. + /// + /// + public RemoteIndicesPrivilegesDescriptor AllowRestrictedIndices(bool? allowRestrictedIndices = true) + { + AllowRestrictedIndicesValue = allowRestrictedIndices; + return Self; + } + + /// + /// + /// A list of cluster aliases to which the permissions in this entry apply. + /// + /// + public RemoteIndicesPrivilegesDescriptor Clusters(Elastic.Clients.Elasticsearch.Names clusters) + { + ClustersValue = clusters; + return Self; + } + + /// + /// + /// The document fields that the owners of the role have read access to. + /// + /// + public RemoteIndicesPrivilegesDescriptor FieldSecurity(Elastic.Clients.Elasticsearch.Security.FieldSecurity? fieldSecurity) + { + FieldSecurityDescriptor = null; + FieldSecurityDescriptorAction = null; + FieldSecurityValue = fieldSecurity; + return Self; + } + + public RemoteIndicesPrivilegesDescriptor FieldSecurity(Elastic.Clients.Elasticsearch.Security.FieldSecurityDescriptor descriptor) + { + FieldSecurityValue = null; + FieldSecurityDescriptorAction = null; + FieldSecurityDescriptor = descriptor; + return Self; + } + + public RemoteIndicesPrivilegesDescriptor FieldSecurity(Action> configure) + { + FieldSecurityValue = null; + FieldSecurityDescriptor = null; + FieldSecurityDescriptorAction = configure; + return Self; + } + + /// + /// + /// A list of indices (or index name patterns) to which the permissions in this entry apply. + /// + /// + public RemoteIndicesPrivilegesDescriptor Names(Elastic.Clients.Elasticsearch.Indices names) + { + NamesValue = names; + return Self; + } + + /// + /// + /// The index level privileges that owners of the role have on the specified indices. + /// + /// + public RemoteIndicesPrivilegesDescriptor Privileges(ICollection privileges) + { + PrivilegesValue = privileges; + return Self; + } + + /// + /// + /// A search query that defines the documents the owners of the role have access to. A document within the specified indices must match this query for it to be accessible by the owners of the role. + /// + /// + public RemoteIndicesPrivilegesDescriptor Query(object? query) + { + QueryValue = query; + return Self; + } + + protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) + { + writer.WriteStartObject(); + if (AllowRestrictedIndicesValue.HasValue) + { + writer.WritePropertyName("allow_restricted_indices"); + writer.WriteBooleanValue(AllowRestrictedIndicesValue.Value); + } + + writer.WritePropertyName("clusters"); + JsonSerializer.Serialize(writer, ClustersValue, options); + if (FieldSecurityDescriptor is not null) + { + writer.WritePropertyName("field_security"); + JsonSerializer.Serialize(writer, FieldSecurityDescriptor, options); + } + else if (FieldSecurityDescriptorAction is not null) + { + writer.WritePropertyName("field_security"); + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.Security.FieldSecurityDescriptor(FieldSecurityDescriptorAction), options); + } + else if (FieldSecurityValue is not null) + { + writer.WritePropertyName("field_security"); + JsonSerializer.Serialize(writer, FieldSecurityValue, options); + } + + writer.WritePropertyName("names"); + JsonSerializer.Serialize(writer, NamesValue, options); + writer.WritePropertyName("privileges"); + JsonSerializer.Serialize(writer, PrivilegesValue, options); + if (QueryValue is not null) + { + writer.WritePropertyName("query"); + JsonSerializer.Serialize(writer, QueryValue, options); + } + + writer.WriteEndObject(); + } +} + +public sealed partial class RemoteIndicesPrivilegesDescriptor : SerializableDescriptor +{ + internal RemoteIndicesPrivilegesDescriptor(Action configure) => configure.Invoke(this); + + public RemoteIndicesPrivilegesDescriptor() : base() + { + } + + private bool? AllowRestrictedIndicesValue { get; set; } + private Elastic.Clients.Elasticsearch.Names ClustersValue { get; set; } + private Elastic.Clients.Elasticsearch.Security.FieldSecurity? FieldSecurityValue { get; set; } + private Elastic.Clients.Elasticsearch.Security.FieldSecurityDescriptor FieldSecurityDescriptor { get; set; } + private Action FieldSecurityDescriptorAction { get; set; } + private Elastic.Clients.Elasticsearch.Indices NamesValue { get; set; } + private ICollection PrivilegesValue { get; set; } + private object? QueryValue { get; set; } + + /// + /// + /// Set to true if using wildcard or regular expressions for patterns that cover restricted indices. Implicitly, restricted indices have limited privileges that can cause pattern tests to fail. If restricted indices are explicitly included in the names list, Elasticsearch checks privileges against these indices regardless of the value set for allow_restricted_indices. + /// + /// + public RemoteIndicesPrivilegesDescriptor AllowRestrictedIndices(bool? allowRestrictedIndices = true) + { + AllowRestrictedIndicesValue = allowRestrictedIndices; + return Self; + } + + /// + /// + /// A list of cluster aliases to which the permissions in this entry apply. + /// + /// + public RemoteIndicesPrivilegesDescriptor Clusters(Elastic.Clients.Elasticsearch.Names clusters) + { + ClustersValue = clusters; + return Self; + } + + /// + /// + /// The document fields that the owners of the role have read access to. + /// + /// + public RemoteIndicesPrivilegesDescriptor FieldSecurity(Elastic.Clients.Elasticsearch.Security.FieldSecurity? fieldSecurity) + { + FieldSecurityDescriptor = null; + FieldSecurityDescriptorAction = null; + FieldSecurityValue = fieldSecurity; + return Self; + } + + public RemoteIndicesPrivilegesDescriptor FieldSecurity(Elastic.Clients.Elasticsearch.Security.FieldSecurityDescriptor descriptor) + { + FieldSecurityValue = null; + FieldSecurityDescriptorAction = null; + FieldSecurityDescriptor = descriptor; + return Self; + } + + public RemoteIndicesPrivilegesDescriptor FieldSecurity(Action configure) + { + FieldSecurityValue = null; + FieldSecurityDescriptor = null; + FieldSecurityDescriptorAction = configure; + return Self; + } + + /// + /// + /// A list of indices (or index name patterns) to which the permissions in this entry apply. + /// + /// + public RemoteIndicesPrivilegesDescriptor Names(Elastic.Clients.Elasticsearch.Indices names) + { + NamesValue = names; + return Self; + } + + /// + /// + /// The index level privileges that owners of the role have on the specified indices. + /// + /// + public RemoteIndicesPrivilegesDescriptor Privileges(ICollection privileges) + { + PrivilegesValue = privileges; + return Self; + } + + /// + /// + /// A search query that defines the documents the owners of the role have access to. A document within the specified indices must match this query for it to be accessible by the owners of the role. + /// + /// + public RemoteIndicesPrivilegesDescriptor Query(object? query) + { + QueryValue = query; + return Self; + } + + protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) + { + writer.WriteStartObject(); + if (AllowRestrictedIndicesValue.HasValue) + { + writer.WritePropertyName("allow_restricted_indices"); + writer.WriteBooleanValue(AllowRestrictedIndicesValue.Value); + } + + writer.WritePropertyName("clusters"); + JsonSerializer.Serialize(writer, ClustersValue, options); + if (FieldSecurityDescriptor is not null) + { + writer.WritePropertyName("field_security"); + JsonSerializer.Serialize(writer, FieldSecurityDescriptor, options); + } + else if (FieldSecurityDescriptorAction is not null) + { + writer.WritePropertyName("field_security"); + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.Security.FieldSecurityDescriptor(FieldSecurityDescriptorAction), options); + } + else if (FieldSecurityValue is not null) + { + writer.WritePropertyName("field_security"); + JsonSerializer.Serialize(writer, FieldSecurityValue, options); + } + + writer.WritePropertyName("names"); + JsonSerializer.Serialize(writer, NamesValue, options); + writer.WritePropertyName("privileges"); + JsonSerializer.Serialize(writer, PrivilegesValue, options); + if (QueryValue is not null) + { + writer.WritePropertyName("query"); + JsonSerializer.Serialize(writer, QueryValue, options); + } + + writer.WriteEndObject(); + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Snapshot/SnapshotShardFailure.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Snapshot/SnapshotShardFailure.g.cs index 7609f772fa3..06ff9ad73cc 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Snapshot/SnapshotShardFailure.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Snapshot/SnapshotShardFailure.g.cs @@ -31,6 +31,8 @@ public sealed partial class SnapshotShardFailure { [JsonInclude, JsonPropertyName("index")] public string Index { get; init; } + [JsonInclude, JsonPropertyName("index_uuid")] + public string IndexUuid { get; init; } [JsonInclude, JsonPropertyName("node_id")] public string? NodeId { get; init; } [JsonInclude, JsonPropertyName("reason")] From 8c3ab780f1f011a4581daaf11c512a55f6ad0942 Mon Sep 17 00:00:00 2001 From: Marci W <333176+marciw@users.noreply.github.com> Date: Tue, 1 Oct 2024 06:10:34 -0400 Subject: [PATCH 05/25] [DOCS] Spruce up the Introduction (#8372) --- docs/intro.asciidoc | 38 ++++++++++++++++++-------------------- 1 file changed, 18 insertions(+), 20 deletions(-) diff --git a/docs/intro.asciidoc b/docs/intro.asciidoc index 919b9f9dff1..d638ad6acac 100644 --- a/docs/intro.asciidoc +++ b/docs/intro.asciidoc @@ -5,34 +5,33 @@ *Rapidly develop applications with the .NET client for {es}.* -Designed for .NET client-application developers, you can utilize the .NET language client -library, which provides a strongly-typed API and query DSL to interact with {es}. -The .NET client library is designed to make it easy to use {es} from your .NET -applications. The .NET client includes higher-level abstractions, such as +Designed for .NET application developers, the .NET language client +library provides a strongly typed API and query DSL for interacting with {es}. +The .NET client includes higher-level abstractions, such as helpers for coordinating bulk indexing and update operations. It also comes with built-in, configurable cluster failover retry mechanisms. The {es} .NET client is available as a https://www.nuget.org/packages/Elastic.Clients.Elasticsearch[NuGet] -package that can be used in .NET Core, .NET 5+ and .NET Framework (4.6.1 and higher) +package for use with .NET Core, .NET 5+, and .NET Framework (4.6.1 and later) applications. -_NOTE: This documentation relates to the v8 .NET client for {es}, designed for use -with {es} 8.x versions. To develop applications targetting {es} v7, you should -use the https://www.elastic.co/guide/en/elasticsearch/client/net-api/7.17[v7 (NEST) client]._ +_NOTE: This documentation covers the v8 .NET client for {es}, for use +with {es} 8.x versions. To develop applications targeting {es} v7, use the +https://www.elastic.co/guide/en/elasticsearch/client/net-api/7.17[v7 (NEST) client]._ [discrete] [[features]] === Features -* One-to-one mapping with REST API. +* One-to-one mapping with the REST API. * Strongly typed requests and responses for {es} APIs. * Fluent API for building requests. * Query DSL to assist with constructing search queries. * Helpers for common tasks such as bulk indexing of documents. -* Pluggable serialization of requests and responses based on System.Text.Json. +* Pluggable serialization of requests and responses based on `System.Text.Json`. * Diagnostics, auditing, and .NET activity integration. -The .NET {es} client is built upon the Elastic Transport library which provides: +The .NET {es} client is built on the Elastic Transport library, which provides: * Connection management and load balancing across all available nodes. * Request retries and dead connections handling. @@ -40,17 +39,16 @@ The .NET {es} client is built upon the Elastic Transport library which provides: [discrete] === {es} version compatibility -Language clients are forward compatible; meaning that clients support communicating -with greater or equal minor versions of {es}. {es} language clients are only -backwards compatible with default distributions and without guarantees made. +Language clients are forward compatible: clients support communicating +with current and later minor versions of {es}. {es} language clients are +backward compatible with default distributions only and without guarantees. [discrete] === Questions, bugs, comments, feature requests -Bug reports and feature requests are more than welcome on the -{github}/issues[github issues pages]! +To submit a bug report or feature request, use +{github}/issues[GitHub issues]. -For more general questions and comments, we monitor questions and discussions -opened on our community forum, https://discuss.elastic.co/c/elasticsearch[discuss.elastic.co]. -Mentioning `.NET` in the title helps folks quickly identify what -the question is about. \ No newline at end of file +For more general questions and comments, try the community forum +on https://discuss.elastic.co/c/elasticsearch[discuss.elastic.co]. +Mention `.NET` in the title to indicate the discussion topic. \ No newline at end of file From a484f0050eb3837b597a79e2187a5365ecc43f30 Mon Sep 17 00:00:00 2001 From: Martijn Laarman Date: Fri, 11 Oct 2024 15:35:45 +0200 Subject: [PATCH 06/25] Move away from shared project (#8376) --- .buildkite/DockerFile | 2 +- .buildkite/pipeline.yml | 2 +- .buildkite/run-repository.ps1 | 2 +- .buildkite/run-repository.sh | 2 +- .buildkite/run-tests.ps1 | 2 +- .ci/DockerFile | 2 +- .ci/make.sh | 8 +- .ci/readme.md | 2 +- .ci/run-repository.ps1 | 10 +- .ci/run-repository.sh | 6 +- .ci/run-tests.ps1 | 6 +- .ci/test-matrix.yml | 2 +- .github/workflows/integration-jobs.yml | 15 +- .github/workflows/make-bump.yml | 8 +- .github/workflows/make-release-notes.yml | 20 +- .github/workflows/release.yml | 4 +- .github/workflows/stale-jobs.yml | 11 +- .github/workflows/test-jobs.yml | 19 +- .github/workflows/unified-release.yml | 8 +- .gitignore | 1 + Directory.Build.props | 8 +- Directory.Build.targets | 3 - Elasticsearch.sln | 121 +- benchmarks/Benchmarks/packages.lock.json | 1204 ------- benchmarks/Profiling/packages.lock.json | 130 - build/scripts/Building.fs | 1 - build/scripts/Paths.fs | 5 +- build/scripts/packages.lock.json | 1308 ------- build/scripts/scripts.fsproj | 1 - global.json | 4 +- .../packages.lock.json | 796 ----- ...ic.Clients.Elasticsearch.Serverless.csproj | 9 +- .../packages.lock.json | 771 ----- ...tic.Clients.Elasticsearch.Shared.projitems | 14 - ...lastic.Clients.Elasticsearch.Shared.shproj | 13 - .../Elastic.Clients.Elasticsearch.csproj | 8 - .../Api/AsyncSearch/GetAsyncSearchRequest.cs | 0 .../AsyncSearch/SubmitAsyncSearchRequest.cs | 0 .../_Shared}/Api/BulkRequest.cs | 0 .../_Shared}/Api/BulkResponse.cs | 0 .../_Shared}/Api/CountRequest.cs | 0 .../_Shared}/Api/CreateRequest.cs | 0 .../_Shared}/Api/DeleteRequest.cs | 0 .../_Shared}/Api/Eql/EqlGetResponse.cs | 0 .../_Shared}/Api/Esql/EsqlQueryRequest.cs | 0 .../_Shared}/Api/Esql/EsqlQueryResponse.cs | 0 .../_Shared}/Api/ExistsRequest.cs | 0 .../_Shared}/Api/ExistsResponse.cs | 0 .../_Shared}/Api/ExistsSourceResponse.cs | 0 .../Api/GetSourceRequestDescriptor.cs | 0 .../_Shared}/Api/GetSourceResponse.cs | 0 .../IndexManagement/ExistsAliasResponse.cs | 0 .../ExistsIndexTemplateResponse.cs | 0 .../Api/IndexManagement/ExistsResponse.cs | 0 .../IndexManagement/ExistsTemplateResponse.cs | 0 .../Api/IndexManagement/GetAliasResponse.cs | 0 .../GetFieldMappingResponse.cs | 0 .../Api/IndexManagement/GetIndexResponse.cs | 0 .../Api/IndexManagement/GetMappingResponse.cs | 0 .../_Shared}/Api/IndexRequest.cs | 0 .../Api/Ingest/GetPipelineResponse.cs | 0 .../_Shared}/Api/MultiSearchRequest.cs | 0 .../_Shared}/Api/ResponseItem.cs | 0 .../_Shared}/Api/ScrollResponse.cs | 0 .../_Shared}/Api/SearchRequest.cs | 0 .../_Shared}/Api/SearchResponse.cs | 0 .../_Shared}/Api/Sql/GetAsyncResponse.cs | 0 .../_Shared}/Api/Sql/QueryResponse.cs | 0 .../Client/ElasticsearchClient-BulkAll.cs | 0 .../Client/ElasticsearchClient-Manual.cs | 0 .../Client/ElasticsearchClient.Esql.cs | 0 .../_Shared}/Client/ElasticsearchClient.cs | 0 .../ElasticsearchResponseBaseExtensions.cs | 0 .../_Shared}/Client/IndexManyExtensions.cs | 0 .../_Shared}/Client/IndicesNamespace.cs | 0 .../_Shared}/Client/NamespacedClientProxy.cs | 0 .../Core/Configuration/ClrTypeDefaults.cs | 0 .../ElasticsearchClientSettings.cs | 0 .../IElasticsearchClientSettings.cs | 0 .../Core/Configuration/MemberInfoResolver.cs | 0 .../Core/DateTime/DateMath/DateMath.cs | 0 .../DateTime/DateMath/DateMathExpression.cs | 0 .../DateTime/DateMath/DateMathOperation.cs | 0 .../Core/DateTime/DateMath/DateMathTime.cs | 0 .../DateTime/DateMath/DateMathTimeUnit.cs | 0 .../_Shared}/Core/DateTime/Duration.cs | 0 .../_Shared}/Core/DateTime/TimeUnit.cs | 0 .../_Shared}/Core/EmptyReadOnly.cs | 0 .../_Shared}/Core/EmptyReadOnlyExtensions.cs | 0 .../_Shared}/Core/Exceptions/ThrowHelper.cs | 0 .../Core/Extensions/ExceptionExtensions.cs | 0 .../Core/Extensions/ExpressionExtensions.cs | 0 .../_Shared}/Core/Extensions/Extensions.cs | 0 .../Core/Extensions/StringExtensions.cs | 0 .../Core/Extensions/SuffixExtensions.cs | 0 .../Core/Extensions/TaskExtensions.cs | 0 .../Core/Extensions/TypeExtensions.cs | 0 .../_Shared}/Core/Fields/FieldValue.cs | 0 .../_Shared}/Core/Fields/FieldValues.cs | 0 .../_Shared}/Core/Fluent/Descriptor.cs | 0 .../_Shared}/Core/Fluent/Fluent.cs | 0 .../_Shared}/Core/Fluent/FluentDictionary.cs | 0 .../Core/Fluent/IBuildableDescriptor.cs | 0 .../_Shared}/Core/Fluent/Promise/IPromise.cs | 0 .../Fluent/Promise/IsADictionaryDescriptor.cs | 0 .../Core/Fluent/Promise/PromiseDescriptor.cs | 0 .../_Shared}/Core/IComplexUnion.cs | 0 .../_Shared}/Core/IEnumStruct.cs | 0 .../Infer/DefaultPropertyMappingProvider.cs | 0 .../Core/Infer/DocumentPath/DocumentPath.cs | 0 .../_Shared}/Core/Infer/Field/Field.cs | 0 .../Core/Infer/Field/FieldConverter.cs | 0 .../Infer/Field/FieldExpressionVisitor.cs | 0 .../Core/Infer/Field/FieldExtensions.cs | 0 .../Core/Infer/Field/FieldResolver.cs | 0 .../Infer/Field/ToStringExpressionVisitor.cs | 0 .../_Shared}/Core/Infer/Fields/Fields.cs | 0 .../Core/Infer/Fields/FieldsConverter.cs | 0 .../Core/Infer/Fields/FieldsDescriptor.cs | 0 .../Core/Infer/IPropertyMappingProvider.cs | 0 .../_Shared}/Core/Infer/Id/Id.cs | 0 .../_Shared}/Core/Infer/Id/IdConverter.cs | 0 .../_Shared}/Core/Infer/Id/IdExtensions.cs | 0 .../_Shared}/Core/Infer/Id/IdResolver.cs | 0 .../_Shared}/Core/Infer/Id/Ids.cs | 0 .../_Shared}/Core/Infer/Id/IdsConverter.cs | 0 .../Core/Infer/IndexName/IndexName.cs | 0 .../Infer/IndexName/IndexNameConverter.cs | 0 .../Infer/IndexName/IndexNameExtensions.cs | 0 .../Core/Infer/IndexName/IndexNameResolver.cs | 0 .../_Shared}/Core/Infer/Indices/Indices.cs | 0 .../_Shared}/Core/Infer/Inferrer.cs | 0 .../_Shared}/Core/Infer/JoinField.cs | 0 .../_Shared}/Core/Infer/JoinFieldConverter.cs | 0 .../Core/Infer/JoinFieldRouting/Routing.cs | 0 .../JoinFieldRouting/RoutingConverter.cs | 0 .../_Shared}/Core/Infer/Metric/Metrics.cs | 0 .../_Shared}/Core/Infer/PropertyMapping.cs | 0 .../Core/Infer/PropertyName/PropertyName.cs | 0 .../PropertyName/PropertyNameExtensions.cs | 0 .../Core/Infer/RelationName/RelationName.cs | 0 .../RelationName/RelationNameResolver.cs | 0 .../_Shared}/Core/Infer/RoutingResolver.cs | 0 .../Core/Infer/Timestamp/Timestamp.cs | 0 .../_Shared}/Core/IsADictionary.cs | 0 .../_Shared}/Core/IsAReadOnlyDictionary.cs | 0 .../_Shared}/Core/LazyJson.cs | 0 .../_Shared}/Core/MinimumShouldMatch.cs | 0 .../Core/OpenTelemetry/SemanticConventions.cs | 0 .../_Shared}/Core/RawJsonString.cs | 0 .../_Shared}/Core/ReadOnlyFieldDictionary.cs | 0 .../Core/ReadOnlyIndexNameDictionary.cs | 0 .../_Shared}/Core/Request/ApiUrls.cs | 2 +- .../_Shared}/Core/Request/PlainRequest.cs | 0 .../_Shared}/Core/Request/Request.cs | 0 .../Core/Request/RequestDescriptor.cs | 0 .../_Shared}/Core/Request/RouteValues.cs | 0 .../_Shared}/Core/Request/UrlLookup.cs | 0 .../Core/Response/DictionaryResponse.cs | 0 .../Response/ResolvableDictionaryProxy.cs | 0 .../_Shared}/Core/Static/Infer.cs | 0 .../_Shared}/Core/Union/Union.cs | 0 .../DataStreamNames/DataStreamName.cs | 0 .../DataStreamNames/DataStreamNames.cs | 0 .../UrlParameters/IndexAlias/IndexAlias.cs | 0 .../Core/UrlParameters/IndexUuid/IndexUuid.cs | 0 .../_Shared}/Core/UrlParameters/Name/Name.cs | 0 .../_Shared}/Core/UrlParameters/Name/Names.cs | 0 .../Core/UrlParameters/NodeIds/NodeIds.cs | 0 .../Core/UrlParameters/ScrollIds/ScrollId.cs | 0 .../Core/UrlParameters/ScrollIds/ScrollIds.cs | 0 .../Core/UrlParameters/TaskId/TaskId.cs | 0 .../Core/UrlParameters/Username/Username.cs | 0 .../_Shared}/CrossPlatform/IsExternalInit.cs | 0 .../_Shared}/CrossPlatform/NativeMethods.cs | 0 .../CrossPlatform/NullableAttributes.cs | 0 .../CrossPlatform/RuntimeInformation.cs | 0 .../_Shared}/CrossPlatform/TypeExtensions.cs | 0 .../Exceptions/UnsupportedProductException.cs | 0 .../Helpers/BlockingSubscribeExtensions.cs | 0 .../_Shared}/Helpers/BulkAllObservable.cs | 0 .../_Shared}/Helpers/BulkAllObserver.cs | 0 .../_Shared}/Helpers/BulkAllRequest.cs | 0 .../_Shared}/Helpers/BulkAllResponse.cs | 0 .../Helpers/CoordinatedRequestDefaults.cs | 0 .../Helpers/CoordinatedRequestObserverBase.cs | 0 .../_Shared}/Helpers/HelperIdentifiers.cs | 0 .../_Shared}/Helpers/IBulkAllRequest.cs | 0 .../_Shared}/Helpers/IHelperCallable.cs | 0 .../_Shared}/Helpers/PartitionHelper.cs | 0 .../Helpers/ProducerConsumerBackPressure.cs | 0 .../Helpers/RequestMetaDataExtensions.cs | 0 .../Helpers/RequestMetaDataFactory.cs | 0 .../Helpers/RequestParametersExtensions.cs | 0 .../Serialization/CustomizedNamingPolicy.cs | 0 .../DefaultRequestResponseSerializer.cs | 0 .../Serialization/DefaultSourceSerializer.cs | 0 .../DictionaryResponseConverter.cs | 0 .../DoubleWithFractionalPortionConverter.cs | 0 .../Serialization/EnumStructConverter.cs | 0 .../GenericConverterAttribute.cs | 0 .../_Shared}/Serialization/ISourceMarker.cs | 0 .../Serialization/IStreamSerializable.cs | 0 .../Serialization/IUnionVerifiable.cs | 0 .../Serialization/InterfaceConverter.cs | 0 .../InterfaceConverterAttribute.cs | 0 .../IntermediateSourceConverter.cs | 0 .../IsADictionaryConverterFactory.cs | 0 .../_Shared}/Serialization/JsonConstants.cs | 0 .../_Shared}/Serialization/JsonHelper.cs | 0 .../JsonSerializerOptionsExtensions.cs | 0 .../Serialization/KeyValuePairConverter.cs | 0 .../Serialization/MultiItemUnionConverter.cs | 0 .../Serialization/NumericAliasConverter.cs | 0 .../ObjectToInferredTypesConverter.cs | 0 .../Serialization/PropertyNameConverter.cs | 0 .../_Shared}/Serialization/QueryConverter.cs | 0 .../ReadOnlyFieldDictionaryConverter.cs | 0 .../ReadOnlyIndexNameDictionaryConverter.cs | 0 ...vableReadonlyDictionaryConverterFactory.cs | 0 .../ResponseItemConverterFactory.cs | 0 .../Serialization/SelfSerializable.cs | 0 .../SelfSerializableConverterFactory.cs | 0 .../Serialization/SerializationConstants.cs | 0 .../Serialization/SerializerExtensions.cs | 0 .../Serialization/SettingsJsonConverter.cs | 0 .../Serialization/SimpleInterfaceConverter.cs | 0 .../SingleOrManyCollectionAttribute.cs | 0 .../SingleOrManyCollectionConverter.cs | 0 .../SingleOrManySerializationHelper.cs | 0 .../SingleWithFractionalPortionConverter.cs | 0 .../_Shared}/Serialization/SourceConverter.cs | 0 .../Serialization/SourceConverterAttribute.cs | 0 .../Serialization/SourceConverterFactory.cs | 0 .../_Shared}/Serialization/SourceMarker.cs | 0 .../Serialization/SourceSerialization.cs | 0 .../Serialization/StringAliasConverter.cs | 0 .../Serialization/StringEnumAttribute.cs | 0 .../_Shared}/Serialization/Stringified.cs | 0 .../Serialization/SystemTextJsonSerializer.cs | 0 .../TermsAggregateSerializationHelper.cs | 0 .../_Shared}/Serialization/UnionConverter.cs | 0 .../Types/Aggregations/AggregateOrder.cs | 0 .../Types/Aggregations/BucketsPath.cs | 0 .../Types/Aggregations/TermsExclude.cs | 0 .../Types/Aggregations/TermsInclude.cs | 0 .../_Shared}/Types/AsyncSearch/AsyncSearch.cs | 0 .../Types/Core/Bulk/BulkCreateOperation.cs | 0 .../Bulk/BulkCreateOperationDescriptor.cs | 0 .../Types/Core/Bulk/BulkDeleteOperation.cs | 0 .../Bulk/BulkDeleteOperationDescriptor.cs | 0 .../Types/Core/Bulk/BulkIndexOperation.cs | 0 .../Core/Bulk/BulkIndexOperationDescriptor.cs | 0 .../_Shared}/Types/Core/Bulk/BulkOperation.cs | 0 .../Core/Bulk/BulkOperationDescriptor.cs | 0 .../Core/Bulk/BulkOperationsCollection.cs | 0 .../Core/Bulk/BulkResponseItemConverter.cs | 0 .../Types/Core/Bulk/BulkUpdateBody.cs | 0 .../Types/Core/Bulk/BulkUpdateOperation.cs | 0 .../Bulk/BulkUpdateOperationDescriptor.cs | 0 .../Types/Core/Bulk/BulkUpdateOperationT.cs | 0 .../Bulk/BulkUpdateOperationWithPartial.cs | 0 .../Bulk/BulkUpdateOperationWithScript.cs | 0 .../Types/Core/Bulk/IBulkOperation.cs | 0 .../Types/Core/Bulk/PartialBulkUpdateBody.cs | 0 .../Bulk/Response/BulkCreateResponseItem.cs | 0 .../Bulk/Response/BulkDeleteResponseItem.cs | 0 .../Bulk/Response/BulkIndexResponseItem.cs | 0 .../Bulk/Response/BulkUpdateResponseItem.cs | 0 .../Types/Core/Bulk/ScriptedBulkUpdateBody.cs | 0 .../Types/Core/MSearch/SearchRequestItem.cs | 0 .../SearchTemplateRequestItem.cs | 0 .../Types/Core/Search/SourceConfigParam.cs | 0 .../_Shared}/Types/FieldSort.cs | 0 .../_Shared}/Types/GeoLocation.cs | 0 .../_Shared}/Types/Mapping/Properties.cs | 0 .../Types/Mapping/PropertiesDescriptor.cs | 0 .../Types/Mapping/PropertyNameExtensions.cs | 0 .../_Shared}/Types/MultiSearchItem.cs | 0 .../_Shared}/Types/OpType.cs | 0 .../Types/PointInTimeReferenceDescriptor.cs | 0 .../_Shared}/Types/QueryDsl/BoolQuery.cs | 0 .../Types/QueryDsl/BoolQueryAndExtensions.cs | 0 .../Types/QueryDsl/BoolQueryExtensions.cs | 0 .../Types/QueryDsl/BoolQueryOrExtensions.cs | 0 .../_Shared}/Types/QueryDsl/FunctionScore.cs | 0 .../_Shared}/Types/QueryDsl/Query.cs | 0 .../_Shared}/Types/QueryDsl/RangeQuery.cs | 0 .../_Shared}/Types/QueryDsl/RawJsonQuery.cs | 0 .../_Shared}/Types/Ranges.cs | 0 .../_Shared}/Types/Refresh.cs | 0 .../_Shared}/Types/Slices.cs | 0 .../_Shared}/Types/SortOptions.cs | 0 .../_Shared}/Types/SourceConfig.cs | 0 .../_Shared}/Types/Sql/SqlRow.cs | 0 .../_Shared}/Types/Sql/SqlValue.cs | 0 .../_Shared}/Types/WaitForActiveShards.cs | 0 .../packages.lock.json | 771 ----- src/Playground/Playground.csproj | 5 +- src/Playground/packages.lock.json | 167 - src/PlaygroundV7x/Person.cs | 31 - src/PlaygroundV7x/PlaygroundV7x.csproj | 13 - src/PlaygroundV7x/Program.cs | 263 -- src/PlaygroundV7x/packages.lock.json | 113 - tests/Directory.Build.props | 3 - .../Tests.ClusterLauncher/packages.lock.json | 2628 -------------- tests/Tests.Configuration/packages.lock.json | 1119 ------ tests/Tests.Core/packages.lock.json | 1619 --------- tests/Tests.Domain/packages.lock.json | 1155 ------- .../GeoCentroidAggregationUsageTests.cs | 1 - .../OpenTelemetry/OpenTelemetryTests.cs | 4 +- .../QueryDsl/BoolDsl/OperatorUsageBase.cs | 2 +- tests/Tests/Tests.csproj | 6 + tests/Tests/packages.lock.json | 3074 ----------------- 314 files changed, 101 insertions(+), 15403 deletions(-) delete mode 100644 benchmarks/Benchmarks/packages.lock.json delete mode 100644 benchmarks/Profiling/packages.lock.json delete mode 100644 build/scripts/packages.lock.json delete mode 100644 src/Elastic.Clients.Elasticsearch.JsonNetSerializer/packages.lock.json delete mode 100644 src/Elastic.Clients.Elasticsearch.Serverless/packages.lock.json delete mode 100644 src/Elastic.Clients.Elasticsearch.Shared/Elastic.Clients.Elasticsearch.Shared.projitems delete mode 100644 src/Elastic.Clients.Elasticsearch.Shared/Elastic.Clients.Elasticsearch.Shared.shproj rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Api/AsyncSearch/GetAsyncSearchRequest.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Api/AsyncSearch/SubmitAsyncSearchRequest.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Api/BulkRequest.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Api/BulkResponse.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Api/CountRequest.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Api/CreateRequest.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Api/DeleteRequest.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Api/Eql/EqlGetResponse.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Api/Esql/EsqlQueryRequest.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Api/Esql/EsqlQueryResponse.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Api/ExistsRequest.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Api/ExistsResponse.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Api/ExistsSourceResponse.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Api/GetSourceRequestDescriptor.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Api/GetSourceResponse.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Api/IndexManagement/ExistsAliasResponse.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Api/IndexManagement/ExistsIndexTemplateResponse.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Api/IndexManagement/ExistsResponse.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Api/IndexManagement/ExistsTemplateResponse.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Api/IndexManagement/GetAliasResponse.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Api/IndexManagement/GetFieldMappingResponse.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Api/IndexManagement/GetIndexResponse.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Api/IndexManagement/GetMappingResponse.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Api/IndexRequest.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Api/Ingest/GetPipelineResponse.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Api/MultiSearchRequest.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Api/ResponseItem.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Api/ScrollResponse.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Api/SearchRequest.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Api/SearchResponse.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Api/Sql/GetAsyncResponse.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Api/Sql/QueryResponse.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Client/ElasticsearchClient-BulkAll.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Client/ElasticsearchClient-Manual.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Client/ElasticsearchClient.Esql.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Client/ElasticsearchClient.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Client/ElasticsearchResponseBaseExtensions.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Client/IndexManyExtensions.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Client/IndicesNamespace.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Client/NamespacedClientProxy.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Core/Configuration/ClrTypeDefaults.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Core/Configuration/ElasticsearchClientSettings.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Core/Configuration/IElasticsearchClientSettings.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Core/Configuration/MemberInfoResolver.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Core/DateTime/DateMath/DateMath.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Core/DateTime/DateMath/DateMathExpression.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Core/DateTime/DateMath/DateMathOperation.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Core/DateTime/DateMath/DateMathTime.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Core/DateTime/DateMath/DateMathTimeUnit.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Core/DateTime/Duration.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Core/DateTime/TimeUnit.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Core/EmptyReadOnly.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Core/EmptyReadOnlyExtensions.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Core/Exceptions/ThrowHelper.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Core/Extensions/ExceptionExtensions.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Core/Extensions/ExpressionExtensions.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Core/Extensions/Extensions.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Core/Extensions/StringExtensions.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Core/Extensions/SuffixExtensions.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Core/Extensions/TaskExtensions.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Core/Extensions/TypeExtensions.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Core/Fields/FieldValue.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Core/Fields/FieldValues.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Core/Fluent/Descriptor.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Core/Fluent/Fluent.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Core/Fluent/FluentDictionary.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Core/Fluent/IBuildableDescriptor.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Core/Fluent/Promise/IPromise.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Core/Fluent/Promise/IsADictionaryDescriptor.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Core/Fluent/Promise/PromiseDescriptor.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Core/IComplexUnion.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Core/IEnumStruct.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Core/Infer/DefaultPropertyMappingProvider.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Core/Infer/DocumentPath/DocumentPath.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Core/Infer/Field/Field.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Core/Infer/Field/FieldConverter.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Core/Infer/Field/FieldExpressionVisitor.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Core/Infer/Field/FieldExtensions.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Core/Infer/Field/FieldResolver.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Core/Infer/Field/ToStringExpressionVisitor.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Core/Infer/Fields/Fields.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Core/Infer/Fields/FieldsConverter.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Core/Infer/Fields/FieldsDescriptor.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Core/Infer/IPropertyMappingProvider.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Core/Infer/Id/Id.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Core/Infer/Id/IdConverter.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Core/Infer/Id/IdExtensions.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Core/Infer/Id/IdResolver.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Core/Infer/Id/Ids.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Core/Infer/Id/IdsConverter.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Core/Infer/IndexName/IndexName.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Core/Infer/IndexName/IndexNameConverter.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Core/Infer/IndexName/IndexNameExtensions.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Core/Infer/IndexName/IndexNameResolver.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Core/Infer/Indices/Indices.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Core/Infer/Inferrer.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Core/Infer/JoinField.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Core/Infer/JoinFieldConverter.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Core/Infer/JoinFieldRouting/Routing.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Core/Infer/JoinFieldRouting/RoutingConverter.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Core/Infer/Metric/Metrics.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Core/Infer/PropertyMapping.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Core/Infer/PropertyName/PropertyName.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Core/Infer/PropertyName/PropertyNameExtensions.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Core/Infer/RelationName/RelationName.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Core/Infer/RelationName/RelationNameResolver.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Core/Infer/RoutingResolver.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Core/Infer/Timestamp/Timestamp.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Core/IsADictionary.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Core/IsAReadOnlyDictionary.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Core/LazyJson.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Core/MinimumShouldMatch.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Core/OpenTelemetry/SemanticConventions.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Core/RawJsonString.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Core/ReadOnlyFieldDictionary.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Core/ReadOnlyIndexNameDictionary.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Core/Request/ApiUrls.cs (96%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Core/Request/PlainRequest.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Core/Request/Request.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Core/Request/RequestDescriptor.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Core/Request/RouteValues.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Core/Request/UrlLookup.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Core/Response/DictionaryResponse.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Core/Response/ResolvableDictionaryProxy.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Core/Static/Infer.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Core/Union/Union.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Core/UrlParameters/DataStreamNames/DataStreamName.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Core/UrlParameters/DataStreamNames/DataStreamNames.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Core/UrlParameters/IndexAlias/IndexAlias.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Core/UrlParameters/IndexUuid/IndexUuid.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Core/UrlParameters/Name/Name.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Core/UrlParameters/Name/Names.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Core/UrlParameters/NodeIds/NodeIds.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Core/UrlParameters/ScrollIds/ScrollId.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Core/UrlParameters/ScrollIds/ScrollIds.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Core/UrlParameters/TaskId/TaskId.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Core/UrlParameters/Username/Username.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/CrossPlatform/IsExternalInit.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/CrossPlatform/NativeMethods.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/CrossPlatform/NullableAttributes.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/CrossPlatform/RuntimeInformation.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/CrossPlatform/TypeExtensions.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Exceptions/UnsupportedProductException.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Helpers/BlockingSubscribeExtensions.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Helpers/BulkAllObservable.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Helpers/BulkAllObserver.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Helpers/BulkAllRequest.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Helpers/BulkAllResponse.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Helpers/CoordinatedRequestDefaults.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Helpers/CoordinatedRequestObserverBase.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Helpers/HelperIdentifiers.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Helpers/IBulkAllRequest.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Helpers/IHelperCallable.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Helpers/PartitionHelper.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Helpers/ProducerConsumerBackPressure.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Helpers/RequestMetaDataExtensions.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Helpers/RequestMetaDataFactory.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Helpers/RequestParametersExtensions.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Serialization/CustomizedNamingPolicy.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Serialization/DefaultRequestResponseSerializer.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Serialization/DefaultSourceSerializer.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Serialization/DictionaryResponseConverter.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Serialization/DoubleWithFractionalPortionConverter.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Serialization/EnumStructConverter.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Serialization/GenericConverterAttribute.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Serialization/ISourceMarker.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Serialization/IStreamSerializable.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Serialization/IUnionVerifiable.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Serialization/InterfaceConverter.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Serialization/InterfaceConverterAttribute.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Serialization/IntermediateSourceConverter.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Serialization/IsADictionaryConverterFactory.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Serialization/JsonConstants.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Serialization/JsonHelper.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Serialization/JsonSerializerOptionsExtensions.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Serialization/KeyValuePairConverter.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Serialization/MultiItemUnionConverter.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Serialization/NumericAliasConverter.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Serialization/ObjectToInferredTypesConverter.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Serialization/PropertyNameConverter.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Serialization/QueryConverter.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Serialization/ReadOnlyFieldDictionaryConverter.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Serialization/ReadOnlyIndexNameDictionaryConverter.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Serialization/ResolvableReadonlyDictionaryConverterFactory.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Serialization/ResponseItemConverterFactory.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Serialization/SelfSerializable.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Serialization/SelfSerializableConverterFactory.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Serialization/SerializationConstants.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Serialization/SerializerExtensions.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Serialization/SettingsJsonConverter.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Serialization/SimpleInterfaceConverter.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Serialization/SingleOrManyCollectionAttribute.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Serialization/SingleOrManyCollectionConverter.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Serialization/SingleOrManySerializationHelper.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Serialization/SingleWithFractionalPortionConverter.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Serialization/SourceConverter.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Serialization/SourceConverterAttribute.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Serialization/SourceConverterFactory.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Serialization/SourceMarker.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Serialization/SourceSerialization.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Serialization/StringAliasConverter.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Serialization/StringEnumAttribute.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Serialization/Stringified.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Serialization/SystemTextJsonSerializer.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Serialization/TermsAggregateSerializationHelper.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Serialization/UnionConverter.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Types/Aggregations/AggregateOrder.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Types/Aggregations/BucketsPath.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Types/Aggregations/TermsExclude.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Types/Aggregations/TermsInclude.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Types/AsyncSearch/AsyncSearch.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Types/Core/Bulk/BulkCreateOperation.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Types/Core/Bulk/BulkCreateOperationDescriptor.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Types/Core/Bulk/BulkDeleteOperation.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Types/Core/Bulk/BulkDeleteOperationDescriptor.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Types/Core/Bulk/BulkIndexOperation.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Types/Core/Bulk/BulkIndexOperationDescriptor.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Types/Core/Bulk/BulkOperation.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Types/Core/Bulk/BulkOperationDescriptor.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Types/Core/Bulk/BulkOperationsCollection.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Types/Core/Bulk/BulkResponseItemConverter.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Types/Core/Bulk/BulkUpdateBody.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Types/Core/Bulk/BulkUpdateOperation.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Types/Core/Bulk/BulkUpdateOperationDescriptor.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Types/Core/Bulk/BulkUpdateOperationT.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Types/Core/Bulk/BulkUpdateOperationWithPartial.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Types/Core/Bulk/BulkUpdateOperationWithScript.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Types/Core/Bulk/IBulkOperation.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Types/Core/Bulk/PartialBulkUpdateBody.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Types/Core/Bulk/Response/BulkCreateResponseItem.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Types/Core/Bulk/Response/BulkDeleteResponseItem.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Types/Core/Bulk/Response/BulkIndexResponseItem.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Types/Core/Bulk/Response/BulkUpdateResponseItem.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Types/Core/Bulk/ScriptedBulkUpdateBody.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Types/Core/MSearch/SearchRequestItem.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Types/Core/MSearchTemplate/SearchTemplateRequestItem.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Types/Core/Search/SourceConfigParam.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Types/FieldSort.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Types/GeoLocation.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Types/Mapping/Properties.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Types/Mapping/PropertiesDescriptor.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Types/Mapping/PropertyNameExtensions.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Types/MultiSearchItem.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Types/OpType.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Types/PointInTimeReferenceDescriptor.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Types/QueryDsl/BoolQuery.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Types/QueryDsl/BoolQueryAndExtensions.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Types/QueryDsl/BoolQueryExtensions.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Types/QueryDsl/BoolQueryOrExtensions.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Types/QueryDsl/FunctionScore.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Types/QueryDsl/Query.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Types/QueryDsl/RangeQuery.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Types/QueryDsl/RawJsonQuery.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Types/Ranges.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Types/Refresh.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Types/Slices.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Types/SortOptions.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Types/SourceConfig.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Types/Sql/SqlRow.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Types/Sql/SqlValue.cs (100%) rename src/{Elastic.Clients.Elasticsearch.Shared => Elastic.Clients.Elasticsearch/_Shared}/Types/WaitForActiveShards.cs (100%) delete mode 100644 src/Elastic.Clients.Elasticsearch/packages.lock.json delete mode 100644 src/Playground/packages.lock.json delete mode 100644 src/PlaygroundV7x/Person.cs delete mode 100644 src/PlaygroundV7x/PlaygroundV7x.csproj delete mode 100644 src/PlaygroundV7x/Program.cs delete mode 100644 src/PlaygroundV7x/packages.lock.json delete mode 100644 tests/Tests.ClusterLauncher/packages.lock.json delete mode 100644 tests/Tests.Configuration/packages.lock.json delete mode 100644 tests/Tests.Core/packages.lock.json delete mode 100644 tests/Tests.Domain/packages.lock.json delete mode 100644 tests/Tests/packages.lock.json diff --git a/.buildkite/DockerFile b/.buildkite/DockerFile index 4c2fe405355..227524274d2 100644 --- a/.buildkite/DockerFile +++ b/.buildkite/DockerFile @@ -1,4 +1,4 @@ -ARG DOTNET_VERSION=8.0.100 +ARG DOTNET_VERSION=8.0.400 FROM mcr.microsoft.com/dotnet/sdk:${DOTNET_VERSION} AS elasticsearch-net-build ENV NUGET_SCRATCH="/tmp/NuGetScratch" diff --git a/.buildkite/pipeline.yml b/.buildkite/pipeline.yml index 3593c17f1af..87f461176da 100644 --- a/.buildkite/pipeline.yml +++ b/.buildkite/pipeline.yml @@ -5,7 +5,7 @@ steps: env: TEST_SUITE: "{{ matrix.suite }}" STACK_VERSION: master-SNAPSHOT - DOTNET_VERSION: 8.0.100 + DOTNET_VERSION: 8.0.400 matrix: setup: suite: diff --git a/.buildkite/run-repository.ps1 b/.buildkite/run-repository.ps1 index fdd61a87ce6..4a290f1c625 100644 --- a/.buildkite/run-repository.ps1 +++ b/.buildkite/run-repository.ps1 @@ -14,7 +14,7 @@ param( $NODE_NAME, [string] - $DOTNET_VERSION = "8.0.100" + $DOTNET_VERSION = "8.0.400" ) $ESC = [char]27 diff --git a/.buildkite/run-repository.sh b/.buildkite/run-repository.sh index 872ff25ff83..9c212f484c1 100755 --- a/.buildkite/run-repository.sh +++ b/.buildkite/run-repository.sh @@ -9,7 +9,7 @@ script_path=$(dirname $(realpath -s $0)) source $script_path/functions/imports.sh set -euo pipefail -DOTNET_VERSION=${DOTNET_VERSION-8.0.100} +DOTNET_VERSION=${DOTNET_VERSION-8.0.400} ELASTICSEARCH_URL=${ELASTICSEARCH_URL-"$elasticsearch_url"} elasticsearch_container=${elasticsearch_container-} diff --git a/.buildkite/run-tests.ps1 b/.buildkite/run-tests.ps1 index 9ae9100c2d3..503edd8df06 100644 --- a/.buildkite/run-tests.ps1 +++ b/.buildkite/run-tests.ps1 @@ -8,7 +8,7 @@ param ( $TEST_SUITE = "free", [string] - $DOTNET_VERSION = "8.0.100" + $DOTNET_VERSION = "8.0.400" ) $ESC = [char]27 diff --git a/.ci/DockerFile b/.ci/DockerFile index 199906c7e5e..8c642b99967 100644 --- a/.ci/DockerFile +++ b/.ci/DockerFile @@ -1,4 +1,4 @@ -ARG DOTNET_VERSION=8.0.100 +ARG DOTNET_VERSION=8.0.400 FROM mcr.microsoft.com/dotnet/sdk:${DOTNET_VERSION} AS elasticsearch-net-build ENV NUGET_SCRATCH="/tmp/NuGetScratch" diff --git a/.ci/make.sh b/.ci/make.sh index 084b07e05df..672ad78bd7d 100755 --- a/.ci/make.sh +++ b/.ci/make.sh @@ -42,7 +42,7 @@ OUTPUT_DIR="$repo/${output_folder}" REPO_BINDING="${OUTPUT_DIR}:/sln/${output_folder}" mkdir -p "$OUTPUT_DIR" -DOTNET_VERSION=${DOTNET_VERSION-8.0.100} +DOTNET_VERSION=${DOTNET_VERSION-8.0.400} echo -e "\033[34;1mINFO:\033[0m PRODUCT ${product}\033[0m" echo -e "\033[34;1mINFO:\033[0m VERSION ${STACK_VERSION}\033[0m" @@ -116,7 +116,7 @@ esac # ------------------------------------------------------- # # Build Container # ------------------------------------------------------- # - + echo -e "\033[34;1mINFO: building $product container\033[0m" docker build --file .ci/DockerFile --tag ${product} \ @@ -140,7 +140,7 @@ docker run \ --rm \ ${product} \ /bin/bash -c "./build.sh $TASK ${TASK_ARGS[*]} && chown -R $(id -u):$(id -g) ." - + # ------------------------------------------------------- # # Post Command tasks & checks # ------------------------------------------------------- # @@ -168,4 +168,4 @@ fi if [[ "$CMD" == "examplesgen" ]]; then echo "TODO" -fi \ No newline at end of file +fi diff --git a/.ci/readme.md b/.ci/readme.md index 821a65363d9..fe87c60afd4 100644 --- a/.ci/readme.md +++ b/.ci/readme.md @@ -30,7 +30,7 @@ $ STACK_VERSION=8.0.0-SNAPSHOT ./.ci/run-tests |-------------------------|-------------|-------------| | `STACK_VERSION` | `N/A` | The elasticsearch version to target | `TEST_SUITE` | `basic` | `free` or `platinum` sets which test suite to run and which container to run against. | -| `DOTNET_VERSION` | `8.0.100` | The .NET sdk version used to grab the proper container | +| `DOTNET_VERSION` | `8.0.400` | The .NET sdk version used to grab the proper container | If you want to manually spin up elasticsearch for these tests and call the runner afterwards you can use diff --git a/.ci/run-repository.ps1 b/.ci/run-repository.ps1 index 2ae3df14705..e842f7fe215 100644 --- a/.ci/run-repository.ps1 +++ b/.ci/run-repository.ps1 @@ -6,15 +6,15 @@ param( [System.Uri] $ELASTICSEARCH_URL, - + [string] $NETWORK_NAME, - + [string] $NODE_NAME, - + [string] - $DOTNET_VERSION = "8.0.100" + $DOTNET_VERSION = "8.0.400" ) $ESC = [char]27 @@ -39,4 +39,4 @@ docker run ` --volume $repo/build/output:/sln/build/output ` --rm ` elastic/elasticsearch-net ` - ./build.sh rest-spec-tests -f count -e $ELASTICSEARCH_URL -o /sln/build/output/rest-spec-junit.xml \ No newline at end of file + ./build.sh rest-spec-tests -f count -e $ELASTICSEARCH_URL -o /sln/build/output/rest-spec-junit.xml diff --git a/.ci/run-repository.sh b/.ci/run-repository.sh index 769a484028b..0e49cdaf1bf 100755 --- a/.ci/run-repository.sh +++ b/.ci/run-repository.sh @@ -9,7 +9,7 @@ script_path=$(dirname $(realpath -s $0)) source $script_path/functions/imports.sh set -euo pipefail -DOTNET_VERSION=${DOTNET_VERSION-8.0.100} +DOTNET_VERSION=${DOTNET_VERSION-8.0.400} ELASTICSEARCH_URL=${ELASTICSEARCH_URL-"$elasticsearch_url"} elasticsearch_container=${elasticsearch_container-} @@ -27,13 +27,13 @@ fi if [[ "$TEST_SECTION" != "" ]]; then run_script_args="${run_script_args} -s ${TEST_SECTION}" fi - + echo -e "\033[34;1mINFO:\033[0m VERSION ${STACK_VERSION}\033[0m" echo -e "\033[34;1mINFO:\033[0m TEST_SUITE ${TEST_SUITE}\033[0m" echo -e "\033[34;1mINFO:\033[0m URL ${ELASTICSEARCH_URL}\033[0m" echo -e "\033[34;1mINFO:\033[0m CONTAINER ${elasticsearch_container}\033[0m" echo -e "\033[34;1mINFO:\033[0m DOTNET_VERSION ${DOTNET_VERSION}\033[0m" - + echo -e "\033[1m>>>>> Build [elastic/elasticsearch-net container] >>>>>>>>>>>>>>>>>>>>>>>>>>>>>\033[0m" docker build --file .ci/DockerFile --tag elastic/elasticsearch-net \ diff --git a/.ci/run-tests.ps1 b/.ci/run-tests.ps1 index d7b17e82ce2..481ad155dbd 100644 --- a/.ci/run-tests.ps1 +++ b/.ci/run-tests.ps1 @@ -8,7 +8,7 @@ param ( $TEST_SUITE = "free", [string] - $DOTNET_VERSION = "8.0.100" + $DOTNET_VERSION = "8.0.400" ) $ESC = [char]27 @@ -29,7 +29,7 @@ function cleanup { $runParams = @{ NODE_NAME= $NODE_NAME NETWORK_NAME = "elasticsearch" - CLEANUP = $true + CLEANUP = $true } ./.ci/run-elasticsearch.ps1 @runParams @@ -69,7 +69,7 @@ try { ./.ci/run-repository.ps1 @runParams - cleanup + cleanup } catch { cleanup diff --git a/.ci/test-matrix.yml b/.ci/test-matrix.yml index 59e8ead4448..421f57f8973 100755 --- a/.ci/test-matrix.yml +++ b/.ci/test-matrix.yml @@ -8,6 +8,6 @@ TEST_SUITE: - platinum DOTNET_VERSION: - - 8.0.100 + - 8.0.400 exclude: ~ diff --git a/.github/workflows/integration-jobs.yml b/.github/workflows/integration-jobs.yml index 7e2413fe1bd..259c1038fbd 100644 --- a/.github/workflows/integration-jobs.yml +++ b/.github/workflows/integration-jobs.yml @@ -14,6 +14,9 @@ on: - '[0-9]+.[0-9]+' - '[0-9]+.x' +env: + NUGET_PACKAGES: ${{ github.workspace }}/.nuget/packages + jobs: integration-tests: name: Tests @@ -34,17 +37,17 @@ jobs: '8.9.0-SNAPSHOT', 'latest-8' ] - + steps: - name: Checkout uses: actions/checkout@v3 - uses: actions/setup-dotnet@v4 with: - dotnet-version: '8.0.100' + global-json-file: 'global.json' - uses: actions/cache@v3 with: - path: ~/.nuget/packages - key: ${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }} + path: ${{ github.workspace }}/.nuget/packages + key: ${{ runner.os }}-nuget-${{ hashFiles('**/*.[cf]sproj*', '**/*.Build.props') }} restore-keys: | ${{ runner.os }}-nuget- - uses: actions/cache@v3 @@ -53,7 +56,7 @@ jobs: key: ${{ runner.os }}-elastic-managed-${{ matrix.stack_version }} restore-keys: | ${{ runner.os }}-elastic-managed- - + - run: "./build.sh integrate ${{ matrix.stack_version }} random:test_only_one --report" name: ${{ matrix.stack_version }} - name: Results ${{ matrix.stack_version }} @@ -66,4 +69,4 @@ jobs: fail_on_failure: true require_tests: true check_name: ${{ matrix.stack_version }} - + diff --git a/.github/workflows/make-bump.yml b/.github/workflows/make-bump.yml index 7ab23221172..0427913c873 100644 --- a/.github/workflows/make-bump.yml +++ b/.github/workflows/make-bump.yml @@ -20,7 +20,7 @@ jobs: - run: "./.ci/make.sh bump ${{ github.event.inputs.version }}" name: "Bump ${{ github.event.inputs.version }} on ${{ github.event.inputs.branch }}" - name: "Version bump PR ${{ github.event.inputs.version }}" - # fixate to known release. + # fixate to known release. uses: peter-evans/create-pull-request@052fc72b4198ba9fbc81b818c6e1859f747d49a8 with: token: ${{ secrets.GITHUB_TOKEN }} @@ -30,15 +30,15 @@ jobs: commit-message: "[version] ${{ github.event.inputs.version }} bump" title: '[version] ${{ github.event.inputs.version }} bump' body: | - Updates ${{ github.event.inputs.branch }} to version ${{ github.event.inputs.version }}. + Updates ${{ github.event.inputs.branch }} to version ${{ github.event.inputs.version }}. labels: "infra,code-gen" # Add version and backport labels automatically - uses: actions/setup-dotnet@v4 with: - dotnet-version: '8.0.100' + global-json-file: 'global.json' - name: Install dotnet-script run: dotnet tool install release-notes --tool-path dotnet-tool - name: Run build script run: > - dotnet-tool/release-notes apply-labels --version ${{ github.event.inputs.version }} ${{ github.event.organization.login }} ${{ github.event.repository.name }} --token ${{ secrets.GITHUB_TOKEN }} --backportlabelformat "Backport BRANCH" \ No newline at end of file + dotnet-tool/release-notes apply-labels --version ${{ github.event.inputs.version }} ${{ github.event.organization.login }} ${{ github.event.repository.name }} --token ${{ secrets.GITHUB_TOKEN }} --backportlabelformat "Backport BRANCH" diff --git a/.github/workflows/make-release-notes.yml b/.github/workflows/make-release-notes.yml index db637c4e5c6..758b86f019f 100644 --- a/.github/workflows/make-release-notes.yml +++ b/.github/workflows/make-release-notes.yml @@ -22,20 +22,20 @@ jobs: run: | curl -s "https://artifacts-api.elastic.co/v1/branches" | jq "[ .branches[] | select(. | startswith(\"6\") | not) ]" --compact-output curl -s "https://artifacts-api.elastic.co/v1/branches" | jq "[ .branches[] | select(. | startswith(\"6\") | not) ]" --compact-output > branches.json - + - id: set-matrix name: conditional command run: | if [[ "${{ github.event.inputs.branch }}" != "" ]]; then echo "::set-output name=matrix::['${{ github.event.inputs.branch }}']" - elif [[ -f "branches.json" ]]; then + elif [[ -f "branches.json" ]]; then echo "::set-output name=matrix::$(cat branches.json)" - else + else echo "::set-output name=matrix::[]" fi outputs: matrix: ${{ steps.set-matrix.outputs.matrix }} - + release-notes: name: Generate needs: active-branches @@ -48,14 +48,14 @@ jobs: - uses: actions/checkout@v3 with: ref: "${{ matrix.branch }}" - + - uses: actions/setup-dotnet@v4 with: - dotnet-version: '8.0.100' + global-json-file: 'global.json' - name: Install dotnet-script run: dotnet tool install release-notes --tool-path dotnet-tool - - name: Set repository name environment variable + - name: Set repository name environment variable run: echo "repository_name=$(echo '${{ github.repository }}' | awk -F '/' '{print $2}')" >> $GITHUB_ENV - name: Find versions for branch @@ -65,14 +65,14 @@ jobs: echo "::set-output name=current::$(echo ${lines[0]})" echo "::set-output name=next::$(echo ${lines[1]})" echo ${lines[@]} - + - name: Generate release notes run: | dotnet-tool/release-notes "${{ github.repository_owner }}" "${{ env.repository_name }}" --version ${{ steps.versions.outputs.next }} --token ${{ secrets.GITHUB_TOKEN }} --format asciidoc --output docs/release-notes rm dotnet-tool/release-notes git status - name: "PR ${{ matrix.branch }}" - # fixate to known release. + # fixate to known release. uses: peter-evans/create-pull-request@052fc72b4198ba9fbc81b818c6e1859f747d49a8 with: token: ${{ secrets.GITHUB_TOKEN }} @@ -83,4 +83,4 @@ jobs: title: '[release-notes] Release notes ${{ steps.versions.outputs.next }} on ${{ matrix.branch }} branch' body: | Release notes ${{ steps.versions.outputs.next }} on ${{ matrix.branch }} branch - labels: "infra,code-gen" \ No newline at end of file + labels: "infra,code-gen" diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 95c213683f4..cb3be68dc86 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -31,7 +31,7 @@ env: # Configuration BUILD_CONFIG: 'Release' GLOBAL_JSON_FILE: 'global.json' - LOCKFILE_PATTERN: '**/packages.lock.json' + CACHE_PATTERNS: '["**/*.[cf]sproj*", "**/*.Build.props"]' PACKAGE_PATH: 'nupkg' # .NET SDK related environment variables DOTNET_NOLOGO: 1 @@ -63,7 +63,7 @@ jobs: uses: 'actions/cache@v4' with: path: '~/.nuget/packages' - key: '${{ runner.os }}-nuget-${{ inputs.flavor }}-${{ hashFiles(env.LOCKFILE_PATTERN) }}' + key: '${{ runner.os }}-nuget-${{ inputs.flavor }}-${{ hashFiles(fromJson(env.CACHE_PATTERNS)) }}' restore-keys: '${{ runner.os }}-nuget-${{ inputs.flavor }}-' - name: '.NET Restore' diff --git a/.github/workflows/stale-jobs.yml b/.github/workflows/stale-jobs.yml index b4a851a1ea7..09142347407 100644 --- a/.github/workflows/stale-jobs.yml +++ b/.github/workflows/stale-jobs.yml @@ -15,6 +15,9 @@ on: - '[0-9]+.[0-9]+' - '[0-9]+.x' +env: + NUGET_PACKAGES: ${{ github.workspace }}/.nuget/packages + jobs: unit-tests: name: Documentation @@ -24,17 +27,17 @@ jobs: uses: actions/checkout@v3 - uses: actions/setup-dotnet@v4 with: - dotnet-version: '8.0.100' + global-json-file: 'global.json' - uses: actions/cache@v3 with: - path: ~/.nuget/packages - key: ${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }} + path: ${{ github.workspace }}/.nuget/packages + key: ${{ runner.os }}-nuget-${{ hashFiles('**/*.[cf]sproj*', '**/*.Build.props') }} restore-keys: | ${{ runner.os }}-nuget- - run: ./build.sh documentation name: Build docs - + - run: | if [ -n "$(git status --porcelain)" ]; then echo Error: changes found after running documentation; git diff; git status; exit 1; fi name: 'Ensure no stale docs' diff --git a/.github/workflows/test-jobs.yml b/.github/workflows/test-jobs.yml index db3e5557b32..d23d65b9810 100644 --- a/.github/workflows/test-jobs.yml +++ b/.github/workflows/test-jobs.yml @@ -14,6 +14,9 @@ on: - '[0-9]+.[0-9]+' - '[0-9]+.x' +env: + NUGET_PACKAGES: ${{ github.workspace }}/.nuget/packages + jobs: unit-tests: name: Unit @@ -23,11 +26,11 @@ jobs: uses: actions/checkout@v3 - uses: actions/setup-dotnet@v4 with: - dotnet-version: '8.0.100' + global-json-file: 'global.json' - uses: actions/cache@v3 with: - path: ~/.nuget/packages - key: ${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }} + path: ${{ github.workspace }}/.nuget/packages + key: ${{ runner.os }}-nuget-${{ hashFiles('**/*.[cf]sproj*', '**/*.Build.props') }} restore-keys: | ${{ runner.os }}-nuget- @@ -42,7 +45,7 @@ jobs: fail_on_failure: true require_tests: true check_name: Unit Test Results - + # Packages nuget packages first and then uses the nuget packages to test # Also builds versioned nuget packages canary-tests: @@ -53,11 +56,11 @@ jobs: uses: actions/checkout@v3 - uses: actions/setup-dotnet@v4 with: - dotnet-version: '8.0.100' + global-json-file: 'global.json' - uses: actions/cache@v3 with: - path: ~/.nuget/packages - key: ${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }} + path: ${{ github.workspace }}/.nuget/packages + key: ${{ runner.os }}-nuget-${{ hashFiles('**/*.[cf]sproj*', '**/*.Build.props') }} restore-keys: | ${{ runner.os }}-nuget- @@ -72,7 +75,7 @@ jobs: fail_on_failure: true require_tests: true check_name: Canary Test Results - + # Github packages requires authentication, this is likely going away in the future so for now we publish to feedz.io # Only runs on builds on heads - run: dotnet nuget push 'build/output/*.nupkg' -k ${{secrets.FEEDZ_IO_API_KEY}} -s https://f.feedz.io/elastic/all/nuget/index.json --skip-duplicate --no-symbols diff --git a/.github/workflows/unified-release.yml b/.github/workflows/unified-release.yml index 1178d437058..fe5f3a1aecd 100644 --- a/.github/workflows/unified-release.yml +++ b/.github/workflows/unified-release.yml @@ -22,13 +22,13 @@ jobs: fail-fast: false matrix: stack_version: [ '9.0.0-SNAPSHOT'] - + steps: - name: Checkout uses: actions/checkout@v3 - uses: actions/setup-dotnet@v4 with: - dotnet-version: '8.0.100' - + global-json-file: 'global.json' + - run: "./.ci/make.sh assemble ${{ matrix.stack_version }}" - name: Assemble ${{ matrix.stack_version }} \ No newline at end of file + name: Assemble ${{ matrix.stack_version }} diff --git a/.gitignore b/.gitignore index e52252f344e..b9757daf211 100644 --- a/.gitignore +++ b/.gitignore @@ -93,3 +93,4 @@ docs-temp # Verify Tests *.received.* +.artifacts diff --git a/Directory.Build.props b/Directory.Build.props index 2eb5c4c005d..91ddb2e93ec 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -33,11 +33,8 @@ true false true - $(OutputPathBaseDir)\$(MSBuildProjectName)\ $([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), build.bat)) - true - true - true + $(MSBuildThisFileDirectory).artifacts $(DefineConstants);FULLFRAMEWORK $(DefineConstants);DOTNETCORE @@ -47,8 +44,7 @@ 002400000480000094000000060200000024000052534131000400000100010025d3a22bf3781ba85067374ad832dfcba3c4fa8dd89227e36121ba17b2c33ad6b6ce03e45e562050a031e2ff7fe12cff9060a50acbc6a0eef9ef32dc258d90f874b2e76b581938071ccc4b4d98204d1d6ca7a1988d7a211f9fc98efd808cf85f61675b11007d0eb0461dc86a968d6af8ebba7e6b540303b54f1c1f5325c252be - - + diff --git a/Directory.Build.targets b/Directory.Build.targets index 3468a435a15..bc6f3c8d9b3 100644 --- a/Directory.Build.targets +++ b/Directory.Build.targets @@ -5,14 +5,11 @@ $(SolutionRoot)\build\keys\keypair.snk - bin/$(Configuration)/$(TargetFramework)/ 1591,1572,1571,1573,1587,1570,NU5048 false false true - - true $(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb diff --git a/Elasticsearch.sln b/Elasticsearch.sln index c6feca48733..18df1592180 100644 --- a/Elasticsearch.sln +++ b/Elasticsearch.sln @@ -4,10 +4,16 @@ Microsoft Visual Studio Solution File, Format Version 12.00 VisualStudioVersion = 17.0.31612.314 MinimumVisualStudioVersion = 10.0.40219.1 Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{D455EC79-E1E0-4509-B297-0DA3AED8DFF7}" + ProjectSection(SolutionItems) = preProject + src\_PublishArtifacts.Build.props = src\_PublishArtifacts.Build.props + EndProjectSection EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Playground", "src\Playground\Playground.csproj", "{8F2EA767-8746-4816-B6EE-342BCB8F1AAB}" EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tests", "tests", "{362B2776-4B29-46AB-B237-56776B5372B6}" + ProjectSection(SolutionItems) = preProject + tests\Directory.Build.props = tests\Directory.Build.props + EndProjectSection EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Tests", "tests\Tests\Tests.csproj", "{BDF1ABC2-8C52-4864-B824-B1FA27630E8E}" EndProject @@ -21,8 +27,6 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "benchmarks", "benchmarks", EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Benchmarks", "benchmarks\Benchmarks\Benchmarks.csproj", "{701DB05B-1F1B-485F-9EDF-0274EED4FF9F}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "PlaygroundV7x", "src\PlaygroundV7x\PlaygroundV7x.csproj", "{7141AB85-10C5-42AE-8FC7-B14A4216A89F}" -EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Profiling", "benchmarks\Profiling\Profiling.csproj", "{5222D7CD-3663-49ED-98EA-4B5ECDF705BF}" EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{D9FFF81B-26F3-4A26-9605-E3D22382E9A5}" @@ -57,30 +61,16 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Elastic.Clients.Elasticsear EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Elastic.Clients.Elasticsearch.Serverless", "src\Elastic.Clients.Elasticsearch.Serverless\Elastic.Clients.Elasticsearch.Serverless.csproj", "{49D7F5A7-AA32-492B-B957-0E3325861F55}" EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "Elastic.Clients.Elasticsearch.Shared", "src\Elastic.Clients.Elasticsearch.Shared\Elastic.Clients.Elasticsearch.Shared.shproj", "{A90DD7B8-8AFB-4BE9-AA16-B159A880E79D}" -EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU - Debug|x64 = Debug|x64 - Debug|x86 = Debug|x86 Release|Any CPU = Release|Any CPU - Release|x64 = Release|x64 - Release|x86 = Release|x86 EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution {8F2EA767-8746-4816-B6EE-342BCB8F1AAB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {8F2EA767-8746-4816-B6EE-342BCB8F1AAB}.Debug|Any CPU.Build.0 = Debug|Any CPU - {8F2EA767-8746-4816-B6EE-342BCB8F1AAB}.Debug|x64.ActiveCfg = Debug|Any CPU - {8F2EA767-8746-4816-B6EE-342BCB8F1AAB}.Debug|x64.Build.0 = Debug|Any CPU - {8F2EA767-8746-4816-B6EE-342BCB8F1AAB}.Debug|x86.ActiveCfg = Debug|Any CPU - {8F2EA767-8746-4816-B6EE-342BCB8F1AAB}.Debug|x86.Build.0 = Debug|Any CPU {8F2EA767-8746-4816-B6EE-342BCB8F1AAB}.Release|Any CPU.ActiveCfg = Release|Any CPU {8F2EA767-8746-4816-B6EE-342BCB8F1AAB}.Release|Any CPU.Build.0 = Release|Any CPU - {8F2EA767-8746-4816-B6EE-342BCB8F1AAB}.Release|x64.ActiveCfg = Release|Any CPU - {8F2EA767-8746-4816-B6EE-342BCB8F1AAB}.Release|x64.Build.0 = Release|Any CPU - {8F2EA767-8746-4816-B6EE-342BCB8F1AAB}.Release|x86.ActiveCfg = Release|Any CPU - {8F2EA767-8746-4816-B6EE-342BCB8F1AAB}.Release|x86.Build.0 = Release|Any CPU {BDF1ABC2-8C52-4864-B824-B1FA27630E8E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {BDF1ABC2-8C52-4864-B824-B1FA27630E8E}.Debug|Any CPU.Build.0 = Debug|Any CPU {BDF1ABC2-8C52-4864-B824-B1FA27630E8E}.Debug|x64.ActiveCfg = Debug|Any CPU @@ -95,136 +85,44 @@ Global {BDF1ABC2-8C52-4864-B824-B1FA27630E8E}.Release|x86.Build.0 = Release|Any CPU {70225C3F-393A-40F5-A778-8FF71A38C4C0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {70225C3F-393A-40F5-A778-8FF71A38C4C0}.Debug|Any CPU.Build.0 = Debug|Any CPU - {70225C3F-393A-40F5-A778-8FF71A38C4C0}.Debug|x64.ActiveCfg = Debug|Any CPU - {70225C3F-393A-40F5-A778-8FF71A38C4C0}.Debug|x64.Build.0 = Debug|Any CPU - {70225C3F-393A-40F5-A778-8FF71A38C4C0}.Debug|x86.ActiveCfg = Debug|Any CPU - {70225C3F-393A-40F5-A778-8FF71A38C4C0}.Debug|x86.Build.0 = Debug|Any CPU {70225C3F-393A-40F5-A778-8FF71A38C4C0}.Release|Any CPU.ActiveCfg = Release|Any CPU {70225C3F-393A-40F5-A778-8FF71A38C4C0}.Release|Any CPU.Build.0 = Release|Any CPU - {70225C3F-393A-40F5-A778-8FF71A38C4C0}.Release|x64.ActiveCfg = Release|Any CPU - {70225C3F-393A-40F5-A778-8FF71A38C4C0}.Release|x64.Build.0 = Release|Any CPU - {70225C3F-393A-40F5-A778-8FF71A38C4C0}.Release|x86.ActiveCfg = Release|Any CPU - {70225C3F-393A-40F5-A778-8FF71A38C4C0}.Release|x86.Build.0 = Release|Any CPU {587DE66B-6FAB-4722-9C53-2812BEFB6A44}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {587DE66B-6FAB-4722-9C53-2812BEFB6A44}.Debug|Any CPU.Build.0 = Debug|Any CPU - {587DE66B-6FAB-4722-9C53-2812BEFB6A44}.Debug|x64.ActiveCfg = Debug|Any CPU - {587DE66B-6FAB-4722-9C53-2812BEFB6A44}.Debug|x64.Build.0 = Debug|Any CPU - {587DE66B-6FAB-4722-9C53-2812BEFB6A44}.Debug|x86.ActiveCfg = Debug|Any CPU - {587DE66B-6FAB-4722-9C53-2812BEFB6A44}.Debug|x86.Build.0 = Debug|Any CPU {587DE66B-6FAB-4722-9C53-2812BEFB6A44}.Release|Any CPU.ActiveCfg = Release|Any CPU {587DE66B-6FAB-4722-9C53-2812BEFB6A44}.Release|Any CPU.Build.0 = Release|Any CPU - {587DE66B-6FAB-4722-9C53-2812BEFB6A44}.Release|x64.ActiveCfg = Release|Any CPU - {587DE66B-6FAB-4722-9C53-2812BEFB6A44}.Release|x64.Build.0 = Release|Any CPU - {587DE66B-6FAB-4722-9C53-2812BEFB6A44}.Release|x86.ActiveCfg = Release|Any CPU - {587DE66B-6FAB-4722-9C53-2812BEFB6A44}.Release|x86.Build.0 = Release|Any CPU {0B4DCA79-10CC-4CB8-95D3-A4EB8C98BE1C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {0B4DCA79-10CC-4CB8-95D3-A4EB8C98BE1C}.Debug|Any CPU.Build.0 = Debug|Any CPU - {0B4DCA79-10CC-4CB8-95D3-A4EB8C98BE1C}.Debug|x64.ActiveCfg = Debug|Any CPU - {0B4DCA79-10CC-4CB8-95D3-A4EB8C98BE1C}.Debug|x64.Build.0 = Debug|Any CPU - {0B4DCA79-10CC-4CB8-95D3-A4EB8C98BE1C}.Debug|x86.ActiveCfg = Debug|Any CPU - {0B4DCA79-10CC-4CB8-95D3-A4EB8C98BE1C}.Debug|x86.Build.0 = Debug|Any CPU {0B4DCA79-10CC-4CB8-95D3-A4EB8C98BE1C}.Release|Any CPU.ActiveCfg = Release|Any CPU {0B4DCA79-10CC-4CB8-95D3-A4EB8C98BE1C}.Release|Any CPU.Build.0 = Release|Any CPU - {0B4DCA79-10CC-4CB8-95D3-A4EB8C98BE1C}.Release|x64.ActiveCfg = Release|Any CPU - {0B4DCA79-10CC-4CB8-95D3-A4EB8C98BE1C}.Release|x64.Build.0 = Release|Any CPU - {0B4DCA79-10CC-4CB8-95D3-A4EB8C98BE1C}.Release|x86.ActiveCfg = Release|Any CPU - {0B4DCA79-10CC-4CB8-95D3-A4EB8C98BE1C}.Release|x86.Build.0 = Release|Any CPU {701DB05B-1F1B-485F-9EDF-0274EED4FF9F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {701DB05B-1F1B-485F-9EDF-0274EED4FF9F}.Debug|Any CPU.Build.0 = Debug|Any CPU - {701DB05B-1F1B-485F-9EDF-0274EED4FF9F}.Debug|x64.ActiveCfg = Debug|Any CPU - {701DB05B-1F1B-485F-9EDF-0274EED4FF9F}.Debug|x64.Build.0 = Debug|Any CPU - {701DB05B-1F1B-485F-9EDF-0274EED4FF9F}.Debug|x86.ActiveCfg = Debug|Any CPU - {701DB05B-1F1B-485F-9EDF-0274EED4FF9F}.Debug|x86.Build.0 = Debug|Any CPU {701DB05B-1F1B-485F-9EDF-0274EED4FF9F}.Release|Any CPU.ActiveCfg = Release|Any CPU {701DB05B-1F1B-485F-9EDF-0274EED4FF9F}.Release|Any CPU.Build.0 = Release|Any CPU - {701DB05B-1F1B-485F-9EDF-0274EED4FF9F}.Release|x64.ActiveCfg = Release|Any CPU - {701DB05B-1F1B-485F-9EDF-0274EED4FF9F}.Release|x64.Build.0 = Release|Any CPU - {701DB05B-1F1B-485F-9EDF-0274EED4FF9F}.Release|x86.ActiveCfg = Release|Any CPU - {701DB05B-1F1B-485F-9EDF-0274EED4FF9F}.Release|x86.Build.0 = Release|Any CPU - {7141AB85-10C5-42AE-8FC7-B14A4216A89F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {7141AB85-10C5-42AE-8FC7-B14A4216A89F}.Debug|Any CPU.Build.0 = Debug|Any CPU - {7141AB85-10C5-42AE-8FC7-B14A4216A89F}.Debug|x64.ActiveCfg = Debug|Any CPU - {7141AB85-10C5-42AE-8FC7-B14A4216A89F}.Debug|x64.Build.0 = Debug|Any CPU - {7141AB85-10C5-42AE-8FC7-B14A4216A89F}.Debug|x86.ActiveCfg = Debug|Any CPU - {7141AB85-10C5-42AE-8FC7-B14A4216A89F}.Debug|x86.Build.0 = Debug|Any CPU - {7141AB85-10C5-42AE-8FC7-B14A4216A89F}.Release|Any CPU.ActiveCfg = Release|Any CPU - {7141AB85-10C5-42AE-8FC7-B14A4216A89F}.Release|Any CPU.Build.0 = Release|Any CPU - {7141AB85-10C5-42AE-8FC7-B14A4216A89F}.Release|x64.ActiveCfg = Release|Any CPU - {7141AB85-10C5-42AE-8FC7-B14A4216A89F}.Release|x64.Build.0 = Release|Any CPU - {7141AB85-10C5-42AE-8FC7-B14A4216A89F}.Release|x86.ActiveCfg = Release|Any CPU - {7141AB85-10C5-42AE-8FC7-B14A4216A89F}.Release|x86.Build.0 = Release|Any CPU {5222D7CD-3663-49ED-98EA-4B5ECDF705BF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {5222D7CD-3663-49ED-98EA-4B5ECDF705BF}.Debug|Any CPU.Build.0 = Debug|Any CPU - {5222D7CD-3663-49ED-98EA-4B5ECDF705BF}.Debug|x64.ActiveCfg = Debug|Any CPU - {5222D7CD-3663-49ED-98EA-4B5ECDF705BF}.Debug|x64.Build.0 = Debug|Any CPU - {5222D7CD-3663-49ED-98EA-4B5ECDF705BF}.Debug|x86.ActiveCfg = Debug|Any CPU - {5222D7CD-3663-49ED-98EA-4B5ECDF705BF}.Debug|x86.Build.0 = Debug|Any CPU {5222D7CD-3663-49ED-98EA-4B5ECDF705BF}.Release|Any CPU.ActiveCfg = Release|Any CPU {5222D7CD-3663-49ED-98EA-4B5ECDF705BF}.Release|Any CPU.Build.0 = Release|Any CPU - {5222D7CD-3663-49ED-98EA-4B5ECDF705BF}.Release|x64.ActiveCfg = Release|Any CPU - {5222D7CD-3663-49ED-98EA-4B5ECDF705BF}.Release|x64.Build.0 = Release|Any CPU - {5222D7CD-3663-49ED-98EA-4B5ECDF705BF}.Release|x86.ActiveCfg = Release|Any CPU - {5222D7CD-3663-49ED-98EA-4B5ECDF705BF}.Release|x86.Build.0 = Release|Any CPU {F8A7E60C-0C48-4D76-AF7F-7881DF5A263D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {F8A7E60C-0C48-4D76-AF7F-7881DF5A263D}.Debug|Any CPU.Build.0 = Debug|Any CPU - {F8A7E60C-0C48-4D76-AF7F-7881DF5A263D}.Debug|x64.ActiveCfg = Debug|Any CPU - {F8A7E60C-0C48-4D76-AF7F-7881DF5A263D}.Debug|x64.Build.0 = Debug|Any CPU - {F8A7E60C-0C48-4D76-AF7F-7881DF5A263D}.Debug|x86.ActiveCfg = Debug|Any CPU - {F8A7E60C-0C48-4D76-AF7F-7881DF5A263D}.Debug|x86.Build.0 = Debug|Any CPU {F8A7E60C-0C48-4D76-AF7F-7881DF5A263D}.Release|Any CPU.ActiveCfg = Release|Any CPU {F8A7E60C-0C48-4D76-AF7F-7881DF5A263D}.Release|Any CPU.Build.0 = Release|Any CPU - {F8A7E60C-0C48-4D76-AF7F-7881DF5A263D}.Release|x64.ActiveCfg = Release|Any CPU - {F8A7E60C-0C48-4D76-AF7F-7881DF5A263D}.Release|x64.Build.0 = Release|Any CPU - {F8A7E60C-0C48-4D76-AF7F-7881DF5A263D}.Release|x86.ActiveCfg = Release|Any CPU - {F8A7E60C-0C48-4D76-AF7F-7881DF5A263D}.Release|x86.Build.0 = Release|Any CPU {68D1BFDC-F447-4D2C-AF81-537807636610}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {68D1BFDC-F447-4D2C-AF81-537807636610}.Debug|Any CPU.Build.0 = Debug|Any CPU - {68D1BFDC-F447-4D2C-AF81-537807636610}.Debug|x64.ActiveCfg = Debug|Any CPU - {68D1BFDC-F447-4D2C-AF81-537807636610}.Debug|x64.Build.0 = Debug|Any CPU - {68D1BFDC-F447-4D2C-AF81-537807636610}.Debug|x86.ActiveCfg = Debug|Any CPU - {68D1BFDC-F447-4D2C-AF81-537807636610}.Debug|x86.Build.0 = Debug|Any CPU {68D1BFDC-F447-4D2C-AF81-537807636610}.Release|Any CPU.ActiveCfg = Release|Any CPU {68D1BFDC-F447-4D2C-AF81-537807636610}.Release|Any CPU.Build.0 = Release|Any CPU - {68D1BFDC-F447-4D2C-AF81-537807636610}.Release|x64.ActiveCfg = Release|Any CPU - {68D1BFDC-F447-4D2C-AF81-537807636610}.Release|x64.Build.0 = Release|Any CPU - {68D1BFDC-F447-4D2C-AF81-537807636610}.Release|x86.ActiveCfg = Release|Any CPU - {68D1BFDC-F447-4D2C-AF81-537807636610}.Release|x86.Build.0 = Release|Any CPU {F6162603-D134-4121-8106-2BA4DAD7350B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {F6162603-D134-4121-8106-2BA4DAD7350B}.Debug|Any CPU.Build.0 = Debug|Any CPU - {F6162603-D134-4121-8106-2BA4DAD7350B}.Debug|x64.ActiveCfg = Debug|Any CPU - {F6162603-D134-4121-8106-2BA4DAD7350B}.Debug|x64.Build.0 = Debug|Any CPU - {F6162603-D134-4121-8106-2BA4DAD7350B}.Debug|x86.ActiveCfg = Debug|Any CPU - {F6162603-D134-4121-8106-2BA4DAD7350B}.Debug|x86.Build.0 = Debug|Any CPU {F6162603-D134-4121-8106-2BA4DAD7350B}.Release|Any CPU.ActiveCfg = Release|Any CPU {F6162603-D134-4121-8106-2BA4DAD7350B}.Release|Any CPU.Build.0 = Release|Any CPU - {F6162603-D134-4121-8106-2BA4DAD7350B}.Release|x64.ActiveCfg = Release|Any CPU - {F6162603-D134-4121-8106-2BA4DAD7350B}.Release|x64.Build.0 = Release|Any CPU - {F6162603-D134-4121-8106-2BA4DAD7350B}.Release|x86.ActiveCfg = Release|Any CPU - {F6162603-D134-4121-8106-2BA4DAD7350B}.Release|x86.Build.0 = Release|Any CPU {8C9275D9-29CE-4A20-8FD5-6B26C6CAAADB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {8C9275D9-29CE-4A20-8FD5-6B26C6CAAADB}.Debug|Any CPU.Build.0 = Debug|Any CPU - {8C9275D9-29CE-4A20-8FD5-6B26C6CAAADB}.Debug|x64.ActiveCfg = Debug|Any CPU - {8C9275D9-29CE-4A20-8FD5-6B26C6CAAADB}.Debug|x64.Build.0 = Debug|Any CPU - {8C9275D9-29CE-4A20-8FD5-6B26C6CAAADB}.Debug|x86.ActiveCfg = Debug|Any CPU - {8C9275D9-29CE-4A20-8FD5-6B26C6CAAADB}.Debug|x86.Build.0 = Debug|Any CPU {8C9275D9-29CE-4A20-8FD5-6B26C6CAAADB}.Release|Any CPU.ActiveCfg = Release|Any CPU {8C9275D9-29CE-4A20-8FD5-6B26C6CAAADB}.Release|Any CPU.Build.0 = Release|Any CPU - {8C9275D9-29CE-4A20-8FD5-6B26C6CAAADB}.Release|x64.ActiveCfg = Release|Any CPU - {8C9275D9-29CE-4A20-8FD5-6B26C6CAAADB}.Release|x64.Build.0 = Release|Any CPU - {8C9275D9-29CE-4A20-8FD5-6B26C6CAAADB}.Release|x86.ActiveCfg = Release|Any CPU - {8C9275D9-29CE-4A20-8FD5-6B26C6CAAADB}.Release|x86.Build.0 = Release|Any CPU {49D7F5A7-AA32-492B-B957-0E3325861F55}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {49D7F5A7-AA32-492B-B957-0E3325861F55}.Debug|Any CPU.Build.0 = Debug|Any CPU - {49D7F5A7-AA32-492B-B957-0E3325861F55}.Debug|x64.ActiveCfg = Debug|Any CPU - {49D7F5A7-AA32-492B-B957-0E3325861F55}.Debug|x64.Build.0 = Debug|Any CPU - {49D7F5A7-AA32-492B-B957-0E3325861F55}.Debug|x86.ActiveCfg = Debug|Any CPU - {49D7F5A7-AA32-492B-B957-0E3325861F55}.Debug|x86.Build.0 = Debug|Any CPU {49D7F5A7-AA32-492B-B957-0E3325861F55}.Release|Any CPU.ActiveCfg = Release|Any CPU {49D7F5A7-AA32-492B-B957-0E3325861F55}.Release|Any CPU.Build.0 = Release|Any CPU - {49D7F5A7-AA32-492B-B957-0E3325861F55}.Release|x64.ActiveCfg = Release|Any CPU - {49D7F5A7-AA32-492B-B957-0E3325861F55}.Release|x64.Build.0 = Release|Any CPU - {49D7F5A7-AA32-492B-B957-0E3325861F55}.Release|x86.ActiveCfg = Release|Any CPU - {49D7F5A7-AA32-492B-B957-0E3325861F55}.Release|x86.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE @@ -236,21 +134,14 @@ Global {587DE66B-6FAB-4722-9C53-2812BEFB6A44} = {362B2776-4B29-46AB-B237-56776B5372B6} {0B4DCA79-10CC-4CB8-95D3-A4EB8C98BE1C} = {362B2776-4B29-46AB-B237-56776B5372B6} {701DB05B-1F1B-485F-9EDF-0274EED4FF9F} = {B7B8819B-3197-4AB6-B61B-9E1BFD1EC302} - {7141AB85-10C5-42AE-8FC7-B14A4216A89F} = {D455EC79-E1E0-4509-B297-0DA3AED8DFF7} {5222D7CD-3663-49ED-98EA-4B5ECDF705BF} = {B7B8819B-3197-4AB6-B61B-9E1BFD1EC302} {F8A7E60C-0C48-4D76-AF7F-7881DF5A263D} = {D455EC79-E1E0-4509-B297-0DA3AED8DFF7} {68D1BFDC-F447-4D2C-AF81-537807636610} = {1FE49D14-216A-41EE-A177-E42BFF53E0DC} {F6162603-D134-4121-8106-2BA4DAD7350B} = {362B2776-4B29-46AB-B237-56776B5372B6} {8C9275D9-29CE-4A20-8FD5-6B26C6CAAADB} = {D455EC79-E1E0-4509-B297-0DA3AED8DFF7} {49D7F5A7-AA32-492B-B957-0E3325861F55} = {D455EC79-E1E0-4509-B297-0DA3AED8DFF7} - {A90DD7B8-8AFB-4BE9-AA16-B159A880E79D} = {D455EC79-E1E0-4509-B297-0DA3AED8DFF7} EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution SolutionGuid = {CE74F821-B001-4C69-A58D-CF81F8B0B632} EndGlobalSection - GlobalSection(SharedMSBuildProjectFiles) = preSolution - src\Elastic.Clients.Elasticsearch.Shared\Elastic.Clients.Elasticsearch.Shared.projitems*{49d7f5a7-aa32-492b-b957-0e3325861f55}*SharedItemsImports = 5 - src\Elastic.Clients.Elasticsearch.Shared\Elastic.Clients.Elasticsearch.Shared.projitems*{a90dd7b8-8afb-4be9-aa16-b159a880e79d}*SharedItemsImports = 13 - src\Elastic.Clients.Elasticsearch.Shared\Elastic.Clients.Elasticsearch.Shared.projitems*{f8a7e60c-0c48-4d76-af7f-7881df5a263d}*SharedItemsImports = 5 - EndGlobalSection EndGlobal diff --git a/benchmarks/Benchmarks/packages.lock.json b/benchmarks/Benchmarks/packages.lock.json deleted file mode 100644 index a71fd31a62a..00000000000 --- a/benchmarks/Benchmarks/packages.lock.json +++ /dev/null @@ -1,1204 +0,0 @@ -{ - "version": 1, - "dependencies": { - "net6.0": { - "BenchmarkDotNet": { - "type": "Direct", - "requested": "[0.13.1, )", - "resolved": "0.13.1", - "contentHash": "LWR6kL3MWc4ByzSrqi6nccbO4UT5pySiB5h9L2LSHoqVdHySTbtLYYulz3atWhPyhtIQIMz6kQjvuBjFM03zkA==", - "dependencies": { - "BenchmarkDotNet.Annotations": "0.13.1", - "CommandLineParser": "2.4.3", - "Iced": "1.8.0", - "Microsoft.CodeAnalysis.CSharp": "2.10.0", - "Microsoft.Diagnostics.NETCore.Client": "0.2.61701", - "Microsoft.Diagnostics.Runtime": "1.1.126102", - "Microsoft.Diagnostics.Tracing.TraceEvent": "2.0.61", - "Microsoft.DotNet.PlatformAbstractions": "2.1.0", - "Microsoft.Win32.Registry": "4.5.0", - "Perfolizer": "0.2.1", - "System.Management": "4.5.0", - "System.Reflection.Emit": "4.3.0", - "System.Reflection.Emit.Lightweight": "4.3.0", - "System.Threading.Tasks.Extensions": "4.5.2", - "System.ValueTuple": "4.5.0" - } - }, - "DotNet.ReproducibleBuilds": { - "type": "Direct", - "requested": "[1.1.1, )", - "resolved": "1.1.1", - "contentHash": "+H2t/t34h6mhEoUvHi8yGXyuZ2GjSovcGYehJrS2MDm2XgmPfZL2Sdxg+uL2lKgZ4M6tTwKHIlxOob2bgh0NRQ==", - "dependencies": { - "Microsoft.SourceLink.AzureRepos.Git": "1.1.1", - "Microsoft.SourceLink.Bitbucket.Git": "1.1.1", - "Microsoft.SourceLink.GitHub": "1.1.1", - "Microsoft.SourceLink.GitLab": "1.1.1" - } - }, - "Microsoft.NETFramework.ReferenceAssemblies": { - "type": "Direct", - "requested": "[1.0.3, )", - "resolved": "1.0.3", - "contentHash": "vUc9Npcs14QsyOD01tnv/m8sQUnGTGOw1BCmKcv77LBJY7OxhJ+zJF7UD/sCL3lYNFuqmQEVlkfS4Quif6FyYg==", - "dependencies": { - "Microsoft.NETFramework.ReferenceAssemblies.net461": "1.0.3" - } - }, - "NEST": { - "type": "Direct", - "requested": "[7.16.0, )", - "resolved": "7.16.0", - "contentHash": "n/yUqofcJsDbBMRAg+x/FWWDujcFKk7we/tTY8SJkQr1AjzYJNB6h7dXLMijTlyNT5VXQ+u752wZiRAL5uC60A==", - "dependencies": { - "Elasticsearch.Net": "7.16.0" - } - }, - "BenchmarkDotNet.Annotations": { - "type": "Transitive", - "resolved": "0.13.1", - "contentHash": "OvHMw/GYfdrrJAM28zOXQ94kdv1s0s92ZrbkH+/79I557ONPEH/urMF8iNKuYYgLsziC4isw233L3GKq6Twe/A==" - }, - "CommandLineParser": { - "type": "Transitive", - "resolved": "2.4.3", - "contentHash": "U2FC9Y8NyIxxU6MpFFdWWu1xwiqz/61v/Doou7kmVjpeIEMLWyiNNkzNlSE84kyJ0O1LKApuEj5z48Ow0Hi4OQ==" - }, - "Elastic.Transport": { - "type": "Transitive", - "resolved": "0.4.22", - "contentHash": "9J5GPHJcT8sewn2zVfWTrsCQvfQYgUiY/jx+IRjWUk7XNPd837qfEL42I5baH69cyW/e4RoDy8v76yxqz95tDw==", - "dependencies": { - "System.Diagnostics.DiagnosticSource": "8.0.0", - "System.Text.Json": "8.0.4" - } - }, - "Elasticsearch.Net": { - "type": "Transitive", - "resolved": "7.16.0", - "contentHash": "qRKVQsALZsfBRK0A5BFthW/K/tto0/bhTK8n8DVn4RIhNzSGzRcM34jp0KjVQ4s/bFwRSIjL5cghmAMdhtVRhA==", - "dependencies": { - "Microsoft.CSharp": "4.6.0", - "System.Buffers": "4.5.1", - "System.Diagnostics.DiagnosticSource": "5.0.0" - } - }, - "Iced": { - "type": "Transitive", - "resolved": "1.8.0", - "contentHash": "KQqoTZg3wf+eqG8ztGqlz9TozC/Dw/jnN82JkIRGZXTg/by0aPiQIMGb+b7hvvkOLnmCuWr3Ghr0mA2I+ASX1A==" - }, - "Microsoft.Build.Tasks.Git": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "AT3HlgTjsqHnWpBHSNeR0KxbLZD7bztlZVj7I8vgeYG9SYqbeFGh0TM/KVtC6fg53nrWHl3VfZFvb5BiQFcY6Q==" - }, - "Microsoft.CodeAnalysis.Analyzers": { - "type": "Transitive", - "resolved": "2.6.1", - "contentHash": "VsT6gg2SPeToP8SK7PEcsH6Ftryb7aOqnXh9xg11zBeov05+63gP3k/TvrR+v85XIa8Nn0y3+qNl4M+qzNLBfw==" - }, - "Microsoft.CodeAnalysis.Common": { - "type": "Transitive", - "resolved": "2.10.0", - "contentHash": "w57ebW3QIRFPoFFX6GCa6eF2FmuHYaWEJ/sMMHq+PBnHB51dEzLIoAQft1Byqe5nrSo4UUV6v4tad8fkTrKl8w==", - "dependencies": { - "Microsoft.CodeAnalysis.Analyzers": "2.6.1", - "System.AppContext": "4.3.0", - "System.Collections": "4.3.0", - "System.Collections.Concurrent": "4.3.0", - "System.Collections.Immutable": "1.5.0", - "System.Console": "4.3.0", - "System.Diagnostics.Debug": "4.3.0", - "System.Diagnostics.FileVersionInfo": "4.3.0", - "System.Diagnostics.StackTrace": "4.3.0", - "System.Diagnostics.Tools": "4.3.0", - "System.Dynamic.Runtime": "4.3.0", - "System.Globalization": "4.3.0", - "System.IO.Compression": "4.3.0", - "System.IO.FileSystem": "4.3.0", - "System.IO.FileSystem.Primitives": "4.3.0", - "System.Linq": "4.3.0", - "System.Linq.Expressions": "4.3.0", - "System.Reflection": "4.3.0", - "System.Reflection.Metadata": "1.6.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.InteropServices": "4.3.0", - "System.Runtime.Numerics": "4.3.0", - "System.Security.Cryptography.Algorithms": "4.3.0", - "System.Security.Cryptography.Encoding": "4.3.0", - "System.Security.Cryptography.X509Certificates": "4.3.0", - "System.Text.Encoding": "4.3.0", - "System.Text.Encoding.CodePages": "4.3.0", - "System.Text.Encoding.Extensions": "4.3.0", - "System.Threading": "4.3.0", - "System.Threading.Tasks": "4.3.0", - "System.Threading.Tasks.Extensions": "4.3.0", - "System.Threading.Tasks.Parallel": "4.3.0", - "System.Threading.Thread": "4.3.0", - "System.ValueTuple": "4.3.0", - "System.Xml.ReaderWriter": "4.3.0", - "System.Xml.XDocument": "4.3.0", - "System.Xml.XPath.XDocument": "4.3.0", - "System.Xml.XmlDocument": "4.3.0" - } - }, - "Microsoft.CodeAnalysis.CSharp": { - "type": "Transitive", - "resolved": "2.10.0", - "contentHash": "bTr6j4V7G4ZPhRDUdowdtbEvXsQA4w1TYfOtXiYdv8TF7STl9ShOKtlSVzAusmeEWsZksJm9D1VSxt6XIyNB0w==", - "dependencies": { - "Microsoft.CodeAnalysis.Common": "[2.10.0]" - } - }, - "Microsoft.CSharp": { - "type": "Transitive", - "resolved": "4.6.0", - "contentHash": "kxn3M2rnAGy5N5DgcIwcE8QTePWU/XiYcQVzn9HqTls2NKluVzVSmVWRjK7OUPWbljCXuZxHyhEz9kPRIQeXow==" - }, - "Microsoft.Diagnostics.NETCore.Client": { - "type": "Transitive", - "resolved": "0.2.61701", - "contentHash": "/whUqXLkTiUvG+vfSFd77DHHsLZW2HztZt+ACOpuvGyLKoGGN86M8cR1aYfRW6fxXF3SVGMKMswcL485SQEDuQ==" - }, - "Microsoft.Diagnostics.Runtime": { - "type": "Transitive", - "resolved": "1.1.126102", - "contentHash": "2lyoyld8bd/zSq5HJPkyXVtsSdfS30qr75V96S4nEJ/nUiUp0WfGjxnTcZXBLCqzwE0DLUR0lUcNpMp0gEtuzA==" - }, - "Microsoft.Diagnostics.Tracing.TraceEvent": { - "type": "Transitive", - "resolved": "2.0.61", - "contentHash": "czZJRJZEZbGyBauIXYfWIfVV6Nx88L55RARKmEb7ja+nmb1yI+LiROgnD1N0Fyh/RnzvUUD/J0YYMkAEBT1Z6w==", - "dependencies": { - "System.Runtime.CompilerServices.Unsafe": "4.5.2" - } - }, - "Microsoft.DotNet.PlatformAbstractions": { - "type": "Transitive", - "resolved": "2.1.0", - "contentHash": "9KPDwvb/hLEVXYruVHVZ8BkebC8j17DmPb56LnqRF74HqSPLjCkrlFUjOtFpQPA2DeADBRTI/e69aCfRBfrhxw==", - "dependencies": { - "System.AppContext": "4.1.0", - "System.Collections": "4.0.11", - "System.IO": "4.1.0", - "System.IO.FileSystem": "4.0.1", - "System.Reflection.TypeExtensions": "4.1.0", - "System.Runtime.Extensions": "4.1.0", - "System.Runtime.InteropServices": "4.1.0", - "System.Runtime.InteropServices.RuntimeInformation": "4.0.0" - } - }, - "Microsoft.NETCore.Platforms": { - "type": "Transitive", - "resolved": "2.0.0", - "contentHash": "VdLJOCXhZaEMY7Hm2GKiULmn7IEPFE4XC5LPSfBVCUIA8YLZVh846gtfBJalsPQF2PlzdD7ecX7DZEulJ402ZQ==" - }, - "Microsoft.NETCore.Targets": { - "type": "Transitive", - "resolved": "1.1.0", - "contentHash": "aOZA3BWfz9RXjpzt0sRJJMjAscAUm3Hoa4UWAfceV9UTYxgwZ1lZt5nO2myFf+/jetYQo4uTP7zS8sJY67BBxg==" - }, - "Microsoft.NETFramework.ReferenceAssemblies.net461": { - "type": "Transitive", - "resolved": "1.0.3", - "contentHash": "AmOJZwCqnOCNp6PPcf9joyogScWLtwy0M1WkqfEQ0M9nYwyDD7EX9ZjscKS5iYnyvteX7kzSKFCKt9I9dXA6mA==" - }, - "Microsoft.SourceLink.AzureRepos.Git": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "qB5urvw9LO2bG3eVAkuL+2ughxz2rR7aYgm2iyrB8Rlk9cp2ndvGRCvehk3rNIhRuNtQaeKwctOl1KvWiklv5w==", - "dependencies": { - "Microsoft.Build.Tasks.Git": "1.1.1", - "Microsoft.SourceLink.Common": "1.1.1" - } - }, - "Microsoft.SourceLink.Bitbucket.Git": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "cDzxXwlyWpLWaH0em4Idj0H3AmVo3L/6xRXKssYemx+7W52iNskj/SQ4FOmfCb8YQt39otTDNMveCZzYtMoucQ==", - "dependencies": { - "Microsoft.Build.Tasks.Git": "1.1.1", - "Microsoft.SourceLink.Common": "1.1.1" - } - }, - "Microsoft.SourceLink.Common": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "WMcGpWKrmJmzrNeuaEb23bEMnbtR/vLmvZtkAP5qWu7vQsY59GqfRJd65sFpBszbd2k/bQ8cs8eWawQKAabkVg==" - }, - "Microsoft.SourceLink.GitHub": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "IaJGnOv/M7UQjRJks7B6p7pbPnOwisYGOIzqCz5ilGFTApZ3ktOR+6zJ12ZRPInulBmdAf1SrGdDG2MU8g6XTw==", - "dependencies": { - "Microsoft.Build.Tasks.Git": "1.1.1", - "Microsoft.SourceLink.Common": "1.1.1" - } - }, - "Microsoft.SourceLink.GitLab": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "tvsg47DDLqqedlPeYVE2lmiTpND8F0hkrealQ5hYltSmvruy/Gr5nHAKSsjyw5L3NeM/HLMI5ORv7on/M4qyZw==", - "dependencies": { - "Microsoft.Build.Tasks.Git": "1.1.1", - "Microsoft.SourceLink.Common": "1.1.1" - } - }, - "Microsoft.Win32.Registry": { - "type": "Transitive", - "resolved": "4.5.0", - "contentHash": "+FWlwd//+Tt56316p00hVePBCouXyEzT86Jb3+AuRotTND0IYn0OO3obs1gnQEs/txEnt+rF2JBGLItTG+Be6A==", - "dependencies": { - "System.Security.AccessControl": "4.5.0", - "System.Security.Principal.Windows": "4.5.0" - } - }, - "Perfolizer": { - "type": "Transitive", - "resolved": "0.2.1", - "contentHash": "Dt4aCxCT8NPtWBKA8k+FsN/RezOQ2C6omNGm5o/qmYRiIwlQYF93UgFmeF1ezVNsztTnkg7P5P63AE+uNkLfrw==", - "dependencies": { - "System.Memory": "4.5.3" - } - }, - "runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "HdSSp5MnJSsg08KMfZThpuLPJpPwE5hBXvHwoKWosyHHfe8Mh5WKT0ylEOf6yNzX6Ngjxe4Whkafh5q7Ymac4Q==" - }, - "runtime.fedora.23-x64.runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "+yH1a49wJMy8Zt4yx5RhJrxO/DBDByAiCzNwiETI+1S4mPdCu0OY4djdciC7Vssk0l22wQaDLrXxXkp+3+7bVA==" - }, - "runtime.fedora.24-x64.runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "c3YNH1GQJbfIPJeCnr4avseugSqPrxwIqzthYyZDN6EuOyNOzq+y2KSUfRcXauya1sF4foESTgwM5e1A8arAKw==" - }, - "runtime.native.System": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "c/qWt2LieNZIj1jGnVNsE2Kl23Ya2aSTBuXMD6V7k9KWr6l16Tqdwq+hJScEpWER9753NWC8h96PaVNY5Ld7Jw==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0" - } - }, - "runtime.native.System.IO.Compression": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "INBPonS5QPEgn7naufQFXJEp3zX6L4bwHgJ/ZH78aBTpeNfQMtf7C6VrAFhlq2xxWBveIOWyFzQjJ8XzHMhdOQ==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0" - } - }, - "runtime.native.System.Net.Http": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "ZVuZJqnnegJhd2k/PtAbbIcZ3aZeITq3sj06oKfMBSfphW3HDmk/t4ObvbOk/JA/swGR0LNqMksAh/f7gpTROg==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0" - } - }, - "runtime.native.System.Security.Cryptography.Apple": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "DloMk88juo0OuOWr56QG7MNchmafTLYWvABy36izkrLI5VledI0rq28KGs1i9wbpeT9NPQrx/wTf8U2vazqQ3Q==", - "dependencies": { - "runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.Apple": "4.3.0" - } - }, - "runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "NS1U+700m4KFRHR5o4vo9DSlTmlCKu/u7dtE5sUHVIPB+xpXxYQvgBgA6wEIeCz6Yfn0Z52/72WYsToCEPJnrw==", - "dependencies": { - "runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0", - "runtime.fedora.23-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0", - "runtime.fedora.24-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0", - "runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0", - "runtime.opensuse.42.1-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0", - "runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0", - "runtime.rhel.7-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0", - "runtime.ubuntu.14.04-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0", - "runtime.ubuntu.16.04-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0", - "runtime.ubuntu.16.10-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0" - } - }, - "runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "b3pthNgxxFcD+Pc0WSEoC0+md3MyhRS6aCEeenvNE3Fdw1HyJ18ZhRFVJJzIeR/O/jpxPboB805Ho0T3Ul7w8A==" - }, - "runtime.opensuse.42.1-x64.runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "KeLz4HClKf+nFS7p/6Fi/CqyLXh81FpiGzcmuS8DGi9lUqSnZ6Es23/gv2O+1XVGfrbNmviF7CckBpavkBoIFQ==" - }, - "runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.Apple": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "kVXCuMTrTlxq4XOOMAysuNwsXWpYeboGddNGpIgNSZmv1b6r/s/DPk0fYMB7Q5Qo4bY68o48jt4T4y5BVecbCQ==" - }, - "runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "X7IdhILzr4ROXd8mI1BUCQMSHSQwelUlBjF1JyTKCjXaOGn2fB4EKBxQbCK2VjO3WaWIdlXZL3W6TiIVnrhX4g==" - }, - "runtime.rhel.7-x64.runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "nyFNiCk/r+VOiIqreLix8yN+q3Wga9+SE8BCgkf+2BwEKiNx6DyvFjCgkfV743/grxv8jHJ8gUK4XEQw7yzRYg==" - }, - "runtime.ubuntu.14.04-x64.runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "ytoewC6wGorL7KoCAvRfsgoJPJbNq+64k2SqW6JcOAebWsFUvCCYgfzQMrnpvPiEl4OrblUlhF2ji+Q1+SVLrQ==" - }, - "runtime.ubuntu.16.04-x64.runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "I8bKw2I8k58Wx7fMKQJn2R8lamboCAiHfHeV/pS65ScKWMMI0+wJkLYlEKvgW1D/XvSl/221clBoR2q9QNNM7A==" - }, - "runtime.ubuntu.16.10-x64.runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "VB5cn/7OzUfzdnC8tqAIMQciVLiq2epm2NrAm1E9OjNRyG4lVhfR61SMcLizejzQP8R8Uf/0l5qOIbUEi+RdEg==" - }, - "System.AppContext": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "fKC+rmaLfeIzUhagxY17Q9siv/sPrjjKcfNg1Ic8IlQkZLipo8ljcaZQu4VtI4Jqbzjc2VTjzGLF6WmsRXAEgA==", - "dependencies": { - "System.Runtime": "4.3.0" - } - }, - "System.Buffers": { - "type": "Transitive", - "resolved": "4.5.1", - "contentHash": "Rw7ijyl1qqRS0YQD/WycNst8hUUMgrMH4FCn1nNm27M4VxchZ1js3fVjQaANHO5f3sN4isvP4a+Met9Y4YomAg==" - }, - "System.CodeDom": { - "type": "Transitive", - "resolved": "4.5.0", - "contentHash": "gqpR1EeXOuzNQWL7rOzmtdIz3CaXVjSQCiaGOs2ivjPwynKSJYm39X81fdlp7WuojZs/Z5t1k5ni7HtKQurhjw==" - }, - "System.Collections": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "3Dcj85/TBdVpL5Zr+gEEBUuFe2icOnLalmEh9hfck1PTYbbyWuZgh4fmm2ysCLTrqLQw6t3TgTyJ+VLp+Qb+Lw==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } - }, - "System.Collections.Concurrent": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "ztl69Xp0Y/UXCL+3v3tEU+lIy+bvjKNUmopn1wep/a291pVPK7dxBd6T7WnlQqRog+d1a/hSsgRsmFnIBKTPLQ==", - "dependencies": { - "System.Collections": "4.3.0", - "System.Diagnostics.Debug": "4.3.0", - "System.Diagnostics.Tracing": "4.3.0", - "System.Globalization": "4.3.0", - "System.Reflection": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Threading": "4.3.0", - "System.Threading.Tasks": "4.3.0" - } - }, - "System.Collections.Immutable": { - "type": "Transitive", - "resolved": "1.5.0", - "contentHash": "EXKiDFsChZW0RjrZ4FYHu9aW6+P4MCgEDCklsVseRfhoO0F+dXeMSsMRAlVXIo06kGJ/zv+2w1a2uc2+kxxSaQ==" - }, - "System.Console": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "DHDrIxiqk1h03m6khKWV2X8p/uvN79rgSqpilL6uzpmSfxfU5ng8VcPtW4qsDsQDHiTv6IPV9TmD5M/vElPNLg==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.IO": "4.3.0", - "System.Runtime": "4.3.0", - "System.Text.Encoding": "4.3.0" - } - }, - "System.Diagnostics.Debug": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "ZUhUOdqmaG5Jk3Xdb8xi5kIyQYAA4PnTNlHx1mu9ZY3qv4ELIdKbnL/akbGaKi2RnNUWaZsAs31rvzFdewTj2g==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } - }, - "System.Diagnostics.DiagnosticSource": { - "type": "Transitive", - "resolved": "8.0.0", - "contentHash": "c9xLpVz6PL9lp/djOWtk5KPDZq3cSYpmXoJQY524EOtuFl5z9ZtsotpsyrDW40U1DRnQSYvcPKEUV0X//u6gkQ==", - "dependencies": { - "System.Runtime.CompilerServices.Unsafe": "6.0.0" - } - }, - "System.Diagnostics.FileVersionInfo": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "omCF64wzQ3Q2CeIqkD6lmmxeMZtGHUmzgFMPjfVaOsyqpR66p/JaZzManMw1s33osoAb5gqpncsjie67+yUPHQ==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "System.Globalization": "4.3.0", - "System.IO": "4.3.0", - "System.IO.FileSystem": "4.3.0", - "System.IO.FileSystem.Primitives": "4.3.0", - "System.Reflection.Metadata": "1.4.1", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.InteropServices": "4.3.0" - } - }, - "System.Diagnostics.StackTrace": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "BiHg0vgtd35/DM9jvtaC1eKRpWZxr0gcQd643ABG7GnvSlf5pOkY2uyd42mMOJoOmKvnpNj0F4tuoS1pacTwYw==", - "dependencies": { - "System.IO.FileSystem": "4.3.0", - "System.Reflection": "4.3.0", - "System.Reflection.Metadata": "1.4.1", - "System.Runtime": "4.3.0" - } - }, - "System.Diagnostics.Tools": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "UUvkJfSYJMM6x527dJg2VyWPSRqIVB0Z7dbjHst1zmwTXz5CcXSYJFWRpuigfbO1Lf7yfZiIaEUesfnl/g5EyA==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } - }, - "System.Diagnostics.Tracing": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "rswfv0f/Cqkh78rA5S8eN8Neocz234+emGCtTF3lxPY96F+mmmUen6tbn0glN6PMvlKQb9bPAY5e9u7fgPTkKw==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } - }, - "System.Dynamic.Runtime": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "SNVi1E/vfWUAs/WYKhE9+qlS6KqK0YVhnlT0HQtr8pMIA8YX3lwy3uPMownDwdYISBdmAF/2holEIldVp85Wag==", - "dependencies": { - "System.Collections": "4.3.0", - "System.Diagnostics.Debug": "4.3.0", - "System.Linq": "4.3.0", - "System.Linq.Expressions": "4.3.0", - "System.ObjectModel": "4.3.0", - "System.Reflection": "4.3.0", - "System.Reflection.Emit": "4.3.0", - "System.Reflection.Emit.ILGeneration": "4.3.0", - "System.Reflection.Primitives": "4.3.0", - "System.Reflection.TypeExtensions": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Threading": "4.3.0" - } - }, - "System.Globalization": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "kYdVd2f2PAdFGblzFswE4hkNANJBKRmsfa2X5LG2AcWE1c7/4t0pYae1L8vfZ5xvE2nK/R9JprtToA61OSHWIg==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } - }, - "System.Globalization.Calendars": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "GUlBtdOWT4LTV3I+9/PJW+56AnnChTaOqqTLFtdmype/L500M2LIyXgmtd9X2P2VOkmJd5c67H5SaC2QcL1bFA==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Globalization": "4.3.0", - "System.Runtime": "4.3.0" - } - }, - "System.IO": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "3qjaHvxQPDpSOYICjUoTsmoq5u6QJAFRUITgeT/4gqkF1bajbSmb1kwSxEA8AHlofqgcKJcM8udgieRNhaJ5Cg==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0", - "System.Text.Encoding": "4.3.0", - "System.Threading.Tasks": "4.3.0" - } - }, - "System.IO.Compression": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "YHndyoiV90iu4iKG115ibkhrG+S3jBm8Ap9OwoUAzO5oPDAWcr0SFwQFm0HjM8WkEZWo0zvLTyLmbvTkW1bXgg==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "System.Buffers": "4.3.0", - "System.Collections": "4.3.0", - "System.Diagnostics.Debug": "4.3.0", - "System.IO": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.Handles": "4.3.0", - "System.Runtime.InteropServices": "4.3.0", - "System.Text.Encoding": "4.3.0", - "System.Threading": "4.3.0", - "System.Threading.Tasks": "4.3.0", - "runtime.native.System": "4.3.0", - "runtime.native.System.IO.Compression": "4.3.0" - } - }, - "System.IO.FileSystem": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "3wEMARTnuio+ulnvi+hkRNROYwa1kylvYahhcLk4HSoVdl+xxTFVeVlYOfLwrDPImGls0mDqbMhrza8qnWPTdA==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.IO": "4.3.0", - "System.IO.FileSystem.Primitives": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Handles": "4.3.0", - "System.Text.Encoding": "4.3.0", - "System.Threading.Tasks": "4.3.0" - } - }, - "System.IO.FileSystem.Primitives": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "6QOb2XFLch7bEc4lIcJH49nJN2HV+OC3fHDgsLVsBVBk3Y4hFAnOBGzJ2lUu7CyDDFo9IBWkSsnbkT6IBwwiMw==", - "dependencies": { - "System.Runtime": "4.3.0" - } - }, - "System.Linq": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "5DbqIUpsDp0dFftytzuMmc0oeMdQwjcP/EWxsksIz/w1TcFRkZ3yKKz0PqiYFMmEwPSWw+qNVqD7PJ889JzHbw==", - "dependencies": { - "System.Collections": "4.3.0", - "System.Diagnostics.Debug": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0" - } - }, - "System.Linq.Expressions": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "PGKkrd2khG4CnlyJwxwwaWWiSiWFNBGlgXvJpeO0xCXrZ89ODrQ6tjEWS/kOqZ8GwEOUATtKtzp1eRgmYNfclg==", - "dependencies": { - "System.Collections": "4.3.0", - "System.Diagnostics.Debug": "4.3.0", - "System.Globalization": "4.3.0", - "System.IO": "4.3.0", - "System.Linq": "4.3.0", - "System.ObjectModel": "4.3.0", - "System.Reflection": "4.3.0", - "System.Reflection.Emit": "4.3.0", - "System.Reflection.Emit.ILGeneration": "4.3.0", - "System.Reflection.Emit.Lightweight": "4.3.0", - "System.Reflection.Extensions": "4.3.0", - "System.Reflection.Primitives": "4.3.0", - "System.Reflection.TypeExtensions": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Threading": "4.3.0" - } - }, - "System.Management": { - "type": "Transitive", - "resolved": "4.5.0", - "contentHash": "Z6ac0qPGr3yJtwZEX1SRkhwWa0Kf5NJxx7smLboYsGrApQFECNFdqhGy252T4lrZ5Nwzhd9VQiaifndR3bfHdg==", - "dependencies": { - "Microsoft.NETCore.Platforms": "2.0.0", - "Microsoft.Win32.Registry": "4.5.0", - "System.CodeDom": "4.5.0" - } - }, - "System.Memory": { - "type": "Transitive", - "resolved": "4.5.3", - "contentHash": "3oDzvc/zzetpTKWMShs1AADwZjQ/36HnsufHRPcOjyRAAMLDlu2iD33MBI2opxnezcVUtXyqDXXjoFMOU9c7SA==" - }, - "System.ObjectModel": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "bdX+80eKv9bN6K4N+d77OankKHGn6CH711a6fcOpMQu2Fckp/Ft4L/kW9WznHpyR0NRAvJutzOMHNNlBGvxQzQ==", - "dependencies": { - "System.Collections": "4.3.0", - "System.Diagnostics.Debug": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Threading": "4.3.0" - } - }, - "System.Reflection": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "KMiAFoW7MfJGa9nDFNcfu+FpEdiHpWgTcS2HdMpDvt9saK3y/G4GwprPyzqjFH9NTaGPQeWNHU+iDlDILj96aQ==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.IO": "4.3.0", - "System.Reflection.Primitives": "4.3.0", - "System.Runtime": "4.3.0" - } - }, - "System.Reflection.Emit": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "228FG0jLcIwTVJyz8CLFKueVqQK36ANazUManGaJHkO0icjiIypKW7YLWLIWahyIkdh5M7mV2dJepllLyA1SKg==", - "dependencies": { - "System.IO": "4.3.0", - "System.Reflection": "4.3.0", - "System.Reflection.Emit.ILGeneration": "4.3.0", - "System.Reflection.Primitives": "4.3.0", - "System.Runtime": "4.3.0" - } - }, - "System.Reflection.Emit.ILGeneration": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "59tBslAk9733NXLrUJrwNZEzbMAcu8k344OYo+wfSVygcgZ9lgBdGIzH/nrg3LYhXceynyvTc8t5/GD4Ri0/ng==", - "dependencies": { - "System.Reflection": "4.3.0", - "System.Reflection.Primitives": "4.3.0", - "System.Runtime": "4.3.0" - } - }, - "System.Reflection.Emit.Lightweight": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "oadVHGSMsTmZsAF864QYN1t1QzZjIcuKU3l2S9cZOwDdDueNTrqq1yRj7koFfIGEnKpt6NjpL3rOzRhs4ryOgA==", - "dependencies": { - "System.Reflection": "4.3.0", - "System.Reflection.Emit.ILGeneration": "4.3.0", - "System.Reflection.Primitives": "4.3.0", - "System.Runtime": "4.3.0" - } - }, - "System.Reflection.Extensions": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "rJkrJD3kBI5B712aRu4DpSIiHRtr6QlfZSQsb0hYHrDCZORXCFjQfoipo2LaMUHoT9i1B7j7MnfaEKWDFmFQNQ==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Reflection": "4.3.0", - "System.Runtime": "4.3.0" - } - }, - "System.Reflection.Metadata": { - "type": "Transitive", - "resolved": "1.6.0", - "contentHash": "COC1aiAJjCoA5GBF+QKL2uLqEBew4JsCkQmoHKbN3TlOZKa2fKLz5CpiRQKDz0RsAOEGsVKqOD5bomsXq/4STQ==" - }, - "System.Reflection.Primitives": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "5RXItQz5As4xN2/YUDxdpsEkMhvw3e6aNveFXUn4Hl/udNTCNhnKp8lT9fnc3MhvGKh1baak5CovpuQUXHAlIA==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } - }, - "System.Reflection.TypeExtensions": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "7u6ulLcZbyxB5Gq0nMkQttcdBTx57ibzw+4IOXEfR+sXYQoHvjW5LTLyNr8O22UIMrqYbchJQJnos4eooYzYJA==", - "dependencies": { - "System.Reflection": "4.3.0", - "System.Runtime": "4.3.0" - } - }, - "System.Resources.ResourceManager": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "/zrcPkkWdZmI4F92gL/TPumP98AVDu/Wxr3CSJGQQ+XN6wbRZcyfSKVoPo17ilb3iOr0cCRqJInGwNMolqhS8A==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Globalization": "4.3.0", - "System.Reflection": "4.3.0", - "System.Runtime": "4.3.0" - } - }, - "System.Runtime": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "JufQi0vPQ0xGnAczR13AUFglDyVYt4Kqnz1AZaiKZ5+GICq0/1MH/mO/eAJHt/mHW1zjKBJd7kV26SrxddAhiw==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0" - } - }, - "System.Runtime.CompilerServices.Unsafe": { - "type": "Transitive", - "resolved": "6.0.0", - "contentHash": "/iUeP3tq1S0XdNNoMz5C9twLSrM/TH+qElHkXWaPvuNOt+99G75NrV0OS2EqHx5wMN7popYjpc8oTjC1y16DLg==" - }, - "System.Runtime.Extensions": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "guW0uK0fn5fcJJ1tJVXYd7/1h5F+pea1r7FLSOz/f8vPEqbR2ZAknuRDvTQ8PzAilDveOxNjSfr0CHfIQfFk8g==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } - }, - "System.Runtime.Handles": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "OKiSUN7DmTWeYb3l51A7EYaeNMnvxwE249YtZz7yooT4gOZhmTjIn48KgSsw2k2lYdLgTKNJw/ZIfSElwDRVgg==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } - }, - "System.Runtime.InteropServices": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "uv1ynXqiMK8mp1GM3jDqPCFN66eJ5w5XNomaK2XD+TuCroNTLFGeZ+WCmBMcBDyTFKou3P6cR6J/QsaqDp7fGQ==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Reflection": "4.3.0", - "System.Reflection.Primitives": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Handles": "4.3.0" - } - }, - "System.Runtime.InteropServices.RuntimeInformation": { - "type": "Transitive", - "resolved": "4.0.0", - "contentHash": "hWPhJxc453RCa8Z29O91EmfGeZIHX1ZH2A8L6lYQVSaKzku2DfArSfMEb1/MYYzPQRJZeu0c9dmYeJKxW5Fgng==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.0.1", - "System.Reflection": "4.1.0", - "System.Resources.ResourceManager": "4.0.1", - "System.Runtime": "4.1.0", - "System.Runtime.InteropServices": "4.1.0", - "System.Threading": "4.0.11", - "runtime.native.System": "4.0.0" - } - }, - "System.Runtime.Numerics": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "yMH+MfdzHjy17l2KESnPiF2dwq7T+xLnSJar7slyimAkUh/gTrS9/UQOtv7xarskJ2/XDSNvfLGOBQPjL7PaHQ==", - "dependencies": { - "System.Globalization": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0" - } - }, - "System.Security.AccessControl": { - "type": "Transitive", - "resolved": "4.5.0", - "contentHash": "vW8Eoq0TMyz5vAG/6ce483x/CP83fgm4SJe5P8Tb1tZaobcvPrbMEL7rhH1DRdrYbbb6F0vq3OlzmK0Pkwks5A==", - "dependencies": { - "Microsoft.NETCore.Platforms": "2.0.0", - "System.Security.Principal.Windows": "4.5.0" - } - }, - "System.Security.Cryptography.Algorithms": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "W1kd2Y8mYSCgc3ULTAZ0hOP2dSdG5YauTb1089T0/kRcN2MpSAW1izOFROrJgxSlMn3ArsgHXagigyi+ibhevg==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "System.Collections": "4.3.0", - "System.IO": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.Handles": "4.3.0", - "System.Runtime.InteropServices": "4.3.0", - "System.Runtime.Numerics": "4.3.0", - "System.Security.Cryptography.Encoding": "4.3.0", - "System.Security.Cryptography.Primitives": "4.3.0", - "System.Text.Encoding": "4.3.0", - "runtime.native.System.Security.Cryptography.Apple": "4.3.0", - "runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0" - } - }, - "System.Security.Cryptography.Cng": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "03idZOqFlsKRL4W+LuCpJ6dBYDUWReug6lZjBa3uJWnk5sPCUXckocevTaUA8iT/MFSrY/2HXkOt753xQ/cf8g==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "System.IO": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.Handles": "4.3.0", - "System.Runtime.InteropServices": "4.3.0", - "System.Security.Cryptography.Algorithms": "4.3.0", - "System.Security.Cryptography.Encoding": "4.3.0", - "System.Security.Cryptography.Primitives": "4.3.0", - "System.Text.Encoding": "4.3.0" - } - }, - "System.Security.Cryptography.Csp": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "X4s/FCkEUnRGnwR3aSfVIkldBmtURMhmexALNTwpjklzxWU7yjMk7GHLKOZTNkgnWnE0q7+BCf9N2LVRWxewaA==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "System.IO": "4.3.0", - "System.Reflection": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.Handles": "4.3.0", - "System.Runtime.InteropServices": "4.3.0", - "System.Security.Cryptography.Algorithms": "4.3.0", - "System.Security.Cryptography.Encoding": "4.3.0", - "System.Security.Cryptography.Primitives": "4.3.0", - "System.Text.Encoding": "4.3.0", - "System.Threading": "4.3.0" - } - }, - "System.Security.Cryptography.Encoding": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "1DEWjZZly9ae9C79vFwqaO5kaOlI5q+3/55ohmq/7dpDyDfc8lYe7YVxJUZ5MF/NtbkRjwFRo14yM4OEo9EmDw==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "System.Collections": "4.3.0", - "System.Collections.Concurrent": "4.3.0", - "System.Linq": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.Handles": "4.3.0", - "System.Runtime.InteropServices": "4.3.0", - "System.Security.Cryptography.Primitives": "4.3.0", - "System.Text.Encoding": "4.3.0", - "runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0" - } - }, - "System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "h4CEgOgv5PKVF/HwaHzJRiVboL2THYCou97zpmhjghx5frc7fIvlkY1jL+lnIQyChrJDMNEXS6r7byGif8Cy4w==", - "dependencies": { - "System.Collections": "4.3.0", - "System.IO": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.Handles": "4.3.0", - "System.Runtime.InteropServices": "4.3.0", - "System.Runtime.Numerics": "4.3.0", - "System.Security.Cryptography.Algorithms": "4.3.0", - "System.Security.Cryptography.Encoding": "4.3.0", - "System.Security.Cryptography.Primitives": "4.3.0", - "System.Text.Encoding": "4.3.0", - "runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0" - } - }, - "System.Security.Cryptography.Primitives": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "7bDIyVFNL/xKeFHjhobUAQqSpJq9YTOpbEs6mR233Et01STBMXNAc/V+BM6dwYGc95gVh/Zf+iVXWzj3mE8DWg==", - "dependencies": { - "System.Diagnostics.Debug": "4.3.0", - "System.Globalization": "4.3.0", - "System.IO": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Threading": "4.3.0", - "System.Threading.Tasks": "4.3.0" - } - }, - "System.Security.Cryptography.X509Certificates": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "t2Tmu6Y2NtJ2um0RtcuhP7ZdNNxXEgUm2JeoA/0NvlMjAhKCnM1NX07TDl3244mVp3QU6LPEhT3HTtH1uF7IYw==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "System.Collections": "4.3.0", - "System.Diagnostics.Debug": "4.3.0", - "System.Globalization": "4.3.0", - "System.Globalization.Calendars": "4.3.0", - "System.IO": "4.3.0", - "System.IO.FileSystem": "4.3.0", - "System.IO.FileSystem.Primitives": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.Handles": "4.3.0", - "System.Runtime.InteropServices": "4.3.0", - "System.Runtime.Numerics": "4.3.0", - "System.Security.Cryptography.Algorithms": "4.3.0", - "System.Security.Cryptography.Cng": "4.3.0", - "System.Security.Cryptography.Csp": "4.3.0", - "System.Security.Cryptography.Encoding": "4.3.0", - "System.Security.Cryptography.OpenSsl": "4.3.0", - "System.Security.Cryptography.Primitives": "4.3.0", - "System.Text.Encoding": "4.3.0", - "System.Threading": "4.3.0", - "runtime.native.System": "4.3.0", - "runtime.native.System.Net.Http": "4.3.0", - "runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0" - } - }, - "System.Security.Principal.Windows": { - "type": "Transitive", - "resolved": "4.5.0", - "contentHash": "U77HfRXlZlOeIXd//Yoj6Jnk8AXlbeisf1oq1os+hxOGVnuG+lGSfGqTwTZBoORFF6j/0q7HXIl8cqwQ9aUGqQ==", - "dependencies": { - "Microsoft.NETCore.Platforms": "2.0.0" - } - }, - "System.Text.Encoding": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "BiIg+KWaSDOITze6jGQynxg64naAPtqGHBwDrLaCtixsa5bKiR8dpPOHA7ge3C0JJQizJE+sfkz1wV+BAKAYZw==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } - }, - "System.Text.Encoding.CodePages": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "IRiEFUa5b/Gs5Egg8oqBVoywhtOeaO2KOx3j0RfcYY/raxqBuEK7NXRDgOwtYM8qbi+7S4RPXUbNt+ZxyY0/NQ==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "System.Collections": "4.3.0", - "System.Globalization": "4.3.0", - "System.IO": "4.3.0", - "System.Reflection": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.Handles": "4.3.0", - "System.Runtime.InteropServices": "4.3.0", - "System.Text.Encoding": "4.3.0", - "System.Threading": "4.3.0" - } - }, - "System.Text.Encoding.Extensions": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "YVMK0Bt/A43RmwizJoZ22ei2nmrhobgeiYwFzC4YAN+nue8RF6djXDMog0UCn+brerQoYVyaS+ghy9P/MUVcmw==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0", - "System.Text.Encoding": "4.3.0" - } - }, - "System.Text.Encodings.Web": { - "type": "Transitive", - "resolved": "8.0.0", - "contentHash": "yev/k9GHAEGx2Rg3/tU6MQh4HGBXJs70y7j1LaM1i/ER9po+6nnQ6RRqTJn1E7Xu0fbIFK80Nh5EoODxrbxwBQ==", - "dependencies": { - "System.Runtime.CompilerServices.Unsafe": "6.0.0" - } - }, - "System.Text.Json": { - "type": "Transitive", - "resolved": "8.0.4", - "contentHash": "bAkhgDJ88XTsqczoxEMliSrpijKZHhbJQldhAmObj/RbrN3sU5dcokuXmWJWsdQAhiMJ9bTayWsL1C9fbbCRhw==", - "dependencies": { - "System.Runtime.CompilerServices.Unsafe": "6.0.0", - "System.Text.Encodings.Web": "8.0.0" - } - }, - "System.Text.RegularExpressions": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "RpT2DA+L660cBt1FssIE9CAGpLFdFPuheB7pLpKpn6ZXNby7jDERe8Ua/Ne2xGiwLVG2JOqziiaVCGDon5sKFA==", - "dependencies": { - "System.Runtime": "4.3.0" - } - }, - "System.Threading": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "VkUS0kOBcUf3Wwm0TSbrevDDZ6BlM+b/HRiapRFWjM5O0NS0LviG0glKmFK+hhPDd1XFeSdU1GmlLhb2CoVpIw==", - "dependencies": { - "System.Runtime": "4.3.0", - "System.Threading.Tasks": "4.3.0" - } - }, - "System.Threading.Tasks": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "LbSxKEdOUhVe8BezB/9uOGGppt+nZf6e1VFyw6v3DN6lqitm0OSn2uXMOdtP0M3W4iMcqcivm2J6UgqiwwnXiA==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } - }, - "System.Threading.Tasks.Extensions": { - "type": "Transitive", - "resolved": "4.5.2", - "contentHash": "BG/TNxDFv0svAzx8OiMXDlsHfGw623BZ8tCXw4YLhDFDvDhNUEV58jKYMGRnkbJNm7c3JNNJDiN7JBMzxRBR2w==" - }, - "System.Threading.Tasks.Parallel": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "cbjBNZHf/vQCfcdhzx7knsiygoCKgxL8mZOeocXZn5gWhCdzHIq6bYNKWX0LAJCWYP7bds4yBK8p06YkP0oa0g==", - "dependencies": { - "System.Collections.Concurrent": "4.3.0", - "System.Diagnostics.Debug": "4.3.0", - "System.Diagnostics.Tracing": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Threading": "4.3.0", - "System.Threading.Tasks": "4.3.0" - } - }, - "System.Threading.Thread": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "OHmbT+Zz065NKII/ZHcH9XO1dEuLGI1L2k7uYss+9C1jLxTC9kTZZuzUOyXHayRk+dft9CiDf3I/QZ0t8JKyBQ==", - "dependencies": { - "System.Runtime": "4.3.0" - } - }, - "System.ValueTuple": { - "type": "Transitive", - "resolved": "4.5.0", - "contentHash": "okurQJO6NRE/apDIP23ajJ0hpiNmJ+f0BwOlB/cSqTLQlw5upkf+5+96+iG2Jw40G1fCVCyPz/FhIABUjMR+RQ==" - }, - "System.Xml.ReaderWriter": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "GrprA+Z0RUXaR4N7/eW71j1rgMnEnEVlgii49GZyAjTH7uliMnrOU3HNFBr6fEDBCJCIdlVNq9hHbaDR621XBA==", - "dependencies": { - "System.Collections": "4.3.0", - "System.Diagnostics.Debug": "4.3.0", - "System.Globalization": "4.3.0", - "System.IO": "4.3.0", - "System.IO.FileSystem": "4.3.0", - "System.IO.FileSystem.Primitives": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.InteropServices": "4.3.0", - "System.Text.Encoding": "4.3.0", - "System.Text.Encoding.Extensions": "4.3.0", - "System.Text.RegularExpressions": "4.3.0", - "System.Threading.Tasks": "4.3.0", - "System.Threading.Tasks.Extensions": "4.3.0" - } - }, - "System.Xml.XDocument": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "5zJ0XDxAIg8iy+t4aMnQAu0MqVbqyvfoUVl1yDV61xdo3Vth45oA2FoY4pPkxYAH5f8ixpmTqXeEIya95x0aCQ==", - "dependencies": { - "System.Collections": "4.3.0", - "System.Diagnostics.Debug": "4.3.0", - "System.Diagnostics.Tools": "4.3.0", - "System.Globalization": "4.3.0", - "System.IO": "4.3.0", - "System.Reflection": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Text.Encoding": "4.3.0", - "System.Threading": "4.3.0", - "System.Xml.ReaderWriter": "4.3.0" - } - }, - "System.Xml.XmlDocument": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "lJ8AxvkX7GQxpC6GFCeBj8ThYVyQczx2+f/cWHJU8tjS7YfI6Cv6bon70jVEgs2CiFbmmM8b9j1oZVx0dSI2Ww==", - "dependencies": { - "System.Collections": "4.3.0", - "System.Diagnostics.Debug": "4.3.0", - "System.Globalization": "4.3.0", - "System.IO": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Text.Encoding": "4.3.0", - "System.Threading": "4.3.0", - "System.Xml.ReaderWriter": "4.3.0" - } - }, - "System.Xml.XPath": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "v1JQ5SETnQusqmS3RwStF7vwQ3L02imIzl++sewmt23VGygix04pEH+FCj1yWb+z4GDzKiljr1W7Wfvrx0YwgA==", - "dependencies": { - "System.Collections": "4.3.0", - "System.Diagnostics.Debug": "4.3.0", - "System.Globalization": "4.3.0", - "System.IO": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Threading": "4.3.0", - "System.Xml.ReaderWriter": "4.3.0" - } - }, - "System.Xml.XPath.XDocument": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "jw9oHHEIVW53mHY9PgrQa98Xo2IZ0ZjrpdOTmtvk+Rvg4tq7dydmxdNqUvJ5YwjDqhn75mBXWttWjiKhWP53LQ==", - "dependencies": { - "System.Diagnostics.Debug": "4.3.0", - "System.Linq": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Threading": "4.3.0", - "System.Xml.ReaderWriter": "4.3.0", - "System.Xml.XDocument": "4.3.0", - "System.Xml.XPath": "4.3.0" - } - }, - "elastic.clients.elasticsearch": { - "type": "Project", - "dependencies": { - "Elastic.Transport": "[0.4.22, )" - } - } - } - } -} \ No newline at end of file diff --git a/benchmarks/Profiling/packages.lock.json b/benchmarks/Profiling/packages.lock.json deleted file mode 100644 index ebc324c614b..00000000000 --- a/benchmarks/Profiling/packages.lock.json +++ /dev/null @@ -1,130 +0,0 @@ -{ - "version": 1, - "dependencies": { - "net6.0": { - "DotNet.ReproducibleBuilds": { - "type": "Direct", - "requested": "[1.1.1, )", - "resolved": "1.1.1", - "contentHash": "+H2t/t34h6mhEoUvHi8yGXyuZ2GjSovcGYehJrS2MDm2XgmPfZL2Sdxg+uL2lKgZ4M6tTwKHIlxOob2bgh0NRQ==", - "dependencies": { - "Microsoft.SourceLink.AzureRepos.Git": "1.1.1", - "Microsoft.SourceLink.Bitbucket.Git": "1.1.1", - "Microsoft.SourceLink.GitHub": "1.1.1", - "Microsoft.SourceLink.GitLab": "1.1.1" - } - }, - "JetBrains.Profiler.Api": { - "type": "Direct", - "requested": "[1.1.8, )", - "resolved": "1.1.8", - "contentHash": "a/zkJHzyzjIilu5cn5SnnCkPDbfUD+nLBpCaSivp0GCotBR6w7S8CaDymI5p0qFB1XUImgii1AqWYZsIK+Lh5g==" - }, - "Microsoft.NETFramework.ReferenceAssemblies": { - "type": "Direct", - "requested": "[1.0.2, )", - "resolved": "1.0.2", - "contentHash": "5/cSEVld+px/CuRrbohO/djfg6++eR6zGpy88MgqloXvkj//WXWpFZyu/OpkXPN0u5m+dN/EVwLNYFUxD4h2+A==", - "dependencies": { - "Microsoft.NETFramework.ReferenceAssemblies.net461": "1.0.2" - } - }, - "Elastic.Transport": { - "type": "Transitive", - "resolved": "0.4.22", - "contentHash": "9J5GPHJcT8sewn2zVfWTrsCQvfQYgUiY/jx+IRjWUk7XNPd837qfEL42I5baH69cyW/e4RoDy8v76yxqz95tDw==", - "dependencies": { - "System.Diagnostics.DiagnosticSource": "8.0.0", - "System.Text.Json": "8.0.4" - } - }, - "Microsoft.Build.Tasks.Git": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "AT3HlgTjsqHnWpBHSNeR0KxbLZD7bztlZVj7I8vgeYG9SYqbeFGh0TM/KVtC6fg53nrWHl3VfZFvb5BiQFcY6Q==" - }, - "Microsoft.NETFramework.ReferenceAssemblies.net461": { - "type": "Transitive", - "resolved": "1.0.2", - "contentHash": "8shzGaD5pZi4npuJYCM3de6pl0zlefcbyTIvXIiCdsTqauZ7lAhdaJVtJSqlhYid9VosFAOygBykoJ1SEOlGWA==" - }, - "Microsoft.SourceLink.AzureRepos.Git": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "qB5urvw9LO2bG3eVAkuL+2ughxz2rR7aYgm2iyrB8Rlk9cp2ndvGRCvehk3rNIhRuNtQaeKwctOl1KvWiklv5w==", - "dependencies": { - "Microsoft.Build.Tasks.Git": "1.1.1", - "Microsoft.SourceLink.Common": "1.1.1" - } - }, - "Microsoft.SourceLink.Bitbucket.Git": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "cDzxXwlyWpLWaH0em4Idj0H3AmVo3L/6xRXKssYemx+7W52iNskj/SQ4FOmfCb8YQt39otTDNMveCZzYtMoucQ==", - "dependencies": { - "Microsoft.Build.Tasks.Git": "1.1.1", - "Microsoft.SourceLink.Common": "1.1.1" - } - }, - "Microsoft.SourceLink.Common": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "WMcGpWKrmJmzrNeuaEb23bEMnbtR/vLmvZtkAP5qWu7vQsY59GqfRJd65sFpBszbd2k/bQ8cs8eWawQKAabkVg==" - }, - "Microsoft.SourceLink.GitHub": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "IaJGnOv/M7UQjRJks7B6p7pbPnOwisYGOIzqCz5ilGFTApZ3ktOR+6zJ12ZRPInulBmdAf1SrGdDG2MU8g6XTw==", - "dependencies": { - "Microsoft.Build.Tasks.Git": "1.1.1", - "Microsoft.SourceLink.Common": "1.1.1" - } - }, - "Microsoft.SourceLink.GitLab": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "tvsg47DDLqqedlPeYVE2lmiTpND8F0hkrealQ5hYltSmvruy/Gr5nHAKSsjyw5L3NeM/HLMI5ORv7on/M4qyZw==", - "dependencies": { - "Microsoft.Build.Tasks.Git": "1.1.1", - "Microsoft.SourceLink.Common": "1.1.1" - } - }, - "System.Diagnostics.DiagnosticSource": { - "type": "Transitive", - "resolved": "8.0.0", - "contentHash": "c9xLpVz6PL9lp/djOWtk5KPDZq3cSYpmXoJQY524EOtuFl5z9ZtsotpsyrDW40U1DRnQSYvcPKEUV0X//u6gkQ==", - "dependencies": { - "System.Runtime.CompilerServices.Unsafe": "6.0.0" - } - }, - "System.Runtime.CompilerServices.Unsafe": { - "type": "Transitive", - "resolved": "6.0.0", - "contentHash": "/iUeP3tq1S0XdNNoMz5C9twLSrM/TH+qElHkXWaPvuNOt+99G75NrV0OS2EqHx5wMN7popYjpc8oTjC1y16DLg==" - }, - "System.Text.Encodings.Web": { - "type": "Transitive", - "resolved": "8.0.0", - "contentHash": "yev/k9GHAEGx2Rg3/tU6MQh4HGBXJs70y7j1LaM1i/ER9po+6nnQ6RRqTJn1E7Xu0fbIFK80Nh5EoODxrbxwBQ==", - "dependencies": { - "System.Runtime.CompilerServices.Unsafe": "6.0.0" - } - }, - "System.Text.Json": { - "type": "Transitive", - "resolved": "8.0.4", - "contentHash": "bAkhgDJ88XTsqczoxEMliSrpijKZHhbJQldhAmObj/RbrN3sU5dcokuXmWJWsdQAhiMJ9bTayWsL1C9fbbCRhw==", - "dependencies": { - "System.Runtime.CompilerServices.Unsafe": "6.0.0", - "System.Text.Encodings.Web": "8.0.0" - } - }, - "elastic.clients.elasticsearch": { - "type": "Project", - "dependencies": { - "Elastic.Transport": "[0.4.22, )" - } - } - } - } -} \ No newline at end of file diff --git a/build/scripts/Building.fs b/build/scripts/Building.fs index e2a79c53f6e..5a71f5b4978 100644 --- a/build/scripts/Building.fs +++ b/build/scripts/Building.fs @@ -27,7 +27,6 @@ module Build = "CurrentVersion", (version.Full.ToString()); "CurrentAssemblyVersion", (version.Assembly.ToString()); "CurrentAssemblyFileVersion", (version.AssemblyFile.ToString()); - "ContinuousIntegrationBuild", "true"; ] |> List.map (fun (p,v) -> sprintf "%s=%s" p v) |> String.concat ";" diff --git a/build/scripts/Paths.fs b/build/scripts/Paths.fs index 8aa8a65887b..dc4494af0bb 100644 --- a/build/scripts/Paths.fs +++ b/build/scripts/Paths.fs @@ -17,9 +17,10 @@ module Paths = let Output(folder) = sprintf "%s/%s" BuildOutput folder let InplaceBuildOutput project tfm = - sprintf "src/%s/bin/Release/%s" project tfm + //sprintf "src/%s/bin/Release/%s" project tfm + sprintf ".artifacts/bin/%s/release_%s" project tfm let InplaceBuildTestOutput project tfm = - sprintf "tests/%s/bin/Release/%s" project tfm + sprintf "artifacts/bin/%s/release_%s" project tfm let MagicDocumentationFile = "src/Elasticsearch.Net/obj/Release/netstandard2.1/Elasticsearch.Net.csprojAssemblyReference.cache" diff --git a/build/scripts/packages.lock.json b/build/scripts/packages.lock.json deleted file mode 100644 index 2fc97b62a11..00000000000 --- a/build/scripts/packages.lock.json +++ /dev/null @@ -1,1308 +0,0 @@ -{ - "version": 1, - "dependencies": { - "net8.0": { - "Bullseye": { - "type": "Direct", - "requested": "[3.3.0, )", - "resolved": "3.3.0", - "contentHash": "BjYuufZ3EucWK5vzLBFh13Fpb3a4esbnPzvPlAlDLOAzuQaSYRxBqBbHWxAM4c55170pNE07xFTF9DrXuGcCsw==" - }, - "DotNet.ReproducibleBuilds": { - "type": "Direct", - "requested": "[1.1.1, )", - "resolved": "1.1.1", - "contentHash": "+H2t/t34h6mhEoUvHi8yGXyuZ2GjSovcGYehJrS2MDm2XgmPfZL2Sdxg+uL2lKgZ4M6tTwKHIlxOob2bgh0NRQ==", - "dependencies": { - "Microsoft.SourceLink.AzureRepos.Git": "1.1.1", - "Microsoft.SourceLink.Bitbucket.Git": "1.1.1", - "Microsoft.SourceLink.GitHub": "1.1.1", - "Microsoft.SourceLink.GitLab": "1.1.1" - } - }, - "Elastic.Elasticsearch.Managed": { - "type": "Direct", - "requested": "[0.4.3, )", - "resolved": "0.4.3", - "contentHash": "B7FvSMeNqYM3Yl/r/QRyROuAkMSiSQ0EvZQ36Cqrxm6uRBodlwky4yy4Im/AnOIQIl5lFLGr4vLHwWedHPharw==", - "dependencies": { - "Elastic.Stack.ArtifactsApi": "0.4.3", - "Proc": "0.6.1", - "System.Net.Http": "4.3.1" - } - }, - "Fake.Core.Environment": { - "type": "Direct", - "requested": "[5.15.0, )", - "resolved": "5.15.0", - "contentHash": "kFlywaSoJVSdXpoRwln6+Wd/26fFOTWsFeBfXwE18I0ctz1E2uw66dOnebXsFneL5uM5RC1hCdNhMQrqy9FN9w==", - "dependencies": { - "FSharp.Core": "4.3.4" - } - }, - "Fake.Core.SemVer": { - "type": "Direct", - "requested": "[5.15.0, )", - "resolved": "5.15.0", - "contentHash": "aGGOMVP/RG+aBRK/Wp62GJW4Z8NK11c8fsJd2bRZ6WBC7b0P0sgHsGEULjadabL9zvQfKA4qL8jdUSrRJYVlZg==", - "dependencies": { - "FSharp.Core": "4.3.4", - "System.Runtime.Numerics": "4.3.0" - } - }, - "Fake.IO.FileSystem": { - "type": "Direct", - "requested": "[5.15.0, )", - "resolved": "5.15.0", - "contentHash": "YmK8izALHIuSeggQNWLlTjvI84Ga+MzNubtbLXh+v2KtHUBDXJPkZ5bXNorQAweWUlOsmsdhE930T0QgNX9a2w==", - "dependencies": { - "FSharp.Core": "4.3.4", - "Fake.Core.String": "5.15.0", - "System.Diagnostics.FileVersionInfo": "4.3.0", - "System.IO.FileSystem.Watcher": "4.3.0" - } - }, - "Fake.IO.Zip": { - "type": "Direct", - "requested": "[5.15.0, )", - "resolved": "5.15.0", - "contentHash": "PrgpzgjCMrNNWkg4lrI8H6rhYjMwEcPDOuE5K4pnKHiuAG0qlLkJC7FkVpRI9N/3iteBpZCY/I9Zs9SzF08TOA==", - "dependencies": { - "FSharp.Core": "4.3.4", - "Fake.Core.String": "5.15.0", - "Fake.IO.FileSystem": "5.15.0", - "System.IO.Compression": "4.3.0", - "System.IO.Compression.ZipFile": "4.3.0" - } - }, - "Fake.Tools.Git": { - "type": "Direct", - "requested": "[5.15.0, )", - "resolved": "5.15.0", - "contentHash": "QqfAUNFZBZaV79rIvIHlPzxPoEw4N6ueVXagM3fczIXReIVdew5J5y6P61Kbdt3mS4xiZAelUpjipX6/vSXpfQ==", - "dependencies": { - "FSharp.Core": "4.3.4", - "Fake.Core.Environment": "5.15.0", - "Fake.Core.Process": "5.15.0", - "Fake.Core.SemVer": "5.15.0", - "Fake.Core.String": "5.15.0", - "Fake.Core.Trace": "5.15.0", - "Fake.IO.FileSystem": "5.15.0" - } - }, - "FSharp.Core": { - "type": "Direct", - "requested": "[6.0.4, )", - "resolved": "6.0.4", - "contentHash": "CYqAfmO7JvN38M+ACkstS8taVfl8C0mCkvSiBAshfKuu2Nut6+8MuFU7Wahu09wGIyFPlRz5ArFWxSOM5mhMSA==" - }, - "Microsoft.NETFramework.ReferenceAssemblies": { - "type": "Direct", - "requested": "[1.0.3, )", - "resolved": "1.0.3", - "contentHash": "vUc9Npcs14QsyOD01tnv/m8sQUnGTGOw1BCmKcv77LBJY7OxhJ+zJF7UD/sCL3lYNFuqmQEVlkfS4Quif6FyYg==", - "dependencies": { - "Microsoft.NETFramework.ReferenceAssemblies.net461": "1.0.3" - } - }, - "Newtonsoft.Json": { - "type": "Direct", - "requested": "[13.0.1, )", - "resolved": "13.0.1", - "contentHash": "ppPFpBcvxdsfUonNcvITKqLl3bqxWbDCZIzDWHzjpdAHRFfZe0Dw9HmA0+za13IdyrgJwpkDTDA9fHaxOrt20A==" - }, - "Octokit": { - "type": "Direct", - "requested": "[0.32.0, )", - "resolved": "0.32.0", - "contentHash": "g6fG2fJbgmjb/OXyXquCKQpKPqEtoUajNGb+mdD9wb47px8SURnxADX6azujc4tKR0uUCNkrHLYvERwl02pbYw==", - "dependencies": { - "NETStandard.Library": "1.6.0" - } - }, - "Proc": { - "type": "Direct", - "requested": "[0.6.1, )", - "resolved": "0.6.1", - "contentHash": "xRSCfgQNoGy60MOuvD2X1euzqvWDoyfpB8NAfVs2E5K5U1I8cA9MvVY6NbUkp5ApbOmVXls2JEPrOn8rQi2Pzg==", - "dependencies": { - "System.Diagnostics.Process": "[4.3.0]", - "System.Threading.Thread": "[4.3.0]" - } - }, - "Elastic.Stack.ArtifactsApi": { - "type": "Transitive", - "resolved": "0.4.3", - "contentHash": "mqfBDj5s8Gj6QWNYmCNJo2raxbzn8fUBk+eSxA5HeDYjEXoK52kOBvFSy4bL9Qaz+EW6JvOvt8nw0cm5MorJUA==", - "dependencies": { - "SemanticVersioning": "0.8.0", - "System.Text.Json": "4.6.0" - } - }, - "Fake.Core.Context": { - "type": "Transitive", - "resolved": "5.15.0", - "contentHash": "v6ah8Z3FGGIiak9tq8Bl5Vd7fLOq5BMPKvs9eNU22CMN6jxgJLVpM+Mg/raDC67Pj1b9ePU4A5rkMtlsiLSdUg==", - "dependencies": { - "FSharp.Core": "4.3.4" - } - }, - "Fake.Core.FakeVar": { - "type": "Transitive", - "resolved": "5.15.0", - "contentHash": "Hkc788UxAtRSda+SqlbmSWWlNO5Pl35Asz7aVqNyxjP2pKsiS+gMIroJbVgQ3MIiDF0s8WsUk2VTeIyOUNXUmg==", - "dependencies": { - "FSharp.Core": "4.3.4", - "Fake.Core.Context": "5.15.0" - } - }, - "Fake.Core.Process": { - "type": "Transitive", - "resolved": "5.15.0", - "contentHash": "wWLlwXeRXhLyRUK2au74xRSj2W3wq4ELCqCNF0Dqhktwn5xajb2ed77WgHXMNJmZ3IYjti/LR4IINtZzLbA/Iw==", - "dependencies": { - "FSharp.Core": "4.3.4", - "Fake.Core.Environment": "5.15.0", - "Fake.Core.FakeVar": "5.15.0", - "Fake.Core.String": "5.15.0", - "Fake.Core.Trace": "5.15.0", - "Fake.IO.FileSystem": "5.15.0", - "System.Diagnostics.Process": "4.3.0" - } - }, - "Fake.Core.String": { - "type": "Transitive", - "resolved": "5.15.0", - "contentHash": "2QR3a/57jEuuomX208Zn2K06ZSg8AQ7x/3IpnEV50jbBbi5uj5RXJ+V5E+QaIKUKoB9J6zPi6moPOETaPWmXIw==", - "dependencies": { - "FSharp.Core": "4.3.4" - } - }, - "Fake.Core.Trace": { - "type": "Transitive", - "resolved": "5.15.0", - "contentHash": "cMgJh7xsLsM8bKOML5F7DnSYTYmTnLgCbzaNww8tG1LuGesxD97zOwmercn2weNLybLm80NDQDPEROfNwENTRA==", - "dependencies": { - "FSharp.Core": "4.3.4", - "Fake.Core.Environment": "5.15.0", - "Fake.Core.FakeVar": "5.15.0" - } - }, - "Microsoft.Build.Tasks.Git": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "AT3HlgTjsqHnWpBHSNeR0KxbLZD7bztlZVj7I8vgeYG9SYqbeFGh0TM/KVtC6fg53nrWHl3VfZFvb5BiQFcY6Q==" - }, - "Microsoft.NETCore.Platforms": { - "type": "Transitive", - "resolved": "1.1.0", - "contentHash": "kz0PEW2lhqygehI/d6XsPCQzD7ff7gUJaVGPVETX611eadGsA3A877GdSlU0LRVMCTH/+P3o2iDTak+S08V2+A==" - }, - "Microsoft.NETCore.Targets": { - "type": "Transitive", - "resolved": "1.1.0", - "contentHash": "aOZA3BWfz9RXjpzt0sRJJMjAscAUm3Hoa4UWAfceV9UTYxgwZ1lZt5nO2myFf+/jetYQo4uTP7zS8sJY67BBxg==" - }, - "Microsoft.NETFramework.ReferenceAssemblies.net461": { - "type": "Transitive", - "resolved": "1.0.3", - "contentHash": "AmOJZwCqnOCNp6PPcf9joyogScWLtwy0M1WkqfEQ0M9nYwyDD7EX9ZjscKS5iYnyvteX7kzSKFCKt9I9dXA6mA==" - }, - "Microsoft.SourceLink.AzureRepos.Git": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "qB5urvw9LO2bG3eVAkuL+2ughxz2rR7aYgm2iyrB8Rlk9cp2ndvGRCvehk3rNIhRuNtQaeKwctOl1KvWiklv5w==", - "dependencies": { - "Microsoft.Build.Tasks.Git": "1.1.1", - "Microsoft.SourceLink.Common": "1.1.1" - } - }, - "Microsoft.SourceLink.Bitbucket.Git": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "cDzxXwlyWpLWaH0em4Idj0H3AmVo3L/6xRXKssYemx+7W52iNskj/SQ4FOmfCb8YQt39otTDNMveCZzYtMoucQ==", - "dependencies": { - "Microsoft.Build.Tasks.Git": "1.1.1", - "Microsoft.SourceLink.Common": "1.1.1" - } - }, - "Microsoft.SourceLink.Common": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "WMcGpWKrmJmzrNeuaEb23bEMnbtR/vLmvZtkAP5qWu7vQsY59GqfRJd65sFpBszbd2k/bQ8cs8eWawQKAabkVg==" - }, - "Microsoft.SourceLink.GitHub": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "IaJGnOv/M7UQjRJks7B6p7pbPnOwisYGOIzqCz5ilGFTApZ3ktOR+6zJ12ZRPInulBmdAf1SrGdDG2MU8g6XTw==", - "dependencies": { - "Microsoft.Build.Tasks.Git": "1.1.1", - "Microsoft.SourceLink.Common": "1.1.1" - } - }, - "Microsoft.SourceLink.GitLab": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "tvsg47DDLqqedlPeYVE2lmiTpND8F0hkrealQ5hYltSmvruy/Gr5nHAKSsjyw5L3NeM/HLMI5ORv7on/M4qyZw==", - "dependencies": { - "Microsoft.Build.Tasks.Git": "1.1.1", - "Microsoft.SourceLink.Common": "1.1.1" - } - }, - "Microsoft.Win32.Primitives": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "9ZQKCWxH7Ijp9BfahvL2Zyf1cJIk8XYLF6Yjzr2yi0b2cOut/HQ31qf1ThHAgCc3WiZMdnWcfJCgN82/0UunxA==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } - }, - "Microsoft.Win32.Registry": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "Lw1/VwLH1yxz6SfFEjVRCN0pnflLEsWgnV4qsdJ512/HhTwnKXUG+zDQ4yTO3K/EJQemGoNaBHX5InISNKTzUQ==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "System.Collections": "4.3.0", - "System.Globalization": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.Handles": "4.3.0", - "System.Runtime.InteropServices": "4.3.0" - } - }, - "NETStandard.Library": { - "type": "Transitive", - "resolved": "1.6.0", - "contentHash": "ypsCvIdCZ4IoYASJHt6tF2fMo7N30NLgV1EbmC+snO490OMl9FvVxmumw14rhReWU3j3g7BYudG6YCrchwHJlA==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.0.1", - "Microsoft.Win32.Primitives": "4.0.1", - "System.AppContext": "4.1.0", - "System.Collections": "4.0.11", - "System.Collections.Concurrent": "4.0.12", - "System.Console": "4.0.0", - "System.Diagnostics.Debug": "4.0.11", - "System.Diagnostics.Tools": "4.0.1", - "System.Diagnostics.Tracing": "4.1.0", - "System.Globalization": "4.0.11", - "System.Globalization.Calendars": "4.0.1", - "System.IO": "4.1.0", - "System.IO.Compression": "4.1.0", - "System.IO.Compression.ZipFile": "4.0.1", - "System.IO.FileSystem": "4.0.1", - "System.IO.FileSystem.Primitives": "4.0.1", - "System.Linq": "4.1.0", - "System.Linq.Expressions": "4.1.0", - "System.Net.Http": "4.1.0", - "System.Net.Primitives": "4.0.11", - "System.Net.Sockets": "4.1.0", - "System.ObjectModel": "4.0.12", - "System.Reflection": "4.1.0", - "System.Reflection.Extensions": "4.0.1", - "System.Reflection.Primitives": "4.0.1", - "System.Resources.ResourceManager": "4.0.1", - "System.Runtime": "4.1.0", - "System.Runtime.Extensions": "4.1.0", - "System.Runtime.Handles": "4.0.1", - "System.Runtime.InteropServices": "4.1.0", - "System.Runtime.InteropServices.RuntimeInformation": "4.0.0", - "System.Runtime.Numerics": "4.0.1", - "System.Security.Cryptography.Algorithms": "4.2.0", - "System.Security.Cryptography.Encoding": "4.0.0", - "System.Security.Cryptography.Primitives": "4.0.0", - "System.Security.Cryptography.X509Certificates": "4.1.0", - "System.Text.Encoding": "4.0.11", - "System.Text.Encoding.Extensions": "4.0.11", - "System.Text.RegularExpressions": "4.1.0", - "System.Threading": "4.0.11", - "System.Threading.Tasks": "4.0.11", - "System.Threading.Timer": "4.0.1", - "System.Xml.ReaderWriter": "4.0.11", - "System.Xml.XDocument": "4.0.11" - } - }, - "runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "HdSSp5MnJSsg08KMfZThpuLPJpPwE5hBXvHwoKWosyHHfe8Mh5WKT0ylEOf6yNzX6Ngjxe4Whkafh5q7Ymac4Q==" - }, - "runtime.fedora.23-x64.runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "+yH1a49wJMy8Zt4yx5RhJrxO/DBDByAiCzNwiETI+1S4mPdCu0OY4djdciC7Vssk0l22wQaDLrXxXkp+3+7bVA==" - }, - "runtime.fedora.24-x64.runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "c3YNH1GQJbfIPJeCnr4avseugSqPrxwIqzthYyZDN6EuOyNOzq+y2KSUfRcXauya1sF4foESTgwM5e1A8arAKw==" - }, - "runtime.native.System": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "c/qWt2LieNZIj1jGnVNsE2Kl23Ya2aSTBuXMD6V7k9KWr6l16Tqdwq+hJScEpWER9753NWC8h96PaVNY5Ld7Jw==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0" - } - }, - "runtime.native.System.IO.Compression": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "INBPonS5QPEgn7naufQFXJEp3zX6L4bwHgJ/ZH78aBTpeNfQMtf7C6VrAFhlq2xxWBveIOWyFzQjJ8XzHMhdOQ==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0" - } - }, - "runtime.native.System.Net.Http": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "ZVuZJqnnegJhd2k/PtAbbIcZ3aZeITq3sj06oKfMBSfphW3HDmk/t4ObvbOk/JA/swGR0LNqMksAh/f7gpTROg==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0" - } - }, - "runtime.native.System.Security.Cryptography.Apple": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "DloMk88juo0OuOWr56QG7MNchmafTLYWvABy36izkrLI5VledI0rq28KGs1i9wbpeT9NPQrx/wTf8U2vazqQ3Q==", - "dependencies": { - "runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.Apple": "4.3.0" - } - }, - "runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "NS1U+700m4KFRHR5o4vo9DSlTmlCKu/u7dtE5sUHVIPB+xpXxYQvgBgA6wEIeCz6Yfn0Z52/72WYsToCEPJnrw==", - "dependencies": { - "runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0", - "runtime.fedora.23-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0", - "runtime.fedora.24-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0", - "runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0", - "runtime.opensuse.42.1-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0", - "runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0", - "runtime.rhel.7-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0", - "runtime.ubuntu.14.04-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0", - "runtime.ubuntu.16.04-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0", - "runtime.ubuntu.16.10-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0" - } - }, - "runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "b3pthNgxxFcD+Pc0WSEoC0+md3MyhRS6aCEeenvNE3Fdw1HyJ18ZhRFVJJzIeR/O/jpxPboB805Ho0T3Ul7w8A==" - }, - "runtime.opensuse.42.1-x64.runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "KeLz4HClKf+nFS7p/6Fi/CqyLXh81FpiGzcmuS8DGi9lUqSnZ6Es23/gv2O+1XVGfrbNmviF7CckBpavkBoIFQ==" - }, - "runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.Apple": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "kVXCuMTrTlxq4XOOMAysuNwsXWpYeboGddNGpIgNSZmv1b6r/s/DPk0fYMB7Q5Qo4bY68o48jt4T4y5BVecbCQ==" - }, - "runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "X7IdhILzr4ROXd8mI1BUCQMSHSQwelUlBjF1JyTKCjXaOGn2fB4EKBxQbCK2VjO3WaWIdlXZL3W6TiIVnrhX4g==" - }, - "runtime.rhel.7-x64.runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "nyFNiCk/r+VOiIqreLix8yN+q3Wga9+SE8BCgkf+2BwEKiNx6DyvFjCgkfV743/grxv8jHJ8gUK4XEQw7yzRYg==" - }, - "runtime.ubuntu.14.04-x64.runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "ytoewC6wGorL7KoCAvRfsgoJPJbNq+64k2SqW6JcOAebWsFUvCCYgfzQMrnpvPiEl4OrblUlhF2ji+Q1+SVLrQ==" - }, - "runtime.ubuntu.16.04-x64.runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "I8bKw2I8k58Wx7fMKQJn2R8lamboCAiHfHeV/pS65ScKWMMI0+wJkLYlEKvgW1D/XvSl/221clBoR2q9QNNM7A==" - }, - "runtime.ubuntu.16.10-x64.runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "VB5cn/7OzUfzdnC8tqAIMQciVLiq2epm2NrAm1E9OjNRyG4lVhfR61SMcLizejzQP8R8Uf/0l5qOIbUEi+RdEg==" - }, - "SemanticVersioning": { - "type": "Transitive", - "resolved": "0.8.0", - "contentHash": "hUCnQL79hU0W6X4jPeMAtGDwoEJeBEZfGBnkT+jPG45lD7KHn4h61HgYN8y1HAjPrXmC5oJcLx3l8ygPJOqvlA==", - "dependencies": { - "NETStandard.Library": "1.6.0" - } - }, - "System.AppContext": { - "type": "Transitive", - "resolved": "4.1.0", - "contentHash": "3QjO4jNV7PdKkmQAVp9atA+usVnKRwI3Kx1nMwJ93T0LcQfx7pKAYk0nKz5wn1oP5iqlhZuy6RXOFdhr7rDwow==", - "dependencies": { - "System.Runtime": "4.1.0" - } - }, - "System.Buffers": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "ratu44uTIHgeBeI0dE8DWvmXVBSo4u7ozRZZHOMmK/JPpYyo0dAfgSiHlpiObMQ5lEtEyIXA40sKRYg5J6A8uQ==", - "dependencies": { - "System.Diagnostics.Debug": "4.3.0", - "System.Diagnostics.Tracing": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Threading": "4.3.0" - } - }, - "System.Collections": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "3Dcj85/TBdVpL5Zr+gEEBUuFe2icOnLalmEh9hfck1PTYbbyWuZgh4fmm2ysCLTrqLQw6t3TgTyJ+VLp+Qb+Lw==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } - }, - "System.Collections.Concurrent": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "ztl69Xp0Y/UXCL+3v3tEU+lIy+bvjKNUmopn1wep/a291pVPK7dxBd6T7WnlQqRog+d1a/hSsgRsmFnIBKTPLQ==", - "dependencies": { - "System.Collections": "4.3.0", - "System.Diagnostics.Debug": "4.3.0", - "System.Diagnostics.Tracing": "4.3.0", - "System.Globalization": "4.3.0", - "System.Reflection": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Threading": "4.3.0", - "System.Threading.Tasks": "4.3.0" - } - }, - "System.Collections.Immutable": { - "type": "Transitive", - "resolved": "1.3.0", - "contentHash": "zukBRPUuNxwy9m4TGWLxKAnoiMc9+B+8VXeXVyPiBPvOd7yLgAlZ1DlsRWJjMx4VsvhhF2+6q6kO2GRbPja6hA==", - "dependencies": { - "System.Collections": "4.3.0", - "System.Diagnostics.Debug": "4.3.0", - "System.Globalization": "4.3.0", - "System.Linq": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Threading": "4.3.0" - } - }, - "System.Console": { - "type": "Transitive", - "resolved": "4.0.0", - "contentHash": "qSKUSOIiYA/a0g5XXdxFcUFmv1hNICBD7QZ0QhGYVipPIhvpiydY8VZqr1thmCXvmn8aipMg64zuanB4eotK9A==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.0.1", - "Microsoft.NETCore.Targets": "1.0.1", - "System.IO": "4.1.0", - "System.Runtime": "4.1.0", - "System.Text.Encoding": "4.0.11" - } - }, - "System.Diagnostics.Debug": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "ZUhUOdqmaG5Jk3Xdb8xi5kIyQYAA4PnTNlHx1mu9ZY3qv4ELIdKbnL/akbGaKi2RnNUWaZsAs31rvzFdewTj2g==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } - }, - "System.Diagnostics.DiagnosticSource": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "tD6kosZnTAGdrEa0tZSuFyunMbt/5KYDnHdndJYGqZoNy00XVXyACd5d6KnE1YgYv3ne2CjtAfNXo/fwEhnKUA==", - "dependencies": { - "System.Collections": "4.3.0", - "System.Diagnostics.Tracing": "4.3.0", - "System.Reflection": "4.3.0", - "System.Runtime": "4.3.0", - "System.Threading": "4.3.0" - } - }, - "System.Diagnostics.FileVersionInfo": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "omCF64wzQ3Q2CeIqkD6lmmxeMZtGHUmzgFMPjfVaOsyqpR66p/JaZzManMw1s33osoAb5gqpncsjie67+yUPHQ==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "System.Globalization": "4.3.0", - "System.IO": "4.3.0", - "System.IO.FileSystem": "4.3.0", - "System.IO.FileSystem.Primitives": "4.3.0", - "System.Reflection.Metadata": "1.4.1", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.InteropServices": "4.3.0" - } - }, - "System.Diagnostics.Process": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "J0wOX07+QASQblsfxmIMFc9Iq7KTXYL3zs2G/Xc704Ylv3NpuVdo6gij6V3PGiptTxqsK0K7CdXenRvKUnkA2g==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.Win32.Primitives": "4.3.0", - "Microsoft.Win32.Registry": "4.3.0", - "System.Collections": "4.3.0", - "System.Diagnostics.Debug": "4.3.0", - "System.Globalization": "4.3.0", - "System.IO": "4.3.0", - "System.IO.FileSystem": "4.3.0", - "System.IO.FileSystem.Primitives": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.Handles": "4.3.0", - "System.Runtime.InteropServices": "4.3.0", - "System.Text.Encoding": "4.3.0", - "System.Text.Encoding.Extensions": "4.3.0", - "System.Threading": "4.3.0", - "System.Threading.Tasks": "4.3.0", - "System.Threading.Thread": "4.3.0", - "System.Threading.ThreadPool": "4.3.0", - "runtime.native.System": "4.3.0" - } - }, - "System.Diagnostics.Tools": { - "type": "Transitive", - "resolved": "4.0.1", - "contentHash": "xBfJ8pnd4C17dWaC9FM6aShzbJcRNMChUMD42I6772KGGrqaFdumwhn9OdM68erj1ueNo3xdQ1EwiFjK5k8p0g==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.0.1", - "Microsoft.NETCore.Targets": "1.0.1", - "System.Runtime": "4.1.0" - } - }, - "System.Diagnostics.Tracing": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "rswfv0f/Cqkh78rA5S8eN8Neocz234+emGCtTF3lxPY96F+mmmUen6tbn0glN6PMvlKQb9bPAY5e9u7fgPTkKw==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } - }, - "System.Globalization": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "kYdVd2f2PAdFGblzFswE4hkNANJBKRmsfa2X5LG2AcWE1c7/4t0pYae1L8vfZ5xvE2nK/R9JprtToA61OSHWIg==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } - }, - "System.Globalization.Calendars": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "GUlBtdOWT4LTV3I+9/PJW+56AnnChTaOqqTLFtdmype/L500M2LIyXgmtd9X2P2VOkmJd5c67H5SaC2QcL1bFA==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Globalization": "4.3.0", - "System.Runtime": "4.3.0" - } - }, - "System.Globalization.Extensions": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "FhKmdR6MPG+pxow6wGtNAWdZh7noIOpdD5TwQ3CprzgIE1bBBoim0vbR1+AWsWjQmU7zXHgQo4TWSP6lCeiWcQ==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "System.Globalization": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.InteropServices": "4.3.0" - } - }, - "System.IO": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "3qjaHvxQPDpSOYICjUoTsmoq5u6QJAFRUITgeT/4gqkF1bajbSmb1kwSxEA8AHlofqgcKJcM8udgieRNhaJ5Cg==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0", - "System.Text.Encoding": "4.3.0", - "System.Threading.Tasks": "4.3.0" - } - }, - "System.IO.Compression": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "YHndyoiV90iu4iKG115ibkhrG+S3jBm8Ap9OwoUAzO5oPDAWcr0SFwQFm0HjM8WkEZWo0zvLTyLmbvTkW1bXgg==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "System.Buffers": "4.3.0", - "System.Collections": "4.3.0", - "System.Diagnostics.Debug": "4.3.0", - "System.IO": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.Handles": "4.3.0", - "System.Runtime.InteropServices": "4.3.0", - "System.Text.Encoding": "4.3.0", - "System.Threading": "4.3.0", - "System.Threading.Tasks": "4.3.0", - "runtime.native.System": "4.3.0", - "runtime.native.System.IO.Compression": "4.3.0" - } - }, - "System.IO.Compression.ZipFile": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "G4HwjEsgIwy3JFBduZ9quBkAu+eUwjIdJleuNSgmUojbH6O3mlvEIme+GHx/cLlTAPcrnnL7GqvB9pTlWRfhOg==", - "dependencies": { - "System.Buffers": "4.3.0", - "System.IO": "4.3.0", - "System.IO.Compression": "4.3.0", - "System.IO.FileSystem": "4.3.0", - "System.IO.FileSystem.Primitives": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Text.Encoding": "4.3.0" - } - }, - "System.IO.FileSystem": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "3wEMARTnuio+ulnvi+hkRNROYwa1kylvYahhcLk4HSoVdl+xxTFVeVlYOfLwrDPImGls0mDqbMhrza8qnWPTdA==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.IO": "4.3.0", - "System.IO.FileSystem.Primitives": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Handles": "4.3.0", - "System.Text.Encoding": "4.3.0", - "System.Threading.Tasks": "4.3.0" - } - }, - "System.IO.FileSystem.Primitives": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "6QOb2XFLch7bEc4lIcJH49nJN2HV+OC3fHDgsLVsBVBk3Y4hFAnOBGzJ2lUu7CyDDFo9IBWkSsnbkT6IBwwiMw==", - "dependencies": { - "System.Runtime": "4.3.0" - } - }, - "System.IO.FileSystem.Watcher": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "37IDFU2w6LJ4FrohcVlV1EXviUmAOJIbejVgOUtNaPQyeZW2D/0QSkH8ykehoOd19bWfxp3RRd0xj+yRRIqLhw==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.Win32.Primitives": "4.3.0", - "System.Collections": "4.3.0", - "System.IO.FileSystem": "4.3.0", - "System.IO.FileSystem.Primitives": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.Handles": "4.3.0", - "System.Runtime.InteropServices": "4.3.0", - "System.Text.Encoding": "4.3.0", - "System.Threading": "4.3.0", - "System.Threading.Overlapped": "4.3.0", - "System.Threading.Tasks": "4.3.0", - "System.Threading.Thread": "4.3.0", - "runtime.native.System": "4.3.0" - } - }, - "System.Linq": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "5DbqIUpsDp0dFftytzuMmc0oeMdQwjcP/EWxsksIz/w1TcFRkZ3yKKz0PqiYFMmEwPSWw+qNVqD7PJ889JzHbw==", - "dependencies": { - "System.Collections": "4.3.0", - "System.Diagnostics.Debug": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0" - } - }, - "System.Linq.Expressions": { - "type": "Transitive", - "resolved": "4.1.0", - "contentHash": "I+y02iqkgmCAyfbqOmSDOgqdZQ5tTj80Akm5BPSS8EeB0VGWdy6X1KCoYe8Pk6pwDoAKZUOdLVxnTJcExiv5zw==", - "dependencies": { - "System.Collections": "4.0.11", - "System.Diagnostics.Debug": "4.0.11", - "System.Globalization": "4.0.11", - "System.IO": "4.1.0", - "System.Linq": "4.1.0", - "System.ObjectModel": "4.0.12", - "System.Reflection": "4.1.0", - "System.Reflection.Emit": "4.0.1", - "System.Reflection.Emit.ILGeneration": "4.0.1", - "System.Reflection.Emit.Lightweight": "4.0.1", - "System.Reflection.Extensions": "4.0.1", - "System.Reflection.Primitives": "4.0.1", - "System.Reflection.TypeExtensions": "4.1.0", - "System.Resources.ResourceManager": "4.0.1", - "System.Runtime": "4.1.0", - "System.Runtime.Extensions": "4.1.0", - "System.Threading": "4.0.11" - } - }, - "System.Net.Http": { - "type": "Transitive", - "resolved": "4.3.1", - "contentHash": "UrTyRczM3ZvNk6oetBuwlu67MFKKRva+r7bw4JDVZ6Y2IukyZ24td5ppsieu/4yZlogVAIuZul9GIQ3hoiz0yA==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "System.Collections": "4.3.0", - "System.Diagnostics.Debug": "4.3.0", - "System.Diagnostics.DiagnosticSource": "4.3.0", - "System.Diagnostics.Tracing": "4.3.0", - "System.Globalization": "4.3.0", - "System.Globalization.Extensions": "4.3.0", - "System.IO": "4.3.0", - "System.IO.FileSystem": "4.3.0", - "System.Net.Primitives": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.Handles": "4.3.0", - "System.Runtime.InteropServices": "4.3.0", - "System.Security.Cryptography.Algorithms": "4.3.0", - "System.Security.Cryptography.Encoding": "4.3.0", - "System.Security.Cryptography.OpenSsl": "4.3.0", - "System.Security.Cryptography.Primitives": "4.3.0", - "System.Security.Cryptography.X509Certificates": "4.3.0", - "System.Text.Encoding": "4.3.0", - "System.Threading": "4.3.0", - "System.Threading.Tasks": "4.3.0", - "runtime.native.System": "4.3.0", - "runtime.native.System.Net.Http": "4.3.0", - "runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0" - } - }, - "System.Net.Primitives": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "qOu+hDwFwoZPbzPvwut2qATe3ygjeQBDQj91xlsaqGFQUI5i4ZnZb8yyQuLGpDGivEPIt8EJkd1BVzVoP31FXA==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0", - "System.Runtime.Handles": "4.3.0" - } - }, - "System.Net.Sockets": { - "type": "Transitive", - "resolved": "4.1.0", - "contentHash": "xAz0N3dAV/aR/9g8r0Y5oEqU1JRsz29F5EGb/WVHmX3jVSLqi2/92M5hTad2aNWovruXrJpJtgZ9fccPMG9uSw==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.0.1", - "Microsoft.NETCore.Targets": "1.0.1", - "System.IO": "4.1.0", - "System.Net.Primitives": "4.0.11", - "System.Runtime": "4.1.0", - "System.Threading.Tasks": "4.0.11" - } - }, - "System.ObjectModel": { - "type": "Transitive", - "resolved": "4.0.12", - "contentHash": "tAgJM1xt3ytyMoW4qn4wIqgJYm7L7TShRZG4+Q4Qsi2PCcj96pXN7nRywS9KkB3p/xDUjc2HSwP9SROyPYDYKQ==", - "dependencies": { - "System.Collections": "4.0.11", - "System.Diagnostics.Debug": "4.0.11", - "System.Resources.ResourceManager": "4.0.1", - "System.Runtime": "4.1.0", - "System.Threading": "4.0.11" - } - }, - "System.Reflection": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "KMiAFoW7MfJGa9nDFNcfu+FpEdiHpWgTcS2HdMpDvt9saK3y/G4GwprPyzqjFH9NTaGPQeWNHU+iDlDILj96aQ==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.IO": "4.3.0", - "System.Reflection.Primitives": "4.3.0", - "System.Runtime": "4.3.0" - } - }, - "System.Reflection.Emit": { - "type": "Transitive", - "resolved": "4.0.1", - "contentHash": "P2wqAj72fFjpP6wb9nSfDqNBMab+2ovzSDzUZK7MVIm54tBJEPr9jWfSjjoTpPwj1LeKcmX3vr0ttyjSSFM47g==", - "dependencies": { - "System.IO": "4.1.0", - "System.Reflection": "4.1.0", - "System.Reflection.Emit.ILGeneration": "4.0.1", - "System.Reflection.Primitives": "4.0.1", - "System.Runtime": "4.1.0" - } - }, - "System.Reflection.Emit.ILGeneration": { - "type": "Transitive", - "resolved": "4.0.1", - "contentHash": "Ov6dU8Bu15Bc7zuqttgHF12J5lwSWyTf1S+FJouUXVMSqImLZzYaQ+vRr1rQ0OZ0HqsrwWl4dsKHELckQkVpgA==", - "dependencies": { - "System.Reflection": "4.1.0", - "System.Reflection.Primitives": "4.0.1", - "System.Runtime": "4.1.0" - } - }, - "System.Reflection.Emit.Lightweight": { - "type": "Transitive", - "resolved": "4.0.1", - "contentHash": "sSzHHXueZ5Uh0OLpUQprhr+ZYJrLPA2Cmr4gn0wj9+FftNKXx8RIMKvO9qnjk2ebPYUjZ+F2ulGdPOsvj+MEjA==", - "dependencies": { - "System.Reflection": "4.1.0", - "System.Reflection.Emit.ILGeneration": "4.0.1", - "System.Reflection.Primitives": "4.0.1", - "System.Runtime": "4.1.0" - } - }, - "System.Reflection.Extensions": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "rJkrJD3kBI5B712aRu4DpSIiHRtr6QlfZSQsb0hYHrDCZORXCFjQfoipo2LaMUHoT9i1B7j7MnfaEKWDFmFQNQ==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Reflection": "4.3.0", - "System.Runtime": "4.3.0" - } - }, - "System.Reflection.Metadata": { - "type": "Transitive", - "resolved": "1.4.1", - "contentHash": "tc2ZyJgweHCLci5oQGuhQn9TD0Ii9DReXkHtZm3aAGp8xe40rpRjiTbMXOtZU+fr0BOQ46goE9+qIqRGjR9wGg==", - "dependencies": { - "System.Collections": "4.3.0", - "System.Collections.Immutable": "1.3.0", - "System.Diagnostics.Debug": "4.3.0", - "System.IO": "4.3.0", - "System.IO.Compression": "4.3.0", - "System.Linq": "4.3.0", - "System.Reflection": "4.3.0", - "System.Reflection.Extensions": "4.3.0", - "System.Reflection.Primitives": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.InteropServices": "4.3.0", - "System.Text.Encoding": "4.3.0", - "System.Text.Encoding.Extensions": "4.3.0", - "System.Threading": "4.3.0" - } - }, - "System.Reflection.Primitives": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "5RXItQz5As4xN2/YUDxdpsEkMhvw3e6aNveFXUn4Hl/udNTCNhnKp8lT9fnc3MhvGKh1baak5CovpuQUXHAlIA==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } - }, - "System.Reflection.TypeExtensions": { - "type": "Transitive", - "resolved": "4.1.0", - "contentHash": "tsQ/ptQ3H5FYfON8lL4MxRk/8kFyE0A+tGPXmVP967cT/gzLHYxIejIYSxp4JmIeFHVP78g/F2FE1mUUTbDtrg==", - "dependencies": { - "System.Reflection": "4.1.0", - "System.Runtime": "4.1.0" - } - }, - "System.Resources.ResourceManager": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "/zrcPkkWdZmI4F92gL/TPumP98AVDu/Wxr3CSJGQQ+XN6wbRZcyfSKVoPo17ilb3iOr0cCRqJInGwNMolqhS8A==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Globalization": "4.3.0", - "System.Reflection": "4.3.0", - "System.Runtime": "4.3.0" - } - }, - "System.Runtime": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "JufQi0vPQ0xGnAczR13AUFglDyVYt4Kqnz1AZaiKZ5+GICq0/1MH/mO/eAJHt/mHW1zjKBJd7kV26SrxddAhiw==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0" - } - }, - "System.Runtime.Extensions": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "guW0uK0fn5fcJJ1tJVXYd7/1h5F+pea1r7FLSOz/f8vPEqbR2ZAknuRDvTQ8PzAilDveOxNjSfr0CHfIQfFk8g==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } - }, - "System.Runtime.Handles": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "OKiSUN7DmTWeYb3l51A7EYaeNMnvxwE249YtZz7yooT4gOZhmTjIn48KgSsw2k2lYdLgTKNJw/ZIfSElwDRVgg==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } - }, - "System.Runtime.InteropServices": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "uv1ynXqiMK8mp1GM3jDqPCFN66eJ5w5XNomaK2XD+TuCroNTLFGeZ+WCmBMcBDyTFKou3P6cR6J/QsaqDp7fGQ==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Reflection": "4.3.0", - "System.Reflection.Primitives": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Handles": "4.3.0" - } - }, - "System.Runtime.InteropServices.RuntimeInformation": { - "type": "Transitive", - "resolved": "4.0.0", - "contentHash": "hWPhJxc453RCa8Z29O91EmfGeZIHX1ZH2A8L6lYQVSaKzku2DfArSfMEb1/MYYzPQRJZeu0c9dmYeJKxW5Fgng==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.0.1", - "System.Reflection": "4.1.0", - "System.Resources.ResourceManager": "4.0.1", - "System.Runtime": "4.1.0", - "System.Runtime.InteropServices": "4.1.0", - "System.Threading": "4.0.11", - "runtime.native.System": "4.0.0" - } - }, - "System.Runtime.Numerics": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "yMH+MfdzHjy17l2KESnPiF2dwq7T+xLnSJar7slyimAkUh/gTrS9/UQOtv7xarskJ2/XDSNvfLGOBQPjL7PaHQ==", - "dependencies": { - "System.Globalization": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0" - } - }, - "System.Security.Cryptography.Algorithms": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "W1kd2Y8mYSCgc3ULTAZ0hOP2dSdG5YauTb1089T0/kRcN2MpSAW1izOFROrJgxSlMn3ArsgHXagigyi+ibhevg==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "System.Collections": "4.3.0", - "System.IO": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.Handles": "4.3.0", - "System.Runtime.InteropServices": "4.3.0", - "System.Runtime.Numerics": "4.3.0", - "System.Security.Cryptography.Encoding": "4.3.0", - "System.Security.Cryptography.Primitives": "4.3.0", - "System.Text.Encoding": "4.3.0", - "runtime.native.System.Security.Cryptography.Apple": "4.3.0", - "runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0" - } - }, - "System.Security.Cryptography.Cng": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "03idZOqFlsKRL4W+LuCpJ6dBYDUWReug6lZjBa3uJWnk5sPCUXckocevTaUA8iT/MFSrY/2HXkOt753xQ/cf8g==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "System.IO": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.Handles": "4.3.0", - "System.Runtime.InteropServices": "4.3.0", - "System.Security.Cryptography.Algorithms": "4.3.0", - "System.Security.Cryptography.Encoding": "4.3.0", - "System.Security.Cryptography.Primitives": "4.3.0", - "System.Text.Encoding": "4.3.0" - } - }, - "System.Security.Cryptography.Csp": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "X4s/FCkEUnRGnwR3aSfVIkldBmtURMhmexALNTwpjklzxWU7yjMk7GHLKOZTNkgnWnE0q7+BCf9N2LVRWxewaA==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "System.IO": "4.3.0", - "System.Reflection": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.Handles": "4.3.0", - "System.Runtime.InteropServices": "4.3.0", - "System.Security.Cryptography.Algorithms": "4.3.0", - "System.Security.Cryptography.Encoding": "4.3.0", - "System.Security.Cryptography.Primitives": "4.3.0", - "System.Text.Encoding": "4.3.0", - "System.Threading": "4.3.0" - } - }, - "System.Security.Cryptography.Encoding": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "1DEWjZZly9ae9C79vFwqaO5kaOlI5q+3/55ohmq/7dpDyDfc8lYe7YVxJUZ5MF/NtbkRjwFRo14yM4OEo9EmDw==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "System.Collections": "4.3.0", - "System.Collections.Concurrent": "4.3.0", - "System.Linq": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.Handles": "4.3.0", - "System.Runtime.InteropServices": "4.3.0", - "System.Security.Cryptography.Primitives": "4.3.0", - "System.Text.Encoding": "4.3.0", - "runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0" - } - }, - "System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "h4CEgOgv5PKVF/HwaHzJRiVboL2THYCou97zpmhjghx5frc7fIvlkY1jL+lnIQyChrJDMNEXS6r7byGif8Cy4w==", - "dependencies": { - "System.Collections": "4.3.0", - "System.IO": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.Handles": "4.3.0", - "System.Runtime.InteropServices": "4.3.0", - "System.Runtime.Numerics": "4.3.0", - "System.Security.Cryptography.Algorithms": "4.3.0", - "System.Security.Cryptography.Encoding": "4.3.0", - "System.Security.Cryptography.Primitives": "4.3.0", - "System.Text.Encoding": "4.3.0", - "runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0" - } - }, - "System.Security.Cryptography.Primitives": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "7bDIyVFNL/xKeFHjhobUAQqSpJq9YTOpbEs6mR233Et01STBMXNAc/V+BM6dwYGc95gVh/Zf+iVXWzj3mE8DWg==", - "dependencies": { - "System.Diagnostics.Debug": "4.3.0", - "System.Globalization": "4.3.0", - "System.IO": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Threading": "4.3.0", - "System.Threading.Tasks": "4.3.0" - } - }, - "System.Security.Cryptography.X509Certificates": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "t2Tmu6Y2NtJ2um0RtcuhP7ZdNNxXEgUm2JeoA/0NvlMjAhKCnM1NX07TDl3244mVp3QU6LPEhT3HTtH1uF7IYw==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "System.Collections": "4.3.0", - "System.Diagnostics.Debug": "4.3.0", - "System.Globalization": "4.3.0", - "System.Globalization.Calendars": "4.3.0", - "System.IO": "4.3.0", - "System.IO.FileSystem": "4.3.0", - "System.IO.FileSystem.Primitives": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.Handles": "4.3.0", - "System.Runtime.InteropServices": "4.3.0", - "System.Runtime.Numerics": "4.3.0", - "System.Security.Cryptography.Algorithms": "4.3.0", - "System.Security.Cryptography.Cng": "4.3.0", - "System.Security.Cryptography.Csp": "4.3.0", - "System.Security.Cryptography.Encoding": "4.3.0", - "System.Security.Cryptography.OpenSsl": "4.3.0", - "System.Security.Cryptography.Primitives": "4.3.0", - "System.Text.Encoding": "4.3.0", - "System.Threading": "4.3.0", - "runtime.native.System": "4.3.0", - "runtime.native.System.Net.Http": "4.3.0", - "runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0" - } - }, - "System.Text.Encoding": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "BiIg+KWaSDOITze6jGQynxg64naAPtqGHBwDrLaCtixsa5bKiR8dpPOHA7ge3C0JJQizJE+sfkz1wV+BAKAYZw==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } - }, - "System.Text.Encoding.Extensions": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "YVMK0Bt/A43RmwizJoZ22ei2nmrhobgeiYwFzC4YAN+nue8RF6djXDMog0UCn+brerQoYVyaS+ghy9P/MUVcmw==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0", - "System.Text.Encoding": "4.3.0" - } - }, - "System.Text.Json": { - "type": "Transitive", - "resolved": "4.6.0", - "contentHash": "4F8Xe+JIkVoDJ8hDAZ7HqLkjctN/6WItJIzQaifBwClC7wmoLSda/Sv2i6i1kycqDb3hWF4JCVbpAweyOKHEUA==" - }, - "System.Text.RegularExpressions": { - "type": "Transitive", - "resolved": "4.1.0", - "contentHash": "i88YCXpRTjCnoSQZtdlHkAOx4KNNik4hMy83n0+Ftlb7jvV6ZiZWMpnEZHhjBp6hQVh8gWd/iKNPzlPF7iyA2g==", - "dependencies": { - "System.Collections": "4.0.11", - "System.Globalization": "4.0.11", - "System.Resources.ResourceManager": "4.0.1", - "System.Runtime": "4.1.0", - "System.Runtime.Extensions": "4.1.0", - "System.Threading": "4.0.11" - } - }, - "System.Threading": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "VkUS0kOBcUf3Wwm0TSbrevDDZ6BlM+b/HRiapRFWjM5O0NS0LviG0glKmFK+hhPDd1XFeSdU1GmlLhb2CoVpIw==", - "dependencies": { - "System.Runtime": "4.3.0", - "System.Threading.Tasks": "4.3.0" - } - }, - "System.Threading.Overlapped": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "m3HQ2dPiX/DSTpf+yJt8B0c+SRvzfqAJKx+QDWi+VLhz8svLT23MVjEOHPF/KiSLeArKU/iHescrbLd3yVgyNg==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Handles": "4.3.0" - } - }, - "System.Threading.Tasks": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "LbSxKEdOUhVe8BezB/9uOGGppt+nZf6e1VFyw6v3DN6lqitm0OSn2uXMOdtP0M3W4iMcqcivm2J6UgqiwwnXiA==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } - }, - "System.Threading.Tasks.Extensions": { - "type": "Transitive", - "resolved": "4.0.0", - "contentHash": "pH4FZDsZQ/WmgJtN4LWYmRdJAEeVkyriSwrv2Teoe5FOU0Yxlb6II6GL8dBPOfRmutHGATduj3ooMt7dJ2+i+w==", - "dependencies": { - "System.Collections": "4.0.11", - "System.Runtime": "4.1.0", - "System.Threading.Tasks": "4.0.11" - } - }, - "System.Threading.Thread": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "OHmbT+Zz065NKII/ZHcH9XO1dEuLGI1L2k7uYss+9C1jLxTC9kTZZuzUOyXHayRk+dft9CiDf3I/QZ0t8JKyBQ==", - "dependencies": { - "System.Runtime": "4.3.0" - } - }, - "System.Threading.ThreadPool": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "k/+g4b7vjdd4aix83sTgC9VG6oXYKAktSfNIJUNGxPEj7ryEOfzHHhfnmsZvjxawwcD9HyWXKCXmPjX8U4zeSw==", - "dependencies": { - "System.Runtime": "4.3.0", - "System.Runtime.Handles": "4.3.0" - } - }, - "System.Threading.Timer": { - "type": "Transitive", - "resolved": "4.0.1", - "contentHash": "saGfUV8uqVW6LeURiqxcGhZ24PzuRNaUBtbhVeuUAvky1naH395A/1nY0P2bWvrw/BreRtIB/EzTDkGBpqCwEw==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.0.1", - "Microsoft.NETCore.Targets": "1.0.1", - "System.Runtime": "4.1.0" - } - }, - "System.Xml.ReaderWriter": { - "type": "Transitive", - "resolved": "4.0.11", - "contentHash": "ZIiLPsf67YZ9zgr31vzrFaYQqxRPX9cVHjtPSnmx4eN6lbS/yEyYNr2vs1doGDEscF0tjCZFsk9yUg1sC9e8tg==", - "dependencies": { - "System.Collections": "4.0.11", - "System.Diagnostics.Debug": "4.0.11", - "System.Globalization": "4.0.11", - "System.IO": "4.1.0", - "System.IO.FileSystem": "4.0.1", - "System.IO.FileSystem.Primitives": "4.0.1", - "System.Resources.ResourceManager": "4.0.1", - "System.Runtime": "4.1.0", - "System.Runtime.Extensions": "4.1.0", - "System.Runtime.InteropServices": "4.1.0", - "System.Text.Encoding": "4.0.11", - "System.Text.Encoding.Extensions": "4.0.11", - "System.Text.RegularExpressions": "4.1.0", - "System.Threading.Tasks": "4.0.11", - "System.Threading.Tasks.Extensions": "4.0.0" - } - }, - "System.Xml.XDocument": { - "type": "Transitive", - "resolved": "4.0.11", - "contentHash": "Mk2mKmPi0nWaoiYeotq1dgeNK1fqWh61+EK+w4Wu8SWuTYLzpUnschb59bJtGywaPq7SmTuPf44wrXRwbIrukg==", - "dependencies": { - "System.Collections": "4.0.11", - "System.Diagnostics.Debug": "4.0.11", - "System.Diagnostics.Tools": "4.0.1", - "System.Globalization": "4.0.11", - "System.IO": "4.1.0", - "System.Reflection": "4.1.0", - "System.Resources.ResourceManager": "4.0.1", - "System.Runtime": "4.1.0", - "System.Runtime.Extensions": "4.1.0", - "System.Text.Encoding": "4.0.11", - "System.Threading": "4.0.11", - "System.Xml.ReaderWriter": "4.0.11" - } - } - } - } -} \ No newline at end of file diff --git a/build/scripts/scripts.fsproj b/build/scripts/scripts.fsproj index 652a5fe7bf9..29ab285f8f5 100644 --- a/build/scripts/scripts.fsproj +++ b/build/scripts/scripts.fsproj @@ -35,7 +35,6 @@ make-release-notes.yml - diff --git a/global.json b/global.json index dd00ed4b0a7..c1ae6f120d3 100644 --- a/global.json +++ b/global.json @@ -1,7 +1,7 @@ { "sdk": { - "version": "8.0.100", - "rollForward": "minor", + "version": "8.0.400", + "rollForward": "latestFeature", "allowPrerelease": false }, "version": "8.8.0-alpha.1", diff --git a/src/Elastic.Clients.Elasticsearch.JsonNetSerializer/packages.lock.json b/src/Elastic.Clients.Elasticsearch.JsonNetSerializer/packages.lock.json deleted file mode 100644 index 2a58420a4d3..00000000000 --- a/src/Elastic.Clients.Elasticsearch.JsonNetSerializer/packages.lock.json +++ /dev/null @@ -1,796 +0,0 @@ -{ - "version": 1, - "dependencies": { - ".NETFramework,Version=v4.6.2": { - "ConfigureAwaitChecker.Analyzer": { - "type": "Direct", - "requested": "[5.0.0.1, )", - "resolved": "5.0.0.1", - "contentHash": "jqOPPOJzHiUajPVGNw0MJzqUYLM3nHYEXEo1X91VqbwBqvq0+u8ASgcdmlmr4E9ffWJkjIo8vPEH9EMrKh69EQ==" - }, - "DotNet.ReproducibleBuilds": { - "type": "Direct", - "requested": "[1.1.1, )", - "resolved": "1.1.1", - "contentHash": "+H2t/t34h6mhEoUvHi8yGXyuZ2GjSovcGYehJrS2MDm2XgmPfZL2Sdxg+uL2lKgZ4M6tTwKHIlxOob2bgh0NRQ==", - "dependencies": { - "Microsoft.SourceLink.AzureRepos.Git": "1.1.1", - "Microsoft.SourceLink.Bitbucket.Git": "1.1.1", - "Microsoft.SourceLink.GitHub": "1.1.1", - "Microsoft.SourceLink.GitLab": "1.1.1" - } - }, - "Microsoft.NETFramework.ReferenceAssemblies": { - "type": "Direct", - "requested": "[1.0.3, )", - "resolved": "1.0.3", - "contentHash": "vUc9Npcs14QsyOD01tnv/m8sQUnGTGOw1BCmKcv77LBJY7OxhJ+zJF7UD/sCL3lYNFuqmQEVlkfS4Quif6FyYg==", - "dependencies": { - "Microsoft.NETFramework.ReferenceAssemblies.net462": "1.0.3" - } - }, - "Newtonsoft.Json": { - "type": "Direct", - "requested": "[13.0.1, )", - "resolved": "13.0.1", - "contentHash": "ppPFpBcvxdsfUonNcvITKqLl3bqxWbDCZIzDWHzjpdAHRFfZe0Dw9HmA0+za13IdyrgJwpkDTDA9fHaxOrt20A==" - }, - "Elastic.Transport": { - "type": "Transitive", - "resolved": "0.4.22", - "contentHash": "9J5GPHJcT8sewn2zVfWTrsCQvfQYgUiY/jx+IRjWUk7XNPd837qfEL42I5baH69cyW/e4RoDy8v76yxqz95tDw==", - "dependencies": { - "Microsoft.CSharp": "4.7.0", - "System.Buffers": "4.5.1", - "System.Diagnostics.DiagnosticSource": "8.0.0", - "System.Text.Json": "8.0.4", - "System.Threading.Tasks.Extensions": "4.5.4" - } - }, - "Microsoft.Bcl.AsyncInterfaces": { - "type": "Transitive", - "resolved": "8.0.0", - "contentHash": "3WA9q9yVqJp222P3x1wYIGDAkpjAku0TMUaaQV22g6L67AI0LdOIrVS7Ht2vJfLHGSPVuqN94vIr15qn+HEkHw==", - "dependencies": { - "System.Threading.Tasks.Extensions": "4.5.4" - } - }, - "Microsoft.Build.Tasks.Git": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "AT3HlgTjsqHnWpBHSNeR0KxbLZD7bztlZVj7I8vgeYG9SYqbeFGh0TM/KVtC6fg53nrWHl3VfZFvb5BiQFcY6Q==" - }, - "Microsoft.CSharp": { - "type": "Transitive", - "resolved": "4.7.0", - "contentHash": "pTj+D3uJWyN3My70i2Hqo+OXixq3Os2D1nJ2x92FFo6sk8fYS1m1WLNTs0Dc1uPaViH0YvEEwvzddQ7y4rhXmA==" - }, - "Microsoft.NETFramework.ReferenceAssemblies.net462": { - "type": "Transitive", - "resolved": "1.0.3", - "contentHash": "IzAV30z22ESCeQfxP29oVf4qEo8fBGXLXSU6oacv/9Iqe6PzgHDKCaWfwMBak7bSJQM0F5boXWoZS+kChztRIQ==" - }, - "Microsoft.SourceLink.AzureRepos.Git": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "qB5urvw9LO2bG3eVAkuL+2ughxz2rR7aYgm2iyrB8Rlk9cp2ndvGRCvehk3rNIhRuNtQaeKwctOl1KvWiklv5w==", - "dependencies": { - "Microsoft.Build.Tasks.Git": "1.1.1", - "Microsoft.SourceLink.Common": "1.1.1" - } - }, - "Microsoft.SourceLink.Bitbucket.Git": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "cDzxXwlyWpLWaH0em4Idj0H3AmVo3L/6xRXKssYemx+7W52iNskj/SQ4FOmfCb8YQt39otTDNMveCZzYtMoucQ==", - "dependencies": { - "Microsoft.Build.Tasks.Git": "1.1.1", - "Microsoft.SourceLink.Common": "1.1.1" - } - }, - "Microsoft.SourceLink.Common": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "WMcGpWKrmJmzrNeuaEb23bEMnbtR/vLmvZtkAP5qWu7vQsY59GqfRJd65sFpBszbd2k/bQ8cs8eWawQKAabkVg==" - }, - "Microsoft.SourceLink.GitHub": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "IaJGnOv/M7UQjRJks7B6p7pbPnOwisYGOIzqCz5ilGFTApZ3ktOR+6zJ12ZRPInulBmdAf1SrGdDG2MU8g6XTw==", - "dependencies": { - "Microsoft.Build.Tasks.Git": "1.1.1", - "Microsoft.SourceLink.Common": "1.1.1" - } - }, - "Microsoft.SourceLink.GitLab": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "tvsg47DDLqqedlPeYVE2lmiTpND8F0hkrealQ5hYltSmvruy/Gr5nHAKSsjyw5L3NeM/HLMI5ORv7on/M4qyZw==", - "dependencies": { - "Microsoft.Build.Tasks.Git": "1.1.1", - "Microsoft.SourceLink.Common": "1.1.1" - } - }, - "System.Buffers": { - "type": "Transitive", - "resolved": "4.5.1", - "contentHash": "Rw7ijyl1qqRS0YQD/WycNst8hUUMgrMH4FCn1nNm27M4VxchZ1js3fVjQaANHO5f3sN4isvP4a+Met9Y4YomAg==" - }, - "System.Diagnostics.DiagnosticSource": { - "type": "Transitive", - "resolved": "8.0.0", - "contentHash": "c9xLpVz6PL9lp/djOWtk5KPDZq3cSYpmXoJQY524EOtuFl5z9ZtsotpsyrDW40U1DRnQSYvcPKEUV0X//u6gkQ==", - "dependencies": { - "System.Memory": "4.5.5", - "System.Runtime.CompilerServices.Unsafe": "6.0.0" - } - }, - "System.Memory": { - "type": "Transitive", - "resolved": "4.5.5", - "contentHash": "XIWiDvKPXaTveaB7HVganDlOCRoj03l+jrwNvcge/t8vhGYKvqV+dMv6G4SAX2NoNmN0wZfVPTAlFwZcZvVOUw==", - "dependencies": { - "System.Buffers": "4.5.1", - "System.Numerics.Vectors": "4.5.0", - "System.Runtime.CompilerServices.Unsafe": "4.5.3" - } - }, - "System.Numerics.Vectors": { - "type": "Transitive", - "resolved": "4.5.0", - "contentHash": "QQTlPTl06J/iiDbJCiepZ4H//BVraReU4O4EoRw1U02H5TLUIT7xn3GnDp9AXPSlJUDyFs4uWjWafNX6WrAojQ==" - }, - "System.Runtime.CompilerServices.Unsafe": { - "type": "Transitive", - "resolved": "6.0.0", - "contentHash": "/iUeP3tq1S0XdNNoMz5C9twLSrM/TH+qElHkXWaPvuNOt+99G75NrV0OS2EqHx5wMN7popYjpc8oTjC1y16DLg==" - }, - "System.Text.Encodings.Web": { - "type": "Transitive", - "resolved": "8.0.0", - "contentHash": "yev/k9GHAEGx2Rg3/tU6MQh4HGBXJs70y7j1LaM1i/ER9po+6nnQ6RRqTJn1E7Xu0fbIFK80Nh5EoODxrbxwBQ==", - "dependencies": { - "System.Buffers": "4.5.1", - "System.Memory": "4.5.5", - "System.Runtime.CompilerServices.Unsafe": "6.0.0" - } - }, - "System.Text.Json": { - "type": "Transitive", - "resolved": "8.0.4", - "contentHash": "bAkhgDJ88XTsqczoxEMliSrpijKZHhbJQldhAmObj/RbrN3sU5dcokuXmWJWsdQAhiMJ9bTayWsL1C9fbbCRhw==", - "dependencies": { - "Microsoft.Bcl.AsyncInterfaces": "8.0.0", - "System.Buffers": "4.5.1", - "System.Memory": "4.5.5", - "System.Runtime.CompilerServices.Unsafe": "6.0.0", - "System.Text.Encodings.Web": "8.0.0", - "System.Threading.Tasks.Extensions": "4.5.4", - "System.ValueTuple": "4.5.0" - } - }, - "System.Threading.Tasks.Extensions": { - "type": "Transitive", - "resolved": "4.5.4", - "contentHash": "zteT+G8xuGu6mS+mzDzYXbzS7rd3K6Fjb9RiZlYlJPam2/hU7JCBZBVEcywNuR+oZ1ncTvc/cq0faRr3P01OVg==", - "dependencies": { - "System.Runtime.CompilerServices.Unsafe": "4.5.3" - } - }, - "System.ValueTuple": { - "type": "Transitive", - "resolved": "4.5.0", - "contentHash": "okurQJO6NRE/apDIP23ajJ0hpiNmJ+f0BwOlB/cSqTLQlw5upkf+5+96+iG2Jw40G1fCVCyPz/FhIABUjMR+RQ==" - }, - "elastic.clients.elasticsearch": { - "type": "Project", - "dependencies": { - "Elastic.Transport": "[0.4.22, )" - } - } - }, - ".NETStandard,Version=v2.0": { - "ConfigureAwaitChecker.Analyzer": { - "type": "Direct", - "requested": "[5.0.0.1, )", - "resolved": "5.0.0.1", - "contentHash": "jqOPPOJzHiUajPVGNw0MJzqUYLM3nHYEXEo1X91VqbwBqvq0+u8ASgcdmlmr4E9ffWJkjIo8vPEH9EMrKh69EQ==" - }, - "DotNet.ReproducibleBuilds": { - "type": "Direct", - "requested": "[1.1.1, )", - "resolved": "1.1.1", - "contentHash": "+H2t/t34h6mhEoUvHi8yGXyuZ2GjSovcGYehJrS2MDm2XgmPfZL2Sdxg+uL2lKgZ4M6tTwKHIlxOob2bgh0NRQ==", - "dependencies": { - "Microsoft.SourceLink.AzureRepos.Git": "1.1.1", - "Microsoft.SourceLink.Bitbucket.Git": "1.1.1", - "Microsoft.SourceLink.GitHub": "1.1.1", - "Microsoft.SourceLink.GitLab": "1.1.1" - } - }, - "Microsoft.NETFramework.ReferenceAssemblies": { - "type": "Direct", - "requested": "[1.0.3, )", - "resolved": "1.0.3", - "contentHash": "vUc9Npcs14QsyOD01tnv/m8sQUnGTGOw1BCmKcv77LBJY7OxhJ+zJF7UD/sCL3lYNFuqmQEVlkfS4Quif6FyYg==", - "dependencies": { - "Microsoft.NETFramework.ReferenceAssemblies.net461": "1.0.3" - } - }, - "NETStandard.Library": { - "type": "Direct", - "requested": "[2.0.3, )", - "resolved": "2.0.3", - "contentHash": "st47PosZSHrjECdjeIzZQbzivYBJFv6P2nv4cj2ypdI204DO+vZ7l5raGMiX4eXMJ53RfOIg+/s4DHVZ54Nu2A==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0" - } - }, - "Newtonsoft.Json": { - "type": "Direct", - "requested": "[13.0.1, )", - "resolved": "13.0.1", - "contentHash": "ppPFpBcvxdsfUonNcvITKqLl3bqxWbDCZIzDWHzjpdAHRFfZe0Dw9HmA0+za13IdyrgJwpkDTDA9fHaxOrt20A==" - }, - "Elastic.Transport": { - "type": "Transitive", - "resolved": "0.4.22", - "contentHash": "9J5GPHJcT8sewn2zVfWTrsCQvfQYgUiY/jx+IRjWUk7XNPd837qfEL42I5baH69cyW/e4RoDy8v76yxqz95tDw==", - "dependencies": { - "Microsoft.CSharp": "4.7.0", - "System.Buffers": "4.5.1", - "System.Diagnostics.DiagnosticSource": "8.0.0", - "System.Text.Json": "8.0.4", - "System.Threading.Tasks.Extensions": "4.5.4" - } - }, - "Microsoft.Bcl.AsyncInterfaces": { - "type": "Transitive", - "resolved": "8.0.0", - "contentHash": "3WA9q9yVqJp222P3x1wYIGDAkpjAku0TMUaaQV22g6L67AI0LdOIrVS7Ht2vJfLHGSPVuqN94vIr15qn+HEkHw==", - "dependencies": { - "System.Threading.Tasks.Extensions": "4.5.4" - } - }, - "Microsoft.Build.Tasks.Git": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "AT3HlgTjsqHnWpBHSNeR0KxbLZD7bztlZVj7I8vgeYG9SYqbeFGh0TM/KVtC6fg53nrWHl3VfZFvb5BiQFcY6Q==" - }, - "Microsoft.CSharp": { - "type": "Transitive", - "resolved": "4.7.0", - "contentHash": "pTj+D3uJWyN3My70i2Hqo+OXixq3Os2D1nJ2x92FFo6sk8fYS1m1WLNTs0Dc1uPaViH0YvEEwvzddQ7y4rhXmA==" - }, - "Microsoft.NETCore.Platforms": { - "type": "Transitive", - "resolved": "1.1.0", - "contentHash": "kz0PEW2lhqygehI/d6XsPCQzD7ff7gUJaVGPVETX611eadGsA3A877GdSlU0LRVMCTH/+P3o2iDTak+S08V2+A==" - }, - "Microsoft.NETFramework.ReferenceAssemblies.net461": { - "type": "Transitive", - "resolved": "1.0.3", - "contentHash": "AmOJZwCqnOCNp6PPcf9joyogScWLtwy0M1WkqfEQ0M9nYwyDD7EX9ZjscKS5iYnyvteX7kzSKFCKt9I9dXA6mA==" - }, - "Microsoft.SourceLink.AzureRepos.Git": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "qB5urvw9LO2bG3eVAkuL+2ughxz2rR7aYgm2iyrB8Rlk9cp2ndvGRCvehk3rNIhRuNtQaeKwctOl1KvWiklv5w==", - "dependencies": { - "Microsoft.Build.Tasks.Git": "1.1.1", - "Microsoft.SourceLink.Common": "1.1.1" - } - }, - "Microsoft.SourceLink.Bitbucket.Git": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "cDzxXwlyWpLWaH0em4Idj0H3AmVo3L/6xRXKssYemx+7W52iNskj/SQ4FOmfCb8YQt39otTDNMveCZzYtMoucQ==", - "dependencies": { - "Microsoft.Build.Tasks.Git": "1.1.1", - "Microsoft.SourceLink.Common": "1.1.1" - } - }, - "Microsoft.SourceLink.Common": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "WMcGpWKrmJmzrNeuaEb23bEMnbtR/vLmvZtkAP5qWu7vQsY59GqfRJd65sFpBszbd2k/bQ8cs8eWawQKAabkVg==" - }, - "Microsoft.SourceLink.GitHub": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "IaJGnOv/M7UQjRJks7B6p7pbPnOwisYGOIzqCz5ilGFTApZ3ktOR+6zJ12ZRPInulBmdAf1SrGdDG2MU8g6XTw==", - "dependencies": { - "Microsoft.Build.Tasks.Git": "1.1.1", - "Microsoft.SourceLink.Common": "1.1.1" - } - }, - "Microsoft.SourceLink.GitLab": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "tvsg47DDLqqedlPeYVE2lmiTpND8F0hkrealQ5hYltSmvruy/Gr5nHAKSsjyw5L3NeM/HLMI5ORv7on/M4qyZw==", - "dependencies": { - "Microsoft.Build.Tasks.Git": "1.1.1", - "Microsoft.SourceLink.Common": "1.1.1" - } - }, - "System.Buffers": { - "type": "Transitive", - "resolved": "4.5.1", - "contentHash": "Rw7ijyl1qqRS0YQD/WycNst8hUUMgrMH4FCn1nNm27M4VxchZ1js3fVjQaANHO5f3sN4isvP4a+Met9Y4YomAg==" - }, - "System.Diagnostics.DiagnosticSource": { - "type": "Transitive", - "resolved": "8.0.0", - "contentHash": "c9xLpVz6PL9lp/djOWtk5KPDZq3cSYpmXoJQY524EOtuFl5z9ZtsotpsyrDW40U1DRnQSYvcPKEUV0X//u6gkQ==", - "dependencies": { - "System.Memory": "4.5.5", - "System.Runtime.CompilerServices.Unsafe": "6.0.0" - } - }, - "System.Memory": { - "type": "Transitive", - "resolved": "4.5.5", - "contentHash": "XIWiDvKPXaTveaB7HVganDlOCRoj03l+jrwNvcge/t8vhGYKvqV+dMv6G4SAX2NoNmN0wZfVPTAlFwZcZvVOUw==", - "dependencies": { - "System.Buffers": "4.5.1", - "System.Numerics.Vectors": "4.4.0", - "System.Runtime.CompilerServices.Unsafe": "4.5.3" - } - }, - "System.Numerics.Vectors": { - "type": "Transitive", - "resolved": "4.4.0", - "contentHash": "UiLzLW+Lw6HLed1Hcg+8jSRttrbuXv7DANVj0DkL9g6EnnzbL75EB7EWsw5uRbhxd/4YdG8li5XizGWepmG3PQ==" - }, - "System.Runtime.CompilerServices.Unsafe": { - "type": "Transitive", - "resolved": "6.0.0", - "contentHash": "/iUeP3tq1S0XdNNoMz5C9twLSrM/TH+qElHkXWaPvuNOt+99G75NrV0OS2EqHx5wMN7popYjpc8oTjC1y16DLg==" - }, - "System.Text.Encodings.Web": { - "type": "Transitive", - "resolved": "8.0.0", - "contentHash": "yev/k9GHAEGx2Rg3/tU6MQh4HGBXJs70y7j1LaM1i/ER9po+6nnQ6RRqTJn1E7Xu0fbIFK80Nh5EoODxrbxwBQ==", - "dependencies": { - "System.Buffers": "4.5.1", - "System.Memory": "4.5.5", - "System.Runtime.CompilerServices.Unsafe": "6.0.0" - } - }, - "System.Text.Json": { - "type": "Transitive", - "resolved": "8.0.4", - "contentHash": "bAkhgDJ88XTsqczoxEMliSrpijKZHhbJQldhAmObj/RbrN3sU5dcokuXmWJWsdQAhiMJ9bTayWsL1C9fbbCRhw==", - "dependencies": { - "Microsoft.Bcl.AsyncInterfaces": "8.0.0", - "System.Buffers": "4.5.1", - "System.Memory": "4.5.5", - "System.Runtime.CompilerServices.Unsafe": "6.0.0", - "System.Text.Encodings.Web": "8.0.0", - "System.Threading.Tasks.Extensions": "4.5.4" - } - }, - "System.Threading.Tasks.Extensions": { - "type": "Transitive", - "resolved": "4.5.4", - "contentHash": "zteT+G8xuGu6mS+mzDzYXbzS7rd3K6Fjb9RiZlYlJPam2/hU7JCBZBVEcywNuR+oZ1ncTvc/cq0faRr3P01OVg==", - "dependencies": { - "System.Runtime.CompilerServices.Unsafe": "4.5.3" - } - }, - "elastic.clients.elasticsearch": { - "type": "Project", - "dependencies": { - "Elastic.Transport": "[0.4.22, )" - } - } - }, - ".NETStandard,Version=v2.1": { - "ConfigureAwaitChecker.Analyzer": { - "type": "Direct", - "requested": "[5.0.0.1, )", - "resolved": "5.0.0.1", - "contentHash": "jqOPPOJzHiUajPVGNw0MJzqUYLM3nHYEXEo1X91VqbwBqvq0+u8ASgcdmlmr4E9ffWJkjIo8vPEH9EMrKh69EQ==" - }, - "DotNet.ReproducibleBuilds": { - "type": "Direct", - "requested": "[1.1.1, )", - "resolved": "1.1.1", - "contentHash": "+H2t/t34h6mhEoUvHi8yGXyuZ2GjSovcGYehJrS2MDm2XgmPfZL2Sdxg+uL2lKgZ4M6tTwKHIlxOob2bgh0NRQ==", - "dependencies": { - "Microsoft.SourceLink.AzureRepos.Git": "1.1.1", - "Microsoft.SourceLink.Bitbucket.Git": "1.1.1", - "Microsoft.SourceLink.GitHub": "1.1.1", - "Microsoft.SourceLink.GitLab": "1.1.1" - } - }, - "Microsoft.NETFramework.ReferenceAssemblies": { - "type": "Direct", - "requested": "[1.0.3, )", - "resolved": "1.0.3", - "contentHash": "vUc9Npcs14QsyOD01tnv/m8sQUnGTGOw1BCmKcv77LBJY7OxhJ+zJF7UD/sCL3lYNFuqmQEVlkfS4Quif6FyYg==", - "dependencies": { - "Microsoft.NETFramework.ReferenceAssemblies.net461": "1.0.3" - } - }, - "Newtonsoft.Json": { - "type": "Direct", - "requested": "[13.0.1, )", - "resolved": "13.0.1", - "contentHash": "ppPFpBcvxdsfUonNcvITKqLl3bqxWbDCZIzDWHzjpdAHRFfZe0Dw9HmA0+za13IdyrgJwpkDTDA9fHaxOrt20A==" - }, - "Elastic.Transport": { - "type": "Transitive", - "resolved": "0.4.22", - "contentHash": "9J5GPHJcT8sewn2zVfWTrsCQvfQYgUiY/jx+IRjWUk7XNPd837qfEL42I5baH69cyW/e4RoDy8v76yxqz95tDw==", - "dependencies": { - "Microsoft.CSharp": "4.7.0", - "System.Buffers": "4.5.1", - "System.Diagnostics.DiagnosticSource": "8.0.0", - "System.Text.Json": "8.0.4", - "System.Threading.Tasks.Extensions": "4.5.4" - } - }, - "Microsoft.Bcl.AsyncInterfaces": { - "type": "Transitive", - "resolved": "8.0.0", - "contentHash": "3WA9q9yVqJp222P3x1wYIGDAkpjAku0TMUaaQV22g6L67AI0LdOIrVS7Ht2vJfLHGSPVuqN94vIr15qn+HEkHw==" - }, - "Microsoft.Build.Tasks.Git": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "AT3HlgTjsqHnWpBHSNeR0KxbLZD7bztlZVj7I8vgeYG9SYqbeFGh0TM/KVtC6fg53nrWHl3VfZFvb5BiQFcY6Q==" - }, - "Microsoft.CSharp": { - "type": "Transitive", - "resolved": "4.7.0", - "contentHash": "pTj+D3uJWyN3My70i2Hqo+OXixq3Os2D1nJ2x92FFo6sk8fYS1m1WLNTs0Dc1uPaViH0YvEEwvzddQ7y4rhXmA==" - }, - "Microsoft.NETFramework.ReferenceAssemblies.net461": { - "type": "Transitive", - "resolved": "1.0.3", - "contentHash": "AmOJZwCqnOCNp6PPcf9joyogScWLtwy0M1WkqfEQ0M9nYwyDD7EX9ZjscKS5iYnyvteX7kzSKFCKt9I9dXA6mA==" - }, - "Microsoft.SourceLink.AzureRepos.Git": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "qB5urvw9LO2bG3eVAkuL+2ughxz2rR7aYgm2iyrB8Rlk9cp2ndvGRCvehk3rNIhRuNtQaeKwctOl1KvWiklv5w==", - "dependencies": { - "Microsoft.Build.Tasks.Git": "1.1.1", - "Microsoft.SourceLink.Common": "1.1.1" - } - }, - "Microsoft.SourceLink.Bitbucket.Git": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "cDzxXwlyWpLWaH0em4Idj0H3AmVo3L/6xRXKssYemx+7W52iNskj/SQ4FOmfCb8YQt39otTDNMveCZzYtMoucQ==", - "dependencies": { - "Microsoft.Build.Tasks.Git": "1.1.1", - "Microsoft.SourceLink.Common": "1.1.1" - } - }, - "Microsoft.SourceLink.Common": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "WMcGpWKrmJmzrNeuaEb23bEMnbtR/vLmvZtkAP5qWu7vQsY59GqfRJd65sFpBszbd2k/bQ8cs8eWawQKAabkVg==" - }, - "Microsoft.SourceLink.GitHub": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "IaJGnOv/M7UQjRJks7B6p7pbPnOwisYGOIzqCz5ilGFTApZ3ktOR+6zJ12ZRPInulBmdAf1SrGdDG2MU8g6XTw==", - "dependencies": { - "Microsoft.Build.Tasks.Git": "1.1.1", - "Microsoft.SourceLink.Common": "1.1.1" - } - }, - "Microsoft.SourceLink.GitLab": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "tvsg47DDLqqedlPeYVE2lmiTpND8F0hkrealQ5hYltSmvruy/Gr5nHAKSsjyw5L3NeM/HLMI5ORv7on/M4qyZw==", - "dependencies": { - "Microsoft.Build.Tasks.Git": "1.1.1", - "Microsoft.SourceLink.Common": "1.1.1" - } - }, - "System.Buffers": { - "type": "Transitive", - "resolved": "4.5.1", - "contentHash": "Rw7ijyl1qqRS0YQD/WycNst8hUUMgrMH4FCn1nNm27M4VxchZ1js3fVjQaANHO5f3sN4isvP4a+Met9Y4YomAg==" - }, - "System.Diagnostics.DiagnosticSource": { - "type": "Transitive", - "resolved": "8.0.0", - "contentHash": "c9xLpVz6PL9lp/djOWtk5KPDZq3cSYpmXoJQY524EOtuFl5z9ZtsotpsyrDW40U1DRnQSYvcPKEUV0X//u6gkQ==", - "dependencies": { - "System.Memory": "4.5.5", - "System.Runtime.CompilerServices.Unsafe": "6.0.0" - } - }, - "System.Memory": { - "type": "Transitive", - "resolved": "4.5.5", - "contentHash": "XIWiDvKPXaTveaB7HVganDlOCRoj03l+jrwNvcge/t8vhGYKvqV+dMv6G4SAX2NoNmN0wZfVPTAlFwZcZvVOUw==", - "dependencies": { - "System.Buffers": "4.5.1", - "System.Numerics.Vectors": "4.4.0", - "System.Runtime.CompilerServices.Unsafe": "4.5.3" - } - }, - "System.Numerics.Vectors": { - "type": "Transitive", - "resolved": "4.4.0", - "contentHash": "UiLzLW+Lw6HLed1Hcg+8jSRttrbuXv7DANVj0DkL9g6EnnzbL75EB7EWsw5uRbhxd/4YdG8li5XizGWepmG3PQ==" - }, - "System.Runtime.CompilerServices.Unsafe": { - "type": "Transitive", - "resolved": "6.0.0", - "contentHash": "/iUeP3tq1S0XdNNoMz5C9twLSrM/TH+qElHkXWaPvuNOt+99G75NrV0OS2EqHx5wMN7popYjpc8oTjC1y16DLg==" - }, - "System.Text.Encodings.Web": { - "type": "Transitive", - "resolved": "8.0.0", - "contentHash": "yev/k9GHAEGx2Rg3/tU6MQh4HGBXJs70y7j1LaM1i/ER9po+6nnQ6RRqTJn1E7Xu0fbIFK80Nh5EoODxrbxwBQ==", - "dependencies": { - "System.Buffers": "4.5.1", - "System.Memory": "4.5.5", - "System.Runtime.CompilerServices.Unsafe": "6.0.0" - } - }, - "System.Text.Json": { - "type": "Transitive", - "resolved": "8.0.4", - "contentHash": "bAkhgDJ88XTsqczoxEMliSrpijKZHhbJQldhAmObj/RbrN3sU5dcokuXmWJWsdQAhiMJ9bTayWsL1C9fbbCRhw==", - "dependencies": { - "Microsoft.Bcl.AsyncInterfaces": "8.0.0", - "System.Buffers": "4.5.1", - "System.Memory": "4.5.5", - "System.Runtime.CompilerServices.Unsafe": "6.0.0", - "System.Text.Encodings.Web": "8.0.0", - "System.Threading.Tasks.Extensions": "4.5.4" - } - }, - "System.Threading.Tasks.Extensions": { - "type": "Transitive", - "resolved": "4.5.4", - "contentHash": "zteT+G8xuGu6mS+mzDzYXbzS7rd3K6Fjb9RiZlYlJPam2/hU7JCBZBVEcywNuR+oZ1ncTvc/cq0faRr3P01OVg==", - "dependencies": { - "System.Runtime.CompilerServices.Unsafe": "4.5.3" - } - }, - "elastic.clients.elasticsearch": { - "type": "Project", - "dependencies": { - "Elastic.Transport": "[0.4.22, )" - } - } - }, - "net6.0": { - "ConfigureAwaitChecker.Analyzer": { - "type": "Direct", - "requested": "[5.0.0.1, )", - "resolved": "5.0.0.1", - "contentHash": "jqOPPOJzHiUajPVGNw0MJzqUYLM3nHYEXEo1X91VqbwBqvq0+u8ASgcdmlmr4E9ffWJkjIo8vPEH9EMrKh69EQ==" - }, - "DotNet.ReproducibleBuilds": { - "type": "Direct", - "requested": "[1.1.1, )", - "resolved": "1.1.1", - "contentHash": "+H2t/t34h6mhEoUvHi8yGXyuZ2GjSovcGYehJrS2MDm2XgmPfZL2Sdxg+uL2lKgZ4M6tTwKHIlxOob2bgh0NRQ==", - "dependencies": { - "Microsoft.SourceLink.AzureRepos.Git": "1.1.1", - "Microsoft.SourceLink.Bitbucket.Git": "1.1.1", - "Microsoft.SourceLink.GitHub": "1.1.1", - "Microsoft.SourceLink.GitLab": "1.1.1" - } - }, - "Microsoft.NETFramework.ReferenceAssemblies": { - "type": "Direct", - "requested": "[1.0.3, )", - "resolved": "1.0.3", - "contentHash": "vUc9Npcs14QsyOD01tnv/m8sQUnGTGOw1BCmKcv77LBJY7OxhJ+zJF7UD/sCL3lYNFuqmQEVlkfS4Quif6FyYg==", - "dependencies": { - "Microsoft.NETFramework.ReferenceAssemblies.net461": "1.0.3" - } - }, - "Newtonsoft.Json": { - "type": "Direct", - "requested": "[13.0.1, )", - "resolved": "13.0.1", - "contentHash": "ppPFpBcvxdsfUonNcvITKqLl3bqxWbDCZIzDWHzjpdAHRFfZe0Dw9HmA0+za13IdyrgJwpkDTDA9fHaxOrt20A==" - }, - "Elastic.Transport": { - "type": "Transitive", - "resolved": "0.4.22", - "contentHash": "9J5GPHJcT8sewn2zVfWTrsCQvfQYgUiY/jx+IRjWUk7XNPd837qfEL42I5baH69cyW/e4RoDy8v76yxqz95tDw==", - "dependencies": { - "System.Diagnostics.DiagnosticSource": "8.0.0", - "System.Text.Json": "8.0.4" - } - }, - "Microsoft.Build.Tasks.Git": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "AT3HlgTjsqHnWpBHSNeR0KxbLZD7bztlZVj7I8vgeYG9SYqbeFGh0TM/KVtC6fg53nrWHl3VfZFvb5BiQFcY6Q==" - }, - "Microsoft.NETFramework.ReferenceAssemblies.net461": { - "type": "Transitive", - "resolved": "1.0.3", - "contentHash": "AmOJZwCqnOCNp6PPcf9joyogScWLtwy0M1WkqfEQ0M9nYwyDD7EX9ZjscKS5iYnyvteX7kzSKFCKt9I9dXA6mA==" - }, - "Microsoft.SourceLink.AzureRepos.Git": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "qB5urvw9LO2bG3eVAkuL+2ughxz2rR7aYgm2iyrB8Rlk9cp2ndvGRCvehk3rNIhRuNtQaeKwctOl1KvWiklv5w==", - "dependencies": { - "Microsoft.Build.Tasks.Git": "1.1.1", - "Microsoft.SourceLink.Common": "1.1.1" - } - }, - "Microsoft.SourceLink.Bitbucket.Git": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "cDzxXwlyWpLWaH0em4Idj0H3AmVo3L/6xRXKssYemx+7W52iNskj/SQ4FOmfCb8YQt39otTDNMveCZzYtMoucQ==", - "dependencies": { - "Microsoft.Build.Tasks.Git": "1.1.1", - "Microsoft.SourceLink.Common": "1.1.1" - } - }, - "Microsoft.SourceLink.Common": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "WMcGpWKrmJmzrNeuaEb23bEMnbtR/vLmvZtkAP5qWu7vQsY59GqfRJd65sFpBszbd2k/bQ8cs8eWawQKAabkVg==" - }, - "Microsoft.SourceLink.GitHub": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "IaJGnOv/M7UQjRJks7B6p7pbPnOwisYGOIzqCz5ilGFTApZ3ktOR+6zJ12ZRPInulBmdAf1SrGdDG2MU8g6XTw==", - "dependencies": { - "Microsoft.Build.Tasks.Git": "1.1.1", - "Microsoft.SourceLink.Common": "1.1.1" - } - }, - "Microsoft.SourceLink.GitLab": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "tvsg47DDLqqedlPeYVE2lmiTpND8F0hkrealQ5hYltSmvruy/Gr5nHAKSsjyw5L3NeM/HLMI5ORv7on/M4qyZw==", - "dependencies": { - "Microsoft.Build.Tasks.Git": "1.1.1", - "Microsoft.SourceLink.Common": "1.1.1" - } - }, - "System.Diagnostics.DiagnosticSource": { - "type": "Transitive", - "resolved": "8.0.0", - "contentHash": "c9xLpVz6PL9lp/djOWtk5KPDZq3cSYpmXoJQY524EOtuFl5z9ZtsotpsyrDW40U1DRnQSYvcPKEUV0X//u6gkQ==", - "dependencies": { - "System.Runtime.CompilerServices.Unsafe": "6.0.0" - } - }, - "System.Runtime.CompilerServices.Unsafe": { - "type": "Transitive", - "resolved": "6.0.0", - "contentHash": "/iUeP3tq1S0XdNNoMz5C9twLSrM/TH+qElHkXWaPvuNOt+99G75NrV0OS2EqHx5wMN7popYjpc8oTjC1y16DLg==" - }, - "System.Text.Encodings.Web": { - "type": "Transitive", - "resolved": "8.0.0", - "contentHash": "yev/k9GHAEGx2Rg3/tU6MQh4HGBXJs70y7j1LaM1i/ER9po+6nnQ6RRqTJn1E7Xu0fbIFK80Nh5EoODxrbxwBQ==", - "dependencies": { - "System.Runtime.CompilerServices.Unsafe": "6.0.0" - } - }, - "System.Text.Json": { - "type": "Transitive", - "resolved": "8.0.4", - "contentHash": "bAkhgDJ88XTsqczoxEMliSrpijKZHhbJQldhAmObj/RbrN3sU5dcokuXmWJWsdQAhiMJ9bTayWsL1C9fbbCRhw==", - "dependencies": { - "System.Runtime.CompilerServices.Unsafe": "6.0.0", - "System.Text.Encodings.Web": "8.0.0" - } - }, - "elastic.clients.elasticsearch": { - "type": "Project", - "dependencies": { - "Elastic.Transport": "[0.4.22, )" - } - } - }, - "net8.0": { - "ConfigureAwaitChecker.Analyzer": { - "type": "Direct", - "requested": "[5.0.0.1, )", - "resolved": "5.0.0.1", - "contentHash": "jqOPPOJzHiUajPVGNw0MJzqUYLM3nHYEXEo1X91VqbwBqvq0+u8ASgcdmlmr4E9ffWJkjIo8vPEH9EMrKh69EQ==" - }, - "DotNet.ReproducibleBuilds": { - "type": "Direct", - "requested": "[1.1.1, )", - "resolved": "1.1.1", - "contentHash": "+H2t/t34h6mhEoUvHi8yGXyuZ2GjSovcGYehJrS2MDm2XgmPfZL2Sdxg+uL2lKgZ4M6tTwKHIlxOob2bgh0NRQ==", - "dependencies": { - "Microsoft.SourceLink.AzureRepos.Git": "1.1.1", - "Microsoft.SourceLink.Bitbucket.Git": "1.1.1", - "Microsoft.SourceLink.GitHub": "1.1.1", - "Microsoft.SourceLink.GitLab": "1.1.1" - } - }, - "Microsoft.NETFramework.ReferenceAssemblies": { - "type": "Direct", - "requested": "[1.0.3, )", - "resolved": "1.0.3", - "contentHash": "vUc9Npcs14QsyOD01tnv/m8sQUnGTGOw1BCmKcv77LBJY7OxhJ+zJF7UD/sCL3lYNFuqmQEVlkfS4Quif6FyYg==", - "dependencies": { - "Microsoft.NETFramework.ReferenceAssemblies.net461": "1.0.3" - } - }, - "Newtonsoft.Json": { - "type": "Direct", - "requested": "[13.0.1, )", - "resolved": "13.0.1", - "contentHash": "ppPFpBcvxdsfUonNcvITKqLl3bqxWbDCZIzDWHzjpdAHRFfZe0Dw9HmA0+za13IdyrgJwpkDTDA9fHaxOrt20A==" - }, - "Elastic.Transport": { - "type": "Transitive", - "resolved": "0.4.22", - "contentHash": "9J5GPHJcT8sewn2zVfWTrsCQvfQYgUiY/jx+IRjWUk7XNPd837qfEL42I5baH69cyW/e4RoDy8v76yxqz95tDw==" - }, - "Microsoft.Build.Tasks.Git": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "AT3HlgTjsqHnWpBHSNeR0KxbLZD7bztlZVj7I8vgeYG9SYqbeFGh0TM/KVtC6fg53nrWHl3VfZFvb5BiQFcY6Q==" - }, - "Microsoft.NETFramework.ReferenceAssemblies.net461": { - "type": "Transitive", - "resolved": "1.0.3", - "contentHash": "AmOJZwCqnOCNp6PPcf9joyogScWLtwy0M1WkqfEQ0M9nYwyDD7EX9ZjscKS5iYnyvteX7kzSKFCKt9I9dXA6mA==" - }, - "Microsoft.SourceLink.AzureRepos.Git": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "qB5urvw9LO2bG3eVAkuL+2ughxz2rR7aYgm2iyrB8Rlk9cp2ndvGRCvehk3rNIhRuNtQaeKwctOl1KvWiklv5w==", - "dependencies": { - "Microsoft.Build.Tasks.Git": "1.1.1", - "Microsoft.SourceLink.Common": "1.1.1" - } - }, - "Microsoft.SourceLink.Bitbucket.Git": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "cDzxXwlyWpLWaH0em4Idj0H3AmVo3L/6xRXKssYemx+7W52iNskj/SQ4FOmfCb8YQt39otTDNMveCZzYtMoucQ==", - "dependencies": { - "Microsoft.Build.Tasks.Git": "1.1.1", - "Microsoft.SourceLink.Common": "1.1.1" - } - }, - "Microsoft.SourceLink.Common": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "WMcGpWKrmJmzrNeuaEb23bEMnbtR/vLmvZtkAP5qWu7vQsY59GqfRJd65sFpBszbd2k/bQ8cs8eWawQKAabkVg==" - }, - "Microsoft.SourceLink.GitHub": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "IaJGnOv/M7UQjRJks7B6p7pbPnOwisYGOIzqCz5ilGFTApZ3ktOR+6zJ12ZRPInulBmdAf1SrGdDG2MU8g6XTw==", - "dependencies": { - "Microsoft.Build.Tasks.Git": "1.1.1", - "Microsoft.SourceLink.Common": "1.1.1" - } - }, - "Microsoft.SourceLink.GitLab": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "tvsg47DDLqqedlPeYVE2lmiTpND8F0hkrealQ5hYltSmvruy/Gr5nHAKSsjyw5L3NeM/HLMI5ORv7on/M4qyZw==", - "dependencies": { - "Microsoft.Build.Tasks.Git": "1.1.1", - "Microsoft.SourceLink.Common": "1.1.1" - } - }, - "elastic.clients.elasticsearch": { - "type": "Project", - "dependencies": { - "Elastic.Transport": "[0.4.22, )" - } - } - } - } -} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/Elastic.Clients.Elasticsearch.Serverless.csproj b/src/Elastic.Clients.Elasticsearch.Serverless/Elastic.Clients.Elasticsearch.Serverless.csproj index 12c277e36de..e2e4cdf3d98 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/Elastic.Clients.Elasticsearch.Serverless.csproj +++ b/src/Elastic.Clients.Elasticsearch.Serverless/Elastic.Clients.Elasticsearch.Serverless.csproj @@ -22,10 +22,6 @@ - - all - runtime; build; native; contentfiles; analyzers - @@ -40,5 +36,8 @@ - + + + + \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/packages.lock.json b/src/Elastic.Clients.Elasticsearch.Serverless/packages.lock.json deleted file mode 100644 index c279af5e0db..00000000000 --- a/src/Elastic.Clients.Elasticsearch.Serverless/packages.lock.json +++ /dev/null @@ -1,771 +0,0 @@ -{ - "version": 1, - "dependencies": { - ".NETFramework,Version=v4.6.2": { - "ConfigureAwaitChecker.Analyzer": { - "type": "Direct", - "requested": "[5.0.0.1, )", - "resolved": "5.0.0.1", - "contentHash": "jqOPPOJzHiUajPVGNw0MJzqUYLM3nHYEXEo1X91VqbwBqvq0+u8ASgcdmlmr4E9ffWJkjIo8vPEH9EMrKh69EQ==" - }, - "DotNet.ReproducibleBuilds": { - "type": "Direct", - "requested": "[1.1.1, )", - "resolved": "1.1.1", - "contentHash": "+H2t/t34h6mhEoUvHi8yGXyuZ2GjSovcGYehJrS2MDm2XgmPfZL2Sdxg+uL2lKgZ4M6tTwKHIlxOob2bgh0NRQ==", - "dependencies": { - "Microsoft.SourceLink.AzureRepos.Git": "1.1.1", - "Microsoft.SourceLink.Bitbucket.Git": "1.1.1", - "Microsoft.SourceLink.GitHub": "1.1.1", - "Microsoft.SourceLink.GitLab": "1.1.1" - } - }, - "Elastic.Transport": { - "type": "Direct", - "requested": "[0.4.22, )", - "resolved": "0.4.22", - "contentHash": "9J5GPHJcT8sewn2zVfWTrsCQvfQYgUiY/jx+IRjWUk7XNPd837qfEL42I5baH69cyW/e4RoDy8v76yxqz95tDw==", - "dependencies": { - "Microsoft.CSharp": "4.7.0", - "System.Buffers": "4.5.1", - "System.Diagnostics.DiagnosticSource": "8.0.0", - "System.Text.Json": "8.0.4", - "System.Threading.Tasks.Extensions": "4.5.4" - } - }, - "Microsoft.NETFramework.ReferenceAssemblies": { - "type": "Direct", - "requested": "[1.0.3, )", - "resolved": "1.0.3", - "contentHash": "vUc9Npcs14QsyOD01tnv/m8sQUnGTGOw1BCmKcv77LBJY7OxhJ+zJF7UD/sCL3lYNFuqmQEVlkfS4Quif6FyYg==", - "dependencies": { - "Microsoft.NETFramework.ReferenceAssemblies.net462": "1.0.3" - } - }, - "Microsoft.VisualStudio.Threading.Analyzers": { - "type": "Direct", - "requested": "[17.3.44, )", - "resolved": "17.3.44", - "contentHash": "96TPV4lH1a8iXNoq6sQxSTAXXCewyt2bE7luIZd3kS7Zzs1fs6Uwd9bFg2AxBt1WNPU1ozb3D1olpsoRmLKleA==" - }, - "Microsoft.Bcl.AsyncInterfaces": { - "type": "Transitive", - "resolved": "8.0.0", - "contentHash": "3WA9q9yVqJp222P3x1wYIGDAkpjAku0TMUaaQV22g6L67AI0LdOIrVS7Ht2vJfLHGSPVuqN94vIr15qn+HEkHw==", - "dependencies": { - "System.Threading.Tasks.Extensions": "4.5.4" - } - }, - "Microsoft.Build.Tasks.Git": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "AT3HlgTjsqHnWpBHSNeR0KxbLZD7bztlZVj7I8vgeYG9SYqbeFGh0TM/KVtC6fg53nrWHl3VfZFvb5BiQFcY6Q==" - }, - "Microsoft.CSharp": { - "type": "Transitive", - "resolved": "4.7.0", - "contentHash": "pTj+D3uJWyN3My70i2Hqo+OXixq3Os2D1nJ2x92FFo6sk8fYS1m1WLNTs0Dc1uPaViH0YvEEwvzddQ7y4rhXmA==" - }, - "Microsoft.NETFramework.ReferenceAssemblies.net462": { - "type": "Transitive", - "resolved": "1.0.3", - "contentHash": "IzAV30z22ESCeQfxP29oVf4qEo8fBGXLXSU6oacv/9Iqe6PzgHDKCaWfwMBak7bSJQM0F5boXWoZS+kChztRIQ==" - }, - "Microsoft.SourceLink.AzureRepos.Git": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "qB5urvw9LO2bG3eVAkuL+2ughxz2rR7aYgm2iyrB8Rlk9cp2ndvGRCvehk3rNIhRuNtQaeKwctOl1KvWiklv5w==", - "dependencies": { - "Microsoft.Build.Tasks.Git": "1.1.1", - "Microsoft.SourceLink.Common": "1.1.1" - } - }, - "Microsoft.SourceLink.Bitbucket.Git": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "cDzxXwlyWpLWaH0em4Idj0H3AmVo3L/6xRXKssYemx+7W52iNskj/SQ4FOmfCb8YQt39otTDNMveCZzYtMoucQ==", - "dependencies": { - "Microsoft.Build.Tasks.Git": "1.1.1", - "Microsoft.SourceLink.Common": "1.1.1" - } - }, - "Microsoft.SourceLink.Common": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "WMcGpWKrmJmzrNeuaEb23bEMnbtR/vLmvZtkAP5qWu7vQsY59GqfRJd65sFpBszbd2k/bQ8cs8eWawQKAabkVg==" - }, - "Microsoft.SourceLink.GitHub": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "IaJGnOv/M7UQjRJks7B6p7pbPnOwisYGOIzqCz5ilGFTApZ3ktOR+6zJ12ZRPInulBmdAf1SrGdDG2MU8g6XTw==", - "dependencies": { - "Microsoft.Build.Tasks.Git": "1.1.1", - "Microsoft.SourceLink.Common": "1.1.1" - } - }, - "Microsoft.SourceLink.GitLab": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "tvsg47DDLqqedlPeYVE2lmiTpND8F0hkrealQ5hYltSmvruy/Gr5nHAKSsjyw5L3NeM/HLMI5ORv7on/M4qyZw==", - "dependencies": { - "Microsoft.Build.Tasks.Git": "1.1.1", - "Microsoft.SourceLink.Common": "1.1.1" - } - }, - "System.Buffers": { - "type": "Transitive", - "resolved": "4.5.1", - "contentHash": "Rw7ijyl1qqRS0YQD/WycNst8hUUMgrMH4FCn1nNm27M4VxchZ1js3fVjQaANHO5f3sN4isvP4a+Met9Y4YomAg==" - }, - "System.Diagnostics.DiagnosticSource": { - "type": "Transitive", - "resolved": "8.0.0", - "contentHash": "c9xLpVz6PL9lp/djOWtk5KPDZq3cSYpmXoJQY524EOtuFl5z9ZtsotpsyrDW40U1DRnQSYvcPKEUV0X//u6gkQ==", - "dependencies": { - "System.Memory": "4.5.5", - "System.Runtime.CompilerServices.Unsafe": "6.0.0" - } - }, - "System.Memory": { - "type": "Transitive", - "resolved": "4.5.5", - "contentHash": "XIWiDvKPXaTveaB7HVganDlOCRoj03l+jrwNvcge/t8vhGYKvqV+dMv6G4SAX2NoNmN0wZfVPTAlFwZcZvVOUw==", - "dependencies": { - "System.Buffers": "4.5.1", - "System.Numerics.Vectors": "4.5.0", - "System.Runtime.CompilerServices.Unsafe": "4.5.3" - } - }, - "System.Numerics.Vectors": { - "type": "Transitive", - "resolved": "4.5.0", - "contentHash": "QQTlPTl06J/iiDbJCiepZ4H//BVraReU4O4EoRw1U02H5TLUIT7xn3GnDp9AXPSlJUDyFs4uWjWafNX6WrAojQ==" - }, - "System.Runtime.CompilerServices.Unsafe": { - "type": "Transitive", - "resolved": "6.0.0", - "contentHash": "/iUeP3tq1S0XdNNoMz5C9twLSrM/TH+qElHkXWaPvuNOt+99G75NrV0OS2EqHx5wMN7popYjpc8oTjC1y16DLg==" - }, - "System.Text.Encodings.Web": { - "type": "Transitive", - "resolved": "8.0.0", - "contentHash": "yev/k9GHAEGx2Rg3/tU6MQh4HGBXJs70y7j1LaM1i/ER9po+6nnQ6RRqTJn1E7Xu0fbIFK80Nh5EoODxrbxwBQ==", - "dependencies": { - "System.Buffers": "4.5.1", - "System.Memory": "4.5.5", - "System.Runtime.CompilerServices.Unsafe": "6.0.0" - } - }, - "System.Text.Json": { - "type": "Transitive", - "resolved": "8.0.4", - "contentHash": "bAkhgDJ88XTsqczoxEMliSrpijKZHhbJQldhAmObj/RbrN3sU5dcokuXmWJWsdQAhiMJ9bTayWsL1C9fbbCRhw==", - "dependencies": { - "Microsoft.Bcl.AsyncInterfaces": "8.0.0", - "System.Buffers": "4.5.1", - "System.Memory": "4.5.5", - "System.Runtime.CompilerServices.Unsafe": "6.0.0", - "System.Text.Encodings.Web": "8.0.0", - "System.Threading.Tasks.Extensions": "4.5.4", - "System.ValueTuple": "4.5.0" - } - }, - "System.Threading.Tasks.Extensions": { - "type": "Transitive", - "resolved": "4.5.4", - "contentHash": "zteT+G8xuGu6mS+mzDzYXbzS7rd3K6Fjb9RiZlYlJPam2/hU7JCBZBVEcywNuR+oZ1ncTvc/cq0faRr3P01OVg==", - "dependencies": { - "System.Runtime.CompilerServices.Unsafe": "4.5.3" - } - }, - "System.ValueTuple": { - "type": "Transitive", - "resolved": "4.5.0", - "contentHash": "okurQJO6NRE/apDIP23ajJ0hpiNmJ+f0BwOlB/cSqTLQlw5upkf+5+96+iG2Jw40G1fCVCyPz/FhIABUjMR+RQ==" - } - }, - ".NETStandard,Version=v2.0": { - "ConfigureAwaitChecker.Analyzer": { - "type": "Direct", - "requested": "[5.0.0.1, )", - "resolved": "5.0.0.1", - "contentHash": "jqOPPOJzHiUajPVGNw0MJzqUYLM3nHYEXEo1X91VqbwBqvq0+u8ASgcdmlmr4E9ffWJkjIo8vPEH9EMrKh69EQ==" - }, - "DotNet.ReproducibleBuilds": { - "type": "Direct", - "requested": "[1.1.1, )", - "resolved": "1.1.1", - "contentHash": "+H2t/t34h6mhEoUvHi8yGXyuZ2GjSovcGYehJrS2MDm2XgmPfZL2Sdxg+uL2lKgZ4M6tTwKHIlxOob2bgh0NRQ==", - "dependencies": { - "Microsoft.SourceLink.AzureRepos.Git": "1.1.1", - "Microsoft.SourceLink.Bitbucket.Git": "1.1.1", - "Microsoft.SourceLink.GitHub": "1.1.1", - "Microsoft.SourceLink.GitLab": "1.1.1" - } - }, - "Elastic.Transport": { - "type": "Direct", - "requested": "[0.4.22, )", - "resolved": "0.4.22", - "contentHash": "9J5GPHJcT8sewn2zVfWTrsCQvfQYgUiY/jx+IRjWUk7XNPd837qfEL42I5baH69cyW/e4RoDy8v76yxqz95tDw==", - "dependencies": { - "Microsoft.CSharp": "4.7.0", - "System.Buffers": "4.5.1", - "System.Diagnostics.DiagnosticSource": "8.0.0", - "System.Text.Json": "8.0.4", - "System.Threading.Tasks.Extensions": "4.5.4" - } - }, - "Microsoft.NETFramework.ReferenceAssemblies": { - "type": "Direct", - "requested": "[1.0.3, )", - "resolved": "1.0.3", - "contentHash": "vUc9Npcs14QsyOD01tnv/m8sQUnGTGOw1BCmKcv77LBJY7OxhJ+zJF7UD/sCL3lYNFuqmQEVlkfS4Quif6FyYg==", - "dependencies": { - "Microsoft.NETFramework.ReferenceAssemblies.net461": "1.0.3" - } - }, - "Microsoft.VisualStudio.Threading.Analyzers": { - "type": "Direct", - "requested": "[17.3.44, )", - "resolved": "17.3.44", - "contentHash": "96TPV4lH1a8iXNoq6sQxSTAXXCewyt2bE7luIZd3kS7Zzs1fs6Uwd9bFg2AxBt1WNPU1ozb3D1olpsoRmLKleA==" - }, - "NETStandard.Library": { - "type": "Direct", - "requested": "[2.0.3, )", - "resolved": "2.0.3", - "contentHash": "st47PosZSHrjECdjeIzZQbzivYBJFv6P2nv4cj2ypdI204DO+vZ7l5raGMiX4eXMJ53RfOIg+/s4DHVZ54Nu2A==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0" - } - }, - "Microsoft.Bcl.AsyncInterfaces": { - "type": "Transitive", - "resolved": "8.0.0", - "contentHash": "3WA9q9yVqJp222P3x1wYIGDAkpjAku0TMUaaQV22g6L67AI0LdOIrVS7Ht2vJfLHGSPVuqN94vIr15qn+HEkHw==", - "dependencies": { - "System.Threading.Tasks.Extensions": "4.5.4" - } - }, - "Microsoft.Build.Tasks.Git": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "AT3HlgTjsqHnWpBHSNeR0KxbLZD7bztlZVj7I8vgeYG9SYqbeFGh0TM/KVtC6fg53nrWHl3VfZFvb5BiQFcY6Q==" - }, - "Microsoft.CSharp": { - "type": "Transitive", - "resolved": "4.7.0", - "contentHash": "pTj+D3uJWyN3My70i2Hqo+OXixq3Os2D1nJ2x92FFo6sk8fYS1m1WLNTs0Dc1uPaViH0YvEEwvzddQ7y4rhXmA==" - }, - "Microsoft.NETCore.Platforms": { - "type": "Transitive", - "resolved": "1.1.0", - "contentHash": "kz0PEW2lhqygehI/d6XsPCQzD7ff7gUJaVGPVETX611eadGsA3A877GdSlU0LRVMCTH/+P3o2iDTak+S08V2+A==" - }, - "Microsoft.NETFramework.ReferenceAssemblies.net461": { - "type": "Transitive", - "resolved": "1.0.3", - "contentHash": "AmOJZwCqnOCNp6PPcf9joyogScWLtwy0M1WkqfEQ0M9nYwyDD7EX9ZjscKS5iYnyvteX7kzSKFCKt9I9dXA6mA==" - }, - "Microsoft.SourceLink.AzureRepos.Git": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "qB5urvw9LO2bG3eVAkuL+2ughxz2rR7aYgm2iyrB8Rlk9cp2ndvGRCvehk3rNIhRuNtQaeKwctOl1KvWiklv5w==", - "dependencies": { - "Microsoft.Build.Tasks.Git": "1.1.1", - "Microsoft.SourceLink.Common": "1.1.1" - } - }, - "Microsoft.SourceLink.Bitbucket.Git": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "cDzxXwlyWpLWaH0em4Idj0H3AmVo3L/6xRXKssYemx+7W52iNskj/SQ4FOmfCb8YQt39otTDNMveCZzYtMoucQ==", - "dependencies": { - "Microsoft.Build.Tasks.Git": "1.1.1", - "Microsoft.SourceLink.Common": "1.1.1" - } - }, - "Microsoft.SourceLink.Common": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "WMcGpWKrmJmzrNeuaEb23bEMnbtR/vLmvZtkAP5qWu7vQsY59GqfRJd65sFpBszbd2k/bQ8cs8eWawQKAabkVg==" - }, - "Microsoft.SourceLink.GitHub": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "IaJGnOv/M7UQjRJks7B6p7pbPnOwisYGOIzqCz5ilGFTApZ3ktOR+6zJ12ZRPInulBmdAf1SrGdDG2MU8g6XTw==", - "dependencies": { - "Microsoft.Build.Tasks.Git": "1.1.1", - "Microsoft.SourceLink.Common": "1.1.1" - } - }, - "Microsoft.SourceLink.GitLab": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "tvsg47DDLqqedlPeYVE2lmiTpND8F0hkrealQ5hYltSmvruy/Gr5nHAKSsjyw5L3NeM/HLMI5ORv7on/M4qyZw==", - "dependencies": { - "Microsoft.Build.Tasks.Git": "1.1.1", - "Microsoft.SourceLink.Common": "1.1.1" - } - }, - "System.Buffers": { - "type": "Transitive", - "resolved": "4.5.1", - "contentHash": "Rw7ijyl1qqRS0YQD/WycNst8hUUMgrMH4FCn1nNm27M4VxchZ1js3fVjQaANHO5f3sN4isvP4a+Met9Y4YomAg==" - }, - "System.Diagnostics.DiagnosticSource": { - "type": "Transitive", - "resolved": "8.0.0", - "contentHash": "c9xLpVz6PL9lp/djOWtk5KPDZq3cSYpmXoJQY524EOtuFl5z9ZtsotpsyrDW40U1DRnQSYvcPKEUV0X//u6gkQ==", - "dependencies": { - "System.Memory": "4.5.5", - "System.Runtime.CompilerServices.Unsafe": "6.0.0" - } - }, - "System.Memory": { - "type": "Transitive", - "resolved": "4.5.5", - "contentHash": "XIWiDvKPXaTveaB7HVganDlOCRoj03l+jrwNvcge/t8vhGYKvqV+dMv6G4SAX2NoNmN0wZfVPTAlFwZcZvVOUw==", - "dependencies": { - "System.Buffers": "4.5.1", - "System.Numerics.Vectors": "4.4.0", - "System.Runtime.CompilerServices.Unsafe": "4.5.3" - } - }, - "System.Numerics.Vectors": { - "type": "Transitive", - "resolved": "4.4.0", - "contentHash": "UiLzLW+Lw6HLed1Hcg+8jSRttrbuXv7DANVj0DkL9g6EnnzbL75EB7EWsw5uRbhxd/4YdG8li5XizGWepmG3PQ==" - }, - "System.Runtime.CompilerServices.Unsafe": { - "type": "Transitive", - "resolved": "6.0.0", - "contentHash": "/iUeP3tq1S0XdNNoMz5C9twLSrM/TH+qElHkXWaPvuNOt+99G75NrV0OS2EqHx5wMN7popYjpc8oTjC1y16DLg==" - }, - "System.Text.Encodings.Web": { - "type": "Transitive", - "resolved": "8.0.0", - "contentHash": "yev/k9GHAEGx2Rg3/tU6MQh4HGBXJs70y7j1LaM1i/ER9po+6nnQ6RRqTJn1E7Xu0fbIFK80Nh5EoODxrbxwBQ==", - "dependencies": { - "System.Buffers": "4.5.1", - "System.Memory": "4.5.5", - "System.Runtime.CompilerServices.Unsafe": "6.0.0" - } - }, - "System.Text.Json": { - "type": "Transitive", - "resolved": "8.0.4", - "contentHash": "bAkhgDJ88XTsqczoxEMliSrpijKZHhbJQldhAmObj/RbrN3sU5dcokuXmWJWsdQAhiMJ9bTayWsL1C9fbbCRhw==", - "dependencies": { - "Microsoft.Bcl.AsyncInterfaces": "8.0.0", - "System.Buffers": "4.5.1", - "System.Memory": "4.5.5", - "System.Runtime.CompilerServices.Unsafe": "6.0.0", - "System.Text.Encodings.Web": "8.0.0", - "System.Threading.Tasks.Extensions": "4.5.4" - } - }, - "System.Threading.Tasks.Extensions": { - "type": "Transitive", - "resolved": "4.5.4", - "contentHash": "zteT+G8xuGu6mS+mzDzYXbzS7rd3K6Fjb9RiZlYlJPam2/hU7JCBZBVEcywNuR+oZ1ncTvc/cq0faRr3P01OVg==", - "dependencies": { - "System.Runtime.CompilerServices.Unsafe": "4.5.3" - } - } - }, - ".NETStandard,Version=v2.1": { - "ConfigureAwaitChecker.Analyzer": { - "type": "Direct", - "requested": "[5.0.0.1, )", - "resolved": "5.0.0.1", - "contentHash": "jqOPPOJzHiUajPVGNw0MJzqUYLM3nHYEXEo1X91VqbwBqvq0+u8ASgcdmlmr4E9ffWJkjIo8vPEH9EMrKh69EQ==" - }, - "DotNet.ReproducibleBuilds": { - "type": "Direct", - "requested": "[1.1.1, )", - "resolved": "1.1.1", - "contentHash": "+H2t/t34h6mhEoUvHi8yGXyuZ2GjSovcGYehJrS2MDm2XgmPfZL2Sdxg+uL2lKgZ4M6tTwKHIlxOob2bgh0NRQ==", - "dependencies": { - "Microsoft.SourceLink.AzureRepos.Git": "1.1.1", - "Microsoft.SourceLink.Bitbucket.Git": "1.1.1", - "Microsoft.SourceLink.GitHub": "1.1.1", - "Microsoft.SourceLink.GitLab": "1.1.1" - } - }, - "Elastic.Transport": { - "type": "Direct", - "requested": "[0.4.22, )", - "resolved": "0.4.22", - "contentHash": "9J5GPHJcT8sewn2zVfWTrsCQvfQYgUiY/jx+IRjWUk7XNPd837qfEL42I5baH69cyW/e4RoDy8v76yxqz95tDw==", - "dependencies": { - "Microsoft.CSharp": "4.7.0", - "System.Buffers": "4.5.1", - "System.Diagnostics.DiagnosticSource": "8.0.0", - "System.Text.Json": "8.0.4", - "System.Threading.Tasks.Extensions": "4.5.4" - } - }, - "Microsoft.NETFramework.ReferenceAssemblies": { - "type": "Direct", - "requested": "[1.0.3, )", - "resolved": "1.0.3", - "contentHash": "vUc9Npcs14QsyOD01tnv/m8sQUnGTGOw1BCmKcv77LBJY7OxhJ+zJF7UD/sCL3lYNFuqmQEVlkfS4Quif6FyYg==", - "dependencies": { - "Microsoft.NETFramework.ReferenceAssemblies.net461": "1.0.3" - } - }, - "Microsoft.VisualStudio.Threading.Analyzers": { - "type": "Direct", - "requested": "[17.3.44, )", - "resolved": "17.3.44", - "contentHash": "96TPV4lH1a8iXNoq6sQxSTAXXCewyt2bE7luIZd3kS7Zzs1fs6Uwd9bFg2AxBt1WNPU1ozb3D1olpsoRmLKleA==" - }, - "Microsoft.Bcl.AsyncInterfaces": { - "type": "Transitive", - "resolved": "8.0.0", - "contentHash": "3WA9q9yVqJp222P3x1wYIGDAkpjAku0TMUaaQV22g6L67AI0LdOIrVS7Ht2vJfLHGSPVuqN94vIr15qn+HEkHw==" - }, - "Microsoft.Build.Tasks.Git": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "AT3HlgTjsqHnWpBHSNeR0KxbLZD7bztlZVj7I8vgeYG9SYqbeFGh0TM/KVtC6fg53nrWHl3VfZFvb5BiQFcY6Q==" - }, - "Microsoft.CSharp": { - "type": "Transitive", - "resolved": "4.7.0", - "contentHash": "pTj+D3uJWyN3My70i2Hqo+OXixq3Os2D1nJ2x92FFo6sk8fYS1m1WLNTs0Dc1uPaViH0YvEEwvzddQ7y4rhXmA==" - }, - "Microsoft.NETFramework.ReferenceAssemblies.net461": { - "type": "Transitive", - "resolved": "1.0.3", - "contentHash": "AmOJZwCqnOCNp6PPcf9joyogScWLtwy0M1WkqfEQ0M9nYwyDD7EX9ZjscKS5iYnyvteX7kzSKFCKt9I9dXA6mA==" - }, - "Microsoft.SourceLink.AzureRepos.Git": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "qB5urvw9LO2bG3eVAkuL+2ughxz2rR7aYgm2iyrB8Rlk9cp2ndvGRCvehk3rNIhRuNtQaeKwctOl1KvWiklv5w==", - "dependencies": { - "Microsoft.Build.Tasks.Git": "1.1.1", - "Microsoft.SourceLink.Common": "1.1.1" - } - }, - "Microsoft.SourceLink.Bitbucket.Git": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "cDzxXwlyWpLWaH0em4Idj0H3AmVo3L/6xRXKssYemx+7W52iNskj/SQ4FOmfCb8YQt39otTDNMveCZzYtMoucQ==", - "dependencies": { - "Microsoft.Build.Tasks.Git": "1.1.1", - "Microsoft.SourceLink.Common": "1.1.1" - } - }, - "Microsoft.SourceLink.Common": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "WMcGpWKrmJmzrNeuaEb23bEMnbtR/vLmvZtkAP5qWu7vQsY59GqfRJd65sFpBszbd2k/bQ8cs8eWawQKAabkVg==" - }, - "Microsoft.SourceLink.GitHub": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "IaJGnOv/M7UQjRJks7B6p7pbPnOwisYGOIzqCz5ilGFTApZ3ktOR+6zJ12ZRPInulBmdAf1SrGdDG2MU8g6XTw==", - "dependencies": { - "Microsoft.Build.Tasks.Git": "1.1.1", - "Microsoft.SourceLink.Common": "1.1.1" - } - }, - "Microsoft.SourceLink.GitLab": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "tvsg47DDLqqedlPeYVE2lmiTpND8F0hkrealQ5hYltSmvruy/Gr5nHAKSsjyw5L3NeM/HLMI5ORv7on/M4qyZw==", - "dependencies": { - "Microsoft.Build.Tasks.Git": "1.1.1", - "Microsoft.SourceLink.Common": "1.1.1" - } - }, - "System.Buffers": { - "type": "Transitive", - "resolved": "4.5.1", - "contentHash": "Rw7ijyl1qqRS0YQD/WycNst8hUUMgrMH4FCn1nNm27M4VxchZ1js3fVjQaANHO5f3sN4isvP4a+Met9Y4YomAg==" - }, - "System.Diagnostics.DiagnosticSource": { - "type": "Transitive", - "resolved": "8.0.0", - "contentHash": "c9xLpVz6PL9lp/djOWtk5KPDZq3cSYpmXoJQY524EOtuFl5z9ZtsotpsyrDW40U1DRnQSYvcPKEUV0X//u6gkQ==", - "dependencies": { - "System.Memory": "4.5.5", - "System.Runtime.CompilerServices.Unsafe": "6.0.0" - } - }, - "System.Memory": { - "type": "Transitive", - "resolved": "4.5.5", - "contentHash": "XIWiDvKPXaTveaB7HVganDlOCRoj03l+jrwNvcge/t8vhGYKvqV+dMv6G4SAX2NoNmN0wZfVPTAlFwZcZvVOUw==", - "dependencies": { - "System.Buffers": "4.5.1", - "System.Numerics.Vectors": "4.4.0", - "System.Runtime.CompilerServices.Unsafe": "4.5.3" - } - }, - "System.Numerics.Vectors": { - "type": "Transitive", - "resolved": "4.4.0", - "contentHash": "UiLzLW+Lw6HLed1Hcg+8jSRttrbuXv7DANVj0DkL9g6EnnzbL75EB7EWsw5uRbhxd/4YdG8li5XizGWepmG3PQ==" - }, - "System.Runtime.CompilerServices.Unsafe": { - "type": "Transitive", - "resolved": "6.0.0", - "contentHash": "/iUeP3tq1S0XdNNoMz5C9twLSrM/TH+qElHkXWaPvuNOt+99G75NrV0OS2EqHx5wMN7popYjpc8oTjC1y16DLg==" - }, - "System.Text.Encodings.Web": { - "type": "Transitive", - "resolved": "8.0.0", - "contentHash": "yev/k9GHAEGx2Rg3/tU6MQh4HGBXJs70y7j1LaM1i/ER9po+6nnQ6RRqTJn1E7Xu0fbIFK80Nh5EoODxrbxwBQ==", - "dependencies": { - "System.Buffers": "4.5.1", - "System.Memory": "4.5.5", - "System.Runtime.CompilerServices.Unsafe": "6.0.0" - } - }, - "System.Text.Json": { - "type": "Transitive", - "resolved": "8.0.4", - "contentHash": "bAkhgDJ88XTsqczoxEMliSrpijKZHhbJQldhAmObj/RbrN3sU5dcokuXmWJWsdQAhiMJ9bTayWsL1C9fbbCRhw==", - "dependencies": { - "Microsoft.Bcl.AsyncInterfaces": "8.0.0", - "System.Buffers": "4.5.1", - "System.Memory": "4.5.5", - "System.Runtime.CompilerServices.Unsafe": "6.0.0", - "System.Text.Encodings.Web": "8.0.0", - "System.Threading.Tasks.Extensions": "4.5.4" - } - }, - "System.Threading.Tasks.Extensions": { - "type": "Transitive", - "resolved": "4.5.4", - "contentHash": "zteT+G8xuGu6mS+mzDzYXbzS7rd3K6Fjb9RiZlYlJPam2/hU7JCBZBVEcywNuR+oZ1ncTvc/cq0faRr3P01OVg==", - "dependencies": { - "System.Runtime.CompilerServices.Unsafe": "4.5.3" - } - } - }, - "net6.0": { - "ConfigureAwaitChecker.Analyzer": { - "type": "Direct", - "requested": "[5.0.0.1, )", - "resolved": "5.0.0.1", - "contentHash": "jqOPPOJzHiUajPVGNw0MJzqUYLM3nHYEXEo1X91VqbwBqvq0+u8ASgcdmlmr4E9ffWJkjIo8vPEH9EMrKh69EQ==" - }, - "DotNet.ReproducibleBuilds": { - "type": "Direct", - "requested": "[1.1.1, )", - "resolved": "1.1.1", - "contentHash": "+H2t/t34h6mhEoUvHi8yGXyuZ2GjSovcGYehJrS2MDm2XgmPfZL2Sdxg+uL2lKgZ4M6tTwKHIlxOob2bgh0NRQ==", - "dependencies": { - "Microsoft.SourceLink.AzureRepos.Git": "1.1.1", - "Microsoft.SourceLink.Bitbucket.Git": "1.1.1", - "Microsoft.SourceLink.GitHub": "1.1.1", - "Microsoft.SourceLink.GitLab": "1.1.1" - } - }, - "Elastic.Transport": { - "type": "Direct", - "requested": "[0.4.22, )", - "resolved": "0.4.22", - "contentHash": "9J5GPHJcT8sewn2zVfWTrsCQvfQYgUiY/jx+IRjWUk7XNPd837qfEL42I5baH69cyW/e4RoDy8v76yxqz95tDw==", - "dependencies": { - "System.Diagnostics.DiagnosticSource": "8.0.0", - "System.Text.Json": "8.0.4" - } - }, - "Microsoft.NETFramework.ReferenceAssemblies": { - "type": "Direct", - "requested": "[1.0.3, )", - "resolved": "1.0.3", - "contentHash": "vUc9Npcs14QsyOD01tnv/m8sQUnGTGOw1BCmKcv77LBJY7OxhJ+zJF7UD/sCL3lYNFuqmQEVlkfS4Quif6FyYg==", - "dependencies": { - "Microsoft.NETFramework.ReferenceAssemblies.net461": "1.0.3" - } - }, - "Microsoft.VisualStudio.Threading.Analyzers": { - "type": "Direct", - "requested": "[17.3.44, )", - "resolved": "17.3.44", - "contentHash": "96TPV4lH1a8iXNoq6sQxSTAXXCewyt2bE7luIZd3kS7Zzs1fs6Uwd9bFg2AxBt1WNPU1ozb3D1olpsoRmLKleA==" - }, - "Microsoft.Build.Tasks.Git": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "AT3HlgTjsqHnWpBHSNeR0KxbLZD7bztlZVj7I8vgeYG9SYqbeFGh0TM/KVtC6fg53nrWHl3VfZFvb5BiQFcY6Q==" - }, - "Microsoft.NETFramework.ReferenceAssemblies.net461": { - "type": "Transitive", - "resolved": "1.0.3", - "contentHash": "AmOJZwCqnOCNp6PPcf9joyogScWLtwy0M1WkqfEQ0M9nYwyDD7EX9ZjscKS5iYnyvteX7kzSKFCKt9I9dXA6mA==" - }, - "Microsoft.SourceLink.AzureRepos.Git": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "qB5urvw9LO2bG3eVAkuL+2ughxz2rR7aYgm2iyrB8Rlk9cp2ndvGRCvehk3rNIhRuNtQaeKwctOl1KvWiklv5w==", - "dependencies": { - "Microsoft.Build.Tasks.Git": "1.1.1", - "Microsoft.SourceLink.Common": "1.1.1" - } - }, - "Microsoft.SourceLink.Bitbucket.Git": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "cDzxXwlyWpLWaH0em4Idj0H3AmVo3L/6xRXKssYemx+7W52iNskj/SQ4FOmfCb8YQt39otTDNMveCZzYtMoucQ==", - "dependencies": { - "Microsoft.Build.Tasks.Git": "1.1.1", - "Microsoft.SourceLink.Common": "1.1.1" - } - }, - "Microsoft.SourceLink.Common": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "WMcGpWKrmJmzrNeuaEb23bEMnbtR/vLmvZtkAP5qWu7vQsY59GqfRJd65sFpBszbd2k/bQ8cs8eWawQKAabkVg==" - }, - "Microsoft.SourceLink.GitHub": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "IaJGnOv/M7UQjRJks7B6p7pbPnOwisYGOIzqCz5ilGFTApZ3ktOR+6zJ12ZRPInulBmdAf1SrGdDG2MU8g6XTw==", - "dependencies": { - "Microsoft.Build.Tasks.Git": "1.1.1", - "Microsoft.SourceLink.Common": "1.1.1" - } - }, - "Microsoft.SourceLink.GitLab": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "tvsg47DDLqqedlPeYVE2lmiTpND8F0hkrealQ5hYltSmvruy/Gr5nHAKSsjyw5L3NeM/HLMI5ORv7on/M4qyZw==", - "dependencies": { - "Microsoft.Build.Tasks.Git": "1.1.1", - "Microsoft.SourceLink.Common": "1.1.1" - } - }, - "System.Diagnostics.DiagnosticSource": { - "type": "Transitive", - "resolved": "8.0.0", - "contentHash": "c9xLpVz6PL9lp/djOWtk5KPDZq3cSYpmXoJQY524EOtuFl5z9ZtsotpsyrDW40U1DRnQSYvcPKEUV0X//u6gkQ==", - "dependencies": { - "System.Runtime.CompilerServices.Unsafe": "6.0.0" - } - }, - "System.Runtime.CompilerServices.Unsafe": { - "type": "Transitive", - "resolved": "6.0.0", - "contentHash": "/iUeP3tq1S0XdNNoMz5C9twLSrM/TH+qElHkXWaPvuNOt+99G75NrV0OS2EqHx5wMN7popYjpc8oTjC1y16DLg==" - }, - "System.Text.Encodings.Web": { - "type": "Transitive", - "resolved": "8.0.0", - "contentHash": "yev/k9GHAEGx2Rg3/tU6MQh4HGBXJs70y7j1LaM1i/ER9po+6nnQ6RRqTJn1E7Xu0fbIFK80Nh5EoODxrbxwBQ==", - "dependencies": { - "System.Runtime.CompilerServices.Unsafe": "6.0.0" - } - }, - "System.Text.Json": { - "type": "Transitive", - "resolved": "8.0.4", - "contentHash": "bAkhgDJ88XTsqczoxEMliSrpijKZHhbJQldhAmObj/RbrN3sU5dcokuXmWJWsdQAhiMJ9bTayWsL1C9fbbCRhw==", - "dependencies": { - "System.Runtime.CompilerServices.Unsafe": "6.0.0", - "System.Text.Encodings.Web": "8.0.0" - } - } - }, - "net8.0": { - "ConfigureAwaitChecker.Analyzer": { - "type": "Direct", - "requested": "[5.0.0.1, )", - "resolved": "5.0.0.1", - "contentHash": "jqOPPOJzHiUajPVGNw0MJzqUYLM3nHYEXEo1X91VqbwBqvq0+u8ASgcdmlmr4E9ffWJkjIo8vPEH9EMrKh69EQ==" - }, - "DotNet.ReproducibleBuilds": { - "type": "Direct", - "requested": "[1.1.1, )", - "resolved": "1.1.1", - "contentHash": "+H2t/t34h6mhEoUvHi8yGXyuZ2GjSovcGYehJrS2MDm2XgmPfZL2Sdxg+uL2lKgZ4M6tTwKHIlxOob2bgh0NRQ==", - "dependencies": { - "Microsoft.SourceLink.AzureRepos.Git": "1.1.1", - "Microsoft.SourceLink.Bitbucket.Git": "1.1.1", - "Microsoft.SourceLink.GitHub": "1.1.1", - "Microsoft.SourceLink.GitLab": "1.1.1" - } - }, - "Elastic.Transport": { - "type": "Direct", - "requested": "[0.4.22, )", - "resolved": "0.4.22", - "contentHash": "9J5GPHJcT8sewn2zVfWTrsCQvfQYgUiY/jx+IRjWUk7XNPd837qfEL42I5baH69cyW/e4RoDy8v76yxqz95tDw==" - }, - "Microsoft.NETFramework.ReferenceAssemblies": { - "type": "Direct", - "requested": "[1.0.3, )", - "resolved": "1.0.3", - "contentHash": "vUc9Npcs14QsyOD01tnv/m8sQUnGTGOw1BCmKcv77LBJY7OxhJ+zJF7UD/sCL3lYNFuqmQEVlkfS4Quif6FyYg==", - "dependencies": { - "Microsoft.NETFramework.ReferenceAssemblies.net461": "1.0.3" - } - }, - "Microsoft.VisualStudio.Threading.Analyzers": { - "type": "Direct", - "requested": "[17.3.44, )", - "resolved": "17.3.44", - "contentHash": "96TPV4lH1a8iXNoq6sQxSTAXXCewyt2bE7luIZd3kS7Zzs1fs6Uwd9bFg2AxBt1WNPU1ozb3D1olpsoRmLKleA==" - }, - "Microsoft.Build.Tasks.Git": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "AT3HlgTjsqHnWpBHSNeR0KxbLZD7bztlZVj7I8vgeYG9SYqbeFGh0TM/KVtC6fg53nrWHl3VfZFvb5BiQFcY6Q==" - }, - "Microsoft.NETFramework.ReferenceAssemblies.net461": { - "type": "Transitive", - "resolved": "1.0.3", - "contentHash": "AmOJZwCqnOCNp6PPcf9joyogScWLtwy0M1WkqfEQ0M9nYwyDD7EX9ZjscKS5iYnyvteX7kzSKFCKt9I9dXA6mA==" - }, - "Microsoft.SourceLink.AzureRepos.Git": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "qB5urvw9LO2bG3eVAkuL+2ughxz2rR7aYgm2iyrB8Rlk9cp2ndvGRCvehk3rNIhRuNtQaeKwctOl1KvWiklv5w==", - "dependencies": { - "Microsoft.Build.Tasks.Git": "1.1.1", - "Microsoft.SourceLink.Common": "1.1.1" - } - }, - "Microsoft.SourceLink.Bitbucket.Git": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "cDzxXwlyWpLWaH0em4Idj0H3AmVo3L/6xRXKssYemx+7W52iNskj/SQ4FOmfCb8YQt39otTDNMveCZzYtMoucQ==", - "dependencies": { - "Microsoft.Build.Tasks.Git": "1.1.1", - "Microsoft.SourceLink.Common": "1.1.1" - } - }, - "Microsoft.SourceLink.Common": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "WMcGpWKrmJmzrNeuaEb23bEMnbtR/vLmvZtkAP5qWu7vQsY59GqfRJd65sFpBszbd2k/bQ8cs8eWawQKAabkVg==" - }, - "Microsoft.SourceLink.GitHub": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "IaJGnOv/M7UQjRJks7B6p7pbPnOwisYGOIzqCz5ilGFTApZ3ktOR+6zJ12ZRPInulBmdAf1SrGdDG2MU8g6XTw==", - "dependencies": { - "Microsoft.Build.Tasks.Git": "1.1.1", - "Microsoft.SourceLink.Common": "1.1.1" - } - }, - "Microsoft.SourceLink.GitLab": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "tvsg47DDLqqedlPeYVE2lmiTpND8F0hkrealQ5hYltSmvruy/Gr5nHAKSsjyw5L3NeM/HLMI5ORv7on/M4qyZw==", - "dependencies": { - "Microsoft.Build.Tasks.Git": "1.1.1", - "Microsoft.SourceLink.Common": "1.1.1" - } - } - } - } -} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Elastic.Clients.Elasticsearch.Shared.projitems b/src/Elastic.Clients.Elasticsearch.Shared/Elastic.Clients.Elasticsearch.Shared.projitems deleted file mode 100644 index c80a96ccde6..00000000000 --- a/src/Elastic.Clients.Elasticsearch.Shared/Elastic.Clients.Elasticsearch.Shared.projitems +++ /dev/null @@ -1,14 +0,0 @@ - - - - $(MSBuildAllProjects);$(MSBuildThisFileFullPath) - true - a90dd7b8-8afb-4be9-aa16-b159a880e79d - - - Elastic.Clients.Elasticsearch.Shared - - - - - \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Elastic.Clients.Elasticsearch.Shared.shproj b/src/Elastic.Clients.Elasticsearch.Shared/Elastic.Clients.Elasticsearch.Shared.shproj deleted file mode 100644 index 031926721c4..00000000000 --- a/src/Elastic.Clients.Elasticsearch.Shared/Elastic.Clients.Elasticsearch.Shared.shproj +++ /dev/null @@ -1,13 +0,0 @@ - - - - a90dd7b8-8afb-4be9-aa16-b159a880e79d - 14.0 - - - - - - - - diff --git a/src/Elastic.Clients.Elasticsearch/Elastic.Clients.Elasticsearch.csproj b/src/Elastic.Clients.Elasticsearch/Elastic.Clients.Elasticsearch.csproj index 471b0b5f829..739f01d3602 100644 --- a/src/Elastic.Clients.Elasticsearch/Elastic.Clients.Elasticsearch.csproj +++ b/src/Elastic.Clients.Elasticsearch/Elastic.Clients.Elasticsearch.csproj @@ -22,10 +22,6 @@ - - all - runtime; build; native; contentfiles; analyzers - @@ -40,8 +36,4 @@ - - - - \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Api/AsyncSearch/GetAsyncSearchRequest.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Api/AsyncSearch/GetAsyncSearchRequest.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Api/AsyncSearch/GetAsyncSearchRequest.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Api/AsyncSearch/GetAsyncSearchRequest.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Api/AsyncSearch/SubmitAsyncSearchRequest.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Api/AsyncSearch/SubmitAsyncSearchRequest.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Api/AsyncSearch/SubmitAsyncSearchRequest.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Api/AsyncSearch/SubmitAsyncSearchRequest.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Api/BulkRequest.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Api/BulkRequest.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Api/BulkRequest.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Api/BulkRequest.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Api/BulkResponse.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Api/BulkResponse.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Api/BulkResponse.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Api/BulkResponse.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Api/CountRequest.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Api/CountRequest.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Api/CountRequest.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Api/CountRequest.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Api/CreateRequest.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Api/CreateRequest.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Api/CreateRequest.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Api/CreateRequest.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Api/DeleteRequest.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Api/DeleteRequest.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Api/DeleteRequest.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Api/DeleteRequest.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Api/Eql/EqlGetResponse.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Api/Eql/EqlGetResponse.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Api/Eql/EqlGetResponse.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Api/Eql/EqlGetResponse.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Api/Esql/EsqlQueryRequest.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Api/Esql/EsqlQueryRequest.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Api/Esql/EsqlQueryRequest.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Api/Esql/EsqlQueryRequest.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Api/Esql/EsqlQueryResponse.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Api/Esql/EsqlQueryResponse.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Api/Esql/EsqlQueryResponse.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Api/Esql/EsqlQueryResponse.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Api/ExistsRequest.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Api/ExistsRequest.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Api/ExistsRequest.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Api/ExistsRequest.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Api/ExistsResponse.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Api/ExistsResponse.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Api/ExistsResponse.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Api/ExistsResponse.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Api/ExistsSourceResponse.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Api/ExistsSourceResponse.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Api/ExistsSourceResponse.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Api/ExistsSourceResponse.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Api/GetSourceRequestDescriptor.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Api/GetSourceRequestDescriptor.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Api/GetSourceRequestDescriptor.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Api/GetSourceRequestDescriptor.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Api/GetSourceResponse.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Api/GetSourceResponse.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Api/GetSourceResponse.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Api/GetSourceResponse.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Api/IndexManagement/ExistsAliasResponse.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Api/IndexManagement/ExistsAliasResponse.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Api/IndexManagement/ExistsAliasResponse.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Api/IndexManagement/ExistsAliasResponse.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Api/IndexManagement/ExistsIndexTemplateResponse.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Api/IndexManagement/ExistsIndexTemplateResponse.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Api/IndexManagement/ExistsIndexTemplateResponse.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Api/IndexManagement/ExistsIndexTemplateResponse.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Api/IndexManagement/ExistsResponse.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Api/IndexManagement/ExistsResponse.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Api/IndexManagement/ExistsResponse.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Api/IndexManagement/ExistsResponse.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Api/IndexManagement/ExistsTemplateResponse.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Api/IndexManagement/ExistsTemplateResponse.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Api/IndexManagement/ExistsTemplateResponse.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Api/IndexManagement/ExistsTemplateResponse.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Api/IndexManagement/GetAliasResponse.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Api/IndexManagement/GetAliasResponse.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Api/IndexManagement/GetAliasResponse.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Api/IndexManagement/GetAliasResponse.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Api/IndexManagement/GetFieldMappingResponse.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Api/IndexManagement/GetFieldMappingResponse.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Api/IndexManagement/GetFieldMappingResponse.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Api/IndexManagement/GetFieldMappingResponse.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Api/IndexManagement/GetIndexResponse.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Api/IndexManagement/GetIndexResponse.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Api/IndexManagement/GetIndexResponse.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Api/IndexManagement/GetIndexResponse.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Api/IndexManagement/GetMappingResponse.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Api/IndexManagement/GetMappingResponse.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Api/IndexManagement/GetMappingResponse.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Api/IndexManagement/GetMappingResponse.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Api/IndexRequest.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Api/IndexRequest.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Api/IndexRequest.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Api/IndexRequest.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Api/Ingest/GetPipelineResponse.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Api/Ingest/GetPipelineResponse.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Api/Ingest/GetPipelineResponse.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Api/Ingest/GetPipelineResponse.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Api/MultiSearchRequest.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Api/MultiSearchRequest.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Api/MultiSearchRequest.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Api/MultiSearchRequest.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Api/ResponseItem.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Api/ResponseItem.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Api/ResponseItem.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Api/ResponseItem.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Api/ScrollResponse.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Api/ScrollResponse.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Api/ScrollResponse.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Api/ScrollResponse.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Api/SearchRequest.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Api/SearchRequest.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Api/SearchRequest.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Api/SearchRequest.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Api/SearchResponse.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Api/SearchResponse.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Api/SearchResponse.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Api/SearchResponse.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Api/Sql/GetAsyncResponse.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Api/Sql/GetAsyncResponse.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Api/Sql/GetAsyncResponse.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Api/Sql/GetAsyncResponse.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Api/Sql/QueryResponse.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Api/Sql/QueryResponse.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Api/Sql/QueryResponse.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Api/Sql/QueryResponse.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Client/ElasticsearchClient-BulkAll.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Client/ElasticsearchClient-BulkAll.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Client/ElasticsearchClient-BulkAll.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Client/ElasticsearchClient-BulkAll.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Client/ElasticsearchClient-Manual.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Client/ElasticsearchClient-Manual.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Client/ElasticsearchClient-Manual.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Client/ElasticsearchClient-Manual.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Client/ElasticsearchClient.Esql.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Client/ElasticsearchClient.Esql.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Client/ElasticsearchClient.Esql.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Client/ElasticsearchClient.Esql.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Client/ElasticsearchClient.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Client/ElasticsearchClient.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Client/ElasticsearchClient.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Client/ElasticsearchClient.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Client/ElasticsearchResponseBaseExtensions.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Client/ElasticsearchResponseBaseExtensions.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Client/ElasticsearchResponseBaseExtensions.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Client/ElasticsearchResponseBaseExtensions.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Client/IndexManyExtensions.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Client/IndexManyExtensions.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Client/IndexManyExtensions.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Client/IndexManyExtensions.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Client/IndicesNamespace.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Client/IndicesNamespace.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Client/IndicesNamespace.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Client/IndicesNamespace.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Client/NamespacedClientProxy.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Client/NamespacedClientProxy.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Client/NamespacedClientProxy.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Client/NamespacedClientProxy.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Core/Configuration/ClrTypeDefaults.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Core/Configuration/ClrTypeDefaults.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Core/Configuration/ClrTypeDefaults.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Core/Configuration/ClrTypeDefaults.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Core/Configuration/ElasticsearchClientSettings.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Core/Configuration/ElasticsearchClientSettings.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Core/Configuration/ElasticsearchClientSettings.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Core/Configuration/ElasticsearchClientSettings.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Core/Configuration/IElasticsearchClientSettings.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Core/Configuration/IElasticsearchClientSettings.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Core/Configuration/IElasticsearchClientSettings.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Core/Configuration/IElasticsearchClientSettings.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Core/Configuration/MemberInfoResolver.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Core/Configuration/MemberInfoResolver.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Core/Configuration/MemberInfoResolver.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Core/Configuration/MemberInfoResolver.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Core/DateTime/DateMath/DateMath.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Core/DateTime/DateMath/DateMath.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Core/DateTime/DateMath/DateMath.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Core/DateTime/DateMath/DateMath.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Core/DateTime/DateMath/DateMathExpression.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Core/DateTime/DateMath/DateMathExpression.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Core/DateTime/DateMath/DateMathExpression.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Core/DateTime/DateMath/DateMathExpression.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Core/DateTime/DateMath/DateMathOperation.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Core/DateTime/DateMath/DateMathOperation.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Core/DateTime/DateMath/DateMathOperation.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Core/DateTime/DateMath/DateMathOperation.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Core/DateTime/DateMath/DateMathTime.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Core/DateTime/DateMath/DateMathTime.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Core/DateTime/DateMath/DateMathTime.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Core/DateTime/DateMath/DateMathTime.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Core/DateTime/DateMath/DateMathTimeUnit.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Core/DateTime/DateMath/DateMathTimeUnit.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Core/DateTime/DateMath/DateMathTimeUnit.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Core/DateTime/DateMath/DateMathTimeUnit.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Core/DateTime/Duration.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Core/DateTime/Duration.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Core/DateTime/Duration.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Core/DateTime/Duration.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Core/DateTime/TimeUnit.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Core/DateTime/TimeUnit.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Core/DateTime/TimeUnit.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Core/DateTime/TimeUnit.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Core/EmptyReadOnly.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Core/EmptyReadOnly.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Core/EmptyReadOnly.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Core/EmptyReadOnly.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Core/EmptyReadOnlyExtensions.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Core/EmptyReadOnlyExtensions.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Core/EmptyReadOnlyExtensions.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Core/EmptyReadOnlyExtensions.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Core/Exceptions/ThrowHelper.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Core/Exceptions/ThrowHelper.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Core/Exceptions/ThrowHelper.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Core/Exceptions/ThrowHelper.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Core/Extensions/ExceptionExtensions.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Core/Extensions/ExceptionExtensions.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Core/Extensions/ExceptionExtensions.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Core/Extensions/ExceptionExtensions.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Core/Extensions/ExpressionExtensions.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Core/Extensions/ExpressionExtensions.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Core/Extensions/ExpressionExtensions.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Core/Extensions/ExpressionExtensions.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Core/Extensions/Extensions.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Core/Extensions/Extensions.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Core/Extensions/Extensions.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Core/Extensions/Extensions.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Core/Extensions/StringExtensions.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Core/Extensions/StringExtensions.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Core/Extensions/StringExtensions.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Core/Extensions/StringExtensions.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Core/Extensions/SuffixExtensions.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Core/Extensions/SuffixExtensions.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Core/Extensions/SuffixExtensions.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Core/Extensions/SuffixExtensions.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Core/Extensions/TaskExtensions.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Core/Extensions/TaskExtensions.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Core/Extensions/TaskExtensions.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Core/Extensions/TaskExtensions.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Core/Extensions/TypeExtensions.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Core/Extensions/TypeExtensions.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Core/Extensions/TypeExtensions.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Core/Extensions/TypeExtensions.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Core/Fields/FieldValue.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Core/Fields/FieldValue.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Core/Fields/FieldValue.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Core/Fields/FieldValue.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Core/Fields/FieldValues.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Core/Fields/FieldValues.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Core/Fields/FieldValues.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Core/Fields/FieldValues.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Core/Fluent/Descriptor.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Core/Fluent/Descriptor.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Core/Fluent/Descriptor.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Core/Fluent/Descriptor.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Core/Fluent/Fluent.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Core/Fluent/Fluent.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Core/Fluent/Fluent.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Core/Fluent/Fluent.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Core/Fluent/FluentDictionary.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Core/Fluent/FluentDictionary.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Core/Fluent/FluentDictionary.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Core/Fluent/FluentDictionary.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Core/Fluent/IBuildableDescriptor.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Core/Fluent/IBuildableDescriptor.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Core/Fluent/IBuildableDescriptor.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Core/Fluent/IBuildableDescriptor.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Core/Fluent/Promise/IPromise.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Core/Fluent/Promise/IPromise.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Core/Fluent/Promise/IPromise.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Core/Fluent/Promise/IPromise.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Core/Fluent/Promise/IsADictionaryDescriptor.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Core/Fluent/Promise/IsADictionaryDescriptor.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Core/Fluent/Promise/IsADictionaryDescriptor.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Core/Fluent/Promise/IsADictionaryDescriptor.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Core/Fluent/Promise/PromiseDescriptor.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Core/Fluent/Promise/PromiseDescriptor.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Core/Fluent/Promise/PromiseDescriptor.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Core/Fluent/Promise/PromiseDescriptor.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Core/IComplexUnion.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Core/IComplexUnion.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Core/IComplexUnion.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Core/IComplexUnion.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Core/IEnumStruct.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Core/IEnumStruct.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Core/IEnumStruct.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Core/IEnumStruct.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Core/Infer/DefaultPropertyMappingProvider.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Core/Infer/DefaultPropertyMappingProvider.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Core/Infer/DefaultPropertyMappingProvider.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Core/Infer/DefaultPropertyMappingProvider.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Core/Infer/DocumentPath/DocumentPath.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Core/Infer/DocumentPath/DocumentPath.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Core/Infer/DocumentPath/DocumentPath.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Core/Infer/DocumentPath/DocumentPath.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Core/Infer/Field/Field.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Core/Infer/Field/Field.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Core/Infer/Field/Field.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Core/Infer/Field/Field.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Core/Infer/Field/FieldConverter.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Core/Infer/Field/FieldConverter.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Core/Infer/Field/FieldConverter.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Core/Infer/Field/FieldConverter.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Core/Infer/Field/FieldExpressionVisitor.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Core/Infer/Field/FieldExpressionVisitor.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Core/Infer/Field/FieldExpressionVisitor.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Core/Infer/Field/FieldExpressionVisitor.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Core/Infer/Field/FieldExtensions.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Core/Infer/Field/FieldExtensions.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Core/Infer/Field/FieldExtensions.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Core/Infer/Field/FieldExtensions.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Core/Infer/Field/FieldResolver.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Core/Infer/Field/FieldResolver.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Core/Infer/Field/FieldResolver.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Core/Infer/Field/FieldResolver.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Core/Infer/Field/ToStringExpressionVisitor.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Core/Infer/Field/ToStringExpressionVisitor.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Core/Infer/Field/ToStringExpressionVisitor.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Core/Infer/Field/ToStringExpressionVisitor.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Core/Infer/Fields/Fields.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Core/Infer/Fields/Fields.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Core/Infer/Fields/Fields.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Core/Infer/Fields/Fields.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Core/Infer/Fields/FieldsConverter.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Core/Infer/Fields/FieldsConverter.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Core/Infer/Fields/FieldsConverter.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Core/Infer/Fields/FieldsConverter.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Core/Infer/Fields/FieldsDescriptor.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Core/Infer/Fields/FieldsDescriptor.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Core/Infer/Fields/FieldsDescriptor.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Core/Infer/Fields/FieldsDescriptor.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Core/Infer/IPropertyMappingProvider.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Core/Infer/IPropertyMappingProvider.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Core/Infer/IPropertyMappingProvider.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Core/Infer/IPropertyMappingProvider.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Core/Infer/Id/Id.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Core/Infer/Id/Id.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Core/Infer/Id/Id.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Core/Infer/Id/Id.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Core/Infer/Id/IdConverter.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Core/Infer/Id/IdConverter.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Core/Infer/Id/IdConverter.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Core/Infer/Id/IdConverter.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Core/Infer/Id/IdExtensions.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Core/Infer/Id/IdExtensions.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Core/Infer/Id/IdExtensions.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Core/Infer/Id/IdExtensions.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Core/Infer/Id/IdResolver.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Core/Infer/Id/IdResolver.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Core/Infer/Id/IdResolver.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Core/Infer/Id/IdResolver.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Core/Infer/Id/Ids.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Core/Infer/Id/Ids.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Core/Infer/Id/Ids.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Core/Infer/Id/Ids.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Core/Infer/Id/IdsConverter.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Core/Infer/Id/IdsConverter.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Core/Infer/Id/IdsConverter.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Core/Infer/Id/IdsConverter.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Core/Infer/IndexName/IndexName.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Core/Infer/IndexName/IndexName.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Core/Infer/IndexName/IndexName.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Core/Infer/IndexName/IndexName.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Core/Infer/IndexName/IndexNameConverter.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Core/Infer/IndexName/IndexNameConverter.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Core/Infer/IndexName/IndexNameConverter.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Core/Infer/IndexName/IndexNameConverter.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Core/Infer/IndexName/IndexNameExtensions.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Core/Infer/IndexName/IndexNameExtensions.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Core/Infer/IndexName/IndexNameExtensions.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Core/Infer/IndexName/IndexNameExtensions.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Core/Infer/IndexName/IndexNameResolver.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Core/Infer/IndexName/IndexNameResolver.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Core/Infer/IndexName/IndexNameResolver.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Core/Infer/IndexName/IndexNameResolver.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Core/Infer/Indices/Indices.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Core/Infer/Indices/Indices.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Core/Infer/Indices/Indices.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Core/Infer/Indices/Indices.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Core/Infer/Inferrer.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Core/Infer/Inferrer.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Core/Infer/Inferrer.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Core/Infer/Inferrer.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Core/Infer/JoinField.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Core/Infer/JoinField.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Core/Infer/JoinField.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Core/Infer/JoinField.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Core/Infer/JoinFieldConverter.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Core/Infer/JoinFieldConverter.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Core/Infer/JoinFieldConverter.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Core/Infer/JoinFieldConverter.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Core/Infer/JoinFieldRouting/Routing.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Core/Infer/JoinFieldRouting/Routing.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Core/Infer/JoinFieldRouting/Routing.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Core/Infer/JoinFieldRouting/Routing.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Core/Infer/JoinFieldRouting/RoutingConverter.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Core/Infer/JoinFieldRouting/RoutingConverter.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Core/Infer/JoinFieldRouting/RoutingConverter.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Core/Infer/JoinFieldRouting/RoutingConverter.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Core/Infer/Metric/Metrics.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Core/Infer/Metric/Metrics.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Core/Infer/Metric/Metrics.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Core/Infer/Metric/Metrics.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Core/Infer/PropertyMapping.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Core/Infer/PropertyMapping.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Core/Infer/PropertyMapping.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Core/Infer/PropertyMapping.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Core/Infer/PropertyName/PropertyName.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Core/Infer/PropertyName/PropertyName.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Core/Infer/PropertyName/PropertyName.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Core/Infer/PropertyName/PropertyName.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Core/Infer/PropertyName/PropertyNameExtensions.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Core/Infer/PropertyName/PropertyNameExtensions.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Core/Infer/PropertyName/PropertyNameExtensions.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Core/Infer/PropertyName/PropertyNameExtensions.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Core/Infer/RelationName/RelationName.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Core/Infer/RelationName/RelationName.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Core/Infer/RelationName/RelationName.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Core/Infer/RelationName/RelationName.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Core/Infer/RelationName/RelationNameResolver.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Core/Infer/RelationName/RelationNameResolver.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Core/Infer/RelationName/RelationNameResolver.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Core/Infer/RelationName/RelationNameResolver.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Core/Infer/RoutingResolver.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Core/Infer/RoutingResolver.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Core/Infer/RoutingResolver.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Core/Infer/RoutingResolver.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Core/Infer/Timestamp/Timestamp.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Core/Infer/Timestamp/Timestamp.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Core/Infer/Timestamp/Timestamp.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Core/Infer/Timestamp/Timestamp.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Core/IsADictionary.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Core/IsADictionary.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Core/IsADictionary.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Core/IsADictionary.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Core/IsAReadOnlyDictionary.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Core/IsAReadOnlyDictionary.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Core/IsAReadOnlyDictionary.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Core/IsAReadOnlyDictionary.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Core/LazyJson.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Core/LazyJson.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Core/LazyJson.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Core/LazyJson.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Core/MinimumShouldMatch.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Core/MinimumShouldMatch.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Core/MinimumShouldMatch.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Core/MinimumShouldMatch.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Core/OpenTelemetry/SemanticConventions.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Core/OpenTelemetry/SemanticConventions.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Core/OpenTelemetry/SemanticConventions.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Core/OpenTelemetry/SemanticConventions.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Core/RawJsonString.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Core/RawJsonString.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Core/RawJsonString.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Core/RawJsonString.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Core/ReadOnlyFieldDictionary.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Core/ReadOnlyFieldDictionary.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Core/ReadOnlyFieldDictionary.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Core/ReadOnlyFieldDictionary.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Core/ReadOnlyIndexNameDictionary.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Core/ReadOnlyIndexNameDictionary.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Core/ReadOnlyIndexNameDictionary.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Core/ReadOnlyIndexNameDictionary.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Core/Request/ApiUrls.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Core/Request/ApiUrls.cs similarity index 96% rename from src/Elastic.Clients.Elasticsearch.Shared/Core/Request/ApiUrls.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Core/Request/ApiUrls.cs index 4cd324be8cd..8fbd5de5eab 100644 --- a/src/Elastic.Clients.Elasticsearch.Shared/Core/Request/ApiUrls.cs +++ b/src/Elastic.Clients.Elasticsearch/_Shared/Core/Request/ApiUrls.cs @@ -56,7 +56,7 @@ internal ApiUrls(string[] routes) } /// - /// Creates a lookup for number of parts <=> list of routes with that number of parts. + /// Creates a lookup for number of parts %lt;=> list of routes with that number of parts. /// allows us to quickly find the right url to use in the list. /// public Dictionary> Routes { get; } diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Core/Request/PlainRequest.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Core/Request/PlainRequest.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Core/Request/PlainRequest.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Core/Request/PlainRequest.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Core/Request/Request.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Core/Request/Request.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Core/Request/Request.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Core/Request/Request.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Core/Request/RequestDescriptor.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Core/Request/RequestDescriptor.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Core/Request/RequestDescriptor.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Core/Request/RequestDescriptor.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Core/Request/RouteValues.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Core/Request/RouteValues.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Core/Request/RouteValues.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Core/Request/RouteValues.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Core/Request/UrlLookup.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Core/Request/UrlLookup.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Core/Request/UrlLookup.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Core/Request/UrlLookup.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Core/Response/DictionaryResponse.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Core/Response/DictionaryResponse.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Core/Response/DictionaryResponse.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Core/Response/DictionaryResponse.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Core/Response/ResolvableDictionaryProxy.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Core/Response/ResolvableDictionaryProxy.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Core/Response/ResolvableDictionaryProxy.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Core/Response/ResolvableDictionaryProxy.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Core/Static/Infer.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Core/Static/Infer.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Core/Static/Infer.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Core/Static/Infer.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Core/Union/Union.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Core/Union/Union.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Core/Union/Union.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Core/Union/Union.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Core/UrlParameters/DataStreamNames/DataStreamName.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Core/UrlParameters/DataStreamNames/DataStreamName.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Core/UrlParameters/DataStreamNames/DataStreamName.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Core/UrlParameters/DataStreamNames/DataStreamName.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Core/UrlParameters/DataStreamNames/DataStreamNames.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Core/UrlParameters/DataStreamNames/DataStreamNames.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Core/UrlParameters/DataStreamNames/DataStreamNames.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Core/UrlParameters/DataStreamNames/DataStreamNames.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Core/UrlParameters/IndexAlias/IndexAlias.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Core/UrlParameters/IndexAlias/IndexAlias.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Core/UrlParameters/IndexAlias/IndexAlias.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Core/UrlParameters/IndexAlias/IndexAlias.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Core/UrlParameters/IndexUuid/IndexUuid.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Core/UrlParameters/IndexUuid/IndexUuid.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Core/UrlParameters/IndexUuid/IndexUuid.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Core/UrlParameters/IndexUuid/IndexUuid.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Core/UrlParameters/Name/Name.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Core/UrlParameters/Name/Name.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Core/UrlParameters/Name/Name.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Core/UrlParameters/Name/Name.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Core/UrlParameters/Name/Names.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Core/UrlParameters/Name/Names.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Core/UrlParameters/Name/Names.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Core/UrlParameters/Name/Names.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Core/UrlParameters/NodeIds/NodeIds.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Core/UrlParameters/NodeIds/NodeIds.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Core/UrlParameters/NodeIds/NodeIds.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Core/UrlParameters/NodeIds/NodeIds.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Core/UrlParameters/ScrollIds/ScrollId.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Core/UrlParameters/ScrollIds/ScrollId.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Core/UrlParameters/ScrollIds/ScrollId.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Core/UrlParameters/ScrollIds/ScrollId.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Core/UrlParameters/ScrollIds/ScrollIds.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Core/UrlParameters/ScrollIds/ScrollIds.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Core/UrlParameters/ScrollIds/ScrollIds.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Core/UrlParameters/ScrollIds/ScrollIds.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Core/UrlParameters/TaskId/TaskId.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Core/UrlParameters/TaskId/TaskId.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Core/UrlParameters/TaskId/TaskId.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Core/UrlParameters/TaskId/TaskId.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Core/UrlParameters/Username/Username.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Core/UrlParameters/Username/Username.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Core/UrlParameters/Username/Username.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Core/UrlParameters/Username/Username.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/CrossPlatform/IsExternalInit.cs b/src/Elastic.Clients.Elasticsearch/_Shared/CrossPlatform/IsExternalInit.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/CrossPlatform/IsExternalInit.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/CrossPlatform/IsExternalInit.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/CrossPlatform/NativeMethods.cs b/src/Elastic.Clients.Elasticsearch/_Shared/CrossPlatform/NativeMethods.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/CrossPlatform/NativeMethods.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/CrossPlatform/NativeMethods.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/CrossPlatform/NullableAttributes.cs b/src/Elastic.Clients.Elasticsearch/_Shared/CrossPlatform/NullableAttributes.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/CrossPlatform/NullableAttributes.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/CrossPlatform/NullableAttributes.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/CrossPlatform/RuntimeInformation.cs b/src/Elastic.Clients.Elasticsearch/_Shared/CrossPlatform/RuntimeInformation.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/CrossPlatform/RuntimeInformation.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/CrossPlatform/RuntimeInformation.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/CrossPlatform/TypeExtensions.cs b/src/Elastic.Clients.Elasticsearch/_Shared/CrossPlatform/TypeExtensions.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/CrossPlatform/TypeExtensions.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/CrossPlatform/TypeExtensions.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Exceptions/UnsupportedProductException.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Exceptions/UnsupportedProductException.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Exceptions/UnsupportedProductException.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Exceptions/UnsupportedProductException.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Helpers/BlockingSubscribeExtensions.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Helpers/BlockingSubscribeExtensions.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Helpers/BlockingSubscribeExtensions.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Helpers/BlockingSubscribeExtensions.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Helpers/BulkAllObservable.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Helpers/BulkAllObservable.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Helpers/BulkAllObservable.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Helpers/BulkAllObservable.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Helpers/BulkAllObserver.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Helpers/BulkAllObserver.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Helpers/BulkAllObserver.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Helpers/BulkAllObserver.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Helpers/BulkAllRequest.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Helpers/BulkAllRequest.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Helpers/BulkAllRequest.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Helpers/BulkAllRequest.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Helpers/BulkAllResponse.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Helpers/BulkAllResponse.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Helpers/BulkAllResponse.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Helpers/BulkAllResponse.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Helpers/CoordinatedRequestDefaults.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Helpers/CoordinatedRequestDefaults.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Helpers/CoordinatedRequestDefaults.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Helpers/CoordinatedRequestDefaults.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Helpers/CoordinatedRequestObserverBase.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Helpers/CoordinatedRequestObserverBase.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Helpers/CoordinatedRequestObserverBase.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Helpers/CoordinatedRequestObserverBase.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Helpers/HelperIdentifiers.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Helpers/HelperIdentifiers.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Helpers/HelperIdentifiers.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Helpers/HelperIdentifiers.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Helpers/IBulkAllRequest.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Helpers/IBulkAllRequest.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Helpers/IBulkAllRequest.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Helpers/IBulkAllRequest.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Helpers/IHelperCallable.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Helpers/IHelperCallable.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Helpers/IHelperCallable.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Helpers/IHelperCallable.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Helpers/PartitionHelper.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Helpers/PartitionHelper.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Helpers/PartitionHelper.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Helpers/PartitionHelper.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Helpers/ProducerConsumerBackPressure.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Helpers/ProducerConsumerBackPressure.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Helpers/ProducerConsumerBackPressure.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Helpers/ProducerConsumerBackPressure.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Helpers/RequestMetaDataExtensions.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Helpers/RequestMetaDataExtensions.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Helpers/RequestMetaDataExtensions.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Helpers/RequestMetaDataExtensions.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Helpers/RequestMetaDataFactory.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Helpers/RequestMetaDataFactory.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Helpers/RequestMetaDataFactory.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Helpers/RequestMetaDataFactory.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Helpers/RequestParametersExtensions.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Helpers/RequestParametersExtensions.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Helpers/RequestParametersExtensions.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Helpers/RequestParametersExtensions.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Serialization/CustomizedNamingPolicy.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Serialization/CustomizedNamingPolicy.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Serialization/CustomizedNamingPolicy.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Serialization/CustomizedNamingPolicy.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Serialization/DefaultRequestResponseSerializer.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Serialization/DefaultRequestResponseSerializer.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Serialization/DefaultRequestResponseSerializer.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Serialization/DefaultRequestResponseSerializer.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Serialization/DefaultSourceSerializer.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Serialization/DefaultSourceSerializer.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Serialization/DefaultSourceSerializer.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Serialization/DefaultSourceSerializer.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Serialization/DictionaryResponseConverter.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Serialization/DictionaryResponseConverter.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Serialization/DictionaryResponseConverter.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Serialization/DictionaryResponseConverter.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Serialization/DoubleWithFractionalPortionConverter.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Serialization/DoubleWithFractionalPortionConverter.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Serialization/DoubleWithFractionalPortionConverter.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Serialization/DoubleWithFractionalPortionConverter.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Serialization/EnumStructConverter.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Serialization/EnumStructConverter.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Serialization/EnumStructConverter.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Serialization/EnumStructConverter.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Serialization/GenericConverterAttribute.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Serialization/GenericConverterAttribute.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Serialization/GenericConverterAttribute.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Serialization/GenericConverterAttribute.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Serialization/ISourceMarker.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Serialization/ISourceMarker.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Serialization/ISourceMarker.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Serialization/ISourceMarker.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Serialization/IStreamSerializable.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Serialization/IStreamSerializable.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Serialization/IStreamSerializable.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Serialization/IStreamSerializable.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Serialization/IUnionVerifiable.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Serialization/IUnionVerifiable.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Serialization/IUnionVerifiable.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Serialization/IUnionVerifiable.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Serialization/InterfaceConverter.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Serialization/InterfaceConverter.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Serialization/InterfaceConverter.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Serialization/InterfaceConverter.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Serialization/InterfaceConverterAttribute.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Serialization/InterfaceConverterAttribute.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Serialization/InterfaceConverterAttribute.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Serialization/InterfaceConverterAttribute.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Serialization/IntermediateSourceConverter.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Serialization/IntermediateSourceConverter.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Serialization/IntermediateSourceConverter.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Serialization/IntermediateSourceConverter.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Serialization/IsADictionaryConverterFactory.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Serialization/IsADictionaryConverterFactory.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Serialization/IsADictionaryConverterFactory.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Serialization/IsADictionaryConverterFactory.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Serialization/JsonConstants.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Serialization/JsonConstants.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Serialization/JsonConstants.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Serialization/JsonConstants.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Serialization/JsonHelper.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Serialization/JsonHelper.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Serialization/JsonHelper.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Serialization/JsonHelper.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Serialization/JsonSerializerOptionsExtensions.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Serialization/JsonSerializerOptionsExtensions.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Serialization/JsonSerializerOptionsExtensions.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Serialization/JsonSerializerOptionsExtensions.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Serialization/KeyValuePairConverter.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Serialization/KeyValuePairConverter.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Serialization/KeyValuePairConverter.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Serialization/KeyValuePairConverter.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Serialization/MultiItemUnionConverter.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Serialization/MultiItemUnionConverter.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Serialization/MultiItemUnionConverter.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Serialization/MultiItemUnionConverter.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Serialization/NumericAliasConverter.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Serialization/NumericAliasConverter.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Serialization/NumericAliasConverter.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Serialization/NumericAliasConverter.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Serialization/ObjectToInferredTypesConverter.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Serialization/ObjectToInferredTypesConverter.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Serialization/ObjectToInferredTypesConverter.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Serialization/ObjectToInferredTypesConverter.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Serialization/PropertyNameConverter.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Serialization/PropertyNameConverter.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Serialization/PropertyNameConverter.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Serialization/PropertyNameConverter.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Serialization/QueryConverter.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Serialization/QueryConverter.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Serialization/QueryConverter.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Serialization/QueryConverter.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Serialization/ReadOnlyFieldDictionaryConverter.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Serialization/ReadOnlyFieldDictionaryConverter.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Serialization/ReadOnlyFieldDictionaryConverter.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Serialization/ReadOnlyFieldDictionaryConverter.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Serialization/ReadOnlyIndexNameDictionaryConverter.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Serialization/ReadOnlyIndexNameDictionaryConverter.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Serialization/ReadOnlyIndexNameDictionaryConverter.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Serialization/ReadOnlyIndexNameDictionaryConverter.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Serialization/ResolvableReadonlyDictionaryConverterFactory.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Serialization/ResolvableReadonlyDictionaryConverterFactory.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Serialization/ResolvableReadonlyDictionaryConverterFactory.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Serialization/ResolvableReadonlyDictionaryConverterFactory.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Serialization/ResponseItemConverterFactory.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Serialization/ResponseItemConverterFactory.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Serialization/ResponseItemConverterFactory.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Serialization/ResponseItemConverterFactory.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Serialization/SelfSerializable.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Serialization/SelfSerializable.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Serialization/SelfSerializable.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Serialization/SelfSerializable.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Serialization/SelfSerializableConverterFactory.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Serialization/SelfSerializableConverterFactory.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Serialization/SelfSerializableConverterFactory.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Serialization/SelfSerializableConverterFactory.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Serialization/SerializationConstants.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Serialization/SerializationConstants.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Serialization/SerializationConstants.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Serialization/SerializationConstants.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Serialization/SerializerExtensions.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Serialization/SerializerExtensions.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Serialization/SerializerExtensions.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Serialization/SerializerExtensions.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Serialization/SettingsJsonConverter.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Serialization/SettingsJsonConverter.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Serialization/SettingsJsonConverter.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Serialization/SettingsJsonConverter.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Serialization/SimpleInterfaceConverter.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Serialization/SimpleInterfaceConverter.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Serialization/SimpleInterfaceConverter.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Serialization/SimpleInterfaceConverter.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Serialization/SingleOrManyCollectionAttribute.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Serialization/SingleOrManyCollectionAttribute.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Serialization/SingleOrManyCollectionAttribute.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Serialization/SingleOrManyCollectionAttribute.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Serialization/SingleOrManyCollectionConverter.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Serialization/SingleOrManyCollectionConverter.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Serialization/SingleOrManyCollectionConverter.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Serialization/SingleOrManyCollectionConverter.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Serialization/SingleOrManySerializationHelper.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Serialization/SingleOrManySerializationHelper.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Serialization/SingleOrManySerializationHelper.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Serialization/SingleOrManySerializationHelper.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Serialization/SingleWithFractionalPortionConverter.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Serialization/SingleWithFractionalPortionConverter.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Serialization/SingleWithFractionalPortionConverter.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Serialization/SingleWithFractionalPortionConverter.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Serialization/SourceConverter.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Serialization/SourceConverter.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Serialization/SourceConverter.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Serialization/SourceConverter.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Serialization/SourceConverterAttribute.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Serialization/SourceConverterAttribute.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Serialization/SourceConverterAttribute.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Serialization/SourceConverterAttribute.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Serialization/SourceConverterFactory.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Serialization/SourceConverterFactory.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Serialization/SourceConverterFactory.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Serialization/SourceConverterFactory.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Serialization/SourceMarker.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Serialization/SourceMarker.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Serialization/SourceMarker.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Serialization/SourceMarker.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Serialization/SourceSerialization.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Serialization/SourceSerialization.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Serialization/SourceSerialization.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Serialization/SourceSerialization.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Serialization/StringAliasConverter.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Serialization/StringAliasConverter.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Serialization/StringAliasConverter.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Serialization/StringAliasConverter.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Serialization/StringEnumAttribute.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Serialization/StringEnumAttribute.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Serialization/StringEnumAttribute.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Serialization/StringEnumAttribute.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Serialization/Stringified.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Serialization/Stringified.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Serialization/Stringified.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Serialization/Stringified.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Serialization/SystemTextJsonSerializer.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Serialization/SystemTextJsonSerializer.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Serialization/SystemTextJsonSerializer.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Serialization/SystemTextJsonSerializer.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Serialization/TermsAggregateSerializationHelper.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Serialization/TermsAggregateSerializationHelper.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Serialization/TermsAggregateSerializationHelper.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Serialization/TermsAggregateSerializationHelper.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Serialization/UnionConverter.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Serialization/UnionConverter.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Serialization/UnionConverter.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Serialization/UnionConverter.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Types/Aggregations/AggregateOrder.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Types/Aggregations/AggregateOrder.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Types/Aggregations/AggregateOrder.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Types/Aggregations/AggregateOrder.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Types/Aggregations/BucketsPath.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Types/Aggregations/BucketsPath.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Types/Aggregations/BucketsPath.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Types/Aggregations/BucketsPath.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Types/Aggregations/TermsExclude.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Types/Aggregations/TermsExclude.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Types/Aggregations/TermsExclude.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Types/Aggregations/TermsExclude.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Types/Aggregations/TermsInclude.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Types/Aggregations/TermsInclude.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Types/Aggregations/TermsInclude.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Types/Aggregations/TermsInclude.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Types/AsyncSearch/AsyncSearch.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Types/AsyncSearch/AsyncSearch.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Types/AsyncSearch/AsyncSearch.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Types/AsyncSearch/AsyncSearch.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Types/Core/Bulk/BulkCreateOperation.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/Bulk/BulkCreateOperation.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Types/Core/Bulk/BulkCreateOperation.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/Bulk/BulkCreateOperation.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Types/Core/Bulk/BulkCreateOperationDescriptor.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/Bulk/BulkCreateOperationDescriptor.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Types/Core/Bulk/BulkCreateOperationDescriptor.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/Bulk/BulkCreateOperationDescriptor.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Types/Core/Bulk/BulkDeleteOperation.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/Bulk/BulkDeleteOperation.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Types/Core/Bulk/BulkDeleteOperation.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/Bulk/BulkDeleteOperation.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Types/Core/Bulk/BulkDeleteOperationDescriptor.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/Bulk/BulkDeleteOperationDescriptor.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Types/Core/Bulk/BulkDeleteOperationDescriptor.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/Bulk/BulkDeleteOperationDescriptor.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Types/Core/Bulk/BulkIndexOperation.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/Bulk/BulkIndexOperation.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Types/Core/Bulk/BulkIndexOperation.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/Bulk/BulkIndexOperation.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Types/Core/Bulk/BulkIndexOperationDescriptor.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/Bulk/BulkIndexOperationDescriptor.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Types/Core/Bulk/BulkIndexOperationDescriptor.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/Bulk/BulkIndexOperationDescriptor.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Types/Core/Bulk/BulkOperation.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/Bulk/BulkOperation.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Types/Core/Bulk/BulkOperation.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/Bulk/BulkOperation.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Types/Core/Bulk/BulkOperationDescriptor.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/Bulk/BulkOperationDescriptor.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Types/Core/Bulk/BulkOperationDescriptor.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/Bulk/BulkOperationDescriptor.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Types/Core/Bulk/BulkOperationsCollection.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/Bulk/BulkOperationsCollection.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Types/Core/Bulk/BulkOperationsCollection.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/Bulk/BulkOperationsCollection.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Types/Core/Bulk/BulkResponseItemConverter.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/Bulk/BulkResponseItemConverter.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Types/Core/Bulk/BulkResponseItemConverter.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/Bulk/BulkResponseItemConverter.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Types/Core/Bulk/BulkUpdateBody.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/Bulk/BulkUpdateBody.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Types/Core/Bulk/BulkUpdateBody.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/Bulk/BulkUpdateBody.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Types/Core/Bulk/BulkUpdateOperation.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/Bulk/BulkUpdateOperation.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Types/Core/Bulk/BulkUpdateOperation.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/Bulk/BulkUpdateOperation.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Types/Core/Bulk/BulkUpdateOperationDescriptor.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/Bulk/BulkUpdateOperationDescriptor.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Types/Core/Bulk/BulkUpdateOperationDescriptor.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/Bulk/BulkUpdateOperationDescriptor.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Types/Core/Bulk/BulkUpdateOperationT.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/Bulk/BulkUpdateOperationT.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Types/Core/Bulk/BulkUpdateOperationT.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/Bulk/BulkUpdateOperationT.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Types/Core/Bulk/BulkUpdateOperationWithPartial.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/Bulk/BulkUpdateOperationWithPartial.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Types/Core/Bulk/BulkUpdateOperationWithPartial.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/Bulk/BulkUpdateOperationWithPartial.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Types/Core/Bulk/BulkUpdateOperationWithScript.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/Bulk/BulkUpdateOperationWithScript.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Types/Core/Bulk/BulkUpdateOperationWithScript.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/Bulk/BulkUpdateOperationWithScript.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Types/Core/Bulk/IBulkOperation.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/Bulk/IBulkOperation.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Types/Core/Bulk/IBulkOperation.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/Bulk/IBulkOperation.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Types/Core/Bulk/PartialBulkUpdateBody.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/Bulk/PartialBulkUpdateBody.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Types/Core/Bulk/PartialBulkUpdateBody.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/Bulk/PartialBulkUpdateBody.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Types/Core/Bulk/Response/BulkCreateResponseItem.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/Bulk/Response/BulkCreateResponseItem.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Types/Core/Bulk/Response/BulkCreateResponseItem.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/Bulk/Response/BulkCreateResponseItem.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Types/Core/Bulk/Response/BulkDeleteResponseItem.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/Bulk/Response/BulkDeleteResponseItem.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Types/Core/Bulk/Response/BulkDeleteResponseItem.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/Bulk/Response/BulkDeleteResponseItem.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Types/Core/Bulk/Response/BulkIndexResponseItem.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/Bulk/Response/BulkIndexResponseItem.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Types/Core/Bulk/Response/BulkIndexResponseItem.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/Bulk/Response/BulkIndexResponseItem.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Types/Core/Bulk/Response/BulkUpdateResponseItem.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/Bulk/Response/BulkUpdateResponseItem.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Types/Core/Bulk/Response/BulkUpdateResponseItem.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/Bulk/Response/BulkUpdateResponseItem.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Types/Core/Bulk/ScriptedBulkUpdateBody.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/Bulk/ScriptedBulkUpdateBody.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Types/Core/Bulk/ScriptedBulkUpdateBody.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/Bulk/ScriptedBulkUpdateBody.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Types/Core/MSearch/SearchRequestItem.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/MSearch/SearchRequestItem.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Types/Core/MSearch/SearchRequestItem.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/MSearch/SearchRequestItem.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Types/Core/MSearchTemplate/SearchTemplateRequestItem.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/MSearchTemplate/SearchTemplateRequestItem.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Types/Core/MSearchTemplate/SearchTemplateRequestItem.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/MSearchTemplate/SearchTemplateRequestItem.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Types/Core/Search/SourceConfigParam.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/Search/SourceConfigParam.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Types/Core/Search/SourceConfigParam.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/Search/SourceConfigParam.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Types/FieldSort.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Types/FieldSort.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Types/FieldSort.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Types/FieldSort.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Types/GeoLocation.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Types/GeoLocation.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Types/GeoLocation.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Types/GeoLocation.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Types/Mapping/Properties.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Types/Mapping/Properties.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Types/Mapping/Properties.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Types/Mapping/Properties.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Types/Mapping/PropertiesDescriptor.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Types/Mapping/PropertiesDescriptor.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Types/Mapping/PropertiesDescriptor.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Types/Mapping/PropertiesDescriptor.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Types/Mapping/PropertyNameExtensions.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Types/Mapping/PropertyNameExtensions.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Types/Mapping/PropertyNameExtensions.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Types/Mapping/PropertyNameExtensions.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Types/MultiSearchItem.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Types/MultiSearchItem.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Types/MultiSearchItem.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Types/MultiSearchItem.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Types/OpType.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Types/OpType.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Types/OpType.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Types/OpType.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Types/PointInTimeReferenceDescriptor.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Types/PointInTimeReferenceDescriptor.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Types/PointInTimeReferenceDescriptor.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Types/PointInTimeReferenceDescriptor.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Types/QueryDsl/BoolQuery.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Types/QueryDsl/BoolQuery.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Types/QueryDsl/BoolQuery.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Types/QueryDsl/BoolQuery.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Types/QueryDsl/BoolQueryAndExtensions.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Types/QueryDsl/BoolQueryAndExtensions.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Types/QueryDsl/BoolQueryAndExtensions.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Types/QueryDsl/BoolQueryAndExtensions.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Types/QueryDsl/BoolQueryExtensions.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Types/QueryDsl/BoolQueryExtensions.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Types/QueryDsl/BoolQueryExtensions.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Types/QueryDsl/BoolQueryExtensions.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Types/QueryDsl/BoolQueryOrExtensions.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Types/QueryDsl/BoolQueryOrExtensions.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Types/QueryDsl/BoolQueryOrExtensions.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Types/QueryDsl/BoolQueryOrExtensions.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Types/QueryDsl/FunctionScore.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Types/QueryDsl/FunctionScore.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Types/QueryDsl/FunctionScore.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Types/QueryDsl/FunctionScore.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Types/QueryDsl/Query.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Types/QueryDsl/Query.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Types/QueryDsl/Query.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Types/QueryDsl/Query.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Types/QueryDsl/RangeQuery.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Types/QueryDsl/RangeQuery.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Types/QueryDsl/RangeQuery.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Types/QueryDsl/RangeQuery.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Types/QueryDsl/RawJsonQuery.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Types/QueryDsl/RawJsonQuery.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Types/QueryDsl/RawJsonQuery.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Types/QueryDsl/RawJsonQuery.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Types/Ranges.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Types/Ranges.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Types/Ranges.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Types/Ranges.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Types/Refresh.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Types/Refresh.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Types/Refresh.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Types/Refresh.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Types/Slices.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Types/Slices.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Types/Slices.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Types/Slices.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Types/SortOptions.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Types/SortOptions.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Types/SortOptions.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Types/SortOptions.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Types/SourceConfig.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Types/SourceConfig.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Types/SourceConfig.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Types/SourceConfig.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Types/Sql/SqlRow.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Types/Sql/SqlRow.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Types/Sql/SqlRow.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Types/Sql/SqlRow.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Types/Sql/SqlValue.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Types/Sql/SqlValue.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Types/Sql/SqlValue.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Types/Sql/SqlValue.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Types/WaitForActiveShards.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Types/WaitForActiveShards.cs similarity index 100% rename from src/Elastic.Clients.Elasticsearch.Shared/Types/WaitForActiveShards.cs rename to src/Elastic.Clients.Elasticsearch/_Shared/Types/WaitForActiveShards.cs diff --git a/src/Elastic.Clients.Elasticsearch/packages.lock.json b/src/Elastic.Clients.Elasticsearch/packages.lock.json deleted file mode 100644 index c279af5e0db..00000000000 --- a/src/Elastic.Clients.Elasticsearch/packages.lock.json +++ /dev/null @@ -1,771 +0,0 @@ -{ - "version": 1, - "dependencies": { - ".NETFramework,Version=v4.6.2": { - "ConfigureAwaitChecker.Analyzer": { - "type": "Direct", - "requested": "[5.0.0.1, )", - "resolved": "5.0.0.1", - "contentHash": "jqOPPOJzHiUajPVGNw0MJzqUYLM3nHYEXEo1X91VqbwBqvq0+u8ASgcdmlmr4E9ffWJkjIo8vPEH9EMrKh69EQ==" - }, - "DotNet.ReproducibleBuilds": { - "type": "Direct", - "requested": "[1.1.1, )", - "resolved": "1.1.1", - "contentHash": "+H2t/t34h6mhEoUvHi8yGXyuZ2GjSovcGYehJrS2MDm2XgmPfZL2Sdxg+uL2lKgZ4M6tTwKHIlxOob2bgh0NRQ==", - "dependencies": { - "Microsoft.SourceLink.AzureRepos.Git": "1.1.1", - "Microsoft.SourceLink.Bitbucket.Git": "1.1.1", - "Microsoft.SourceLink.GitHub": "1.1.1", - "Microsoft.SourceLink.GitLab": "1.1.1" - } - }, - "Elastic.Transport": { - "type": "Direct", - "requested": "[0.4.22, )", - "resolved": "0.4.22", - "contentHash": "9J5GPHJcT8sewn2zVfWTrsCQvfQYgUiY/jx+IRjWUk7XNPd837qfEL42I5baH69cyW/e4RoDy8v76yxqz95tDw==", - "dependencies": { - "Microsoft.CSharp": "4.7.0", - "System.Buffers": "4.5.1", - "System.Diagnostics.DiagnosticSource": "8.0.0", - "System.Text.Json": "8.0.4", - "System.Threading.Tasks.Extensions": "4.5.4" - } - }, - "Microsoft.NETFramework.ReferenceAssemblies": { - "type": "Direct", - "requested": "[1.0.3, )", - "resolved": "1.0.3", - "contentHash": "vUc9Npcs14QsyOD01tnv/m8sQUnGTGOw1BCmKcv77LBJY7OxhJ+zJF7UD/sCL3lYNFuqmQEVlkfS4Quif6FyYg==", - "dependencies": { - "Microsoft.NETFramework.ReferenceAssemblies.net462": "1.0.3" - } - }, - "Microsoft.VisualStudio.Threading.Analyzers": { - "type": "Direct", - "requested": "[17.3.44, )", - "resolved": "17.3.44", - "contentHash": "96TPV4lH1a8iXNoq6sQxSTAXXCewyt2bE7luIZd3kS7Zzs1fs6Uwd9bFg2AxBt1WNPU1ozb3D1olpsoRmLKleA==" - }, - "Microsoft.Bcl.AsyncInterfaces": { - "type": "Transitive", - "resolved": "8.0.0", - "contentHash": "3WA9q9yVqJp222P3x1wYIGDAkpjAku0TMUaaQV22g6L67AI0LdOIrVS7Ht2vJfLHGSPVuqN94vIr15qn+HEkHw==", - "dependencies": { - "System.Threading.Tasks.Extensions": "4.5.4" - } - }, - "Microsoft.Build.Tasks.Git": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "AT3HlgTjsqHnWpBHSNeR0KxbLZD7bztlZVj7I8vgeYG9SYqbeFGh0TM/KVtC6fg53nrWHl3VfZFvb5BiQFcY6Q==" - }, - "Microsoft.CSharp": { - "type": "Transitive", - "resolved": "4.7.0", - "contentHash": "pTj+D3uJWyN3My70i2Hqo+OXixq3Os2D1nJ2x92FFo6sk8fYS1m1WLNTs0Dc1uPaViH0YvEEwvzddQ7y4rhXmA==" - }, - "Microsoft.NETFramework.ReferenceAssemblies.net462": { - "type": "Transitive", - "resolved": "1.0.3", - "contentHash": "IzAV30z22ESCeQfxP29oVf4qEo8fBGXLXSU6oacv/9Iqe6PzgHDKCaWfwMBak7bSJQM0F5boXWoZS+kChztRIQ==" - }, - "Microsoft.SourceLink.AzureRepos.Git": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "qB5urvw9LO2bG3eVAkuL+2ughxz2rR7aYgm2iyrB8Rlk9cp2ndvGRCvehk3rNIhRuNtQaeKwctOl1KvWiklv5w==", - "dependencies": { - "Microsoft.Build.Tasks.Git": "1.1.1", - "Microsoft.SourceLink.Common": "1.1.1" - } - }, - "Microsoft.SourceLink.Bitbucket.Git": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "cDzxXwlyWpLWaH0em4Idj0H3AmVo3L/6xRXKssYemx+7W52iNskj/SQ4FOmfCb8YQt39otTDNMveCZzYtMoucQ==", - "dependencies": { - "Microsoft.Build.Tasks.Git": "1.1.1", - "Microsoft.SourceLink.Common": "1.1.1" - } - }, - "Microsoft.SourceLink.Common": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "WMcGpWKrmJmzrNeuaEb23bEMnbtR/vLmvZtkAP5qWu7vQsY59GqfRJd65sFpBszbd2k/bQ8cs8eWawQKAabkVg==" - }, - "Microsoft.SourceLink.GitHub": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "IaJGnOv/M7UQjRJks7B6p7pbPnOwisYGOIzqCz5ilGFTApZ3ktOR+6zJ12ZRPInulBmdAf1SrGdDG2MU8g6XTw==", - "dependencies": { - "Microsoft.Build.Tasks.Git": "1.1.1", - "Microsoft.SourceLink.Common": "1.1.1" - } - }, - "Microsoft.SourceLink.GitLab": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "tvsg47DDLqqedlPeYVE2lmiTpND8F0hkrealQ5hYltSmvruy/Gr5nHAKSsjyw5L3NeM/HLMI5ORv7on/M4qyZw==", - "dependencies": { - "Microsoft.Build.Tasks.Git": "1.1.1", - "Microsoft.SourceLink.Common": "1.1.1" - } - }, - "System.Buffers": { - "type": "Transitive", - "resolved": "4.5.1", - "contentHash": "Rw7ijyl1qqRS0YQD/WycNst8hUUMgrMH4FCn1nNm27M4VxchZ1js3fVjQaANHO5f3sN4isvP4a+Met9Y4YomAg==" - }, - "System.Diagnostics.DiagnosticSource": { - "type": "Transitive", - "resolved": "8.0.0", - "contentHash": "c9xLpVz6PL9lp/djOWtk5KPDZq3cSYpmXoJQY524EOtuFl5z9ZtsotpsyrDW40U1DRnQSYvcPKEUV0X//u6gkQ==", - "dependencies": { - "System.Memory": "4.5.5", - "System.Runtime.CompilerServices.Unsafe": "6.0.0" - } - }, - "System.Memory": { - "type": "Transitive", - "resolved": "4.5.5", - "contentHash": "XIWiDvKPXaTveaB7HVganDlOCRoj03l+jrwNvcge/t8vhGYKvqV+dMv6G4SAX2NoNmN0wZfVPTAlFwZcZvVOUw==", - "dependencies": { - "System.Buffers": "4.5.1", - "System.Numerics.Vectors": "4.5.0", - "System.Runtime.CompilerServices.Unsafe": "4.5.3" - } - }, - "System.Numerics.Vectors": { - "type": "Transitive", - "resolved": "4.5.0", - "contentHash": "QQTlPTl06J/iiDbJCiepZ4H//BVraReU4O4EoRw1U02H5TLUIT7xn3GnDp9AXPSlJUDyFs4uWjWafNX6WrAojQ==" - }, - "System.Runtime.CompilerServices.Unsafe": { - "type": "Transitive", - "resolved": "6.0.0", - "contentHash": "/iUeP3tq1S0XdNNoMz5C9twLSrM/TH+qElHkXWaPvuNOt+99G75NrV0OS2EqHx5wMN7popYjpc8oTjC1y16DLg==" - }, - "System.Text.Encodings.Web": { - "type": "Transitive", - "resolved": "8.0.0", - "contentHash": "yev/k9GHAEGx2Rg3/tU6MQh4HGBXJs70y7j1LaM1i/ER9po+6nnQ6RRqTJn1E7Xu0fbIFK80Nh5EoODxrbxwBQ==", - "dependencies": { - "System.Buffers": "4.5.1", - "System.Memory": "4.5.5", - "System.Runtime.CompilerServices.Unsafe": "6.0.0" - } - }, - "System.Text.Json": { - "type": "Transitive", - "resolved": "8.0.4", - "contentHash": "bAkhgDJ88XTsqczoxEMliSrpijKZHhbJQldhAmObj/RbrN3sU5dcokuXmWJWsdQAhiMJ9bTayWsL1C9fbbCRhw==", - "dependencies": { - "Microsoft.Bcl.AsyncInterfaces": "8.0.0", - "System.Buffers": "4.5.1", - "System.Memory": "4.5.5", - "System.Runtime.CompilerServices.Unsafe": "6.0.0", - "System.Text.Encodings.Web": "8.0.0", - "System.Threading.Tasks.Extensions": "4.5.4", - "System.ValueTuple": "4.5.0" - } - }, - "System.Threading.Tasks.Extensions": { - "type": "Transitive", - "resolved": "4.5.4", - "contentHash": "zteT+G8xuGu6mS+mzDzYXbzS7rd3K6Fjb9RiZlYlJPam2/hU7JCBZBVEcywNuR+oZ1ncTvc/cq0faRr3P01OVg==", - "dependencies": { - "System.Runtime.CompilerServices.Unsafe": "4.5.3" - } - }, - "System.ValueTuple": { - "type": "Transitive", - "resolved": "4.5.0", - "contentHash": "okurQJO6NRE/apDIP23ajJ0hpiNmJ+f0BwOlB/cSqTLQlw5upkf+5+96+iG2Jw40G1fCVCyPz/FhIABUjMR+RQ==" - } - }, - ".NETStandard,Version=v2.0": { - "ConfigureAwaitChecker.Analyzer": { - "type": "Direct", - "requested": "[5.0.0.1, )", - "resolved": "5.0.0.1", - "contentHash": "jqOPPOJzHiUajPVGNw0MJzqUYLM3nHYEXEo1X91VqbwBqvq0+u8ASgcdmlmr4E9ffWJkjIo8vPEH9EMrKh69EQ==" - }, - "DotNet.ReproducibleBuilds": { - "type": "Direct", - "requested": "[1.1.1, )", - "resolved": "1.1.1", - "contentHash": "+H2t/t34h6mhEoUvHi8yGXyuZ2GjSovcGYehJrS2MDm2XgmPfZL2Sdxg+uL2lKgZ4M6tTwKHIlxOob2bgh0NRQ==", - "dependencies": { - "Microsoft.SourceLink.AzureRepos.Git": "1.1.1", - "Microsoft.SourceLink.Bitbucket.Git": "1.1.1", - "Microsoft.SourceLink.GitHub": "1.1.1", - "Microsoft.SourceLink.GitLab": "1.1.1" - } - }, - "Elastic.Transport": { - "type": "Direct", - "requested": "[0.4.22, )", - "resolved": "0.4.22", - "contentHash": "9J5GPHJcT8sewn2zVfWTrsCQvfQYgUiY/jx+IRjWUk7XNPd837qfEL42I5baH69cyW/e4RoDy8v76yxqz95tDw==", - "dependencies": { - "Microsoft.CSharp": "4.7.0", - "System.Buffers": "4.5.1", - "System.Diagnostics.DiagnosticSource": "8.0.0", - "System.Text.Json": "8.0.4", - "System.Threading.Tasks.Extensions": "4.5.4" - } - }, - "Microsoft.NETFramework.ReferenceAssemblies": { - "type": "Direct", - "requested": "[1.0.3, )", - "resolved": "1.0.3", - "contentHash": "vUc9Npcs14QsyOD01tnv/m8sQUnGTGOw1BCmKcv77LBJY7OxhJ+zJF7UD/sCL3lYNFuqmQEVlkfS4Quif6FyYg==", - "dependencies": { - "Microsoft.NETFramework.ReferenceAssemblies.net461": "1.0.3" - } - }, - "Microsoft.VisualStudio.Threading.Analyzers": { - "type": "Direct", - "requested": "[17.3.44, )", - "resolved": "17.3.44", - "contentHash": "96TPV4lH1a8iXNoq6sQxSTAXXCewyt2bE7luIZd3kS7Zzs1fs6Uwd9bFg2AxBt1WNPU1ozb3D1olpsoRmLKleA==" - }, - "NETStandard.Library": { - "type": "Direct", - "requested": "[2.0.3, )", - "resolved": "2.0.3", - "contentHash": "st47PosZSHrjECdjeIzZQbzivYBJFv6P2nv4cj2ypdI204DO+vZ7l5raGMiX4eXMJ53RfOIg+/s4DHVZ54Nu2A==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0" - } - }, - "Microsoft.Bcl.AsyncInterfaces": { - "type": "Transitive", - "resolved": "8.0.0", - "contentHash": "3WA9q9yVqJp222P3x1wYIGDAkpjAku0TMUaaQV22g6L67AI0LdOIrVS7Ht2vJfLHGSPVuqN94vIr15qn+HEkHw==", - "dependencies": { - "System.Threading.Tasks.Extensions": "4.5.4" - } - }, - "Microsoft.Build.Tasks.Git": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "AT3HlgTjsqHnWpBHSNeR0KxbLZD7bztlZVj7I8vgeYG9SYqbeFGh0TM/KVtC6fg53nrWHl3VfZFvb5BiQFcY6Q==" - }, - "Microsoft.CSharp": { - "type": "Transitive", - "resolved": "4.7.0", - "contentHash": "pTj+D3uJWyN3My70i2Hqo+OXixq3Os2D1nJ2x92FFo6sk8fYS1m1WLNTs0Dc1uPaViH0YvEEwvzddQ7y4rhXmA==" - }, - "Microsoft.NETCore.Platforms": { - "type": "Transitive", - "resolved": "1.1.0", - "contentHash": "kz0PEW2lhqygehI/d6XsPCQzD7ff7gUJaVGPVETX611eadGsA3A877GdSlU0LRVMCTH/+P3o2iDTak+S08V2+A==" - }, - "Microsoft.NETFramework.ReferenceAssemblies.net461": { - "type": "Transitive", - "resolved": "1.0.3", - "contentHash": "AmOJZwCqnOCNp6PPcf9joyogScWLtwy0M1WkqfEQ0M9nYwyDD7EX9ZjscKS5iYnyvteX7kzSKFCKt9I9dXA6mA==" - }, - "Microsoft.SourceLink.AzureRepos.Git": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "qB5urvw9LO2bG3eVAkuL+2ughxz2rR7aYgm2iyrB8Rlk9cp2ndvGRCvehk3rNIhRuNtQaeKwctOl1KvWiklv5w==", - "dependencies": { - "Microsoft.Build.Tasks.Git": "1.1.1", - "Microsoft.SourceLink.Common": "1.1.1" - } - }, - "Microsoft.SourceLink.Bitbucket.Git": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "cDzxXwlyWpLWaH0em4Idj0H3AmVo3L/6xRXKssYemx+7W52iNskj/SQ4FOmfCb8YQt39otTDNMveCZzYtMoucQ==", - "dependencies": { - "Microsoft.Build.Tasks.Git": "1.1.1", - "Microsoft.SourceLink.Common": "1.1.1" - } - }, - "Microsoft.SourceLink.Common": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "WMcGpWKrmJmzrNeuaEb23bEMnbtR/vLmvZtkAP5qWu7vQsY59GqfRJd65sFpBszbd2k/bQ8cs8eWawQKAabkVg==" - }, - "Microsoft.SourceLink.GitHub": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "IaJGnOv/M7UQjRJks7B6p7pbPnOwisYGOIzqCz5ilGFTApZ3ktOR+6zJ12ZRPInulBmdAf1SrGdDG2MU8g6XTw==", - "dependencies": { - "Microsoft.Build.Tasks.Git": "1.1.1", - "Microsoft.SourceLink.Common": "1.1.1" - } - }, - "Microsoft.SourceLink.GitLab": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "tvsg47DDLqqedlPeYVE2lmiTpND8F0hkrealQ5hYltSmvruy/Gr5nHAKSsjyw5L3NeM/HLMI5ORv7on/M4qyZw==", - "dependencies": { - "Microsoft.Build.Tasks.Git": "1.1.1", - "Microsoft.SourceLink.Common": "1.1.1" - } - }, - "System.Buffers": { - "type": "Transitive", - "resolved": "4.5.1", - "contentHash": "Rw7ijyl1qqRS0YQD/WycNst8hUUMgrMH4FCn1nNm27M4VxchZ1js3fVjQaANHO5f3sN4isvP4a+Met9Y4YomAg==" - }, - "System.Diagnostics.DiagnosticSource": { - "type": "Transitive", - "resolved": "8.0.0", - "contentHash": "c9xLpVz6PL9lp/djOWtk5KPDZq3cSYpmXoJQY524EOtuFl5z9ZtsotpsyrDW40U1DRnQSYvcPKEUV0X//u6gkQ==", - "dependencies": { - "System.Memory": "4.5.5", - "System.Runtime.CompilerServices.Unsafe": "6.0.0" - } - }, - "System.Memory": { - "type": "Transitive", - "resolved": "4.5.5", - "contentHash": "XIWiDvKPXaTveaB7HVganDlOCRoj03l+jrwNvcge/t8vhGYKvqV+dMv6G4SAX2NoNmN0wZfVPTAlFwZcZvVOUw==", - "dependencies": { - "System.Buffers": "4.5.1", - "System.Numerics.Vectors": "4.4.0", - "System.Runtime.CompilerServices.Unsafe": "4.5.3" - } - }, - "System.Numerics.Vectors": { - "type": "Transitive", - "resolved": "4.4.0", - "contentHash": "UiLzLW+Lw6HLed1Hcg+8jSRttrbuXv7DANVj0DkL9g6EnnzbL75EB7EWsw5uRbhxd/4YdG8li5XizGWepmG3PQ==" - }, - "System.Runtime.CompilerServices.Unsafe": { - "type": "Transitive", - "resolved": "6.0.0", - "contentHash": "/iUeP3tq1S0XdNNoMz5C9twLSrM/TH+qElHkXWaPvuNOt+99G75NrV0OS2EqHx5wMN7popYjpc8oTjC1y16DLg==" - }, - "System.Text.Encodings.Web": { - "type": "Transitive", - "resolved": "8.0.0", - "contentHash": "yev/k9GHAEGx2Rg3/tU6MQh4HGBXJs70y7j1LaM1i/ER9po+6nnQ6RRqTJn1E7Xu0fbIFK80Nh5EoODxrbxwBQ==", - "dependencies": { - "System.Buffers": "4.5.1", - "System.Memory": "4.5.5", - "System.Runtime.CompilerServices.Unsafe": "6.0.0" - } - }, - "System.Text.Json": { - "type": "Transitive", - "resolved": "8.0.4", - "contentHash": "bAkhgDJ88XTsqczoxEMliSrpijKZHhbJQldhAmObj/RbrN3sU5dcokuXmWJWsdQAhiMJ9bTayWsL1C9fbbCRhw==", - "dependencies": { - "Microsoft.Bcl.AsyncInterfaces": "8.0.0", - "System.Buffers": "4.5.1", - "System.Memory": "4.5.5", - "System.Runtime.CompilerServices.Unsafe": "6.0.0", - "System.Text.Encodings.Web": "8.0.0", - "System.Threading.Tasks.Extensions": "4.5.4" - } - }, - "System.Threading.Tasks.Extensions": { - "type": "Transitive", - "resolved": "4.5.4", - "contentHash": "zteT+G8xuGu6mS+mzDzYXbzS7rd3K6Fjb9RiZlYlJPam2/hU7JCBZBVEcywNuR+oZ1ncTvc/cq0faRr3P01OVg==", - "dependencies": { - "System.Runtime.CompilerServices.Unsafe": "4.5.3" - } - } - }, - ".NETStandard,Version=v2.1": { - "ConfigureAwaitChecker.Analyzer": { - "type": "Direct", - "requested": "[5.0.0.1, )", - "resolved": "5.0.0.1", - "contentHash": "jqOPPOJzHiUajPVGNw0MJzqUYLM3nHYEXEo1X91VqbwBqvq0+u8ASgcdmlmr4E9ffWJkjIo8vPEH9EMrKh69EQ==" - }, - "DotNet.ReproducibleBuilds": { - "type": "Direct", - "requested": "[1.1.1, )", - "resolved": "1.1.1", - "contentHash": "+H2t/t34h6mhEoUvHi8yGXyuZ2GjSovcGYehJrS2MDm2XgmPfZL2Sdxg+uL2lKgZ4M6tTwKHIlxOob2bgh0NRQ==", - "dependencies": { - "Microsoft.SourceLink.AzureRepos.Git": "1.1.1", - "Microsoft.SourceLink.Bitbucket.Git": "1.1.1", - "Microsoft.SourceLink.GitHub": "1.1.1", - "Microsoft.SourceLink.GitLab": "1.1.1" - } - }, - "Elastic.Transport": { - "type": "Direct", - "requested": "[0.4.22, )", - "resolved": "0.4.22", - "contentHash": "9J5GPHJcT8sewn2zVfWTrsCQvfQYgUiY/jx+IRjWUk7XNPd837qfEL42I5baH69cyW/e4RoDy8v76yxqz95tDw==", - "dependencies": { - "Microsoft.CSharp": "4.7.0", - "System.Buffers": "4.5.1", - "System.Diagnostics.DiagnosticSource": "8.0.0", - "System.Text.Json": "8.0.4", - "System.Threading.Tasks.Extensions": "4.5.4" - } - }, - "Microsoft.NETFramework.ReferenceAssemblies": { - "type": "Direct", - "requested": "[1.0.3, )", - "resolved": "1.0.3", - "contentHash": "vUc9Npcs14QsyOD01tnv/m8sQUnGTGOw1BCmKcv77LBJY7OxhJ+zJF7UD/sCL3lYNFuqmQEVlkfS4Quif6FyYg==", - "dependencies": { - "Microsoft.NETFramework.ReferenceAssemblies.net461": "1.0.3" - } - }, - "Microsoft.VisualStudio.Threading.Analyzers": { - "type": "Direct", - "requested": "[17.3.44, )", - "resolved": "17.3.44", - "contentHash": "96TPV4lH1a8iXNoq6sQxSTAXXCewyt2bE7luIZd3kS7Zzs1fs6Uwd9bFg2AxBt1WNPU1ozb3D1olpsoRmLKleA==" - }, - "Microsoft.Bcl.AsyncInterfaces": { - "type": "Transitive", - "resolved": "8.0.0", - "contentHash": "3WA9q9yVqJp222P3x1wYIGDAkpjAku0TMUaaQV22g6L67AI0LdOIrVS7Ht2vJfLHGSPVuqN94vIr15qn+HEkHw==" - }, - "Microsoft.Build.Tasks.Git": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "AT3HlgTjsqHnWpBHSNeR0KxbLZD7bztlZVj7I8vgeYG9SYqbeFGh0TM/KVtC6fg53nrWHl3VfZFvb5BiQFcY6Q==" - }, - "Microsoft.CSharp": { - "type": "Transitive", - "resolved": "4.7.0", - "contentHash": "pTj+D3uJWyN3My70i2Hqo+OXixq3Os2D1nJ2x92FFo6sk8fYS1m1WLNTs0Dc1uPaViH0YvEEwvzddQ7y4rhXmA==" - }, - "Microsoft.NETFramework.ReferenceAssemblies.net461": { - "type": "Transitive", - "resolved": "1.0.3", - "contentHash": "AmOJZwCqnOCNp6PPcf9joyogScWLtwy0M1WkqfEQ0M9nYwyDD7EX9ZjscKS5iYnyvteX7kzSKFCKt9I9dXA6mA==" - }, - "Microsoft.SourceLink.AzureRepos.Git": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "qB5urvw9LO2bG3eVAkuL+2ughxz2rR7aYgm2iyrB8Rlk9cp2ndvGRCvehk3rNIhRuNtQaeKwctOl1KvWiklv5w==", - "dependencies": { - "Microsoft.Build.Tasks.Git": "1.1.1", - "Microsoft.SourceLink.Common": "1.1.1" - } - }, - "Microsoft.SourceLink.Bitbucket.Git": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "cDzxXwlyWpLWaH0em4Idj0H3AmVo3L/6xRXKssYemx+7W52iNskj/SQ4FOmfCb8YQt39otTDNMveCZzYtMoucQ==", - "dependencies": { - "Microsoft.Build.Tasks.Git": "1.1.1", - "Microsoft.SourceLink.Common": "1.1.1" - } - }, - "Microsoft.SourceLink.Common": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "WMcGpWKrmJmzrNeuaEb23bEMnbtR/vLmvZtkAP5qWu7vQsY59GqfRJd65sFpBszbd2k/bQ8cs8eWawQKAabkVg==" - }, - "Microsoft.SourceLink.GitHub": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "IaJGnOv/M7UQjRJks7B6p7pbPnOwisYGOIzqCz5ilGFTApZ3ktOR+6zJ12ZRPInulBmdAf1SrGdDG2MU8g6XTw==", - "dependencies": { - "Microsoft.Build.Tasks.Git": "1.1.1", - "Microsoft.SourceLink.Common": "1.1.1" - } - }, - "Microsoft.SourceLink.GitLab": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "tvsg47DDLqqedlPeYVE2lmiTpND8F0hkrealQ5hYltSmvruy/Gr5nHAKSsjyw5L3NeM/HLMI5ORv7on/M4qyZw==", - "dependencies": { - "Microsoft.Build.Tasks.Git": "1.1.1", - "Microsoft.SourceLink.Common": "1.1.1" - } - }, - "System.Buffers": { - "type": "Transitive", - "resolved": "4.5.1", - "contentHash": "Rw7ijyl1qqRS0YQD/WycNst8hUUMgrMH4FCn1nNm27M4VxchZ1js3fVjQaANHO5f3sN4isvP4a+Met9Y4YomAg==" - }, - "System.Diagnostics.DiagnosticSource": { - "type": "Transitive", - "resolved": "8.0.0", - "contentHash": "c9xLpVz6PL9lp/djOWtk5KPDZq3cSYpmXoJQY524EOtuFl5z9ZtsotpsyrDW40U1DRnQSYvcPKEUV0X//u6gkQ==", - "dependencies": { - "System.Memory": "4.5.5", - "System.Runtime.CompilerServices.Unsafe": "6.0.0" - } - }, - "System.Memory": { - "type": "Transitive", - "resolved": "4.5.5", - "contentHash": "XIWiDvKPXaTveaB7HVganDlOCRoj03l+jrwNvcge/t8vhGYKvqV+dMv6G4SAX2NoNmN0wZfVPTAlFwZcZvVOUw==", - "dependencies": { - "System.Buffers": "4.5.1", - "System.Numerics.Vectors": "4.4.0", - "System.Runtime.CompilerServices.Unsafe": "4.5.3" - } - }, - "System.Numerics.Vectors": { - "type": "Transitive", - "resolved": "4.4.0", - "contentHash": "UiLzLW+Lw6HLed1Hcg+8jSRttrbuXv7DANVj0DkL9g6EnnzbL75EB7EWsw5uRbhxd/4YdG8li5XizGWepmG3PQ==" - }, - "System.Runtime.CompilerServices.Unsafe": { - "type": "Transitive", - "resolved": "6.0.0", - "contentHash": "/iUeP3tq1S0XdNNoMz5C9twLSrM/TH+qElHkXWaPvuNOt+99G75NrV0OS2EqHx5wMN7popYjpc8oTjC1y16DLg==" - }, - "System.Text.Encodings.Web": { - "type": "Transitive", - "resolved": "8.0.0", - "contentHash": "yev/k9GHAEGx2Rg3/tU6MQh4HGBXJs70y7j1LaM1i/ER9po+6nnQ6RRqTJn1E7Xu0fbIFK80Nh5EoODxrbxwBQ==", - "dependencies": { - "System.Buffers": "4.5.1", - "System.Memory": "4.5.5", - "System.Runtime.CompilerServices.Unsafe": "6.0.0" - } - }, - "System.Text.Json": { - "type": "Transitive", - "resolved": "8.0.4", - "contentHash": "bAkhgDJ88XTsqczoxEMliSrpijKZHhbJQldhAmObj/RbrN3sU5dcokuXmWJWsdQAhiMJ9bTayWsL1C9fbbCRhw==", - "dependencies": { - "Microsoft.Bcl.AsyncInterfaces": "8.0.0", - "System.Buffers": "4.5.1", - "System.Memory": "4.5.5", - "System.Runtime.CompilerServices.Unsafe": "6.0.0", - "System.Text.Encodings.Web": "8.0.0", - "System.Threading.Tasks.Extensions": "4.5.4" - } - }, - "System.Threading.Tasks.Extensions": { - "type": "Transitive", - "resolved": "4.5.4", - "contentHash": "zteT+G8xuGu6mS+mzDzYXbzS7rd3K6Fjb9RiZlYlJPam2/hU7JCBZBVEcywNuR+oZ1ncTvc/cq0faRr3P01OVg==", - "dependencies": { - "System.Runtime.CompilerServices.Unsafe": "4.5.3" - } - } - }, - "net6.0": { - "ConfigureAwaitChecker.Analyzer": { - "type": "Direct", - "requested": "[5.0.0.1, )", - "resolved": "5.0.0.1", - "contentHash": "jqOPPOJzHiUajPVGNw0MJzqUYLM3nHYEXEo1X91VqbwBqvq0+u8ASgcdmlmr4E9ffWJkjIo8vPEH9EMrKh69EQ==" - }, - "DotNet.ReproducibleBuilds": { - "type": "Direct", - "requested": "[1.1.1, )", - "resolved": "1.1.1", - "contentHash": "+H2t/t34h6mhEoUvHi8yGXyuZ2GjSovcGYehJrS2MDm2XgmPfZL2Sdxg+uL2lKgZ4M6tTwKHIlxOob2bgh0NRQ==", - "dependencies": { - "Microsoft.SourceLink.AzureRepos.Git": "1.1.1", - "Microsoft.SourceLink.Bitbucket.Git": "1.1.1", - "Microsoft.SourceLink.GitHub": "1.1.1", - "Microsoft.SourceLink.GitLab": "1.1.1" - } - }, - "Elastic.Transport": { - "type": "Direct", - "requested": "[0.4.22, )", - "resolved": "0.4.22", - "contentHash": "9J5GPHJcT8sewn2zVfWTrsCQvfQYgUiY/jx+IRjWUk7XNPd837qfEL42I5baH69cyW/e4RoDy8v76yxqz95tDw==", - "dependencies": { - "System.Diagnostics.DiagnosticSource": "8.0.0", - "System.Text.Json": "8.0.4" - } - }, - "Microsoft.NETFramework.ReferenceAssemblies": { - "type": "Direct", - "requested": "[1.0.3, )", - "resolved": "1.0.3", - "contentHash": "vUc9Npcs14QsyOD01tnv/m8sQUnGTGOw1BCmKcv77LBJY7OxhJ+zJF7UD/sCL3lYNFuqmQEVlkfS4Quif6FyYg==", - "dependencies": { - "Microsoft.NETFramework.ReferenceAssemblies.net461": "1.0.3" - } - }, - "Microsoft.VisualStudio.Threading.Analyzers": { - "type": "Direct", - "requested": "[17.3.44, )", - "resolved": "17.3.44", - "contentHash": "96TPV4lH1a8iXNoq6sQxSTAXXCewyt2bE7luIZd3kS7Zzs1fs6Uwd9bFg2AxBt1WNPU1ozb3D1olpsoRmLKleA==" - }, - "Microsoft.Build.Tasks.Git": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "AT3HlgTjsqHnWpBHSNeR0KxbLZD7bztlZVj7I8vgeYG9SYqbeFGh0TM/KVtC6fg53nrWHl3VfZFvb5BiQFcY6Q==" - }, - "Microsoft.NETFramework.ReferenceAssemblies.net461": { - "type": "Transitive", - "resolved": "1.0.3", - "contentHash": "AmOJZwCqnOCNp6PPcf9joyogScWLtwy0M1WkqfEQ0M9nYwyDD7EX9ZjscKS5iYnyvteX7kzSKFCKt9I9dXA6mA==" - }, - "Microsoft.SourceLink.AzureRepos.Git": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "qB5urvw9LO2bG3eVAkuL+2ughxz2rR7aYgm2iyrB8Rlk9cp2ndvGRCvehk3rNIhRuNtQaeKwctOl1KvWiklv5w==", - "dependencies": { - "Microsoft.Build.Tasks.Git": "1.1.1", - "Microsoft.SourceLink.Common": "1.1.1" - } - }, - "Microsoft.SourceLink.Bitbucket.Git": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "cDzxXwlyWpLWaH0em4Idj0H3AmVo3L/6xRXKssYemx+7W52iNskj/SQ4FOmfCb8YQt39otTDNMveCZzYtMoucQ==", - "dependencies": { - "Microsoft.Build.Tasks.Git": "1.1.1", - "Microsoft.SourceLink.Common": "1.1.1" - } - }, - "Microsoft.SourceLink.Common": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "WMcGpWKrmJmzrNeuaEb23bEMnbtR/vLmvZtkAP5qWu7vQsY59GqfRJd65sFpBszbd2k/bQ8cs8eWawQKAabkVg==" - }, - "Microsoft.SourceLink.GitHub": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "IaJGnOv/M7UQjRJks7B6p7pbPnOwisYGOIzqCz5ilGFTApZ3ktOR+6zJ12ZRPInulBmdAf1SrGdDG2MU8g6XTw==", - "dependencies": { - "Microsoft.Build.Tasks.Git": "1.1.1", - "Microsoft.SourceLink.Common": "1.1.1" - } - }, - "Microsoft.SourceLink.GitLab": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "tvsg47DDLqqedlPeYVE2lmiTpND8F0hkrealQ5hYltSmvruy/Gr5nHAKSsjyw5L3NeM/HLMI5ORv7on/M4qyZw==", - "dependencies": { - "Microsoft.Build.Tasks.Git": "1.1.1", - "Microsoft.SourceLink.Common": "1.1.1" - } - }, - "System.Diagnostics.DiagnosticSource": { - "type": "Transitive", - "resolved": "8.0.0", - "contentHash": "c9xLpVz6PL9lp/djOWtk5KPDZq3cSYpmXoJQY524EOtuFl5z9ZtsotpsyrDW40U1DRnQSYvcPKEUV0X//u6gkQ==", - "dependencies": { - "System.Runtime.CompilerServices.Unsafe": "6.0.0" - } - }, - "System.Runtime.CompilerServices.Unsafe": { - "type": "Transitive", - "resolved": "6.0.0", - "contentHash": "/iUeP3tq1S0XdNNoMz5C9twLSrM/TH+qElHkXWaPvuNOt+99G75NrV0OS2EqHx5wMN7popYjpc8oTjC1y16DLg==" - }, - "System.Text.Encodings.Web": { - "type": "Transitive", - "resolved": "8.0.0", - "contentHash": "yev/k9GHAEGx2Rg3/tU6MQh4HGBXJs70y7j1LaM1i/ER9po+6nnQ6RRqTJn1E7Xu0fbIFK80Nh5EoODxrbxwBQ==", - "dependencies": { - "System.Runtime.CompilerServices.Unsafe": "6.0.0" - } - }, - "System.Text.Json": { - "type": "Transitive", - "resolved": "8.0.4", - "contentHash": "bAkhgDJ88XTsqczoxEMliSrpijKZHhbJQldhAmObj/RbrN3sU5dcokuXmWJWsdQAhiMJ9bTayWsL1C9fbbCRhw==", - "dependencies": { - "System.Runtime.CompilerServices.Unsafe": "6.0.0", - "System.Text.Encodings.Web": "8.0.0" - } - } - }, - "net8.0": { - "ConfigureAwaitChecker.Analyzer": { - "type": "Direct", - "requested": "[5.0.0.1, )", - "resolved": "5.0.0.1", - "contentHash": "jqOPPOJzHiUajPVGNw0MJzqUYLM3nHYEXEo1X91VqbwBqvq0+u8ASgcdmlmr4E9ffWJkjIo8vPEH9EMrKh69EQ==" - }, - "DotNet.ReproducibleBuilds": { - "type": "Direct", - "requested": "[1.1.1, )", - "resolved": "1.1.1", - "contentHash": "+H2t/t34h6mhEoUvHi8yGXyuZ2GjSovcGYehJrS2MDm2XgmPfZL2Sdxg+uL2lKgZ4M6tTwKHIlxOob2bgh0NRQ==", - "dependencies": { - "Microsoft.SourceLink.AzureRepos.Git": "1.1.1", - "Microsoft.SourceLink.Bitbucket.Git": "1.1.1", - "Microsoft.SourceLink.GitHub": "1.1.1", - "Microsoft.SourceLink.GitLab": "1.1.1" - } - }, - "Elastic.Transport": { - "type": "Direct", - "requested": "[0.4.22, )", - "resolved": "0.4.22", - "contentHash": "9J5GPHJcT8sewn2zVfWTrsCQvfQYgUiY/jx+IRjWUk7XNPd837qfEL42I5baH69cyW/e4RoDy8v76yxqz95tDw==" - }, - "Microsoft.NETFramework.ReferenceAssemblies": { - "type": "Direct", - "requested": "[1.0.3, )", - "resolved": "1.0.3", - "contentHash": "vUc9Npcs14QsyOD01tnv/m8sQUnGTGOw1BCmKcv77LBJY7OxhJ+zJF7UD/sCL3lYNFuqmQEVlkfS4Quif6FyYg==", - "dependencies": { - "Microsoft.NETFramework.ReferenceAssemblies.net461": "1.0.3" - } - }, - "Microsoft.VisualStudio.Threading.Analyzers": { - "type": "Direct", - "requested": "[17.3.44, )", - "resolved": "17.3.44", - "contentHash": "96TPV4lH1a8iXNoq6sQxSTAXXCewyt2bE7luIZd3kS7Zzs1fs6Uwd9bFg2AxBt1WNPU1ozb3D1olpsoRmLKleA==" - }, - "Microsoft.Build.Tasks.Git": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "AT3HlgTjsqHnWpBHSNeR0KxbLZD7bztlZVj7I8vgeYG9SYqbeFGh0TM/KVtC6fg53nrWHl3VfZFvb5BiQFcY6Q==" - }, - "Microsoft.NETFramework.ReferenceAssemblies.net461": { - "type": "Transitive", - "resolved": "1.0.3", - "contentHash": "AmOJZwCqnOCNp6PPcf9joyogScWLtwy0M1WkqfEQ0M9nYwyDD7EX9ZjscKS5iYnyvteX7kzSKFCKt9I9dXA6mA==" - }, - "Microsoft.SourceLink.AzureRepos.Git": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "qB5urvw9LO2bG3eVAkuL+2ughxz2rR7aYgm2iyrB8Rlk9cp2ndvGRCvehk3rNIhRuNtQaeKwctOl1KvWiklv5w==", - "dependencies": { - "Microsoft.Build.Tasks.Git": "1.1.1", - "Microsoft.SourceLink.Common": "1.1.1" - } - }, - "Microsoft.SourceLink.Bitbucket.Git": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "cDzxXwlyWpLWaH0em4Idj0H3AmVo3L/6xRXKssYemx+7W52iNskj/SQ4FOmfCb8YQt39otTDNMveCZzYtMoucQ==", - "dependencies": { - "Microsoft.Build.Tasks.Git": "1.1.1", - "Microsoft.SourceLink.Common": "1.1.1" - } - }, - "Microsoft.SourceLink.Common": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "WMcGpWKrmJmzrNeuaEb23bEMnbtR/vLmvZtkAP5qWu7vQsY59GqfRJd65sFpBszbd2k/bQ8cs8eWawQKAabkVg==" - }, - "Microsoft.SourceLink.GitHub": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "IaJGnOv/M7UQjRJks7B6p7pbPnOwisYGOIzqCz5ilGFTApZ3ktOR+6zJ12ZRPInulBmdAf1SrGdDG2MU8g6XTw==", - "dependencies": { - "Microsoft.Build.Tasks.Git": "1.1.1", - "Microsoft.SourceLink.Common": "1.1.1" - } - }, - "Microsoft.SourceLink.GitLab": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "tvsg47DDLqqedlPeYVE2lmiTpND8F0hkrealQ5hYltSmvruy/Gr5nHAKSsjyw5L3NeM/HLMI5ORv7on/M4qyZw==", - "dependencies": { - "Microsoft.Build.Tasks.Git": "1.1.1", - "Microsoft.SourceLink.Common": "1.1.1" - } - } - } - } -} \ No newline at end of file diff --git a/src/Playground/Playground.csproj b/src/Playground/Playground.csproj index 39421d601fa..5ec71553f85 100644 --- a/src/Playground/Playground.csproj +++ b/src/Playground/Playground.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 enable enable @@ -11,11 +11,10 @@ - + - diff --git a/src/Playground/packages.lock.json b/src/Playground/packages.lock.json deleted file mode 100644 index 79a711b65a4..00000000000 --- a/src/Playground/packages.lock.json +++ /dev/null @@ -1,167 +0,0 @@ -{ - "version": 1, - "dependencies": { - "net6.0": { - "DotNet.ReproducibleBuilds": { - "type": "Direct", - "requested": "[1.1.1, )", - "resolved": "1.1.1", - "contentHash": "+H2t/t34h6mhEoUvHi8yGXyuZ2GjSovcGYehJrS2MDm2XgmPfZL2Sdxg+uL2lKgZ4M6tTwKHIlxOob2bgh0NRQ==", - "dependencies": { - "Microsoft.SourceLink.AzureRepos.Git": "1.1.1", - "Microsoft.SourceLink.Bitbucket.Git": "1.1.1", - "Microsoft.SourceLink.GitHub": "1.1.1", - "Microsoft.SourceLink.GitLab": "1.1.1" - } - }, - "Elastic.Transport": { - "type": "Direct", - "requested": "[0.4.22, )", - "resolved": "0.4.22", - "contentHash": "9J5GPHJcT8sewn2zVfWTrsCQvfQYgUiY/jx+IRjWUk7XNPd837qfEL42I5baH69cyW/e4RoDy8v76yxqz95tDw==", - "dependencies": { - "System.Diagnostics.DiagnosticSource": "8.0.0", - "System.Text.Json": "8.0.4" - } - }, - "Microsoft.NETFramework.ReferenceAssemblies": { - "type": "Direct", - "requested": "[1.0.3, )", - "resolved": "1.0.3", - "contentHash": "vUc9Npcs14QsyOD01tnv/m8sQUnGTGOw1BCmKcv77LBJY7OxhJ+zJF7UD/sCL3lYNFuqmQEVlkfS4Quif6FyYg==", - "dependencies": { - "Microsoft.NETFramework.ReferenceAssemblies.net461": "1.0.3" - } - }, - "Moq": { - "type": "Direct", - "requested": "[4.18.2, )", - "resolved": "4.18.2", - "contentHash": "SjxKYS5nX6prcaT8ZjbkONh3vnh0Rxru09+gQ1a07v4TM530Oe/jq3Q4dOZPfo1wq0LYmTgLOZKrqRfEx4auPw==", - "dependencies": { - "Castle.Core": "5.1.0" - } - }, - "Newtonsoft.Json": { - "type": "Direct", - "requested": "[13.0.1, )", - "resolved": "13.0.1", - "contentHash": "ppPFpBcvxdsfUonNcvITKqLl3bqxWbDCZIzDWHzjpdAHRFfZe0Dw9HmA0+za13IdyrgJwpkDTDA9fHaxOrt20A==" - }, - "System.Text.Json": { - "type": "Direct", - "requested": "[8.0.4, )", - "resolved": "8.0.4", - "contentHash": "bAkhgDJ88XTsqczoxEMliSrpijKZHhbJQldhAmObj/RbrN3sU5dcokuXmWJWsdQAhiMJ9bTayWsL1C9fbbCRhw==", - "dependencies": { - "System.Runtime.CompilerServices.Unsafe": "6.0.0", - "System.Text.Encodings.Web": "8.0.0" - } - }, - "Castle.Core": { - "type": "Transitive", - "resolved": "5.1.0", - "contentHash": "31UJpTHOiWq95CDOHazE3Ub/hE/PydNWsJMwnEVTqFFP4WhAugwpaVGxzOxKgNeSUUeqS2W6lxV+q7u1pAOfXg==", - "dependencies": { - "System.Diagnostics.EventLog": "6.0.0" - } - }, - "Microsoft.Build.Tasks.Git": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "AT3HlgTjsqHnWpBHSNeR0KxbLZD7bztlZVj7I8vgeYG9SYqbeFGh0TM/KVtC6fg53nrWHl3VfZFvb5BiQFcY6Q==" - }, - "Microsoft.NETFramework.ReferenceAssemblies.net461": { - "type": "Transitive", - "resolved": "1.0.3", - "contentHash": "AmOJZwCqnOCNp6PPcf9joyogScWLtwy0M1WkqfEQ0M9nYwyDD7EX9ZjscKS5iYnyvteX7kzSKFCKt9I9dXA6mA==" - }, - "Microsoft.SourceLink.AzureRepos.Git": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "qB5urvw9LO2bG3eVAkuL+2ughxz2rR7aYgm2iyrB8Rlk9cp2ndvGRCvehk3rNIhRuNtQaeKwctOl1KvWiklv5w==", - "dependencies": { - "Microsoft.Build.Tasks.Git": "1.1.1", - "Microsoft.SourceLink.Common": "1.1.1" - } - }, - "Microsoft.SourceLink.Bitbucket.Git": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "cDzxXwlyWpLWaH0em4Idj0H3AmVo3L/6xRXKssYemx+7W52iNskj/SQ4FOmfCb8YQt39otTDNMveCZzYtMoucQ==", - "dependencies": { - "Microsoft.Build.Tasks.Git": "1.1.1", - "Microsoft.SourceLink.Common": "1.1.1" - } - }, - "Microsoft.SourceLink.Common": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "WMcGpWKrmJmzrNeuaEb23bEMnbtR/vLmvZtkAP5qWu7vQsY59GqfRJd65sFpBszbd2k/bQ8cs8eWawQKAabkVg==" - }, - "Microsoft.SourceLink.GitHub": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "IaJGnOv/M7UQjRJks7B6p7pbPnOwisYGOIzqCz5ilGFTApZ3ktOR+6zJ12ZRPInulBmdAf1SrGdDG2MU8g6XTw==", - "dependencies": { - "Microsoft.Build.Tasks.Git": "1.1.1", - "Microsoft.SourceLink.Common": "1.1.1" - } - }, - "Microsoft.SourceLink.GitLab": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "tvsg47DDLqqedlPeYVE2lmiTpND8F0hkrealQ5hYltSmvruy/Gr5nHAKSsjyw5L3NeM/HLMI5ORv7on/M4qyZw==", - "dependencies": { - "Microsoft.Build.Tasks.Git": "1.1.1", - "Microsoft.SourceLink.Common": "1.1.1" - } - }, - "System.Diagnostics.DiagnosticSource": { - "type": "Transitive", - "resolved": "8.0.0", - "contentHash": "c9xLpVz6PL9lp/djOWtk5KPDZq3cSYpmXoJQY524EOtuFl5z9ZtsotpsyrDW40U1DRnQSYvcPKEUV0X//u6gkQ==", - "dependencies": { - "System.Runtime.CompilerServices.Unsafe": "6.0.0" - } - }, - "System.Diagnostics.EventLog": { - "type": "Transitive", - "resolved": "6.0.0", - "contentHash": "lcyUiXTsETK2ALsZrX+nWuHSIQeazhqPphLfaRxzdGaG93+0kELqpgEHtwWOlQe7+jSFnKwaCAgL4kjeZCQJnw==" - }, - "System.Runtime.CompilerServices.Unsafe": { - "type": "Transitive", - "resolved": "6.0.0", - "contentHash": "/iUeP3tq1S0XdNNoMz5C9twLSrM/TH+qElHkXWaPvuNOt+99G75NrV0OS2EqHx5wMN7popYjpc8oTjC1y16DLg==" - }, - "System.Text.Encodings.Web": { - "type": "Transitive", - "resolved": "8.0.0", - "contentHash": "yev/k9GHAEGx2Rg3/tU6MQh4HGBXJs70y7j1LaM1i/ER9po+6nnQ6RRqTJn1E7Xu0fbIFK80Nh5EoODxrbxwBQ==", - "dependencies": { - "System.Runtime.CompilerServices.Unsafe": "6.0.0" - } - }, - "elastic.clients.elasticsearch": { - "type": "Project", - "dependencies": { - "Elastic.Transport": "[0.4.22, )" - } - }, - "elastic.clients.elasticsearch.jsonnetserializer": { - "type": "Project", - "dependencies": { - "Elastic.Clients.Elasticsearch": "[8.0.0, )", - "Newtonsoft.Json": "[13.0.1, )" - } - }, - "elastic.clients.elasticsearch.serverless": { - "type": "Project", - "dependencies": { - "Elastic.Transport": "[0.4.22, )" - } - } - } - } -} \ No newline at end of file diff --git a/src/PlaygroundV7x/Person.cs b/src/PlaygroundV7x/Person.cs deleted file mode 100644 index 391566f4cdb..00000000000 --- a/src/PlaygroundV7x/Person.cs +++ /dev/null @@ -1,31 +0,0 @@ -// 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. - -using System; -using Nest; - -namespace PlaygroundV7x -{ - public class Person - { - public int Id { get; set; } - - public Guid SecondaryId { get; set; } = Guid.NewGuid(); - public string? FirstName { get; init; } - public string? LastName { get; init; } - public int? Age { get; init; } - //public Routing? Routing { get; init; } - - public Id Idv3 => "testing"; - //public Guid Routing { get; init; } = Guid.NewGuid(); - - public string? Email { get; init; } - - public string Data { get; init; } = "NOTHING"; - - public DateTime Date { get; set; } - - public Guid Guid { get; set; } - } -} diff --git a/src/PlaygroundV7x/PlaygroundV7x.csproj b/src/PlaygroundV7x/PlaygroundV7x.csproj deleted file mode 100644 index f84729f7a50..00000000000 --- a/src/PlaygroundV7x/PlaygroundV7x.csproj +++ /dev/null @@ -1,13 +0,0 @@ - - - - Exe - net6.0 - enable - - - - - - - diff --git a/src/PlaygroundV7x/Program.cs b/src/PlaygroundV7x/Program.cs deleted file mode 100644 index 9121aef508d..00000000000 --- a/src/PlaygroundV7x/Program.cs +++ /dev/null @@ -1,263 +0,0 @@ -// 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. - -using System; -using System.Collections.Generic; -using Elasticsearch.Net; -using Nest; - -namespace PlaygroundV7x -{ - internal class Program - { - private static readonly IElasticClient Client = - new ElasticClient(new ConnectionSettings(new InMemoryConnection(Array.Empty(), 502, null, null)) - .DefaultIndex("index") - .EnableHttpCompression(false) - ); - - private static void Main() - { - var things = new List() { "a" }; - - var bulkAll = Client.BulkAll(things, r => r - .BackOffRetries(0) // Number of document retries. Can set this to zero to never retry - .BackOffTime("30s") // Time to wait between retries - .RetryDocumentPredicate((bulkResponseItem, logEntry) => false) // Decide if a document should be retried in the event of a failure. - // The default behaviour is to retry only if bulkResponseItem.Status == 429. - // This can be overridden by providing a more specific delegate, or opting to never retry failed operations. - .ContinueAfterDroppedDocuments() // Continue indexing remaining items from the IEnumerable of documents even after some are dropped. - .DroppedDocumentCallback((bulkResponseItem, logEntry) => // If a document cannot be indexed this delegate is called - { - Console.WriteLine($"{bulkResponseItem.Status} : {bulkResponseItem.Error.Reason}"); // Access operation failure information for the document - }) - .MaxDegreeOfParallelism(4) - .Size(1000)); - - try - { - bulkAll.Wait(TimeSpan.FromMinutes(10), r => Console.WriteLine("Data indexed")); - } - catch (ElasticsearchClientException ex) when (ex.Response is not null) - { - if (ex.Response.HttpStatusCode.HasValue) - { - HandleStatusCode(ex.Response.HttpStatusCode); - } - else if (ex.Response.OriginalException is ElasticsearchClientException esException && esException.FailureReason == PipelineFailure.FailedProductCheck) - { - HandleStatusCode(esException.Response?.HttpStatusCode); - } - } - - static void HandleStatusCode(int? statusCode) - { - if (statusCode.HasValue) - { - switch (statusCode.Value) - { - case 404: - Console.WriteLine("404"); // handle as required - break; - - case 410: - Console.WriteLine("410"); - break; - - // etc. - } - } - } - - - -// var aggs = new AggregationDictionary -// { -// { "startDates", new TermsAggregation("startDates") { Field = "startedOn" } }, -// { "endDates", new DateHistogramAggregation("endDates") { Field = "endedOn" } } -// }; - -// var a = new SearchRequest() -// { -// From = 10, -// Size = 20, -// Query = new Query(new MatchAllQuery()), -// Aggregations = aggs, -// PostFilter = new Query(new TermQuery -// { -// Field = "state", -// Value = "Stable" -// }) -// }; - -// var client = new ElasticClient(new ConnectionSettings(new InMemoryTransportClient()) -// .DefaultIndex("default-index") -// //.DefaultMappingFor(m => m -// //.DisableIdInference() -// //.IndexName("people")) -// //.IdProperty(id => id.SecondaryId) -// //.RoutingProperty(id => id.SecondaryId) -// //.RelationName("relation")) -// //.DefaultFieldNameInferrer(s => $"{s}_2") -// .EnableDebugMode()); - - -// var createIndexResponse = await client.Indices.CreateAsync("aa", i => i -// .Map(m => m.Properties(p => p.Boolean(b => b)))); - - - -// var filterResponse = await client.SearchAsync(s => s -// .Query(q => q -// .Bool(b => b -// .Filter( -// f => f.Term(t => t.Field(f => f.Age).Value(37)), -// f => f.Term(t => t.Field(f => f.FirstName).Value("Steve")) -// )))); - -// var person = new Person { Id = 101, FirstName = "Steve", LastName = "Gordon", Age = 37, Email = "sgordon@example.com" }; - -// var routingResponse = await client.IndexAsync(person, r => r); - -// client.Update("a", d => d.Index("test").Script(s => s.Source("script").Params(new Dictionary { { "null", new Person { FirstName = null, LastName = "test-surname" } } }))); - -// var people = new List() -// { -// new Person{ FirstName = "Steve", LastName = "Gordon"}, -// new Person{ FirstName = "Steve", LastName = "Gordon"}, -// new Person{ FirstName = "Steve", LastName = "Gordon"}, -// new Person{ FirstName = "Steve", LastName = "Gordon"}, -// new Person{ FirstName = "Steve", LastName = "Gordon"}, -// }; - -// //using var bulk = client.BulkAll(people, r => r.Index("testing-v7")); -// //var result = bulk.Wait(TimeSpan.FromSeconds(60), a => { Console.WriteLine(a.Items.Count); }); -// //var a1 = result.TotalNumberOfRetries; -// //var b1 = result.TotalNumberOfFailedBuffers; - -// using var bulk2 = client.BulkAll(people, r => r); -// var result2 = bulk2.Wait(TimeSpan.FromSeconds(60), a => { Console.WriteLine(a.Items.Count); }); -// var a12 = result2.TotalNumberOfRetries; -// var b12 = result2.TotalNumberOfFailedBuffers; - -// //var responseBulk = client.Bulk(new BulkRequest -// //{ -// // Operations = new List -// //{ -// // new BulkIndexOperation(new Person()) { Index = "people" } , -// // new BulkIndexOperation(new Person()) { Index = "people", IfSequenceNumber = -1, IfPrimaryTerm = 0 } -// //} -// //}); - -// var response = client.Index(new Person(), e => e.Index("test")); - -// var settingsResponse = await client.Indices.CreateAsync("a", i => i.Settings(s => s.Analysis(a => a.TokenFilters(tf => tf -// .Shingle("my-shingle", s => s.MinShingleSize(2)) -// .Snowball("my_snowball", s => s.Version("v1")))))); - -// //var c1 = new ElasticClient(new ConnectionSettings(new Uri("https://azure.es.eastus.azure.elastic-cloud.com:9243")).BasicAuthentication("a", "b").ThrowExceptions()); - -// //var r1 = await c1.PingAsync(); - - - - -//#pragma warning disable IDE0039 // Use local function -// Func, IBoolQuery> test = b => b.Name("thing"); -//#pragma warning restore IDE0039 // Use local function - -// static IBoolQuery TestBoolQuery(BoolQueryDescriptor b) => b.Name("thing"); - -// var thing = Query.Bool(test); -// thing = Query.Bool(TestBoolQuery); - -// var matchQueryOne = Query.Match(m => m.Field(f => f.FirstName).Query("Steve")); -// var matchQueryTwo = new Query(new MatchQuery() { Field = Infer.Field(f => f.FirstName), Query = "Steve" }); -// var matchQueryThree = new QueryDescriptor().Match(m => m.Field(f => f.FirstName).Query("Steve")); - - -// //var a = client.IndexMany(new Person[0] { }, a => a.) - -// var matchAll = new Query(new MatchAllQuery() { Name = "test_query", IsVerbatim = true }); -// //var filter = Query.Bool(b => b.Filter(f => f.Match(m => m.Field(fld => fld.FirstName).Query("Steve").Name("test_match")))); -// var boolQuery = new Query(new BoolQuery() { Filter = new[] { new Query(new MatchQuery() { Name = "test_match", Field = "firstName", Query = "Steve" }) } }); - -// var spanQuery = new Query(new SpanContainingQuery() -// { -// Big = new SpanQuery() -// { -// //SpanTerm = new SpanTermQuery { Field = "test", Value = "foo", Name = "span_term_name" }, -// SpanNear = new SpanNearQuery -// { -// Slop = 5, -// InOrder = true, -// Clauses = new ISpanQuery[] -// { -// new SpanQuery() { SpanTerm = new SpanTermQuery { Field = "test", Value = "bar", Name = "span_term_inner_name_1" } }, -// new SpanQuery() { SpanTerm = new SpanTermQuery { Field = "test", Value = "baz", Name = "span_term_inner_name_2" } }, -// } -// } -// } -// }); - -// spanQuery = new Query(new SpanNearQuery() -// { -// Clauses = new[] { new SpanQuery() { SpanGap = new SpanGapQuery() { Field = "test", Width = 10 } } } -// }); - -// //var spanQueryRaw = new SpanQuery() -// //{ -// // SpanFirst = new SpanFirstQuery(), -// // SpanContaining = new SpanContainingQuery() -// //}; - -// var search = new SearchRequest() -// { -// Query = spanQuery -// }; - -// _ = await client.SearchAsync(new SearchDescriptor()); -// _ = await client.CountAsync(new CountDescriptor()); - -// //var response = await client.SearchAsync(search); - -// var r = await client.Indices.CreateAsync("", c => c.Settings(s => s.Analysis(a => a.CharFilters(cf => cf -// .HtmlStrip("name", h => h) -// .PatternReplace("name-2", p => p))))); - -// //var indexName = Guid.NewGuid().ToString(); - -// //// Create an index -// //var createResponse = await client.Indices.CreateAsync(new CreateIndexRequest(indexName) -// //{ -// // Mappings = new TypeMapping -// // { -// // DateDetection = false, -// // Properties = new Properties -// // { -// // {"age", new NumberProperty(NumberType.Integer)}, -// // {"name", new TextProperty()}, -// // {"email", new KeywordProperty()} -// // }, -// // Meta = new Dictionary() -// // { -// // { "foo", "bar" } -// // } -// // } -// //}); - -// //var intervalsQuery = new IntervalsQuery() -// //{ -// // Match = new IntervalsMatch() -// // { - -// // }, -// // AllOf = new IntervalsAllOf() -// // { - -// // } -// //} - } - } -} diff --git a/src/PlaygroundV7x/packages.lock.json b/src/PlaygroundV7x/packages.lock.json deleted file mode 100644 index 62cf7054331..00000000000 --- a/src/PlaygroundV7x/packages.lock.json +++ /dev/null @@ -1,113 +0,0 @@ -{ - "version": 1, - "dependencies": { - "net6.0": { - "DotNet.ReproducibleBuilds": { - "type": "Direct", - "requested": "[1.1.1, )", - "resolved": "1.1.1", - "contentHash": "+H2t/t34h6mhEoUvHi8yGXyuZ2GjSovcGYehJrS2MDm2XgmPfZL2Sdxg+uL2lKgZ4M6tTwKHIlxOob2bgh0NRQ==", - "dependencies": { - "Microsoft.SourceLink.AzureRepos.Git": "1.1.1", - "Microsoft.SourceLink.Bitbucket.Git": "1.1.1", - "Microsoft.SourceLink.GitHub": "1.1.1", - "Microsoft.SourceLink.GitLab": "1.1.1" - } - }, - "Microsoft.NETFramework.ReferenceAssemblies": { - "type": "Direct", - "requested": "[1.0.3, )", - "resolved": "1.0.3", - "contentHash": "vUc9Npcs14QsyOD01tnv/m8sQUnGTGOw1BCmKcv77LBJY7OxhJ+zJF7UD/sCL3lYNFuqmQEVlkfS4Quif6FyYg==", - "dependencies": { - "Microsoft.NETFramework.ReferenceAssemblies.net461": "1.0.3" - } - }, - "NEST": { - "type": "Direct", - "requested": "[7.17.5, )", - "resolved": "7.17.5", - "contentHash": "bo9UyuIoVRx4IUQiuC8ZrlZuvAXKIccernC7UUKukQCEmRq2eVIk+gubHlnMQljrP51q0mN4cjgy9vv5uZPkoA==", - "dependencies": { - "Elasticsearch.Net": "7.17.5" - } - }, - "Elasticsearch.Net": { - "type": "Transitive", - "resolved": "7.17.5", - "contentHash": "orChsQi1Ceho/NyIylNOn6y4vuGcsbCfMZnCueNN0fzqYEGQmQdPfcVmsR5+3fwpXTgxCdjTUVmqOwvHpCSB+Q==", - "dependencies": { - "Microsoft.CSharp": "4.6.0", - "System.Buffers": "4.5.1", - "System.Diagnostics.DiagnosticSource": "5.0.0" - } - }, - "Microsoft.Build.Tasks.Git": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "AT3HlgTjsqHnWpBHSNeR0KxbLZD7bztlZVj7I8vgeYG9SYqbeFGh0TM/KVtC6fg53nrWHl3VfZFvb5BiQFcY6Q==" - }, - "Microsoft.CSharp": { - "type": "Transitive", - "resolved": "4.6.0", - "contentHash": "kxn3M2rnAGy5N5DgcIwcE8QTePWU/XiYcQVzn9HqTls2NKluVzVSmVWRjK7OUPWbljCXuZxHyhEz9kPRIQeXow==" - }, - "Microsoft.NETFramework.ReferenceAssemblies.net461": { - "type": "Transitive", - "resolved": "1.0.3", - "contentHash": "AmOJZwCqnOCNp6PPcf9joyogScWLtwy0M1WkqfEQ0M9nYwyDD7EX9ZjscKS5iYnyvteX7kzSKFCKt9I9dXA6mA==" - }, - "Microsoft.SourceLink.AzureRepos.Git": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "qB5urvw9LO2bG3eVAkuL+2ughxz2rR7aYgm2iyrB8Rlk9cp2ndvGRCvehk3rNIhRuNtQaeKwctOl1KvWiklv5w==", - "dependencies": { - "Microsoft.Build.Tasks.Git": "1.1.1", - "Microsoft.SourceLink.Common": "1.1.1" - } - }, - "Microsoft.SourceLink.Bitbucket.Git": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "cDzxXwlyWpLWaH0em4Idj0H3AmVo3L/6xRXKssYemx+7W52iNskj/SQ4FOmfCb8YQt39otTDNMveCZzYtMoucQ==", - "dependencies": { - "Microsoft.Build.Tasks.Git": "1.1.1", - "Microsoft.SourceLink.Common": "1.1.1" - } - }, - "Microsoft.SourceLink.Common": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "WMcGpWKrmJmzrNeuaEb23bEMnbtR/vLmvZtkAP5qWu7vQsY59GqfRJd65sFpBszbd2k/bQ8cs8eWawQKAabkVg==" - }, - "Microsoft.SourceLink.GitHub": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "IaJGnOv/M7UQjRJks7B6p7pbPnOwisYGOIzqCz5ilGFTApZ3ktOR+6zJ12ZRPInulBmdAf1SrGdDG2MU8g6XTw==", - "dependencies": { - "Microsoft.Build.Tasks.Git": "1.1.1", - "Microsoft.SourceLink.Common": "1.1.1" - } - }, - "Microsoft.SourceLink.GitLab": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "tvsg47DDLqqedlPeYVE2lmiTpND8F0hkrealQ5hYltSmvruy/Gr5nHAKSsjyw5L3NeM/HLMI5ORv7on/M4qyZw==", - "dependencies": { - "Microsoft.Build.Tasks.Git": "1.1.1", - "Microsoft.SourceLink.Common": "1.1.1" - } - }, - "System.Buffers": { - "type": "Transitive", - "resolved": "4.5.1", - "contentHash": "Rw7ijyl1qqRS0YQD/WycNst8hUUMgrMH4FCn1nNm27M4VxchZ1js3fVjQaANHO5f3sN4isvP4a+Met9Y4YomAg==" - }, - "System.Diagnostics.DiagnosticSource": { - "type": "Transitive", - "resolved": "5.0.0", - "contentHash": "tCQTzPsGZh/A9LhhA6zrqCRV4hOHsK90/G7q3Khxmn6tnB1PuNU0cRaKANP2AWcF9bn0zsuOoZOSrHuJk6oNBA==" - } - } - } -} \ No newline at end of file diff --git a/tests/Directory.Build.props b/tests/Directory.Build.props index ef2727daa40..9607d11a937 100644 --- a/tests/Directory.Build.props +++ b/tests/Directory.Build.props @@ -4,7 +4,4 @@ CAC001 - - $(SolutionRoot)/build/output;https://api.nuget.org/v3/index.json - diff --git a/tests/Tests.ClusterLauncher/packages.lock.json b/tests/Tests.ClusterLauncher/packages.lock.json deleted file mode 100644 index 510916705b8..00000000000 --- a/tests/Tests.ClusterLauncher/packages.lock.json +++ /dev/null @@ -1,2628 +0,0 @@ -{ - "version": 1, - "dependencies": { - "net6.0": { - "DotNet.ReproducibleBuilds": { - "type": "Direct", - "requested": "[1.1.1, )", - "resolved": "1.1.1", - "contentHash": "+H2t/t34h6mhEoUvHi8yGXyuZ2GjSovcGYehJrS2MDm2XgmPfZL2Sdxg+uL2lKgZ4M6tTwKHIlxOob2bgh0NRQ==", - "dependencies": { - "Microsoft.SourceLink.AzureRepos.Git": "1.1.1", - "Microsoft.SourceLink.Bitbucket.Git": "1.1.1", - "Microsoft.SourceLink.GitHub": "1.1.1", - "Microsoft.SourceLink.GitLab": "1.1.1" - } - }, - "Microsoft.NETFramework.ReferenceAssemblies": { - "type": "Direct", - "requested": "[1.0.2, )", - "resolved": "1.0.2", - "contentHash": "5/cSEVld+px/CuRrbohO/djfg6++eR6zGpy88MgqloXvkj//WXWpFZyu/OpkXPN0u5m+dN/EVwLNYFUxD4h2+A==", - "dependencies": { - "Microsoft.NETFramework.ReferenceAssemblies.net461": "1.0.2" - } - }, - "Bogus": { - "type": "Transitive", - "resolved": "22.1.2", - "contentHash": "FnYg++zOsFkN3wQJcPT6U4bmZoW/zDWp474QsZG2KX/ClCiEOwIfUxJ9xuKgwv46K0LvVoicQD09hgPke0FG1A==" - }, - "DiffPlex": { - "type": "Transitive", - "resolved": "1.4.1", - "contentHash": "xZLcguPf0Gl67Ygz8XIhiQmTeUIs/M4eB9ylOelNGnHMvmqxe9bQ89omVJdoSO6gvc4NSmonHGL+zfwrSEjGnA==", - "dependencies": { - "NETStandard.Library": "1.6.1" - } - }, - "Elastic.Elasticsearch.Ephemeral": { - "type": "Transitive", - "resolved": "0.4.3", - "contentHash": "fmu7A6bm3sOTGrG+MAINRQ2Op0n6K1OjfNErNMhpTOt5mQ0UjX8zfpiZoM+nB0jA8bX1nt1YR++5YCnYGJFtRg==", - "dependencies": { - "Elastic.Elasticsearch.Managed": "0.4.3", - "SharpZipLib.NETStandard": "1.0.7" - } - }, - "Elastic.Elasticsearch.Managed": { - "type": "Transitive", - "resolved": "0.4.3", - "contentHash": "B7FvSMeNqYM3Yl/r/QRyROuAkMSiSQ0EvZQ36Cqrxm6uRBodlwky4yy4Im/AnOIQIl5lFLGr4vLHwWedHPharw==", - "dependencies": { - "Elastic.Stack.ArtifactsApi": "0.4.3", - "Proc": "0.6.1", - "System.Net.Http": "4.3.1" - } - }, - "Elastic.Elasticsearch.Xunit": { - "type": "Transitive", - "resolved": "0.4.3", - "contentHash": "kKn9Fiihel643Rywvl1bH2luQdhuefMh7wVPaLViEj8olU5Ud0bb1nZ8AFhm4PnEbLjw5PZ49Pn5hvyoYnJesQ==", - "dependencies": { - "Elastic.Elasticsearch.Ephemeral": "0.4.3", - "xunit": "2.4.1" - } - }, - "Elastic.Stack.ArtifactsApi": { - "type": "Transitive", - "resolved": "0.4.3", - "contentHash": "mqfBDj5s8Gj6QWNYmCNJo2raxbzn8fUBk+eSxA5HeDYjEXoK52kOBvFSy4bL9Qaz+EW6JvOvt8nw0cm5MorJUA==", - "dependencies": { - "SemanticVersioning": "0.8.0", - "System.Text.Json": "4.6.0" - } - }, - "Elastic.Transport": { - "type": "Transitive", - "resolved": "0.4.22", - "contentHash": "9J5GPHJcT8sewn2zVfWTrsCQvfQYgUiY/jx+IRjWUk7XNPd837qfEL42I5baH69cyW/e4RoDy8v76yxqz95tDw==", - "dependencies": { - "System.Diagnostics.DiagnosticSource": "8.0.0", - "System.Text.Json": "8.0.4" - } - }, - "FluentAssertions": { - "type": "Transitive", - "resolved": "5.10.3", - "contentHash": "gVPEVp1hLVqcv+7Q2wiDf7kqCNn7+bQcQ0jbJ2mcRT6CeRoZl1tNkqvzSIhvekyldDptk77j1b03MXTTRIqqpg==", - "dependencies": { - "System.Configuration.ConfigurationManager": "4.4.0" - } - }, - "JunitXml.TestLogger": { - "type": "Transitive", - "resolved": "3.0.110", - "contentHash": "D0Kl9mNnbSZgEa8ZgsEAJskPvyrC9k+5BsEWUqvNr++BZJbYIb08fwe0ohvb6WEzJlMPmeLJMmvQuw5yIq3gjA==" - }, - "Microsoft.Bcl.HashCode": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "MalY0Y/uM/LjXtHfX/26l2VtN4LDNZ2OE3aumNOHDLsT4fNYy2hiHXI4CXCqKpNUNm7iJ2brrc4J89UdaL56FA==" - }, - "Microsoft.Build.Tasks.Git": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "AT3HlgTjsqHnWpBHSNeR0KxbLZD7bztlZVj7I8vgeYG9SYqbeFGh0TM/KVtC6fg53nrWHl3VfZFvb5BiQFcY6Q==" - }, - "Microsoft.CodeCoverage": { - "type": "Transitive", - "resolved": "17.2.0", - "contentHash": "MsKhJmwIfHxNDbTIlgQy29UpWSWPpbZOQPhQ7xalRy+ABnl8/neFHZGzSP3XlpW2dKAXHTFrtIcKzW/kopY2Bg==" - }, - "Microsoft.NET.Test.Sdk": { - "type": "Transitive", - "resolved": "17.2.0", - "contentHash": "kYmkDYbcDd+jNvmMH4TMtgHjsUYbIsWENM2VcjB0X7TawXbehL5I8OIsu2TgFS/nQCgZE94InrqMxrm7WDy+Lw==", - "dependencies": { - "Microsoft.CodeCoverage": "17.2.0", - "Microsoft.TestPlatform.TestHost": "17.2.0" - } - }, - "Microsoft.NETCore.Platforms": { - "type": "Transitive", - "resolved": "1.1.0", - "contentHash": "kz0PEW2lhqygehI/d6XsPCQzD7ff7gUJaVGPVETX611eadGsA3A877GdSlU0LRVMCTH/+P3o2iDTak+S08V2+A==" - }, - "Microsoft.NETCore.Targets": { - "type": "Transitive", - "resolved": "1.1.0", - "contentHash": "aOZA3BWfz9RXjpzt0sRJJMjAscAUm3Hoa4UWAfceV9UTYxgwZ1lZt5nO2myFf+/jetYQo4uTP7zS8sJY67BBxg==" - }, - "Microsoft.NETFramework.ReferenceAssemblies.net461": { - "type": "Transitive", - "resolved": "1.0.2", - "contentHash": "8shzGaD5pZi4npuJYCM3de6pl0zlefcbyTIvXIiCdsTqauZ7lAhdaJVtJSqlhYid9VosFAOygBykoJ1SEOlGWA==" - }, - "Microsoft.SourceLink.AzureRepos.Git": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "qB5urvw9LO2bG3eVAkuL+2ughxz2rR7aYgm2iyrB8Rlk9cp2ndvGRCvehk3rNIhRuNtQaeKwctOl1KvWiklv5w==", - "dependencies": { - "Microsoft.Build.Tasks.Git": "1.1.1", - "Microsoft.SourceLink.Common": "1.1.1" - } - }, - "Microsoft.SourceLink.Bitbucket.Git": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "cDzxXwlyWpLWaH0em4Idj0H3AmVo3L/6xRXKssYemx+7W52iNskj/SQ4FOmfCb8YQt39otTDNMveCZzYtMoucQ==", - "dependencies": { - "Microsoft.Build.Tasks.Git": "1.1.1", - "Microsoft.SourceLink.Common": "1.1.1" - } - }, - "Microsoft.SourceLink.Common": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "WMcGpWKrmJmzrNeuaEb23bEMnbtR/vLmvZtkAP5qWu7vQsY59GqfRJd65sFpBszbd2k/bQ8cs8eWawQKAabkVg==" - }, - "Microsoft.SourceLink.GitHub": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "IaJGnOv/M7UQjRJks7B6p7pbPnOwisYGOIzqCz5ilGFTApZ3ktOR+6zJ12ZRPInulBmdAf1SrGdDG2MU8g6XTw==", - "dependencies": { - "Microsoft.Build.Tasks.Git": "1.1.1", - "Microsoft.SourceLink.Common": "1.1.1" - } - }, - "Microsoft.SourceLink.GitLab": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "tvsg47DDLqqedlPeYVE2lmiTpND8F0hkrealQ5hYltSmvruy/Gr5nHAKSsjyw5L3NeM/HLMI5ORv7on/M4qyZw==", - "dependencies": { - "Microsoft.Build.Tasks.Git": "1.1.1", - "Microsoft.SourceLink.Common": "1.1.1" - } - }, - "Microsoft.TestPlatform.ObjectModel": { - "type": "Transitive", - "resolved": "17.2.0", - "contentHash": "7j1KYDHLhU98XnCEbECMncXLydI9fNiFLcFsiBsP3lV6EkHOaj5kTPAWHYkKnPGRC9TbZUboSQq8rWI4dTQsxg==", - "dependencies": { - "NuGet.Frameworks": "5.11.0", - "System.Reflection.Metadata": "1.6.0" - } - }, - "Microsoft.TestPlatform.TestHost": { - "type": "Transitive", - "resolved": "17.2.0", - "contentHash": "bI67J+hers241h7eD2eecS02p9CbKcQDIeoRvO4FgMlTWg2ZTzc0D3uWLYr5U+K5x9O1pNmyMoMDbYIeWY/TWw==", - "dependencies": { - "Microsoft.TestPlatform.ObjectModel": "17.2.0", - "Newtonsoft.Json": "9.0.1" - } - }, - "Microsoft.Win32.Primitives": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "9ZQKCWxH7Ijp9BfahvL2Zyf1cJIk8XYLF6Yjzr2yi0b2cOut/HQ31qf1ThHAgCc3WiZMdnWcfJCgN82/0UunxA==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } - }, - "Microsoft.Win32.Registry": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "Lw1/VwLH1yxz6SfFEjVRCN0pnflLEsWgnV4qsdJ512/HhTwnKXUG+zDQ4yTO3K/EJQemGoNaBHX5InISNKTzUQ==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "System.Collections": "4.3.0", - "System.Globalization": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.Handles": "4.3.0", - "System.Runtime.InteropServices": "4.3.0" - } - }, - "NETStandard.Library": { - "type": "Transitive", - "resolved": "1.6.1", - "contentHash": "WcSp3+vP+yHNgS8EV5J7pZ9IRpeDuARBPN28by8zqff1wJQXm26PVU8L3/fYLBJVU7BtDyqNVWq2KlCVvSSR4A==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.Win32.Primitives": "4.3.0", - "System.AppContext": "4.3.0", - "System.Collections": "4.3.0", - "System.Collections.Concurrent": "4.3.0", - "System.Console": "4.3.0", - "System.Diagnostics.Debug": "4.3.0", - "System.Diagnostics.Tools": "4.3.0", - "System.Diagnostics.Tracing": "4.3.0", - "System.Globalization": "4.3.0", - "System.Globalization.Calendars": "4.3.0", - "System.IO": "4.3.0", - "System.IO.Compression": "4.3.0", - "System.IO.Compression.ZipFile": "4.3.0", - "System.IO.FileSystem": "4.3.0", - "System.IO.FileSystem.Primitives": "4.3.0", - "System.Linq": "4.3.0", - "System.Linq.Expressions": "4.3.0", - "System.Net.Http": "4.3.0", - "System.Net.Primitives": "4.3.0", - "System.Net.Sockets": "4.3.0", - "System.ObjectModel": "4.3.0", - "System.Reflection": "4.3.0", - "System.Reflection.Extensions": "4.3.0", - "System.Reflection.Primitives": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.Handles": "4.3.0", - "System.Runtime.InteropServices": "4.3.0", - "System.Runtime.InteropServices.RuntimeInformation": "4.3.0", - "System.Runtime.Numerics": "4.3.0", - "System.Security.Cryptography.Algorithms": "4.3.0", - "System.Security.Cryptography.Encoding": "4.3.0", - "System.Security.Cryptography.Primitives": "4.3.0", - "System.Security.Cryptography.X509Certificates": "4.3.0", - "System.Text.Encoding": "4.3.0", - "System.Text.Encoding.Extensions": "4.3.0", - "System.Text.RegularExpressions": "4.3.0", - "System.Threading": "4.3.0", - "System.Threading.Tasks": "4.3.0", - "System.Threading.Timer": "4.3.0", - "System.Xml.ReaderWriter": "4.3.0", - "System.Xml.XDocument": "4.3.0" - } - }, - "Newtonsoft.Json": { - "type": "Transitive", - "resolved": "13.0.1", - "contentHash": "ppPFpBcvxdsfUonNcvITKqLl3bqxWbDCZIzDWHzjpdAHRFfZe0Dw9HmA0+za13IdyrgJwpkDTDA9fHaxOrt20A==" - }, - "NuGet.Frameworks": { - "type": "Transitive", - "resolved": "5.11.0", - "contentHash": "eaiXkUjC4NPcquGWzAGMXjuxvLwc6XGKMptSyOGQeT0X70BUZObuybJFZLA0OfTdueLd3US23NBPTBb6iF3V1Q==" - }, - "Nullean.VsTest.Pretty.TestLogger": { - "type": "Transitive", - "resolved": "0.3.0", - "contentHash": "11Cklf+kZ1JS+l3CRZaWQaQHmRm0Je/iIrci6bwY5c9/QXrCuYgWe/A2w0G1eYe33QU5sgUmds48Y7HQFK89mw==", - "dependencies": { - "Microsoft.TestPlatform.ObjectModel": "15.8.0" - } - }, - "Proc": { - "type": "Transitive", - "resolved": "0.6.1", - "contentHash": "xRSCfgQNoGy60MOuvD2X1euzqvWDoyfpB8NAfVs2E5K5U1I8cA9MvVY6NbUkp5ApbOmVXls2JEPrOn8rQi2Pzg==", - "dependencies": { - "System.Diagnostics.Process": "[4.3.0]", - "System.Threading.Thread": "[4.3.0]" - } - }, - "runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "HdSSp5MnJSsg08KMfZThpuLPJpPwE5hBXvHwoKWosyHHfe8Mh5WKT0ylEOf6yNzX6Ngjxe4Whkafh5q7Ymac4Q==" - }, - "runtime.fedora.23-x64.runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "+yH1a49wJMy8Zt4yx5RhJrxO/DBDByAiCzNwiETI+1S4mPdCu0OY4djdciC7Vssk0l22wQaDLrXxXkp+3+7bVA==" - }, - "runtime.fedora.24-x64.runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "c3YNH1GQJbfIPJeCnr4avseugSqPrxwIqzthYyZDN6EuOyNOzq+y2KSUfRcXauya1sF4foESTgwM5e1A8arAKw==" - }, - "runtime.native.System": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "c/qWt2LieNZIj1jGnVNsE2Kl23Ya2aSTBuXMD6V7k9KWr6l16Tqdwq+hJScEpWER9753NWC8h96PaVNY5Ld7Jw==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0" - } - }, - "runtime.native.System.IO.Compression": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "INBPonS5QPEgn7naufQFXJEp3zX6L4bwHgJ/ZH78aBTpeNfQMtf7C6VrAFhlq2xxWBveIOWyFzQjJ8XzHMhdOQ==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0" - } - }, - "runtime.native.System.Net.Http": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "ZVuZJqnnegJhd2k/PtAbbIcZ3aZeITq3sj06oKfMBSfphW3HDmk/t4ObvbOk/JA/swGR0LNqMksAh/f7gpTROg==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0" - } - }, - "runtime.native.System.Security.Cryptography.Apple": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "DloMk88juo0OuOWr56QG7MNchmafTLYWvABy36izkrLI5VledI0rq28KGs1i9wbpeT9NPQrx/wTf8U2vazqQ3Q==", - "dependencies": { - "runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.Apple": "4.3.0" - } - }, - "runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "NS1U+700m4KFRHR5o4vo9DSlTmlCKu/u7dtE5sUHVIPB+xpXxYQvgBgA6wEIeCz6Yfn0Z52/72WYsToCEPJnrw==", - "dependencies": { - "runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0", - "runtime.fedora.23-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0", - "runtime.fedora.24-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0", - "runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0", - "runtime.opensuse.42.1-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0", - "runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0", - "runtime.rhel.7-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0", - "runtime.ubuntu.14.04-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0", - "runtime.ubuntu.16.04-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0", - "runtime.ubuntu.16.10-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0" - } - }, - "runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "b3pthNgxxFcD+Pc0WSEoC0+md3MyhRS6aCEeenvNE3Fdw1HyJ18ZhRFVJJzIeR/O/jpxPboB805Ho0T3Ul7w8A==" - }, - "runtime.opensuse.42.1-x64.runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "KeLz4HClKf+nFS7p/6Fi/CqyLXh81FpiGzcmuS8DGi9lUqSnZ6Es23/gv2O+1XVGfrbNmviF7CckBpavkBoIFQ==" - }, - "runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.Apple": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "kVXCuMTrTlxq4XOOMAysuNwsXWpYeboGddNGpIgNSZmv1b6r/s/DPk0fYMB7Q5Qo4bY68o48jt4T4y5BVecbCQ==" - }, - "runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "X7IdhILzr4ROXd8mI1BUCQMSHSQwelUlBjF1JyTKCjXaOGn2fB4EKBxQbCK2VjO3WaWIdlXZL3W6TiIVnrhX4g==" - }, - "runtime.rhel.7-x64.runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "nyFNiCk/r+VOiIqreLix8yN+q3Wga9+SE8BCgkf+2BwEKiNx6DyvFjCgkfV743/grxv8jHJ8gUK4XEQw7yzRYg==" - }, - "runtime.ubuntu.14.04-x64.runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "ytoewC6wGorL7KoCAvRfsgoJPJbNq+64k2SqW6JcOAebWsFUvCCYgfzQMrnpvPiEl4OrblUlhF2ji+Q1+SVLrQ==" - }, - "runtime.ubuntu.16.04-x64.runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "I8bKw2I8k58Wx7fMKQJn2R8lamboCAiHfHeV/pS65ScKWMMI0+wJkLYlEKvgW1D/XvSl/221clBoR2q9QNNM7A==" - }, - "runtime.ubuntu.16.10-x64.runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "VB5cn/7OzUfzdnC8tqAIMQciVLiq2epm2NrAm1E9OjNRyG4lVhfR61SMcLizejzQP8R8Uf/0l5qOIbUEi+RdEg==" - }, - "SemanticVersioning": { - "type": "Transitive", - "resolved": "0.8.0", - "contentHash": "hUCnQL79hU0W6X4jPeMAtGDwoEJeBEZfGBnkT+jPG45lD7KHn4h61HgYN8y1HAjPrXmC5oJcLx3l8ygPJOqvlA==", - "dependencies": { - "NETStandard.Library": "1.6.0" - } - }, - "SharpZipLib.NETStandard": { - "type": "Transitive", - "resolved": "1.0.7", - "contentHash": "mYKPizF2CY32RQB8FITYy0e30gVgItFA63SFquruaxq+votwL1T+yOfssK10v4enBcxklr8ks48hS1emw5TTXg==", - "dependencies": { - "NETStandard.Library": "1.6.1" - } - }, - "System.AppContext": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "fKC+rmaLfeIzUhagxY17Q9siv/sPrjjKcfNg1Ic8IlQkZLipo8ljcaZQu4VtI4Jqbzjc2VTjzGLF6WmsRXAEgA==", - "dependencies": { - "System.Runtime": "4.3.0" - } - }, - "System.Buffers": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "ratu44uTIHgeBeI0dE8DWvmXVBSo4u7ozRZZHOMmK/JPpYyo0dAfgSiHlpiObMQ5lEtEyIXA40sKRYg5J6A8uQ==", - "dependencies": { - "System.Diagnostics.Debug": "4.3.0", - "System.Diagnostics.Tracing": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Threading": "4.3.0" - } - }, - "System.Collections": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "3Dcj85/TBdVpL5Zr+gEEBUuFe2icOnLalmEh9hfck1PTYbbyWuZgh4fmm2ysCLTrqLQw6t3TgTyJ+VLp+Qb+Lw==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } - }, - "System.Collections.Concurrent": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "ztl69Xp0Y/UXCL+3v3tEU+lIy+bvjKNUmopn1wep/a291pVPK7dxBd6T7WnlQqRog+d1a/hSsgRsmFnIBKTPLQ==", - "dependencies": { - "System.Collections": "4.3.0", - "System.Diagnostics.Debug": "4.3.0", - "System.Diagnostics.Tracing": "4.3.0", - "System.Globalization": "4.3.0", - "System.Reflection": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Threading": "4.3.0", - "System.Threading.Tasks": "4.3.0" - } - }, - "System.Configuration.ConfigurationManager": { - "type": "Transitive", - "resolved": "4.4.0", - "contentHash": "gWwQv/Ug1qWJmHCmN17nAbxJYmQBM/E94QxKLksvUiiKB1Ld3Sc/eK1lgmbSjDFxkQhVuayI/cGFZhpBSodLrg==", - "dependencies": { - "System.Security.Cryptography.ProtectedData": "4.4.0" - } - }, - "System.Console": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "DHDrIxiqk1h03m6khKWV2X8p/uvN79rgSqpilL6uzpmSfxfU5ng8VcPtW4qsDsQDHiTv6IPV9TmD5M/vElPNLg==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.IO": "4.3.0", - "System.Runtime": "4.3.0", - "System.Text.Encoding": "4.3.0" - } - }, - "System.Diagnostics.Debug": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "ZUhUOdqmaG5Jk3Xdb8xi5kIyQYAA4PnTNlHx1mu9ZY3qv4ELIdKbnL/akbGaKi2RnNUWaZsAs31rvzFdewTj2g==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } - }, - "System.Diagnostics.DiagnosticSource": { - "type": "Transitive", - "resolved": "8.0.0", - "contentHash": "c9xLpVz6PL9lp/djOWtk5KPDZq3cSYpmXoJQY524EOtuFl5z9ZtsotpsyrDW40U1DRnQSYvcPKEUV0X//u6gkQ==", - "dependencies": { - "System.Runtime.CompilerServices.Unsafe": "6.0.0" - } - }, - "System.Diagnostics.Process": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "J0wOX07+QASQblsfxmIMFc9Iq7KTXYL3zs2G/Xc704Ylv3NpuVdo6gij6V3PGiptTxqsK0K7CdXenRvKUnkA2g==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.Win32.Primitives": "4.3.0", - "Microsoft.Win32.Registry": "4.3.0", - "System.Collections": "4.3.0", - "System.Diagnostics.Debug": "4.3.0", - "System.Globalization": "4.3.0", - "System.IO": "4.3.0", - "System.IO.FileSystem": "4.3.0", - "System.IO.FileSystem.Primitives": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.Handles": "4.3.0", - "System.Runtime.InteropServices": "4.3.0", - "System.Text.Encoding": "4.3.0", - "System.Text.Encoding.Extensions": "4.3.0", - "System.Threading": "4.3.0", - "System.Threading.Tasks": "4.3.0", - "System.Threading.Thread": "4.3.0", - "System.Threading.ThreadPool": "4.3.0", - "runtime.native.System": "4.3.0" - } - }, - "System.Diagnostics.Tools": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "UUvkJfSYJMM6x527dJg2VyWPSRqIVB0Z7dbjHst1zmwTXz5CcXSYJFWRpuigfbO1Lf7yfZiIaEUesfnl/g5EyA==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } - }, - "System.Diagnostics.Tracing": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "rswfv0f/Cqkh78rA5S8eN8Neocz234+emGCtTF3lxPY96F+mmmUen6tbn0glN6PMvlKQb9bPAY5e9u7fgPTkKw==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } - }, - "System.Globalization": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "kYdVd2f2PAdFGblzFswE4hkNANJBKRmsfa2X5LG2AcWE1c7/4t0pYae1L8vfZ5xvE2nK/R9JprtToA61OSHWIg==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } - }, - "System.Globalization.Calendars": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "GUlBtdOWT4LTV3I+9/PJW+56AnnChTaOqqTLFtdmype/L500M2LIyXgmtd9X2P2VOkmJd5c67H5SaC2QcL1bFA==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Globalization": "4.3.0", - "System.Runtime": "4.3.0" - } - }, - "System.Globalization.Extensions": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "FhKmdR6MPG+pxow6wGtNAWdZh7noIOpdD5TwQ3CprzgIE1bBBoim0vbR1+AWsWjQmU7zXHgQo4TWSP6lCeiWcQ==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "System.Globalization": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.InteropServices": "4.3.0" - } - }, - "System.IO": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "3qjaHvxQPDpSOYICjUoTsmoq5u6QJAFRUITgeT/4gqkF1bajbSmb1kwSxEA8AHlofqgcKJcM8udgieRNhaJ5Cg==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0", - "System.Text.Encoding": "4.3.0", - "System.Threading.Tasks": "4.3.0" - } - }, - "System.IO.Compression": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "YHndyoiV90iu4iKG115ibkhrG+S3jBm8Ap9OwoUAzO5oPDAWcr0SFwQFm0HjM8WkEZWo0zvLTyLmbvTkW1bXgg==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "System.Buffers": "4.3.0", - "System.Collections": "4.3.0", - "System.Diagnostics.Debug": "4.3.0", - "System.IO": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.Handles": "4.3.0", - "System.Runtime.InteropServices": "4.3.0", - "System.Text.Encoding": "4.3.0", - "System.Threading": "4.3.0", - "System.Threading.Tasks": "4.3.0", - "runtime.native.System": "4.3.0", - "runtime.native.System.IO.Compression": "4.3.0" - } - }, - "System.IO.Compression.ZipFile": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "G4HwjEsgIwy3JFBduZ9quBkAu+eUwjIdJleuNSgmUojbH6O3mlvEIme+GHx/cLlTAPcrnnL7GqvB9pTlWRfhOg==", - "dependencies": { - "System.Buffers": "4.3.0", - "System.IO": "4.3.0", - "System.IO.Compression": "4.3.0", - "System.IO.FileSystem": "4.3.0", - "System.IO.FileSystem.Primitives": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Text.Encoding": "4.3.0" - } - }, - "System.IO.FileSystem": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "3wEMARTnuio+ulnvi+hkRNROYwa1kylvYahhcLk4HSoVdl+xxTFVeVlYOfLwrDPImGls0mDqbMhrza8qnWPTdA==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.IO": "4.3.0", - "System.IO.FileSystem.Primitives": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Handles": "4.3.0", - "System.Text.Encoding": "4.3.0", - "System.Threading.Tasks": "4.3.0" - } - }, - "System.IO.FileSystem.Primitives": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "6QOb2XFLch7bEc4lIcJH49nJN2HV+OC3fHDgsLVsBVBk3Y4hFAnOBGzJ2lUu7CyDDFo9IBWkSsnbkT6IBwwiMw==", - "dependencies": { - "System.Runtime": "4.3.0" - } - }, - "System.Linq": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "5DbqIUpsDp0dFftytzuMmc0oeMdQwjcP/EWxsksIz/w1TcFRkZ3yKKz0PqiYFMmEwPSWw+qNVqD7PJ889JzHbw==", - "dependencies": { - "System.Collections": "4.3.0", - "System.Diagnostics.Debug": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0" - } - }, - "System.Linq.Expressions": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "PGKkrd2khG4CnlyJwxwwaWWiSiWFNBGlgXvJpeO0xCXrZ89ODrQ6tjEWS/kOqZ8GwEOUATtKtzp1eRgmYNfclg==", - "dependencies": { - "System.Collections": "4.3.0", - "System.Diagnostics.Debug": "4.3.0", - "System.Globalization": "4.3.0", - "System.IO": "4.3.0", - "System.Linq": "4.3.0", - "System.ObjectModel": "4.3.0", - "System.Reflection": "4.3.0", - "System.Reflection.Emit": "4.3.0", - "System.Reflection.Emit.ILGeneration": "4.3.0", - "System.Reflection.Emit.Lightweight": "4.3.0", - "System.Reflection.Extensions": "4.3.0", - "System.Reflection.Primitives": "4.3.0", - "System.Reflection.TypeExtensions": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Threading": "4.3.0" - } - }, - "System.Net.Http": { - "type": "Transitive", - "resolved": "4.3.1", - "contentHash": "UrTyRczM3ZvNk6oetBuwlu67MFKKRva+r7bw4JDVZ6Y2IukyZ24td5ppsieu/4yZlogVAIuZul9GIQ3hoiz0yA==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "System.Collections": "4.3.0", - "System.Diagnostics.Debug": "4.3.0", - "System.Diagnostics.DiagnosticSource": "4.3.0", - "System.Diagnostics.Tracing": "4.3.0", - "System.Globalization": "4.3.0", - "System.Globalization.Extensions": "4.3.0", - "System.IO": "4.3.0", - "System.IO.FileSystem": "4.3.0", - "System.Net.Primitives": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.Handles": "4.3.0", - "System.Runtime.InteropServices": "4.3.0", - "System.Security.Cryptography.Algorithms": "4.3.0", - "System.Security.Cryptography.Encoding": "4.3.0", - "System.Security.Cryptography.OpenSsl": "4.3.0", - "System.Security.Cryptography.Primitives": "4.3.0", - "System.Security.Cryptography.X509Certificates": "4.3.0", - "System.Text.Encoding": "4.3.0", - "System.Threading": "4.3.0", - "System.Threading.Tasks": "4.3.0", - "runtime.native.System": "4.3.0", - "runtime.native.System.Net.Http": "4.3.0", - "runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0" - } - }, - "System.Net.Primitives": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "qOu+hDwFwoZPbzPvwut2qATe3ygjeQBDQj91xlsaqGFQUI5i4ZnZb8yyQuLGpDGivEPIt8EJkd1BVzVoP31FXA==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0", - "System.Runtime.Handles": "4.3.0" - } - }, - "System.Net.Sockets": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "m6icV6TqQOAdgt5N/9I5KNpjom/5NFtkmGseEH+AK/hny8XrytLH3+b5M8zL/Ycg3fhIocFpUMyl/wpFnVRvdw==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.IO": "4.3.0", - "System.Net.Primitives": "4.3.0", - "System.Runtime": "4.3.0", - "System.Threading.Tasks": "4.3.0" - } - }, - "System.ObjectModel": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "bdX+80eKv9bN6K4N+d77OankKHGn6CH711a6fcOpMQu2Fckp/Ft4L/kW9WznHpyR0NRAvJutzOMHNNlBGvxQzQ==", - "dependencies": { - "System.Collections": "4.3.0", - "System.Diagnostics.Debug": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Threading": "4.3.0" - } - }, - "System.Reflection": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "KMiAFoW7MfJGa9nDFNcfu+FpEdiHpWgTcS2HdMpDvt9saK3y/G4GwprPyzqjFH9NTaGPQeWNHU+iDlDILj96aQ==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.IO": "4.3.0", - "System.Reflection.Primitives": "4.3.0", - "System.Runtime": "4.3.0" - } - }, - "System.Reflection.Emit": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "228FG0jLcIwTVJyz8CLFKueVqQK36ANazUManGaJHkO0icjiIypKW7YLWLIWahyIkdh5M7mV2dJepllLyA1SKg==", - "dependencies": { - "System.IO": "4.3.0", - "System.Reflection": "4.3.0", - "System.Reflection.Emit.ILGeneration": "4.3.0", - "System.Reflection.Primitives": "4.3.0", - "System.Runtime": "4.3.0" - } - }, - "System.Reflection.Emit.ILGeneration": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "59tBslAk9733NXLrUJrwNZEzbMAcu8k344OYo+wfSVygcgZ9lgBdGIzH/nrg3LYhXceynyvTc8t5/GD4Ri0/ng==", - "dependencies": { - "System.Reflection": "4.3.0", - "System.Reflection.Primitives": "4.3.0", - "System.Runtime": "4.3.0" - } - }, - "System.Reflection.Emit.Lightweight": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "oadVHGSMsTmZsAF864QYN1t1QzZjIcuKU3l2S9cZOwDdDueNTrqq1yRj7koFfIGEnKpt6NjpL3rOzRhs4ryOgA==", - "dependencies": { - "System.Reflection": "4.3.0", - "System.Reflection.Emit.ILGeneration": "4.3.0", - "System.Reflection.Primitives": "4.3.0", - "System.Runtime": "4.3.0" - } - }, - "System.Reflection.Extensions": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "rJkrJD3kBI5B712aRu4DpSIiHRtr6QlfZSQsb0hYHrDCZORXCFjQfoipo2LaMUHoT9i1B7j7MnfaEKWDFmFQNQ==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Reflection": "4.3.0", - "System.Runtime": "4.3.0" - } - }, - "System.Reflection.Metadata": { - "type": "Transitive", - "resolved": "1.6.0", - "contentHash": "COC1aiAJjCoA5GBF+QKL2uLqEBew4JsCkQmoHKbN3TlOZKa2fKLz5CpiRQKDz0RsAOEGsVKqOD5bomsXq/4STQ==" - }, - "System.Reflection.Primitives": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "5RXItQz5As4xN2/YUDxdpsEkMhvw3e6aNveFXUn4Hl/udNTCNhnKp8lT9fnc3MhvGKh1baak5CovpuQUXHAlIA==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } - }, - "System.Reflection.TypeExtensions": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "7u6ulLcZbyxB5Gq0nMkQttcdBTx57ibzw+4IOXEfR+sXYQoHvjW5LTLyNr8O22UIMrqYbchJQJnos4eooYzYJA==", - "dependencies": { - "System.Reflection": "4.3.0", - "System.Runtime": "4.3.0" - } - }, - "System.Resources.ResourceManager": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "/zrcPkkWdZmI4F92gL/TPumP98AVDu/Wxr3CSJGQQ+XN6wbRZcyfSKVoPo17ilb3iOr0cCRqJInGwNMolqhS8A==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Globalization": "4.3.0", - "System.Reflection": "4.3.0", - "System.Runtime": "4.3.0" - } - }, - "System.Runtime": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "JufQi0vPQ0xGnAczR13AUFglDyVYt4Kqnz1AZaiKZ5+GICq0/1MH/mO/eAJHt/mHW1zjKBJd7kV26SrxddAhiw==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0" - } - }, - "System.Runtime.CompilerServices.Unsafe": { - "type": "Transitive", - "resolved": "6.0.0", - "contentHash": "/iUeP3tq1S0XdNNoMz5C9twLSrM/TH+qElHkXWaPvuNOt+99G75NrV0OS2EqHx5wMN7popYjpc8oTjC1y16DLg==" - }, - "System.Runtime.Extensions": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "guW0uK0fn5fcJJ1tJVXYd7/1h5F+pea1r7FLSOz/f8vPEqbR2ZAknuRDvTQ8PzAilDveOxNjSfr0CHfIQfFk8g==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } - }, - "System.Runtime.Handles": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "OKiSUN7DmTWeYb3l51A7EYaeNMnvxwE249YtZz7yooT4gOZhmTjIn48KgSsw2k2lYdLgTKNJw/ZIfSElwDRVgg==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } - }, - "System.Runtime.InteropServices": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "uv1ynXqiMK8mp1GM3jDqPCFN66eJ5w5XNomaK2XD+TuCroNTLFGeZ+WCmBMcBDyTFKou3P6cR6J/QsaqDp7fGQ==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Reflection": "4.3.0", - "System.Reflection.Primitives": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Handles": "4.3.0" - } - }, - "System.Runtime.InteropServices.RuntimeInformation": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "cbz4YJMqRDR7oLeMRbdYv7mYzc++17lNhScCX0goO2XpGWdvAt60CGN+FHdePUEHCe/Jy9jUlvNAiNdM+7jsOw==", - "dependencies": { - "System.Reflection": "4.3.0", - "System.Reflection.Extensions": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.InteropServices": "4.3.0", - "System.Threading": "4.3.0", - "runtime.native.System": "4.3.0" - } - }, - "System.Runtime.Numerics": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "yMH+MfdzHjy17l2KESnPiF2dwq7T+xLnSJar7slyimAkUh/gTrS9/UQOtv7xarskJ2/XDSNvfLGOBQPjL7PaHQ==", - "dependencies": { - "System.Globalization": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0" - } - }, - "System.Security.Cryptography.Algorithms": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "W1kd2Y8mYSCgc3ULTAZ0hOP2dSdG5YauTb1089T0/kRcN2MpSAW1izOFROrJgxSlMn3ArsgHXagigyi+ibhevg==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "System.Collections": "4.3.0", - "System.IO": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.Handles": "4.3.0", - "System.Runtime.InteropServices": "4.3.0", - "System.Runtime.Numerics": "4.3.0", - "System.Security.Cryptography.Encoding": "4.3.0", - "System.Security.Cryptography.Primitives": "4.3.0", - "System.Text.Encoding": "4.3.0", - "runtime.native.System.Security.Cryptography.Apple": "4.3.0", - "runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0" - } - }, - "System.Security.Cryptography.Cng": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "03idZOqFlsKRL4W+LuCpJ6dBYDUWReug6lZjBa3uJWnk5sPCUXckocevTaUA8iT/MFSrY/2HXkOt753xQ/cf8g==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "System.IO": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.Handles": "4.3.0", - "System.Runtime.InteropServices": "4.3.0", - "System.Security.Cryptography.Algorithms": "4.3.0", - "System.Security.Cryptography.Encoding": "4.3.0", - "System.Security.Cryptography.Primitives": "4.3.0", - "System.Text.Encoding": "4.3.0" - } - }, - "System.Security.Cryptography.Csp": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "X4s/FCkEUnRGnwR3aSfVIkldBmtURMhmexALNTwpjklzxWU7yjMk7GHLKOZTNkgnWnE0q7+BCf9N2LVRWxewaA==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "System.IO": "4.3.0", - "System.Reflection": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.Handles": "4.3.0", - "System.Runtime.InteropServices": "4.3.0", - "System.Security.Cryptography.Algorithms": "4.3.0", - "System.Security.Cryptography.Encoding": "4.3.0", - "System.Security.Cryptography.Primitives": "4.3.0", - "System.Text.Encoding": "4.3.0", - "System.Threading": "4.3.0" - } - }, - "System.Security.Cryptography.Encoding": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "1DEWjZZly9ae9C79vFwqaO5kaOlI5q+3/55ohmq/7dpDyDfc8lYe7YVxJUZ5MF/NtbkRjwFRo14yM4OEo9EmDw==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "System.Collections": "4.3.0", - "System.Collections.Concurrent": "4.3.0", - "System.Linq": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.Handles": "4.3.0", - "System.Runtime.InteropServices": "4.3.0", - "System.Security.Cryptography.Primitives": "4.3.0", - "System.Text.Encoding": "4.3.0", - "runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0" - } - }, - "System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "h4CEgOgv5PKVF/HwaHzJRiVboL2THYCou97zpmhjghx5frc7fIvlkY1jL+lnIQyChrJDMNEXS6r7byGif8Cy4w==", - "dependencies": { - "System.Collections": "4.3.0", - "System.IO": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.Handles": "4.3.0", - "System.Runtime.InteropServices": "4.3.0", - "System.Runtime.Numerics": "4.3.0", - "System.Security.Cryptography.Algorithms": "4.3.0", - "System.Security.Cryptography.Encoding": "4.3.0", - "System.Security.Cryptography.Primitives": "4.3.0", - "System.Text.Encoding": "4.3.0", - "runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0" - } - }, - "System.Security.Cryptography.Primitives": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "7bDIyVFNL/xKeFHjhobUAQqSpJq9YTOpbEs6mR233Et01STBMXNAc/V+BM6dwYGc95gVh/Zf+iVXWzj3mE8DWg==", - "dependencies": { - "System.Diagnostics.Debug": "4.3.0", - "System.Globalization": "4.3.0", - "System.IO": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Threading": "4.3.0", - "System.Threading.Tasks": "4.3.0" - } - }, - "System.Security.Cryptography.ProtectedData": { - "type": "Transitive", - "resolved": "4.4.0", - "contentHash": "cJV7ScGW7EhatRsjehfvvYVBvtiSMKgN8bOVI0bQhnF5bU7vnHVIsH49Kva7i7GWaWYvmEzkYVk1TC+gZYBEog==" - }, - "System.Security.Cryptography.X509Certificates": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "t2Tmu6Y2NtJ2um0RtcuhP7ZdNNxXEgUm2JeoA/0NvlMjAhKCnM1NX07TDl3244mVp3QU6LPEhT3HTtH1uF7IYw==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "System.Collections": "4.3.0", - "System.Diagnostics.Debug": "4.3.0", - "System.Globalization": "4.3.0", - "System.Globalization.Calendars": "4.3.0", - "System.IO": "4.3.0", - "System.IO.FileSystem": "4.3.0", - "System.IO.FileSystem.Primitives": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.Handles": "4.3.0", - "System.Runtime.InteropServices": "4.3.0", - "System.Runtime.Numerics": "4.3.0", - "System.Security.Cryptography.Algorithms": "4.3.0", - "System.Security.Cryptography.Cng": "4.3.0", - "System.Security.Cryptography.Csp": "4.3.0", - "System.Security.Cryptography.Encoding": "4.3.0", - "System.Security.Cryptography.OpenSsl": "4.3.0", - "System.Security.Cryptography.Primitives": "4.3.0", - "System.Text.Encoding": "4.3.0", - "System.Threading": "4.3.0", - "runtime.native.System": "4.3.0", - "runtime.native.System.Net.Http": "4.3.0", - "runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0" - } - }, - "System.Text.Encoding": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "BiIg+KWaSDOITze6jGQynxg64naAPtqGHBwDrLaCtixsa5bKiR8dpPOHA7ge3C0JJQizJE+sfkz1wV+BAKAYZw==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } - }, - "System.Text.Encoding.Extensions": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "YVMK0Bt/A43RmwizJoZ22ei2nmrhobgeiYwFzC4YAN+nue8RF6djXDMog0UCn+brerQoYVyaS+ghy9P/MUVcmw==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0", - "System.Text.Encoding": "4.3.0" - } - }, - "System.Text.Encodings.Web": { - "type": "Transitive", - "resolved": "8.0.0", - "contentHash": "yev/k9GHAEGx2Rg3/tU6MQh4HGBXJs70y7j1LaM1i/ER9po+6nnQ6RRqTJn1E7Xu0fbIFK80Nh5EoODxrbxwBQ==", - "dependencies": { - "System.Runtime.CompilerServices.Unsafe": "6.0.0" - } - }, - "System.Text.Json": { - "type": "Transitive", - "resolved": "8.0.4", - "contentHash": "bAkhgDJ88XTsqczoxEMliSrpijKZHhbJQldhAmObj/RbrN3sU5dcokuXmWJWsdQAhiMJ9bTayWsL1C9fbbCRhw==", - "dependencies": { - "System.Runtime.CompilerServices.Unsafe": "6.0.0", - "System.Text.Encodings.Web": "8.0.0" - } - }, - "System.Text.RegularExpressions": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "RpT2DA+L660cBt1FssIE9CAGpLFdFPuheB7pLpKpn6ZXNby7jDERe8Ua/Ne2xGiwLVG2JOqziiaVCGDon5sKFA==", - "dependencies": { - "System.Runtime": "4.3.0" - } - }, - "System.Threading": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "VkUS0kOBcUf3Wwm0TSbrevDDZ6BlM+b/HRiapRFWjM5O0NS0LviG0glKmFK+hhPDd1XFeSdU1GmlLhb2CoVpIw==", - "dependencies": { - "System.Runtime": "4.3.0", - "System.Threading.Tasks": "4.3.0" - } - }, - "System.Threading.Tasks": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "LbSxKEdOUhVe8BezB/9uOGGppt+nZf6e1VFyw6v3DN6lqitm0OSn2uXMOdtP0M3W4iMcqcivm2J6UgqiwwnXiA==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } - }, - "System.Threading.Tasks.Extensions": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "npvJkVKl5rKXrtl1Kkm6OhOUaYGEiF9wFbppFRWSMoApKzt2PiPHT2Bb8a5sAWxprvdOAtvaARS9QYMznEUtug==", - "dependencies": { - "System.Collections": "4.3.0", - "System.Runtime": "4.3.0", - "System.Threading.Tasks": "4.3.0" - } - }, - "System.Threading.Thread": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "OHmbT+Zz065NKII/ZHcH9XO1dEuLGI1L2k7uYss+9C1jLxTC9kTZZuzUOyXHayRk+dft9CiDf3I/QZ0t8JKyBQ==", - "dependencies": { - "System.Runtime": "4.3.0" - } - }, - "System.Threading.ThreadPool": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "k/+g4b7vjdd4aix83sTgC9VG6oXYKAktSfNIJUNGxPEj7ryEOfzHHhfnmsZvjxawwcD9HyWXKCXmPjX8U4zeSw==", - "dependencies": { - "System.Runtime": "4.3.0", - "System.Runtime.Handles": "4.3.0" - } - }, - "System.Threading.Timer": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "Z6YfyYTCg7lOZjJzBjONJTFKGN9/NIYKSxhU5GRd+DTwHSZyvWp1xuI5aR+dLg+ayyC5Xv57KiY4oJ0tMO89fQ==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } - }, - "System.Xml.ReaderWriter": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "GrprA+Z0RUXaR4N7/eW71j1rgMnEnEVlgii49GZyAjTH7uliMnrOU3HNFBr6fEDBCJCIdlVNq9hHbaDR621XBA==", - "dependencies": { - "System.Collections": "4.3.0", - "System.Diagnostics.Debug": "4.3.0", - "System.Globalization": "4.3.0", - "System.IO": "4.3.0", - "System.IO.FileSystem": "4.3.0", - "System.IO.FileSystem.Primitives": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.InteropServices": "4.3.0", - "System.Text.Encoding": "4.3.0", - "System.Text.Encoding.Extensions": "4.3.0", - "System.Text.RegularExpressions": "4.3.0", - "System.Threading.Tasks": "4.3.0", - "System.Threading.Tasks.Extensions": "4.3.0" - } - }, - "System.Xml.XDocument": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "5zJ0XDxAIg8iy+t4aMnQAu0MqVbqyvfoUVl1yDV61xdo3Vth45oA2FoY4pPkxYAH5f8ixpmTqXeEIya95x0aCQ==", - "dependencies": { - "System.Collections": "4.3.0", - "System.Diagnostics.Debug": "4.3.0", - "System.Diagnostics.Tools": "4.3.0", - "System.Globalization": "4.3.0", - "System.IO": "4.3.0", - "System.Reflection": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Text.Encoding": "4.3.0", - "System.Threading": "4.3.0", - "System.Xml.ReaderWriter": "4.3.0" - } - }, - "xunit": { - "type": "Transitive", - "resolved": "2.4.2", - "contentHash": "6Mj73Ont3zj2CJuoykVJfE0ZmRwn7C+pTuRP8c4bnaaTFjwNG6tGe0prJ1yIbMe9AHrpDys63ctWacSsFJWK/w==", - "dependencies": { - "xunit.analyzers": "1.0.0", - "xunit.assert": "2.4.2", - "xunit.core": "[2.4.2]" - } - }, - "xunit.abstractions": { - "type": "Transitive", - "resolved": "2.0.3", - "contentHash": "pot1I4YOxlWjIb5jmwvvQNbTrZ3lJQ+jUGkGjWE3hEFM0l5gOnBWS+H3qsex68s5cO52g+44vpGzhAt+42vwKg==" - }, - "xunit.analyzers": { - "type": "Transitive", - "resolved": "1.0.0", - "contentHash": "BeO8hEgs/c8Ls2647fPfieMngncvf0D0xYNDfIO59MolxtCtVjFRd6SRc+7tj8VMqkVOuJcnc9eh4ngI2cAmLQ==" - }, - "xunit.assert": { - "type": "Transitive", - "resolved": "2.4.2", - "contentHash": "pxJISOFjn2XTTi1mcDCkRZrTFb9OtRRCtx2kZFNF51GdReLr1ls2rnyxvAS4JO247K3aNtflvh5Q0346K5BROA==", - "dependencies": { - "NETStandard.Library": "1.6.1" - } - }, - "xunit.core": { - "type": "Transitive", - "resolved": "2.4.2", - "contentHash": "KB4yGCxNqIVyekhJLXtKSEq6BaXVp/JO3mbGVE1hxypZTLEe7h+sTbAhpA+yZW2dPtXTuiW+C1B2oxxHEkrmOw==", - "dependencies": { - "xunit.extensibility.core": "[2.4.2]", - "xunit.extensibility.execution": "[2.4.2]" - } - }, - "xunit.extensibility.core": { - "type": "Transitive", - "resolved": "2.4.2", - "contentHash": "W1BoXTIN1C6kpVSMw25huSet25ky6IAQUNovu3zGOGN/jWnbgSoTyCrlIhmXSg0tH5nEf8q7h3OjNHOjyu5PfA==", - "dependencies": { - "NETStandard.Library": "1.6.1", - "xunit.abstractions": "2.0.3" - } - }, - "xunit.extensibility.execution": { - "type": "Transitive", - "resolved": "2.4.2", - "contentHash": "CZmgcKkwpyo8FlupZdWpJCryrAOWLh1FBPG6gmVZuPQkGQsim/oL4PcP4nfrC2hHgXUFtluvaJ0Sp9PQKUMNpg==", - "dependencies": { - "NETStandard.Library": "1.6.1", - "xunit.extensibility.core": "[2.4.2]" - } - }, - "elastic.clients.elasticsearch": { - "type": "Project", - "dependencies": { - "Elastic.Transport": "[0.4.22, )" - } - }, - "elastic.clients.elasticsearch.jsonnetserializer": { - "type": "Project", - "dependencies": { - "Elastic.Clients.Elasticsearch": "[8.0.0, )", - "Newtonsoft.Json": "[13.0.1, )" - } - }, - "tests.configuration": { - "type": "Project", - "dependencies": { - "Elastic.Elasticsearch.Managed": "[0.4.3, )" - } - }, - "tests.core": { - "type": "Project", - "dependencies": { - "DiffPlex": "[1.4.1, )", - "Elastic.Clients.Elasticsearch.JsonNetSerializer": "[8.0.0, )", - "Elastic.Elasticsearch.Xunit": "[0.4.3, )", - "FluentAssertions": "[5.10.3, )", - "JunitXml.TestLogger": "[3.0.110, )", - "Microsoft.Bcl.HashCode": "[1.1.1, )", - "Microsoft.NET.Test.Sdk": "[17.2.0, )", - "Nullean.VsTest.Pretty.TestLogger": "[0.3.0, )", - "Proc": "[0.6.1, )", - "Tests.Domain": "[8.0.0, )", - "xunit": "[2.4.2, )" - } - }, - "tests.domain": { - "type": "Project", - "dependencies": { - "Bogus": "[22.1.2, )", - "Elastic.Clients.Elasticsearch": "[8.0.0, )", - "Elastic.Elasticsearch.Managed": "[0.4.3, )", - "Newtonsoft.Json": "[13.0.1, )", - "Tests.Configuration": "[8.0.0, )" - } - } - }, - "net8.0": { - "DotNet.ReproducibleBuilds": { - "type": "Direct", - "requested": "[1.1.1, )", - "resolved": "1.1.1", - "contentHash": "+H2t/t34h6mhEoUvHi8yGXyuZ2GjSovcGYehJrS2MDm2XgmPfZL2Sdxg+uL2lKgZ4M6tTwKHIlxOob2bgh0NRQ==", - "dependencies": { - "Microsoft.SourceLink.AzureRepos.Git": "1.1.1", - "Microsoft.SourceLink.Bitbucket.Git": "1.1.1", - "Microsoft.SourceLink.GitHub": "1.1.1", - "Microsoft.SourceLink.GitLab": "1.1.1" - } - }, - "Microsoft.NETFramework.ReferenceAssemblies": { - "type": "Direct", - "requested": "[1.0.2, )", - "resolved": "1.0.2", - "contentHash": "5/cSEVld+px/CuRrbohO/djfg6++eR6zGpy88MgqloXvkj//WXWpFZyu/OpkXPN0u5m+dN/EVwLNYFUxD4h2+A==", - "dependencies": { - "Microsoft.NETFramework.ReferenceAssemblies.net461": "1.0.2" - } - }, - "Bogus": { - "type": "Transitive", - "resolved": "22.1.2", - "contentHash": "FnYg++zOsFkN3wQJcPT6U4bmZoW/zDWp474QsZG2KX/ClCiEOwIfUxJ9xuKgwv46K0LvVoicQD09hgPke0FG1A==" - }, - "DiffPlex": { - "type": "Transitive", - "resolved": "1.4.1", - "contentHash": "xZLcguPf0Gl67Ygz8XIhiQmTeUIs/M4eB9ylOelNGnHMvmqxe9bQ89omVJdoSO6gvc4NSmonHGL+zfwrSEjGnA==", - "dependencies": { - "NETStandard.Library": "1.6.1" - } - }, - "Elastic.Elasticsearch.Ephemeral": { - "type": "Transitive", - "resolved": "0.4.3", - "contentHash": "fmu7A6bm3sOTGrG+MAINRQ2Op0n6K1OjfNErNMhpTOt5mQ0UjX8zfpiZoM+nB0jA8bX1nt1YR++5YCnYGJFtRg==", - "dependencies": { - "Elastic.Elasticsearch.Managed": "0.4.3", - "SharpZipLib.NETStandard": "1.0.7" - } - }, - "Elastic.Elasticsearch.Managed": { - "type": "Transitive", - "resolved": "0.4.3", - "contentHash": "B7FvSMeNqYM3Yl/r/QRyROuAkMSiSQ0EvZQ36Cqrxm6uRBodlwky4yy4Im/AnOIQIl5lFLGr4vLHwWedHPharw==", - "dependencies": { - "Elastic.Stack.ArtifactsApi": "0.4.3", - "Proc": "0.6.1", - "System.Net.Http": "4.3.1" - } - }, - "Elastic.Elasticsearch.Xunit": { - "type": "Transitive", - "resolved": "0.4.3", - "contentHash": "kKn9Fiihel643Rywvl1bH2luQdhuefMh7wVPaLViEj8olU5Ud0bb1nZ8AFhm4PnEbLjw5PZ49Pn5hvyoYnJesQ==", - "dependencies": { - "Elastic.Elasticsearch.Ephemeral": "0.4.3", - "xunit": "2.4.1" - } - }, - "Elastic.Stack.ArtifactsApi": { - "type": "Transitive", - "resolved": "0.4.3", - "contentHash": "mqfBDj5s8Gj6QWNYmCNJo2raxbzn8fUBk+eSxA5HeDYjEXoK52kOBvFSy4bL9Qaz+EW6JvOvt8nw0cm5MorJUA==", - "dependencies": { - "SemanticVersioning": "0.8.0", - "System.Text.Json": "4.6.0" - } - }, - "Elastic.Transport": { - "type": "Transitive", - "resolved": "0.4.22", - "contentHash": "9J5GPHJcT8sewn2zVfWTrsCQvfQYgUiY/jx+IRjWUk7XNPd837qfEL42I5baH69cyW/e4RoDy8v76yxqz95tDw==" - }, - "FluentAssertions": { - "type": "Transitive", - "resolved": "5.10.3", - "contentHash": "gVPEVp1hLVqcv+7Q2wiDf7kqCNn7+bQcQ0jbJ2mcRT6CeRoZl1tNkqvzSIhvekyldDptk77j1b03MXTTRIqqpg==", - "dependencies": { - "System.Configuration.ConfigurationManager": "4.4.0" - } - }, - "JunitXml.TestLogger": { - "type": "Transitive", - "resolved": "3.0.110", - "contentHash": "D0Kl9mNnbSZgEa8ZgsEAJskPvyrC9k+5BsEWUqvNr++BZJbYIb08fwe0ohvb6WEzJlMPmeLJMmvQuw5yIq3gjA==" - }, - "Microsoft.Bcl.HashCode": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "MalY0Y/uM/LjXtHfX/26l2VtN4LDNZ2OE3aumNOHDLsT4fNYy2hiHXI4CXCqKpNUNm7iJ2brrc4J89UdaL56FA==" - }, - "Microsoft.Build.Tasks.Git": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "AT3HlgTjsqHnWpBHSNeR0KxbLZD7bztlZVj7I8vgeYG9SYqbeFGh0TM/KVtC6fg53nrWHl3VfZFvb5BiQFcY6Q==" - }, - "Microsoft.CodeCoverage": { - "type": "Transitive", - "resolved": "17.2.0", - "contentHash": "MsKhJmwIfHxNDbTIlgQy29UpWSWPpbZOQPhQ7xalRy+ABnl8/neFHZGzSP3XlpW2dKAXHTFrtIcKzW/kopY2Bg==" - }, - "Microsoft.NET.Test.Sdk": { - "type": "Transitive", - "resolved": "17.2.0", - "contentHash": "kYmkDYbcDd+jNvmMH4TMtgHjsUYbIsWENM2VcjB0X7TawXbehL5I8OIsu2TgFS/nQCgZE94InrqMxrm7WDy+Lw==", - "dependencies": { - "Microsoft.CodeCoverage": "17.2.0", - "Microsoft.TestPlatform.TestHost": "17.2.0" - } - }, - "Microsoft.NETCore.Platforms": { - "type": "Transitive", - "resolved": "1.1.0", - "contentHash": "kz0PEW2lhqygehI/d6XsPCQzD7ff7gUJaVGPVETX611eadGsA3A877GdSlU0LRVMCTH/+P3o2iDTak+S08V2+A==" - }, - "Microsoft.NETCore.Targets": { - "type": "Transitive", - "resolved": "1.1.0", - "contentHash": "aOZA3BWfz9RXjpzt0sRJJMjAscAUm3Hoa4UWAfceV9UTYxgwZ1lZt5nO2myFf+/jetYQo4uTP7zS8sJY67BBxg==" - }, - "Microsoft.NETFramework.ReferenceAssemblies.net461": { - "type": "Transitive", - "resolved": "1.0.2", - "contentHash": "8shzGaD5pZi4npuJYCM3de6pl0zlefcbyTIvXIiCdsTqauZ7lAhdaJVtJSqlhYid9VosFAOygBykoJ1SEOlGWA==" - }, - "Microsoft.SourceLink.AzureRepos.Git": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "qB5urvw9LO2bG3eVAkuL+2ughxz2rR7aYgm2iyrB8Rlk9cp2ndvGRCvehk3rNIhRuNtQaeKwctOl1KvWiklv5w==", - "dependencies": { - "Microsoft.Build.Tasks.Git": "1.1.1", - "Microsoft.SourceLink.Common": "1.1.1" - } - }, - "Microsoft.SourceLink.Bitbucket.Git": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "cDzxXwlyWpLWaH0em4Idj0H3AmVo3L/6xRXKssYemx+7W52iNskj/SQ4FOmfCb8YQt39otTDNMveCZzYtMoucQ==", - "dependencies": { - "Microsoft.Build.Tasks.Git": "1.1.1", - "Microsoft.SourceLink.Common": "1.1.1" - } - }, - "Microsoft.SourceLink.Common": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "WMcGpWKrmJmzrNeuaEb23bEMnbtR/vLmvZtkAP5qWu7vQsY59GqfRJd65sFpBszbd2k/bQ8cs8eWawQKAabkVg==" - }, - "Microsoft.SourceLink.GitHub": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "IaJGnOv/M7UQjRJks7B6p7pbPnOwisYGOIzqCz5ilGFTApZ3ktOR+6zJ12ZRPInulBmdAf1SrGdDG2MU8g6XTw==", - "dependencies": { - "Microsoft.Build.Tasks.Git": "1.1.1", - "Microsoft.SourceLink.Common": "1.1.1" - } - }, - "Microsoft.SourceLink.GitLab": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "tvsg47DDLqqedlPeYVE2lmiTpND8F0hkrealQ5hYltSmvruy/Gr5nHAKSsjyw5L3NeM/HLMI5ORv7on/M4qyZw==", - "dependencies": { - "Microsoft.Build.Tasks.Git": "1.1.1", - "Microsoft.SourceLink.Common": "1.1.1" - } - }, - "Microsoft.TestPlatform.ObjectModel": { - "type": "Transitive", - "resolved": "17.2.0", - "contentHash": "7j1KYDHLhU98XnCEbECMncXLydI9fNiFLcFsiBsP3lV6EkHOaj5kTPAWHYkKnPGRC9TbZUboSQq8rWI4dTQsxg==", - "dependencies": { - "NuGet.Frameworks": "5.11.0", - "System.Reflection.Metadata": "1.6.0" - } - }, - "Microsoft.TestPlatform.TestHost": { - "type": "Transitive", - "resolved": "17.2.0", - "contentHash": "bI67J+hers241h7eD2eecS02p9CbKcQDIeoRvO4FgMlTWg2ZTzc0D3uWLYr5U+K5x9O1pNmyMoMDbYIeWY/TWw==", - "dependencies": { - "Microsoft.TestPlatform.ObjectModel": "17.2.0", - "Newtonsoft.Json": "9.0.1" - } - }, - "Microsoft.Win32.Primitives": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "9ZQKCWxH7Ijp9BfahvL2Zyf1cJIk8XYLF6Yjzr2yi0b2cOut/HQ31qf1ThHAgCc3WiZMdnWcfJCgN82/0UunxA==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } - }, - "Microsoft.Win32.Registry": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "Lw1/VwLH1yxz6SfFEjVRCN0pnflLEsWgnV4qsdJ512/HhTwnKXUG+zDQ4yTO3K/EJQemGoNaBHX5InISNKTzUQ==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "System.Collections": "4.3.0", - "System.Globalization": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.Handles": "4.3.0", - "System.Runtime.InteropServices": "4.3.0" - } - }, - "NETStandard.Library": { - "type": "Transitive", - "resolved": "1.6.1", - "contentHash": "WcSp3+vP+yHNgS8EV5J7pZ9IRpeDuARBPN28by8zqff1wJQXm26PVU8L3/fYLBJVU7BtDyqNVWq2KlCVvSSR4A==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.Win32.Primitives": "4.3.0", - "System.AppContext": "4.3.0", - "System.Collections": "4.3.0", - "System.Collections.Concurrent": "4.3.0", - "System.Console": "4.3.0", - "System.Diagnostics.Debug": "4.3.0", - "System.Diagnostics.Tools": "4.3.0", - "System.Diagnostics.Tracing": "4.3.0", - "System.Globalization": "4.3.0", - "System.Globalization.Calendars": "4.3.0", - "System.IO": "4.3.0", - "System.IO.Compression": "4.3.0", - "System.IO.Compression.ZipFile": "4.3.0", - "System.IO.FileSystem": "4.3.0", - "System.IO.FileSystem.Primitives": "4.3.0", - "System.Linq": "4.3.0", - "System.Linq.Expressions": "4.3.0", - "System.Net.Http": "4.3.0", - "System.Net.Primitives": "4.3.0", - "System.Net.Sockets": "4.3.0", - "System.ObjectModel": "4.3.0", - "System.Reflection": "4.3.0", - "System.Reflection.Extensions": "4.3.0", - "System.Reflection.Primitives": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.Handles": "4.3.0", - "System.Runtime.InteropServices": "4.3.0", - "System.Runtime.InteropServices.RuntimeInformation": "4.3.0", - "System.Runtime.Numerics": "4.3.0", - "System.Security.Cryptography.Algorithms": "4.3.0", - "System.Security.Cryptography.Encoding": "4.3.0", - "System.Security.Cryptography.Primitives": "4.3.0", - "System.Security.Cryptography.X509Certificates": "4.3.0", - "System.Text.Encoding": "4.3.0", - "System.Text.Encoding.Extensions": "4.3.0", - "System.Text.RegularExpressions": "4.3.0", - "System.Threading": "4.3.0", - "System.Threading.Tasks": "4.3.0", - "System.Threading.Timer": "4.3.0", - "System.Xml.ReaderWriter": "4.3.0", - "System.Xml.XDocument": "4.3.0" - } - }, - "Newtonsoft.Json": { - "type": "Transitive", - "resolved": "13.0.1", - "contentHash": "ppPFpBcvxdsfUonNcvITKqLl3bqxWbDCZIzDWHzjpdAHRFfZe0Dw9HmA0+za13IdyrgJwpkDTDA9fHaxOrt20A==" - }, - "NuGet.Frameworks": { - "type": "Transitive", - "resolved": "5.11.0", - "contentHash": "eaiXkUjC4NPcquGWzAGMXjuxvLwc6XGKMptSyOGQeT0X70BUZObuybJFZLA0OfTdueLd3US23NBPTBb6iF3V1Q==" - }, - "Nullean.VsTest.Pretty.TestLogger": { - "type": "Transitive", - "resolved": "0.3.0", - "contentHash": "11Cklf+kZ1JS+l3CRZaWQaQHmRm0Je/iIrci6bwY5c9/QXrCuYgWe/A2w0G1eYe33QU5sgUmds48Y7HQFK89mw==", - "dependencies": { - "Microsoft.TestPlatform.ObjectModel": "15.8.0" - } - }, - "Proc": { - "type": "Transitive", - "resolved": "0.6.1", - "contentHash": "xRSCfgQNoGy60MOuvD2X1euzqvWDoyfpB8NAfVs2E5K5U1I8cA9MvVY6NbUkp5ApbOmVXls2JEPrOn8rQi2Pzg==", - "dependencies": { - "System.Diagnostics.Process": "[4.3.0]", - "System.Threading.Thread": "[4.3.0]" - } - }, - "runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "HdSSp5MnJSsg08KMfZThpuLPJpPwE5hBXvHwoKWosyHHfe8Mh5WKT0ylEOf6yNzX6Ngjxe4Whkafh5q7Ymac4Q==" - }, - "runtime.fedora.23-x64.runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "+yH1a49wJMy8Zt4yx5RhJrxO/DBDByAiCzNwiETI+1S4mPdCu0OY4djdciC7Vssk0l22wQaDLrXxXkp+3+7bVA==" - }, - "runtime.fedora.24-x64.runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "c3YNH1GQJbfIPJeCnr4avseugSqPrxwIqzthYyZDN6EuOyNOzq+y2KSUfRcXauya1sF4foESTgwM5e1A8arAKw==" - }, - "runtime.native.System": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "c/qWt2LieNZIj1jGnVNsE2Kl23Ya2aSTBuXMD6V7k9KWr6l16Tqdwq+hJScEpWER9753NWC8h96PaVNY5Ld7Jw==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0" - } - }, - "runtime.native.System.IO.Compression": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "INBPonS5QPEgn7naufQFXJEp3zX6L4bwHgJ/ZH78aBTpeNfQMtf7C6VrAFhlq2xxWBveIOWyFzQjJ8XzHMhdOQ==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0" - } - }, - "runtime.native.System.Net.Http": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "ZVuZJqnnegJhd2k/PtAbbIcZ3aZeITq3sj06oKfMBSfphW3HDmk/t4ObvbOk/JA/swGR0LNqMksAh/f7gpTROg==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0" - } - }, - "runtime.native.System.Security.Cryptography.Apple": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "DloMk88juo0OuOWr56QG7MNchmafTLYWvABy36izkrLI5VledI0rq28KGs1i9wbpeT9NPQrx/wTf8U2vazqQ3Q==", - "dependencies": { - "runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.Apple": "4.3.0" - } - }, - "runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "NS1U+700m4KFRHR5o4vo9DSlTmlCKu/u7dtE5sUHVIPB+xpXxYQvgBgA6wEIeCz6Yfn0Z52/72WYsToCEPJnrw==", - "dependencies": { - "runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0", - "runtime.fedora.23-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0", - "runtime.fedora.24-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0", - "runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0", - "runtime.opensuse.42.1-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0", - "runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0", - "runtime.rhel.7-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0", - "runtime.ubuntu.14.04-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0", - "runtime.ubuntu.16.04-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0", - "runtime.ubuntu.16.10-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0" - } - }, - "runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "b3pthNgxxFcD+Pc0WSEoC0+md3MyhRS6aCEeenvNE3Fdw1HyJ18ZhRFVJJzIeR/O/jpxPboB805Ho0T3Ul7w8A==" - }, - "runtime.opensuse.42.1-x64.runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "KeLz4HClKf+nFS7p/6Fi/CqyLXh81FpiGzcmuS8DGi9lUqSnZ6Es23/gv2O+1XVGfrbNmviF7CckBpavkBoIFQ==" - }, - "runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.Apple": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "kVXCuMTrTlxq4XOOMAysuNwsXWpYeboGddNGpIgNSZmv1b6r/s/DPk0fYMB7Q5Qo4bY68o48jt4T4y5BVecbCQ==" - }, - "runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "X7IdhILzr4ROXd8mI1BUCQMSHSQwelUlBjF1JyTKCjXaOGn2fB4EKBxQbCK2VjO3WaWIdlXZL3W6TiIVnrhX4g==" - }, - "runtime.rhel.7-x64.runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "nyFNiCk/r+VOiIqreLix8yN+q3Wga9+SE8BCgkf+2BwEKiNx6DyvFjCgkfV743/grxv8jHJ8gUK4XEQw7yzRYg==" - }, - "runtime.ubuntu.14.04-x64.runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "ytoewC6wGorL7KoCAvRfsgoJPJbNq+64k2SqW6JcOAebWsFUvCCYgfzQMrnpvPiEl4OrblUlhF2ji+Q1+SVLrQ==" - }, - "runtime.ubuntu.16.04-x64.runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "I8bKw2I8k58Wx7fMKQJn2R8lamboCAiHfHeV/pS65ScKWMMI0+wJkLYlEKvgW1D/XvSl/221clBoR2q9QNNM7A==" - }, - "runtime.ubuntu.16.10-x64.runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "VB5cn/7OzUfzdnC8tqAIMQciVLiq2epm2NrAm1E9OjNRyG4lVhfR61SMcLizejzQP8R8Uf/0l5qOIbUEi+RdEg==" - }, - "SemanticVersioning": { - "type": "Transitive", - "resolved": "0.8.0", - "contentHash": "hUCnQL79hU0W6X4jPeMAtGDwoEJeBEZfGBnkT+jPG45lD7KHn4h61HgYN8y1HAjPrXmC5oJcLx3l8ygPJOqvlA==", - "dependencies": { - "NETStandard.Library": "1.6.0" - } - }, - "SharpZipLib.NETStandard": { - "type": "Transitive", - "resolved": "1.0.7", - "contentHash": "mYKPizF2CY32RQB8FITYy0e30gVgItFA63SFquruaxq+votwL1T+yOfssK10v4enBcxklr8ks48hS1emw5TTXg==", - "dependencies": { - "NETStandard.Library": "1.6.1" - } - }, - "System.AppContext": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "fKC+rmaLfeIzUhagxY17Q9siv/sPrjjKcfNg1Ic8IlQkZLipo8ljcaZQu4VtI4Jqbzjc2VTjzGLF6WmsRXAEgA==", - "dependencies": { - "System.Runtime": "4.3.0" - } - }, - "System.Buffers": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "ratu44uTIHgeBeI0dE8DWvmXVBSo4u7ozRZZHOMmK/JPpYyo0dAfgSiHlpiObMQ5lEtEyIXA40sKRYg5J6A8uQ==", - "dependencies": { - "System.Diagnostics.Debug": "4.3.0", - "System.Diagnostics.Tracing": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Threading": "4.3.0" - } - }, - "System.Collections": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "3Dcj85/TBdVpL5Zr+gEEBUuFe2icOnLalmEh9hfck1PTYbbyWuZgh4fmm2ysCLTrqLQw6t3TgTyJ+VLp+Qb+Lw==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } - }, - "System.Collections.Concurrent": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "ztl69Xp0Y/UXCL+3v3tEU+lIy+bvjKNUmopn1wep/a291pVPK7dxBd6T7WnlQqRog+d1a/hSsgRsmFnIBKTPLQ==", - "dependencies": { - "System.Collections": "4.3.0", - "System.Diagnostics.Debug": "4.3.0", - "System.Diagnostics.Tracing": "4.3.0", - "System.Globalization": "4.3.0", - "System.Reflection": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Threading": "4.3.0", - "System.Threading.Tasks": "4.3.0" - } - }, - "System.Configuration.ConfigurationManager": { - "type": "Transitive", - "resolved": "4.4.0", - "contentHash": "gWwQv/Ug1qWJmHCmN17nAbxJYmQBM/E94QxKLksvUiiKB1Ld3Sc/eK1lgmbSjDFxkQhVuayI/cGFZhpBSodLrg==", - "dependencies": { - "System.Security.Cryptography.ProtectedData": "4.4.0" - } - }, - "System.Console": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "DHDrIxiqk1h03m6khKWV2X8p/uvN79rgSqpilL6uzpmSfxfU5ng8VcPtW4qsDsQDHiTv6IPV9TmD5M/vElPNLg==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.IO": "4.3.0", - "System.Runtime": "4.3.0", - "System.Text.Encoding": "4.3.0" - } - }, - "System.Diagnostics.Debug": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "ZUhUOdqmaG5Jk3Xdb8xi5kIyQYAA4PnTNlHx1mu9ZY3qv4ELIdKbnL/akbGaKi2RnNUWaZsAs31rvzFdewTj2g==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } - }, - "System.Diagnostics.DiagnosticSource": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "tD6kosZnTAGdrEa0tZSuFyunMbt/5KYDnHdndJYGqZoNy00XVXyACd5d6KnE1YgYv3ne2CjtAfNXo/fwEhnKUA==", - "dependencies": { - "System.Collections": "4.3.0", - "System.Diagnostics.Tracing": "4.3.0", - "System.Reflection": "4.3.0", - "System.Runtime": "4.3.0", - "System.Threading": "4.3.0" - } - }, - "System.Diagnostics.Process": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "J0wOX07+QASQblsfxmIMFc9Iq7KTXYL3zs2G/Xc704Ylv3NpuVdo6gij6V3PGiptTxqsK0K7CdXenRvKUnkA2g==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.Win32.Primitives": "4.3.0", - "Microsoft.Win32.Registry": "4.3.0", - "System.Collections": "4.3.0", - "System.Diagnostics.Debug": "4.3.0", - "System.Globalization": "4.3.0", - "System.IO": "4.3.0", - "System.IO.FileSystem": "4.3.0", - "System.IO.FileSystem.Primitives": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.Handles": "4.3.0", - "System.Runtime.InteropServices": "4.3.0", - "System.Text.Encoding": "4.3.0", - "System.Text.Encoding.Extensions": "4.3.0", - "System.Threading": "4.3.0", - "System.Threading.Tasks": "4.3.0", - "System.Threading.Thread": "4.3.0", - "System.Threading.ThreadPool": "4.3.0", - "runtime.native.System": "4.3.0" - } - }, - "System.Diagnostics.Tools": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "UUvkJfSYJMM6x527dJg2VyWPSRqIVB0Z7dbjHst1zmwTXz5CcXSYJFWRpuigfbO1Lf7yfZiIaEUesfnl/g5EyA==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } - }, - "System.Diagnostics.Tracing": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "rswfv0f/Cqkh78rA5S8eN8Neocz234+emGCtTF3lxPY96F+mmmUen6tbn0glN6PMvlKQb9bPAY5e9u7fgPTkKw==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } - }, - "System.Globalization": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "kYdVd2f2PAdFGblzFswE4hkNANJBKRmsfa2X5LG2AcWE1c7/4t0pYae1L8vfZ5xvE2nK/R9JprtToA61OSHWIg==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } - }, - "System.Globalization.Calendars": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "GUlBtdOWT4LTV3I+9/PJW+56AnnChTaOqqTLFtdmype/L500M2LIyXgmtd9X2P2VOkmJd5c67H5SaC2QcL1bFA==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Globalization": "4.3.0", - "System.Runtime": "4.3.0" - } - }, - "System.Globalization.Extensions": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "FhKmdR6MPG+pxow6wGtNAWdZh7noIOpdD5TwQ3CprzgIE1bBBoim0vbR1+AWsWjQmU7zXHgQo4TWSP6lCeiWcQ==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "System.Globalization": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.InteropServices": "4.3.0" - } - }, - "System.IO": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "3qjaHvxQPDpSOYICjUoTsmoq5u6QJAFRUITgeT/4gqkF1bajbSmb1kwSxEA8AHlofqgcKJcM8udgieRNhaJ5Cg==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0", - "System.Text.Encoding": "4.3.0", - "System.Threading.Tasks": "4.3.0" - } - }, - "System.IO.Compression": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "YHndyoiV90iu4iKG115ibkhrG+S3jBm8Ap9OwoUAzO5oPDAWcr0SFwQFm0HjM8WkEZWo0zvLTyLmbvTkW1bXgg==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "System.Buffers": "4.3.0", - "System.Collections": "4.3.0", - "System.Diagnostics.Debug": "4.3.0", - "System.IO": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.Handles": "4.3.0", - "System.Runtime.InteropServices": "4.3.0", - "System.Text.Encoding": "4.3.0", - "System.Threading": "4.3.0", - "System.Threading.Tasks": "4.3.0", - "runtime.native.System": "4.3.0", - "runtime.native.System.IO.Compression": "4.3.0" - } - }, - "System.IO.Compression.ZipFile": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "G4HwjEsgIwy3JFBduZ9quBkAu+eUwjIdJleuNSgmUojbH6O3mlvEIme+GHx/cLlTAPcrnnL7GqvB9pTlWRfhOg==", - "dependencies": { - "System.Buffers": "4.3.0", - "System.IO": "4.3.0", - "System.IO.Compression": "4.3.0", - "System.IO.FileSystem": "4.3.0", - "System.IO.FileSystem.Primitives": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Text.Encoding": "4.3.0" - } - }, - "System.IO.FileSystem": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "3wEMARTnuio+ulnvi+hkRNROYwa1kylvYahhcLk4HSoVdl+xxTFVeVlYOfLwrDPImGls0mDqbMhrza8qnWPTdA==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.IO": "4.3.0", - "System.IO.FileSystem.Primitives": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Handles": "4.3.0", - "System.Text.Encoding": "4.3.0", - "System.Threading.Tasks": "4.3.0" - } - }, - "System.IO.FileSystem.Primitives": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "6QOb2XFLch7bEc4lIcJH49nJN2HV+OC3fHDgsLVsBVBk3Y4hFAnOBGzJ2lUu7CyDDFo9IBWkSsnbkT6IBwwiMw==", - "dependencies": { - "System.Runtime": "4.3.0" - } - }, - "System.Linq": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "5DbqIUpsDp0dFftytzuMmc0oeMdQwjcP/EWxsksIz/w1TcFRkZ3yKKz0PqiYFMmEwPSWw+qNVqD7PJ889JzHbw==", - "dependencies": { - "System.Collections": "4.3.0", - "System.Diagnostics.Debug": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0" - } - }, - "System.Linq.Expressions": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "PGKkrd2khG4CnlyJwxwwaWWiSiWFNBGlgXvJpeO0xCXrZ89ODrQ6tjEWS/kOqZ8GwEOUATtKtzp1eRgmYNfclg==", - "dependencies": { - "System.Collections": "4.3.0", - "System.Diagnostics.Debug": "4.3.0", - "System.Globalization": "4.3.0", - "System.IO": "4.3.0", - "System.Linq": "4.3.0", - "System.ObjectModel": "4.3.0", - "System.Reflection": "4.3.0", - "System.Reflection.Emit": "4.3.0", - "System.Reflection.Emit.ILGeneration": "4.3.0", - "System.Reflection.Emit.Lightweight": "4.3.0", - "System.Reflection.Extensions": "4.3.0", - "System.Reflection.Primitives": "4.3.0", - "System.Reflection.TypeExtensions": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Threading": "4.3.0" - } - }, - "System.Net.Http": { - "type": "Transitive", - "resolved": "4.3.1", - "contentHash": "UrTyRczM3ZvNk6oetBuwlu67MFKKRva+r7bw4JDVZ6Y2IukyZ24td5ppsieu/4yZlogVAIuZul9GIQ3hoiz0yA==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "System.Collections": "4.3.0", - "System.Diagnostics.Debug": "4.3.0", - "System.Diagnostics.DiagnosticSource": "4.3.0", - "System.Diagnostics.Tracing": "4.3.0", - "System.Globalization": "4.3.0", - "System.Globalization.Extensions": "4.3.0", - "System.IO": "4.3.0", - "System.IO.FileSystem": "4.3.0", - "System.Net.Primitives": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.Handles": "4.3.0", - "System.Runtime.InteropServices": "4.3.0", - "System.Security.Cryptography.Algorithms": "4.3.0", - "System.Security.Cryptography.Encoding": "4.3.0", - "System.Security.Cryptography.OpenSsl": "4.3.0", - "System.Security.Cryptography.Primitives": "4.3.0", - "System.Security.Cryptography.X509Certificates": "4.3.0", - "System.Text.Encoding": "4.3.0", - "System.Threading": "4.3.0", - "System.Threading.Tasks": "4.3.0", - "runtime.native.System": "4.3.0", - "runtime.native.System.Net.Http": "4.3.0", - "runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0" - } - }, - "System.Net.Primitives": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "qOu+hDwFwoZPbzPvwut2qATe3ygjeQBDQj91xlsaqGFQUI5i4ZnZb8yyQuLGpDGivEPIt8EJkd1BVzVoP31FXA==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0", - "System.Runtime.Handles": "4.3.0" - } - }, - "System.Net.Sockets": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "m6icV6TqQOAdgt5N/9I5KNpjom/5NFtkmGseEH+AK/hny8XrytLH3+b5M8zL/Ycg3fhIocFpUMyl/wpFnVRvdw==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.IO": "4.3.0", - "System.Net.Primitives": "4.3.0", - "System.Runtime": "4.3.0", - "System.Threading.Tasks": "4.3.0" - } - }, - "System.ObjectModel": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "bdX+80eKv9bN6K4N+d77OankKHGn6CH711a6fcOpMQu2Fckp/Ft4L/kW9WznHpyR0NRAvJutzOMHNNlBGvxQzQ==", - "dependencies": { - "System.Collections": "4.3.0", - "System.Diagnostics.Debug": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Threading": "4.3.0" - } - }, - "System.Reflection": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "KMiAFoW7MfJGa9nDFNcfu+FpEdiHpWgTcS2HdMpDvt9saK3y/G4GwprPyzqjFH9NTaGPQeWNHU+iDlDILj96aQ==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.IO": "4.3.0", - "System.Reflection.Primitives": "4.3.0", - "System.Runtime": "4.3.0" - } - }, - "System.Reflection.Emit": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "228FG0jLcIwTVJyz8CLFKueVqQK36ANazUManGaJHkO0icjiIypKW7YLWLIWahyIkdh5M7mV2dJepllLyA1SKg==", - "dependencies": { - "System.IO": "4.3.0", - "System.Reflection": "4.3.0", - "System.Reflection.Emit.ILGeneration": "4.3.0", - "System.Reflection.Primitives": "4.3.0", - "System.Runtime": "4.3.0" - } - }, - "System.Reflection.Emit.ILGeneration": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "59tBslAk9733NXLrUJrwNZEzbMAcu8k344OYo+wfSVygcgZ9lgBdGIzH/nrg3LYhXceynyvTc8t5/GD4Ri0/ng==", - "dependencies": { - "System.Reflection": "4.3.0", - "System.Reflection.Primitives": "4.3.0", - "System.Runtime": "4.3.0" - } - }, - "System.Reflection.Emit.Lightweight": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "oadVHGSMsTmZsAF864QYN1t1QzZjIcuKU3l2S9cZOwDdDueNTrqq1yRj7koFfIGEnKpt6NjpL3rOzRhs4ryOgA==", - "dependencies": { - "System.Reflection": "4.3.0", - "System.Reflection.Emit.ILGeneration": "4.3.0", - "System.Reflection.Primitives": "4.3.0", - "System.Runtime": "4.3.0" - } - }, - "System.Reflection.Extensions": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "rJkrJD3kBI5B712aRu4DpSIiHRtr6QlfZSQsb0hYHrDCZORXCFjQfoipo2LaMUHoT9i1B7j7MnfaEKWDFmFQNQ==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Reflection": "4.3.0", - "System.Runtime": "4.3.0" - } - }, - "System.Reflection.Metadata": { - "type": "Transitive", - "resolved": "1.6.0", - "contentHash": "COC1aiAJjCoA5GBF+QKL2uLqEBew4JsCkQmoHKbN3TlOZKa2fKLz5CpiRQKDz0RsAOEGsVKqOD5bomsXq/4STQ==" - }, - "System.Reflection.Primitives": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "5RXItQz5As4xN2/YUDxdpsEkMhvw3e6aNveFXUn4Hl/udNTCNhnKp8lT9fnc3MhvGKh1baak5CovpuQUXHAlIA==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } - }, - "System.Reflection.TypeExtensions": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "7u6ulLcZbyxB5Gq0nMkQttcdBTx57ibzw+4IOXEfR+sXYQoHvjW5LTLyNr8O22UIMrqYbchJQJnos4eooYzYJA==", - "dependencies": { - "System.Reflection": "4.3.0", - "System.Runtime": "4.3.0" - } - }, - "System.Resources.ResourceManager": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "/zrcPkkWdZmI4F92gL/TPumP98AVDu/Wxr3CSJGQQ+XN6wbRZcyfSKVoPo17ilb3iOr0cCRqJInGwNMolqhS8A==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Globalization": "4.3.0", - "System.Reflection": "4.3.0", - "System.Runtime": "4.3.0" - } - }, - "System.Runtime": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "JufQi0vPQ0xGnAczR13AUFglDyVYt4Kqnz1AZaiKZ5+GICq0/1MH/mO/eAJHt/mHW1zjKBJd7kV26SrxddAhiw==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0" - } - }, - "System.Runtime.Extensions": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "guW0uK0fn5fcJJ1tJVXYd7/1h5F+pea1r7FLSOz/f8vPEqbR2ZAknuRDvTQ8PzAilDveOxNjSfr0CHfIQfFk8g==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } - }, - "System.Runtime.Handles": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "OKiSUN7DmTWeYb3l51A7EYaeNMnvxwE249YtZz7yooT4gOZhmTjIn48KgSsw2k2lYdLgTKNJw/ZIfSElwDRVgg==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } - }, - "System.Runtime.InteropServices": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "uv1ynXqiMK8mp1GM3jDqPCFN66eJ5w5XNomaK2XD+TuCroNTLFGeZ+WCmBMcBDyTFKou3P6cR6J/QsaqDp7fGQ==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Reflection": "4.3.0", - "System.Reflection.Primitives": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Handles": "4.3.0" - } - }, - "System.Runtime.InteropServices.RuntimeInformation": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "cbz4YJMqRDR7oLeMRbdYv7mYzc++17lNhScCX0goO2XpGWdvAt60CGN+FHdePUEHCe/Jy9jUlvNAiNdM+7jsOw==", - "dependencies": { - "System.Reflection": "4.3.0", - "System.Reflection.Extensions": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.InteropServices": "4.3.0", - "System.Threading": "4.3.0", - "runtime.native.System": "4.3.0" - } - }, - "System.Runtime.Numerics": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "yMH+MfdzHjy17l2KESnPiF2dwq7T+xLnSJar7slyimAkUh/gTrS9/UQOtv7xarskJ2/XDSNvfLGOBQPjL7PaHQ==", - "dependencies": { - "System.Globalization": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0" - } - }, - "System.Security.Cryptography.Algorithms": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "W1kd2Y8mYSCgc3ULTAZ0hOP2dSdG5YauTb1089T0/kRcN2MpSAW1izOFROrJgxSlMn3ArsgHXagigyi+ibhevg==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "System.Collections": "4.3.0", - "System.IO": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.Handles": "4.3.0", - "System.Runtime.InteropServices": "4.3.0", - "System.Runtime.Numerics": "4.3.0", - "System.Security.Cryptography.Encoding": "4.3.0", - "System.Security.Cryptography.Primitives": "4.3.0", - "System.Text.Encoding": "4.3.0", - "runtime.native.System.Security.Cryptography.Apple": "4.3.0", - "runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0" - } - }, - "System.Security.Cryptography.Cng": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "03idZOqFlsKRL4W+LuCpJ6dBYDUWReug6lZjBa3uJWnk5sPCUXckocevTaUA8iT/MFSrY/2HXkOt753xQ/cf8g==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "System.IO": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.Handles": "4.3.0", - "System.Runtime.InteropServices": "4.3.0", - "System.Security.Cryptography.Algorithms": "4.3.0", - "System.Security.Cryptography.Encoding": "4.3.0", - "System.Security.Cryptography.Primitives": "4.3.0", - "System.Text.Encoding": "4.3.0" - } - }, - "System.Security.Cryptography.Csp": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "X4s/FCkEUnRGnwR3aSfVIkldBmtURMhmexALNTwpjklzxWU7yjMk7GHLKOZTNkgnWnE0q7+BCf9N2LVRWxewaA==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "System.IO": "4.3.0", - "System.Reflection": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.Handles": "4.3.0", - "System.Runtime.InteropServices": "4.3.0", - "System.Security.Cryptography.Algorithms": "4.3.0", - "System.Security.Cryptography.Encoding": "4.3.0", - "System.Security.Cryptography.Primitives": "4.3.0", - "System.Text.Encoding": "4.3.0", - "System.Threading": "4.3.0" - } - }, - "System.Security.Cryptography.Encoding": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "1DEWjZZly9ae9C79vFwqaO5kaOlI5q+3/55ohmq/7dpDyDfc8lYe7YVxJUZ5MF/NtbkRjwFRo14yM4OEo9EmDw==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "System.Collections": "4.3.0", - "System.Collections.Concurrent": "4.3.0", - "System.Linq": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.Handles": "4.3.0", - "System.Runtime.InteropServices": "4.3.0", - "System.Security.Cryptography.Primitives": "4.3.0", - "System.Text.Encoding": "4.3.0", - "runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0" - } - }, - "System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "h4CEgOgv5PKVF/HwaHzJRiVboL2THYCou97zpmhjghx5frc7fIvlkY1jL+lnIQyChrJDMNEXS6r7byGif8Cy4w==", - "dependencies": { - "System.Collections": "4.3.0", - "System.IO": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.Handles": "4.3.0", - "System.Runtime.InteropServices": "4.3.0", - "System.Runtime.Numerics": "4.3.0", - "System.Security.Cryptography.Algorithms": "4.3.0", - "System.Security.Cryptography.Encoding": "4.3.0", - "System.Security.Cryptography.Primitives": "4.3.0", - "System.Text.Encoding": "4.3.0", - "runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0" - } - }, - "System.Security.Cryptography.Primitives": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "7bDIyVFNL/xKeFHjhobUAQqSpJq9YTOpbEs6mR233Et01STBMXNAc/V+BM6dwYGc95gVh/Zf+iVXWzj3mE8DWg==", - "dependencies": { - "System.Diagnostics.Debug": "4.3.0", - "System.Globalization": "4.3.0", - "System.IO": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Threading": "4.3.0", - "System.Threading.Tasks": "4.3.0" - } - }, - "System.Security.Cryptography.ProtectedData": { - "type": "Transitive", - "resolved": "4.4.0", - "contentHash": "cJV7ScGW7EhatRsjehfvvYVBvtiSMKgN8bOVI0bQhnF5bU7vnHVIsH49Kva7i7GWaWYvmEzkYVk1TC+gZYBEog==" - }, - "System.Security.Cryptography.X509Certificates": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "t2Tmu6Y2NtJ2um0RtcuhP7ZdNNxXEgUm2JeoA/0NvlMjAhKCnM1NX07TDl3244mVp3QU6LPEhT3HTtH1uF7IYw==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "System.Collections": "4.3.0", - "System.Diagnostics.Debug": "4.3.0", - "System.Globalization": "4.3.0", - "System.Globalization.Calendars": "4.3.0", - "System.IO": "4.3.0", - "System.IO.FileSystem": "4.3.0", - "System.IO.FileSystem.Primitives": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.Handles": "4.3.0", - "System.Runtime.InteropServices": "4.3.0", - "System.Runtime.Numerics": "4.3.0", - "System.Security.Cryptography.Algorithms": "4.3.0", - "System.Security.Cryptography.Cng": "4.3.0", - "System.Security.Cryptography.Csp": "4.3.0", - "System.Security.Cryptography.Encoding": "4.3.0", - "System.Security.Cryptography.OpenSsl": "4.3.0", - "System.Security.Cryptography.Primitives": "4.3.0", - "System.Text.Encoding": "4.3.0", - "System.Threading": "4.3.0", - "runtime.native.System": "4.3.0", - "runtime.native.System.Net.Http": "4.3.0", - "runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0" - } - }, - "System.Text.Encoding": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "BiIg+KWaSDOITze6jGQynxg64naAPtqGHBwDrLaCtixsa5bKiR8dpPOHA7ge3C0JJQizJE+sfkz1wV+BAKAYZw==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } - }, - "System.Text.Encoding.Extensions": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "YVMK0Bt/A43RmwizJoZ22ei2nmrhobgeiYwFzC4YAN+nue8RF6djXDMog0UCn+brerQoYVyaS+ghy9P/MUVcmw==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0", - "System.Text.Encoding": "4.3.0" - } - }, - "System.Text.Json": { - "type": "Transitive", - "resolved": "4.6.0", - "contentHash": "4F8Xe+JIkVoDJ8hDAZ7HqLkjctN/6WItJIzQaifBwClC7wmoLSda/Sv2i6i1kycqDb3hWF4JCVbpAweyOKHEUA==" - }, - "System.Text.RegularExpressions": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "RpT2DA+L660cBt1FssIE9CAGpLFdFPuheB7pLpKpn6ZXNby7jDERe8Ua/Ne2xGiwLVG2JOqziiaVCGDon5sKFA==", - "dependencies": { - "System.Runtime": "4.3.0" - } - }, - "System.Threading": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "VkUS0kOBcUf3Wwm0TSbrevDDZ6BlM+b/HRiapRFWjM5O0NS0LviG0glKmFK+hhPDd1XFeSdU1GmlLhb2CoVpIw==", - "dependencies": { - "System.Runtime": "4.3.0", - "System.Threading.Tasks": "4.3.0" - } - }, - "System.Threading.Tasks": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "LbSxKEdOUhVe8BezB/9uOGGppt+nZf6e1VFyw6v3DN6lqitm0OSn2uXMOdtP0M3W4iMcqcivm2J6UgqiwwnXiA==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } - }, - "System.Threading.Tasks.Extensions": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "npvJkVKl5rKXrtl1Kkm6OhOUaYGEiF9wFbppFRWSMoApKzt2PiPHT2Bb8a5sAWxprvdOAtvaARS9QYMznEUtug==", - "dependencies": { - "System.Collections": "4.3.0", - "System.Runtime": "4.3.0", - "System.Threading.Tasks": "4.3.0" - } - }, - "System.Threading.Thread": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "OHmbT+Zz065NKII/ZHcH9XO1dEuLGI1L2k7uYss+9C1jLxTC9kTZZuzUOyXHayRk+dft9CiDf3I/QZ0t8JKyBQ==", - "dependencies": { - "System.Runtime": "4.3.0" - } - }, - "System.Threading.ThreadPool": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "k/+g4b7vjdd4aix83sTgC9VG6oXYKAktSfNIJUNGxPEj7ryEOfzHHhfnmsZvjxawwcD9HyWXKCXmPjX8U4zeSw==", - "dependencies": { - "System.Runtime": "4.3.0", - "System.Runtime.Handles": "4.3.0" - } - }, - "System.Threading.Timer": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "Z6YfyYTCg7lOZjJzBjONJTFKGN9/NIYKSxhU5GRd+DTwHSZyvWp1xuI5aR+dLg+ayyC5Xv57KiY4oJ0tMO89fQ==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } - }, - "System.Xml.ReaderWriter": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "GrprA+Z0RUXaR4N7/eW71j1rgMnEnEVlgii49GZyAjTH7uliMnrOU3HNFBr6fEDBCJCIdlVNq9hHbaDR621XBA==", - "dependencies": { - "System.Collections": "4.3.0", - "System.Diagnostics.Debug": "4.3.0", - "System.Globalization": "4.3.0", - "System.IO": "4.3.0", - "System.IO.FileSystem": "4.3.0", - "System.IO.FileSystem.Primitives": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.InteropServices": "4.3.0", - "System.Text.Encoding": "4.3.0", - "System.Text.Encoding.Extensions": "4.3.0", - "System.Text.RegularExpressions": "4.3.0", - "System.Threading.Tasks": "4.3.0", - "System.Threading.Tasks.Extensions": "4.3.0" - } - }, - "System.Xml.XDocument": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "5zJ0XDxAIg8iy+t4aMnQAu0MqVbqyvfoUVl1yDV61xdo3Vth45oA2FoY4pPkxYAH5f8ixpmTqXeEIya95x0aCQ==", - "dependencies": { - "System.Collections": "4.3.0", - "System.Diagnostics.Debug": "4.3.0", - "System.Diagnostics.Tools": "4.3.0", - "System.Globalization": "4.3.0", - "System.IO": "4.3.0", - "System.Reflection": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Text.Encoding": "4.3.0", - "System.Threading": "4.3.0", - "System.Xml.ReaderWriter": "4.3.0" - } - }, - "xunit": { - "type": "Transitive", - "resolved": "2.4.2", - "contentHash": "6Mj73Ont3zj2CJuoykVJfE0ZmRwn7C+pTuRP8c4bnaaTFjwNG6tGe0prJ1yIbMe9AHrpDys63ctWacSsFJWK/w==", - "dependencies": { - "xunit.analyzers": "1.0.0", - "xunit.assert": "2.4.2", - "xunit.core": "[2.4.2]" - } - }, - "xunit.abstractions": { - "type": "Transitive", - "resolved": "2.0.3", - "contentHash": "pot1I4YOxlWjIb5jmwvvQNbTrZ3lJQ+jUGkGjWE3hEFM0l5gOnBWS+H3qsex68s5cO52g+44vpGzhAt+42vwKg==" - }, - "xunit.analyzers": { - "type": "Transitive", - "resolved": "1.0.0", - "contentHash": "BeO8hEgs/c8Ls2647fPfieMngncvf0D0xYNDfIO59MolxtCtVjFRd6SRc+7tj8VMqkVOuJcnc9eh4ngI2cAmLQ==" - }, - "xunit.assert": { - "type": "Transitive", - "resolved": "2.4.2", - "contentHash": "pxJISOFjn2XTTi1mcDCkRZrTFb9OtRRCtx2kZFNF51GdReLr1ls2rnyxvAS4JO247K3aNtflvh5Q0346K5BROA==", - "dependencies": { - "NETStandard.Library": "1.6.1" - } - }, - "xunit.core": { - "type": "Transitive", - "resolved": "2.4.2", - "contentHash": "KB4yGCxNqIVyekhJLXtKSEq6BaXVp/JO3mbGVE1hxypZTLEe7h+sTbAhpA+yZW2dPtXTuiW+C1B2oxxHEkrmOw==", - "dependencies": { - "xunit.extensibility.core": "[2.4.2]", - "xunit.extensibility.execution": "[2.4.2]" - } - }, - "xunit.extensibility.core": { - "type": "Transitive", - "resolved": "2.4.2", - "contentHash": "W1BoXTIN1C6kpVSMw25huSet25ky6IAQUNovu3zGOGN/jWnbgSoTyCrlIhmXSg0tH5nEf8q7h3OjNHOjyu5PfA==", - "dependencies": { - "NETStandard.Library": "1.6.1", - "xunit.abstractions": "2.0.3" - } - }, - "xunit.extensibility.execution": { - "type": "Transitive", - "resolved": "2.4.2", - "contentHash": "CZmgcKkwpyo8FlupZdWpJCryrAOWLh1FBPG6gmVZuPQkGQsim/oL4PcP4nfrC2hHgXUFtluvaJ0Sp9PQKUMNpg==", - "dependencies": { - "NETStandard.Library": "1.6.1", - "xunit.extensibility.core": "[2.4.2]" - } - }, - "elastic.clients.elasticsearch": { - "type": "Project", - "dependencies": { - "Elastic.Transport": "[0.4.22, )" - } - }, - "elastic.clients.elasticsearch.jsonnetserializer": { - "type": "Project", - "dependencies": { - "Elastic.Clients.Elasticsearch": "[8.0.0, )", - "Newtonsoft.Json": "[13.0.1, )" - } - }, - "tests.configuration": { - "type": "Project", - "dependencies": { - "Elastic.Elasticsearch.Managed": "[0.4.3, )" - } - }, - "tests.core": { - "type": "Project", - "dependencies": { - "DiffPlex": "[1.4.1, )", - "Elastic.Clients.Elasticsearch.JsonNetSerializer": "[8.0.0, )", - "Elastic.Elasticsearch.Xunit": "[0.4.3, )", - "FluentAssertions": "[5.10.3, )", - "JunitXml.TestLogger": "[3.0.110, )", - "Microsoft.Bcl.HashCode": "[1.1.1, )", - "Microsoft.NET.Test.Sdk": "[17.2.0, )", - "Nullean.VsTest.Pretty.TestLogger": "[0.3.0, )", - "Proc": "[0.6.1, )", - "Tests.Domain": "[8.0.0, )", - "xunit": "[2.4.2, )" - } - }, - "tests.domain": { - "type": "Project", - "dependencies": { - "Bogus": "[22.1.2, )", - "Elastic.Clients.Elasticsearch": "[8.0.0, )", - "Elastic.Elasticsearch.Managed": "[0.4.3, )", - "Newtonsoft.Json": "[13.0.1, )", - "Tests.Configuration": "[8.0.0, )" - } - } - } - } -} \ No newline at end of file diff --git a/tests/Tests.Configuration/packages.lock.json b/tests/Tests.Configuration/packages.lock.json deleted file mode 100644 index e028ca2f851..00000000000 --- a/tests/Tests.Configuration/packages.lock.json +++ /dev/null @@ -1,1119 +0,0 @@ -{ - "version": 1, - "dependencies": { - ".NETStandard,Version=v2.1": { - "DotNet.ReproducibleBuilds": { - "type": "Direct", - "requested": "[1.1.1, )", - "resolved": "1.1.1", - "contentHash": "+H2t/t34h6mhEoUvHi8yGXyuZ2GjSovcGYehJrS2MDm2XgmPfZL2Sdxg+uL2lKgZ4M6tTwKHIlxOob2bgh0NRQ==", - "dependencies": { - "Microsoft.SourceLink.AzureRepos.Git": "1.1.1", - "Microsoft.SourceLink.Bitbucket.Git": "1.1.1", - "Microsoft.SourceLink.GitHub": "1.1.1", - "Microsoft.SourceLink.GitLab": "1.1.1" - } - }, - "Elastic.Elasticsearch.Managed": { - "type": "Direct", - "requested": "[0.4.3, )", - "resolved": "0.4.3", - "contentHash": "B7FvSMeNqYM3Yl/r/QRyROuAkMSiSQ0EvZQ36Cqrxm6uRBodlwky4yy4Im/AnOIQIl5lFLGr4vLHwWedHPharw==", - "dependencies": { - "Elastic.Stack.ArtifactsApi": "0.4.3", - "Proc": "0.6.1", - "System.Net.Http": "4.3.1" - } - }, - "Microsoft.NETFramework.ReferenceAssemblies": { - "type": "Direct", - "requested": "[1.0.3, )", - "resolved": "1.0.3", - "contentHash": "vUc9Npcs14QsyOD01tnv/m8sQUnGTGOw1BCmKcv77LBJY7OxhJ+zJF7UD/sCL3lYNFuqmQEVlkfS4Quif6FyYg==", - "dependencies": { - "Microsoft.NETFramework.ReferenceAssemblies.net461": "1.0.3" - } - }, - "Elastic.Stack.ArtifactsApi": { - "type": "Transitive", - "resolved": "0.4.3", - "contentHash": "mqfBDj5s8Gj6QWNYmCNJo2raxbzn8fUBk+eSxA5HeDYjEXoK52kOBvFSy4bL9Qaz+EW6JvOvt8nw0cm5MorJUA==", - "dependencies": { - "SemanticVersioning": "0.8.0", - "System.Text.Json": "4.6.0" - } - }, - "Microsoft.Bcl.AsyncInterfaces": { - "type": "Transitive", - "resolved": "1.0.0", - "contentHash": "K63Y4hORbBcKLWH5wnKgzyn7TOfYzevIEwIedQHBIkmkEBA9SCqgvom+XTuE+fAFGvINGkhFItaZ2dvMGdT5iw==", - "dependencies": { - "System.Threading.Tasks.Extensions": "4.5.2" - } - }, - "Microsoft.Build.Tasks.Git": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "AT3HlgTjsqHnWpBHSNeR0KxbLZD7bztlZVj7I8vgeYG9SYqbeFGh0TM/KVtC6fg53nrWHl3VfZFvb5BiQFcY6Q==" - }, - "Microsoft.NETCore.Platforms": { - "type": "Transitive", - "resolved": "1.1.0", - "contentHash": "kz0PEW2lhqygehI/d6XsPCQzD7ff7gUJaVGPVETX611eadGsA3A877GdSlU0LRVMCTH/+P3o2iDTak+S08V2+A==" - }, - "Microsoft.NETCore.Targets": { - "type": "Transitive", - "resolved": "1.1.0", - "contentHash": "aOZA3BWfz9RXjpzt0sRJJMjAscAUm3Hoa4UWAfceV9UTYxgwZ1lZt5nO2myFf+/jetYQo4uTP7zS8sJY67BBxg==" - }, - "Microsoft.NETFramework.ReferenceAssemblies.net461": { - "type": "Transitive", - "resolved": "1.0.3", - "contentHash": "AmOJZwCqnOCNp6PPcf9joyogScWLtwy0M1WkqfEQ0M9nYwyDD7EX9ZjscKS5iYnyvteX7kzSKFCKt9I9dXA6mA==" - }, - "Microsoft.SourceLink.AzureRepos.Git": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "qB5urvw9LO2bG3eVAkuL+2ughxz2rR7aYgm2iyrB8Rlk9cp2ndvGRCvehk3rNIhRuNtQaeKwctOl1KvWiklv5w==", - "dependencies": { - "Microsoft.Build.Tasks.Git": "1.1.1", - "Microsoft.SourceLink.Common": "1.1.1" - } - }, - "Microsoft.SourceLink.Bitbucket.Git": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "cDzxXwlyWpLWaH0em4Idj0H3AmVo3L/6xRXKssYemx+7W52iNskj/SQ4FOmfCb8YQt39otTDNMveCZzYtMoucQ==", - "dependencies": { - "Microsoft.Build.Tasks.Git": "1.1.1", - "Microsoft.SourceLink.Common": "1.1.1" - } - }, - "Microsoft.SourceLink.Common": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "WMcGpWKrmJmzrNeuaEb23bEMnbtR/vLmvZtkAP5qWu7vQsY59GqfRJd65sFpBszbd2k/bQ8cs8eWawQKAabkVg==" - }, - "Microsoft.SourceLink.GitHub": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "IaJGnOv/M7UQjRJks7B6p7pbPnOwisYGOIzqCz5ilGFTApZ3ktOR+6zJ12ZRPInulBmdAf1SrGdDG2MU8g6XTw==", - "dependencies": { - "Microsoft.Build.Tasks.Git": "1.1.1", - "Microsoft.SourceLink.Common": "1.1.1" - } - }, - "Microsoft.SourceLink.GitLab": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "tvsg47DDLqqedlPeYVE2lmiTpND8F0hkrealQ5hYltSmvruy/Gr5nHAKSsjyw5L3NeM/HLMI5ORv7on/M4qyZw==", - "dependencies": { - "Microsoft.Build.Tasks.Git": "1.1.1", - "Microsoft.SourceLink.Common": "1.1.1" - } - }, - "Microsoft.Win32.Primitives": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "9ZQKCWxH7Ijp9BfahvL2Zyf1cJIk8XYLF6Yjzr2yi0b2cOut/HQ31qf1ThHAgCc3WiZMdnWcfJCgN82/0UunxA==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } - }, - "Microsoft.Win32.Registry": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "Lw1/VwLH1yxz6SfFEjVRCN0pnflLEsWgnV4qsdJ512/HhTwnKXUG+zDQ4yTO3K/EJQemGoNaBHX5InISNKTzUQ==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "System.Collections": "4.3.0", - "System.Globalization": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.Handles": "4.3.0", - "System.Runtime.InteropServices": "4.3.0" - } - }, - "NETStandard.Library": { - "type": "Transitive", - "resolved": "1.6.0", - "contentHash": "ypsCvIdCZ4IoYASJHt6tF2fMo7N30NLgV1EbmC+snO490OMl9FvVxmumw14rhReWU3j3g7BYudG6YCrchwHJlA==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.0.1", - "Microsoft.Win32.Primitives": "4.0.1", - "System.AppContext": "4.1.0", - "System.Collections": "4.0.11", - "System.Collections.Concurrent": "4.0.12", - "System.Console": "4.0.0", - "System.Diagnostics.Debug": "4.0.11", - "System.Diagnostics.Tools": "4.0.1", - "System.Diagnostics.Tracing": "4.1.0", - "System.Globalization": "4.0.11", - "System.Globalization.Calendars": "4.0.1", - "System.IO": "4.1.0", - "System.IO.Compression": "4.1.0", - "System.IO.Compression.ZipFile": "4.0.1", - "System.IO.FileSystem": "4.0.1", - "System.IO.FileSystem.Primitives": "4.0.1", - "System.Linq": "4.1.0", - "System.Linq.Expressions": "4.1.0", - "System.Net.Http": "4.1.0", - "System.Net.Primitives": "4.0.11", - "System.Net.Sockets": "4.1.0", - "System.ObjectModel": "4.0.12", - "System.Reflection": "4.1.0", - "System.Reflection.Extensions": "4.0.1", - "System.Reflection.Primitives": "4.0.1", - "System.Resources.ResourceManager": "4.0.1", - "System.Runtime": "4.1.0", - "System.Runtime.Extensions": "4.1.0", - "System.Runtime.Handles": "4.0.1", - "System.Runtime.InteropServices": "4.1.0", - "System.Runtime.InteropServices.RuntimeInformation": "4.0.0", - "System.Runtime.Numerics": "4.0.1", - "System.Security.Cryptography.Algorithms": "4.2.0", - "System.Security.Cryptography.Encoding": "4.0.0", - "System.Security.Cryptography.Primitives": "4.0.0", - "System.Security.Cryptography.X509Certificates": "4.1.0", - "System.Text.Encoding": "4.0.11", - "System.Text.Encoding.Extensions": "4.0.11", - "System.Text.RegularExpressions": "4.1.0", - "System.Threading": "4.0.11", - "System.Threading.Tasks": "4.0.11", - "System.Threading.Timer": "4.0.1", - "System.Xml.ReaderWriter": "4.0.11", - "System.Xml.XDocument": "4.0.11" - } - }, - "Proc": { - "type": "Transitive", - "resolved": "0.6.1", - "contentHash": "xRSCfgQNoGy60MOuvD2X1euzqvWDoyfpB8NAfVs2E5K5U1I8cA9MvVY6NbUkp5ApbOmVXls2JEPrOn8rQi2Pzg==", - "dependencies": { - "System.Diagnostics.Process": "[4.3.0]", - "System.Threading.Thread": "[4.3.0]" - } - }, - "runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "HdSSp5MnJSsg08KMfZThpuLPJpPwE5hBXvHwoKWosyHHfe8Mh5WKT0ylEOf6yNzX6Ngjxe4Whkafh5q7Ymac4Q==" - }, - "runtime.fedora.23-x64.runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "+yH1a49wJMy8Zt4yx5RhJrxO/DBDByAiCzNwiETI+1S4mPdCu0OY4djdciC7Vssk0l22wQaDLrXxXkp+3+7bVA==" - }, - "runtime.fedora.24-x64.runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "c3YNH1GQJbfIPJeCnr4avseugSqPrxwIqzthYyZDN6EuOyNOzq+y2KSUfRcXauya1sF4foESTgwM5e1A8arAKw==" - }, - "runtime.native.System": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "c/qWt2LieNZIj1jGnVNsE2Kl23Ya2aSTBuXMD6V7k9KWr6l16Tqdwq+hJScEpWER9753NWC8h96PaVNY5Ld7Jw==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0" - } - }, - "runtime.native.System.IO.Compression": { - "type": "Transitive", - "resolved": "4.1.0", - "contentHash": "Ob7nvnJBox1aaB222zSVZSkf4WrebPG4qFscfK7vmD7P7NxoSxACQLtO7ytWpqXDn2wcd/+45+EAZ7xjaPip8A==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.0.1", - "Microsoft.NETCore.Targets": "1.0.1" - } - }, - "runtime.native.System.Net.Http": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "ZVuZJqnnegJhd2k/PtAbbIcZ3aZeITq3sj06oKfMBSfphW3HDmk/t4ObvbOk/JA/swGR0LNqMksAh/f7gpTROg==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0" - } - }, - "runtime.native.System.Security.Cryptography.Apple": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "DloMk88juo0OuOWr56QG7MNchmafTLYWvABy36izkrLI5VledI0rq28KGs1i9wbpeT9NPQrx/wTf8U2vazqQ3Q==", - "dependencies": { - "runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.Apple": "4.3.0" - } - }, - "runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "NS1U+700m4KFRHR5o4vo9DSlTmlCKu/u7dtE5sUHVIPB+xpXxYQvgBgA6wEIeCz6Yfn0Z52/72WYsToCEPJnrw==", - "dependencies": { - "runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0", - "runtime.fedora.23-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0", - "runtime.fedora.24-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0", - "runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0", - "runtime.opensuse.42.1-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0", - "runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0", - "runtime.rhel.7-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0", - "runtime.ubuntu.14.04-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0", - "runtime.ubuntu.16.04-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0", - "runtime.ubuntu.16.10-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0" - } - }, - "runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "b3pthNgxxFcD+Pc0WSEoC0+md3MyhRS6aCEeenvNE3Fdw1HyJ18ZhRFVJJzIeR/O/jpxPboB805Ho0T3Ul7w8A==" - }, - "runtime.opensuse.42.1-x64.runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "KeLz4HClKf+nFS7p/6Fi/CqyLXh81FpiGzcmuS8DGi9lUqSnZ6Es23/gv2O+1XVGfrbNmviF7CckBpavkBoIFQ==" - }, - "runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.Apple": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "kVXCuMTrTlxq4XOOMAysuNwsXWpYeboGddNGpIgNSZmv1b6r/s/DPk0fYMB7Q5Qo4bY68o48jt4T4y5BVecbCQ==" - }, - "runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "X7IdhILzr4ROXd8mI1BUCQMSHSQwelUlBjF1JyTKCjXaOGn2fB4EKBxQbCK2VjO3WaWIdlXZL3W6TiIVnrhX4g==" - }, - "runtime.rhel.7-x64.runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "nyFNiCk/r+VOiIqreLix8yN+q3Wga9+SE8BCgkf+2BwEKiNx6DyvFjCgkfV743/grxv8jHJ8gUK4XEQw7yzRYg==" - }, - "runtime.ubuntu.14.04-x64.runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "ytoewC6wGorL7KoCAvRfsgoJPJbNq+64k2SqW6JcOAebWsFUvCCYgfzQMrnpvPiEl4OrblUlhF2ji+Q1+SVLrQ==" - }, - "runtime.ubuntu.16.04-x64.runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "I8bKw2I8k58Wx7fMKQJn2R8lamboCAiHfHeV/pS65ScKWMMI0+wJkLYlEKvgW1D/XvSl/221clBoR2q9QNNM7A==" - }, - "runtime.ubuntu.16.10-x64.runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "VB5cn/7OzUfzdnC8tqAIMQciVLiq2epm2NrAm1E9OjNRyG4lVhfR61SMcLizejzQP8R8Uf/0l5qOIbUEi+RdEg==" - }, - "SemanticVersioning": { - "type": "Transitive", - "resolved": "0.8.0", - "contentHash": "hUCnQL79hU0W6X4jPeMAtGDwoEJeBEZfGBnkT+jPG45lD7KHn4h61HgYN8y1HAjPrXmC5oJcLx3l8ygPJOqvlA==", - "dependencies": { - "NETStandard.Library": "1.6.0" - } - }, - "System.AppContext": { - "type": "Transitive", - "resolved": "4.1.0", - "contentHash": "3QjO4jNV7PdKkmQAVp9atA+usVnKRwI3Kx1nMwJ93T0LcQfx7pKAYk0nKz5wn1oP5iqlhZuy6RXOFdhr7rDwow==", - "dependencies": { - "System.Runtime": "4.1.0" - } - }, - "System.Buffers": { - "type": "Transitive", - "resolved": "4.5.0", - "contentHash": "pL2ChpaRRWI/p4LXyy4RgeWlYF2sgfj/pnVMvBqwNFr5cXg7CXNnWZWxrOONLg8VGdFB8oB+EG2Qw4MLgTOe+A==" - }, - "System.Collections": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "3Dcj85/TBdVpL5Zr+gEEBUuFe2icOnLalmEh9hfck1PTYbbyWuZgh4fmm2ysCLTrqLQw6t3TgTyJ+VLp+Qb+Lw==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } - }, - "System.Collections.Concurrent": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "ztl69Xp0Y/UXCL+3v3tEU+lIy+bvjKNUmopn1wep/a291pVPK7dxBd6T7WnlQqRog+d1a/hSsgRsmFnIBKTPLQ==", - "dependencies": { - "System.Collections": "4.3.0", - "System.Diagnostics.Debug": "4.3.0", - "System.Diagnostics.Tracing": "4.3.0", - "System.Globalization": "4.3.0", - "System.Reflection": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Threading": "4.3.0", - "System.Threading.Tasks": "4.3.0" - } - }, - "System.Console": { - "type": "Transitive", - "resolved": "4.0.0", - "contentHash": "qSKUSOIiYA/a0g5XXdxFcUFmv1hNICBD7QZ0QhGYVipPIhvpiydY8VZqr1thmCXvmn8aipMg64zuanB4eotK9A==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.0.1", - "Microsoft.NETCore.Targets": "1.0.1", - "System.IO": "4.1.0", - "System.Runtime": "4.1.0", - "System.Text.Encoding": "4.0.11" - } - }, - "System.Diagnostics.Debug": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "ZUhUOdqmaG5Jk3Xdb8xi5kIyQYAA4PnTNlHx1mu9ZY3qv4ELIdKbnL/akbGaKi2RnNUWaZsAs31rvzFdewTj2g==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } - }, - "System.Diagnostics.DiagnosticSource": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "tD6kosZnTAGdrEa0tZSuFyunMbt/5KYDnHdndJYGqZoNy00XVXyACd5d6KnE1YgYv3ne2CjtAfNXo/fwEhnKUA==", - "dependencies": { - "System.Collections": "4.3.0", - "System.Diagnostics.Tracing": "4.3.0", - "System.Reflection": "4.3.0", - "System.Runtime": "4.3.0", - "System.Threading": "4.3.0" - } - }, - "System.Diagnostics.Process": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "J0wOX07+QASQblsfxmIMFc9Iq7KTXYL3zs2G/Xc704Ylv3NpuVdo6gij6V3PGiptTxqsK0K7CdXenRvKUnkA2g==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.Win32.Primitives": "4.3.0", - "Microsoft.Win32.Registry": "4.3.0", - "System.Collections": "4.3.0", - "System.Diagnostics.Debug": "4.3.0", - "System.Globalization": "4.3.0", - "System.IO": "4.3.0", - "System.IO.FileSystem": "4.3.0", - "System.IO.FileSystem.Primitives": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.Handles": "4.3.0", - "System.Runtime.InteropServices": "4.3.0", - "System.Text.Encoding": "4.3.0", - "System.Text.Encoding.Extensions": "4.3.0", - "System.Threading": "4.3.0", - "System.Threading.Tasks": "4.3.0", - "System.Threading.Thread": "4.3.0", - "System.Threading.ThreadPool": "4.3.0", - "runtime.native.System": "4.3.0" - } - }, - "System.Diagnostics.Tools": { - "type": "Transitive", - "resolved": "4.0.1", - "contentHash": "xBfJ8pnd4C17dWaC9FM6aShzbJcRNMChUMD42I6772KGGrqaFdumwhn9OdM68erj1ueNo3xdQ1EwiFjK5k8p0g==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.0.1", - "Microsoft.NETCore.Targets": "1.0.1", - "System.Runtime": "4.1.0" - } - }, - "System.Diagnostics.Tracing": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "rswfv0f/Cqkh78rA5S8eN8Neocz234+emGCtTF3lxPY96F+mmmUen6tbn0glN6PMvlKQb9bPAY5e9u7fgPTkKw==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } - }, - "System.Globalization": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "kYdVd2f2PAdFGblzFswE4hkNANJBKRmsfa2X5LG2AcWE1c7/4t0pYae1L8vfZ5xvE2nK/R9JprtToA61OSHWIg==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } - }, - "System.Globalization.Calendars": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "GUlBtdOWT4LTV3I+9/PJW+56AnnChTaOqqTLFtdmype/L500M2LIyXgmtd9X2P2VOkmJd5c67H5SaC2QcL1bFA==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Globalization": "4.3.0", - "System.Runtime": "4.3.0" - } - }, - "System.Globalization.Extensions": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "FhKmdR6MPG+pxow6wGtNAWdZh7noIOpdD5TwQ3CprzgIE1bBBoim0vbR1+AWsWjQmU7zXHgQo4TWSP6lCeiWcQ==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "System.Globalization": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.InteropServices": "4.3.0" - } - }, - "System.IO": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "3qjaHvxQPDpSOYICjUoTsmoq5u6QJAFRUITgeT/4gqkF1bajbSmb1kwSxEA8AHlofqgcKJcM8udgieRNhaJ5Cg==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0", - "System.Text.Encoding": "4.3.0", - "System.Threading.Tasks": "4.3.0" - } - }, - "System.IO.Compression": { - "type": "Transitive", - "resolved": "4.1.0", - "contentHash": "TjnBS6eztThSzeSib+WyVbLzEdLKUcEHN69VtS3u8aAsSc18FU6xCZlNWWsEd8SKcXAE+y1sOu7VbU8sUeM0sg==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.0.1", - "System.Collections": "4.0.11", - "System.Diagnostics.Debug": "4.0.11", - "System.IO": "4.1.0", - "System.Resources.ResourceManager": "4.0.1", - "System.Runtime": "4.1.0", - "System.Runtime.Extensions": "4.1.0", - "System.Runtime.Handles": "4.0.1", - "System.Runtime.InteropServices": "4.1.0", - "System.Text.Encoding": "4.0.11", - "System.Threading": "4.0.11", - "System.Threading.Tasks": "4.0.11", - "runtime.native.System": "4.0.0", - "runtime.native.System.IO.Compression": "4.1.0" - } - }, - "System.IO.Compression.ZipFile": { - "type": "Transitive", - "resolved": "4.0.1", - "contentHash": "hBQYJzfTbQURF10nLhd+az2NHxsU6MU7AB8RUf4IolBP5lOAm4Luho851xl+CqslmhI5ZH/el8BlngEk4lBkaQ==", - "dependencies": { - "System.Buffers": "4.0.0", - "System.IO": "4.1.0", - "System.IO.Compression": "4.1.0", - "System.IO.FileSystem": "4.0.1", - "System.IO.FileSystem.Primitives": "4.0.1", - "System.Resources.ResourceManager": "4.0.1", - "System.Runtime": "4.1.0", - "System.Runtime.Extensions": "4.1.0", - "System.Text.Encoding": "4.0.11" - } - }, - "System.IO.FileSystem": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "3wEMARTnuio+ulnvi+hkRNROYwa1kylvYahhcLk4HSoVdl+xxTFVeVlYOfLwrDPImGls0mDqbMhrza8qnWPTdA==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.IO": "4.3.0", - "System.IO.FileSystem.Primitives": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Handles": "4.3.0", - "System.Text.Encoding": "4.3.0", - "System.Threading.Tasks": "4.3.0" - } - }, - "System.IO.FileSystem.Primitives": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "6QOb2XFLch7bEc4lIcJH49nJN2HV+OC3fHDgsLVsBVBk3Y4hFAnOBGzJ2lUu7CyDDFo9IBWkSsnbkT6IBwwiMw==", - "dependencies": { - "System.Runtime": "4.3.0" - } - }, - "System.Linq": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "5DbqIUpsDp0dFftytzuMmc0oeMdQwjcP/EWxsksIz/w1TcFRkZ3yKKz0PqiYFMmEwPSWw+qNVqD7PJ889JzHbw==", - "dependencies": { - "System.Collections": "4.3.0", - "System.Diagnostics.Debug": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0" - } - }, - "System.Linq.Expressions": { - "type": "Transitive", - "resolved": "4.1.0", - "contentHash": "I+y02iqkgmCAyfbqOmSDOgqdZQ5tTj80Akm5BPSS8EeB0VGWdy6X1KCoYe8Pk6pwDoAKZUOdLVxnTJcExiv5zw==", - "dependencies": { - "System.Collections": "4.0.11", - "System.Diagnostics.Debug": "4.0.11", - "System.Globalization": "4.0.11", - "System.IO": "4.1.0", - "System.Linq": "4.1.0", - "System.ObjectModel": "4.0.12", - "System.Reflection": "4.1.0", - "System.Reflection.Emit": "4.0.1", - "System.Reflection.Emit.ILGeneration": "4.0.1", - "System.Reflection.Emit.Lightweight": "4.0.1", - "System.Reflection.Extensions": "4.0.1", - "System.Reflection.Primitives": "4.0.1", - "System.Reflection.TypeExtensions": "4.1.0", - "System.Resources.ResourceManager": "4.0.1", - "System.Runtime": "4.1.0", - "System.Runtime.Extensions": "4.1.0", - "System.Threading": "4.0.11" - } - }, - "System.Memory": { - "type": "Transitive", - "resolved": "4.5.3", - "contentHash": "3oDzvc/zzetpTKWMShs1AADwZjQ/36HnsufHRPcOjyRAAMLDlu2iD33MBI2opxnezcVUtXyqDXXjoFMOU9c7SA==", - "dependencies": { - "System.Buffers": "4.4.0", - "System.Numerics.Vectors": "4.4.0", - "System.Runtime.CompilerServices.Unsafe": "4.5.2" - } - }, - "System.Net.Http": { - "type": "Transitive", - "resolved": "4.3.1", - "contentHash": "UrTyRczM3ZvNk6oetBuwlu67MFKKRva+r7bw4JDVZ6Y2IukyZ24td5ppsieu/4yZlogVAIuZul9GIQ3hoiz0yA==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "System.Collections": "4.3.0", - "System.Diagnostics.Debug": "4.3.0", - "System.Diagnostics.DiagnosticSource": "4.3.0", - "System.Diagnostics.Tracing": "4.3.0", - "System.Globalization": "4.3.0", - "System.Globalization.Extensions": "4.3.0", - "System.IO": "4.3.0", - "System.IO.FileSystem": "4.3.0", - "System.Net.Primitives": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.Handles": "4.3.0", - "System.Runtime.InteropServices": "4.3.0", - "System.Security.Cryptography.Algorithms": "4.3.0", - "System.Security.Cryptography.Encoding": "4.3.0", - "System.Security.Cryptography.OpenSsl": "4.3.0", - "System.Security.Cryptography.Primitives": "4.3.0", - "System.Security.Cryptography.X509Certificates": "4.3.0", - "System.Text.Encoding": "4.3.0", - "System.Threading": "4.3.0", - "System.Threading.Tasks": "4.3.0", - "runtime.native.System": "4.3.0", - "runtime.native.System.Net.Http": "4.3.0", - "runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0" - } - }, - "System.Net.Primitives": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "qOu+hDwFwoZPbzPvwut2qATe3ygjeQBDQj91xlsaqGFQUI5i4ZnZb8yyQuLGpDGivEPIt8EJkd1BVzVoP31FXA==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0", - "System.Runtime.Handles": "4.3.0" - } - }, - "System.Net.Sockets": { - "type": "Transitive", - "resolved": "4.1.0", - "contentHash": "xAz0N3dAV/aR/9g8r0Y5oEqU1JRsz29F5EGb/WVHmX3jVSLqi2/92M5hTad2aNWovruXrJpJtgZ9fccPMG9uSw==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.0.1", - "Microsoft.NETCore.Targets": "1.0.1", - "System.IO": "4.1.0", - "System.Net.Primitives": "4.0.11", - "System.Runtime": "4.1.0", - "System.Threading.Tasks": "4.0.11" - } - }, - "System.Numerics.Vectors": { - "type": "Transitive", - "resolved": "4.5.0", - "contentHash": "QQTlPTl06J/iiDbJCiepZ4H//BVraReU4O4EoRw1U02H5TLUIT7xn3GnDp9AXPSlJUDyFs4uWjWafNX6WrAojQ==" - }, - "System.ObjectModel": { - "type": "Transitive", - "resolved": "4.0.12", - "contentHash": "tAgJM1xt3ytyMoW4qn4wIqgJYm7L7TShRZG4+Q4Qsi2PCcj96pXN7nRywS9KkB3p/xDUjc2HSwP9SROyPYDYKQ==", - "dependencies": { - "System.Collections": "4.0.11", - "System.Diagnostics.Debug": "4.0.11", - "System.Resources.ResourceManager": "4.0.1", - "System.Runtime": "4.1.0", - "System.Threading": "4.0.11" - } - }, - "System.Reflection": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "KMiAFoW7MfJGa9nDFNcfu+FpEdiHpWgTcS2HdMpDvt9saK3y/G4GwprPyzqjFH9NTaGPQeWNHU+iDlDILj96aQ==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.IO": "4.3.0", - "System.Reflection.Primitives": "4.3.0", - "System.Runtime": "4.3.0" - } - }, - "System.Reflection.Emit": { - "type": "Transitive", - "resolved": "4.0.1", - "contentHash": "P2wqAj72fFjpP6wb9nSfDqNBMab+2ovzSDzUZK7MVIm54tBJEPr9jWfSjjoTpPwj1LeKcmX3vr0ttyjSSFM47g==", - "dependencies": { - "System.IO": "4.1.0", - "System.Reflection": "4.1.0", - "System.Reflection.Emit.ILGeneration": "4.0.1", - "System.Reflection.Primitives": "4.0.1", - "System.Runtime": "4.1.0" - } - }, - "System.Reflection.Emit.ILGeneration": { - "type": "Transitive", - "resolved": "4.0.1", - "contentHash": "Ov6dU8Bu15Bc7zuqttgHF12J5lwSWyTf1S+FJouUXVMSqImLZzYaQ+vRr1rQ0OZ0HqsrwWl4dsKHELckQkVpgA==", - "dependencies": { - "System.Reflection": "4.1.0", - "System.Reflection.Primitives": "4.0.1", - "System.Runtime": "4.1.0" - } - }, - "System.Reflection.Emit.Lightweight": { - "type": "Transitive", - "resolved": "4.0.1", - "contentHash": "sSzHHXueZ5Uh0OLpUQprhr+ZYJrLPA2Cmr4gn0wj9+FftNKXx8RIMKvO9qnjk2ebPYUjZ+F2ulGdPOsvj+MEjA==", - "dependencies": { - "System.Reflection": "4.1.0", - "System.Reflection.Emit.ILGeneration": "4.0.1", - "System.Reflection.Primitives": "4.0.1", - "System.Runtime": "4.1.0" - } - }, - "System.Reflection.Extensions": { - "type": "Transitive", - "resolved": "4.0.1", - "contentHash": "GYrtRsZcMuHF3sbmRHfMYpvxZoIN2bQGrYGerUiWLEkqdEUQZhH3TRSaC/oI4wO0II1RKBPlpIa1TOMxIcOOzQ==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.0.1", - "Microsoft.NETCore.Targets": "1.0.1", - "System.Reflection": "4.1.0", - "System.Runtime": "4.1.0" - } - }, - "System.Reflection.Primitives": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "5RXItQz5As4xN2/YUDxdpsEkMhvw3e6aNveFXUn4Hl/udNTCNhnKp8lT9fnc3MhvGKh1baak5CovpuQUXHAlIA==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } - }, - "System.Reflection.TypeExtensions": { - "type": "Transitive", - "resolved": "4.1.0", - "contentHash": "tsQ/ptQ3H5FYfON8lL4MxRk/8kFyE0A+tGPXmVP967cT/gzLHYxIejIYSxp4JmIeFHVP78g/F2FE1mUUTbDtrg==", - "dependencies": { - "System.Reflection": "4.1.0", - "System.Runtime": "4.1.0" - } - }, - "System.Resources.ResourceManager": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "/zrcPkkWdZmI4F92gL/TPumP98AVDu/Wxr3CSJGQQ+XN6wbRZcyfSKVoPo17ilb3iOr0cCRqJInGwNMolqhS8A==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Globalization": "4.3.0", - "System.Reflection": "4.3.0", - "System.Runtime": "4.3.0" - } - }, - "System.Runtime": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "JufQi0vPQ0xGnAczR13AUFglDyVYt4Kqnz1AZaiKZ5+GICq0/1MH/mO/eAJHt/mHW1zjKBJd7kV26SrxddAhiw==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0" - } - }, - "System.Runtime.CompilerServices.Unsafe": { - "type": "Transitive", - "resolved": "4.6.0", - "contentHash": "HxozeSlipUK7dAroTYwIcGwKDeOVpQnJlpVaOkBz7CM4TsE5b/tKlQBZecTjh6FzcSbxndYaxxpsBMz+wMJeyw==" - }, - "System.Runtime.Extensions": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "guW0uK0fn5fcJJ1tJVXYd7/1h5F+pea1r7FLSOz/f8vPEqbR2ZAknuRDvTQ8PzAilDveOxNjSfr0CHfIQfFk8g==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } - }, - "System.Runtime.Handles": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "OKiSUN7DmTWeYb3l51A7EYaeNMnvxwE249YtZz7yooT4gOZhmTjIn48KgSsw2k2lYdLgTKNJw/ZIfSElwDRVgg==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } - }, - "System.Runtime.InteropServices": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "uv1ynXqiMK8mp1GM3jDqPCFN66eJ5w5XNomaK2XD+TuCroNTLFGeZ+WCmBMcBDyTFKou3P6cR6J/QsaqDp7fGQ==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Reflection": "4.3.0", - "System.Reflection.Primitives": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Handles": "4.3.0" - } - }, - "System.Runtime.InteropServices.RuntimeInformation": { - "type": "Transitive", - "resolved": "4.0.0", - "contentHash": "hWPhJxc453RCa8Z29O91EmfGeZIHX1ZH2A8L6lYQVSaKzku2DfArSfMEb1/MYYzPQRJZeu0c9dmYeJKxW5Fgng==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.0.1", - "System.Reflection": "4.1.0", - "System.Resources.ResourceManager": "4.0.1", - "System.Runtime": "4.1.0", - "System.Runtime.InteropServices": "4.1.0", - "System.Threading": "4.0.11", - "runtime.native.System": "4.0.0" - } - }, - "System.Runtime.Numerics": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "yMH+MfdzHjy17l2KESnPiF2dwq7T+xLnSJar7slyimAkUh/gTrS9/UQOtv7xarskJ2/XDSNvfLGOBQPjL7PaHQ==", - "dependencies": { - "System.Globalization": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0" - } - }, - "System.Security.Cryptography.Algorithms": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "W1kd2Y8mYSCgc3ULTAZ0hOP2dSdG5YauTb1089T0/kRcN2MpSAW1izOFROrJgxSlMn3ArsgHXagigyi+ibhevg==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "System.Collections": "4.3.0", - "System.IO": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.Handles": "4.3.0", - "System.Runtime.InteropServices": "4.3.0", - "System.Runtime.Numerics": "4.3.0", - "System.Security.Cryptography.Encoding": "4.3.0", - "System.Security.Cryptography.Primitives": "4.3.0", - "System.Text.Encoding": "4.3.0", - "runtime.native.System.Security.Cryptography.Apple": "4.3.0", - "runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0" - } - }, - "System.Security.Cryptography.Cng": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "03idZOqFlsKRL4W+LuCpJ6dBYDUWReug6lZjBa3uJWnk5sPCUXckocevTaUA8iT/MFSrY/2HXkOt753xQ/cf8g==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "System.IO": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.Handles": "4.3.0", - "System.Runtime.InteropServices": "4.3.0", - "System.Security.Cryptography.Algorithms": "4.3.0", - "System.Security.Cryptography.Encoding": "4.3.0", - "System.Security.Cryptography.Primitives": "4.3.0", - "System.Text.Encoding": "4.3.0" - } - }, - "System.Security.Cryptography.Csp": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "X4s/FCkEUnRGnwR3aSfVIkldBmtURMhmexALNTwpjklzxWU7yjMk7GHLKOZTNkgnWnE0q7+BCf9N2LVRWxewaA==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "System.IO": "4.3.0", - "System.Reflection": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.Handles": "4.3.0", - "System.Runtime.InteropServices": "4.3.0", - "System.Security.Cryptography.Algorithms": "4.3.0", - "System.Security.Cryptography.Encoding": "4.3.0", - "System.Security.Cryptography.Primitives": "4.3.0", - "System.Text.Encoding": "4.3.0", - "System.Threading": "4.3.0" - } - }, - "System.Security.Cryptography.Encoding": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "1DEWjZZly9ae9C79vFwqaO5kaOlI5q+3/55ohmq/7dpDyDfc8lYe7YVxJUZ5MF/NtbkRjwFRo14yM4OEo9EmDw==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "System.Collections": "4.3.0", - "System.Collections.Concurrent": "4.3.0", - "System.Linq": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.Handles": "4.3.0", - "System.Runtime.InteropServices": "4.3.0", - "System.Security.Cryptography.Primitives": "4.3.0", - "System.Text.Encoding": "4.3.0", - "runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0" - } - }, - "System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "h4CEgOgv5PKVF/HwaHzJRiVboL2THYCou97zpmhjghx5frc7fIvlkY1jL+lnIQyChrJDMNEXS6r7byGif8Cy4w==", - "dependencies": { - "System.Collections": "4.3.0", - "System.IO": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.Handles": "4.3.0", - "System.Runtime.InteropServices": "4.3.0", - "System.Runtime.Numerics": "4.3.0", - "System.Security.Cryptography.Algorithms": "4.3.0", - "System.Security.Cryptography.Encoding": "4.3.0", - "System.Security.Cryptography.Primitives": "4.3.0", - "System.Text.Encoding": "4.3.0", - "runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0" - } - }, - "System.Security.Cryptography.Primitives": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "7bDIyVFNL/xKeFHjhobUAQqSpJq9YTOpbEs6mR233Et01STBMXNAc/V+BM6dwYGc95gVh/Zf+iVXWzj3mE8DWg==", - "dependencies": { - "System.Diagnostics.Debug": "4.3.0", - "System.Globalization": "4.3.0", - "System.IO": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Threading": "4.3.0", - "System.Threading.Tasks": "4.3.0" - } - }, - "System.Security.Cryptography.X509Certificates": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "t2Tmu6Y2NtJ2um0RtcuhP7ZdNNxXEgUm2JeoA/0NvlMjAhKCnM1NX07TDl3244mVp3QU6LPEhT3HTtH1uF7IYw==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "System.Collections": "4.3.0", - "System.Diagnostics.Debug": "4.3.0", - "System.Globalization": "4.3.0", - "System.Globalization.Calendars": "4.3.0", - "System.IO": "4.3.0", - "System.IO.FileSystem": "4.3.0", - "System.IO.FileSystem.Primitives": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.Handles": "4.3.0", - "System.Runtime.InteropServices": "4.3.0", - "System.Runtime.Numerics": "4.3.0", - "System.Security.Cryptography.Algorithms": "4.3.0", - "System.Security.Cryptography.Cng": "4.3.0", - "System.Security.Cryptography.Csp": "4.3.0", - "System.Security.Cryptography.Encoding": "4.3.0", - "System.Security.Cryptography.OpenSsl": "4.3.0", - "System.Security.Cryptography.Primitives": "4.3.0", - "System.Text.Encoding": "4.3.0", - "System.Threading": "4.3.0", - "runtime.native.System": "4.3.0", - "runtime.native.System.Net.Http": "4.3.0", - "runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0" - } - }, - "System.Text.Encoding": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "BiIg+KWaSDOITze6jGQynxg64naAPtqGHBwDrLaCtixsa5bKiR8dpPOHA7ge3C0JJQizJE+sfkz1wV+BAKAYZw==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } - }, - "System.Text.Encoding.Extensions": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "YVMK0Bt/A43RmwizJoZ22ei2nmrhobgeiYwFzC4YAN+nue8RF6djXDMog0UCn+brerQoYVyaS+ghy9P/MUVcmw==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0", - "System.Text.Encoding": "4.3.0" - } - }, - "System.Text.Encodings.Web": { - "type": "Transitive", - "resolved": "4.6.0", - "contentHash": "BXgFO8Yi7ao7hVA/nklD0Hre1Bbce048ZqryGZVFifGNPuh+2jqF1i/jLJLMfFGZIzUOw+nCIeH24SQhghDSPw==", - "dependencies": { - "System.Memory": "4.5.3" - } - }, - "System.Text.Json": { - "type": "Transitive", - "resolved": "4.6.0", - "contentHash": "4F8Xe+JIkVoDJ8hDAZ7HqLkjctN/6WItJIzQaifBwClC7wmoLSda/Sv2i6i1kycqDb3hWF4JCVbpAweyOKHEUA==", - "dependencies": { - "Microsoft.Bcl.AsyncInterfaces": "1.0.0", - "System.Buffers": "4.5.0", - "System.Memory": "4.5.3", - "System.Numerics.Vectors": "4.5.0", - "System.Runtime.CompilerServices.Unsafe": "4.6.0", - "System.Text.Encodings.Web": "4.6.0", - "System.Threading.Tasks.Extensions": "4.5.2" - } - }, - "System.Text.RegularExpressions": { - "type": "Transitive", - "resolved": "4.1.0", - "contentHash": "i88YCXpRTjCnoSQZtdlHkAOx4KNNik4hMy83n0+Ftlb7jvV6ZiZWMpnEZHhjBp6hQVh8gWd/iKNPzlPF7iyA2g==", - "dependencies": { - "System.Collections": "4.0.11", - "System.Globalization": "4.0.11", - "System.Resources.ResourceManager": "4.0.1", - "System.Runtime": "4.1.0", - "System.Runtime.Extensions": "4.1.0", - "System.Threading": "4.0.11" - } - }, - "System.Threading": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "VkUS0kOBcUf3Wwm0TSbrevDDZ6BlM+b/HRiapRFWjM5O0NS0LviG0glKmFK+hhPDd1XFeSdU1GmlLhb2CoVpIw==", - "dependencies": { - "System.Runtime": "4.3.0", - "System.Threading.Tasks": "4.3.0" - } - }, - "System.Threading.Tasks": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "LbSxKEdOUhVe8BezB/9uOGGppt+nZf6e1VFyw6v3DN6lqitm0OSn2uXMOdtP0M3W4iMcqcivm2J6UgqiwwnXiA==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } - }, - "System.Threading.Tasks.Extensions": { - "type": "Transitive", - "resolved": "4.5.2", - "contentHash": "BG/TNxDFv0svAzx8OiMXDlsHfGw623BZ8tCXw4YLhDFDvDhNUEV58jKYMGRnkbJNm7c3JNNJDiN7JBMzxRBR2w==", - "dependencies": { - "System.Runtime.CompilerServices.Unsafe": "4.5.2" - } - }, - "System.Threading.Thread": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "OHmbT+Zz065NKII/ZHcH9XO1dEuLGI1L2k7uYss+9C1jLxTC9kTZZuzUOyXHayRk+dft9CiDf3I/QZ0t8JKyBQ==", - "dependencies": { - "System.Runtime": "4.3.0" - } - }, - "System.Threading.ThreadPool": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "k/+g4b7vjdd4aix83sTgC9VG6oXYKAktSfNIJUNGxPEj7ryEOfzHHhfnmsZvjxawwcD9HyWXKCXmPjX8U4zeSw==", - "dependencies": { - "System.Runtime": "4.3.0", - "System.Runtime.Handles": "4.3.0" - } - }, - "System.Threading.Timer": { - "type": "Transitive", - "resolved": "4.0.1", - "contentHash": "saGfUV8uqVW6LeURiqxcGhZ24PzuRNaUBtbhVeuUAvky1naH395A/1nY0P2bWvrw/BreRtIB/EzTDkGBpqCwEw==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.0.1", - "Microsoft.NETCore.Targets": "1.0.1", - "System.Runtime": "4.1.0" - } - }, - "System.Xml.ReaderWriter": { - "type": "Transitive", - "resolved": "4.0.11", - "contentHash": "ZIiLPsf67YZ9zgr31vzrFaYQqxRPX9cVHjtPSnmx4eN6lbS/yEyYNr2vs1doGDEscF0tjCZFsk9yUg1sC9e8tg==", - "dependencies": { - "System.Collections": "4.0.11", - "System.Diagnostics.Debug": "4.0.11", - "System.Globalization": "4.0.11", - "System.IO": "4.1.0", - "System.IO.FileSystem": "4.0.1", - "System.IO.FileSystem.Primitives": "4.0.1", - "System.Resources.ResourceManager": "4.0.1", - "System.Runtime": "4.1.0", - "System.Runtime.Extensions": "4.1.0", - "System.Runtime.InteropServices": "4.1.0", - "System.Text.Encoding": "4.0.11", - "System.Text.Encoding.Extensions": "4.0.11", - "System.Text.RegularExpressions": "4.1.0", - "System.Threading.Tasks": "4.0.11", - "System.Threading.Tasks.Extensions": "4.0.0" - } - }, - "System.Xml.XDocument": { - "type": "Transitive", - "resolved": "4.0.11", - "contentHash": "Mk2mKmPi0nWaoiYeotq1dgeNK1fqWh61+EK+w4Wu8SWuTYLzpUnschb59bJtGywaPq7SmTuPf44wrXRwbIrukg==", - "dependencies": { - "System.Collections": "4.0.11", - "System.Diagnostics.Debug": "4.0.11", - "System.Diagnostics.Tools": "4.0.1", - "System.Globalization": "4.0.11", - "System.IO": "4.1.0", - "System.Reflection": "4.1.0", - "System.Resources.ResourceManager": "4.0.1", - "System.Runtime": "4.1.0", - "System.Runtime.Extensions": "4.1.0", - "System.Text.Encoding": "4.0.11", - "System.Threading": "4.0.11", - "System.Xml.ReaderWriter": "4.0.11" - } - } - } - } -} \ No newline at end of file diff --git a/tests/Tests.Core/packages.lock.json b/tests/Tests.Core/packages.lock.json deleted file mode 100644 index 1ec9c94160b..00000000000 --- a/tests/Tests.Core/packages.lock.json +++ /dev/null @@ -1,1619 +0,0 @@ -{ - "version": 1, - "dependencies": { - ".NETStandard,Version=v2.1": { - "DiffPlex": { - "type": "Direct", - "requested": "[1.4.1, )", - "resolved": "1.4.1", - "contentHash": "xZLcguPf0Gl67Ygz8XIhiQmTeUIs/M4eB9ylOelNGnHMvmqxe9bQ89omVJdoSO6gvc4NSmonHGL+zfwrSEjGnA==", - "dependencies": { - "NETStandard.Library": "1.6.1" - } - }, - "DotNet.ReproducibleBuilds": { - "type": "Direct", - "requested": "[1.1.1, )", - "resolved": "1.1.1", - "contentHash": "+H2t/t34h6mhEoUvHi8yGXyuZ2GjSovcGYehJrS2MDm2XgmPfZL2Sdxg+uL2lKgZ4M6tTwKHIlxOob2bgh0NRQ==", - "dependencies": { - "Microsoft.SourceLink.AzureRepos.Git": "1.1.1", - "Microsoft.SourceLink.Bitbucket.Git": "1.1.1", - "Microsoft.SourceLink.GitHub": "1.1.1", - "Microsoft.SourceLink.GitLab": "1.1.1" - } - }, - "Elastic.Elasticsearch.Xunit": { - "type": "Direct", - "requested": "[0.4.3, )", - "resolved": "0.4.3", - "contentHash": "kKn9Fiihel643Rywvl1bH2luQdhuefMh7wVPaLViEj8olU5Ud0bb1nZ8AFhm4PnEbLjw5PZ49Pn5hvyoYnJesQ==", - "dependencies": { - "Elastic.Elasticsearch.Ephemeral": "0.4.3", - "xunit": "2.4.1" - } - }, - "FluentAssertions": { - "type": "Direct", - "requested": "[5.10.3, )", - "resolved": "5.10.3", - "contentHash": "gVPEVp1hLVqcv+7Q2wiDf7kqCNn7+bQcQ0jbJ2mcRT6CeRoZl1tNkqvzSIhvekyldDptk77j1b03MXTTRIqqpg==", - "dependencies": { - "System.Configuration.ConfigurationManager": "4.4.0" - } - }, - "JunitXml.TestLogger": { - "type": "Direct", - "requested": "[3.0.110, )", - "resolved": "3.0.110", - "contentHash": "D0Kl9mNnbSZgEa8ZgsEAJskPvyrC9k+5BsEWUqvNr++BZJbYIb08fwe0ohvb6WEzJlMPmeLJMmvQuw5yIq3gjA==" - }, - "Microsoft.Bcl.HashCode": { - "type": "Direct", - "requested": "[1.1.1, )", - "resolved": "1.1.1", - "contentHash": "MalY0Y/uM/LjXtHfX/26l2VtN4LDNZ2OE3aumNOHDLsT4fNYy2hiHXI4CXCqKpNUNm7iJ2brrc4J89UdaL56FA==" - }, - "Microsoft.NET.Test.Sdk": { - "type": "Direct", - "requested": "[17.2.0, )", - "resolved": "17.2.0", - "contentHash": "kYmkDYbcDd+jNvmMH4TMtgHjsUYbIsWENM2VcjB0X7TawXbehL5I8OIsu2TgFS/nQCgZE94InrqMxrm7WDy+Lw==", - "dependencies": { - "Microsoft.CodeCoverage": "17.2.0" - } - }, - "Microsoft.NETFramework.ReferenceAssemblies": { - "type": "Direct", - "requested": "[1.0.2, )", - "resolved": "1.0.2", - "contentHash": "5/cSEVld+px/CuRrbohO/djfg6++eR6zGpy88MgqloXvkj//WXWpFZyu/OpkXPN0u5m+dN/EVwLNYFUxD4h2+A==", - "dependencies": { - "Microsoft.NETFramework.ReferenceAssemblies.net461": "1.0.2" - } - }, - "Nullean.VsTest.Pretty.TestLogger": { - "type": "Direct", - "requested": "[0.3.0, )", - "resolved": "0.3.0", - "contentHash": "11Cklf+kZ1JS+l3CRZaWQaQHmRm0Je/iIrci6bwY5c9/QXrCuYgWe/A2w0G1eYe33QU5sgUmds48Y7HQFK89mw==", - "dependencies": { - "Microsoft.TestPlatform.ObjectModel": "15.8.0" - } - }, - "Proc": { - "type": "Direct", - "requested": "[0.6.1, )", - "resolved": "0.6.1", - "contentHash": "xRSCfgQNoGy60MOuvD2X1euzqvWDoyfpB8NAfVs2E5K5U1I8cA9MvVY6NbUkp5ApbOmVXls2JEPrOn8rQi2Pzg==", - "dependencies": { - "System.Diagnostics.Process": "[4.3.0]", - "System.Threading.Thread": "[4.3.0]" - } - }, - "xunit": { - "type": "Direct", - "requested": "[2.4.2, )", - "resolved": "2.4.2", - "contentHash": "6Mj73Ont3zj2CJuoykVJfE0ZmRwn7C+pTuRP8c4bnaaTFjwNG6tGe0prJ1yIbMe9AHrpDys63ctWacSsFJWK/w==", - "dependencies": { - "xunit.analyzers": "1.0.0", - "xunit.assert": "2.4.2", - "xunit.core": "[2.4.2]" - } - }, - "Bogus": { - "type": "Transitive", - "resolved": "22.1.2", - "contentHash": "FnYg++zOsFkN3wQJcPT6U4bmZoW/zDWp474QsZG2KX/ClCiEOwIfUxJ9xuKgwv46K0LvVoicQD09hgPke0FG1A==" - }, - "Elastic.Elasticsearch.Ephemeral": { - "type": "Transitive", - "resolved": "0.4.3", - "contentHash": "fmu7A6bm3sOTGrG+MAINRQ2Op0n6K1OjfNErNMhpTOt5mQ0UjX8zfpiZoM+nB0jA8bX1nt1YR++5YCnYGJFtRg==", - "dependencies": { - "Elastic.Elasticsearch.Managed": "0.4.3", - "SharpZipLib.NETStandard": "1.0.7" - } - }, - "Elastic.Elasticsearch.Managed": { - "type": "Transitive", - "resolved": "0.4.3", - "contentHash": "B7FvSMeNqYM3Yl/r/QRyROuAkMSiSQ0EvZQ36Cqrxm6uRBodlwky4yy4Im/AnOIQIl5lFLGr4vLHwWedHPharw==", - "dependencies": { - "Elastic.Stack.ArtifactsApi": "0.4.3", - "Proc": "0.6.1", - "System.Net.Http": "4.3.1" - } - }, - "Elastic.Stack.ArtifactsApi": { - "type": "Transitive", - "resolved": "0.4.3", - "contentHash": "mqfBDj5s8Gj6QWNYmCNJo2raxbzn8fUBk+eSxA5HeDYjEXoK52kOBvFSy4bL9Qaz+EW6JvOvt8nw0cm5MorJUA==", - "dependencies": { - "SemanticVersioning": "0.8.0", - "System.Text.Json": "4.6.0" - } - }, - "Elastic.Transport": { - "type": "Transitive", - "resolved": "0.4.22", - "contentHash": "9J5GPHJcT8sewn2zVfWTrsCQvfQYgUiY/jx+IRjWUk7XNPd837qfEL42I5baH69cyW/e4RoDy8v76yxqz95tDw==", - "dependencies": { - "Microsoft.CSharp": "4.7.0", - "System.Buffers": "4.5.1", - "System.Diagnostics.DiagnosticSource": "8.0.0", - "System.Text.Json": "8.0.4", - "System.Threading.Tasks.Extensions": "4.5.4" - } - }, - "Microsoft.Bcl.AsyncInterfaces": { - "type": "Transitive", - "resolved": "8.0.0", - "contentHash": "3WA9q9yVqJp222P3x1wYIGDAkpjAku0TMUaaQV22g6L67AI0LdOIrVS7Ht2vJfLHGSPVuqN94vIr15qn+HEkHw==" - }, - "Microsoft.Build.Tasks.Git": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "AT3HlgTjsqHnWpBHSNeR0KxbLZD7bztlZVj7I8vgeYG9SYqbeFGh0TM/KVtC6fg53nrWHl3VfZFvb5BiQFcY6Q==" - }, - "Microsoft.CodeCoverage": { - "type": "Transitive", - "resolved": "17.2.0", - "contentHash": "MsKhJmwIfHxNDbTIlgQy29UpWSWPpbZOQPhQ7xalRy+ABnl8/neFHZGzSP3XlpW2dKAXHTFrtIcKzW/kopY2Bg==" - }, - "Microsoft.CSharp": { - "type": "Transitive", - "resolved": "4.7.0", - "contentHash": "pTj+D3uJWyN3My70i2Hqo+OXixq3Os2D1nJ2x92FFo6sk8fYS1m1WLNTs0Dc1uPaViH0YvEEwvzddQ7y4rhXmA==" - }, - "Microsoft.NETCore.Platforms": { - "type": "Transitive", - "resolved": "1.1.0", - "contentHash": "kz0PEW2lhqygehI/d6XsPCQzD7ff7gUJaVGPVETX611eadGsA3A877GdSlU0LRVMCTH/+P3o2iDTak+S08V2+A==" - }, - "Microsoft.NETCore.Targets": { - "type": "Transitive", - "resolved": "1.1.0", - "contentHash": "aOZA3BWfz9RXjpzt0sRJJMjAscAUm3Hoa4UWAfceV9UTYxgwZ1lZt5nO2myFf+/jetYQo4uTP7zS8sJY67BBxg==" - }, - "Microsoft.NETFramework.ReferenceAssemblies.net461": { - "type": "Transitive", - "resolved": "1.0.2", - "contentHash": "8shzGaD5pZi4npuJYCM3de6pl0zlefcbyTIvXIiCdsTqauZ7lAhdaJVtJSqlhYid9VosFAOygBykoJ1SEOlGWA==" - }, - "Microsoft.SourceLink.AzureRepos.Git": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "qB5urvw9LO2bG3eVAkuL+2ughxz2rR7aYgm2iyrB8Rlk9cp2ndvGRCvehk3rNIhRuNtQaeKwctOl1KvWiklv5w==", - "dependencies": { - "Microsoft.Build.Tasks.Git": "1.1.1", - "Microsoft.SourceLink.Common": "1.1.1" - } - }, - "Microsoft.SourceLink.Bitbucket.Git": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "cDzxXwlyWpLWaH0em4Idj0H3AmVo3L/6xRXKssYemx+7W52iNskj/SQ4FOmfCb8YQt39otTDNMveCZzYtMoucQ==", - "dependencies": { - "Microsoft.Build.Tasks.Git": "1.1.1", - "Microsoft.SourceLink.Common": "1.1.1" - } - }, - "Microsoft.SourceLink.Common": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "WMcGpWKrmJmzrNeuaEb23bEMnbtR/vLmvZtkAP5qWu7vQsY59GqfRJd65sFpBszbd2k/bQ8cs8eWawQKAabkVg==" - }, - "Microsoft.SourceLink.GitHub": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "IaJGnOv/M7UQjRJks7B6p7pbPnOwisYGOIzqCz5ilGFTApZ3ktOR+6zJ12ZRPInulBmdAf1SrGdDG2MU8g6XTw==", - "dependencies": { - "Microsoft.Build.Tasks.Git": "1.1.1", - "Microsoft.SourceLink.Common": "1.1.1" - } - }, - "Microsoft.SourceLink.GitLab": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "tvsg47DDLqqedlPeYVE2lmiTpND8F0hkrealQ5hYltSmvruy/Gr5nHAKSsjyw5L3NeM/HLMI5ORv7on/M4qyZw==", - "dependencies": { - "Microsoft.Build.Tasks.Git": "1.1.1", - "Microsoft.SourceLink.Common": "1.1.1" - } - }, - "Microsoft.TestPlatform.ObjectModel": { - "type": "Transitive", - "resolved": "15.8.0", - "contentHash": "u6qrZi8pXZrPl+vAJBn/yIaPEsl/NglcLD9FD/fh1OmBaFMcp/dp/5daTB7Fo89iDgktZa6PoACq86tZs0DYXA==", - "dependencies": { - "NETStandard.Library": "1.6.0", - "System.ComponentModel.EventBasedAsync": "4.0.11", - "System.ComponentModel.TypeConverter": "4.1.0", - "System.Diagnostics.Process": "4.1.0", - "System.Diagnostics.TextWriterTraceListener": "4.0.0", - "System.Diagnostics.TraceSource": "4.0.0", - "System.Reflection.Metadata": "1.3.0", - "System.Reflection.TypeExtensions": "4.1.0", - "System.Runtime.InteropServices.RuntimeInformation": "4.0.0", - "System.Runtime.Loader": "4.0.0", - "System.Runtime.Serialization.Json": "4.0.2", - "System.Runtime.Serialization.Primitives": "4.1.1", - "System.Threading.Thread": "4.0.0", - "System.Xml.XPath.XmlDocument": "4.0.1" - } - }, - "Microsoft.Win32.Primitives": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "9ZQKCWxH7Ijp9BfahvL2Zyf1cJIk8XYLF6Yjzr2yi0b2cOut/HQ31qf1ThHAgCc3WiZMdnWcfJCgN82/0UunxA==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } - }, - "Microsoft.Win32.Registry": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "Lw1/VwLH1yxz6SfFEjVRCN0pnflLEsWgnV4qsdJ512/HhTwnKXUG+zDQ4yTO3K/EJQemGoNaBHX5InISNKTzUQ==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "System.Collections": "4.3.0", - "System.Globalization": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.Handles": "4.3.0", - "System.Runtime.InteropServices": "4.3.0" - } - }, - "NETStandard.Library": { - "type": "Transitive", - "resolved": "1.6.1", - "contentHash": "WcSp3+vP+yHNgS8EV5J7pZ9IRpeDuARBPN28by8zqff1wJQXm26PVU8L3/fYLBJVU7BtDyqNVWq2KlCVvSSR4A==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.Win32.Primitives": "4.3.0", - "System.AppContext": "4.3.0", - "System.Collections": "4.3.0", - "System.Collections.Concurrent": "4.3.0", - "System.Console": "4.3.0", - "System.Diagnostics.Debug": "4.3.0", - "System.Diagnostics.Tools": "4.3.0", - "System.Diagnostics.Tracing": "4.3.0", - "System.Globalization": "4.3.0", - "System.Globalization.Calendars": "4.3.0", - "System.IO": "4.3.0", - "System.IO.Compression": "4.3.0", - "System.IO.Compression.ZipFile": "4.3.0", - "System.IO.FileSystem": "4.3.0", - "System.IO.FileSystem.Primitives": "4.3.0", - "System.Linq": "4.3.0", - "System.Linq.Expressions": "4.3.0", - "System.Net.Http": "4.3.0", - "System.Net.Primitives": "4.3.0", - "System.Net.Sockets": "4.3.0", - "System.ObjectModel": "4.3.0", - "System.Reflection": "4.3.0", - "System.Reflection.Extensions": "4.3.0", - "System.Reflection.Primitives": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.Handles": "4.3.0", - "System.Runtime.InteropServices": "4.3.0", - "System.Runtime.InteropServices.RuntimeInformation": "4.3.0", - "System.Runtime.Numerics": "4.3.0", - "System.Security.Cryptography.Algorithms": "4.3.0", - "System.Security.Cryptography.Encoding": "4.3.0", - "System.Security.Cryptography.Primitives": "4.3.0", - "System.Security.Cryptography.X509Certificates": "4.3.0", - "System.Text.Encoding": "4.3.0", - "System.Text.Encoding.Extensions": "4.3.0", - "System.Text.RegularExpressions": "4.3.0", - "System.Threading": "4.3.0", - "System.Threading.Tasks": "4.3.0", - "System.Threading.Timer": "4.3.0", - "System.Xml.ReaderWriter": "4.3.0", - "System.Xml.XDocument": "4.3.0" - } - }, - "Newtonsoft.Json": { - "type": "Transitive", - "resolved": "13.0.1", - "contentHash": "ppPFpBcvxdsfUonNcvITKqLl3bqxWbDCZIzDWHzjpdAHRFfZe0Dw9HmA0+za13IdyrgJwpkDTDA9fHaxOrt20A==" - }, - "runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "HdSSp5MnJSsg08KMfZThpuLPJpPwE5hBXvHwoKWosyHHfe8Mh5WKT0ylEOf6yNzX6Ngjxe4Whkafh5q7Ymac4Q==" - }, - "runtime.fedora.23-x64.runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "+yH1a49wJMy8Zt4yx5RhJrxO/DBDByAiCzNwiETI+1S4mPdCu0OY4djdciC7Vssk0l22wQaDLrXxXkp+3+7bVA==" - }, - "runtime.fedora.24-x64.runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "c3YNH1GQJbfIPJeCnr4avseugSqPrxwIqzthYyZDN6EuOyNOzq+y2KSUfRcXauya1sF4foESTgwM5e1A8arAKw==" - }, - "runtime.native.System": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "c/qWt2LieNZIj1jGnVNsE2Kl23Ya2aSTBuXMD6V7k9KWr6l16Tqdwq+hJScEpWER9753NWC8h96PaVNY5Ld7Jw==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0" - } - }, - "runtime.native.System.IO.Compression": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "INBPonS5QPEgn7naufQFXJEp3zX6L4bwHgJ/ZH78aBTpeNfQMtf7C6VrAFhlq2xxWBveIOWyFzQjJ8XzHMhdOQ==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0" - } - }, - "runtime.native.System.Net.Http": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "ZVuZJqnnegJhd2k/PtAbbIcZ3aZeITq3sj06oKfMBSfphW3HDmk/t4ObvbOk/JA/swGR0LNqMksAh/f7gpTROg==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0" - } - }, - "runtime.native.System.Security.Cryptography.Apple": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "DloMk88juo0OuOWr56QG7MNchmafTLYWvABy36izkrLI5VledI0rq28KGs1i9wbpeT9NPQrx/wTf8U2vazqQ3Q==", - "dependencies": { - "runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.Apple": "4.3.0" - } - }, - "runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "NS1U+700m4KFRHR5o4vo9DSlTmlCKu/u7dtE5sUHVIPB+xpXxYQvgBgA6wEIeCz6Yfn0Z52/72WYsToCEPJnrw==", - "dependencies": { - "runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0", - "runtime.fedora.23-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0", - "runtime.fedora.24-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0", - "runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0", - "runtime.opensuse.42.1-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0", - "runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0", - "runtime.rhel.7-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0", - "runtime.ubuntu.14.04-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0", - "runtime.ubuntu.16.04-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0", - "runtime.ubuntu.16.10-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0" - } - }, - "runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "b3pthNgxxFcD+Pc0WSEoC0+md3MyhRS6aCEeenvNE3Fdw1HyJ18ZhRFVJJzIeR/O/jpxPboB805Ho0T3Ul7w8A==" - }, - "runtime.opensuse.42.1-x64.runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "KeLz4HClKf+nFS7p/6Fi/CqyLXh81FpiGzcmuS8DGi9lUqSnZ6Es23/gv2O+1XVGfrbNmviF7CckBpavkBoIFQ==" - }, - "runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.Apple": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "kVXCuMTrTlxq4XOOMAysuNwsXWpYeboGddNGpIgNSZmv1b6r/s/DPk0fYMB7Q5Qo4bY68o48jt4T4y5BVecbCQ==" - }, - "runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "X7IdhILzr4ROXd8mI1BUCQMSHSQwelUlBjF1JyTKCjXaOGn2fB4EKBxQbCK2VjO3WaWIdlXZL3W6TiIVnrhX4g==" - }, - "runtime.rhel.7-x64.runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "nyFNiCk/r+VOiIqreLix8yN+q3Wga9+SE8BCgkf+2BwEKiNx6DyvFjCgkfV743/grxv8jHJ8gUK4XEQw7yzRYg==" - }, - "runtime.ubuntu.14.04-x64.runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "ytoewC6wGorL7KoCAvRfsgoJPJbNq+64k2SqW6JcOAebWsFUvCCYgfzQMrnpvPiEl4OrblUlhF2ji+Q1+SVLrQ==" - }, - "runtime.ubuntu.16.04-x64.runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "I8bKw2I8k58Wx7fMKQJn2R8lamboCAiHfHeV/pS65ScKWMMI0+wJkLYlEKvgW1D/XvSl/221clBoR2q9QNNM7A==" - }, - "runtime.ubuntu.16.10-x64.runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "VB5cn/7OzUfzdnC8tqAIMQciVLiq2epm2NrAm1E9OjNRyG4lVhfR61SMcLizejzQP8R8Uf/0l5qOIbUEi+RdEg==" - }, - "SemanticVersioning": { - "type": "Transitive", - "resolved": "0.8.0", - "contentHash": "hUCnQL79hU0W6X4jPeMAtGDwoEJeBEZfGBnkT+jPG45lD7KHn4h61HgYN8y1HAjPrXmC5oJcLx3l8ygPJOqvlA==", - "dependencies": { - "NETStandard.Library": "1.6.0" - } - }, - "SharpZipLib.NETStandard": { - "type": "Transitive", - "resolved": "1.0.7", - "contentHash": "mYKPizF2CY32RQB8FITYy0e30gVgItFA63SFquruaxq+votwL1T+yOfssK10v4enBcxklr8ks48hS1emw5TTXg==", - "dependencies": { - "NETStandard.Library": "1.6.1" - } - }, - "System.AppContext": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "fKC+rmaLfeIzUhagxY17Q9siv/sPrjjKcfNg1Ic8IlQkZLipo8ljcaZQu4VtI4Jqbzjc2VTjzGLF6WmsRXAEgA==", - "dependencies": { - "System.Runtime": "4.3.0" - } - }, - "System.Buffers": { - "type": "Transitive", - "resolved": "4.5.1", - "contentHash": "Rw7ijyl1qqRS0YQD/WycNst8hUUMgrMH4FCn1nNm27M4VxchZ1js3fVjQaANHO5f3sN4isvP4a+Met9Y4YomAg==" - }, - "System.Collections": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "3Dcj85/TBdVpL5Zr+gEEBUuFe2icOnLalmEh9hfck1PTYbbyWuZgh4fmm2ysCLTrqLQw6t3TgTyJ+VLp+Qb+Lw==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } - }, - "System.Collections.Concurrent": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "ztl69Xp0Y/UXCL+3v3tEU+lIy+bvjKNUmopn1wep/a291pVPK7dxBd6T7WnlQqRog+d1a/hSsgRsmFnIBKTPLQ==", - "dependencies": { - "System.Collections": "4.3.0", - "System.Diagnostics.Debug": "4.3.0", - "System.Diagnostics.Tracing": "4.3.0", - "System.Globalization": "4.3.0", - "System.Reflection": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Threading": "4.3.0", - "System.Threading.Tasks": "4.3.0" - } - }, - "System.Collections.Immutable": { - "type": "Transitive", - "resolved": "1.2.0", - "contentHash": "Cma8cBW6di16ZLibL8LYQ+cLjGzoKxpOTu/faZfDcx94ZjAGq6Nv5RO7+T1YZXqEXTZP9rt1wLVEONVpURtUqw==", - "dependencies": { - "System.Collections": "4.0.11", - "System.Diagnostics.Debug": "4.0.11", - "System.Globalization": "4.0.11", - "System.Linq": "4.1.0", - "System.Resources.ResourceManager": "4.0.1", - "System.Runtime": "4.1.0", - "System.Runtime.Extensions": "4.1.0", - "System.Threading": "4.0.11" - } - }, - "System.Collections.NonGeneric": { - "type": "Transitive", - "resolved": "4.0.1", - "contentHash": "hMxFT2RhhlffyCdKLDXjx8WEC5JfCvNozAZxCablAuFRH74SCV4AgzE8yJCh/73bFnEoZgJ9MJmkjQ0dJmnKqA==", - "dependencies": { - "System.Diagnostics.Debug": "4.0.11", - "System.Globalization": "4.0.11", - "System.Resources.ResourceManager": "4.0.1", - "System.Runtime": "4.1.0", - "System.Runtime.Extensions": "4.1.0", - "System.Threading": "4.0.11" - } - }, - "System.Collections.Specialized": { - "type": "Transitive", - "resolved": "4.0.1", - "contentHash": "/HKQyVP0yH1I0YtK7KJL/28snxHNH/bi+0lgk/+MbURF6ULhAE31MDI+NZDerNWu264YbxklXCCygISgm+HMug==", - "dependencies": { - "System.Collections.NonGeneric": "4.0.1", - "System.Globalization": "4.0.11", - "System.Globalization.Extensions": "4.0.1", - "System.Resources.ResourceManager": "4.0.1", - "System.Runtime": "4.1.0", - "System.Runtime.Extensions": "4.1.0", - "System.Threading": "4.0.11" - } - }, - "System.ComponentModel": { - "type": "Transitive", - "resolved": "4.0.1", - "contentHash": "oBZFnm7seFiVfugsIyOvQCWobNZs7FzqDV/B7tx20Ep/l3UUFCPDkdTnCNaJZTU27zjeODmy2C/cP60u3D4c9w==", - "dependencies": { - "System.Runtime": "4.1.0" - } - }, - "System.ComponentModel.EventBasedAsync": { - "type": "Transitive", - "resolved": "4.0.11", - "contentHash": "Z7SO6vvQIR84daPE4uhaNdef9CjgjDMGYkas8epUhf0U3WGuaGgZ0Mm4QuNycMdbHUY8KEdZrtgxonkAiJaAlA==", - "dependencies": { - "System.Resources.ResourceManager": "4.0.1", - "System.Runtime": "4.1.0", - "System.Threading": "4.0.11", - "System.Threading.Tasks": "4.0.11" - } - }, - "System.ComponentModel.Primitives": { - "type": "Transitive", - "resolved": "4.1.0", - "contentHash": "sc/7eVCdxPrp3ljpgTKVaQGUXiW05phNWvtv/m2kocXqrUQvTVWKou1Edas2aDjTThLPZOxPYIGNb/HN0QjURg==", - "dependencies": { - "System.ComponentModel": "4.0.1", - "System.Resources.ResourceManager": "4.0.1", - "System.Runtime": "4.1.0" - } - }, - "System.ComponentModel.TypeConverter": { - "type": "Transitive", - "resolved": "4.1.0", - "contentHash": "MnDAlaeJZy9pdB5ZdOlwdxfpI+LJQ6e0hmH7d2+y2LkiD8DRJynyDYl4Xxf3fWFm7SbEwBZh4elcfzONQLOoQw==", - "dependencies": { - "System.Collections": "4.0.11", - "System.Collections.NonGeneric": "4.0.1", - "System.Collections.Specialized": "4.0.1", - "System.ComponentModel": "4.0.1", - "System.ComponentModel.Primitives": "4.1.0", - "System.Globalization": "4.0.11", - "System.Linq": "4.1.0", - "System.Reflection": "4.1.0", - "System.Reflection.Extensions": "4.0.1", - "System.Reflection.Primitives": "4.0.1", - "System.Reflection.TypeExtensions": "4.1.0", - "System.Resources.ResourceManager": "4.0.1", - "System.Runtime": "4.1.0", - "System.Runtime.Extensions": "4.1.0", - "System.Threading": "4.0.11" - } - }, - "System.Configuration.ConfigurationManager": { - "type": "Transitive", - "resolved": "4.4.0", - "contentHash": "gWwQv/Ug1qWJmHCmN17nAbxJYmQBM/E94QxKLksvUiiKB1Ld3Sc/eK1lgmbSjDFxkQhVuayI/cGFZhpBSodLrg==", - "dependencies": { - "System.Security.Cryptography.ProtectedData": "4.4.0" - } - }, - "System.Console": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "DHDrIxiqk1h03m6khKWV2X8p/uvN79rgSqpilL6uzpmSfxfU5ng8VcPtW4qsDsQDHiTv6IPV9TmD5M/vElPNLg==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.IO": "4.3.0", - "System.Runtime": "4.3.0", - "System.Text.Encoding": "4.3.0" - } - }, - "System.Diagnostics.Debug": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "ZUhUOdqmaG5Jk3Xdb8xi5kIyQYAA4PnTNlHx1mu9ZY3qv4ELIdKbnL/akbGaKi2RnNUWaZsAs31rvzFdewTj2g==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } - }, - "System.Diagnostics.DiagnosticSource": { - "type": "Transitive", - "resolved": "8.0.0", - "contentHash": "c9xLpVz6PL9lp/djOWtk5KPDZq3cSYpmXoJQY524EOtuFl5z9ZtsotpsyrDW40U1DRnQSYvcPKEUV0X//u6gkQ==", - "dependencies": { - "System.Memory": "4.5.5", - "System.Runtime.CompilerServices.Unsafe": "6.0.0" - } - }, - "System.Diagnostics.Process": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "J0wOX07+QASQblsfxmIMFc9Iq7KTXYL3zs2G/Xc704Ylv3NpuVdo6gij6V3PGiptTxqsK0K7CdXenRvKUnkA2g==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.Win32.Primitives": "4.3.0", - "Microsoft.Win32.Registry": "4.3.0", - "System.Collections": "4.3.0", - "System.Diagnostics.Debug": "4.3.0", - "System.Globalization": "4.3.0", - "System.IO": "4.3.0", - "System.IO.FileSystem": "4.3.0", - "System.IO.FileSystem.Primitives": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.Handles": "4.3.0", - "System.Runtime.InteropServices": "4.3.0", - "System.Text.Encoding": "4.3.0", - "System.Text.Encoding.Extensions": "4.3.0", - "System.Threading": "4.3.0", - "System.Threading.Tasks": "4.3.0", - "System.Threading.Thread": "4.3.0", - "System.Threading.ThreadPool": "4.3.0", - "runtime.native.System": "4.3.0" - } - }, - "System.Diagnostics.TextWriterTraceListener": { - "type": "Transitive", - "resolved": "4.0.0", - "contentHash": "w36Dr8yKy8xP150qPANe7Td+/zOI3G62ImRcHDIEW+oUXUuTKZHd4DHmqRx5+x8RXd85v3tXd1uhNTfsr+yxjA==", - "dependencies": { - "System.Diagnostics.TraceSource": "4.0.0", - "System.Globalization": "4.0.11", - "System.IO": "4.1.0", - "System.Resources.ResourceManager": "4.0.1", - "System.Runtime": "4.1.0", - "System.Threading": "4.0.11" - } - }, - "System.Diagnostics.Tools": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "UUvkJfSYJMM6x527dJg2VyWPSRqIVB0Z7dbjHst1zmwTXz5CcXSYJFWRpuigfbO1Lf7yfZiIaEUesfnl/g5EyA==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } - }, - "System.Diagnostics.TraceSource": { - "type": "Transitive", - "resolved": "4.0.0", - "contentHash": "6WVCczFZKXwpWpzd/iJkYnsmWTSFFiU24Xx/YdHXBcu+nFI/ehTgeqdJQFbtRPzbrO3KtRNjvkhtj4t5/WwWsA==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.0.1", - "System.Collections": "4.0.11", - "System.Diagnostics.Debug": "4.0.11", - "System.Globalization": "4.0.11", - "System.Resources.ResourceManager": "4.0.1", - "System.Runtime": "4.1.0", - "System.Runtime.Extensions": "4.1.0", - "System.Threading": "4.0.11", - "runtime.native.System": "4.0.0" - } - }, - "System.Diagnostics.Tracing": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "rswfv0f/Cqkh78rA5S8eN8Neocz234+emGCtTF3lxPY96F+mmmUen6tbn0glN6PMvlKQb9bPAY5e9u7fgPTkKw==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } - }, - "System.Globalization": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "kYdVd2f2PAdFGblzFswE4hkNANJBKRmsfa2X5LG2AcWE1c7/4t0pYae1L8vfZ5xvE2nK/R9JprtToA61OSHWIg==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } - }, - "System.Globalization.Calendars": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "GUlBtdOWT4LTV3I+9/PJW+56AnnChTaOqqTLFtdmype/L500M2LIyXgmtd9X2P2VOkmJd5c67H5SaC2QcL1bFA==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Globalization": "4.3.0", - "System.Runtime": "4.3.0" - } - }, - "System.Globalization.Extensions": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "FhKmdR6MPG+pxow6wGtNAWdZh7noIOpdD5TwQ3CprzgIE1bBBoim0vbR1+AWsWjQmU7zXHgQo4TWSP6lCeiWcQ==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "System.Globalization": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.InteropServices": "4.3.0" - } - }, - "System.IO": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "3qjaHvxQPDpSOYICjUoTsmoq5u6QJAFRUITgeT/4gqkF1bajbSmb1kwSxEA8AHlofqgcKJcM8udgieRNhaJ5Cg==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0", - "System.Text.Encoding": "4.3.0", - "System.Threading.Tasks": "4.3.0" - } - }, - "System.IO.Compression": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "YHndyoiV90iu4iKG115ibkhrG+S3jBm8Ap9OwoUAzO5oPDAWcr0SFwQFm0HjM8WkEZWo0zvLTyLmbvTkW1bXgg==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "System.Buffers": "4.3.0", - "System.Collections": "4.3.0", - "System.Diagnostics.Debug": "4.3.0", - "System.IO": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.Handles": "4.3.0", - "System.Runtime.InteropServices": "4.3.0", - "System.Text.Encoding": "4.3.0", - "System.Threading": "4.3.0", - "System.Threading.Tasks": "4.3.0", - "runtime.native.System": "4.3.0", - "runtime.native.System.IO.Compression": "4.3.0" - } - }, - "System.IO.Compression.ZipFile": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "G4HwjEsgIwy3JFBduZ9quBkAu+eUwjIdJleuNSgmUojbH6O3mlvEIme+GHx/cLlTAPcrnnL7GqvB9pTlWRfhOg==", - "dependencies": { - "System.Buffers": "4.3.0", - "System.IO": "4.3.0", - "System.IO.Compression": "4.3.0", - "System.IO.FileSystem": "4.3.0", - "System.IO.FileSystem.Primitives": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Text.Encoding": "4.3.0" - } - }, - "System.IO.FileSystem": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "3wEMARTnuio+ulnvi+hkRNROYwa1kylvYahhcLk4HSoVdl+xxTFVeVlYOfLwrDPImGls0mDqbMhrza8qnWPTdA==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.IO": "4.3.0", - "System.IO.FileSystem.Primitives": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Handles": "4.3.0", - "System.Text.Encoding": "4.3.0", - "System.Threading.Tasks": "4.3.0" - } - }, - "System.IO.FileSystem.Primitives": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "6QOb2XFLch7bEc4lIcJH49nJN2HV+OC3fHDgsLVsBVBk3Y4hFAnOBGzJ2lUu7CyDDFo9IBWkSsnbkT6IBwwiMw==", - "dependencies": { - "System.Runtime": "4.3.0" - } - }, - "System.Linq": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "5DbqIUpsDp0dFftytzuMmc0oeMdQwjcP/EWxsksIz/w1TcFRkZ3yKKz0PqiYFMmEwPSWw+qNVqD7PJ889JzHbw==", - "dependencies": { - "System.Collections": "4.3.0", - "System.Diagnostics.Debug": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0" - } - }, - "System.Linq.Expressions": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "PGKkrd2khG4CnlyJwxwwaWWiSiWFNBGlgXvJpeO0xCXrZ89ODrQ6tjEWS/kOqZ8GwEOUATtKtzp1eRgmYNfclg==", - "dependencies": { - "System.Collections": "4.3.0", - "System.Diagnostics.Debug": "4.3.0", - "System.Globalization": "4.3.0", - "System.IO": "4.3.0", - "System.Linq": "4.3.0", - "System.ObjectModel": "4.3.0", - "System.Reflection": "4.3.0", - "System.Reflection.Emit": "4.3.0", - "System.Reflection.Emit.ILGeneration": "4.3.0", - "System.Reflection.Emit.Lightweight": "4.3.0", - "System.Reflection.Extensions": "4.3.0", - "System.Reflection.Primitives": "4.3.0", - "System.Reflection.TypeExtensions": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Threading": "4.3.0" - } - }, - "System.Memory": { - "type": "Transitive", - "resolved": "4.5.5", - "contentHash": "XIWiDvKPXaTveaB7HVganDlOCRoj03l+jrwNvcge/t8vhGYKvqV+dMv6G4SAX2NoNmN0wZfVPTAlFwZcZvVOUw==", - "dependencies": { - "System.Buffers": "4.5.1", - "System.Numerics.Vectors": "4.4.0", - "System.Runtime.CompilerServices.Unsafe": "4.5.3" - } - }, - "System.Net.Http": { - "type": "Transitive", - "resolved": "4.3.1", - "contentHash": "UrTyRczM3ZvNk6oetBuwlu67MFKKRva+r7bw4JDVZ6Y2IukyZ24td5ppsieu/4yZlogVAIuZul9GIQ3hoiz0yA==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "System.Collections": "4.3.0", - "System.Diagnostics.Debug": "4.3.0", - "System.Diagnostics.DiagnosticSource": "4.3.0", - "System.Diagnostics.Tracing": "4.3.0", - "System.Globalization": "4.3.0", - "System.Globalization.Extensions": "4.3.0", - "System.IO": "4.3.0", - "System.IO.FileSystem": "4.3.0", - "System.Net.Primitives": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.Handles": "4.3.0", - "System.Runtime.InteropServices": "4.3.0", - "System.Security.Cryptography.Algorithms": "4.3.0", - "System.Security.Cryptography.Encoding": "4.3.0", - "System.Security.Cryptography.OpenSsl": "4.3.0", - "System.Security.Cryptography.Primitives": "4.3.0", - "System.Security.Cryptography.X509Certificates": "4.3.0", - "System.Text.Encoding": "4.3.0", - "System.Threading": "4.3.0", - "System.Threading.Tasks": "4.3.0", - "runtime.native.System": "4.3.0", - "runtime.native.System.Net.Http": "4.3.0", - "runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0" - } - }, - "System.Net.Primitives": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "qOu+hDwFwoZPbzPvwut2qATe3ygjeQBDQj91xlsaqGFQUI5i4ZnZb8yyQuLGpDGivEPIt8EJkd1BVzVoP31FXA==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0", - "System.Runtime.Handles": "4.3.0" - } - }, - "System.Net.Sockets": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "m6icV6TqQOAdgt5N/9I5KNpjom/5NFtkmGseEH+AK/hny8XrytLH3+b5M8zL/Ycg3fhIocFpUMyl/wpFnVRvdw==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.IO": "4.3.0", - "System.Net.Primitives": "4.3.0", - "System.Runtime": "4.3.0", - "System.Threading.Tasks": "4.3.0" - } - }, - "System.Numerics.Vectors": { - "type": "Transitive", - "resolved": "4.4.0", - "contentHash": "UiLzLW+Lw6HLed1Hcg+8jSRttrbuXv7DANVj0DkL9g6EnnzbL75EB7EWsw5uRbhxd/4YdG8li5XizGWepmG3PQ==" - }, - "System.ObjectModel": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "bdX+80eKv9bN6K4N+d77OankKHGn6CH711a6fcOpMQu2Fckp/Ft4L/kW9WznHpyR0NRAvJutzOMHNNlBGvxQzQ==", - "dependencies": { - "System.Collections": "4.3.0", - "System.Diagnostics.Debug": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Threading": "4.3.0" - } - }, - "System.Private.DataContractSerialization": { - "type": "Transitive", - "resolved": "4.1.1", - "contentHash": "lcqFBUaCZxPiUkA4dlSOoPZGtZsAuuElH2XHgLwGLxd7ZozWetV5yiz0qGAV2AUYOqw97MtZBjbLMN16Xz4vXA==", - "dependencies": { - "System.Collections": "4.0.11", - "System.Collections.Concurrent": "4.0.12", - "System.Diagnostics.Debug": "4.0.11", - "System.Globalization": "4.0.11", - "System.IO": "4.1.0", - "System.Linq": "4.1.0", - "System.Reflection": "4.1.0", - "System.Reflection.Emit.ILGeneration": "4.0.1", - "System.Reflection.Emit.Lightweight": "4.0.1", - "System.Reflection.Extensions": "4.0.1", - "System.Reflection.Primitives": "4.0.1", - "System.Reflection.TypeExtensions": "4.1.0", - "System.Resources.ResourceManager": "4.0.1", - "System.Runtime": "4.1.0", - "System.Runtime.Extensions": "4.1.0", - "System.Runtime.Serialization.Primitives": "4.1.1", - "System.Text.Encoding": "4.0.11", - "System.Text.Encoding.Extensions": "4.0.11", - "System.Text.RegularExpressions": "4.1.0", - "System.Threading": "4.0.11", - "System.Threading.Tasks": "4.0.11", - "System.Xml.ReaderWriter": "4.0.11", - "System.Xml.XmlDocument": "4.0.1", - "System.Xml.XmlSerializer": "4.0.11" - } - }, - "System.Reflection": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "KMiAFoW7MfJGa9nDFNcfu+FpEdiHpWgTcS2HdMpDvt9saK3y/G4GwprPyzqjFH9NTaGPQeWNHU+iDlDILj96aQ==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.IO": "4.3.0", - "System.Reflection.Primitives": "4.3.0", - "System.Runtime": "4.3.0" - } - }, - "System.Reflection.Emit": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "228FG0jLcIwTVJyz8CLFKueVqQK36ANazUManGaJHkO0icjiIypKW7YLWLIWahyIkdh5M7mV2dJepllLyA1SKg==", - "dependencies": { - "System.IO": "4.3.0", - "System.Reflection": "4.3.0", - "System.Reflection.Emit.ILGeneration": "4.3.0", - "System.Reflection.Primitives": "4.3.0", - "System.Runtime": "4.3.0" - } - }, - "System.Reflection.Emit.ILGeneration": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "59tBslAk9733NXLrUJrwNZEzbMAcu8k344OYo+wfSVygcgZ9lgBdGIzH/nrg3LYhXceynyvTc8t5/GD4Ri0/ng==", - "dependencies": { - "System.Reflection": "4.3.0", - "System.Reflection.Primitives": "4.3.0", - "System.Runtime": "4.3.0" - } - }, - "System.Reflection.Emit.Lightweight": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "oadVHGSMsTmZsAF864QYN1t1QzZjIcuKU3l2S9cZOwDdDueNTrqq1yRj7koFfIGEnKpt6NjpL3rOzRhs4ryOgA==", - "dependencies": { - "System.Reflection": "4.3.0", - "System.Reflection.Emit.ILGeneration": "4.3.0", - "System.Reflection.Primitives": "4.3.0", - "System.Runtime": "4.3.0" - } - }, - "System.Reflection.Extensions": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "rJkrJD3kBI5B712aRu4DpSIiHRtr6QlfZSQsb0hYHrDCZORXCFjQfoipo2LaMUHoT9i1B7j7MnfaEKWDFmFQNQ==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Reflection": "4.3.0", - "System.Runtime": "4.3.0" - } - }, - "System.Reflection.Metadata": { - "type": "Transitive", - "resolved": "1.3.0", - "contentHash": "jMSCxA4LSyKBGRDm/WtfkO03FkcgRzHxwvQRib1bm2GZ8ifKM1MX1al6breGCEQK280mdl9uQS7JNPXRYk90jw==", - "dependencies": { - "System.Collections": "4.0.11", - "System.Collections.Immutable": "1.2.0", - "System.Diagnostics.Debug": "4.0.11", - "System.IO": "4.1.0", - "System.Linq": "4.1.0", - "System.Reflection": "4.1.0", - "System.Reflection.Extensions": "4.0.1", - "System.Reflection.Primitives": "4.0.1", - "System.Resources.ResourceManager": "4.0.1", - "System.Runtime": "4.1.0", - "System.Runtime.Extensions": "4.1.0", - "System.Runtime.InteropServices": "4.1.0", - "System.Text.Encoding": "4.0.11", - "System.Text.Encoding.Extensions": "4.0.11", - "System.Threading": "4.0.11" - } - }, - "System.Reflection.Primitives": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "5RXItQz5As4xN2/YUDxdpsEkMhvw3e6aNveFXUn4Hl/udNTCNhnKp8lT9fnc3MhvGKh1baak5CovpuQUXHAlIA==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } - }, - "System.Reflection.TypeExtensions": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "7u6ulLcZbyxB5Gq0nMkQttcdBTx57ibzw+4IOXEfR+sXYQoHvjW5LTLyNr8O22UIMrqYbchJQJnos4eooYzYJA==", - "dependencies": { - "System.Reflection": "4.3.0", - "System.Runtime": "4.3.0" - } - }, - "System.Resources.ResourceManager": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "/zrcPkkWdZmI4F92gL/TPumP98AVDu/Wxr3CSJGQQ+XN6wbRZcyfSKVoPo17ilb3iOr0cCRqJInGwNMolqhS8A==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Globalization": "4.3.0", - "System.Reflection": "4.3.0", - "System.Runtime": "4.3.0" - } - }, - "System.Runtime": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "JufQi0vPQ0xGnAczR13AUFglDyVYt4Kqnz1AZaiKZ5+GICq0/1MH/mO/eAJHt/mHW1zjKBJd7kV26SrxddAhiw==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0" - } - }, - "System.Runtime.CompilerServices.Unsafe": { - "type": "Transitive", - "resolved": "6.0.0", - "contentHash": "/iUeP3tq1S0XdNNoMz5C9twLSrM/TH+qElHkXWaPvuNOt+99G75NrV0OS2EqHx5wMN7popYjpc8oTjC1y16DLg==" - }, - "System.Runtime.Extensions": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "guW0uK0fn5fcJJ1tJVXYd7/1h5F+pea1r7FLSOz/f8vPEqbR2ZAknuRDvTQ8PzAilDveOxNjSfr0CHfIQfFk8g==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } - }, - "System.Runtime.Handles": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "OKiSUN7DmTWeYb3l51A7EYaeNMnvxwE249YtZz7yooT4gOZhmTjIn48KgSsw2k2lYdLgTKNJw/ZIfSElwDRVgg==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } - }, - "System.Runtime.InteropServices": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "uv1ynXqiMK8mp1GM3jDqPCFN66eJ5w5XNomaK2XD+TuCroNTLFGeZ+WCmBMcBDyTFKou3P6cR6J/QsaqDp7fGQ==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Reflection": "4.3.0", - "System.Reflection.Primitives": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Handles": "4.3.0" - } - }, - "System.Runtime.InteropServices.RuntimeInformation": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "cbz4YJMqRDR7oLeMRbdYv7mYzc++17lNhScCX0goO2XpGWdvAt60CGN+FHdePUEHCe/Jy9jUlvNAiNdM+7jsOw==", - "dependencies": { - "System.Reflection": "4.3.0", - "System.Reflection.Extensions": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.InteropServices": "4.3.0", - "System.Threading": "4.3.0", - "runtime.native.System": "4.3.0" - } - }, - "System.Runtime.Loader": { - "type": "Transitive", - "resolved": "4.0.0", - "contentHash": "4UN78GOVU/mbDFcXkEWtetJT/sJ0yic2gGk1HSlSpWI0TDf421xnrZTDZnwNBapk1GQeYN7U1lTj/aQB1by6ow==", - "dependencies": { - "System.IO": "4.1.0", - "System.Reflection": "4.1.0", - "System.Runtime": "4.1.0" - } - }, - "System.Runtime.Numerics": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "yMH+MfdzHjy17l2KESnPiF2dwq7T+xLnSJar7slyimAkUh/gTrS9/UQOtv7xarskJ2/XDSNvfLGOBQPjL7PaHQ==", - "dependencies": { - "System.Globalization": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0" - } - }, - "System.Runtime.Serialization.Json": { - "type": "Transitive", - "resolved": "4.0.2", - "contentHash": "+7DIJhnKYgCzUgcLbVTtRQb2l1M0FP549XFlFkQM5lmNiUBl44AfNbx4bz61xA8PzLtlYwfmif4JJJW7MPPnjg==", - "dependencies": { - "System.IO": "4.1.0", - "System.Private.DataContractSerialization": "4.1.1", - "System.Runtime": "4.1.0" - } - }, - "System.Runtime.Serialization.Primitives": { - "type": "Transitive", - "resolved": "4.1.1", - "contentHash": "HZ6Du5QrTG8MNJbf4e4qMO3JRAkIboGT5Fk804uZtg3Gq516S7hAqTm2UZKUHa7/6HUGdVy3AqMQKbns06G/cg==", - "dependencies": { - "System.Resources.ResourceManager": "4.0.1", - "System.Runtime": "4.1.0" - } - }, - "System.Security.Cryptography.Algorithms": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "W1kd2Y8mYSCgc3ULTAZ0hOP2dSdG5YauTb1089T0/kRcN2MpSAW1izOFROrJgxSlMn3ArsgHXagigyi+ibhevg==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "System.Collections": "4.3.0", - "System.IO": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.Handles": "4.3.0", - "System.Runtime.InteropServices": "4.3.0", - "System.Runtime.Numerics": "4.3.0", - "System.Security.Cryptography.Encoding": "4.3.0", - "System.Security.Cryptography.Primitives": "4.3.0", - "System.Text.Encoding": "4.3.0", - "runtime.native.System.Security.Cryptography.Apple": "4.3.0", - "runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0" - } - }, - "System.Security.Cryptography.Cng": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "03idZOqFlsKRL4W+LuCpJ6dBYDUWReug6lZjBa3uJWnk5sPCUXckocevTaUA8iT/MFSrY/2HXkOt753xQ/cf8g==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "System.IO": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.Handles": "4.3.0", - "System.Runtime.InteropServices": "4.3.0", - "System.Security.Cryptography.Algorithms": "4.3.0", - "System.Security.Cryptography.Encoding": "4.3.0", - "System.Security.Cryptography.Primitives": "4.3.0", - "System.Text.Encoding": "4.3.0" - } - }, - "System.Security.Cryptography.Csp": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "X4s/FCkEUnRGnwR3aSfVIkldBmtURMhmexALNTwpjklzxWU7yjMk7GHLKOZTNkgnWnE0q7+BCf9N2LVRWxewaA==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "System.IO": "4.3.0", - "System.Reflection": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.Handles": "4.3.0", - "System.Runtime.InteropServices": "4.3.0", - "System.Security.Cryptography.Algorithms": "4.3.0", - "System.Security.Cryptography.Encoding": "4.3.0", - "System.Security.Cryptography.Primitives": "4.3.0", - "System.Text.Encoding": "4.3.0", - "System.Threading": "4.3.0" - } - }, - "System.Security.Cryptography.Encoding": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "1DEWjZZly9ae9C79vFwqaO5kaOlI5q+3/55ohmq/7dpDyDfc8lYe7YVxJUZ5MF/NtbkRjwFRo14yM4OEo9EmDw==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "System.Collections": "4.3.0", - "System.Collections.Concurrent": "4.3.0", - "System.Linq": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.Handles": "4.3.0", - "System.Runtime.InteropServices": "4.3.0", - "System.Security.Cryptography.Primitives": "4.3.0", - "System.Text.Encoding": "4.3.0", - "runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0" - } - }, - "System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "h4CEgOgv5PKVF/HwaHzJRiVboL2THYCou97zpmhjghx5frc7fIvlkY1jL+lnIQyChrJDMNEXS6r7byGif8Cy4w==", - "dependencies": { - "System.Collections": "4.3.0", - "System.IO": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.Handles": "4.3.0", - "System.Runtime.InteropServices": "4.3.0", - "System.Runtime.Numerics": "4.3.0", - "System.Security.Cryptography.Algorithms": "4.3.0", - "System.Security.Cryptography.Encoding": "4.3.0", - "System.Security.Cryptography.Primitives": "4.3.0", - "System.Text.Encoding": "4.3.0", - "runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0" - } - }, - "System.Security.Cryptography.Primitives": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "7bDIyVFNL/xKeFHjhobUAQqSpJq9YTOpbEs6mR233Et01STBMXNAc/V+BM6dwYGc95gVh/Zf+iVXWzj3mE8DWg==", - "dependencies": { - "System.Diagnostics.Debug": "4.3.0", - "System.Globalization": "4.3.0", - "System.IO": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Threading": "4.3.0", - "System.Threading.Tasks": "4.3.0" - } - }, - "System.Security.Cryptography.ProtectedData": { - "type": "Transitive", - "resolved": "4.4.0", - "contentHash": "cJV7ScGW7EhatRsjehfvvYVBvtiSMKgN8bOVI0bQhnF5bU7vnHVIsH49Kva7i7GWaWYvmEzkYVk1TC+gZYBEog==" - }, - "System.Security.Cryptography.X509Certificates": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "t2Tmu6Y2NtJ2um0RtcuhP7ZdNNxXEgUm2JeoA/0NvlMjAhKCnM1NX07TDl3244mVp3QU6LPEhT3HTtH1uF7IYw==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "System.Collections": "4.3.0", - "System.Diagnostics.Debug": "4.3.0", - "System.Globalization": "4.3.0", - "System.Globalization.Calendars": "4.3.0", - "System.IO": "4.3.0", - "System.IO.FileSystem": "4.3.0", - "System.IO.FileSystem.Primitives": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.Handles": "4.3.0", - "System.Runtime.InteropServices": "4.3.0", - "System.Runtime.Numerics": "4.3.0", - "System.Security.Cryptography.Algorithms": "4.3.0", - "System.Security.Cryptography.Cng": "4.3.0", - "System.Security.Cryptography.Csp": "4.3.0", - "System.Security.Cryptography.Encoding": "4.3.0", - "System.Security.Cryptography.OpenSsl": "4.3.0", - "System.Security.Cryptography.Primitives": "4.3.0", - "System.Text.Encoding": "4.3.0", - "System.Threading": "4.3.0", - "runtime.native.System": "4.3.0", - "runtime.native.System.Net.Http": "4.3.0", - "runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0" - } - }, - "System.Text.Encoding": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "BiIg+KWaSDOITze6jGQynxg64naAPtqGHBwDrLaCtixsa5bKiR8dpPOHA7ge3C0JJQizJE+sfkz1wV+BAKAYZw==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } - }, - "System.Text.Encoding.Extensions": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "YVMK0Bt/A43RmwizJoZ22ei2nmrhobgeiYwFzC4YAN+nue8RF6djXDMog0UCn+brerQoYVyaS+ghy9P/MUVcmw==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0", - "System.Text.Encoding": "4.3.0" - } - }, - "System.Text.Encodings.Web": { - "type": "Transitive", - "resolved": "8.0.0", - "contentHash": "yev/k9GHAEGx2Rg3/tU6MQh4HGBXJs70y7j1LaM1i/ER9po+6nnQ6RRqTJn1E7Xu0fbIFK80Nh5EoODxrbxwBQ==", - "dependencies": { - "System.Buffers": "4.5.1", - "System.Memory": "4.5.5", - "System.Runtime.CompilerServices.Unsafe": "6.0.0" - } - }, - "System.Text.Json": { - "type": "Transitive", - "resolved": "8.0.4", - "contentHash": "bAkhgDJ88XTsqczoxEMliSrpijKZHhbJQldhAmObj/RbrN3sU5dcokuXmWJWsdQAhiMJ9bTayWsL1C9fbbCRhw==", - "dependencies": { - "Microsoft.Bcl.AsyncInterfaces": "8.0.0", - "System.Buffers": "4.5.1", - "System.Memory": "4.5.5", - "System.Runtime.CompilerServices.Unsafe": "6.0.0", - "System.Text.Encodings.Web": "8.0.0", - "System.Threading.Tasks.Extensions": "4.5.4" - } - }, - "System.Text.RegularExpressions": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "RpT2DA+L660cBt1FssIE9CAGpLFdFPuheB7pLpKpn6ZXNby7jDERe8Ua/Ne2xGiwLVG2JOqziiaVCGDon5sKFA==", - "dependencies": { - "System.Collections": "4.3.0", - "System.Globalization": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Threading": "4.3.0" - } - }, - "System.Threading": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "VkUS0kOBcUf3Wwm0TSbrevDDZ6BlM+b/HRiapRFWjM5O0NS0LviG0glKmFK+hhPDd1XFeSdU1GmlLhb2CoVpIw==", - "dependencies": { - "System.Runtime": "4.3.0", - "System.Threading.Tasks": "4.3.0" - } - }, - "System.Threading.Tasks": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "LbSxKEdOUhVe8BezB/9uOGGppt+nZf6e1VFyw6v3DN6lqitm0OSn2uXMOdtP0M3W4iMcqcivm2J6UgqiwwnXiA==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } - }, - "System.Threading.Tasks.Extensions": { - "type": "Transitive", - "resolved": "4.5.4", - "contentHash": "zteT+G8xuGu6mS+mzDzYXbzS7rd3K6Fjb9RiZlYlJPam2/hU7JCBZBVEcywNuR+oZ1ncTvc/cq0faRr3P01OVg==", - "dependencies": { - "System.Runtime.CompilerServices.Unsafe": "4.5.3" - } - }, - "System.Threading.Thread": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "OHmbT+Zz065NKII/ZHcH9XO1dEuLGI1L2k7uYss+9C1jLxTC9kTZZuzUOyXHayRk+dft9CiDf3I/QZ0t8JKyBQ==", - "dependencies": { - "System.Runtime": "4.3.0" - } - }, - "System.Threading.ThreadPool": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "k/+g4b7vjdd4aix83sTgC9VG6oXYKAktSfNIJUNGxPEj7ryEOfzHHhfnmsZvjxawwcD9HyWXKCXmPjX8U4zeSw==", - "dependencies": { - "System.Runtime": "4.3.0", - "System.Runtime.Handles": "4.3.0" - } - }, - "System.Threading.Timer": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "Z6YfyYTCg7lOZjJzBjONJTFKGN9/NIYKSxhU5GRd+DTwHSZyvWp1xuI5aR+dLg+ayyC5Xv57KiY4oJ0tMO89fQ==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } - }, - "System.Xml.ReaderWriter": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "GrprA+Z0RUXaR4N7/eW71j1rgMnEnEVlgii49GZyAjTH7uliMnrOU3HNFBr6fEDBCJCIdlVNq9hHbaDR621XBA==", - "dependencies": { - "System.Collections": "4.3.0", - "System.Diagnostics.Debug": "4.3.0", - "System.Globalization": "4.3.0", - "System.IO": "4.3.0", - "System.IO.FileSystem": "4.3.0", - "System.IO.FileSystem.Primitives": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.InteropServices": "4.3.0", - "System.Text.Encoding": "4.3.0", - "System.Text.Encoding.Extensions": "4.3.0", - "System.Text.RegularExpressions": "4.3.0", - "System.Threading.Tasks": "4.3.0", - "System.Threading.Tasks.Extensions": "4.3.0" - } - }, - "System.Xml.XDocument": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "5zJ0XDxAIg8iy+t4aMnQAu0MqVbqyvfoUVl1yDV61xdo3Vth45oA2FoY4pPkxYAH5f8ixpmTqXeEIya95x0aCQ==", - "dependencies": { - "System.Collections": "4.3.0", - "System.Diagnostics.Debug": "4.3.0", - "System.Diagnostics.Tools": "4.3.0", - "System.Globalization": "4.3.0", - "System.IO": "4.3.0", - "System.Reflection": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Text.Encoding": "4.3.0", - "System.Threading": "4.3.0", - "System.Xml.ReaderWriter": "4.3.0" - } - }, - "System.Xml.XmlDocument": { - "type": "Transitive", - "resolved": "4.0.1", - "contentHash": "2eZu6IP+etFVBBFUFzw2w6J21DqIN5eL9Y8r8JfJWUmV28Z5P0SNU01oCisVHQgHsDhHPnmq2s1hJrJCFZWloQ==", - "dependencies": { - "System.Collections": "4.0.11", - "System.Diagnostics.Debug": "4.0.11", - "System.Globalization": "4.0.11", - "System.IO": "4.1.0", - "System.Resources.ResourceManager": "4.0.1", - "System.Runtime": "4.1.0", - "System.Runtime.Extensions": "4.1.0", - "System.Text.Encoding": "4.0.11", - "System.Threading": "4.0.11", - "System.Xml.ReaderWriter": "4.0.11" - } - }, - "System.Xml.XmlSerializer": { - "type": "Transitive", - "resolved": "4.0.11", - "contentHash": "FrazwwqfIXTfq23mfv4zH+BjqkSFNaNFBtjzu3I9NRmG8EELYyrv/fJnttCIwRMFRR/YKXF1hmsMmMEnl55HGw==", - "dependencies": { - "System.Collections": "4.0.11", - "System.Globalization": "4.0.11", - "System.IO": "4.1.0", - "System.Linq": "4.1.0", - "System.Reflection": "4.1.0", - "System.Reflection.Emit": "4.0.1", - "System.Reflection.Emit.ILGeneration": "4.0.1", - "System.Reflection.Extensions": "4.0.1", - "System.Reflection.Primitives": "4.0.1", - "System.Reflection.TypeExtensions": "4.1.0", - "System.Resources.ResourceManager": "4.0.1", - "System.Runtime": "4.1.0", - "System.Runtime.Extensions": "4.1.0", - "System.Text.RegularExpressions": "4.1.0", - "System.Threading": "4.0.11", - "System.Xml.ReaderWriter": "4.0.11", - "System.Xml.XmlDocument": "4.0.1" - } - }, - "System.Xml.XPath": { - "type": "Transitive", - "resolved": "4.0.1", - "contentHash": "UWd1H+1IJ9Wlq5nognZ/XJdyj8qPE4XufBUkAW59ijsCPjZkZe0MUzKKJFBr+ZWBe5Wq1u1d5f2CYgE93uH7DA==", - "dependencies": { - "System.Collections": "4.0.11", - "System.Diagnostics.Debug": "4.0.11", - "System.Globalization": "4.0.11", - "System.IO": "4.1.0", - "System.Resources.ResourceManager": "4.0.1", - "System.Runtime": "4.1.0", - "System.Runtime.Extensions": "4.1.0", - "System.Threading": "4.0.11", - "System.Xml.ReaderWriter": "4.0.11" - } - }, - "System.Xml.XPath.XmlDocument": { - "type": "Transitive", - "resolved": "4.0.1", - "contentHash": "Zm2BdeanuncYs3NhCj4c9e1x3EXFzFBVv2wPEc/Dj4ZbI9R8ecLSR5frAsx4zJCPBtKQreQ7Q/KxJEohJZbfzA==", - "dependencies": { - "System.Collections": "4.0.11", - "System.Globalization": "4.0.11", - "System.IO": "4.1.0", - "System.Resources.ResourceManager": "4.0.1", - "System.Runtime": "4.1.0", - "System.Runtime.Extensions": "4.1.0", - "System.Threading": "4.0.11", - "System.Xml.ReaderWriter": "4.0.11", - "System.Xml.XPath": "4.0.1", - "System.Xml.XmlDocument": "4.0.1" - } - }, - "xunit.abstractions": { - "type": "Transitive", - "resolved": "2.0.3", - "contentHash": "pot1I4YOxlWjIb5jmwvvQNbTrZ3lJQ+jUGkGjWE3hEFM0l5gOnBWS+H3qsex68s5cO52g+44vpGzhAt+42vwKg==" - }, - "xunit.analyzers": { - "type": "Transitive", - "resolved": "1.0.0", - "contentHash": "BeO8hEgs/c8Ls2647fPfieMngncvf0D0xYNDfIO59MolxtCtVjFRd6SRc+7tj8VMqkVOuJcnc9eh4ngI2cAmLQ==" - }, - "xunit.assert": { - "type": "Transitive", - "resolved": "2.4.2", - "contentHash": "pxJISOFjn2XTTi1mcDCkRZrTFb9OtRRCtx2kZFNF51GdReLr1ls2rnyxvAS4JO247K3aNtflvh5Q0346K5BROA==", - "dependencies": { - "NETStandard.Library": "1.6.1" - } - }, - "xunit.core": { - "type": "Transitive", - "resolved": "2.4.2", - "contentHash": "KB4yGCxNqIVyekhJLXtKSEq6BaXVp/JO3mbGVE1hxypZTLEe7h+sTbAhpA+yZW2dPtXTuiW+C1B2oxxHEkrmOw==", - "dependencies": { - "xunit.extensibility.core": "[2.4.2]", - "xunit.extensibility.execution": "[2.4.2]" - } - }, - "xunit.extensibility.core": { - "type": "Transitive", - "resolved": "2.4.2", - "contentHash": "W1BoXTIN1C6kpVSMw25huSet25ky6IAQUNovu3zGOGN/jWnbgSoTyCrlIhmXSg0tH5nEf8q7h3OjNHOjyu5PfA==", - "dependencies": { - "NETStandard.Library": "1.6.1", - "xunit.abstractions": "2.0.3" - } - }, - "xunit.extensibility.execution": { - "type": "Transitive", - "resolved": "2.4.2", - "contentHash": "CZmgcKkwpyo8FlupZdWpJCryrAOWLh1FBPG6gmVZuPQkGQsim/oL4PcP4nfrC2hHgXUFtluvaJ0Sp9PQKUMNpg==", - "dependencies": { - "NETStandard.Library": "1.6.1", - "xunit.extensibility.core": "[2.4.2]" - } - }, - "elastic.clients.elasticsearch": { - "type": "Project", - "dependencies": { - "Elastic.Transport": "[0.4.22, )" - } - }, - "elastic.clients.elasticsearch.jsonnetserializer": { - "type": "Project", - "dependencies": { - "Elastic.Clients.Elasticsearch": "[8.0.0, )", - "Newtonsoft.Json": "[13.0.1, )" - } - }, - "tests.configuration": { - "type": "Project", - "dependencies": { - "Elastic.Elasticsearch.Managed": "[0.4.3, )" - } - }, - "tests.domain": { - "type": "Project", - "dependencies": { - "Bogus": "[22.1.2, )", - "Elastic.Clients.Elasticsearch": "[8.0.0, )", - "Elastic.Elasticsearch.Managed": "[0.4.3, )", - "Newtonsoft.Json": "[13.0.1, )", - "Tests.Configuration": "[8.0.0, )" - } - } - } - } -} \ No newline at end of file diff --git a/tests/Tests.Domain/packages.lock.json b/tests/Tests.Domain/packages.lock.json deleted file mode 100644 index 9832722d98b..00000000000 --- a/tests/Tests.Domain/packages.lock.json +++ /dev/null @@ -1,1155 +0,0 @@ -{ - "version": 1, - "dependencies": { - ".NETStandard,Version=v2.1": { - "Bogus": { - "type": "Direct", - "requested": "[22.1.2, )", - "resolved": "22.1.2", - "contentHash": "FnYg++zOsFkN3wQJcPT6U4bmZoW/zDWp474QsZG2KX/ClCiEOwIfUxJ9xuKgwv46K0LvVoicQD09hgPke0FG1A==" - }, - "DotNet.ReproducibleBuilds": { - "type": "Direct", - "requested": "[1.1.1, )", - "resolved": "1.1.1", - "contentHash": "+H2t/t34h6mhEoUvHi8yGXyuZ2GjSovcGYehJrS2MDm2XgmPfZL2Sdxg+uL2lKgZ4M6tTwKHIlxOob2bgh0NRQ==", - "dependencies": { - "Microsoft.SourceLink.AzureRepos.Git": "1.1.1", - "Microsoft.SourceLink.Bitbucket.Git": "1.1.1", - "Microsoft.SourceLink.GitHub": "1.1.1", - "Microsoft.SourceLink.GitLab": "1.1.1" - } - }, - "Elastic.Elasticsearch.Managed": { - "type": "Direct", - "requested": "[0.4.3, )", - "resolved": "0.4.3", - "contentHash": "B7FvSMeNqYM3Yl/r/QRyROuAkMSiSQ0EvZQ36Cqrxm6uRBodlwky4yy4Im/AnOIQIl5lFLGr4vLHwWedHPharw==", - "dependencies": { - "Elastic.Stack.ArtifactsApi": "0.4.3", - "Proc": "0.6.1", - "System.Net.Http": "4.3.1" - } - }, - "Microsoft.NETFramework.ReferenceAssemblies": { - "type": "Direct", - "requested": "[1.0.3, )", - "resolved": "1.0.3", - "contentHash": "vUc9Npcs14QsyOD01tnv/m8sQUnGTGOw1BCmKcv77LBJY7OxhJ+zJF7UD/sCL3lYNFuqmQEVlkfS4Quif6FyYg==", - "dependencies": { - "Microsoft.NETFramework.ReferenceAssemblies.net461": "1.0.3" - } - }, - "Newtonsoft.Json": { - "type": "Direct", - "requested": "[13.0.1, )", - "resolved": "13.0.1", - "contentHash": "ppPFpBcvxdsfUonNcvITKqLl3bqxWbDCZIzDWHzjpdAHRFfZe0Dw9HmA0+za13IdyrgJwpkDTDA9fHaxOrt20A==" - }, - "Elastic.Stack.ArtifactsApi": { - "type": "Transitive", - "resolved": "0.4.3", - "contentHash": "mqfBDj5s8Gj6QWNYmCNJo2raxbzn8fUBk+eSxA5HeDYjEXoK52kOBvFSy4bL9Qaz+EW6JvOvt8nw0cm5MorJUA==", - "dependencies": { - "SemanticVersioning": "0.8.0", - "System.Text.Json": "4.6.0" - } - }, - "Elastic.Transport": { - "type": "Transitive", - "resolved": "0.4.22", - "contentHash": "9J5GPHJcT8sewn2zVfWTrsCQvfQYgUiY/jx+IRjWUk7XNPd837qfEL42I5baH69cyW/e4RoDy8v76yxqz95tDw==", - "dependencies": { - "Microsoft.CSharp": "4.7.0", - "System.Buffers": "4.5.1", - "System.Diagnostics.DiagnosticSource": "8.0.0", - "System.Text.Json": "8.0.4", - "System.Threading.Tasks.Extensions": "4.5.4" - } - }, - "Microsoft.Bcl.AsyncInterfaces": { - "type": "Transitive", - "resolved": "8.0.0", - "contentHash": "3WA9q9yVqJp222P3x1wYIGDAkpjAku0TMUaaQV22g6L67AI0LdOIrVS7Ht2vJfLHGSPVuqN94vIr15qn+HEkHw==" - }, - "Microsoft.Build.Tasks.Git": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "AT3HlgTjsqHnWpBHSNeR0KxbLZD7bztlZVj7I8vgeYG9SYqbeFGh0TM/KVtC6fg53nrWHl3VfZFvb5BiQFcY6Q==" - }, - "Microsoft.CSharp": { - "type": "Transitive", - "resolved": "4.7.0", - "contentHash": "pTj+D3uJWyN3My70i2Hqo+OXixq3Os2D1nJ2x92FFo6sk8fYS1m1WLNTs0Dc1uPaViH0YvEEwvzddQ7y4rhXmA==" - }, - "Microsoft.NETCore.Platforms": { - "type": "Transitive", - "resolved": "1.1.0", - "contentHash": "kz0PEW2lhqygehI/d6XsPCQzD7ff7gUJaVGPVETX611eadGsA3A877GdSlU0LRVMCTH/+P3o2iDTak+S08V2+A==" - }, - "Microsoft.NETCore.Targets": { - "type": "Transitive", - "resolved": "1.1.0", - "contentHash": "aOZA3BWfz9RXjpzt0sRJJMjAscAUm3Hoa4UWAfceV9UTYxgwZ1lZt5nO2myFf+/jetYQo4uTP7zS8sJY67BBxg==" - }, - "Microsoft.NETFramework.ReferenceAssemblies.net461": { - "type": "Transitive", - "resolved": "1.0.3", - "contentHash": "AmOJZwCqnOCNp6PPcf9joyogScWLtwy0M1WkqfEQ0M9nYwyDD7EX9ZjscKS5iYnyvteX7kzSKFCKt9I9dXA6mA==" - }, - "Microsoft.SourceLink.AzureRepos.Git": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "qB5urvw9LO2bG3eVAkuL+2ughxz2rR7aYgm2iyrB8Rlk9cp2ndvGRCvehk3rNIhRuNtQaeKwctOl1KvWiklv5w==", - "dependencies": { - "Microsoft.Build.Tasks.Git": "1.1.1", - "Microsoft.SourceLink.Common": "1.1.1" - } - }, - "Microsoft.SourceLink.Bitbucket.Git": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "cDzxXwlyWpLWaH0em4Idj0H3AmVo3L/6xRXKssYemx+7W52iNskj/SQ4FOmfCb8YQt39otTDNMveCZzYtMoucQ==", - "dependencies": { - "Microsoft.Build.Tasks.Git": "1.1.1", - "Microsoft.SourceLink.Common": "1.1.1" - } - }, - "Microsoft.SourceLink.Common": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "WMcGpWKrmJmzrNeuaEb23bEMnbtR/vLmvZtkAP5qWu7vQsY59GqfRJd65sFpBszbd2k/bQ8cs8eWawQKAabkVg==" - }, - "Microsoft.SourceLink.GitHub": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "IaJGnOv/M7UQjRJks7B6p7pbPnOwisYGOIzqCz5ilGFTApZ3ktOR+6zJ12ZRPInulBmdAf1SrGdDG2MU8g6XTw==", - "dependencies": { - "Microsoft.Build.Tasks.Git": "1.1.1", - "Microsoft.SourceLink.Common": "1.1.1" - } - }, - "Microsoft.SourceLink.GitLab": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "tvsg47DDLqqedlPeYVE2lmiTpND8F0hkrealQ5hYltSmvruy/Gr5nHAKSsjyw5L3NeM/HLMI5ORv7on/M4qyZw==", - "dependencies": { - "Microsoft.Build.Tasks.Git": "1.1.1", - "Microsoft.SourceLink.Common": "1.1.1" - } - }, - "Microsoft.Win32.Primitives": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "9ZQKCWxH7Ijp9BfahvL2Zyf1cJIk8XYLF6Yjzr2yi0b2cOut/HQ31qf1ThHAgCc3WiZMdnWcfJCgN82/0UunxA==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } - }, - "Microsoft.Win32.Registry": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "Lw1/VwLH1yxz6SfFEjVRCN0pnflLEsWgnV4qsdJ512/HhTwnKXUG+zDQ4yTO3K/EJQemGoNaBHX5InISNKTzUQ==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "System.Collections": "4.3.0", - "System.Globalization": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.Handles": "4.3.0", - "System.Runtime.InteropServices": "4.3.0" - } - }, - "NETStandard.Library": { - "type": "Transitive", - "resolved": "1.6.0", - "contentHash": "ypsCvIdCZ4IoYASJHt6tF2fMo7N30NLgV1EbmC+snO490OMl9FvVxmumw14rhReWU3j3g7BYudG6YCrchwHJlA==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.0.1", - "Microsoft.Win32.Primitives": "4.0.1", - "System.AppContext": "4.1.0", - "System.Collections": "4.0.11", - "System.Collections.Concurrent": "4.0.12", - "System.Console": "4.0.0", - "System.Diagnostics.Debug": "4.0.11", - "System.Diagnostics.Tools": "4.0.1", - "System.Diagnostics.Tracing": "4.1.0", - "System.Globalization": "4.0.11", - "System.Globalization.Calendars": "4.0.1", - "System.IO": "4.1.0", - "System.IO.Compression": "4.1.0", - "System.IO.Compression.ZipFile": "4.0.1", - "System.IO.FileSystem": "4.0.1", - "System.IO.FileSystem.Primitives": "4.0.1", - "System.Linq": "4.1.0", - "System.Linq.Expressions": "4.1.0", - "System.Net.Http": "4.1.0", - "System.Net.Primitives": "4.0.11", - "System.Net.Sockets": "4.1.0", - "System.ObjectModel": "4.0.12", - "System.Reflection": "4.1.0", - "System.Reflection.Extensions": "4.0.1", - "System.Reflection.Primitives": "4.0.1", - "System.Resources.ResourceManager": "4.0.1", - "System.Runtime": "4.1.0", - "System.Runtime.Extensions": "4.1.0", - "System.Runtime.Handles": "4.0.1", - "System.Runtime.InteropServices": "4.1.0", - "System.Runtime.InteropServices.RuntimeInformation": "4.0.0", - "System.Runtime.Numerics": "4.0.1", - "System.Security.Cryptography.Algorithms": "4.2.0", - "System.Security.Cryptography.Encoding": "4.0.0", - "System.Security.Cryptography.Primitives": "4.0.0", - "System.Security.Cryptography.X509Certificates": "4.1.0", - "System.Text.Encoding": "4.0.11", - "System.Text.Encoding.Extensions": "4.0.11", - "System.Text.RegularExpressions": "4.1.0", - "System.Threading": "4.0.11", - "System.Threading.Tasks": "4.0.11", - "System.Threading.Timer": "4.0.1", - "System.Xml.ReaderWriter": "4.0.11", - "System.Xml.XDocument": "4.0.11" - } - }, - "Proc": { - "type": "Transitive", - "resolved": "0.6.1", - "contentHash": "xRSCfgQNoGy60MOuvD2X1euzqvWDoyfpB8NAfVs2E5K5U1I8cA9MvVY6NbUkp5ApbOmVXls2JEPrOn8rQi2Pzg==", - "dependencies": { - "System.Diagnostics.Process": "[4.3.0]", - "System.Threading.Thread": "[4.3.0]" - } - }, - "runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "HdSSp5MnJSsg08KMfZThpuLPJpPwE5hBXvHwoKWosyHHfe8Mh5WKT0ylEOf6yNzX6Ngjxe4Whkafh5q7Ymac4Q==" - }, - "runtime.fedora.23-x64.runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "+yH1a49wJMy8Zt4yx5RhJrxO/DBDByAiCzNwiETI+1S4mPdCu0OY4djdciC7Vssk0l22wQaDLrXxXkp+3+7bVA==" - }, - "runtime.fedora.24-x64.runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "c3YNH1GQJbfIPJeCnr4avseugSqPrxwIqzthYyZDN6EuOyNOzq+y2KSUfRcXauya1sF4foESTgwM5e1A8arAKw==" - }, - "runtime.native.System": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "c/qWt2LieNZIj1jGnVNsE2Kl23Ya2aSTBuXMD6V7k9KWr6l16Tqdwq+hJScEpWER9753NWC8h96PaVNY5Ld7Jw==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0" - } - }, - "runtime.native.System.IO.Compression": { - "type": "Transitive", - "resolved": "4.1.0", - "contentHash": "Ob7nvnJBox1aaB222zSVZSkf4WrebPG4qFscfK7vmD7P7NxoSxACQLtO7ytWpqXDn2wcd/+45+EAZ7xjaPip8A==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.0.1", - "Microsoft.NETCore.Targets": "1.0.1" - } - }, - "runtime.native.System.Net.Http": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "ZVuZJqnnegJhd2k/PtAbbIcZ3aZeITq3sj06oKfMBSfphW3HDmk/t4ObvbOk/JA/swGR0LNqMksAh/f7gpTROg==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0" - } - }, - "runtime.native.System.Security.Cryptography.Apple": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "DloMk88juo0OuOWr56QG7MNchmafTLYWvABy36izkrLI5VledI0rq28KGs1i9wbpeT9NPQrx/wTf8U2vazqQ3Q==", - "dependencies": { - "runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.Apple": "4.3.0" - } - }, - "runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "NS1U+700m4KFRHR5o4vo9DSlTmlCKu/u7dtE5sUHVIPB+xpXxYQvgBgA6wEIeCz6Yfn0Z52/72WYsToCEPJnrw==", - "dependencies": { - "runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0", - "runtime.fedora.23-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0", - "runtime.fedora.24-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0", - "runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0", - "runtime.opensuse.42.1-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0", - "runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0", - "runtime.rhel.7-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0", - "runtime.ubuntu.14.04-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0", - "runtime.ubuntu.16.04-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0", - "runtime.ubuntu.16.10-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0" - } - }, - "runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "b3pthNgxxFcD+Pc0WSEoC0+md3MyhRS6aCEeenvNE3Fdw1HyJ18ZhRFVJJzIeR/O/jpxPboB805Ho0T3Ul7w8A==" - }, - "runtime.opensuse.42.1-x64.runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "KeLz4HClKf+nFS7p/6Fi/CqyLXh81FpiGzcmuS8DGi9lUqSnZ6Es23/gv2O+1XVGfrbNmviF7CckBpavkBoIFQ==" - }, - "runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.Apple": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "kVXCuMTrTlxq4XOOMAysuNwsXWpYeboGddNGpIgNSZmv1b6r/s/DPk0fYMB7Q5Qo4bY68o48jt4T4y5BVecbCQ==" - }, - "runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "X7IdhILzr4ROXd8mI1BUCQMSHSQwelUlBjF1JyTKCjXaOGn2fB4EKBxQbCK2VjO3WaWIdlXZL3W6TiIVnrhX4g==" - }, - "runtime.rhel.7-x64.runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "nyFNiCk/r+VOiIqreLix8yN+q3Wga9+SE8BCgkf+2BwEKiNx6DyvFjCgkfV743/grxv8jHJ8gUK4XEQw7yzRYg==" - }, - "runtime.ubuntu.14.04-x64.runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "ytoewC6wGorL7KoCAvRfsgoJPJbNq+64k2SqW6JcOAebWsFUvCCYgfzQMrnpvPiEl4OrblUlhF2ji+Q1+SVLrQ==" - }, - "runtime.ubuntu.16.04-x64.runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "I8bKw2I8k58Wx7fMKQJn2R8lamboCAiHfHeV/pS65ScKWMMI0+wJkLYlEKvgW1D/XvSl/221clBoR2q9QNNM7A==" - }, - "runtime.ubuntu.16.10-x64.runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "VB5cn/7OzUfzdnC8tqAIMQciVLiq2epm2NrAm1E9OjNRyG4lVhfR61SMcLizejzQP8R8Uf/0l5qOIbUEi+RdEg==" - }, - "SemanticVersioning": { - "type": "Transitive", - "resolved": "0.8.0", - "contentHash": "hUCnQL79hU0W6X4jPeMAtGDwoEJeBEZfGBnkT+jPG45lD7KHn4h61HgYN8y1HAjPrXmC5oJcLx3l8ygPJOqvlA==", - "dependencies": { - "NETStandard.Library": "1.6.0" - } - }, - "System.AppContext": { - "type": "Transitive", - "resolved": "4.1.0", - "contentHash": "3QjO4jNV7PdKkmQAVp9atA+usVnKRwI3Kx1nMwJ93T0LcQfx7pKAYk0nKz5wn1oP5iqlhZuy6RXOFdhr7rDwow==", - "dependencies": { - "System.Runtime": "4.1.0" - } - }, - "System.Buffers": { - "type": "Transitive", - "resolved": "4.5.1", - "contentHash": "Rw7ijyl1qqRS0YQD/WycNst8hUUMgrMH4FCn1nNm27M4VxchZ1js3fVjQaANHO5f3sN4isvP4a+Met9Y4YomAg==" - }, - "System.Collections": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "3Dcj85/TBdVpL5Zr+gEEBUuFe2icOnLalmEh9hfck1PTYbbyWuZgh4fmm2ysCLTrqLQw6t3TgTyJ+VLp+Qb+Lw==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } - }, - "System.Collections.Concurrent": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "ztl69Xp0Y/UXCL+3v3tEU+lIy+bvjKNUmopn1wep/a291pVPK7dxBd6T7WnlQqRog+d1a/hSsgRsmFnIBKTPLQ==", - "dependencies": { - "System.Collections": "4.3.0", - "System.Diagnostics.Debug": "4.3.0", - "System.Diagnostics.Tracing": "4.3.0", - "System.Globalization": "4.3.0", - "System.Reflection": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Threading": "4.3.0", - "System.Threading.Tasks": "4.3.0" - } - }, - "System.Console": { - "type": "Transitive", - "resolved": "4.0.0", - "contentHash": "qSKUSOIiYA/a0g5XXdxFcUFmv1hNICBD7QZ0QhGYVipPIhvpiydY8VZqr1thmCXvmn8aipMg64zuanB4eotK9A==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.0.1", - "Microsoft.NETCore.Targets": "1.0.1", - "System.IO": "4.1.0", - "System.Runtime": "4.1.0", - "System.Text.Encoding": "4.0.11" - } - }, - "System.Diagnostics.Debug": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "ZUhUOdqmaG5Jk3Xdb8xi5kIyQYAA4PnTNlHx1mu9ZY3qv4ELIdKbnL/akbGaKi2RnNUWaZsAs31rvzFdewTj2g==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } - }, - "System.Diagnostics.DiagnosticSource": { - "type": "Transitive", - "resolved": "8.0.0", - "contentHash": "c9xLpVz6PL9lp/djOWtk5KPDZq3cSYpmXoJQY524EOtuFl5z9ZtsotpsyrDW40U1DRnQSYvcPKEUV0X//u6gkQ==", - "dependencies": { - "System.Memory": "4.5.5", - "System.Runtime.CompilerServices.Unsafe": "6.0.0" - } - }, - "System.Diagnostics.Process": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "J0wOX07+QASQblsfxmIMFc9Iq7KTXYL3zs2G/Xc704Ylv3NpuVdo6gij6V3PGiptTxqsK0K7CdXenRvKUnkA2g==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.Win32.Primitives": "4.3.0", - "Microsoft.Win32.Registry": "4.3.0", - "System.Collections": "4.3.0", - "System.Diagnostics.Debug": "4.3.0", - "System.Globalization": "4.3.0", - "System.IO": "4.3.0", - "System.IO.FileSystem": "4.3.0", - "System.IO.FileSystem.Primitives": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.Handles": "4.3.0", - "System.Runtime.InteropServices": "4.3.0", - "System.Text.Encoding": "4.3.0", - "System.Text.Encoding.Extensions": "4.3.0", - "System.Threading": "4.3.0", - "System.Threading.Tasks": "4.3.0", - "System.Threading.Thread": "4.3.0", - "System.Threading.ThreadPool": "4.3.0", - "runtime.native.System": "4.3.0" - } - }, - "System.Diagnostics.Tools": { - "type": "Transitive", - "resolved": "4.0.1", - "contentHash": "xBfJ8pnd4C17dWaC9FM6aShzbJcRNMChUMD42I6772KGGrqaFdumwhn9OdM68erj1ueNo3xdQ1EwiFjK5k8p0g==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.0.1", - "Microsoft.NETCore.Targets": "1.0.1", - "System.Runtime": "4.1.0" - } - }, - "System.Diagnostics.Tracing": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "rswfv0f/Cqkh78rA5S8eN8Neocz234+emGCtTF3lxPY96F+mmmUen6tbn0glN6PMvlKQb9bPAY5e9u7fgPTkKw==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } - }, - "System.Globalization": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "kYdVd2f2PAdFGblzFswE4hkNANJBKRmsfa2X5LG2AcWE1c7/4t0pYae1L8vfZ5xvE2nK/R9JprtToA61OSHWIg==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } - }, - "System.Globalization.Calendars": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "GUlBtdOWT4LTV3I+9/PJW+56AnnChTaOqqTLFtdmype/L500M2LIyXgmtd9X2P2VOkmJd5c67H5SaC2QcL1bFA==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Globalization": "4.3.0", - "System.Runtime": "4.3.0" - } - }, - "System.Globalization.Extensions": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "FhKmdR6MPG+pxow6wGtNAWdZh7noIOpdD5TwQ3CprzgIE1bBBoim0vbR1+AWsWjQmU7zXHgQo4TWSP6lCeiWcQ==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "System.Globalization": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.InteropServices": "4.3.0" - } - }, - "System.IO": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "3qjaHvxQPDpSOYICjUoTsmoq5u6QJAFRUITgeT/4gqkF1bajbSmb1kwSxEA8AHlofqgcKJcM8udgieRNhaJ5Cg==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0", - "System.Text.Encoding": "4.3.0", - "System.Threading.Tasks": "4.3.0" - } - }, - "System.IO.Compression": { - "type": "Transitive", - "resolved": "4.1.0", - "contentHash": "TjnBS6eztThSzeSib+WyVbLzEdLKUcEHN69VtS3u8aAsSc18FU6xCZlNWWsEd8SKcXAE+y1sOu7VbU8sUeM0sg==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.0.1", - "System.Collections": "4.0.11", - "System.Diagnostics.Debug": "4.0.11", - "System.IO": "4.1.0", - "System.Resources.ResourceManager": "4.0.1", - "System.Runtime": "4.1.0", - "System.Runtime.Extensions": "4.1.0", - "System.Runtime.Handles": "4.0.1", - "System.Runtime.InteropServices": "4.1.0", - "System.Text.Encoding": "4.0.11", - "System.Threading": "4.0.11", - "System.Threading.Tasks": "4.0.11", - "runtime.native.System": "4.0.0", - "runtime.native.System.IO.Compression": "4.1.0" - } - }, - "System.IO.Compression.ZipFile": { - "type": "Transitive", - "resolved": "4.0.1", - "contentHash": "hBQYJzfTbQURF10nLhd+az2NHxsU6MU7AB8RUf4IolBP5lOAm4Luho851xl+CqslmhI5ZH/el8BlngEk4lBkaQ==", - "dependencies": { - "System.Buffers": "4.0.0", - "System.IO": "4.1.0", - "System.IO.Compression": "4.1.0", - "System.IO.FileSystem": "4.0.1", - "System.IO.FileSystem.Primitives": "4.0.1", - "System.Resources.ResourceManager": "4.0.1", - "System.Runtime": "4.1.0", - "System.Runtime.Extensions": "4.1.0", - "System.Text.Encoding": "4.0.11" - } - }, - "System.IO.FileSystem": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "3wEMARTnuio+ulnvi+hkRNROYwa1kylvYahhcLk4HSoVdl+xxTFVeVlYOfLwrDPImGls0mDqbMhrza8qnWPTdA==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.IO": "4.3.0", - "System.IO.FileSystem.Primitives": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Handles": "4.3.0", - "System.Text.Encoding": "4.3.0", - "System.Threading.Tasks": "4.3.0" - } - }, - "System.IO.FileSystem.Primitives": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "6QOb2XFLch7bEc4lIcJH49nJN2HV+OC3fHDgsLVsBVBk3Y4hFAnOBGzJ2lUu7CyDDFo9IBWkSsnbkT6IBwwiMw==", - "dependencies": { - "System.Runtime": "4.3.0" - } - }, - "System.Linq": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "5DbqIUpsDp0dFftytzuMmc0oeMdQwjcP/EWxsksIz/w1TcFRkZ3yKKz0PqiYFMmEwPSWw+qNVqD7PJ889JzHbw==", - "dependencies": { - "System.Collections": "4.3.0", - "System.Diagnostics.Debug": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0" - } - }, - "System.Linq.Expressions": { - "type": "Transitive", - "resolved": "4.1.0", - "contentHash": "I+y02iqkgmCAyfbqOmSDOgqdZQ5tTj80Akm5BPSS8EeB0VGWdy6X1KCoYe8Pk6pwDoAKZUOdLVxnTJcExiv5zw==", - "dependencies": { - "System.Collections": "4.0.11", - "System.Diagnostics.Debug": "4.0.11", - "System.Globalization": "4.0.11", - "System.IO": "4.1.0", - "System.Linq": "4.1.0", - "System.ObjectModel": "4.0.12", - "System.Reflection": "4.1.0", - "System.Reflection.Emit": "4.0.1", - "System.Reflection.Emit.ILGeneration": "4.0.1", - "System.Reflection.Emit.Lightweight": "4.0.1", - "System.Reflection.Extensions": "4.0.1", - "System.Reflection.Primitives": "4.0.1", - "System.Reflection.TypeExtensions": "4.1.0", - "System.Resources.ResourceManager": "4.0.1", - "System.Runtime": "4.1.0", - "System.Runtime.Extensions": "4.1.0", - "System.Threading": "4.0.11" - } - }, - "System.Memory": { - "type": "Transitive", - "resolved": "4.5.5", - "contentHash": "XIWiDvKPXaTveaB7HVganDlOCRoj03l+jrwNvcge/t8vhGYKvqV+dMv6G4SAX2NoNmN0wZfVPTAlFwZcZvVOUw==", - "dependencies": { - "System.Buffers": "4.5.1", - "System.Numerics.Vectors": "4.4.0", - "System.Runtime.CompilerServices.Unsafe": "4.5.3" - } - }, - "System.Net.Http": { - "type": "Transitive", - "resolved": "4.3.1", - "contentHash": "UrTyRczM3ZvNk6oetBuwlu67MFKKRva+r7bw4JDVZ6Y2IukyZ24td5ppsieu/4yZlogVAIuZul9GIQ3hoiz0yA==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "System.Collections": "4.3.0", - "System.Diagnostics.Debug": "4.3.0", - "System.Diagnostics.DiagnosticSource": "4.3.0", - "System.Diagnostics.Tracing": "4.3.0", - "System.Globalization": "4.3.0", - "System.Globalization.Extensions": "4.3.0", - "System.IO": "4.3.0", - "System.IO.FileSystem": "4.3.0", - "System.Net.Primitives": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.Handles": "4.3.0", - "System.Runtime.InteropServices": "4.3.0", - "System.Security.Cryptography.Algorithms": "4.3.0", - "System.Security.Cryptography.Encoding": "4.3.0", - "System.Security.Cryptography.OpenSsl": "4.3.0", - "System.Security.Cryptography.Primitives": "4.3.0", - "System.Security.Cryptography.X509Certificates": "4.3.0", - "System.Text.Encoding": "4.3.0", - "System.Threading": "4.3.0", - "System.Threading.Tasks": "4.3.0", - "runtime.native.System": "4.3.0", - "runtime.native.System.Net.Http": "4.3.0", - "runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0" - } - }, - "System.Net.Primitives": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "qOu+hDwFwoZPbzPvwut2qATe3ygjeQBDQj91xlsaqGFQUI5i4ZnZb8yyQuLGpDGivEPIt8EJkd1BVzVoP31FXA==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0", - "System.Runtime.Handles": "4.3.0" - } - }, - "System.Net.Sockets": { - "type": "Transitive", - "resolved": "4.1.0", - "contentHash": "xAz0N3dAV/aR/9g8r0Y5oEqU1JRsz29F5EGb/WVHmX3jVSLqi2/92M5hTad2aNWovruXrJpJtgZ9fccPMG9uSw==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.0.1", - "Microsoft.NETCore.Targets": "1.0.1", - "System.IO": "4.1.0", - "System.Net.Primitives": "4.0.11", - "System.Runtime": "4.1.0", - "System.Threading.Tasks": "4.0.11" - } - }, - "System.Numerics.Vectors": { - "type": "Transitive", - "resolved": "4.4.0", - "contentHash": "UiLzLW+Lw6HLed1Hcg+8jSRttrbuXv7DANVj0DkL9g6EnnzbL75EB7EWsw5uRbhxd/4YdG8li5XizGWepmG3PQ==" - }, - "System.ObjectModel": { - "type": "Transitive", - "resolved": "4.0.12", - "contentHash": "tAgJM1xt3ytyMoW4qn4wIqgJYm7L7TShRZG4+Q4Qsi2PCcj96pXN7nRywS9KkB3p/xDUjc2HSwP9SROyPYDYKQ==", - "dependencies": { - "System.Collections": "4.0.11", - "System.Diagnostics.Debug": "4.0.11", - "System.Resources.ResourceManager": "4.0.1", - "System.Runtime": "4.1.0", - "System.Threading": "4.0.11" - } - }, - "System.Reflection": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "KMiAFoW7MfJGa9nDFNcfu+FpEdiHpWgTcS2HdMpDvt9saK3y/G4GwprPyzqjFH9NTaGPQeWNHU+iDlDILj96aQ==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.IO": "4.3.0", - "System.Reflection.Primitives": "4.3.0", - "System.Runtime": "4.3.0" - } - }, - "System.Reflection.Emit": { - "type": "Transitive", - "resolved": "4.0.1", - "contentHash": "P2wqAj72fFjpP6wb9nSfDqNBMab+2ovzSDzUZK7MVIm54tBJEPr9jWfSjjoTpPwj1LeKcmX3vr0ttyjSSFM47g==", - "dependencies": { - "System.IO": "4.1.0", - "System.Reflection": "4.1.0", - "System.Reflection.Emit.ILGeneration": "4.0.1", - "System.Reflection.Primitives": "4.0.1", - "System.Runtime": "4.1.0" - } - }, - "System.Reflection.Emit.ILGeneration": { - "type": "Transitive", - "resolved": "4.0.1", - "contentHash": "Ov6dU8Bu15Bc7zuqttgHF12J5lwSWyTf1S+FJouUXVMSqImLZzYaQ+vRr1rQ0OZ0HqsrwWl4dsKHELckQkVpgA==", - "dependencies": { - "System.Reflection": "4.1.0", - "System.Reflection.Primitives": "4.0.1", - "System.Runtime": "4.1.0" - } - }, - "System.Reflection.Emit.Lightweight": { - "type": "Transitive", - "resolved": "4.0.1", - "contentHash": "sSzHHXueZ5Uh0OLpUQprhr+ZYJrLPA2Cmr4gn0wj9+FftNKXx8RIMKvO9qnjk2ebPYUjZ+F2ulGdPOsvj+MEjA==", - "dependencies": { - "System.Reflection": "4.1.0", - "System.Reflection.Emit.ILGeneration": "4.0.1", - "System.Reflection.Primitives": "4.0.1", - "System.Runtime": "4.1.0" - } - }, - "System.Reflection.Extensions": { - "type": "Transitive", - "resolved": "4.0.1", - "contentHash": "GYrtRsZcMuHF3sbmRHfMYpvxZoIN2bQGrYGerUiWLEkqdEUQZhH3TRSaC/oI4wO0II1RKBPlpIa1TOMxIcOOzQ==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.0.1", - "Microsoft.NETCore.Targets": "1.0.1", - "System.Reflection": "4.1.0", - "System.Runtime": "4.1.0" - } - }, - "System.Reflection.Primitives": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "5RXItQz5As4xN2/YUDxdpsEkMhvw3e6aNveFXUn4Hl/udNTCNhnKp8lT9fnc3MhvGKh1baak5CovpuQUXHAlIA==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } - }, - "System.Reflection.TypeExtensions": { - "type": "Transitive", - "resolved": "4.1.0", - "contentHash": "tsQ/ptQ3H5FYfON8lL4MxRk/8kFyE0A+tGPXmVP967cT/gzLHYxIejIYSxp4JmIeFHVP78g/F2FE1mUUTbDtrg==", - "dependencies": { - "System.Reflection": "4.1.0", - "System.Runtime": "4.1.0" - } - }, - "System.Resources.ResourceManager": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "/zrcPkkWdZmI4F92gL/TPumP98AVDu/Wxr3CSJGQQ+XN6wbRZcyfSKVoPo17ilb3iOr0cCRqJInGwNMolqhS8A==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Globalization": "4.3.0", - "System.Reflection": "4.3.0", - "System.Runtime": "4.3.0" - } - }, - "System.Runtime": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "JufQi0vPQ0xGnAczR13AUFglDyVYt4Kqnz1AZaiKZ5+GICq0/1MH/mO/eAJHt/mHW1zjKBJd7kV26SrxddAhiw==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0" - } - }, - "System.Runtime.CompilerServices.Unsafe": { - "type": "Transitive", - "resolved": "6.0.0", - "contentHash": "/iUeP3tq1S0XdNNoMz5C9twLSrM/TH+qElHkXWaPvuNOt+99G75NrV0OS2EqHx5wMN7popYjpc8oTjC1y16DLg==" - }, - "System.Runtime.Extensions": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "guW0uK0fn5fcJJ1tJVXYd7/1h5F+pea1r7FLSOz/f8vPEqbR2ZAknuRDvTQ8PzAilDveOxNjSfr0CHfIQfFk8g==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } - }, - "System.Runtime.Handles": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "OKiSUN7DmTWeYb3l51A7EYaeNMnvxwE249YtZz7yooT4gOZhmTjIn48KgSsw2k2lYdLgTKNJw/ZIfSElwDRVgg==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } - }, - "System.Runtime.InteropServices": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "uv1ynXqiMK8mp1GM3jDqPCFN66eJ5w5XNomaK2XD+TuCroNTLFGeZ+WCmBMcBDyTFKou3P6cR6J/QsaqDp7fGQ==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Reflection": "4.3.0", - "System.Reflection.Primitives": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Handles": "4.3.0" - } - }, - "System.Runtime.InteropServices.RuntimeInformation": { - "type": "Transitive", - "resolved": "4.0.0", - "contentHash": "hWPhJxc453RCa8Z29O91EmfGeZIHX1ZH2A8L6lYQVSaKzku2DfArSfMEb1/MYYzPQRJZeu0c9dmYeJKxW5Fgng==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.0.1", - "System.Reflection": "4.1.0", - "System.Resources.ResourceManager": "4.0.1", - "System.Runtime": "4.1.0", - "System.Runtime.InteropServices": "4.1.0", - "System.Threading": "4.0.11", - "runtime.native.System": "4.0.0" - } - }, - "System.Runtime.Numerics": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "yMH+MfdzHjy17l2KESnPiF2dwq7T+xLnSJar7slyimAkUh/gTrS9/UQOtv7xarskJ2/XDSNvfLGOBQPjL7PaHQ==", - "dependencies": { - "System.Globalization": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0" - } - }, - "System.Security.Cryptography.Algorithms": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "W1kd2Y8mYSCgc3ULTAZ0hOP2dSdG5YauTb1089T0/kRcN2MpSAW1izOFROrJgxSlMn3ArsgHXagigyi+ibhevg==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "System.Collections": "4.3.0", - "System.IO": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.Handles": "4.3.0", - "System.Runtime.InteropServices": "4.3.0", - "System.Runtime.Numerics": "4.3.0", - "System.Security.Cryptography.Encoding": "4.3.0", - "System.Security.Cryptography.Primitives": "4.3.0", - "System.Text.Encoding": "4.3.0", - "runtime.native.System.Security.Cryptography.Apple": "4.3.0", - "runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0" - } - }, - "System.Security.Cryptography.Cng": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "03idZOqFlsKRL4W+LuCpJ6dBYDUWReug6lZjBa3uJWnk5sPCUXckocevTaUA8iT/MFSrY/2HXkOt753xQ/cf8g==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "System.IO": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.Handles": "4.3.0", - "System.Runtime.InteropServices": "4.3.0", - "System.Security.Cryptography.Algorithms": "4.3.0", - "System.Security.Cryptography.Encoding": "4.3.0", - "System.Security.Cryptography.Primitives": "4.3.0", - "System.Text.Encoding": "4.3.0" - } - }, - "System.Security.Cryptography.Csp": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "X4s/FCkEUnRGnwR3aSfVIkldBmtURMhmexALNTwpjklzxWU7yjMk7GHLKOZTNkgnWnE0q7+BCf9N2LVRWxewaA==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "System.IO": "4.3.0", - "System.Reflection": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.Handles": "4.3.0", - "System.Runtime.InteropServices": "4.3.0", - "System.Security.Cryptography.Algorithms": "4.3.0", - "System.Security.Cryptography.Encoding": "4.3.0", - "System.Security.Cryptography.Primitives": "4.3.0", - "System.Text.Encoding": "4.3.0", - "System.Threading": "4.3.0" - } - }, - "System.Security.Cryptography.Encoding": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "1DEWjZZly9ae9C79vFwqaO5kaOlI5q+3/55ohmq/7dpDyDfc8lYe7YVxJUZ5MF/NtbkRjwFRo14yM4OEo9EmDw==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "System.Collections": "4.3.0", - "System.Collections.Concurrent": "4.3.0", - "System.Linq": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.Handles": "4.3.0", - "System.Runtime.InteropServices": "4.3.0", - "System.Security.Cryptography.Primitives": "4.3.0", - "System.Text.Encoding": "4.3.0", - "runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0" - } - }, - "System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "h4CEgOgv5PKVF/HwaHzJRiVboL2THYCou97zpmhjghx5frc7fIvlkY1jL+lnIQyChrJDMNEXS6r7byGif8Cy4w==", - "dependencies": { - "System.Collections": "4.3.0", - "System.IO": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.Handles": "4.3.0", - "System.Runtime.InteropServices": "4.3.0", - "System.Runtime.Numerics": "4.3.0", - "System.Security.Cryptography.Algorithms": "4.3.0", - "System.Security.Cryptography.Encoding": "4.3.0", - "System.Security.Cryptography.Primitives": "4.3.0", - "System.Text.Encoding": "4.3.0", - "runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0" - } - }, - "System.Security.Cryptography.Primitives": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "7bDIyVFNL/xKeFHjhobUAQqSpJq9YTOpbEs6mR233Et01STBMXNAc/V+BM6dwYGc95gVh/Zf+iVXWzj3mE8DWg==", - "dependencies": { - "System.Diagnostics.Debug": "4.3.0", - "System.Globalization": "4.3.0", - "System.IO": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Threading": "4.3.0", - "System.Threading.Tasks": "4.3.0" - } - }, - "System.Security.Cryptography.X509Certificates": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "t2Tmu6Y2NtJ2um0RtcuhP7ZdNNxXEgUm2JeoA/0NvlMjAhKCnM1NX07TDl3244mVp3QU6LPEhT3HTtH1uF7IYw==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "System.Collections": "4.3.0", - "System.Diagnostics.Debug": "4.3.0", - "System.Globalization": "4.3.0", - "System.Globalization.Calendars": "4.3.0", - "System.IO": "4.3.0", - "System.IO.FileSystem": "4.3.0", - "System.IO.FileSystem.Primitives": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.Handles": "4.3.0", - "System.Runtime.InteropServices": "4.3.0", - "System.Runtime.Numerics": "4.3.0", - "System.Security.Cryptography.Algorithms": "4.3.0", - "System.Security.Cryptography.Cng": "4.3.0", - "System.Security.Cryptography.Csp": "4.3.0", - "System.Security.Cryptography.Encoding": "4.3.0", - "System.Security.Cryptography.OpenSsl": "4.3.0", - "System.Security.Cryptography.Primitives": "4.3.0", - "System.Text.Encoding": "4.3.0", - "System.Threading": "4.3.0", - "runtime.native.System": "4.3.0", - "runtime.native.System.Net.Http": "4.3.0", - "runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0" - } - }, - "System.Text.Encoding": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "BiIg+KWaSDOITze6jGQynxg64naAPtqGHBwDrLaCtixsa5bKiR8dpPOHA7ge3C0JJQizJE+sfkz1wV+BAKAYZw==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } - }, - "System.Text.Encoding.Extensions": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "YVMK0Bt/A43RmwizJoZ22ei2nmrhobgeiYwFzC4YAN+nue8RF6djXDMog0UCn+brerQoYVyaS+ghy9P/MUVcmw==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0", - "System.Text.Encoding": "4.3.0" - } - }, - "System.Text.Encodings.Web": { - "type": "Transitive", - "resolved": "8.0.0", - "contentHash": "yev/k9GHAEGx2Rg3/tU6MQh4HGBXJs70y7j1LaM1i/ER9po+6nnQ6RRqTJn1E7Xu0fbIFK80Nh5EoODxrbxwBQ==", - "dependencies": { - "System.Buffers": "4.5.1", - "System.Memory": "4.5.5", - "System.Runtime.CompilerServices.Unsafe": "6.0.0" - } - }, - "System.Text.Json": { - "type": "Transitive", - "resolved": "8.0.4", - "contentHash": "bAkhgDJ88XTsqczoxEMliSrpijKZHhbJQldhAmObj/RbrN3sU5dcokuXmWJWsdQAhiMJ9bTayWsL1C9fbbCRhw==", - "dependencies": { - "Microsoft.Bcl.AsyncInterfaces": "8.0.0", - "System.Buffers": "4.5.1", - "System.Memory": "4.5.5", - "System.Runtime.CompilerServices.Unsafe": "6.0.0", - "System.Text.Encodings.Web": "8.0.0", - "System.Threading.Tasks.Extensions": "4.5.4" - } - }, - "System.Text.RegularExpressions": { - "type": "Transitive", - "resolved": "4.1.0", - "contentHash": "i88YCXpRTjCnoSQZtdlHkAOx4KNNik4hMy83n0+Ftlb7jvV6ZiZWMpnEZHhjBp6hQVh8gWd/iKNPzlPF7iyA2g==", - "dependencies": { - "System.Collections": "4.0.11", - "System.Globalization": "4.0.11", - "System.Resources.ResourceManager": "4.0.1", - "System.Runtime": "4.1.0", - "System.Runtime.Extensions": "4.1.0", - "System.Threading": "4.0.11" - } - }, - "System.Threading": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "VkUS0kOBcUf3Wwm0TSbrevDDZ6BlM+b/HRiapRFWjM5O0NS0LviG0glKmFK+hhPDd1XFeSdU1GmlLhb2CoVpIw==", - "dependencies": { - "System.Runtime": "4.3.0", - "System.Threading.Tasks": "4.3.0" - } - }, - "System.Threading.Tasks": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "LbSxKEdOUhVe8BezB/9uOGGppt+nZf6e1VFyw6v3DN6lqitm0OSn2uXMOdtP0M3W4iMcqcivm2J6UgqiwwnXiA==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } - }, - "System.Threading.Tasks.Extensions": { - "type": "Transitive", - "resolved": "4.5.4", - "contentHash": "zteT+G8xuGu6mS+mzDzYXbzS7rd3K6Fjb9RiZlYlJPam2/hU7JCBZBVEcywNuR+oZ1ncTvc/cq0faRr3P01OVg==", - "dependencies": { - "System.Runtime.CompilerServices.Unsafe": "4.5.3" - } - }, - "System.Threading.Thread": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "OHmbT+Zz065NKII/ZHcH9XO1dEuLGI1L2k7uYss+9C1jLxTC9kTZZuzUOyXHayRk+dft9CiDf3I/QZ0t8JKyBQ==", - "dependencies": { - "System.Runtime": "4.3.0" - } - }, - "System.Threading.ThreadPool": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "k/+g4b7vjdd4aix83sTgC9VG6oXYKAktSfNIJUNGxPEj7ryEOfzHHhfnmsZvjxawwcD9HyWXKCXmPjX8U4zeSw==", - "dependencies": { - "System.Runtime": "4.3.0", - "System.Runtime.Handles": "4.3.0" - } - }, - "System.Threading.Timer": { - "type": "Transitive", - "resolved": "4.0.1", - "contentHash": "saGfUV8uqVW6LeURiqxcGhZ24PzuRNaUBtbhVeuUAvky1naH395A/1nY0P2bWvrw/BreRtIB/EzTDkGBpqCwEw==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.0.1", - "Microsoft.NETCore.Targets": "1.0.1", - "System.Runtime": "4.1.0" - } - }, - "System.Xml.ReaderWriter": { - "type": "Transitive", - "resolved": "4.0.11", - "contentHash": "ZIiLPsf67YZ9zgr31vzrFaYQqxRPX9cVHjtPSnmx4eN6lbS/yEyYNr2vs1doGDEscF0tjCZFsk9yUg1sC9e8tg==", - "dependencies": { - "System.Collections": "4.0.11", - "System.Diagnostics.Debug": "4.0.11", - "System.Globalization": "4.0.11", - "System.IO": "4.1.0", - "System.IO.FileSystem": "4.0.1", - "System.IO.FileSystem.Primitives": "4.0.1", - "System.Resources.ResourceManager": "4.0.1", - "System.Runtime": "4.1.0", - "System.Runtime.Extensions": "4.1.0", - "System.Runtime.InteropServices": "4.1.0", - "System.Text.Encoding": "4.0.11", - "System.Text.Encoding.Extensions": "4.0.11", - "System.Text.RegularExpressions": "4.1.0", - "System.Threading.Tasks": "4.0.11", - "System.Threading.Tasks.Extensions": "4.0.0" - } - }, - "System.Xml.XDocument": { - "type": "Transitive", - "resolved": "4.0.11", - "contentHash": "Mk2mKmPi0nWaoiYeotq1dgeNK1fqWh61+EK+w4Wu8SWuTYLzpUnschb59bJtGywaPq7SmTuPf44wrXRwbIrukg==", - "dependencies": { - "System.Collections": "4.0.11", - "System.Diagnostics.Debug": "4.0.11", - "System.Diagnostics.Tools": "4.0.1", - "System.Globalization": "4.0.11", - "System.IO": "4.1.0", - "System.Reflection": "4.1.0", - "System.Resources.ResourceManager": "4.0.1", - "System.Runtime": "4.1.0", - "System.Runtime.Extensions": "4.1.0", - "System.Text.Encoding": "4.0.11", - "System.Threading": "4.0.11", - "System.Xml.ReaderWriter": "4.0.11" - } - }, - "elastic.clients.elasticsearch": { - "type": "Project", - "dependencies": { - "Elastic.Transport": "[0.4.22, )" - } - }, - "tests.configuration": { - "type": "Project", - "dependencies": { - "Elastic.Elasticsearch.Managed": "[0.4.3, )" - } - } - } - } -} \ No newline at end of file diff --git a/tests/Tests/Aggregations/Metric/GeoCentroidAggregationUsageTests.cs b/tests/Tests/Aggregations/Metric/GeoCentroidAggregationUsageTests.cs index baf1e564c3f..eb7de64e21f 100644 --- a/tests/Tests/Aggregations/Metric/GeoCentroidAggregationUsageTests.cs +++ b/tests/Tests/Aggregations/Metric/GeoCentroidAggregationUsageTests.cs @@ -8,7 +8,6 @@ using Tests.Domain; using Tests.Core.Extensions; using Tests.Framework.EndpointTests.TestState; -using Elastic.Clients.Elasticsearch.Experimental; using Elastic.Clients.Elasticsearch.QueryDsl; namespace Tests.Aggregations.Metric; diff --git a/tests/Tests/ClientConcepts/OpenTelemetry/OpenTelemetryTests.cs b/tests/Tests/ClientConcepts/OpenTelemetry/OpenTelemetryTests.cs index c6339d9d1af..3fb2b955881 100644 --- a/tests/Tests/ClientConcepts/OpenTelemetry/OpenTelemetryTests.cs +++ b/tests/Tests/ClientConcepts/OpenTelemetry/OpenTelemetryTests.cs @@ -4,6 +4,8 @@ using System.Diagnostics; using System.Threading.Tasks; +using Elastic.Elasticsearch.Xunit.XunitPlumbing; +using FluentAssertions; using Tests.Core.Client; using Tests.Domain; using Xunit; @@ -36,7 +38,7 @@ public async Task BasicOpenTelemetryTest() VerifyActivity(oTelActivity, "ping"); - await client.SearchAsync(s => s.Index("test").Query(q => q.MatchAll())); + await client.SearchAsync(s => s.Index("test").Query(q => q.MatchAll(m => { }))); VerifyActivity(oTelActivity, "search", "http://localhost:9200/test/_search?pretty=true&error_trace=true"); diff --git a/tests/Tests/QueryDsl/BoolDsl/OperatorUsageBase.cs b/tests/Tests/QueryDsl/BoolDsl/OperatorUsageBase.cs index 34c25690561..b8a4df4f109 100644 --- a/tests/Tests/QueryDsl/BoolDsl/OperatorUsageBase.cs +++ b/tests/Tests/QueryDsl/BoolDsl/OperatorUsageBase.cs @@ -25,7 +25,7 @@ protected static void ReturnsBool(Query combined, Action boolQueryAss boolQueryAssert(boolQuery); } - protected static void ReturnsSingleQuery(Query combined, Action queryAssert) where T : SearchQuery + protected static void ReturnsSingleQuery(Query combined, Action queryAssert) where T : Query { combined.Should().NotBeNull(); combined.TryGet(out var query).Should().BeTrue(); diff --git a/tests/Tests/Tests.csproj b/tests/Tests/Tests.csproj index b396faa7e5b..15778c2dbf2 100644 --- a/tests/Tests/Tests.csproj +++ b/tests/Tests/Tests.csproj @@ -33,4 +33,10 @@ + + + + + + \ No newline at end of file diff --git a/tests/Tests/packages.lock.json b/tests/Tests/packages.lock.json deleted file mode 100644 index db746e240ce..00000000000 --- a/tests/Tests/packages.lock.json +++ /dev/null @@ -1,3074 +0,0 @@ -{ - "version": 1, - "dependencies": { - "net6.0": { - "Ben.Demystifier": { - "type": "Direct", - "requested": "[0.1.4, )", - "resolved": "0.1.4", - "contentHash": "+t5j6MizCTkWh1oZm9RdLIJfEWYRIPFBDe7E+H0pqjAzHbRm6oyhm5Rsf8kPGQZXNdDur9YwkSyXUe7eAIRbLw==", - "dependencies": { - "System.Reflection.Metadata": "1.5.0" - } - }, - "Bogus": { - "type": "Direct", - "requested": "[22.1.2, )", - "resolved": "22.1.2", - "contentHash": "FnYg++zOsFkN3wQJcPT6U4bmZoW/zDWp474QsZG2KX/ClCiEOwIfUxJ9xuKgwv46K0LvVoicQD09hgPke0FG1A==" - }, - "DotNet.ReproducibleBuilds": { - "type": "Direct", - "requested": "[1.1.1, )", - "resolved": "1.1.1", - "contentHash": "+H2t/t34h6mhEoUvHi8yGXyuZ2GjSovcGYehJrS2MDm2XgmPfZL2Sdxg+uL2lKgZ4M6tTwKHIlxOob2bgh0NRQ==", - "dependencies": { - "Microsoft.SourceLink.AzureRepos.Git": "1.1.1", - "Microsoft.SourceLink.Bitbucket.Git": "1.1.1", - "Microsoft.SourceLink.GitHub": "1.1.1", - "Microsoft.SourceLink.GitLab": "1.1.1" - } - }, - "Elastic.Transport.VirtualizedCluster": { - "type": "Direct", - "requested": "[0.4.22, )", - "resolved": "0.4.22", - "contentHash": "r8iOvUkTNWVsjW/1t/QkcUhH1r5LlzntT50nDW1oyEoTqRQS81JtYLvvyFrViPEbMiTh02wMUF7GIFVyQgl/Og==", - "dependencies": { - "Elastic.Transport": "0.4.22" - } - }, - "FSharp.Core": { - "type": "Direct", - "requested": "[6.0.3, )", - "resolved": "6.0.3", - "contentHash": "ywxwMhsA1nG2hsRSMl3IzYvdugrSoFg/ZY99cuBqV0SX0yp8ubD6Hee8Bh3YwaF2Ucyq/Jz8lZ0MY5VjxgogbA==" - }, - "Microsoft.NET.Test.Sdk": { - "type": "Direct", - "requested": "[17.3.1, )", - "resolved": "17.3.1", - "contentHash": "jH9W5uYannaJ3HhrPBkzSidf3WkqP6XI+Yke0ODYVuFWM6GLVtBAyNgXvU/uQXPBsHq4aysLTsrN1FvG2hlKoQ==", - "dependencies": { - "Microsoft.CodeCoverage": "17.3.1", - "Microsoft.TestPlatform.TestHost": "17.3.1" - } - }, - "Microsoft.NETFramework.ReferenceAssemblies": { - "type": "Direct", - "requested": "[1.0.2, )", - "resolved": "1.0.2", - "contentHash": "5/cSEVld+px/CuRrbohO/djfg6++eR6zGpy88MgqloXvkj//WXWpFZyu/OpkXPN0u5m+dN/EVwLNYFUxD4h2+A==", - "dependencies": { - "Microsoft.NETFramework.ReferenceAssemblies.net461": "1.0.2" - } - }, - "Newtonsoft.Json": { - "type": "Direct", - "requested": "[13.0.1, )", - "resolved": "13.0.1", - "contentHash": "ppPFpBcvxdsfUonNcvITKqLl3bqxWbDCZIzDWHzjpdAHRFfZe0Dw9HmA0+za13IdyrgJwpkDTDA9fHaxOrt20A==" - }, - "SemanticVersioning": { - "type": "Direct", - "requested": "[0.8.0, )", - "resolved": "0.8.0", - "contentHash": "hUCnQL79hU0W6X4jPeMAtGDwoEJeBEZfGBnkT+jPG45lD7KHn4h61HgYN8y1HAjPrXmC5oJcLx3l8ygPJOqvlA==", - "dependencies": { - "NETStandard.Library": "1.6.0" - } - }, - "SharpZipLib": { - "type": "Direct", - "requested": "[1.3.3, )", - "resolved": "1.3.3", - "contentHash": "N8+hwhsKZm25tDJfWpBSW7EGhH/R7EMuiX+KJ4C4u+fCWVc1lJ5zg1u3S1RPPVYgTqhx/C3hxrqUpi6RwK5+Tg==" - }, - "System.Diagnostics.FileVersionInfo": { - "type": "Direct", - "requested": "[4.3.0, )", - "resolved": "4.3.0", - "contentHash": "omCF64wzQ3Q2CeIqkD6lmmxeMZtGHUmzgFMPjfVaOsyqpR66p/JaZzManMw1s33osoAb5gqpncsjie67+yUPHQ==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "System.Globalization": "4.3.0", - "System.IO": "4.3.0", - "System.IO.FileSystem": "4.3.0", - "System.IO.FileSystem.Primitives": "4.3.0", - "System.Reflection.Metadata": "1.4.1", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.InteropServices": "4.3.0" - } - }, - "System.Reactive": { - "type": "Direct", - "requested": "[3.1.1, )", - "resolved": "3.1.1", - "contentHash": "elkQdVQoBVX39BHrYHMc3Rnbb7a9qBJIwNCvhq1psPMOEPo62/VHB0lJu671x3fOrGL4V/85n6p2Az1tw7Kvmg==", - "dependencies": { - "System.Reactive.PlatformServices": "3.1.1" - } - }, - "Verify.Xunit": { - "type": "Direct", - "requested": "[17.10.2, )", - "resolved": "17.10.2", - "contentHash": "9k4cmIA15EfWpC0oHgo9gEKHpIizxsXZs4f2y5OGea13gYUPFqa+06ncm6zaU4qL+jAewpX8jRoHVZgNpKW3Gw==", - "dependencies": { - "EmptyFiles": "2.8.0", - "Verify": "17.10.2", - "xunit.abstractions": "2.0.3", - "xunit.assert": "2.4.2", - "xunit.extensibility.execution": "2.4.2" - } - }, - "xunit.extensibility.execution": { - "type": "Direct", - "requested": "[2.4.2, )", - "resolved": "2.4.2", - "contentHash": "CZmgcKkwpyo8FlupZdWpJCryrAOWLh1FBPG6gmVZuPQkGQsim/oL4PcP4nfrC2hHgXUFtluvaJ0Sp9PQKUMNpg==", - "dependencies": { - "NETStandard.Library": "1.6.1", - "xunit.extensibility.core": "[2.4.2]" - } - }, - "xunit.runner.visualstudio": { - "type": "Direct", - "requested": "[2.4.5, )", - "resolved": "2.4.5", - "contentHash": "OwHamvBdUKgqsXfBzWiCW/O98BTx81UKzx2bieIOQI7CZFE5NEQZGi8PBQGIKawDW96xeRffiNf20SjfC0x9hw==" - }, - "DiffEngine": { - "type": "Transitive", - "resolved": "10.0.0", - "contentHash": "H8F7V1zRHkWLP5AW9lCxZypanXlFRT8n7P9Ou8cxz189Yg8TEw5FwTqQCaXjVPRjfE8621lhblpQrghbGJgDZw==", - "dependencies": { - "EmptyFiles": "2.8.0", - "System.Management": "5.0.0" - } - }, - "DiffPlex": { - "type": "Transitive", - "resolved": "1.4.1", - "contentHash": "xZLcguPf0Gl67Ygz8XIhiQmTeUIs/M4eB9ylOelNGnHMvmqxe9bQ89omVJdoSO6gvc4NSmonHGL+zfwrSEjGnA==", - "dependencies": { - "NETStandard.Library": "1.6.1" - } - }, - "Elastic.Elasticsearch.Ephemeral": { - "type": "Transitive", - "resolved": "0.4.3", - "contentHash": "fmu7A6bm3sOTGrG+MAINRQ2Op0n6K1OjfNErNMhpTOt5mQ0UjX8zfpiZoM+nB0jA8bX1nt1YR++5YCnYGJFtRg==", - "dependencies": { - "Elastic.Elasticsearch.Managed": "0.4.3", - "SharpZipLib.NETStandard": "1.0.7" - } - }, - "Elastic.Elasticsearch.Managed": { - "type": "Transitive", - "resolved": "0.4.3", - "contentHash": "B7FvSMeNqYM3Yl/r/QRyROuAkMSiSQ0EvZQ36Cqrxm6uRBodlwky4yy4Im/AnOIQIl5lFLGr4vLHwWedHPharw==", - "dependencies": { - "Elastic.Stack.ArtifactsApi": "0.4.3", - "Proc": "0.6.1", - "System.Net.Http": "4.3.1" - } - }, - "Elastic.Elasticsearch.Xunit": { - "type": "Transitive", - "resolved": "0.4.3", - "contentHash": "kKn9Fiihel643Rywvl1bH2luQdhuefMh7wVPaLViEj8olU5Ud0bb1nZ8AFhm4PnEbLjw5PZ49Pn5hvyoYnJesQ==", - "dependencies": { - "Elastic.Elasticsearch.Ephemeral": "0.4.3", - "xunit": "2.4.1" - } - }, - "Elastic.Stack.ArtifactsApi": { - "type": "Transitive", - "resolved": "0.4.3", - "contentHash": "mqfBDj5s8Gj6QWNYmCNJo2raxbzn8fUBk+eSxA5HeDYjEXoK52kOBvFSy4bL9Qaz+EW6JvOvt8nw0cm5MorJUA==", - "dependencies": { - "SemanticVersioning": "0.8.0", - "System.Text.Json": "4.6.0" - } - }, - "Elastic.Transport": { - "type": "Transitive", - "resolved": "0.4.22", - "contentHash": "9J5GPHJcT8sewn2zVfWTrsCQvfQYgUiY/jx+IRjWUk7XNPd837qfEL42I5baH69cyW/e4RoDy8v76yxqz95tDw==", - "dependencies": { - "System.Diagnostics.DiagnosticSource": "8.0.0", - "System.Text.Json": "8.0.4" - } - }, - "EmptyFiles": { - "type": "Transitive", - "resolved": "2.8.0", - "contentHash": "2N6IdrlSYT+FhX5hAbasJ7wpV/ONtIX+7fN+XXukwGAgHRNjiAoO0TScQsTZcgaXmbuvGu4ogKk0jPt2dVLgTQ==" - }, - "FluentAssertions": { - "type": "Transitive", - "resolved": "5.10.3", - "contentHash": "gVPEVp1hLVqcv+7Q2wiDf7kqCNn7+bQcQ0jbJ2mcRT6CeRoZl1tNkqvzSIhvekyldDptk77j1b03MXTTRIqqpg==", - "dependencies": { - "System.Configuration.ConfigurationManager": "4.4.0" - } - }, - "JunitXml.TestLogger": { - "type": "Transitive", - "resolved": "3.0.110", - "contentHash": "D0Kl9mNnbSZgEa8ZgsEAJskPvyrC9k+5BsEWUqvNr++BZJbYIb08fwe0ohvb6WEzJlMPmeLJMmvQuw5yIq3gjA==" - }, - "Microsoft.Bcl.HashCode": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "MalY0Y/uM/LjXtHfX/26l2VtN4LDNZ2OE3aumNOHDLsT4fNYy2hiHXI4CXCqKpNUNm7iJ2brrc4J89UdaL56FA==" - }, - "Microsoft.Build.Tasks.Git": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "AT3HlgTjsqHnWpBHSNeR0KxbLZD7bztlZVj7I8vgeYG9SYqbeFGh0TM/KVtC6fg53nrWHl3VfZFvb5BiQFcY6Q==" - }, - "Microsoft.CodeCoverage": { - "type": "Transitive", - "resolved": "17.3.1", - "contentHash": "WqB7Ik4v8ku0Y9HZShqTStZdq8R1lyhsZr7IMp8zV/OcL5sHVYvlMnardQR+SDQc3dmbniCIl9mYxYM+V7x8MA==" - }, - "Microsoft.NETCore.Platforms": { - "type": "Transitive", - "resolved": "5.0.0", - "contentHash": "VyPlqzH2wavqquTcYpkIIAQ6WdenuKoFN0BdYBbCWsclXacSOHNQn66Gt4z5NBqEYW0FAPm5rlvki9ZiCij5xQ==" - }, - "Microsoft.NETCore.Targets": { - "type": "Transitive", - "resolved": "1.1.0", - "contentHash": "aOZA3BWfz9RXjpzt0sRJJMjAscAUm3Hoa4UWAfceV9UTYxgwZ1lZt5nO2myFf+/jetYQo4uTP7zS8sJY67BBxg==" - }, - "Microsoft.NETFramework.ReferenceAssemblies.net461": { - "type": "Transitive", - "resolved": "1.0.2", - "contentHash": "8shzGaD5pZi4npuJYCM3de6pl0zlefcbyTIvXIiCdsTqauZ7lAhdaJVtJSqlhYid9VosFAOygBykoJ1SEOlGWA==" - }, - "Microsoft.SourceLink.AzureRepos.Git": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "qB5urvw9LO2bG3eVAkuL+2ughxz2rR7aYgm2iyrB8Rlk9cp2ndvGRCvehk3rNIhRuNtQaeKwctOl1KvWiklv5w==", - "dependencies": { - "Microsoft.Build.Tasks.Git": "1.1.1", - "Microsoft.SourceLink.Common": "1.1.1" - } - }, - "Microsoft.SourceLink.Bitbucket.Git": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "cDzxXwlyWpLWaH0em4Idj0H3AmVo3L/6xRXKssYemx+7W52iNskj/SQ4FOmfCb8YQt39otTDNMveCZzYtMoucQ==", - "dependencies": { - "Microsoft.Build.Tasks.Git": "1.1.1", - "Microsoft.SourceLink.Common": "1.1.1" - } - }, - "Microsoft.SourceLink.Common": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "WMcGpWKrmJmzrNeuaEb23bEMnbtR/vLmvZtkAP5qWu7vQsY59GqfRJd65sFpBszbd2k/bQ8cs8eWawQKAabkVg==" - }, - "Microsoft.SourceLink.GitHub": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "IaJGnOv/M7UQjRJks7B6p7pbPnOwisYGOIzqCz5ilGFTApZ3ktOR+6zJ12ZRPInulBmdAf1SrGdDG2MU8g6XTw==", - "dependencies": { - "Microsoft.Build.Tasks.Git": "1.1.1", - "Microsoft.SourceLink.Common": "1.1.1" - } - }, - "Microsoft.SourceLink.GitLab": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "tvsg47DDLqqedlPeYVE2lmiTpND8F0hkrealQ5hYltSmvruy/Gr5nHAKSsjyw5L3NeM/HLMI5ORv7on/M4qyZw==", - "dependencies": { - "Microsoft.Build.Tasks.Git": "1.1.1", - "Microsoft.SourceLink.Common": "1.1.1" - } - }, - "Microsoft.TestPlatform.ObjectModel": { - "type": "Transitive", - "resolved": "17.3.1", - "contentHash": "n1WSFCMiFt6KmD5JzV+Wye5Ntomez3YP2+d15bu5PS5Z1U0g+V7VBLdJIaJRnahz5BsXJDTnLYNVOUdntwjx6Q==", - "dependencies": { - "NuGet.Frameworks": "5.11.0", - "System.Reflection.Metadata": "1.6.0" - } - }, - "Microsoft.TestPlatform.TestHost": { - "type": "Transitive", - "resolved": "17.3.1", - "contentHash": "co/GMz6rGxpzn2aJYTDDim61HvEk+SHBVtbXnu2RSrz20HxkaraEh0kltCsMkmLAX/6Hz5sa6NquLngBlURTow==", - "dependencies": { - "Microsoft.TestPlatform.ObjectModel": "17.3.1", - "Newtonsoft.Json": "9.0.1" - } - }, - "Microsoft.Win32.Primitives": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "9ZQKCWxH7Ijp9BfahvL2Zyf1cJIk8XYLF6Yjzr2yi0b2cOut/HQ31qf1ThHAgCc3WiZMdnWcfJCgN82/0UunxA==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } - }, - "Microsoft.Win32.Registry": { - "type": "Transitive", - "resolved": "5.0.0", - "contentHash": "dDoKi0PnDz31yAyETfRntsLArTlVAVzUzCIvvEDsDsucrl33Dl8pIJG06ePTJTI3tGpeyHS9Cq7Foc/s4EeKcg==", - "dependencies": { - "System.Security.AccessControl": "5.0.0", - "System.Security.Principal.Windows": "5.0.0" - } - }, - "NETStandard.Library": { - "type": "Transitive", - "resolved": "1.6.1", - "contentHash": "WcSp3+vP+yHNgS8EV5J7pZ9IRpeDuARBPN28by8zqff1wJQXm26PVU8L3/fYLBJVU7BtDyqNVWq2KlCVvSSR4A==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.Win32.Primitives": "4.3.0", - "System.AppContext": "4.3.0", - "System.Collections": "4.3.0", - "System.Collections.Concurrent": "4.3.0", - "System.Console": "4.3.0", - "System.Diagnostics.Debug": "4.3.0", - "System.Diagnostics.Tools": "4.3.0", - "System.Diagnostics.Tracing": "4.3.0", - "System.Globalization": "4.3.0", - "System.Globalization.Calendars": "4.3.0", - "System.IO": "4.3.0", - "System.IO.Compression": "4.3.0", - "System.IO.Compression.ZipFile": "4.3.0", - "System.IO.FileSystem": "4.3.0", - "System.IO.FileSystem.Primitives": "4.3.0", - "System.Linq": "4.3.0", - "System.Linq.Expressions": "4.3.0", - "System.Net.Http": "4.3.0", - "System.Net.Primitives": "4.3.0", - "System.Net.Sockets": "4.3.0", - "System.ObjectModel": "4.3.0", - "System.Reflection": "4.3.0", - "System.Reflection.Extensions": "4.3.0", - "System.Reflection.Primitives": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.Handles": "4.3.0", - "System.Runtime.InteropServices": "4.3.0", - "System.Runtime.InteropServices.RuntimeInformation": "4.3.0", - "System.Runtime.Numerics": "4.3.0", - "System.Security.Cryptography.Algorithms": "4.3.0", - "System.Security.Cryptography.Encoding": "4.3.0", - "System.Security.Cryptography.Primitives": "4.3.0", - "System.Security.Cryptography.X509Certificates": "4.3.0", - "System.Text.Encoding": "4.3.0", - "System.Text.Encoding.Extensions": "4.3.0", - "System.Text.RegularExpressions": "4.3.0", - "System.Threading": "4.3.0", - "System.Threading.Tasks": "4.3.0", - "System.Threading.Timer": "4.3.0", - "System.Xml.ReaderWriter": "4.3.0", - "System.Xml.XDocument": "4.3.0" - } - }, - "NuGet.Frameworks": { - "type": "Transitive", - "resolved": "5.11.0", - "contentHash": "eaiXkUjC4NPcquGWzAGMXjuxvLwc6XGKMptSyOGQeT0X70BUZObuybJFZLA0OfTdueLd3US23NBPTBb6iF3V1Q==" - }, - "Nullean.VsTest.Pretty.TestLogger": { - "type": "Transitive", - "resolved": "0.3.0", - "contentHash": "11Cklf+kZ1JS+l3CRZaWQaQHmRm0Je/iIrci6bwY5c9/QXrCuYgWe/A2w0G1eYe33QU5sgUmds48Y7HQFK89mw==", - "dependencies": { - "Microsoft.TestPlatform.ObjectModel": "15.8.0" - } - }, - "Proc": { - "type": "Transitive", - "resolved": "0.6.1", - "contentHash": "xRSCfgQNoGy60MOuvD2X1euzqvWDoyfpB8NAfVs2E5K5U1I8cA9MvVY6NbUkp5ApbOmVXls2JEPrOn8rQi2Pzg==", - "dependencies": { - "System.Diagnostics.Process": "[4.3.0]", - "System.Threading.Thread": "[4.3.0]" - } - }, - "runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "HdSSp5MnJSsg08KMfZThpuLPJpPwE5hBXvHwoKWosyHHfe8Mh5WKT0ylEOf6yNzX6Ngjxe4Whkafh5q7Ymac4Q==" - }, - "runtime.fedora.23-x64.runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "+yH1a49wJMy8Zt4yx5RhJrxO/DBDByAiCzNwiETI+1S4mPdCu0OY4djdciC7Vssk0l22wQaDLrXxXkp+3+7bVA==" - }, - "runtime.fedora.24-x64.runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "c3YNH1GQJbfIPJeCnr4avseugSqPrxwIqzthYyZDN6EuOyNOzq+y2KSUfRcXauya1sF4foESTgwM5e1A8arAKw==" - }, - "runtime.native.System": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "c/qWt2LieNZIj1jGnVNsE2Kl23Ya2aSTBuXMD6V7k9KWr6l16Tqdwq+hJScEpWER9753NWC8h96PaVNY5Ld7Jw==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0" - } - }, - "runtime.native.System.IO.Compression": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "INBPonS5QPEgn7naufQFXJEp3zX6L4bwHgJ/ZH78aBTpeNfQMtf7C6VrAFhlq2xxWBveIOWyFzQjJ8XzHMhdOQ==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0" - } - }, - "runtime.native.System.Net.Http": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "ZVuZJqnnegJhd2k/PtAbbIcZ3aZeITq3sj06oKfMBSfphW3HDmk/t4ObvbOk/JA/swGR0LNqMksAh/f7gpTROg==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0" - } - }, - "runtime.native.System.Security.Cryptography.Apple": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "DloMk88juo0OuOWr56QG7MNchmafTLYWvABy36izkrLI5VledI0rq28KGs1i9wbpeT9NPQrx/wTf8U2vazqQ3Q==", - "dependencies": { - "runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.Apple": "4.3.0" - } - }, - "runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "NS1U+700m4KFRHR5o4vo9DSlTmlCKu/u7dtE5sUHVIPB+xpXxYQvgBgA6wEIeCz6Yfn0Z52/72WYsToCEPJnrw==", - "dependencies": { - "runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0", - "runtime.fedora.23-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0", - "runtime.fedora.24-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0", - "runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0", - "runtime.opensuse.42.1-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0", - "runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0", - "runtime.rhel.7-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0", - "runtime.ubuntu.14.04-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0", - "runtime.ubuntu.16.04-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0", - "runtime.ubuntu.16.10-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0" - } - }, - "runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "b3pthNgxxFcD+Pc0WSEoC0+md3MyhRS6aCEeenvNE3Fdw1HyJ18ZhRFVJJzIeR/O/jpxPboB805Ho0T3Ul7w8A==" - }, - "runtime.opensuse.42.1-x64.runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "KeLz4HClKf+nFS7p/6Fi/CqyLXh81FpiGzcmuS8DGi9lUqSnZ6Es23/gv2O+1XVGfrbNmviF7CckBpavkBoIFQ==" - }, - "runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.Apple": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "kVXCuMTrTlxq4XOOMAysuNwsXWpYeboGddNGpIgNSZmv1b6r/s/DPk0fYMB7Q5Qo4bY68o48jt4T4y5BVecbCQ==" - }, - "runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "X7IdhILzr4ROXd8mI1BUCQMSHSQwelUlBjF1JyTKCjXaOGn2fB4EKBxQbCK2VjO3WaWIdlXZL3W6TiIVnrhX4g==" - }, - "runtime.rhel.7-x64.runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "nyFNiCk/r+VOiIqreLix8yN+q3Wga9+SE8BCgkf+2BwEKiNx6DyvFjCgkfV743/grxv8jHJ8gUK4XEQw7yzRYg==" - }, - "runtime.ubuntu.14.04-x64.runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "ytoewC6wGorL7KoCAvRfsgoJPJbNq+64k2SqW6JcOAebWsFUvCCYgfzQMrnpvPiEl4OrblUlhF2ji+Q1+SVLrQ==" - }, - "runtime.ubuntu.16.04-x64.runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "I8bKw2I8k58Wx7fMKQJn2R8lamboCAiHfHeV/pS65ScKWMMI0+wJkLYlEKvgW1D/XvSl/221clBoR2q9QNNM7A==" - }, - "runtime.ubuntu.16.10-x64.runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "VB5cn/7OzUfzdnC8tqAIMQciVLiq2epm2NrAm1E9OjNRyG4lVhfR61SMcLizejzQP8R8Uf/0l5qOIbUEi+RdEg==" - }, - "SharpZipLib.NETStandard": { - "type": "Transitive", - "resolved": "1.0.7", - "contentHash": "mYKPizF2CY32RQB8FITYy0e30gVgItFA63SFquruaxq+votwL1T+yOfssK10v4enBcxklr8ks48hS1emw5TTXg==", - "dependencies": { - "NETStandard.Library": "1.6.1" - } - }, - "SimpleInfoName": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "btPTv2TaAx8AbVX/uokw+W/9Fd1y+pqgPR9tOzq7Lfu3HmXRnTCT5jgGMw/sq4QwocOj3TnVjZsPpjfwuhjcIw==" - }, - "System.AppContext": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "fKC+rmaLfeIzUhagxY17Q9siv/sPrjjKcfNg1Ic8IlQkZLipo8ljcaZQu4VtI4Jqbzjc2VTjzGLF6WmsRXAEgA==", - "dependencies": { - "System.Runtime": "4.3.0" - } - }, - "System.Buffers": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "ratu44uTIHgeBeI0dE8DWvmXVBSo4u7ozRZZHOMmK/JPpYyo0dAfgSiHlpiObMQ5lEtEyIXA40sKRYg5J6A8uQ==", - "dependencies": { - "System.Diagnostics.Debug": "4.3.0", - "System.Diagnostics.Tracing": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Threading": "4.3.0" - } - }, - "System.CodeDom": { - "type": "Transitive", - "resolved": "5.0.0", - "contentHash": "JPJArwA1kdj8qDAkY2XGjSWoYnqiM7q/3yRNkt6n28Mnn95MuEGkZXUbPBf7qc3IjwrGY5ttQon7yqHZyQJmOQ==" - }, - "System.Collections": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "3Dcj85/TBdVpL5Zr+gEEBUuFe2icOnLalmEh9hfck1PTYbbyWuZgh4fmm2ysCLTrqLQw6t3TgTyJ+VLp+Qb+Lw==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } - }, - "System.Collections.Concurrent": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "ztl69Xp0Y/UXCL+3v3tEU+lIy+bvjKNUmopn1wep/a291pVPK7dxBd6T7WnlQqRog+d1a/hSsgRsmFnIBKTPLQ==", - "dependencies": { - "System.Collections": "4.3.0", - "System.Diagnostics.Debug": "4.3.0", - "System.Diagnostics.Tracing": "4.3.0", - "System.Globalization": "4.3.0", - "System.Reflection": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Threading": "4.3.0", - "System.Threading.Tasks": "4.3.0" - } - }, - "System.ComponentModel": { - "type": "Transitive", - "resolved": "4.0.1", - "contentHash": "oBZFnm7seFiVfugsIyOvQCWobNZs7FzqDV/B7tx20Ep/l3UUFCPDkdTnCNaJZTU27zjeODmy2C/cP60u3D4c9w==", - "dependencies": { - "System.Runtime": "4.1.0" - } - }, - "System.Configuration.ConfigurationManager": { - "type": "Transitive", - "resolved": "4.4.0", - "contentHash": "gWwQv/Ug1qWJmHCmN17nAbxJYmQBM/E94QxKLksvUiiKB1Ld3Sc/eK1lgmbSjDFxkQhVuayI/cGFZhpBSodLrg==", - "dependencies": { - "System.Security.Cryptography.ProtectedData": "4.4.0" - } - }, - "System.Console": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "DHDrIxiqk1h03m6khKWV2X8p/uvN79rgSqpilL6uzpmSfxfU5ng8VcPtW4qsDsQDHiTv6IPV9TmD5M/vElPNLg==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.IO": "4.3.0", - "System.Runtime": "4.3.0", - "System.Text.Encoding": "4.3.0" - } - }, - "System.Diagnostics.Contracts": { - "type": "Transitive", - "resolved": "4.0.1", - "contentHash": "HvQQjy712vnlpPxaloZYkuE78Gn353L0SJLJVeLcNASeg9c4qla2a1Xq8I7B3jZoDzKPtHTkyVO7AZ5tpeQGuA==", - "dependencies": { - "System.Runtime": "4.1.0" - } - }, - "System.Diagnostics.Debug": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "ZUhUOdqmaG5Jk3Xdb8xi5kIyQYAA4PnTNlHx1mu9ZY3qv4ELIdKbnL/akbGaKi2RnNUWaZsAs31rvzFdewTj2g==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } - }, - "System.Diagnostics.DiagnosticSource": { - "type": "Transitive", - "resolved": "8.0.0", - "contentHash": "c9xLpVz6PL9lp/djOWtk5KPDZq3cSYpmXoJQY524EOtuFl5z9ZtsotpsyrDW40U1DRnQSYvcPKEUV0X//u6gkQ==", - "dependencies": { - "System.Runtime.CompilerServices.Unsafe": "6.0.0" - } - }, - "System.Diagnostics.Process": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "J0wOX07+QASQblsfxmIMFc9Iq7KTXYL3zs2G/Xc704Ylv3NpuVdo6gij6V3PGiptTxqsK0K7CdXenRvKUnkA2g==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.Win32.Primitives": "4.3.0", - "Microsoft.Win32.Registry": "4.3.0", - "System.Collections": "4.3.0", - "System.Diagnostics.Debug": "4.3.0", - "System.Globalization": "4.3.0", - "System.IO": "4.3.0", - "System.IO.FileSystem": "4.3.0", - "System.IO.FileSystem.Primitives": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.Handles": "4.3.0", - "System.Runtime.InteropServices": "4.3.0", - "System.Text.Encoding": "4.3.0", - "System.Text.Encoding.Extensions": "4.3.0", - "System.Threading": "4.3.0", - "System.Threading.Tasks": "4.3.0", - "System.Threading.Thread": "4.3.0", - "System.Threading.ThreadPool": "4.3.0", - "runtime.native.System": "4.3.0" - } - }, - "System.Diagnostics.Tools": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "UUvkJfSYJMM6x527dJg2VyWPSRqIVB0Z7dbjHst1zmwTXz5CcXSYJFWRpuigfbO1Lf7yfZiIaEUesfnl/g5EyA==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } - }, - "System.Diagnostics.Tracing": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "rswfv0f/Cqkh78rA5S8eN8Neocz234+emGCtTF3lxPY96F+mmmUen6tbn0glN6PMvlKQb9bPAY5e9u7fgPTkKw==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } - }, - "System.Dynamic.Runtime": { - "type": "Transitive", - "resolved": "4.0.11", - "contentHash": "db34f6LHYM0U0JpE+sOmjar27BnqTVkbLJhgfwMpTdgTigG/Hna3m2MYVwnFzGGKnEJk2UXFuoVTr8WUbU91/A==", - "dependencies": { - "System.Collections": "4.0.11", - "System.Diagnostics.Debug": "4.0.11", - "System.Globalization": "4.0.11", - "System.Linq": "4.1.0", - "System.Linq.Expressions": "4.1.0", - "System.ObjectModel": "4.0.12", - "System.Reflection": "4.1.0", - "System.Reflection.Emit": "4.0.1", - "System.Reflection.Emit.ILGeneration": "4.0.1", - "System.Reflection.Primitives": "4.0.1", - "System.Reflection.TypeExtensions": "4.1.0", - "System.Resources.ResourceManager": "4.0.1", - "System.Runtime": "4.1.0", - "System.Runtime.Extensions": "4.1.0", - "System.Threading": "4.0.11" - } - }, - "System.Globalization": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "kYdVd2f2PAdFGblzFswE4hkNANJBKRmsfa2X5LG2AcWE1c7/4t0pYae1L8vfZ5xvE2nK/R9JprtToA61OSHWIg==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } - }, - "System.Globalization.Calendars": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "GUlBtdOWT4LTV3I+9/PJW+56AnnChTaOqqTLFtdmype/L500M2LIyXgmtd9X2P2VOkmJd5c67H5SaC2QcL1bFA==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Globalization": "4.3.0", - "System.Runtime": "4.3.0" - } - }, - "System.Globalization.Extensions": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "FhKmdR6MPG+pxow6wGtNAWdZh7noIOpdD5TwQ3CprzgIE1bBBoim0vbR1+AWsWjQmU7zXHgQo4TWSP6lCeiWcQ==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "System.Globalization": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.InteropServices": "4.3.0" - } - }, - "System.IO": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "3qjaHvxQPDpSOYICjUoTsmoq5u6QJAFRUITgeT/4gqkF1bajbSmb1kwSxEA8AHlofqgcKJcM8udgieRNhaJ5Cg==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0", - "System.Text.Encoding": "4.3.0", - "System.Threading.Tasks": "4.3.0" - } - }, - "System.IO.Compression": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "YHndyoiV90iu4iKG115ibkhrG+S3jBm8Ap9OwoUAzO5oPDAWcr0SFwQFm0HjM8WkEZWo0zvLTyLmbvTkW1bXgg==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "System.Buffers": "4.3.0", - "System.Collections": "4.3.0", - "System.Diagnostics.Debug": "4.3.0", - "System.IO": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.Handles": "4.3.0", - "System.Runtime.InteropServices": "4.3.0", - "System.Text.Encoding": "4.3.0", - "System.Threading": "4.3.0", - "System.Threading.Tasks": "4.3.0", - "runtime.native.System": "4.3.0", - "runtime.native.System.IO.Compression": "4.3.0" - } - }, - "System.IO.Compression.ZipFile": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "G4HwjEsgIwy3JFBduZ9quBkAu+eUwjIdJleuNSgmUojbH6O3mlvEIme+GHx/cLlTAPcrnnL7GqvB9pTlWRfhOg==", - "dependencies": { - "System.Buffers": "4.3.0", - "System.IO": "4.3.0", - "System.IO.Compression": "4.3.0", - "System.IO.FileSystem": "4.3.0", - "System.IO.FileSystem.Primitives": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Text.Encoding": "4.3.0" - } - }, - "System.IO.FileSystem": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "3wEMARTnuio+ulnvi+hkRNROYwa1kylvYahhcLk4HSoVdl+xxTFVeVlYOfLwrDPImGls0mDqbMhrza8qnWPTdA==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.IO": "4.3.0", - "System.IO.FileSystem.Primitives": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Handles": "4.3.0", - "System.Text.Encoding": "4.3.0", - "System.Threading.Tasks": "4.3.0" - } - }, - "System.IO.FileSystem.Primitives": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "6QOb2XFLch7bEc4lIcJH49nJN2HV+OC3fHDgsLVsBVBk3Y4hFAnOBGzJ2lUu7CyDDFo9IBWkSsnbkT6IBwwiMw==", - "dependencies": { - "System.Runtime": "4.3.0" - } - }, - "System.Linq": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "5DbqIUpsDp0dFftytzuMmc0oeMdQwjcP/EWxsksIz/w1TcFRkZ3yKKz0PqiYFMmEwPSWw+qNVqD7PJ889JzHbw==", - "dependencies": { - "System.Collections": "4.3.0", - "System.Diagnostics.Debug": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0" - } - }, - "System.Linq.Expressions": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "PGKkrd2khG4CnlyJwxwwaWWiSiWFNBGlgXvJpeO0xCXrZ89ODrQ6tjEWS/kOqZ8GwEOUATtKtzp1eRgmYNfclg==", - "dependencies": { - "System.Collections": "4.3.0", - "System.Diagnostics.Debug": "4.3.0", - "System.Globalization": "4.3.0", - "System.IO": "4.3.0", - "System.Linq": "4.3.0", - "System.ObjectModel": "4.3.0", - "System.Reflection": "4.3.0", - "System.Reflection.Emit": "4.3.0", - "System.Reflection.Emit.ILGeneration": "4.3.0", - "System.Reflection.Emit.Lightweight": "4.3.0", - "System.Reflection.Extensions": "4.3.0", - "System.Reflection.Primitives": "4.3.0", - "System.Reflection.TypeExtensions": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Threading": "4.3.0" - } - }, - "System.Management": { - "type": "Transitive", - "resolved": "5.0.0", - "contentHash": "MF1CHaRcC+MLFdnDthv4/bKWBZnlnSpkGqa87pKukQefgEdwtb9zFW6zs0GjPp73qtpYYg4q6PEKbzJbxCpKfw==", - "dependencies": { - "Microsoft.NETCore.Platforms": "5.0.0", - "Microsoft.Win32.Registry": "5.0.0", - "System.CodeDom": "5.0.0" - } - }, - "System.Net.Http": { - "type": "Transitive", - "resolved": "4.3.1", - "contentHash": "UrTyRczM3ZvNk6oetBuwlu67MFKKRva+r7bw4JDVZ6Y2IukyZ24td5ppsieu/4yZlogVAIuZul9GIQ3hoiz0yA==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "System.Collections": "4.3.0", - "System.Diagnostics.Debug": "4.3.0", - "System.Diagnostics.DiagnosticSource": "4.3.0", - "System.Diagnostics.Tracing": "4.3.0", - "System.Globalization": "4.3.0", - "System.Globalization.Extensions": "4.3.0", - "System.IO": "4.3.0", - "System.IO.FileSystem": "4.3.0", - "System.Net.Primitives": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.Handles": "4.3.0", - "System.Runtime.InteropServices": "4.3.0", - "System.Security.Cryptography.Algorithms": "4.3.0", - "System.Security.Cryptography.Encoding": "4.3.0", - "System.Security.Cryptography.OpenSsl": "4.3.0", - "System.Security.Cryptography.Primitives": "4.3.0", - "System.Security.Cryptography.X509Certificates": "4.3.0", - "System.Text.Encoding": "4.3.0", - "System.Threading": "4.3.0", - "System.Threading.Tasks": "4.3.0", - "runtime.native.System": "4.3.0", - "runtime.native.System.Net.Http": "4.3.0", - "runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0" - } - }, - "System.Net.Primitives": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "qOu+hDwFwoZPbzPvwut2qATe3ygjeQBDQj91xlsaqGFQUI5i4ZnZb8yyQuLGpDGivEPIt8EJkd1BVzVoP31FXA==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0", - "System.Runtime.Handles": "4.3.0" - } - }, - "System.Net.Sockets": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "m6icV6TqQOAdgt5N/9I5KNpjom/5NFtkmGseEH+AK/hny8XrytLH3+b5M8zL/Ycg3fhIocFpUMyl/wpFnVRvdw==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.IO": "4.3.0", - "System.Net.Primitives": "4.3.0", - "System.Runtime": "4.3.0", - "System.Threading.Tasks": "4.3.0" - } - }, - "System.ObjectModel": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "bdX+80eKv9bN6K4N+d77OankKHGn6CH711a6fcOpMQu2Fckp/Ft4L/kW9WznHpyR0NRAvJutzOMHNNlBGvxQzQ==", - "dependencies": { - "System.Collections": "4.3.0", - "System.Diagnostics.Debug": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Threading": "4.3.0" - } - }, - "System.Reactive.Core": { - "type": "Transitive", - "resolved": "3.1.1", - "contentHash": "CKWC+UP1aM75taNX+sTBn2P97uHIUjKxq+z45iy7P91QGFqNFleR2tsqIC76HMVvYl7o8oWyMiycdsc9rC1Z/g==", - "dependencies": { - "System.ComponentModel": "4.0.1", - "System.Diagnostics.Contracts": "4.0.1", - "System.Dynamic.Runtime": "4.0.11", - "System.Reactive.Interfaces": "3.1.1", - "System.Threading.Thread": "4.0.0", - "System.Threading.ThreadPool": "4.0.10" - } - }, - "System.Reactive.Interfaces": { - "type": "Transitive", - "resolved": "3.1.1", - "contentHash": "aNVY3QoRznGFeQ+w+bMqhD8ElNWoyYq+7XTQIoxKKjBOyTOjUqIMEf1wvSdtwC4y92zg2W9q38b4Sr6cYNHVLg==", - "dependencies": { - "NETStandard.Library": "1.6.0" - } - }, - "System.Reactive.Linq": { - "type": "Transitive", - "resolved": "3.1.1", - "contentHash": "HwsZsoYRg51cLGBOEa0uoZ5+d4CMcHEg/KrbqePhLxoz/SLA+ULISphBtn3woABPATOQ6j5YgGZWh4jxnJ3KYQ==", - "dependencies": { - "System.Reactive.Core": "3.1.1", - "System.Runtime.InteropServices.WindowsRuntime": "4.0.1" - } - }, - "System.Reactive.PlatformServices": { - "type": "Transitive", - "resolved": "3.1.1", - "contentHash": "jCJ3iGDLb4duOxZ/Uo3O7PssWE48uRp0fw92AlIwrMNaZRUmZNkZyqbl0nUT+joFARBYun8XiVIDQreMJKBedA==", - "dependencies": { - "System.Reactive.Linq": "3.1.1" - } - }, - "System.Reflection": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "KMiAFoW7MfJGa9nDFNcfu+FpEdiHpWgTcS2HdMpDvt9saK3y/G4GwprPyzqjFH9NTaGPQeWNHU+iDlDILj96aQ==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.IO": "4.3.0", - "System.Reflection.Primitives": "4.3.0", - "System.Runtime": "4.3.0" - } - }, - "System.Reflection.Emit": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "228FG0jLcIwTVJyz8CLFKueVqQK36ANazUManGaJHkO0icjiIypKW7YLWLIWahyIkdh5M7mV2dJepllLyA1SKg==", - "dependencies": { - "System.IO": "4.3.0", - "System.Reflection": "4.3.0", - "System.Reflection.Emit.ILGeneration": "4.3.0", - "System.Reflection.Primitives": "4.3.0", - "System.Runtime": "4.3.0" - } - }, - "System.Reflection.Emit.ILGeneration": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "59tBslAk9733NXLrUJrwNZEzbMAcu8k344OYo+wfSVygcgZ9lgBdGIzH/nrg3LYhXceynyvTc8t5/GD4Ri0/ng==", - "dependencies": { - "System.Reflection": "4.3.0", - "System.Reflection.Primitives": "4.3.0", - "System.Runtime": "4.3.0" - } - }, - "System.Reflection.Emit.Lightweight": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "oadVHGSMsTmZsAF864QYN1t1QzZjIcuKU3l2S9cZOwDdDueNTrqq1yRj7koFfIGEnKpt6NjpL3rOzRhs4ryOgA==", - "dependencies": { - "System.Reflection": "4.3.0", - "System.Reflection.Emit.ILGeneration": "4.3.0", - "System.Reflection.Primitives": "4.3.0", - "System.Runtime": "4.3.0" - } - }, - "System.Reflection.Extensions": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "rJkrJD3kBI5B712aRu4DpSIiHRtr6QlfZSQsb0hYHrDCZORXCFjQfoipo2LaMUHoT9i1B7j7MnfaEKWDFmFQNQ==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Reflection": "4.3.0", - "System.Runtime": "4.3.0" - } - }, - "System.Reflection.Metadata": { - "type": "Transitive", - "resolved": "1.6.0", - "contentHash": "COC1aiAJjCoA5GBF+QKL2uLqEBew4JsCkQmoHKbN3TlOZKa2fKLz5CpiRQKDz0RsAOEGsVKqOD5bomsXq/4STQ==" - }, - "System.Reflection.Primitives": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "5RXItQz5As4xN2/YUDxdpsEkMhvw3e6aNveFXUn4Hl/udNTCNhnKp8lT9fnc3MhvGKh1baak5CovpuQUXHAlIA==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } - }, - "System.Reflection.TypeExtensions": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "7u6ulLcZbyxB5Gq0nMkQttcdBTx57ibzw+4IOXEfR+sXYQoHvjW5LTLyNr8O22UIMrqYbchJQJnos4eooYzYJA==", - "dependencies": { - "System.Reflection": "4.3.0", - "System.Runtime": "4.3.0" - } - }, - "System.Resources.ResourceManager": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "/zrcPkkWdZmI4F92gL/TPumP98AVDu/Wxr3CSJGQQ+XN6wbRZcyfSKVoPo17ilb3iOr0cCRqJInGwNMolqhS8A==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Globalization": "4.3.0", - "System.Reflection": "4.3.0", - "System.Runtime": "4.3.0" - } - }, - "System.Runtime": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "JufQi0vPQ0xGnAczR13AUFglDyVYt4Kqnz1AZaiKZ5+GICq0/1MH/mO/eAJHt/mHW1zjKBJd7kV26SrxddAhiw==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0" - } - }, - "System.Runtime.CompilerServices.Unsafe": { - "type": "Transitive", - "resolved": "6.0.0", - "contentHash": "/iUeP3tq1S0XdNNoMz5C9twLSrM/TH+qElHkXWaPvuNOt+99G75NrV0OS2EqHx5wMN7popYjpc8oTjC1y16DLg==" - }, - "System.Runtime.Extensions": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "guW0uK0fn5fcJJ1tJVXYd7/1h5F+pea1r7FLSOz/f8vPEqbR2ZAknuRDvTQ8PzAilDveOxNjSfr0CHfIQfFk8g==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } - }, - "System.Runtime.Handles": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "OKiSUN7DmTWeYb3l51A7EYaeNMnvxwE249YtZz7yooT4gOZhmTjIn48KgSsw2k2lYdLgTKNJw/ZIfSElwDRVgg==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } - }, - "System.Runtime.InteropServices": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "uv1ynXqiMK8mp1GM3jDqPCFN66eJ5w5XNomaK2XD+TuCroNTLFGeZ+WCmBMcBDyTFKou3P6cR6J/QsaqDp7fGQ==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Reflection": "4.3.0", - "System.Reflection.Primitives": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Handles": "4.3.0" - } - }, - "System.Runtime.InteropServices.RuntimeInformation": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "cbz4YJMqRDR7oLeMRbdYv7mYzc++17lNhScCX0goO2XpGWdvAt60CGN+FHdePUEHCe/Jy9jUlvNAiNdM+7jsOw==", - "dependencies": { - "System.Reflection": "4.3.0", - "System.Reflection.Extensions": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.InteropServices": "4.3.0", - "System.Threading": "4.3.0", - "runtime.native.System": "4.3.0" - } - }, - "System.Runtime.InteropServices.WindowsRuntime": { - "type": "Transitive", - "resolved": "4.0.1", - "contentHash": "oIIXM4w2y3MiEZEXA+RTtfPV+SZ1ymbFdWppHlUciNdNIL0/Uo3HW9q9iN2O7T7KUmRdvjA7C2Gv4exAyW4zEQ==", - "dependencies": { - "System.Runtime": "4.1.0" - } - }, - "System.Runtime.Numerics": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "yMH+MfdzHjy17l2KESnPiF2dwq7T+xLnSJar7slyimAkUh/gTrS9/UQOtv7xarskJ2/XDSNvfLGOBQPjL7PaHQ==", - "dependencies": { - "System.Globalization": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0" - } - }, - "System.Security.AccessControl": { - "type": "Transitive", - "resolved": "5.0.0", - "contentHash": "dagJ1mHZO3Ani8GH0PHpPEe/oYO+rVdbQjvjJkBRNQkX4t0r1iaeGn8+/ybkSLEan3/slM0t59SVdHzuHf2jmw==", - "dependencies": { - "Microsoft.NETCore.Platforms": "5.0.0", - "System.Security.Principal.Windows": "5.0.0" - } - }, - "System.Security.Cryptography.Algorithms": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "W1kd2Y8mYSCgc3ULTAZ0hOP2dSdG5YauTb1089T0/kRcN2MpSAW1izOFROrJgxSlMn3ArsgHXagigyi+ibhevg==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "System.Collections": "4.3.0", - "System.IO": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.Handles": "4.3.0", - "System.Runtime.InteropServices": "4.3.0", - "System.Runtime.Numerics": "4.3.0", - "System.Security.Cryptography.Encoding": "4.3.0", - "System.Security.Cryptography.Primitives": "4.3.0", - "System.Text.Encoding": "4.3.0", - "runtime.native.System.Security.Cryptography.Apple": "4.3.0", - "runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0" - } - }, - "System.Security.Cryptography.Cng": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "03idZOqFlsKRL4W+LuCpJ6dBYDUWReug6lZjBa3uJWnk5sPCUXckocevTaUA8iT/MFSrY/2HXkOt753xQ/cf8g==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "System.IO": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.Handles": "4.3.0", - "System.Runtime.InteropServices": "4.3.0", - "System.Security.Cryptography.Algorithms": "4.3.0", - "System.Security.Cryptography.Encoding": "4.3.0", - "System.Security.Cryptography.Primitives": "4.3.0", - "System.Text.Encoding": "4.3.0" - } - }, - "System.Security.Cryptography.Csp": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "X4s/FCkEUnRGnwR3aSfVIkldBmtURMhmexALNTwpjklzxWU7yjMk7GHLKOZTNkgnWnE0q7+BCf9N2LVRWxewaA==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "System.IO": "4.3.0", - "System.Reflection": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.Handles": "4.3.0", - "System.Runtime.InteropServices": "4.3.0", - "System.Security.Cryptography.Algorithms": "4.3.0", - "System.Security.Cryptography.Encoding": "4.3.0", - "System.Security.Cryptography.Primitives": "4.3.0", - "System.Text.Encoding": "4.3.0", - "System.Threading": "4.3.0" - } - }, - "System.Security.Cryptography.Encoding": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "1DEWjZZly9ae9C79vFwqaO5kaOlI5q+3/55ohmq/7dpDyDfc8lYe7YVxJUZ5MF/NtbkRjwFRo14yM4OEo9EmDw==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "System.Collections": "4.3.0", - "System.Collections.Concurrent": "4.3.0", - "System.Linq": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.Handles": "4.3.0", - "System.Runtime.InteropServices": "4.3.0", - "System.Security.Cryptography.Primitives": "4.3.0", - "System.Text.Encoding": "4.3.0", - "runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0" - } - }, - "System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "h4CEgOgv5PKVF/HwaHzJRiVboL2THYCou97zpmhjghx5frc7fIvlkY1jL+lnIQyChrJDMNEXS6r7byGif8Cy4w==", - "dependencies": { - "System.Collections": "4.3.0", - "System.IO": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.Handles": "4.3.0", - "System.Runtime.InteropServices": "4.3.0", - "System.Runtime.Numerics": "4.3.0", - "System.Security.Cryptography.Algorithms": "4.3.0", - "System.Security.Cryptography.Encoding": "4.3.0", - "System.Security.Cryptography.Primitives": "4.3.0", - "System.Text.Encoding": "4.3.0", - "runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0" - } - }, - "System.Security.Cryptography.Primitives": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "7bDIyVFNL/xKeFHjhobUAQqSpJq9YTOpbEs6mR233Et01STBMXNAc/V+BM6dwYGc95gVh/Zf+iVXWzj3mE8DWg==", - "dependencies": { - "System.Diagnostics.Debug": "4.3.0", - "System.Globalization": "4.3.0", - "System.IO": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Threading": "4.3.0", - "System.Threading.Tasks": "4.3.0" - } - }, - "System.Security.Cryptography.ProtectedData": { - "type": "Transitive", - "resolved": "4.4.0", - "contentHash": "cJV7ScGW7EhatRsjehfvvYVBvtiSMKgN8bOVI0bQhnF5bU7vnHVIsH49Kva7i7GWaWYvmEzkYVk1TC+gZYBEog==" - }, - "System.Security.Cryptography.X509Certificates": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "t2Tmu6Y2NtJ2um0RtcuhP7ZdNNxXEgUm2JeoA/0NvlMjAhKCnM1NX07TDl3244mVp3QU6LPEhT3HTtH1uF7IYw==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "System.Collections": "4.3.0", - "System.Diagnostics.Debug": "4.3.0", - "System.Globalization": "4.3.0", - "System.Globalization.Calendars": "4.3.0", - "System.IO": "4.3.0", - "System.IO.FileSystem": "4.3.0", - "System.IO.FileSystem.Primitives": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.Handles": "4.3.0", - "System.Runtime.InteropServices": "4.3.0", - "System.Runtime.Numerics": "4.3.0", - "System.Security.Cryptography.Algorithms": "4.3.0", - "System.Security.Cryptography.Cng": "4.3.0", - "System.Security.Cryptography.Csp": "4.3.0", - "System.Security.Cryptography.Encoding": "4.3.0", - "System.Security.Cryptography.OpenSsl": "4.3.0", - "System.Security.Cryptography.Primitives": "4.3.0", - "System.Text.Encoding": "4.3.0", - "System.Threading": "4.3.0", - "runtime.native.System": "4.3.0", - "runtime.native.System.Net.Http": "4.3.0", - "runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0" - } - }, - "System.Security.Principal.Windows": { - "type": "Transitive", - "resolved": "5.0.0", - "contentHash": "t0MGLukB5WAVU9bO3MGzvlGnyJPgUlcwerXn1kzBRjwLKixT96XV0Uza41W49gVd8zEMFu9vQEFlv0IOrytICA==" - }, - "System.Text.Encoding": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "BiIg+KWaSDOITze6jGQynxg64naAPtqGHBwDrLaCtixsa5bKiR8dpPOHA7ge3C0JJQizJE+sfkz1wV+BAKAYZw==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } - }, - "System.Text.Encoding.Extensions": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "YVMK0Bt/A43RmwizJoZ22ei2nmrhobgeiYwFzC4YAN+nue8RF6djXDMog0UCn+brerQoYVyaS+ghy9P/MUVcmw==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0", - "System.Text.Encoding": "4.3.0" - } - }, - "System.Text.Encodings.Web": { - "type": "Transitive", - "resolved": "8.0.0", - "contentHash": "yev/k9GHAEGx2Rg3/tU6MQh4HGBXJs70y7j1LaM1i/ER9po+6nnQ6RRqTJn1E7Xu0fbIFK80Nh5EoODxrbxwBQ==", - "dependencies": { - "System.Runtime.CompilerServices.Unsafe": "6.0.0" - } - }, - "System.Text.Json": { - "type": "Transitive", - "resolved": "8.0.4", - "contentHash": "bAkhgDJ88XTsqczoxEMliSrpijKZHhbJQldhAmObj/RbrN3sU5dcokuXmWJWsdQAhiMJ9bTayWsL1C9fbbCRhw==", - "dependencies": { - "System.Runtime.CompilerServices.Unsafe": "6.0.0", - "System.Text.Encodings.Web": "8.0.0" - } - }, - "System.Text.RegularExpressions": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "RpT2DA+L660cBt1FssIE9CAGpLFdFPuheB7pLpKpn6ZXNby7jDERe8Ua/Ne2xGiwLVG2JOqziiaVCGDon5sKFA==", - "dependencies": { - "System.Runtime": "4.3.0" - } - }, - "System.Threading": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "VkUS0kOBcUf3Wwm0TSbrevDDZ6BlM+b/HRiapRFWjM5O0NS0LviG0glKmFK+hhPDd1XFeSdU1GmlLhb2CoVpIw==", - "dependencies": { - "System.Runtime": "4.3.0", - "System.Threading.Tasks": "4.3.0" - } - }, - "System.Threading.Tasks": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "LbSxKEdOUhVe8BezB/9uOGGppt+nZf6e1VFyw6v3DN6lqitm0OSn2uXMOdtP0M3W4iMcqcivm2J6UgqiwwnXiA==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } - }, - "System.Threading.Tasks.Extensions": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "npvJkVKl5rKXrtl1Kkm6OhOUaYGEiF9wFbppFRWSMoApKzt2PiPHT2Bb8a5sAWxprvdOAtvaARS9QYMznEUtug==", - "dependencies": { - "System.Collections": "4.3.0", - "System.Runtime": "4.3.0", - "System.Threading.Tasks": "4.3.0" - } - }, - "System.Threading.Thread": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "OHmbT+Zz065NKII/ZHcH9XO1dEuLGI1L2k7uYss+9C1jLxTC9kTZZuzUOyXHayRk+dft9CiDf3I/QZ0t8JKyBQ==", - "dependencies": { - "System.Runtime": "4.3.0" - } - }, - "System.Threading.ThreadPool": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "k/+g4b7vjdd4aix83sTgC9VG6oXYKAktSfNIJUNGxPEj7ryEOfzHHhfnmsZvjxawwcD9HyWXKCXmPjX8U4zeSw==", - "dependencies": { - "System.Runtime": "4.3.0", - "System.Runtime.Handles": "4.3.0" - } - }, - "System.Threading.Timer": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "Z6YfyYTCg7lOZjJzBjONJTFKGN9/NIYKSxhU5GRd+DTwHSZyvWp1xuI5aR+dLg+ayyC5Xv57KiY4oJ0tMO89fQ==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } - }, - "System.Xml.ReaderWriter": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "GrprA+Z0RUXaR4N7/eW71j1rgMnEnEVlgii49GZyAjTH7uliMnrOU3HNFBr6fEDBCJCIdlVNq9hHbaDR621XBA==", - "dependencies": { - "System.Collections": "4.3.0", - "System.Diagnostics.Debug": "4.3.0", - "System.Globalization": "4.3.0", - "System.IO": "4.3.0", - "System.IO.FileSystem": "4.3.0", - "System.IO.FileSystem.Primitives": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.InteropServices": "4.3.0", - "System.Text.Encoding": "4.3.0", - "System.Text.Encoding.Extensions": "4.3.0", - "System.Text.RegularExpressions": "4.3.0", - "System.Threading.Tasks": "4.3.0", - "System.Threading.Tasks.Extensions": "4.3.0" - } - }, - "System.Xml.XDocument": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "5zJ0XDxAIg8iy+t4aMnQAu0MqVbqyvfoUVl1yDV61xdo3Vth45oA2FoY4pPkxYAH5f8ixpmTqXeEIya95x0aCQ==", - "dependencies": { - "System.Collections": "4.3.0", - "System.Diagnostics.Debug": "4.3.0", - "System.Diagnostics.Tools": "4.3.0", - "System.Globalization": "4.3.0", - "System.IO": "4.3.0", - "System.Reflection": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Text.Encoding": "4.3.0", - "System.Threading": "4.3.0", - "System.Xml.ReaderWriter": "4.3.0" - } - }, - "Verify": { - "type": "Transitive", - "resolved": "17.10.2", - "contentHash": "3eMRGukcJOpwjdYqrBOewONaqOC577+aWgbuW/t2LTpmCP9t07vXuB+13GzUFTCidQdj18u1rT6ShuOg+4Jucw==", - "dependencies": { - "DiffEngine": "10.0.0", - "EmptyFiles": "2.8.0", - "Newtonsoft.Json": "13.0.1", - "SimpleInfoName": "1.1.1" - } - }, - "xunit": { - "type": "Transitive", - "resolved": "2.4.2", - "contentHash": "6Mj73Ont3zj2CJuoykVJfE0ZmRwn7C+pTuRP8c4bnaaTFjwNG6tGe0prJ1yIbMe9AHrpDys63ctWacSsFJWK/w==", - "dependencies": { - "xunit.analyzers": "1.0.0", - "xunit.assert": "2.4.2", - "xunit.core": "[2.4.2]" - } - }, - "xunit.abstractions": { - "type": "Transitive", - "resolved": "2.0.3", - "contentHash": "pot1I4YOxlWjIb5jmwvvQNbTrZ3lJQ+jUGkGjWE3hEFM0l5gOnBWS+H3qsex68s5cO52g+44vpGzhAt+42vwKg==" - }, - "xunit.analyzers": { - "type": "Transitive", - "resolved": "1.0.0", - "contentHash": "BeO8hEgs/c8Ls2647fPfieMngncvf0D0xYNDfIO59MolxtCtVjFRd6SRc+7tj8VMqkVOuJcnc9eh4ngI2cAmLQ==" - }, - "xunit.assert": { - "type": "Transitive", - "resolved": "2.4.2", - "contentHash": "pxJISOFjn2XTTi1mcDCkRZrTFb9OtRRCtx2kZFNF51GdReLr1ls2rnyxvAS4JO247K3aNtflvh5Q0346K5BROA==", - "dependencies": { - "NETStandard.Library": "1.6.1" - } - }, - "xunit.core": { - "type": "Transitive", - "resolved": "2.4.2", - "contentHash": "KB4yGCxNqIVyekhJLXtKSEq6BaXVp/JO3mbGVE1hxypZTLEe7h+sTbAhpA+yZW2dPtXTuiW+C1B2oxxHEkrmOw==", - "dependencies": { - "xunit.extensibility.core": "[2.4.2]", - "xunit.extensibility.execution": "[2.4.2]" - } - }, - "xunit.extensibility.core": { - "type": "Transitive", - "resolved": "2.4.2", - "contentHash": "W1BoXTIN1C6kpVSMw25huSet25ky6IAQUNovu3zGOGN/jWnbgSoTyCrlIhmXSg0tH5nEf8q7h3OjNHOjyu5PfA==", - "dependencies": { - "NETStandard.Library": "1.6.1", - "xunit.abstractions": "2.0.3" - } - }, - "elastic.clients.elasticsearch": { - "type": "Project", - "dependencies": { - "Elastic.Transport": "[0.4.22, )" - } - }, - "elastic.clients.elasticsearch.jsonnetserializer": { - "type": "Project", - "dependencies": { - "Elastic.Clients.Elasticsearch": "[8.0.0, )", - "Newtonsoft.Json": "[13.0.1, )" - } - }, - "tests.clusterlauncher": { - "type": "Project", - "dependencies": { - "Tests.Core": "[8.0.0, )" - } - }, - "tests.configuration": { - "type": "Project", - "dependencies": { - "Elastic.Elasticsearch.Managed": "[0.4.3, )" - } - }, - "tests.core": { - "type": "Project", - "dependencies": { - "DiffPlex": "[1.4.1, )", - "Elastic.Clients.Elasticsearch.JsonNetSerializer": "[8.0.0, )", - "Elastic.Elasticsearch.Xunit": "[0.4.3, )", - "FluentAssertions": "[5.10.3, )", - "JunitXml.TestLogger": "[3.0.110, )", - "Microsoft.Bcl.HashCode": "[1.1.1, )", - "Microsoft.NET.Test.Sdk": "[17.2.0, )", - "Nullean.VsTest.Pretty.TestLogger": "[0.3.0, )", - "Proc": "[0.6.1, )", - "Tests.Domain": "[8.0.0, )", - "xunit": "[2.4.2, )" - } - }, - "tests.domain": { - "type": "Project", - "dependencies": { - "Bogus": "[22.1.2, )", - "Elastic.Clients.Elasticsearch": "[8.0.0, )", - "Elastic.Elasticsearch.Managed": "[0.4.3, )", - "Newtonsoft.Json": "[13.0.1, )", - "Tests.Configuration": "[8.0.0, )" - } - } - }, - "net8.0": { - "Ben.Demystifier": { - "type": "Direct", - "requested": "[0.1.4, )", - "resolved": "0.1.4", - "contentHash": "+t5j6MizCTkWh1oZm9RdLIJfEWYRIPFBDe7E+H0pqjAzHbRm6oyhm5Rsf8kPGQZXNdDur9YwkSyXUe7eAIRbLw==", - "dependencies": { - "System.Reflection.Metadata": "1.5.0" - } - }, - "Bogus": { - "type": "Direct", - "requested": "[22.1.2, )", - "resolved": "22.1.2", - "contentHash": "FnYg++zOsFkN3wQJcPT6U4bmZoW/zDWp474QsZG2KX/ClCiEOwIfUxJ9xuKgwv46K0LvVoicQD09hgPke0FG1A==" - }, - "DotNet.ReproducibleBuilds": { - "type": "Direct", - "requested": "[1.1.1, )", - "resolved": "1.1.1", - "contentHash": "+H2t/t34h6mhEoUvHi8yGXyuZ2GjSovcGYehJrS2MDm2XgmPfZL2Sdxg+uL2lKgZ4M6tTwKHIlxOob2bgh0NRQ==", - "dependencies": { - "Microsoft.SourceLink.AzureRepos.Git": "1.1.1", - "Microsoft.SourceLink.Bitbucket.Git": "1.1.1", - "Microsoft.SourceLink.GitHub": "1.1.1", - "Microsoft.SourceLink.GitLab": "1.1.1" - } - }, - "Elastic.Transport.VirtualizedCluster": { - "type": "Direct", - "requested": "[0.4.22, )", - "resolved": "0.4.22", - "contentHash": "r8iOvUkTNWVsjW/1t/QkcUhH1r5LlzntT50nDW1oyEoTqRQS81JtYLvvyFrViPEbMiTh02wMUF7GIFVyQgl/Og==", - "dependencies": { - "Elastic.Transport": "0.4.22" - } - }, - "FSharp.Core": { - "type": "Direct", - "requested": "[6.0.3, )", - "resolved": "6.0.3", - "contentHash": "ywxwMhsA1nG2hsRSMl3IzYvdugrSoFg/ZY99cuBqV0SX0yp8ubD6Hee8Bh3YwaF2Ucyq/Jz8lZ0MY5VjxgogbA==" - }, - "Microsoft.NET.Test.Sdk": { - "type": "Direct", - "requested": "[17.3.1, )", - "resolved": "17.3.1", - "contentHash": "jH9W5uYannaJ3HhrPBkzSidf3WkqP6XI+Yke0ODYVuFWM6GLVtBAyNgXvU/uQXPBsHq4aysLTsrN1FvG2hlKoQ==", - "dependencies": { - "Microsoft.CodeCoverage": "17.3.1", - "Microsoft.TestPlatform.TestHost": "17.3.1" - } - }, - "Microsoft.NETFramework.ReferenceAssemblies": { - "type": "Direct", - "requested": "[1.0.2, )", - "resolved": "1.0.2", - "contentHash": "5/cSEVld+px/CuRrbohO/djfg6++eR6zGpy88MgqloXvkj//WXWpFZyu/OpkXPN0u5m+dN/EVwLNYFUxD4h2+A==", - "dependencies": { - "Microsoft.NETFramework.ReferenceAssemblies.net461": "1.0.2" - } - }, - "Newtonsoft.Json": { - "type": "Direct", - "requested": "[13.0.1, )", - "resolved": "13.0.1", - "contentHash": "ppPFpBcvxdsfUonNcvITKqLl3bqxWbDCZIzDWHzjpdAHRFfZe0Dw9HmA0+za13IdyrgJwpkDTDA9fHaxOrt20A==" - }, - "SemanticVersioning": { - "type": "Direct", - "requested": "[0.8.0, )", - "resolved": "0.8.0", - "contentHash": "hUCnQL79hU0W6X4jPeMAtGDwoEJeBEZfGBnkT+jPG45lD7KHn4h61HgYN8y1HAjPrXmC5oJcLx3l8ygPJOqvlA==", - "dependencies": { - "NETStandard.Library": "1.6.0" - } - }, - "SharpZipLib": { - "type": "Direct", - "requested": "[1.3.3, )", - "resolved": "1.3.3", - "contentHash": "N8+hwhsKZm25tDJfWpBSW7EGhH/R7EMuiX+KJ4C4u+fCWVc1lJ5zg1u3S1RPPVYgTqhx/C3hxrqUpi6RwK5+Tg==" - }, - "System.Diagnostics.FileVersionInfo": { - "type": "Direct", - "requested": "[4.3.0, )", - "resolved": "4.3.0", - "contentHash": "omCF64wzQ3Q2CeIqkD6lmmxeMZtGHUmzgFMPjfVaOsyqpR66p/JaZzManMw1s33osoAb5gqpncsjie67+yUPHQ==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "System.Globalization": "4.3.0", - "System.IO": "4.3.0", - "System.IO.FileSystem": "4.3.0", - "System.IO.FileSystem.Primitives": "4.3.0", - "System.Reflection.Metadata": "1.4.1", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.InteropServices": "4.3.0" - } - }, - "System.Reactive": { - "type": "Direct", - "requested": "[3.1.1, )", - "resolved": "3.1.1", - "contentHash": "elkQdVQoBVX39BHrYHMc3Rnbb7a9qBJIwNCvhq1psPMOEPo62/VHB0lJu671x3fOrGL4V/85n6p2Az1tw7Kvmg==", - "dependencies": { - "System.Reactive.PlatformServices": "3.1.1" - } - }, - "Verify.Xunit": { - "type": "Direct", - "requested": "[17.10.2, )", - "resolved": "17.10.2", - "contentHash": "9k4cmIA15EfWpC0oHgo9gEKHpIizxsXZs4f2y5OGea13gYUPFqa+06ncm6zaU4qL+jAewpX8jRoHVZgNpKW3Gw==", - "dependencies": { - "EmptyFiles": "2.8.0", - "Verify": "17.10.2", - "xunit.abstractions": "2.0.3", - "xunit.assert": "2.4.2", - "xunit.extensibility.execution": "2.4.2" - } - }, - "xunit.extensibility.execution": { - "type": "Direct", - "requested": "[2.4.2, )", - "resolved": "2.4.2", - "contentHash": "CZmgcKkwpyo8FlupZdWpJCryrAOWLh1FBPG6gmVZuPQkGQsim/oL4PcP4nfrC2hHgXUFtluvaJ0Sp9PQKUMNpg==", - "dependencies": { - "NETStandard.Library": "1.6.1", - "xunit.extensibility.core": "[2.4.2]" - } - }, - "xunit.runner.visualstudio": { - "type": "Direct", - "requested": "[2.4.5, )", - "resolved": "2.4.5", - "contentHash": "OwHamvBdUKgqsXfBzWiCW/O98BTx81UKzx2bieIOQI7CZFE5NEQZGi8PBQGIKawDW96xeRffiNf20SjfC0x9hw==" - }, - "DiffEngine": { - "type": "Transitive", - "resolved": "10.0.0", - "contentHash": "H8F7V1zRHkWLP5AW9lCxZypanXlFRT8n7P9Ou8cxz189Yg8TEw5FwTqQCaXjVPRjfE8621lhblpQrghbGJgDZw==", - "dependencies": { - "EmptyFiles": "2.8.0", - "System.Management": "5.0.0" - } - }, - "DiffPlex": { - "type": "Transitive", - "resolved": "1.4.1", - "contentHash": "xZLcguPf0Gl67Ygz8XIhiQmTeUIs/M4eB9ylOelNGnHMvmqxe9bQ89omVJdoSO6gvc4NSmonHGL+zfwrSEjGnA==", - "dependencies": { - "NETStandard.Library": "1.6.1" - } - }, - "Elastic.Elasticsearch.Ephemeral": { - "type": "Transitive", - "resolved": "0.4.3", - "contentHash": "fmu7A6bm3sOTGrG+MAINRQ2Op0n6K1OjfNErNMhpTOt5mQ0UjX8zfpiZoM+nB0jA8bX1nt1YR++5YCnYGJFtRg==", - "dependencies": { - "Elastic.Elasticsearch.Managed": "0.4.3", - "SharpZipLib.NETStandard": "1.0.7" - } - }, - "Elastic.Elasticsearch.Managed": { - "type": "Transitive", - "resolved": "0.4.3", - "contentHash": "B7FvSMeNqYM3Yl/r/QRyROuAkMSiSQ0EvZQ36Cqrxm6uRBodlwky4yy4Im/AnOIQIl5lFLGr4vLHwWedHPharw==", - "dependencies": { - "Elastic.Stack.ArtifactsApi": "0.4.3", - "Proc": "0.6.1", - "System.Net.Http": "4.3.1" - } - }, - "Elastic.Elasticsearch.Xunit": { - "type": "Transitive", - "resolved": "0.4.3", - "contentHash": "kKn9Fiihel643Rywvl1bH2luQdhuefMh7wVPaLViEj8olU5Ud0bb1nZ8AFhm4PnEbLjw5PZ49Pn5hvyoYnJesQ==", - "dependencies": { - "Elastic.Elasticsearch.Ephemeral": "0.4.3", - "xunit": "2.4.1" - } - }, - "Elastic.Stack.ArtifactsApi": { - "type": "Transitive", - "resolved": "0.4.3", - "contentHash": "mqfBDj5s8Gj6QWNYmCNJo2raxbzn8fUBk+eSxA5HeDYjEXoK52kOBvFSy4bL9Qaz+EW6JvOvt8nw0cm5MorJUA==", - "dependencies": { - "SemanticVersioning": "0.8.0", - "System.Text.Json": "4.6.0" - } - }, - "Elastic.Transport": { - "type": "Transitive", - "resolved": "0.4.22", - "contentHash": "9J5GPHJcT8sewn2zVfWTrsCQvfQYgUiY/jx+IRjWUk7XNPd837qfEL42I5baH69cyW/e4RoDy8v76yxqz95tDw==" - }, - "EmptyFiles": { - "type": "Transitive", - "resolved": "2.8.0", - "contentHash": "2N6IdrlSYT+FhX5hAbasJ7wpV/ONtIX+7fN+XXukwGAgHRNjiAoO0TScQsTZcgaXmbuvGu4ogKk0jPt2dVLgTQ==" - }, - "FluentAssertions": { - "type": "Transitive", - "resolved": "5.10.3", - "contentHash": "gVPEVp1hLVqcv+7Q2wiDf7kqCNn7+bQcQ0jbJ2mcRT6CeRoZl1tNkqvzSIhvekyldDptk77j1b03MXTTRIqqpg==", - "dependencies": { - "System.Configuration.ConfigurationManager": "4.4.0" - } - }, - "JunitXml.TestLogger": { - "type": "Transitive", - "resolved": "3.0.110", - "contentHash": "D0Kl9mNnbSZgEa8ZgsEAJskPvyrC9k+5BsEWUqvNr++BZJbYIb08fwe0ohvb6WEzJlMPmeLJMmvQuw5yIq3gjA==" - }, - "Microsoft.Bcl.HashCode": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "MalY0Y/uM/LjXtHfX/26l2VtN4LDNZ2OE3aumNOHDLsT4fNYy2hiHXI4CXCqKpNUNm7iJ2brrc4J89UdaL56FA==" - }, - "Microsoft.Build.Tasks.Git": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "AT3HlgTjsqHnWpBHSNeR0KxbLZD7bztlZVj7I8vgeYG9SYqbeFGh0TM/KVtC6fg53nrWHl3VfZFvb5BiQFcY6Q==" - }, - "Microsoft.CodeCoverage": { - "type": "Transitive", - "resolved": "17.3.1", - "contentHash": "WqB7Ik4v8ku0Y9HZShqTStZdq8R1lyhsZr7IMp8zV/OcL5sHVYvlMnardQR+SDQc3dmbniCIl9mYxYM+V7x8MA==" - }, - "Microsoft.NETCore.Platforms": { - "type": "Transitive", - "resolved": "5.0.0", - "contentHash": "VyPlqzH2wavqquTcYpkIIAQ6WdenuKoFN0BdYBbCWsclXacSOHNQn66Gt4z5NBqEYW0FAPm5rlvki9ZiCij5xQ==" - }, - "Microsoft.NETCore.Targets": { - "type": "Transitive", - "resolved": "1.1.0", - "contentHash": "aOZA3BWfz9RXjpzt0sRJJMjAscAUm3Hoa4UWAfceV9UTYxgwZ1lZt5nO2myFf+/jetYQo4uTP7zS8sJY67BBxg==" - }, - "Microsoft.NETFramework.ReferenceAssemblies.net461": { - "type": "Transitive", - "resolved": "1.0.2", - "contentHash": "8shzGaD5pZi4npuJYCM3de6pl0zlefcbyTIvXIiCdsTqauZ7lAhdaJVtJSqlhYid9VosFAOygBykoJ1SEOlGWA==" - }, - "Microsoft.SourceLink.AzureRepos.Git": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "qB5urvw9LO2bG3eVAkuL+2ughxz2rR7aYgm2iyrB8Rlk9cp2ndvGRCvehk3rNIhRuNtQaeKwctOl1KvWiklv5w==", - "dependencies": { - "Microsoft.Build.Tasks.Git": "1.1.1", - "Microsoft.SourceLink.Common": "1.1.1" - } - }, - "Microsoft.SourceLink.Bitbucket.Git": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "cDzxXwlyWpLWaH0em4Idj0H3AmVo3L/6xRXKssYemx+7W52iNskj/SQ4FOmfCb8YQt39otTDNMveCZzYtMoucQ==", - "dependencies": { - "Microsoft.Build.Tasks.Git": "1.1.1", - "Microsoft.SourceLink.Common": "1.1.1" - } - }, - "Microsoft.SourceLink.Common": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "WMcGpWKrmJmzrNeuaEb23bEMnbtR/vLmvZtkAP5qWu7vQsY59GqfRJd65sFpBszbd2k/bQ8cs8eWawQKAabkVg==" - }, - "Microsoft.SourceLink.GitHub": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "IaJGnOv/M7UQjRJks7B6p7pbPnOwisYGOIzqCz5ilGFTApZ3ktOR+6zJ12ZRPInulBmdAf1SrGdDG2MU8g6XTw==", - "dependencies": { - "Microsoft.Build.Tasks.Git": "1.1.1", - "Microsoft.SourceLink.Common": "1.1.1" - } - }, - "Microsoft.SourceLink.GitLab": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "tvsg47DDLqqedlPeYVE2lmiTpND8F0hkrealQ5hYltSmvruy/Gr5nHAKSsjyw5L3NeM/HLMI5ORv7on/M4qyZw==", - "dependencies": { - "Microsoft.Build.Tasks.Git": "1.1.1", - "Microsoft.SourceLink.Common": "1.1.1" - } - }, - "Microsoft.TestPlatform.ObjectModel": { - "type": "Transitive", - "resolved": "17.3.1", - "contentHash": "n1WSFCMiFt6KmD5JzV+Wye5Ntomez3YP2+d15bu5PS5Z1U0g+V7VBLdJIaJRnahz5BsXJDTnLYNVOUdntwjx6Q==", - "dependencies": { - "NuGet.Frameworks": "5.11.0", - "System.Reflection.Metadata": "1.6.0" - } - }, - "Microsoft.TestPlatform.TestHost": { - "type": "Transitive", - "resolved": "17.3.1", - "contentHash": "co/GMz6rGxpzn2aJYTDDim61HvEk+SHBVtbXnu2RSrz20HxkaraEh0kltCsMkmLAX/6Hz5sa6NquLngBlURTow==", - "dependencies": { - "Microsoft.TestPlatform.ObjectModel": "17.3.1", - "Newtonsoft.Json": "9.0.1" - } - }, - "Microsoft.Win32.Primitives": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "9ZQKCWxH7Ijp9BfahvL2Zyf1cJIk8XYLF6Yjzr2yi0b2cOut/HQ31qf1ThHAgCc3WiZMdnWcfJCgN82/0UunxA==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } - }, - "Microsoft.Win32.Registry": { - "type": "Transitive", - "resolved": "5.0.0", - "contentHash": "dDoKi0PnDz31yAyETfRntsLArTlVAVzUzCIvvEDsDsucrl33Dl8pIJG06ePTJTI3tGpeyHS9Cq7Foc/s4EeKcg==", - "dependencies": { - "System.Security.AccessControl": "5.0.0", - "System.Security.Principal.Windows": "5.0.0" - } - }, - "NETStandard.Library": { - "type": "Transitive", - "resolved": "1.6.1", - "contentHash": "WcSp3+vP+yHNgS8EV5J7pZ9IRpeDuARBPN28by8zqff1wJQXm26PVU8L3/fYLBJVU7BtDyqNVWq2KlCVvSSR4A==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.Win32.Primitives": "4.3.0", - "System.AppContext": "4.3.0", - "System.Collections": "4.3.0", - "System.Collections.Concurrent": "4.3.0", - "System.Console": "4.3.0", - "System.Diagnostics.Debug": "4.3.0", - "System.Diagnostics.Tools": "4.3.0", - "System.Diagnostics.Tracing": "4.3.0", - "System.Globalization": "4.3.0", - "System.Globalization.Calendars": "4.3.0", - "System.IO": "4.3.0", - "System.IO.Compression": "4.3.0", - "System.IO.Compression.ZipFile": "4.3.0", - "System.IO.FileSystem": "4.3.0", - "System.IO.FileSystem.Primitives": "4.3.0", - "System.Linq": "4.3.0", - "System.Linq.Expressions": "4.3.0", - "System.Net.Http": "4.3.0", - "System.Net.Primitives": "4.3.0", - "System.Net.Sockets": "4.3.0", - "System.ObjectModel": "4.3.0", - "System.Reflection": "4.3.0", - "System.Reflection.Extensions": "4.3.0", - "System.Reflection.Primitives": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.Handles": "4.3.0", - "System.Runtime.InteropServices": "4.3.0", - "System.Runtime.InteropServices.RuntimeInformation": "4.3.0", - "System.Runtime.Numerics": "4.3.0", - "System.Security.Cryptography.Algorithms": "4.3.0", - "System.Security.Cryptography.Encoding": "4.3.0", - "System.Security.Cryptography.Primitives": "4.3.0", - "System.Security.Cryptography.X509Certificates": "4.3.0", - "System.Text.Encoding": "4.3.0", - "System.Text.Encoding.Extensions": "4.3.0", - "System.Text.RegularExpressions": "4.3.0", - "System.Threading": "4.3.0", - "System.Threading.Tasks": "4.3.0", - "System.Threading.Timer": "4.3.0", - "System.Xml.ReaderWriter": "4.3.0", - "System.Xml.XDocument": "4.3.0" - } - }, - "NuGet.Frameworks": { - "type": "Transitive", - "resolved": "5.11.0", - "contentHash": "eaiXkUjC4NPcquGWzAGMXjuxvLwc6XGKMptSyOGQeT0X70BUZObuybJFZLA0OfTdueLd3US23NBPTBb6iF3V1Q==" - }, - "Nullean.VsTest.Pretty.TestLogger": { - "type": "Transitive", - "resolved": "0.3.0", - "contentHash": "11Cklf+kZ1JS+l3CRZaWQaQHmRm0Je/iIrci6bwY5c9/QXrCuYgWe/A2w0G1eYe33QU5sgUmds48Y7HQFK89mw==", - "dependencies": { - "Microsoft.TestPlatform.ObjectModel": "15.8.0" - } - }, - "Proc": { - "type": "Transitive", - "resolved": "0.6.1", - "contentHash": "xRSCfgQNoGy60MOuvD2X1euzqvWDoyfpB8NAfVs2E5K5U1I8cA9MvVY6NbUkp5ApbOmVXls2JEPrOn8rQi2Pzg==", - "dependencies": { - "System.Diagnostics.Process": "[4.3.0]", - "System.Threading.Thread": "[4.3.0]" - } - }, - "runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "HdSSp5MnJSsg08KMfZThpuLPJpPwE5hBXvHwoKWosyHHfe8Mh5WKT0ylEOf6yNzX6Ngjxe4Whkafh5q7Ymac4Q==" - }, - "runtime.fedora.23-x64.runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "+yH1a49wJMy8Zt4yx5RhJrxO/DBDByAiCzNwiETI+1S4mPdCu0OY4djdciC7Vssk0l22wQaDLrXxXkp+3+7bVA==" - }, - "runtime.fedora.24-x64.runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "c3YNH1GQJbfIPJeCnr4avseugSqPrxwIqzthYyZDN6EuOyNOzq+y2KSUfRcXauya1sF4foESTgwM5e1A8arAKw==" - }, - "runtime.native.System": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "c/qWt2LieNZIj1jGnVNsE2Kl23Ya2aSTBuXMD6V7k9KWr6l16Tqdwq+hJScEpWER9753NWC8h96PaVNY5Ld7Jw==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0" - } - }, - "runtime.native.System.IO.Compression": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "INBPonS5QPEgn7naufQFXJEp3zX6L4bwHgJ/ZH78aBTpeNfQMtf7C6VrAFhlq2xxWBveIOWyFzQjJ8XzHMhdOQ==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0" - } - }, - "runtime.native.System.Net.Http": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "ZVuZJqnnegJhd2k/PtAbbIcZ3aZeITq3sj06oKfMBSfphW3HDmk/t4ObvbOk/JA/swGR0LNqMksAh/f7gpTROg==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0" - } - }, - "runtime.native.System.Security.Cryptography.Apple": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "DloMk88juo0OuOWr56QG7MNchmafTLYWvABy36izkrLI5VledI0rq28KGs1i9wbpeT9NPQrx/wTf8U2vazqQ3Q==", - "dependencies": { - "runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.Apple": "4.3.0" - } - }, - "runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "NS1U+700m4KFRHR5o4vo9DSlTmlCKu/u7dtE5sUHVIPB+xpXxYQvgBgA6wEIeCz6Yfn0Z52/72WYsToCEPJnrw==", - "dependencies": { - "runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0", - "runtime.fedora.23-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0", - "runtime.fedora.24-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0", - "runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0", - "runtime.opensuse.42.1-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0", - "runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0", - "runtime.rhel.7-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0", - "runtime.ubuntu.14.04-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0", - "runtime.ubuntu.16.04-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0", - "runtime.ubuntu.16.10-x64.runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0" - } - }, - "runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "b3pthNgxxFcD+Pc0WSEoC0+md3MyhRS6aCEeenvNE3Fdw1HyJ18ZhRFVJJzIeR/O/jpxPboB805Ho0T3Ul7w8A==" - }, - "runtime.opensuse.42.1-x64.runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "KeLz4HClKf+nFS7p/6Fi/CqyLXh81FpiGzcmuS8DGi9lUqSnZ6Es23/gv2O+1XVGfrbNmviF7CckBpavkBoIFQ==" - }, - "runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.Apple": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "kVXCuMTrTlxq4XOOMAysuNwsXWpYeboGddNGpIgNSZmv1b6r/s/DPk0fYMB7Q5Qo4bY68o48jt4T4y5BVecbCQ==" - }, - "runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "X7IdhILzr4ROXd8mI1BUCQMSHSQwelUlBjF1JyTKCjXaOGn2fB4EKBxQbCK2VjO3WaWIdlXZL3W6TiIVnrhX4g==" - }, - "runtime.rhel.7-x64.runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "nyFNiCk/r+VOiIqreLix8yN+q3Wga9+SE8BCgkf+2BwEKiNx6DyvFjCgkfV743/grxv8jHJ8gUK4XEQw7yzRYg==" - }, - "runtime.ubuntu.14.04-x64.runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "ytoewC6wGorL7KoCAvRfsgoJPJbNq+64k2SqW6JcOAebWsFUvCCYgfzQMrnpvPiEl4OrblUlhF2ji+Q1+SVLrQ==" - }, - "runtime.ubuntu.16.04-x64.runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "I8bKw2I8k58Wx7fMKQJn2R8lamboCAiHfHeV/pS65ScKWMMI0+wJkLYlEKvgW1D/XvSl/221clBoR2q9QNNM7A==" - }, - "runtime.ubuntu.16.10-x64.runtime.native.System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "VB5cn/7OzUfzdnC8tqAIMQciVLiq2epm2NrAm1E9OjNRyG4lVhfR61SMcLizejzQP8R8Uf/0l5qOIbUEi+RdEg==" - }, - "SharpZipLib.NETStandard": { - "type": "Transitive", - "resolved": "1.0.7", - "contentHash": "mYKPizF2CY32RQB8FITYy0e30gVgItFA63SFquruaxq+votwL1T+yOfssK10v4enBcxklr8ks48hS1emw5TTXg==", - "dependencies": { - "NETStandard.Library": "1.6.1" - } - }, - "SimpleInfoName": { - "type": "Transitive", - "resolved": "1.1.1", - "contentHash": "btPTv2TaAx8AbVX/uokw+W/9Fd1y+pqgPR9tOzq7Lfu3HmXRnTCT5jgGMw/sq4QwocOj3TnVjZsPpjfwuhjcIw==" - }, - "System.AppContext": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "fKC+rmaLfeIzUhagxY17Q9siv/sPrjjKcfNg1Ic8IlQkZLipo8ljcaZQu4VtI4Jqbzjc2VTjzGLF6WmsRXAEgA==", - "dependencies": { - "System.Runtime": "4.3.0" - } - }, - "System.Buffers": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "ratu44uTIHgeBeI0dE8DWvmXVBSo4u7ozRZZHOMmK/JPpYyo0dAfgSiHlpiObMQ5lEtEyIXA40sKRYg5J6A8uQ==", - "dependencies": { - "System.Diagnostics.Debug": "4.3.0", - "System.Diagnostics.Tracing": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Threading": "4.3.0" - } - }, - "System.CodeDom": { - "type": "Transitive", - "resolved": "5.0.0", - "contentHash": "JPJArwA1kdj8qDAkY2XGjSWoYnqiM7q/3yRNkt6n28Mnn95MuEGkZXUbPBf7qc3IjwrGY5ttQon7yqHZyQJmOQ==" - }, - "System.Collections": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "3Dcj85/TBdVpL5Zr+gEEBUuFe2icOnLalmEh9hfck1PTYbbyWuZgh4fmm2ysCLTrqLQw6t3TgTyJ+VLp+Qb+Lw==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } - }, - "System.Collections.Concurrent": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "ztl69Xp0Y/UXCL+3v3tEU+lIy+bvjKNUmopn1wep/a291pVPK7dxBd6T7WnlQqRog+d1a/hSsgRsmFnIBKTPLQ==", - "dependencies": { - "System.Collections": "4.3.0", - "System.Diagnostics.Debug": "4.3.0", - "System.Diagnostics.Tracing": "4.3.0", - "System.Globalization": "4.3.0", - "System.Reflection": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Threading": "4.3.0", - "System.Threading.Tasks": "4.3.0" - } - }, - "System.ComponentModel": { - "type": "Transitive", - "resolved": "4.0.1", - "contentHash": "oBZFnm7seFiVfugsIyOvQCWobNZs7FzqDV/B7tx20Ep/l3UUFCPDkdTnCNaJZTU27zjeODmy2C/cP60u3D4c9w==", - "dependencies": { - "System.Runtime": "4.1.0" - } - }, - "System.Configuration.ConfigurationManager": { - "type": "Transitive", - "resolved": "4.4.0", - "contentHash": "gWwQv/Ug1qWJmHCmN17nAbxJYmQBM/E94QxKLksvUiiKB1Ld3Sc/eK1lgmbSjDFxkQhVuayI/cGFZhpBSodLrg==", - "dependencies": { - "System.Security.Cryptography.ProtectedData": "4.4.0" - } - }, - "System.Console": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "DHDrIxiqk1h03m6khKWV2X8p/uvN79rgSqpilL6uzpmSfxfU5ng8VcPtW4qsDsQDHiTv6IPV9TmD5M/vElPNLg==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.IO": "4.3.0", - "System.Runtime": "4.3.0", - "System.Text.Encoding": "4.3.0" - } - }, - "System.Diagnostics.Contracts": { - "type": "Transitive", - "resolved": "4.0.1", - "contentHash": "HvQQjy712vnlpPxaloZYkuE78Gn353L0SJLJVeLcNASeg9c4qla2a1Xq8I7B3jZoDzKPtHTkyVO7AZ5tpeQGuA==", - "dependencies": { - "System.Runtime": "4.1.0" - } - }, - "System.Diagnostics.Debug": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "ZUhUOdqmaG5Jk3Xdb8xi5kIyQYAA4PnTNlHx1mu9ZY3qv4ELIdKbnL/akbGaKi2RnNUWaZsAs31rvzFdewTj2g==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } - }, - "System.Diagnostics.DiagnosticSource": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "tD6kosZnTAGdrEa0tZSuFyunMbt/5KYDnHdndJYGqZoNy00XVXyACd5d6KnE1YgYv3ne2CjtAfNXo/fwEhnKUA==", - "dependencies": { - "System.Collections": "4.3.0", - "System.Diagnostics.Tracing": "4.3.0", - "System.Reflection": "4.3.0", - "System.Runtime": "4.3.0", - "System.Threading": "4.3.0" - } - }, - "System.Diagnostics.Process": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "J0wOX07+QASQblsfxmIMFc9Iq7KTXYL3zs2G/Xc704Ylv3NpuVdo6gij6V3PGiptTxqsK0K7CdXenRvKUnkA2g==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.Win32.Primitives": "4.3.0", - "Microsoft.Win32.Registry": "4.3.0", - "System.Collections": "4.3.0", - "System.Diagnostics.Debug": "4.3.0", - "System.Globalization": "4.3.0", - "System.IO": "4.3.0", - "System.IO.FileSystem": "4.3.0", - "System.IO.FileSystem.Primitives": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.Handles": "4.3.0", - "System.Runtime.InteropServices": "4.3.0", - "System.Text.Encoding": "4.3.0", - "System.Text.Encoding.Extensions": "4.3.0", - "System.Threading": "4.3.0", - "System.Threading.Tasks": "4.3.0", - "System.Threading.Thread": "4.3.0", - "System.Threading.ThreadPool": "4.3.0", - "runtime.native.System": "4.3.0" - } - }, - "System.Diagnostics.Tools": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "UUvkJfSYJMM6x527dJg2VyWPSRqIVB0Z7dbjHst1zmwTXz5CcXSYJFWRpuigfbO1Lf7yfZiIaEUesfnl/g5EyA==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } - }, - "System.Diagnostics.Tracing": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "rswfv0f/Cqkh78rA5S8eN8Neocz234+emGCtTF3lxPY96F+mmmUen6tbn0glN6PMvlKQb9bPAY5e9u7fgPTkKw==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } - }, - "System.Dynamic.Runtime": { - "type": "Transitive", - "resolved": "4.0.11", - "contentHash": "db34f6LHYM0U0JpE+sOmjar27BnqTVkbLJhgfwMpTdgTigG/Hna3m2MYVwnFzGGKnEJk2UXFuoVTr8WUbU91/A==", - "dependencies": { - "System.Collections": "4.0.11", - "System.Diagnostics.Debug": "4.0.11", - "System.Globalization": "4.0.11", - "System.Linq": "4.1.0", - "System.Linq.Expressions": "4.1.0", - "System.ObjectModel": "4.0.12", - "System.Reflection": "4.1.0", - "System.Reflection.Emit": "4.0.1", - "System.Reflection.Emit.ILGeneration": "4.0.1", - "System.Reflection.Primitives": "4.0.1", - "System.Reflection.TypeExtensions": "4.1.0", - "System.Resources.ResourceManager": "4.0.1", - "System.Runtime": "4.1.0", - "System.Runtime.Extensions": "4.1.0", - "System.Threading": "4.0.11" - } - }, - "System.Globalization": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "kYdVd2f2PAdFGblzFswE4hkNANJBKRmsfa2X5LG2AcWE1c7/4t0pYae1L8vfZ5xvE2nK/R9JprtToA61OSHWIg==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } - }, - "System.Globalization.Calendars": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "GUlBtdOWT4LTV3I+9/PJW+56AnnChTaOqqTLFtdmype/L500M2LIyXgmtd9X2P2VOkmJd5c67H5SaC2QcL1bFA==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Globalization": "4.3.0", - "System.Runtime": "4.3.0" - } - }, - "System.Globalization.Extensions": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "FhKmdR6MPG+pxow6wGtNAWdZh7noIOpdD5TwQ3CprzgIE1bBBoim0vbR1+AWsWjQmU7zXHgQo4TWSP6lCeiWcQ==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "System.Globalization": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.InteropServices": "4.3.0" - } - }, - "System.IO": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "3qjaHvxQPDpSOYICjUoTsmoq5u6QJAFRUITgeT/4gqkF1bajbSmb1kwSxEA8AHlofqgcKJcM8udgieRNhaJ5Cg==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0", - "System.Text.Encoding": "4.3.0", - "System.Threading.Tasks": "4.3.0" - } - }, - "System.IO.Compression": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "YHndyoiV90iu4iKG115ibkhrG+S3jBm8Ap9OwoUAzO5oPDAWcr0SFwQFm0HjM8WkEZWo0zvLTyLmbvTkW1bXgg==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "System.Buffers": "4.3.0", - "System.Collections": "4.3.0", - "System.Diagnostics.Debug": "4.3.0", - "System.IO": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.Handles": "4.3.0", - "System.Runtime.InteropServices": "4.3.0", - "System.Text.Encoding": "4.3.0", - "System.Threading": "4.3.0", - "System.Threading.Tasks": "4.3.0", - "runtime.native.System": "4.3.0", - "runtime.native.System.IO.Compression": "4.3.0" - } - }, - "System.IO.Compression.ZipFile": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "G4HwjEsgIwy3JFBduZ9quBkAu+eUwjIdJleuNSgmUojbH6O3mlvEIme+GHx/cLlTAPcrnnL7GqvB9pTlWRfhOg==", - "dependencies": { - "System.Buffers": "4.3.0", - "System.IO": "4.3.0", - "System.IO.Compression": "4.3.0", - "System.IO.FileSystem": "4.3.0", - "System.IO.FileSystem.Primitives": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Text.Encoding": "4.3.0" - } - }, - "System.IO.FileSystem": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "3wEMARTnuio+ulnvi+hkRNROYwa1kylvYahhcLk4HSoVdl+xxTFVeVlYOfLwrDPImGls0mDqbMhrza8qnWPTdA==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.IO": "4.3.0", - "System.IO.FileSystem.Primitives": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Handles": "4.3.0", - "System.Text.Encoding": "4.3.0", - "System.Threading.Tasks": "4.3.0" - } - }, - "System.IO.FileSystem.Primitives": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "6QOb2XFLch7bEc4lIcJH49nJN2HV+OC3fHDgsLVsBVBk3Y4hFAnOBGzJ2lUu7CyDDFo9IBWkSsnbkT6IBwwiMw==", - "dependencies": { - "System.Runtime": "4.3.0" - } - }, - "System.Linq": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "5DbqIUpsDp0dFftytzuMmc0oeMdQwjcP/EWxsksIz/w1TcFRkZ3yKKz0PqiYFMmEwPSWw+qNVqD7PJ889JzHbw==", - "dependencies": { - "System.Collections": "4.3.0", - "System.Diagnostics.Debug": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0" - } - }, - "System.Linq.Expressions": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "PGKkrd2khG4CnlyJwxwwaWWiSiWFNBGlgXvJpeO0xCXrZ89ODrQ6tjEWS/kOqZ8GwEOUATtKtzp1eRgmYNfclg==", - "dependencies": { - "System.Collections": "4.3.0", - "System.Diagnostics.Debug": "4.3.0", - "System.Globalization": "4.3.0", - "System.IO": "4.3.0", - "System.Linq": "4.3.0", - "System.ObjectModel": "4.3.0", - "System.Reflection": "4.3.0", - "System.Reflection.Emit": "4.3.0", - "System.Reflection.Emit.ILGeneration": "4.3.0", - "System.Reflection.Emit.Lightweight": "4.3.0", - "System.Reflection.Extensions": "4.3.0", - "System.Reflection.Primitives": "4.3.0", - "System.Reflection.TypeExtensions": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Threading": "4.3.0" - } - }, - "System.Management": { - "type": "Transitive", - "resolved": "5.0.0", - "contentHash": "MF1CHaRcC+MLFdnDthv4/bKWBZnlnSpkGqa87pKukQefgEdwtb9zFW6zs0GjPp73qtpYYg4q6PEKbzJbxCpKfw==", - "dependencies": { - "Microsoft.NETCore.Platforms": "5.0.0", - "Microsoft.Win32.Registry": "5.0.0", - "System.CodeDom": "5.0.0" - } - }, - "System.Net.Http": { - "type": "Transitive", - "resolved": "4.3.1", - "contentHash": "UrTyRczM3ZvNk6oetBuwlu67MFKKRva+r7bw4JDVZ6Y2IukyZ24td5ppsieu/4yZlogVAIuZul9GIQ3hoiz0yA==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "System.Collections": "4.3.0", - "System.Diagnostics.Debug": "4.3.0", - "System.Diagnostics.DiagnosticSource": "4.3.0", - "System.Diagnostics.Tracing": "4.3.0", - "System.Globalization": "4.3.0", - "System.Globalization.Extensions": "4.3.0", - "System.IO": "4.3.0", - "System.IO.FileSystem": "4.3.0", - "System.Net.Primitives": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.Handles": "4.3.0", - "System.Runtime.InteropServices": "4.3.0", - "System.Security.Cryptography.Algorithms": "4.3.0", - "System.Security.Cryptography.Encoding": "4.3.0", - "System.Security.Cryptography.OpenSsl": "4.3.0", - "System.Security.Cryptography.Primitives": "4.3.0", - "System.Security.Cryptography.X509Certificates": "4.3.0", - "System.Text.Encoding": "4.3.0", - "System.Threading": "4.3.0", - "System.Threading.Tasks": "4.3.0", - "runtime.native.System": "4.3.0", - "runtime.native.System.Net.Http": "4.3.0", - "runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0" - } - }, - "System.Net.Primitives": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "qOu+hDwFwoZPbzPvwut2qATe3ygjeQBDQj91xlsaqGFQUI5i4ZnZb8yyQuLGpDGivEPIt8EJkd1BVzVoP31FXA==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0", - "System.Runtime.Handles": "4.3.0" - } - }, - "System.Net.Sockets": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "m6icV6TqQOAdgt5N/9I5KNpjom/5NFtkmGseEH+AK/hny8XrytLH3+b5M8zL/Ycg3fhIocFpUMyl/wpFnVRvdw==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.IO": "4.3.0", - "System.Net.Primitives": "4.3.0", - "System.Runtime": "4.3.0", - "System.Threading.Tasks": "4.3.0" - } - }, - "System.ObjectModel": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "bdX+80eKv9bN6K4N+d77OankKHGn6CH711a6fcOpMQu2Fckp/Ft4L/kW9WznHpyR0NRAvJutzOMHNNlBGvxQzQ==", - "dependencies": { - "System.Collections": "4.3.0", - "System.Diagnostics.Debug": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Threading": "4.3.0" - } - }, - "System.Reactive.Core": { - "type": "Transitive", - "resolved": "3.1.1", - "contentHash": "CKWC+UP1aM75taNX+sTBn2P97uHIUjKxq+z45iy7P91QGFqNFleR2tsqIC76HMVvYl7o8oWyMiycdsc9rC1Z/g==", - "dependencies": { - "System.ComponentModel": "4.0.1", - "System.Diagnostics.Contracts": "4.0.1", - "System.Dynamic.Runtime": "4.0.11", - "System.Reactive.Interfaces": "3.1.1", - "System.Threading.Thread": "4.0.0", - "System.Threading.ThreadPool": "4.0.10" - } - }, - "System.Reactive.Interfaces": { - "type": "Transitive", - "resolved": "3.1.1", - "contentHash": "aNVY3QoRznGFeQ+w+bMqhD8ElNWoyYq+7XTQIoxKKjBOyTOjUqIMEf1wvSdtwC4y92zg2W9q38b4Sr6cYNHVLg==", - "dependencies": { - "NETStandard.Library": "1.6.0" - } - }, - "System.Reactive.Linq": { - "type": "Transitive", - "resolved": "3.1.1", - "contentHash": "HwsZsoYRg51cLGBOEa0uoZ5+d4CMcHEg/KrbqePhLxoz/SLA+ULISphBtn3woABPATOQ6j5YgGZWh4jxnJ3KYQ==", - "dependencies": { - "System.Reactive.Core": "3.1.1", - "System.Runtime.InteropServices.WindowsRuntime": "4.0.1" - } - }, - "System.Reactive.PlatformServices": { - "type": "Transitive", - "resolved": "3.1.1", - "contentHash": "jCJ3iGDLb4duOxZ/Uo3O7PssWE48uRp0fw92AlIwrMNaZRUmZNkZyqbl0nUT+joFARBYun8XiVIDQreMJKBedA==", - "dependencies": { - "System.Reactive.Linq": "3.1.1" - } - }, - "System.Reflection": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "KMiAFoW7MfJGa9nDFNcfu+FpEdiHpWgTcS2HdMpDvt9saK3y/G4GwprPyzqjFH9NTaGPQeWNHU+iDlDILj96aQ==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.IO": "4.3.0", - "System.Reflection.Primitives": "4.3.0", - "System.Runtime": "4.3.0" - } - }, - "System.Reflection.Emit": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "228FG0jLcIwTVJyz8CLFKueVqQK36ANazUManGaJHkO0icjiIypKW7YLWLIWahyIkdh5M7mV2dJepllLyA1SKg==", - "dependencies": { - "System.IO": "4.3.0", - "System.Reflection": "4.3.0", - "System.Reflection.Emit.ILGeneration": "4.3.0", - "System.Reflection.Primitives": "4.3.0", - "System.Runtime": "4.3.0" - } - }, - "System.Reflection.Emit.ILGeneration": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "59tBslAk9733NXLrUJrwNZEzbMAcu8k344OYo+wfSVygcgZ9lgBdGIzH/nrg3LYhXceynyvTc8t5/GD4Ri0/ng==", - "dependencies": { - "System.Reflection": "4.3.0", - "System.Reflection.Primitives": "4.3.0", - "System.Runtime": "4.3.0" - } - }, - "System.Reflection.Emit.Lightweight": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "oadVHGSMsTmZsAF864QYN1t1QzZjIcuKU3l2S9cZOwDdDueNTrqq1yRj7koFfIGEnKpt6NjpL3rOzRhs4ryOgA==", - "dependencies": { - "System.Reflection": "4.3.0", - "System.Reflection.Emit.ILGeneration": "4.3.0", - "System.Reflection.Primitives": "4.3.0", - "System.Runtime": "4.3.0" - } - }, - "System.Reflection.Extensions": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "rJkrJD3kBI5B712aRu4DpSIiHRtr6QlfZSQsb0hYHrDCZORXCFjQfoipo2LaMUHoT9i1B7j7MnfaEKWDFmFQNQ==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Reflection": "4.3.0", - "System.Runtime": "4.3.0" - } - }, - "System.Reflection.Metadata": { - "type": "Transitive", - "resolved": "1.6.0", - "contentHash": "COC1aiAJjCoA5GBF+QKL2uLqEBew4JsCkQmoHKbN3TlOZKa2fKLz5CpiRQKDz0RsAOEGsVKqOD5bomsXq/4STQ==" - }, - "System.Reflection.Primitives": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "5RXItQz5As4xN2/YUDxdpsEkMhvw3e6aNveFXUn4Hl/udNTCNhnKp8lT9fnc3MhvGKh1baak5CovpuQUXHAlIA==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } - }, - "System.Reflection.TypeExtensions": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "7u6ulLcZbyxB5Gq0nMkQttcdBTx57ibzw+4IOXEfR+sXYQoHvjW5LTLyNr8O22UIMrqYbchJQJnos4eooYzYJA==", - "dependencies": { - "System.Reflection": "4.3.0", - "System.Runtime": "4.3.0" - } - }, - "System.Resources.ResourceManager": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "/zrcPkkWdZmI4F92gL/TPumP98AVDu/Wxr3CSJGQQ+XN6wbRZcyfSKVoPo17ilb3iOr0cCRqJInGwNMolqhS8A==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Globalization": "4.3.0", - "System.Reflection": "4.3.0", - "System.Runtime": "4.3.0" - } - }, - "System.Runtime": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "JufQi0vPQ0xGnAczR13AUFglDyVYt4Kqnz1AZaiKZ5+GICq0/1MH/mO/eAJHt/mHW1zjKBJd7kV26SrxddAhiw==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0" - } - }, - "System.Runtime.Extensions": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "guW0uK0fn5fcJJ1tJVXYd7/1h5F+pea1r7FLSOz/f8vPEqbR2ZAknuRDvTQ8PzAilDveOxNjSfr0CHfIQfFk8g==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } - }, - "System.Runtime.Handles": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "OKiSUN7DmTWeYb3l51A7EYaeNMnvxwE249YtZz7yooT4gOZhmTjIn48KgSsw2k2lYdLgTKNJw/ZIfSElwDRVgg==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } - }, - "System.Runtime.InteropServices": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "uv1ynXqiMK8mp1GM3jDqPCFN66eJ5w5XNomaK2XD+TuCroNTLFGeZ+WCmBMcBDyTFKou3P6cR6J/QsaqDp7fGQ==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Reflection": "4.3.0", - "System.Reflection.Primitives": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Handles": "4.3.0" - } - }, - "System.Runtime.InteropServices.RuntimeInformation": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "cbz4YJMqRDR7oLeMRbdYv7mYzc++17lNhScCX0goO2XpGWdvAt60CGN+FHdePUEHCe/Jy9jUlvNAiNdM+7jsOw==", - "dependencies": { - "System.Reflection": "4.3.0", - "System.Reflection.Extensions": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.InteropServices": "4.3.0", - "System.Threading": "4.3.0", - "runtime.native.System": "4.3.0" - } - }, - "System.Runtime.InteropServices.WindowsRuntime": { - "type": "Transitive", - "resolved": "4.0.1", - "contentHash": "oIIXM4w2y3MiEZEXA+RTtfPV+SZ1ymbFdWppHlUciNdNIL0/Uo3HW9q9iN2O7T7KUmRdvjA7C2Gv4exAyW4zEQ==", - "dependencies": { - "System.Runtime": "4.1.0" - } - }, - "System.Runtime.Numerics": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "yMH+MfdzHjy17l2KESnPiF2dwq7T+xLnSJar7slyimAkUh/gTrS9/UQOtv7xarskJ2/XDSNvfLGOBQPjL7PaHQ==", - "dependencies": { - "System.Globalization": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0" - } - }, - "System.Security.AccessControl": { - "type": "Transitive", - "resolved": "5.0.0", - "contentHash": "dagJ1mHZO3Ani8GH0PHpPEe/oYO+rVdbQjvjJkBRNQkX4t0r1iaeGn8+/ybkSLEan3/slM0t59SVdHzuHf2jmw==", - "dependencies": { - "Microsoft.NETCore.Platforms": "5.0.0", - "System.Security.Principal.Windows": "5.0.0" - } - }, - "System.Security.Cryptography.Algorithms": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "W1kd2Y8mYSCgc3ULTAZ0hOP2dSdG5YauTb1089T0/kRcN2MpSAW1izOFROrJgxSlMn3ArsgHXagigyi+ibhevg==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "System.Collections": "4.3.0", - "System.IO": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.Handles": "4.3.0", - "System.Runtime.InteropServices": "4.3.0", - "System.Runtime.Numerics": "4.3.0", - "System.Security.Cryptography.Encoding": "4.3.0", - "System.Security.Cryptography.Primitives": "4.3.0", - "System.Text.Encoding": "4.3.0", - "runtime.native.System.Security.Cryptography.Apple": "4.3.0", - "runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0" - } - }, - "System.Security.Cryptography.Cng": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "03idZOqFlsKRL4W+LuCpJ6dBYDUWReug6lZjBa3uJWnk5sPCUXckocevTaUA8iT/MFSrY/2HXkOt753xQ/cf8g==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "System.IO": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.Handles": "4.3.0", - "System.Runtime.InteropServices": "4.3.0", - "System.Security.Cryptography.Algorithms": "4.3.0", - "System.Security.Cryptography.Encoding": "4.3.0", - "System.Security.Cryptography.Primitives": "4.3.0", - "System.Text.Encoding": "4.3.0" - } - }, - "System.Security.Cryptography.Csp": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "X4s/FCkEUnRGnwR3aSfVIkldBmtURMhmexALNTwpjklzxWU7yjMk7GHLKOZTNkgnWnE0q7+BCf9N2LVRWxewaA==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "System.IO": "4.3.0", - "System.Reflection": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.Handles": "4.3.0", - "System.Runtime.InteropServices": "4.3.0", - "System.Security.Cryptography.Algorithms": "4.3.0", - "System.Security.Cryptography.Encoding": "4.3.0", - "System.Security.Cryptography.Primitives": "4.3.0", - "System.Text.Encoding": "4.3.0", - "System.Threading": "4.3.0" - } - }, - "System.Security.Cryptography.Encoding": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "1DEWjZZly9ae9C79vFwqaO5kaOlI5q+3/55ohmq/7dpDyDfc8lYe7YVxJUZ5MF/NtbkRjwFRo14yM4OEo9EmDw==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "System.Collections": "4.3.0", - "System.Collections.Concurrent": "4.3.0", - "System.Linq": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.Handles": "4.3.0", - "System.Runtime.InteropServices": "4.3.0", - "System.Security.Cryptography.Primitives": "4.3.0", - "System.Text.Encoding": "4.3.0", - "runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0" - } - }, - "System.Security.Cryptography.OpenSsl": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "h4CEgOgv5PKVF/HwaHzJRiVboL2THYCou97zpmhjghx5frc7fIvlkY1jL+lnIQyChrJDMNEXS6r7byGif8Cy4w==", - "dependencies": { - "System.Collections": "4.3.0", - "System.IO": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.Handles": "4.3.0", - "System.Runtime.InteropServices": "4.3.0", - "System.Runtime.Numerics": "4.3.0", - "System.Security.Cryptography.Algorithms": "4.3.0", - "System.Security.Cryptography.Encoding": "4.3.0", - "System.Security.Cryptography.Primitives": "4.3.0", - "System.Text.Encoding": "4.3.0", - "runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0" - } - }, - "System.Security.Cryptography.Primitives": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "7bDIyVFNL/xKeFHjhobUAQqSpJq9YTOpbEs6mR233Et01STBMXNAc/V+BM6dwYGc95gVh/Zf+iVXWzj3mE8DWg==", - "dependencies": { - "System.Diagnostics.Debug": "4.3.0", - "System.Globalization": "4.3.0", - "System.IO": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Threading": "4.3.0", - "System.Threading.Tasks": "4.3.0" - } - }, - "System.Security.Cryptography.ProtectedData": { - "type": "Transitive", - "resolved": "4.4.0", - "contentHash": "cJV7ScGW7EhatRsjehfvvYVBvtiSMKgN8bOVI0bQhnF5bU7vnHVIsH49Kva7i7GWaWYvmEzkYVk1TC+gZYBEog==" - }, - "System.Security.Cryptography.X509Certificates": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "t2Tmu6Y2NtJ2um0RtcuhP7ZdNNxXEgUm2JeoA/0NvlMjAhKCnM1NX07TDl3244mVp3QU6LPEhT3HTtH1uF7IYw==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "System.Collections": "4.3.0", - "System.Diagnostics.Debug": "4.3.0", - "System.Globalization": "4.3.0", - "System.Globalization.Calendars": "4.3.0", - "System.IO": "4.3.0", - "System.IO.FileSystem": "4.3.0", - "System.IO.FileSystem.Primitives": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.Handles": "4.3.0", - "System.Runtime.InteropServices": "4.3.0", - "System.Runtime.Numerics": "4.3.0", - "System.Security.Cryptography.Algorithms": "4.3.0", - "System.Security.Cryptography.Cng": "4.3.0", - "System.Security.Cryptography.Csp": "4.3.0", - "System.Security.Cryptography.Encoding": "4.3.0", - "System.Security.Cryptography.OpenSsl": "4.3.0", - "System.Security.Cryptography.Primitives": "4.3.0", - "System.Text.Encoding": "4.3.0", - "System.Threading": "4.3.0", - "runtime.native.System": "4.3.0", - "runtime.native.System.Net.Http": "4.3.0", - "runtime.native.System.Security.Cryptography.OpenSsl": "4.3.0" - } - }, - "System.Security.Principal.Windows": { - "type": "Transitive", - "resolved": "5.0.0", - "contentHash": "t0MGLukB5WAVU9bO3MGzvlGnyJPgUlcwerXn1kzBRjwLKixT96XV0Uza41W49gVd8zEMFu9vQEFlv0IOrytICA==" - }, - "System.Text.Encoding": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "BiIg+KWaSDOITze6jGQynxg64naAPtqGHBwDrLaCtixsa5bKiR8dpPOHA7ge3C0JJQizJE+sfkz1wV+BAKAYZw==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } - }, - "System.Text.Encoding.Extensions": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "YVMK0Bt/A43RmwizJoZ22ei2nmrhobgeiYwFzC4YAN+nue8RF6djXDMog0UCn+brerQoYVyaS+ghy9P/MUVcmw==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0", - "System.Text.Encoding": "4.3.0" - } - }, - "System.Text.Json": { - "type": "Transitive", - "resolved": "4.6.0", - "contentHash": "4F8Xe+JIkVoDJ8hDAZ7HqLkjctN/6WItJIzQaifBwClC7wmoLSda/Sv2i6i1kycqDb3hWF4JCVbpAweyOKHEUA==" - }, - "System.Text.RegularExpressions": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "RpT2DA+L660cBt1FssIE9CAGpLFdFPuheB7pLpKpn6ZXNby7jDERe8Ua/Ne2xGiwLVG2JOqziiaVCGDon5sKFA==", - "dependencies": { - "System.Runtime": "4.3.0" - } - }, - "System.Threading": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "VkUS0kOBcUf3Wwm0TSbrevDDZ6BlM+b/HRiapRFWjM5O0NS0LviG0glKmFK+hhPDd1XFeSdU1GmlLhb2CoVpIw==", - "dependencies": { - "System.Runtime": "4.3.0", - "System.Threading.Tasks": "4.3.0" - } - }, - "System.Threading.Tasks": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "LbSxKEdOUhVe8BezB/9uOGGppt+nZf6e1VFyw6v3DN6lqitm0OSn2uXMOdtP0M3W4iMcqcivm2J6UgqiwwnXiA==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } - }, - "System.Threading.Tasks.Extensions": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "npvJkVKl5rKXrtl1Kkm6OhOUaYGEiF9wFbppFRWSMoApKzt2PiPHT2Bb8a5sAWxprvdOAtvaARS9QYMznEUtug==", - "dependencies": { - "System.Collections": "4.3.0", - "System.Runtime": "4.3.0", - "System.Threading.Tasks": "4.3.0" - } - }, - "System.Threading.Thread": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "OHmbT+Zz065NKII/ZHcH9XO1dEuLGI1L2k7uYss+9C1jLxTC9kTZZuzUOyXHayRk+dft9CiDf3I/QZ0t8JKyBQ==", - "dependencies": { - "System.Runtime": "4.3.0" - } - }, - "System.Threading.ThreadPool": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "k/+g4b7vjdd4aix83sTgC9VG6oXYKAktSfNIJUNGxPEj7ryEOfzHHhfnmsZvjxawwcD9HyWXKCXmPjX8U4zeSw==", - "dependencies": { - "System.Runtime": "4.3.0", - "System.Runtime.Handles": "4.3.0" - } - }, - "System.Threading.Timer": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "Z6YfyYTCg7lOZjJzBjONJTFKGN9/NIYKSxhU5GRd+DTwHSZyvWp1xuI5aR+dLg+ayyC5Xv57KiY4oJ0tMO89fQ==", - "dependencies": { - "Microsoft.NETCore.Platforms": "1.1.0", - "Microsoft.NETCore.Targets": "1.1.0", - "System.Runtime": "4.3.0" - } - }, - "System.Xml.ReaderWriter": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "GrprA+Z0RUXaR4N7/eW71j1rgMnEnEVlgii49GZyAjTH7uliMnrOU3HNFBr6fEDBCJCIdlVNq9hHbaDR621XBA==", - "dependencies": { - "System.Collections": "4.3.0", - "System.Diagnostics.Debug": "4.3.0", - "System.Globalization": "4.3.0", - "System.IO": "4.3.0", - "System.IO.FileSystem": "4.3.0", - "System.IO.FileSystem.Primitives": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Runtime.InteropServices": "4.3.0", - "System.Text.Encoding": "4.3.0", - "System.Text.Encoding.Extensions": "4.3.0", - "System.Text.RegularExpressions": "4.3.0", - "System.Threading.Tasks": "4.3.0", - "System.Threading.Tasks.Extensions": "4.3.0" - } - }, - "System.Xml.XDocument": { - "type": "Transitive", - "resolved": "4.3.0", - "contentHash": "5zJ0XDxAIg8iy+t4aMnQAu0MqVbqyvfoUVl1yDV61xdo3Vth45oA2FoY4pPkxYAH5f8ixpmTqXeEIya95x0aCQ==", - "dependencies": { - "System.Collections": "4.3.0", - "System.Diagnostics.Debug": "4.3.0", - "System.Diagnostics.Tools": "4.3.0", - "System.Globalization": "4.3.0", - "System.IO": "4.3.0", - "System.Reflection": "4.3.0", - "System.Resources.ResourceManager": "4.3.0", - "System.Runtime": "4.3.0", - "System.Runtime.Extensions": "4.3.0", - "System.Text.Encoding": "4.3.0", - "System.Threading": "4.3.0", - "System.Xml.ReaderWriter": "4.3.0" - } - }, - "Verify": { - "type": "Transitive", - "resolved": "17.10.2", - "contentHash": "3eMRGukcJOpwjdYqrBOewONaqOC577+aWgbuW/t2LTpmCP9t07vXuB+13GzUFTCidQdj18u1rT6ShuOg+4Jucw==", - "dependencies": { - "DiffEngine": "10.0.0", - "EmptyFiles": "2.8.0", - "Newtonsoft.Json": "13.0.1", - "SimpleInfoName": "1.1.1" - } - }, - "xunit": { - "type": "Transitive", - "resolved": "2.4.2", - "contentHash": "6Mj73Ont3zj2CJuoykVJfE0ZmRwn7C+pTuRP8c4bnaaTFjwNG6tGe0prJ1yIbMe9AHrpDys63ctWacSsFJWK/w==", - "dependencies": { - "xunit.analyzers": "1.0.0", - "xunit.assert": "2.4.2", - "xunit.core": "[2.4.2]" - } - }, - "xunit.abstractions": { - "type": "Transitive", - "resolved": "2.0.3", - "contentHash": "pot1I4YOxlWjIb5jmwvvQNbTrZ3lJQ+jUGkGjWE3hEFM0l5gOnBWS+H3qsex68s5cO52g+44vpGzhAt+42vwKg==" - }, - "xunit.analyzers": { - "type": "Transitive", - "resolved": "1.0.0", - "contentHash": "BeO8hEgs/c8Ls2647fPfieMngncvf0D0xYNDfIO59MolxtCtVjFRd6SRc+7tj8VMqkVOuJcnc9eh4ngI2cAmLQ==" - }, - "xunit.assert": { - "type": "Transitive", - "resolved": "2.4.2", - "contentHash": "pxJISOFjn2XTTi1mcDCkRZrTFb9OtRRCtx2kZFNF51GdReLr1ls2rnyxvAS4JO247K3aNtflvh5Q0346K5BROA==", - "dependencies": { - "NETStandard.Library": "1.6.1" - } - }, - "xunit.core": { - "type": "Transitive", - "resolved": "2.4.2", - "contentHash": "KB4yGCxNqIVyekhJLXtKSEq6BaXVp/JO3mbGVE1hxypZTLEe7h+sTbAhpA+yZW2dPtXTuiW+C1B2oxxHEkrmOw==", - "dependencies": { - "xunit.extensibility.core": "[2.4.2]", - "xunit.extensibility.execution": "[2.4.2]" - } - }, - "xunit.extensibility.core": { - "type": "Transitive", - "resolved": "2.4.2", - "contentHash": "W1BoXTIN1C6kpVSMw25huSet25ky6IAQUNovu3zGOGN/jWnbgSoTyCrlIhmXSg0tH5nEf8q7h3OjNHOjyu5PfA==", - "dependencies": { - "NETStandard.Library": "1.6.1", - "xunit.abstractions": "2.0.3" - } - }, - "elastic.clients.elasticsearch": { - "type": "Project", - "dependencies": { - "Elastic.Transport": "[0.4.22, )" - } - }, - "elastic.clients.elasticsearch.jsonnetserializer": { - "type": "Project", - "dependencies": { - "Elastic.Clients.Elasticsearch": "[8.0.0, )", - "Newtonsoft.Json": "[13.0.1, )" - } - }, - "tests.clusterlauncher": { - "type": "Project", - "dependencies": { - "Tests.Core": "[8.0.0, )" - } - }, - "tests.configuration": { - "type": "Project", - "dependencies": { - "Elastic.Elasticsearch.Managed": "[0.4.3, )" - } - }, - "tests.core": { - "type": "Project", - "dependencies": { - "DiffPlex": "[1.4.1, )", - "Elastic.Clients.Elasticsearch.JsonNetSerializer": "[8.0.0, )", - "Elastic.Elasticsearch.Xunit": "[0.4.3, )", - "FluentAssertions": "[5.10.3, )", - "JunitXml.TestLogger": "[3.0.110, )", - "Microsoft.Bcl.HashCode": "[1.1.1, )", - "Microsoft.NET.Test.Sdk": "[17.2.0, )", - "Nullean.VsTest.Pretty.TestLogger": "[0.3.0, )", - "Proc": "[0.6.1, )", - "Tests.Domain": "[8.0.0, )", - "xunit": "[2.4.2, )" - } - }, - "tests.domain": { - "type": "Project", - "dependencies": { - "Bogus": "[22.1.2, )", - "Elastic.Clients.Elasticsearch": "[8.0.0, )", - "Elastic.Elasticsearch.Managed": "[0.4.3, )", - "Newtonsoft.Json": "[13.0.1, )", - "Tests.Configuration": "[8.0.0, )" - } - } - } - } -} \ No newline at end of file From 06f0486c6ac5f9eedfc6530eb40d8c6f17165f18 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 11 Oct 2024 16:02:28 +0200 Subject: [PATCH 07/25] Improve id inference (#8379) (#8382) Co-authored-by: Florian Bernd --- .../_Shared/Core/Infer/Id/IdResolver.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Elastic.Clients.Elasticsearch/_Shared/Core/Infer/Id/IdResolver.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Core/Infer/Id/IdResolver.cs index a52f871a209..70b07561a6f 100644 --- a/src/Elastic.Clients.Elasticsearch/_Shared/Core/Infer/Id/IdResolver.cs +++ b/src/Elastic.Clients.Elasticsearch/_Shared/Core/Infer/Id/IdResolver.cs @@ -4,6 +4,7 @@ using System; using System.Collections.Concurrent; +using System.Globalization; using System.Reflection; #if ELASTICSEARCH_SERVERLESS @@ -71,7 +72,7 @@ public string Resolve(Type type, object @object) cachedLookup = o => { var v = func(o); - return v?.ToString(); + return (v is IFormattable f) ? f.ToString(null, CultureInfo.InvariantCulture) : v?.ToString(); }; if (preferLocal) _localIdDelegates.TryAdd(type, cachedLookup); From b03a711521dd3c926ff2584dc8bfdee7ceb3e6b2 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 11 Oct 2024 16:02:42 +0200 Subject: [PATCH 08/25] Add `DateTimeOffset` to the known types for `ObjectToInferredTypesConverter` (#8380) (#8384) Co-authored-by: Florian Bernd --- .../Serialization/ObjectToInferredTypesConverter.cs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/Elastic.Clients.Elasticsearch/_Shared/Serialization/ObjectToInferredTypesConverter.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Serialization/ObjectToInferredTypesConverter.cs index e22f246fa2d..b9711de6e94 100644 --- a/src/Elastic.Clients.Elasticsearch/_Shared/Serialization/ObjectToInferredTypesConverter.cs +++ b/src/Elastic.Clients.Elasticsearch/_Shared/Serialization/ObjectToInferredTypesConverter.cs @@ -21,10 +21,11 @@ public override object Read( { JsonTokenType.True => true, JsonTokenType.False => false, - JsonTokenType.Number when reader.TryGetInt64(out var l) => l, + JsonTokenType.Number when reader.TryGetInt64(out var value) => value, JsonTokenType.Number => reader.GetDouble(), - JsonTokenType.String when reader.TryGetDateTime(out var datetime) => datetime, - JsonTokenType.String => reader.GetString(), + JsonTokenType.String when reader.TryGetDateTime(out var value) => value, + JsonTokenType.String when reader.TryGetDateTimeOffset(out var value) => value, + JsonTokenType.String => reader.GetString()!, _ => JsonDocument.ParseValue(ref reader).RootElement.Clone() }; From 0444ee48cf7868165e0b8d7c5d9713f33a114bf4 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 11 Oct 2024 16:02:56 +0200 Subject: [PATCH 09/25] Add `WithAlias` extensions for CreateIndexRequestDescriptor (#8373) (#8386) * Add WithAlias extension methods for CreateIndexRequestDescriptor * Fix incorrect namespaces in manual code files * Remove params overloads (for now) Co-authored-by: Steve Gordon --- .../CreateIndexRequestDescriptorExtensions.cs | 53 +++++++++++++++++++ .../IndexManagement/ExistsAliasResponse.cs | 2 +- .../ExistsIndexTemplateResponse.cs | 2 +- .../IndexManagement/ExistsTemplateResponse.cs | 2 +- 4 files changed, 56 insertions(+), 3 deletions(-) create mode 100644 src/Elastic.Clients.Elasticsearch.Shared/Api/Extensions/CreateIndexRequestDescriptorExtensions.cs diff --git a/src/Elastic.Clients.Elasticsearch.Shared/Api/Extensions/CreateIndexRequestDescriptorExtensions.cs b/src/Elastic.Clients.Elasticsearch.Shared/Api/Extensions/CreateIndexRequestDescriptorExtensions.cs new file mode 100644 index 00000000000..5b722d75ad6 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch.Shared/Api/Extensions/CreateIndexRequestDescriptorExtensions.cs @@ -0,0 +1,53 @@ +// 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. + +using System; + +#if ELASTICSEARCH_SERVERLESS +namespace Elastic.Clients.Elasticsearch.Serverless.IndexManagement; +#else +namespace Elastic.Clients.Elasticsearch.IndexManagement; +#endif + +public static class CreateIndexRequestDescriptorExtensions +{ + /// + /// Add multiple aliases to the index at creation time. + /// + /// A descriptor for an index request. + /// The name of the alias. + /// The to allow fluent chaining of calls to configure the indexing request. + public static CreateIndexRequestDescriptor WithAlias(this CreateIndexRequestDescriptor descriptor, string aliasName) + { +#if NET8_0_OR_GREATER + ArgumentException.ThrowIfNullOrEmpty(aliasName); +#else + if (string.IsNullOrEmpty(aliasName)) + throw new ArgumentNullException(nameof(aliasName)); +#endif + + descriptor.Aliases(a => a.Add(aliasName, static _ => { })); + return descriptor; + } + + /// + /// Adds an alias to the index at creation time. + /// + /// The type representing documents stored in this index. + /// A fluent descriptor for an index request. + /// The name of the alias. + /// The to allow fluent chaining of calls to configure the indexing request. + public static CreateIndexRequestDescriptor WithAlias(this CreateIndexRequestDescriptor descriptor, string aliasName) + { +#if NET8_0_OR_GREATER + ArgumentException.ThrowIfNullOrEmpty(aliasName); +#else + if (string.IsNullOrEmpty(aliasName)) + throw new ArgumentNullException(nameof(aliasName)); +#endif + + descriptor.Aliases(a => a.Add(aliasName, static _ => { })); + return descriptor; + } +} diff --git a/src/Elastic.Clients.Elasticsearch/_Shared/Api/IndexManagement/ExistsAliasResponse.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Api/IndexManagement/ExistsAliasResponse.cs index e55df48a596..c5c1aa04369 100644 --- a/src/Elastic.Clients.Elasticsearch/_Shared/Api/IndexManagement/ExistsAliasResponse.cs +++ b/src/Elastic.Clients.Elasticsearch/_Shared/Api/IndexManagement/ExistsAliasResponse.cs @@ -5,7 +5,7 @@ using Elastic.Transport.Products.Elasticsearch; #if ELASTICSEARCH_SERVERLESS -namespace Elastic.Clients.Elasticsearch.IndexManagement.Serverless; +namespace Elastic.Clients.Elasticsearch.Serverless.IndexManagement; #else namespace Elastic.Clients.Elasticsearch.IndexManagement; #endif diff --git a/src/Elastic.Clients.Elasticsearch/_Shared/Api/IndexManagement/ExistsIndexTemplateResponse.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Api/IndexManagement/ExistsIndexTemplateResponse.cs index 90167ab564e..dc054dcc4c8 100644 --- a/src/Elastic.Clients.Elasticsearch/_Shared/Api/IndexManagement/ExistsIndexTemplateResponse.cs +++ b/src/Elastic.Clients.Elasticsearch/_Shared/Api/IndexManagement/ExistsIndexTemplateResponse.cs @@ -5,7 +5,7 @@ using Elastic.Transport.Products.Elasticsearch; #if ELASTICSEARCH_SERVERLESS -namespace Elastic.Clients.Elasticsearch.IndexManagement.Serverless; +namespace Elastic.Clients.Elasticsearch.Serverless.IndexManagement; #else namespace Elastic.Clients.Elasticsearch.IndexManagement; #endif diff --git a/src/Elastic.Clients.Elasticsearch/_Shared/Api/IndexManagement/ExistsTemplateResponse.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Api/IndexManagement/ExistsTemplateResponse.cs index fd93d348d2f..a3362dc7e18 100644 --- a/src/Elastic.Clients.Elasticsearch/_Shared/Api/IndexManagement/ExistsTemplateResponse.cs +++ b/src/Elastic.Clients.Elasticsearch/_Shared/Api/IndexManagement/ExistsTemplateResponse.cs @@ -5,7 +5,7 @@ using Elastic.Transport.Products.Elasticsearch; #if ELASTICSEARCH_SERVERLESS -namespace Elastic.Clients.Elasticsearch.IndexManagement.Serverless; +namespace Elastic.Clients.Elasticsearch.Serverless.IndexManagement; #else namespace Elastic.Clients.Elasticsearch.IndexManagement; #endif From 077e6f5f678e1e62e3ea0dadfe1522691cd969c7 Mon Sep 17 00:00:00 2001 From: Florian Bernd Date: Fri, 11 Oct 2024 16:06:21 +0200 Subject: [PATCH 10/25] Fix solution filters --- Packages.Serverless.slnf | 3 +-- Packages.Stack.slnf | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/Packages.Serverless.slnf b/Packages.Serverless.slnf index 62e4819ebfd..218a457e47d 100644 --- a/Packages.Serverless.slnf +++ b/Packages.Serverless.slnf @@ -2,8 +2,7 @@ "solution": { "path": "Elasticsearch.sln", "projects": [ - "src\\Elastic.Clients.Elasticsearch.Serverless\\Elastic.Clients.Elasticsearch.Serverless.csproj", - "src\\Elastic.Clients.Elasticsearch.Shared\\Elastic.Clients.Elasticsearch.Shared.shproj" + "src\\Elastic.Clients.Elasticsearch.Serverless\\Elastic.Clients.Elasticsearch.Serverless.csproj" ] } } \ No newline at end of file diff --git a/Packages.Stack.slnf b/Packages.Stack.slnf index a2166d8b620..586cabde530 100644 --- a/Packages.Stack.slnf +++ b/Packages.Stack.slnf @@ -2,7 +2,6 @@ "solution": { "path": "Elasticsearch.sln", "projects": [ - "src\\Elastic.Clients.Elasticsearch.Shared\\Elastic.Clients.Elasticsearch.Shared.shproj", "src\\Elastic.Clients.Elasticsearch\\Elastic.Clients.Elasticsearch.csproj" ] } From a3d5f00036d71df1345389bd417a9ad69882ddcc Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 16 Oct 2024 14:26:07 +0200 Subject: [PATCH 11/25] Regenerate client using the latest specification (#8388) (#8390) Co-authored-by: Florian Bernd --- .../_Generated/Api/ApiUrlLookup.g.cs | 1 - .../Api/Cluster/ClusterStatsRequest.g.cs | 10 +- .../IndexManagement/ClearCacheResponse.g.cs | 2 +- .../Api/IndexManagement/FlushResponse.g.cs | 2 +- .../IndexManagement/ForcemergeResponse.g.cs | 2 +- .../IndexManagement/PutTemplateRequest.g.cs | 577 -------- .../Api/IndexManagement/RefreshResponse.g.cs | 2 +- .../GetBuiltinPrivilegesResponse.g.cs | 3 +- .../Api/Snapshot/RestoreResponse.g.cs | 4 +- .../Client/ElasticsearchClient.Indices.g.cs | 97 -- .../Types/Analysis/EdgeNGramTokenizer.g.cs | 28 +- .../Types/Analysis/NGramTokenizer.g.cs | 28 +- .../_Generated/Types/Enums/Enums.Ingest.g.cs | 70 + .../_Generated/Types/Enums/Enums.Mapping.g.cs | 292 ++++ .../IndexManagement/DataStreamVisibility.g.cs | 15 + .../Types/Ingest/CommunityIDProcessor.g.cs | 1310 +++++++++++++++++ .../Types/Ingest/DateProcessor.g.cs | 47 + .../Types/Ingest/FingerprintProcessor.g.cs | 676 +++++++++ .../Types/Ingest/GrokProcessor.g.cs | 47 + .../_Generated/Types/Ingest/IngestInfo.g.cs | 2 + .../Ingest/NetworkDirectionProcessor.g.cs | 866 +++++++++++ .../_Generated/Types/Ingest/Processor.g.cs | 75 + .../Ingest/Redact.g.cs} | 13 +- .../Types/Ingest/RedactProcessor.g.cs | 44 + .../Ingest/RegisteredDomainProcessor.g.cs | 629 ++++++++ .../Types/Ingest/TerminateProcessor.g.cs | 407 +++++ .../Mapping/DenseVectorIndexOptions.g.cs | 89 +- .../Types/Mapping/DenseVectorProperty.g.cs | 175 ++- .../Types/Nodes/NodeInfoSettingsNetwork.g.cs | 3 +- .../_Generated/Types/Nodes/NodeInfoXpack.g.cs | 2 + .../Types/Nodes/NodeInfoXpackMl.g.cs | 34 + .../Types/Nodes/NodeInfoXpackSecurity.g.cs | 2 +- .../Nodes/NodeInfoXpackSecurityAuthc.g.cs | 4 +- .../Types/Security/IndicesPrivileges.g.cs | 10 +- .../Types/Security/UserIndicesPrivileges.g.cs | 1 - .../_Generated/Types/Xpack/Features.g.cs | 10 - .../Api/Cluster/ClusterStatsRequest.g.cs | 10 +- .../MoveToStepRequest.g.cs | 28 +- .../IndexManagement/ClearCacheResponse.g.cs | 2 +- .../Api/IndexManagement/FlushResponse.g.cs | 2 +- .../IndexManagement/ForcemergeResponse.g.cs | 2 +- .../Api/IndexManagement/RefreshResponse.g.cs | 2 +- .../Api/Inference/PutInferenceResponse.g.cs | 2 +- .../GetBuiltinPrivilegesResponse.g.cs | 3 +- .../Api/Snapshot/RestoreResponse.g.cs | 4 +- .../Types/Analysis/EdgeNGramTokenizer.g.cs | 28 +- .../Types/Analysis/NGramTokenizer.g.cs | 28 +- .../_Generated/Types/Enums/Enums.Ingest.g.cs | 70 + .../_Generated/Types/Enums/Enums.Mapping.g.cs | 292 ++++ .../IndexLifecycleManagement/StepKey.g.cs | 28 +- .../IndexManagement/DataStreamVisibility.g.cs | 15 + .../Types/Inference/InferenceEndpoint.g.cs | 14 +- .../Inference/InferenceEndpointInfo.g.cs | 2 +- .../Types/Ingest/CommunityIDProcessor.g.cs | 1310 +++++++++++++++++ .../Types/Ingest/DateProcessor.g.cs | 47 + .../Types/Ingest/FingerprintProcessor.g.cs | 676 +++++++++ .../Types/Ingest/GrokProcessor.g.cs | 47 + .../Ingest/NetworkDirectionProcessor.g.cs | 866 +++++++++++ .../_Generated/Types/Ingest/Processor.g.cs | 75 + .../Ingest/RegisteredDomainProcessor.g.cs | 629 ++++++++ .../Types/Ingest/TerminateProcessor.g.cs | 407 +++++ .../Mapping/DenseVectorIndexOptions.g.cs | 89 +- .../Types/Mapping/DenseVectorProperty.g.cs | 175 ++- .../Types/Nodes/NodeInfoSettingsNetwork.g.cs | 3 +- .../_Generated/Types/Nodes/NodeInfoXpack.g.cs | 2 + .../Types/Nodes/NodeInfoXpackMl.g.cs | 34 + .../Types/Nodes/NodeInfoXpackSecurity.g.cs | 2 +- .../Nodes/NodeInfoXpackSecurityAuthc.g.cs | 4 +- .../Types/Security/IndicesPrivileges.g.cs | 10 +- .../Security/RemoteIndicesPrivileges.g.cs | 10 +- .../Types/Security/UserIndicesPrivileges.g.cs | 1 - .../_Generated/Types/Xpack/Features.g.cs | 14 +- 72 files changed, 9649 insertions(+), 863 deletions(-) delete mode 100644 src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/PutTemplateRequest.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Ingest/CommunityIDProcessor.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Ingest/FingerprintProcessor.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Ingest/NetworkDirectionProcessor.g.cs rename src/Elastic.Clients.Elasticsearch.Serverless/_Generated/{Api/IndexManagement/PutTemplateResponse.g.cs => Types/Ingest/Redact.g.cs} (78%) create mode 100644 src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Ingest/RegisteredDomainProcessor.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Ingest/TerminateProcessor.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Nodes/NodeInfoXpackMl.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/CommunityIDProcessor.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/FingerprintProcessor.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/NetworkDirectionProcessor.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/RegisteredDomainProcessor.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/TerminateProcessor.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoXpackMl.g.cs diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ApiUrlLookup.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ApiUrlLookup.g.cs index 5384356e455..a95353e6107 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ApiUrlLookup.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ApiUrlLookup.g.cs @@ -78,7 +78,6 @@ internal static class ApiUrlLookup internal static ApiUrls IndexManagementPutIndexTemplate = new ApiUrls(new[] { "_index_template/{name}" }); internal static ApiUrls IndexManagementPutMapping = new ApiUrls(new[] { "{index}/_mapping" }); internal static ApiUrls IndexManagementPutSettings = new ApiUrls(new[] { "_settings", "{index}/_settings" }); - internal static ApiUrls IndexManagementPutTemplate = new ApiUrls(new[] { "_template/{name}" }); internal static ApiUrls IndexManagementRecovery = new ApiUrls(new[] { "_recovery", "{index}/_recovery" }); internal static ApiUrls IndexManagementRefresh = new ApiUrls(new[] { "_refresh", "{index}/_refresh" }); internal static ApiUrls IndexManagementResolveIndex = new ApiUrls(new[] { "_resolve/index/{name}" }); diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Cluster/ClusterStatsRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Cluster/ClusterStatsRequest.g.cs index f3ac2f6392f..90fdb724cdb 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Cluster/ClusterStatsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Cluster/ClusterStatsRequest.g.cs @@ -33,10 +33,10 @@ public sealed partial class ClusterStatsRequestParameters : RequestParameters { /// /// - /// If true, returns settings in flat format. + /// Include remote cluster data into the response /// /// - public bool? FlatSettings { get => Q("flat_settings"); set => Q("flat_settings", value); } + public bool? IncludeRemotes { get => Q("include_remotes"); set => Q("include_remotes", value); } /// /// @@ -74,11 +74,11 @@ public ClusterStatsRequest(Elastic.Clients.Elasticsearch.Serverless.NodeIds? nod /// /// - /// If true, returns settings in flat format. + /// Include remote cluster data into the response /// /// [JsonIgnore] - public bool? FlatSettings { get => Q("flat_settings"); set => Q("flat_settings", value); } + public bool? IncludeRemotes { get => Q("include_remotes"); set => Q("include_remotes", value); } /// /// @@ -117,7 +117,7 @@ public ClusterStatsRequestDescriptor() internal override string OperationName => "cluster.stats"; - public ClusterStatsRequestDescriptor FlatSettings(bool? flatSettings = true) => Qs("flat_settings", flatSettings); + public ClusterStatsRequestDescriptor IncludeRemotes(bool? includeRemotes = true) => Qs("include_remotes", includeRemotes); public ClusterStatsRequestDescriptor Timeout(Elastic.Clients.Elasticsearch.Serverless.Duration? timeout) => Qs("timeout", timeout); public ClusterStatsRequestDescriptor NodeId(Elastic.Clients.Elasticsearch.Serverless.NodeIds? nodeId) diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/ClearCacheResponse.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/ClearCacheResponse.g.cs index e81d3e2bfdf..17ef061beb2 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/ClearCacheResponse.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/ClearCacheResponse.g.cs @@ -29,5 +29,5 @@ namespace Elastic.Clients.Elasticsearch.Serverless.IndexManagement; public sealed partial class ClearCacheResponse : ElasticsearchResponse { [JsonInclude, JsonPropertyName("_shards")] - public Elastic.Clients.Elasticsearch.Serverless.ShardStatistics Shards { get; init; } + public Elastic.Clients.Elasticsearch.Serverless.ShardStatistics? Shards { get; init; } } \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/FlushResponse.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/FlushResponse.g.cs index cd690796910..687c6c94df6 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/FlushResponse.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/FlushResponse.g.cs @@ -29,5 +29,5 @@ namespace Elastic.Clients.Elasticsearch.Serverless.IndexManagement; public sealed partial class FlushResponse : ElasticsearchResponse { [JsonInclude, JsonPropertyName("_shards")] - public Elastic.Clients.Elasticsearch.Serverless.ShardStatistics Shards { get; init; } + public Elastic.Clients.Elasticsearch.Serverless.ShardStatistics? Shards { get; init; } } \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/ForcemergeResponse.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/ForcemergeResponse.g.cs index c2c25ee1c05..a26e677edd8 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/ForcemergeResponse.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/ForcemergeResponse.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.Serverless.IndexManagement; public sealed partial class ForcemergeResponse : ElasticsearchResponse { [JsonInclude, JsonPropertyName("_shards")] - public Elastic.Clients.Elasticsearch.Serverless.ShardStatistics Shards { get; init; } + public Elastic.Clients.Elasticsearch.Serverless.ShardStatistics? Shards { get; init; } /// /// diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/PutTemplateRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/PutTemplateRequest.g.cs deleted file mode 100644 index f1bc42f7dbe..00000000000 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/PutTemplateRequest.g.cs +++ /dev/null @@ -1,577 +0,0 @@ -// 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 Elastic.Clients.Elasticsearch.Serverless.Fluent; -using Elastic.Clients.Elasticsearch.Serverless.Requests; -using Elastic.Clients.Elasticsearch.Serverless.Serialization; -using Elastic.Transport; -using System; -using System.Collections.Generic; -using System.Linq.Expressions; -using System.Text.Json; -using System.Text.Json.Serialization; - -namespace Elastic.Clients.Elasticsearch.Serverless.IndexManagement; - -public sealed partial class PutTemplateRequestParameters : RequestParameters -{ - public string? Cause { get => Q("cause"); set => Q("cause", value); } - - /// - /// - /// If true, this request cannot replace or update existing index templates. - /// - /// - public bool? Create { get => Q("create"); set => Q("create", value); } - - /// - /// - /// Period to wait for a connection to the master node. If no response is - /// received before the timeout expires, the request fails and returns an error. - /// - /// - public Elastic.Clients.Elasticsearch.Serverless.Duration? MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); } -} - -/// -/// -/// Create or update an index template. -/// Index templates define settings, mappings, and aliases that can be applied automatically to new indices. -/// -/// -public sealed partial class PutTemplateRequest : PlainRequest -{ - public PutTemplateRequest(Elastic.Clients.Elasticsearch.Serverless.Name name) : base(r => r.Required("name", name)) - { - } - - internal override ApiUrls ApiUrls => ApiUrlLookup.IndexManagementPutTemplate; - - protected override HttpMethod StaticHttpMethod => HttpMethod.PUT; - - internal override bool SupportsBody => true; - - internal override string OperationName => "indices.put_template"; - - [JsonIgnore] - public string? Cause { get => Q("cause"); set => Q("cause", value); } - - /// - /// - /// If true, this request cannot replace or update existing index templates. - /// - /// - [JsonIgnore] - public bool? Create { get => Q("create"); set => Q("create", value); } - - /// - /// - /// Period to wait for a connection to the master node. If no response is - /// received before the timeout expires, the request fails and returns an error. - /// - /// - [JsonIgnore] - public Elastic.Clients.Elasticsearch.Serverless.Duration? MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); } - - /// - /// - /// Aliases for the index. - /// - /// - [JsonInclude, JsonPropertyName("aliases")] - public IDictionary? Aliases { get; set; } - - /// - /// - /// Array of wildcard expressions used to match the names - /// of indices during creation. - /// - /// - [JsonInclude, JsonPropertyName("index_patterns")] - [SingleOrManyCollectionConverter(typeof(string))] - public ICollection? IndexPatterns { get; set; } - - /// - /// - /// Mapping for fields in the index. - /// - /// - [JsonInclude, JsonPropertyName("mappings")] - public Elastic.Clients.Elasticsearch.Serverless.Mapping.TypeMapping? Mappings { get; set; } - - /// - /// - /// Order in which Elasticsearch applies this template if index - /// matches multiple templates. - /// - /// - /// Templates with lower 'order' values are merged first. Templates with higher - /// 'order' values are merged later, overriding templates with lower values. - /// - /// - [JsonInclude, JsonPropertyName("order")] - public int? Order { get; set; } - - /// - /// - /// Configuration options for the index. - /// - /// - [JsonInclude, JsonPropertyName("settings")] - public Elastic.Clients.Elasticsearch.Serverless.IndexManagement.IndexSettings? Settings { get; set; } - - /// - /// - /// Version number used to manage index templates externally. This number - /// is not automatically generated by Elasticsearch. - /// - /// - [JsonInclude, JsonPropertyName("version")] - public long? Version { get; set; } -} - -/// -/// -/// Create or update an index template. -/// Index templates define settings, mappings, and aliases that can be applied automatically to new indices. -/// -/// -public sealed partial class PutTemplateRequestDescriptor : RequestDescriptor, PutTemplateRequestParameters> -{ - internal PutTemplateRequestDescriptor(Action> configure) => configure.Invoke(this); - - public PutTemplateRequestDescriptor(Elastic.Clients.Elasticsearch.Serverless.Name name) : base(r => r.Required("name", name)) - { - } - - internal override ApiUrls ApiUrls => ApiUrlLookup.IndexManagementPutTemplate; - - protected override HttpMethod StaticHttpMethod => HttpMethod.PUT; - - internal override bool SupportsBody => true; - - internal override string OperationName => "indices.put_template"; - - public PutTemplateRequestDescriptor Cause(string? cause) => Qs("cause", cause); - public PutTemplateRequestDescriptor Create(bool? create = true) => Qs("create", create); - public PutTemplateRequestDescriptor MasterTimeout(Elastic.Clients.Elasticsearch.Serverless.Duration? masterTimeout) => Qs("master_timeout", masterTimeout); - - public PutTemplateRequestDescriptor Name(Elastic.Clients.Elasticsearch.Serverless.Name name) - { - RouteValues.Required("name", name); - return Self; - } - - private IDictionary> AliasesValue { get; set; } - private ICollection? IndexPatternsValue { get; set; } - private Elastic.Clients.Elasticsearch.Serverless.Mapping.TypeMapping? MappingsValue { get; set; } - private Elastic.Clients.Elasticsearch.Serverless.Mapping.TypeMappingDescriptor MappingsDescriptor { get; set; } - private Action> MappingsDescriptorAction { get; set; } - private int? OrderValue { get; set; } - private Elastic.Clients.Elasticsearch.Serverless.IndexManagement.IndexSettings? SettingsValue { get; set; } - private Elastic.Clients.Elasticsearch.Serverless.IndexManagement.IndexSettingsDescriptor SettingsDescriptor { get; set; } - private Action> SettingsDescriptorAction { get; set; } - private long? VersionValue { get; set; } - - /// - /// - /// Aliases for the index. - /// - /// - public PutTemplateRequestDescriptor Aliases(Func>, FluentDescriptorDictionary>> selector) - { - AliasesValue = selector?.Invoke(new FluentDescriptorDictionary>()); - return Self; - } - - /// - /// - /// Array of wildcard expressions used to match the names - /// of indices during creation. - /// - /// - public PutTemplateRequestDescriptor IndexPatterns(ICollection? indexPatterns) - { - IndexPatternsValue = indexPatterns; - return Self; - } - - /// - /// - /// Mapping for fields in the index. - /// - /// - public PutTemplateRequestDescriptor Mappings(Elastic.Clients.Elasticsearch.Serverless.Mapping.TypeMapping? mappings) - { - MappingsDescriptor = null; - MappingsDescriptorAction = null; - MappingsValue = mappings; - return Self; - } - - public PutTemplateRequestDescriptor Mappings(Elastic.Clients.Elasticsearch.Serverless.Mapping.TypeMappingDescriptor descriptor) - { - MappingsValue = null; - MappingsDescriptorAction = null; - MappingsDescriptor = descriptor; - return Self; - } - - public PutTemplateRequestDescriptor Mappings(Action> configure) - { - MappingsValue = null; - MappingsDescriptor = null; - MappingsDescriptorAction = configure; - return Self; - } - - /// - /// - /// Order in which Elasticsearch applies this template if index - /// matches multiple templates. - /// - /// - /// Templates with lower 'order' values are merged first. Templates with higher - /// 'order' values are merged later, overriding templates with lower values. - /// - /// - public PutTemplateRequestDescriptor Order(int? order) - { - OrderValue = order; - return Self; - } - - /// - /// - /// Configuration options for the index. - /// - /// - public PutTemplateRequestDescriptor Settings(Elastic.Clients.Elasticsearch.Serverless.IndexManagement.IndexSettings? settings) - { - SettingsDescriptor = null; - SettingsDescriptorAction = null; - SettingsValue = settings; - return Self; - } - - public PutTemplateRequestDescriptor Settings(Elastic.Clients.Elasticsearch.Serverless.IndexManagement.IndexSettingsDescriptor descriptor) - { - SettingsValue = null; - SettingsDescriptorAction = null; - SettingsDescriptor = descriptor; - return Self; - } - - public PutTemplateRequestDescriptor Settings(Action> configure) - { - SettingsValue = null; - SettingsDescriptor = null; - SettingsDescriptorAction = configure; - return Self; - } - - /// - /// - /// Version number used to manage index templates externally. This number - /// is not automatically generated by Elasticsearch. - /// - /// - public PutTemplateRequestDescriptor Version(long? version) - { - VersionValue = version; - return Self; - } - - protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) - { - writer.WriteStartObject(); - if (AliasesValue is not null) - { - writer.WritePropertyName("aliases"); - JsonSerializer.Serialize(writer, AliasesValue, options); - } - - if (IndexPatternsValue is not null) - { - writer.WritePropertyName("index_patterns"); - SingleOrManySerializationHelper.Serialize(IndexPatternsValue, writer, options); - } - - if (MappingsDescriptor is not null) - { - writer.WritePropertyName("mappings"); - JsonSerializer.Serialize(writer, MappingsDescriptor, options); - } - else if (MappingsDescriptorAction is not null) - { - writer.WritePropertyName("mappings"); - JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.Serverless.Mapping.TypeMappingDescriptor(MappingsDescriptorAction), options); - } - else if (MappingsValue is not null) - { - writer.WritePropertyName("mappings"); - JsonSerializer.Serialize(writer, MappingsValue, options); - } - - if (OrderValue.HasValue) - { - writer.WritePropertyName("order"); - writer.WriteNumberValue(OrderValue.Value); - } - - if (SettingsDescriptor is not null) - { - writer.WritePropertyName("settings"); - JsonSerializer.Serialize(writer, SettingsDescriptor, options); - } - else if (SettingsDescriptorAction is not null) - { - writer.WritePropertyName("settings"); - JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.Serverless.IndexManagement.IndexSettingsDescriptor(SettingsDescriptorAction), options); - } - else if (SettingsValue is not null) - { - writer.WritePropertyName("settings"); - JsonSerializer.Serialize(writer, SettingsValue, options); - } - - if (VersionValue.HasValue) - { - writer.WritePropertyName("version"); - writer.WriteNumberValue(VersionValue.Value); - } - - writer.WriteEndObject(); - } -} - -/// -/// -/// Create or update an index template. -/// Index templates define settings, mappings, and aliases that can be applied automatically to new indices. -/// -/// -public sealed partial class PutTemplateRequestDescriptor : RequestDescriptor -{ - internal PutTemplateRequestDescriptor(Action configure) => configure.Invoke(this); - - public PutTemplateRequestDescriptor(Elastic.Clients.Elasticsearch.Serverless.Name name) : base(r => r.Required("name", name)) - { - } - - internal override ApiUrls ApiUrls => ApiUrlLookup.IndexManagementPutTemplate; - - protected override HttpMethod StaticHttpMethod => HttpMethod.PUT; - - internal override bool SupportsBody => true; - - internal override string OperationName => "indices.put_template"; - - public PutTemplateRequestDescriptor Cause(string? cause) => Qs("cause", cause); - public PutTemplateRequestDescriptor Create(bool? create = true) => Qs("create", create); - public PutTemplateRequestDescriptor MasterTimeout(Elastic.Clients.Elasticsearch.Serverless.Duration? masterTimeout) => Qs("master_timeout", masterTimeout); - - public PutTemplateRequestDescriptor Name(Elastic.Clients.Elasticsearch.Serverless.Name name) - { - RouteValues.Required("name", name); - return Self; - } - - private IDictionary AliasesValue { get; set; } - private ICollection? IndexPatternsValue { get; set; } - private Elastic.Clients.Elasticsearch.Serverless.Mapping.TypeMapping? MappingsValue { get; set; } - private Elastic.Clients.Elasticsearch.Serverless.Mapping.TypeMappingDescriptor MappingsDescriptor { get; set; } - private Action MappingsDescriptorAction { get; set; } - private int? OrderValue { get; set; } - private Elastic.Clients.Elasticsearch.Serverless.IndexManagement.IndexSettings? SettingsValue { get; set; } - private Elastic.Clients.Elasticsearch.Serverless.IndexManagement.IndexSettingsDescriptor SettingsDescriptor { get; set; } - private Action SettingsDescriptorAction { get; set; } - private long? VersionValue { get; set; } - - /// - /// - /// Aliases for the index. - /// - /// - public PutTemplateRequestDescriptor Aliases(Func, FluentDescriptorDictionary> selector) - { - AliasesValue = selector?.Invoke(new FluentDescriptorDictionary()); - return Self; - } - - /// - /// - /// Array of wildcard expressions used to match the names - /// of indices during creation. - /// - /// - public PutTemplateRequestDescriptor IndexPatterns(ICollection? indexPatterns) - { - IndexPatternsValue = indexPatterns; - return Self; - } - - /// - /// - /// Mapping for fields in the index. - /// - /// - public PutTemplateRequestDescriptor Mappings(Elastic.Clients.Elasticsearch.Serverless.Mapping.TypeMapping? mappings) - { - MappingsDescriptor = null; - MappingsDescriptorAction = null; - MappingsValue = mappings; - return Self; - } - - public PutTemplateRequestDescriptor Mappings(Elastic.Clients.Elasticsearch.Serverless.Mapping.TypeMappingDescriptor descriptor) - { - MappingsValue = null; - MappingsDescriptorAction = null; - MappingsDescriptor = descriptor; - return Self; - } - - public PutTemplateRequestDescriptor Mappings(Action configure) - { - MappingsValue = null; - MappingsDescriptor = null; - MappingsDescriptorAction = configure; - return Self; - } - - /// - /// - /// Order in which Elasticsearch applies this template if index - /// matches multiple templates. - /// - /// - /// Templates with lower 'order' values are merged first. Templates with higher - /// 'order' values are merged later, overriding templates with lower values. - /// - /// - public PutTemplateRequestDescriptor Order(int? order) - { - OrderValue = order; - return Self; - } - - /// - /// - /// Configuration options for the index. - /// - /// - public PutTemplateRequestDescriptor Settings(Elastic.Clients.Elasticsearch.Serverless.IndexManagement.IndexSettings? settings) - { - SettingsDescriptor = null; - SettingsDescriptorAction = null; - SettingsValue = settings; - return Self; - } - - public PutTemplateRequestDescriptor Settings(Elastic.Clients.Elasticsearch.Serverless.IndexManagement.IndexSettingsDescriptor descriptor) - { - SettingsValue = null; - SettingsDescriptorAction = null; - SettingsDescriptor = descriptor; - return Self; - } - - public PutTemplateRequestDescriptor Settings(Action configure) - { - SettingsValue = null; - SettingsDescriptor = null; - SettingsDescriptorAction = configure; - return Self; - } - - /// - /// - /// Version number used to manage index templates externally. This number - /// is not automatically generated by Elasticsearch. - /// - /// - public PutTemplateRequestDescriptor Version(long? version) - { - VersionValue = version; - return Self; - } - - protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) - { - writer.WriteStartObject(); - if (AliasesValue is not null) - { - writer.WritePropertyName("aliases"); - JsonSerializer.Serialize(writer, AliasesValue, options); - } - - if (IndexPatternsValue is not null) - { - writer.WritePropertyName("index_patterns"); - SingleOrManySerializationHelper.Serialize(IndexPatternsValue, writer, options); - } - - if (MappingsDescriptor is not null) - { - writer.WritePropertyName("mappings"); - JsonSerializer.Serialize(writer, MappingsDescriptor, options); - } - else if (MappingsDescriptorAction is not null) - { - writer.WritePropertyName("mappings"); - JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.Serverless.Mapping.TypeMappingDescriptor(MappingsDescriptorAction), options); - } - else if (MappingsValue is not null) - { - writer.WritePropertyName("mappings"); - JsonSerializer.Serialize(writer, MappingsValue, options); - } - - if (OrderValue.HasValue) - { - writer.WritePropertyName("order"); - writer.WriteNumberValue(OrderValue.Value); - } - - if (SettingsDescriptor is not null) - { - writer.WritePropertyName("settings"); - JsonSerializer.Serialize(writer, SettingsDescriptor, options); - } - else if (SettingsDescriptorAction is not null) - { - writer.WritePropertyName("settings"); - JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.Serverless.IndexManagement.IndexSettingsDescriptor(SettingsDescriptorAction), options); - } - else if (SettingsValue is not null) - { - writer.WritePropertyName("settings"); - JsonSerializer.Serialize(writer, SettingsValue, options); - } - - if (VersionValue.HasValue) - { - writer.WritePropertyName("version"); - writer.WriteNumberValue(VersionValue.Value); - } - - writer.WriteEndObject(); - } -} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/RefreshResponse.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/RefreshResponse.g.cs index 179549b48e9..52956bca56e 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/RefreshResponse.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/RefreshResponse.g.cs @@ -29,5 +29,5 @@ namespace Elastic.Clients.Elasticsearch.Serverless.IndexManagement; public sealed partial class RefreshResponse : ElasticsearchResponse { [JsonInclude, JsonPropertyName("_shards")] - public Elastic.Clients.Elasticsearch.Serverless.ShardStatistics Shards { get; init; } + public Elastic.Clients.Elasticsearch.Serverless.ShardStatistics? Shards { get; init; } } \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetBuiltinPrivilegesResponse.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetBuiltinPrivilegesResponse.g.cs index 36890a6be56..f8523f5be5e 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetBuiltinPrivilegesResponse.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetBuiltinPrivilegesResponse.g.cs @@ -31,6 +31,5 @@ public sealed partial class GetBuiltinPrivilegesResponse : ElasticsearchResponse [JsonInclude, JsonPropertyName("cluster")] public IReadOnlyCollection Cluster { get; init; } [JsonInclude, JsonPropertyName("index")] - [SingleOrManyCollectionConverter(typeof(string))] - public IReadOnlyCollection Indices { get; init; } + public IReadOnlyCollection Index { get; init; } } \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Snapshot/RestoreResponse.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Snapshot/RestoreResponse.g.cs index aa37bbc1b03..0ee5b1548b6 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Snapshot/RestoreResponse.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Snapshot/RestoreResponse.g.cs @@ -28,6 +28,8 @@ namespace Elastic.Clients.Elasticsearch.Serverless.Snapshot; public sealed partial class RestoreResponse : ElasticsearchResponse { + [JsonInclude, JsonPropertyName("accepted")] + public bool? Accepted { get; init; } [JsonInclude, JsonPropertyName("snapshot")] - public Elastic.Clients.Elasticsearch.Serverless.Snapshot.SnapshotRestore Snapshot { get; init; } + public Elastic.Clients.Elasticsearch.Serverless.Snapshot.SnapshotRestore? Snapshot { get; init; } } \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.Indices.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.Indices.g.cs index 5d44684be76..7b6acfce7ab 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.Indices.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.Indices.g.cs @@ -3600,103 +3600,6 @@ public virtual Task PutSettingsAsync(Elastic.Clients return DoRequestAsync(descriptor, cancellationToken); } - /// - /// - /// Create or update an index template. - /// Index templates define settings, mappings, and aliases that can be applied automatically to new indices. - /// - /// Learn more about this API in the Elasticsearch documentation. - /// - public virtual Task PutTemplateAsync(PutTemplateRequest request, CancellationToken cancellationToken = default) - { - request.BeforeRequest(); - return DoRequestAsync(request, cancellationToken); - } - - /// - /// - /// Create or update an index template. - /// Index templates define settings, mappings, and aliases that can be applied automatically to new indices. - /// - /// Learn more about this API in the Elasticsearch documentation. - /// - public virtual Task PutTemplateAsync(PutTemplateRequestDescriptor descriptor, CancellationToken cancellationToken = default) - { - descriptor.BeforeRequest(); - return DoRequestAsync, PutTemplateResponse, PutTemplateRequestParameters>(descriptor, cancellationToken); - } - - /// - /// - /// Create or update an index template. - /// Index templates define settings, mappings, and aliases that can be applied automatically to new indices. - /// - /// Learn more about this API in the Elasticsearch documentation. - /// - public virtual Task PutTemplateAsync(Elastic.Clients.Elasticsearch.Serverless.Name name, CancellationToken cancellationToken = default) - { - var descriptor = new PutTemplateRequestDescriptor(name); - descriptor.BeforeRequest(); - return DoRequestAsync, PutTemplateResponse, PutTemplateRequestParameters>(descriptor, cancellationToken); - } - - /// - /// - /// Create or update an index template. - /// Index templates define settings, mappings, and aliases that can be applied automatically to new indices. - /// - /// Learn more about this API in the Elasticsearch documentation. - /// - public virtual Task PutTemplateAsync(Elastic.Clients.Elasticsearch.Serverless.Name name, Action> configureRequest, CancellationToken cancellationToken = default) - { - var descriptor = new PutTemplateRequestDescriptor(name); - configureRequest?.Invoke(descriptor); - descriptor.BeforeRequest(); - return DoRequestAsync, PutTemplateResponse, PutTemplateRequestParameters>(descriptor, cancellationToken); - } - - /// - /// - /// Create or update an index template. - /// Index templates define settings, mappings, and aliases that can be applied automatically to new indices. - /// - /// Learn more about this API in the Elasticsearch documentation. - /// - public virtual Task PutTemplateAsync(PutTemplateRequestDescriptor descriptor, CancellationToken cancellationToken = default) - { - descriptor.BeforeRequest(); - return DoRequestAsync(descriptor, cancellationToken); - } - - /// - /// - /// Create or update an index template. - /// Index templates define settings, mappings, and aliases that can be applied automatically to new indices. - /// - /// Learn more about this API in the Elasticsearch documentation. - /// - public virtual Task PutTemplateAsync(Elastic.Clients.Elasticsearch.Serverless.Name name, CancellationToken cancellationToken = default) - { - var descriptor = new PutTemplateRequestDescriptor(name); - descriptor.BeforeRequest(); - return DoRequestAsync(descriptor, cancellationToken); - } - - /// - /// - /// Create or update an index template. - /// Index templates define settings, mappings, and aliases that can be applied automatically to new indices. - /// - /// Learn more about this API in the Elasticsearch documentation. - /// - public virtual Task PutTemplateAsync(Elastic.Clients.Elasticsearch.Serverless.Name name, Action configureRequest, CancellationToken cancellationToken = default) - { - var descriptor = new PutTemplateRequestDescriptor(name); - configureRequest?.Invoke(descriptor); - descriptor.BeforeRequest(); - return DoRequestAsync(descriptor, cancellationToken); - } - /// /// /// Returns information about ongoing and completed shard recoveries for one or more indices. diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Analysis/EdgeNGramTokenizer.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Analysis/EdgeNGramTokenizer.g.cs index 41b05db29a7..a4e14124507 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Analysis/EdgeNGramTokenizer.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Analysis/EdgeNGramTokenizer.g.cs @@ -32,9 +32,9 @@ public sealed partial class EdgeNGramTokenizer : ITokenizer [JsonInclude, JsonPropertyName("custom_token_chars")] public string? CustomTokenChars { get; set; } [JsonInclude, JsonPropertyName("max_gram")] - public int MaxGram { get; set; } + public int? MaxGram { get; set; } [JsonInclude, JsonPropertyName("min_gram")] - public int MinGram { get; set; } + public int? MinGram { get; set; } [JsonInclude, JsonPropertyName("token_chars")] public ICollection? TokenChars { get; set; } @@ -54,8 +54,8 @@ public EdgeNGramTokenizerDescriptor() : base() } private string? CustomTokenCharsValue { get; set; } - private int MaxGramValue { get; set; } - private int MinGramValue { get; set; } + private int? MaxGramValue { get; set; } + private int? MinGramValue { get; set; } private ICollection? TokenCharsValue { get; set; } private string? VersionValue { get; set; } @@ -65,13 +65,13 @@ public EdgeNGramTokenizerDescriptor CustomTokenChars(string? customTokenChars) return Self; } - public EdgeNGramTokenizerDescriptor MaxGram(int maxGram) + public EdgeNGramTokenizerDescriptor MaxGram(int? maxGram) { MaxGramValue = maxGram; return Self; } - public EdgeNGramTokenizerDescriptor MinGram(int minGram) + public EdgeNGramTokenizerDescriptor MinGram(int? minGram) { MinGramValue = minGram; return Self; @@ -98,10 +98,18 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o writer.WriteStringValue(CustomTokenCharsValue); } - writer.WritePropertyName("max_gram"); - writer.WriteNumberValue(MaxGramValue); - writer.WritePropertyName("min_gram"); - writer.WriteNumberValue(MinGramValue); + if (MaxGramValue.HasValue) + { + writer.WritePropertyName("max_gram"); + writer.WriteNumberValue(MaxGramValue.Value); + } + + if (MinGramValue.HasValue) + { + writer.WritePropertyName("min_gram"); + writer.WriteNumberValue(MinGramValue.Value); + } + if (TokenCharsValue is not null) { writer.WritePropertyName("token_chars"); diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Analysis/NGramTokenizer.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Analysis/NGramTokenizer.g.cs index 1c685bd6ccf..d0fddb79b9b 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Analysis/NGramTokenizer.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Analysis/NGramTokenizer.g.cs @@ -32,9 +32,9 @@ public sealed partial class NGramTokenizer : ITokenizer [JsonInclude, JsonPropertyName("custom_token_chars")] public string? CustomTokenChars { get; set; } [JsonInclude, JsonPropertyName("max_gram")] - public int MaxGram { get; set; } + public int? MaxGram { get; set; } [JsonInclude, JsonPropertyName("min_gram")] - public int MinGram { get; set; } + public int? MinGram { get; set; } [JsonInclude, JsonPropertyName("token_chars")] public ICollection? TokenChars { get; set; } @@ -54,8 +54,8 @@ public NGramTokenizerDescriptor() : base() } private string? CustomTokenCharsValue { get; set; } - private int MaxGramValue { get; set; } - private int MinGramValue { get; set; } + private int? MaxGramValue { get; set; } + private int? MinGramValue { get; set; } private ICollection? TokenCharsValue { get; set; } private string? VersionValue { get; set; } @@ -65,13 +65,13 @@ public NGramTokenizerDescriptor CustomTokenChars(string? customTokenChars) return Self; } - public NGramTokenizerDescriptor MaxGram(int maxGram) + public NGramTokenizerDescriptor MaxGram(int? maxGram) { MaxGramValue = maxGram; return Self; } - public NGramTokenizerDescriptor MinGram(int minGram) + public NGramTokenizerDescriptor MinGram(int? minGram) { MinGramValue = minGram; return Self; @@ -98,10 +98,18 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o writer.WriteStringValue(CustomTokenCharsValue); } - writer.WritePropertyName("max_gram"); - writer.WriteNumberValue(MaxGramValue); - writer.WritePropertyName("min_gram"); - writer.WriteNumberValue(MinGramValue); + if (MaxGramValue.HasValue) + { + writer.WritePropertyName("max_gram"); + writer.WriteNumberValue(MaxGramValue.Value); + } + + if (MinGramValue.HasValue) + { + writer.WritePropertyName("min_gram"); + writer.WriteNumberValue(MinGramValue.Value); + } + if (TokenCharsValue is not null) { writer.WritePropertyName("token_chars"); diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Enums/Enums.Ingest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Enums/Enums.Ingest.g.cs index 6d0a3acaabb..81ceefaf2ce 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Enums/Enums.Ingest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Enums/Enums.Ingest.g.cs @@ -35,6 +35,8 @@ public enum ConvertType String, [EnumMember(Value = "long")] Long, + [EnumMember(Value = "ip")] + Ip, [EnumMember(Value = "integer")] Integer, [EnumMember(Value = "float")] @@ -58,6 +60,8 @@ public override ConvertType Read(ref Utf8JsonReader reader, Type typeToConvert, return ConvertType.String; case "long": return ConvertType.Long; + case "ip": + return ConvertType.Ip; case "integer": return ConvertType.Integer; case "float": @@ -84,6 +88,9 @@ public override void Write(Utf8JsonWriter writer, ConvertType value, JsonSeriali case ConvertType.Long: writer.WriteStringValue("long"); return; + case ConvertType.Ip: + writer.WriteStringValue("ip"); + return; case ConvertType.Integer: writer.WriteStringValue("integer"); return; @@ -105,6 +112,69 @@ public override void Write(Utf8JsonWriter writer, ConvertType value, JsonSeriali } } +[JsonConverter(typeof(FingerprintDigestConverter))] +public enum FingerprintDigest +{ + [EnumMember(Value = "SHA-512")] + Sha512, + [EnumMember(Value = "SHA-256")] + Sha256, + [EnumMember(Value = "SHA-1")] + Sha1, + [EnumMember(Value = "MurmurHash3")] + Murmurhash3, + [EnumMember(Value = "MD5")] + Md5 +} + +internal sealed class FingerprintDigestConverter : JsonConverter +{ + public override FingerprintDigest Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) + { + var enumString = reader.GetString(); + switch (enumString) + { + case "SHA-512": + return FingerprintDigest.Sha512; + case "SHA-256": + return FingerprintDigest.Sha256; + case "SHA-1": + return FingerprintDigest.Sha1; + case "MurmurHash3": + return FingerprintDigest.Murmurhash3; + case "MD5": + return FingerprintDigest.Md5; + } + + ThrowHelper.ThrowJsonException(); + return default; + } + + public override void Write(Utf8JsonWriter writer, FingerprintDigest value, JsonSerializerOptions options) + { + switch (value) + { + case FingerprintDigest.Sha512: + writer.WriteStringValue("SHA-512"); + return; + case FingerprintDigest.Sha256: + writer.WriteStringValue("SHA-256"); + return; + case FingerprintDigest.Sha1: + writer.WriteStringValue("SHA-1"); + return; + case FingerprintDigest.Murmurhash3: + writer.WriteStringValue("MurmurHash3"); + return; + case FingerprintDigest.Md5: + writer.WriteStringValue("MD5"); + return; + } + + writer.WriteNullValue(); + } +} + [JsonConverter(typeof(GeoGridTargetFormatConverter))] public enum GeoGridTargetFormat { diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Enums/Enums.Mapping.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Enums/Enums.Mapping.g.cs index 22624d5e068..5fd4dcffbe2 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Enums/Enums.Mapping.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Enums/Enums.Mapping.g.cs @@ -28,6 +28,298 @@ namespace Elastic.Clients.Elasticsearch.Serverless.Mapping; +[JsonConverter(typeof(DenseVectorElementTypeConverter))] +public enum DenseVectorElementType +{ + /// + /// + /// Indexes a 4-byte floating-point value per dimension. + /// + /// + [EnumMember(Value = "float")] + Float, + /// + /// + /// Indexes a 1-byte integer value per dimension. + /// + /// + [EnumMember(Value = "byte")] + Byte, + /// + /// + /// Indexes a single bit per dimension. Useful for very high-dimensional vectors or models that specifically support + /// bit vectors. + /// + /// + /// NOTE: when using bit, the number of dimensions must be a multiple of 8 and must represent the number of bits. + /// + /// + [EnumMember(Value = "bit")] + Bit +} + +internal sealed class DenseVectorElementTypeConverter : JsonConverter +{ + public override DenseVectorElementType Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) + { + var enumString = reader.GetString(); + switch (enumString) + { + case "float": + return DenseVectorElementType.Float; + case "byte": + return DenseVectorElementType.Byte; + case "bit": + return DenseVectorElementType.Bit; + } + + ThrowHelper.ThrowJsonException(); + return default; + } + + public override void Write(Utf8JsonWriter writer, DenseVectorElementType value, JsonSerializerOptions options) + { + switch (value) + { + case DenseVectorElementType.Float: + writer.WriteStringValue("float"); + return; + case DenseVectorElementType.Byte: + writer.WriteStringValue("byte"); + return; + case DenseVectorElementType.Bit: + writer.WriteStringValue("bit"); + return; + } + + writer.WriteNullValue(); + } +} + +[JsonConverter(typeof(DenseVectorIndexOptionsTypeConverter))] +public enum DenseVectorIndexOptionsType +{ + /// + /// + /// The default index type for float vectors. This utilizes the HNSW algorithm in addition to automatically scalar + /// quantization for scalable approximate kNN search with element_type of float. + /// + /// + /// This can reduce the memory footprint by 4x at the cost of some accuracy. + /// + /// + [EnumMember(Value = "int8_hnsw")] + Int8Hnsw, + /// + /// + /// This utilizes a brute-force search algorithm in addition to automatically scalar quantization. Only supports + /// element_type of float. + /// + /// + [EnumMember(Value = "int8_flat")] + Int8Flat, + /// + /// + /// This utilizes the HNSW algorithm in addition to automatically scalar quantization for scalable approximate kNN + /// search with element_type of float. + /// + /// + /// This can reduce the memory footprint by 8x at the cost of some accuracy. + /// + /// + [EnumMember(Value = "int4_hnsw")] + Int4Hnsw, + /// + /// + /// This utilizes a brute-force search algorithm in addition to automatically half-byte scalar quantization. + /// Only supports element_type of float. + /// + /// + [EnumMember(Value = "int4_flat")] + Int4Flat, + /// + /// + /// This utilizes the HNSW algorithm for scalable approximate kNN search. This supports all element_type values. + /// + /// + [EnumMember(Value = "hnsw")] + Hnsw, + /// + /// + /// This utilizes a brute-force search algorithm for exact kNN search. This supports all element_type values. + /// + /// + [EnumMember(Value = "flat")] + Flat +} + +internal sealed class DenseVectorIndexOptionsTypeConverter : JsonConverter +{ + public override DenseVectorIndexOptionsType Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) + { + var enumString = reader.GetString(); + switch (enumString) + { + case "int8_hnsw": + return DenseVectorIndexOptionsType.Int8Hnsw; + case "int8_flat": + return DenseVectorIndexOptionsType.Int8Flat; + case "int4_hnsw": + return DenseVectorIndexOptionsType.Int4Hnsw; + case "int4_flat": + return DenseVectorIndexOptionsType.Int4Flat; + case "hnsw": + return DenseVectorIndexOptionsType.Hnsw; + case "flat": + return DenseVectorIndexOptionsType.Flat; + } + + ThrowHelper.ThrowJsonException(); + return default; + } + + public override void Write(Utf8JsonWriter writer, DenseVectorIndexOptionsType value, JsonSerializerOptions options) + { + switch (value) + { + case DenseVectorIndexOptionsType.Int8Hnsw: + writer.WriteStringValue("int8_hnsw"); + return; + case DenseVectorIndexOptionsType.Int8Flat: + writer.WriteStringValue("int8_flat"); + return; + case DenseVectorIndexOptionsType.Int4Hnsw: + writer.WriteStringValue("int4_hnsw"); + return; + case DenseVectorIndexOptionsType.Int4Flat: + writer.WriteStringValue("int4_flat"); + return; + case DenseVectorIndexOptionsType.Hnsw: + writer.WriteStringValue("hnsw"); + return; + case DenseVectorIndexOptionsType.Flat: + writer.WriteStringValue("flat"); + return; + } + + writer.WriteNullValue(); + } +} + +[JsonConverter(typeof(DenseVectorSimilarityConverter))] +public enum DenseVectorSimilarity +{ + /// + /// + /// Computes the maximum inner product of two vectors. This is similar to dot_product, but doesn't require vectors + /// to be normalized. This means that each vector’s magnitude can significantly effect the score. + /// + /// + /// The document _score is adjusted to prevent negative values. For max_inner_product values < 0, the _score + /// is 1 / (1 + -1 * max_inner_product(query, vector)). For non-negative max_inner_product results the _score + /// is calculated max_inner_product(query, vector) + 1. + /// + /// + [EnumMember(Value = "max_inner_product")] + MaxInnerProduct, + /// + /// + /// Computes similarity based on the L2 distance (also known as Euclidean distance) between the vectors. + /// + /// + /// The document _score is computed as 1 / (1 + l2_norm(query, vector)^2). + /// + /// + /// For bit vectors, instead of using l2_norm, the hamming distance between the vectors is used. + /// + /// + /// The _score transformation is (numBits - hamming(a, b)) / numBits. + /// + /// + [EnumMember(Value = "l2_norm")] + L2Norm, + /// + /// + /// Computes the dot product of two unit vectors. This option provides an optimized way to perform cosine similarity. + /// The constraints and computed score are defined by element_type. + /// + /// + /// When element_type is float, all vectors must be unit length, including both document and query vectors. + /// + /// + /// The document _score is computed as (1 + dot_product(query, vector)) / 2. + /// + /// + /// When element_type is byte, all vectors must have the same length including both document and query vectors or + /// results will be inaccurate. + /// + /// + /// The document _score is computed as 0.5 + (dot_product(query, vector) / (32768 * dims)) where dims is the + /// number of dimensions per vector. + /// + /// + [EnumMember(Value = "dot_product")] + DotProduct, + /// + /// + /// Computes the cosine similarity. During indexing Elasticsearch automatically normalizes vectors with cosine + /// similarity to unit length. This allows to internally use dot_product for computing similarity, which is more + /// efficient. Original un-normalized vectors can be still accessed through scripts. + /// + /// + /// The document _score is computed as (1 + cosine(query, vector)) / 2. + /// + /// + /// The cosine similarity does not allow vectors with zero magnitude, since cosine is not defined in this case. + /// + /// + [EnumMember(Value = "cosine")] + Cosine +} + +internal sealed class DenseVectorSimilarityConverter : JsonConverter +{ + public override DenseVectorSimilarity Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) + { + var enumString = reader.GetString(); + switch (enumString) + { + case "max_inner_product": + return DenseVectorSimilarity.MaxInnerProduct; + case "l2_norm": + return DenseVectorSimilarity.L2Norm; + case "dot_product": + return DenseVectorSimilarity.DotProduct; + case "cosine": + return DenseVectorSimilarity.Cosine; + } + + ThrowHelper.ThrowJsonException(); + return default; + } + + public override void Write(Utf8JsonWriter writer, DenseVectorSimilarity value, JsonSerializerOptions options) + { + switch (value) + { + case DenseVectorSimilarity.MaxInnerProduct: + writer.WriteStringValue("max_inner_product"); + return; + case DenseVectorSimilarity.L2Norm: + writer.WriteStringValue("l2_norm"); + return; + case DenseVectorSimilarity.DotProduct: + writer.WriteStringValue("dot_product"); + return; + case DenseVectorSimilarity.Cosine: + writer.WriteStringValue("cosine"); + return; + } + + writer.WriteNullValue(); + } +} + [JsonConverter(typeof(DynamicMappingConverter))] public enum DynamicMapping { diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/IndexManagement/DataStreamVisibility.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/IndexManagement/DataStreamVisibility.g.cs index 8c923b3233a..8cfbd13d9b7 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/IndexManagement/DataStreamVisibility.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/IndexManagement/DataStreamVisibility.g.cs @@ -29,6 +29,8 @@ namespace Elastic.Clients.Elasticsearch.Serverless.IndexManagement; public sealed partial class DataStreamVisibility { + [JsonInclude, JsonPropertyName("allow_custom_routing")] + public bool? AllowCustomRouting { get; set; } [JsonInclude, JsonPropertyName("hidden")] public bool? Hidden { get; set; } } @@ -41,8 +43,15 @@ public DataStreamVisibilityDescriptor() : base() { } + private bool? AllowCustomRoutingValue { get; set; } private bool? HiddenValue { get; set; } + public DataStreamVisibilityDescriptor AllowCustomRouting(bool? allowCustomRouting = true) + { + AllowCustomRoutingValue = allowCustomRouting; + return Self; + } + public DataStreamVisibilityDescriptor Hidden(bool? hidden = true) { HiddenValue = hidden; @@ -52,6 +61,12 @@ public DataStreamVisibilityDescriptor Hidden(bool? hidden = true) protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) { writer.WriteStartObject(); + if (AllowCustomRoutingValue.HasValue) + { + writer.WritePropertyName("allow_custom_routing"); + writer.WriteBooleanValue(AllowCustomRoutingValue.Value); + } + if (HiddenValue.HasValue) { writer.WritePropertyName("hidden"); diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Ingest/CommunityIDProcessor.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Ingest/CommunityIDProcessor.g.cs new file mode 100644 index 00000000000..5bec2b573de --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Ingest/CommunityIDProcessor.g.cs @@ -0,0 +1,1310 @@ +// 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 Elastic.Clients.Elasticsearch.Serverless.Fluent; +using Elastic.Clients.Elasticsearch.Serverless.Serialization; +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +namespace Elastic.Clients.Elasticsearch.Serverless.Ingest; + +public sealed partial class CommunityIDProcessor +{ + /// + /// + /// Description of the processor. + /// Useful for describing the purpose of the processor or its configuration. + /// + /// + [JsonInclude, JsonPropertyName("description")] + public string? Description { get; set; } + + /// + /// + /// Field containing the destination IP address. + /// + /// + [JsonInclude, JsonPropertyName("destination_ip")] + public Elastic.Clients.Elasticsearch.Serverless.Field? DestinationIp { get; set; } + + /// + /// + /// Field containing the destination port. + /// + /// + [JsonInclude, JsonPropertyName("destination_port")] + public Elastic.Clients.Elasticsearch.Serverless.Field? DestinationPort { get; set; } + + /// + /// + /// Field containing the IANA number. + /// + /// + [JsonInclude, JsonPropertyName("iana_number")] + public Elastic.Clients.Elasticsearch.Serverless.Field? IanaNumber { get; set; } + + /// + /// + /// Field containing the ICMP code. + /// + /// + [JsonInclude, JsonPropertyName("icmp_code")] + public Elastic.Clients.Elasticsearch.Serverless.Field? IcmpCode { get; set; } + + /// + /// + /// Field containing the ICMP type. + /// + /// + [JsonInclude, JsonPropertyName("icmp_type")] + public Elastic.Clients.Elasticsearch.Serverless.Field? IcmpType { get; set; } + + /// + /// + /// Conditionally execute the processor. + /// + /// + [JsonInclude, JsonPropertyName("if")] + public string? If { get; set; } + + /// + /// + /// Ignore failures for the processor. + /// + /// + [JsonInclude, JsonPropertyName("ignore_failure")] + public bool? IgnoreFailure { get; set; } + + /// + /// + /// If true and any required fields are missing, the processor quietly exits + /// without modifying the document. + /// + /// + [JsonInclude, JsonPropertyName("ignore_missing")] + public bool? IgnoreMissing { get; set; } + + /// + /// + /// Handle failures for the processor. + /// + /// + [JsonInclude, JsonPropertyName("on_failure")] + public ICollection? OnFailure { get; set; } + + /// + /// + /// Seed for the community ID hash. Must be between 0 and 65535 (inclusive). The + /// seed can prevent hash collisions between network domains, such as a staging + /// and production network that use the same addressing scheme. + /// + /// + [JsonInclude, JsonPropertyName("seed")] + public int? Seed { get; set; } + + /// + /// + /// Field containing the source IP address. + /// + /// + [JsonInclude, JsonPropertyName("source_ip")] + public Elastic.Clients.Elasticsearch.Serverless.Field? SourceIp { get; set; } + + /// + /// + /// Field containing the source port. + /// + /// + [JsonInclude, JsonPropertyName("source_port")] + public Elastic.Clients.Elasticsearch.Serverless.Field? SourcePort { get; set; } + + /// + /// + /// Identifier for the processor. + /// Useful for debugging and metrics. + /// + /// + [JsonInclude, JsonPropertyName("tag")] + public string? Tag { get; set; } + + /// + /// + /// Output field for the community ID. + /// + /// + [JsonInclude, JsonPropertyName("target_field")] + public Elastic.Clients.Elasticsearch.Serverless.Field? TargetField { get; set; } + + /// + /// + /// Field containing the transport protocol name or number. Used only when the + /// iana_number field is not present. The following protocol names are currently + /// supported: eigrp, gre, icmp, icmpv6, igmp, ipv6-icmp, ospf, pim, sctp, tcp, udp + /// + /// + [JsonInclude, JsonPropertyName("transport")] + public Elastic.Clients.Elasticsearch.Serverless.Field? Transport { get; set; } + + public static implicit operator Elastic.Clients.Elasticsearch.Serverless.Ingest.Processor(CommunityIDProcessor communityIDProcessor) => Elastic.Clients.Elasticsearch.Serverless.Ingest.Processor.CommunityId(communityIDProcessor); +} + +public sealed partial class CommunityIDProcessorDescriptor : SerializableDescriptor> +{ + internal CommunityIDProcessorDescriptor(Action> configure) => configure.Invoke(this); + + public CommunityIDProcessorDescriptor() : base() + { + } + + private string? DescriptionValue { get; set; } + private Elastic.Clients.Elasticsearch.Serverless.Field? DestinationIpValue { get; set; } + private Elastic.Clients.Elasticsearch.Serverless.Field? DestinationPortValue { get; set; } + private Elastic.Clients.Elasticsearch.Serverless.Field? IanaNumberValue { get; set; } + private Elastic.Clients.Elasticsearch.Serverless.Field? IcmpCodeValue { get; set; } + private Elastic.Clients.Elasticsearch.Serverless.Field? IcmpTypeValue { get; set; } + private string? IfValue { get; set; } + private bool? IgnoreFailureValue { get; set; } + private bool? IgnoreMissingValue { get; set; } + private ICollection? OnFailureValue { get; set; } + private Elastic.Clients.Elasticsearch.Serverless.Ingest.ProcessorDescriptor OnFailureDescriptor { get; set; } + private Action> OnFailureDescriptorAction { get; set; } + private Action>[] OnFailureDescriptorActions { get; set; } + private int? SeedValue { get; set; } + private Elastic.Clients.Elasticsearch.Serverless.Field? SourceIpValue { get; set; } + private Elastic.Clients.Elasticsearch.Serverless.Field? SourcePortValue { get; set; } + private string? TagValue { get; set; } + private Elastic.Clients.Elasticsearch.Serverless.Field? TargetFieldValue { get; set; } + private Elastic.Clients.Elasticsearch.Serverless.Field? TransportValue { get; set; } + + /// + /// + /// Description of the processor. + /// Useful for describing the purpose of the processor or its configuration. + /// + /// + public CommunityIDProcessorDescriptor Description(string? description) + { + DescriptionValue = description; + return Self; + } + + /// + /// + /// Field containing the destination IP address. + /// + /// + public CommunityIDProcessorDescriptor DestinationIp(Elastic.Clients.Elasticsearch.Serverless.Field? destinationIp) + { + DestinationIpValue = destinationIp; + return Self; + } + + /// + /// + /// Field containing the destination IP address. + /// + /// + public CommunityIDProcessorDescriptor DestinationIp(Expression> destinationIp) + { + DestinationIpValue = destinationIp; + return Self; + } + + /// + /// + /// Field containing the destination IP address. + /// + /// + public CommunityIDProcessorDescriptor DestinationIp(Expression> destinationIp) + { + DestinationIpValue = destinationIp; + return Self; + } + + /// + /// + /// Field containing the destination port. + /// + /// + public CommunityIDProcessorDescriptor DestinationPort(Elastic.Clients.Elasticsearch.Serverless.Field? destinationPort) + { + DestinationPortValue = destinationPort; + return Self; + } + + /// + /// + /// Field containing the destination port. + /// + /// + public CommunityIDProcessorDescriptor DestinationPort(Expression> destinationPort) + { + DestinationPortValue = destinationPort; + return Self; + } + + /// + /// + /// Field containing the destination port. + /// + /// + public CommunityIDProcessorDescriptor DestinationPort(Expression> destinationPort) + { + DestinationPortValue = destinationPort; + return Self; + } + + /// + /// + /// Field containing the IANA number. + /// + /// + public CommunityIDProcessorDescriptor IanaNumber(Elastic.Clients.Elasticsearch.Serverless.Field? ianaNumber) + { + IanaNumberValue = ianaNumber; + return Self; + } + + /// + /// + /// Field containing the IANA number. + /// + /// + public CommunityIDProcessorDescriptor IanaNumber(Expression> ianaNumber) + { + IanaNumberValue = ianaNumber; + return Self; + } + + /// + /// + /// Field containing the IANA number. + /// + /// + public CommunityIDProcessorDescriptor IanaNumber(Expression> ianaNumber) + { + IanaNumberValue = ianaNumber; + return Self; + } + + /// + /// + /// Field containing the ICMP code. + /// + /// + public CommunityIDProcessorDescriptor IcmpCode(Elastic.Clients.Elasticsearch.Serverless.Field? icmpCode) + { + IcmpCodeValue = icmpCode; + return Self; + } + + /// + /// + /// Field containing the ICMP code. + /// + /// + public CommunityIDProcessorDescriptor IcmpCode(Expression> icmpCode) + { + IcmpCodeValue = icmpCode; + return Self; + } + + /// + /// + /// Field containing the ICMP code. + /// + /// + public CommunityIDProcessorDescriptor IcmpCode(Expression> icmpCode) + { + IcmpCodeValue = icmpCode; + return Self; + } + + /// + /// + /// Field containing the ICMP type. + /// + /// + public CommunityIDProcessorDescriptor IcmpType(Elastic.Clients.Elasticsearch.Serverless.Field? icmpType) + { + IcmpTypeValue = icmpType; + return Self; + } + + /// + /// + /// Field containing the ICMP type. + /// + /// + public CommunityIDProcessorDescriptor IcmpType(Expression> icmpType) + { + IcmpTypeValue = icmpType; + return Self; + } + + /// + /// + /// Field containing the ICMP type. + /// + /// + public CommunityIDProcessorDescriptor IcmpType(Expression> icmpType) + { + IcmpTypeValue = icmpType; + return Self; + } + + /// + /// + /// Conditionally execute the processor. + /// + /// + public CommunityIDProcessorDescriptor If(string? value) + { + IfValue = value; + return Self; + } + + /// + /// + /// Ignore failures for the processor. + /// + /// + public CommunityIDProcessorDescriptor IgnoreFailure(bool? ignoreFailure = true) + { + IgnoreFailureValue = ignoreFailure; + return Self; + } + + /// + /// + /// If true and any required fields are missing, the processor quietly exits + /// without modifying the document. + /// + /// + public CommunityIDProcessorDescriptor IgnoreMissing(bool? ignoreMissing = true) + { + IgnoreMissingValue = ignoreMissing; + return Self; + } + + /// + /// + /// Handle failures for the processor. + /// + /// + public CommunityIDProcessorDescriptor OnFailure(ICollection? onFailure) + { + OnFailureDescriptor = null; + OnFailureDescriptorAction = null; + OnFailureDescriptorActions = null; + OnFailureValue = onFailure; + return Self; + } + + public CommunityIDProcessorDescriptor OnFailure(Elastic.Clients.Elasticsearch.Serverless.Ingest.ProcessorDescriptor descriptor) + { + OnFailureValue = null; + OnFailureDescriptorAction = null; + OnFailureDescriptorActions = null; + OnFailureDescriptor = descriptor; + return Self; + } + + public CommunityIDProcessorDescriptor OnFailure(Action> configure) + { + OnFailureValue = null; + OnFailureDescriptor = null; + OnFailureDescriptorActions = null; + OnFailureDescriptorAction = configure; + return Self; + } + + public CommunityIDProcessorDescriptor OnFailure(params Action>[] configure) + { + OnFailureValue = null; + OnFailureDescriptor = null; + OnFailureDescriptorAction = null; + OnFailureDescriptorActions = configure; + return Self; + } + + /// + /// + /// Seed for the community ID hash. Must be between 0 and 65535 (inclusive). The + /// seed can prevent hash collisions between network domains, such as a staging + /// and production network that use the same addressing scheme. + /// + /// + public CommunityIDProcessorDescriptor Seed(int? seed) + { + SeedValue = seed; + return Self; + } + + /// + /// + /// Field containing the source IP address. + /// + /// + public CommunityIDProcessorDescriptor SourceIp(Elastic.Clients.Elasticsearch.Serverless.Field? sourceIp) + { + SourceIpValue = sourceIp; + return Self; + } + + /// + /// + /// Field containing the source IP address. + /// + /// + public CommunityIDProcessorDescriptor SourceIp(Expression> sourceIp) + { + SourceIpValue = sourceIp; + return Self; + } + + /// + /// + /// Field containing the source IP address. + /// + /// + public CommunityIDProcessorDescriptor SourceIp(Expression> sourceIp) + { + SourceIpValue = sourceIp; + return Self; + } + + /// + /// + /// Field containing the source port. + /// + /// + public CommunityIDProcessorDescriptor SourcePort(Elastic.Clients.Elasticsearch.Serverless.Field? sourcePort) + { + SourcePortValue = sourcePort; + return Self; + } + + /// + /// + /// Field containing the source port. + /// + /// + public CommunityIDProcessorDescriptor SourcePort(Expression> sourcePort) + { + SourcePortValue = sourcePort; + return Self; + } + + /// + /// + /// Field containing the source port. + /// + /// + public CommunityIDProcessorDescriptor SourcePort(Expression> sourcePort) + { + SourcePortValue = sourcePort; + return Self; + } + + /// + /// + /// Identifier for the processor. + /// Useful for debugging and metrics. + /// + /// + public CommunityIDProcessorDescriptor Tag(string? tag) + { + TagValue = tag; + return Self; + } + + /// + /// + /// Output field for the community ID. + /// + /// + public CommunityIDProcessorDescriptor TargetField(Elastic.Clients.Elasticsearch.Serverless.Field? targetField) + { + TargetFieldValue = targetField; + return Self; + } + + /// + /// + /// Output field for the community ID. + /// + /// + public CommunityIDProcessorDescriptor TargetField(Expression> targetField) + { + TargetFieldValue = targetField; + return Self; + } + + /// + /// + /// Output field for the community ID. + /// + /// + public CommunityIDProcessorDescriptor TargetField(Expression> targetField) + { + TargetFieldValue = targetField; + return Self; + } + + /// + /// + /// Field containing the transport protocol name or number. Used only when the + /// iana_number field is not present. The following protocol names are currently + /// supported: eigrp, gre, icmp, icmpv6, igmp, ipv6-icmp, ospf, pim, sctp, tcp, udp + /// + /// + public CommunityIDProcessorDescriptor Transport(Elastic.Clients.Elasticsearch.Serverless.Field? transport) + { + TransportValue = transport; + return Self; + } + + /// + /// + /// Field containing the transport protocol name or number. Used only when the + /// iana_number field is not present. The following protocol names are currently + /// supported: eigrp, gre, icmp, icmpv6, igmp, ipv6-icmp, ospf, pim, sctp, tcp, udp + /// + /// + public CommunityIDProcessorDescriptor Transport(Expression> transport) + { + TransportValue = transport; + return Self; + } + + /// + /// + /// Field containing the transport protocol name or number. Used only when the + /// iana_number field is not present. The following protocol names are currently + /// supported: eigrp, gre, icmp, icmpv6, igmp, ipv6-icmp, ospf, pim, sctp, tcp, udp + /// + /// + public CommunityIDProcessorDescriptor Transport(Expression> transport) + { + TransportValue = transport; + return Self; + } + + protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) + { + writer.WriteStartObject(); + if (!string.IsNullOrEmpty(DescriptionValue)) + { + writer.WritePropertyName("description"); + writer.WriteStringValue(DescriptionValue); + } + + if (DestinationIpValue is not null) + { + writer.WritePropertyName("destination_ip"); + JsonSerializer.Serialize(writer, DestinationIpValue, options); + } + + if (DestinationPortValue is not null) + { + writer.WritePropertyName("destination_port"); + JsonSerializer.Serialize(writer, DestinationPortValue, options); + } + + if (IanaNumberValue is not null) + { + writer.WritePropertyName("iana_number"); + JsonSerializer.Serialize(writer, IanaNumberValue, options); + } + + if (IcmpCodeValue is not null) + { + writer.WritePropertyName("icmp_code"); + JsonSerializer.Serialize(writer, IcmpCodeValue, options); + } + + if (IcmpTypeValue is not null) + { + writer.WritePropertyName("icmp_type"); + JsonSerializer.Serialize(writer, IcmpTypeValue, options); + } + + if (!string.IsNullOrEmpty(IfValue)) + { + writer.WritePropertyName("if"); + writer.WriteStringValue(IfValue); + } + + if (IgnoreFailureValue.HasValue) + { + writer.WritePropertyName("ignore_failure"); + writer.WriteBooleanValue(IgnoreFailureValue.Value); + } + + if (IgnoreMissingValue.HasValue) + { + writer.WritePropertyName("ignore_missing"); + writer.WriteBooleanValue(IgnoreMissingValue.Value); + } + + if (OnFailureDescriptor is not null) + { + writer.WritePropertyName("on_failure"); + writer.WriteStartArray(); + JsonSerializer.Serialize(writer, OnFailureDescriptor, options); + writer.WriteEndArray(); + } + else if (OnFailureDescriptorAction is not null) + { + writer.WritePropertyName("on_failure"); + writer.WriteStartArray(); + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.Serverless.Ingest.ProcessorDescriptor(OnFailureDescriptorAction), options); + writer.WriteEndArray(); + } + else if (OnFailureDescriptorActions is not null) + { + writer.WritePropertyName("on_failure"); + writer.WriteStartArray(); + foreach (var action in OnFailureDescriptorActions) + { + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.Serverless.Ingest.ProcessorDescriptor(action), options); + } + + writer.WriteEndArray(); + } + else if (OnFailureValue is not null) + { + writer.WritePropertyName("on_failure"); + JsonSerializer.Serialize(writer, OnFailureValue, options); + } + + if (SeedValue.HasValue) + { + writer.WritePropertyName("seed"); + writer.WriteNumberValue(SeedValue.Value); + } + + if (SourceIpValue is not null) + { + writer.WritePropertyName("source_ip"); + JsonSerializer.Serialize(writer, SourceIpValue, options); + } + + if (SourcePortValue is not null) + { + writer.WritePropertyName("source_port"); + JsonSerializer.Serialize(writer, SourcePortValue, options); + } + + if (!string.IsNullOrEmpty(TagValue)) + { + writer.WritePropertyName("tag"); + writer.WriteStringValue(TagValue); + } + + if (TargetFieldValue is not null) + { + writer.WritePropertyName("target_field"); + JsonSerializer.Serialize(writer, TargetFieldValue, options); + } + + if (TransportValue is not null) + { + writer.WritePropertyName("transport"); + JsonSerializer.Serialize(writer, TransportValue, options); + } + + writer.WriteEndObject(); + } +} + +public sealed partial class CommunityIDProcessorDescriptor : SerializableDescriptor +{ + internal CommunityIDProcessorDescriptor(Action configure) => configure.Invoke(this); + + public CommunityIDProcessorDescriptor() : base() + { + } + + private string? DescriptionValue { get; set; } + private Elastic.Clients.Elasticsearch.Serverless.Field? DestinationIpValue { get; set; } + private Elastic.Clients.Elasticsearch.Serverless.Field? DestinationPortValue { get; set; } + private Elastic.Clients.Elasticsearch.Serverless.Field? IanaNumberValue { get; set; } + private Elastic.Clients.Elasticsearch.Serverless.Field? IcmpCodeValue { get; set; } + private Elastic.Clients.Elasticsearch.Serverless.Field? IcmpTypeValue { get; set; } + private string? IfValue { get; set; } + private bool? IgnoreFailureValue { get; set; } + private bool? IgnoreMissingValue { get; set; } + private ICollection? OnFailureValue { get; set; } + private Elastic.Clients.Elasticsearch.Serverless.Ingest.ProcessorDescriptor OnFailureDescriptor { get; set; } + private Action OnFailureDescriptorAction { get; set; } + private Action[] OnFailureDescriptorActions { get; set; } + private int? SeedValue { get; set; } + private Elastic.Clients.Elasticsearch.Serverless.Field? SourceIpValue { get; set; } + private Elastic.Clients.Elasticsearch.Serverless.Field? SourcePortValue { get; set; } + private string? TagValue { get; set; } + private Elastic.Clients.Elasticsearch.Serverless.Field? TargetFieldValue { get; set; } + private Elastic.Clients.Elasticsearch.Serverless.Field? TransportValue { get; set; } + + /// + /// + /// Description of the processor. + /// Useful for describing the purpose of the processor or its configuration. + /// + /// + public CommunityIDProcessorDescriptor Description(string? description) + { + DescriptionValue = description; + return Self; + } + + /// + /// + /// Field containing the destination IP address. + /// + /// + public CommunityIDProcessorDescriptor DestinationIp(Elastic.Clients.Elasticsearch.Serverless.Field? destinationIp) + { + DestinationIpValue = destinationIp; + return Self; + } + + /// + /// + /// Field containing the destination IP address. + /// + /// + public CommunityIDProcessorDescriptor DestinationIp(Expression> destinationIp) + { + DestinationIpValue = destinationIp; + return Self; + } + + /// + /// + /// Field containing the destination IP address. + /// + /// + public CommunityIDProcessorDescriptor DestinationIp(Expression> destinationIp) + { + DestinationIpValue = destinationIp; + return Self; + } + + /// + /// + /// Field containing the destination port. + /// + /// + public CommunityIDProcessorDescriptor DestinationPort(Elastic.Clients.Elasticsearch.Serverless.Field? destinationPort) + { + DestinationPortValue = destinationPort; + return Self; + } + + /// + /// + /// Field containing the destination port. + /// + /// + public CommunityIDProcessorDescriptor DestinationPort(Expression> destinationPort) + { + DestinationPortValue = destinationPort; + return Self; + } + + /// + /// + /// Field containing the destination port. + /// + /// + public CommunityIDProcessorDescriptor DestinationPort(Expression> destinationPort) + { + DestinationPortValue = destinationPort; + return Self; + } + + /// + /// + /// Field containing the IANA number. + /// + /// + public CommunityIDProcessorDescriptor IanaNumber(Elastic.Clients.Elasticsearch.Serverless.Field? ianaNumber) + { + IanaNumberValue = ianaNumber; + return Self; + } + + /// + /// + /// Field containing the IANA number. + /// + /// + public CommunityIDProcessorDescriptor IanaNumber(Expression> ianaNumber) + { + IanaNumberValue = ianaNumber; + return Self; + } + + /// + /// + /// Field containing the IANA number. + /// + /// + public CommunityIDProcessorDescriptor IanaNumber(Expression> ianaNumber) + { + IanaNumberValue = ianaNumber; + return Self; + } + + /// + /// + /// Field containing the ICMP code. + /// + /// + public CommunityIDProcessorDescriptor IcmpCode(Elastic.Clients.Elasticsearch.Serverless.Field? icmpCode) + { + IcmpCodeValue = icmpCode; + return Self; + } + + /// + /// + /// Field containing the ICMP code. + /// + /// + public CommunityIDProcessorDescriptor IcmpCode(Expression> icmpCode) + { + IcmpCodeValue = icmpCode; + return Self; + } + + /// + /// + /// Field containing the ICMP code. + /// + /// + public CommunityIDProcessorDescriptor IcmpCode(Expression> icmpCode) + { + IcmpCodeValue = icmpCode; + return Self; + } + + /// + /// + /// Field containing the ICMP type. + /// + /// + public CommunityIDProcessorDescriptor IcmpType(Elastic.Clients.Elasticsearch.Serverless.Field? icmpType) + { + IcmpTypeValue = icmpType; + return Self; + } + + /// + /// + /// Field containing the ICMP type. + /// + /// + public CommunityIDProcessorDescriptor IcmpType(Expression> icmpType) + { + IcmpTypeValue = icmpType; + return Self; + } + + /// + /// + /// Field containing the ICMP type. + /// + /// + public CommunityIDProcessorDescriptor IcmpType(Expression> icmpType) + { + IcmpTypeValue = icmpType; + return Self; + } + + /// + /// + /// Conditionally execute the processor. + /// + /// + public CommunityIDProcessorDescriptor If(string? value) + { + IfValue = value; + return Self; + } + + /// + /// + /// Ignore failures for the processor. + /// + /// + public CommunityIDProcessorDescriptor IgnoreFailure(bool? ignoreFailure = true) + { + IgnoreFailureValue = ignoreFailure; + return Self; + } + + /// + /// + /// If true and any required fields are missing, the processor quietly exits + /// without modifying the document. + /// + /// + public CommunityIDProcessorDescriptor IgnoreMissing(bool? ignoreMissing = true) + { + IgnoreMissingValue = ignoreMissing; + return Self; + } + + /// + /// + /// Handle failures for the processor. + /// + /// + public CommunityIDProcessorDescriptor OnFailure(ICollection? onFailure) + { + OnFailureDescriptor = null; + OnFailureDescriptorAction = null; + OnFailureDescriptorActions = null; + OnFailureValue = onFailure; + return Self; + } + + public CommunityIDProcessorDescriptor OnFailure(Elastic.Clients.Elasticsearch.Serverless.Ingest.ProcessorDescriptor descriptor) + { + OnFailureValue = null; + OnFailureDescriptorAction = null; + OnFailureDescriptorActions = null; + OnFailureDescriptor = descriptor; + return Self; + } + + public CommunityIDProcessorDescriptor OnFailure(Action configure) + { + OnFailureValue = null; + OnFailureDescriptor = null; + OnFailureDescriptorActions = null; + OnFailureDescriptorAction = configure; + return Self; + } + + public CommunityIDProcessorDescriptor OnFailure(params Action[] configure) + { + OnFailureValue = null; + OnFailureDescriptor = null; + OnFailureDescriptorAction = null; + OnFailureDescriptorActions = configure; + return Self; + } + + /// + /// + /// Seed for the community ID hash. Must be between 0 and 65535 (inclusive). The + /// seed can prevent hash collisions between network domains, such as a staging + /// and production network that use the same addressing scheme. + /// + /// + public CommunityIDProcessorDescriptor Seed(int? seed) + { + SeedValue = seed; + return Self; + } + + /// + /// + /// Field containing the source IP address. + /// + /// + public CommunityIDProcessorDescriptor SourceIp(Elastic.Clients.Elasticsearch.Serverless.Field? sourceIp) + { + SourceIpValue = sourceIp; + return Self; + } + + /// + /// + /// Field containing the source IP address. + /// + /// + public CommunityIDProcessorDescriptor SourceIp(Expression> sourceIp) + { + SourceIpValue = sourceIp; + return Self; + } + + /// + /// + /// Field containing the source IP address. + /// + /// + public CommunityIDProcessorDescriptor SourceIp(Expression> sourceIp) + { + SourceIpValue = sourceIp; + return Self; + } + + /// + /// + /// Field containing the source port. + /// + /// + public CommunityIDProcessorDescriptor SourcePort(Elastic.Clients.Elasticsearch.Serverless.Field? sourcePort) + { + SourcePortValue = sourcePort; + return Self; + } + + /// + /// + /// Field containing the source port. + /// + /// + public CommunityIDProcessorDescriptor SourcePort(Expression> sourcePort) + { + SourcePortValue = sourcePort; + return Self; + } + + /// + /// + /// Field containing the source port. + /// + /// + public CommunityIDProcessorDescriptor SourcePort(Expression> sourcePort) + { + SourcePortValue = sourcePort; + return Self; + } + + /// + /// + /// Identifier for the processor. + /// Useful for debugging and metrics. + /// + /// + public CommunityIDProcessorDescriptor Tag(string? tag) + { + TagValue = tag; + return Self; + } + + /// + /// + /// Output field for the community ID. + /// + /// + public CommunityIDProcessorDescriptor TargetField(Elastic.Clients.Elasticsearch.Serverless.Field? targetField) + { + TargetFieldValue = targetField; + return Self; + } + + /// + /// + /// Output field for the community ID. + /// + /// + public CommunityIDProcessorDescriptor TargetField(Expression> targetField) + { + TargetFieldValue = targetField; + return Self; + } + + /// + /// + /// Output field for the community ID. + /// + /// + public CommunityIDProcessorDescriptor TargetField(Expression> targetField) + { + TargetFieldValue = targetField; + return Self; + } + + /// + /// + /// Field containing the transport protocol name or number. Used only when the + /// iana_number field is not present. The following protocol names are currently + /// supported: eigrp, gre, icmp, icmpv6, igmp, ipv6-icmp, ospf, pim, sctp, tcp, udp + /// + /// + public CommunityIDProcessorDescriptor Transport(Elastic.Clients.Elasticsearch.Serverless.Field? transport) + { + TransportValue = transport; + return Self; + } + + /// + /// + /// Field containing the transport protocol name or number. Used only when the + /// iana_number field is not present. The following protocol names are currently + /// supported: eigrp, gre, icmp, icmpv6, igmp, ipv6-icmp, ospf, pim, sctp, tcp, udp + /// + /// + public CommunityIDProcessorDescriptor Transport(Expression> transport) + { + TransportValue = transport; + return Self; + } + + /// + /// + /// Field containing the transport protocol name or number. Used only when the + /// iana_number field is not present. The following protocol names are currently + /// supported: eigrp, gre, icmp, icmpv6, igmp, ipv6-icmp, ospf, pim, sctp, tcp, udp + /// + /// + public CommunityIDProcessorDescriptor Transport(Expression> transport) + { + TransportValue = transport; + return Self; + } + + protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) + { + writer.WriteStartObject(); + if (!string.IsNullOrEmpty(DescriptionValue)) + { + writer.WritePropertyName("description"); + writer.WriteStringValue(DescriptionValue); + } + + if (DestinationIpValue is not null) + { + writer.WritePropertyName("destination_ip"); + JsonSerializer.Serialize(writer, DestinationIpValue, options); + } + + if (DestinationPortValue is not null) + { + writer.WritePropertyName("destination_port"); + JsonSerializer.Serialize(writer, DestinationPortValue, options); + } + + if (IanaNumberValue is not null) + { + writer.WritePropertyName("iana_number"); + JsonSerializer.Serialize(writer, IanaNumberValue, options); + } + + if (IcmpCodeValue is not null) + { + writer.WritePropertyName("icmp_code"); + JsonSerializer.Serialize(writer, IcmpCodeValue, options); + } + + if (IcmpTypeValue is not null) + { + writer.WritePropertyName("icmp_type"); + JsonSerializer.Serialize(writer, IcmpTypeValue, options); + } + + if (!string.IsNullOrEmpty(IfValue)) + { + writer.WritePropertyName("if"); + writer.WriteStringValue(IfValue); + } + + if (IgnoreFailureValue.HasValue) + { + writer.WritePropertyName("ignore_failure"); + writer.WriteBooleanValue(IgnoreFailureValue.Value); + } + + if (IgnoreMissingValue.HasValue) + { + writer.WritePropertyName("ignore_missing"); + writer.WriteBooleanValue(IgnoreMissingValue.Value); + } + + if (OnFailureDescriptor is not null) + { + writer.WritePropertyName("on_failure"); + writer.WriteStartArray(); + JsonSerializer.Serialize(writer, OnFailureDescriptor, options); + writer.WriteEndArray(); + } + else if (OnFailureDescriptorAction is not null) + { + writer.WritePropertyName("on_failure"); + writer.WriteStartArray(); + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.Serverless.Ingest.ProcessorDescriptor(OnFailureDescriptorAction), options); + writer.WriteEndArray(); + } + else if (OnFailureDescriptorActions is not null) + { + writer.WritePropertyName("on_failure"); + writer.WriteStartArray(); + foreach (var action in OnFailureDescriptorActions) + { + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.Serverless.Ingest.ProcessorDescriptor(action), options); + } + + writer.WriteEndArray(); + } + else if (OnFailureValue is not null) + { + writer.WritePropertyName("on_failure"); + JsonSerializer.Serialize(writer, OnFailureValue, options); + } + + if (SeedValue.HasValue) + { + writer.WritePropertyName("seed"); + writer.WriteNumberValue(SeedValue.Value); + } + + if (SourceIpValue is not null) + { + writer.WritePropertyName("source_ip"); + JsonSerializer.Serialize(writer, SourceIpValue, options); + } + + if (SourcePortValue is not null) + { + writer.WritePropertyName("source_port"); + JsonSerializer.Serialize(writer, SourcePortValue, options); + } + + if (!string.IsNullOrEmpty(TagValue)) + { + writer.WritePropertyName("tag"); + writer.WriteStringValue(TagValue); + } + + if (TargetFieldValue is not null) + { + writer.WritePropertyName("target_field"); + JsonSerializer.Serialize(writer, TargetFieldValue, options); + } + + if (TransportValue is not null) + { + writer.WritePropertyName("transport"); + JsonSerializer.Serialize(writer, TransportValue, options); + } + + writer.WriteEndObject(); + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Ingest/DateProcessor.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Ingest/DateProcessor.g.cs index 667ad4196c0..4119d07eea1 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Ingest/DateProcessor.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Ingest/DateProcessor.g.cs @@ -88,6 +88,15 @@ public sealed partial class DateProcessor [JsonInclude, JsonPropertyName("on_failure")] public ICollection? OnFailure { get; set; } + /// + /// + /// The format to use when writing the date to target_field. Must be a valid + /// java time pattern. + /// + /// + [JsonInclude, JsonPropertyName("output_format")] + public string? OutputFormat { get; set; } + /// /// /// Identifier for the processor. @@ -135,6 +144,7 @@ public DateProcessorDescriptor() : base() private Elastic.Clients.Elasticsearch.Serverless.Ingest.ProcessorDescriptor OnFailureDescriptor { get; set; } private Action> OnFailureDescriptorAction { get; set; } private Action>[] OnFailureDescriptorActions { get; set; } + private string? OutputFormatValue { get; set; } private string? TagValue { get; set; } private Elastic.Clients.Elasticsearch.Serverless.Field? TargetFieldValue { get; set; } private string? TimezoneValue { get; set; } @@ -271,6 +281,18 @@ public DateProcessorDescriptor OnFailure(params Action + /// + /// The format to use when writing the date to target_field. Must be a valid + /// java time pattern. + /// + /// + public DateProcessorDescriptor OutputFormat(string? outputFormat) + { + OutputFormatValue = outputFormat; + return Self; + } + /// /// /// Identifier for the processor. @@ -390,6 +412,12 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o JsonSerializer.Serialize(writer, OnFailureValue, options); } + if (!string.IsNullOrEmpty(OutputFormatValue)) + { + writer.WritePropertyName("output_format"); + writer.WriteStringValue(OutputFormatValue); + } + if (!string.IsNullOrEmpty(TagValue)) { writer.WritePropertyName("tag"); @@ -430,6 +458,7 @@ public DateProcessorDescriptor() : base() private Elastic.Clients.Elasticsearch.Serverless.Ingest.ProcessorDescriptor OnFailureDescriptor { get; set; } private Action OnFailureDescriptorAction { get; set; } private Action[] OnFailureDescriptorActions { get; set; } + private string? OutputFormatValue { get; set; } private string? TagValue { get; set; } private Elastic.Clients.Elasticsearch.Serverless.Field? TargetFieldValue { get; set; } private string? TimezoneValue { get; set; } @@ -566,6 +595,18 @@ public DateProcessorDescriptor OnFailure(params Action + /// + /// The format to use when writing the date to target_field. Must be a valid + /// java time pattern. + /// + /// + public DateProcessorDescriptor OutputFormat(string? outputFormat) + { + OutputFormatValue = outputFormat; + return Self; + } + /// /// /// Identifier for the processor. @@ -685,6 +726,12 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o JsonSerializer.Serialize(writer, OnFailureValue, options); } + if (!string.IsNullOrEmpty(OutputFormatValue)) + { + writer.WritePropertyName("output_format"); + writer.WriteStringValue(OutputFormatValue); + } + if (!string.IsNullOrEmpty(TagValue)) { writer.WritePropertyName("tag"); diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Ingest/FingerprintProcessor.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Ingest/FingerprintProcessor.g.cs new file mode 100644 index 00000000000..810dbfa3704 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Ingest/FingerprintProcessor.g.cs @@ -0,0 +1,676 @@ +// 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 Elastic.Clients.Elasticsearch.Serverless.Fluent; +using Elastic.Clients.Elasticsearch.Serverless.Serialization; +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +namespace Elastic.Clients.Elasticsearch.Serverless.Ingest; + +public sealed partial class FingerprintProcessor +{ + /// + /// + /// Description of the processor. + /// Useful for describing the purpose of the processor or its configuration. + /// + /// + [JsonInclude, JsonPropertyName("description")] + public string? Description { get; set; } + + /// + /// + /// Array of fields to include in the fingerprint. For objects, the processor + /// hashes both the field key and value. For other fields, the processor hashes + /// only the field value. + /// + /// + [JsonInclude, JsonPropertyName("fields")] + [JsonConverter(typeof(SingleOrManyFieldsConverter))] + public Elastic.Clients.Elasticsearch.Serverless.Fields Fields { get; set; } + + /// + /// + /// Conditionally execute the processor. + /// + /// + [JsonInclude, JsonPropertyName("if")] + public string? If { get; set; } + + /// + /// + /// Ignore failures for the processor. + /// + /// + [JsonInclude, JsonPropertyName("ignore_failure")] + public bool? IgnoreFailure { get; set; } + + /// + /// + /// If true, the processor ignores any missing fields. If all fields are + /// missing, the processor silently exits without modifying the document. + /// + /// + [JsonInclude, JsonPropertyName("ignore_missing")] + public bool? IgnoreMissing { get; set; } + + /// + /// + /// The hash method used to compute the fingerprint. Must be one of MD5, SHA-1, + /// SHA-256, SHA-512, or MurmurHash3. + /// + /// + [JsonInclude, JsonPropertyName("method")] + public Elastic.Clients.Elasticsearch.Serverless.Ingest.FingerprintDigest? Method { get; set; } + + /// + /// + /// Handle failures for the processor. + /// + /// + [JsonInclude, JsonPropertyName("on_failure")] + public ICollection? OnFailure { get; set; } + + /// + /// + /// Salt value for the hash function. + /// + /// + [JsonInclude, JsonPropertyName("salt")] + public string? Salt { get; set; } + + /// + /// + /// Identifier for the processor. + /// Useful for debugging and metrics. + /// + /// + [JsonInclude, JsonPropertyName("tag")] + public string? Tag { get; set; } + + /// + /// + /// Output field for the fingerprint. + /// + /// + [JsonInclude, JsonPropertyName("target_field")] + public Elastic.Clients.Elasticsearch.Serverless.Field? TargetField { get; set; } + + public static implicit operator Elastic.Clients.Elasticsearch.Serverless.Ingest.Processor(FingerprintProcessor fingerprintProcessor) => Elastic.Clients.Elasticsearch.Serverless.Ingest.Processor.Fingerprint(fingerprintProcessor); +} + +public sealed partial class FingerprintProcessorDescriptor : SerializableDescriptor> +{ + internal FingerprintProcessorDescriptor(Action> configure) => configure.Invoke(this); + + public FingerprintProcessorDescriptor() : base() + { + } + + private string? DescriptionValue { get; set; } + private Elastic.Clients.Elasticsearch.Serverless.Fields FieldsValue { get; set; } + private string? IfValue { get; set; } + private bool? IgnoreFailureValue { get; set; } + private bool? IgnoreMissingValue { get; set; } + private Elastic.Clients.Elasticsearch.Serverless.Ingest.FingerprintDigest? MethodValue { get; set; } + private ICollection? OnFailureValue { get; set; } + private Elastic.Clients.Elasticsearch.Serverless.Ingest.ProcessorDescriptor OnFailureDescriptor { get; set; } + private Action> OnFailureDescriptorAction { get; set; } + private Action>[] OnFailureDescriptorActions { get; set; } + private string? SaltValue { get; set; } + private string? TagValue { get; set; } + private Elastic.Clients.Elasticsearch.Serverless.Field? TargetFieldValue { get; set; } + + /// + /// + /// Description of the processor. + /// Useful for describing the purpose of the processor or its configuration. + /// + /// + public FingerprintProcessorDescriptor Description(string? description) + { + DescriptionValue = description; + return Self; + } + + /// + /// + /// Array of fields to include in the fingerprint. For objects, the processor + /// hashes both the field key and value. For other fields, the processor hashes + /// only the field value. + /// + /// + public FingerprintProcessorDescriptor Fields(Elastic.Clients.Elasticsearch.Serverless.Fields fields) + { + FieldsValue = fields; + return Self; + } + + /// + /// + /// Conditionally execute the processor. + /// + /// + public FingerprintProcessorDescriptor If(string? value) + { + IfValue = value; + return Self; + } + + /// + /// + /// Ignore failures for the processor. + /// + /// + public FingerprintProcessorDescriptor IgnoreFailure(bool? ignoreFailure = true) + { + IgnoreFailureValue = ignoreFailure; + return Self; + } + + /// + /// + /// If true, the processor ignores any missing fields. If all fields are + /// missing, the processor silently exits without modifying the document. + /// + /// + public FingerprintProcessorDescriptor IgnoreMissing(bool? ignoreMissing = true) + { + IgnoreMissingValue = ignoreMissing; + return Self; + } + + /// + /// + /// The hash method used to compute the fingerprint. Must be one of MD5, SHA-1, + /// SHA-256, SHA-512, or MurmurHash3. + /// + /// + public FingerprintProcessorDescriptor Method(Elastic.Clients.Elasticsearch.Serverless.Ingest.FingerprintDigest? method) + { + MethodValue = method; + return Self; + } + + /// + /// + /// Handle failures for the processor. + /// + /// + public FingerprintProcessorDescriptor OnFailure(ICollection? onFailure) + { + OnFailureDescriptor = null; + OnFailureDescriptorAction = null; + OnFailureDescriptorActions = null; + OnFailureValue = onFailure; + return Self; + } + + public FingerprintProcessorDescriptor OnFailure(Elastic.Clients.Elasticsearch.Serverless.Ingest.ProcessorDescriptor descriptor) + { + OnFailureValue = null; + OnFailureDescriptorAction = null; + OnFailureDescriptorActions = null; + OnFailureDescriptor = descriptor; + return Self; + } + + public FingerprintProcessorDescriptor OnFailure(Action> configure) + { + OnFailureValue = null; + OnFailureDescriptor = null; + OnFailureDescriptorActions = null; + OnFailureDescriptorAction = configure; + return Self; + } + + public FingerprintProcessorDescriptor OnFailure(params Action>[] configure) + { + OnFailureValue = null; + OnFailureDescriptor = null; + OnFailureDescriptorAction = null; + OnFailureDescriptorActions = configure; + return Self; + } + + /// + /// + /// Salt value for the hash function. + /// + /// + public FingerprintProcessorDescriptor Salt(string? salt) + { + SaltValue = salt; + return Self; + } + + /// + /// + /// Identifier for the processor. + /// Useful for debugging and metrics. + /// + /// + public FingerprintProcessorDescriptor Tag(string? tag) + { + TagValue = tag; + return Self; + } + + /// + /// + /// Output field for the fingerprint. + /// + /// + public FingerprintProcessorDescriptor TargetField(Elastic.Clients.Elasticsearch.Serverless.Field? targetField) + { + TargetFieldValue = targetField; + return Self; + } + + /// + /// + /// Output field for the fingerprint. + /// + /// + public FingerprintProcessorDescriptor TargetField(Expression> targetField) + { + TargetFieldValue = targetField; + return Self; + } + + /// + /// + /// Output field for the fingerprint. + /// + /// + public FingerprintProcessorDescriptor TargetField(Expression> targetField) + { + TargetFieldValue = targetField; + return Self; + } + + protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) + { + writer.WriteStartObject(); + if (!string.IsNullOrEmpty(DescriptionValue)) + { + writer.WritePropertyName("description"); + writer.WriteStringValue(DescriptionValue); + } + + writer.WritePropertyName("fields"); + JsonSerializer.Serialize(writer, FieldsValue, options); + if (!string.IsNullOrEmpty(IfValue)) + { + writer.WritePropertyName("if"); + writer.WriteStringValue(IfValue); + } + + if (IgnoreFailureValue.HasValue) + { + writer.WritePropertyName("ignore_failure"); + writer.WriteBooleanValue(IgnoreFailureValue.Value); + } + + if (IgnoreMissingValue.HasValue) + { + writer.WritePropertyName("ignore_missing"); + writer.WriteBooleanValue(IgnoreMissingValue.Value); + } + + if (MethodValue is not null) + { + writer.WritePropertyName("method"); + JsonSerializer.Serialize(writer, MethodValue, options); + } + + if (OnFailureDescriptor is not null) + { + writer.WritePropertyName("on_failure"); + writer.WriteStartArray(); + JsonSerializer.Serialize(writer, OnFailureDescriptor, options); + writer.WriteEndArray(); + } + else if (OnFailureDescriptorAction is not null) + { + writer.WritePropertyName("on_failure"); + writer.WriteStartArray(); + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.Serverless.Ingest.ProcessorDescriptor(OnFailureDescriptorAction), options); + writer.WriteEndArray(); + } + else if (OnFailureDescriptorActions is not null) + { + writer.WritePropertyName("on_failure"); + writer.WriteStartArray(); + foreach (var action in OnFailureDescriptorActions) + { + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.Serverless.Ingest.ProcessorDescriptor(action), options); + } + + writer.WriteEndArray(); + } + else if (OnFailureValue is not null) + { + writer.WritePropertyName("on_failure"); + JsonSerializer.Serialize(writer, OnFailureValue, options); + } + + if (!string.IsNullOrEmpty(SaltValue)) + { + writer.WritePropertyName("salt"); + writer.WriteStringValue(SaltValue); + } + + if (!string.IsNullOrEmpty(TagValue)) + { + writer.WritePropertyName("tag"); + writer.WriteStringValue(TagValue); + } + + if (TargetFieldValue is not null) + { + writer.WritePropertyName("target_field"); + JsonSerializer.Serialize(writer, TargetFieldValue, options); + } + + writer.WriteEndObject(); + } +} + +public sealed partial class FingerprintProcessorDescriptor : SerializableDescriptor +{ + internal FingerprintProcessorDescriptor(Action configure) => configure.Invoke(this); + + public FingerprintProcessorDescriptor() : base() + { + } + + private string? DescriptionValue { get; set; } + private Elastic.Clients.Elasticsearch.Serverless.Fields FieldsValue { get; set; } + private string? IfValue { get; set; } + private bool? IgnoreFailureValue { get; set; } + private bool? IgnoreMissingValue { get; set; } + private Elastic.Clients.Elasticsearch.Serverless.Ingest.FingerprintDigest? MethodValue { get; set; } + private ICollection? OnFailureValue { get; set; } + private Elastic.Clients.Elasticsearch.Serverless.Ingest.ProcessorDescriptor OnFailureDescriptor { get; set; } + private Action OnFailureDescriptorAction { get; set; } + private Action[] OnFailureDescriptorActions { get; set; } + private string? SaltValue { get; set; } + private string? TagValue { get; set; } + private Elastic.Clients.Elasticsearch.Serverless.Field? TargetFieldValue { get; set; } + + /// + /// + /// Description of the processor. + /// Useful for describing the purpose of the processor or its configuration. + /// + /// + public FingerprintProcessorDescriptor Description(string? description) + { + DescriptionValue = description; + return Self; + } + + /// + /// + /// Array of fields to include in the fingerprint. For objects, the processor + /// hashes both the field key and value. For other fields, the processor hashes + /// only the field value. + /// + /// + public FingerprintProcessorDescriptor Fields(Elastic.Clients.Elasticsearch.Serverless.Fields fields) + { + FieldsValue = fields; + return Self; + } + + /// + /// + /// Conditionally execute the processor. + /// + /// + public FingerprintProcessorDescriptor If(string? value) + { + IfValue = value; + return Self; + } + + /// + /// + /// Ignore failures for the processor. + /// + /// + public FingerprintProcessorDescriptor IgnoreFailure(bool? ignoreFailure = true) + { + IgnoreFailureValue = ignoreFailure; + return Self; + } + + /// + /// + /// If true, the processor ignores any missing fields. If all fields are + /// missing, the processor silently exits without modifying the document. + /// + /// + public FingerprintProcessorDescriptor IgnoreMissing(bool? ignoreMissing = true) + { + IgnoreMissingValue = ignoreMissing; + return Self; + } + + /// + /// + /// The hash method used to compute the fingerprint. Must be one of MD5, SHA-1, + /// SHA-256, SHA-512, or MurmurHash3. + /// + /// + public FingerprintProcessorDescriptor Method(Elastic.Clients.Elasticsearch.Serverless.Ingest.FingerprintDigest? method) + { + MethodValue = method; + return Self; + } + + /// + /// + /// Handle failures for the processor. + /// + /// + public FingerprintProcessorDescriptor OnFailure(ICollection? onFailure) + { + OnFailureDescriptor = null; + OnFailureDescriptorAction = null; + OnFailureDescriptorActions = null; + OnFailureValue = onFailure; + return Self; + } + + public FingerprintProcessorDescriptor OnFailure(Elastic.Clients.Elasticsearch.Serverless.Ingest.ProcessorDescriptor descriptor) + { + OnFailureValue = null; + OnFailureDescriptorAction = null; + OnFailureDescriptorActions = null; + OnFailureDescriptor = descriptor; + return Self; + } + + public FingerprintProcessorDescriptor OnFailure(Action configure) + { + OnFailureValue = null; + OnFailureDescriptor = null; + OnFailureDescriptorActions = null; + OnFailureDescriptorAction = configure; + return Self; + } + + public FingerprintProcessorDescriptor OnFailure(params Action[] configure) + { + OnFailureValue = null; + OnFailureDescriptor = null; + OnFailureDescriptorAction = null; + OnFailureDescriptorActions = configure; + return Self; + } + + /// + /// + /// Salt value for the hash function. + /// + /// + public FingerprintProcessorDescriptor Salt(string? salt) + { + SaltValue = salt; + return Self; + } + + /// + /// + /// Identifier for the processor. + /// Useful for debugging and metrics. + /// + /// + public FingerprintProcessorDescriptor Tag(string? tag) + { + TagValue = tag; + return Self; + } + + /// + /// + /// Output field for the fingerprint. + /// + /// + public FingerprintProcessorDescriptor TargetField(Elastic.Clients.Elasticsearch.Serverless.Field? targetField) + { + TargetFieldValue = targetField; + return Self; + } + + /// + /// + /// Output field for the fingerprint. + /// + /// + public FingerprintProcessorDescriptor TargetField(Expression> targetField) + { + TargetFieldValue = targetField; + return Self; + } + + /// + /// + /// Output field for the fingerprint. + /// + /// + public FingerprintProcessorDescriptor TargetField(Expression> targetField) + { + TargetFieldValue = targetField; + return Self; + } + + protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) + { + writer.WriteStartObject(); + if (!string.IsNullOrEmpty(DescriptionValue)) + { + writer.WritePropertyName("description"); + writer.WriteStringValue(DescriptionValue); + } + + writer.WritePropertyName("fields"); + JsonSerializer.Serialize(writer, FieldsValue, options); + if (!string.IsNullOrEmpty(IfValue)) + { + writer.WritePropertyName("if"); + writer.WriteStringValue(IfValue); + } + + if (IgnoreFailureValue.HasValue) + { + writer.WritePropertyName("ignore_failure"); + writer.WriteBooleanValue(IgnoreFailureValue.Value); + } + + if (IgnoreMissingValue.HasValue) + { + writer.WritePropertyName("ignore_missing"); + writer.WriteBooleanValue(IgnoreMissingValue.Value); + } + + if (MethodValue is not null) + { + writer.WritePropertyName("method"); + JsonSerializer.Serialize(writer, MethodValue, options); + } + + if (OnFailureDescriptor is not null) + { + writer.WritePropertyName("on_failure"); + writer.WriteStartArray(); + JsonSerializer.Serialize(writer, OnFailureDescriptor, options); + writer.WriteEndArray(); + } + else if (OnFailureDescriptorAction is not null) + { + writer.WritePropertyName("on_failure"); + writer.WriteStartArray(); + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.Serverless.Ingest.ProcessorDescriptor(OnFailureDescriptorAction), options); + writer.WriteEndArray(); + } + else if (OnFailureDescriptorActions is not null) + { + writer.WritePropertyName("on_failure"); + writer.WriteStartArray(); + foreach (var action in OnFailureDescriptorActions) + { + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.Serverless.Ingest.ProcessorDescriptor(action), options); + } + + writer.WriteEndArray(); + } + else if (OnFailureValue is not null) + { + writer.WritePropertyName("on_failure"); + JsonSerializer.Serialize(writer, OnFailureValue, options); + } + + if (!string.IsNullOrEmpty(SaltValue)) + { + writer.WritePropertyName("salt"); + writer.WriteStringValue(SaltValue); + } + + if (!string.IsNullOrEmpty(TagValue)) + { + writer.WritePropertyName("tag"); + writer.WriteStringValue(TagValue); + } + + if (TargetFieldValue is not null) + { + writer.WritePropertyName("target_field"); + JsonSerializer.Serialize(writer, TargetFieldValue, options); + } + + writer.WriteEndObject(); + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Ingest/GrokProcessor.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Ingest/GrokProcessor.g.cs index c9ef8ec6fe7..4a802178b76 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Ingest/GrokProcessor.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Ingest/GrokProcessor.g.cs @@ -38,6 +38,15 @@ public sealed partial class GrokProcessor [JsonInclude, JsonPropertyName("description")] public string? Description { get; set; } + /// + /// + /// Must be disabled or v1. If v1, the processor uses patterns with Elastic + /// Common Schema (ECS) field names. + /// + /// + [JsonInclude, JsonPropertyName("ecs_compatibility")] + public string? EcsCompatibility { get; set; } + /// /// /// The field to use for grok expression parsing. @@ -125,6 +134,7 @@ public GrokProcessorDescriptor() : base() } private string? DescriptionValue { get; set; } + private string? EcsCompatibilityValue { get; set; } private Elastic.Clients.Elasticsearch.Serverless.Field FieldValue { get; set; } private string? IfValue { get; set; } private bool? IgnoreFailureValue { get; set; } @@ -150,6 +160,18 @@ public GrokProcessorDescriptor Description(string? description) return Self; } + /// + /// + /// Must be disabled or v1. If v1, the processor uses patterns with Elastic + /// Common Schema (ECS) field names. + /// + /// + public GrokProcessorDescriptor EcsCompatibility(string? ecsCompatibility) + { + EcsCompatibilityValue = ecsCompatibility; + return Self; + } + /// /// /// The field to use for grok expression parsing. @@ -313,6 +335,12 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o writer.WriteStringValue(DescriptionValue); } + if (!string.IsNullOrEmpty(EcsCompatibilityValue)) + { + writer.WritePropertyName("ecs_compatibility"); + writer.WriteStringValue(EcsCompatibilityValue); + } + writer.WritePropertyName("field"); JsonSerializer.Serialize(writer, FieldValue, options); if (!string.IsNullOrEmpty(IfValue)) @@ -397,6 +425,7 @@ public GrokProcessorDescriptor() : base() } private string? DescriptionValue { get; set; } + private string? EcsCompatibilityValue { get; set; } private Elastic.Clients.Elasticsearch.Serverless.Field FieldValue { get; set; } private string? IfValue { get; set; } private bool? IgnoreFailureValue { get; set; } @@ -422,6 +451,18 @@ public GrokProcessorDescriptor Description(string? description) return Self; } + /// + /// + /// Must be disabled or v1. If v1, the processor uses patterns with Elastic + /// Common Schema (ECS) field names. + /// + /// + public GrokProcessorDescriptor EcsCompatibility(string? ecsCompatibility) + { + EcsCompatibilityValue = ecsCompatibility; + return Self; + } + /// /// /// The field to use for grok expression parsing. @@ -585,6 +626,12 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o writer.WriteStringValue(DescriptionValue); } + if (!string.IsNullOrEmpty(EcsCompatibilityValue)) + { + writer.WritePropertyName("ecs_compatibility"); + writer.WriteStringValue(EcsCompatibilityValue); + } + writer.WritePropertyName("field"); JsonSerializer.Serialize(writer, FieldValue, options); if (!string.IsNullOrEmpty(IfValue)) diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Ingest/IngestInfo.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Ingest/IngestInfo.g.cs index 781268c19f2..121ef723da6 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Ingest/IngestInfo.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Ingest/IngestInfo.g.cs @@ -31,6 +31,8 @@ public sealed partial class IngestInfo { [JsonInclude, JsonPropertyName("pipeline")] public string? Pipeline { get; init; } + [JsonInclude, JsonPropertyName("_redact")] + public Elastic.Clients.Elasticsearch.Serverless.Ingest.Redact? Redact { get; init; } [JsonInclude, JsonPropertyName("timestamp")] public DateTimeOffset Timestamp { get; init; } } \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Ingest/NetworkDirectionProcessor.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Ingest/NetworkDirectionProcessor.g.cs new file mode 100644 index 00000000000..4f17825cabc --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Ingest/NetworkDirectionProcessor.g.cs @@ -0,0 +1,866 @@ +// 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 Elastic.Clients.Elasticsearch.Serverless.Fluent; +using Elastic.Clients.Elasticsearch.Serverless.Serialization; +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +namespace Elastic.Clients.Elasticsearch.Serverless.Ingest; + +public sealed partial class NetworkDirectionProcessor +{ + /// + /// + /// Description of the processor. + /// Useful for describing the purpose of the processor or its configuration. + /// + /// + [JsonInclude, JsonPropertyName("description")] + public string? Description { get; set; } + + /// + /// + /// Field containing the destination IP address. + /// + /// + [JsonInclude, JsonPropertyName("destination_ip")] + public Elastic.Clients.Elasticsearch.Serverless.Field? DestinationIp { get; set; } + + /// + /// + /// Conditionally execute the processor. + /// + /// + [JsonInclude, JsonPropertyName("if")] + public string? If { get; set; } + + /// + /// + /// Ignore failures for the processor. + /// + /// + [JsonInclude, JsonPropertyName("ignore_failure")] + public bool? IgnoreFailure { get; set; } + + /// + /// + /// If true and any required fields are missing, the processor quietly exits + /// without modifying the document. + /// + /// + [JsonInclude, JsonPropertyName("ignore_missing")] + public bool? IgnoreMissing { get; set; } + + /// + /// + /// List of internal networks. Supports IPv4 and IPv6 addresses and ranges in + /// CIDR notation. Also supports the named ranges listed below. These may be + /// constructed with template snippets. Must specify only one of + /// internal_networks or internal_networks_field. + /// + /// + [JsonInclude, JsonPropertyName("internal_networks")] + public ICollection? InternalNetworks { get; set; } + + /// + /// + /// A field on the given document to read the internal_networks configuration + /// from. + /// + /// + [JsonInclude, JsonPropertyName("internal_networks_field")] + public Elastic.Clients.Elasticsearch.Serverless.Field? InternalNetworksField { get; set; } + + /// + /// + /// Handle failures for the processor. + /// + /// + [JsonInclude, JsonPropertyName("on_failure")] + public ICollection? OnFailure { get; set; } + + /// + /// + /// Field containing the source IP address. + /// + /// + [JsonInclude, JsonPropertyName("source_ip")] + public Elastic.Clients.Elasticsearch.Serverless.Field? SourceIp { get; set; } + + /// + /// + /// Identifier for the processor. + /// Useful for debugging and metrics. + /// + /// + [JsonInclude, JsonPropertyName("tag")] + public string? Tag { get; set; } + + /// + /// + /// Output field for the network direction. + /// + /// + [JsonInclude, JsonPropertyName("target_field")] + public Elastic.Clients.Elasticsearch.Serverless.Field? TargetField { get; set; } + + public static implicit operator Elastic.Clients.Elasticsearch.Serverless.Ingest.Processor(NetworkDirectionProcessor networkDirectionProcessor) => Elastic.Clients.Elasticsearch.Serverless.Ingest.Processor.NetworkDirection(networkDirectionProcessor); +} + +public sealed partial class NetworkDirectionProcessorDescriptor : SerializableDescriptor> +{ + internal NetworkDirectionProcessorDescriptor(Action> configure) => configure.Invoke(this); + + public NetworkDirectionProcessorDescriptor() : base() + { + } + + private string? DescriptionValue { get; set; } + private Elastic.Clients.Elasticsearch.Serverless.Field? DestinationIpValue { get; set; } + private string? IfValue { get; set; } + private bool? IgnoreFailureValue { get; set; } + private bool? IgnoreMissingValue { get; set; } + private ICollection? InternalNetworksValue { get; set; } + private Elastic.Clients.Elasticsearch.Serverless.Field? InternalNetworksFieldValue { get; set; } + private ICollection? OnFailureValue { get; set; } + private Elastic.Clients.Elasticsearch.Serverless.Ingest.ProcessorDescriptor OnFailureDescriptor { get; set; } + private Action> OnFailureDescriptorAction { get; set; } + private Action>[] OnFailureDescriptorActions { get; set; } + private Elastic.Clients.Elasticsearch.Serverless.Field? SourceIpValue { get; set; } + private string? TagValue { get; set; } + private Elastic.Clients.Elasticsearch.Serverless.Field? TargetFieldValue { get; set; } + + /// + /// + /// Description of the processor. + /// Useful for describing the purpose of the processor or its configuration. + /// + /// + public NetworkDirectionProcessorDescriptor Description(string? description) + { + DescriptionValue = description; + return Self; + } + + /// + /// + /// Field containing the destination IP address. + /// + /// + public NetworkDirectionProcessorDescriptor DestinationIp(Elastic.Clients.Elasticsearch.Serverless.Field? destinationIp) + { + DestinationIpValue = destinationIp; + return Self; + } + + /// + /// + /// Field containing the destination IP address. + /// + /// + public NetworkDirectionProcessorDescriptor DestinationIp(Expression> destinationIp) + { + DestinationIpValue = destinationIp; + return Self; + } + + /// + /// + /// Field containing the destination IP address. + /// + /// + public NetworkDirectionProcessorDescriptor DestinationIp(Expression> destinationIp) + { + DestinationIpValue = destinationIp; + return Self; + } + + /// + /// + /// Conditionally execute the processor. + /// + /// + public NetworkDirectionProcessorDescriptor If(string? value) + { + IfValue = value; + return Self; + } + + /// + /// + /// Ignore failures for the processor. + /// + /// + public NetworkDirectionProcessorDescriptor IgnoreFailure(bool? ignoreFailure = true) + { + IgnoreFailureValue = ignoreFailure; + return Self; + } + + /// + /// + /// If true and any required fields are missing, the processor quietly exits + /// without modifying the document. + /// + /// + public NetworkDirectionProcessorDescriptor IgnoreMissing(bool? ignoreMissing = true) + { + IgnoreMissingValue = ignoreMissing; + return Self; + } + + /// + /// + /// List of internal networks. Supports IPv4 and IPv6 addresses and ranges in + /// CIDR notation. Also supports the named ranges listed below. These may be + /// constructed with template snippets. Must specify only one of + /// internal_networks or internal_networks_field. + /// + /// + public NetworkDirectionProcessorDescriptor InternalNetworks(ICollection? internalNetworks) + { + InternalNetworksValue = internalNetworks; + return Self; + } + + /// + /// + /// A field on the given document to read the internal_networks configuration + /// from. + /// + /// + public NetworkDirectionProcessorDescriptor InternalNetworksField(Elastic.Clients.Elasticsearch.Serverless.Field? internalNetworksField) + { + InternalNetworksFieldValue = internalNetworksField; + return Self; + } + + /// + /// + /// A field on the given document to read the internal_networks configuration + /// from. + /// + /// + public NetworkDirectionProcessorDescriptor InternalNetworksField(Expression> internalNetworksField) + { + InternalNetworksFieldValue = internalNetworksField; + return Self; + } + + /// + /// + /// A field on the given document to read the internal_networks configuration + /// from. + /// + /// + public NetworkDirectionProcessorDescriptor InternalNetworksField(Expression> internalNetworksField) + { + InternalNetworksFieldValue = internalNetworksField; + return Self; + } + + /// + /// + /// Handle failures for the processor. + /// + /// + public NetworkDirectionProcessorDescriptor OnFailure(ICollection? onFailure) + { + OnFailureDescriptor = null; + OnFailureDescriptorAction = null; + OnFailureDescriptorActions = null; + OnFailureValue = onFailure; + return Self; + } + + public NetworkDirectionProcessorDescriptor OnFailure(Elastic.Clients.Elasticsearch.Serverless.Ingest.ProcessorDescriptor descriptor) + { + OnFailureValue = null; + OnFailureDescriptorAction = null; + OnFailureDescriptorActions = null; + OnFailureDescriptor = descriptor; + return Self; + } + + public NetworkDirectionProcessorDescriptor OnFailure(Action> configure) + { + OnFailureValue = null; + OnFailureDescriptor = null; + OnFailureDescriptorActions = null; + OnFailureDescriptorAction = configure; + return Self; + } + + public NetworkDirectionProcessorDescriptor OnFailure(params Action>[] configure) + { + OnFailureValue = null; + OnFailureDescriptor = null; + OnFailureDescriptorAction = null; + OnFailureDescriptorActions = configure; + return Self; + } + + /// + /// + /// Field containing the source IP address. + /// + /// + public NetworkDirectionProcessorDescriptor SourceIp(Elastic.Clients.Elasticsearch.Serverless.Field? sourceIp) + { + SourceIpValue = sourceIp; + return Self; + } + + /// + /// + /// Field containing the source IP address. + /// + /// + public NetworkDirectionProcessorDescriptor SourceIp(Expression> sourceIp) + { + SourceIpValue = sourceIp; + return Self; + } + + /// + /// + /// Field containing the source IP address. + /// + /// + public NetworkDirectionProcessorDescriptor SourceIp(Expression> sourceIp) + { + SourceIpValue = sourceIp; + return Self; + } + + /// + /// + /// Identifier for the processor. + /// Useful for debugging and metrics. + /// + /// + public NetworkDirectionProcessorDescriptor Tag(string? tag) + { + TagValue = tag; + return Self; + } + + /// + /// + /// Output field for the network direction. + /// + /// + public NetworkDirectionProcessorDescriptor TargetField(Elastic.Clients.Elasticsearch.Serverless.Field? targetField) + { + TargetFieldValue = targetField; + return Self; + } + + /// + /// + /// Output field for the network direction. + /// + /// + public NetworkDirectionProcessorDescriptor TargetField(Expression> targetField) + { + TargetFieldValue = targetField; + return Self; + } + + /// + /// + /// Output field for the network direction. + /// + /// + public NetworkDirectionProcessorDescriptor TargetField(Expression> targetField) + { + TargetFieldValue = targetField; + return Self; + } + + protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) + { + writer.WriteStartObject(); + if (!string.IsNullOrEmpty(DescriptionValue)) + { + writer.WritePropertyName("description"); + writer.WriteStringValue(DescriptionValue); + } + + if (DestinationIpValue is not null) + { + writer.WritePropertyName("destination_ip"); + JsonSerializer.Serialize(writer, DestinationIpValue, options); + } + + if (!string.IsNullOrEmpty(IfValue)) + { + writer.WritePropertyName("if"); + writer.WriteStringValue(IfValue); + } + + if (IgnoreFailureValue.HasValue) + { + writer.WritePropertyName("ignore_failure"); + writer.WriteBooleanValue(IgnoreFailureValue.Value); + } + + if (IgnoreMissingValue.HasValue) + { + writer.WritePropertyName("ignore_missing"); + writer.WriteBooleanValue(IgnoreMissingValue.Value); + } + + if (InternalNetworksValue is not null) + { + writer.WritePropertyName("internal_networks"); + JsonSerializer.Serialize(writer, InternalNetworksValue, options); + } + + if (InternalNetworksFieldValue is not null) + { + writer.WritePropertyName("internal_networks_field"); + JsonSerializer.Serialize(writer, InternalNetworksFieldValue, options); + } + + if (OnFailureDescriptor is not null) + { + writer.WritePropertyName("on_failure"); + writer.WriteStartArray(); + JsonSerializer.Serialize(writer, OnFailureDescriptor, options); + writer.WriteEndArray(); + } + else if (OnFailureDescriptorAction is not null) + { + writer.WritePropertyName("on_failure"); + writer.WriteStartArray(); + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.Serverless.Ingest.ProcessorDescriptor(OnFailureDescriptorAction), options); + writer.WriteEndArray(); + } + else if (OnFailureDescriptorActions is not null) + { + writer.WritePropertyName("on_failure"); + writer.WriteStartArray(); + foreach (var action in OnFailureDescriptorActions) + { + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.Serverless.Ingest.ProcessorDescriptor(action), options); + } + + writer.WriteEndArray(); + } + else if (OnFailureValue is not null) + { + writer.WritePropertyName("on_failure"); + JsonSerializer.Serialize(writer, OnFailureValue, options); + } + + if (SourceIpValue is not null) + { + writer.WritePropertyName("source_ip"); + JsonSerializer.Serialize(writer, SourceIpValue, options); + } + + if (!string.IsNullOrEmpty(TagValue)) + { + writer.WritePropertyName("tag"); + writer.WriteStringValue(TagValue); + } + + if (TargetFieldValue is not null) + { + writer.WritePropertyName("target_field"); + JsonSerializer.Serialize(writer, TargetFieldValue, options); + } + + writer.WriteEndObject(); + } +} + +public sealed partial class NetworkDirectionProcessorDescriptor : SerializableDescriptor +{ + internal NetworkDirectionProcessorDescriptor(Action configure) => configure.Invoke(this); + + public NetworkDirectionProcessorDescriptor() : base() + { + } + + private string? DescriptionValue { get; set; } + private Elastic.Clients.Elasticsearch.Serverless.Field? DestinationIpValue { get; set; } + private string? IfValue { get; set; } + private bool? IgnoreFailureValue { get; set; } + private bool? IgnoreMissingValue { get; set; } + private ICollection? InternalNetworksValue { get; set; } + private Elastic.Clients.Elasticsearch.Serverless.Field? InternalNetworksFieldValue { get; set; } + private ICollection? OnFailureValue { get; set; } + private Elastic.Clients.Elasticsearch.Serverless.Ingest.ProcessorDescriptor OnFailureDescriptor { get; set; } + private Action OnFailureDescriptorAction { get; set; } + private Action[] OnFailureDescriptorActions { get; set; } + private Elastic.Clients.Elasticsearch.Serverless.Field? SourceIpValue { get; set; } + private string? TagValue { get; set; } + private Elastic.Clients.Elasticsearch.Serverless.Field? TargetFieldValue { get; set; } + + /// + /// + /// Description of the processor. + /// Useful for describing the purpose of the processor or its configuration. + /// + /// + public NetworkDirectionProcessorDescriptor Description(string? description) + { + DescriptionValue = description; + return Self; + } + + /// + /// + /// Field containing the destination IP address. + /// + /// + public NetworkDirectionProcessorDescriptor DestinationIp(Elastic.Clients.Elasticsearch.Serverless.Field? destinationIp) + { + DestinationIpValue = destinationIp; + return Self; + } + + /// + /// + /// Field containing the destination IP address. + /// + /// + public NetworkDirectionProcessorDescriptor DestinationIp(Expression> destinationIp) + { + DestinationIpValue = destinationIp; + return Self; + } + + /// + /// + /// Field containing the destination IP address. + /// + /// + public NetworkDirectionProcessorDescriptor DestinationIp(Expression> destinationIp) + { + DestinationIpValue = destinationIp; + return Self; + } + + /// + /// + /// Conditionally execute the processor. + /// + /// + public NetworkDirectionProcessorDescriptor If(string? value) + { + IfValue = value; + return Self; + } + + /// + /// + /// Ignore failures for the processor. + /// + /// + public NetworkDirectionProcessorDescriptor IgnoreFailure(bool? ignoreFailure = true) + { + IgnoreFailureValue = ignoreFailure; + return Self; + } + + /// + /// + /// If true and any required fields are missing, the processor quietly exits + /// without modifying the document. + /// + /// + public NetworkDirectionProcessorDescriptor IgnoreMissing(bool? ignoreMissing = true) + { + IgnoreMissingValue = ignoreMissing; + return Self; + } + + /// + /// + /// List of internal networks. Supports IPv4 and IPv6 addresses and ranges in + /// CIDR notation. Also supports the named ranges listed below. These may be + /// constructed with template snippets. Must specify only one of + /// internal_networks or internal_networks_field. + /// + /// + public NetworkDirectionProcessorDescriptor InternalNetworks(ICollection? internalNetworks) + { + InternalNetworksValue = internalNetworks; + return Self; + } + + /// + /// + /// A field on the given document to read the internal_networks configuration + /// from. + /// + /// + public NetworkDirectionProcessorDescriptor InternalNetworksField(Elastic.Clients.Elasticsearch.Serverless.Field? internalNetworksField) + { + InternalNetworksFieldValue = internalNetworksField; + return Self; + } + + /// + /// + /// A field on the given document to read the internal_networks configuration + /// from. + /// + /// + public NetworkDirectionProcessorDescriptor InternalNetworksField(Expression> internalNetworksField) + { + InternalNetworksFieldValue = internalNetworksField; + return Self; + } + + /// + /// + /// A field on the given document to read the internal_networks configuration + /// from. + /// + /// + public NetworkDirectionProcessorDescriptor InternalNetworksField(Expression> internalNetworksField) + { + InternalNetworksFieldValue = internalNetworksField; + return Self; + } + + /// + /// + /// Handle failures for the processor. + /// + /// + public NetworkDirectionProcessorDescriptor OnFailure(ICollection? onFailure) + { + OnFailureDescriptor = null; + OnFailureDescriptorAction = null; + OnFailureDescriptorActions = null; + OnFailureValue = onFailure; + return Self; + } + + public NetworkDirectionProcessorDescriptor OnFailure(Elastic.Clients.Elasticsearch.Serverless.Ingest.ProcessorDescriptor descriptor) + { + OnFailureValue = null; + OnFailureDescriptorAction = null; + OnFailureDescriptorActions = null; + OnFailureDescriptor = descriptor; + return Self; + } + + public NetworkDirectionProcessorDescriptor OnFailure(Action configure) + { + OnFailureValue = null; + OnFailureDescriptor = null; + OnFailureDescriptorActions = null; + OnFailureDescriptorAction = configure; + return Self; + } + + public NetworkDirectionProcessorDescriptor OnFailure(params Action[] configure) + { + OnFailureValue = null; + OnFailureDescriptor = null; + OnFailureDescriptorAction = null; + OnFailureDescriptorActions = configure; + return Self; + } + + /// + /// + /// Field containing the source IP address. + /// + /// + public NetworkDirectionProcessorDescriptor SourceIp(Elastic.Clients.Elasticsearch.Serverless.Field? sourceIp) + { + SourceIpValue = sourceIp; + return Self; + } + + /// + /// + /// Field containing the source IP address. + /// + /// + public NetworkDirectionProcessorDescriptor SourceIp(Expression> sourceIp) + { + SourceIpValue = sourceIp; + return Self; + } + + /// + /// + /// Field containing the source IP address. + /// + /// + public NetworkDirectionProcessorDescriptor SourceIp(Expression> sourceIp) + { + SourceIpValue = sourceIp; + return Self; + } + + /// + /// + /// Identifier for the processor. + /// Useful for debugging and metrics. + /// + /// + public NetworkDirectionProcessorDescriptor Tag(string? tag) + { + TagValue = tag; + return Self; + } + + /// + /// + /// Output field for the network direction. + /// + /// + public NetworkDirectionProcessorDescriptor TargetField(Elastic.Clients.Elasticsearch.Serverless.Field? targetField) + { + TargetFieldValue = targetField; + return Self; + } + + /// + /// + /// Output field for the network direction. + /// + /// + public NetworkDirectionProcessorDescriptor TargetField(Expression> targetField) + { + TargetFieldValue = targetField; + return Self; + } + + /// + /// + /// Output field for the network direction. + /// + /// + public NetworkDirectionProcessorDescriptor TargetField(Expression> targetField) + { + TargetFieldValue = targetField; + return Self; + } + + protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) + { + writer.WriteStartObject(); + if (!string.IsNullOrEmpty(DescriptionValue)) + { + writer.WritePropertyName("description"); + writer.WriteStringValue(DescriptionValue); + } + + if (DestinationIpValue is not null) + { + writer.WritePropertyName("destination_ip"); + JsonSerializer.Serialize(writer, DestinationIpValue, options); + } + + if (!string.IsNullOrEmpty(IfValue)) + { + writer.WritePropertyName("if"); + writer.WriteStringValue(IfValue); + } + + if (IgnoreFailureValue.HasValue) + { + writer.WritePropertyName("ignore_failure"); + writer.WriteBooleanValue(IgnoreFailureValue.Value); + } + + if (IgnoreMissingValue.HasValue) + { + writer.WritePropertyName("ignore_missing"); + writer.WriteBooleanValue(IgnoreMissingValue.Value); + } + + if (InternalNetworksValue is not null) + { + writer.WritePropertyName("internal_networks"); + JsonSerializer.Serialize(writer, InternalNetworksValue, options); + } + + if (InternalNetworksFieldValue is not null) + { + writer.WritePropertyName("internal_networks_field"); + JsonSerializer.Serialize(writer, InternalNetworksFieldValue, options); + } + + if (OnFailureDescriptor is not null) + { + writer.WritePropertyName("on_failure"); + writer.WriteStartArray(); + JsonSerializer.Serialize(writer, OnFailureDescriptor, options); + writer.WriteEndArray(); + } + else if (OnFailureDescriptorAction is not null) + { + writer.WritePropertyName("on_failure"); + writer.WriteStartArray(); + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.Serverless.Ingest.ProcessorDescriptor(OnFailureDescriptorAction), options); + writer.WriteEndArray(); + } + else if (OnFailureDescriptorActions is not null) + { + writer.WritePropertyName("on_failure"); + writer.WriteStartArray(); + foreach (var action in OnFailureDescriptorActions) + { + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.Serverless.Ingest.ProcessorDescriptor(action), options); + } + + writer.WriteEndArray(); + } + else if (OnFailureValue is not null) + { + writer.WritePropertyName("on_failure"); + JsonSerializer.Serialize(writer, OnFailureValue, options); + } + + if (SourceIpValue is not null) + { + writer.WritePropertyName("source_ip"); + JsonSerializer.Serialize(writer, SourceIpValue, options); + } + + if (!string.IsNullOrEmpty(TagValue)) + { + writer.WritePropertyName("tag"); + writer.WriteStringValue(TagValue); + } + + if (TargetFieldValue is not null) + { + writer.WritePropertyName("target_field"); + JsonSerializer.Serialize(writer, TargetFieldValue, options); + } + + writer.WriteEndObject(); + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Ingest/Processor.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Ingest/Processor.g.cs index e55af2cc02a..a9e21af1863 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Ingest/Processor.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Ingest/Processor.g.cs @@ -50,6 +50,7 @@ internal Processor(string variantName, object variant) public static Processor Attachment(Elastic.Clients.Elasticsearch.Serverless.Ingest.AttachmentProcessor attachmentProcessor) => new Processor("attachment", attachmentProcessor); public static Processor Bytes(Elastic.Clients.Elasticsearch.Serverless.Ingest.BytesProcessor bytesProcessor) => new Processor("bytes", bytesProcessor); public static Processor Circle(Elastic.Clients.Elasticsearch.Serverless.Ingest.CircleProcessor circleProcessor) => new Processor("circle", circleProcessor); + public static Processor CommunityId(Elastic.Clients.Elasticsearch.Serverless.Ingest.CommunityIDProcessor communityIDProcessor) => new Processor("community_id", communityIDProcessor); public static Processor Convert(Elastic.Clients.Elasticsearch.Serverless.Ingest.ConvertProcessor convertProcessor) => new Processor("convert", convertProcessor); public static Processor Csv(Elastic.Clients.Elasticsearch.Serverless.Ingest.CsvProcessor csvProcessor) => new Processor("csv", csvProcessor); public static Processor Date(Elastic.Clients.Elasticsearch.Serverless.Ingest.DateProcessor dateProcessor) => new Processor("date", dateProcessor); @@ -59,6 +60,7 @@ internal Processor(string variantName, object variant) public static Processor Drop(Elastic.Clients.Elasticsearch.Serverless.Ingest.DropProcessor dropProcessor) => new Processor("drop", dropProcessor); public static Processor Enrich(Elastic.Clients.Elasticsearch.Serverless.Ingest.EnrichProcessor enrichProcessor) => new Processor("enrich", enrichProcessor); public static Processor Fail(Elastic.Clients.Elasticsearch.Serverless.Ingest.FailProcessor failProcessor) => new Processor("fail", failProcessor); + public static Processor Fingerprint(Elastic.Clients.Elasticsearch.Serverless.Ingest.FingerprintProcessor fingerprintProcessor) => new Processor("fingerprint", fingerprintProcessor); public static Processor Foreach(Elastic.Clients.Elasticsearch.Serverless.Ingest.ForeachProcessor foreachProcessor) => new Processor("foreach", foreachProcessor); public static Processor GeoGrid(Elastic.Clients.Elasticsearch.Serverless.Ingest.GeoGridProcessor geoGridProcessor) => new Processor("geo_grid", geoGridProcessor); public static Processor Geoip(Elastic.Clients.Elasticsearch.Serverless.Ingest.GeoIpProcessor geoIpProcessor) => new Processor("geoip", geoIpProcessor); @@ -70,8 +72,10 @@ internal Processor(string variantName, object variant) public static Processor Json(Elastic.Clients.Elasticsearch.Serverless.Ingest.JsonProcessor jsonProcessor) => new Processor("json", jsonProcessor); public static Processor Kv(Elastic.Clients.Elasticsearch.Serverless.Ingest.KeyValueProcessor keyValueProcessor) => new Processor("kv", keyValueProcessor); public static Processor Lowercase(Elastic.Clients.Elasticsearch.Serverless.Ingest.LowercaseProcessor lowercaseProcessor) => new Processor("lowercase", lowercaseProcessor); + public static Processor NetworkDirection(Elastic.Clients.Elasticsearch.Serverless.Ingest.NetworkDirectionProcessor networkDirectionProcessor) => new Processor("network_direction", networkDirectionProcessor); public static Processor Pipeline(Elastic.Clients.Elasticsearch.Serverless.Ingest.PipelineProcessor pipelineProcessor) => new Processor("pipeline", pipelineProcessor); public static Processor Redact(Elastic.Clients.Elasticsearch.Serverless.Ingest.RedactProcessor redactProcessor) => new Processor("redact", redactProcessor); + public static Processor RegisteredDomain(Elastic.Clients.Elasticsearch.Serverless.Ingest.RegisteredDomainProcessor registeredDomainProcessor) => new Processor("registered_domain", registeredDomainProcessor); public static Processor Remove(Elastic.Clients.Elasticsearch.Serverless.Ingest.RemoveProcessor removeProcessor) => new Processor("remove", removeProcessor); public static Processor Rename(Elastic.Clients.Elasticsearch.Serverless.Ingest.RenameProcessor renameProcessor) => new Processor("rename", renameProcessor); public static Processor Reroute(Elastic.Clients.Elasticsearch.Serverless.Ingest.RerouteProcessor rerouteProcessor) => new Processor("reroute", rerouteProcessor); @@ -80,6 +84,7 @@ internal Processor(string variantName, object variant) public static Processor SetSecurityUser(Elastic.Clients.Elasticsearch.Serverless.Ingest.SetSecurityUserProcessor setSecurityUserProcessor) => new Processor("set_security_user", setSecurityUserProcessor); public static Processor Sort(Elastic.Clients.Elasticsearch.Serverless.Ingest.SortProcessor sortProcessor) => new Processor("sort", sortProcessor); public static Processor Split(Elastic.Clients.Elasticsearch.Serverless.Ingest.SplitProcessor splitProcessor) => new Processor("split", splitProcessor); + public static Processor Terminate(Elastic.Clients.Elasticsearch.Serverless.Ingest.TerminateProcessor terminateProcessor) => new Processor("terminate", terminateProcessor); public static Processor Trim(Elastic.Clients.Elasticsearch.Serverless.Ingest.TrimProcessor trimProcessor) => new Processor("trim", trimProcessor); public static Processor Uppercase(Elastic.Clients.Elasticsearch.Serverless.Ingest.UppercaseProcessor uppercaseProcessor) => new Processor("uppercase", uppercaseProcessor); public static Processor UriParts(Elastic.Clients.Elasticsearch.Serverless.Ingest.UriPartsProcessor uriPartsProcessor) => new Processor("uri_parts", uriPartsProcessor); @@ -152,6 +157,13 @@ public override Processor Read(ref Utf8JsonReader reader, Type typeToConvert, Js continue; } + if (propertyName == "community_id") + { + variantValue = JsonSerializer.Deserialize(ref reader, options); + variantNameValue = propertyName; + continue; + } + if (propertyName == "convert") { variantValue = JsonSerializer.Deserialize(ref reader, options); @@ -215,6 +227,13 @@ public override Processor Read(ref Utf8JsonReader reader, Type typeToConvert, Js continue; } + if (propertyName == "fingerprint") + { + variantValue = JsonSerializer.Deserialize(ref reader, options); + variantNameValue = propertyName; + continue; + } + if (propertyName == "foreach") { variantValue = JsonSerializer.Deserialize(ref reader, options); @@ -292,6 +311,13 @@ public override Processor Read(ref Utf8JsonReader reader, Type typeToConvert, Js continue; } + if (propertyName == "network_direction") + { + variantValue = JsonSerializer.Deserialize(ref reader, options); + variantNameValue = propertyName; + continue; + } + if (propertyName == "pipeline") { variantValue = JsonSerializer.Deserialize(ref reader, options); @@ -306,6 +332,13 @@ public override Processor Read(ref Utf8JsonReader reader, Type typeToConvert, Js continue; } + if (propertyName == "registered_domain") + { + variantValue = JsonSerializer.Deserialize(ref reader, options); + variantNameValue = propertyName; + continue; + } + if (propertyName == "remove") { variantValue = JsonSerializer.Deserialize(ref reader, options); @@ -362,6 +395,13 @@ public override Processor Read(ref Utf8JsonReader reader, Type typeToConvert, Js continue; } + if (propertyName == "terminate") + { + variantValue = JsonSerializer.Deserialize(ref reader, options); + variantNameValue = propertyName; + continue; + } + if (propertyName == "trim") { variantValue = JsonSerializer.Deserialize(ref reader, options); @@ -424,6 +464,9 @@ public override void Write(Utf8JsonWriter writer, Processor value, JsonSerialize case "circle": JsonSerializer.Serialize(writer, (Elastic.Clients.Elasticsearch.Serverless.Ingest.CircleProcessor)value.Variant, options); break; + case "community_id": + JsonSerializer.Serialize(writer, (Elastic.Clients.Elasticsearch.Serverless.Ingest.CommunityIDProcessor)value.Variant, options); + break; case "convert": JsonSerializer.Serialize(writer, (Elastic.Clients.Elasticsearch.Serverless.Ingest.ConvertProcessor)value.Variant, options); break; @@ -451,6 +494,9 @@ public override void Write(Utf8JsonWriter writer, Processor value, JsonSerialize case "fail": JsonSerializer.Serialize(writer, (Elastic.Clients.Elasticsearch.Serverless.Ingest.FailProcessor)value.Variant, options); break; + case "fingerprint": + JsonSerializer.Serialize(writer, (Elastic.Clients.Elasticsearch.Serverless.Ingest.FingerprintProcessor)value.Variant, options); + break; case "foreach": JsonSerializer.Serialize(writer, (Elastic.Clients.Elasticsearch.Serverless.Ingest.ForeachProcessor)value.Variant, options); break; @@ -484,12 +530,18 @@ public override void Write(Utf8JsonWriter writer, Processor value, JsonSerialize case "lowercase": JsonSerializer.Serialize(writer, (Elastic.Clients.Elasticsearch.Serverless.Ingest.LowercaseProcessor)value.Variant, options); break; + case "network_direction": + JsonSerializer.Serialize(writer, (Elastic.Clients.Elasticsearch.Serverless.Ingest.NetworkDirectionProcessor)value.Variant, options); + break; case "pipeline": JsonSerializer.Serialize(writer, (Elastic.Clients.Elasticsearch.Serverless.Ingest.PipelineProcessor)value.Variant, options); break; case "redact": JsonSerializer.Serialize(writer, (Elastic.Clients.Elasticsearch.Serverless.Ingest.RedactProcessor)value.Variant, options); break; + case "registered_domain": + JsonSerializer.Serialize(writer, (Elastic.Clients.Elasticsearch.Serverless.Ingest.RegisteredDomainProcessor)value.Variant, options); + break; case "remove": JsonSerializer.Serialize(writer, (Elastic.Clients.Elasticsearch.Serverless.Ingest.RemoveProcessor)value.Variant, options); break; @@ -514,6 +566,9 @@ public override void Write(Utf8JsonWriter writer, Processor value, JsonSerialize case "split": JsonSerializer.Serialize(writer, (Elastic.Clients.Elasticsearch.Serverless.Ingest.SplitProcessor)value.Variant, options); break; + case "terminate": + JsonSerializer.Serialize(writer, (Elastic.Clients.Elasticsearch.Serverless.Ingest.TerminateProcessor)value.Variant, options); + break; case "trim": JsonSerializer.Serialize(writer, (Elastic.Clients.Elasticsearch.Serverless.Ingest.TrimProcessor)value.Variant, options); break; @@ -575,6 +630,8 @@ private ProcessorDescriptor Set(object variant, string variantName) public ProcessorDescriptor Bytes(Action> configure) => Set(configure, "bytes"); public ProcessorDescriptor Circle(Elastic.Clients.Elasticsearch.Serverless.Ingest.CircleProcessor circleProcessor) => Set(circleProcessor, "circle"); public ProcessorDescriptor Circle(Action> configure) => Set(configure, "circle"); + public ProcessorDescriptor CommunityId(Elastic.Clients.Elasticsearch.Serverless.Ingest.CommunityIDProcessor communityIDProcessor) => Set(communityIDProcessor, "community_id"); + public ProcessorDescriptor CommunityId(Action> configure) => Set(configure, "community_id"); public ProcessorDescriptor Convert(Elastic.Clients.Elasticsearch.Serverless.Ingest.ConvertProcessor convertProcessor) => Set(convertProcessor, "convert"); public ProcessorDescriptor Convert(Action> configure) => Set(configure, "convert"); public ProcessorDescriptor Csv(Elastic.Clients.Elasticsearch.Serverless.Ingest.CsvProcessor csvProcessor) => Set(csvProcessor, "csv"); @@ -593,6 +650,8 @@ private ProcessorDescriptor Set(object variant, string variantName) public ProcessorDescriptor Enrich(Action> configure) => Set(configure, "enrich"); public ProcessorDescriptor Fail(Elastic.Clients.Elasticsearch.Serverless.Ingest.FailProcessor failProcessor) => Set(failProcessor, "fail"); public ProcessorDescriptor Fail(Action> configure) => Set(configure, "fail"); + public ProcessorDescriptor Fingerprint(Elastic.Clients.Elasticsearch.Serverless.Ingest.FingerprintProcessor fingerprintProcessor) => Set(fingerprintProcessor, "fingerprint"); + public ProcessorDescriptor Fingerprint(Action> configure) => Set(configure, "fingerprint"); public ProcessorDescriptor Foreach(Elastic.Clients.Elasticsearch.Serverless.Ingest.ForeachProcessor foreachProcessor) => Set(foreachProcessor, "foreach"); public ProcessorDescriptor Foreach(Action> configure) => Set(configure, "foreach"); public ProcessorDescriptor GeoGrid(Elastic.Clients.Elasticsearch.Serverless.Ingest.GeoGridProcessor geoGridProcessor) => Set(geoGridProcessor, "geo_grid"); @@ -615,10 +674,14 @@ private ProcessorDescriptor Set(object variant, string variantName) public ProcessorDescriptor Kv(Action> configure) => Set(configure, "kv"); public ProcessorDescriptor Lowercase(Elastic.Clients.Elasticsearch.Serverless.Ingest.LowercaseProcessor lowercaseProcessor) => Set(lowercaseProcessor, "lowercase"); public ProcessorDescriptor Lowercase(Action> configure) => Set(configure, "lowercase"); + public ProcessorDescriptor NetworkDirection(Elastic.Clients.Elasticsearch.Serverless.Ingest.NetworkDirectionProcessor networkDirectionProcessor) => Set(networkDirectionProcessor, "network_direction"); + public ProcessorDescriptor NetworkDirection(Action> configure) => Set(configure, "network_direction"); public ProcessorDescriptor Pipeline(Elastic.Clients.Elasticsearch.Serverless.Ingest.PipelineProcessor pipelineProcessor) => Set(pipelineProcessor, "pipeline"); public ProcessorDescriptor Pipeline(Action> configure) => Set(configure, "pipeline"); public ProcessorDescriptor Redact(Elastic.Clients.Elasticsearch.Serverless.Ingest.RedactProcessor redactProcessor) => Set(redactProcessor, "redact"); public ProcessorDescriptor Redact(Action> configure) => Set(configure, "redact"); + public ProcessorDescriptor RegisteredDomain(Elastic.Clients.Elasticsearch.Serverless.Ingest.RegisteredDomainProcessor registeredDomainProcessor) => Set(registeredDomainProcessor, "registered_domain"); + public ProcessorDescriptor RegisteredDomain(Action> configure) => Set(configure, "registered_domain"); public ProcessorDescriptor Remove(Elastic.Clients.Elasticsearch.Serverless.Ingest.RemoveProcessor removeProcessor) => Set(removeProcessor, "remove"); public ProcessorDescriptor Remove(Action> configure) => Set(configure, "remove"); public ProcessorDescriptor Rename(Elastic.Clients.Elasticsearch.Serverless.Ingest.RenameProcessor renameProcessor) => Set(renameProcessor, "rename"); @@ -635,6 +698,8 @@ private ProcessorDescriptor Set(object variant, string variantName) public ProcessorDescriptor Sort(Action> configure) => Set(configure, "sort"); public ProcessorDescriptor Split(Elastic.Clients.Elasticsearch.Serverless.Ingest.SplitProcessor splitProcessor) => Set(splitProcessor, "split"); public ProcessorDescriptor Split(Action> configure) => Set(configure, "split"); + public ProcessorDescriptor Terminate(Elastic.Clients.Elasticsearch.Serverless.Ingest.TerminateProcessor terminateProcessor) => Set(terminateProcessor, "terminate"); + public ProcessorDescriptor Terminate(Action> configure) => Set(configure, "terminate"); public ProcessorDescriptor Trim(Elastic.Clients.Elasticsearch.Serverless.Ingest.TrimProcessor trimProcessor) => Set(trimProcessor, "trim"); public ProcessorDescriptor Trim(Action> configure) => Set(configure, "trim"); public ProcessorDescriptor Uppercase(Elastic.Clients.Elasticsearch.Serverless.Ingest.UppercaseProcessor uppercaseProcessor) => Set(uppercaseProcessor, "uppercase"); @@ -705,6 +770,8 @@ private ProcessorDescriptor Set(object variant, string variantName) public ProcessorDescriptor Bytes(Action configure) => Set(configure, "bytes"); public ProcessorDescriptor Circle(Elastic.Clients.Elasticsearch.Serverless.Ingest.CircleProcessor circleProcessor) => Set(circleProcessor, "circle"); public ProcessorDescriptor Circle(Action configure) => Set(configure, "circle"); + public ProcessorDescriptor CommunityId(Elastic.Clients.Elasticsearch.Serverless.Ingest.CommunityIDProcessor communityIDProcessor) => Set(communityIDProcessor, "community_id"); + public ProcessorDescriptor CommunityId(Action configure) => Set(configure, "community_id"); public ProcessorDescriptor Convert(Elastic.Clients.Elasticsearch.Serverless.Ingest.ConvertProcessor convertProcessor) => Set(convertProcessor, "convert"); public ProcessorDescriptor Convert(Action configure) => Set(configure, "convert"); public ProcessorDescriptor Csv(Elastic.Clients.Elasticsearch.Serverless.Ingest.CsvProcessor csvProcessor) => Set(csvProcessor, "csv"); @@ -723,6 +790,8 @@ private ProcessorDescriptor Set(object variant, string variantName) public ProcessorDescriptor Enrich(Action configure) => Set(configure, "enrich"); public ProcessorDescriptor Fail(Elastic.Clients.Elasticsearch.Serverless.Ingest.FailProcessor failProcessor) => Set(failProcessor, "fail"); public ProcessorDescriptor Fail(Action configure) => Set(configure, "fail"); + public ProcessorDescriptor Fingerprint(Elastic.Clients.Elasticsearch.Serverless.Ingest.FingerprintProcessor fingerprintProcessor) => Set(fingerprintProcessor, "fingerprint"); + public ProcessorDescriptor Fingerprint(Action configure) => Set(configure, "fingerprint"); public ProcessorDescriptor Foreach(Elastic.Clients.Elasticsearch.Serverless.Ingest.ForeachProcessor foreachProcessor) => Set(foreachProcessor, "foreach"); public ProcessorDescriptor Foreach(Action configure) => Set(configure, "foreach"); public ProcessorDescriptor GeoGrid(Elastic.Clients.Elasticsearch.Serverless.Ingest.GeoGridProcessor geoGridProcessor) => Set(geoGridProcessor, "geo_grid"); @@ -745,10 +814,14 @@ private ProcessorDescriptor Set(object variant, string variantName) public ProcessorDescriptor Kv(Action configure) => Set(configure, "kv"); public ProcessorDescriptor Lowercase(Elastic.Clients.Elasticsearch.Serverless.Ingest.LowercaseProcessor lowercaseProcessor) => Set(lowercaseProcessor, "lowercase"); public ProcessorDescriptor Lowercase(Action configure) => Set(configure, "lowercase"); + public ProcessorDescriptor NetworkDirection(Elastic.Clients.Elasticsearch.Serverless.Ingest.NetworkDirectionProcessor networkDirectionProcessor) => Set(networkDirectionProcessor, "network_direction"); + public ProcessorDescriptor NetworkDirection(Action configure) => Set(configure, "network_direction"); public ProcessorDescriptor Pipeline(Elastic.Clients.Elasticsearch.Serverless.Ingest.PipelineProcessor pipelineProcessor) => Set(pipelineProcessor, "pipeline"); public ProcessorDescriptor Pipeline(Action configure) => Set(configure, "pipeline"); public ProcessorDescriptor Redact(Elastic.Clients.Elasticsearch.Serverless.Ingest.RedactProcessor redactProcessor) => Set(redactProcessor, "redact"); public ProcessorDescriptor Redact(Action configure) => Set(configure, "redact"); + public ProcessorDescriptor RegisteredDomain(Elastic.Clients.Elasticsearch.Serverless.Ingest.RegisteredDomainProcessor registeredDomainProcessor) => Set(registeredDomainProcessor, "registered_domain"); + public ProcessorDescriptor RegisteredDomain(Action configure) => Set(configure, "registered_domain"); public ProcessorDescriptor Remove(Elastic.Clients.Elasticsearch.Serverless.Ingest.RemoveProcessor removeProcessor) => Set(removeProcessor, "remove"); public ProcessorDescriptor Remove(Action configure) => Set(configure, "remove"); public ProcessorDescriptor Rename(Elastic.Clients.Elasticsearch.Serverless.Ingest.RenameProcessor renameProcessor) => Set(renameProcessor, "rename"); @@ -765,6 +838,8 @@ private ProcessorDescriptor Set(object variant, string variantName) public ProcessorDescriptor Sort(Action configure) => Set(configure, "sort"); public ProcessorDescriptor Split(Elastic.Clients.Elasticsearch.Serverless.Ingest.SplitProcessor splitProcessor) => Set(splitProcessor, "split"); public ProcessorDescriptor Split(Action configure) => Set(configure, "split"); + public ProcessorDescriptor Terminate(Elastic.Clients.Elasticsearch.Serverless.Ingest.TerminateProcessor terminateProcessor) => Set(terminateProcessor, "terminate"); + public ProcessorDescriptor Terminate(Action configure) => Set(configure, "terminate"); public ProcessorDescriptor Trim(Elastic.Clients.Elasticsearch.Serverless.Ingest.TrimProcessor trimProcessor) => Set(trimProcessor, "trim"); public ProcessorDescriptor Trim(Action configure) => Set(configure, "trim"); public ProcessorDescriptor Uppercase(Elastic.Clients.Elasticsearch.Serverless.Ingest.UppercaseProcessor uppercaseProcessor) => Set(uppercaseProcessor, "uppercase"); diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/PutTemplateResponse.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Ingest/Redact.g.cs similarity index 78% rename from src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/PutTemplateResponse.g.cs rename to src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Ingest/Redact.g.cs index 569d178560f..ab6867a45e6 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/PutTemplateResponse.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Ingest/Redact.g.cs @@ -19,20 +19,21 @@ using Elastic.Clients.Elasticsearch.Serverless.Fluent; using Elastic.Clients.Elasticsearch.Serverless.Serialization; -using Elastic.Transport.Products.Elasticsearch; using System; using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; using System.Text.Json.Serialization; -namespace Elastic.Clients.Elasticsearch.Serverless.IndexManagement; +namespace Elastic.Clients.Elasticsearch.Serverless.Ingest; -public sealed partial class PutTemplateResponse : ElasticsearchResponse +public sealed partial class Redact { /// /// - /// For a successful response, this value is always true. On failure, an exception is returned instead. + /// indicates if document has been redacted /// /// - [JsonInclude, JsonPropertyName("acknowledged")] - public bool Acknowledged { get; init; } + [JsonInclude, JsonPropertyName("_is_redacted")] + public bool IsRedacted { get; init; } } \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Ingest/RedactProcessor.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Ingest/RedactProcessor.g.cs index 34389a4e009..3fd46a7ab96 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Ingest/RedactProcessor.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Ingest/RedactProcessor.g.cs @@ -121,6 +121,14 @@ public sealed partial class RedactProcessor [JsonInclude, JsonPropertyName("tag")] public string? Tag { get; set; } + /// + /// + /// If true then ingest metadata _ingest._redact._is_redacted is set to true if the document has been redacted + /// + /// + [JsonInclude, JsonPropertyName("trace_redact")] + public bool? TraceRedact { get; set; } + public static implicit operator Elastic.Clients.Elasticsearch.Serverless.Ingest.Processor(RedactProcessor redactProcessor) => Elastic.Clients.Elasticsearch.Serverless.Ingest.Processor.Redact(redactProcessor); } @@ -147,6 +155,7 @@ public RedactProcessorDescriptor() : base() private bool? SkipIfUnlicensedValue { get; set; } private string? SuffixValue { get; set; } private string? TagValue { get; set; } + private bool? TraceRedactValue { get; set; } /// /// @@ -329,6 +338,17 @@ public RedactProcessorDescriptor Tag(string? tag) return Self; } + /// + /// + /// If true then ingest metadata _ingest._redact._is_redacted is set to true if the document has been redacted + /// + /// + public RedactProcessorDescriptor TraceRedact(bool? traceRedact = true) + { + TraceRedactValue = traceRedact; + return Self; + } + protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) { writer.WriteStartObject(); @@ -421,6 +441,12 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o writer.WriteStringValue(TagValue); } + if (TraceRedactValue.HasValue) + { + writer.WritePropertyName("trace_redact"); + writer.WriteBooleanValue(TraceRedactValue.Value); + } + writer.WriteEndObject(); } } @@ -448,6 +474,7 @@ public RedactProcessorDescriptor() : base() private bool? SkipIfUnlicensedValue { get; set; } private string? SuffixValue { get; set; } private string? TagValue { get; set; } + private bool? TraceRedactValue { get; set; } /// /// @@ -630,6 +657,17 @@ public RedactProcessorDescriptor Tag(string? tag) return Self; } + /// + /// + /// If true then ingest metadata _ingest._redact._is_redacted is set to true if the document has been redacted + /// + /// + public RedactProcessorDescriptor TraceRedact(bool? traceRedact = true) + { + TraceRedactValue = traceRedact; + return Self; + } + protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) { writer.WriteStartObject(); @@ -722,6 +760,12 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o writer.WriteStringValue(TagValue); } + if (TraceRedactValue.HasValue) + { + writer.WritePropertyName("trace_redact"); + writer.WriteBooleanValue(TraceRedactValue.Value); + } + writer.WriteEndObject(); } } \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Ingest/RegisteredDomainProcessor.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Ingest/RegisteredDomainProcessor.g.cs new file mode 100644 index 00000000000..5edced6ebd3 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Ingest/RegisteredDomainProcessor.g.cs @@ -0,0 +1,629 @@ +// 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 Elastic.Clients.Elasticsearch.Serverless.Fluent; +using Elastic.Clients.Elasticsearch.Serverless.Serialization; +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +namespace Elastic.Clients.Elasticsearch.Serverless.Ingest; + +public sealed partial class RegisteredDomainProcessor +{ + /// + /// + /// Description of the processor. + /// Useful for describing the purpose of the processor or its configuration. + /// + /// + [JsonInclude, JsonPropertyName("description")] + public string? Description { get; set; } + + /// + /// + /// Field containing the source FQDN. + /// + /// + [JsonInclude, JsonPropertyName("field")] + public Elastic.Clients.Elasticsearch.Serverless.Field Field { get; set; } + + /// + /// + /// Conditionally execute the processor. + /// + /// + [JsonInclude, JsonPropertyName("if")] + public string? If { get; set; } + + /// + /// + /// Ignore failures for the processor. + /// + /// + [JsonInclude, JsonPropertyName("ignore_failure")] + public bool? IgnoreFailure { get; set; } + + /// + /// + /// If true and any required fields are missing, the processor quietly exits + /// without modifying the document. + /// + /// + [JsonInclude, JsonPropertyName("ignore_missing")] + public bool? IgnoreMissing { get; set; } + + /// + /// + /// Handle failures for the processor. + /// + /// + [JsonInclude, JsonPropertyName("on_failure")] + public ICollection? OnFailure { get; set; } + + /// + /// + /// Identifier for the processor. + /// Useful for debugging and metrics. + /// + /// + [JsonInclude, JsonPropertyName("tag")] + public string? Tag { get; set; } + + /// + /// + /// Object field containing extracted domain components. If an empty string, + /// the processor adds components to the document’s root. + /// + /// + [JsonInclude, JsonPropertyName("target_field")] + public Elastic.Clients.Elasticsearch.Serverless.Field? TargetField { get; set; } + + public static implicit operator Elastic.Clients.Elasticsearch.Serverless.Ingest.Processor(RegisteredDomainProcessor registeredDomainProcessor) => Elastic.Clients.Elasticsearch.Serverless.Ingest.Processor.RegisteredDomain(registeredDomainProcessor); +} + +public sealed partial class RegisteredDomainProcessorDescriptor : SerializableDescriptor> +{ + internal RegisteredDomainProcessorDescriptor(Action> configure) => configure.Invoke(this); + + public RegisteredDomainProcessorDescriptor() : base() + { + } + + private string? DescriptionValue { get; set; } + private Elastic.Clients.Elasticsearch.Serverless.Field FieldValue { get; set; } + private string? IfValue { get; set; } + private bool? IgnoreFailureValue { get; set; } + private bool? IgnoreMissingValue { get; set; } + private ICollection? OnFailureValue { get; set; } + private Elastic.Clients.Elasticsearch.Serverless.Ingest.ProcessorDescriptor OnFailureDescriptor { get; set; } + private Action> OnFailureDescriptorAction { get; set; } + private Action>[] OnFailureDescriptorActions { get; set; } + private string? TagValue { get; set; } + private Elastic.Clients.Elasticsearch.Serverless.Field? TargetFieldValue { get; set; } + + /// + /// + /// Description of the processor. + /// Useful for describing the purpose of the processor or its configuration. + /// + /// + public RegisteredDomainProcessorDescriptor Description(string? description) + { + DescriptionValue = description; + return Self; + } + + /// + /// + /// Field containing the source FQDN. + /// + /// + public RegisteredDomainProcessorDescriptor Field(Elastic.Clients.Elasticsearch.Serverless.Field field) + { + FieldValue = field; + return Self; + } + + /// + /// + /// Field containing the source FQDN. + /// + /// + public RegisteredDomainProcessorDescriptor Field(Expression> field) + { + FieldValue = field; + return Self; + } + + /// + /// + /// Field containing the source FQDN. + /// + /// + public RegisteredDomainProcessorDescriptor Field(Expression> field) + { + FieldValue = field; + return Self; + } + + /// + /// + /// Conditionally execute the processor. + /// + /// + public RegisteredDomainProcessorDescriptor If(string? value) + { + IfValue = value; + return Self; + } + + /// + /// + /// Ignore failures for the processor. + /// + /// + public RegisteredDomainProcessorDescriptor IgnoreFailure(bool? ignoreFailure = true) + { + IgnoreFailureValue = ignoreFailure; + return Self; + } + + /// + /// + /// If true and any required fields are missing, the processor quietly exits + /// without modifying the document. + /// + /// + public RegisteredDomainProcessorDescriptor IgnoreMissing(bool? ignoreMissing = true) + { + IgnoreMissingValue = ignoreMissing; + return Self; + } + + /// + /// + /// Handle failures for the processor. + /// + /// + public RegisteredDomainProcessorDescriptor OnFailure(ICollection? onFailure) + { + OnFailureDescriptor = null; + OnFailureDescriptorAction = null; + OnFailureDescriptorActions = null; + OnFailureValue = onFailure; + return Self; + } + + public RegisteredDomainProcessorDescriptor OnFailure(Elastic.Clients.Elasticsearch.Serverless.Ingest.ProcessorDescriptor descriptor) + { + OnFailureValue = null; + OnFailureDescriptorAction = null; + OnFailureDescriptorActions = null; + OnFailureDescriptor = descriptor; + return Self; + } + + public RegisteredDomainProcessorDescriptor OnFailure(Action> configure) + { + OnFailureValue = null; + OnFailureDescriptor = null; + OnFailureDescriptorActions = null; + OnFailureDescriptorAction = configure; + return Self; + } + + public RegisteredDomainProcessorDescriptor OnFailure(params Action>[] configure) + { + OnFailureValue = null; + OnFailureDescriptor = null; + OnFailureDescriptorAction = null; + OnFailureDescriptorActions = configure; + return Self; + } + + /// + /// + /// Identifier for the processor. + /// Useful for debugging and metrics. + /// + /// + public RegisteredDomainProcessorDescriptor Tag(string? tag) + { + TagValue = tag; + return Self; + } + + /// + /// + /// Object field containing extracted domain components. If an empty string, + /// the processor adds components to the document’s root. + /// + /// + public RegisteredDomainProcessorDescriptor TargetField(Elastic.Clients.Elasticsearch.Serverless.Field? targetField) + { + TargetFieldValue = targetField; + return Self; + } + + /// + /// + /// Object field containing extracted domain components. If an empty string, + /// the processor adds components to the document’s root. + /// + /// + public RegisteredDomainProcessorDescriptor TargetField(Expression> targetField) + { + TargetFieldValue = targetField; + return Self; + } + + /// + /// + /// Object field containing extracted domain components. If an empty string, + /// the processor adds components to the document’s root. + /// + /// + public RegisteredDomainProcessorDescriptor TargetField(Expression> targetField) + { + TargetFieldValue = targetField; + return Self; + } + + protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) + { + writer.WriteStartObject(); + if (!string.IsNullOrEmpty(DescriptionValue)) + { + writer.WritePropertyName("description"); + writer.WriteStringValue(DescriptionValue); + } + + writer.WritePropertyName("field"); + JsonSerializer.Serialize(writer, FieldValue, options); + if (!string.IsNullOrEmpty(IfValue)) + { + writer.WritePropertyName("if"); + writer.WriteStringValue(IfValue); + } + + if (IgnoreFailureValue.HasValue) + { + writer.WritePropertyName("ignore_failure"); + writer.WriteBooleanValue(IgnoreFailureValue.Value); + } + + if (IgnoreMissingValue.HasValue) + { + writer.WritePropertyName("ignore_missing"); + writer.WriteBooleanValue(IgnoreMissingValue.Value); + } + + if (OnFailureDescriptor is not null) + { + writer.WritePropertyName("on_failure"); + writer.WriteStartArray(); + JsonSerializer.Serialize(writer, OnFailureDescriptor, options); + writer.WriteEndArray(); + } + else if (OnFailureDescriptorAction is not null) + { + writer.WritePropertyName("on_failure"); + writer.WriteStartArray(); + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.Serverless.Ingest.ProcessorDescriptor(OnFailureDescriptorAction), options); + writer.WriteEndArray(); + } + else if (OnFailureDescriptorActions is not null) + { + writer.WritePropertyName("on_failure"); + writer.WriteStartArray(); + foreach (var action in OnFailureDescriptorActions) + { + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.Serverless.Ingest.ProcessorDescriptor(action), options); + } + + writer.WriteEndArray(); + } + else if (OnFailureValue is not null) + { + writer.WritePropertyName("on_failure"); + JsonSerializer.Serialize(writer, OnFailureValue, options); + } + + if (!string.IsNullOrEmpty(TagValue)) + { + writer.WritePropertyName("tag"); + writer.WriteStringValue(TagValue); + } + + if (TargetFieldValue is not null) + { + writer.WritePropertyName("target_field"); + JsonSerializer.Serialize(writer, TargetFieldValue, options); + } + + writer.WriteEndObject(); + } +} + +public sealed partial class RegisteredDomainProcessorDescriptor : SerializableDescriptor +{ + internal RegisteredDomainProcessorDescriptor(Action configure) => configure.Invoke(this); + + public RegisteredDomainProcessorDescriptor() : base() + { + } + + private string? DescriptionValue { get; set; } + private Elastic.Clients.Elasticsearch.Serverless.Field FieldValue { get; set; } + private string? IfValue { get; set; } + private bool? IgnoreFailureValue { get; set; } + private bool? IgnoreMissingValue { get; set; } + private ICollection? OnFailureValue { get; set; } + private Elastic.Clients.Elasticsearch.Serverless.Ingest.ProcessorDescriptor OnFailureDescriptor { get; set; } + private Action OnFailureDescriptorAction { get; set; } + private Action[] OnFailureDescriptorActions { get; set; } + private string? TagValue { get; set; } + private Elastic.Clients.Elasticsearch.Serverless.Field? TargetFieldValue { get; set; } + + /// + /// + /// Description of the processor. + /// Useful for describing the purpose of the processor or its configuration. + /// + /// + public RegisteredDomainProcessorDescriptor Description(string? description) + { + DescriptionValue = description; + return Self; + } + + /// + /// + /// Field containing the source FQDN. + /// + /// + public RegisteredDomainProcessorDescriptor Field(Elastic.Clients.Elasticsearch.Serverless.Field field) + { + FieldValue = field; + return Self; + } + + /// + /// + /// Field containing the source FQDN. + /// + /// + public RegisteredDomainProcessorDescriptor Field(Expression> field) + { + FieldValue = field; + return Self; + } + + /// + /// + /// Field containing the source FQDN. + /// + /// + public RegisteredDomainProcessorDescriptor Field(Expression> field) + { + FieldValue = field; + return Self; + } + + /// + /// + /// Conditionally execute the processor. + /// + /// + public RegisteredDomainProcessorDescriptor If(string? value) + { + IfValue = value; + return Self; + } + + /// + /// + /// Ignore failures for the processor. + /// + /// + public RegisteredDomainProcessorDescriptor IgnoreFailure(bool? ignoreFailure = true) + { + IgnoreFailureValue = ignoreFailure; + return Self; + } + + /// + /// + /// If true and any required fields are missing, the processor quietly exits + /// without modifying the document. + /// + /// + public RegisteredDomainProcessorDescriptor IgnoreMissing(bool? ignoreMissing = true) + { + IgnoreMissingValue = ignoreMissing; + return Self; + } + + /// + /// + /// Handle failures for the processor. + /// + /// + public RegisteredDomainProcessorDescriptor OnFailure(ICollection? onFailure) + { + OnFailureDescriptor = null; + OnFailureDescriptorAction = null; + OnFailureDescriptorActions = null; + OnFailureValue = onFailure; + return Self; + } + + public RegisteredDomainProcessorDescriptor OnFailure(Elastic.Clients.Elasticsearch.Serverless.Ingest.ProcessorDescriptor descriptor) + { + OnFailureValue = null; + OnFailureDescriptorAction = null; + OnFailureDescriptorActions = null; + OnFailureDescriptor = descriptor; + return Self; + } + + public RegisteredDomainProcessorDescriptor OnFailure(Action configure) + { + OnFailureValue = null; + OnFailureDescriptor = null; + OnFailureDescriptorActions = null; + OnFailureDescriptorAction = configure; + return Self; + } + + public RegisteredDomainProcessorDescriptor OnFailure(params Action[] configure) + { + OnFailureValue = null; + OnFailureDescriptor = null; + OnFailureDescriptorAction = null; + OnFailureDescriptorActions = configure; + return Self; + } + + /// + /// + /// Identifier for the processor. + /// Useful for debugging and metrics. + /// + /// + public RegisteredDomainProcessorDescriptor Tag(string? tag) + { + TagValue = tag; + return Self; + } + + /// + /// + /// Object field containing extracted domain components. If an empty string, + /// the processor adds components to the document’s root. + /// + /// + public RegisteredDomainProcessorDescriptor TargetField(Elastic.Clients.Elasticsearch.Serverless.Field? targetField) + { + TargetFieldValue = targetField; + return Self; + } + + /// + /// + /// Object field containing extracted domain components. If an empty string, + /// the processor adds components to the document’s root. + /// + /// + public RegisteredDomainProcessorDescriptor TargetField(Expression> targetField) + { + TargetFieldValue = targetField; + return Self; + } + + /// + /// + /// Object field containing extracted domain components. If an empty string, + /// the processor adds components to the document’s root. + /// + /// + public RegisteredDomainProcessorDescriptor TargetField(Expression> targetField) + { + TargetFieldValue = targetField; + return Self; + } + + protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) + { + writer.WriteStartObject(); + if (!string.IsNullOrEmpty(DescriptionValue)) + { + writer.WritePropertyName("description"); + writer.WriteStringValue(DescriptionValue); + } + + writer.WritePropertyName("field"); + JsonSerializer.Serialize(writer, FieldValue, options); + if (!string.IsNullOrEmpty(IfValue)) + { + writer.WritePropertyName("if"); + writer.WriteStringValue(IfValue); + } + + if (IgnoreFailureValue.HasValue) + { + writer.WritePropertyName("ignore_failure"); + writer.WriteBooleanValue(IgnoreFailureValue.Value); + } + + if (IgnoreMissingValue.HasValue) + { + writer.WritePropertyName("ignore_missing"); + writer.WriteBooleanValue(IgnoreMissingValue.Value); + } + + if (OnFailureDescriptor is not null) + { + writer.WritePropertyName("on_failure"); + writer.WriteStartArray(); + JsonSerializer.Serialize(writer, OnFailureDescriptor, options); + writer.WriteEndArray(); + } + else if (OnFailureDescriptorAction is not null) + { + writer.WritePropertyName("on_failure"); + writer.WriteStartArray(); + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.Serverless.Ingest.ProcessorDescriptor(OnFailureDescriptorAction), options); + writer.WriteEndArray(); + } + else if (OnFailureDescriptorActions is not null) + { + writer.WritePropertyName("on_failure"); + writer.WriteStartArray(); + foreach (var action in OnFailureDescriptorActions) + { + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.Serverless.Ingest.ProcessorDescriptor(action), options); + } + + writer.WriteEndArray(); + } + else if (OnFailureValue is not null) + { + writer.WritePropertyName("on_failure"); + JsonSerializer.Serialize(writer, OnFailureValue, options); + } + + if (!string.IsNullOrEmpty(TagValue)) + { + writer.WritePropertyName("tag"); + writer.WriteStringValue(TagValue); + } + + if (TargetFieldValue is not null) + { + writer.WritePropertyName("target_field"); + JsonSerializer.Serialize(writer, TargetFieldValue, options); + } + + writer.WriteEndObject(); + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Ingest/TerminateProcessor.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Ingest/TerminateProcessor.g.cs new file mode 100644 index 00000000000..70b2df4e941 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Ingest/TerminateProcessor.g.cs @@ -0,0 +1,407 @@ +// 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 Elastic.Clients.Elasticsearch.Serverless.Fluent; +using Elastic.Clients.Elasticsearch.Serverless.Serialization; +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +namespace Elastic.Clients.Elasticsearch.Serverless.Ingest; + +public sealed partial class TerminateProcessor +{ + /// + /// + /// Description of the processor. + /// Useful for describing the purpose of the processor or its configuration. + /// + /// + [JsonInclude, JsonPropertyName("description")] + public string? Description { get; set; } + + /// + /// + /// Conditionally execute the processor. + /// + /// + [JsonInclude, JsonPropertyName("if")] + public string? If { get; set; } + + /// + /// + /// Ignore failures for the processor. + /// + /// + [JsonInclude, JsonPropertyName("ignore_failure")] + public bool? IgnoreFailure { get; set; } + + /// + /// + /// Handle failures for the processor. + /// + /// + [JsonInclude, JsonPropertyName("on_failure")] + public ICollection? OnFailure { get; set; } + + /// + /// + /// Identifier for the processor. + /// Useful for debugging and metrics. + /// + /// + [JsonInclude, JsonPropertyName("tag")] + public string? Tag { get; set; } + + public static implicit operator Elastic.Clients.Elasticsearch.Serverless.Ingest.Processor(TerminateProcessor terminateProcessor) => Elastic.Clients.Elasticsearch.Serverless.Ingest.Processor.Terminate(terminateProcessor); +} + +public sealed partial class TerminateProcessorDescriptor : SerializableDescriptor> +{ + internal TerminateProcessorDescriptor(Action> configure) => configure.Invoke(this); + + public TerminateProcessorDescriptor() : base() + { + } + + private string? DescriptionValue { get; set; } + private string? IfValue { get; set; } + private bool? IgnoreFailureValue { get; set; } + private ICollection? OnFailureValue { get; set; } + private Elastic.Clients.Elasticsearch.Serverless.Ingest.ProcessorDescriptor OnFailureDescriptor { get; set; } + private Action> OnFailureDescriptorAction { get; set; } + private Action>[] OnFailureDescriptorActions { get; set; } + private string? TagValue { get; set; } + + /// + /// + /// Description of the processor. + /// Useful for describing the purpose of the processor or its configuration. + /// + /// + public TerminateProcessorDescriptor Description(string? description) + { + DescriptionValue = description; + return Self; + } + + /// + /// + /// Conditionally execute the processor. + /// + /// + public TerminateProcessorDescriptor If(string? value) + { + IfValue = value; + return Self; + } + + /// + /// + /// Ignore failures for the processor. + /// + /// + public TerminateProcessorDescriptor IgnoreFailure(bool? ignoreFailure = true) + { + IgnoreFailureValue = ignoreFailure; + return Self; + } + + /// + /// + /// Handle failures for the processor. + /// + /// + public TerminateProcessorDescriptor OnFailure(ICollection? onFailure) + { + OnFailureDescriptor = null; + OnFailureDescriptorAction = null; + OnFailureDescriptorActions = null; + OnFailureValue = onFailure; + return Self; + } + + public TerminateProcessorDescriptor OnFailure(Elastic.Clients.Elasticsearch.Serverless.Ingest.ProcessorDescriptor descriptor) + { + OnFailureValue = null; + OnFailureDescriptorAction = null; + OnFailureDescriptorActions = null; + OnFailureDescriptor = descriptor; + return Self; + } + + public TerminateProcessorDescriptor OnFailure(Action> configure) + { + OnFailureValue = null; + OnFailureDescriptor = null; + OnFailureDescriptorActions = null; + OnFailureDescriptorAction = configure; + return Self; + } + + public TerminateProcessorDescriptor OnFailure(params Action>[] configure) + { + OnFailureValue = null; + OnFailureDescriptor = null; + OnFailureDescriptorAction = null; + OnFailureDescriptorActions = configure; + return Self; + } + + /// + /// + /// Identifier for the processor. + /// Useful for debugging and metrics. + /// + /// + public TerminateProcessorDescriptor Tag(string? tag) + { + TagValue = tag; + return Self; + } + + protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) + { + writer.WriteStartObject(); + if (!string.IsNullOrEmpty(DescriptionValue)) + { + writer.WritePropertyName("description"); + writer.WriteStringValue(DescriptionValue); + } + + if (!string.IsNullOrEmpty(IfValue)) + { + writer.WritePropertyName("if"); + writer.WriteStringValue(IfValue); + } + + if (IgnoreFailureValue.HasValue) + { + writer.WritePropertyName("ignore_failure"); + writer.WriteBooleanValue(IgnoreFailureValue.Value); + } + + if (OnFailureDescriptor is not null) + { + writer.WritePropertyName("on_failure"); + writer.WriteStartArray(); + JsonSerializer.Serialize(writer, OnFailureDescriptor, options); + writer.WriteEndArray(); + } + else if (OnFailureDescriptorAction is not null) + { + writer.WritePropertyName("on_failure"); + writer.WriteStartArray(); + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.Serverless.Ingest.ProcessorDescriptor(OnFailureDescriptorAction), options); + writer.WriteEndArray(); + } + else if (OnFailureDescriptorActions is not null) + { + writer.WritePropertyName("on_failure"); + writer.WriteStartArray(); + foreach (var action in OnFailureDescriptorActions) + { + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.Serverless.Ingest.ProcessorDescriptor(action), options); + } + + writer.WriteEndArray(); + } + else if (OnFailureValue is not null) + { + writer.WritePropertyName("on_failure"); + JsonSerializer.Serialize(writer, OnFailureValue, options); + } + + if (!string.IsNullOrEmpty(TagValue)) + { + writer.WritePropertyName("tag"); + writer.WriteStringValue(TagValue); + } + + writer.WriteEndObject(); + } +} + +public sealed partial class TerminateProcessorDescriptor : SerializableDescriptor +{ + internal TerminateProcessorDescriptor(Action configure) => configure.Invoke(this); + + public TerminateProcessorDescriptor() : base() + { + } + + private string? DescriptionValue { get; set; } + private string? IfValue { get; set; } + private bool? IgnoreFailureValue { get; set; } + private ICollection? OnFailureValue { get; set; } + private Elastic.Clients.Elasticsearch.Serverless.Ingest.ProcessorDescriptor OnFailureDescriptor { get; set; } + private Action OnFailureDescriptorAction { get; set; } + private Action[] OnFailureDescriptorActions { get; set; } + private string? TagValue { get; set; } + + /// + /// + /// Description of the processor. + /// Useful for describing the purpose of the processor or its configuration. + /// + /// + public TerminateProcessorDescriptor Description(string? description) + { + DescriptionValue = description; + return Self; + } + + /// + /// + /// Conditionally execute the processor. + /// + /// + public TerminateProcessorDescriptor If(string? value) + { + IfValue = value; + return Self; + } + + /// + /// + /// Ignore failures for the processor. + /// + /// + public TerminateProcessorDescriptor IgnoreFailure(bool? ignoreFailure = true) + { + IgnoreFailureValue = ignoreFailure; + return Self; + } + + /// + /// + /// Handle failures for the processor. + /// + /// + public TerminateProcessorDescriptor OnFailure(ICollection? onFailure) + { + OnFailureDescriptor = null; + OnFailureDescriptorAction = null; + OnFailureDescriptorActions = null; + OnFailureValue = onFailure; + return Self; + } + + public TerminateProcessorDescriptor OnFailure(Elastic.Clients.Elasticsearch.Serverless.Ingest.ProcessorDescriptor descriptor) + { + OnFailureValue = null; + OnFailureDescriptorAction = null; + OnFailureDescriptorActions = null; + OnFailureDescriptor = descriptor; + return Self; + } + + public TerminateProcessorDescriptor OnFailure(Action configure) + { + OnFailureValue = null; + OnFailureDescriptor = null; + OnFailureDescriptorActions = null; + OnFailureDescriptorAction = configure; + return Self; + } + + public TerminateProcessorDescriptor OnFailure(params Action[] configure) + { + OnFailureValue = null; + OnFailureDescriptor = null; + OnFailureDescriptorAction = null; + OnFailureDescriptorActions = configure; + return Self; + } + + /// + /// + /// Identifier for the processor. + /// Useful for debugging and metrics. + /// + /// + public TerminateProcessorDescriptor Tag(string? tag) + { + TagValue = tag; + return Self; + } + + protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) + { + writer.WriteStartObject(); + if (!string.IsNullOrEmpty(DescriptionValue)) + { + writer.WritePropertyName("description"); + writer.WriteStringValue(DescriptionValue); + } + + if (!string.IsNullOrEmpty(IfValue)) + { + writer.WritePropertyName("if"); + writer.WriteStringValue(IfValue); + } + + if (IgnoreFailureValue.HasValue) + { + writer.WritePropertyName("ignore_failure"); + writer.WriteBooleanValue(IgnoreFailureValue.Value); + } + + if (OnFailureDescriptor is not null) + { + writer.WritePropertyName("on_failure"); + writer.WriteStartArray(); + JsonSerializer.Serialize(writer, OnFailureDescriptor, options); + writer.WriteEndArray(); + } + else if (OnFailureDescriptorAction is not null) + { + writer.WritePropertyName("on_failure"); + writer.WriteStartArray(); + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.Serverless.Ingest.ProcessorDescriptor(OnFailureDescriptorAction), options); + writer.WriteEndArray(); + } + else if (OnFailureDescriptorActions is not null) + { + writer.WritePropertyName("on_failure"); + writer.WriteStartArray(); + foreach (var action in OnFailureDescriptorActions) + { + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.Serverless.Ingest.ProcessorDescriptor(action), options); + } + + writer.WriteEndArray(); + } + else if (OnFailureValue is not null) + { + writer.WritePropertyName("on_failure"); + JsonSerializer.Serialize(writer, OnFailureValue, options); + } + + if (!string.IsNullOrEmpty(TagValue)) + { + writer.WritePropertyName("tag"); + writer.WriteStringValue(TagValue); + } + + writer.WriteEndObject(); + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Mapping/DenseVectorIndexOptions.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Mapping/DenseVectorIndexOptions.g.cs index 4e08844157d..46d3cd22aa6 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Mapping/DenseVectorIndexOptions.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Mapping/DenseVectorIndexOptions.g.cs @@ -29,14 +29,56 @@ namespace Elastic.Clients.Elasticsearch.Serverless.Mapping; public sealed partial class DenseVectorIndexOptions { + /// + /// + /// The confidence interval to use when quantizing the vectors. Can be any value between and including 0.90 and + /// 1.0 or exactly 0. When the value is 0, this indicates that dynamic quantiles should be calculated for + /// optimized quantization. When between 0.90 and 1.0, this value restricts the values used when calculating + /// the quantization thresholds. + /// + /// + /// For example, a value of 0.95 will only use the middle 95% of the values when calculating the quantization + /// thresholds (e.g. the highest and lowest 2.5% of values will be ignored). + /// + /// + /// Defaults to 1/(dims + 1) for int8 quantized vectors and 0 for int4 for dynamic quantile calculation. + /// + /// + /// Only applicable to int8_hnsw, int4_hnsw, int8_flat, and int4_flat index types. + /// + /// [JsonInclude, JsonPropertyName("confidence_interval")] public float? ConfidenceInterval { get; set; } + + /// + /// + /// The number of candidates to track while assembling the list of nearest neighbors for each new node. + /// + /// + /// Only applicable to hnsw, int8_hnsw, and int4_hnsw index types. + /// + /// [JsonInclude, JsonPropertyName("ef_construction")] public int? EfConstruction { get; set; } + + /// + /// + /// The number of neighbors each node will be connected to in the HNSW graph. + /// + /// + /// Only applicable to hnsw, int8_hnsw, and int4_hnsw index types. + /// + /// [JsonInclude, JsonPropertyName("m")] public int? m { get; set; } + + /// + /// + /// The type of kNN algorithm to use. + /// + /// [JsonInclude, JsonPropertyName("type")] - public string Type { get; set; } + public Elastic.Clients.Elasticsearch.Serverless.Mapping.DenseVectorIndexOptionsType Type { get; set; } } public sealed partial class DenseVectorIndexOptionsDescriptor : SerializableDescriptor @@ -50,27 +92,66 @@ public DenseVectorIndexOptionsDescriptor() : base() private float? ConfidenceIntervalValue { get; set; } private int? EfConstructionValue { get; set; } private int? mValue { get; set; } - private string TypeValue { get; set; } + private Elastic.Clients.Elasticsearch.Serverless.Mapping.DenseVectorIndexOptionsType TypeValue { get; set; } + /// + /// + /// The confidence interval to use when quantizing the vectors. Can be any value between and including 0.90 and + /// 1.0 or exactly 0. When the value is 0, this indicates that dynamic quantiles should be calculated for + /// optimized quantization. When between 0.90 and 1.0, this value restricts the values used when calculating + /// the quantization thresholds. + /// + /// + /// For example, a value of 0.95 will only use the middle 95% of the values when calculating the quantization + /// thresholds (e.g. the highest and lowest 2.5% of values will be ignored). + /// + /// + /// Defaults to 1/(dims + 1) for int8 quantized vectors and 0 for int4 for dynamic quantile calculation. + /// + /// + /// Only applicable to int8_hnsw, int4_hnsw, int8_flat, and int4_flat index types. + /// + /// public DenseVectorIndexOptionsDescriptor ConfidenceInterval(float? confidenceInterval) { ConfidenceIntervalValue = confidenceInterval; return Self; } + /// + /// + /// The number of candidates to track while assembling the list of nearest neighbors for each new node. + /// + /// + /// Only applicable to hnsw, int8_hnsw, and int4_hnsw index types. + /// + /// public DenseVectorIndexOptionsDescriptor EfConstruction(int? efConstruction) { EfConstructionValue = efConstruction; return Self; } + /// + /// + /// The number of neighbors each node will be connected to in the HNSW graph. + /// + /// + /// Only applicable to hnsw, int8_hnsw, and int4_hnsw index types. + /// + /// public DenseVectorIndexOptionsDescriptor m(int? m) { mValue = m; return Self; } - public DenseVectorIndexOptionsDescriptor Type(string type) + /// + /// + /// The type of kNN algorithm to use. + /// + /// + public DenseVectorIndexOptionsDescriptor Type(Elastic.Clients.Elasticsearch.Serverless.Mapping.DenseVectorIndexOptionsType type) { TypeValue = type; return Self; @@ -98,7 +179,7 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o } writer.WritePropertyName("type"); - writer.WriteStringValue(TypeValue); + JsonSerializer.Serialize(writer, TypeValue, options); writer.WriteEndObject(); } } \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Mapping/DenseVectorProperty.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Mapping/DenseVectorProperty.g.cs index 489ed9e9c6e..dbf11217d64 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Mapping/DenseVectorProperty.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Mapping/DenseVectorProperty.g.cs @@ -29,18 +29,47 @@ namespace Elastic.Clients.Elasticsearch.Serverless.Mapping; public sealed partial class DenseVectorProperty : IProperty { + /// + /// + /// Number of vector dimensions. Can't exceed 4096. If dims is not specified, it will be set to the length of + /// the first vector added to the field. + /// + /// [JsonInclude, JsonPropertyName("dims")] public int? Dims { get; set; } [JsonInclude, JsonPropertyName("dynamic")] public Elastic.Clients.Elasticsearch.Serverless.Mapping.DynamicMapping? Dynamic { get; set; } + + /// + /// + /// The data type used to encode vectors. The supported data types are float (default), byte, and bit. + /// + /// [JsonInclude, JsonPropertyName("element_type")] - public string? ElementType { get; set; } + public Elastic.Clients.Elasticsearch.Serverless.Mapping.DenseVectorElementType? ElementType { get; set; } [JsonInclude, JsonPropertyName("fields")] public Elastic.Clients.Elasticsearch.Serverless.Mapping.Properties? Fields { get; set; } [JsonInclude, JsonPropertyName("ignore_above")] public int? IgnoreAbove { get; set; } + + /// + /// + /// If true, you can search this field using the kNN search API. + /// + /// [JsonInclude, JsonPropertyName("index")] public bool? Index { get; set; } + + /// + /// + /// An optional section that configures the kNN indexing algorithm. The HNSW algorithm has two internal parameters + /// that influence how the data structure is built. These can be adjusted to improve the accuracy of results, at the + /// expense of slower indexing speed. + /// + /// + /// This parameter can only be specified when index is true. + /// + /// [JsonInclude, JsonPropertyName("index_options")] public Elastic.Clients.Elasticsearch.Serverless.Mapping.DenseVectorIndexOptions? IndexOptions { get; set; } @@ -53,8 +82,28 @@ public sealed partial class DenseVectorProperty : IProperty public IDictionary? Meta { get; set; } [JsonInclude, JsonPropertyName("properties")] public Elastic.Clients.Elasticsearch.Serverless.Mapping.Properties? Properties { get; set; } + + /// + /// + /// The vector similarity metric to use in kNN search. + /// + /// + /// Documents are ranked by their vector field's similarity to the query vector. The _score of each document will + /// be derived from the similarity, in a way that ensures scores are positive and that a larger score corresponds + /// to a higher ranking. + /// + /// + /// Defaults to l2_norm when element_type is bit otherwise defaults to cosine. + /// + /// + /// bit vectors only support l2_norm as their similarity metric. + /// + /// + /// This parameter can only be specified when index is true. + /// + /// [JsonInclude, JsonPropertyName("similarity")] - public string? Similarity { get; set; } + public Elastic.Clients.Elasticsearch.Serverless.Mapping.DenseVectorSimilarity? Similarity { get; set; } [JsonInclude, JsonPropertyName("type")] public string Type => "dense_vector"; @@ -70,7 +119,7 @@ public DenseVectorPropertyDescriptor() : base() private int? DimsValue { get; set; } private Elastic.Clients.Elasticsearch.Serverless.Mapping.DynamicMapping? DynamicValue { get; set; } - private string? ElementTypeValue { get; set; } + private Elastic.Clients.Elasticsearch.Serverless.Mapping.DenseVectorElementType? ElementTypeValue { get; set; } private Elastic.Clients.Elasticsearch.Serverless.Mapping.Properties? FieldsValue { get; set; } private int? IgnoreAboveValue { get; set; } private bool? IndexValue { get; set; } @@ -79,8 +128,14 @@ public DenseVectorPropertyDescriptor() : base() private Action IndexOptionsDescriptorAction { get; set; } private IDictionary? MetaValue { get; set; } private Elastic.Clients.Elasticsearch.Serverless.Mapping.Properties? PropertiesValue { get; set; } - private string? SimilarityValue { get; set; } + private Elastic.Clients.Elasticsearch.Serverless.Mapping.DenseVectorSimilarity? SimilarityValue { get; set; } + /// + /// + /// Number of vector dimensions. Can't exceed 4096. If dims is not specified, it will be set to the length of + /// the first vector added to the field. + /// + /// public DenseVectorPropertyDescriptor Dims(int? dims) { DimsValue = dims; @@ -93,7 +148,12 @@ public DenseVectorPropertyDescriptor Dynamic(Elastic.Clients.Elastics return Self; } - public DenseVectorPropertyDescriptor ElementType(string? elementType) + /// + /// + /// The data type used to encode vectors. The supported data types are float (default), byte, and bit. + /// + /// + public DenseVectorPropertyDescriptor ElementType(Elastic.Clients.Elasticsearch.Serverless.Mapping.DenseVectorElementType? elementType) { ElementTypeValue = elementType; return Self; @@ -125,12 +185,27 @@ public DenseVectorPropertyDescriptor IgnoreAbove(int? ignoreAbove) return Self; } + /// + /// + /// If true, you can search this field using the kNN search API. + /// + /// public DenseVectorPropertyDescriptor Index(bool? index = true) { IndexValue = index; return Self; } + /// + /// + /// An optional section that configures the kNN indexing algorithm. The HNSW algorithm has two internal parameters + /// that influence how the data structure is built. These can be adjusted to improve the accuracy of results, at the + /// expense of slower indexing speed. + /// + /// + /// This parameter can only be specified when index is true. + /// + /// public DenseVectorPropertyDescriptor IndexOptions(Elastic.Clients.Elasticsearch.Serverless.Mapping.DenseVectorIndexOptions? indexOptions) { IndexOptionsDescriptor = null; @@ -186,7 +261,26 @@ public DenseVectorPropertyDescriptor Properties(Action Similarity(string? similarity) + /// + /// + /// The vector similarity metric to use in kNN search. + /// + /// + /// Documents are ranked by their vector field's similarity to the query vector. The _score of each document will + /// be derived from the similarity, in a way that ensures scores are positive and that a larger score corresponds + /// to a higher ranking. + /// + /// + /// Defaults to l2_norm when element_type is bit otherwise defaults to cosine. + /// + /// + /// bit vectors only support l2_norm as their similarity metric. + /// + /// + /// This parameter can only be specified when index is true. + /// + /// + public DenseVectorPropertyDescriptor Similarity(Elastic.Clients.Elasticsearch.Serverless.Mapping.DenseVectorSimilarity? similarity) { SimilarityValue = similarity; return Self; @@ -207,10 +301,10 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o JsonSerializer.Serialize(writer, DynamicValue, options); } - if (!string.IsNullOrEmpty(ElementTypeValue)) + if (ElementTypeValue is not null) { writer.WritePropertyName("element_type"); - writer.WriteStringValue(ElementTypeValue); + JsonSerializer.Serialize(writer, ElementTypeValue, options); } if (FieldsValue is not null) @@ -259,10 +353,10 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o JsonSerializer.Serialize(writer, PropertiesValue, options); } - if (!string.IsNullOrEmpty(SimilarityValue)) + if (SimilarityValue is not null) { writer.WritePropertyName("similarity"); - writer.WriteStringValue(SimilarityValue); + JsonSerializer.Serialize(writer, SimilarityValue, options); } writer.WritePropertyName("type"); @@ -319,7 +413,7 @@ public DenseVectorPropertyDescriptor() : base() private int? DimsValue { get; set; } private Elastic.Clients.Elasticsearch.Serverless.Mapping.DynamicMapping? DynamicValue { get; set; } - private string? ElementTypeValue { get; set; } + private Elastic.Clients.Elasticsearch.Serverless.Mapping.DenseVectorElementType? ElementTypeValue { get; set; } private Elastic.Clients.Elasticsearch.Serverless.Mapping.Properties? FieldsValue { get; set; } private int? IgnoreAboveValue { get; set; } private bool? IndexValue { get; set; } @@ -328,8 +422,14 @@ public DenseVectorPropertyDescriptor() : base() private Action IndexOptionsDescriptorAction { get; set; } private IDictionary? MetaValue { get; set; } private Elastic.Clients.Elasticsearch.Serverless.Mapping.Properties? PropertiesValue { get; set; } - private string? SimilarityValue { get; set; } + private Elastic.Clients.Elasticsearch.Serverless.Mapping.DenseVectorSimilarity? SimilarityValue { get; set; } + /// + /// + /// Number of vector dimensions. Can't exceed 4096. If dims is not specified, it will be set to the length of + /// the first vector added to the field. + /// + /// public DenseVectorPropertyDescriptor Dims(int? dims) { DimsValue = dims; @@ -342,7 +442,12 @@ public DenseVectorPropertyDescriptor Dynamic(Elastic.Clients.Elasticsearch.Serve return Self; } - public DenseVectorPropertyDescriptor ElementType(string? elementType) + /// + /// + /// The data type used to encode vectors. The supported data types are float (default), byte, and bit. + /// + /// + public DenseVectorPropertyDescriptor ElementType(Elastic.Clients.Elasticsearch.Serverless.Mapping.DenseVectorElementType? elementType) { ElementTypeValue = elementType; return Self; @@ -374,12 +479,27 @@ public DenseVectorPropertyDescriptor IgnoreAbove(int? ignoreAbove) return Self; } + /// + /// + /// If true, you can search this field using the kNN search API. + /// + /// public DenseVectorPropertyDescriptor Index(bool? index = true) { IndexValue = index; return Self; } + /// + /// + /// An optional section that configures the kNN indexing algorithm. The HNSW algorithm has two internal parameters + /// that influence how the data structure is built. These can be adjusted to improve the accuracy of results, at the + /// expense of slower indexing speed. + /// + /// + /// This parameter can only be specified when index is true. + /// + /// public DenseVectorPropertyDescriptor IndexOptions(Elastic.Clients.Elasticsearch.Serverless.Mapping.DenseVectorIndexOptions? indexOptions) { IndexOptionsDescriptor = null; @@ -435,7 +555,26 @@ public DenseVectorPropertyDescriptor Properties(Action + /// + /// The vector similarity metric to use in kNN search. + /// + /// + /// Documents are ranked by their vector field's similarity to the query vector. The _score of each document will + /// be derived from the similarity, in a way that ensures scores are positive and that a larger score corresponds + /// to a higher ranking. + /// + /// + /// Defaults to l2_norm when element_type is bit otherwise defaults to cosine. + /// + /// + /// bit vectors only support l2_norm as their similarity metric. + /// + /// + /// This parameter can only be specified when index is true. + /// + /// + public DenseVectorPropertyDescriptor Similarity(Elastic.Clients.Elasticsearch.Serverless.Mapping.DenseVectorSimilarity? similarity) { SimilarityValue = similarity; return Self; @@ -456,10 +595,10 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o JsonSerializer.Serialize(writer, DynamicValue, options); } - if (!string.IsNullOrEmpty(ElementTypeValue)) + if (ElementTypeValue is not null) { writer.WritePropertyName("element_type"); - writer.WriteStringValue(ElementTypeValue); + JsonSerializer.Serialize(writer, ElementTypeValue, options); } if (FieldsValue is not null) @@ -508,10 +647,10 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o JsonSerializer.Serialize(writer, PropertiesValue, options); } - if (!string.IsNullOrEmpty(SimilarityValue)) + if (SimilarityValue is not null) { writer.WritePropertyName("similarity"); - writer.WriteStringValue(SimilarityValue); + JsonSerializer.Serialize(writer, SimilarityValue, options); } writer.WritePropertyName("type"); diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Nodes/NodeInfoSettingsNetwork.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Nodes/NodeInfoSettingsNetwork.g.cs index 842fbf686d3..f845950e3bb 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Nodes/NodeInfoSettingsNetwork.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Nodes/NodeInfoSettingsNetwork.g.cs @@ -30,5 +30,6 @@ namespace Elastic.Clients.Elasticsearch.Serverless.Nodes; public sealed partial class NodeInfoSettingsNetwork { [JsonInclude, JsonPropertyName("host")] - public string? Host { get; init; } + [SingleOrManyCollectionConverter(typeof(string))] + public IReadOnlyCollection? Host { get; init; } } \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Nodes/NodeInfoXpack.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Nodes/NodeInfoXpack.g.cs index d987cbd663c..5e6d49c491c 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Nodes/NodeInfoXpack.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Nodes/NodeInfoXpack.g.cs @@ -31,6 +31,8 @@ public sealed partial class NodeInfoXpack { [JsonInclude, JsonPropertyName("license")] public Elastic.Clients.Elasticsearch.Serverless.Nodes.NodeInfoXpackLicense? License { get; init; } + [JsonInclude, JsonPropertyName("ml")] + public Elastic.Clients.Elasticsearch.Serverless.Nodes.NodeInfoXpackMl? Ml { get; init; } [JsonInclude, JsonPropertyName("notification")] public IReadOnlyDictionary? Notification { get; init; } [JsonInclude, JsonPropertyName("security")] diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Nodes/NodeInfoXpackMl.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Nodes/NodeInfoXpackMl.g.cs new file mode 100644 index 00000000000..0d47e32199a --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Nodes/NodeInfoXpackMl.g.cs @@ -0,0 +1,34 @@ +// 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 Elastic.Clients.Elasticsearch.Serverless.Fluent; +using Elastic.Clients.Elasticsearch.Serverless.Serialization; +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +namespace Elastic.Clients.Elasticsearch.Serverless.Nodes; + +public sealed partial class NodeInfoXpackMl +{ + [JsonInclude, JsonPropertyName("use_auto_machine_memory_percent")] + public bool? UseAutoMachineMemoryPercent { get; init; } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Nodes/NodeInfoXpackSecurity.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Nodes/NodeInfoXpackSecurity.g.cs index e704f5da446..52f87efcbca 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Nodes/NodeInfoXpackSecurity.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Nodes/NodeInfoXpackSecurity.g.cs @@ -34,7 +34,7 @@ public sealed partial class NodeInfoXpackSecurity [JsonInclude, JsonPropertyName("enabled")] public string Enabled { get; init; } [JsonInclude, JsonPropertyName("http")] - public Elastic.Clients.Elasticsearch.Serverless.Nodes.NodeInfoXpackSecuritySsl Http { get; init; } + public Elastic.Clients.Elasticsearch.Serverless.Nodes.NodeInfoXpackSecuritySsl? Http { get; init; } [JsonInclude, JsonPropertyName("transport")] public Elastic.Clients.Elasticsearch.Serverless.Nodes.NodeInfoXpackSecuritySsl? Transport { get; init; } } \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Nodes/NodeInfoXpackSecurityAuthc.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Nodes/NodeInfoXpackSecurityAuthc.g.cs index 400a86e016a..4926312fafa 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Nodes/NodeInfoXpackSecurityAuthc.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Nodes/NodeInfoXpackSecurityAuthc.g.cs @@ -30,7 +30,7 @@ namespace Elastic.Clients.Elasticsearch.Serverless.Nodes; public sealed partial class NodeInfoXpackSecurityAuthc { [JsonInclude, JsonPropertyName("realms")] - public Elastic.Clients.Elasticsearch.Serverless.Nodes.NodeInfoXpackSecurityAuthcRealms Realms { get; init; } + public Elastic.Clients.Elasticsearch.Serverless.Nodes.NodeInfoXpackSecurityAuthcRealms? Realms { get; init; } [JsonInclude, JsonPropertyName("token")] - public Elastic.Clients.Elasticsearch.Serverless.Nodes.NodeInfoXpackSecurityAuthcToken Token { get; init; } + public Elastic.Clients.Elasticsearch.Serverless.Nodes.NodeInfoXpackSecurityAuthcToken? Token { get; init; } } \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Security/IndicesPrivileges.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Security/IndicesPrivileges.g.cs index 7b33b54b2a3..8bf956852fc 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Security/IndicesPrivileges.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Security/IndicesPrivileges.g.cs @@ -43,7 +43,7 @@ public sealed partial class IndicesPrivileges /// /// [JsonInclude, JsonPropertyName("names")] - public Elastic.Clients.Elasticsearch.Serverless.Indices Names { get; set; } + public ICollection Names { get; set; } /// /// @@ -73,7 +73,7 @@ public IndicesPrivilegesDescriptor() : base() private Elastic.Clients.Elasticsearch.Serverless.Security.FieldSecurity? FieldSecurityValue { get; set; } private Elastic.Clients.Elasticsearch.Serverless.Security.FieldSecurityDescriptor FieldSecurityDescriptor { get; set; } private Action> FieldSecurityDescriptorAction { get; set; } - private Elastic.Clients.Elasticsearch.Serverless.Indices NamesValue { get; set; } + private ICollection NamesValue { get; set; } private ICollection PrivilegesValue { get; set; } private object? QueryValue { get; set; } @@ -111,7 +111,7 @@ public IndicesPrivilegesDescriptor FieldSecurity(Action /// - public IndicesPrivilegesDescriptor Names(Elastic.Clients.Elasticsearch.Serverless.Indices names) + public IndicesPrivilegesDescriptor Names(ICollection names) { NamesValue = names; return Self; @@ -183,7 +183,7 @@ public IndicesPrivilegesDescriptor() : base() private Elastic.Clients.Elasticsearch.Serverless.Security.FieldSecurity? FieldSecurityValue { get; set; } private Elastic.Clients.Elasticsearch.Serverless.Security.FieldSecurityDescriptor FieldSecurityDescriptor { get; set; } private Action FieldSecurityDescriptorAction { get; set; } - private Elastic.Clients.Elasticsearch.Serverless.Indices NamesValue { get; set; } + private ICollection NamesValue { get; set; } private ICollection PrivilegesValue { get; set; } private object? QueryValue { get; set; } @@ -221,7 +221,7 @@ public IndicesPrivilegesDescriptor FieldSecurity(Action /// - public IndicesPrivilegesDescriptor Names(Elastic.Clients.Elasticsearch.Serverless.Indices names) + public IndicesPrivilegesDescriptor Names(ICollection names) { NamesValue = names; return Self; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Security/UserIndicesPrivileges.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Security/UserIndicesPrivileges.g.cs index 3693ef101e1..10deebc1689 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Security/UserIndicesPrivileges.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Security/UserIndicesPrivileges.g.cs @@ -51,7 +51,6 @@ public sealed partial class UserIndicesPrivileges /// /// [JsonInclude, JsonPropertyName("names")] - [SingleOrManyCollectionConverter(typeof(string))] public IReadOnlyCollection Names { get; init; } /// diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Xpack/Features.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Xpack/Features.g.cs index 3fc5b6e9a01..8fced1722fa 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Xpack/Features.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Xpack/Features.g.cs @@ -33,14 +33,8 @@ public sealed partial class Features public Elastic.Clients.Elasticsearch.Serverless.Xpack.Feature AggregateMetric { get; init; } [JsonInclude, JsonPropertyName("analytics")] public Elastic.Clients.Elasticsearch.Serverless.Xpack.Feature Analytics { get; init; } - [JsonInclude, JsonPropertyName("archive")] - public Elastic.Clients.Elasticsearch.Serverless.Xpack.Feature Archive { get; init; } [JsonInclude, JsonPropertyName("ccr")] public Elastic.Clients.Elasticsearch.Serverless.Xpack.Feature Ccr { get; init; } - [JsonInclude, JsonPropertyName("data_frame")] - public Elastic.Clients.Elasticsearch.Serverless.Xpack.Feature? DataFrame { get; init; } - [JsonInclude, JsonPropertyName("data_science")] - public Elastic.Clients.Elasticsearch.Serverless.Xpack.Feature? DataScience { get; init; } [JsonInclude, JsonPropertyName("data_streams")] public Elastic.Clients.Elasticsearch.Serverless.Xpack.Feature DataStreams { get; init; } [JsonInclude, JsonPropertyName("data_tiers")] @@ -49,8 +43,6 @@ public sealed partial class Features public Elastic.Clients.Elasticsearch.Serverless.Xpack.Feature Enrich { get; init; } [JsonInclude, JsonPropertyName("eql")] public Elastic.Clients.Elasticsearch.Serverless.Xpack.Feature Eql { get; init; } - [JsonInclude, JsonPropertyName("flattened")] - public Elastic.Clients.Elasticsearch.Serverless.Xpack.Feature? Flattened { get; init; } [JsonInclude, JsonPropertyName("frozen_indices")] public Elastic.Clients.Elasticsearch.Serverless.Xpack.Feature FrozenIndices { get; init; } [JsonInclude, JsonPropertyName("graph")] @@ -79,8 +71,6 @@ public sealed partial class Features public Elastic.Clients.Elasticsearch.Serverless.Xpack.Feature Sql { get; init; } [JsonInclude, JsonPropertyName("transform")] public Elastic.Clients.Elasticsearch.Serverless.Xpack.Feature Transform { get; init; } - [JsonInclude, JsonPropertyName("vectors")] - public Elastic.Clients.Elasticsearch.Serverless.Xpack.Feature? Vectors { get; init; } [JsonInclude, JsonPropertyName("voting_only")] public Elastic.Clients.Elasticsearch.Serverless.Xpack.Feature VotingOnly { get; init; } [JsonInclude, JsonPropertyName("watcher")] diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/ClusterStatsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/ClusterStatsRequest.g.cs index 848f867049c..b35f97dfb6a 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/ClusterStatsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/ClusterStatsRequest.g.cs @@ -33,10 +33,10 @@ public sealed partial class ClusterStatsRequestParameters : RequestParameters { /// /// - /// If true, returns settings in flat format. + /// Include remote cluster data into the response /// /// - public bool? FlatSettings { get => Q("flat_settings"); set => Q("flat_settings", value); } + public bool? IncludeRemotes { get => Q("include_remotes"); set => Q("include_remotes", value); } /// /// @@ -74,11 +74,11 @@ public ClusterStatsRequest(Elastic.Clients.Elasticsearch.NodeIds? nodeId) : base /// /// - /// If true, returns settings in flat format. + /// Include remote cluster data into the response /// /// [JsonIgnore] - public bool? FlatSettings { get => Q("flat_settings"); set => Q("flat_settings", value); } + public bool? IncludeRemotes { get => Q("include_remotes"); set => Q("include_remotes", value); } /// /// @@ -117,7 +117,7 @@ public ClusterStatsRequestDescriptor() internal override string OperationName => "cluster.stats"; - public ClusterStatsRequestDescriptor FlatSettings(bool? flatSettings = true) => Qs("flat_settings", flatSettings); + public ClusterStatsRequestDescriptor IncludeRemotes(bool? includeRemotes = true) => Qs("include_remotes", includeRemotes); public ClusterStatsRequestDescriptor Timeout(Elastic.Clients.Elasticsearch.Duration? timeout) => Qs("timeout", timeout); public ClusterStatsRequestDescriptor NodeId(Elastic.Clients.Elasticsearch.NodeIds? nodeId) diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexLifecycleManagement/MoveToStepRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexLifecycleManagement/MoveToStepRequest.g.cs index dc57d3e8346..164f288e316 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexLifecycleManagement/MoveToStepRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexLifecycleManagement/MoveToStepRequest.g.cs @@ -53,9 +53,9 @@ public MoveToStepRequest(Elastic.Clients.Elasticsearch.IndexName index) : base(r internal override string OperationName => "ilm.move_to_step"; [JsonInclude, JsonPropertyName("current_step")] - public Elastic.Clients.Elasticsearch.IndexLifecycleManagement.StepKey? CurrentStep { get; set; } + public Elastic.Clients.Elasticsearch.IndexLifecycleManagement.StepKey CurrentStep { get; set; } [JsonInclude, JsonPropertyName("next_step")] - public Elastic.Clients.Elasticsearch.IndexLifecycleManagement.StepKey? NextStep { get; set; } + public Elastic.Clients.Elasticsearch.IndexLifecycleManagement.StepKey NextStep { get; set; } } /// @@ -89,14 +89,14 @@ public MoveToStepRequestDescriptor Index(Elastic.Clients.Elasticsearc return Self; } - private Elastic.Clients.Elasticsearch.IndexLifecycleManagement.StepKey? CurrentStepValue { get; set; } + private Elastic.Clients.Elasticsearch.IndexLifecycleManagement.StepKey CurrentStepValue { get; set; } private Elastic.Clients.Elasticsearch.IndexLifecycleManagement.StepKeyDescriptor CurrentStepDescriptor { get; set; } private Action CurrentStepDescriptorAction { get; set; } - private Elastic.Clients.Elasticsearch.IndexLifecycleManagement.StepKey? NextStepValue { get; set; } + private Elastic.Clients.Elasticsearch.IndexLifecycleManagement.StepKey NextStepValue { get; set; } private Elastic.Clients.Elasticsearch.IndexLifecycleManagement.StepKeyDescriptor NextStepDescriptor { get; set; } private Action NextStepDescriptorAction { get; set; } - public MoveToStepRequestDescriptor CurrentStep(Elastic.Clients.Elasticsearch.IndexLifecycleManagement.StepKey? currentStep) + public MoveToStepRequestDescriptor CurrentStep(Elastic.Clients.Elasticsearch.IndexLifecycleManagement.StepKey currentStep) { CurrentStepDescriptor = null; CurrentStepDescriptorAction = null; @@ -120,7 +120,7 @@ public MoveToStepRequestDescriptor CurrentStep(Action NextStep(Elastic.Clients.Elasticsearch.IndexLifecycleManagement.StepKey? nextStep) + public MoveToStepRequestDescriptor NextStep(Elastic.Clients.Elasticsearch.IndexLifecycleManagement.StepKey nextStep) { NextStepDescriptor = null; NextStepDescriptorAction = null; @@ -157,7 +157,7 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o writer.WritePropertyName("current_step"); JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.IndexLifecycleManagement.StepKeyDescriptor(CurrentStepDescriptorAction), options); } - else if (CurrentStepValue is not null) + else { writer.WritePropertyName("current_step"); JsonSerializer.Serialize(writer, CurrentStepValue, options); @@ -173,7 +173,7 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o writer.WritePropertyName("next_step"); JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.IndexLifecycleManagement.StepKeyDescriptor(NextStepDescriptorAction), options); } - else if (NextStepValue is not null) + else { writer.WritePropertyName("next_step"); JsonSerializer.Serialize(writer, NextStepValue, options); @@ -210,14 +210,14 @@ public MoveToStepRequestDescriptor Index(Elastic.Clients.Elasticsearch.IndexName return Self; } - private Elastic.Clients.Elasticsearch.IndexLifecycleManagement.StepKey? CurrentStepValue { get; set; } + private Elastic.Clients.Elasticsearch.IndexLifecycleManagement.StepKey CurrentStepValue { get; set; } private Elastic.Clients.Elasticsearch.IndexLifecycleManagement.StepKeyDescriptor CurrentStepDescriptor { get; set; } private Action CurrentStepDescriptorAction { get; set; } - private Elastic.Clients.Elasticsearch.IndexLifecycleManagement.StepKey? NextStepValue { get; set; } + private Elastic.Clients.Elasticsearch.IndexLifecycleManagement.StepKey NextStepValue { get; set; } private Elastic.Clients.Elasticsearch.IndexLifecycleManagement.StepKeyDescriptor NextStepDescriptor { get; set; } private Action NextStepDescriptorAction { get; set; } - public MoveToStepRequestDescriptor CurrentStep(Elastic.Clients.Elasticsearch.IndexLifecycleManagement.StepKey? currentStep) + public MoveToStepRequestDescriptor CurrentStep(Elastic.Clients.Elasticsearch.IndexLifecycleManagement.StepKey currentStep) { CurrentStepDescriptor = null; CurrentStepDescriptorAction = null; @@ -241,7 +241,7 @@ public MoveToStepRequestDescriptor CurrentStep(Action /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/RefreshResponse.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/RefreshResponse.g.cs index 62e229a3ed0..173d7f57182 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/RefreshResponse.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/RefreshResponse.g.cs @@ -29,5 +29,5 @@ namespace Elastic.Clients.Elasticsearch.IndexManagement; public sealed partial class RefreshResponse : ElasticsearchResponse { [JsonInclude, JsonPropertyName("_shards")] - public Elastic.Clients.Elasticsearch.ShardStatistics Shards { get; init; } + public Elastic.Clients.Elasticsearch.ShardStatistics? Shards { get; init; } } \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/PutInferenceResponse.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/PutInferenceResponse.g.cs index f4c2535f6da..dca82330fc2 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/PutInferenceResponse.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/PutInferenceResponse.g.cs @@ -58,7 +58,7 @@ public sealed partial class PutInferenceResponse : ElasticsearchResponse /// /// [JsonInclude, JsonPropertyName("task_settings")] - public object TaskSettings { get; init; } + public object? TaskSettings { get; init; } /// /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetBuiltinPrivilegesResponse.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetBuiltinPrivilegesResponse.g.cs index 5b7b58c3030..0f19d1b9a0e 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetBuiltinPrivilegesResponse.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetBuiltinPrivilegesResponse.g.cs @@ -31,6 +31,5 @@ public sealed partial class GetBuiltinPrivilegesResponse : ElasticsearchResponse [JsonInclude, JsonPropertyName("cluster")] public IReadOnlyCollection Cluster { get; init; } [JsonInclude, JsonPropertyName("index")] - [SingleOrManyCollectionConverter(typeof(string))] - public IReadOnlyCollection Indices { get; init; } + public IReadOnlyCollection Index { get; init; } } \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/RestoreResponse.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/RestoreResponse.g.cs index 6e81b6daa73..1bf5db7079d 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/RestoreResponse.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/RestoreResponse.g.cs @@ -28,6 +28,8 @@ namespace Elastic.Clients.Elasticsearch.Snapshot; public sealed partial class RestoreResponse : ElasticsearchResponse { + [JsonInclude, JsonPropertyName("accepted")] + public bool? Accepted { get; init; } [JsonInclude, JsonPropertyName("snapshot")] - public Elastic.Clients.Elasticsearch.Snapshot.SnapshotRestore Snapshot { get; init; } + public Elastic.Clients.Elasticsearch.Snapshot.SnapshotRestore? Snapshot { get; init; } } \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Analysis/EdgeNGramTokenizer.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Analysis/EdgeNGramTokenizer.g.cs index 110960e049d..64fa62a915a 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Analysis/EdgeNGramTokenizer.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Analysis/EdgeNGramTokenizer.g.cs @@ -32,9 +32,9 @@ public sealed partial class EdgeNGramTokenizer : ITokenizer [JsonInclude, JsonPropertyName("custom_token_chars")] public string? CustomTokenChars { get; set; } [JsonInclude, JsonPropertyName("max_gram")] - public int MaxGram { get; set; } + public int? MaxGram { get; set; } [JsonInclude, JsonPropertyName("min_gram")] - public int MinGram { get; set; } + public int? MinGram { get; set; } [JsonInclude, JsonPropertyName("token_chars")] public ICollection? TokenChars { get; set; } @@ -54,8 +54,8 @@ public EdgeNGramTokenizerDescriptor() : base() } private string? CustomTokenCharsValue { get; set; } - private int MaxGramValue { get; set; } - private int MinGramValue { get; set; } + private int? MaxGramValue { get; set; } + private int? MinGramValue { get; set; } private ICollection? TokenCharsValue { get; set; } private string? VersionValue { get; set; } @@ -65,13 +65,13 @@ public EdgeNGramTokenizerDescriptor CustomTokenChars(string? customTokenChars) return Self; } - public EdgeNGramTokenizerDescriptor MaxGram(int maxGram) + public EdgeNGramTokenizerDescriptor MaxGram(int? maxGram) { MaxGramValue = maxGram; return Self; } - public EdgeNGramTokenizerDescriptor MinGram(int minGram) + public EdgeNGramTokenizerDescriptor MinGram(int? minGram) { MinGramValue = minGram; return Self; @@ -98,10 +98,18 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o writer.WriteStringValue(CustomTokenCharsValue); } - writer.WritePropertyName("max_gram"); - writer.WriteNumberValue(MaxGramValue); - writer.WritePropertyName("min_gram"); - writer.WriteNumberValue(MinGramValue); + if (MaxGramValue.HasValue) + { + writer.WritePropertyName("max_gram"); + writer.WriteNumberValue(MaxGramValue.Value); + } + + if (MinGramValue.HasValue) + { + writer.WritePropertyName("min_gram"); + writer.WriteNumberValue(MinGramValue.Value); + } + if (TokenCharsValue is not null) { writer.WritePropertyName("token_chars"); diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Analysis/NGramTokenizer.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Analysis/NGramTokenizer.g.cs index a68be22a2cb..c4cfb90b1fe 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Analysis/NGramTokenizer.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Analysis/NGramTokenizer.g.cs @@ -32,9 +32,9 @@ public sealed partial class NGramTokenizer : ITokenizer [JsonInclude, JsonPropertyName("custom_token_chars")] public string? CustomTokenChars { get; set; } [JsonInclude, JsonPropertyName("max_gram")] - public int MaxGram { get; set; } + public int? MaxGram { get; set; } [JsonInclude, JsonPropertyName("min_gram")] - public int MinGram { get; set; } + public int? MinGram { get; set; } [JsonInclude, JsonPropertyName("token_chars")] public ICollection? TokenChars { get; set; } @@ -54,8 +54,8 @@ public NGramTokenizerDescriptor() : base() } private string? CustomTokenCharsValue { get; set; } - private int MaxGramValue { get; set; } - private int MinGramValue { get; set; } + private int? MaxGramValue { get; set; } + private int? MinGramValue { get; set; } private ICollection? TokenCharsValue { get; set; } private string? VersionValue { get; set; } @@ -65,13 +65,13 @@ public NGramTokenizerDescriptor CustomTokenChars(string? customTokenChars) return Self; } - public NGramTokenizerDescriptor MaxGram(int maxGram) + public NGramTokenizerDescriptor MaxGram(int? maxGram) { MaxGramValue = maxGram; return Self; } - public NGramTokenizerDescriptor MinGram(int minGram) + public NGramTokenizerDescriptor MinGram(int? minGram) { MinGramValue = minGram; return Self; @@ -98,10 +98,18 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o writer.WriteStringValue(CustomTokenCharsValue); } - writer.WritePropertyName("max_gram"); - writer.WriteNumberValue(MaxGramValue); - writer.WritePropertyName("min_gram"); - writer.WriteNumberValue(MinGramValue); + if (MaxGramValue.HasValue) + { + writer.WritePropertyName("max_gram"); + writer.WriteNumberValue(MaxGramValue.Value); + } + + if (MinGramValue.HasValue) + { + writer.WritePropertyName("min_gram"); + writer.WriteNumberValue(MinGramValue.Value); + } + if (TokenCharsValue is not null) { writer.WritePropertyName("token_chars"); diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Enums/Enums.Ingest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Enums/Enums.Ingest.g.cs index c930a3155e2..6e2a0890436 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Enums/Enums.Ingest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Enums/Enums.Ingest.g.cs @@ -35,6 +35,8 @@ public enum ConvertType String, [EnumMember(Value = "long")] Long, + [EnumMember(Value = "ip")] + Ip, [EnumMember(Value = "integer")] Integer, [EnumMember(Value = "float")] @@ -58,6 +60,8 @@ public override ConvertType Read(ref Utf8JsonReader reader, Type typeToConvert, return ConvertType.String; case "long": return ConvertType.Long; + case "ip": + return ConvertType.Ip; case "integer": return ConvertType.Integer; case "float": @@ -84,6 +88,9 @@ public override void Write(Utf8JsonWriter writer, ConvertType value, JsonSeriali case ConvertType.Long: writer.WriteStringValue("long"); return; + case ConvertType.Ip: + writer.WriteStringValue("ip"); + return; case ConvertType.Integer: writer.WriteStringValue("integer"); return; @@ -105,6 +112,69 @@ public override void Write(Utf8JsonWriter writer, ConvertType value, JsonSeriali } } +[JsonConverter(typeof(FingerprintDigestConverter))] +public enum FingerprintDigest +{ + [EnumMember(Value = "SHA-512")] + Sha512, + [EnumMember(Value = "SHA-256")] + Sha256, + [EnumMember(Value = "SHA-1")] + Sha1, + [EnumMember(Value = "MurmurHash3")] + Murmurhash3, + [EnumMember(Value = "MD5")] + Md5 +} + +internal sealed class FingerprintDigestConverter : JsonConverter +{ + public override FingerprintDigest Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) + { + var enumString = reader.GetString(); + switch (enumString) + { + case "SHA-512": + return FingerprintDigest.Sha512; + case "SHA-256": + return FingerprintDigest.Sha256; + case "SHA-1": + return FingerprintDigest.Sha1; + case "MurmurHash3": + return FingerprintDigest.Murmurhash3; + case "MD5": + return FingerprintDigest.Md5; + } + + ThrowHelper.ThrowJsonException(); + return default; + } + + public override void Write(Utf8JsonWriter writer, FingerprintDigest value, JsonSerializerOptions options) + { + switch (value) + { + case FingerprintDigest.Sha512: + writer.WriteStringValue("SHA-512"); + return; + case FingerprintDigest.Sha256: + writer.WriteStringValue("SHA-256"); + return; + case FingerprintDigest.Sha1: + writer.WriteStringValue("SHA-1"); + return; + case FingerprintDigest.Murmurhash3: + writer.WriteStringValue("MurmurHash3"); + return; + case FingerprintDigest.Md5: + writer.WriteStringValue("MD5"); + return; + } + + writer.WriteNullValue(); + } +} + [JsonConverter(typeof(GeoGridTargetFormatConverter))] public enum GeoGridTargetFormat { diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Enums/Enums.Mapping.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Enums/Enums.Mapping.g.cs index cfbbedf34a4..b9936319efd 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Enums/Enums.Mapping.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Enums/Enums.Mapping.g.cs @@ -28,6 +28,298 @@ namespace Elastic.Clients.Elasticsearch.Mapping; +[JsonConverter(typeof(DenseVectorElementTypeConverter))] +public enum DenseVectorElementType +{ + /// + /// + /// Indexes a 4-byte floating-point value per dimension. + /// + /// + [EnumMember(Value = "float")] + Float, + /// + /// + /// Indexes a 1-byte integer value per dimension. + /// + /// + [EnumMember(Value = "byte")] + Byte, + /// + /// + /// Indexes a single bit per dimension. Useful for very high-dimensional vectors or models that specifically support + /// bit vectors. + /// + /// + /// NOTE: when using bit, the number of dimensions must be a multiple of 8 and must represent the number of bits. + /// + /// + [EnumMember(Value = "bit")] + Bit +} + +internal sealed class DenseVectorElementTypeConverter : JsonConverter +{ + public override DenseVectorElementType Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) + { + var enumString = reader.GetString(); + switch (enumString) + { + case "float": + return DenseVectorElementType.Float; + case "byte": + return DenseVectorElementType.Byte; + case "bit": + return DenseVectorElementType.Bit; + } + + ThrowHelper.ThrowJsonException(); + return default; + } + + public override void Write(Utf8JsonWriter writer, DenseVectorElementType value, JsonSerializerOptions options) + { + switch (value) + { + case DenseVectorElementType.Float: + writer.WriteStringValue("float"); + return; + case DenseVectorElementType.Byte: + writer.WriteStringValue("byte"); + return; + case DenseVectorElementType.Bit: + writer.WriteStringValue("bit"); + return; + } + + writer.WriteNullValue(); + } +} + +[JsonConverter(typeof(DenseVectorIndexOptionsTypeConverter))] +public enum DenseVectorIndexOptionsType +{ + /// + /// + /// The default index type for float vectors. This utilizes the HNSW algorithm in addition to automatically scalar + /// quantization for scalable approximate kNN search with element_type of float. + /// + /// + /// This can reduce the memory footprint by 4x at the cost of some accuracy. + /// + /// + [EnumMember(Value = "int8_hnsw")] + Int8Hnsw, + /// + /// + /// This utilizes a brute-force search algorithm in addition to automatically scalar quantization. Only supports + /// element_type of float. + /// + /// + [EnumMember(Value = "int8_flat")] + Int8Flat, + /// + /// + /// This utilizes the HNSW algorithm in addition to automatically scalar quantization for scalable approximate kNN + /// search with element_type of float. + /// + /// + /// This can reduce the memory footprint by 8x at the cost of some accuracy. + /// + /// + [EnumMember(Value = "int4_hnsw")] + Int4Hnsw, + /// + /// + /// This utilizes a brute-force search algorithm in addition to automatically half-byte scalar quantization. + /// Only supports element_type of float. + /// + /// + [EnumMember(Value = "int4_flat")] + Int4Flat, + /// + /// + /// This utilizes the HNSW algorithm for scalable approximate kNN search. This supports all element_type values. + /// + /// + [EnumMember(Value = "hnsw")] + Hnsw, + /// + /// + /// This utilizes a brute-force search algorithm for exact kNN search. This supports all element_type values. + /// + /// + [EnumMember(Value = "flat")] + Flat +} + +internal sealed class DenseVectorIndexOptionsTypeConverter : JsonConverter +{ + public override DenseVectorIndexOptionsType Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) + { + var enumString = reader.GetString(); + switch (enumString) + { + case "int8_hnsw": + return DenseVectorIndexOptionsType.Int8Hnsw; + case "int8_flat": + return DenseVectorIndexOptionsType.Int8Flat; + case "int4_hnsw": + return DenseVectorIndexOptionsType.Int4Hnsw; + case "int4_flat": + return DenseVectorIndexOptionsType.Int4Flat; + case "hnsw": + return DenseVectorIndexOptionsType.Hnsw; + case "flat": + return DenseVectorIndexOptionsType.Flat; + } + + ThrowHelper.ThrowJsonException(); + return default; + } + + public override void Write(Utf8JsonWriter writer, DenseVectorIndexOptionsType value, JsonSerializerOptions options) + { + switch (value) + { + case DenseVectorIndexOptionsType.Int8Hnsw: + writer.WriteStringValue("int8_hnsw"); + return; + case DenseVectorIndexOptionsType.Int8Flat: + writer.WriteStringValue("int8_flat"); + return; + case DenseVectorIndexOptionsType.Int4Hnsw: + writer.WriteStringValue("int4_hnsw"); + return; + case DenseVectorIndexOptionsType.Int4Flat: + writer.WriteStringValue("int4_flat"); + return; + case DenseVectorIndexOptionsType.Hnsw: + writer.WriteStringValue("hnsw"); + return; + case DenseVectorIndexOptionsType.Flat: + writer.WriteStringValue("flat"); + return; + } + + writer.WriteNullValue(); + } +} + +[JsonConverter(typeof(DenseVectorSimilarityConverter))] +public enum DenseVectorSimilarity +{ + /// + /// + /// Computes the maximum inner product of two vectors. This is similar to dot_product, but doesn't require vectors + /// to be normalized. This means that each vector’s magnitude can significantly effect the score. + /// + /// + /// The document _score is adjusted to prevent negative values. For max_inner_product values < 0, the _score + /// is 1 / (1 + -1 * max_inner_product(query, vector)). For non-negative max_inner_product results the _score + /// is calculated max_inner_product(query, vector) + 1. + /// + /// + [EnumMember(Value = "max_inner_product")] + MaxInnerProduct, + /// + /// + /// Computes similarity based on the L2 distance (also known as Euclidean distance) between the vectors. + /// + /// + /// The document _score is computed as 1 / (1 + l2_norm(query, vector)^2). + /// + /// + /// For bit vectors, instead of using l2_norm, the hamming distance between the vectors is used. + /// + /// + /// The _score transformation is (numBits - hamming(a, b)) / numBits. + /// + /// + [EnumMember(Value = "l2_norm")] + L2Norm, + /// + /// + /// Computes the dot product of two unit vectors. This option provides an optimized way to perform cosine similarity. + /// The constraints and computed score are defined by element_type. + /// + /// + /// When element_type is float, all vectors must be unit length, including both document and query vectors. + /// + /// + /// The document _score is computed as (1 + dot_product(query, vector)) / 2. + /// + /// + /// When element_type is byte, all vectors must have the same length including both document and query vectors or + /// results will be inaccurate. + /// + /// + /// The document _score is computed as 0.5 + (dot_product(query, vector) / (32768 * dims)) where dims is the + /// number of dimensions per vector. + /// + /// + [EnumMember(Value = "dot_product")] + DotProduct, + /// + /// + /// Computes the cosine similarity. During indexing Elasticsearch automatically normalizes vectors with cosine + /// similarity to unit length. This allows to internally use dot_product for computing similarity, which is more + /// efficient. Original un-normalized vectors can be still accessed through scripts. + /// + /// + /// The document _score is computed as (1 + cosine(query, vector)) / 2. + /// + /// + /// The cosine similarity does not allow vectors with zero magnitude, since cosine is not defined in this case. + /// + /// + [EnumMember(Value = "cosine")] + Cosine +} + +internal sealed class DenseVectorSimilarityConverter : JsonConverter +{ + public override DenseVectorSimilarity Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) + { + var enumString = reader.GetString(); + switch (enumString) + { + case "max_inner_product": + return DenseVectorSimilarity.MaxInnerProduct; + case "l2_norm": + return DenseVectorSimilarity.L2Norm; + case "dot_product": + return DenseVectorSimilarity.DotProduct; + case "cosine": + return DenseVectorSimilarity.Cosine; + } + + ThrowHelper.ThrowJsonException(); + return default; + } + + public override void Write(Utf8JsonWriter writer, DenseVectorSimilarity value, JsonSerializerOptions options) + { + switch (value) + { + case DenseVectorSimilarity.MaxInnerProduct: + writer.WriteStringValue("max_inner_product"); + return; + case DenseVectorSimilarity.L2Norm: + writer.WriteStringValue("l2_norm"); + return; + case DenseVectorSimilarity.DotProduct: + writer.WriteStringValue("dot_product"); + return; + case DenseVectorSimilarity.Cosine: + writer.WriteStringValue("cosine"); + return; + } + + writer.WriteNullValue(); + } +} + [JsonConverter(typeof(DynamicMappingConverter))] public enum DynamicMapping { diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexLifecycleManagement/StepKey.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexLifecycleManagement/StepKey.g.cs index 8924b0ef17a..30fc8645cd8 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexLifecycleManagement/StepKey.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexLifecycleManagement/StepKey.g.cs @@ -30,9 +30,9 @@ namespace Elastic.Clients.Elasticsearch.IndexLifecycleManagement; public sealed partial class StepKey { [JsonInclude, JsonPropertyName("action")] - public string Action { get; set; } + public string? Action { get; set; } [JsonInclude, JsonPropertyName("name")] - public string Name { get; set; } + public string? Name { get; set; } [JsonInclude, JsonPropertyName("phase")] public string Phase { get; set; } } @@ -45,17 +45,17 @@ public StepKeyDescriptor() : base() { } - private string ActionValue { get; set; } - private string NameValue { get; set; } + private string? ActionValue { get; set; } + private string? NameValue { get; set; } private string PhaseValue { get; set; } - public StepKeyDescriptor Action(string action) + public StepKeyDescriptor Action(string? action) { ActionValue = action; return Self; } - public StepKeyDescriptor Name(string name) + public StepKeyDescriptor Name(string? name) { NameValue = name; return Self; @@ -70,10 +70,18 @@ public StepKeyDescriptor Phase(string phase) protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) { writer.WriteStartObject(); - writer.WritePropertyName("action"); - writer.WriteStringValue(ActionValue); - writer.WritePropertyName("name"); - writer.WriteStringValue(NameValue); + if (!string.IsNullOrEmpty(ActionValue)) + { + writer.WritePropertyName("action"); + writer.WriteStringValue(ActionValue); + } + + if (!string.IsNullOrEmpty(NameValue)) + { + writer.WritePropertyName("name"); + writer.WriteStringValue(NameValue); + } + writer.WritePropertyName("phase"); writer.WriteStringValue(PhaseValue); writer.WriteEndObject(); diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/DataStreamVisibility.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/DataStreamVisibility.g.cs index 2982f6b3c1f..3fd9f9b693d 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/DataStreamVisibility.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/DataStreamVisibility.g.cs @@ -29,6 +29,8 @@ namespace Elastic.Clients.Elasticsearch.IndexManagement; public sealed partial class DataStreamVisibility { + [JsonInclude, JsonPropertyName("allow_custom_routing")] + public bool? AllowCustomRouting { get; set; } [JsonInclude, JsonPropertyName("hidden")] public bool? Hidden { get; set; } } @@ -41,8 +43,15 @@ public DataStreamVisibilityDescriptor() : base() { } + private bool? AllowCustomRoutingValue { get; set; } private bool? HiddenValue { get; set; } + public DataStreamVisibilityDescriptor AllowCustomRouting(bool? allowCustomRouting = true) + { + AllowCustomRoutingValue = allowCustomRouting; + return Self; + } + public DataStreamVisibilityDescriptor Hidden(bool? hidden = true) { HiddenValue = hidden; @@ -52,6 +61,12 @@ public DataStreamVisibilityDescriptor Hidden(bool? hidden = true) protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) { writer.WriteStartObject(); + if (AllowCustomRoutingValue.HasValue) + { + writer.WritePropertyName("allow_custom_routing"); + writer.WriteBooleanValue(AllowCustomRoutingValue.Value); + } + if (HiddenValue.HasValue) { writer.WritePropertyName("hidden"); diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Inference/InferenceEndpoint.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Inference/InferenceEndpoint.g.cs index a1e9cf57801..cd1fd616d31 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Inference/InferenceEndpoint.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Inference/InferenceEndpoint.g.cs @@ -56,7 +56,7 @@ public sealed partial class InferenceEndpoint /// /// [JsonInclude, JsonPropertyName("task_settings")] - public object TaskSettings { get; set; } + public object? TaskSettings { get; set; } } /// @@ -74,7 +74,7 @@ public InferenceEndpointDescriptor() : base() private string ServiceValue { get; set; } private object ServiceSettingsValue { get; set; } - private object TaskSettingsValue { get; set; } + private object? TaskSettingsValue { get; set; } /// /// @@ -103,7 +103,7 @@ public InferenceEndpointDescriptor ServiceSettings(object serviceSettings) /// Task settings specific to the service and task type /// /// - public InferenceEndpointDescriptor TaskSettings(object taskSettings) + public InferenceEndpointDescriptor TaskSettings(object? taskSettings) { TaskSettingsValue = taskSettings; return Self; @@ -116,8 +116,12 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o writer.WriteStringValue(ServiceValue); writer.WritePropertyName("service_settings"); JsonSerializer.Serialize(writer, ServiceSettingsValue, options); - writer.WritePropertyName("task_settings"); - JsonSerializer.Serialize(writer, TaskSettingsValue, options); + if (TaskSettingsValue is not null) + { + writer.WritePropertyName("task_settings"); + JsonSerializer.Serialize(writer, TaskSettingsValue, options); + } + writer.WriteEndObject(); } } \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Inference/InferenceEndpointInfo.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Inference/InferenceEndpointInfo.g.cs index 2863e2dea74..d0324de75cc 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Inference/InferenceEndpointInfo.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Inference/InferenceEndpointInfo.g.cs @@ -64,7 +64,7 @@ public sealed partial class InferenceEndpointInfo /// /// [JsonInclude, JsonPropertyName("task_settings")] - public object TaskSettings { get; init; } + public object? TaskSettings { get; init; } /// /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/CommunityIDProcessor.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/CommunityIDProcessor.g.cs new file mode 100644 index 00000000000..5b12c5802f2 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/CommunityIDProcessor.g.cs @@ -0,0 +1,1310 @@ +// 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 Elastic.Clients.Elasticsearch.Fluent; +using Elastic.Clients.Elasticsearch.Serialization; +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +namespace Elastic.Clients.Elasticsearch.Ingest; + +public sealed partial class CommunityIDProcessor +{ + /// + /// + /// Description of the processor. + /// Useful for describing the purpose of the processor or its configuration. + /// + /// + [JsonInclude, JsonPropertyName("description")] + public string? Description { get; set; } + + /// + /// + /// Field containing the destination IP address. + /// + /// + [JsonInclude, JsonPropertyName("destination_ip")] + public Elastic.Clients.Elasticsearch.Field? DestinationIp { get; set; } + + /// + /// + /// Field containing the destination port. + /// + /// + [JsonInclude, JsonPropertyName("destination_port")] + public Elastic.Clients.Elasticsearch.Field? DestinationPort { get; set; } + + /// + /// + /// Field containing the IANA number. + /// + /// + [JsonInclude, JsonPropertyName("iana_number")] + public Elastic.Clients.Elasticsearch.Field? IanaNumber { get; set; } + + /// + /// + /// Field containing the ICMP code. + /// + /// + [JsonInclude, JsonPropertyName("icmp_code")] + public Elastic.Clients.Elasticsearch.Field? IcmpCode { get; set; } + + /// + /// + /// Field containing the ICMP type. + /// + /// + [JsonInclude, JsonPropertyName("icmp_type")] + public Elastic.Clients.Elasticsearch.Field? IcmpType { get; set; } + + /// + /// + /// Conditionally execute the processor. + /// + /// + [JsonInclude, JsonPropertyName("if")] + public string? If { get; set; } + + /// + /// + /// Ignore failures for the processor. + /// + /// + [JsonInclude, JsonPropertyName("ignore_failure")] + public bool? IgnoreFailure { get; set; } + + /// + /// + /// If true and any required fields are missing, the processor quietly exits + /// without modifying the document. + /// + /// + [JsonInclude, JsonPropertyName("ignore_missing")] + public bool? IgnoreMissing { get; set; } + + /// + /// + /// Handle failures for the processor. + /// + /// + [JsonInclude, JsonPropertyName("on_failure")] + public ICollection? OnFailure { get; set; } + + /// + /// + /// Seed for the community ID hash. Must be between 0 and 65535 (inclusive). The + /// seed can prevent hash collisions between network domains, such as a staging + /// and production network that use the same addressing scheme. + /// + /// + [JsonInclude, JsonPropertyName("seed")] + public int? Seed { get; set; } + + /// + /// + /// Field containing the source IP address. + /// + /// + [JsonInclude, JsonPropertyName("source_ip")] + public Elastic.Clients.Elasticsearch.Field? SourceIp { get; set; } + + /// + /// + /// Field containing the source port. + /// + /// + [JsonInclude, JsonPropertyName("source_port")] + public Elastic.Clients.Elasticsearch.Field? SourcePort { get; set; } + + /// + /// + /// Identifier for the processor. + /// Useful for debugging and metrics. + /// + /// + [JsonInclude, JsonPropertyName("tag")] + public string? Tag { get; set; } + + /// + /// + /// Output field for the community ID. + /// + /// + [JsonInclude, JsonPropertyName("target_field")] + public Elastic.Clients.Elasticsearch.Field? TargetField { get; set; } + + /// + /// + /// Field containing the transport protocol name or number. Used only when the + /// iana_number field is not present. The following protocol names are currently + /// supported: eigrp, gre, icmp, icmpv6, igmp, ipv6-icmp, ospf, pim, sctp, tcp, udp + /// + /// + [JsonInclude, JsonPropertyName("transport")] + public Elastic.Clients.Elasticsearch.Field? Transport { get; set; } + + public static implicit operator Elastic.Clients.Elasticsearch.Ingest.Processor(CommunityIDProcessor communityIDProcessor) => Elastic.Clients.Elasticsearch.Ingest.Processor.CommunityId(communityIDProcessor); +} + +public sealed partial class CommunityIDProcessorDescriptor : SerializableDescriptor> +{ + internal CommunityIDProcessorDescriptor(Action> configure) => configure.Invoke(this); + + public CommunityIDProcessorDescriptor() : base() + { + } + + private string? DescriptionValue { get; set; } + private Elastic.Clients.Elasticsearch.Field? DestinationIpValue { get; set; } + private Elastic.Clients.Elasticsearch.Field? DestinationPortValue { get; set; } + private Elastic.Clients.Elasticsearch.Field? IanaNumberValue { get; set; } + private Elastic.Clients.Elasticsearch.Field? IcmpCodeValue { get; set; } + private Elastic.Clients.Elasticsearch.Field? IcmpTypeValue { get; set; } + private string? IfValue { get; set; } + private bool? IgnoreFailureValue { get; set; } + private bool? IgnoreMissingValue { get; set; } + private ICollection? OnFailureValue { get; set; } + private Elastic.Clients.Elasticsearch.Ingest.ProcessorDescriptor OnFailureDescriptor { get; set; } + private Action> OnFailureDescriptorAction { get; set; } + private Action>[] OnFailureDescriptorActions { get; set; } + private int? SeedValue { get; set; } + private Elastic.Clients.Elasticsearch.Field? SourceIpValue { get; set; } + private Elastic.Clients.Elasticsearch.Field? SourcePortValue { get; set; } + private string? TagValue { get; set; } + private Elastic.Clients.Elasticsearch.Field? TargetFieldValue { get; set; } + private Elastic.Clients.Elasticsearch.Field? TransportValue { get; set; } + + /// + /// + /// Description of the processor. + /// Useful for describing the purpose of the processor or its configuration. + /// + /// + public CommunityIDProcessorDescriptor Description(string? description) + { + DescriptionValue = description; + return Self; + } + + /// + /// + /// Field containing the destination IP address. + /// + /// + public CommunityIDProcessorDescriptor DestinationIp(Elastic.Clients.Elasticsearch.Field? destinationIp) + { + DestinationIpValue = destinationIp; + return Self; + } + + /// + /// + /// Field containing the destination IP address. + /// + /// + public CommunityIDProcessorDescriptor DestinationIp(Expression> destinationIp) + { + DestinationIpValue = destinationIp; + return Self; + } + + /// + /// + /// Field containing the destination IP address. + /// + /// + public CommunityIDProcessorDescriptor DestinationIp(Expression> destinationIp) + { + DestinationIpValue = destinationIp; + return Self; + } + + /// + /// + /// Field containing the destination port. + /// + /// + public CommunityIDProcessorDescriptor DestinationPort(Elastic.Clients.Elasticsearch.Field? destinationPort) + { + DestinationPortValue = destinationPort; + return Self; + } + + /// + /// + /// Field containing the destination port. + /// + /// + public CommunityIDProcessorDescriptor DestinationPort(Expression> destinationPort) + { + DestinationPortValue = destinationPort; + return Self; + } + + /// + /// + /// Field containing the destination port. + /// + /// + public CommunityIDProcessorDescriptor DestinationPort(Expression> destinationPort) + { + DestinationPortValue = destinationPort; + return Self; + } + + /// + /// + /// Field containing the IANA number. + /// + /// + public CommunityIDProcessorDescriptor IanaNumber(Elastic.Clients.Elasticsearch.Field? ianaNumber) + { + IanaNumberValue = ianaNumber; + return Self; + } + + /// + /// + /// Field containing the IANA number. + /// + /// + public CommunityIDProcessorDescriptor IanaNumber(Expression> ianaNumber) + { + IanaNumberValue = ianaNumber; + return Self; + } + + /// + /// + /// Field containing the IANA number. + /// + /// + public CommunityIDProcessorDescriptor IanaNumber(Expression> ianaNumber) + { + IanaNumberValue = ianaNumber; + return Self; + } + + /// + /// + /// Field containing the ICMP code. + /// + /// + public CommunityIDProcessorDescriptor IcmpCode(Elastic.Clients.Elasticsearch.Field? icmpCode) + { + IcmpCodeValue = icmpCode; + return Self; + } + + /// + /// + /// Field containing the ICMP code. + /// + /// + public CommunityIDProcessorDescriptor IcmpCode(Expression> icmpCode) + { + IcmpCodeValue = icmpCode; + return Self; + } + + /// + /// + /// Field containing the ICMP code. + /// + /// + public CommunityIDProcessorDescriptor IcmpCode(Expression> icmpCode) + { + IcmpCodeValue = icmpCode; + return Self; + } + + /// + /// + /// Field containing the ICMP type. + /// + /// + public CommunityIDProcessorDescriptor IcmpType(Elastic.Clients.Elasticsearch.Field? icmpType) + { + IcmpTypeValue = icmpType; + return Self; + } + + /// + /// + /// Field containing the ICMP type. + /// + /// + public CommunityIDProcessorDescriptor IcmpType(Expression> icmpType) + { + IcmpTypeValue = icmpType; + return Self; + } + + /// + /// + /// Field containing the ICMP type. + /// + /// + public CommunityIDProcessorDescriptor IcmpType(Expression> icmpType) + { + IcmpTypeValue = icmpType; + return Self; + } + + /// + /// + /// Conditionally execute the processor. + /// + /// + public CommunityIDProcessorDescriptor If(string? value) + { + IfValue = value; + return Self; + } + + /// + /// + /// Ignore failures for the processor. + /// + /// + public CommunityIDProcessorDescriptor IgnoreFailure(bool? ignoreFailure = true) + { + IgnoreFailureValue = ignoreFailure; + return Self; + } + + /// + /// + /// If true and any required fields are missing, the processor quietly exits + /// without modifying the document. + /// + /// + public CommunityIDProcessorDescriptor IgnoreMissing(bool? ignoreMissing = true) + { + IgnoreMissingValue = ignoreMissing; + return Self; + } + + /// + /// + /// Handle failures for the processor. + /// + /// + public CommunityIDProcessorDescriptor OnFailure(ICollection? onFailure) + { + OnFailureDescriptor = null; + OnFailureDescriptorAction = null; + OnFailureDescriptorActions = null; + OnFailureValue = onFailure; + return Self; + } + + public CommunityIDProcessorDescriptor OnFailure(Elastic.Clients.Elasticsearch.Ingest.ProcessorDescriptor descriptor) + { + OnFailureValue = null; + OnFailureDescriptorAction = null; + OnFailureDescriptorActions = null; + OnFailureDescriptor = descriptor; + return Self; + } + + public CommunityIDProcessorDescriptor OnFailure(Action> configure) + { + OnFailureValue = null; + OnFailureDescriptor = null; + OnFailureDescriptorActions = null; + OnFailureDescriptorAction = configure; + return Self; + } + + public CommunityIDProcessorDescriptor OnFailure(params Action>[] configure) + { + OnFailureValue = null; + OnFailureDescriptor = null; + OnFailureDescriptorAction = null; + OnFailureDescriptorActions = configure; + return Self; + } + + /// + /// + /// Seed for the community ID hash. Must be between 0 and 65535 (inclusive). The + /// seed can prevent hash collisions between network domains, such as a staging + /// and production network that use the same addressing scheme. + /// + /// + public CommunityIDProcessorDescriptor Seed(int? seed) + { + SeedValue = seed; + return Self; + } + + /// + /// + /// Field containing the source IP address. + /// + /// + public CommunityIDProcessorDescriptor SourceIp(Elastic.Clients.Elasticsearch.Field? sourceIp) + { + SourceIpValue = sourceIp; + return Self; + } + + /// + /// + /// Field containing the source IP address. + /// + /// + public CommunityIDProcessorDescriptor SourceIp(Expression> sourceIp) + { + SourceIpValue = sourceIp; + return Self; + } + + /// + /// + /// Field containing the source IP address. + /// + /// + public CommunityIDProcessorDescriptor SourceIp(Expression> sourceIp) + { + SourceIpValue = sourceIp; + return Self; + } + + /// + /// + /// Field containing the source port. + /// + /// + public CommunityIDProcessorDescriptor SourcePort(Elastic.Clients.Elasticsearch.Field? sourcePort) + { + SourcePortValue = sourcePort; + return Self; + } + + /// + /// + /// Field containing the source port. + /// + /// + public CommunityIDProcessorDescriptor SourcePort(Expression> sourcePort) + { + SourcePortValue = sourcePort; + return Self; + } + + /// + /// + /// Field containing the source port. + /// + /// + public CommunityIDProcessorDescriptor SourcePort(Expression> sourcePort) + { + SourcePortValue = sourcePort; + return Self; + } + + /// + /// + /// Identifier for the processor. + /// Useful for debugging and metrics. + /// + /// + public CommunityIDProcessorDescriptor Tag(string? tag) + { + TagValue = tag; + return Self; + } + + /// + /// + /// Output field for the community ID. + /// + /// + public CommunityIDProcessorDescriptor TargetField(Elastic.Clients.Elasticsearch.Field? targetField) + { + TargetFieldValue = targetField; + return Self; + } + + /// + /// + /// Output field for the community ID. + /// + /// + public CommunityIDProcessorDescriptor TargetField(Expression> targetField) + { + TargetFieldValue = targetField; + return Self; + } + + /// + /// + /// Output field for the community ID. + /// + /// + public CommunityIDProcessorDescriptor TargetField(Expression> targetField) + { + TargetFieldValue = targetField; + return Self; + } + + /// + /// + /// Field containing the transport protocol name or number. Used only when the + /// iana_number field is not present. The following protocol names are currently + /// supported: eigrp, gre, icmp, icmpv6, igmp, ipv6-icmp, ospf, pim, sctp, tcp, udp + /// + /// + public CommunityIDProcessorDescriptor Transport(Elastic.Clients.Elasticsearch.Field? transport) + { + TransportValue = transport; + return Self; + } + + /// + /// + /// Field containing the transport protocol name or number. Used only when the + /// iana_number field is not present. The following protocol names are currently + /// supported: eigrp, gre, icmp, icmpv6, igmp, ipv6-icmp, ospf, pim, sctp, tcp, udp + /// + /// + public CommunityIDProcessorDescriptor Transport(Expression> transport) + { + TransportValue = transport; + return Self; + } + + /// + /// + /// Field containing the transport protocol name or number. Used only when the + /// iana_number field is not present. The following protocol names are currently + /// supported: eigrp, gre, icmp, icmpv6, igmp, ipv6-icmp, ospf, pim, sctp, tcp, udp + /// + /// + public CommunityIDProcessorDescriptor Transport(Expression> transport) + { + TransportValue = transport; + return Self; + } + + protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) + { + writer.WriteStartObject(); + if (!string.IsNullOrEmpty(DescriptionValue)) + { + writer.WritePropertyName("description"); + writer.WriteStringValue(DescriptionValue); + } + + if (DestinationIpValue is not null) + { + writer.WritePropertyName("destination_ip"); + JsonSerializer.Serialize(writer, DestinationIpValue, options); + } + + if (DestinationPortValue is not null) + { + writer.WritePropertyName("destination_port"); + JsonSerializer.Serialize(writer, DestinationPortValue, options); + } + + if (IanaNumberValue is not null) + { + writer.WritePropertyName("iana_number"); + JsonSerializer.Serialize(writer, IanaNumberValue, options); + } + + if (IcmpCodeValue is not null) + { + writer.WritePropertyName("icmp_code"); + JsonSerializer.Serialize(writer, IcmpCodeValue, options); + } + + if (IcmpTypeValue is not null) + { + writer.WritePropertyName("icmp_type"); + JsonSerializer.Serialize(writer, IcmpTypeValue, options); + } + + if (!string.IsNullOrEmpty(IfValue)) + { + writer.WritePropertyName("if"); + writer.WriteStringValue(IfValue); + } + + if (IgnoreFailureValue.HasValue) + { + writer.WritePropertyName("ignore_failure"); + writer.WriteBooleanValue(IgnoreFailureValue.Value); + } + + if (IgnoreMissingValue.HasValue) + { + writer.WritePropertyName("ignore_missing"); + writer.WriteBooleanValue(IgnoreMissingValue.Value); + } + + if (OnFailureDescriptor is not null) + { + writer.WritePropertyName("on_failure"); + writer.WriteStartArray(); + JsonSerializer.Serialize(writer, OnFailureDescriptor, options); + writer.WriteEndArray(); + } + else if (OnFailureDescriptorAction is not null) + { + writer.WritePropertyName("on_failure"); + writer.WriteStartArray(); + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.Ingest.ProcessorDescriptor(OnFailureDescriptorAction), options); + writer.WriteEndArray(); + } + else if (OnFailureDescriptorActions is not null) + { + writer.WritePropertyName("on_failure"); + writer.WriteStartArray(); + foreach (var action in OnFailureDescriptorActions) + { + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.Ingest.ProcessorDescriptor(action), options); + } + + writer.WriteEndArray(); + } + else if (OnFailureValue is not null) + { + writer.WritePropertyName("on_failure"); + JsonSerializer.Serialize(writer, OnFailureValue, options); + } + + if (SeedValue.HasValue) + { + writer.WritePropertyName("seed"); + writer.WriteNumberValue(SeedValue.Value); + } + + if (SourceIpValue is not null) + { + writer.WritePropertyName("source_ip"); + JsonSerializer.Serialize(writer, SourceIpValue, options); + } + + if (SourcePortValue is not null) + { + writer.WritePropertyName("source_port"); + JsonSerializer.Serialize(writer, SourcePortValue, options); + } + + if (!string.IsNullOrEmpty(TagValue)) + { + writer.WritePropertyName("tag"); + writer.WriteStringValue(TagValue); + } + + if (TargetFieldValue is not null) + { + writer.WritePropertyName("target_field"); + JsonSerializer.Serialize(writer, TargetFieldValue, options); + } + + if (TransportValue is not null) + { + writer.WritePropertyName("transport"); + JsonSerializer.Serialize(writer, TransportValue, options); + } + + writer.WriteEndObject(); + } +} + +public sealed partial class CommunityIDProcessorDescriptor : SerializableDescriptor +{ + internal CommunityIDProcessorDescriptor(Action configure) => configure.Invoke(this); + + public CommunityIDProcessorDescriptor() : base() + { + } + + private string? DescriptionValue { get; set; } + private Elastic.Clients.Elasticsearch.Field? DestinationIpValue { get; set; } + private Elastic.Clients.Elasticsearch.Field? DestinationPortValue { get; set; } + private Elastic.Clients.Elasticsearch.Field? IanaNumberValue { get; set; } + private Elastic.Clients.Elasticsearch.Field? IcmpCodeValue { get; set; } + private Elastic.Clients.Elasticsearch.Field? IcmpTypeValue { get; set; } + private string? IfValue { get; set; } + private bool? IgnoreFailureValue { get; set; } + private bool? IgnoreMissingValue { get; set; } + private ICollection? OnFailureValue { get; set; } + private Elastic.Clients.Elasticsearch.Ingest.ProcessorDescriptor OnFailureDescriptor { get; set; } + private Action OnFailureDescriptorAction { get; set; } + private Action[] OnFailureDescriptorActions { get; set; } + private int? SeedValue { get; set; } + private Elastic.Clients.Elasticsearch.Field? SourceIpValue { get; set; } + private Elastic.Clients.Elasticsearch.Field? SourcePortValue { get; set; } + private string? TagValue { get; set; } + private Elastic.Clients.Elasticsearch.Field? TargetFieldValue { get; set; } + private Elastic.Clients.Elasticsearch.Field? TransportValue { get; set; } + + /// + /// + /// Description of the processor. + /// Useful for describing the purpose of the processor or its configuration. + /// + /// + public CommunityIDProcessorDescriptor Description(string? description) + { + DescriptionValue = description; + return Self; + } + + /// + /// + /// Field containing the destination IP address. + /// + /// + public CommunityIDProcessorDescriptor DestinationIp(Elastic.Clients.Elasticsearch.Field? destinationIp) + { + DestinationIpValue = destinationIp; + return Self; + } + + /// + /// + /// Field containing the destination IP address. + /// + /// + public CommunityIDProcessorDescriptor DestinationIp(Expression> destinationIp) + { + DestinationIpValue = destinationIp; + return Self; + } + + /// + /// + /// Field containing the destination IP address. + /// + /// + public CommunityIDProcessorDescriptor DestinationIp(Expression> destinationIp) + { + DestinationIpValue = destinationIp; + return Self; + } + + /// + /// + /// Field containing the destination port. + /// + /// + public CommunityIDProcessorDescriptor DestinationPort(Elastic.Clients.Elasticsearch.Field? destinationPort) + { + DestinationPortValue = destinationPort; + return Self; + } + + /// + /// + /// Field containing the destination port. + /// + /// + public CommunityIDProcessorDescriptor DestinationPort(Expression> destinationPort) + { + DestinationPortValue = destinationPort; + return Self; + } + + /// + /// + /// Field containing the destination port. + /// + /// + public CommunityIDProcessorDescriptor DestinationPort(Expression> destinationPort) + { + DestinationPortValue = destinationPort; + return Self; + } + + /// + /// + /// Field containing the IANA number. + /// + /// + public CommunityIDProcessorDescriptor IanaNumber(Elastic.Clients.Elasticsearch.Field? ianaNumber) + { + IanaNumberValue = ianaNumber; + return Self; + } + + /// + /// + /// Field containing the IANA number. + /// + /// + public CommunityIDProcessorDescriptor IanaNumber(Expression> ianaNumber) + { + IanaNumberValue = ianaNumber; + return Self; + } + + /// + /// + /// Field containing the IANA number. + /// + /// + public CommunityIDProcessorDescriptor IanaNumber(Expression> ianaNumber) + { + IanaNumberValue = ianaNumber; + return Self; + } + + /// + /// + /// Field containing the ICMP code. + /// + /// + public CommunityIDProcessorDescriptor IcmpCode(Elastic.Clients.Elasticsearch.Field? icmpCode) + { + IcmpCodeValue = icmpCode; + return Self; + } + + /// + /// + /// Field containing the ICMP code. + /// + /// + public CommunityIDProcessorDescriptor IcmpCode(Expression> icmpCode) + { + IcmpCodeValue = icmpCode; + return Self; + } + + /// + /// + /// Field containing the ICMP code. + /// + /// + public CommunityIDProcessorDescriptor IcmpCode(Expression> icmpCode) + { + IcmpCodeValue = icmpCode; + return Self; + } + + /// + /// + /// Field containing the ICMP type. + /// + /// + public CommunityIDProcessorDescriptor IcmpType(Elastic.Clients.Elasticsearch.Field? icmpType) + { + IcmpTypeValue = icmpType; + return Self; + } + + /// + /// + /// Field containing the ICMP type. + /// + /// + public CommunityIDProcessorDescriptor IcmpType(Expression> icmpType) + { + IcmpTypeValue = icmpType; + return Self; + } + + /// + /// + /// Field containing the ICMP type. + /// + /// + public CommunityIDProcessorDescriptor IcmpType(Expression> icmpType) + { + IcmpTypeValue = icmpType; + return Self; + } + + /// + /// + /// Conditionally execute the processor. + /// + /// + public CommunityIDProcessorDescriptor If(string? value) + { + IfValue = value; + return Self; + } + + /// + /// + /// Ignore failures for the processor. + /// + /// + public CommunityIDProcessorDescriptor IgnoreFailure(bool? ignoreFailure = true) + { + IgnoreFailureValue = ignoreFailure; + return Self; + } + + /// + /// + /// If true and any required fields are missing, the processor quietly exits + /// without modifying the document. + /// + /// + public CommunityIDProcessorDescriptor IgnoreMissing(bool? ignoreMissing = true) + { + IgnoreMissingValue = ignoreMissing; + return Self; + } + + /// + /// + /// Handle failures for the processor. + /// + /// + public CommunityIDProcessorDescriptor OnFailure(ICollection? onFailure) + { + OnFailureDescriptor = null; + OnFailureDescriptorAction = null; + OnFailureDescriptorActions = null; + OnFailureValue = onFailure; + return Self; + } + + public CommunityIDProcessorDescriptor OnFailure(Elastic.Clients.Elasticsearch.Ingest.ProcessorDescriptor descriptor) + { + OnFailureValue = null; + OnFailureDescriptorAction = null; + OnFailureDescriptorActions = null; + OnFailureDescriptor = descriptor; + return Self; + } + + public CommunityIDProcessorDescriptor OnFailure(Action configure) + { + OnFailureValue = null; + OnFailureDescriptor = null; + OnFailureDescriptorActions = null; + OnFailureDescriptorAction = configure; + return Self; + } + + public CommunityIDProcessorDescriptor OnFailure(params Action[] configure) + { + OnFailureValue = null; + OnFailureDescriptor = null; + OnFailureDescriptorAction = null; + OnFailureDescriptorActions = configure; + return Self; + } + + /// + /// + /// Seed for the community ID hash. Must be between 0 and 65535 (inclusive). The + /// seed can prevent hash collisions between network domains, such as a staging + /// and production network that use the same addressing scheme. + /// + /// + public CommunityIDProcessorDescriptor Seed(int? seed) + { + SeedValue = seed; + return Self; + } + + /// + /// + /// Field containing the source IP address. + /// + /// + public CommunityIDProcessorDescriptor SourceIp(Elastic.Clients.Elasticsearch.Field? sourceIp) + { + SourceIpValue = sourceIp; + return Self; + } + + /// + /// + /// Field containing the source IP address. + /// + /// + public CommunityIDProcessorDescriptor SourceIp(Expression> sourceIp) + { + SourceIpValue = sourceIp; + return Self; + } + + /// + /// + /// Field containing the source IP address. + /// + /// + public CommunityIDProcessorDescriptor SourceIp(Expression> sourceIp) + { + SourceIpValue = sourceIp; + return Self; + } + + /// + /// + /// Field containing the source port. + /// + /// + public CommunityIDProcessorDescriptor SourcePort(Elastic.Clients.Elasticsearch.Field? sourcePort) + { + SourcePortValue = sourcePort; + return Self; + } + + /// + /// + /// Field containing the source port. + /// + /// + public CommunityIDProcessorDescriptor SourcePort(Expression> sourcePort) + { + SourcePortValue = sourcePort; + return Self; + } + + /// + /// + /// Field containing the source port. + /// + /// + public CommunityIDProcessorDescriptor SourcePort(Expression> sourcePort) + { + SourcePortValue = sourcePort; + return Self; + } + + /// + /// + /// Identifier for the processor. + /// Useful for debugging and metrics. + /// + /// + public CommunityIDProcessorDescriptor Tag(string? tag) + { + TagValue = tag; + return Self; + } + + /// + /// + /// Output field for the community ID. + /// + /// + public CommunityIDProcessorDescriptor TargetField(Elastic.Clients.Elasticsearch.Field? targetField) + { + TargetFieldValue = targetField; + return Self; + } + + /// + /// + /// Output field for the community ID. + /// + /// + public CommunityIDProcessorDescriptor TargetField(Expression> targetField) + { + TargetFieldValue = targetField; + return Self; + } + + /// + /// + /// Output field for the community ID. + /// + /// + public CommunityIDProcessorDescriptor TargetField(Expression> targetField) + { + TargetFieldValue = targetField; + return Self; + } + + /// + /// + /// Field containing the transport protocol name or number. Used only when the + /// iana_number field is not present. The following protocol names are currently + /// supported: eigrp, gre, icmp, icmpv6, igmp, ipv6-icmp, ospf, pim, sctp, tcp, udp + /// + /// + public CommunityIDProcessorDescriptor Transport(Elastic.Clients.Elasticsearch.Field? transport) + { + TransportValue = transport; + return Self; + } + + /// + /// + /// Field containing the transport protocol name or number. Used only when the + /// iana_number field is not present. The following protocol names are currently + /// supported: eigrp, gre, icmp, icmpv6, igmp, ipv6-icmp, ospf, pim, sctp, tcp, udp + /// + /// + public CommunityIDProcessorDescriptor Transport(Expression> transport) + { + TransportValue = transport; + return Self; + } + + /// + /// + /// Field containing the transport protocol name or number. Used only when the + /// iana_number field is not present. The following protocol names are currently + /// supported: eigrp, gre, icmp, icmpv6, igmp, ipv6-icmp, ospf, pim, sctp, tcp, udp + /// + /// + public CommunityIDProcessorDescriptor Transport(Expression> transport) + { + TransportValue = transport; + return Self; + } + + protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) + { + writer.WriteStartObject(); + if (!string.IsNullOrEmpty(DescriptionValue)) + { + writer.WritePropertyName("description"); + writer.WriteStringValue(DescriptionValue); + } + + if (DestinationIpValue is not null) + { + writer.WritePropertyName("destination_ip"); + JsonSerializer.Serialize(writer, DestinationIpValue, options); + } + + if (DestinationPortValue is not null) + { + writer.WritePropertyName("destination_port"); + JsonSerializer.Serialize(writer, DestinationPortValue, options); + } + + if (IanaNumberValue is not null) + { + writer.WritePropertyName("iana_number"); + JsonSerializer.Serialize(writer, IanaNumberValue, options); + } + + if (IcmpCodeValue is not null) + { + writer.WritePropertyName("icmp_code"); + JsonSerializer.Serialize(writer, IcmpCodeValue, options); + } + + if (IcmpTypeValue is not null) + { + writer.WritePropertyName("icmp_type"); + JsonSerializer.Serialize(writer, IcmpTypeValue, options); + } + + if (!string.IsNullOrEmpty(IfValue)) + { + writer.WritePropertyName("if"); + writer.WriteStringValue(IfValue); + } + + if (IgnoreFailureValue.HasValue) + { + writer.WritePropertyName("ignore_failure"); + writer.WriteBooleanValue(IgnoreFailureValue.Value); + } + + if (IgnoreMissingValue.HasValue) + { + writer.WritePropertyName("ignore_missing"); + writer.WriteBooleanValue(IgnoreMissingValue.Value); + } + + if (OnFailureDescriptor is not null) + { + writer.WritePropertyName("on_failure"); + writer.WriteStartArray(); + JsonSerializer.Serialize(writer, OnFailureDescriptor, options); + writer.WriteEndArray(); + } + else if (OnFailureDescriptorAction is not null) + { + writer.WritePropertyName("on_failure"); + writer.WriteStartArray(); + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.Ingest.ProcessorDescriptor(OnFailureDescriptorAction), options); + writer.WriteEndArray(); + } + else if (OnFailureDescriptorActions is not null) + { + writer.WritePropertyName("on_failure"); + writer.WriteStartArray(); + foreach (var action in OnFailureDescriptorActions) + { + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.Ingest.ProcessorDescriptor(action), options); + } + + writer.WriteEndArray(); + } + else if (OnFailureValue is not null) + { + writer.WritePropertyName("on_failure"); + JsonSerializer.Serialize(writer, OnFailureValue, options); + } + + if (SeedValue.HasValue) + { + writer.WritePropertyName("seed"); + writer.WriteNumberValue(SeedValue.Value); + } + + if (SourceIpValue is not null) + { + writer.WritePropertyName("source_ip"); + JsonSerializer.Serialize(writer, SourceIpValue, options); + } + + if (SourcePortValue is not null) + { + writer.WritePropertyName("source_port"); + JsonSerializer.Serialize(writer, SourcePortValue, options); + } + + if (!string.IsNullOrEmpty(TagValue)) + { + writer.WritePropertyName("tag"); + writer.WriteStringValue(TagValue); + } + + if (TargetFieldValue is not null) + { + writer.WritePropertyName("target_field"); + JsonSerializer.Serialize(writer, TargetFieldValue, options); + } + + if (TransportValue is not null) + { + writer.WritePropertyName("transport"); + JsonSerializer.Serialize(writer, TransportValue, options); + } + + writer.WriteEndObject(); + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/DateProcessor.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/DateProcessor.g.cs index cc093530e31..c74aa779235 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/DateProcessor.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/DateProcessor.g.cs @@ -88,6 +88,15 @@ public sealed partial class DateProcessor [JsonInclude, JsonPropertyName("on_failure")] public ICollection? OnFailure { get; set; } + /// + /// + /// The format to use when writing the date to target_field. Must be a valid + /// java time pattern. + /// + /// + [JsonInclude, JsonPropertyName("output_format")] + public string? OutputFormat { get; set; } + /// /// /// Identifier for the processor. @@ -135,6 +144,7 @@ public DateProcessorDescriptor() : base() private Elastic.Clients.Elasticsearch.Ingest.ProcessorDescriptor OnFailureDescriptor { get; set; } private Action> OnFailureDescriptorAction { get; set; } private Action>[] OnFailureDescriptorActions { get; set; } + private string? OutputFormatValue { get; set; } private string? TagValue { get; set; } private Elastic.Clients.Elasticsearch.Field? TargetFieldValue { get; set; } private string? TimezoneValue { get; set; } @@ -271,6 +281,18 @@ public DateProcessorDescriptor OnFailure(params Action + /// + /// The format to use when writing the date to target_field. Must be a valid + /// java time pattern. + /// + /// + public DateProcessorDescriptor OutputFormat(string? outputFormat) + { + OutputFormatValue = outputFormat; + return Self; + } + /// /// /// Identifier for the processor. @@ -390,6 +412,12 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o JsonSerializer.Serialize(writer, OnFailureValue, options); } + if (!string.IsNullOrEmpty(OutputFormatValue)) + { + writer.WritePropertyName("output_format"); + writer.WriteStringValue(OutputFormatValue); + } + if (!string.IsNullOrEmpty(TagValue)) { writer.WritePropertyName("tag"); @@ -430,6 +458,7 @@ public DateProcessorDescriptor() : base() private Elastic.Clients.Elasticsearch.Ingest.ProcessorDescriptor OnFailureDescriptor { get; set; } private Action OnFailureDescriptorAction { get; set; } private Action[] OnFailureDescriptorActions { get; set; } + private string? OutputFormatValue { get; set; } private string? TagValue { get; set; } private Elastic.Clients.Elasticsearch.Field? TargetFieldValue { get; set; } private string? TimezoneValue { get; set; } @@ -566,6 +595,18 @@ public DateProcessorDescriptor OnFailure(params Action + /// + /// The format to use when writing the date to target_field. Must be a valid + /// java time pattern. + /// + /// + public DateProcessorDescriptor OutputFormat(string? outputFormat) + { + OutputFormatValue = outputFormat; + return Self; + } + /// /// /// Identifier for the processor. @@ -685,6 +726,12 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o JsonSerializer.Serialize(writer, OnFailureValue, options); } + if (!string.IsNullOrEmpty(OutputFormatValue)) + { + writer.WritePropertyName("output_format"); + writer.WriteStringValue(OutputFormatValue); + } + if (!string.IsNullOrEmpty(TagValue)) { writer.WritePropertyName("tag"); diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/FingerprintProcessor.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/FingerprintProcessor.g.cs new file mode 100644 index 00000000000..1242f11c013 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/FingerprintProcessor.g.cs @@ -0,0 +1,676 @@ +// 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 Elastic.Clients.Elasticsearch.Fluent; +using Elastic.Clients.Elasticsearch.Serialization; +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +namespace Elastic.Clients.Elasticsearch.Ingest; + +public sealed partial class FingerprintProcessor +{ + /// + /// + /// Description of the processor. + /// Useful for describing the purpose of the processor or its configuration. + /// + /// + [JsonInclude, JsonPropertyName("description")] + public string? Description { get; set; } + + /// + /// + /// Array of fields to include in the fingerprint. For objects, the processor + /// hashes both the field key and value. For other fields, the processor hashes + /// only the field value. + /// + /// + [JsonInclude, JsonPropertyName("fields")] + [JsonConverter(typeof(SingleOrManyFieldsConverter))] + public Elastic.Clients.Elasticsearch.Fields Fields { get; set; } + + /// + /// + /// Conditionally execute the processor. + /// + /// + [JsonInclude, JsonPropertyName("if")] + public string? If { get; set; } + + /// + /// + /// Ignore failures for the processor. + /// + /// + [JsonInclude, JsonPropertyName("ignore_failure")] + public bool? IgnoreFailure { get; set; } + + /// + /// + /// If true, the processor ignores any missing fields. If all fields are + /// missing, the processor silently exits without modifying the document. + /// + /// + [JsonInclude, JsonPropertyName("ignore_missing")] + public bool? IgnoreMissing { get; set; } + + /// + /// + /// The hash method used to compute the fingerprint. Must be one of MD5, SHA-1, + /// SHA-256, SHA-512, or MurmurHash3. + /// + /// + [JsonInclude, JsonPropertyName("method")] + public Elastic.Clients.Elasticsearch.Ingest.FingerprintDigest? Method { get; set; } + + /// + /// + /// Handle failures for the processor. + /// + /// + [JsonInclude, JsonPropertyName("on_failure")] + public ICollection? OnFailure { get; set; } + + /// + /// + /// Salt value for the hash function. + /// + /// + [JsonInclude, JsonPropertyName("salt")] + public string? Salt { get; set; } + + /// + /// + /// Identifier for the processor. + /// Useful for debugging and metrics. + /// + /// + [JsonInclude, JsonPropertyName("tag")] + public string? Tag { get; set; } + + /// + /// + /// Output field for the fingerprint. + /// + /// + [JsonInclude, JsonPropertyName("target_field")] + public Elastic.Clients.Elasticsearch.Field? TargetField { get; set; } + + public static implicit operator Elastic.Clients.Elasticsearch.Ingest.Processor(FingerprintProcessor fingerprintProcessor) => Elastic.Clients.Elasticsearch.Ingest.Processor.Fingerprint(fingerprintProcessor); +} + +public sealed partial class FingerprintProcessorDescriptor : SerializableDescriptor> +{ + internal FingerprintProcessorDescriptor(Action> configure) => configure.Invoke(this); + + public FingerprintProcessorDescriptor() : base() + { + } + + private string? DescriptionValue { get; set; } + private Elastic.Clients.Elasticsearch.Fields FieldsValue { get; set; } + private string? IfValue { get; set; } + private bool? IgnoreFailureValue { get; set; } + private bool? IgnoreMissingValue { get; set; } + private Elastic.Clients.Elasticsearch.Ingest.FingerprintDigest? MethodValue { get; set; } + private ICollection? OnFailureValue { get; set; } + private Elastic.Clients.Elasticsearch.Ingest.ProcessorDescriptor OnFailureDescriptor { get; set; } + private Action> OnFailureDescriptorAction { get; set; } + private Action>[] OnFailureDescriptorActions { get; set; } + private string? SaltValue { get; set; } + private string? TagValue { get; set; } + private Elastic.Clients.Elasticsearch.Field? TargetFieldValue { get; set; } + + /// + /// + /// Description of the processor. + /// Useful for describing the purpose of the processor or its configuration. + /// + /// + public FingerprintProcessorDescriptor Description(string? description) + { + DescriptionValue = description; + return Self; + } + + /// + /// + /// Array of fields to include in the fingerprint. For objects, the processor + /// hashes both the field key and value. For other fields, the processor hashes + /// only the field value. + /// + /// + public FingerprintProcessorDescriptor Fields(Elastic.Clients.Elasticsearch.Fields fields) + { + FieldsValue = fields; + return Self; + } + + /// + /// + /// Conditionally execute the processor. + /// + /// + public FingerprintProcessorDescriptor If(string? value) + { + IfValue = value; + return Self; + } + + /// + /// + /// Ignore failures for the processor. + /// + /// + public FingerprintProcessorDescriptor IgnoreFailure(bool? ignoreFailure = true) + { + IgnoreFailureValue = ignoreFailure; + return Self; + } + + /// + /// + /// If true, the processor ignores any missing fields. If all fields are + /// missing, the processor silently exits without modifying the document. + /// + /// + public FingerprintProcessorDescriptor IgnoreMissing(bool? ignoreMissing = true) + { + IgnoreMissingValue = ignoreMissing; + return Self; + } + + /// + /// + /// The hash method used to compute the fingerprint. Must be one of MD5, SHA-1, + /// SHA-256, SHA-512, or MurmurHash3. + /// + /// + public FingerprintProcessorDescriptor Method(Elastic.Clients.Elasticsearch.Ingest.FingerprintDigest? method) + { + MethodValue = method; + return Self; + } + + /// + /// + /// Handle failures for the processor. + /// + /// + public FingerprintProcessorDescriptor OnFailure(ICollection? onFailure) + { + OnFailureDescriptor = null; + OnFailureDescriptorAction = null; + OnFailureDescriptorActions = null; + OnFailureValue = onFailure; + return Self; + } + + public FingerprintProcessorDescriptor OnFailure(Elastic.Clients.Elasticsearch.Ingest.ProcessorDescriptor descriptor) + { + OnFailureValue = null; + OnFailureDescriptorAction = null; + OnFailureDescriptorActions = null; + OnFailureDescriptor = descriptor; + return Self; + } + + public FingerprintProcessorDescriptor OnFailure(Action> configure) + { + OnFailureValue = null; + OnFailureDescriptor = null; + OnFailureDescriptorActions = null; + OnFailureDescriptorAction = configure; + return Self; + } + + public FingerprintProcessorDescriptor OnFailure(params Action>[] configure) + { + OnFailureValue = null; + OnFailureDescriptor = null; + OnFailureDescriptorAction = null; + OnFailureDescriptorActions = configure; + return Self; + } + + /// + /// + /// Salt value for the hash function. + /// + /// + public FingerprintProcessorDescriptor Salt(string? salt) + { + SaltValue = salt; + return Self; + } + + /// + /// + /// Identifier for the processor. + /// Useful for debugging and metrics. + /// + /// + public FingerprintProcessorDescriptor Tag(string? tag) + { + TagValue = tag; + return Self; + } + + /// + /// + /// Output field for the fingerprint. + /// + /// + public FingerprintProcessorDescriptor TargetField(Elastic.Clients.Elasticsearch.Field? targetField) + { + TargetFieldValue = targetField; + return Self; + } + + /// + /// + /// Output field for the fingerprint. + /// + /// + public FingerprintProcessorDescriptor TargetField(Expression> targetField) + { + TargetFieldValue = targetField; + return Self; + } + + /// + /// + /// Output field for the fingerprint. + /// + /// + public FingerprintProcessorDescriptor TargetField(Expression> targetField) + { + TargetFieldValue = targetField; + return Self; + } + + protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) + { + writer.WriteStartObject(); + if (!string.IsNullOrEmpty(DescriptionValue)) + { + writer.WritePropertyName("description"); + writer.WriteStringValue(DescriptionValue); + } + + writer.WritePropertyName("fields"); + JsonSerializer.Serialize(writer, FieldsValue, options); + if (!string.IsNullOrEmpty(IfValue)) + { + writer.WritePropertyName("if"); + writer.WriteStringValue(IfValue); + } + + if (IgnoreFailureValue.HasValue) + { + writer.WritePropertyName("ignore_failure"); + writer.WriteBooleanValue(IgnoreFailureValue.Value); + } + + if (IgnoreMissingValue.HasValue) + { + writer.WritePropertyName("ignore_missing"); + writer.WriteBooleanValue(IgnoreMissingValue.Value); + } + + if (MethodValue is not null) + { + writer.WritePropertyName("method"); + JsonSerializer.Serialize(writer, MethodValue, options); + } + + if (OnFailureDescriptor is not null) + { + writer.WritePropertyName("on_failure"); + writer.WriteStartArray(); + JsonSerializer.Serialize(writer, OnFailureDescriptor, options); + writer.WriteEndArray(); + } + else if (OnFailureDescriptorAction is not null) + { + writer.WritePropertyName("on_failure"); + writer.WriteStartArray(); + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.Ingest.ProcessorDescriptor(OnFailureDescriptorAction), options); + writer.WriteEndArray(); + } + else if (OnFailureDescriptorActions is not null) + { + writer.WritePropertyName("on_failure"); + writer.WriteStartArray(); + foreach (var action in OnFailureDescriptorActions) + { + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.Ingest.ProcessorDescriptor(action), options); + } + + writer.WriteEndArray(); + } + else if (OnFailureValue is not null) + { + writer.WritePropertyName("on_failure"); + JsonSerializer.Serialize(writer, OnFailureValue, options); + } + + if (!string.IsNullOrEmpty(SaltValue)) + { + writer.WritePropertyName("salt"); + writer.WriteStringValue(SaltValue); + } + + if (!string.IsNullOrEmpty(TagValue)) + { + writer.WritePropertyName("tag"); + writer.WriteStringValue(TagValue); + } + + if (TargetFieldValue is not null) + { + writer.WritePropertyName("target_field"); + JsonSerializer.Serialize(writer, TargetFieldValue, options); + } + + writer.WriteEndObject(); + } +} + +public sealed partial class FingerprintProcessorDescriptor : SerializableDescriptor +{ + internal FingerprintProcessorDescriptor(Action configure) => configure.Invoke(this); + + public FingerprintProcessorDescriptor() : base() + { + } + + private string? DescriptionValue { get; set; } + private Elastic.Clients.Elasticsearch.Fields FieldsValue { get; set; } + private string? IfValue { get; set; } + private bool? IgnoreFailureValue { get; set; } + private bool? IgnoreMissingValue { get; set; } + private Elastic.Clients.Elasticsearch.Ingest.FingerprintDigest? MethodValue { get; set; } + private ICollection? OnFailureValue { get; set; } + private Elastic.Clients.Elasticsearch.Ingest.ProcessorDescriptor OnFailureDescriptor { get; set; } + private Action OnFailureDescriptorAction { get; set; } + private Action[] OnFailureDescriptorActions { get; set; } + private string? SaltValue { get; set; } + private string? TagValue { get; set; } + private Elastic.Clients.Elasticsearch.Field? TargetFieldValue { get; set; } + + /// + /// + /// Description of the processor. + /// Useful for describing the purpose of the processor or its configuration. + /// + /// + public FingerprintProcessorDescriptor Description(string? description) + { + DescriptionValue = description; + return Self; + } + + /// + /// + /// Array of fields to include in the fingerprint. For objects, the processor + /// hashes both the field key and value. For other fields, the processor hashes + /// only the field value. + /// + /// + public FingerprintProcessorDescriptor Fields(Elastic.Clients.Elasticsearch.Fields fields) + { + FieldsValue = fields; + return Self; + } + + /// + /// + /// Conditionally execute the processor. + /// + /// + public FingerprintProcessorDescriptor If(string? value) + { + IfValue = value; + return Self; + } + + /// + /// + /// Ignore failures for the processor. + /// + /// + public FingerprintProcessorDescriptor IgnoreFailure(bool? ignoreFailure = true) + { + IgnoreFailureValue = ignoreFailure; + return Self; + } + + /// + /// + /// If true, the processor ignores any missing fields. If all fields are + /// missing, the processor silently exits without modifying the document. + /// + /// + public FingerprintProcessorDescriptor IgnoreMissing(bool? ignoreMissing = true) + { + IgnoreMissingValue = ignoreMissing; + return Self; + } + + /// + /// + /// The hash method used to compute the fingerprint. Must be one of MD5, SHA-1, + /// SHA-256, SHA-512, or MurmurHash3. + /// + /// + public FingerprintProcessorDescriptor Method(Elastic.Clients.Elasticsearch.Ingest.FingerprintDigest? method) + { + MethodValue = method; + return Self; + } + + /// + /// + /// Handle failures for the processor. + /// + /// + public FingerprintProcessorDescriptor OnFailure(ICollection? onFailure) + { + OnFailureDescriptor = null; + OnFailureDescriptorAction = null; + OnFailureDescriptorActions = null; + OnFailureValue = onFailure; + return Self; + } + + public FingerprintProcessorDescriptor OnFailure(Elastic.Clients.Elasticsearch.Ingest.ProcessorDescriptor descriptor) + { + OnFailureValue = null; + OnFailureDescriptorAction = null; + OnFailureDescriptorActions = null; + OnFailureDescriptor = descriptor; + return Self; + } + + public FingerprintProcessorDescriptor OnFailure(Action configure) + { + OnFailureValue = null; + OnFailureDescriptor = null; + OnFailureDescriptorActions = null; + OnFailureDescriptorAction = configure; + return Self; + } + + public FingerprintProcessorDescriptor OnFailure(params Action[] configure) + { + OnFailureValue = null; + OnFailureDescriptor = null; + OnFailureDescriptorAction = null; + OnFailureDescriptorActions = configure; + return Self; + } + + /// + /// + /// Salt value for the hash function. + /// + /// + public FingerprintProcessorDescriptor Salt(string? salt) + { + SaltValue = salt; + return Self; + } + + /// + /// + /// Identifier for the processor. + /// Useful for debugging and metrics. + /// + /// + public FingerprintProcessorDescriptor Tag(string? tag) + { + TagValue = tag; + return Self; + } + + /// + /// + /// Output field for the fingerprint. + /// + /// + public FingerprintProcessorDescriptor TargetField(Elastic.Clients.Elasticsearch.Field? targetField) + { + TargetFieldValue = targetField; + return Self; + } + + /// + /// + /// Output field for the fingerprint. + /// + /// + public FingerprintProcessorDescriptor TargetField(Expression> targetField) + { + TargetFieldValue = targetField; + return Self; + } + + /// + /// + /// Output field for the fingerprint. + /// + /// + public FingerprintProcessorDescriptor TargetField(Expression> targetField) + { + TargetFieldValue = targetField; + return Self; + } + + protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) + { + writer.WriteStartObject(); + if (!string.IsNullOrEmpty(DescriptionValue)) + { + writer.WritePropertyName("description"); + writer.WriteStringValue(DescriptionValue); + } + + writer.WritePropertyName("fields"); + JsonSerializer.Serialize(writer, FieldsValue, options); + if (!string.IsNullOrEmpty(IfValue)) + { + writer.WritePropertyName("if"); + writer.WriteStringValue(IfValue); + } + + if (IgnoreFailureValue.HasValue) + { + writer.WritePropertyName("ignore_failure"); + writer.WriteBooleanValue(IgnoreFailureValue.Value); + } + + if (IgnoreMissingValue.HasValue) + { + writer.WritePropertyName("ignore_missing"); + writer.WriteBooleanValue(IgnoreMissingValue.Value); + } + + if (MethodValue is not null) + { + writer.WritePropertyName("method"); + JsonSerializer.Serialize(writer, MethodValue, options); + } + + if (OnFailureDescriptor is not null) + { + writer.WritePropertyName("on_failure"); + writer.WriteStartArray(); + JsonSerializer.Serialize(writer, OnFailureDescriptor, options); + writer.WriteEndArray(); + } + else if (OnFailureDescriptorAction is not null) + { + writer.WritePropertyName("on_failure"); + writer.WriteStartArray(); + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.Ingest.ProcessorDescriptor(OnFailureDescriptorAction), options); + writer.WriteEndArray(); + } + else if (OnFailureDescriptorActions is not null) + { + writer.WritePropertyName("on_failure"); + writer.WriteStartArray(); + foreach (var action in OnFailureDescriptorActions) + { + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.Ingest.ProcessorDescriptor(action), options); + } + + writer.WriteEndArray(); + } + else if (OnFailureValue is not null) + { + writer.WritePropertyName("on_failure"); + JsonSerializer.Serialize(writer, OnFailureValue, options); + } + + if (!string.IsNullOrEmpty(SaltValue)) + { + writer.WritePropertyName("salt"); + writer.WriteStringValue(SaltValue); + } + + if (!string.IsNullOrEmpty(TagValue)) + { + writer.WritePropertyName("tag"); + writer.WriteStringValue(TagValue); + } + + if (TargetFieldValue is not null) + { + writer.WritePropertyName("target_field"); + JsonSerializer.Serialize(writer, TargetFieldValue, options); + } + + writer.WriteEndObject(); + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/GrokProcessor.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/GrokProcessor.g.cs index 07e9afcca33..f7948688c86 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/GrokProcessor.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/GrokProcessor.g.cs @@ -38,6 +38,15 @@ public sealed partial class GrokProcessor [JsonInclude, JsonPropertyName("description")] public string? Description { get; set; } + /// + /// + /// Must be disabled or v1. If v1, the processor uses patterns with Elastic + /// Common Schema (ECS) field names. + /// + /// + [JsonInclude, JsonPropertyName("ecs_compatibility")] + public string? EcsCompatibility { get; set; } + /// /// /// The field to use for grok expression parsing. @@ -125,6 +134,7 @@ public GrokProcessorDescriptor() : base() } private string? DescriptionValue { get; set; } + private string? EcsCompatibilityValue { get; set; } private Elastic.Clients.Elasticsearch.Field FieldValue { get; set; } private string? IfValue { get; set; } private bool? IgnoreFailureValue { get; set; } @@ -150,6 +160,18 @@ public GrokProcessorDescriptor Description(string? description) return Self; } + /// + /// + /// Must be disabled or v1. If v1, the processor uses patterns with Elastic + /// Common Schema (ECS) field names. + /// + /// + public GrokProcessorDescriptor EcsCompatibility(string? ecsCompatibility) + { + EcsCompatibilityValue = ecsCompatibility; + return Self; + } + /// /// /// The field to use for grok expression parsing. @@ -313,6 +335,12 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o writer.WriteStringValue(DescriptionValue); } + if (!string.IsNullOrEmpty(EcsCompatibilityValue)) + { + writer.WritePropertyName("ecs_compatibility"); + writer.WriteStringValue(EcsCompatibilityValue); + } + writer.WritePropertyName("field"); JsonSerializer.Serialize(writer, FieldValue, options); if (!string.IsNullOrEmpty(IfValue)) @@ -397,6 +425,7 @@ public GrokProcessorDescriptor() : base() } private string? DescriptionValue { get; set; } + private string? EcsCompatibilityValue { get; set; } private Elastic.Clients.Elasticsearch.Field FieldValue { get; set; } private string? IfValue { get; set; } private bool? IgnoreFailureValue { get; set; } @@ -422,6 +451,18 @@ public GrokProcessorDescriptor Description(string? description) return Self; } + /// + /// + /// Must be disabled or v1. If v1, the processor uses patterns with Elastic + /// Common Schema (ECS) field names. + /// + /// + public GrokProcessorDescriptor EcsCompatibility(string? ecsCompatibility) + { + EcsCompatibilityValue = ecsCompatibility; + return Self; + } + /// /// /// The field to use for grok expression parsing. @@ -585,6 +626,12 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o writer.WriteStringValue(DescriptionValue); } + if (!string.IsNullOrEmpty(EcsCompatibilityValue)) + { + writer.WritePropertyName("ecs_compatibility"); + writer.WriteStringValue(EcsCompatibilityValue); + } + writer.WritePropertyName("field"); JsonSerializer.Serialize(writer, FieldValue, options); if (!string.IsNullOrEmpty(IfValue)) diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/NetworkDirectionProcessor.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/NetworkDirectionProcessor.g.cs new file mode 100644 index 00000000000..22371363f48 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/NetworkDirectionProcessor.g.cs @@ -0,0 +1,866 @@ +// 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 Elastic.Clients.Elasticsearch.Fluent; +using Elastic.Clients.Elasticsearch.Serialization; +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +namespace Elastic.Clients.Elasticsearch.Ingest; + +public sealed partial class NetworkDirectionProcessor +{ + /// + /// + /// Description of the processor. + /// Useful for describing the purpose of the processor or its configuration. + /// + /// + [JsonInclude, JsonPropertyName("description")] + public string? Description { get; set; } + + /// + /// + /// Field containing the destination IP address. + /// + /// + [JsonInclude, JsonPropertyName("destination_ip")] + public Elastic.Clients.Elasticsearch.Field? DestinationIp { get; set; } + + /// + /// + /// Conditionally execute the processor. + /// + /// + [JsonInclude, JsonPropertyName("if")] + public string? If { get; set; } + + /// + /// + /// Ignore failures for the processor. + /// + /// + [JsonInclude, JsonPropertyName("ignore_failure")] + public bool? IgnoreFailure { get; set; } + + /// + /// + /// If true and any required fields are missing, the processor quietly exits + /// without modifying the document. + /// + /// + [JsonInclude, JsonPropertyName("ignore_missing")] + public bool? IgnoreMissing { get; set; } + + /// + /// + /// List of internal networks. Supports IPv4 and IPv6 addresses and ranges in + /// CIDR notation. Also supports the named ranges listed below. These may be + /// constructed with template snippets. Must specify only one of + /// internal_networks or internal_networks_field. + /// + /// + [JsonInclude, JsonPropertyName("internal_networks")] + public ICollection? InternalNetworks { get; set; } + + /// + /// + /// A field on the given document to read the internal_networks configuration + /// from. + /// + /// + [JsonInclude, JsonPropertyName("internal_networks_field")] + public Elastic.Clients.Elasticsearch.Field? InternalNetworksField { get; set; } + + /// + /// + /// Handle failures for the processor. + /// + /// + [JsonInclude, JsonPropertyName("on_failure")] + public ICollection? OnFailure { get; set; } + + /// + /// + /// Field containing the source IP address. + /// + /// + [JsonInclude, JsonPropertyName("source_ip")] + public Elastic.Clients.Elasticsearch.Field? SourceIp { get; set; } + + /// + /// + /// Identifier for the processor. + /// Useful for debugging and metrics. + /// + /// + [JsonInclude, JsonPropertyName("tag")] + public string? Tag { get; set; } + + /// + /// + /// Output field for the network direction. + /// + /// + [JsonInclude, JsonPropertyName("target_field")] + public Elastic.Clients.Elasticsearch.Field? TargetField { get; set; } + + public static implicit operator Elastic.Clients.Elasticsearch.Ingest.Processor(NetworkDirectionProcessor networkDirectionProcessor) => Elastic.Clients.Elasticsearch.Ingest.Processor.NetworkDirection(networkDirectionProcessor); +} + +public sealed partial class NetworkDirectionProcessorDescriptor : SerializableDescriptor> +{ + internal NetworkDirectionProcessorDescriptor(Action> configure) => configure.Invoke(this); + + public NetworkDirectionProcessorDescriptor() : base() + { + } + + private string? DescriptionValue { get; set; } + private Elastic.Clients.Elasticsearch.Field? DestinationIpValue { get; set; } + private string? IfValue { get; set; } + private bool? IgnoreFailureValue { get; set; } + private bool? IgnoreMissingValue { get; set; } + private ICollection? InternalNetworksValue { get; set; } + private Elastic.Clients.Elasticsearch.Field? InternalNetworksFieldValue { get; set; } + private ICollection? OnFailureValue { get; set; } + private Elastic.Clients.Elasticsearch.Ingest.ProcessorDescriptor OnFailureDescriptor { get; set; } + private Action> OnFailureDescriptorAction { get; set; } + private Action>[] OnFailureDescriptorActions { get; set; } + private Elastic.Clients.Elasticsearch.Field? SourceIpValue { get; set; } + private string? TagValue { get; set; } + private Elastic.Clients.Elasticsearch.Field? TargetFieldValue { get; set; } + + /// + /// + /// Description of the processor. + /// Useful for describing the purpose of the processor or its configuration. + /// + /// + public NetworkDirectionProcessorDescriptor Description(string? description) + { + DescriptionValue = description; + return Self; + } + + /// + /// + /// Field containing the destination IP address. + /// + /// + public NetworkDirectionProcessorDescriptor DestinationIp(Elastic.Clients.Elasticsearch.Field? destinationIp) + { + DestinationIpValue = destinationIp; + return Self; + } + + /// + /// + /// Field containing the destination IP address. + /// + /// + public NetworkDirectionProcessorDescriptor DestinationIp(Expression> destinationIp) + { + DestinationIpValue = destinationIp; + return Self; + } + + /// + /// + /// Field containing the destination IP address. + /// + /// + public NetworkDirectionProcessorDescriptor DestinationIp(Expression> destinationIp) + { + DestinationIpValue = destinationIp; + return Self; + } + + /// + /// + /// Conditionally execute the processor. + /// + /// + public NetworkDirectionProcessorDescriptor If(string? value) + { + IfValue = value; + return Self; + } + + /// + /// + /// Ignore failures for the processor. + /// + /// + public NetworkDirectionProcessorDescriptor IgnoreFailure(bool? ignoreFailure = true) + { + IgnoreFailureValue = ignoreFailure; + return Self; + } + + /// + /// + /// If true and any required fields are missing, the processor quietly exits + /// without modifying the document. + /// + /// + public NetworkDirectionProcessorDescriptor IgnoreMissing(bool? ignoreMissing = true) + { + IgnoreMissingValue = ignoreMissing; + return Self; + } + + /// + /// + /// List of internal networks. Supports IPv4 and IPv6 addresses and ranges in + /// CIDR notation. Also supports the named ranges listed below. These may be + /// constructed with template snippets. Must specify only one of + /// internal_networks or internal_networks_field. + /// + /// + public NetworkDirectionProcessorDescriptor InternalNetworks(ICollection? internalNetworks) + { + InternalNetworksValue = internalNetworks; + return Self; + } + + /// + /// + /// A field on the given document to read the internal_networks configuration + /// from. + /// + /// + public NetworkDirectionProcessorDescriptor InternalNetworksField(Elastic.Clients.Elasticsearch.Field? internalNetworksField) + { + InternalNetworksFieldValue = internalNetworksField; + return Self; + } + + /// + /// + /// A field on the given document to read the internal_networks configuration + /// from. + /// + /// + public NetworkDirectionProcessorDescriptor InternalNetworksField(Expression> internalNetworksField) + { + InternalNetworksFieldValue = internalNetworksField; + return Self; + } + + /// + /// + /// A field on the given document to read the internal_networks configuration + /// from. + /// + /// + public NetworkDirectionProcessorDescriptor InternalNetworksField(Expression> internalNetworksField) + { + InternalNetworksFieldValue = internalNetworksField; + return Self; + } + + /// + /// + /// Handle failures for the processor. + /// + /// + public NetworkDirectionProcessorDescriptor OnFailure(ICollection? onFailure) + { + OnFailureDescriptor = null; + OnFailureDescriptorAction = null; + OnFailureDescriptorActions = null; + OnFailureValue = onFailure; + return Self; + } + + public NetworkDirectionProcessorDescriptor OnFailure(Elastic.Clients.Elasticsearch.Ingest.ProcessorDescriptor descriptor) + { + OnFailureValue = null; + OnFailureDescriptorAction = null; + OnFailureDescriptorActions = null; + OnFailureDescriptor = descriptor; + return Self; + } + + public NetworkDirectionProcessorDescriptor OnFailure(Action> configure) + { + OnFailureValue = null; + OnFailureDescriptor = null; + OnFailureDescriptorActions = null; + OnFailureDescriptorAction = configure; + return Self; + } + + public NetworkDirectionProcessorDescriptor OnFailure(params Action>[] configure) + { + OnFailureValue = null; + OnFailureDescriptor = null; + OnFailureDescriptorAction = null; + OnFailureDescriptorActions = configure; + return Self; + } + + /// + /// + /// Field containing the source IP address. + /// + /// + public NetworkDirectionProcessorDescriptor SourceIp(Elastic.Clients.Elasticsearch.Field? sourceIp) + { + SourceIpValue = sourceIp; + return Self; + } + + /// + /// + /// Field containing the source IP address. + /// + /// + public NetworkDirectionProcessorDescriptor SourceIp(Expression> sourceIp) + { + SourceIpValue = sourceIp; + return Self; + } + + /// + /// + /// Field containing the source IP address. + /// + /// + public NetworkDirectionProcessorDescriptor SourceIp(Expression> sourceIp) + { + SourceIpValue = sourceIp; + return Self; + } + + /// + /// + /// Identifier for the processor. + /// Useful for debugging and metrics. + /// + /// + public NetworkDirectionProcessorDescriptor Tag(string? tag) + { + TagValue = tag; + return Self; + } + + /// + /// + /// Output field for the network direction. + /// + /// + public NetworkDirectionProcessorDescriptor TargetField(Elastic.Clients.Elasticsearch.Field? targetField) + { + TargetFieldValue = targetField; + return Self; + } + + /// + /// + /// Output field for the network direction. + /// + /// + public NetworkDirectionProcessorDescriptor TargetField(Expression> targetField) + { + TargetFieldValue = targetField; + return Self; + } + + /// + /// + /// Output field for the network direction. + /// + /// + public NetworkDirectionProcessorDescriptor TargetField(Expression> targetField) + { + TargetFieldValue = targetField; + return Self; + } + + protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) + { + writer.WriteStartObject(); + if (!string.IsNullOrEmpty(DescriptionValue)) + { + writer.WritePropertyName("description"); + writer.WriteStringValue(DescriptionValue); + } + + if (DestinationIpValue is not null) + { + writer.WritePropertyName("destination_ip"); + JsonSerializer.Serialize(writer, DestinationIpValue, options); + } + + if (!string.IsNullOrEmpty(IfValue)) + { + writer.WritePropertyName("if"); + writer.WriteStringValue(IfValue); + } + + if (IgnoreFailureValue.HasValue) + { + writer.WritePropertyName("ignore_failure"); + writer.WriteBooleanValue(IgnoreFailureValue.Value); + } + + if (IgnoreMissingValue.HasValue) + { + writer.WritePropertyName("ignore_missing"); + writer.WriteBooleanValue(IgnoreMissingValue.Value); + } + + if (InternalNetworksValue is not null) + { + writer.WritePropertyName("internal_networks"); + JsonSerializer.Serialize(writer, InternalNetworksValue, options); + } + + if (InternalNetworksFieldValue is not null) + { + writer.WritePropertyName("internal_networks_field"); + JsonSerializer.Serialize(writer, InternalNetworksFieldValue, options); + } + + if (OnFailureDescriptor is not null) + { + writer.WritePropertyName("on_failure"); + writer.WriteStartArray(); + JsonSerializer.Serialize(writer, OnFailureDescriptor, options); + writer.WriteEndArray(); + } + else if (OnFailureDescriptorAction is not null) + { + writer.WritePropertyName("on_failure"); + writer.WriteStartArray(); + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.Ingest.ProcessorDescriptor(OnFailureDescriptorAction), options); + writer.WriteEndArray(); + } + else if (OnFailureDescriptorActions is not null) + { + writer.WritePropertyName("on_failure"); + writer.WriteStartArray(); + foreach (var action in OnFailureDescriptorActions) + { + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.Ingest.ProcessorDescriptor(action), options); + } + + writer.WriteEndArray(); + } + else if (OnFailureValue is not null) + { + writer.WritePropertyName("on_failure"); + JsonSerializer.Serialize(writer, OnFailureValue, options); + } + + if (SourceIpValue is not null) + { + writer.WritePropertyName("source_ip"); + JsonSerializer.Serialize(writer, SourceIpValue, options); + } + + if (!string.IsNullOrEmpty(TagValue)) + { + writer.WritePropertyName("tag"); + writer.WriteStringValue(TagValue); + } + + if (TargetFieldValue is not null) + { + writer.WritePropertyName("target_field"); + JsonSerializer.Serialize(writer, TargetFieldValue, options); + } + + writer.WriteEndObject(); + } +} + +public sealed partial class NetworkDirectionProcessorDescriptor : SerializableDescriptor +{ + internal NetworkDirectionProcessorDescriptor(Action configure) => configure.Invoke(this); + + public NetworkDirectionProcessorDescriptor() : base() + { + } + + private string? DescriptionValue { get; set; } + private Elastic.Clients.Elasticsearch.Field? DestinationIpValue { get; set; } + private string? IfValue { get; set; } + private bool? IgnoreFailureValue { get; set; } + private bool? IgnoreMissingValue { get; set; } + private ICollection? InternalNetworksValue { get; set; } + private Elastic.Clients.Elasticsearch.Field? InternalNetworksFieldValue { get; set; } + private ICollection? OnFailureValue { get; set; } + private Elastic.Clients.Elasticsearch.Ingest.ProcessorDescriptor OnFailureDescriptor { get; set; } + private Action OnFailureDescriptorAction { get; set; } + private Action[] OnFailureDescriptorActions { get; set; } + private Elastic.Clients.Elasticsearch.Field? SourceIpValue { get; set; } + private string? TagValue { get; set; } + private Elastic.Clients.Elasticsearch.Field? TargetFieldValue { get; set; } + + /// + /// + /// Description of the processor. + /// Useful for describing the purpose of the processor or its configuration. + /// + /// + public NetworkDirectionProcessorDescriptor Description(string? description) + { + DescriptionValue = description; + return Self; + } + + /// + /// + /// Field containing the destination IP address. + /// + /// + public NetworkDirectionProcessorDescriptor DestinationIp(Elastic.Clients.Elasticsearch.Field? destinationIp) + { + DestinationIpValue = destinationIp; + return Self; + } + + /// + /// + /// Field containing the destination IP address. + /// + /// + public NetworkDirectionProcessorDescriptor DestinationIp(Expression> destinationIp) + { + DestinationIpValue = destinationIp; + return Self; + } + + /// + /// + /// Field containing the destination IP address. + /// + /// + public NetworkDirectionProcessorDescriptor DestinationIp(Expression> destinationIp) + { + DestinationIpValue = destinationIp; + return Self; + } + + /// + /// + /// Conditionally execute the processor. + /// + /// + public NetworkDirectionProcessorDescriptor If(string? value) + { + IfValue = value; + return Self; + } + + /// + /// + /// Ignore failures for the processor. + /// + /// + public NetworkDirectionProcessorDescriptor IgnoreFailure(bool? ignoreFailure = true) + { + IgnoreFailureValue = ignoreFailure; + return Self; + } + + /// + /// + /// If true and any required fields are missing, the processor quietly exits + /// without modifying the document. + /// + /// + public NetworkDirectionProcessorDescriptor IgnoreMissing(bool? ignoreMissing = true) + { + IgnoreMissingValue = ignoreMissing; + return Self; + } + + /// + /// + /// List of internal networks. Supports IPv4 and IPv6 addresses and ranges in + /// CIDR notation. Also supports the named ranges listed below. These may be + /// constructed with template snippets. Must specify only one of + /// internal_networks or internal_networks_field. + /// + /// + public NetworkDirectionProcessorDescriptor InternalNetworks(ICollection? internalNetworks) + { + InternalNetworksValue = internalNetworks; + return Self; + } + + /// + /// + /// A field on the given document to read the internal_networks configuration + /// from. + /// + /// + public NetworkDirectionProcessorDescriptor InternalNetworksField(Elastic.Clients.Elasticsearch.Field? internalNetworksField) + { + InternalNetworksFieldValue = internalNetworksField; + return Self; + } + + /// + /// + /// A field on the given document to read the internal_networks configuration + /// from. + /// + /// + public NetworkDirectionProcessorDescriptor InternalNetworksField(Expression> internalNetworksField) + { + InternalNetworksFieldValue = internalNetworksField; + return Self; + } + + /// + /// + /// A field on the given document to read the internal_networks configuration + /// from. + /// + /// + public NetworkDirectionProcessorDescriptor InternalNetworksField(Expression> internalNetworksField) + { + InternalNetworksFieldValue = internalNetworksField; + return Self; + } + + /// + /// + /// Handle failures for the processor. + /// + /// + public NetworkDirectionProcessorDescriptor OnFailure(ICollection? onFailure) + { + OnFailureDescriptor = null; + OnFailureDescriptorAction = null; + OnFailureDescriptorActions = null; + OnFailureValue = onFailure; + return Self; + } + + public NetworkDirectionProcessorDescriptor OnFailure(Elastic.Clients.Elasticsearch.Ingest.ProcessorDescriptor descriptor) + { + OnFailureValue = null; + OnFailureDescriptorAction = null; + OnFailureDescriptorActions = null; + OnFailureDescriptor = descriptor; + return Self; + } + + public NetworkDirectionProcessorDescriptor OnFailure(Action configure) + { + OnFailureValue = null; + OnFailureDescriptor = null; + OnFailureDescriptorActions = null; + OnFailureDescriptorAction = configure; + return Self; + } + + public NetworkDirectionProcessorDescriptor OnFailure(params Action[] configure) + { + OnFailureValue = null; + OnFailureDescriptor = null; + OnFailureDescriptorAction = null; + OnFailureDescriptorActions = configure; + return Self; + } + + /// + /// + /// Field containing the source IP address. + /// + /// + public NetworkDirectionProcessorDescriptor SourceIp(Elastic.Clients.Elasticsearch.Field? sourceIp) + { + SourceIpValue = sourceIp; + return Self; + } + + /// + /// + /// Field containing the source IP address. + /// + /// + public NetworkDirectionProcessorDescriptor SourceIp(Expression> sourceIp) + { + SourceIpValue = sourceIp; + return Self; + } + + /// + /// + /// Field containing the source IP address. + /// + /// + public NetworkDirectionProcessorDescriptor SourceIp(Expression> sourceIp) + { + SourceIpValue = sourceIp; + return Self; + } + + /// + /// + /// Identifier for the processor. + /// Useful for debugging and metrics. + /// + /// + public NetworkDirectionProcessorDescriptor Tag(string? tag) + { + TagValue = tag; + return Self; + } + + /// + /// + /// Output field for the network direction. + /// + /// + public NetworkDirectionProcessorDescriptor TargetField(Elastic.Clients.Elasticsearch.Field? targetField) + { + TargetFieldValue = targetField; + return Self; + } + + /// + /// + /// Output field for the network direction. + /// + /// + public NetworkDirectionProcessorDescriptor TargetField(Expression> targetField) + { + TargetFieldValue = targetField; + return Self; + } + + /// + /// + /// Output field for the network direction. + /// + /// + public NetworkDirectionProcessorDescriptor TargetField(Expression> targetField) + { + TargetFieldValue = targetField; + return Self; + } + + protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) + { + writer.WriteStartObject(); + if (!string.IsNullOrEmpty(DescriptionValue)) + { + writer.WritePropertyName("description"); + writer.WriteStringValue(DescriptionValue); + } + + if (DestinationIpValue is not null) + { + writer.WritePropertyName("destination_ip"); + JsonSerializer.Serialize(writer, DestinationIpValue, options); + } + + if (!string.IsNullOrEmpty(IfValue)) + { + writer.WritePropertyName("if"); + writer.WriteStringValue(IfValue); + } + + if (IgnoreFailureValue.HasValue) + { + writer.WritePropertyName("ignore_failure"); + writer.WriteBooleanValue(IgnoreFailureValue.Value); + } + + if (IgnoreMissingValue.HasValue) + { + writer.WritePropertyName("ignore_missing"); + writer.WriteBooleanValue(IgnoreMissingValue.Value); + } + + if (InternalNetworksValue is not null) + { + writer.WritePropertyName("internal_networks"); + JsonSerializer.Serialize(writer, InternalNetworksValue, options); + } + + if (InternalNetworksFieldValue is not null) + { + writer.WritePropertyName("internal_networks_field"); + JsonSerializer.Serialize(writer, InternalNetworksFieldValue, options); + } + + if (OnFailureDescriptor is not null) + { + writer.WritePropertyName("on_failure"); + writer.WriteStartArray(); + JsonSerializer.Serialize(writer, OnFailureDescriptor, options); + writer.WriteEndArray(); + } + else if (OnFailureDescriptorAction is not null) + { + writer.WritePropertyName("on_failure"); + writer.WriteStartArray(); + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.Ingest.ProcessorDescriptor(OnFailureDescriptorAction), options); + writer.WriteEndArray(); + } + else if (OnFailureDescriptorActions is not null) + { + writer.WritePropertyName("on_failure"); + writer.WriteStartArray(); + foreach (var action in OnFailureDescriptorActions) + { + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.Ingest.ProcessorDescriptor(action), options); + } + + writer.WriteEndArray(); + } + else if (OnFailureValue is not null) + { + writer.WritePropertyName("on_failure"); + JsonSerializer.Serialize(writer, OnFailureValue, options); + } + + if (SourceIpValue is not null) + { + writer.WritePropertyName("source_ip"); + JsonSerializer.Serialize(writer, SourceIpValue, options); + } + + if (!string.IsNullOrEmpty(TagValue)) + { + writer.WritePropertyName("tag"); + writer.WriteStringValue(TagValue); + } + + if (TargetFieldValue is not null) + { + writer.WritePropertyName("target_field"); + JsonSerializer.Serialize(writer, TargetFieldValue, options); + } + + writer.WriteEndObject(); + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/Processor.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/Processor.g.cs index 0df789b01d2..d8402c22813 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/Processor.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/Processor.g.cs @@ -50,6 +50,7 @@ internal Processor(string variantName, object variant) public static Processor Attachment(Elastic.Clients.Elasticsearch.Ingest.AttachmentProcessor attachmentProcessor) => new Processor("attachment", attachmentProcessor); public static Processor Bytes(Elastic.Clients.Elasticsearch.Ingest.BytesProcessor bytesProcessor) => new Processor("bytes", bytesProcessor); public static Processor Circle(Elastic.Clients.Elasticsearch.Ingest.CircleProcessor circleProcessor) => new Processor("circle", circleProcessor); + public static Processor CommunityId(Elastic.Clients.Elasticsearch.Ingest.CommunityIDProcessor communityIDProcessor) => new Processor("community_id", communityIDProcessor); public static Processor Convert(Elastic.Clients.Elasticsearch.Ingest.ConvertProcessor convertProcessor) => new Processor("convert", convertProcessor); public static Processor Csv(Elastic.Clients.Elasticsearch.Ingest.CsvProcessor csvProcessor) => new Processor("csv", csvProcessor); public static Processor Date(Elastic.Clients.Elasticsearch.Ingest.DateProcessor dateProcessor) => new Processor("date", dateProcessor); @@ -59,6 +60,7 @@ internal Processor(string variantName, object variant) public static Processor Drop(Elastic.Clients.Elasticsearch.Ingest.DropProcessor dropProcessor) => new Processor("drop", dropProcessor); public static Processor Enrich(Elastic.Clients.Elasticsearch.Ingest.EnrichProcessor enrichProcessor) => new Processor("enrich", enrichProcessor); public static Processor Fail(Elastic.Clients.Elasticsearch.Ingest.FailProcessor failProcessor) => new Processor("fail", failProcessor); + public static Processor Fingerprint(Elastic.Clients.Elasticsearch.Ingest.FingerprintProcessor fingerprintProcessor) => new Processor("fingerprint", fingerprintProcessor); public static Processor Foreach(Elastic.Clients.Elasticsearch.Ingest.ForeachProcessor foreachProcessor) => new Processor("foreach", foreachProcessor); public static Processor GeoGrid(Elastic.Clients.Elasticsearch.Ingest.GeoGridProcessor geoGridProcessor) => new Processor("geo_grid", geoGridProcessor); public static Processor Geoip(Elastic.Clients.Elasticsearch.Ingest.GeoIpProcessor geoIpProcessor) => new Processor("geoip", geoIpProcessor); @@ -70,8 +72,10 @@ internal Processor(string variantName, object variant) public static Processor Json(Elastic.Clients.Elasticsearch.Ingest.JsonProcessor jsonProcessor) => new Processor("json", jsonProcessor); public static Processor Kv(Elastic.Clients.Elasticsearch.Ingest.KeyValueProcessor keyValueProcessor) => new Processor("kv", keyValueProcessor); public static Processor Lowercase(Elastic.Clients.Elasticsearch.Ingest.LowercaseProcessor lowercaseProcessor) => new Processor("lowercase", lowercaseProcessor); + public static Processor NetworkDirection(Elastic.Clients.Elasticsearch.Ingest.NetworkDirectionProcessor networkDirectionProcessor) => new Processor("network_direction", networkDirectionProcessor); public static Processor Pipeline(Elastic.Clients.Elasticsearch.Ingest.PipelineProcessor pipelineProcessor) => new Processor("pipeline", pipelineProcessor); public static Processor Redact(Elastic.Clients.Elasticsearch.Ingest.RedactProcessor redactProcessor) => new Processor("redact", redactProcessor); + public static Processor RegisteredDomain(Elastic.Clients.Elasticsearch.Ingest.RegisteredDomainProcessor registeredDomainProcessor) => new Processor("registered_domain", registeredDomainProcessor); public static Processor Remove(Elastic.Clients.Elasticsearch.Ingest.RemoveProcessor removeProcessor) => new Processor("remove", removeProcessor); public static Processor Rename(Elastic.Clients.Elasticsearch.Ingest.RenameProcessor renameProcessor) => new Processor("rename", renameProcessor); public static Processor Reroute(Elastic.Clients.Elasticsearch.Ingest.RerouteProcessor rerouteProcessor) => new Processor("reroute", rerouteProcessor); @@ -80,6 +84,7 @@ internal Processor(string variantName, object variant) public static Processor SetSecurityUser(Elastic.Clients.Elasticsearch.Ingest.SetSecurityUserProcessor setSecurityUserProcessor) => new Processor("set_security_user", setSecurityUserProcessor); public static Processor Sort(Elastic.Clients.Elasticsearch.Ingest.SortProcessor sortProcessor) => new Processor("sort", sortProcessor); public static Processor Split(Elastic.Clients.Elasticsearch.Ingest.SplitProcessor splitProcessor) => new Processor("split", splitProcessor); + public static Processor Terminate(Elastic.Clients.Elasticsearch.Ingest.TerminateProcessor terminateProcessor) => new Processor("terminate", terminateProcessor); public static Processor Trim(Elastic.Clients.Elasticsearch.Ingest.TrimProcessor trimProcessor) => new Processor("trim", trimProcessor); public static Processor Uppercase(Elastic.Clients.Elasticsearch.Ingest.UppercaseProcessor uppercaseProcessor) => new Processor("uppercase", uppercaseProcessor); public static Processor UriParts(Elastic.Clients.Elasticsearch.Ingest.UriPartsProcessor uriPartsProcessor) => new Processor("uri_parts", uriPartsProcessor); @@ -152,6 +157,13 @@ public override Processor Read(ref Utf8JsonReader reader, Type typeToConvert, Js continue; } + if (propertyName == "community_id") + { + variantValue = JsonSerializer.Deserialize(ref reader, options); + variantNameValue = propertyName; + continue; + } + if (propertyName == "convert") { variantValue = JsonSerializer.Deserialize(ref reader, options); @@ -215,6 +227,13 @@ public override Processor Read(ref Utf8JsonReader reader, Type typeToConvert, Js continue; } + if (propertyName == "fingerprint") + { + variantValue = JsonSerializer.Deserialize(ref reader, options); + variantNameValue = propertyName; + continue; + } + if (propertyName == "foreach") { variantValue = JsonSerializer.Deserialize(ref reader, options); @@ -292,6 +311,13 @@ public override Processor Read(ref Utf8JsonReader reader, Type typeToConvert, Js continue; } + if (propertyName == "network_direction") + { + variantValue = JsonSerializer.Deserialize(ref reader, options); + variantNameValue = propertyName; + continue; + } + if (propertyName == "pipeline") { variantValue = JsonSerializer.Deserialize(ref reader, options); @@ -306,6 +332,13 @@ public override Processor Read(ref Utf8JsonReader reader, Type typeToConvert, Js continue; } + if (propertyName == "registered_domain") + { + variantValue = JsonSerializer.Deserialize(ref reader, options); + variantNameValue = propertyName; + continue; + } + if (propertyName == "remove") { variantValue = JsonSerializer.Deserialize(ref reader, options); @@ -362,6 +395,13 @@ public override Processor Read(ref Utf8JsonReader reader, Type typeToConvert, Js continue; } + if (propertyName == "terminate") + { + variantValue = JsonSerializer.Deserialize(ref reader, options); + variantNameValue = propertyName; + continue; + } + if (propertyName == "trim") { variantValue = JsonSerializer.Deserialize(ref reader, options); @@ -424,6 +464,9 @@ public override void Write(Utf8JsonWriter writer, Processor value, JsonSerialize case "circle": JsonSerializer.Serialize(writer, (Elastic.Clients.Elasticsearch.Ingest.CircleProcessor)value.Variant, options); break; + case "community_id": + JsonSerializer.Serialize(writer, (Elastic.Clients.Elasticsearch.Ingest.CommunityIDProcessor)value.Variant, options); + break; case "convert": JsonSerializer.Serialize(writer, (Elastic.Clients.Elasticsearch.Ingest.ConvertProcessor)value.Variant, options); break; @@ -451,6 +494,9 @@ public override void Write(Utf8JsonWriter writer, Processor value, JsonSerialize case "fail": JsonSerializer.Serialize(writer, (Elastic.Clients.Elasticsearch.Ingest.FailProcessor)value.Variant, options); break; + case "fingerprint": + JsonSerializer.Serialize(writer, (Elastic.Clients.Elasticsearch.Ingest.FingerprintProcessor)value.Variant, options); + break; case "foreach": JsonSerializer.Serialize(writer, (Elastic.Clients.Elasticsearch.Ingest.ForeachProcessor)value.Variant, options); break; @@ -484,12 +530,18 @@ public override void Write(Utf8JsonWriter writer, Processor value, JsonSerialize case "lowercase": JsonSerializer.Serialize(writer, (Elastic.Clients.Elasticsearch.Ingest.LowercaseProcessor)value.Variant, options); break; + case "network_direction": + JsonSerializer.Serialize(writer, (Elastic.Clients.Elasticsearch.Ingest.NetworkDirectionProcessor)value.Variant, options); + break; case "pipeline": JsonSerializer.Serialize(writer, (Elastic.Clients.Elasticsearch.Ingest.PipelineProcessor)value.Variant, options); break; case "redact": JsonSerializer.Serialize(writer, (Elastic.Clients.Elasticsearch.Ingest.RedactProcessor)value.Variant, options); break; + case "registered_domain": + JsonSerializer.Serialize(writer, (Elastic.Clients.Elasticsearch.Ingest.RegisteredDomainProcessor)value.Variant, options); + break; case "remove": JsonSerializer.Serialize(writer, (Elastic.Clients.Elasticsearch.Ingest.RemoveProcessor)value.Variant, options); break; @@ -514,6 +566,9 @@ public override void Write(Utf8JsonWriter writer, Processor value, JsonSerialize case "split": JsonSerializer.Serialize(writer, (Elastic.Clients.Elasticsearch.Ingest.SplitProcessor)value.Variant, options); break; + case "terminate": + JsonSerializer.Serialize(writer, (Elastic.Clients.Elasticsearch.Ingest.TerminateProcessor)value.Variant, options); + break; case "trim": JsonSerializer.Serialize(writer, (Elastic.Clients.Elasticsearch.Ingest.TrimProcessor)value.Variant, options); break; @@ -575,6 +630,8 @@ private ProcessorDescriptor Set(object variant, string variantName) public ProcessorDescriptor Bytes(Action> configure) => Set(configure, "bytes"); public ProcessorDescriptor Circle(Elastic.Clients.Elasticsearch.Ingest.CircleProcessor circleProcessor) => Set(circleProcessor, "circle"); public ProcessorDescriptor Circle(Action> configure) => Set(configure, "circle"); + public ProcessorDescriptor CommunityId(Elastic.Clients.Elasticsearch.Ingest.CommunityIDProcessor communityIDProcessor) => Set(communityIDProcessor, "community_id"); + public ProcessorDescriptor CommunityId(Action> configure) => Set(configure, "community_id"); public ProcessorDescriptor Convert(Elastic.Clients.Elasticsearch.Ingest.ConvertProcessor convertProcessor) => Set(convertProcessor, "convert"); public ProcessorDescriptor Convert(Action> configure) => Set(configure, "convert"); public ProcessorDescriptor Csv(Elastic.Clients.Elasticsearch.Ingest.CsvProcessor csvProcessor) => Set(csvProcessor, "csv"); @@ -593,6 +650,8 @@ private ProcessorDescriptor Set(object variant, string variantName) public ProcessorDescriptor Enrich(Action> configure) => Set(configure, "enrich"); public ProcessorDescriptor Fail(Elastic.Clients.Elasticsearch.Ingest.FailProcessor failProcessor) => Set(failProcessor, "fail"); public ProcessorDescriptor Fail(Action> configure) => Set(configure, "fail"); + public ProcessorDescriptor Fingerprint(Elastic.Clients.Elasticsearch.Ingest.FingerprintProcessor fingerprintProcessor) => Set(fingerprintProcessor, "fingerprint"); + public ProcessorDescriptor Fingerprint(Action> configure) => Set(configure, "fingerprint"); public ProcessorDescriptor Foreach(Elastic.Clients.Elasticsearch.Ingest.ForeachProcessor foreachProcessor) => Set(foreachProcessor, "foreach"); public ProcessorDescriptor Foreach(Action> configure) => Set(configure, "foreach"); public ProcessorDescriptor GeoGrid(Elastic.Clients.Elasticsearch.Ingest.GeoGridProcessor geoGridProcessor) => Set(geoGridProcessor, "geo_grid"); @@ -615,10 +674,14 @@ private ProcessorDescriptor Set(object variant, string variantName) public ProcessorDescriptor Kv(Action> configure) => Set(configure, "kv"); public ProcessorDescriptor Lowercase(Elastic.Clients.Elasticsearch.Ingest.LowercaseProcessor lowercaseProcessor) => Set(lowercaseProcessor, "lowercase"); public ProcessorDescriptor Lowercase(Action> configure) => Set(configure, "lowercase"); + public ProcessorDescriptor NetworkDirection(Elastic.Clients.Elasticsearch.Ingest.NetworkDirectionProcessor networkDirectionProcessor) => Set(networkDirectionProcessor, "network_direction"); + public ProcessorDescriptor NetworkDirection(Action> configure) => Set(configure, "network_direction"); public ProcessorDescriptor Pipeline(Elastic.Clients.Elasticsearch.Ingest.PipelineProcessor pipelineProcessor) => Set(pipelineProcessor, "pipeline"); public ProcessorDescriptor Pipeline(Action> configure) => Set(configure, "pipeline"); public ProcessorDescriptor Redact(Elastic.Clients.Elasticsearch.Ingest.RedactProcessor redactProcessor) => Set(redactProcessor, "redact"); public ProcessorDescriptor Redact(Action> configure) => Set(configure, "redact"); + public ProcessorDescriptor RegisteredDomain(Elastic.Clients.Elasticsearch.Ingest.RegisteredDomainProcessor registeredDomainProcessor) => Set(registeredDomainProcessor, "registered_domain"); + public ProcessorDescriptor RegisteredDomain(Action> configure) => Set(configure, "registered_domain"); public ProcessorDescriptor Remove(Elastic.Clients.Elasticsearch.Ingest.RemoveProcessor removeProcessor) => Set(removeProcessor, "remove"); public ProcessorDescriptor Remove(Action> configure) => Set(configure, "remove"); public ProcessorDescriptor Rename(Elastic.Clients.Elasticsearch.Ingest.RenameProcessor renameProcessor) => Set(renameProcessor, "rename"); @@ -635,6 +698,8 @@ private ProcessorDescriptor Set(object variant, string variantName) public ProcessorDescriptor Sort(Action> configure) => Set(configure, "sort"); public ProcessorDescriptor Split(Elastic.Clients.Elasticsearch.Ingest.SplitProcessor splitProcessor) => Set(splitProcessor, "split"); public ProcessorDescriptor Split(Action> configure) => Set(configure, "split"); + public ProcessorDescriptor Terminate(Elastic.Clients.Elasticsearch.Ingest.TerminateProcessor terminateProcessor) => Set(terminateProcessor, "terminate"); + public ProcessorDescriptor Terminate(Action> configure) => Set(configure, "terminate"); public ProcessorDescriptor Trim(Elastic.Clients.Elasticsearch.Ingest.TrimProcessor trimProcessor) => Set(trimProcessor, "trim"); public ProcessorDescriptor Trim(Action> configure) => Set(configure, "trim"); public ProcessorDescriptor Uppercase(Elastic.Clients.Elasticsearch.Ingest.UppercaseProcessor uppercaseProcessor) => Set(uppercaseProcessor, "uppercase"); @@ -705,6 +770,8 @@ private ProcessorDescriptor Set(object variant, string variantName) public ProcessorDescriptor Bytes(Action configure) => Set(configure, "bytes"); public ProcessorDescriptor Circle(Elastic.Clients.Elasticsearch.Ingest.CircleProcessor circleProcessor) => Set(circleProcessor, "circle"); public ProcessorDescriptor Circle(Action configure) => Set(configure, "circle"); + public ProcessorDescriptor CommunityId(Elastic.Clients.Elasticsearch.Ingest.CommunityIDProcessor communityIDProcessor) => Set(communityIDProcessor, "community_id"); + public ProcessorDescriptor CommunityId(Action configure) => Set(configure, "community_id"); public ProcessorDescriptor Convert(Elastic.Clients.Elasticsearch.Ingest.ConvertProcessor convertProcessor) => Set(convertProcessor, "convert"); public ProcessorDescriptor Convert(Action configure) => Set(configure, "convert"); public ProcessorDescriptor Csv(Elastic.Clients.Elasticsearch.Ingest.CsvProcessor csvProcessor) => Set(csvProcessor, "csv"); @@ -723,6 +790,8 @@ private ProcessorDescriptor Set(object variant, string variantName) public ProcessorDescriptor Enrich(Action configure) => Set(configure, "enrich"); public ProcessorDescriptor Fail(Elastic.Clients.Elasticsearch.Ingest.FailProcessor failProcessor) => Set(failProcessor, "fail"); public ProcessorDescriptor Fail(Action configure) => Set(configure, "fail"); + public ProcessorDescriptor Fingerprint(Elastic.Clients.Elasticsearch.Ingest.FingerprintProcessor fingerprintProcessor) => Set(fingerprintProcessor, "fingerprint"); + public ProcessorDescriptor Fingerprint(Action configure) => Set(configure, "fingerprint"); public ProcessorDescriptor Foreach(Elastic.Clients.Elasticsearch.Ingest.ForeachProcessor foreachProcessor) => Set(foreachProcessor, "foreach"); public ProcessorDescriptor Foreach(Action configure) => Set(configure, "foreach"); public ProcessorDescriptor GeoGrid(Elastic.Clients.Elasticsearch.Ingest.GeoGridProcessor geoGridProcessor) => Set(geoGridProcessor, "geo_grid"); @@ -745,10 +814,14 @@ private ProcessorDescriptor Set(object variant, string variantName) public ProcessorDescriptor Kv(Action configure) => Set(configure, "kv"); public ProcessorDescriptor Lowercase(Elastic.Clients.Elasticsearch.Ingest.LowercaseProcessor lowercaseProcessor) => Set(lowercaseProcessor, "lowercase"); public ProcessorDescriptor Lowercase(Action configure) => Set(configure, "lowercase"); + public ProcessorDescriptor NetworkDirection(Elastic.Clients.Elasticsearch.Ingest.NetworkDirectionProcessor networkDirectionProcessor) => Set(networkDirectionProcessor, "network_direction"); + public ProcessorDescriptor NetworkDirection(Action configure) => Set(configure, "network_direction"); public ProcessorDescriptor Pipeline(Elastic.Clients.Elasticsearch.Ingest.PipelineProcessor pipelineProcessor) => Set(pipelineProcessor, "pipeline"); public ProcessorDescriptor Pipeline(Action configure) => Set(configure, "pipeline"); public ProcessorDescriptor Redact(Elastic.Clients.Elasticsearch.Ingest.RedactProcessor redactProcessor) => Set(redactProcessor, "redact"); public ProcessorDescriptor Redact(Action configure) => Set(configure, "redact"); + public ProcessorDescriptor RegisteredDomain(Elastic.Clients.Elasticsearch.Ingest.RegisteredDomainProcessor registeredDomainProcessor) => Set(registeredDomainProcessor, "registered_domain"); + public ProcessorDescriptor RegisteredDomain(Action configure) => Set(configure, "registered_domain"); public ProcessorDescriptor Remove(Elastic.Clients.Elasticsearch.Ingest.RemoveProcessor removeProcessor) => Set(removeProcessor, "remove"); public ProcessorDescriptor Remove(Action configure) => Set(configure, "remove"); public ProcessorDescriptor Rename(Elastic.Clients.Elasticsearch.Ingest.RenameProcessor renameProcessor) => Set(renameProcessor, "rename"); @@ -765,6 +838,8 @@ private ProcessorDescriptor Set(object variant, string variantName) public ProcessorDescriptor Sort(Action configure) => Set(configure, "sort"); public ProcessorDescriptor Split(Elastic.Clients.Elasticsearch.Ingest.SplitProcessor splitProcessor) => Set(splitProcessor, "split"); public ProcessorDescriptor Split(Action configure) => Set(configure, "split"); + public ProcessorDescriptor Terminate(Elastic.Clients.Elasticsearch.Ingest.TerminateProcessor terminateProcessor) => Set(terminateProcessor, "terminate"); + public ProcessorDescriptor Terminate(Action configure) => Set(configure, "terminate"); public ProcessorDescriptor Trim(Elastic.Clients.Elasticsearch.Ingest.TrimProcessor trimProcessor) => Set(trimProcessor, "trim"); public ProcessorDescriptor Trim(Action configure) => Set(configure, "trim"); public ProcessorDescriptor Uppercase(Elastic.Clients.Elasticsearch.Ingest.UppercaseProcessor uppercaseProcessor) => Set(uppercaseProcessor, "uppercase"); diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/RegisteredDomainProcessor.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/RegisteredDomainProcessor.g.cs new file mode 100644 index 00000000000..a8089013ea1 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/RegisteredDomainProcessor.g.cs @@ -0,0 +1,629 @@ +// 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 Elastic.Clients.Elasticsearch.Fluent; +using Elastic.Clients.Elasticsearch.Serialization; +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +namespace Elastic.Clients.Elasticsearch.Ingest; + +public sealed partial class RegisteredDomainProcessor +{ + /// + /// + /// Description of the processor. + /// Useful for describing the purpose of the processor or its configuration. + /// + /// + [JsonInclude, JsonPropertyName("description")] + public string? Description { get; set; } + + /// + /// + /// Field containing the source FQDN. + /// + /// + [JsonInclude, JsonPropertyName("field")] + public Elastic.Clients.Elasticsearch.Field Field { get; set; } + + /// + /// + /// Conditionally execute the processor. + /// + /// + [JsonInclude, JsonPropertyName("if")] + public string? If { get; set; } + + /// + /// + /// Ignore failures for the processor. + /// + /// + [JsonInclude, JsonPropertyName("ignore_failure")] + public bool? IgnoreFailure { get; set; } + + /// + /// + /// If true and any required fields are missing, the processor quietly exits + /// without modifying the document. + /// + /// + [JsonInclude, JsonPropertyName("ignore_missing")] + public bool? IgnoreMissing { get; set; } + + /// + /// + /// Handle failures for the processor. + /// + /// + [JsonInclude, JsonPropertyName("on_failure")] + public ICollection? OnFailure { get; set; } + + /// + /// + /// Identifier for the processor. + /// Useful for debugging and metrics. + /// + /// + [JsonInclude, JsonPropertyName("tag")] + public string? Tag { get; set; } + + /// + /// + /// Object field containing extracted domain components. If an empty string, + /// the processor adds components to the document’s root. + /// + /// + [JsonInclude, JsonPropertyName("target_field")] + public Elastic.Clients.Elasticsearch.Field? TargetField { get; set; } + + public static implicit operator Elastic.Clients.Elasticsearch.Ingest.Processor(RegisteredDomainProcessor registeredDomainProcessor) => Elastic.Clients.Elasticsearch.Ingest.Processor.RegisteredDomain(registeredDomainProcessor); +} + +public sealed partial class RegisteredDomainProcessorDescriptor : SerializableDescriptor> +{ + internal RegisteredDomainProcessorDescriptor(Action> configure) => configure.Invoke(this); + + public RegisteredDomainProcessorDescriptor() : base() + { + } + + private string? DescriptionValue { get; set; } + private Elastic.Clients.Elasticsearch.Field FieldValue { get; set; } + private string? IfValue { get; set; } + private bool? IgnoreFailureValue { get; set; } + private bool? IgnoreMissingValue { get; set; } + private ICollection? OnFailureValue { get; set; } + private Elastic.Clients.Elasticsearch.Ingest.ProcessorDescriptor OnFailureDescriptor { get; set; } + private Action> OnFailureDescriptorAction { get; set; } + private Action>[] OnFailureDescriptorActions { get; set; } + private string? TagValue { get; set; } + private Elastic.Clients.Elasticsearch.Field? TargetFieldValue { get; set; } + + /// + /// + /// Description of the processor. + /// Useful for describing the purpose of the processor or its configuration. + /// + /// + public RegisteredDomainProcessorDescriptor Description(string? description) + { + DescriptionValue = description; + return Self; + } + + /// + /// + /// Field containing the source FQDN. + /// + /// + public RegisteredDomainProcessorDescriptor Field(Elastic.Clients.Elasticsearch.Field field) + { + FieldValue = field; + return Self; + } + + /// + /// + /// Field containing the source FQDN. + /// + /// + public RegisteredDomainProcessorDescriptor Field(Expression> field) + { + FieldValue = field; + return Self; + } + + /// + /// + /// Field containing the source FQDN. + /// + /// + public RegisteredDomainProcessorDescriptor Field(Expression> field) + { + FieldValue = field; + return Self; + } + + /// + /// + /// Conditionally execute the processor. + /// + /// + public RegisteredDomainProcessorDescriptor If(string? value) + { + IfValue = value; + return Self; + } + + /// + /// + /// Ignore failures for the processor. + /// + /// + public RegisteredDomainProcessorDescriptor IgnoreFailure(bool? ignoreFailure = true) + { + IgnoreFailureValue = ignoreFailure; + return Self; + } + + /// + /// + /// If true and any required fields are missing, the processor quietly exits + /// without modifying the document. + /// + /// + public RegisteredDomainProcessorDescriptor IgnoreMissing(bool? ignoreMissing = true) + { + IgnoreMissingValue = ignoreMissing; + return Self; + } + + /// + /// + /// Handle failures for the processor. + /// + /// + public RegisteredDomainProcessorDescriptor OnFailure(ICollection? onFailure) + { + OnFailureDescriptor = null; + OnFailureDescriptorAction = null; + OnFailureDescriptorActions = null; + OnFailureValue = onFailure; + return Self; + } + + public RegisteredDomainProcessorDescriptor OnFailure(Elastic.Clients.Elasticsearch.Ingest.ProcessorDescriptor descriptor) + { + OnFailureValue = null; + OnFailureDescriptorAction = null; + OnFailureDescriptorActions = null; + OnFailureDescriptor = descriptor; + return Self; + } + + public RegisteredDomainProcessorDescriptor OnFailure(Action> configure) + { + OnFailureValue = null; + OnFailureDescriptor = null; + OnFailureDescriptorActions = null; + OnFailureDescriptorAction = configure; + return Self; + } + + public RegisteredDomainProcessorDescriptor OnFailure(params Action>[] configure) + { + OnFailureValue = null; + OnFailureDescriptor = null; + OnFailureDescriptorAction = null; + OnFailureDescriptorActions = configure; + return Self; + } + + /// + /// + /// Identifier for the processor. + /// Useful for debugging and metrics. + /// + /// + public RegisteredDomainProcessorDescriptor Tag(string? tag) + { + TagValue = tag; + return Self; + } + + /// + /// + /// Object field containing extracted domain components. If an empty string, + /// the processor adds components to the document’s root. + /// + /// + public RegisteredDomainProcessorDescriptor TargetField(Elastic.Clients.Elasticsearch.Field? targetField) + { + TargetFieldValue = targetField; + return Self; + } + + /// + /// + /// Object field containing extracted domain components. If an empty string, + /// the processor adds components to the document’s root. + /// + /// + public RegisteredDomainProcessorDescriptor TargetField(Expression> targetField) + { + TargetFieldValue = targetField; + return Self; + } + + /// + /// + /// Object field containing extracted domain components. If an empty string, + /// the processor adds components to the document’s root. + /// + /// + public RegisteredDomainProcessorDescriptor TargetField(Expression> targetField) + { + TargetFieldValue = targetField; + return Self; + } + + protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) + { + writer.WriteStartObject(); + if (!string.IsNullOrEmpty(DescriptionValue)) + { + writer.WritePropertyName("description"); + writer.WriteStringValue(DescriptionValue); + } + + writer.WritePropertyName("field"); + JsonSerializer.Serialize(writer, FieldValue, options); + if (!string.IsNullOrEmpty(IfValue)) + { + writer.WritePropertyName("if"); + writer.WriteStringValue(IfValue); + } + + if (IgnoreFailureValue.HasValue) + { + writer.WritePropertyName("ignore_failure"); + writer.WriteBooleanValue(IgnoreFailureValue.Value); + } + + if (IgnoreMissingValue.HasValue) + { + writer.WritePropertyName("ignore_missing"); + writer.WriteBooleanValue(IgnoreMissingValue.Value); + } + + if (OnFailureDescriptor is not null) + { + writer.WritePropertyName("on_failure"); + writer.WriteStartArray(); + JsonSerializer.Serialize(writer, OnFailureDescriptor, options); + writer.WriteEndArray(); + } + else if (OnFailureDescriptorAction is not null) + { + writer.WritePropertyName("on_failure"); + writer.WriteStartArray(); + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.Ingest.ProcessorDescriptor(OnFailureDescriptorAction), options); + writer.WriteEndArray(); + } + else if (OnFailureDescriptorActions is not null) + { + writer.WritePropertyName("on_failure"); + writer.WriteStartArray(); + foreach (var action in OnFailureDescriptorActions) + { + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.Ingest.ProcessorDescriptor(action), options); + } + + writer.WriteEndArray(); + } + else if (OnFailureValue is not null) + { + writer.WritePropertyName("on_failure"); + JsonSerializer.Serialize(writer, OnFailureValue, options); + } + + if (!string.IsNullOrEmpty(TagValue)) + { + writer.WritePropertyName("tag"); + writer.WriteStringValue(TagValue); + } + + if (TargetFieldValue is not null) + { + writer.WritePropertyName("target_field"); + JsonSerializer.Serialize(writer, TargetFieldValue, options); + } + + writer.WriteEndObject(); + } +} + +public sealed partial class RegisteredDomainProcessorDescriptor : SerializableDescriptor +{ + internal RegisteredDomainProcessorDescriptor(Action configure) => configure.Invoke(this); + + public RegisteredDomainProcessorDescriptor() : base() + { + } + + private string? DescriptionValue { get; set; } + private Elastic.Clients.Elasticsearch.Field FieldValue { get; set; } + private string? IfValue { get; set; } + private bool? IgnoreFailureValue { get; set; } + private bool? IgnoreMissingValue { get; set; } + private ICollection? OnFailureValue { get; set; } + private Elastic.Clients.Elasticsearch.Ingest.ProcessorDescriptor OnFailureDescriptor { get; set; } + private Action OnFailureDescriptorAction { get; set; } + private Action[] OnFailureDescriptorActions { get; set; } + private string? TagValue { get; set; } + private Elastic.Clients.Elasticsearch.Field? TargetFieldValue { get; set; } + + /// + /// + /// Description of the processor. + /// Useful for describing the purpose of the processor or its configuration. + /// + /// + public RegisteredDomainProcessorDescriptor Description(string? description) + { + DescriptionValue = description; + return Self; + } + + /// + /// + /// Field containing the source FQDN. + /// + /// + public RegisteredDomainProcessorDescriptor Field(Elastic.Clients.Elasticsearch.Field field) + { + FieldValue = field; + return Self; + } + + /// + /// + /// Field containing the source FQDN. + /// + /// + public RegisteredDomainProcessorDescriptor Field(Expression> field) + { + FieldValue = field; + return Self; + } + + /// + /// + /// Field containing the source FQDN. + /// + /// + public RegisteredDomainProcessorDescriptor Field(Expression> field) + { + FieldValue = field; + return Self; + } + + /// + /// + /// Conditionally execute the processor. + /// + /// + public RegisteredDomainProcessorDescriptor If(string? value) + { + IfValue = value; + return Self; + } + + /// + /// + /// Ignore failures for the processor. + /// + /// + public RegisteredDomainProcessorDescriptor IgnoreFailure(bool? ignoreFailure = true) + { + IgnoreFailureValue = ignoreFailure; + return Self; + } + + /// + /// + /// If true and any required fields are missing, the processor quietly exits + /// without modifying the document. + /// + /// + public RegisteredDomainProcessorDescriptor IgnoreMissing(bool? ignoreMissing = true) + { + IgnoreMissingValue = ignoreMissing; + return Self; + } + + /// + /// + /// Handle failures for the processor. + /// + /// + public RegisteredDomainProcessorDescriptor OnFailure(ICollection? onFailure) + { + OnFailureDescriptor = null; + OnFailureDescriptorAction = null; + OnFailureDescriptorActions = null; + OnFailureValue = onFailure; + return Self; + } + + public RegisteredDomainProcessorDescriptor OnFailure(Elastic.Clients.Elasticsearch.Ingest.ProcessorDescriptor descriptor) + { + OnFailureValue = null; + OnFailureDescriptorAction = null; + OnFailureDescriptorActions = null; + OnFailureDescriptor = descriptor; + return Self; + } + + public RegisteredDomainProcessorDescriptor OnFailure(Action configure) + { + OnFailureValue = null; + OnFailureDescriptor = null; + OnFailureDescriptorActions = null; + OnFailureDescriptorAction = configure; + return Self; + } + + public RegisteredDomainProcessorDescriptor OnFailure(params Action[] configure) + { + OnFailureValue = null; + OnFailureDescriptor = null; + OnFailureDescriptorAction = null; + OnFailureDescriptorActions = configure; + return Self; + } + + /// + /// + /// Identifier for the processor. + /// Useful for debugging and metrics. + /// + /// + public RegisteredDomainProcessorDescriptor Tag(string? tag) + { + TagValue = tag; + return Self; + } + + /// + /// + /// Object field containing extracted domain components. If an empty string, + /// the processor adds components to the document’s root. + /// + /// + public RegisteredDomainProcessorDescriptor TargetField(Elastic.Clients.Elasticsearch.Field? targetField) + { + TargetFieldValue = targetField; + return Self; + } + + /// + /// + /// Object field containing extracted domain components. If an empty string, + /// the processor adds components to the document’s root. + /// + /// + public RegisteredDomainProcessorDescriptor TargetField(Expression> targetField) + { + TargetFieldValue = targetField; + return Self; + } + + /// + /// + /// Object field containing extracted domain components. If an empty string, + /// the processor adds components to the document’s root. + /// + /// + public RegisteredDomainProcessorDescriptor TargetField(Expression> targetField) + { + TargetFieldValue = targetField; + return Self; + } + + protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) + { + writer.WriteStartObject(); + if (!string.IsNullOrEmpty(DescriptionValue)) + { + writer.WritePropertyName("description"); + writer.WriteStringValue(DescriptionValue); + } + + writer.WritePropertyName("field"); + JsonSerializer.Serialize(writer, FieldValue, options); + if (!string.IsNullOrEmpty(IfValue)) + { + writer.WritePropertyName("if"); + writer.WriteStringValue(IfValue); + } + + if (IgnoreFailureValue.HasValue) + { + writer.WritePropertyName("ignore_failure"); + writer.WriteBooleanValue(IgnoreFailureValue.Value); + } + + if (IgnoreMissingValue.HasValue) + { + writer.WritePropertyName("ignore_missing"); + writer.WriteBooleanValue(IgnoreMissingValue.Value); + } + + if (OnFailureDescriptor is not null) + { + writer.WritePropertyName("on_failure"); + writer.WriteStartArray(); + JsonSerializer.Serialize(writer, OnFailureDescriptor, options); + writer.WriteEndArray(); + } + else if (OnFailureDescriptorAction is not null) + { + writer.WritePropertyName("on_failure"); + writer.WriteStartArray(); + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.Ingest.ProcessorDescriptor(OnFailureDescriptorAction), options); + writer.WriteEndArray(); + } + else if (OnFailureDescriptorActions is not null) + { + writer.WritePropertyName("on_failure"); + writer.WriteStartArray(); + foreach (var action in OnFailureDescriptorActions) + { + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.Ingest.ProcessorDescriptor(action), options); + } + + writer.WriteEndArray(); + } + else if (OnFailureValue is not null) + { + writer.WritePropertyName("on_failure"); + JsonSerializer.Serialize(writer, OnFailureValue, options); + } + + if (!string.IsNullOrEmpty(TagValue)) + { + writer.WritePropertyName("tag"); + writer.WriteStringValue(TagValue); + } + + if (TargetFieldValue is not null) + { + writer.WritePropertyName("target_field"); + JsonSerializer.Serialize(writer, TargetFieldValue, options); + } + + writer.WriteEndObject(); + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/TerminateProcessor.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/TerminateProcessor.g.cs new file mode 100644 index 00000000000..16b80dd17d9 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/TerminateProcessor.g.cs @@ -0,0 +1,407 @@ +// 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 Elastic.Clients.Elasticsearch.Fluent; +using Elastic.Clients.Elasticsearch.Serialization; +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +namespace Elastic.Clients.Elasticsearch.Ingest; + +public sealed partial class TerminateProcessor +{ + /// + /// + /// Description of the processor. + /// Useful for describing the purpose of the processor or its configuration. + /// + /// + [JsonInclude, JsonPropertyName("description")] + public string? Description { get; set; } + + /// + /// + /// Conditionally execute the processor. + /// + /// + [JsonInclude, JsonPropertyName("if")] + public string? If { get; set; } + + /// + /// + /// Ignore failures for the processor. + /// + /// + [JsonInclude, JsonPropertyName("ignore_failure")] + public bool? IgnoreFailure { get; set; } + + /// + /// + /// Handle failures for the processor. + /// + /// + [JsonInclude, JsonPropertyName("on_failure")] + public ICollection? OnFailure { get; set; } + + /// + /// + /// Identifier for the processor. + /// Useful for debugging and metrics. + /// + /// + [JsonInclude, JsonPropertyName("tag")] + public string? Tag { get; set; } + + public static implicit operator Elastic.Clients.Elasticsearch.Ingest.Processor(TerminateProcessor terminateProcessor) => Elastic.Clients.Elasticsearch.Ingest.Processor.Terminate(terminateProcessor); +} + +public sealed partial class TerminateProcessorDescriptor : SerializableDescriptor> +{ + internal TerminateProcessorDescriptor(Action> configure) => configure.Invoke(this); + + public TerminateProcessorDescriptor() : base() + { + } + + private string? DescriptionValue { get; set; } + private string? IfValue { get; set; } + private bool? IgnoreFailureValue { get; set; } + private ICollection? OnFailureValue { get; set; } + private Elastic.Clients.Elasticsearch.Ingest.ProcessorDescriptor OnFailureDescriptor { get; set; } + private Action> OnFailureDescriptorAction { get; set; } + private Action>[] OnFailureDescriptorActions { get; set; } + private string? TagValue { get; set; } + + /// + /// + /// Description of the processor. + /// Useful for describing the purpose of the processor or its configuration. + /// + /// + public TerminateProcessorDescriptor Description(string? description) + { + DescriptionValue = description; + return Self; + } + + /// + /// + /// Conditionally execute the processor. + /// + /// + public TerminateProcessorDescriptor If(string? value) + { + IfValue = value; + return Self; + } + + /// + /// + /// Ignore failures for the processor. + /// + /// + public TerminateProcessorDescriptor IgnoreFailure(bool? ignoreFailure = true) + { + IgnoreFailureValue = ignoreFailure; + return Self; + } + + /// + /// + /// Handle failures for the processor. + /// + /// + public TerminateProcessorDescriptor OnFailure(ICollection? onFailure) + { + OnFailureDescriptor = null; + OnFailureDescriptorAction = null; + OnFailureDescriptorActions = null; + OnFailureValue = onFailure; + return Self; + } + + public TerminateProcessorDescriptor OnFailure(Elastic.Clients.Elasticsearch.Ingest.ProcessorDescriptor descriptor) + { + OnFailureValue = null; + OnFailureDescriptorAction = null; + OnFailureDescriptorActions = null; + OnFailureDescriptor = descriptor; + return Self; + } + + public TerminateProcessorDescriptor OnFailure(Action> configure) + { + OnFailureValue = null; + OnFailureDescriptor = null; + OnFailureDescriptorActions = null; + OnFailureDescriptorAction = configure; + return Self; + } + + public TerminateProcessorDescriptor OnFailure(params Action>[] configure) + { + OnFailureValue = null; + OnFailureDescriptor = null; + OnFailureDescriptorAction = null; + OnFailureDescriptorActions = configure; + return Self; + } + + /// + /// + /// Identifier for the processor. + /// Useful for debugging and metrics. + /// + /// + public TerminateProcessorDescriptor Tag(string? tag) + { + TagValue = tag; + return Self; + } + + protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) + { + writer.WriteStartObject(); + if (!string.IsNullOrEmpty(DescriptionValue)) + { + writer.WritePropertyName("description"); + writer.WriteStringValue(DescriptionValue); + } + + if (!string.IsNullOrEmpty(IfValue)) + { + writer.WritePropertyName("if"); + writer.WriteStringValue(IfValue); + } + + if (IgnoreFailureValue.HasValue) + { + writer.WritePropertyName("ignore_failure"); + writer.WriteBooleanValue(IgnoreFailureValue.Value); + } + + if (OnFailureDescriptor is not null) + { + writer.WritePropertyName("on_failure"); + writer.WriteStartArray(); + JsonSerializer.Serialize(writer, OnFailureDescriptor, options); + writer.WriteEndArray(); + } + else if (OnFailureDescriptorAction is not null) + { + writer.WritePropertyName("on_failure"); + writer.WriteStartArray(); + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.Ingest.ProcessorDescriptor(OnFailureDescriptorAction), options); + writer.WriteEndArray(); + } + else if (OnFailureDescriptorActions is not null) + { + writer.WritePropertyName("on_failure"); + writer.WriteStartArray(); + foreach (var action in OnFailureDescriptorActions) + { + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.Ingest.ProcessorDescriptor(action), options); + } + + writer.WriteEndArray(); + } + else if (OnFailureValue is not null) + { + writer.WritePropertyName("on_failure"); + JsonSerializer.Serialize(writer, OnFailureValue, options); + } + + if (!string.IsNullOrEmpty(TagValue)) + { + writer.WritePropertyName("tag"); + writer.WriteStringValue(TagValue); + } + + writer.WriteEndObject(); + } +} + +public sealed partial class TerminateProcessorDescriptor : SerializableDescriptor +{ + internal TerminateProcessorDescriptor(Action configure) => configure.Invoke(this); + + public TerminateProcessorDescriptor() : base() + { + } + + private string? DescriptionValue { get; set; } + private string? IfValue { get; set; } + private bool? IgnoreFailureValue { get; set; } + private ICollection? OnFailureValue { get; set; } + private Elastic.Clients.Elasticsearch.Ingest.ProcessorDescriptor OnFailureDescriptor { get; set; } + private Action OnFailureDescriptorAction { get; set; } + private Action[] OnFailureDescriptorActions { get; set; } + private string? TagValue { get; set; } + + /// + /// + /// Description of the processor. + /// Useful for describing the purpose of the processor or its configuration. + /// + /// + public TerminateProcessorDescriptor Description(string? description) + { + DescriptionValue = description; + return Self; + } + + /// + /// + /// Conditionally execute the processor. + /// + /// + public TerminateProcessorDescriptor If(string? value) + { + IfValue = value; + return Self; + } + + /// + /// + /// Ignore failures for the processor. + /// + /// + public TerminateProcessorDescriptor IgnoreFailure(bool? ignoreFailure = true) + { + IgnoreFailureValue = ignoreFailure; + return Self; + } + + /// + /// + /// Handle failures for the processor. + /// + /// + public TerminateProcessorDescriptor OnFailure(ICollection? onFailure) + { + OnFailureDescriptor = null; + OnFailureDescriptorAction = null; + OnFailureDescriptorActions = null; + OnFailureValue = onFailure; + return Self; + } + + public TerminateProcessorDescriptor OnFailure(Elastic.Clients.Elasticsearch.Ingest.ProcessorDescriptor descriptor) + { + OnFailureValue = null; + OnFailureDescriptorAction = null; + OnFailureDescriptorActions = null; + OnFailureDescriptor = descriptor; + return Self; + } + + public TerminateProcessorDescriptor OnFailure(Action configure) + { + OnFailureValue = null; + OnFailureDescriptor = null; + OnFailureDescriptorActions = null; + OnFailureDescriptorAction = configure; + return Self; + } + + public TerminateProcessorDescriptor OnFailure(params Action[] configure) + { + OnFailureValue = null; + OnFailureDescriptor = null; + OnFailureDescriptorAction = null; + OnFailureDescriptorActions = configure; + return Self; + } + + /// + /// + /// Identifier for the processor. + /// Useful for debugging and metrics. + /// + /// + public TerminateProcessorDescriptor Tag(string? tag) + { + TagValue = tag; + return Self; + } + + protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) + { + writer.WriteStartObject(); + if (!string.IsNullOrEmpty(DescriptionValue)) + { + writer.WritePropertyName("description"); + writer.WriteStringValue(DescriptionValue); + } + + if (!string.IsNullOrEmpty(IfValue)) + { + writer.WritePropertyName("if"); + writer.WriteStringValue(IfValue); + } + + if (IgnoreFailureValue.HasValue) + { + writer.WritePropertyName("ignore_failure"); + writer.WriteBooleanValue(IgnoreFailureValue.Value); + } + + if (OnFailureDescriptor is not null) + { + writer.WritePropertyName("on_failure"); + writer.WriteStartArray(); + JsonSerializer.Serialize(writer, OnFailureDescriptor, options); + writer.WriteEndArray(); + } + else if (OnFailureDescriptorAction is not null) + { + writer.WritePropertyName("on_failure"); + writer.WriteStartArray(); + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.Ingest.ProcessorDescriptor(OnFailureDescriptorAction), options); + writer.WriteEndArray(); + } + else if (OnFailureDescriptorActions is not null) + { + writer.WritePropertyName("on_failure"); + writer.WriteStartArray(); + foreach (var action in OnFailureDescriptorActions) + { + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.Ingest.ProcessorDescriptor(action), options); + } + + writer.WriteEndArray(); + } + else if (OnFailureValue is not null) + { + writer.WritePropertyName("on_failure"); + JsonSerializer.Serialize(writer, OnFailureValue, options); + } + + if (!string.IsNullOrEmpty(TagValue)) + { + writer.WritePropertyName("tag"); + writer.WriteStringValue(TagValue); + } + + writer.WriteEndObject(); + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Mapping/DenseVectorIndexOptions.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Mapping/DenseVectorIndexOptions.g.cs index 72b319a4a6e..b511d9b0955 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Mapping/DenseVectorIndexOptions.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Mapping/DenseVectorIndexOptions.g.cs @@ -29,14 +29,56 @@ namespace Elastic.Clients.Elasticsearch.Mapping; public sealed partial class DenseVectorIndexOptions { + /// + /// + /// The confidence interval to use when quantizing the vectors. Can be any value between and including 0.90 and + /// 1.0 or exactly 0. When the value is 0, this indicates that dynamic quantiles should be calculated for + /// optimized quantization. When between 0.90 and 1.0, this value restricts the values used when calculating + /// the quantization thresholds. + /// + /// + /// For example, a value of 0.95 will only use the middle 95% of the values when calculating the quantization + /// thresholds (e.g. the highest and lowest 2.5% of values will be ignored). + /// + /// + /// Defaults to 1/(dims + 1) for int8 quantized vectors and 0 for int4 for dynamic quantile calculation. + /// + /// + /// Only applicable to int8_hnsw, int4_hnsw, int8_flat, and int4_flat index types. + /// + /// [JsonInclude, JsonPropertyName("confidence_interval")] public float? ConfidenceInterval { get; set; } + + /// + /// + /// The number of candidates to track while assembling the list of nearest neighbors for each new node. + /// + /// + /// Only applicable to hnsw, int8_hnsw, and int4_hnsw index types. + /// + /// [JsonInclude, JsonPropertyName("ef_construction")] public int? EfConstruction { get; set; } + + /// + /// + /// The number of neighbors each node will be connected to in the HNSW graph. + /// + /// + /// Only applicable to hnsw, int8_hnsw, and int4_hnsw index types. + /// + /// [JsonInclude, JsonPropertyName("m")] public int? m { get; set; } + + /// + /// + /// The type of kNN algorithm to use. + /// + /// [JsonInclude, JsonPropertyName("type")] - public string Type { get; set; } + public Elastic.Clients.Elasticsearch.Mapping.DenseVectorIndexOptionsType Type { get; set; } } public sealed partial class DenseVectorIndexOptionsDescriptor : SerializableDescriptor @@ -50,27 +92,66 @@ public DenseVectorIndexOptionsDescriptor() : base() private float? ConfidenceIntervalValue { get; set; } private int? EfConstructionValue { get; set; } private int? mValue { get; set; } - private string TypeValue { get; set; } + private Elastic.Clients.Elasticsearch.Mapping.DenseVectorIndexOptionsType TypeValue { get; set; } + /// + /// + /// The confidence interval to use when quantizing the vectors. Can be any value between and including 0.90 and + /// 1.0 or exactly 0. When the value is 0, this indicates that dynamic quantiles should be calculated for + /// optimized quantization. When between 0.90 and 1.0, this value restricts the values used when calculating + /// the quantization thresholds. + /// + /// + /// For example, a value of 0.95 will only use the middle 95% of the values when calculating the quantization + /// thresholds (e.g. the highest and lowest 2.5% of values will be ignored). + /// + /// + /// Defaults to 1/(dims + 1) for int8 quantized vectors and 0 for int4 for dynamic quantile calculation. + /// + /// + /// Only applicable to int8_hnsw, int4_hnsw, int8_flat, and int4_flat index types. + /// + /// public DenseVectorIndexOptionsDescriptor ConfidenceInterval(float? confidenceInterval) { ConfidenceIntervalValue = confidenceInterval; return Self; } + /// + /// + /// The number of candidates to track while assembling the list of nearest neighbors for each new node. + /// + /// + /// Only applicable to hnsw, int8_hnsw, and int4_hnsw index types. + /// + /// public DenseVectorIndexOptionsDescriptor EfConstruction(int? efConstruction) { EfConstructionValue = efConstruction; return Self; } + /// + /// + /// The number of neighbors each node will be connected to in the HNSW graph. + /// + /// + /// Only applicable to hnsw, int8_hnsw, and int4_hnsw index types. + /// + /// public DenseVectorIndexOptionsDescriptor m(int? m) { mValue = m; return Self; } - public DenseVectorIndexOptionsDescriptor Type(string type) + /// + /// + /// The type of kNN algorithm to use. + /// + /// + public DenseVectorIndexOptionsDescriptor Type(Elastic.Clients.Elasticsearch.Mapping.DenseVectorIndexOptionsType type) { TypeValue = type; return Self; @@ -98,7 +179,7 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o } writer.WritePropertyName("type"); - writer.WriteStringValue(TypeValue); + JsonSerializer.Serialize(writer, TypeValue, options); writer.WriteEndObject(); } } \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Mapping/DenseVectorProperty.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Mapping/DenseVectorProperty.g.cs index 4484f144eef..945bd8cf841 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Mapping/DenseVectorProperty.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Mapping/DenseVectorProperty.g.cs @@ -29,18 +29,47 @@ namespace Elastic.Clients.Elasticsearch.Mapping; public sealed partial class DenseVectorProperty : IProperty { + /// + /// + /// Number of vector dimensions. Can't exceed 4096. If dims is not specified, it will be set to the length of + /// the first vector added to the field. + /// + /// [JsonInclude, JsonPropertyName("dims")] public int? Dims { get; set; } [JsonInclude, JsonPropertyName("dynamic")] public Elastic.Clients.Elasticsearch.Mapping.DynamicMapping? Dynamic { get; set; } + + /// + /// + /// The data type used to encode vectors. The supported data types are float (default), byte, and bit. + /// + /// [JsonInclude, JsonPropertyName("element_type")] - public string? ElementType { get; set; } + public Elastic.Clients.Elasticsearch.Mapping.DenseVectorElementType? ElementType { get; set; } [JsonInclude, JsonPropertyName("fields")] public Elastic.Clients.Elasticsearch.Mapping.Properties? Fields { get; set; } [JsonInclude, JsonPropertyName("ignore_above")] public int? IgnoreAbove { get; set; } + + /// + /// + /// If true, you can search this field using the kNN search API. + /// + /// [JsonInclude, JsonPropertyName("index")] public bool? Index { get; set; } + + /// + /// + /// An optional section that configures the kNN indexing algorithm. The HNSW algorithm has two internal parameters + /// that influence how the data structure is built. These can be adjusted to improve the accuracy of results, at the + /// expense of slower indexing speed. + /// + /// + /// This parameter can only be specified when index is true. + /// + /// [JsonInclude, JsonPropertyName("index_options")] public Elastic.Clients.Elasticsearch.Mapping.DenseVectorIndexOptions? IndexOptions { get; set; } @@ -53,8 +82,28 @@ public sealed partial class DenseVectorProperty : IProperty public IDictionary? Meta { get; set; } [JsonInclude, JsonPropertyName("properties")] public Elastic.Clients.Elasticsearch.Mapping.Properties? Properties { get; set; } + + /// + /// + /// The vector similarity metric to use in kNN search. + /// + /// + /// Documents are ranked by their vector field's similarity to the query vector. The _score of each document will + /// be derived from the similarity, in a way that ensures scores are positive and that a larger score corresponds + /// to a higher ranking. + /// + /// + /// Defaults to l2_norm when element_type is bit otherwise defaults to cosine. + /// + /// + /// bit vectors only support l2_norm as their similarity metric. + /// + /// + /// This parameter can only be specified when index is true. + /// + /// [JsonInclude, JsonPropertyName("similarity")] - public string? Similarity { get; set; } + public Elastic.Clients.Elasticsearch.Mapping.DenseVectorSimilarity? Similarity { get; set; } [JsonInclude, JsonPropertyName("type")] public string Type => "dense_vector"; @@ -70,7 +119,7 @@ public DenseVectorPropertyDescriptor() : base() private int? DimsValue { get; set; } private Elastic.Clients.Elasticsearch.Mapping.DynamicMapping? DynamicValue { get; set; } - private string? ElementTypeValue { get; set; } + private Elastic.Clients.Elasticsearch.Mapping.DenseVectorElementType? ElementTypeValue { get; set; } private Elastic.Clients.Elasticsearch.Mapping.Properties? FieldsValue { get; set; } private int? IgnoreAboveValue { get; set; } private bool? IndexValue { get; set; } @@ -79,8 +128,14 @@ public DenseVectorPropertyDescriptor() : base() private Action IndexOptionsDescriptorAction { get; set; } private IDictionary? MetaValue { get; set; } private Elastic.Clients.Elasticsearch.Mapping.Properties? PropertiesValue { get; set; } - private string? SimilarityValue { get; set; } + private Elastic.Clients.Elasticsearch.Mapping.DenseVectorSimilarity? SimilarityValue { get; set; } + /// + /// + /// Number of vector dimensions. Can't exceed 4096. If dims is not specified, it will be set to the length of + /// the first vector added to the field. + /// + /// public DenseVectorPropertyDescriptor Dims(int? dims) { DimsValue = dims; @@ -93,7 +148,12 @@ public DenseVectorPropertyDescriptor Dynamic(Elastic.Clients.Elastics return Self; } - public DenseVectorPropertyDescriptor ElementType(string? elementType) + /// + /// + /// The data type used to encode vectors. The supported data types are float (default), byte, and bit. + /// + /// + public DenseVectorPropertyDescriptor ElementType(Elastic.Clients.Elasticsearch.Mapping.DenseVectorElementType? elementType) { ElementTypeValue = elementType; return Self; @@ -125,12 +185,27 @@ public DenseVectorPropertyDescriptor IgnoreAbove(int? ignoreAbove) return Self; } + /// + /// + /// If true, you can search this field using the kNN search API. + /// + /// public DenseVectorPropertyDescriptor Index(bool? index = true) { IndexValue = index; return Self; } + /// + /// + /// An optional section that configures the kNN indexing algorithm. The HNSW algorithm has two internal parameters + /// that influence how the data structure is built. These can be adjusted to improve the accuracy of results, at the + /// expense of slower indexing speed. + /// + /// + /// This parameter can only be specified when index is true. + /// + /// public DenseVectorPropertyDescriptor IndexOptions(Elastic.Clients.Elasticsearch.Mapping.DenseVectorIndexOptions? indexOptions) { IndexOptionsDescriptor = null; @@ -186,7 +261,26 @@ public DenseVectorPropertyDescriptor Properties(Action Similarity(string? similarity) + /// + /// + /// The vector similarity metric to use in kNN search. + /// + /// + /// Documents are ranked by their vector field's similarity to the query vector. The _score of each document will + /// be derived from the similarity, in a way that ensures scores are positive and that a larger score corresponds + /// to a higher ranking. + /// + /// + /// Defaults to l2_norm when element_type is bit otherwise defaults to cosine. + /// + /// + /// bit vectors only support l2_norm as their similarity metric. + /// + /// + /// This parameter can only be specified when index is true. + /// + /// + public DenseVectorPropertyDescriptor Similarity(Elastic.Clients.Elasticsearch.Mapping.DenseVectorSimilarity? similarity) { SimilarityValue = similarity; return Self; @@ -207,10 +301,10 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o JsonSerializer.Serialize(writer, DynamicValue, options); } - if (!string.IsNullOrEmpty(ElementTypeValue)) + if (ElementTypeValue is not null) { writer.WritePropertyName("element_type"); - writer.WriteStringValue(ElementTypeValue); + JsonSerializer.Serialize(writer, ElementTypeValue, options); } if (FieldsValue is not null) @@ -259,10 +353,10 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o JsonSerializer.Serialize(writer, PropertiesValue, options); } - if (!string.IsNullOrEmpty(SimilarityValue)) + if (SimilarityValue is not null) { writer.WritePropertyName("similarity"); - writer.WriteStringValue(SimilarityValue); + JsonSerializer.Serialize(writer, SimilarityValue, options); } writer.WritePropertyName("type"); @@ -319,7 +413,7 @@ public DenseVectorPropertyDescriptor() : base() private int? DimsValue { get; set; } private Elastic.Clients.Elasticsearch.Mapping.DynamicMapping? DynamicValue { get; set; } - private string? ElementTypeValue { get; set; } + private Elastic.Clients.Elasticsearch.Mapping.DenseVectorElementType? ElementTypeValue { get; set; } private Elastic.Clients.Elasticsearch.Mapping.Properties? FieldsValue { get; set; } private int? IgnoreAboveValue { get; set; } private bool? IndexValue { get; set; } @@ -328,8 +422,14 @@ public DenseVectorPropertyDescriptor() : base() private Action IndexOptionsDescriptorAction { get; set; } private IDictionary? MetaValue { get; set; } private Elastic.Clients.Elasticsearch.Mapping.Properties? PropertiesValue { get; set; } - private string? SimilarityValue { get; set; } + private Elastic.Clients.Elasticsearch.Mapping.DenseVectorSimilarity? SimilarityValue { get; set; } + /// + /// + /// Number of vector dimensions. Can't exceed 4096. If dims is not specified, it will be set to the length of + /// the first vector added to the field. + /// + /// public DenseVectorPropertyDescriptor Dims(int? dims) { DimsValue = dims; @@ -342,7 +442,12 @@ public DenseVectorPropertyDescriptor Dynamic(Elastic.Clients.Elasticsearch.Mappi return Self; } - public DenseVectorPropertyDescriptor ElementType(string? elementType) + /// + /// + /// The data type used to encode vectors. The supported data types are float (default), byte, and bit. + /// + /// + public DenseVectorPropertyDescriptor ElementType(Elastic.Clients.Elasticsearch.Mapping.DenseVectorElementType? elementType) { ElementTypeValue = elementType; return Self; @@ -374,12 +479,27 @@ public DenseVectorPropertyDescriptor IgnoreAbove(int? ignoreAbove) return Self; } + /// + /// + /// If true, you can search this field using the kNN search API. + /// + /// public DenseVectorPropertyDescriptor Index(bool? index = true) { IndexValue = index; return Self; } + /// + /// + /// An optional section that configures the kNN indexing algorithm. The HNSW algorithm has two internal parameters + /// that influence how the data structure is built. These can be adjusted to improve the accuracy of results, at the + /// expense of slower indexing speed. + /// + /// + /// This parameter can only be specified when index is true. + /// + /// public DenseVectorPropertyDescriptor IndexOptions(Elastic.Clients.Elasticsearch.Mapping.DenseVectorIndexOptions? indexOptions) { IndexOptionsDescriptor = null; @@ -435,7 +555,26 @@ public DenseVectorPropertyDescriptor Properties(Action + /// + /// The vector similarity metric to use in kNN search. + /// + /// + /// Documents are ranked by their vector field's similarity to the query vector. The _score of each document will + /// be derived from the similarity, in a way that ensures scores are positive and that a larger score corresponds + /// to a higher ranking. + /// + /// + /// Defaults to l2_norm when element_type is bit otherwise defaults to cosine. + /// + /// + /// bit vectors only support l2_norm as their similarity metric. + /// + /// + /// This parameter can only be specified when index is true. + /// + /// + public DenseVectorPropertyDescriptor Similarity(Elastic.Clients.Elasticsearch.Mapping.DenseVectorSimilarity? similarity) { SimilarityValue = similarity; return Self; @@ -456,10 +595,10 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o JsonSerializer.Serialize(writer, DynamicValue, options); } - if (!string.IsNullOrEmpty(ElementTypeValue)) + if (ElementTypeValue is not null) { writer.WritePropertyName("element_type"); - writer.WriteStringValue(ElementTypeValue); + JsonSerializer.Serialize(writer, ElementTypeValue, options); } if (FieldsValue is not null) @@ -508,10 +647,10 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o JsonSerializer.Serialize(writer, PropertiesValue, options); } - if (!string.IsNullOrEmpty(SimilarityValue)) + if (SimilarityValue is not null) { writer.WritePropertyName("similarity"); - writer.WriteStringValue(SimilarityValue); + JsonSerializer.Serialize(writer, SimilarityValue, options); } writer.WritePropertyName("type"); diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoSettingsNetwork.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoSettingsNetwork.g.cs index 094f4f133f1..34db00f7452 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoSettingsNetwork.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoSettingsNetwork.g.cs @@ -30,5 +30,6 @@ namespace Elastic.Clients.Elasticsearch.Nodes; public sealed partial class NodeInfoSettingsNetwork { [JsonInclude, JsonPropertyName("host")] - public string? Host { get; init; } + [SingleOrManyCollectionConverter(typeof(string))] + public IReadOnlyCollection? Host { get; init; } } \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoXpack.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoXpack.g.cs index ecbfc902214..eaefaf620c0 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoXpack.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoXpack.g.cs @@ -31,6 +31,8 @@ public sealed partial class NodeInfoXpack { [JsonInclude, JsonPropertyName("license")] public Elastic.Clients.Elasticsearch.Nodes.NodeInfoXpackLicense? License { get; init; } + [JsonInclude, JsonPropertyName("ml")] + public Elastic.Clients.Elasticsearch.Nodes.NodeInfoXpackMl? Ml { get; init; } [JsonInclude, JsonPropertyName("notification")] public IReadOnlyDictionary? Notification { get; init; } [JsonInclude, JsonPropertyName("security")] diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoXpackMl.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoXpackMl.g.cs new file mode 100644 index 00000000000..e33170cb330 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoXpackMl.g.cs @@ -0,0 +1,34 @@ +// 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 Elastic.Clients.Elasticsearch.Fluent; +using Elastic.Clients.Elasticsearch.Serialization; +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +namespace Elastic.Clients.Elasticsearch.Nodes; + +public sealed partial class NodeInfoXpackMl +{ + [JsonInclude, JsonPropertyName("use_auto_machine_memory_percent")] + public bool? UseAutoMachineMemoryPercent { get; init; } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoXpackSecurity.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoXpackSecurity.g.cs index 9302ad2254f..ca42856289e 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoXpackSecurity.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoXpackSecurity.g.cs @@ -34,7 +34,7 @@ public sealed partial class NodeInfoXpackSecurity [JsonInclude, JsonPropertyName("enabled")] public string Enabled { get; init; } [JsonInclude, JsonPropertyName("http")] - public Elastic.Clients.Elasticsearch.Nodes.NodeInfoXpackSecuritySsl Http { get; init; } + public Elastic.Clients.Elasticsearch.Nodes.NodeInfoXpackSecuritySsl? Http { get; init; } [JsonInclude, JsonPropertyName("transport")] public Elastic.Clients.Elasticsearch.Nodes.NodeInfoXpackSecuritySsl? Transport { get; init; } } \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoXpackSecurityAuthc.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoXpackSecurityAuthc.g.cs index f7adc9f5d06..1d408079467 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoXpackSecurityAuthc.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoXpackSecurityAuthc.g.cs @@ -30,7 +30,7 @@ namespace Elastic.Clients.Elasticsearch.Nodes; public sealed partial class NodeInfoXpackSecurityAuthc { [JsonInclude, JsonPropertyName("realms")] - public Elastic.Clients.Elasticsearch.Nodes.NodeInfoXpackSecurityAuthcRealms Realms { get; init; } + public Elastic.Clients.Elasticsearch.Nodes.NodeInfoXpackSecurityAuthcRealms? Realms { get; init; } [JsonInclude, JsonPropertyName("token")] - public Elastic.Clients.Elasticsearch.Nodes.NodeInfoXpackSecurityAuthcToken Token { get; init; } + public Elastic.Clients.Elasticsearch.Nodes.NodeInfoXpackSecurityAuthcToken? Token { get; init; } } \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Security/IndicesPrivileges.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Security/IndicesPrivileges.g.cs index 1d94b492440..3f6062507e6 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Security/IndicesPrivileges.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Security/IndicesPrivileges.g.cs @@ -51,7 +51,7 @@ public sealed partial class IndicesPrivileges /// /// [JsonInclude, JsonPropertyName("names")] - public Elastic.Clients.Elasticsearch.Indices Names { get; set; } + public ICollection Names { get; set; } /// /// @@ -82,7 +82,7 @@ public IndicesPrivilegesDescriptor() : base() private Elastic.Clients.Elasticsearch.Security.FieldSecurity? FieldSecurityValue { get; set; } private Elastic.Clients.Elasticsearch.Security.FieldSecurityDescriptor FieldSecurityDescriptor { get; set; } private Action> FieldSecurityDescriptorAction { get; set; } - private Elastic.Clients.Elasticsearch.Indices NamesValue { get; set; } + private ICollection NamesValue { get; set; } private ICollection PrivilegesValue { get; set; } private object? QueryValue { get; set; } @@ -131,7 +131,7 @@ public IndicesPrivilegesDescriptor FieldSecurity(Action /// - public IndicesPrivilegesDescriptor Names(Elastic.Clients.Elasticsearch.Indices names) + public IndicesPrivilegesDescriptor Names(ICollection names) { NamesValue = names; return Self; @@ -210,7 +210,7 @@ public IndicesPrivilegesDescriptor() : base() private Elastic.Clients.Elasticsearch.Security.FieldSecurity? FieldSecurityValue { get; set; } private Elastic.Clients.Elasticsearch.Security.FieldSecurityDescriptor FieldSecurityDescriptor { get; set; } private Action FieldSecurityDescriptorAction { get; set; } - private Elastic.Clients.Elasticsearch.Indices NamesValue { get; set; } + private ICollection NamesValue { get; set; } private ICollection PrivilegesValue { get; set; } private object? QueryValue { get; set; } @@ -259,7 +259,7 @@ public IndicesPrivilegesDescriptor FieldSecurity(Action /// - public IndicesPrivilegesDescriptor Names(Elastic.Clients.Elasticsearch.Indices names) + public IndicesPrivilegesDescriptor Names(ICollection names) { NamesValue = names; return Self; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Security/RemoteIndicesPrivileges.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Security/RemoteIndicesPrivileges.g.cs index 76e91fab6de..068928f43c5 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Security/RemoteIndicesPrivileges.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Security/RemoteIndicesPrivileges.g.cs @@ -59,7 +59,7 @@ public sealed partial class RemoteIndicesPrivileges /// /// [JsonInclude, JsonPropertyName("names")] - public Elastic.Clients.Elasticsearch.Indices Names { get; set; } + public ICollection Names { get; set; } /// /// @@ -91,7 +91,7 @@ public RemoteIndicesPrivilegesDescriptor() : base() private Elastic.Clients.Elasticsearch.Security.FieldSecurity? FieldSecurityValue { get; set; } private Elastic.Clients.Elasticsearch.Security.FieldSecurityDescriptor FieldSecurityDescriptor { get; set; } private Action> FieldSecurityDescriptorAction { get; set; } - private Elastic.Clients.Elasticsearch.Indices NamesValue { get; set; } + private ICollection NamesValue { get; set; } private ICollection PrivilegesValue { get; set; } private object? QueryValue { get; set; } @@ -151,7 +151,7 @@ public RemoteIndicesPrivilegesDescriptor FieldSecurity(Action /// - public RemoteIndicesPrivilegesDescriptor Names(Elastic.Clients.Elasticsearch.Indices names) + public RemoteIndicesPrivilegesDescriptor Names(ICollection names) { NamesValue = names; return Self; @@ -233,7 +233,7 @@ public RemoteIndicesPrivilegesDescriptor() : base() private Elastic.Clients.Elasticsearch.Security.FieldSecurity? FieldSecurityValue { get; set; } private Elastic.Clients.Elasticsearch.Security.FieldSecurityDescriptor FieldSecurityDescriptor { get; set; } private Action FieldSecurityDescriptorAction { get; set; } - private Elastic.Clients.Elasticsearch.Indices NamesValue { get; set; } + private ICollection NamesValue { get; set; } private ICollection PrivilegesValue { get; set; } private object? QueryValue { get; set; } @@ -293,7 +293,7 @@ public RemoteIndicesPrivilegesDescriptor FieldSecurity(Action /// - public RemoteIndicesPrivilegesDescriptor Names(Elastic.Clients.Elasticsearch.Indices names) + public RemoteIndicesPrivilegesDescriptor Names(ICollection names) { NamesValue = names; return Self; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Security/UserIndicesPrivileges.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Security/UserIndicesPrivileges.g.cs index 5bacdaccaa6..00564aac314 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Security/UserIndicesPrivileges.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Security/UserIndicesPrivileges.g.cs @@ -51,7 +51,6 @@ public sealed partial class UserIndicesPrivileges /// /// [JsonInclude, JsonPropertyName("names")] - [SingleOrManyCollectionConverter(typeof(string))] public IReadOnlyCollection Names { get; init; } /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/Features.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/Features.g.cs index 4f64a20937c..ce73c0c79b2 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/Features.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/Features.g.cs @@ -37,20 +37,18 @@ public sealed partial class Features public Elastic.Clients.Elasticsearch.Xpack.Feature Archive { get; init; } [JsonInclude, JsonPropertyName("ccr")] public Elastic.Clients.Elasticsearch.Xpack.Feature Ccr { get; init; } - [JsonInclude, JsonPropertyName("data_frame")] - public Elastic.Clients.Elasticsearch.Xpack.Feature? DataFrame { get; init; } - [JsonInclude, JsonPropertyName("data_science")] - public Elastic.Clients.Elasticsearch.Xpack.Feature? DataScience { get; init; } [JsonInclude, JsonPropertyName("data_streams")] public Elastic.Clients.Elasticsearch.Xpack.Feature DataStreams { get; init; } [JsonInclude, JsonPropertyName("data_tiers")] public Elastic.Clients.Elasticsearch.Xpack.Feature DataTiers { get; init; } [JsonInclude, JsonPropertyName("enrich")] public Elastic.Clients.Elasticsearch.Xpack.Feature Enrich { get; init; } + [JsonInclude, JsonPropertyName("enterprise_search")] + public Elastic.Clients.Elasticsearch.Xpack.Feature EnterpriseSearch { get; init; } [JsonInclude, JsonPropertyName("eql")] public Elastic.Clients.Elasticsearch.Xpack.Feature Eql { get; init; } - [JsonInclude, JsonPropertyName("flattened")] - public Elastic.Clients.Elasticsearch.Xpack.Feature? Flattened { get; init; } + [JsonInclude, JsonPropertyName("esql")] + public Elastic.Clients.Elasticsearch.Xpack.Feature Esql { get; init; } [JsonInclude, JsonPropertyName("frozen_indices")] public Elastic.Clients.Elasticsearch.Xpack.Feature FrozenIndices { get; init; } [JsonInclude, JsonPropertyName("graph")] @@ -79,8 +77,8 @@ public sealed partial class Features public Elastic.Clients.Elasticsearch.Xpack.Feature Sql { get; init; } [JsonInclude, JsonPropertyName("transform")] public Elastic.Clients.Elasticsearch.Xpack.Feature Transform { get; init; } - [JsonInclude, JsonPropertyName("vectors")] - public Elastic.Clients.Elasticsearch.Xpack.Feature? Vectors { get; init; } + [JsonInclude, JsonPropertyName("universal_profiling")] + public Elastic.Clients.Elasticsearch.Xpack.Feature UniversalProfiling { get; init; } [JsonInclude, JsonPropertyName("voting_only")] public Elastic.Clients.Elasticsearch.Xpack.Feature VotingOnly { get; init; } [JsonInclude, JsonPropertyName("watcher")] From 7a881b5123ecdd3b29d1a26f8962e75324767659 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 16 Oct 2024 14:40:18 +0200 Subject: [PATCH 12/25] Improve serializer (#8391) (#8393) Co-authored-by: Florian Bernd --- ...ic.Clients.Elasticsearch.Serverless.csproj | 4 +- .../AsyncSearch/AsyncSearchStatusRequest.g.cs | 1 + .../AsyncSearch/DeleteAsyncSearchRequest.g.cs | 1 + .../AsyncSearch/GetAsyncSearchRequest.g.cs | 1 + .../AsyncSearch/SubmitAsyncSearchRequest.g.cs | 1 + .../_Generated/Api/BulkRequest.g.cs | 1 + .../_Generated/Api/ClearScrollRequest.g.cs | 1 + .../Api/ClosePointInTimeRequest.g.cs | 1 + .../Api/Cluster/AllocationExplainRequest.g.cs | 1 + .../Api/Cluster/ClusterInfoRequest.g.cs | 1 + .../Api/Cluster/ClusterStatsRequest.g.cs | 1 + .../DeleteComponentTemplateRequest.g.cs | 1 + .../ExistsComponentTemplateRequest.g.cs | 1 + .../Cluster/GetClusterSettingsRequest.g.cs | 1 + .../Cluster/GetComponentTemplateRequest.g.cs | 1 + .../_Generated/Api/Cluster/HealthRequest.g.cs | 1 + .../Api/Cluster/PendingTasksRequest.g.cs | 1 + .../Cluster/PutComponentTemplateRequest.g.cs | 1 + .../_Generated/Api/CountRequest.g.cs | 1 + .../_Generated/Api/CreateRequest.g.cs | 5 +- .../_Generated/Api/DeleteByQueryRequest.g.cs | 1 + .../Api/DeleteByQueryRethrottleRequest.g.cs | 1 + .../_Generated/Api/DeleteRequest.g.cs | 1 + .../_Generated/Api/DeleteScriptRequest.g.cs | 1 + .../Api/Enrich/DeletePolicyRequest.g.cs | 1 + .../Api/Enrich/EnrichStatsRequest.g.cs | 1 + .../Api/Enrich/ExecutePolicyRequest.g.cs | 1 + .../Api/Enrich/GetPolicyRequest.g.cs | 1 + .../Api/Enrich/PutPolicyRequest.g.cs | 1 + .../_Generated/Api/Eql/EqlDeleteRequest.g.cs | 1 + .../_Generated/Api/Eql/EqlGetRequest.g.cs | 1 + .../_Generated/Api/Eql/EqlSearchRequest.g.cs | 1 + .../Api/Eql/GetEqlStatusRequest.g.cs | 1 + .../_Generated/Api/Esql/EsqlQueryRequest.g.cs | 1 + .../_Generated/Api/ExistsRequest.g.cs | 1 + .../_Generated/Api/ExistsSourceRequest.g.cs | 1 + .../_Generated/Api/ExplainRequest.g.cs | 1 + .../_Generated/Api/FieldCapsRequest.g.cs | 1 + .../_Generated/Api/GetRequest.g.cs | 1 + .../_Generated/Api/GetScriptRequest.g.cs | 1 + .../_Generated/Api/GetSourceRequest.g.cs | 1 + .../_Generated/Api/Graph/ExploreRequest.g.cs | 1 + .../_Generated/Api/HealthReportRequest.g.cs | 1 + .../IndexManagement/AnalyzeIndexRequest.g.cs | 1 + .../IndexManagement/ClearCacheRequest.g.cs | 1 + .../IndexManagement/CloseIndexRequest.g.cs | 1 + .../CreateDataStreamRequest.g.cs | 1 + .../IndexManagement/CreateIndexRequest.g.cs | 1 + .../DataStreamsStatsRequest.g.cs | 1 + .../IndexManagement/DeleteAliasRequest.g.cs | 1 + .../DeleteDataLifecycleRequest.g.cs | 1 + .../DeleteDataStreamRequest.g.cs | 1 + .../IndexManagement/DeleteIndexRequest.g.cs | 1 + .../DeleteIndexTemplateRequest.g.cs | 1 + .../IndexManagement/ExistsAliasRequest.g.cs | 1 + .../ExistsIndexTemplateRequest.g.cs | 1 + .../Api/IndexManagement/ExistsRequest.g.cs | 1 + .../ExplainDataLifecycleRequest.g.cs | 1 + .../Api/IndexManagement/FlushRequest.g.cs | 1 + .../IndexManagement/ForcemergeRequest.g.cs | 1 + .../Api/IndexManagement/GetAliasRequest.g.cs | 1 + .../GetDataLifecycleRequest.g.cs | 1 + .../IndexManagement/GetDataStreamRequest.g.cs | 1 + .../Api/IndexManagement/GetIndexRequest.g.cs | 1 + .../GetIndexTemplateRequest.g.cs | 1 + .../GetIndicesSettingsRequest.g.cs | 1 + .../IndexManagement/GetMappingRequest.g.cs | 1 + .../IndexManagement/IndicesStatsRequest.g.cs | 1 + .../MigrateToDataStreamRequest.g.cs | 1 + .../ModifyDataStreamRequest.g.cs | 1 + .../Api/IndexManagement/OpenIndexRequest.g.cs | 1 + .../Api/IndexManagement/PutAliasRequest.g.cs | 1 + .../PutDataLifecycleRequest.g.cs | 1 + .../PutIndexTemplateRequest.g.cs | 1 + .../PutIndicesSettingsRequest.g.cs | 1 + .../IndexManagement/PutMappingRequest.g.cs | 1 + .../Api/IndexManagement/RecoveryRequest.g.cs | 1 + .../Api/IndexManagement/RefreshRequest.g.cs | 1 + .../IndexManagement/ResolveIndexRequest.g.cs | 1 + .../Api/IndexManagement/RolloverRequest.g.cs | 1 + .../Api/IndexManagement/SegmentsRequest.g.cs | 1 + .../SimulateIndexTemplateRequest.g.cs | 1 + .../SimulateTemplateRequest.g.cs | 1 + .../IndexManagement/UpdateAliasesRequest.g.cs | 1 + .../IndexManagement/ValidateQueryRequest.g.cs | 1 + .../_Generated/Api/IndexRequest.g.cs | 5 +- .../_Generated/Api/InfoRequest.g.cs | 1 + .../Ingest/DeleteGeoipDatabaseRequest.g.cs | 1 + .../Api/Ingest/DeletePipelineRequest.g.cs | 1 + .../Api/Ingest/GeoIpStatsRequest.g.cs | 1 + .../Api/Ingest/GetGeoipDatabaseRequest.g.cs | 1 + .../Api/Ingest/GetPipelineRequest.g.cs | 1 + .../Api/Ingest/ProcessorGrokRequest.g.cs | 1 + .../Api/Ingest/PutGeoipDatabaseRequest.g.cs | 1 + .../Api/Ingest/PutPipelineRequest.g.cs | 1 + .../Api/Ingest/SimulateRequest.g.cs | 1 + .../LicenseManagement/GetLicenseRequest.g.cs | 1 + ...earTrainedModelDeploymentCacheRequest.g.cs | 1 + .../Api/MachineLearning/CloseJobRequest.g.cs | 1 + .../DeleteCalendarEventRequest.g.cs | 1 + .../DeleteCalendarJobRequest.g.cs | 1 + .../DeleteCalendarRequest.g.cs | 1 + .../DeleteDataFrameAnalyticsRequest.g.cs | 1 + .../DeleteDatafeedRequest.g.cs | 1 + .../DeleteExpiredDataRequest.g.cs | 1 + .../MachineLearning/DeleteFilterRequest.g.cs | 1 + .../DeleteForecastRequest.g.cs | 1 + .../Api/MachineLearning/DeleteJobRequest.g.cs | 1 + .../DeleteModelSnapshotRequest.g.cs | 1 + .../DeleteTrainedModelAliasRequest.g.cs | 1 + .../DeleteTrainedModelRequest.g.cs | 1 + .../EstimateModelMemoryRequest.g.cs | 1 + .../EvaluateDataFrameRequest.g.cs | 1 + .../ExplainDataFrameAnalyticsRequest.g.cs | 1 + .../Api/MachineLearning/FlushJobRequest.g.cs | 1 + .../Api/MachineLearning/ForecastRequest.g.cs | 1 + .../MachineLearning/GetBucketsRequest.g.cs | 1 + .../GetCalendarEventsRequest.g.cs | 1 + .../MachineLearning/GetCalendarsRequest.g.cs | 1 + .../MachineLearning/GetCategoriesRequest.g.cs | 1 + .../GetDataFrameAnalyticsRequest.g.cs | 1 + .../GetDataFrameAnalyticsStatsRequest.g.cs | 1 + .../GetDatafeedStatsRequest.g.cs | 1 + .../MachineLearning/GetDatafeedsRequest.g.cs | 1 + .../MachineLearning/GetFiltersRequest.g.cs | 1 + .../GetInfluencersRequest.g.cs | 1 + .../MachineLearning/GetJobStatsRequest.g.cs | 1 + .../Api/MachineLearning/GetJobsRequest.g.cs | 1 + .../GetMemoryStatsRequest.g.cs | 1 + .../GetModelSnapshotUpgradeStatsRequest.g.cs | 1 + .../GetModelSnapshotsRequest.g.cs | 1 + .../GetOverallBucketsRequest.g.cs | 1 + .../MachineLearning/GetRecordsRequest.g.cs | 1 + .../GetTrainedModelsRequest.g.cs | 1 + .../GetTrainedModelsStatsRequest.g.cs | 1 + .../InferTrainedModelRequest.g.cs | 1 + .../Api/MachineLearning/MlInfoRequest.g.cs | 1 + .../Api/MachineLearning/OpenJobRequest.g.cs | 1 + .../PostCalendarEventsRequest.g.cs | 1 + .../PreviewDataFrameAnalyticsRequest.g.cs | 1 + .../PutCalendarJobRequest.g.cs | 1 + .../MachineLearning/PutCalendarRequest.g.cs | 1 + .../PutDataFrameAnalyticsRequest.g.cs | 1 + .../MachineLearning/PutDatafeedRequest.g.cs | 1 + .../Api/MachineLearning/PutFilterRequest.g.cs | 1 + .../Api/MachineLearning/PutJobRequest.g.cs | 1 + .../PutTrainedModelAliasRequest.g.cs | 1 + .../PutTrainedModelDefinitionPartRequest.g.cs | 1 + .../PutTrainedModelRequest.g.cs | 1 + .../PutTrainedModelVocabularyRequest.g.cs | 1 + .../Api/MachineLearning/ResetJobRequest.g.cs | 1 + .../RevertModelSnapshotRequest.g.cs | 1 + .../SetUpgradeModeRequest.g.cs | 1 + .../StartDataFrameAnalyticsRequest.g.cs | 1 + .../MachineLearning/StartDatafeedRequest.g.cs | 1 + .../StartTrainedModelDeploymentRequest.g.cs | 1 + .../StopDataFrameAnalyticsRequest.g.cs | 1 + .../MachineLearning/StopDatafeedRequest.g.cs | 1 + .../StopTrainedModelDeploymentRequest.g.cs | 1 + .../UpdateDataFrameAnalyticsRequest.g.cs | 1 + .../UpdateDatafeedRequest.g.cs | 1 + .../MachineLearning/UpdateFilterRequest.g.cs | 1 + .../Api/MachineLearning/UpdateJobRequest.g.cs | 1 + .../UpdateModelSnapshotRequest.g.cs | 1 + .../UpgradeJobSnapshotRequest.g.cs | 1 + .../ValidateDetectorRequest.g.cs | 1 + .../Api/MachineLearning/ValidateRequest.g.cs | 1 + .../_Generated/Api/MultiGetRequest.g.cs | 1 + .../_Generated/Api/MultiSearchRequest.g.cs | 1 + .../Api/MultiSearchTemplateRequest.g.cs | 1 + .../Api/MultiTermVectorsRequest.g.cs | 1 + .../Api/Nodes/HotThreadsRequest.g.cs | 1 + .../Api/Nodes/NodesInfoRequest.g.cs | 1 + .../Api/Nodes/NodesStatsRequest.g.cs | 1 + .../Api/Nodes/NodesUsageRequest.g.cs | 1 + .../Api/OpenPointInTimeRequest.g.cs | 1 + .../_Generated/Api/PingRequest.g.cs | 1 + .../_Generated/Api/PutScriptRequest.g.cs | 1 + .../Api/QueryRules/DeleteRuleRequest.g.cs | 1 + .../Api/QueryRules/DeleteRulesetRequest.g.cs | 1 + .../Api/QueryRules/GetRuleRequest.g.cs | 1 + .../Api/QueryRules/GetRulesetRequest.g.cs | 1 + .../Api/QueryRules/ListRulesetsRequest.g.cs | 1 + .../Api/QueryRules/PutRuleRequest.g.cs | 1 + .../Api/QueryRules/PutRulesetRequest.g.cs | 1 + .../_Generated/Api/RankEvalRequest.g.cs | 1 + .../_Generated/Api/ReindexRequest.g.cs | 1 + .../Api/ReindexRethrottleRequest.g.cs | 1 + .../Api/RenderSearchTemplateRequest.g.cs | 1 + .../_Generated/Api/ScrollRequest.g.cs | 1 + .../_Generated/Api/SearchMvtRequest.g.cs | 1 + .../_Generated/Api/SearchRequest.g.cs | 1 + .../_Generated/Api/SearchTemplateRequest.g.cs | 1 + .../Security/ActivateUserProfileRequest.g.cs | 1 + .../Api/Security/AuthenticateRequest.g.cs | 1 + .../Api/Security/BulkDeleteRoleRequest.g.cs | 1 + .../Api/Security/BulkPutRoleRequest.g.cs | 1 + .../Api/Security/ClearApiKeyCacheRequest.g.cs | 1 + .../ClearCachedPrivilegesRequest.g.cs | 1 + .../Security/ClearCachedRealmsRequest.g.cs | 1 + .../Api/Security/ClearCachedRolesRequest.g.cs | 1 + .../ClearCachedServiceTokensRequest.g.cs | 1 + .../Api/Security/CreateApiKeyRequest.g.cs | 1 + .../Security/CreateServiceTokenRequest.g.cs | 1 + .../Api/Security/DeletePrivilegesRequest.g.cs | 1 + .../Security/DeleteRoleMappingRequest.g.cs | 1 + .../Api/Security/DeleteRoleRequest.g.cs | 1 + .../Security/DeleteServiceTokenRequest.g.cs | 1 + .../Security/DisableUserProfileRequest.g.cs | 1 + .../Security/EnableUserProfileRequest.g.cs | 1 + .../Api/Security/GetApiKeyRequest.g.cs | 1 + .../Security/GetBuiltinPrivilegesRequest.g.cs | 1 + .../Api/Security/GetPrivilegesRequest.g.cs | 1 + .../Api/Security/GetRoleMappingRequest.g.cs | 1 + .../Api/Security/GetRoleRequest.g.cs | 1 + .../Security/GetServiceAccountsRequest.g.cs | 1 + .../GetServiceCredentialsRequest.g.cs | 1 + .../Api/Security/GetTokenRequest.g.cs | 1 + .../Security/GetUserPrivilegesRequest.g.cs | 1 + .../Api/Security/GetUserProfileRequest.g.cs | 1 + .../Api/Security/GrantApiKeyRequest.g.cs | 1 + .../Api/Security/HasPrivilegesRequest.g.cs | 1 + .../HasPrivilegesUserProfileRequest.g.cs | 1 + .../Api/Security/InvalidateApiKeyRequest.g.cs | 1 + .../Api/Security/InvalidateTokenRequest.g.cs | 1 + .../Api/Security/PutPrivilegesRequest.g.cs | 1 + .../Api/Security/PutRoleMappingRequest.g.cs | 1 + .../Api/Security/PutRoleRequest.g.cs | 1 + .../Api/Security/QueryApiKeysRequest.g.cs | 1 + .../Api/Security/QueryRoleRequest.g.cs | 1 + .../Api/Security/QueryUserRequest.g.cs | 1 + .../Api/Security/SamlAuthenticateRequest.g.cs | 1 + .../Security/SamlCompleteLogoutRequest.g.cs | 1 + .../Api/Security/SamlInvalidateRequest.g.cs | 1 + .../Api/Security/SamlLogoutRequest.g.cs | 1 + .../SamlPrepareAuthenticationRequest.g.cs | 1 + .../SamlServiceProviderMetadataRequest.g.cs | 1 + .../Security/SuggestUserProfilesRequest.g.cs | 1 + .../Api/Security/UpdateApiKeyRequest.g.cs | 1 + .../UpdateUserProfileDataRequest.g.cs | 1 + .../Snapshot/CleanupRepositoryRequest.g.cs | 1 + .../Api/Snapshot/CloneSnapshotRequest.g.cs | 1 + .../Api/Snapshot/CreateRepositoryRequest.g.cs | 1 + .../Api/Snapshot/CreateSnapshotRequest.g.cs | 1 + .../Api/Snapshot/DeleteRepositoryRequest.g.cs | 1 + .../Api/Snapshot/DeleteSnapshotRequest.g.cs | 1 + .../Api/Snapshot/GetRepositoryRequest.g.cs | 1 + .../Api/Snapshot/GetSnapshotRequest.g.cs | 1 + .../Api/Snapshot/RestoreRequest.g.cs | 1 + .../Api/Snapshot/SnapshotStatusRequest.g.cs | 1 + .../Api/Snapshot/VerifyRepositoryRequest.g.cs | 1 + .../DeleteLifecycleRequest.g.cs | 1 + .../ExecuteLifecycleRequest.g.cs | 1 + .../ExecuteRetentionRequest.g.cs | 1 + .../GetLifecycleRequest.g.cs | 1 + .../GetSlmStatusRequest.g.cs | 1 + .../GetStatsRequest.g.cs | 1 + .../PutLifecycleRequest.g.cs | 1 + .../StartSlmRequest.g.cs | 1 + .../StopSlmRequest.g.cs | 1 + .../Api/Sql/ClearCursorRequest.g.cs | 1 + .../Api/Sql/DeleteAsyncRequest.g.cs | 1 + .../_Generated/Api/Sql/GetAsyncRequest.g.cs | 1 + .../Api/Sql/GetAsyncStatusRequest.g.cs | 1 + .../_Generated/Api/Sql/QueryRequest.g.cs | 1 + .../_Generated/Api/Sql/TranslateRequest.g.cs | 1 + .../Api/Synonyms/DeleteSynonymRequest.g.cs | 1 + .../Synonyms/DeleteSynonymRuleRequest.g.cs | 1 + .../Api/Synonyms/GetSynonymRequest.g.cs | 1 + .../Api/Synonyms/GetSynonymRuleRequest.g.cs | 1 + .../Api/Synonyms/GetSynonymsSetsRequest.g.cs | 1 + .../Api/Synonyms/PutSynonymRequest.g.cs | 1 + .../Api/Synonyms/PutSynonymRuleRequest.g.cs | 1 + .../_Generated/Api/TermVectorsRequest.g.cs | 3 +- .../_Generated/Api/TermsEnumRequest.g.cs | 1 + .../TextStructure/TestGrokPatternRequest.g.cs | 1 + .../DeleteTransformRequest.g.cs | 1 + .../GetTransformRequest.g.cs | 1 + .../GetTransformStatsRequest.g.cs | 1 + .../PreviewTransformRequest.g.cs | 1 + .../PutTransformRequest.g.cs | 1 + .../ResetTransformRequest.g.cs | 1 + .../ScheduleNowTransformRequest.g.cs | 1 + .../StartTransformRequest.g.cs | 1 + .../StopTransformRequest.g.cs | 1 + .../UpdateTransformRequest.g.cs | 1 + .../UpgradeTransformsRequest.g.cs | 1 + .../_Generated/Api/UpdateByQueryRequest.g.cs | 1 + .../Api/UpdateByQueryRethrottleRequest.g.cs | 1 + .../_Generated/Api/UpdateRequest.g.cs | 5 +- .../Api/Xpack/XpackInfoRequest.g.cs | 1 + .../Api/Xpack/XpackUsageRequest.g.cs | 1 + .../Elastic.Clients.Elasticsearch.csproj | 2 +- .../AsyncSearch/AsyncSearchStatusRequest.g.cs | 1 + .../AsyncSearch/DeleteAsyncSearchRequest.g.cs | 1 + .../AsyncSearch/GetAsyncSearchRequest.g.cs | 1 + .../AsyncSearch/SubmitAsyncSearchRequest.g.cs | 1 + .../_Generated/Api/BulkRequest.g.cs | 1 + .../_Generated/Api/ClearScrollRequest.g.cs | 1 + .../Api/ClosePointInTimeRequest.g.cs | 1 + .../Api/Cluster/AllocationExplainRequest.g.cs | 1 + .../Api/Cluster/ClusterInfoRequest.g.cs | 1 + .../Api/Cluster/ClusterStatsRequest.g.cs | 1 + .../DeleteComponentTemplateRequest.g.cs | 1 + .../DeleteVotingConfigExclusionsRequest.g.cs | 1 + .../ExistsComponentTemplateRequest.g.cs | 1 + .../Cluster/GetClusterSettingsRequest.g.cs | 1 + .../Cluster/GetComponentTemplateRequest.g.cs | 1 + .../_Generated/Api/Cluster/HealthRequest.g.cs | 1 + .../Api/Cluster/PendingTasksRequest.g.cs | 1 + .../PostVotingConfigExclusionsRequest.g.cs | 1 + .../Cluster/PutComponentTemplateRequest.g.cs | 1 + .../_Generated/Api/CountRequest.g.cs | 1 + .../_Generated/Api/CreateRequest.g.cs | 5 +- .../CcrStatsRequest.g.cs | 1 + .../DeleteAutoFollowPatternRequest.g.cs | 1 + .../FollowInfoRequest.g.cs | 1 + .../FollowRequest.g.cs | 1 + .../FollowStatsRequest.g.cs | 1 + .../ForgetFollowerRequest.g.cs | 1 + .../GetAutoFollowPatternRequest.g.cs | 1 + .../PauseAutoFollowPatternRequest.g.cs | 1 + .../PauseFollowRequest.g.cs | 1 + .../PutAutoFollowPatternRequest.g.cs | 1 + .../ResumeAutoFollowPatternRequest.g.cs | 1 + .../ResumeFollowRequest.g.cs | 1 + .../UnfollowRequest.g.cs | 1 + .../ListDanglingIndicesRequest.g.cs | 1 + .../_Generated/Api/DeleteByQueryRequest.g.cs | 1 + .../Api/DeleteByQueryRethrottleRequest.g.cs | 1 + .../_Generated/Api/DeleteRequest.g.cs | 1 + .../_Generated/Api/DeleteScriptRequest.g.cs | 1 + .../Api/Enrich/DeletePolicyRequest.g.cs | 1 + .../Api/Enrich/EnrichStatsRequest.g.cs | 1 + .../Api/Enrich/ExecutePolicyRequest.g.cs | 1 + .../Api/Enrich/GetPolicyRequest.g.cs | 1 + .../Api/Enrich/PutPolicyRequest.g.cs | 1 + .../_Generated/Api/Eql/EqlDeleteRequest.g.cs | 1 + .../_Generated/Api/Eql/EqlGetRequest.g.cs | 1 + .../_Generated/Api/Eql/EqlSearchRequest.g.cs | 1 + .../Api/Eql/GetEqlStatusRequest.g.cs | 1 + .../_Generated/Api/Esql/EsqlQueryRequest.g.cs | 1 + .../_Generated/Api/ExistsRequest.g.cs | 1 + .../_Generated/Api/ExistsSourceRequest.g.cs | 1 + .../_Generated/Api/ExplainRequest.g.cs | 1 + .../Api/Features/GetFeaturesRequest.g.cs | 1 + .../Api/Features/ResetFeaturesRequest.g.cs | 1 + .../_Generated/Api/FieldCapsRequest.g.cs | 1 + .../_Generated/Api/GetRequest.g.cs | 1 + .../Api/GetScriptContextRequest.g.cs | 1 + .../Api/GetScriptLanguagesRequest.g.cs | 1 + .../_Generated/Api/GetScriptRequest.g.cs | 1 + .../_Generated/Api/GetSourceRequest.g.cs | 1 + .../_Generated/Api/Graph/ExploreRequest.g.cs | 1 + .../_Generated/Api/HealthReportRequest.g.cs | 1 + .../DeleteLifecycleRequest.g.cs | 1 + .../GetIlmStatusRequest.g.cs | 1 + .../GetLifecycleRequest.g.cs | 1 + .../MigrateToDataTiersRequest.g.cs | 1 + .../MoveToStepRequest.g.cs | 1 + .../PutLifecycleRequest.g.cs | 1 + .../RemovePolicyRequest.g.cs | 1 + .../RetryRequest.g.cs | 1 + .../StartIlmRequest.g.cs | 1 + .../StopIlmRequest.g.cs | 1 + .../IndexManagement/AnalyzeIndexRequest.g.cs | 1 + .../IndexManagement/ClearCacheRequest.g.cs | 1 + .../IndexManagement/CloneIndexRequest.g.cs | 1 + .../IndexManagement/CloseIndexRequest.g.cs | 1 + .../CreateDataStreamRequest.g.cs | 1 + .../IndexManagement/CreateIndexRequest.g.cs | 1 + .../DataStreamsStatsRequest.g.cs | 1 + .../IndexManagement/DeleteAliasRequest.g.cs | 1 + .../DeleteDataLifecycleRequest.g.cs | 1 + .../DeleteDataStreamRequest.g.cs | 1 + .../IndexManagement/DeleteIndexRequest.g.cs | 1 + .../DeleteIndexTemplateRequest.g.cs | 1 + .../DeleteTemplateRequest.g.cs | 1 + .../Api/IndexManagement/DiskUsageRequest.g.cs | 1 + .../IndexManagement/DownsampleRequest.g.cs | 1 + .../IndexManagement/ExistsAliasRequest.g.cs | 1 + .../ExistsIndexTemplateRequest.g.cs | 1 + .../Api/IndexManagement/ExistsRequest.g.cs | 1 + .../ExistsTemplateRequest.g.cs | 1 + .../ExplainDataLifecycleRequest.g.cs | 1 + .../FieldUsageStatsRequest.g.cs | 1 + .../Api/IndexManagement/FlushRequest.g.cs | 1 + .../IndexManagement/ForcemergeRequest.g.cs | 1 + .../Api/IndexManagement/GetAliasRequest.g.cs | 1 + .../GetDataLifecycleRequest.g.cs | 1 + .../IndexManagement/GetDataStreamRequest.g.cs | 1 + .../GetFieldMappingRequest.g.cs | 1 + .../Api/IndexManagement/GetIndexRequest.g.cs | 1 + .../GetIndexTemplateRequest.g.cs | 1 + .../GetIndicesSettingsRequest.g.cs | 1 + .../IndexManagement/GetMappingRequest.g.cs | 1 + .../IndexManagement/GetTemplateRequest.g.cs | 1 + .../IndexManagement/IndicesStatsRequest.g.cs | 1 + .../MigrateToDataStreamRequest.g.cs | 1 + .../ModifyDataStreamRequest.g.cs | 1 + .../Api/IndexManagement/OpenIndexRequest.g.cs | 1 + .../PromoteDataStreamRequest.g.cs | 1 + .../Api/IndexManagement/PutAliasRequest.g.cs | 1 + .../PutDataLifecycleRequest.g.cs | 1 + .../PutIndexTemplateRequest.g.cs | 1 + .../PutIndicesSettingsRequest.g.cs | 1 + .../IndexManagement/PutMappingRequest.g.cs | 1 + .../IndexManagement/PutTemplateRequest.g.cs | 1 + .../Api/IndexManagement/RecoveryRequest.g.cs | 1 + .../Api/IndexManagement/RefreshRequest.g.cs | 1 + .../ReloadSearchAnalyzersRequest.g.cs | 1 + .../ResolveClusterRequest.g.cs | 1 + .../IndexManagement/ResolveIndexRequest.g.cs | 1 + .../Api/IndexManagement/RolloverRequest.g.cs | 1 + .../Api/IndexManagement/SegmentsRequest.g.cs | 1 + .../IndexManagement/ShardStoresRequest.g.cs | 1 + .../IndexManagement/ShrinkIndexRequest.g.cs | 1 + .../SimulateIndexTemplateRequest.g.cs | 1 + .../SimulateTemplateRequest.g.cs | 1 + .../IndexManagement/SplitIndexRequest.g.cs | 1 + .../IndexManagement/UpdateAliasesRequest.g.cs | 1 + .../IndexManagement/ValidateQueryRequest.g.cs | 1 + .../_Generated/Api/IndexRequest.g.cs | 5 +- .../Api/Inference/DeleteInferenceRequest.g.cs | 1 + .../Api/Inference/GetInferenceRequest.g.cs | 1 + .../Api/Inference/InferenceRequest.g.cs | 1 + .../Api/Inference/PutInferenceRequest.g.cs | 1 + .../_Generated/Api/InfoRequest.g.cs | 1 + .../Ingest/DeleteGeoipDatabaseRequest.g.cs | 1 + .../Api/Ingest/DeletePipelineRequest.g.cs | 1 + .../Api/Ingest/GeoIpStatsRequest.g.cs | 1 + .../Api/Ingest/GetGeoipDatabaseRequest.g.cs | 1 + .../Api/Ingest/GetPipelineRequest.g.cs | 1 + .../Api/Ingest/ProcessorGrokRequest.g.cs | 1 + .../Api/Ingest/PutGeoipDatabaseRequest.g.cs | 1 + .../Api/Ingest/PutPipelineRequest.g.cs | 1 + .../Api/Ingest/SimulateRequest.g.cs | 1 + .../DeleteLicenseRequest.g.cs | 1 + .../GetBasicStatusRequest.g.cs | 1 + .../LicenseManagement/GetLicenseRequest.g.cs | 1 + .../GetTrialStatusRequest.g.cs | 1 + .../Api/LicenseManagement/PostRequest.g.cs | 1 + .../PostStartBasicRequest.g.cs | 1 + .../PostStartTrialRequest.g.cs | 1 + ...earTrainedModelDeploymentCacheRequest.g.cs | 1 + .../Api/MachineLearning/CloseJobRequest.g.cs | 1 + .../DeleteCalendarEventRequest.g.cs | 1 + .../DeleteCalendarJobRequest.g.cs | 1 + .../DeleteCalendarRequest.g.cs | 1 + .../DeleteDataFrameAnalyticsRequest.g.cs | 1 + .../DeleteDatafeedRequest.g.cs | 1 + .../DeleteExpiredDataRequest.g.cs | 1 + .../MachineLearning/DeleteFilterRequest.g.cs | 1 + .../DeleteForecastRequest.g.cs | 1 + .../Api/MachineLearning/DeleteJobRequest.g.cs | 1 + .../DeleteModelSnapshotRequest.g.cs | 1 + .../DeleteTrainedModelAliasRequest.g.cs | 1 + .../DeleteTrainedModelRequest.g.cs | 1 + .../EstimateModelMemoryRequest.g.cs | 1 + .../EvaluateDataFrameRequest.g.cs | 1 + .../ExplainDataFrameAnalyticsRequest.g.cs | 1 + .../Api/MachineLearning/FlushJobRequest.g.cs | 1 + .../Api/MachineLearning/ForecastRequest.g.cs | 1 + .../MachineLearning/GetBucketsRequest.g.cs | 1 + .../GetCalendarEventsRequest.g.cs | 1 + .../MachineLearning/GetCalendarsRequest.g.cs | 1 + .../MachineLearning/GetCategoriesRequest.g.cs | 1 + .../GetDataFrameAnalyticsRequest.g.cs | 1 + .../GetDataFrameAnalyticsStatsRequest.g.cs | 1 + .../GetDatafeedStatsRequest.g.cs | 1 + .../MachineLearning/GetDatafeedsRequest.g.cs | 1 + .../MachineLearning/GetFiltersRequest.g.cs | 1 + .../GetInfluencersRequest.g.cs | 1 + .../MachineLearning/GetJobStatsRequest.g.cs | 1 + .../Api/MachineLearning/GetJobsRequest.g.cs | 1 + .../GetMemoryStatsRequest.g.cs | 1 + .../GetModelSnapshotUpgradeStatsRequest.g.cs | 1 + .../GetModelSnapshotsRequest.g.cs | 1 + .../GetOverallBucketsRequest.g.cs | 1 + .../MachineLearning/GetRecordsRequest.g.cs | 1 + .../GetTrainedModelsRequest.g.cs | 1 + .../GetTrainedModelsStatsRequest.g.cs | 1 + .../InferTrainedModelRequest.g.cs | 1 + .../Api/MachineLearning/MlInfoRequest.g.cs | 1 + .../Api/MachineLearning/OpenJobRequest.g.cs | 1 + .../PostCalendarEventsRequest.g.cs | 1 + .../PreviewDataFrameAnalyticsRequest.g.cs | 1 + .../PutCalendarJobRequest.g.cs | 1 + .../MachineLearning/PutCalendarRequest.g.cs | 1 + .../PutDataFrameAnalyticsRequest.g.cs | 1 + .../MachineLearning/PutDatafeedRequest.g.cs | 1 + .../Api/MachineLearning/PutFilterRequest.g.cs | 1 + .../Api/MachineLearning/PutJobRequest.g.cs | 1 + .../PutTrainedModelAliasRequest.g.cs | 1 + .../PutTrainedModelDefinitionPartRequest.g.cs | 1 + .../PutTrainedModelRequest.g.cs | 1 + .../PutTrainedModelVocabularyRequest.g.cs | 1 + .../Api/MachineLearning/ResetJobRequest.g.cs | 1 + .../RevertModelSnapshotRequest.g.cs | 1 + .../SetUpgradeModeRequest.g.cs | 1 + .../StartDataFrameAnalyticsRequest.g.cs | 1 + .../MachineLearning/StartDatafeedRequest.g.cs | 1 + .../StartTrainedModelDeploymentRequest.g.cs | 1 + .../StopDataFrameAnalyticsRequest.g.cs | 1 + .../MachineLearning/StopDatafeedRequest.g.cs | 1 + .../StopTrainedModelDeploymentRequest.g.cs | 1 + .../UpdateDataFrameAnalyticsRequest.g.cs | 1 + .../UpdateDatafeedRequest.g.cs | 1 + .../MachineLearning/UpdateFilterRequest.g.cs | 1 + .../Api/MachineLearning/UpdateJobRequest.g.cs | 1 + .../UpdateModelSnapshotRequest.g.cs | 1 + .../UpdateTrainedModelDeploymentRequest.g.cs | 1 + .../UpgradeJobSnapshotRequest.g.cs | 1 + .../ValidateDetectorRequest.g.cs | 1 + .../Api/MachineLearning/ValidateRequest.g.cs | 1 + .../_Generated/Api/MultiGetRequest.g.cs | 1 + .../_Generated/Api/MultiSearchRequest.g.cs | 1 + .../Api/MultiSearchTemplateRequest.g.cs | 1 + .../Api/MultiTermVectorsRequest.g.cs | 1 + ...earRepositoriesMeteringArchiveRequest.g.cs | 1 + .../GetRepositoriesMeteringInfoRequest.g.cs | 1 + .../Api/Nodes/HotThreadsRequest.g.cs | 1 + .../Api/Nodes/NodesInfoRequest.g.cs | 1 + .../Api/Nodes/NodesStatsRequest.g.cs | 1 + .../Api/Nodes/NodesUsageRequest.g.cs | 1 + .../Nodes/ReloadSecureSettingsRequest.g.cs | 1 + .../Api/OpenPointInTimeRequest.g.cs | 1 + .../_Generated/Api/PingRequest.g.cs | 1 + .../_Generated/Api/PutScriptRequest.g.cs | 1 + .../Api/QueryRules/DeleteRuleRequest.g.cs | 1 + .../Api/QueryRules/DeleteRulesetRequest.g.cs | 1 + .../Api/QueryRules/GetRuleRequest.g.cs | 1 + .../Api/QueryRules/GetRulesetRequest.g.cs | 1 + .../Api/QueryRules/ListRulesetsRequest.g.cs | 1 + .../Api/QueryRules/PutRuleRequest.g.cs | 1 + .../Api/QueryRules/PutRulesetRequest.g.cs | 1 + .../_Generated/Api/RankEvalRequest.g.cs | 1 + .../_Generated/Api/ReindexRequest.g.cs | 1 + .../Api/ReindexRethrottleRequest.g.cs | 1 + .../Api/RenderSearchTemplateRequest.g.cs | 1 + .../Api/Rollup/DeleteJobRequest.g.cs | 1 + .../_Generated/Api/Rollup/GetJobsRequest.g.cs | 1 + .../Api/Rollup/GetRollupCapsRequest.g.cs | 1 + .../Api/Rollup/GetRollupIndexCapsRequest.g.cs | 1 + .../_Generated/Api/Rollup/PutJobRequest.g.cs | 1 + .../Api/Rollup/RollupSearchRequest.g.cs | 1 + .../Api/Rollup/StartJobRequest.g.cs | 1 + .../_Generated/Api/Rollup/StopJobRequest.g.cs | 1 + .../Api/ScriptsPainlessExecuteRequest.g.cs | 1 + .../_Generated/Api/ScrollRequest.g.cs | 1 + .../DeleteBehavioralAnalyticsRequest.g.cs | 1 + .../DeleteSearchApplicationRequest.g.cs | 1 + .../GetBehavioralAnalyticsRequest.g.cs | 1 + .../GetSearchApplicationRequest.g.cs | 1 + .../Api/SearchApplication/ListRequest.g.cs | 1 + .../PutBehavioralAnalyticsRequest.g.cs | 1 + .../PutSearchApplicationRequest.g.cs | 1 + .../SearchApplicationSearchRequest.g.cs | 1 + .../_Generated/Api/SearchMvtRequest.g.cs | 1 + .../_Generated/Api/SearchRequest.g.cs | 1 + .../_Generated/Api/SearchShardsRequest.g.cs | 1 + .../_Generated/Api/SearchTemplateRequest.g.cs | 1 + .../CacheStatsRequest.g.cs | 1 + .../ClearCacheRequest.g.cs | 1 + .../Api/SearchableSnapshots/MountRequest.g.cs | 1 + .../SearchableSnapshotsStatsRequest.g.cs | 1 + .../Security/ActivateUserProfileRequest.g.cs | 1 + .../Api/Security/AuthenticateRequest.g.cs | 1 + .../Api/Security/BulkDeleteRoleRequest.g.cs | 1 + .../Api/Security/BulkPutRoleRequest.g.cs | 1 + .../Api/Security/ChangePasswordRequest.g.cs | 1 + .../Api/Security/ClearApiKeyCacheRequest.g.cs | 1 + .../ClearCachedPrivilegesRequest.g.cs | 1 + .../Security/ClearCachedRealmsRequest.g.cs | 1 + .../Api/Security/ClearCachedRolesRequest.g.cs | 1 + .../ClearCachedServiceTokensRequest.g.cs | 1 + .../Api/Security/CreateApiKeyRequest.g.cs | 1 + .../Security/CreateServiceTokenRequest.g.cs | 1 + .../Api/Security/DeletePrivilegesRequest.g.cs | 1 + .../Security/DeleteRoleMappingRequest.g.cs | 1 + .../Api/Security/DeleteRoleRequest.g.cs | 1 + .../Security/DeleteServiceTokenRequest.g.cs | 1 + .../Api/Security/DeleteUserRequest.g.cs | 1 + .../Security/DisableUserProfileRequest.g.cs | 1 + .../Api/Security/DisableUserRequest.g.cs | 1 + .../Security/EnableUserProfileRequest.g.cs | 1 + .../Api/Security/EnableUserRequest.g.cs | 1 + .../Api/Security/EnrollKibanaRequest.g.cs | 1 + .../Api/Security/EnrollNodeRequest.g.cs | 1 + .../Api/Security/GetApiKeyRequest.g.cs | 1 + .../Security/GetBuiltinPrivilegesRequest.g.cs | 1 + .../Api/Security/GetPrivilegesRequest.g.cs | 1 + .../Api/Security/GetRoleMappingRequest.g.cs | 1 + .../Api/Security/GetRoleRequest.g.cs | 1 + .../Security/GetServiceAccountsRequest.g.cs | 1 + .../GetServiceCredentialsRequest.g.cs | 1 + .../Api/Security/GetTokenRequest.g.cs | 1 + .../Security/GetUserPrivilegesRequest.g.cs | 1 + .../Api/Security/GetUserProfileRequest.g.cs | 1 + .../Api/Security/GetUserRequest.g.cs | 1 + .../Api/Security/GrantApiKeyRequest.g.cs | 1 + .../Api/Security/HasPrivilegesRequest.g.cs | 1 + .../HasPrivilegesUserProfileRequest.g.cs | 1 + .../Api/Security/InvalidateApiKeyRequest.g.cs | 1 + .../Api/Security/InvalidateTokenRequest.g.cs | 1 + .../Api/Security/PutPrivilegesRequest.g.cs | 1 + .../Api/Security/PutRoleMappingRequest.g.cs | 1 + .../Api/Security/PutRoleRequest.g.cs | 1 + .../Api/Security/PutUserRequest.g.cs | 1 + .../Api/Security/QueryApiKeysRequest.g.cs | 1 + .../Api/Security/QueryRoleRequest.g.cs | 1 + .../Api/Security/QueryUserRequest.g.cs | 1 + .../Api/Security/SamlAuthenticateRequest.g.cs | 1 + .../Security/SamlCompleteLogoutRequest.g.cs | 1 + .../Api/Security/SamlInvalidateRequest.g.cs | 1 + .../Api/Security/SamlLogoutRequest.g.cs | 1 + .../SamlPrepareAuthenticationRequest.g.cs | 1 + .../SamlServiceProviderMetadataRequest.g.cs | 1 + .../Security/SuggestUserProfilesRequest.g.cs | 1 + .../Api/Security/UpdateApiKeyRequest.g.cs | 1 + .../UpdateUserProfileDataRequest.g.cs | 1 + .../Snapshot/CleanupRepositoryRequest.g.cs | 1 + .../Api/Snapshot/CloneSnapshotRequest.g.cs | 1 + .../Api/Snapshot/CreateRepositoryRequest.g.cs | 1 + .../Api/Snapshot/CreateSnapshotRequest.g.cs | 1 + .../Api/Snapshot/DeleteRepositoryRequest.g.cs | 1 + .../Api/Snapshot/DeleteSnapshotRequest.g.cs | 1 + .../Api/Snapshot/GetRepositoryRequest.g.cs | 1 + .../Api/Snapshot/GetSnapshotRequest.g.cs | 1 + .../Api/Snapshot/RestoreRequest.g.cs | 1 + .../Api/Snapshot/SnapshotStatusRequest.g.cs | 1 + .../Api/Snapshot/VerifyRepositoryRequest.g.cs | 1 + .../DeleteLifecycleRequest.g.cs | 1 + .../ExecuteLifecycleRequest.g.cs | 1 + .../ExecuteRetentionRequest.g.cs | 1 + .../GetLifecycleRequest.g.cs | 1 + .../GetSlmStatusRequest.g.cs | 1 + .../GetStatsRequest.g.cs | 1 + .../PutLifecycleRequest.g.cs | 1 + .../StartSlmRequest.g.cs | 1 + .../StopSlmRequest.g.cs | 1 + .../Api/Sql/ClearCursorRequest.g.cs | 1 + .../Api/Sql/DeleteAsyncRequest.g.cs | 1 + .../_Generated/Api/Sql/GetAsyncRequest.g.cs | 1 + .../Api/Sql/GetAsyncStatusRequest.g.cs | 1 + .../_Generated/Api/Sql/QueryRequest.g.cs | 1 + .../_Generated/Api/Sql/TranslateRequest.g.cs | 1 + .../Api/Synonyms/DeleteSynonymRequest.g.cs | 1 + .../Synonyms/DeleteSynonymRuleRequest.g.cs | 1 + .../Api/Synonyms/GetSynonymRequest.g.cs | 1 + .../Api/Synonyms/GetSynonymRuleRequest.g.cs | 1 + .../Api/Synonyms/GetSynonymsSetsRequest.g.cs | 1 + .../Api/Synonyms/PutSynonymRequest.g.cs | 1 + .../Api/Synonyms/PutSynonymRuleRequest.g.cs | 1 + .../_Generated/Api/Tasks/CancelRequest.g.cs | 1 + .../_Generated/Api/Tasks/GetTasksRequest.g.cs | 1 + .../_Generated/Api/Tasks/ListRequest.g.cs | 1 + .../_Generated/Api/TermVectorsRequest.g.cs | 3 +- .../_Generated/Api/TermsEnumRequest.g.cs | 1 + .../TextStructure/TestGrokPatternRequest.g.cs | 1 + .../DeleteTransformRequest.g.cs | 1 + .../GetTransformRequest.g.cs | 1 + .../GetTransformStatsRequest.g.cs | 1 + .../PreviewTransformRequest.g.cs | 1 + .../PutTransformRequest.g.cs | 1 + .../ResetTransformRequest.g.cs | 1 + .../ScheduleNowTransformRequest.g.cs | 1 + .../StartTransformRequest.g.cs | 1 + .../StopTransformRequest.g.cs | 1 + .../UpdateTransformRequest.g.cs | 1 + .../UpgradeTransformsRequest.g.cs | 1 + .../_Generated/Api/UpdateByQueryRequest.g.cs | 1 + .../Api/UpdateByQueryRethrottleRequest.g.cs | 1 + .../_Generated/Api/UpdateRequest.g.cs | 5 +- .../Api/Xpack/XpackInfoRequest.g.cs | 1 + .../Api/Xpack/XpackUsageRequest.g.cs | 1 + .../ElasticsearchClientSettings.cs | 33 ++-- .../_Shared/Core/Fields/FieldValue.cs | 25 ++- .../DefaultRequestResponseSerializer.cs | 104 +++++++---- .../Serialization/DefaultSourceSerializer.cs | 120 ++++++------- .../Serialization/SerializerExtensions.cs | 27 --- .../_Shared/Serialization/SourceConverter.cs | 6 +- .../Serialization/SourceSerialization.cs | 127 -------------- .../Serialization/SystemTextJsonSerializer.cs | 164 ------------------ .../Types/Core/Bulk/BulkCreateOperation.cs | 4 +- .../Bulk/BulkCreateOperationDescriptor.cs | 13 +- .../Types/Core/Bulk/BulkDeleteOperation.cs | 4 +- .../Bulk/BulkDeleteOperationDescriptor.cs | 9 +- .../Types/Core/Bulk/BulkIndexOperation.cs | 4 +- .../Core/Bulk/BulkIndexOperationDescriptor.cs | 11 +- .../_Shared/Types/Core/Bulk/BulkUpdateBody.cs | 5 +- .../Types/Core/Bulk/BulkUpdateOperation.cs | 1 + .../Bulk/BulkUpdateOperationDescriptor.cs | 5 +- .../Types/Core/Bulk/PartialBulkUpdateBody.cs | 3 +- .../Types/Core/Bulk/ScriptedBulkUpdateBody.cs | 3 +- .../Types/Core/MSearch/SearchRequestItem.cs | 23 +-- .../SearchTemplateRequestItem.cs | 23 +-- src/Playground/Person.cs | 2 + src/Playground/Playground.csproj | 2 +- tests/Tests/Tests.csproj | 4 +- 700 files changed, 912 insertions(+), 518 deletions(-) delete mode 100644 src/Elastic.Clients.Elasticsearch/_Shared/Serialization/SerializerExtensions.cs delete mode 100644 src/Elastic.Clients.Elasticsearch/_Shared/Serialization/SourceSerialization.cs delete mode 100644 src/Elastic.Clients.Elasticsearch/_Shared/Serialization/SystemTextJsonSerializer.cs diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/Elastic.Clients.Elasticsearch.Serverless.csproj b/src/Elastic.Clients.Elasticsearch.Serverless/Elastic.Clients.Elasticsearch.Serverless.csproj index e2e4cdf3d98..4e00bb4e38c 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/Elastic.Clients.Elasticsearch.Serverless.csproj +++ b/src/Elastic.Clients.Elasticsearch.Serverless/Elastic.Clients.Elasticsearch.Serverless.csproj @@ -21,7 +21,7 @@ annotations - + @@ -37,7 +37,7 @@ - + \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/AsyncSearch/AsyncSearchStatusRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/AsyncSearch/AsyncSearchStatusRequest.g.cs index 06fbaa3a2ea..c87bdfffbbe 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/AsyncSearch/AsyncSearchStatusRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/AsyncSearch/AsyncSearchStatusRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/AsyncSearch/DeleteAsyncSearchRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/AsyncSearch/DeleteAsyncSearchRequest.g.cs index 4b524cfa19b..5f52d5657f5 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/AsyncSearch/DeleteAsyncSearchRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/AsyncSearch/DeleteAsyncSearchRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/AsyncSearch/GetAsyncSearchRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/AsyncSearch/GetAsyncSearchRequest.g.cs index 6952b0ab921..eb6996e3141 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/AsyncSearch/GetAsyncSearchRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/AsyncSearch/GetAsyncSearchRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/AsyncSearch/SubmitAsyncSearchRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/AsyncSearch/SubmitAsyncSearchRequest.g.cs index 3619775104c..201bd4cacd2 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/AsyncSearch/SubmitAsyncSearchRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/AsyncSearch/SubmitAsyncSearchRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/BulkRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/BulkRequest.g.cs index 65263841972..889eec89881 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/BulkRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/BulkRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ClearScrollRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ClearScrollRequest.g.cs index 7fcb74ce47c..5ef6d921fee 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ClearScrollRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ClearScrollRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ClosePointInTimeRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ClosePointInTimeRequest.g.cs index b8a16c05cd3..fce101f4962 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ClosePointInTimeRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ClosePointInTimeRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Cluster/AllocationExplainRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Cluster/AllocationExplainRequest.g.cs index 47b3e3d5d75..7dbc3bec9aa 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Cluster/AllocationExplainRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Cluster/AllocationExplainRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Cluster/ClusterInfoRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Cluster/ClusterInfoRequest.g.cs index 170fa7a9c24..31f8239a78c 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Cluster/ClusterInfoRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Cluster/ClusterInfoRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Cluster/ClusterStatsRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Cluster/ClusterStatsRequest.g.cs index 90fdb724cdb..13e796ad368 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Cluster/ClusterStatsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Cluster/ClusterStatsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Cluster/DeleteComponentTemplateRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Cluster/DeleteComponentTemplateRequest.g.cs index d4196ab4fe1..b1deddeacbe 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Cluster/DeleteComponentTemplateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Cluster/DeleteComponentTemplateRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Cluster/ExistsComponentTemplateRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Cluster/ExistsComponentTemplateRequest.g.cs index 56298476081..93382cdfb0d 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Cluster/ExistsComponentTemplateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Cluster/ExistsComponentTemplateRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Cluster/GetClusterSettingsRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Cluster/GetClusterSettingsRequest.g.cs index 90cc00b8be0..f1fea9585c1 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Cluster/GetClusterSettingsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Cluster/GetClusterSettingsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Cluster/GetComponentTemplateRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Cluster/GetComponentTemplateRequest.g.cs index 952edd6d748..fc9c79d5584 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Cluster/GetComponentTemplateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Cluster/GetComponentTemplateRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Cluster/HealthRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Cluster/HealthRequest.g.cs index c1acf1cbf5a..147223cde7a 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Cluster/HealthRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Cluster/HealthRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Cluster/PendingTasksRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Cluster/PendingTasksRequest.g.cs index 82887bf785b..1e2e00c2840 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Cluster/PendingTasksRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Cluster/PendingTasksRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Cluster/PutComponentTemplateRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Cluster/PutComponentTemplateRequest.g.cs index ef662199d23..010a9dead81 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Cluster/PutComponentTemplateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Cluster/PutComponentTemplateRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/CountRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/CountRequest.g.cs index 75b17d65999..2fb04c094d4 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/CountRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/CountRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/CreateRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/CreateRequest.g.cs index 5b089946b08..effdf74767f 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/CreateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/CreateRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; @@ -172,7 +173,7 @@ public CreateRequest(Elastic.Clients.Elasticsearch.Serverless.IndexName index, E void ISelfSerializable.Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) { - SourceSerialization.Serialize(Document, writer, settings.SourceSerializer); + settings.SourceSerializer.Serialize(Document, writer); } } @@ -238,6 +239,6 @@ public CreateRequestDescriptor Document(TDocument document) protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) { - SourceSerialization.Serialize(DocumentValue, writer, settings.SourceSerializer); + settings.SourceSerializer.Serialize(DocumentValue, writer); } } \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/DeleteByQueryRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/DeleteByQueryRequest.g.cs index debf47d9556..3d339e7542c 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/DeleteByQueryRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/DeleteByQueryRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/DeleteByQueryRethrottleRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/DeleteByQueryRethrottleRequest.g.cs index cfa4ef28582..e56fc10d40d 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/DeleteByQueryRethrottleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/DeleteByQueryRethrottleRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/DeleteRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/DeleteRequest.g.cs index cb8667dabf2..2aad452164c 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/DeleteRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/DeleteRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/DeleteScriptRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/DeleteScriptRequest.g.cs index 111b0c8bda6..3f00760dcc2 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/DeleteScriptRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/DeleteScriptRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Enrich/DeletePolicyRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Enrich/DeletePolicyRequest.g.cs index 208da72b44b..6ea6f518ad4 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Enrich/DeletePolicyRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Enrich/DeletePolicyRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Enrich/EnrichStatsRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Enrich/EnrichStatsRequest.g.cs index 28a5d38229d..1941f7b01c8 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Enrich/EnrichStatsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Enrich/EnrichStatsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Enrich/ExecutePolicyRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Enrich/ExecutePolicyRequest.g.cs index 341956997e7..bfcd84f9629 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Enrich/ExecutePolicyRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Enrich/ExecutePolicyRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Enrich/GetPolicyRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Enrich/GetPolicyRequest.g.cs index 8bdf06568c5..18a6f0883de 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Enrich/GetPolicyRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Enrich/GetPolicyRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Enrich/PutPolicyRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Enrich/PutPolicyRequest.g.cs index 52d73b69b22..2b519e863af 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Enrich/PutPolicyRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Enrich/PutPolicyRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Eql/EqlDeleteRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Eql/EqlDeleteRequest.g.cs index f908eea90e5..26bafe47bd1 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Eql/EqlDeleteRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Eql/EqlDeleteRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Eql/EqlGetRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Eql/EqlGetRequest.g.cs index 0bbd65326c0..c9192b2f318 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Eql/EqlGetRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Eql/EqlGetRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Eql/EqlSearchRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Eql/EqlSearchRequest.g.cs index 086ac9ef3c4..f01dfc28fc2 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Eql/EqlSearchRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Eql/EqlSearchRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Eql/GetEqlStatusRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Eql/GetEqlStatusRequest.g.cs index d88d22c56bb..4c8761fbd1c 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Eql/GetEqlStatusRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Eql/GetEqlStatusRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Esql/EsqlQueryRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Esql/EsqlQueryRequest.g.cs index 3a9c22fbcf8..0d7346ea8b4 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Esql/EsqlQueryRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Esql/EsqlQueryRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ExistsRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ExistsRequest.g.cs index e24bcb41a50..49b0e900db4 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ExistsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ExistsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ExistsSourceRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ExistsSourceRequest.g.cs index 19dbbc8c024..2f40a52f211 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ExistsSourceRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ExistsSourceRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ExplainRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ExplainRequest.g.cs index 28d5e4b07a8..b372cd2365c 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ExplainRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ExplainRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/FieldCapsRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/FieldCapsRequest.g.cs index 293d92123dd..da4e00b2404 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/FieldCapsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/FieldCapsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/GetRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/GetRequest.g.cs index e63379bc27d..ab515ef772d 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/GetRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/GetRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/GetScriptRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/GetScriptRequest.g.cs index 1895448bcf2..9550ee70937 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/GetScriptRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/GetScriptRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/GetSourceRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/GetSourceRequest.g.cs index 28f508e3429..a7cf0ccf4a0 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/GetSourceRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/GetSourceRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Graph/ExploreRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Graph/ExploreRequest.g.cs index 919bd54cfd5..98a5e46eb17 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Graph/ExploreRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Graph/ExploreRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/HealthReportRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/HealthReportRequest.g.cs index a50ae8b7405..95f49997489 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/HealthReportRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/HealthReportRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/AnalyzeIndexRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/AnalyzeIndexRequest.g.cs index e340047680c..19c041d5f48 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/AnalyzeIndexRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/AnalyzeIndexRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/ClearCacheRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/ClearCacheRequest.g.cs index f5c44eb2b8d..b775af01f88 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/ClearCacheRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/ClearCacheRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/CloseIndexRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/CloseIndexRequest.g.cs index b2b1457b415..fea6ec149ae 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/CloseIndexRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/CloseIndexRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/CreateDataStreamRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/CreateDataStreamRequest.g.cs index 5183e7d899e..b9173b90ce0 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/CreateDataStreamRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/CreateDataStreamRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/CreateIndexRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/CreateIndexRequest.g.cs index 3cb5cfa008b..746e53173e0 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/CreateIndexRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/CreateIndexRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/DataStreamsStatsRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/DataStreamsStatsRequest.g.cs index 23ca7d0e743..71d611237d2 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/DataStreamsStatsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/DataStreamsStatsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/DeleteAliasRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/DeleteAliasRequest.g.cs index 79e974c5971..7e96e2d1523 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/DeleteAliasRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/DeleteAliasRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/DeleteDataLifecycleRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/DeleteDataLifecycleRequest.g.cs index 5c7353df9c6..d51c20ece9f 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/DeleteDataLifecycleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/DeleteDataLifecycleRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/DeleteDataStreamRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/DeleteDataStreamRequest.g.cs index e178b78aa84..bf4d32f7578 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/DeleteDataStreamRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/DeleteDataStreamRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/DeleteIndexRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/DeleteIndexRequest.g.cs index 3e2f89fd832..b9999ccd09b 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/DeleteIndexRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/DeleteIndexRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/DeleteIndexTemplateRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/DeleteIndexTemplateRequest.g.cs index 32f44bf2b47..41a810306d5 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/DeleteIndexTemplateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/DeleteIndexTemplateRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/ExistsAliasRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/ExistsAliasRequest.g.cs index a622fae0b98..9f27881dc8f 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/ExistsAliasRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/ExistsAliasRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/ExistsIndexTemplateRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/ExistsIndexTemplateRequest.g.cs index d7979515bbc..661999ee9f7 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/ExistsIndexTemplateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/ExistsIndexTemplateRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/ExistsRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/ExistsRequest.g.cs index ff4cda826be..0236d6f8fb4 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/ExistsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/ExistsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/ExplainDataLifecycleRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/ExplainDataLifecycleRequest.g.cs index 9c6b9667348..e0b93bd6566 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/ExplainDataLifecycleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/ExplainDataLifecycleRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/FlushRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/FlushRequest.g.cs index aa4e5d9d7da..14a44b06337 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/FlushRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/FlushRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/ForcemergeRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/ForcemergeRequest.g.cs index 64f8ea4330c..4a1a1515bfa 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/ForcemergeRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/ForcemergeRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/GetAliasRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/GetAliasRequest.g.cs index e9b58304329..53820d6bb2a 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/GetAliasRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/GetAliasRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/GetDataLifecycleRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/GetDataLifecycleRequest.g.cs index c16e10b2327..d01d9a3cf0f 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/GetDataLifecycleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/GetDataLifecycleRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/GetDataStreamRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/GetDataStreamRequest.g.cs index 88efd35baf2..0875d040842 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/GetDataStreamRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/GetDataStreamRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/GetIndexRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/GetIndexRequest.g.cs index 42c8a75f74d..b75468eb210 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/GetIndexRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/GetIndexRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/GetIndexTemplateRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/GetIndexTemplateRequest.g.cs index 134c2334a9a..e75aa237879 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/GetIndexTemplateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/GetIndexTemplateRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/GetIndicesSettingsRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/GetIndicesSettingsRequest.g.cs index e1453114ad2..0c47c6f8d5a 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/GetIndicesSettingsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/GetIndicesSettingsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/GetMappingRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/GetMappingRequest.g.cs index 11da64b673d..966e283780e 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/GetMappingRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/GetMappingRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/IndicesStatsRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/IndicesStatsRequest.g.cs index 9ad8458a9a6..accee52904d 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/IndicesStatsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/IndicesStatsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/MigrateToDataStreamRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/MigrateToDataStreamRequest.g.cs index c492fe65fb7..9bdaa0a0cfc 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/MigrateToDataStreamRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/MigrateToDataStreamRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/ModifyDataStreamRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/ModifyDataStreamRequest.g.cs index 1145204f2c7..13a2456efc9 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/ModifyDataStreamRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/ModifyDataStreamRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/OpenIndexRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/OpenIndexRequest.g.cs index ac21682f415..2c0a31fa6b1 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/OpenIndexRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/OpenIndexRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/PutAliasRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/PutAliasRequest.g.cs index 36431fcb415..9a41aa815c3 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/PutAliasRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/PutAliasRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/PutDataLifecycleRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/PutDataLifecycleRequest.g.cs index 439d6377046..3c979b58a57 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/PutDataLifecycleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/PutDataLifecycleRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/PutIndexTemplateRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/PutIndexTemplateRequest.g.cs index 0bb21806f9b..5ff90d349b1 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/PutIndexTemplateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/PutIndexTemplateRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/PutIndicesSettingsRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/PutIndicesSettingsRequest.g.cs index 658feafaeb0..ea49bfef5ac 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/PutIndicesSettingsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/PutIndicesSettingsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/PutMappingRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/PutMappingRequest.g.cs index e59d8c3dddc..64cd0a8f573 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/PutMappingRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/PutMappingRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/RecoveryRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/RecoveryRequest.g.cs index 40b9b4b55d0..e1995519ba4 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/RecoveryRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/RecoveryRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/RefreshRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/RefreshRequest.g.cs index 3bdb87f8baf..d8b77384e22 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/RefreshRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/RefreshRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/ResolveIndexRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/ResolveIndexRequest.g.cs index 35ff26b1dce..93fefd387c2 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/ResolveIndexRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/ResolveIndexRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/RolloverRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/RolloverRequest.g.cs index 0121d53bc30..8fb0a81cfd2 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/RolloverRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/RolloverRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/SegmentsRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/SegmentsRequest.g.cs index 2f68f3a4ec4..0960e65ef67 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/SegmentsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/SegmentsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/SimulateIndexTemplateRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/SimulateIndexTemplateRequest.g.cs index 7e77705f613..b5ec5a933a7 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/SimulateIndexTemplateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/SimulateIndexTemplateRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/SimulateTemplateRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/SimulateTemplateRequest.g.cs index d2221056b69..0eda30d559e 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/SimulateTemplateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/SimulateTemplateRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/UpdateAliasesRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/UpdateAliasesRequest.g.cs index 5a97ea06129..eb681f76ea7 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/UpdateAliasesRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/UpdateAliasesRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/ValidateQueryRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/ValidateQueryRequest.g.cs index fab104b5d0b..74dcc20cc2e 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/ValidateQueryRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/ValidateQueryRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexRequest.g.cs index b4a45e8a2a4..de8f1f2caf9 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; @@ -246,7 +247,7 @@ public IndexRequest(Elastic.Clients.Elasticsearch.Serverless.IndexName index) : void ISelfSerializable.Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) { - SourceSerialization.Serialize(Document, writer, settings.SourceSerializer); + settings.SourceSerializer.Serialize(Document, writer); } } @@ -316,6 +317,6 @@ public IndexRequestDescriptor Document(TDocument document) protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) { - SourceSerialization.Serialize(DocumentValue, writer, settings.SourceSerializer); + settings.SourceSerializer.Serialize(DocumentValue, writer); } } \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/InfoRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/InfoRequest.g.cs index 5f2c5c58308..7b25a03ae4e 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/InfoRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/InfoRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Ingest/DeleteGeoipDatabaseRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Ingest/DeleteGeoipDatabaseRequest.g.cs index 3832abe96c9..4f5534ed14b 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Ingest/DeleteGeoipDatabaseRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Ingest/DeleteGeoipDatabaseRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Ingest/DeletePipelineRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Ingest/DeletePipelineRequest.g.cs index ce25577c563..8f5ab4ef007 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Ingest/DeletePipelineRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Ingest/DeletePipelineRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Ingest/GeoIpStatsRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Ingest/GeoIpStatsRequest.g.cs index 5c504e1a06a..e8c2ad23910 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Ingest/GeoIpStatsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Ingest/GeoIpStatsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Ingest/GetGeoipDatabaseRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Ingest/GetGeoipDatabaseRequest.g.cs index 9357f9a91aa..fad567b53e1 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Ingest/GetGeoipDatabaseRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Ingest/GetGeoipDatabaseRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Ingest/GetPipelineRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Ingest/GetPipelineRequest.g.cs index 1eaa9de7745..6c0946d0c25 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Ingest/GetPipelineRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Ingest/GetPipelineRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Ingest/ProcessorGrokRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Ingest/ProcessorGrokRequest.g.cs index 40ea0fdd310..d215d173bb3 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Ingest/ProcessorGrokRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Ingest/ProcessorGrokRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Ingest/PutGeoipDatabaseRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Ingest/PutGeoipDatabaseRequest.g.cs index a3301b745e5..786cdeb77e0 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Ingest/PutGeoipDatabaseRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Ingest/PutGeoipDatabaseRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Ingest/PutPipelineRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Ingest/PutPipelineRequest.g.cs index f4019717ca4..fd417ebf29c 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Ingest/PutPipelineRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Ingest/PutPipelineRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Ingest/SimulateRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Ingest/SimulateRequest.g.cs index 836ce519196..7d516a05062 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Ingest/SimulateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Ingest/SimulateRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/LicenseManagement/GetLicenseRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/LicenseManagement/GetLicenseRequest.g.cs index 8b2735c6601..772b0aac731 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/LicenseManagement/GetLicenseRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/LicenseManagement/GetLicenseRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/ClearTrainedModelDeploymentCacheRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/ClearTrainedModelDeploymentCacheRequest.g.cs index db0df6d163d..b70da8b4f0b 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/ClearTrainedModelDeploymentCacheRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/ClearTrainedModelDeploymentCacheRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/CloseJobRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/CloseJobRequest.g.cs index 9f2c6d30fc3..58d90c398c7 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/CloseJobRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/CloseJobRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteCalendarEventRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteCalendarEventRequest.g.cs index 8c19f7e7fa3..a9193fe4006 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteCalendarEventRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteCalendarEventRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteCalendarJobRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteCalendarJobRequest.g.cs index 54ca856ea5f..5926fd2b73c 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteCalendarJobRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteCalendarJobRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteCalendarRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteCalendarRequest.g.cs index ce43b27a948..b77793deb14 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteCalendarRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteCalendarRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteDataFrameAnalyticsRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteDataFrameAnalyticsRequest.g.cs index 610d57b513c..7be7cfbcf04 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteDataFrameAnalyticsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteDataFrameAnalyticsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteDatafeedRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteDatafeedRequest.g.cs index 14213fd405f..00d0678ceed 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteDatafeedRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteDatafeedRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteExpiredDataRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteExpiredDataRequest.g.cs index 8fc811170f4..4731b95db3b 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteExpiredDataRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteExpiredDataRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteFilterRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteFilterRequest.g.cs index 7bf228c64b8..c7d73bbee0f 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteFilterRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteFilterRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteForecastRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteForecastRequest.g.cs index 3316c5ce8aa..65e2a4bcba5 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteForecastRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteForecastRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteJobRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteJobRequest.g.cs index d80fc5507b8..b3ae38ccd95 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteJobRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteJobRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteModelSnapshotRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteModelSnapshotRequest.g.cs index b9668f74c3f..f7f45614a18 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteModelSnapshotRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteModelSnapshotRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteTrainedModelAliasRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteTrainedModelAliasRequest.g.cs index 129416bc867..8a2bb6f0332 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteTrainedModelAliasRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteTrainedModelAliasRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteTrainedModelRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteTrainedModelRequest.g.cs index 2f389266385..a67f6f1a816 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteTrainedModelRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/DeleteTrainedModelRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/EstimateModelMemoryRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/EstimateModelMemoryRequest.g.cs index 61cd20f930b..31aba530006 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/EstimateModelMemoryRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/EstimateModelMemoryRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/EvaluateDataFrameRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/EvaluateDataFrameRequest.g.cs index 31bba7175d0..5e75e055fc7 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/EvaluateDataFrameRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/EvaluateDataFrameRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/ExplainDataFrameAnalyticsRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/ExplainDataFrameAnalyticsRequest.g.cs index d3ba88414e2..bcba58a723b 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/ExplainDataFrameAnalyticsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/ExplainDataFrameAnalyticsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/FlushJobRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/FlushJobRequest.g.cs index 3c31c77effa..9be14763bfa 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/FlushJobRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/FlushJobRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/ForecastRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/ForecastRequest.g.cs index 0d568f3f451..d7ab688c996 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/ForecastRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/ForecastRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetBucketsRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetBucketsRequest.g.cs index 2728612b64e..000c92a69a4 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetBucketsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetBucketsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetCalendarEventsRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetCalendarEventsRequest.g.cs index fd707b15679..89dc4aec915 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetCalendarEventsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetCalendarEventsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetCalendarsRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetCalendarsRequest.g.cs index 858887e8078..4ea7f49c534 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetCalendarsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetCalendarsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetCategoriesRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetCategoriesRequest.g.cs index 62ffd0e1fd5..22c6ffe83ea 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetCategoriesRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetCategoriesRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetDataFrameAnalyticsRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetDataFrameAnalyticsRequest.g.cs index 0d3fa16f386..978f87804b9 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetDataFrameAnalyticsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetDataFrameAnalyticsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetDataFrameAnalyticsStatsRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetDataFrameAnalyticsStatsRequest.g.cs index f2cb75d7087..37e600dff08 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetDataFrameAnalyticsStatsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetDataFrameAnalyticsStatsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetDatafeedStatsRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetDatafeedStatsRequest.g.cs index 7ff66606245..202bb74adaa 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetDatafeedStatsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetDatafeedStatsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetDatafeedsRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetDatafeedsRequest.g.cs index e5953844a97..0c7a6c9e4bb 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetDatafeedsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetDatafeedsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetFiltersRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetFiltersRequest.g.cs index 75c987777ed..50976e51819 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetFiltersRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetFiltersRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetInfluencersRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetInfluencersRequest.g.cs index 8465dd876ae..a2bfb5349fc 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetInfluencersRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetInfluencersRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetJobStatsRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetJobStatsRequest.g.cs index 4c7c1da7d14..bcaf990b9ca 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetJobStatsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetJobStatsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetJobsRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetJobsRequest.g.cs index d1d20095279..57b18c0b024 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetJobsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetJobsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetMemoryStatsRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetMemoryStatsRequest.g.cs index 984de164d30..566744ca06f 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetMemoryStatsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetMemoryStatsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetModelSnapshotUpgradeStatsRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetModelSnapshotUpgradeStatsRequest.g.cs index 2c1de76fc72..794d29a8ffa 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetModelSnapshotUpgradeStatsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetModelSnapshotUpgradeStatsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetModelSnapshotsRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetModelSnapshotsRequest.g.cs index 97a917919f1..c222148d131 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetModelSnapshotsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetModelSnapshotsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetOverallBucketsRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetOverallBucketsRequest.g.cs index 2c7945a73f6..1e2877a88e7 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetOverallBucketsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetOverallBucketsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetRecordsRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetRecordsRequest.g.cs index ce17db2305d..5c1469f0ce4 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetRecordsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetRecordsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetTrainedModelsRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetTrainedModelsRequest.g.cs index 35a99be4287..309d344b1ad 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetTrainedModelsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetTrainedModelsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetTrainedModelsStatsRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetTrainedModelsStatsRequest.g.cs index f8d61fd5c89..8bdac0c39d1 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetTrainedModelsStatsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetTrainedModelsStatsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/InferTrainedModelRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/InferTrainedModelRequest.g.cs index 38140045363..93354770d71 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/InferTrainedModelRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/InferTrainedModelRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/MlInfoRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/MlInfoRequest.g.cs index f22997bf6ff..eaed39dd0d7 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/MlInfoRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/MlInfoRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/OpenJobRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/OpenJobRequest.g.cs index 3abb9f4d4e6..079c74ffe3e 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/OpenJobRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/OpenJobRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/PostCalendarEventsRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/PostCalendarEventsRequest.g.cs index 9129a7de810..a4fe8a7aa03 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/PostCalendarEventsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/PostCalendarEventsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/PreviewDataFrameAnalyticsRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/PreviewDataFrameAnalyticsRequest.g.cs index 846920231f1..18255393669 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/PreviewDataFrameAnalyticsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/PreviewDataFrameAnalyticsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/PutCalendarJobRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/PutCalendarJobRequest.g.cs index e8dd1e140a3..f14d06fa9be 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/PutCalendarJobRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/PutCalendarJobRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/PutCalendarRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/PutCalendarRequest.g.cs index a3e81d7d81f..30744c748b0 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/PutCalendarRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/PutCalendarRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/PutDataFrameAnalyticsRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/PutDataFrameAnalyticsRequest.g.cs index 3eab22835d9..8f5e1b2b473 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/PutDataFrameAnalyticsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/PutDataFrameAnalyticsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/PutDatafeedRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/PutDatafeedRequest.g.cs index 0ebb1ea6b80..21cd468437c 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/PutDatafeedRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/PutDatafeedRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/PutFilterRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/PutFilterRequest.g.cs index 307c8c63327..83aece34c13 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/PutFilterRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/PutFilterRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/PutJobRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/PutJobRequest.g.cs index 8e7709adc0a..a328a9024b6 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/PutJobRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/PutJobRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/PutTrainedModelAliasRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/PutTrainedModelAliasRequest.g.cs index 50c8269a441..7e1b3290619 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/PutTrainedModelAliasRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/PutTrainedModelAliasRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/PutTrainedModelDefinitionPartRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/PutTrainedModelDefinitionPartRequest.g.cs index 99d244dd5f1..46b073093ea 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/PutTrainedModelDefinitionPartRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/PutTrainedModelDefinitionPartRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/PutTrainedModelRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/PutTrainedModelRequest.g.cs index f4e94246cc5..7d4e626063e 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/PutTrainedModelRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/PutTrainedModelRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/PutTrainedModelVocabularyRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/PutTrainedModelVocabularyRequest.g.cs index a95bd42111c..726bb60eafc 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/PutTrainedModelVocabularyRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/PutTrainedModelVocabularyRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/ResetJobRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/ResetJobRequest.g.cs index 6f37f08b868..aa3f166a8e7 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/ResetJobRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/ResetJobRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/RevertModelSnapshotRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/RevertModelSnapshotRequest.g.cs index abc7ec6dc2e..facea174277 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/RevertModelSnapshotRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/RevertModelSnapshotRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/SetUpgradeModeRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/SetUpgradeModeRequest.g.cs index 163c705e894..5e1a6f0f920 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/SetUpgradeModeRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/SetUpgradeModeRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/StartDataFrameAnalyticsRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/StartDataFrameAnalyticsRequest.g.cs index 0193352dfeb..c4967363ed4 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/StartDataFrameAnalyticsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/StartDataFrameAnalyticsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/StartDatafeedRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/StartDatafeedRequest.g.cs index 4e45349d057..b13efcbd0ea 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/StartDatafeedRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/StartDatafeedRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/StartTrainedModelDeploymentRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/StartTrainedModelDeploymentRequest.g.cs index 8239be0b587..f84b0145fcc 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/StartTrainedModelDeploymentRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/StartTrainedModelDeploymentRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/StopDataFrameAnalyticsRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/StopDataFrameAnalyticsRequest.g.cs index 979254508ff..ee5fbdccf66 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/StopDataFrameAnalyticsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/StopDataFrameAnalyticsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/StopDatafeedRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/StopDatafeedRequest.g.cs index ee776b9d3da..5e2ff84485d 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/StopDatafeedRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/StopDatafeedRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/StopTrainedModelDeploymentRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/StopTrainedModelDeploymentRequest.g.cs index 8c06e8ee0e2..8caf585fe7d 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/StopTrainedModelDeploymentRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/StopTrainedModelDeploymentRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/UpdateDataFrameAnalyticsRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/UpdateDataFrameAnalyticsRequest.g.cs index a8a95458c4e..3deec915db0 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/UpdateDataFrameAnalyticsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/UpdateDataFrameAnalyticsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/UpdateDatafeedRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/UpdateDatafeedRequest.g.cs index fd7b187677e..4a7029991d4 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/UpdateDatafeedRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/UpdateDatafeedRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/UpdateFilterRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/UpdateFilterRequest.g.cs index 776f304e42a..fe2b4112df2 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/UpdateFilterRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/UpdateFilterRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/UpdateJobRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/UpdateJobRequest.g.cs index 9ac634298a2..ae9051b30bc 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/UpdateJobRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/UpdateJobRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/UpdateModelSnapshotRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/UpdateModelSnapshotRequest.g.cs index 0b02574bcef..482d98fbf97 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/UpdateModelSnapshotRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/UpdateModelSnapshotRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/UpgradeJobSnapshotRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/UpgradeJobSnapshotRequest.g.cs index 0e385cc3350..18b35ba5b71 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/UpgradeJobSnapshotRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/UpgradeJobSnapshotRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/ValidateDetectorRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/ValidateDetectorRequest.g.cs index 0d71e337459..2a37e67278c 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/ValidateDetectorRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/ValidateDetectorRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/ValidateRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/ValidateRequest.g.cs index da1ea34eb21..74f7c612d62 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/ValidateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/ValidateRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MultiGetRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MultiGetRequest.g.cs index 1ce6fadcc65..9aa85448a96 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MultiGetRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MultiGetRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MultiSearchRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MultiSearchRequest.g.cs index cacee94a167..8c0ef9bbda7 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MultiSearchRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MultiSearchRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.IO; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MultiSearchTemplateRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MultiSearchTemplateRequest.g.cs index b8c319c3d88..3d32f3e4575 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MultiSearchTemplateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MultiSearchTemplateRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.IO; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MultiTermVectorsRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MultiTermVectorsRequest.g.cs index 78dae622801..1f4602c4741 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MultiTermVectorsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MultiTermVectorsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Nodes/HotThreadsRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Nodes/HotThreadsRequest.g.cs index a0e1f4011c6..db93be34837 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Nodes/HotThreadsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Nodes/HotThreadsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Nodes/NodesInfoRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Nodes/NodesInfoRequest.g.cs index 2d418a9957c..4b4b4da648f 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Nodes/NodesInfoRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Nodes/NodesInfoRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Nodes/NodesStatsRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Nodes/NodesStatsRequest.g.cs index 2eb10229211..84bcd40044d 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Nodes/NodesStatsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Nodes/NodesStatsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Nodes/NodesUsageRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Nodes/NodesUsageRequest.g.cs index e655fd43792..2b05ccd320b 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Nodes/NodesUsageRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Nodes/NodesUsageRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/OpenPointInTimeRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/OpenPointInTimeRequest.g.cs index 769f6db4bcb..da6b9acc96f 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/OpenPointInTimeRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/OpenPointInTimeRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/PingRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/PingRequest.g.cs index 33dafd6f976..ca73ff8e6b8 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/PingRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/PingRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/PutScriptRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/PutScriptRequest.g.cs index e86f7e88aa1..dcb83136ca9 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/PutScriptRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/PutScriptRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/QueryRules/DeleteRuleRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/QueryRules/DeleteRuleRequest.g.cs index dd95c7a0111..68f4d45387b 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/QueryRules/DeleteRuleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/QueryRules/DeleteRuleRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/QueryRules/DeleteRulesetRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/QueryRules/DeleteRulesetRequest.g.cs index fbccf927d64..53750c2a169 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/QueryRules/DeleteRulesetRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/QueryRules/DeleteRulesetRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/QueryRules/GetRuleRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/QueryRules/GetRuleRequest.g.cs index 1800ee95924..82b9cfb4363 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/QueryRules/GetRuleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/QueryRules/GetRuleRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/QueryRules/GetRulesetRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/QueryRules/GetRulesetRequest.g.cs index e7df1907fed..713129ca4dd 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/QueryRules/GetRulesetRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/QueryRules/GetRulesetRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/QueryRules/ListRulesetsRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/QueryRules/ListRulesetsRequest.g.cs index bfac7d7d9c4..b8ac43368da 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/QueryRules/ListRulesetsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/QueryRules/ListRulesetsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/QueryRules/PutRuleRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/QueryRules/PutRuleRequest.g.cs index e8c13c62bdd..df796ed43a9 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/QueryRules/PutRuleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/QueryRules/PutRuleRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/QueryRules/PutRulesetRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/QueryRules/PutRulesetRequest.g.cs index cd31931ffe0..c5345402201 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/QueryRules/PutRulesetRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/QueryRules/PutRulesetRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/RankEvalRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/RankEvalRequest.g.cs index 69ff475374b..85d9c3e904c 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/RankEvalRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/RankEvalRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ReindexRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ReindexRequest.g.cs index 95d2c0f1980..2bdf65a0f2d 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ReindexRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ReindexRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ReindexRethrottleRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ReindexRethrottleRequest.g.cs index ddb5d42e4f1..d0738646824 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ReindexRethrottleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ReindexRethrottleRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/RenderSearchTemplateRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/RenderSearchTemplateRequest.g.cs index 07b1760ae43..98214e0bfa4 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/RenderSearchTemplateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/RenderSearchTemplateRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ScrollRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ScrollRequest.g.cs index 80b60e31b90..4f722b979b8 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ScrollRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ScrollRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SearchMvtRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SearchMvtRequest.g.cs index 27cb84e2b63..5c1f2d95bc6 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SearchMvtRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SearchMvtRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SearchRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SearchRequest.g.cs index 35976debed0..79e1a49b383 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SearchRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SearchRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SearchTemplateRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SearchTemplateRequest.g.cs index 9cd5b268e2c..e1288d7fefc 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SearchTemplateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SearchTemplateRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/ActivateUserProfileRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/ActivateUserProfileRequest.g.cs index 9b7d53c88ad..51d7f4d54b2 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/ActivateUserProfileRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/ActivateUserProfileRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/AuthenticateRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/AuthenticateRequest.g.cs index 8788e7dc1ed..ecd2ad18764 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/AuthenticateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/AuthenticateRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/BulkDeleteRoleRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/BulkDeleteRoleRequest.g.cs index 49545b0f963..ee3942ef7ac 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/BulkDeleteRoleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/BulkDeleteRoleRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/BulkPutRoleRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/BulkPutRoleRequest.g.cs index 0a15f6d6413..f7cf7f825e2 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/BulkPutRoleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/BulkPutRoleRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/ClearApiKeyCacheRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/ClearApiKeyCacheRequest.g.cs index 4647a129f1b..342b9460d4d 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/ClearApiKeyCacheRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/ClearApiKeyCacheRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/ClearCachedPrivilegesRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/ClearCachedPrivilegesRequest.g.cs index cef156ee080..6222ec0725b 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/ClearCachedPrivilegesRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/ClearCachedPrivilegesRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/ClearCachedRealmsRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/ClearCachedRealmsRequest.g.cs index 38ff7ca998b..e867442c434 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/ClearCachedRealmsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/ClearCachedRealmsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/ClearCachedRolesRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/ClearCachedRolesRequest.g.cs index 38e07e69001..63eb2f221d5 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/ClearCachedRolesRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/ClearCachedRolesRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/ClearCachedServiceTokensRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/ClearCachedServiceTokensRequest.g.cs index 5bb0d3a44d7..6290641f215 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/ClearCachedServiceTokensRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/ClearCachedServiceTokensRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/CreateApiKeyRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/CreateApiKeyRequest.g.cs index 1eee8df99aa..45ea6354019 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/CreateApiKeyRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/CreateApiKeyRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/CreateServiceTokenRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/CreateServiceTokenRequest.g.cs index fd4f499ab0a..cf914c5cb46 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/CreateServiceTokenRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/CreateServiceTokenRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/DeletePrivilegesRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/DeletePrivilegesRequest.g.cs index 3ba1aaaa1cf..b13523c31d5 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/DeletePrivilegesRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/DeletePrivilegesRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/DeleteRoleMappingRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/DeleteRoleMappingRequest.g.cs index b9f237e97a6..51e64452bb0 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/DeleteRoleMappingRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/DeleteRoleMappingRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/DeleteRoleRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/DeleteRoleRequest.g.cs index 50ac48cefc1..8b78b92a099 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/DeleteRoleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/DeleteRoleRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/DeleteServiceTokenRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/DeleteServiceTokenRequest.g.cs index 11073804c2b..48fd4aeb88e 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/DeleteServiceTokenRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/DeleteServiceTokenRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/DisableUserProfileRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/DisableUserProfileRequest.g.cs index fc3ed9282be..ffe29e0129b 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/DisableUserProfileRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/DisableUserProfileRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/EnableUserProfileRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/EnableUserProfileRequest.g.cs index 2263cb4aa2b..4e0b5e25e00 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/EnableUserProfileRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/EnableUserProfileRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetApiKeyRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetApiKeyRequest.g.cs index ab5a750f0b6..4b6499dc563 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetApiKeyRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetApiKeyRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetBuiltinPrivilegesRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetBuiltinPrivilegesRequest.g.cs index 26bff95de4f..326829e915f 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetBuiltinPrivilegesRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetBuiltinPrivilegesRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetPrivilegesRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetPrivilegesRequest.g.cs index ec87394ca9e..da45eb97feb 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetPrivilegesRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetPrivilegesRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetRoleMappingRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetRoleMappingRequest.g.cs index a1a2f9bf581..30e94b5b7f3 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetRoleMappingRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetRoleMappingRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetRoleRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetRoleRequest.g.cs index 3b86f9ba8c9..f4132f81a2f 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetRoleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetRoleRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetServiceAccountsRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetServiceAccountsRequest.g.cs index af9fd73de29..3d722b0eb8b 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetServiceAccountsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetServiceAccountsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetServiceCredentialsRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetServiceCredentialsRequest.g.cs index f790f6794c9..3d2a0ecfb8d 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetServiceCredentialsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetServiceCredentialsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetTokenRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetTokenRequest.g.cs index 3b89a43486b..0fea9bc36db 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetTokenRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetTokenRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetUserPrivilegesRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetUserPrivilegesRequest.g.cs index 9b3f5475ff9..3f6b988aad1 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetUserPrivilegesRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetUserPrivilegesRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetUserProfileRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetUserProfileRequest.g.cs index d1fdb32c053..bb282a71b60 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetUserProfileRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetUserProfileRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GrantApiKeyRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GrantApiKeyRequest.g.cs index dc869cec5ba..250badd5619 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GrantApiKeyRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GrantApiKeyRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/HasPrivilegesRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/HasPrivilegesRequest.g.cs index 75358b5db25..dbeec56ac2a 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/HasPrivilegesRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/HasPrivilegesRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/HasPrivilegesUserProfileRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/HasPrivilegesUserProfileRequest.g.cs index 3c691698789..ec0fc8461a8 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/HasPrivilegesUserProfileRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/HasPrivilegesUserProfileRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/InvalidateApiKeyRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/InvalidateApiKeyRequest.g.cs index b07642ff132..d9256ca110e 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/InvalidateApiKeyRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/InvalidateApiKeyRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/InvalidateTokenRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/InvalidateTokenRequest.g.cs index 1e65b16c9c9..3f146541c72 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/InvalidateTokenRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/InvalidateTokenRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/PutPrivilegesRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/PutPrivilegesRequest.g.cs index f3253850b85..ab3366a5509 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/PutPrivilegesRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/PutPrivilegesRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.IO; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/PutRoleMappingRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/PutRoleMappingRequest.g.cs index f0fd4a895c9..9be7d80b892 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/PutRoleMappingRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/PutRoleMappingRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/PutRoleRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/PutRoleRequest.g.cs index 93c7b54b71c..17b733fefac 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/PutRoleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/PutRoleRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/QueryApiKeysRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/QueryApiKeysRequest.g.cs index 4589cb5ef09..7e74a7993c4 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/QueryApiKeysRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/QueryApiKeysRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/QueryRoleRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/QueryRoleRequest.g.cs index fffc62f9085..87f3f201e45 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/QueryRoleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/QueryRoleRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/QueryUserRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/QueryUserRequest.g.cs index 68f7966e44d..0f1142d276b 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/QueryUserRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/QueryUserRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/SamlAuthenticateRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/SamlAuthenticateRequest.g.cs index 312f6abf4a7..148ca66cd00 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/SamlAuthenticateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/SamlAuthenticateRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/SamlCompleteLogoutRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/SamlCompleteLogoutRequest.g.cs index a12629e4ba2..66f777e8d73 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/SamlCompleteLogoutRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/SamlCompleteLogoutRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/SamlInvalidateRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/SamlInvalidateRequest.g.cs index cf7be1c7b05..cdcc6ca1c5a 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/SamlInvalidateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/SamlInvalidateRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/SamlLogoutRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/SamlLogoutRequest.g.cs index cd2b87084c8..0423c1881d5 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/SamlLogoutRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/SamlLogoutRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/SamlPrepareAuthenticationRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/SamlPrepareAuthenticationRequest.g.cs index 6a4c33b6a6f..92570ab779d 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/SamlPrepareAuthenticationRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/SamlPrepareAuthenticationRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/SamlServiceProviderMetadataRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/SamlServiceProviderMetadataRequest.g.cs index de2a004a00a..91804f5cb3b 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/SamlServiceProviderMetadataRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/SamlServiceProviderMetadataRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/SuggestUserProfilesRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/SuggestUserProfilesRequest.g.cs index 889d901e195..48bb4800091 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/SuggestUserProfilesRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/SuggestUserProfilesRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/UpdateApiKeyRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/UpdateApiKeyRequest.g.cs index cc892285e51..06552e2e13c 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/UpdateApiKeyRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/UpdateApiKeyRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/UpdateUserProfileDataRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/UpdateUserProfileDataRequest.g.cs index 80213bcee15..632005a5cc7 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/UpdateUserProfileDataRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/UpdateUserProfileDataRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Snapshot/CleanupRepositoryRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Snapshot/CleanupRepositoryRequest.g.cs index dc3a32faf69..536a9900476 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Snapshot/CleanupRepositoryRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Snapshot/CleanupRepositoryRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Snapshot/CloneSnapshotRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Snapshot/CloneSnapshotRequest.g.cs index 895f9427c77..980e63215bd 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Snapshot/CloneSnapshotRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Snapshot/CloneSnapshotRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Snapshot/CreateRepositoryRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Snapshot/CreateRepositoryRequest.g.cs index f439eb01a71..aa33ea57182 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Snapshot/CreateRepositoryRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Snapshot/CreateRepositoryRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Snapshot/CreateSnapshotRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Snapshot/CreateSnapshotRequest.g.cs index c5a148f5447..3ddf306d510 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Snapshot/CreateSnapshotRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Snapshot/CreateSnapshotRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Snapshot/DeleteRepositoryRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Snapshot/DeleteRepositoryRequest.g.cs index 8f1161f20dc..9ffe834ee6e 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Snapshot/DeleteRepositoryRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Snapshot/DeleteRepositoryRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Snapshot/DeleteSnapshotRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Snapshot/DeleteSnapshotRequest.g.cs index e505498c8fb..d3b43160891 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Snapshot/DeleteSnapshotRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Snapshot/DeleteSnapshotRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Snapshot/GetRepositoryRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Snapshot/GetRepositoryRequest.g.cs index 52143cbe9c8..42c34330963 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Snapshot/GetRepositoryRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Snapshot/GetRepositoryRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Snapshot/GetSnapshotRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Snapshot/GetSnapshotRequest.g.cs index e6fbe84a0c6..cead7ac5f96 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Snapshot/GetSnapshotRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Snapshot/GetSnapshotRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Snapshot/RestoreRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Snapshot/RestoreRequest.g.cs index 919861aeefb..1bad85d4a84 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Snapshot/RestoreRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Snapshot/RestoreRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Snapshot/SnapshotStatusRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Snapshot/SnapshotStatusRequest.g.cs index 48d630754f2..380bc29ce61 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Snapshot/SnapshotStatusRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Snapshot/SnapshotStatusRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Snapshot/VerifyRepositoryRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Snapshot/VerifyRepositoryRequest.g.cs index 60bc82b4c76..9cb312c97e3 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Snapshot/VerifyRepositoryRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Snapshot/VerifyRepositoryRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SnapshotLifecycleManagement/DeleteLifecycleRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SnapshotLifecycleManagement/DeleteLifecycleRequest.g.cs index 9185dfb4497..4928051cc69 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SnapshotLifecycleManagement/DeleteLifecycleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SnapshotLifecycleManagement/DeleteLifecycleRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SnapshotLifecycleManagement/ExecuteLifecycleRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SnapshotLifecycleManagement/ExecuteLifecycleRequest.g.cs index 94e6ed2d209..8eef429b7c5 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SnapshotLifecycleManagement/ExecuteLifecycleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SnapshotLifecycleManagement/ExecuteLifecycleRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SnapshotLifecycleManagement/ExecuteRetentionRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SnapshotLifecycleManagement/ExecuteRetentionRequest.g.cs index 85ebef47e24..f40e8846bee 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SnapshotLifecycleManagement/ExecuteRetentionRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SnapshotLifecycleManagement/ExecuteRetentionRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SnapshotLifecycleManagement/GetLifecycleRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SnapshotLifecycleManagement/GetLifecycleRequest.g.cs index 9176c90f39a..ec9a638e65a 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SnapshotLifecycleManagement/GetLifecycleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SnapshotLifecycleManagement/GetLifecycleRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SnapshotLifecycleManagement/GetSlmStatusRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SnapshotLifecycleManagement/GetSlmStatusRequest.g.cs index 97a1b70b905..fbf1bca10a5 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SnapshotLifecycleManagement/GetSlmStatusRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SnapshotLifecycleManagement/GetSlmStatusRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SnapshotLifecycleManagement/GetStatsRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SnapshotLifecycleManagement/GetStatsRequest.g.cs index 4dfaa30bda6..f9493bf36d2 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SnapshotLifecycleManagement/GetStatsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SnapshotLifecycleManagement/GetStatsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SnapshotLifecycleManagement/PutLifecycleRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SnapshotLifecycleManagement/PutLifecycleRequest.g.cs index 8f8d136e97a..0db37421a40 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SnapshotLifecycleManagement/PutLifecycleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SnapshotLifecycleManagement/PutLifecycleRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SnapshotLifecycleManagement/StartSlmRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SnapshotLifecycleManagement/StartSlmRequest.g.cs index 394d34fdec0..30e8185be51 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SnapshotLifecycleManagement/StartSlmRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SnapshotLifecycleManagement/StartSlmRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SnapshotLifecycleManagement/StopSlmRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SnapshotLifecycleManagement/StopSlmRequest.g.cs index 2492c4d0d46..f45eb97087a 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SnapshotLifecycleManagement/StopSlmRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SnapshotLifecycleManagement/StopSlmRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Sql/ClearCursorRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Sql/ClearCursorRequest.g.cs index d3f5a2a415c..cdd973674e8 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Sql/ClearCursorRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Sql/ClearCursorRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Sql/DeleteAsyncRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Sql/DeleteAsyncRequest.g.cs index cc741e63644..cd4a651c231 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Sql/DeleteAsyncRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Sql/DeleteAsyncRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Sql/GetAsyncRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Sql/GetAsyncRequest.g.cs index 35a0477155a..67f792e1318 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Sql/GetAsyncRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Sql/GetAsyncRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Sql/GetAsyncStatusRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Sql/GetAsyncStatusRequest.g.cs index e356874e9da..eef69541dba 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Sql/GetAsyncStatusRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Sql/GetAsyncStatusRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Sql/QueryRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Sql/QueryRequest.g.cs index c07aacaaa31..52855fd1922 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Sql/QueryRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Sql/QueryRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Sql/TranslateRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Sql/TranslateRequest.g.cs index ff1c27a038b..9d1b219c729 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Sql/TranslateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Sql/TranslateRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Synonyms/DeleteSynonymRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Synonyms/DeleteSynonymRequest.g.cs index 6020d220ab2..bbf7376e41c 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Synonyms/DeleteSynonymRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Synonyms/DeleteSynonymRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Synonyms/DeleteSynonymRuleRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Synonyms/DeleteSynonymRuleRequest.g.cs index b7738711561..4895992fa55 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Synonyms/DeleteSynonymRuleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Synonyms/DeleteSynonymRuleRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Synonyms/GetSynonymRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Synonyms/GetSynonymRequest.g.cs index fd701fa1eba..a3ba571e818 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Synonyms/GetSynonymRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Synonyms/GetSynonymRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Synonyms/GetSynonymRuleRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Synonyms/GetSynonymRuleRequest.g.cs index 40e41cdafdd..551a46722fc 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Synonyms/GetSynonymRuleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Synonyms/GetSynonymRuleRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Synonyms/GetSynonymsSetsRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Synonyms/GetSynonymsSetsRequest.g.cs index b48b61f87af..f3556c07639 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Synonyms/GetSynonymsSetsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Synonyms/GetSynonymsSetsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Synonyms/PutSynonymRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Synonyms/PutSynonymRequest.g.cs index 0c0999eee4e..eb3bc42c977 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Synonyms/PutSynonymRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Synonyms/PutSynonymRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Synonyms/PutSynonymRuleRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Synonyms/PutSynonymRuleRequest.g.cs index 0817a1097d0..8be950cb915 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Synonyms/PutSynonymRuleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Synonyms/PutSynonymRuleRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TermVectorsRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TermVectorsRequest.g.cs index 188b3bbb320..9819d123880 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TermVectorsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TermVectorsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; @@ -380,7 +381,7 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o if (DocValue is not null) { writer.WritePropertyName("doc"); - SourceSerialization.Serialize(DocValue, writer, settings.SourceSerializer); + settings.SourceSerializer.Serialize(DocValue, writer); } if (FilterDescriptor is not null) diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TermsEnumRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TermsEnumRequest.g.cs index bb1c84842d9..52e089690d1 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TermsEnumRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TermsEnumRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TextStructure/TestGrokPatternRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TextStructure/TestGrokPatternRequest.g.cs index 7a919159f1b..2dbc2a313ac 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TextStructure/TestGrokPatternRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TextStructure/TestGrokPatternRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TransformManagement/DeleteTransformRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TransformManagement/DeleteTransformRequest.g.cs index 9f3ae50b26c..5a9c2718908 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TransformManagement/DeleteTransformRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TransformManagement/DeleteTransformRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TransformManagement/GetTransformRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TransformManagement/GetTransformRequest.g.cs index 49b4e299702..e11fc2ef49f 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TransformManagement/GetTransformRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TransformManagement/GetTransformRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TransformManagement/GetTransformStatsRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TransformManagement/GetTransformStatsRequest.g.cs index 35c13f2f63f..be1b6061e59 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TransformManagement/GetTransformStatsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TransformManagement/GetTransformStatsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TransformManagement/PreviewTransformRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TransformManagement/PreviewTransformRequest.g.cs index 522ff56db3e..723590953b8 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TransformManagement/PreviewTransformRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TransformManagement/PreviewTransformRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TransformManagement/PutTransformRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TransformManagement/PutTransformRequest.g.cs index 5f0582187cd..7b451cfaa63 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TransformManagement/PutTransformRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TransformManagement/PutTransformRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TransformManagement/ResetTransformRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TransformManagement/ResetTransformRequest.g.cs index 3f5b65e9748..332e21511e7 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TransformManagement/ResetTransformRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TransformManagement/ResetTransformRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TransformManagement/ScheduleNowTransformRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TransformManagement/ScheduleNowTransformRequest.g.cs index f36b141fe68..a24956050eb 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TransformManagement/ScheduleNowTransformRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TransformManagement/ScheduleNowTransformRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TransformManagement/StartTransformRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TransformManagement/StartTransformRequest.g.cs index a8ce40e696f..497f8d71a13 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TransformManagement/StartTransformRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TransformManagement/StartTransformRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TransformManagement/StopTransformRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TransformManagement/StopTransformRequest.g.cs index b377e5f02e9..62562870894 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TransformManagement/StopTransformRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TransformManagement/StopTransformRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TransformManagement/UpdateTransformRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TransformManagement/UpdateTransformRequest.g.cs index 7e32990df7b..b414d107347 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TransformManagement/UpdateTransformRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TransformManagement/UpdateTransformRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TransformManagement/UpgradeTransformsRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TransformManagement/UpgradeTransformsRequest.g.cs index 3d6ca63425b..39f39a92812 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TransformManagement/UpgradeTransformsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TransformManagement/UpgradeTransformsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/UpdateByQueryRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/UpdateByQueryRequest.g.cs index 880cd1eeda2..19c11702a59 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/UpdateByQueryRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/UpdateByQueryRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/UpdateByQueryRethrottleRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/UpdateByQueryRethrottleRequest.g.cs index 469b6b336ac..a10de0936d2 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/UpdateByQueryRethrottleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/UpdateByQueryRethrottleRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/UpdateRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/UpdateRequest.g.cs index 00b975145e3..b1c84b42bce 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/UpdateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/UpdateRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; @@ -473,7 +474,7 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o if (DocValue is not null) { writer.WritePropertyName("doc"); - SourceSerialization.Serialize(DocValue, writer, settings.SourceSerializer); + settings.SourceSerializer.Serialize(DocValue, writer); } if (DocAsUpsertValue.HasValue) @@ -513,7 +514,7 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o if (UpsertValue is not null) { writer.WritePropertyName("upsert"); - SourceSerialization.Serialize(UpsertValue, writer, settings.SourceSerializer); + settings.SourceSerializer.Serialize(UpsertValue, writer); } writer.WriteEndObject(); diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Xpack/XpackInfoRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Xpack/XpackInfoRequest.g.cs index 36f4e1f3351..27e5362452e 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Xpack/XpackInfoRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Xpack/XpackInfoRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Xpack/XpackUsageRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Xpack/XpackUsageRequest.g.cs index fdd2695a5a0..e3db78bf7d7 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Xpack/XpackUsageRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Xpack/XpackUsageRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Requests; using Elastic.Clients.Elasticsearch.Serverless.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/Elastic.Clients.Elasticsearch.csproj b/src/Elastic.Clients.Elasticsearch/Elastic.Clients.Elasticsearch.csproj index 739f01d3602..dcd3c9db9d8 100644 --- a/src/Elastic.Clients.Elasticsearch/Elastic.Clients.Elasticsearch.csproj +++ b/src/Elastic.Clients.Elasticsearch/Elastic.Clients.Elasticsearch.csproj @@ -21,7 +21,7 @@ annotations - + diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/AsyncSearchStatusRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/AsyncSearchStatusRequest.g.cs index 161d317eb36..15213e6dde6 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/AsyncSearchStatusRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/AsyncSearchStatusRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/DeleteAsyncSearchRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/DeleteAsyncSearchRequest.g.cs index 2712b599330..335427c3133 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/DeleteAsyncSearchRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/DeleteAsyncSearchRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/GetAsyncSearchRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/GetAsyncSearchRequest.g.cs index 1bf4a779425..7014f6ae88d 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/GetAsyncSearchRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/GetAsyncSearchRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/SubmitAsyncSearchRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/SubmitAsyncSearchRequest.g.cs index aa79a1aaf15..070370fb9a5 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/SubmitAsyncSearchRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/SubmitAsyncSearchRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/BulkRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/BulkRequest.g.cs index fb0fce6ca19..c845dcfd97d 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/BulkRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/BulkRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/ClearScrollRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/ClearScrollRequest.g.cs index e67018e2e3e..44a39a87f99 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/ClearScrollRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/ClearScrollRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/ClosePointInTimeRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/ClosePointInTimeRequest.g.cs index 6dcfca5220e..9b343cb2798 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/ClosePointInTimeRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/ClosePointInTimeRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/AllocationExplainRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/AllocationExplainRequest.g.cs index 3d8ef87c0ac..de7f7b38f23 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/AllocationExplainRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/AllocationExplainRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/ClusterInfoRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/ClusterInfoRequest.g.cs index 301cea990ba..64573f02d86 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/ClusterInfoRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/ClusterInfoRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/ClusterStatsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/ClusterStatsRequest.g.cs index b35f97dfb6a..537d7315cc5 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/ClusterStatsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/ClusterStatsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/DeleteComponentTemplateRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/DeleteComponentTemplateRequest.g.cs index 32f6d69ab35..b0db2cd21b4 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/DeleteComponentTemplateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/DeleteComponentTemplateRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/DeleteVotingConfigExclusionsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/DeleteVotingConfigExclusionsRequest.g.cs index e5b72a01db5..d873078ca6b 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/DeleteVotingConfigExclusionsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/DeleteVotingConfigExclusionsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/ExistsComponentTemplateRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/ExistsComponentTemplateRequest.g.cs index a751e5546b0..8f2da988a43 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/ExistsComponentTemplateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/ExistsComponentTemplateRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/GetClusterSettingsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/GetClusterSettingsRequest.g.cs index 970172b0127..34fd028b7ed 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/GetClusterSettingsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/GetClusterSettingsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/GetComponentTemplateRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/GetComponentTemplateRequest.g.cs index 34c28379fae..a344e42d854 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/GetComponentTemplateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/GetComponentTemplateRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/HealthRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/HealthRequest.g.cs index ea031bcd050..faa130ea035 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/HealthRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/HealthRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/PendingTasksRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/PendingTasksRequest.g.cs index 387562ae73b..bc8b02c27af 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/PendingTasksRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/PendingTasksRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/PostVotingConfigExclusionsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/PostVotingConfigExclusionsRequest.g.cs index 1dfcfa937de..484e1d1d922 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/PostVotingConfigExclusionsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/PostVotingConfigExclusionsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/PutComponentTemplateRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/PutComponentTemplateRequest.g.cs index 216951b38ec..2670838909f 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/PutComponentTemplateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/PutComponentTemplateRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/CountRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/CountRequest.g.cs index 30fa707d9f5..93b2d7c8823 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/CountRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/CountRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/CreateRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/CreateRequest.g.cs index 08a4a4efb2b..e9cf25961c7 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/CreateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/CreateRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; @@ -172,7 +173,7 @@ public CreateRequest(Elastic.Clients.Elasticsearch.IndexName index, Elastic.Clie void ISelfSerializable.Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) { - SourceSerialization.Serialize(Document, writer, settings.SourceSerializer); + settings.SourceSerializer.Serialize(Document, writer); } } @@ -238,6 +239,6 @@ public CreateRequestDescriptor Document(TDocument document) protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) { - SourceSerialization.Serialize(DocumentValue, writer, settings.SourceSerializer); + settings.SourceSerializer.Serialize(DocumentValue, writer); } } \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/CrossClusterReplication/CcrStatsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/CrossClusterReplication/CcrStatsRequest.g.cs index 9773884078a..8430cab1866 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/CrossClusterReplication/CcrStatsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/CrossClusterReplication/CcrStatsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/CrossClusterReplication/DeleteAutoFollowPatternRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/CrossClusterReplication/DeleteAutoFollowPatternRequest.g.cs index aa830339381..7236742d6fc 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/CrossClusterReplication/DeleteAutoFollowPatternRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/CrossClusterReplication/DeleteAutoFollowPatternRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/CrossClusterReplication/FollowInfoRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/CrossClusterReplication/FollowInfoRequest.g.cs index d0614c3f819..484ffbdbd3f 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/CrossClusterReplication/FollowInfoRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/CrossClusterReplication/FollowInfoRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/CrossClusterReplication/FollowRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/CrossClusterReplication/FollowRequest.g.cs index 8f8c83045bf..34e1fcbab09 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/CrossClusterReplication/FollowRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/CrossClusterReplication/FollowRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/CrossClusterReplication/FollowStatsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/CrossClusterReplication/FollowStatsRequest.g.cs index b332fb34f36..84c37c5ef8f 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/CrossClusterReplication/FollowStatsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/CrossClusterReplication/FollowStatsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/CrossClusterReplication/ForgetFollowerRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/CrossClusterReplication/ForgetFollowerRequest.g.cs index e0e1e13558f..534aade2b25 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/CrossClusterReplication/ForgetFollowerRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/CrossClusterReplication/ForgetFollowerRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/CrossClusterReplication/GetAutoFollowPatternRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/CrossClusterReplication/GetAutoFollowPatternRequest.g.cs index 6a3868fd049..e8792e31dfc 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/CrossClusterReplication/GetAutoFollowPatternRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/CrossClusterReplication/GetAutoFollowPatternRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/CrossClusterReplication/PauseAutoFollowPatternRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/CrossClusterReplication/PauseAutoFollowPatternRequest.g.cs index f2ec08bdcac..b1ea27244a0 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/CrossClusterReplication/PauseAutoFollowPatternRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/CrossClusterReplication/PauseAutoFollowPatternRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/CrossClusterReplication/PauseFollowRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/CrossClusterReplication/PauseFollowRequest.g.cs index 726fa92e33a..1464d4bff6e 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/CrossClusterReplication/PauseFollowRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/CrossClusterReplication/PauseFollowRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/CrossClusterReplication/PutAutoFollowPatternRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/CrossClusterReplication/PutAutoFollowPatternRequest.g.cs index d8fbbace26e..a5386b3ba9f 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/CrossClusterReplication/PutAutoFollowPatternRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/CrossClusterReplication/PutAutoFollowPatternRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/CrossClusterReplication/ResumeAutoFollowPatternRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/CrossClusterReplication/ResumeAutoFollowPatternRequest.g.cs index cd7fb91615b..ef1b17de9f6 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/CrossClusterReplication/ResumeAutoFollowPatternRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/CrossClusterReplication/ResumeAutoFollowPatternRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/CrossClusterReplication/ResumeFollowRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/CrossClusterReplication/ResumeFollowRequest.g.cs index 7c4fadcf762..358d2d08210 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/CrossClusterReplication/ResumeFollowRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/CrossClusterReplication/ResumeFollowRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/CrossClusterReplication/UnfollowRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/CrossClusterReplication/UnfollowRequest.g.cs index 2dae9dd50fc..ff19808d599 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/CrossClusterReplication/UnfollowRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/CrossClusterReplication/UnfollowRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/DanglingIndices/ListDanglingIndicesRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/DanglingIndices/ListDanglingIndicesRequest.g.cs index 833cfd898c5..d7bfa075bab 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/DanglingIndices/ListDanglingIndicesRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/DanglingIndices/ListDanglingIndicesRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/DeleteByQueryRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/DeleteByQueryRequest.g.cs index 838ab44281d..34541aa28c1 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/DeleteByQueryRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/DeleteByQueryRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/DeleteByQueryRethrottleRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/DeleteByQueryRethrottleRequest.g.cs index 0249bb3b36e..e425b31cccf 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/DeleteByQueryRethrottleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/DeleteByQueryRethrottleRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/DeleteRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/DeleteRequest.g.cs index 21204ab4a47..479d7e6c9a3 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/DeleteRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/DeleteRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/DeleteScriptRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/DeleteScriptRequest.g.cs index c04439a7ae2..42659a1f2b2 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/DeleteScriptRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/DeleteScriptRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Enrich/DeletePolicyRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Enrich/DeletePolicyRequest.g.cs index cb1be69ee44..6e2547bbd3c 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Enrich/DeletePolicyRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Enrich/DeletePolicyRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Enrich/EnrichStatsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Enrich/EnrichStatsRequest.g.cs index ed7d5ceab9e..83c270e3f05 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Enrich/EnrichStatsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Enrich/EnrichStatsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Enrich/ExecutePolicyRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Enrich/ExecutePolicyRequest.g.cs index 322dbe70e38..ca8c85f9433 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Enrich/ExecutePolicyRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Enrich/ExecutePolicyRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Enrich/GetPolicyRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Enrich/GetPolicyRequest.g.cs index c59336a0cb5..48e5c1b5181 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Enrich/GetPolicyRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Enrich/GetPolicyRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Enrich/PutPolicyRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Enrich/PutPolicyRequest.g.cs index bc543c0e396..7431d4cedbb 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Enrich/PutPolicyRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Enrich/PutPolicyRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Eql/EqlDeleteRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Eql/EqlDeleteRequest.g.cs index 1cbdbeb07fa..ab14e281da1 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Eql/EqlDeleteRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Eql/EqlDeleteRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Eql/EqlGetRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Eql/EqlGetRequest.g.cs index 903322e1e12..1d8a84c00ad 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Eql/EqlGetRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Eql/EqlGetRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Eql/EqlSearchRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Eql/EqlSearchRequest.g.cs index b3faf27c573..c5e18996c7c 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Eql/EqlSearchRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Eql/EqlSearchRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Eql/GetEqlStatusRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Eql/GetEqlStatusRequest.g.cs index 53f7ba02bbf..7137b3d8f1a 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Eql/GetEqlStatusRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Eql/GetEqlStatusRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Esql/EsqlQueryRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Esql/EsqlQueryRequest.g.cs index 625dac5748f..969deddec05 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Esql/EsqlQueryRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Esql/EsqlQueryRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/ExistsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/ExistsRequest.g.cs index 1b463f0b6fc..a69f181062f 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/ExistsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/ExistsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/ExistsSourceRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/ExistsSourceRequest.g.cs index 121d99f6887..92ee29cc3a7 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/ExistsSourceRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/ExistsSourceRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/ExplainRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/ExplainRequest.g.cs index b58e805dc24..a747706a688 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/ExplainRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/ExplainRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Features/GetFeaturesRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Features/GetFeaturesRequest.g.cs index 6099b88f1ba..4514119121a 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Features/GetFeaturesRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Features/GetFeaturesRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Features/ResetFeaturesRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Features/ResetFeaturesRequest.g.cs index a4065f53384..5002a2fd25b 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Features/ResetFeaturesRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Features/ResetFeaturesRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/FieldCapsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/FieldCapsRequest.g.cs index a8f3fbe206f..4ff7e9fbd9c 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/FieldCapsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/FieldCapsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/GetRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/GetRequest.g.cs index 7e18fa17a3a..e71f67d6fca 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/GetRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/GetRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/GetScriptContextRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/GetScriptContextRequest.g.cs index 1856a615dc8..57912b0d588 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/GetScriptContextRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/GetScriptContextRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/GetScriptLanguagesRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/GetScriptLanguagesRequest.g.cs index 6be238b44b9..fe59cc63faf 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/GetScriptLanguagesRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/GetScriptLanguagesRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/GetScriptRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/GetScriptRequest.g.cs index 379c4af08b3..27db2736d08 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/GetScriptRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/GetScriptRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/GetSourceRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/GetSourceRequest.g.cs index e1dd8a84b26..d44b4d6b1a2 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/GetSourceRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/GetSourceRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Graph/ExploreRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Graph/ExploreRequest.g.cs index 64337724631..64eec4febf9 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Graph/ExploreRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Graph/ExploreRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/HealthReportRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/HealthReportRequest.g.cs index c8dce150535..c11068c9549 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/HealthReportRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/HealthReportRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexLifecycleManagement/DeleteLifecycleRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexLifecycleManagement/DeleteLifecycleRequest.g.cs index 99b30b36b03..edd1ee6ec59 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexLifecycleManagement/DeleteLifecycleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexLifecycleManagement/DeleteLifecycleRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexLifecycleManagement/GetIlmStatusRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexLifecycleManagement/GetIlmStatusRequest.g.cs index 9afa8d59465..0bff6514e2c 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexLifecycleManagement/GetIlmStatusRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexLifecycleManagement/GetIlmStatusRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexLifecycleManagement/GetLifecycleRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexLifecycleManagement/GetLifecycleRequest.g.cs index ef72ef3facc..79d2688e50f 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexLifecycleManagement/GetLifecycleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexLifecycleManagement/GetLifecycleRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexLifecycleManagement/MigrateToDataTiersRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexLifecycleManagement/MigrateToDataTiersRequest.g.cs index 900ac672b69..6fa5fe33b0f 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexLifecycleManagement/MigrateToDataTiersRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexLifecycleManagement/MigrateToDataTiersRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexLifecycleManagement/MoveToStepRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexLifecycleManagement/MoveToStepRequest.g.cs index 164f288e316..69e36b217a1 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexLifecycleManagement/MoveToStepRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexLifecycleManagement/MoveToStepRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexLifecycleManagement/PutLifecycleRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexLifecycleManagement/PutLifecycleRequest.g.cs index ebcb14933ca..8fa6cf4d75e 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexLifecycleManagement/PutLifecycleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexLifecycleManagement/PutLifecycleRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexLifecycleManagement/RemovePolicyRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexLifecycleManagement/RemovePolicyRequest.g.cs index ebc564bf799..4c6f67d3930 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexLifecycleManagement/RemovePolicyRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexLifecycleManagement/RemovePolicyRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexLifecycleManagement/RetryRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexLifecycleManagement/RetryRequest.g.cs index 3d4d583350c..479a61db7d4 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexLifecycleManagement/RetryRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexLifecycleManagement/RetryRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexLifecycleManagement/StartIlmRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexLifecycleManagement/StartIlmRequest.g.cs index 3214015dc90..01bd491b281 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexLifecycleManagement/StartIlmRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexLifecycleManagement/StartIlmRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexLifecycleManagement/StopIlmRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexLifecycleManagement/StopIlmRequest.g.cs index 3ad197fb19e..212c9d3b480 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexLifecycleManagement/StopIlmRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexLifecycleManagement/StopIlmRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/AnalyzeIndexRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/AnalyzeIndexRequest.g.cs index 2ce7315964f..03931786cec 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/AnalyzeIndexRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/AnalyzeIndexRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ClearCacheRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ClearCacheRequest.g.cs index 05e99eb3a3a..86e5c341aa0 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ClearCacheRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ClearCacheRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/CloneIndexRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/CloneIndexRequest.g.cs index a9fc2e385ba..cf76a309e5d 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/CloneIndexRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/CloneIndexRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/CloseIndexRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/CloseIndexRequest.g.cs index 0860f19f632..ad1323dcb15 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/CloseIndexRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/CloseIndexRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/CreateDataStreamRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/CreateDataStreamRequest.g.cs index 6caa4e4ee99..1c318a40ef9 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/CreateDataStreamRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/CreateDataStreamRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/CreateIndexRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/CreateIndexRequest.g.cs index bfb3914d20f..1cab06ad5e6 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/CreateIndexRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/CreateIndexRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DataStreamsStatsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DataStreamsStatsRequest.g.cs index ac3674e318b..91a722ceab5 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DataStreamsStatsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DataStreamsStatsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DeleteAliasRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DeleteAliasRequest.g.cs index c67a3f52376..588bc1ad8f5 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DeleteAliasRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DeleteAliasRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DeleteDataLifecycleRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DeleteDataLifecycleRequest.g.cs index f0834933723..0a961381c9e 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DeleteDataLifecycleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DeleteDataLifecycleRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DeleteDataStreamRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DeleteDataStreamRequest.g.cs index 2201248aa06..80fccc1863f 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DeleteDataStreamRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DeleteDataStreamRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DeleteIndexRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DeleteIndexRequest.g.cs index 5c1d0777b74..f73c4862ff4 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DeleteIndexRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DeleteIndexRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DeleteIndexTemplateRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DeleteIndexTemplateRequest.g.cs index 857a45e04ab..196e97ac096 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DeleteIndexTemplateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DeleteIndexTemplateRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DeleteTemplateRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DeleteTemplateRequest.g.cs index 479970378dc..22c27dca5fb 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DeleteTemplateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DeleteTemplateRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DiskUsageRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DiskUsageRequest.g.cs index b7d8d53cd8c..868a32e7540 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DiskUsageRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DiskUsageRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DownsampleRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DownsampleRequest.g.cs index 88a840fb4a3..8bb12324403 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DownsampleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DownsampleRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ExistsAliasRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ExistsAliasRequest.g.cs index 0b0eb3e4864..6edfd5890c7 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ExistsAliasRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ExistsAliasRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ExistsIndexTemplateRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ExistsIndexTemplateRequest.g.cs index 4da34c198c7..b31c22348c0 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ExistsIndexTemplateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ExistsIndexTemplateRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ExistsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ExistsRequest.g.cs index 14e09bf7ce5..efbc7dff46a 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ExistsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ExistsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ExistsTemplateRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ExistsTemplateRequest.g.cs index 3cecc7f3df4..59042066550 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ExistsTemplateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ExistsTemplateRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ExplainDataLifecycleRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ExplainDataLifecycleRequest.g.cs index 2d8f18822db..003d68a2ff8 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ExplainDataLifecycleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ExplainDataLifecycleRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/FieldUsageStatsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/FieldUsageStatsRequest.g.cs index 1bfe86a6939..aa7d0b31120 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/FieldUsageStatsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/FieldUsageStatsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/FlushRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/FlushRequest.g.cs index 8910e29affe..5282d97d911 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/FlushRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/FlushRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ForcemergeRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ForcemergeRequest.g.cs index d1df3fca3d9..160e35dd659 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ForcemergeRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ForcemergeRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetAliasRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetAliasRequest.g.cs index 20180f1f2f9..cf9ce0876a7 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetAliasRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetAliasRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetDataLifecycleRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetDataLifecycleRequest.g.cs index 0d8b601bcf0..49f3058f361 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetDataLifecycleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetDataLifecycleRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetDataStreamRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetDataStreamRequest.g.cs index 1ee0173f080..ce6a1e7e754 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetDataStreamRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetDataStreamRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetFieldMappingRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetFieldMappingRequest.g.cs index 7a5e9a9b217..960c83e0bab 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetFieldMappingRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetFieldMappingRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetIndexRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetIndexRequest.g.cs index a8dacb0197f..69965de963b 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetIndexRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetIndexRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetIndexTemplateRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetIndexTemplateRequest.g.cs index de779fb2558..b4c809766b6 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetIndexTemplateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetIndexTemplateRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetIndicesSettingsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetIndicesSettingsRequest.g.cs index 6bfe92db7bb..64fa5aa087b 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetIndicesSettingsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetIndicesSettingsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetMappingRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetMappingRequest.g.cs index 133962fd9aa..ef614f8fa4e 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetMappingRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetMappingRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetTemplateRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetTemplateRequest.g.cs index 91a2be09939..e65ca2399a7 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetTemplateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetTemplateRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/IndicesStatsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/IndicesStatsRequest.g.cs index 3f93d18cde6..769cde5a63f 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/IndicesStatsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/IndicesStatsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/MigrateToDataStreamRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/MigrateToDataStreamRequest.g.cs index b3c7378b8b1..c58975294e3 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/MigrateToDataStreamRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/MigrateToDataStreamRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ModifyDataStreamRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ModifyDataStreamRequest.g.cs index 4ce0c702852..38fe2a811e1 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ModifyDataStreamRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ModifyDataStreamRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/OpenIndexRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/OpenIndexRequest.g.cs index 660cf2282be..b1a51e3447a 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/OpenIndexRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/OpenIndexRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/PromoteDataStreamRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/PromoteDataStreamRequest.g.cs index 1e159e2413c..b5755cc4508 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/PromoteDataStreamRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/PromoteDataStreamRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/PutAliasRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/PutAliasRequest.g.cs index 59bf03cedaa..19d5e829a83 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/PutAliasRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/PutAliasRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/PutDataLifecycleRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/PutDataLifecycleRequest.g.cs index a0c4dbcdd33..34af04025ab 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/PutDataLifecycleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/PutDataLifecycleRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/PutIndexTemplateRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/PutIndexTemplateRequest.g.cs index ccffb40d5b5..614820e2fd8 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/PutIndexTemplateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/PutIndexTemplateRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/PutIndicesSettingsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/PutIndicesSettingsRequest.g.cs index de404d34892..9eb516eb4e1 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/PutIndicesSettingsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/PutIndicesSettingsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/PutMappingRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/PutMappingRequest.g.cs index e4c430e686c..708c10deaef 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/PutMappingRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/PutMappingRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/PutTemplateRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/PutTemplateRequest.g.cs index 3bdebfcfa63..ada658f2136 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/PutTemplateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/PutTemplateRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/RecoveryRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/RecoveryRequest.g.cs index f7e459716e9..5cf865ecb08 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/RecoveryRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/RecoveryRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/RefreshRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/RefreshRequest.g.cs index 8210dca5a4e..7b6446a62d7 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/RefreshRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/RefreshRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ReloadSearchAnalyzersRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ReloadSearchAnalyzersRequest.g.cs index 8e620a97ea0..7f89b7399f3 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ReloadSearchAnalyzersRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ReloadSearchAnalyzersRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ResolveClusterRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ResolveClusterRequest.g.cs index 3e0b7cd6658..102ce4a8078 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ResolveClusterRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ResolveClusterRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ResolveIndexRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ResolveIndexRequest.g.cs index e52b4679345..cfd7db16957 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ResolveIndexRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ResolveIndexRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/RolloverRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/RolloverRequest.g.cs index e18eb9b6412..4d0efc47482 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/RolloverRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/RolloverRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/SegmentsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/SegmentsRequest.g.cs index 5069c6d6ecd..6d61bb45be9 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/SegmentsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/SegmentsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ShardStoresRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ShardStoresRequest.g.cs index 2a24c32643c..48be4cb8727 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ShardStoresRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ShardStoresRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ShrinkIndexRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ShrinkIndexRequest.g.cs index 74415c48e3a..3d2cd74e288 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ShrinkIndexRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ShrinkIndexRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/SimulateIndexTemplateRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/SimulateIndexTemplateRequest.g.cs index a45a1e88d7a..94431e9a878 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/SimulateIndexTemplateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/SimulateIndexTemplateRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/SimulateTemplateRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/SimulateTemplateRequest.g.cs index bf03abe9939..51e33f2427e 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/SimulateTemplateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/SimulateTemplateRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/SplitIndexRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/SplitIndexRequest.g.cs index 18d894522d7..6b5c04c3f37 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/SplitIndexRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/SplitIndexRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/UpdateAliasesRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/UpdateAliasesRequest.g.cs index bcfebd4b591..259de6072e3 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/UpdateAliasesRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/UpdateAliasesRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ValidateQueryRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ValidateQueryRequest.g.cs index 7f64b2e0edf..0f5e89c0d8b 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ValidateQueryRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ValidateQueryRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexRequest.g.cs index 16aa975658b..2722f0c9b24 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; @@ -246,7 +247,7 @@ public IndexRequest(Elastic.Clients.Elasticsearch.IndexName index) : base(r => r void ISelfSerializable.Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) { - SourceSerialization.Serialize(Document, writer, settings.SourceSerializer); + settings.SourceSerializer.Serialize(Document, writer); } } @@ -316,6 +317,6 @@ public IndexRequestDescriptor Document(TDocument document) protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) { - SourceSerialization.Serialize(DocumentValue, writer, settings.SourceSerializer); + settings.SourceSerializer.Serialize(DocumentValue, writer); } } \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/DeleteInferenceRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/DeleteInferenceRequest.g.cs index b9355fd78ad..d8514b99866 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/DeleteInferenceRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/DeleteInferenceRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/GetInferenceRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/GetInferenceRequest.g.cs index d07d70e93b6..40c96fe6b8d 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/GetInferenceRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/GetInferenceRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/InferenceRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/InferenceRequest.g.cs index 4f72aaacdfe..8c0ff5643b7 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/InferenceRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/InferenceRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/PutInferenceRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/PutInferenceRequest.g.cs index 6604bc0e8a1..c2bd7ed809f 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/PutInferenceRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/PutInferenceRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/InfoRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/InfoRequest.g.cs index 5431bddec4b..9d5e5290857 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/InfoRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/InfoRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Ingest/DeleteGeoipDatabaseRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Ingest/DeleteGeoipDatabaseRequest.g.cs index e4dd8fa7fe3..41d1afff03f 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Ingest/DeleteGeoipDatabaseRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Ingest/DeleteGeoipDatabaseRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Ingest/DeletePipelineRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Ingest/DeletePipelineRequest.g.cs index 9aa43b44c66..a4b9affd9a7 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Ingest/DeletePipelineRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Ingest/DeletePipelineRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Ingest/GeoIpStatsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Ingest/GeoIpStatsRequest.g.cs index bac9924090f..501f501e8ed 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Ingest/GeoIpStatsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Ingest/GeoIpStatsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Ingest/GetGeoipDatabaseRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Ingest/GetGeoipDatabaseRequest.g.cs index 2bd1e46f6b7..d3b04df573b 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Ingest/GetGeoipDatabaseRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Ingest/GetGeoipDatabaseRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Ingest/GetPipelineRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Ingest/GetPipelineRequest.g.cs index 9f1c59e5a19..5eaf34e810c 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Ingest/GetPipelineRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Ingest/GetPipelineRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Ingest/ProcessorGrokRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Ingest/ProcessorGrokRequest.g.cs index f1a27f9360a..ed765789494 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Ingest/ProcessorGrokRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Ingest/ProcessorGrokRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Ingest/PutGeoipDatabaseRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Ingest/PutGeoipDatabaseRequest.g.cs index 5bef1768d6b..ae65f9eae29 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Ingest/PutGeoipDatabaseRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Ingest/PutGeoipDatabaseRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Ingest/PutPipelineRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Ingest/PutPipelineRequest.g.cs index 16eb12f2675..22764cade99 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Ingest/PutPipelineRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Ingest/PutPipelineRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Ingest/SimulateRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Ingest/SimulateRequest.g.cs index 72b490af26f..33233c4c413 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Ingest/SimulateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Ingest/SimulateRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/LicenseManagement/DeleteLicenseRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/LicenseManagement/DeleteLicenseRequest.g.cs index f595e9f1b03..d07145501fa 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/LicenseManagement/DeleteLicenseRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/LicenseManagement/DeleteLicenseRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/LicenseManagement/GetBasicStatusRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/LicenseManagement/GetBasicStatusRequest.g.cs index da5444fec6e..471bcd0d8f8 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/LicenseManagement/GetBasicStatusRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/LicenseManagement/GetBasicStatusRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/LicenseManagement/GetLicenseRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/LicenseManagement/GetLicenseRequest.g.cs index 40a21880879..c77c0ac3ff6 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/LicenseManagement/GetLicenseRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/LicenseManagement/GetLicenseRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/LicenseManagement/GetTrialStatusRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/LicenseManagement/GetTrialStatusRequest.g.cs index a215fcc5198..9f57933b122 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/LicenseManagement/GetTrialStatusRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/LicenseManagement/GetTrialStatusRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/LicenseManagement/PostRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/LicenseManagement/PostRequest.g.cs index 1cd5e374dde..e61bdbf3057 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/LicenseManagement/PostRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/LicenseManagement/PostRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/LicenseManagement/PostStartBasicRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/LicenseManagement/PostStartBasicRequest.g.cs index e1e159bab5e..510341acd4c 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/LicenseManagement/PostStartBasicRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/LicenseManagement/PostStartBasicRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/LicenseManagement/PostStartTrialRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/LicenseManagement/PostStartTrialRequest.g.cs index 518b624883d..27880c8d610 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/LicenseManagement/PostStartTrialRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/LicenseManagement/PostStartTrialRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/ClearTrainedModelDeploymentCacheRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/ClearTrainedModelDeploymentCacheRequest.g.cs index afbdc507d44..d0623e3f5cf 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/ClearTrainedModelDeploymentCacheRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/ClearTrainedModelDeploymentCacheRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/CloseJobRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/CloseJobRequest.g.cs index 6da942d59a6..57ebbdb573f 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/CloseJobRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/CloseJobRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteCalendarEventRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteCalendarEventRequest.g.cs index 95728aebc47..c1eee87a939 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteCalendarEventRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteCalendarEventRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteCalendarJobRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteCalendarJobRequest.g.cs index 2efbbececf1..c6365779a10 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteCalendarJobRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteCalendarJobRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteCalendarRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteCalendarRequest.g.cs index 63cd6cff4da..e96d8a0c6fc 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteCalendarRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteCalendarRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteDataFrameAnalyticsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteDataFrameAnalyticsRequest.g.cs index 1ad508259e6..0d7176897c5 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteDataFrameAnalyticsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteDataFrameAnalyticsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteDatafeedRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteDatafeedRequest.g.cs index f92596ee0ec..9d4691e39ba 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteDatafeedRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteDatafeedRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteExpiredDataRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteExpiredDataRequest.g.cs index b3b7187d76c..02f49150cf5 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteExpiredDataRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteExpiredDataRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteFilterRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteFilterRequest.g.cs index 4dd909d6d74..babccd97a41 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteFilterRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteFilterRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteForecastRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteForecastRequest.g.cs index 9c9caeeb374..f6ccf14951c 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteForecastRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteForecastRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteJobRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteJobRequest.g.cs index 20f3cd58d79..68da0f7870a 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteJobRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteJobRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteModelSnapshotRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteModelSnapshotRequest.g.cs index b976eb13e45..60154991bb8 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteModelSnapshotRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteModelSnapshotRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteTrainedModelAliasRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteTrainedModelAliasRequest.g.cs index 84331216ff1..a2802a0df4a 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteTrainedModelAliasRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteTrainedModelAliasRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteTrainedModelRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteTrainedModelRequest.g.cs index 0cee8dafcb1..11d60873725 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteTrainedModelRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/DeleteTrainedModelRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/EstimateModelMemoryRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/EstimateModelMemoryRequest.g.cs index 7d75ba1bc9b..9ea7bd489fd 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/EstimateModelMemoryRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/EstimateModelMemoryRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/EvaluateDataFrameRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/EvaluateDataFrameRequest.g.cs index e1f537fdfcd..55715713750 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/EvaluateDataFrameRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/EvaluateDataFrameRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/ExplainDataFrameAnalyticsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/ExplainDataFrameAnalyticsRequest.g.cs index 4666d9e8950..86ef39e34da 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/ExplainDataFrameAnalyticsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/ExplainDataFrameAnalyticsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/FlushJobRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/FlushJobRequest.g.cs index cc62240911e..7d2aad9a7b2 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/FlushJobRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/FlushJobRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/ForecastRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/ForecastRequest.g.cs index 255f2fd482a..bfbd4285a3c 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/ForecastRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/ForecastRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetBucketsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetBucketsRequest.g.cs index 011418880cc..e24e4432ff7 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetBucketsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetBucketsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetCalendarEventsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetCalendarEventsRequest.g.cs index 4fadae7cc51..66a32155f0d 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetCalendarEventsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetCalendarEventsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetCalendarsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetCalendarsRequest.g.cs index 8abeeca1ff0..a0ddc443b1e 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetCalendarsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetCalendarsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetCategoriesRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetCategoriesRequest.g.cs index 44e1ab8af79..00006ea2873 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetCategoriesRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetCategoriesRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetDataFrameAnalyticsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetDataFrameAnalyticsRequest.g.cs index a49e831b1ad..0019cb46116 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetDataFrameAnalyticsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetDataFrameAnalyticsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetDataFrameAnalyticsStatsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetDataFrameAnalyticsStatsRequest.g.cs index 352af57953f..ee5420191c0 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetDataFrameAnalyticsStatsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetDataFrameAnalyticsStatsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetDatafeedStatsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetDatafeedStatsRequest.g.cs index 64a5c6adaf1..12d213290c1 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetDatafeedStatsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetDatafeedStatsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetDatafeedsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetDatafeedsRequest.g.cs index 3c31a32d258..f4cef19baa3 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetDatafeedsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetDatafeedsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetFiltersRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetFiltersRequest.g.cs index b798a7f1c3a..0ae21abfdd6 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetFiltersRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetFiltersRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetInfluencersRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetInfluencersRequest.g.cs index b585c8acfce..5754873d0bd 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetInfluencersRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetInfluencersRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetJobStatsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetJobStatsRequest.g.cs index 8636d68a099..bea2d642d87 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetJobStatsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetJobStatsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetJobsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetJobsRequest.g.cs index 5938531814d..6d95ea6c52f 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetJobsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetJobsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetMemoryStatsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetMemoryStatsRequest.g.cs index e693f56c1b7..7c8a3d1f22d 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetMemoryStatsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetMemoryStatsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetModelSnapshotUpgradeStatsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetModelSnapshotUpgradeStatsRequest.g.cs index 859393aa134..2d88a9b0287 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetModelSnapshotUpgradeStatsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetModelSnapshotUpgradeStatsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetModelSnapshotsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetModelSnapshotsRequest.g.cs index 3a8aa1096e7..04ad8474205 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetModelSnapshotsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetModelSnapshotsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetOverallBucketsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetOverallBucketsRequest.g.cs index b08c3581204..46d90e46696 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetOverallBucketsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetOverallBucketsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetRecordsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetRecordsRequest.g.cs index 20eee000da4..1fd0c64b61b 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetRecordsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetRecordsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetTrainedModelsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetTrainedModelsRequest.g.cs index fa63481c0e9..3800d44371d 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetTrainedModelsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetTrainedModelsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetTrainedModelsStatsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetTrainedModelsStatsRequest.g.cs index d81e507802e..a66c834864c 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetTrainedModelsStatsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetTrainedModelsStatsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/InferTrainedModelRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/InferTrainedModelRequest.g.cs index 8169e95515a..79cf334a50c 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/InferTrainedModelRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/InferTrainedModelRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/MlInfoRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/MlInfoRequest.g.cs index 80f2b9a269c..56f1d889562 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/MlInfoRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/MlInfoRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/OpenJobRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/OpenJobRequest.g.cs index 716d21aeab2..b997be7d093 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/OpenJobRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/OpenJobRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PostCalendarEventsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PostCalendarEventsRequest.g.cs index 9300fa6249a..254e2fb0204 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PostCalendarEventsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PostCalendarEventsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PreviewDataFrameAnalyticsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PreviewDataFrameAnalyticsRequest.g.cs index ff2977e5b7f..c59ce728794 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PreviewDataFrameAnalyticsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PreviewDataFrameAnalyticsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PutCalendarJobRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PutCalendarJobRequest.g.cs index ef73bd30273..d8286ceaee4 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PutCalendarJobRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PutCalendarJobRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PutCalendarRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PutCalendarRequest.g.cs index 7cbd2502965..d475637ee75 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PutCalendarRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PutCalendarRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PutDataFrameAnalyticsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PutDataFrameAnalyticsRequest.g.cs index 1f69c189ad5..045933cc5be 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PutDataFrameAnalyticsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PutDataFrameAnalyticsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PutDatafeedRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PutDatafeedRequest.g.cs index 5018e0aa34a..11705264497 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PutDatafeedRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PutDatafeedRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PutFilterRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PutFilterRequest.g.cs index 6e89fd5c8b1..6e235f21ab1 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PutFilterRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PutFilterRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PutJobRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PutJobRequest.g.cs index b531852eac7..8d6db8d33c0 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PutJobRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PutJobRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PutTrainedModelAliasRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PutTrainedModelAliasRequest.g.cs index d3bd9cfbd5d..c2a8fb886fc 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PutTrainedModelAliasRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PutTrainedModelAliasRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PutTrainedModelDefinitionPartRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PutTrainedModelDefinitionPartRequest.g.cs index f8cf0e67e3d..949f8e5915c 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PutTrainedModelDefinitionPartRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PutTrainedModelDefinitionPartRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PutTrainedModelRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PutTrainedModelRequest.g.cs index e769a627eb0..d5c5f91da95 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PutTrainedModelRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PutTrainedModelRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PutTrainedModelVocabularyRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PutTrainedModelVocabularyRequest.g.cs index 378101557a6..410059d8e85 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PutTrainedModelVocabularyRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PutTrainedModelVocabularyRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/ResetJobRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/ResetJobRequest.g.cs index 02f190ce9e7..22e01c4e863 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/ResetJobRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/ResetJobRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/RevertModelSnapshotRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/RevertModelSnapshotRequest.g.cs index e478a13c51b..fd5a431f6bc 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/RevertModelSnapshotRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/RevertModelSnapshotRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/SetUpgradeModeRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/SetUpgradeModeRequest.g.cs index 500b0f34d60..59688096e0e 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/SetUpgradeModeRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/SetUpgradeModeRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/StartDataFrameAnalyticsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/StartDataFrameAnalyticsRequest.g.cs index 90d02c4cddf..cd42cb41dfa 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/StartDataFrameAnalyticsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/StartDataFrameAnalyticsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/StartDatafeedRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/StartDatafeedRequest.g.cs index 1a6d6650113..443127894dc 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/StartDatafeedRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/StartDatafeedRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/StartTrainedModelDeploymentRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/StartTrainedModelDeploymentRequest.g.cs index 474c930da40..81f77f7f92a 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/StartTrainedModelDeploymentRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/StartTrainedModelDeploymentRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/StopDataFrameAnalyticsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/StopDataFrameAnalyticsRequest.g.cs index 99155dfbeeb..86f9bcb4d1e 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/StopDataFrameAnalyticsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/StopDataFrameAnalyticsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/StopDatafeedRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/StopDatafeedRequest.g.cs index 6d422cc6486..1d8fe87c595 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/StopDatafeedRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/StopDatafeedRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/StopTrainedModelDeploymentRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/StopTrainedModelDeploymentRequest.g.cs index e8b4468ec3f..998d7826948 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/StopTrainedModelDeploymentRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/StopTrainedModelDeploymentRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/UpdateDataFrameAnalyticsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/UpdateDataFrameAnalyticsRequest.g.cs index bc5ac0b5719..002350b9b66 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/UpdateDataFrameAnalyticsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/UpdateDataFrameAnalyticsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/UpdateDatafeedRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/UpdateDatafeedRequest.g.cs index 9f985bebe4f..b7116b1731f 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/UpdateDatafeedRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/UpdateDatafeedRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/UpdateFilterRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/UpdateFilterRequest.g.cs index 97484ce9279..444d8a9d5a7 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/UpdateFilterRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/UpdateFilterRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/UpdateJobRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/UpdateJobRequest.g.cs index ad241b91b88..548a6f67f0e 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/UpdateJobRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/UpdateJobRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/UpdateModelSnapshotRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/UpdateModelSnapshotRequest.g.cs index 675b2bdc414..d8c88bacb00 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/UpdateModelSnapshotRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/UpdateModelSnapshotRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/UpdateTrainedModelDeploymentRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/UpdateTrainedModelDeploymentRequest.g.cs index 80d597ed2b3..fbbf728cec4 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/UpdateTrainedModelDeploymentRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/UpdateTrainedModelDeploymentRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/UpgradeJobSnapshotRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/UpgradeJobSnapshotRequest.g.cs index 1981b0d076b..07886ed234a 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/UpgradeJobSnapshotRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/UpgradeJobSnapshotRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/ValidateDetectorRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/ValidateDetectorRequest.g.cs index 6e273c7a954..311f71a6840 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/ValidateDetectorRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/ValidateDetectorRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/ValidateRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/ValidateRequest.g.cs index 39684ec9016..2f532c21c40 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/ValidateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/ValidateRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MultiGetRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MultiGetRequest.g.cs index 71c373196be..479a8447f37 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MultiGetRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MultiGetRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MultiSearchRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MultiSearchRequest.g.cs index b255d3a68d4..0142870ccb7 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MultiSearchRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MultiSearchRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.IO; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MultiSearchTemplateRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MultiSearchTemplateRequest.g.cs index 64ba00a8ed3..c987991b8cb 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MultiSearchTemplateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MultiSearchTemplateRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.IO; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MultiTermVectorsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MultiTermVectorsRequest.g.cs index 448628b940e..03b4da10f08 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MultiTermVectorsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MultiTermVectorsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Nodes/ClearRepositoriesMeteringArchiveRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Nodes/ClearRepositoriesMeteringArchiveRequest.g.cs index 7f88d078337..5e3c83cc33a 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Nodes/ClearRepositoriesMeteringArchiveRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Nodes/ClearRepositoriesMeteringArchiveRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Nodes/GetRepositoriesMeteringInfoRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Nodes/GetRepositoriesMeteringInfoRequest.g.cs index 569f0cd6433..a292580e104 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Nodes/GetRepositoriesMeteringInfoRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Nodes/GetRepositoriesMeteringInfoRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Nodes/HotThreadsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Nodes/HotThreadsRequest.g.cs index 0c62060469c..a975f255b63 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Nodes/HotThreadsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Nodes/HotThreadsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Nodes/NodesInfoRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Nodes/NodesInfoRequest.g.cs index ac295843d91..afc2a557ec0 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Nodes/NodesInfoRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Nodes/NodesInfoRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Nodes/NodesStatsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Nodes/NodesStatsRequest.g.cs index 34a0e37d17f..e5d075f10ac 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Nodes/NodesStatsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Nodes/NodesStatsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Nodes/NodesUsageRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Nodes/NodesUsageRequest.g.cs index d379df24ca9..17b4a1378fb 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Nodes/NodesUsageRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Nodes/NodesUsageRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Nodes/ReloadSecureSettingsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Nodes/ReloadSecureSettingsRequest.g.cs index 54b9958a233..35a1ab3f600 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Nodes/ReloadSecureSettingsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Nodes/ReloadSecureSettingsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/OpenPointInTimeRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/OpenPointInTimeRequest.g.cs index 0c5914a5c35..7eba519c3bc 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/OpenPointInTimeRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/OpenPointInTimeRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/PingRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/PingRequest.g.cs index beaafdfa6b4..eef881b997d 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/PingRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/PingRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/PutScriptRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/PutScriptRequest.g.cs index d7bd298f7e4..91d6b99e3cf 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/PutScriptRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/PutScriptRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/QueryRules/DeleteRuleRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/QueryRules/DeleteRuleRequest.g.cs index 18a81286bbb..b7dc2979ea0 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/QueryRules/DeleteRuleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/QueryRules/DeleteRuleRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/QueryRules/DeleteRulesetRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/QueryRules/DeleteRulesetRequest.g.cs index 7d8fcd80b50..77e70e908c5 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/QueryRules/DeleteRulesetRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/QueryRules/DeleteRulesetRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/QueryRules/GetRuleRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/QueryRules/GetRuleRequest.g.cs index 2e9a351e3ca..206aaa37ca8 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/QueryRules/GetRuleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/QueryRules/GetRuleRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/QueryRules/GetRulesetRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/QueryRules/GetRulesetRequest.g.cs index 86f6758bf21..cb4d3848bf6 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/QueryRules/GetRulesetRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/QueryRules/GetRulesetRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/QueryRules/ListRulesetsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/QueryRules/ListRulesetsRequest.g.cs index 08fa5109ef0..17c90868680 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/QueryRules/ListRulesetsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/QueryRules/ListRulesetsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/QueryRules/PutRuleRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/QueryRules/PutRuleRequest.g.cs index 695e9c48d99..18c0aa7a6bf 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/QueryRules/PutRuleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/QueryRules/PutRuleRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/QueryRules/PutRulesetRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/QueryRules/PutRulesetRequest.g.cs index a2085a858f7..22c3f8e0639 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/QueryRules/PutRulesetRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/QueryRules/PutRulesetRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/RankEvalRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/RankEvalRequest.g.cs index c33e75d8303..a883c183c86 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/RankEvalRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/RankEvalRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/ReindexRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/ReindexRequest.g.cs index f3e99551850..fa7c00a14bd 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/ReindexRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/ReindexRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/ReindexRethrottleRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/ReindexRethrottleRequest.g.cs index 964bdd57eec..c5b605c9aad 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/ReindexRethrottleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/ReindexRethrottleRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/RenderSearchTemplateRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/RenderSearchTemplateRequest.g.cs index c57cc798307..3271a224123 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/RenderSearchTemplateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/RenderSearchTemplateRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Rollup/DeleteJobRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Rollup/DeleteJobRequest.g.cs index ba90b328ef7..22c64e0da0c 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Rollup/DeleteJobRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Rollup/DeleteJobRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Rollup/GetJobsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Rollup/GetJobsRequest.g.cs index e00924a4de1..6ef40b0b3b3 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Rollup/GetJobsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Rollup/GetJobsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Rollup/GetRollupCapsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Rollup/GetRollupCapsRequest.g.cs index 6f27f76a99e..84e3ca5d52a 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Rollup/GetRollupCapsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Rollup/GetRollupCapsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Rollup/GetRollupIndexCapsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Rollup/GetRollupIndexCapsRequest.g.cs index 0b3df7b26d9..905c78c528a 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Rollup/GetRollupIndexCapsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Rollup/GetRollupIndexCapsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Rollup/PutJobRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Rollup/PutJobRequest.g.cs index d31d0c08652..eff76b4c695 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Rollup/PutJobRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Rollup/PutJobRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Rollup/RollupSearchRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Rollup/RollupSearchRequest.g.cs index 1b009faea0c..d24f3feb80a 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Rollup/RollupSearchRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Rollup/RollupSearchRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Rollup/StartJobRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Rollup/StartJobRequest.g.cs index 7974557b569..cad0b8391f9 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Rollup/StartJobRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Rollup/StartJobRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Rollup/StopJobRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Rollup/StopJobRequest.g.cs index ae497d7a765..696e513e8bd 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Rollup/StopJobRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Rollup/StopJobRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/ScriptsPainlessExecuteRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/ScriptsPainlessExecuteRequest.g.cs index df75176b920..ddf8dbfa7ec 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/ScriptsPainlessExecuteRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/ScriptsPainlessExecuteRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/ScrollRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/ScrollRequest.g.cs index 96182663489..1d1f64d6ab7 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/ScrollRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/ScrollRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchApplication/DeleteBehavioralAnalyticsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchApplication/DeleteBehavioralAnalyticsRequest.g.cs index bb1dd14ba0a..0821769f39a 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchApplication/DeleteBehavioralAnalyticsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchApplication/DeleteBehavioralAnalyticsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchApplication/DeleteSearchApplicationRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchApplication/DeleteSearchApplicationRequest.g.cs index 568ee9f3b60..3683272e428 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchApplication/DeleteSearchApplicationRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchApplication/DeleteSearchApplicationRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchApplication/GetBehavioralAnalyticsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchApplication/GetBehavioralAnalyticsRequest.g.cs index 313dbe3f12f..3032d656690 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchApplication/GetBehavioralAnalyticsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchApplication/GetBehavioralAnalyticsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchApplication/GetSearchApplicationRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchApplication/GetSearchApplicationRequest.g.cs index 28c41602d1f..e7342f567b8 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchApplication/GetSearchApplicationRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchApplication/GetSearchApplicationRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchApplication/ListRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchApplication/ListRequest.g.cs index 8e216cde2e1..4a1abd18f85 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchApplication/ListRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchApplication/ListRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchApplication/PutBehavioralAnalyticsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchApplication/PutBehavioralAnalyticsRequest.g.cs index 185a22a7f3f..9b13e1d8a6a 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchApplication/PutBehavioralAnalyticsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchApplication/PutBehavioralAnalyticsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchApplication/PutSearchApplicationRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchApplication/PutSearchApplicationRequest.g.cs index 743674f4b71..30d3c434500 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchApplication/PutSearchApplicationRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchApplication/PutSearchApplicationRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchApplication/SearchApplicationSearchRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchApplication/SearchApplicationSearchRequest.g.cs index 28a5738d283..173d6962b99 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchApplication/SearchApplicationSearchRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchApplication/SearchApplicationSearchRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchMvtRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchMvtRequest.g.cs index 2528376f9a8..7e67b3cc67f 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchMvtRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchMvtRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchRequest.g.cs index 2f7583f26a0..31266e7e692 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchShardsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchShardsRequest.g.cs index de6e724e796..7bd1c72a260 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchShardsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchShardsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchTemplateRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchTemplateRequest.g.cs index 00bf927d32c..923f66d1ae8 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchTemplateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchTemplateRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchableSnapshots/CacheStatsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchableSnapshots/CacheStatsRequest.g.cs index 83ae3bdd257..df6332303d9 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchableSnapshots/CacheStatsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchableSnapshots/CacheStatsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchableSnapshots/ClearCacheRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchableSnapshots/ClearCacheRequest.g.cs index 9178c546e08..6f4a9c43964 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchableSnapshots/ClearCacheRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchableSnapshots/ClearCacheRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchableSnapshots/MountRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchableSnapshots/MountRequest.g.cs index b58b03e111a..05fa84ac6c4 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchableSnapshots/MountRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchableSnapshots/MountRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchableSnapshots/SearchableSnapshotsStatsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchableSnapshots/SearchableSnapshotsStatsRequest.g.cs index bbfcd700251..1894a388247 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchableSnapshots/SearchableSnapshotsStatsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchableSnapshots/SearchableSnapshotsStatsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/ActivateUserProfileRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/ActivateUserProfileRequest.g.cs index 55679e7bad4..cff16e81b4f 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/ActivateUserProfileRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/ActivateUserProfileRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/AuthenticateRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/AuthenticateRequest.g.cs index 186cd2ecac7..ee6d297fcd6 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/AuthenticateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/AuthenticateRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/BulkDeleteRoleRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/BulkDeleteRoleRequest.g.cs index 1d684d4b90b..c1b55603478 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/BulkDeleteRoleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/BulkDeleteRoleRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/BulkPutRoleRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/BulkPutRoleRequest.g.cs index d7fb2065195..120d3068d6a 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/BulkPutRoleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/BulkPutRoleRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/ChangePasswordRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/ChangePasswordRequest.g.cs index 4bc433d2031..d25c22e0aae 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/ChangePasswordRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/ChangePasswordRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/ClearApiKeyCacheRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/ClearApiKeyCacheRequest.g.cs index db6a20d7fab..a62551acf22 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/ClearApiKeyCacheRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/ClearApiKeyCacheRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/ClearCachedPrivilegesRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/ClearCachedPrivilegesRequest.g.cs index 35cb210f26f..a9170d3c2fd 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/ClearCachedPrivilegesRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/ClearCachedPrivilegesRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/ClearCachedRealmsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/ClearCachedRealmsRequest.g.cs index d10e676048e..6873cadc5f8 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/ClearCachedRealmsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/ClearCachedRealmsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/ClearCachedRolesRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/ClearCachedRolesRequest.g.cs index 236c3e471d7..60ef63b37b0 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/ClearCachedRolesRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/ClearCachedRolesRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/ClearCachedServiceTokensRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/ClearCachedServiceTokensRequest.g.cs index 3335cd52ea1..9988ce26447 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/ClearCachedServiceTokensRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/ClearCachedServiceTokensRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/CreateApiKeyRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/CreateApiKeyRequest.g.cs index a435b2e2d3e..b09feb4d128 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/CreateApiKeyRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/CreateApiKeyRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/CreateServiceTokenRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/CreateServiceTokenRequest.g.cs index 66c4cdf3077..82f0154e7e6 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/CreateServiceTokenRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/CreateServiceTokenRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/DeletePrivilegesRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/DeletePrivilegesRequest.g.cs index 05be0c4c031..55d79f9287e 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/DeletePrivilegesRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/DeletePrivilegesRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/DeleteRoleMappingRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/DeleteRoleMappingRequest.g.cs index ab3c2fb6a40..aafbd9fe708 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/DeleteRoleMappingRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/DeleteRoleMappingRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/DeleteRoleRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/DeleteRoleRequest.g.cs index 786ba657268..2bf1ca5061a 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/DeleteRoleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/DeleteRoleRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/DeleteServiceTokenRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/DeleteServiceTokenRequest.g.cs index ebc4ea9867c..6183ce96414 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/DeleteServiceTokenRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/DeleteServiceTokenRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/DeleteUserRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/DeleteUserRequest.g.cs index 10f7b9e77d2..6c01fdbe59e 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/DeleteUserRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/DeleteUserRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/DisableUserProfileRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/DisableUserProfileRequest.g.cs index fe1f12b7d2d..c0d51b98600 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/DisableUserProfileRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/DisableUserProfileRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/DisableUserRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/DisableUserRequest.g.cs index da3859780cf..1c98402cd49 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/DisableUserRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/DisableUserRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/EnableUserProfileRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/EnableUserProfileRequest.g.cs index ea1e8851737..423075f3888 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/EnableUserProfileRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/EnableUserProfileRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/EnableUserRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/EnableUserRequest.g.cs index a475c6e3315..019ff052db9 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/EnableUserRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/EnableUserRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/EnrollKibanaRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/EnrollKibanaRequest.g.cs index 5ba28f335d2..83ced516fb8 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/EnrollKibanaRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/EnrollKibanaRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/EnrollNodeRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/EnrollNodeRequest.g.cs index 3e79a389c1b..19c48694766 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/EnrollNodeRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/EnrollNodeRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetApiKeyRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetApiKeyRequest.g.cs index 3b531462d74..996c419b3fe 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetApiKeyRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetApiKeyRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetBuiltinPrivilegesRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetBuiltinPrivilegesRequest.g.cs index b93260c3b73..86da44c5865 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetBuiltinPrivilegesRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetBuiltinPrivilegesRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetPrivilegesRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetPrivilegesRequest.g.cs index d7471e4e322..e9b962cc0ff 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetPrivilegesRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetPrivilegesRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetRoleMappingRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetRoleMappingRequest.g.cs index 24ba915b714..3eb5c006fc7 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetRoleMappingRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetRoleMappingRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetRoleRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetRoleRequest.g.cs index fa84192133a..277814202e1 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetRoleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetRoleRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetServiceAccountsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetServiceAccountsRequest.g.cs index fb27a85b150..157e7bb90ee 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetServiceAccountsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetServiceAccountsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetServiceCredentialsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetServiceCredentialsRequest.g.cs index 59a139b14a3..bf51be2829d 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetServiceCredentialsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetServiceCredentialsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetTokenRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetTokenRequest.g.cs index dc8331d6fe7..d3ade1b87c5 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetTokenRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetTokenRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetUserPrivilegesRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetUserPrivilegesRequest.g.cs index 2644b772f56..903249037d0 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetUserPrivilegesRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetUserPrivilegesRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetUserProfileRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetUserProfileRequest.g.cs index 85685d66fbe..aa80263756d 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetUserProfileRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetUserProfileRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetUserRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetUserRequest.g.cs index bedc1ce683e..734533078e9 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetUserRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetUserRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GrantApiKeyRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GrantApiKeyRequest.g.cs index ac32cc917fe..5f0efc84624 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GrantApiKeyRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GrantApiKeyRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/HasPrivilegesRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/HasPrivilegesRequest.g.cs index 30169672946..3ac8a626a3d 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/HasPrivilegesRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/HasPrivilegesRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/HasPrivilegesUserProfileRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/HasPrivilegesUserProfileRequest.g.cs index 3d7a11691aa..15dd0268db1 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/HasPrivilegesUserProfileRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/HasPrivilegesUserProfileRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/InvalidateApiKeyRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/InvalidateApiKeyRequest.g.cs index a9c57aeb9a6..02dbbe38899 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/InvalidateApiKeyRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/InvalidateApiKeyRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/InvalidateTokenRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/InvalidateTokenRequest.g.cs index f226fbef4e9..6c7c79d4e4e 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/InvalidateTokenRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/InvalidateTokenRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/PutPrivilegesRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/PutPrivilegesRequest.g.cs index 2ce5e12e334..61b7a74d58b 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/PutPrivilegesRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/PutPrivilegesRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.IO; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/PutRoleMappingRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/PutRoleMappingRequest.g.cs index 41c648f5abb..748f72aa996 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/PutRoleMappingRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/PutRoleMappingRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/PutRoleRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/PutRoleRequest.g.cs index d16082dbc34..6f508ca957e 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/PutRoleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/PutRoleRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/PutUserRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/PutUserRequest.g.cs index 25305c9241e..9f9434d6e73 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/PutUserRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/PutUserRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/QueryApiKeysRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/QueryApiKeysRequest.g.cs index 22060338953..f58fc473b5c 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/QueryApiKeysRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/QueryApiKeysRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/QueryRoleRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/QueryRoleRequest.g.cs index ab8757e8cbd..08bee4543e0 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/QueryRoleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/QueryRoleRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/QueryUserRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/QueryUserRequest.g.cs index 475ab9b6758..e29f3618f4d 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/QueryUserRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/QueryUserRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/SamlAuthenticateRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/SamlAuthenticateRequest.g.cs index 40f3938107b..5de9a26fc68 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/SamlAuthenticateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/SamlAuthenticateRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/SamlCompleteLogoutRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/SamlCompleteLogoutRequest.g.cs index d3063cdfca1..3fec565f907 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/SamlCompleteLogoutRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/SamlCompleteLogoutRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/SamlInvalidateRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/SamlInvalidateRequest.g.cs index a4fda7b3fa0..c4f8d7f7257 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/SamlInvalidateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/SamlInvalidateRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/SamlLogoutRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/SamlLogoutRequest.g.cs index f9e3c658f8a..319b2e2d920 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/SamlLogoutRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/SamlLogoutRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/SamlPrepareAuthenticationRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/SamlPrepareAuthenticationRequest.g.cs index 268c99d9459..c82dce9acf2 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/SamlPrepareAuthenticationRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/SamlPrepareAuthenticationRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/SamlServiceProviderMetadataRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/SamlServiceProviderMetadataRequest.g.cs index 55aa654e277..50a7c5682ea 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/SamlServiceProviderMetadataRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/SamlServiceProviderMetadataRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/SuggestUserProfilesRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/SuggestUserProfilesRequest.g.cs index 33e4f77a8fe..7e54558792e 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/SuggestUserProfilesRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/SuggestUserProfilesRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/UpdateApiKeyRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/UpdateApiKeyRequest.g.cs index 0bb9d8738ad..488cea1b6d7 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/UpdateApiKeyRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/UpdateApiKeyRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/UpdateUserProfileDataRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/UpdateUserProfileDataRequest.g.cs index e71721fa22d..1427c4ba1bb 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/UpdateUserProfileDataRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/UpdateUserProfileDataRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/CleanupRepositoryRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/CleanupRepositoryRequest.g.cs index 2f9ab9e7ffd..4f7d24f7fa3 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/CleanupRepositoryRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/CleanupRepositoryRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/CloneSnapshotRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/CloneSnapshotRequest.g.cs index f078fc9544c..f2d56ebe57b 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/CloneSnapshotRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/CloneSnapshotRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/CreateRepositoryRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/CreateRepositoryRequest.g.cs index 4e2f6b00770..48f82d31977 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/CreateRepositoryRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/CreateRepositoryRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/CreateSnapshotRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/CreateSnapshotRequest.g.cs index 8fe4a5c2229..9c963bf9059 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/CreateSnapshotRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/CreateSnapshotRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/DeleteRepositoryRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/DeleteRepositoryRequest.g.cs index 9fda4025422..41acee94388 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/DeleteRepositoryRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/DeleteRepositoryRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/DeleteSnapshotRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/DeleteSnapshotRequest.g.cs index b21f1b922fe..3435c965641 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/DeleteSnapshotRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/DeleteSnapshotRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/GetRepositoryRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/GetRepositoryRequest.g.cs index 31c8c0b691d..5564259562b 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/GetRepositoryRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/GetRepositoryRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/GetSnapshotRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/GetSnapshotRequest.g.cs index 3491a21cb36..d7cfbe43e6f 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/GetSnapshotRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/GetSnapshotRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/RestoreRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/RestoreRequest.g.cs index e7d9235bbfc..6ad466530e9 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/RestoreRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/RestoreRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/SnapshotStatusRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/SnapshotStatusRequest.g.cs index 9e92916588a..cc1c9442cdf 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/SnapshotStatusRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/SnapshotStatusRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/VerifyRepositoryRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/VerifyRepositoryRequest.g.cs index 38a5562fdf9..cadffda742f 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/VerifyRepositoryRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/VerifyRepositoryRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SnapshotLifecycleManagement/DeleteLifecycleRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SnapshotLifecycleManagement/DeleteLifecycleRequest.g.cs index 320ec5bffb7..85f33535e96 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SnapshotLifecycleManagement/DeleteLifecycleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SnapshotLifecycleManagement/DeleteLifecycleRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SnapshotLifecycleManagement/ExecuteLifecycleRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SnapshotLifecycleManagement/ExecuteLifecycleRequest.g.cs index bb8dc91cb3c..65674da8cf3 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SnapshotLifecycleManagement/ExecuteLifecycleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SnapshotLifecycleManagement/ExecuteLifecycleRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SnapshotLifecycleManagement/ExecuteRetentionRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SnapshotLifecycleManagement/ExecuteRetentionRequest.g.cs index 3b1416913f0..94c7e365ad6 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SnapshotLifecycleManagement/ExecuteRetentionRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SnapshotLifecycleManagement/ExecuteRetentionRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SnapshotLifecycleManagement/GetLifecycleRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SnapshotLifecycleManagement/GetLifecycleRequest.g.cs index 6d6625ca04a..065d37b1eea 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SnapshotLifecycleManagement/GetLifecycleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SnapshotLifecycleManagement/GetLifecycleRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SnapshotLifecycleManagement/GetSlmStatusRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SnapshotLifecycleManagement/GetSlmStatusRequest.g.cs index 8d1eab503a0..5086212cfc6 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SnapshotLifecycleManagement/GetSlmStatusRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SnapshotLifecycleManagement/GetSlmStatusRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SnapshotLifecycleManagement/GetStatsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SnapshotLifecycleManagement/GetStatsRequest.g.cs index 84629bdb756..60f73a9cac8 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SnapshotLifecycleManagement/GetStatsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SnapshotLifecycleManagement/GetStatsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SnapshotLifecycleManagement/PutLifecycleRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SnapshotLifecycleManagement/PutLifecycleRequest.g.cs index ecfd86c5eb2..ea93dcafd88 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SnapshotLifecycleManagement/PutLifecycleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SnapshotLifecycleManagement/PutLifecycleRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SnapshotLifecycleManagement/StartSlmRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SnapshotLifecycleManagement/StartSlmRequest.g.cs index cf3d0e3fa1e..4cde81967c5 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SnapshotLifecycleManagement/StartSlmRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SnapshotLifecycleManagement/StartSlmRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SnapshotLifecycleManagement/StopSlmRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SnapshotLifecycleManagement/StopSlmRequest.g.cs index ca7010957b7..8fb9b82af9b 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SnapshotLifecycleManagement/StopSlmRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SnapshotLifecycleManagement/StopSlmRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Sql/ClearCursorRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Sql/ClearCursorRequest.g.cs index ed3b52ea2e3..e7642520024 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Sql/ClearCursorRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Sql/ClearCursorRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Sql/DeleteAsyncRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Sql/DeleteAsyncRequest.g.cs index 1e27e791903..f10354d82f4 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Sql/DeleteAsyncRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Sql/DeleteAsyncRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Sql/GetAsyncRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Sql/GetAsyncRequest.g.cs index 77c68f95956..75b724ab11d 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Sql/GetAsyncRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Sql/GetAsyncRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Sql/GetAsyncStatusRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Sql/GetAsyncStatusRequest.g.cs index 5bf3a3783f6..002f87c77ac 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Sql/GetAsyncStatusRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Sql/GetAsyncStatusRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Sql/QueryRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Sql/QueryRequest.g.cs index 7da01d16fc0..34519a8f721 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Sql/QueryRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Sql/QueryRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Sql/TranslateRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Sql/TranslateRequest.g.cs index 0e985a24dce..7b29b6516d1 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Sql/TranslateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Sql/TranslateRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Synonyms/DeleteSynonymRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Synonyms/DeleteSynonymRequest.g.cs index ecda4dafb10..2ff242aa234 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Synonyms/DeleteSynonymRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Synonyms/DeleteSynonymRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Synonyms/DeleteSynonymRuleRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Synonyms/DeleteSynonymRuleRequest.g.cs index 2e2e39a8d8c..fceca4690d8 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Synonyms/DeleteSynonymRuleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Synonyms/DeleteSynonymRuleRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Synonyms/GetSynonymRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Synonyms/GetSynonymRequest.g.cs index 8a9f327fa20..5422954551b 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Synonyms/GetSynonymRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Synonyms/GetSynonymRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Synonyms/GetSynonymRuleRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Synonyms/GetSynonymRuleRequest.g.cs index 0743e1542f0..aae76d746b6 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Synonyms/GetSynonymRuleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Synonyms/GetSynonymRuleRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Synonyms/GetSynonymsSetsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Synonyms/GetSynonymsSetsRequest.g.cs index fc9c8b16439..806b9170341 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Synonyms/GetSynonymsSetsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Synonyms/GetSynonymsSetsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Synonyms/PutSynonymRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Synonyms/PutSynonymRequest.g.cs index dc2d3d4ca2e..e451898972e 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Synonyms/PutSynonymRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Synonyms/PutSynonymRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Synonyms/PutSynonymRuleRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Synonyms/PutSynonymRuleRequest.g.cs index b884d81d6bf..6a85a994be1 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Synonyms/PutSynonymRuleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Synonyms/PutSynonymRuleRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Tasks/CancelRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Tasks/CancelRequest.g.cs index 3ac3af276bb..afad51cb35b 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Tasks/CancelRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Tasks/CancelRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Tasks/GetTasksRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Tasks/GetTasksRequest.g.cs index 11fdb657626..1ef20cc4469 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Tasks/GetTasksRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Tasks/GetTasksRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Tasks/ListRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Tasks/ListRequest.g.cs index 1bc8c0ed85b..228be9745b7 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Tasks/ListRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Tasks/ListRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/TermVectorsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/TermVectorsRequest.g.cs index 3c27f0b5801..74cf80a255d 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/TermVectorsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/TermVectorsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; @@ -380,7 +381,7 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o if (DocValue is not null) { writer.WritePropertyName("doc"); - SourceSerialization.Serialize(DocValue, writer, settings.SourceSerializer); + settings.SourceSerializer.Serialize(DocValue, writer); } if (FilterDescriptor is not null) diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/TermsEnumRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/TermsEnumRequest.g.cs index ee29eb7ecc3..75a2b05b403 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/TermsEnumRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/TermsEnumRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/TextStructure/TestGrokPatternRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/TextStructure/TestGrokPatternRequest.g.cs index fedd469cdb3..f8e4bcdafdd 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/TextStructure/TestGrokPatternRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/TextStructure/TestGrokPatternRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/TransformManagement/DeleteTransformRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/TransformManagement/DeleteTransformRequest.g.cs index 93a077fc786..4c99c8484f9 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/TransformManagement/DeleteTransformRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/TransformManagement/DeleteTransformRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/TransformManagement/GetTransformRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/TransformManagement/GetTransformRequest.g.cs index 7aec1466cf4..c5d4152ca6b 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/TransformManagement/GetTransformRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/TransformManagement/GetTransformRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/TransformManagement/GetTransformStatsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/TransformManagement/GetTransformStatsRequest.g.cs index 7d91f1bd589..bfd538ede2c 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/TransformManagement/GetTransformStatsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/TransformManagement/GetTransformStatsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/TransformManagement/PreviewTransformRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/TransformManagement/PreviewTransformRequest.g.cs index 9d638131afa..c9dd9773b16 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/TransformManagement/PreviewTransformRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/TransformManagement/PreviewTransformRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/TransformManagement/PutTransformRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/TransformManagement/PutTransformRequest.g.cs index e015ccaf007..7572393a22f 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/TransformManagement/PutTransformRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/TransformManagement/PutTransformRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/TransformManagement/ResetTransformRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/TransformManagement/ResetTransformRequest.g.cs index 1167b2393b5..bbe3236f756 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/TransformManagement/ResetTransformRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/TransformManagement/ResetTransformRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/TransformManagement/ScheduleNowTransformRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/TransformManagement/ScheduleNowTransformRequest.g.cs index 2c98a5a62b8..b77da029d31 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/TransformManagement/ScheduleNowTransformRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/TransformManagement/ScheduleNowTransformRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/TransformManagement/StartTransformRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/TransformManagement/StartTransformRequest.g.cs index f918131e06f..c13718c4ae6 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/TransformManagement/StartTransformRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/TransformManagement/StartTransformRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/TransformManagement/StopTransformRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/TransformManagement/StopTransformRequest.g.cs index f07921f11be..83c77465a31 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/TransformManagement/StopTransformRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/TransformManagement/StopTransformRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/TransformManagement/UpdateTransformRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/TransformManagement/UpdateTransformRequest.g.cs index ca1dfce0368..bc612418057 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/TransformManagement/UpdateTransformRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/TransformManagement/UpdateTransformRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/TransformManagement/UpgradeTransformsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/TransformManagement/UpgradeTransformsRequest.g.cs index 0a5ee29800c..a562b550fb2 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/TransformManagement/UpgradeTransformsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/TransformManagement/UpgradeTransformsRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/UpdateByQueryRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/UpdateByQueryRequest.g.cs index 7449285727d..26842bb705f 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/UpdateByQueryRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/UpdateByQueryRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/UpdateByQueryRethrottleRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/UpdateByQueryRethrottleRequest.g.cs index c4bc0ab4d92..5a793d21b27 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/UpdateByQueryRethrottleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/UpdateByQueryRethrottleRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/UpdateRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/UpdateRequest.g.cs index 818525a2fe8..2b7fb9ce352 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/UpdateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/UpdateRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; @@ -473,7 +474,7 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o if (DocValue is not null) { writer.WritePropertyName("doc"); - SourceSerialization.Serialize(DocValue, writer, settings.SourceSerializer); + settings.SourceSerializer.Serialize(DocValue, writer); } if (DocAsUpsertValue.HasValue) @@ -513,7 +514,7 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o if (UpsertValue is not null) { writer.WritePropertyName("upsert"); - SourceSerialization.Serialize(UpsertValue, writer, settings.SourceSerializer); + settings.SourceSerializer.Serialize(UpsertValue, writer); } writer.WriteEndObject(); diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Xpack/XpackInfoRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Xpack/XpackInfoRequest.g.cs index 5bb229233bb..4399788c3ee 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Xpack/XpackInfoRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Xpack/XpackInfoRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Xpack/XpackUsageRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Xpack/XpackUsageRequest.g.cs index 099348c72fb..8a0ac0566a4 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Xpack/XpackUsageRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Xpack/XpackUsageRequest.g.cs @@ -21,6 +21,7 @@ using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; +using Elastic.Transport.Extensions; using System; using System.Collections.Generic; using System.Linq.Expressions; diff --git a/src/Elastic.Clients.Elasticsearch/_Shared/Core/Configuration/ElasticsearchClientSettings.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Core/Configuration/ElasticsearchClientSettings.cs index cce890562f2..62c3e7ce566 100644 --- a/src/Elastic.Clients.Elasticsearch/_Shared/Core/Configuration/ElasticsearchClientSettings.cs +++ b/src/Elastic.Clients.Elasticsearch/_Shared/Core/Configuration/ElasticsearchClientSettings.cs @@ -8,17 +8,21 @@ using System.Linq; using System.Linq.Expressions; using System.Reflection; + #if ELASTICSEARCH_SERVERLESS using Elastic.Clients.Elasticsearch.Serverless.Fluent; #else using Elastic.Clients.Elasticsearch.Fluent; #endif + #if ELASTICSEARCH_SERVERLESS using Elastic.Clients.Elasticsearch.Serverless.Serialization; #else using Elastic.Clients.Elasticsearch.Serialization; #endif + using Elastic.Transport; +using Elastic.Transport.Extensions; using Elastic.Transport.Products; using Elastic.Transport.Products.Elasticsearch; @@ -62,12 +66,16 @@ public ElasticsearchClientSettings(string cloudId, AuthorizationHeader credentia { } - public ElasticsearchClientSettings(NodePool nodePool) : this(nodePool, null, null) { } + public ElasticsearchClientSettings(NodePool nodePool) : this(nodePool, null, null) + { + } public ElasticsearchClientSettings(NodePool nodePool, SourceSerializerFactory sourceSerializer) : this(nodePool, null, sourceSerializer) { } - public ElasticsearchClientSettings(NodePool nodePool, IRequestInvoker requestInvoker) : this(nodePool, requestInvoker, null) { } + public ElasticsearchClientSettings(NodePool nodePool, IRequestInvoker requestInvoker) : this(nodePool, requestInvoker, null) + { + } public ElasticsearchClientSettings(NodePool nodePool, IRequestInvoker requestInvoker, SourceSerializerFactory sourceSerializer) : this( nodePool, @@ -113,7 +121,7 @@ public abstract class private readonly FluentDictionary _routeProperties = new(); private readonly Serializer _sourceSerializer; private bool _experimentalEnableSerializeNullInferredValues; - private ExperimentalSettings _experimentalSettings = new (); + private ExperimentalSettings _experimentalSettings = new(); private bool _defaultDisableAllInference; private Func _defaultFieldNameInferrer; @@ -133,7 +141,9 @@ protected ElasticsearchClientSettingsBase( _sourceSerializer = sourceSerializerFactory?.Invoke(sourceSerializer, this) ?? sourceSerializer; _propertyMappingProvider = propertyMappingProvider ?? sourceSerializer as IPropertyMappingProvider ?? new DefaultPropertyMappingProvider(); - _defaultFieldNameInferrer = (_sourceSerializer is DefaultSourceSerializer dfs) ? p => dfs.Options?.PropertyNamingPolicy?.ConvertName(p) ?? p : p => p.ToCamelCase(); + _defaultFieldNameInferrer = _sourceSerializer.TryGetJsonSerializerOptions(out var options) + ? p => options.PropertyNamingPolicy?.ConvertName(p) ?? p + : p => p.ToCamelCase(); _defaultIndices = new FluentDictionary(); _defaultRelationNames = new FluentDictionary(); _inferrer = new Inferrer(this); @@ -180,12 +190,13 @@ public TConnectionSettings DefaultIndex(string defaultIndex) => /// public TConnectionSettings DefaultFieldNameInferrer(Func fieldNameInferrer) { - if (_sourceSerializer is DefaultSourceSerializer dss) - { - dss.Options.PropertyNamingPolicy = new CustomizedNamingPolicy(fieldNameInferrer); - } + if (_sourceSerializer.TryGetJsonSerializerOptions(out var options, SerializationFormatting.None)) + options.PropertyNamingPolicy = new CustomizedNamingPolicy(fieldNameInferrer); - return Assign>(fieldNameInferrer, (a, v) => a._defaultFieldNameInferrer = v); + if (_sourceSerializer.TryGetJsonSerializerOptions(out var indentedOptions, SerializationFormatting.Indented)) + indentedOptions.PropertyNamingPolicy = new CustomizedNamingPolicy(fieldNameInferrer); + + return Assign(fieldNameInferrer, (a, v) => a._defaultFieldNameInferrer = v); } public TConnectionSettings ExperimentalEnableSerializeNullInferredValues(bool enabled = true) => @@ -346,7 +357,9 @@ public ConnectionConfiguration(string cloudId, AuthorizationHeader credentials) { } - public ConnectionConfiguration(NodePool nodePool) : this(nodePool, null, null) { } + public ConnectionConfiguration(NodePool nodePool) : this(nodePool, null, null) + { + } public ConnectionConfiguration(NodePool nodePool, IRequestInvoker requestInvoker) : this(nodePool, requestInvoker, null) diff --git a/src/Elastic.Clients.Elasticsearch/_Shared/Core/Fields/FieldValue.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Core/Fields/FieldValue.cs index 9ebf95304eb..a2b89956e86 100644 --- a/src/Elastic.Clients.Elasticsearch/_Shared/Core/Fields/FieldValue.cs +++ b/src/Elastic.Clients.Elasticsearch/_Shared/Core/Fields/FieldValue.cs @@ -8,6 +8,9 @@ using System.Diagnostics.CodeAnalysis; using System.Collections.Generic; using System.Globalization; + +using Elastic.Transport.Extensions; + #if ELASTICSEARCH_SERVERLESS using Elastic.Clients.Elasticsearch.Serverless.Serialization; #else @@ -27,7 +30,11 @@ namespace Elastic.Clients.Elasticsearch; [JsonConverter(typeof(FieldValueConverter))] public readonly struct FieldValue : IEquatable { - internal FieldValue(ValueKind kind, object? value) { Kind = kind; Value = value; } + internal FieldValue(ValueKind kind, object? value) + { + Kind = kind; + Value = value; + } /// /// The kind of value contained within this . @@ -98,6 +105,7 @@ public enum ValueKind // These are not expected to be required for consumer values but are used internally. internal static FieldValue Any(LazyJson value) => new(ValueKind.LazyDocument, value); + internal static FieldValue Composite(object value) => new(ValueKind.Composite, value); /// @@ -269,6 +277,7 @@ public override string ToString() => }; public override bool Equals(object? obj) => obj is FieldValue value && Equals(value); + public bool Equals(FieldValue other) => Kind == other.Kind && EqualityComparer.Default.Equals(Value, other.Value); public override int GetHashCode() @@ -283,12 +292,17 @@ public override int GetHashCode() } public static bool operator ==(FieldValue left, FieldValue right) => left.Equals(right); + public static bool operator !=(FieldValue left, FieldValue right) => !(left == right); public static implicit operator FieldValue(string value) => String(value); + public static implicit operator FieldValue(bool value) => Boolean(value); + public static implicit operator FieldValue(int value) => Long(value); + public static implicit operator FieldValue(long value) => Long(value); + public static implicit operator FieldValue(double value) => Double(value); } @@ -340,40 +354,33 @@ public override void Write(Utf8JsonWriter writer, FieldValue value, JsonSerializ { writer.WriteStringValue(stringValue); } - else if (value.TryGetBool(out var boolValue)) { writer.WriteBooleanValue(boolValue.Value); } - else if (value.TryGetLong(out var longValue)) { writer.WriteNumberValue(longValue.Value); } - else if (value.TryGetDouble(out var doubleValue)) { writer.WriteNumberValue(doubleValue.Value); } - else if (value.TryGetLazyDocument(out var lazyDocument)) { writer.WriteRawValue(lazyDocument.Value.Bytes); } - else if (value.TryGetComposite(out var objectValue)) { if (!options.TryGetClientSettings(out var settings)) ThrowHelper.ThrowJsonExceptionForMissingSettings(); - SourceSerialization.Serialize(objectValue, objectValue.GetType(), writer, settings); + settings.SourceSerializer.Serialize(objectValue, objectValue.GetType(), writer, null); } - else if (value.Kind == FieldValue.ValueKind.Null) { writer.WriteNullValue(); } - else { throw new JsonException($"Unsupported FieldValue kind. This is likely a bug and should be reported as an issue."); diff --git a/src/Elastic.Clients.Elasticsearch/_Shared/Serialization/DefaultRequestResponseSerializer.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Serialization/DefaultRequestResponseSerializer.cs index 3d497c3c25e..7669ee7dd10 100644 --- a/src/Elastic.Clients.Elasticsearch/_Shared/Serialization/DefaultRequestResponseSerializer.cs +++ b/src/Elastic.Clients.Elasticsearch/_Shared/Serialization/DefaultRequestResponseSerializer.cs @@ -2,6 +2,7 @@ // 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. +using System.Collections.Generic; using System.IO; using System.Text.Json; using System.Text.Json.Serialization; @@ -17,42 +18,18 @@ namespace Elastic.Clients.Elasticsearch.Serialization; #endif /// -/// The built in internal serializer that the uses to serialize -/// built in types. +/// The built-in internal serializer that the uses to serialize built in types. /// -internal class DefaultRequestResponseSerializer : SystemTextJsonSerializer +internal sealed class DefaultRequestResponseSerializer : SystemTextJsonSerializer { - private readonly JsonSerializerOptions _jsonSerializerOptions; + private readonly IElasticsearchClientSettings _settings; - public DefaultRequestResponseSerializer(IElasticsearchClientSettings settings) : base(settings) + public DefaultRequestResponseSerializer(IElasticsearchClientSettings settings) : + base(new DefaultRequestResponseSerializerOptionsProvider(settings)) { - _jsonSerializerOptions = new JsonSerializerOptions - { - DefaultIgnoreCondition = JsonIgnoreCondition.WhenWritingNull, - IncludeFields = true, - Converters = - { - new KeyValuePairConverterFactory(settings), - new ObjectToInferredTypesConverter(), - new SourceConverterFactory(settings), - new SelfSerializableConverterFactory(settings), - new SelfDeserializableConverterFactory(settings), - new SelfTwoWaySerializableConverterFactory(settings), - new FieldValuesConverter(), // explicitly registered before IsADictionaryConverterFactory as we want this specialised converter to match - new IsADictionaryConverterFactory(), - new ResponseItemConverterFactory(), - new DictionaryResponseConverterFactory(settings), - new UnionConverter(), - // TODO: Remove after https://github.com/elastic/elasticsearch-specification/issues/2238 is implemented - new StringifiedLongConverter(), - new StringifiedIntegerConverter(), - new StringifiedBoolConverter() - }, - PropertyNamingPolicy = JsonNamingPolicy.CamelCase, - NumberHandling = JsonNumberHandling.AllowReadingFromString | JsonNumberHandling.AllowNamedFloatingPointLiterals - }; - - Initialize(); + _settings = settings; + + LinkSettings(settings); } public override void Serialize(T data, Stream writableStream, @@ -60,7 +37,7 @@ public override void Serialize(T data, Stream writableStream, { if (data is IStreamSerializable streamSerializable) { - streamSerializable.Serialize(writableStream, Settings, SerializationFormatting.None); + streamSerializable.Serialize(writableStream, _settings, SerializationFormatting.None); return; } @@ -72,12 +49,67 @@ public override Task SerializeAsync(T data, Stream stream, CancellationToken cancellationToken = default) { if (data is IStreamSerializable streamSerializable) + return streamSerializable.SerializeAsync(stream, _settings, SerializationFormatting.None); + + return base.SerializeAsync(data, stream, formatting, cancellationToken); + } + + /// + /// Links the of this serializer to the given . + /// + private void LinkSettings(IElasticsearchClientSettings settings) + { + var options = GetJsonSerializerOptions(SerializationFormatting.None); + var indentedOptions = GetJsonSerializerOptions(SerializationFormatting.Indented); + + if (!ElasticsearchClient.SettingsTable.TryGetValue(options, out _)) { - return streamSerializable.SerializeAsync(stream, Settings, SerializationFormatting.None); + ElasticsearchClient.SettingsTable.Add(options, settings); } - return base.SerializeAsync(data, stream, formatting, cancellationToken); + if (!ElasticsearchClient.SettingsTable.TryGetValue(indentedOptions, out _)) + { + ElasticsearchClient.SettingsTable.Add(indentedOptions, settings); + } } +} + +/// +/// The options-provider for the built-in . +/// +internal sealed class DefaultRequestResponseSerializerOptionsProvider : + TransportSerializerOptionsProvider +{ + internal DefaultRequestResponseSerializerOptionsProvider(IElasticsearchClientSettings settings) : + base(CreateDefaultBuiltInConverters(settings), null, MutateOptions) + { + } + + private static IReadOnlyCollection CreateDefaultBuiltInConverters(IElasticsearchClientSettings settings) => + [ + new KeyValuePairConverterFactory(settings), + new ObjectToInferredTypesConverter(), + new SourceConverterFactory(settings), + new SelfSerializableConverterFactory(settings), + new SelfDeserializableConverterFactory(settings), + new SelfTwoWaySerializableConverterFactory(settings), + // Explicitly registered before `IsADictionaryConverterFactory` as we want this specialised converter to match + new FieldValuesConverter(), + new IsADictionaryConverterFactory(), + new ResponseItemConverterFactory(), + new DictionaryResponseConverterFactory(settings), + new UnionConverter(), + // TODO: Remove after https://github.com/elastic/elasticsearch-specification/issues/2238 is implemented + new StringifiedLongConverter(), + new StringifiedIntegerConverter(), + new StringifiedBoolConverter() + ]; - protected override JsonSerializerOptions CreateJsonSerializerOptions() => _jsonSerializerOptions; + private static void MutateOptions(JsonSerializerOptions options) + { + options.DefaultIgnoreCondition = JsonIgnoreCondition.WhenWritingNull; + options.IncludeFields = true; + options.NumberHandling = JsonNumberHandling.AllowReadingFromString | JsonNumberHandling.AllowNamedFloatingPointLiterals; + options.PropertyNamingPolicy = JsonNamingPolicy.CamelCase; + } } diff --git a/src/Elastic.Clients.Elasticsearch/_Shared/Serialization/DefaultSourceSerializer.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Serialization/DefaultSourceSerializer.cs index 4baffcc168c..de2bc568f4d 100644 --- a/src/Elastic.Clients.Elasticsearch/_Shared/Serialization/DefaultSourceSerializer.cs +++ b/src/Elastic.Clients.Elasticsearch/_Shared/Serialization/DefaultSourceSerializer.cs @@ -6,6 +6,8 @@ using System.Text.Json; using System.Text.Json.Serialization; +using Elastic.Transport; + #if ELASTICSEARCH_SERVERLESS namespace Elastic.Clients.Elasticsearch.Serverless.Serialization; #else @@ -13,92 +15,80 @@ namespace Elastic.Clients.Elasticsearch.Serialization; #endif /// -/// The built in internal serializer that the uses to serialize +/// The built-in internal serializer that the uses to serialize /// source document types. /// -public class DefaultSourceSerializer : SystemTextJsonSerializer +public class DefaultSourceSerializer : + SystemTextJsonSerializer { - /// - /// Returns an array of the built in s that are used registered with the - /// source serializer by default. - /// - public static JsonConverter[] DefaultBuiltInConverters => new JsonConverter[] - { - new JsonStringEnumConverter(), - new DoubleWithFractionalPortionConverter(), - new SingleWithFractionalPortionConverter() - }; - - private readonly JsonSerializerOptions _jsonSerializerOptions; - - internal DefaultSourceSerializer(IElasticsearchClientSettings settings) : base(settings) - { - _jsonSerializerOptions = CreateDefaultJsonSerializerOptions(); - - Initialize(); - } - /// /// Constructs a new instance that accepts an that can /// be provided to customize the default . /// - /// An instance to which this - /// serializers will be linked. - /// An to customize the configuration of the - /// default . - public DefaultSourceSerializer(IElasticsearchClientSettings settings, Action configureOptions) : base(settings) - { - var options = CreateDefaultJsonSerializerOptions(); - - configureOptions?.Invoke(options); - - _jsonSerializerOptions = options; - - Initialize(); - } + /// An instance to which this serializers + /// will be linked. + /// + /// + /// An optional to customize the configuration of the default . + /// + public DefaultSourceSerializer(IElasticsearchClientSettings settings, Action? configureOptions = null) : + base(new DefaultSourceSerializerOptionsProvider(configureOptions)) => + LinkSettings(settings); /// - /// A factory method which returns a new instance of configured with the - /// default configuration applied to for serialization by the . + /// Links the of this serializer to the given . /// - /// - /// - public static JsonSerializerOptions CreateDefaultJsonSerializerOptions(bool includeDefaultConverters = true) + private void LinkSettings(IElasticsearchClientSettings settings) { - var options = new JsonSerializerOptions() - { - DefaultIgnoreCondition = JsonIgnoreCondition.WhenWritingNull, - PropertyNamingPolicy = JsonNamingPolicy.CamelCase, - NumberHandling = JsonNumberHandling.AllowReadingFromString // For numerically mapped fields, it is possible for values in the source to be returned as strings, if they were indexed as such. - }; + var options = GetJsonSerializerOptions(SerializationFormatting.None); + var indentedOptions = GetJsonSerializerOptions(SerializationFormatting.Indented); - if (includeDefaultConverters) + if (!ElasticsearchClient.SettingsTable.TryGetValue(options, out _)) { - foreach (var converter in DefaultBuiltInConverters) - { - options.Converters.Add(converter); - } + ElasticsearchClient.SettingsTable.Add(options, settings); } - return options; + if (!ElasticsearchClient.SettingsTable.TryGetValue(indentedOptions, out _)) + { + ElasticsearchClient.SettingsTable.Add(indentedOptions, settings); + } } +} +/// +/// The options-provider for the built-in . +/// +public class DefaultSourceSerializerOptionsProvider : + TransportSerializerOptionsProvider +{ /// - /// A helper method which applies the default converters for the built in source serializer to an - /// existing instance. + /// Returns an array of the built-in s that are used registered with the source serializer by default. /// - /// The instance to which to append the default - /// built in s. - /// The instance that was provided as an argument. - public static JsonSerializerOptions AddDefaultConverters(JsonSerializerOptions options) + private static JsonConverter[] DefaultBuiltInConverters => + [ + new JsonStringEnumConverter(), + new DoubleWithFractionalPortionConverter(), + new SingleWithFractionalPortionConverter() + ]; + + public DefaultSourceSerializerOptionsProvider(Action? configureOptions = null) : + base(DefaultBuiltInConverters, null, options => MutateOptions(options, configureOptions)) { - foreach (var converter in DefaultBuiltInConverters) - { - options.Converters.Add(converter); - } + } - return options; + public DefaultSourceSerializerOptionsProvider(bool registerDefaultConverters = true, Action? configureOptions = null) : + base(registerDefaultConverters ? DefaultBuiltInConverters : [], null, options => MutateOptions(options, configureOptions)) + { } - protected sealed override JsonSerializerOptions CreateJsonSerializerOptions() => _jsonSerializerOptions; + private static void MutateOptions(JsonSerializerOptions options, Action? configureOptions) + { + options.DefaultIgnoreCondition = JsonIgnoreCondition.WhenWritingNull; + options.PropertyNamingPolicy = JsonNamingPolicy.CamelCase; + + // For numerically mapped fields, it is possible for values in the source to be returned as strings, if they were indexed as such. + options.NumberHandling = JsonNumberHandling.AllowReadingFromString; + + configureOptions?.Invoke(options); + } } diff --git a/src/Elastic.Clients.Elasticsearch/_Shared/Serialization/SerializerExtensions.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Serialization/SerializerExtensions.cs deleted file mode 100644 index 8f756b29363..00000000000 --- a/src/Elastic.Clients.Elasticsearch/_Shared/Serialization/SerializerExtensions.cs +++ /dev/null @@ -1,27 +0,0 @@ -// 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. - -using System.Text.Json; -using Elastic.Transport; - -#if ELASTICSEARCH_SERVERLESS -namespace Elastic.Clients.Elasticsearch.Serverless.Serialization; -#else -namespace Elastic.Clients.Elasticsearch.Serialization; -#endif - -internal static class SerializerExtensions -{ - public static bool TryGetJsonSerializerOptions(this Serializer serializer, out JsonSerializerOptions? options) - { - if (serializer is DefaultRequestResponseSerializer defaultSerializer) - { - options = defaultSerializer.Options; - return true; - } - - options = null; - return false; - } -} diff --git a/src/Elastic.Clients.Elasticsearch/_Shared/Serialization/SourceConverter.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Serialization/SourceConverter.cs index 527210510c9..6c1e0295cd5 100644 --- a/src/Elastic.Clients.Elasticsearch/_Shared/Serialization/SourceConverter.cs +++ b/src/Elastic.Clients.Elasticsearch/_Shared/Serialization/SourceConverter.cs @@ -12,6 +12,8 @@ namespace Elastic.Clients.Elasticsearch.Serverless.Serialization; namespace Elastic.Clients.Elasticsearch.Serialization; #endif +using Elastic.Transport.Extensions; + internal sealed class SourceConverter : JsonConverter> { private readonly IElasticsearchClientSettings _settings; @@ -20,8 +22,8 @@ internal sealed class SourceConverter : JsonConverter> public override SourceMarker? Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) => new() { - Source = SourceSerialization.Deserialize(ref reader, _settings) + Source = _settings.SourceSerializer.Deserialize(ref reader, null) }; - public override void Write(Utf8JsonWriter writer, SourceMarker value, JsonSerializerOptions options) => SourceSerialization.Serialize(value.Source, writer, _settings); + public override void Write(Utf8JsonWriter writer, SourceMarker value, JsonSerializerOptions options) => _settings.SourceSerializer.Serialize(value.Source, writer, null); } diff --git a/src/Elastic.Clients.Elasticsearch/_Shared/Serialization/SourceSerialization.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Serialization/SourceSerialization.cs deleted file mode 100644 index 78fcc25dd98..00000000000 --- a/src/Elastic.Clients.Elasticsearch/_Shared/Serialization/SourceSerialization.cs +++ /dev/null @@ -1,127 +0,0 @@ -// 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. - -using System; -using System.IO; -using System.Text.Json; -using Elastic.Transport; - -#if ELASTICSEARCH_SERVERLESS -namespace Elastic.Clients.Elasticsearch.Serverless.Serialization; -#else -namespace Elastic.Clients.Elasticsearch.Serialization; -#endif - -/// -/// May be used by requests that need to serialize only part of their source rather than the request object itself. -/// -internal static class SourceSerialization -{ - public static void SerializeParams(T toSerialize, Utf8JsonWriter writer, IElasticsearchClientSettings settings) - { - if (settings.Experimental.UseSourceSerializerForScriptParameters) - { - Serialize(toSerialize, writer, settings); - return; - } - - _ = settings.RequestResponseSerializer.TryGetJsonSerializerOptions(out var options); - JsonSerializer.Serialize(writer, toSerialize, options); - } - - public static T DeserializeParams(ref Utf8JsonReader reader, IElasticsearchClientSettings settings) - { - if (settings.Experimental.UseSourceSerializerForScriptParameters) - { - var result = Deserialize(ref reader, settings); - return result; - } - - _ = settings.RequestResponseSerializer.TryGetJsonSerializerOptions(out var options); - return JsonSerializer.Deserialize(ref reader, options); - } - - public static void Serialize(T toSerialize, Utf8JsonWriter writer, IElasticsearchClientSettings settings) => - Serialize(toSerialize, writer, settings.SourceSerializer); - - public static void Serialize(object toSerialize, Type type, Utf8JsonWriter writer, IElasticsearchClientSettings settings) => - Serialize(toSerialize, type, writer, settings.SourceSerializer); - - public static void Serialize(T toSerialize, Utf8JsonWriter writer, Serializer sourceSerializer) - { - if (sourceSerializer is DefaultSourceSerializer defaultSerializer) - { - // When the serializer is our own, which uses STJ we can avoid unnecessary allocations and serialize straight into the writer - // In most cases this is not the case as it's wrapped in the DiagnosticsSerializerProxy - // Ideally, we'd short-circuit here if we know there are no listeners or avoid wrapping the default source serializer. - JsonSerializer.Serialize(writer, toSerialize, defaultSerializer.Options); - return; - } - - // We may be using a custom serializer or most likely, we're registered via DiagnosticsSerializerProxy - // We cannot use STJ since the implementation may use another serializer. - // This path is a little less optimal - using var ms = new MemoryStream(); - sourceSerializer.Serialize(toSerialize, ms); - ms.Position = 0; -#if NET6_0_OR_GREATER - writer.WriteRawValue(ms.GetBuffer().AsSpan()[..(int)ms.Length], true); -#else - // This is not super efficient but a variant on the suggestion at https://github.com/dotnet/runtime/issues/1784#issuecomment-608331125 - using var document = JsonDocument.Parse(ms); - document.RootElement.WriteTo(writer); -#endif - } - - public static void Serialize(object toSerialize, Type type, Utf8JsonWriter writer, Serializer sourceSerializer) - { - if (sourceSerializer is DefaultSourceSerializer defaultSerializer) - { - // When the serializer is our own, which uses STJ we can avoid unnecessary allocations and serialize straight into the writer - // In most cases this is not the case as it's wrapped in the DiagnosticsSerializerProxy - // Ideally, we'd short-circuit here if we know there are no listeners or avoid wrapping the default source serializer. - JsonSerializer.Serialize(writer, toSerialize, type, defaultSerializer.Options); - return; - } - - // We may be using a custom serializer or most likely, we're registered via DiagnosticsSerializerProxy - // We cannot use STJ since the implementation may use another serializer. - // This path is a little less optimal - using var ms = new MemoryStream(); - sourceSerializer.Serialize(toSerialize, ms); - ms.Position = 0; -#if NET6_0_OR_GREATER - writer.WriteRawValue(ms.GetBuffer().AsSpan()[..(int)ms.Length], true); -#else - // This is not super efficient but a variant on the suggestion at https://github.com/dotnet/runtime/issues/1784#issuecomment-608331125 - using var document = JsonDocument.Parse(ms); - document.RootElement.WriteTo(writer); -#endif - } - - public static T Deserialize(ref Utf8JsonReader reader, IElasticsearchClientSettings settings) - { - var sourceSerializer = settings.SourceSerializer; - - if (sourceSerializer is DefaultSourceSerializer defaultSerializer) - { - // When the serializer is our own which uses STJ we can avoid unnecessary allocations and serialize straight into the writer - return JsonSerializer.Deserialize(ref reader, defaultSerializer.Options); - } - else - { - // TODO: This allocates more than we'd like. Review this post alpha - - using var jsonDoc = JsonSerializer.Deserialize(ref reader); - using var stream = settings.MemoryStreamFactory.Create(); - - var writer = new Utf8JsonWriter(stream); - jsonDoc.WriteTo(writer); - writer.Flush(); - stream.Position = 0; - - return sourceSerializer.Deserialize(stream); - } - } -} diff --git a/src/Elastic.Clients.Elasticsearch/_Shared/Serialization/SystemTextJsonSerializer.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Serialization/SystemTextJsonSerializer.cs deleted file mode 100644 index 5397867e0a7..00000000000 --- a/src/Elastic.Clients.Elasticsearch/_Shared/Serialization/SystemTextJsonSerializer.cs +++ /dev/null @@ -1,164 +0,0 @@ -// 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. - -using System; -using System.IO; -using System.Text.Json; -using System.Threading; -using System.Threading.Tasks; -using Elastic.Transport; - -#if ELASTICSEARCH_SERVERLESS -namespace Elastic.Clients.Elasticsearch.Serverless.Serialization; -#else -namespace Elastic.Clients.Elasticsearch.Serialization; -#endif - -/// -/// An abstract implementation of the transport which serializes -/// using the Microsoft System.Text.Json library. -/// -/// This serializer is aware and able to register its -/// in such a way that built in converters for types defined in -/// Elastic.Clients.Elasticsearch can access those settings during serialization. -/// -/// -public abstract class SystemTextJsonSerializer : Serializer -{ - private bool _initialized; - - /// - /// Initializes a new instance of the class, linked to an - /// instance of . - /// - /// An instance to which this - /// serializers will be linked. - /// is null - public SystemTextJsonSerializer(IElasticsearchClientSettings settings) - { - if (settings is null) - throw new ArgumentNullException(nameof(settings)); - - Settings = settings; - } - - internal JsonSerializerOptions? Options { get; private set; } - - internal JsonSerializerOptions? IndentedOptions { get; private set; } - - /// - /// Provides access to the instance to which this - /// serializers are be linked. - /// - protected IElasticsearchClientSettings Settings { get; } - - /// - /// A factory method that can create an instance of that will - /// be used when serializing. - /// - /// - protected abstract JsonSerializerOptions? CreateJsonSerializerOptions(); - - /// - public override T Deserialize(Stream stream) - { - Initialize(); - - if (TryReturnDefault(stream, out T deserialize)) - return deserialize; - - return JsonSerializer.Deserialize(stream, Options); - } - - /// - public override object? Deserialize(Type type, Stream stream) - { - Initialize(); - - if (TryReturnDefault(stream, out object deserialize)) - return deserialize; - - return JsonSerializer.Deserialize(stream, type, Options); - } - - /// - public override ValueTask DeserializeAsync(Stream stream, CancellationToken cancellationToken = default) - { - Initialize(); - return JsonSerializer.DeserializeAsync(stream, Options, cancellationToken); - } - - /// - public override ValueTask DeserializeAsync(Type type, Stream stream, CancellationToken cancellationToken = default) - { - Initialize(); - return JsonSerializer.DeserializeAsync(stream, type, Options, cancellationToken); - } - - /// - public override void Serialize(T data, Stream writableStream, - SerializationFormatting formatting = SerializationFormatting.None) - { - Initialize(); - JsonSerializer.Serialize(writableStream, data, formatting == SerializationFormatting.Indented && IndentedOptions is not null ? IndentedOptions : Options); - } - - /// - public override Task SerializeAsync(T data, Stream stream, - SerializationFormatting formatting = SerializationFormatting.None, - CancellationToken cancellationToken = default) - { - Initialize(); - return JsonSerializer.SerializeAsync(stream, data, formatting == SerializationFormatting.Indented && IndentedOptions is not null ? IndentedOptions : Options, cancellationToken); - } - - private static bool TryReturnDefault(Stream stream, out T deserialize) - { - deserialize = default; - return stream is null || stream == Stream.Null || (stream.CanSeek && stream.Length == 0); - } - - /// - /// Initializes a serializer instance such that its - /// are populated and linked to the . - /// - protected void Initialize() - { - if (_initialized) - return; - - var options = CreateJsonSerializerOptions(); - - if (options is null) - { - Options = new JsonSerializerOptions(); - IndentedOptions = new JsonSerializerOptions { WriteIndented = true }; - } - else - { - Options = options; - IndentedOptions = new JsonSerializerOptions(options) - { - WriteIndented = true - }; - } - - LinkOptionsAndSettings(); - - _initialized = true; - } - - private void LinkOptionsAndSettings() - { - if (!ElasticsearchClient.SettingsTable.TryGetValue(Options!, out _)) - { - ElasticsearchClient.SettingsTable.Add(Options, Settings); - } - - if (!ElasticsearchClient.SettingsTable.TryGetValue(IndentedOptions!, out _)) - { - ElasticsearchClient.SettingsTable.Add(IndentedOptions, Settings); - } - } -} diff --git a/src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/Bulk/BulkCreateOperation.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/Bulk/BulkCreateOperation.cs index f04ffd238e4..f9674169a14 100644 --- a/src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/Bulk/BulkCreateOperation.cs +++ b/src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/Bulk/BulkCreateOperation.cs @@ -8,6 +8,7 @@ using System.Text.Json; using System.Text.Json.Serialization; using System.Threading.Tasks; +using Elastic.Transport.Extensions; #if ELASTICSEARCH_SERVERLESS using Elastic.Clients.Elasticsearch.Serverless.Serialization; #else @@ -129,8 +130,7 @@ private void SerializeOperationAction(IElasticsearchClientSettings settings, Utf var requestResponseSerializer = settings.RequestResponseSerializer; writer.WriteStartObject(); writer.WritePropertyName(Operation); - requestResponseSerializer.TryGetJsonSerializerOptions(out var options); - JsonSerializer.Serialize>(writer, this, options); + requestResponseSerializer.Serialize(this, writer, settings.MemoryStreamFactory); writer.WriteEndObject(); } } diff --git a/src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/Bulk/BulkCreateOperationDescriptor.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/Bulk/BulkCreateOperationDescriptor.cs index 16a1bb4e31b..e5de624043c 100644 --- a/src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/Bulk/BulkCreateOperationDescriptor.cs +++ b/src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/Bulk/BulkCreateOperationDescriptor.cs @@ -19,6 +19,7 @@ using Elastic.Clients.Elasticsearch.Serialization; #endif using Elastic.Transport; +using Elastic.Transport.Extensions; #if ELASTICSEARCH_SERVERLESS namespace Elastic.Clients.Elasticsearch.Serverless.Core.Bulk; @@ -53,12 +54,11 @@ protected override void Serialize(Stream stream, IElasticsearchClientSettings se var internalWriter = new Utf8JsonWriter(stream); internalWriter.WriteStartObject(); internalWriter.WritePropertyName(Operation); - requestResponseSerializer.TryGetJsonSerializerOptions(out var options); - JsonSerializer.Serialize>(internalWriter, this, options); + requestResponseSerializer.Serialize(this, internalWriter, settings.MemoryStreamFactory, formatting); internalWriter.WriteEndObject(); internalWriter.Flush(); stream.WriteByte(_newline); - settings.SourceSerializer.Serialize(GetBody(), stream); + settings.SourceSerializer.Serialize(GetBody(), stream, formatting); } protected override async Task SerializeAsync(Stream stream, IElasticsearchClientSettings settings, SerializationFormatting formatting, CancellationToken cancellationToken = default) @@ -67,12 +67,11 @@ protected override async Task SerializeAsync(Stream stream, IElasticsearchClient var internalWriter = new Utf8JsonWriter(stream); internalWriter.WriteStartObject(); internalWriter.WritePropertyName(Operation); - requestResponseSerializer.TryGetJsonSerializerOptions(out var options); - JsonSerializer.Serialize>(internalWriter, this, options); + requestResponseSerializer.Serialize(this, internalWriter, settings.MemoryStreamFactory, formatting); internalWriter.WriteEndObject(); - await internalWriter.FlushAsync().ConfigureAwait(false); + await internalWriter.FlushAsync(cancellationToken).ConfigureAwait(false); stream.WriteByte(_newline); - await settings.SourceSerializer.SerializeAsync(GetBody(), stream).ConfigureAwait(false); + await settings.SourceSerializer.SerializeAsync(GetBody(), stream, formatting, cancellationToken).ConfigureAwait(false); } protected override void SerializeInternal(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) diff --git a/src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/Bulk/BulkDeleteOperation.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/Bulk/BulkDeleteOperation.cs index 6e91d811f93..92b16d6099d 100644 --- a/src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/Bulk/BulkDeleteOperation.cs +++ b/src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/Bulk/BulkDeleteOperation.cs @@ -7,6 +7,7 @@ using System.Text.Json; using System.Text.Json.Serialization; using System.Threading.Tasks; +using Elastic.Transport.Extensions; #if ELASTICSEARCH_SERVERLESS using Elastic.Clients.Elasticsearch.Serverless.Serialization; #else @@ -51,8 +52,7 @@ private void SerializeInternal(IElasticsearchClientSettings settings, Utf8JsonWr var requestResponseSerializer = settings.RequestResponseSerializer; writer.WriteStartObject(); writer.WritePropertyName(Operation); - requestResponseSerializer.TryGetJsonSerializerOptions(out var options); - JsonSerializer.Serialize(writer, this, options); + requestResponseSerializer.Serialize(this, writer, settings.MemoryStreamFactory); writer.WriteEndObject(); } diff --git a/src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/Bulk/BulkDeleteOperationDescriptor.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/Bulk/BulkDeleteOperationDescriptor.cs index 8ad8e2a4ba0..63ce144185d 100644 --- a/src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/Bulk/BulkDeleteOperationDescriptor.cs +++ b/src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/Bulk/BulkDeleteOperationDescriptor.cs @@ -13,6 +13,7 @@ using Elastic.Clients.Elasticsearch.Serialization; #endif using Elastic.Transport; +using Elastic.Transport.Extensions; #if ELASTICSEARCH_SERVERLESS namespace Elastic.Clients.Elasticsearch.Serverless.Core.Bulk; @@ -38,8 +39,7 @@ protected override void Serialize(Stream stream, IElasticsearchClientSettings se var internalWriter = new Utf8JsonWriter(stream); internalWriter.WriteStartObject(); internalWriter.WritePropertyName(Operation); - requestResponseSerializer.TryGetJsonSerializerOptions(out var options); - JsonSerializer.Serialize(internalWriter, this, options); + requestResponseSerializer.Serialize(this, internalWriter, settings.MemoryStreamFactory, formatting); internalWriter.WriteEndObject(); internalWriter.Flush(); } @@ -50,10 +50,9 @@ protected override async Task SerializeAsync(Stream stream, IElasticsearchClient var internalWriter = new Utf8JsonWriter(stream); internalWriter.WriteStartObject(); internalWriter.WritePropertyName(Operation); - requestResponseSerializer.TryGetJsonSerializerOptions(out var options); - JsonSerializer.Serialize(internalWriter, this, options); + requestResponseSerializer.Serialize(this, internalWriter, settings.MemoryStreamFactory, formatting); internalWriter.WriteEndObject(); - await internalWriter.FlushAsync().ConfigureAwait(false); + await internalWriter.FlushAsync(cancellationToken).ConfigureAwait(false); } protected override void SerializeInternal(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) diff --git a/src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/Bulk/BulkIndexOperation.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/Bulk/BulkIndexOperation.cs index 799138d6597..c71cf41949a 100644 --- a/src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/Bulk/BulkIndexOperation.cs +++ b/src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/Bulk/BulkIndexOperation.cs @@ -8,6 +8,7 @@ using System.Text.Json; using System.Text.Json.Serialization; using System.Threading.Tasks; +using Elastic.Transport.Extensions; #if ELASTICSEARCH_SERVERLESS using Elastic.Clients.Elasticsearch.Serverless.Serialization; #else @@ -112,8 +113,7 @@ private void SerializeOperationAction(Utf8JsonWriter writer, IElasticsearchClien writer.WriteStartObject(); writer.WritePropertyName(Operation); - requestResponseSerializer.TryGetJsonSerializerOptions(out var options); - JsonSerializer.Serialize>(writer, this, options); + requestResponseSerializer.Serialize(this, writer); writer.WriteEndObject(); } } diff --git a/src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/Bulk/BulkIndexOperationDescriptor.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/Bulk/BulkIndexOperationDescriptor.cs index df959ebbec7..a59188d75c0 100644 --- a/src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/Bulk/BulkIndexOperationDescriptor.cs +++ b/src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/Bulk/BulkIndexOperationDescriptor.cs @@ -19,6 +19,7 @@ using Elastic.Clients.Elasticsearch.Serialization; #endif using Elastic.Transport; +using Elastic.Transport.Extensions; #if ELASTICSEARCH_SERVERLESS namespace Elastic.Clients.Elasticsearch.Serverless.Core.Bulk; @@ -56,8 +57,7 @@ protected override void Serialize(Stream stream, IElasticsearchClientSettings se var internalWriter = new Utf8JsonWriter(stream); internalWriter.WriteStartObject(); internalWriter.WritePropertyName(Operation); - requestResponseSerializer.TryGetJsonSerializerOptions(out var options); - JsonSerializer.Serialize>(internalWriter, this, options); + requestResponseSerializer.Serialize(this, internalWriter, settings.MemoryStreamFactory); internalWriter.WriteEndObject(); internalWriter.Flush(); stream.WriteByte(_newline); @@ -70,12 +70,11 @@ protected override async Task SerializeAsync(Stream stream, IElasticsearchClient var internalWriter = new Utf8JsonWriter(stream); internalWriter.WriteStartObject(); internalWriter.WritePropertyName(Operation); - requestResponseSerializer.TryGetJsonSerializerOptions(out var options); - JsonSerializer.Serialize>(internalWriter, this, options); + requestResponseSerializer.Serialize(this, internalWriter, settings.MemoryStreamFactory); internalWriter.WriteEndObject(); - await internalWriter.FlushAsync().ConfigureAwait(false); + await internalWriter.FlushAsync(cancellationToken).ConfigureAwait(false); stream.WriteByte(_newline); - await settings.SourceSerializer.SerializeAsync(_document, stream).ConfigureAwait(false); + await settings.SourceSerializer.SerializeAsync(_document, stream, formatting, cancellationToken).ConfigureAwait(false); } protected override void SerializeInternal(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) diff --git a/src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/Bulk/BulkUpdateBody.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/Bulk/BulkUpdateBody.cs index 0fca0d084c9..a4804b1b425 100644 --- a/src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/Bulk/BulkUpdateBody.cs +++ b/src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/Bulk/BulkUpdateBody.cs @@ -3,6 +3,7 @@ // See the LICENSE file in the project root for more information. using System.Text.Json; +using Elastic.Transport.Extensions; #if ELASTICSEARCH_SERVERLESS using Elastic.Clients.Elasticsearch.Serverless.Core.Search; #else @@ -69,7 +70,7 @@ protected override void SerializeProperties(Utf8JsonWriter writer, JsonSerialize if (PartialUpdate is not null) { writer.WritePropertyName("doc"); - SourceSerialization.Serialize(PartialUpdate, writer, settings.SourceSerializer); + settings.SourceSerializer.Serialize(PartialUpdate, writer); } if (Script is not null) @@ -93,7 +94,7 @@ protected override void SerializeProperties(Utf8JsonWriter writer, JsonSerialize if (Upsert is not null) { writer.WritePropertyName("upsert"); - SourceSerialization.Serialize(Upsert, writer, settings.SourceSerializer); + settings.SourceSerializer.Serialize(Upsert, writer, null); } if (Source is not null) diff --git a/src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/Bulk/BulkUpdateOperation.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/Bulk/BulkUpdateOperation.cs index a36d9bb0c6c..1ddc44f3c4e 100644 --- a/src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/Bulk/BulkUpdateOperation.cs +++ b/src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/Bulk/BulkUpdateOperation.cs @@ -13,6 +13,7 @@ using Elastic.Clients.Elasticsearch.Serialization; #endif using Elastic.Transport; +using Elastic.Transport.Extensions; #if ELASTICSEARCH_SERVERLESS namespace Elastic.Clients.Elasticsearch.Serverless.Core.Bulk; diff --git a/src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/Bulk/BulkUpdateOperationDescriptor.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/Bulk/BulkUpdateOperationDescriptor.cs index 4a9e679db13..9b18c46939f 100644 --- a/src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/Bulk/BulkUpdateOperationDescriptor.cs +++ b/src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/Bulk/BulkUpdateOperationDescriptor.cs @@ -9,6 +9,7 @@ using System.Threading; using System.Threading.Tasks; using Elastic.Transport; +using Elastic.Transport.Extensions; #if ELASTICSEARCH_SERVERLESS using Elastic.Clients.Elasticsearch.Serverless.Core.Search; #else @@ -151,7 +152,7 @@ private void WriteBody(IElasticsearchClientSettings settings, Utf8JsonWriter wri if (_document is not null) { writer.WritePropertyName("doc"); - SourceSerialization.Serialize(_document, writer, settings.SourceSerializer); + settings.SourceSerializer.Serialize(_document, writer, null); } if (_scriptedUpsert.HasValue) @@ -169,7 +170,7 @@ private void WriteBody(IElasticsearchClientSettings settings, Utf8JsonWriter wri if (_upsert is not null) { writer.WritePropertyName("upsert"); - SourceSerialization.Serialize(_upsert, writer, settings.SourceSerializer); + settings.SourceSerializer.Serialize(_upsert, writer, null); } if (_source is not null) diff --git a/src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/Bulk/PartialBulkUpdateBody.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/Bulk/PartialBulkUpdateBody.cs index 0be20a6f539..62d1f378193 100644 --- a/src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/Bulk/PartialBulkUpdateBody.cs +++ b/src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/Bulk/PartialBulkUpdateBody.cs @@ -3,6 +3,7 @@ // See the LICENSE file in the project root for more information. using System.Text.Json; +using Elastic.Transport.Extensions; #if ELASTICSEARCH_SERVERLESS using Elastic.Clients.Elasticsearch.Serverless.Serialization; #else @@ -32,7 +33,7 @@ protected override void SerializeProperties(Utf8JsonWriter writer, JsonSerialize if (PartialUpdate is not null) { writer.WritePropertyName("doc"); - SourceSerialization.Serialize(PartialUpdate, writer, settings.SourceSerializer); + settings.SourceSerializer.Serialize(PartialUpdate, writer, null); } } } diff --git a/src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/Bulk/ScriptedBulkUpdateBody.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/Bulk/ScriptedBulkUpdateBody.cs index 2e25090e4fa..08200fe989b 100644 --- a/src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/Bulk/ScriptedBulkUpdateBody.cs +++ b/src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/Bulk/ScriptedBulkUpdateBody.cs @@ -3,6 +3,7 @@ // See the LICENSE file in the project root for more information. using System.Text.Json; +using Elastic.Transport.Extensions; #if ELASTICSEARCH_SERVERLESS using Elastic.Clients.Elasticsearch.Serverless.Serialization; #else @@ -44,7 +45,7 @@ protected override void SerializeProperties(Utf8JsonWriter writer, JsonSerialize if (Upsert is not null) { writer.WritePropertyName("upsert"); - SourceSerialization.Serialize(Upsert, writer, settings.SourceSerializer); + settings.SourceSerializer.Serialize(Upsert, writer, null); } } } diff --git a/src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/MSearch/SearchRequestItem.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/MSearch/SearchRequestItem.cs index cf344602f0e..f3e0d25d78d 100644 --- a/src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/MSearch/SearchRequestItem.cs +++ b/src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/MSearch/SearchRequestItem.cs @@ -11,6 +11,7 @@ using Elastic.Clients.Elasticsearch.Serialization; #endif using Elastic.Transport; +using Elastic.Transport.Extensions; #if ELASTICSEARCH_SERVERLESS namespace Elastic.Clients.Elasticsearch.Serverless.Core.MSearch; @@ -37,13 +38,10 @@ void IStreamSerializable.Serialize(Stream stream, IElasticsearchClientSettings s if (Body is null) return; - if (settings.RequestResponseSerializer.TryGetJsonSerializerOptions(out var options)) - { - JsonSerializer.Serialize(stream, Header, options); - stream.WriteByte((byte)'\n'); - JsonSerializer.Serialize(stream, Body, options); - stream.WriteByte((byte)'\n'); - } + settings.RequestResponseSerializer.Serialize(Header, stream, formatting); + stream.WriteByte((byte)'\n'); + settings.RequestResponseSerializer.Serialize(Body, stream, formatting); + stream.WriteByte((byte)'\n'); } async Task IStreamSerializable.SerializeAsync(Stream stream, IElasticsearchClientSettings settings, SerializationFormatting formatting) @@ -51,12 +49,9 @@ async Task IStreamSerializable.SerializeAsync(Stream stream, IElasticsearchClien if (Body is null) return; - if (settings.RequestResponseSerializer.TryGetJsonSerializerOptions(out var options)) - { - await JsonSerializer.SerializeAsync(stream, Header, options).ConfigureAwait(false); - stream.WriteByte((byte)'\n'); - await JsonSerializer.SerializeAsync(stream, Body, options).ConfigureAwait(false); - stream.WriteByte((byte)'\n'); - } + await settings.RequestResponseSerializer.SerializeAsync(Header, stream, formatting).ConfigureAwait(false); + stream.WriteByte((byte)'\n'); + await settings.RequestResponseSerializer.SerializeAsync(Body, stream, formatting).ConfigureAwait(false); + stream.WriteByte((byte)'\n'); } } diff --git a/src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/MSearchTemplate/SearchTemplateRequestItem.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/MSearchTemplate/SearchTemplateRequestItem.cs index 49f57a30683..c6790c7abb3 100644 --- a/src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/MSearchTemplate/SearchTemplateRequestItem.cs +++ b/src/Elastic.Clients.Elasticsearch/_Shared/Types/Core/MSearchTemplate/SearchTemplateRequestItem.cs @@ -16,6 +16,7 @@ using Elastic.Clients.Elasticsearch.Serialization; #endif using Elastic.Transport; +using Elastic.Transport.Extensions; #if ELASTICSEARCH_SERVERLESS namespace Elastic.Clients.Elasticsearch.Serverless.Core.MSearchTemplate; @@ -41,13 +42,10 @@ void IStreamSerializable.Serialize(Stream stream, IElasticsearchClientSettings s if (Body is null) return; - if (settings.RequestResponseSerializer.TryGetJsonSerializerOptions(out var options)) - { - JsonSerializer.Serialize(stream, Header, options); - stream.WriteByte((byte)'\n'); - JsonSerializer.Serialize(stream, Body, options); - stream.WriteByte((byte)'\n'); - } + settings.RequestResponseSerializer.Serialize(Header, stream, formatting); + stream.WriteByte((byte)'\n'); + settings.RequestResponseSerializer.Serialize(Body, stream, formatting); + stream.WriteByte((byte)'\n'); } async Task IStreamSerializable.SerializeAsync(Stream stream, IElasticsearchClientSettings settings, SerializationFormatting formatting) @@ -55,12 +53,9 @@ async Task IStreamSerializable.SerializeAsync(Stream stream, IElasticsearchClien if (Body is null) return; - if (settings.RequestResponseSerializer.TryGetJsonSerializerOptions(out var options)) - { - await JsonSerializer.SerializeAsync(stream, Header, options).ConfigureAwait(false); - stream.WriteByte((byte)'\n'); - await JsonSerializer.SerializeAsync(stream, Body, options).ConfigureAwait(false); - stream.WriteByte((byte)'\n'); - } + await settings.RequestResponseSerializer.SerializeAsync(Header, stream, formatting).ConfigureAwait(false); + stream.WriteByte((byte)'\n'); + await settings.RequestResponseSerializer.SerializeAsync(Body, stream, formatting).ConfigureAwait(false); + stream.WriteByte((byte)'\n'); } } diff --git a/src/Playground/Person.cs b/src/Playground/Person.cs index 538c23e0550..9fd093a4675 100644 --- a/src/Playground/Person.cs +++ b/src/Playground/Person.cs @@ -29,6 +29,8 @@ public class Person [DataMember(Name = "STEVE")] [IgnoreDataMember] public string Data { get; init; } = "NOTHING"; + + public DateTimeKind Enum { get; init; } } public class PersonV3 diff --git a/src/Playground/Playground.csproj b/src/Playground/Playground.csproj index 5ec71553f85..a2095681e91 100644 --- a/src/Playground/Playground.csproj +++ b/src/Playground/Playground.csproj @@ -10,7 +10,7 @@ - + diff --git a/tests/Tests/Tests.csproj b/tests/Tests/Tests.csproj index 15778c2dbf2..e764cc6a729 100644 --- a/tests/Tests/Tests.csproj +++ b/tests/Tests/Tests.csproj @@ -1,4 +1,4 @@ - + net6.0;net8.0 $(NoWarn);xUnit1013 @@ -10,7 +10,7 @@ - + From 7a9d63e6c864a2d8a3931a81275d761d3468ac75 Mon Sep 17 00:00:00 2001 From: Florian Bernd Date: Sat, 5 Oct 2024 12:40:20 +0200 Subject: [PATCH 13/25] Add more examples to the documentation (#8374) --- docs/index.asciidoc | 2 +- docs/usage/aggregations.asciidoc | 131 +++++++++++++++++++++++++++++++ docs/usage/index.asciidoc | 3 + docs/usage/mappings.asciidoc | 34 ++++++++ docs/usage/query.asciidoc | 50 ++++++++++++ 5 files changed, 219 insertions(+), 1 deletion(-) create mode 100644 docs/usage/aggregations.asciidoc create mode 100644 docs/usage/mappings.asciidoc create mode 100644 docs/usage/query.asciidoc diff --git a/docs/index.asciidoc b/docs/index.asciidoc index 59a48269c40..b1202f34de2 100644 --- a/docs/index.asciidoc +++ b/docs/index.asciidoc @@ -6,7 +6,7 @@ include::{asciidoc-dir}/../../shared/attributes.asciidoc[] :doc-tests-src: {docdir}/../tests/Tests/Documentation :net-client: Elasticsearch .NET Client -:latest-version: 8.1.0 +:latest-version: 8.15.8 :es-docs: https://www.elastic.co/guide/en/elasticsearch/reference/{branch} diff --git a/docs/usage/aggregations.asciidoc b/docs/usage/aggregations.asciidoc new file mode 100644 index 00000000000..1f159763aaa --- /dev/null +++ b/docs/usage/aggregations.asciidoc @@ -0,0 +1,131 @@ +[[aggregations]] +== Aggregation examples + +This page demonstrates how to use aggregations. + +[discrete] +=== Top-level aggreggation + +[discrete] +==== Fluent API + +[source,csharp] +---- +var response = await client + .SearchAsync(search => search + .Index("persons") + .Query(query => query + .MatchAll(_ => {}) + ) + .Aggregations(aggregations => aggregations + .Add("agg_name", aggregation => aggregation + .Max(max => max + .Field(x => x.Age) + ) + ) + ) + .Size(10) + ); +---- + +[discrete] +==== Object initializer API + +[source,csharp] +---- +var response = await client.SearchAsync(new SearchRequest("persons") +{ + Query = Query.MatchAll(new MatchAllQuery()), + Aggregations = new Dictionary + { + { "agg_name", Aggregation.Max(new MaxAggregation + { + Field = Infer.Field(x => x.Age) + })} + }, + Size = 10 +}); +---- + +[discrete] +==== Consume the response + +[source,csharp] +---- +var max = response.Aggregations!.GetMax("agg_name")!; +Console.WriteLine(max.Value); +---- + +[discrete] +=== Sub-aggregation + +[discrete] +==== Fluent API + +[source,csharp] +---- +var response = await client + .SearchAsync(search => search + .Index("persons") + .Query(query => query + .MatchAll(_ => {}) + ) + .Aggregations(aggregations => aggregations + .Add("firstnames", aggregation => aggregation + .Terms(terms => terms + .Field(x => x.FirstName) + ) + .Aggregations(aggregations => aggregations + .Add("avg_age", aggregation => aggregation + .Max(avg => avg + .Field(x => x.Age) + ) + ) + ) + ) + ) + .Size(10) + ); +---- + +[discrete] +==== Object initializer API + +[source,csharp] +---- +var topLevelAggregation = Aggregation.Terms(new TermsAggregation +{ + Field = Infer.Field(x => x.FirstName) +}); + +topLevelAggregation.Aggregations = new Dictionary +{ + { "avg_age", new MaxAggregation + { + Field = Infer.Field(x => x.Age) + }} +}; + +var response = await client.SearchAsync(new SearchRequest("persons") +{ + Query = Query.MatchAll(new MatchAllQuery()), + Aggregations = new Dictionary + { + { "firstnames", topLevelAggregation} + }, + Size = 10 +}); +---- + +[discrete] +==== Consume the response + +[source,csharp] +---- +var firstnames = response.Aggregations!.GetStringTerms("firstnames")!; +foreach (var bucket in firstnames.Buckets) +{ + var avg = bucket.Aggregations.GetAverage("avg_age")!; + Console.WriteLine($"The average age for persons named '{bucket.Key}' is {avg}"); +} +---- diff --git a/docs/usage/index.asciidoc b/docs/usage/index.asciidoc index 1d5aa7e086b..c6ae095064a 100644 --- a/docs/usage/index.asciidoc +++ b/docs/usage/index.asciidoc @@ -16,4 +16,7 @@ NOTE: This is still a work in progress, more sections will be added in the near include::recommendations.asciidoc[] include::examples.asciidoc[] +include::query.asciidoc[] +include::mappings.asciidoc[] +include::aggregations.asciidoc[] include::esql.asciidoc[] \ No newline at end of file diff --git a/docs/usage/mappings.asciidoc b/docs/usage/mappings.asciidoc new file mode 100644 index 00000000000..13d62f63147 --- /dev/null +++ b/docs/usage/mappings.asciidoc @@ -0,0 +1,34 @@ +[[mappings]] +== Custom mapping examples + +This page demonstrates how to configure custom mappings on an index. + +[discrete] +=== Configure mappings during index creation + +[source,csharp] +---- +await client.Indices.CreateAsync(index => index + .Index("index") + .Mappings(mappings => mappings + .Properties(properties => properties + .IntegerNumber(x => x.Age!) + .Keyword(x => x.FirstName!, keyword => keyword.Index(false)) + ) + ) +); +---- + +[discrete] +=== Configure mappings after index creation + +[source,csharp] +---- +await client.Indices.PutMappingAsync(mappings => mappings + .Indices("index") + .Properties(properties => properties + .IntegerNumber(x => x.Age!) + .Keyword(x => x.FirstName!, keyword => keyword.Index(false)) + ) +); +---- diff --git a/docs/usage/query.asciidoc b/docs/usage/query.asciidoc new file mode 100644 index 00000000000..b365825cdbd --- /dev/null +++ b/docs/usage/query.asciidoc @@ -0,0 +1,50 @@ +[[query]] +== Query examples + +This page demonstrates how to perform a search request. + +[discrete] +=== Fluent API + +[source,csharp] +---- +var response = await client + .SearchAsync(search => search + .Index("persons") + .Query(query => query + .Term(term => term + .Field(x => x.FirstName) + .Value("Florian") + ) + ) + .Size(10) + ); +---- + +[discrete] +=== Object initializer API + +[source,csharp] +---- +var response = await client + .SearchAsync(new SearchRequest("persons") + { + Query = Query.Term(new TermQuery(Infer.Field(x => x.FirstName)) + { + Value = "Florian" + }), + Size = 10 + }); +---- + + +[discrete] +=== Consume the response + +[source,csharp] +---- +foreach (var person in response.Documents) +{ + Console.WriteLine(person.FirstName); +} +---- From a557379ebaab03a912a80e09729b60c16ceed31d Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 14 Nov 2024 16:49:42 +0100 Subject: [PATCH 14/25] Update TFMs (#8402) (#8404) Co-authored-by: Florian Bernd --- benchmarks/Benchmarks/Benchmarks.csproj | 2 +- benchmarks/Profiling/Profiling.csproj | 2 +- .../Elastic.Clients.Elasticsearch.JsonNetSerializer.csproj | 2 +- .../Elastic.Clients.Elasticsearch.Serverless.csproj | 2 +- .../Elastic.Clients.Elasticsearch.csproj | 2 +- tests/Tests.ClusterLauncher/Tests.ClusterLauncher.csproj | 2 +- tests/Tests/Tests.csproj | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/benchmarks/Benchmarks/Benchmarks.csproj b/benchmarks/Benchmarks/Benchmarks.csproj index c0d9345a5d7..00e4ad09fd9 100644 --- a/benchmarks/Benchmarks/Benchmarks.csproj +++ b/benchmarks/Benchmarks/Benchmarks.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 enable enable True diff --git a/benchmarks/Profiling/Profiling.csproj b/benchmarks/Profiling/Profiling.csproj index 876544fa764..e591f4ab2c7 100644 --- a/benchmarks/Profiling/Profiling.csproj +++ b/benchmarks/Profiling/Profiling.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 enable diff --git a/src/Elastic.Clients.Elasticsearch.JsonNetSerializer/Elastic.Clients.Elasticsearch.JsonNetSerializer.csproj b/src/Elastic.Clients.Elasticsearch.JsonNetSerializer/Elastic.Clients.Elasticsearch.JsonNetSerializer.csproj index 15603cdefd1..5dcb5ab51b3 100644 --- a/src/Elastic.Clients.Elasticsearch.JsonNetSerializer/Elastic.Clients.Elasticsearch.JsonNetSerializer.csproj +++ b/src/Elastic.Clients.Elasticsearch.JsonNetSerializer/Elastic.Clients.Elasticsearch.JsonNetSerializer.csproj @@ -10,7 +10,7 @@ true true - netstandard2.0;net462;netstandard2.1;net6.0;net8.0 + netstandard2.0;net462;netstandard2.1;net8.0 diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/Elastic.Clients.Elasticsearch.Serverless.csproj b/src/Elastic.Clients.Elasticsearch.Serverless/Elastic.Clients.Elasticsearch.Serverless.csproj index 4e00bb4e38c..61cf6a25d43 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/Elastic.Clients.Elasticsearch.Serverless.csproj +++ b/src/Elastic.Clients.Elasticsearch.Serverless/Elastic.Clients.Elasticsearch.Serverless.csproj @@ -15,7 +15,7 @@ true true - netstandard2.0;net462;netstandard2.1;net6.0;net8.0 + netstandard2.0;net462;netstandard2.1;net8.0 true true annotations diff --git a/src/Elastic.Clients.Elasticsearch/Elastic.Clients.Elasticsearch.csproj b/src/Elastic.Clients.Elasticsearch/Elastic.Clients.Elasticsearch.csproj index dcd3c9db9d8..1d7da48acd1 100644 --- a/src/Elastic.Clients.Elasticsearch/Elastic.Clients.Elasticsearch.csproj +++ b/src/Elastic.Clients.Elasticsearch/Elastic.Clients.Elasticsearch.csproj @@ -15,7 +15,7 @@ true true - netstandard2.0;net462;netstandard2.1;net6.0;net8.0 + netstandard2.0;net462;netstandard2.1;net8.0 true true annotations diff --git a/tests/Tests.ClusterLauncher/Tests.ClusterLauncher.csproj b/tests/Tests.ClusterLauncher/Tests.ClusterLauncher.csproj index 8f5d8102e48..7935ae2f92a 100644 --- a/tests/Tests.ClusterLauncher/Tests.ClusterLauncher.csproj +++ b/tests/Tests.ClusterLauncher/Tests.ClusterLauncher.csproj @@ -1,7 +1,7 @@ Exe - net6.0;net8.0 + net8.0 false diff --git a/tests/Tests/Tests.csproj b/tests/Tests/Tests.csproj index e764cc6a729..aace0d9149f 100644 --- a/tests/Tests/Tests.csproj +++ b/tests/Tests/Tests.csproj @@ -1,6 +1,6 @@ - net6.0;net8.0 + net8.0 $(NoWarn);xUnit1013 True True From e7d6eb1ed7b06da677921278e75d55dbc747d905 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 14 Nov 2024 16:50:16 +0100 Subject: [PATCH 15/25] Update `Elastic.Transport` to 0.5.2 (#8405) (#8407) Co-authored-by: Florian Bernd --- .../ElasticsearchClientProductRegistration.cs | 6 +- ...ic.Clients.Elasticsearch.Serverless.csproj | 2 +- .../ElasticsearchClientProductRegistration.cs | 2 +- .../Elastic.Clients.Elasticsearch.csproj | 2 +- .../_Shared/Api/BulkRequest.cs | 20 ++- .../_Shared/Api/Esql/EsqlQueryRequest.cs | 27 ++-- .../_Shared/Client/ElasticsearchClient.cs | 133 +++++------------- .../ElasticsearchClientSettings.cs | 22 +-- .../_Shared/Core/Request/PlainRequest.cs | 8 +- .../_Shared/Core/Request/Request.cs | 20 +-- .../_Shared/Core/Request/RequestDescriptor.cs | 15 +- .../_Shared/Helpers/BulkAllObservable.cs | 2 +- .../Helpers/RequestParametersExtensions.cs | 29 ---- src/Playground/Playground.csproj | 2 +- .../Tests.Core/Client/FixedResponseClient.cs | 6 +- tests/Tests/Tests.csproj | 2 +- 16 files changed, 100 insertions(+), 198 deletions(-) delete mode 100644 src/Elastic.Clients.Elasticsearch/_Shared/Helpers/RequestParametersExtensions.cs diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/Core/ElasticsearchClientProductRegistration.cs b/src/Elastic.Clients.Elasticsearch.Serverless/Core/ElasticsearchClientProductRegistration.cs index 225f124c7c1..14278786060 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/Core/ElasticsearchClientProductRegistration.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/Core/ElasticsearchClientProductRegistration.cs @@ -25,14 +25,14 @@ public ElasticsearchClientProductRegistration(Type markerType) : base(markerType public override string ServiceIdentifier => "esv"; - public override string DefaultMimeType => null; // Prevent base 'ElasticsearchProductRegistration' from sending the compatibility header + public override string? DefaultContentType => null; // Prevent base 'ElasticsearchProductRegistration' from sending the compatibility header public override MetaHeaderProvider MetaHeaderProvider => _metaHeaderProvider; /// /// Elastic.Clients.Elasticsearch handles 404 in its , we do not want the low level client throwing /// exceptions - /// when is enabled for 404's. The client is in charge of + /// when is enabled for 404's. The client is in charge of /// composing paths /// so a 404 never signals a wrong URL but a missing entity. /// @@ -77,7 +77,7 @@ public class ApiVersionMetaHeaderProducer : MetaHeaderProducer public override string HeaderName => "Elastic-Api-Version"; - public override string ProduceHeaderValue(RequestData requestData) => _apiVersion; + public override string ProduceHeaderValue(RequestData requestData, bool isAsync) => _apiVersion; public ApiVersionMetaHeaderProducer(VersionInfo version) { diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/Elastic.Clients.Elasticsearch.Serverless.csproj b/src/Elastic.Clients.Elasticsearch.Serverless/Elastic.Clients.Elasticsearch.Serverless.csproj index 61cf6a25d43..b35a3290eaf 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/Elastic.Clients.Elasticsearch.Serverless.csproj +++ b/src/Elastic.Clients.Elasticsearch.Serverless/Elastic.Clients.Elasticsearch.Serverless.csproj @@ -21,7 +21,7 @@ annotations - + diff --git a/src/Elastic.Clients.Elasticsearch/Core/ElasticsearchClientProductRegistration.cs b/src/Elastic.Clients.Elasticsearch/Core/ElasticsearchClientProductRegistration.cs index 3f00d9bb255..6c5e75b814e 100644 --- a/src/Elastic.Clients.Elasticsearch/Core/ElasticsearchClientProductRegistration.cs +++ b/src/Elastic.Clients.Elasticsearch/Core/ElasticsearchClientProductRegistration.cs @@ -18,7 +18,7 @@ public ElasticsearchClientProductRegistration(Type markerType) : base(markerType /// /// Elastic.Clients.Elasticsearch handles 404 in its , we do not want the low level client throwing /// exceptions - /// when is enabled for 404's. The client is in charge of + /// when is enabled for 404's. The client is in charge of /// composing paths /// so a 404 never signals a wrong URL but a missing entity. /// diff --git a/src/Elastic.Clients.Elasticsearch/Elastic.Clients.Elasticsearch.csproj b/src/Elastic.Clients.Elasticsearch/Elastic.Clients.Elasticsearch.csproj index 1d7da48acd1..71cdf552e81 100644 --- a/src/Elastic.Clients.Elasticsearch/Elastic.Clients.Elasticsearch.csproj +++ b/src/Elastic.Clients.Elasticsearch/Elastic.Clients.Elasticsearch.csproj @@ -21,7 +21,7 @@ annotations - + diff --git a/src/Elastic.Clients.Elasticsearch/_Shared/Api/BulkRequest.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Api/BulkRequest.cs index b9a2bf5151e..853b13a8be5 100644 --- a/src/Elastic.Clients.Elasticsearch/_Shared/Api/BulkRequest.cs +++ b/src/Elastic.Clients.Elasticsearch/_Shared/Api/BulkRequest.cs @@ -32,13 +32,17 @@ namespace Elastic.Clients.Elasticsearch; public partial class BulkRequest : IStreamSerializable { - internal Request Self => this; + private static readonly IRequestConfiguration RequestConfigSingleton = new RequestConfiguration + { + Accept = "application/json", + ContentType = "application/x-ndjson" + }; - public BulkOperationsCollection Operations { get; set; } + internal Request Self => this; - internal override string ContentType => "application/x-ndjson"; + protected internal override IRequestConfiguration RequestConfig => RequestConfigSingleton; - internal override string Accept => "application/json"; + public BulkOperationsCollection Operations { get; set; } public void Serialize(Stream stream, IElasticsearchClientSettings settings, SerializationFormatting formatting = SerializationFormatting.None) { @@ -87,9 +91,13 @@ public async Task SerializeAsync(Stream stream, IElasticsearchClientSettings set public sealed partial class BulkRequestDescriptor : IStreamSerializable { - internal override string ContentType => "application/x-ndjson"; + private static readonly IRequestConfiguration RequestConfigSingleton = new RequestConfiguration + { + Accept = "application/json", + ContentType = "application/x-ndjson" + }; - internal override string Accept => "application/json"; + protected internal override IRequestConfiguration RequestConfig => RequestConfigSingleton; private readonly BulkOperationsCollection _operations = new(); diff --git a/src/Elastic.Clients.Elasticsearch/_Shared/Api/Esql/EsqlQueryRequest.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Api/Esql/EsqlQueryRequest.cs index 3f5821e2cb0..f4b002621f9 100644 --- a/src/Elastic.Clients.Elasticsearch/_Shared/Api/Esql/EsqlQueryRequest.cs +++ b/src/Elastic.Clients.Elasticsearch/_Shared/Api/Esql/EsqlQueryRequest.cs @@ -12,18 +12,19 @@ #if ELASTICSEARCH_SERVERLESS namespace Elastic.Clients.Elasticsearch.Serverless.Esql; #else - namespace Elastic.Clients.Elasticsearch.Esql; #endif -internal sealed class EsqlResponseBuilder : CustomResponseBuilder +internal sealed class EsqlResponseBuilder : TypedResponseBuilder { - public override object DeserializeResponse(Serializer serializer, ApiCallDetails response, Stream stream) + protected override EsqlQueryResponse? Build(ApiCallDetails apiCallDetails, RequestData requestData, + Stream responseStream, + string contentType, long contentLength) { - var bytes = stream switch + var bytes = responseStream switch { MemoryStream ms => ms.ToArray(), - _ => BytesFromStream(stream) + _ => BytesFromStream(responseStream) }; return new EsqlQueryResponse { Data = bytes }; @@ -37,13 +38,14 @@ static byte[] BytesFromStream(Stream stream) } } - public override async Task DeserializeResponseAsync(Serializer serializer, ApiCallDetails response, Stream stream, - CancellationToken ctx = new CancellationToken()) + protected override async Task BuildAsync(ApiCallDetails apiCallDetails, RequestData requestData, + Stream responseStream, + string contentType, long contentLength, CancellationToken cancellationToken = default) { - var bytes = stream switch + var bytes = responseStream switch { MemoryStream ms => ms.ToArray(), - _ => await BytesFromStreamAsync(stream, ctx).ConfigureAwait(false) + _ => await BytesFromStreamAsync(responseStream, cancellationToken).ConfigureAwait(false) }; return new EsqlQueryResponse { Data = bytes }; @@ -62,10 +64,3 @@ static async Task BytesFromStreamAsync(Stream stream, CancellationToken } } } - -public sealed partial class EsqlQueryRequestParameters -{ - private static readonly EsqlResponseBuilder ResponseBuilder = new(); - - public EsqlQueryRequestParameters() => CustomResponseBuilder = ResponseBuilder; -} diff --git a/src/Elastic.Clients.Elasticsearch/_Shared/Client/ElasticsearchClient.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Client/ElasticsearchClient.cs index c71b196dec4..1e61176db52 100644 --- a/src/Elastic.Clients.Elasticsearch/_Shared/Client/ElasticsearchClient.cs +++ b/src/Elastic.Clients.Elasticsearch/_Shared/Client/ElasticsearchClient.cs @@ -21,7 +21,6 @@ #if ELASTICSEARCH_SERVERLESS namespace Elastic.Clients.Elasticsearch.Serverless; #else - namespace Elastic.Clients.Elasticsearch; #endif @@ -165,14 +164,12 @@ private ValueTask DoRequestCoreAsync SendRequest() { - var (resolvedUrl, _, resolvedRouteValues, postData) = PrepareRequest(request, forceConfiguration); + var (endpointPath, resolvedRouteValues, postData) = PrepareRequest(request); var openTelemetryData = PrepareOpenTelemetryData(request, resolvedRouteValues); return isAsync - ? new ValueTask(_transport - .RequestAsync(request.HttpMethod, resolvedUrl, postData, request.RequestParameters, in openTelemetryData, cancellationToken)) - : new ValueTask(_transport - .Request(request.HttpMethod, resolvedUrl, postData, request.RequestParameters, in openTelemetryData)); + ? new ValueTask(_transport.RequestAsync(endpointPath, postData, in openTelemetryData, request.RequestConfig, cancellationToken)) + : new ValueTask(_transport.Request(endpointPath, postData, in openTelemetryData, request.RequestConfig)); } async ValueTask SendRequestWithProductCheck() @@ -198,24 +195,22 @@ async ValueTask SendRequestWithProductCheckCore() { // Attach product check header - var hadRequestConfig = false; - HeadersList? originalHeaders = null; - - if (request.RequestParameters.RequestConfiguration is null) - request.RequestParameters.RequestConfiguration = new RequestConfiguration(); - else - { - originalHeaders = request.RequestParameters.RequestConfiguration.ResponseHeadersToParse; - hadRequestConfig = true; - } - - request.RequestParameters.RequestConfiguration.ResponseHeadersToParse = request.RequestParameters.RequestConfiguration.ResponseHeadersToParse.Count == 0 - ? new HeadersList("x-elastic-product") - : new HeadersList(request.RequestParameters.RequestConfiguration.ResponseHeadersToParse, "x-elastic-product"); + // TODO: The copy constructor should accept null values + var requestConfig = (request.RequestConfig is null) + ? new RequestConfiguration() + { + ResponseHeadersToParse = new HeadersList("x-elastic-product") + } + : new RequestConfiguration(request.RequestConfig) + { + ResponseHeadersToParse = (request.RequestConfig.ResponseHeadersToParse is { Count: > 0 }) + ? new HeadersList(request.RequestConfig.ResponseHeadersToParse, "x-elastic-product") + : new HeadersList("x-elastic-product") + }; // Send request - var (resolvedUrl, _, resolvedRouteValues, postData) = PrepareRequest(request, forceConfiguration); + var (endpointPath, resolvedRouteValues, postData) = PrepareRequest(request); var openTelemetryData = PrepareOpenTelemetryData(request, resolvedRouteValues); TResponse response; @@ -223,48 +218,36 @@ async ValueTask SendRequestWithProductCheckCore() if (isAsync) { response = await _transport - .RequestAsync(request.HttpMethod, resolvedUrl, postData, request.RequestParameters, in openTelemetryData, cancellationToken) + .RequestAsync(endpointPath, postData, in openTelemetryData, requestConfig, cancellationToken) .ConfigureAwait(false); } else { - response = _transport - .Request(request.HttpMethod, resolvedUrl, postData, request.RequestParameters, in openTelemetryData); + response = _transport.Request(endpointPath, postData, in openTelemetryData, requestConfig); } // Evaluate product check result var hasSuccessStatusCode = response.ApiCallDetails.HttpStatusCode is >= 200 and <= 299; - if (hasSuccessStatusCode) - { - var productCheckSucceeded = response.ApiCallDetails.TryGetHeader("x-elastic-product", out var values) && - values.FirstOrDefault(x => x.Equals("Elasticsearch", StringComparison.Ordinal)) is not null; - - _productCheckStatus = productCheckSucceeded - ? (int)ProductCheckStatus.Succeeded - : (int)ProductCheckStatus.Failed; - - if (_productCheckStatus == (int)ProductCheckStatus.Failed) - throw new UnsupportedProductException(UnsupportedProductException.InvalidProductError); - } - - if (request.RequestParameters.RequestConfiguration is null) - return response; - - // Reset request configuration - - if (!hadRequestConfig) - request.RequestParameters.RequestConfiguration = null; - else if (originalHeaders is { Count: > 0 }) - request.RequestParameters.RequestConfiguration.ResponseHeadersToParse = originalHeaders.Value; - if (!hasSuccessStatusCode) { // The product check is unreliable for non success status codes. // We have to re-try on the next request. _productCheckStatus = (int)ProductCheckStatus.NotChecked; + + return response; } + var productCheckSucceeded = response.ApiCallDetails.TryGetHeader("x-elastic-product", out var values) && + values.FirstOrDefault(x => x.Equals("Elasticsearch", StringComparison.Ordinal)) is not null; + + _productCheckStatus = productCheckSucceeded + ? (int)ProductCheckStatus.Succeeded + : (int)ProductCheckStatus.Failed; + + if (_productCheckStatus == (int)ProductCheckStatus.Failed) + throw new UnsupportedProductException(UnsupportedProductException.InvalidProductError); + return response; } } @@ -304,23 +287,14 @@ private static OpenTelemetryData PrepareOpenTelemetryData? resolvedRouteValues, PostData data) PrepareRequest(TRequest request, - Action? forceConfiguration) + private (EndpointPath endpointPath, Dictionary? resolvedRouteValues, PostData data) PrepareRequest(TRequest request) where TRequest : Request where TRequestParameters : RequestParameters, new() { request.ThrowIfNull(nameof(request), "A request is required."); - if (forceConfiguration is not null) - ForceConfiguration(request, forceConfiguration); - - if (request.ContentType is not null) - ForceContentType(request, request.ContentType); - - if (request.Accept is not null) - ForceAccept(request, request.Accept); - - var (resolvedUrl, urlTemplate, routeValues) = request.GetUrl(ElasticsearchClientSettings); + var (resolvedUrl, _, routeValues) = request.GetUrl(ElasticsearchClientSettings); + var pathAndQuery = request.RequestParameters.CreatePathWithQueryStrings(resolvedUrl, ElasticsearchClientSettings); var postData = request.HttpMethod == HttpMethod.GET || @@ -328,45 +302,6 @@ private static OpenTelemetryData PrepareOpenTelemetryData(Request request, Action forceConfiguration) - where TRequestParameters : RequestParameters, new() - { - var configuration = request.RequestParameters.RequestConfiguration ?? new RequestConfiguration(); - forceConfiguration(configuration); - request.RequestParameters.RequestConfiguration = configuration; - } - - private static void ForceContentType(TRequest request, string contentType) - where TRequest : Request - where TRequestParameters : RequestParameters, new() - { - var configuration = request.RequestParameters.RequestConfiguration ?? new RequestConfiguration(); - configuration.Accept = contentType; - configuration.ContentType = contentType; - request.RequestParameters.RequestConfiguration = configuration; - } - - private static void ForceAccept(TRequest request, string acceptType) - where TRequest : Request - where TRequestParameters : RequestParameters, new() - { - var configuration = request.RequestParameters.RequestConfiguration ?? new RequestConfiguration(); - configuration.Accept = acceptType; - request.RequestParameters.RequestConfiguration = configuration; - } - - internal static void ForceJson(IRequestConfiguration requestConfiguration) - { - requestConfiguration.Accept = RequestData.DefaultMimeType; - requestConfiguration.ContentType = RequestData.DefaultMimeType; - } - - internal static void ForceTextPlain(IRequestConfiguration requestConfiguration) - { - requestConfiguration.Accept = RequestData.MimeTypeTextPlain; - requestConfiguration.ContentType = RequestData.MimeTypeTextPlain; + return (new EndpointPath(request.HttpMethod, pathAndQuery), routeValues, postData); } } diff --git a/src/Elastic.Clients.Elasticsearch/_Shared/Core/Configuration/ElasticsearchClientSettings.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Core/Configuration/ElasticsearchClientSettings.cs index 62c3e7ce566..b8381c7df40 100644 --- a/src/Elastic.Clients.Elasticsearch/_Shared/Core/Configuration/ElasticsearchClientSettings.cs +++ b/src/Elastic.Clients.Elasticsearch/_Shared/Core/Configuration/ElasticsearchClientSettings.cs @@ -10,8 +10,10 @@ using System.Reflection; #if ELASTICSEARCH_SERVERLESS +using Elastic.Clients.Elasticsearch.Serverless.Esql; using Elastic.Clients.Elasticsearch.Serverless.Fluent; #else +using Elastic.Clients.Elasticsearch.Esql; using Elastic.Clients.Elasticsearch.Fluent; #endif @@ -104,9 +106,9 @@ public ElasticsearchClientSettings( /// [Browsable(false)] [EditorBrowsable(EditorBrowsableState.Never)] -public abstract class - ElasticsearchClientSettingsBase : ConnectionConfigurationBase, - IElasticsearchClientSettings +public abstract class ElasticsearchClientSettingsBase : + ConnectionConfigurationBase, + IElasticsearchClientSettings where TConnectionSettings : ElasticsearchClientSettingsBase, IElasticsearchClientSettings { private readonly FluentDictionary _defaultIndices; @@ -381,19 +383,21 @@ public ConnectionConfiguration(NodePool nodePool, IRequestInvoker requestInvoker /// [Browsable(false)] [EditorBrowsable(EditorBrowsableState.Never)] -public abstract class - ConnectionConfigurationBase : TransportConfigurationBase, - TransportClientConfigurationValues - where TConnectionConfiguration : ConnectionConfigurationBase, +public abstract class ConnectionConfigurationBase : + TransportConfigurationDescriptorBase, TransportClientConfigurationValues + where TConnectionConfiguration : ConnectionConfigurationBase, TransportClientConfigurationValues { private bool _includeServerStackTraceOnError; protected ConnectionConfigurationBase(NodePool nodePool, IRequestInvoker requestInvoker, Serializer? serializer, ProductRegistration registration = null) - : base(nodePool, requestInvoker, serializer, registration ?? new ElasticsearchProductRegistration(typeof(ElasticsearchClient))) => - UserAgent(ConnectionConfiguration.DefaultUserAgent); + : base(nodePool, requestInvoker, serializer, registration ?? new ElasticsearchProductRegistration(typeof(ElasticsearchClient))) + { + UserAgent(ConnectionConfiguration.DefaultUserAgent); + ResponseBuilder(new EsqlResponseBuilder()); + } bool TransportClientConfigurationValues.IncludeServerStackTraceOnError => _includeServerStackTraceOnError; diff --git a/src/Elastic.Clients.Elasticsearch/_Shared/Core/Request/PlainRequest.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Core/Request/PlainRequest.cs index 912d1a46dbd..9e36e7f3894 100644 --- a/src/Elastic.Clients.Elasticsearch/_Shared/Core/Request/PlainRequest.cs +++ b/src/Elastic.Clients.Elasticsearch/_Shared/Core/Request/PlainRequest.cs @@ -15,6 +15,8 @@ namespace Elastic.Clients.Elasticsearch.Requests; public abstract class PlainRequest : Request where TParameters : RequestParameters, new() { + private IRequestConfiguration? _requestConfiguration; // TODO: Remove this from the request classes and add to the endpoint methods instead + // This internal ctor ensures that only types defined within the Elastic.Clients.Elasticsearch assembly can derive from this base class. // We don't expect consumers to derive from this public base class. internal PlainRequest() { } @@ -75,9 +77,9 @@ public string SourceQueryString /// Specify settings for this request alone, handy if you need a custom timeout or want to bypass sniffing, retries /// [JsonIgnore] - public IRequestConfiguration RequestConfiguration + public IRequestConfiguration? RequestConfiguration { - get => RequestParameters.RequestConfiguration; - set => RequestParameters.RequestConfiguration = value; + get => _requestConfiguration; + set => _requestConfiguration = value; } } diff --git a/src/Elastic.Clients.Elasticsearch/_Shared/Core/Request/Request.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Core/Request/Request.cs index 2b643379e60..9d3a2470874 100644 --- a/src/Elastic.Clients.Elasticsearch/_Shared/Core/Request/Request.cs +++ b/src/Elastic.Clients.Elasticsearch/_Shared/Core/Request/Request.cs @@ -6,7 +6,6 @@ using System.Collections.Generic; using System.Text.Json.Serialization; using Elastic.Transport; -using Elastic.Transport.Diagnostics; #if ELASTICSEARCH_SERVERLESS namespace Elastic.Clients.Elasticsearch.Serverless.Requests; @@ -23,9 +22,7 @@ public abstract class Request // We don't expect consumers to derive from this public base class. internal Request() { } - internal virtual string? Accept { get; } = null; - - internal virtual string? ContentType { get; } = null; + [JsonIgnore] protected internal virtual IRequestConfiguration? RequestConfig { get; set; } /// /// The default HTTP method for the request which is based on the Elasticsearch Specification endpoint definition. @@ -68,28 +65,19 @@ internal virtual void BeforeRequest() { } public abstract class Request : Request where TParameters : RequestParameters, new() { - private readonly TParameters _parameters; - - internal Request() => _parameters = new TParameters(); + internal Request() => RequestParameters = new TParameters(); protected Request(Func pathSelector) { pathSelector(RouteValues); - _parameters = new TParameters(); + RequestParameters = new TParameters(); } - [JsonIgnore] internal TParameters RequestParameters => _parameters; + [JsonIgnore] internal TParameters RequestParameters { get; } protected TOut? Q(string name) => RequestParameters.GetQueryStringValue(name); protected void Q(string name, object? value) => RequestParameters.SetQueryString(name, value); protected void Q(string name, IStringable value) => RequestParameters.SetQueryString(name, value.GetString()); - - protected void SetAcceptHeader(string format) - { - RequestParameters.RequestConfiguration ??= new RequestConfiguration(); - RequestParameters.RequestConfiguration.Accept = - RequestParameters.AcceptHeaderFromFormat(format); - } } diff --git a/src/Elastic.Clients.Elasticsearch/_Shared/Core/Request/RequestDescriptor.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Core/Request/RequestDescriptor.cs index 77ad327e1f5..05723aa7855 100644 --- a/src/Elastic.Clients.Elasticsearch/_Shared/Core/Request/RequestDescriptor.cs +++ b/src/Elastic.Clients.Elasticsearch/_Shared/Core/Request/RequestDescriptor.cs @@ -22,9 +22,10 @@ namespace Elastic.Clients.Elasticsearch.Requests; /// /// Base class for all request descriptor types. /// -public abstract partial class RequestDescriptor : Request, ISelfSerializable - where TDescriptor : RequestDescriptor - where TParameters : RequestParameters, new() +public abstract partial class RequestDescriptor : + Request, ISelfSerializable + where TDescriptor : RequestDescriptor + where TParameters : RequestParameters, new() { private readonly TDescriptor _descriptor; @@ -56,12 +57,10 @@ protected TDescriptor Qs(string name, IStringable value) /// /// Specify settings for this request alone, handy if you need a custom timeout or want to bypass sniffing, retries /// - public TDescriptor RequestConfiguration( - Func configurationSelector) + public TDescriptor RequestConfiguration(Func configurationSelector) { - var rc = RequestParameters.RequestConfiguration; - RequestParameters.RequestConfiguration = - configurationSelector?.Invoke(new RequestConfigurationDescriptor(rc)) ?? rc; + var rc = RequestConfig; + RequestConfig = configurationSelector?.Invoke(new RequestConfigurationDescriptor(rc)) ?? rc; return _descriptor; } diff --git a/src/Elastic.Clients.Elasticsearch/_Shared/Helpers/BulkAllObservable.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Helpers/BulkAllObservable.cs index e452e3465f1..e622b1436df 100644 --- a/src/Elastic.Clients.Elasticsearch/_Shared/Helpers/BulkAllObservable.cs +++ b/src/Elastic.Clients.Elasticsearch/_Shared/Helpers/BulkAllObservable.cs @@ -124,7 +124,7 @@ private async Task BulkAsync(IList buffer, long page, int ba var response = await _client.BulkAsync(s => { - s.RequestParameters.RequestConfiguration = new RequestConfiguration { DisableAuditTrail = false }; + s.RequestConfiguration(x => x.DisableAuditTrail(false)); s.Index(request.Index); s.Timeout(request.Timeout); diff --git a/src/Elastic.Clients.Elasticsearch/_Shared/Helpers/RequestParametersExtensions.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Helpers/RequestParametersExtensions.cs deleted file mode 100644 index 0640c806a70..00000000000 --- a/src/Elastic.Clients.Elasticsearch/_Shared/Helpers/RequestParametersExtensions.cs +++ /dev/null @@ -1,29 +0,0 @@ -// 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. - - -using System; -using Elastic.Transport; - -#if ELASTICSEARCH_SERVERLESS -namespace Elastic.Clients.Elasticsearch.Serverless; -#else -namespace Elastic.Clients.Elasticsearch; -#endif - -internal static class RequestParametersExtensions -{ - internal static void SetRequestMetaData(this RequestParameters parameters, RequestMetaData requestMetaData) - { - if (parameters is null) - throw new ArgumentNullException(nameof(parameters)); - - if (requestMetaData is null) - throw new ArgumentNullException(nameof(requestMetaData)); - - parameters.RequestConfiguration ??= new RequestConfiguration(); - - parameters.RequestConfiguration.RequestMetaData = requestMetaData; - } -} diff --git a/src/Playground/Playground.csproj b/src/Playground/Playground.csproj index a2095681e91..455e7a6ebd9 100644 --- a/src/Playground/Playground.csproj +++ b/src/Playground/Playground.csproj @@ -10,7 +10,7 @@ - + diff --git a/tests/Tests.Core/Client/FixedResponseClient.cs b/tests/Tests.Core/Client/FixedResponseClient.cs index 8a33f59ed50..310a216f0f1 100644 --- a/tests/Tests.Core/Client/FixedResponseClient.cs +++ b/tests/Tests.Core/Client/FixedResponseClient.cs @@ -17,7 +17,7 @@ public static ElasticsearchClient Create( object response, int statusCode = 200, Func modifySettings = null, - string contentType = RequestData.DefaultMimeType, + string contentType = RequestData.DefaultContentType, Exception exception = null ) { @@ -29,7 +29,7 @@ public static ElasticsearchClientSettings CreateConnectionSettings( object response, int statusCode = 200, Func modifySettings = null, - string contentType = RequestData.DefaultMimeType, + string contentType = RequestData.DefaultContentType, Exception exception = null, Serializer serializer = null ) @@ -46,7 +46,7 @@ public static ElasticsearchClientSettings CreateConnectionSettings( break; default: { - responseBytes = contentType == RequestData.DefaultMimeType + responseBytes = contentType == RequestData.DefaultContentType ? serializer.SerializeToBytes(response, TestClient.Default.ElasticsearchClientSettings.MemoryStreamFactory) : Encoding.UTF8.GetBytes(response.ToString()); diff --git a/tests/Tests/Tests.csproj b/tests/Tests/Tests.csproj index aace0d9149f..a99139377b6 100644 --- a/tests/Tests/Tests.csproj +++ b/tests/Tests/Tests.csproj @@ -10,7 +10,7 @@ - + From 36e93ee79ca3106947366d575264104445ece7ba Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 19 Nov 2024 12:02:32 +0100 Subject: [PATCH 16/25] Regenerate the client using the latest specification (#8409) (#8411) Co-authored-by: Florian Bernd --- .../_Generated/Api/ApiUrlLookup.g.cs | 5 + .../AsyncSearch/AsyncSearchStatusRequest.g.cs | 18 +- .../AsyncSearch/DeleteAsyncSearchRequest.g.cs | 18 +- .../AsyncSearch/GetAsyncSearchRequest.g.cs | 15 +- .../AsyncSearch/SubmitAsyncSearchRequest.g.cs | 47 +- .../_Generated/Api/ClearScrollRequest.g.cs | 10 +- .../Api/ClosePointInTimeRequest.g.cs | 16 +- .../Api/DeleteByQueryRethrottleRequest.g.cs | 12 +- .../_Generated/Api/Eql/EqlSearchRequest.g.cs | 50 + .../_Generated/Api/FieldCapsRequest.g.cs | 36 +- .../IndexManagement/AnalyzeIndexRequest.g.cs | 9 +- .../IndexManagement/ExistsAliasRequest.g.cs | 17 - .../Api/IndexManagement/GetAliasRequest.g.cs | 17 - .../PutDataLifecycleRequest.g.cs | 106 +- .../Api/IndexManagement/SegmentsRequest.g.cs | 17 - .../Api/Inference/DeleteInferenceRequest.g.cs | 133 + .../Inference/DeleteInferenceResponse.g.cs | 40 + .../Api/Inference/GetInferenceRequest.g.cs | 105 + .../Api/Inference/GetInferenceResponse.g.cs | 33 + .../Api/Inference/InferenceRequest.g.cs | 199 + .../Api/Inference/InferenceResponse.g.cs | 31 + .../Api/Inference/PutInferenceRequest.g.cs | 132 + .../Api/Inference/PutInferenceResponse.g.cs | 70 + .../MachineLearning/PutDatafeedRequest.g.cs | 21 +- .../_Generated/Api/MultiGetRequest.g.cs | 21 +- .../_Generated/Api/MultiSearchRequest.g.cs | 60 +- .../Api/MultiSearchTemplateRequest.g.cs | 6 +- .../Api/MultiTermVectorsRequest.g.cs | 24 +- .../Api/OpenPointInTimeRequest.g.cs | 27 +- .../Api/QueryRules/TestRequest.g.cs | 102 + .../Api/QueryRules/TestResponse.g.cs | 35 + .../_Generated/Api/RankEvalRequest.g.cs | 15 +- .../Api/ReindexRethrottleRequest.g.cs | 10 +- .../Api/RenderSearchTemplateRequest.g.cs | 15 +- .../_Generated/Api/ScrollRequest.g.cs | 38 +- .../_Generated/Api/SearchMvtRequest.g.cs | 12 +- .../_Generated/Api/SearchRequest.g.cs | 34 +- .../_Generated/Api/SearchTemplateRequest.g.cs | 6 +- .../Security/ActivateUserProfileRequest.g.cs | 10 +- .../Api/Security/AuthenticateRequest.g.cs | 4 + .../Api/Security/BulkDeleteRoleRequest.g.cs | 6 + .../Api/Security/BulkPutRoleRequest.g.cs | 9 + .../Api/Security/ClearApiKeyCacheRequest.g.cs | 10 +- .../ClearCachedPrivilegesRequest.g.cs | 12 +- .../Security/ClearCachedRealmsRequest.g.cs | 10 +- .../Api/Security/ClearCachedRolesRequest.g.cs | 10 +- .../ClearCachedServiceTokensRequest.g.cs | 10 +- .../Api/Security/CreateApiKeyRequest.g.cs | 12 +- .../Security/CreateServiceTokenRequest.g.cs | 10 +- .../Api/Security/DeletePrivilegesRequest.g.cs | 4 +- .../Security/DeleteRoleMappingRequest.g.cs | 4 +- .../Api/Security/DeleteRoleRequest.g.cs | 10 +- .../Security/DeleteServiceTokenRequest.g.cs | 10 +- .../Security/DisableUserProfileRequest.g.cs | 10 +- .../Security/EnableUserProfileRequest.g.cs | 10 +- .../Api/Security/GetApiKeyRequest.g.cs | 4 + .../Security/GetBuiltinPrivilegesRequest.g.cs | 10 +- .../GetBuiltinPrivilegesResponse.g.cs | 2 +- .../Api/Security/GetPrivilegesRequest.g.cs | 4 +- .../Api/Security/GetRoleMappingRequest.g.cs | 14 +- .../Api/Security/GetRoleRequest.g.cs | 12 +- .../Security/GetServiceAccountsRequest.g.cs | 10 +- .../GetServiceCredentialsRequest.g.cs | 4 +- .../Api/Security/GetTokenRequest.g.cs | 10 +- .../Security/GetUserPrivilegesRequest.g.cs | 4 +- .../Api/Security/GetUserProfileRequest.g.cs | 10 +- .../Api/Security/GrantApiKeyRequest.g.cs | 21 +- .../Api/Security/HasPrivilegesRequest.g.cs | 8 +- .../HasPrivilegesUserProfileRequest.g.cs | 10 +- .../Api/Security/InvalidateApiKeyRequest.g.cs | 14 +- .../Api/Security/InvalidateTokenRequest.g.cs | 22 +- .../Api/Security/PutPrivilegesRequest.g.cs | 4 +- .../Api/Security/PutRoleMappingRequest.g.cs | 22 +- .../Api/Security/PutRoleRequest.g.cs | 18 +- .../Api/Security/QueryApiKeysRequest.g.cs | 18 +- .../Api/Security/QueryRoleRequest.g.cs | 15 +- .../Api/Security/QueryUserRequest.g.cs | 18 +- .../Api/Security/SamlAuthenticateRequest.g.cs | 10 +- .../Security/SamlCompleteLogoutRequest.g.cs | 6 + .../Api/Security/SamlInvalidateRequest.g.cs | 6 + .../Api/Security/SamlLogoutRequest.g.cs | 6 + .../SamlPrepareAuthenticationRequest.g.cs | 10 +- .../SamlServiceProviderMetadataRequest.g.cs | 6 + .../Security/SuggestUserProfilesRequest.g.cs | 6 + .../Api/Security/UpdateApiKeyRequest.g.cs | 6 + .../UpdateUserProfileDataRequest.g.cs | 10 +- .../_Generated/Api/TermVectorsRequest.g.cs | 8 +- .../_Generated/Api/TermsEnumRequest.g.cs | 39 +- .../Api/UpdateByQueryRethrottleRequest.g.cs | 12 +- .../ElasticsearchClient.AsyncSearch.g.cs | 236 +- .../Client/ElasticsearchClient.Cluster.g.cs | 108 +- .../Client/ElasticsearchClient.Enrich.g.cs | 22 +- .../Client/ElasticsearchClient.Eql.g.cs | 22 +- .../Client/ElasticsearchClient.Esql.g.cs | 14 +- .../Client/ElasticsearchClient.Graph.g.cs | 18 +- .../Client/ElasticsearchClient.Indices.g.cs | 143 +- .../Client/ElasticsearchClient.Inference.g.cs | 353 ++ .../Client/ElasticsearchClient.Ingest.g.cs | 30 +- .../Client/ElasticsearchClient.Ml.g.cs | 117 +- .../Client/ElasticsearchClient.Nodes.g.cs | 58 +- .../ElasticsearchClient.QueryRules.g.cs | 51 + .../Client/ElasticsearchClient.Security.g.cs | 1035 ++++-- .../Client/ElasticsearchClient.g.cs | 1034 +++++- .../Types/Analysis/Normalizers.g.cs | 2 +- .../_Generated/Types/ByteSize.g.cs | 2 +- .../_Generated/Types/Core/Context.g.cs | 2 +- ...ankEvalMetricDiscountedCumulativeGain.g.cs | 4 +- .../RankEvalMetricExpectedReciprocalRank.g.cs | 4 +- .../RankEvalMetricMeanReciprocalRank.g.cs | 4 +- .../RankEval/RankEvalMetricPrecision.g.cs | 4 +- .../Core/RankEval/RankEvalMetricRecall.g.cs | 4 +- .../Types/Enums/Enums.Inference.g.cs | 85 + .../Types/Enums/Enums.Security.g.cs | 23 + .../_Generated/Types/Fuzziness.g.cs | 2 +- .../IndexManagement/DataStreamLifecycle.g.cs | 53 + .../DataStreamLifecycleWithRollover.g.cs | 9 + .../DataStreamWithLifecycle.g.cs | 2 +- .../Types/IndexManagement/IndexSettings.g.cs | 6 +- .../Types/IndexManagement/IndexTemplate.g.cs | 19 + .../IndexManagement/MappingLimitSettings.g.cs | 4 +- .../Types/Inference/InferenceEndpoint.g.cs | 127 + .../Inference/InferenceEndpointInfo.g.cs | 76 + .../Types/Ingest/IpLocationProcessor.g.cs | 798 +++++ .../_Generated/Types/Ingest/Processor.g.cs | 15 + .../_Generated/Types/KnnRetriever.g.cs | 44 + .../Types/Mapping/GeoShapeProperty.g.cs | 6 +- .../Types/Mapping/ShapeProperty.g.cs | 6 +- .../_Generated/Types/QueryDsl/Like.g.cs | 2 +- .../_Generated/Types/QueryDsl/Query.g.cs | 33 - .../_Generated/Types/QueryDsl/TermsQuery.g.cs | 28 +- .../Types/QueryDsl/TextExpansionQuery.g.cs | 346 -- .../Types/QueryDsl/TokenPruningConfig.g.cs | 125 - .../Types/QueryDsl/WeightedTokensQuery.g.cs | 418 --- .../QueryRules/QueryRulesetMatchedRule.g.cs | 47 + .../_Generated/Types/RRFRetriever.g.cs | 44 + .../_Generated/Types/Retriever.g.cs | 30 + .../_Generated/Types/RuleRetriever.g.cs | 486 +++ .../Types/Security/IndicesPrivileges.g.cs | 5 +- .../_Generated/Types/Security/QueryRole.g.cs | 16 +- .../Types/Security/Restriction.g.cs | 59 + .../_Generated/Types/Security/Role.g.cs | 2 +- .../Types/Security/RoleDescriptor.g.cs | 115 + .../Types/Security/RoleDescriptorRead.g.cs | 16 +- .../Types/Security/UserIndicesPrivileges.g.cs | 1 + .../Types/TextSimilarityReranker.g.cs | 546 +++ .../_Generated/Types/Xpack/Features.g.cs | 2 + .../_Generated/Api/ApiUrlLookup.g.cs | 4 + .../AsyncSearch/AsyncSearchStatusRequest.g.cs | 18 +- .../AsyncSearch/DeleteAsyncSearchRequest.g.cs | 18 +- .../AsyncSearch/GetAsyncSearchRequest.g.cs | 15 +- .../AsyncSearch/SubmitAsyncSearchRequest.g.cs | 47 +- .../_Generated/Api/ClearScrollRequest.g.cs | 10 +- .../Api/ClosePointInTimeRequest.g.cs | 16 +- .../FollowRequest.g.cs | 487 ++- .../ListDanglingIndicesRequest.g.cs | 18 +- .../Api/DeleteByQueryRethrottleRequest.g.cs | 12 +- .../_Generated/Api/Eql/EqlSearchRequest.g.cs | 50 + .../_Generated/Api/FieldCapsRequest.g.cs | 36 +- .../Api/GetScriptContextRequest.g.cs | 10 +- .../Api/GetScriptLanguagesRequest.g.cs | 10 +- .../IndexManagement/AnalyzeIndexRequest.g.cs | 9 +- .../IndexManagement/ExistsAliasRequest.g.cs | 17 - .../Api/IndexManagement/GetAliasRequest.g.cs | 17 - .../PutDataLifecycleRequest.g.cs | 106 +- .../Api/IndexManagement/SegmentsRequest.g.cs | 17 - .../MachineLearning/PutDatafeedRequest.g.cs | 21 +- .../_Generated/Api/MultiGetRequest.g.cs | 21 +- .../_Generated/Api/MultiSearchRequest.g.cs | 60 +- .../Api/MultiSearchTemplateRequest.g.cs | 6 +- .../Api/MultiTermVectorsRequest.g.cs | 24 +- .../Api/OpenPointInTimeRequest.g.cs | 27 +- .../Api/QueryRules/TestRequest.g.cs | 102 + .../Api/QueryRules/TestResponse.g.cs | 35 + .../_Generated/Api/RankEvalRequest.g.cs | 15 +- .../Api/ReindexRethrottleRequest.g.cs | 10 +- .../Api/RenderSearchTemplateRequest.g.cs | 15 +- .../_Generated/Api/ScrollRequest.g.cs | 38 +- .../GetSearchApplicationResponse.g.cs | 2 +- .../Api/SearchApplication/ListResponse.g.cs | 2 +- .../PutSearchApplicationRequest.g.cs | 16 +- .../_Generated/Api/SearchMvtRequest.g.cs | 12 +- .../_Generated/Api/SearchRequest.g.cs | 34 +- .../_Generated/Api/SearchShardsRequest.g.cs | 21 +- .../_Generated/Api/SearchTemplateRequest.g.cs | 6 +- .../Security/ActivateUserProfileRequest.g.cs | 10 +- .../Api/Security/AuthenticateRequest.g.cs | 4 + .../Api/Security/BulkDeleteRoleRequest.g.cs | 6 + .../Api/Security/BulkPutRoleRequest.g.cs | 9 + .../Api/Security/ChangePasswordRequest.g.cs | 10 +- .../Api/Security/ClearApiKeyCacheRequest.g.cs | 10 +- .../ClearCachedPrivilegesRequest.g.cs | 12 +- .../Security/ClearCachedRealmsRequest.g.cs | 10 +- .../Api/Security/ClearCachedRolesRequest.g.cs | 10 +- .../ClearCachedServiceTokensRequest.g.cs | 10 +- .../Api/Security/CreateApiKeyRequest.g.cs | 12 +- .../CreateCrossClusterApiKeyRequest.g.cs | 433 +++ .../CreateCrossClusterApiKeyResponse.g.cs} | 41 +- .../Security/CreateServiceTokenRequest.g.cs | 10 +- .../Api/Security/DeletePrivilegesRequest.g.cs | 4 +- .../Security/DeleteRoleMappingRequest.g.cs | 4 +- .../Api/Security/DeleteRoleRequest.g.cs | 10 +- .../Security/DeleteServiceTokenRequest.g.cs | 10 +- .../Api/Security/DeleteUserRequest.g.cs | 10 +- .../Security/DisableUserProfileRequest.g.cs | 10 +- .../Api/Security/DisableUserRequest.g.cs | 10 +- .../Security/EnableUserProfileRequest.g.cs | 10 +- .../Api/Security/EnableUserRequest.g.cs | 10 +- .../Api/Security/EnrollKibanaRequest.g.cs | 10 +- .../Api/Security/EnrollNodeRequest.g.cs | 10 +- .../Api/Security/GetApiKeyRequest.g.cs | 4 + .../Security/GetBuiltinPrivilegesRequest.g.cs | 10 +- .../GetBuiltinPrivilegesResponse.g.cs | 4 +- .../Api/Security/GetPrivilegesRequest.g.cs | 4 +- .../Api/Security/GetRoleMappingRequest.g.cs | 14 +- .../Api/Security/GetRoleRequest.g.cs | 12 +- .../Security/GetServiceAccountsRequest.g.cs | 10 +- .../GetServiceCredentialsRequest.g.cs | 4 +- .../Api/Security/GetTokenRequest.g.cs | 10 +- .../Security/GetUserPrivilegesRequest.g.cs | 4 +- .../Api/Security/GetUserProfileRequest.g.cs | 10 +- .../Api/Security/GetUserRequest.g.cs | 10 +- .../Api/Security/GrantApiKeyRequest.g.cs | 21 +- .../Api/Security/HasPrivilegesRequest.g.cs | 8 +- .../HasPrivilegesUserProfileRequest.g.cs | 10 +- .../Api/Security/InvalidateApiKeyRequest.g.cs | 14 +- .../Api/Security/InvalidateTokenRequest.g.cs | 22 +- .../Api/Security/PutPrivilegesRequest.g.cs | 4 +- .../Api/Security/PutRoleMappingRequest.g.cs | 22 +- .../Api/Security/PutRoleRequest.g.cs | 178 +- .../Api/Security/PutUserRequest.g.cs | 12 +- .../Api/Security/QueryApiKeysRequest.g.cs | 18 +- .../Api/Security/QueryRoleRequest.g.cs | 15 +- .../Api/Security/QueryUserRequest.g.cs | 18 +- .../Api/Security/SamlAuthenticateRequest.g.cs | 10 +- .../Security/SamlCompleteLogoutRequest.g.cs | 6 + .../Api/Security/SamlInvalidateRequest.g.cs | 6 + .../Api/Security/SamlLogoutRequest.g.cs | 6 + .../SamlPrepareAuthenticationRequest.g.cs | 10 +- .../SamlServiceProviderMetadataRequest.g.cs | 6 + .../Security/SuggestUserProfilesRequest.g.cs | 6 + .../Api/Security/UpdateApiKeyRequest.g.cs | 6 + .../UpdateCrossClusterApiKeyRequest.g.cs | 347 ++ .../UpdateCrossClusterApiKeyResponse.g.cs | 39 + .../UpdateUserProfileDataRequest.g.cs | 10 +- .../RepositoryVerifyIntegrityRequest.g.cs | 215 ++ .../RepositoryVerifyIntegrityResponse.g.cs | 31 + .../_Generated/Api/Tasks/ListRequest.g.cs | 6 +- .../_Generated/Api/TermVectorsRequest.g.cs | 8 +- .../_Generated/Api/TermsEnumRequest.g.cs | 39 +- .../Api/UpdateByQueryRethrottleRequest.g.cs | 12 +- .../ElasticsearchClient.AsyncSearch.g.cs | 472 ++- .../Client/ElasticsearchClient.Ccr.g.cs | 356 +- .../Client/ElasticsearchClient.Cluster.g.cs | 248 +- .../ElasticsearchClient.DanglingIndices.g.cs | 72 +- .../Client/ElasticsearchClient.Enrich.g.cs | 44 +- .../Client/ElasticsearchClient.Eql.g.cs | 44 +- .../Client/ElasticsearchClient.Esql.g.cs | 28 +- .../Client/ElasticsearchClient.Graph.g.cs | 36 +- .../Client/ElasticsearchClient.Indices.g.cs | 406 ++- .../Client/ElasticsearchClient.Ingest.g.cs | 60 +- .../Client/ElasticsearchClient.Ml.g.cs | 234 +- .../Client/ElasticsearchClient.Nodes.g.cs | 116 +- .../ElasticsearchClient.QueryRules.g.cs | 106 + ...ElasticsearchClient.SearchApplication.g.cs | 8 +- .../Client/ElasticsearchClient.Security.g.cs | 3190 ++++++++++++++--- .../Client/ElasticsearchClient.Snapshot.g.cs | 106 + .../Client/ElasticsearchClient.Tasks.g.cs | 56 +- .../Client/ElasticsearchClient.g.cs | 2300 +++++++++--- .../Types/Analysis/Normalizers.g.cs | 2 +- .../_Generated/Types/ByteSize.g.cs | 2 +- .../_Generated/Types/Core/Context.g.cs | 2 +- ...ankEvalMetricDiscountedCumulativeGain.g.cs | 4 +- .../RankEvalMetricExpectedReciprocalRank.g.cs | 4 +- .../RankEvalMetricMeanReciprocalRank.g.cs | 4 +- .../RankEval/RankEvalMetricPrecision.g.cs | 4 +- .../Core/RankEval/RankEvalMetricRecall.g.cs | 4 +- .../FollowerIndexParameters.g.cs | 84 +- .../Types/Enums/Enums.Security.g.cs | 58 + .../_Generated/Types/Fuzziness.g.cs | 2 +- .../IndexManagement/DataStreamLifecycle.g.cs | 53 + .../DataStreamLifecycleWithRollover.g.cs | 9 + .../DataStreamWithLifecycle.g.cs | 2 +- .../Types/IndexManagement/IndexSettings.g.cs | 6 +- .../Types/IndexManagement/IndexTemplate.g.cs | 19 + .../IndexManagement/MappingLimitSettings.g.cs | 4 +- .../_Generated/Types/Ingest/IngestInfo.g.cs | 2 + .../Types/Ingest/IpLocationProcessor.g.cs | 798 +++++ .../_Generated/Types/Ingest/Processor.g.cs | 15 + .../_Generated/Types/Ingest/Redact.g.cs | 39 + .../Types/Ingest/RedactProcessor.g.cs | 44 + .../_Generated/Types/KnnRetriever.g.cs | 44 + .../Types/Mapping/GeoShapeProperty.g.cs | 6 +- .../Types/Mapping/ShapeProperty.g.cs | 6 +- .../_Generated/Types/QueryDsl/Like.g.cs | 2 +- .../_Generated/Types/QueryDsl/Query.g.cs | 33 - .../_Generated/Types/QueryDsl/TermsQuery.g.cs | 28 +- .../Types/QueryDsl/TextExpansionQuery.g.cs | 461 --- .../Types/QueryDsl/WeightedTokensQuery.g.cs | 418 --- .../QueryRules/QueryRulesetMatchedRule.g.cs | 47 + .../_Generated/Types/RRFRetriever.g.cs | 44 + .../_Generated/Types/Retriever.g.cs | 30 + .../_Generated/Types/RuleRetriever.g.cs | 486 +++ .../SearchApplication/SearchApplication.g.cs | 136 +- .../SearchApplicationParameters.g.cs | 151 + .../_Generated/Types/Security/Access.g.cs | 383 ++ .../Types/Security/IndicesPrivileges.g.cs | 5 +- .../_Generated/Types/Security/QueryRole.g.cs | 44 +- .../Security/RemoteClusterPrivileges.g.cs | 101 + .../Security/RemoteIndicesPrivileges.g.cs | 20 +- .../Types/Security/ReplicationAccess.g.cs | 96 + .../Types/Security/Restriction.g.cs | 59 + .../_Generated/Types/Security/Role.g.cs | 6 +- .../Types/Security/RoleDescriptor.g.cs | 457 +++ .../Types/Security/RoleDescriptorRead.g.cs | 44 +- .../Types/Security/SearchAccess.g.cs | 292 ++ .../Types/Security/UserIndicesPrivileges.g.cs | 1 + .../Types/TextSimilarityReranker.g.cs | 546 +++ .../_Generated/Types/Xpack/Features.g.cs | 2 + 318 files changed, 19795 insertions(+), 5421 deletions(-) create mode 100644 src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Inference/DeleteInferenceRequest.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Inference/DeleteInferenceResponse.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Inference/GetInferenceRequest.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Inference/GetInferenceResponse.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Inference/InferenceRequest.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Inference/InferenceResponse.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Inference/PutInferenceRequest.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Inference/PutInferenceResponse.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/QueryRules/TestRequest.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/QueryRules/TestResponse.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.Inference.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Enums/Enums.Inference.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Inference/InferenceEndpoint.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Inference/InferenceEndpointInfo.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Ingest/IpLocationProcessor.g.cs delete mode 100644 src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/QueryDsl/TextExpansionQuery.g.cs delete mode 100644 src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/QueryDsl/TokenPruningConfig.g.cs delete mode 100644 src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/QueryDsl/WeightedTokensQuery.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/QueryRules/QueryRulesetMatchedRule.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/RuleRetriever.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Security/Restriction.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/TextSimilarityReranker.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Api/QueryRules/TestRequest.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Api/QueryRules/TestResponse.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/CreateCrossClusterApiKeyRequest.g.cs rename src/Elastic.Clients.Elasticsearch/_Generated/{Types/SearchApplication/SearchApplicationListItem.g.cs => Api/Security/CreateCrossClusterApiKeyResponse.g.cs} (65%) create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/UpdateCrossClusterApiKeyRequest.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/UpdateCrossClusterApiKeyResponse.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/RepositoryVerifyIntegrityRequest.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/RepositoryVerifyIntegrityResponse.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/IpLocationProcessor.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/Redact.g.cs delete mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/TextExpansionQuery.g.cs delete mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/WeightedTokensQuery.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryRules/QueryRulesetMatchedRule.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/RuleRetriever.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/SearchApplication/SearchApplicationParameters.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Security/Access.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Security/RemoteClusterPrivileges.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Security/ReplicationAccess.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Security/Restriction.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Security/SearchAccess.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/TextSimilarityReranker.g.cs diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ApiUrlLookup.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ApiUrlLookup.g.cs index a95353e6107..a417b9b437d 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ApiUrlLookup.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ApiUrlLookup.g.cs @@ -88,6 +88,10 @@ internal static class ApiUrlLookup internal static ApiUrls IndexManagementStats = new ApiUrls(new[] { "_stats", "_stats/{metric}", "{index}/_stats", "{index}/_stats/{metric}" }); internal static ApiUrls IndexManagementUpdateAliases = new ApiUrls(new[] { "_aliases" }); internal static ApiUrls IndexManagementValidateQuery = new ApiUrls(new[] { "_validate/query", "{index}/_validate/query" }); + internal static ApiUrls InferenceDelete = new ApiUrls(new[] { "_inference/{inference_id}", "_inference/{task_type}/{inference_id}" }); + internal static ApiUrls InferenceGet = new ApiUrls(new[] { "_inference", "_inference/{inference_id}", "_inference/{task_type}/{inference_id}" }); + internal static ApiUrls InferenceInference = new ApiUrls(new[] { "_inference/{inference_id}", "_inference/{task_type}/{inference_id}" }); + internal static ApiUrls InferencePut = new ApiUrls(new[] { "_inference/{inference_id}", "_inference/{task_type}/{inference_id}" }); internal static ApiUrls IngestDeleteGeoipDatabase = new ApiUrls(new[] { "_ingest/geoip/database/{id}" }); internal static ApiUrls IngestDeletePipeline = new ApiUrls(new[] { "_ingest/pipeline/{id}" }); internal static ApiUrls IngestGeoIpStats = new ApiUrls(new[] { "_ingest/geoip/stats" }); @@ -218,6 +222,7 @@ internal static class ApiUrlLookup internal static ApiUrls QueryRulesListRulesets = new ApiUrls(new[] { "_query_rules" }); internal static ApiUrls QueryRulesPutRule = new ApiUrls(new[] { "_query_rules/{ruleset_id}/_rule/{rule_id}" }); internal static ApiUrls QueryRulesPutRuleset = new ApiUrls(new[] { "_query_rules/{ruleset_id}" }); + internal static ApiUrls QueryRulesTest = new ApiUrls(new[] { "_query_rules/{ruleset_id}/_test" }); internal static ApiUrls SecurityActivateUserProfile = new ApiUrls(new[] { "_security/profile/_activate" }); internal static ApiUrls SecurityAuthenticate = new ApiUrls(new[] { "_security/_authenticate" }); internal static ApiUrls SecurityBulkDeleteRole = new ApiUrls(new[] { "_security/role" }); diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/AsyncSearch/AsyncSearchStatusRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/AsyncSearch/AsyncSearchStatusRequest.g.cs index c87bdfffbbe..dbeb916562f 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/AsyncSearch/AsyncSearchStatusRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/AsyncSearch/AsyncSearchStatusRequest.g.cs @@ -36,8 +36,10 @@ public sealed partial class AsyncSearchStatusRequestParameters : RequestParamete /// /// -/// Get async search status -/// Retrieves the status of a previously submitted async search request given its identifier, without retrieving search results. +/// Get the async search status. +/// +/// +/// Get the status of a previously submitted async search request given its identifier, without retrieving search results. /// If the Elasticsearch security features are enabled, use of this API is restricted to the monitoring_user role. /// /// @@ -58,8 +60,10 @@ public AsyncSearchStatusRequest(Elastic.Clients.Elasticsearch.Serverless.Id id) /// /// -/// Get async search status -/// Retrieves the status of a previously submitted async search request given its identifier, without retrieving search results. +/// Get the async search status. +/// +/// +/// Get the status of a previously submitted async search request given its identifier, without retrieving search results. /// If the Elasticsearch security features are enabled, use of this API is restricted to the monitoring_user role. /// /// @@ -92,8 +96,10 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o /// /// -/// Get async search status -/// Retrieves the status of a previously submitted async search request given its identifier, without retrieving search results. +/// Get the async search status. +/// +/// +/// Get the status of a previously submitted async search request given its identifier, without retrieving search results. /// If the Elasticsearch security features are enabled, use of this API is restricted to the monitoring_user role. /// /// diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/AsyncSearch/DeleteAsyncSearchRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/AsyncSearch/DeleteAsyncSearchRequest.g.cs index 5f52d5657f5..3d0db2d1b6f 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/AsyncSearch/DeleteAsyncSearchRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/AsyncSearch/DeleteAsyncSearchRequest.g.cs @@ -36,8 +36,10 @@ public sealed partial class DeleteAsyncSearchRequestParameters : RequestParamete /// /// -/// Deletes an async search by identifier. -/// If the search is still running, the search request will be cancelled. +/// Delete an async search. +/// +/// +/// If the asynchronous search is still running, it is cancelled. /// Otherwise, the saved search results are deleted. /// If the Elasticsearch security features are enabled, the deletion of a specific async search is restricted to: the authenticated user that submitted the original search request; users that have the cancel_task cluster privilege. /// @@ -59,8 +61,10 @@ public DeleteAsyncSearchRequest(Elastic.Clients.Elasticsearch.Serverless.Id id) /// /// -/// Deletes an async search by identifier. -/// If the search is still running, the search request will be cancelled. +/// Delete an async search. +/// +/// +/// If the asynchronous search is still running, it is cancelled. /// Otherwise, the saved search results are deleted. /// If the Elasticsearch security features are enabled, the deletion of a specific async search is restricted to: the authenticated user that submitted the original search request; users that have the cancel_task cluster privilege. /// @@ -94,8 +98,10 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o /// /// -/// Deletes an async search by identifier. -/// If the search is still running, the search request will be cancelled. +/// Delete an async search. +/// +/// +/// If the asynchronous search is still running, it is cancelled. /// Otherwise, the saved search results are deleted. /// If the Elasticsearch security features are enabled, the deletion of a specific async search is restricted to: the authenticated user that submitted the original search request; users that have the cancel_task cluster privilege. /// diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/AsyncSearch/GetAsyncSearchRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/AsyncSearch/GetAsyncSearchRequest.g.cs index eb6996e3141..773597370a7 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/AsyncSearch/GetAsyncSearchRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/AsyncSearch/GetAsyncSearchRequest.g.cs @@ -62,7 +62,10 @@ public sealed partial class GetAsyncSearchRequestParameters : RequestParameters /// /// -/// Retrieves the results of a previously submitted async search request given its identifier. +/// Get async search results. +/// +/// +/// Retrieve the results of a previously submitted asynchronous search request. /// If the Elasticsearch security features are enabled, access to the results of a specific async search is restricted to the user or API key that submitted it. /// /// @@ -113,7 +116,10 @@ public GetAsyncSearchRequest(Elastic.Clients.Elasticsearch.Serverless.Id id) : b /// /// -/// Retrieves the results of a previously submitted async search request given its identifier. +/// Get async search results. +/// +/// +/// Retrieve the results of a previously submitted asynchronous search request. /// If the Elasticsearch security features are enabled, access to the results of a specific async search is restricted to the user or API key that submitted it. /// /// @@ -150,7 +156,10 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o /// /// -/// Retrieves the results of a previously submitted async search request given its identifier. +/// Get async search results. +/// +/// +/// Retrieve the results of a previously submitted asynchronous search request. /// If the Elasticsearch security features are enabled, access to the results of a specific async search is restricted to the user or API key that submitted it. /// /// diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/AsyncSearch/SubmitAsyncSearchRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/AsyncSearch/SubmitAsyncSearchRequest.g.cs index 201bd4cacd2..eecf690c28d 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/AsyncSearch/SubmitAsyncSearchRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/AsyncSearch/SubmitAsyncSearchRequest.g.cs @@ -138,7 +138,6 @@ public sealed partial class SubmitAsyncSearchRequestParameters : RequestParamete /// /// public long? MaxConcurrentShardRequests { get => Q("max_concurrent_shard_requests"); set => Q("max_concurrent_shard_requests", value); } - public string? MinCompatibleShardNode { get => Q("min_compatible_shard_node"); set => Q("min_compatible_shard_node", value); } /// /// @@ -652,10 +651,16 @@ public override void Write(Utf8JsonWriter writer, SubmitAsyncSearchRequest value /// /// -/// Runs a search request asynchronously. -/// When the primary sort of the results is an indexed field, shards get sorted based on minimum and maximum value that they hold for that field, hence partial results become available following the sort criteria that was requested. -/// Warning: Async search does not support scroll nor search requests that only include the suggest section. -/// By default, Elasticsearch doesn’t allow you to store an async search response larger than 10Mb and an attempt to do this results in an error. +/// Run an async search. +/// +/// +/// When the primary sort of the results is an indexed field, shards get sorted based on minimum and maximum value that they hold for that field. Partial results become available following the sort criteria that was requested. +/// +/// +/// Warning: Asynchronous search does not support scroll or search requests that include only the suggest section. +/// +/// +/// By default, Elasticsearch does not allow you to store an async search response larger than 10Mb and an attempt to do this results in an error. /// The maximum allowed size for a stored async search response can be set by changing the search.max_async_search_response_size cluster level setting. /// /// @@ -799,8 +804,6 @@ public SubmitAsyncSearchRequest(Elastic.Clients.Elasticsearch.Serverless.Indices /// [JsonIgnore] public long? MaxConcurrentShardRequests { get => Q("max_concurrent_shard_requests"); set => Q("max_concurrent_shard_requests", value); } - [JsonIgnore] - public string? MinCompatibleShardNode { get => Q("min_compatible_shard_node"); set => Q("min_compatible_shard_node", value); } /// /// @@ -1145,10 +1148,16 @@ public SubmitAsyncSearchRequest(Elastic.Clients.Elasticsearch.Serverless.Indices /// /// -/// Runs a search request asynchronously. -/// When the primary sort of the results is an indexed field, shards get sorted based on minimum and maximum value that they hold for that field, hence partial results become available following the sort criteria that was requested. -/// Warning: Async search does not support scroll nor search requests that only include the suggest section. -/// By default, Elasticsearch doesn’t allow you to store an async search response larger than 10Mb and an attempt to do this results in an error. +/// Run an async search. +/// +/// +/// When the primary sort of the results is an indexed field, shards get sorted based on minimum and maximum value that they hold for that field. Partial results become available following the sort criteria that was requested. +/// +/// +/// Warning: Asynchronous search does not support scroll or search requests that include only the suggest section. +/// +/// +/// By default, Elasticsearch does not allow you to store an async search response larger than 10Mb and an attempt to do this results in an error. /// The maximum allowed size for a stored async search response can be set by changing the search.max_async_search_response_size cluster level setting. /// /// @@ -1187,7 +1196,6 @@ public SubmitAsyncSearchRequestDescriptor() public SubmitAsyncSearchRequestDescriptor KeepOnCompletion(bool? keepOnCompletion = true) => Qs("keep_on_completion", keepOnCompletion); public SubmitAsyncSearchRequestDescriptor Lenient(bool? lenient = true) => Qs("lenient", lenient); public SubmitAsyncSearchRequestDescriptor MaxConcurrentShardRequests(long? maxConcurrentShardRequests) => Qs("max_concurrent_shard_requests", maxConcurrentShardRequests); - public SubmitAsyncSearchRequestDescriptor MinCompatibleShardNode(string? minCompatibleShardNode) => Qs("min_compatible_shard_node", minCompatibleShardNode); public SubmitAsyncSearchRequestDescriptor Preference(string? preference) => Qs("preference", preference); public SubmitAsyncSearchRequestDescriptor PreFilterShardSize(long? preFilterShardSize) => Qs("pre_filter_shard_size", preFilterShardSize); public SubmitAsyncSearchRequestDescriptor QueryLuceneSyntax(string? queryLuceneSyntax) => Qs("q", queryLuceneSyntax); @@ -2264,10 +2272,16 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o /// /// -/// Runs a search request asynchronously. -/// When the primary sort of the results is an indexed field, shards get sorted based on minimum and maximum value that they hold for that field, hence partial results become available following the sort criteria that was requested. -/// Warning: Async search does not support scroll nor search requests that only include the suggest section. -/// By default, Elasticsearch doesn’t allow you to store an async search response larger than 10Mb and an attempt to do this results in an error. +/// Run an async search. +/// +/// +/// When the primary sort of the results is an indexed field, shards get sorted based on minimum and maximum value that they hold for that field. Partial results become available following the sort criteria that was requested. +/// +/// +/// Warning: Asynchronous search does not support scroll or search requests that include only the suggest section. +/// +/// +/// By default, Elasticsearch does not allow you to store an async search response larger than 10Mb and an attempt to do this results in an error. /// The maximum allowed size for a stored async search response can be set by changing the search.max_async_search_response_size cluster level setting. /// /// @@ -2306,7 +2320,6 @@ public SubmitAsyncSearchRequestDescriptor() public SubmitAsyncSearchRequestDescriptor KeepOnCompletion(bool? keepOnCompletion = true) => Qs("keep_on_completion", keepOnCompletion); public SubmitAsyncSearchRequestDescriptor Lenient(bool? lenient = true) => Qs("lenient", lenient); public SubmitAsyncSearchRequestDescriptor MaxConcurrentShardRequests(long? maxConcurrentShardRequests) => Qs("max_concurrent_shard_requests", maxConcurrentShardRequests); - public SubmitAsyncSearchRequestDescriptor MinCompatibleShardNode(string? minCompatibleShardNode) => Qs("min_compatible_shard_node", minCompatibleShardNode); public SubmitAsyncSearchRequestDescriptor Preference(string? preference) => Qs("preference", preference); public SubmitAsyncSearchRequestDescriptor PreFilterShardSize(long? preFilterShardSize) => Qs("pre_filter_shard_size", preFilterShardSize); public SubmitAsyncSearchRequestDescriptor QueryLuceneSyntax(string? queryLuceneSyntax) => Qs("q", queryLuceneSyntax); diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ClearScrollRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ClearScrollRequest.g.cs index 5ef6d921fee..d0dec945da3 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ClearScrollRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ClearScrollRequest.g.cs @@ -36,7 +36,10 @@ public sealed partial class ClearScrollRequestParameters : RequestParameters /// /// -/// Clears the search context and results for a scrolling search. +/// Clear a scrolling search. +/// +/// +/// Clear the search context and results for a scrolling search. /// /// public sealed partial class ClearScrollRequest : PlainRequest @@ -61,7 +64,10 @@ public sealed partial class ClearScrollRequest : PlainRequest /// -/// Clears the search context and results for a scrolling search. +/// Clear a scrolling search. +/// +/// +/// Clear the search context and results for a scrolling search. /// /// public sealed partial class ClearScrollRequestDescriptor : RequestDescriptor diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ClosePointInTimeRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ClosePointInTimeRequest.g.cs index fce101f4962..843be08f62d 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ClosePointInTimeRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ClosePointInTimeRequest.g.cs @@ -36,7 +36,13 @@ public sealed partial class ClosePointInTimeRequestParameters : RequestParameter /// /// -/// Closes a point-in-time. +/// Close a point in time. +/// +/// +/// A point in time must be opened explicitly before being used in search requests. +/// The keep_alive parameter tells Elasticsearch how long it should persist. +/// A point in time is automatically closed when the keep_alive period has elapsed. +/// However, keeping points in time has a cost; close them as soon as they are no longer required for search requests. /// /// public sealed partial class ClosePointInTimeRequest : PlainRequest @@ -60,7 +66,13 @@ public sealed partial class ClosePointInTimeRequest : PlainRequest /// -/// Closes a point-in-time. +/// Close a point in time. +/// +/// +/// A point in time must be opened explicitly before being used in search requests. +/// The keep_alive parameter tells Elasticsearch how long it should persist. +/// A point in time is automatically closed when the keep_alive period has elapsed. +/// However, keeping points in time has a cost; close them as soon as they are no longer required for search requests. /// /// public sealed partial class ClosePointInTimeRequestDescriptor : RequestDescriptor diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/DeleteByQueryRethrottleRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/DeleteByQueryRethrottleRequest.g.cs index e56fc10d40d..4b332640fe0 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/DeleteByQueryRethrottleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/DeleteByQueryRethrottleRequest.g.cs @@ -42,7 +42,11 @@ public sealed partial class DeleteByQueryRethrottleRequestParameters : RequestPa /// /// -/// Changes the number of requests per second for a particular Delete By Query operation. +/// Throttle a delete by query operation. +/// +/// +/// Change the number of requests per second for a particular delete by query operation. +/// Rethrottling that speeds up the query takes effect immediately but rethrotting that slows down the query takes effect after completing the current batch to prevent scroll timeouts. /// /// public sealed partial class DeleteByQueryRethrottleRequest : PlainRequest @@ -70,7 +74,11 @@ public DeleteByQueryRethrottleRequest(Elastic.Clients.Elasticsearch.Serverless.T /// /// -/// Changes the number of requests per second for a particular Delete By Query operation. +/// Throttle a delete by query operation. +/// +/// +/// Change the number of requests per second for a particular delete by query operation. +/// Rethrottling that speeds up the query takes effect immediately but rethrotting that slows down the query takes effect after completing the current batch to prevent scroll timeouts. /// /// public sealed partial class DeleteByQueryRethrottleRequestDescriptor : RequestDescriptor diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Eql/EqlSearchRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Eql/EqlSearchRequest.g.cs index f01dfc28fc2..ed8d5a287a1 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Eql/EqlSearchRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Eql/EqlSearchRequest.g.cs @@ -115,6 +115,16 @@ public EqlSearchRequest(Elastic.Clients.Elasticsearch.Serverless.Indices indices [JsonInclude, JsonPropertyName("keep_on_completion")] public bool? KeepOnCompletion { get; set; } + /// + /// + /// By default, the response of a sample query contains up to 10 samples, with one sample per unique set of join keys. Use the size + /// parameter to get a smaller or larger set of samples. To retrieve more than one sample per set of join keys, use the + /// max_samples_per_key parameter. Pipes are not supported for sample queries. + /// + /// + [JsonInclude, JsonPropertyName("max_samples_per_key")] + public int? MaxSamplesPerKey { get; set; } + /// /// /// EQL query you wish to run. @@ -202,6 +212,7 @@ public EqlSearchRequestDescriptor Indices(Elastic.Clients.Elasticsear private Action>[] FilterDescriptorActions { get; set; } private Elastic.Clients.Elasticsearch.Serverless.Duration? KeepAliveValue { get; set; } private bool? KeepOnCompletionValue { get; set; } + private int? MaxSamplesPerKeyValue { get; set; } private string QueryValue { get; set; } private Elastic.Clients.Elasticsearch.Serverless.Eql.ResultPosition? ResultPositionValue { get; set; } private IDictionary> RuntimeMappingsValue { get; set; } @@ -354,6 +365,19 @@ public EqlSearchRequestDescriptor KeepOnCompletion(bool? keepOnComple return Self; } + /// + /// + /// By default, the response of a sample query contains up to 10 samples, with one sample per unique set of join keys. Use the size + /// parameter to get a smaller or larger set of samples. To retrieve more than one sample per set of join keys, use the + /// max_samples_per_key parameter. Pipes are not supported for sample queries. + /// + /// + public EqlSearchRequestDescriptor MaxSamplesPerKey(int? maxSamplesPerKey) + { + MaxSamplesPerKeyValue = maxSamplesPerKey; + return Self; + } + /// /// /// EQL query you wish to run. @@ -551,6 +575,12 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o writer.WriteBooleanValue(KeepOnCompletionValue.Value); } + if (MaxSamplesPerKeyValue.HasValue) + { + writer.WritePropertyName("max_samples_per_key"); + writer.WriteNumberValue(MaxSamplesPerKeyValue.Value); + } + writer.WritePropertyName("query"); writer.WriteStringValue(QueryValue); if (ResultPositionValue is not null) @@ -637,6 +667,7 @@ public EqlSearchRequestDescriptor Indices(Elastic.Clients.Elasticsearch.Serverle private Action[] FilterDescriptorActions { get; set; } private Elastic.Clients.Elasticsearch.Serverless.Duration? KeepAliveValue { get; set; } private bool? KeepOnCompletionValue { get; set; } + private int? MaxSamplesPerKeyValue { get; set; } private string QueryValue { get; set; } private Elastic.Clients.Elasticsearch.Serverless.Eql.ResultPosition? ResultPositionValue { get; set; } private IDictionary RuntimeMappingsValue { get; set; } @@ -789,6 +820,19 @@ public EqlSearchRequestDescriptor KeepOnCompletion(bool? keepOnCompletion = true return Self; } + /// + /// + /// By default, the response of a sample query contains up to 10 samples, with one sample per unique set of join keys. Use the size + /// parameter to get a smaller or larger set of samples. To retrieve more than one sample per set of join keys, use the + /// max_samples_per_key parameter. Pipes are not supported for sample queries. + /// + /// + public EqlSearchRequestDescriptor MaxSamplesPerKey(int? maxSamplesPerKey) + { + MaxSamplesPerKeyValue = maxSamplesPerKey; + return Self; + } + /// /// /// EQL query you wish to run. @@ -986,6 +1030,12 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o writer.WriteBooleanValue(KeepOnCompletionValue.Value); } + if (MaxSamplesPerKeyValue.HasValue) + { + writer.WritePropertyName("max_samples_per_key"); + writer.WriteNumberValue(MaxSamplesPerKeyValue.Value); + } + writer.WritePropertyName("query"); writer.WriteStringValue(QueryValue); if (ResultPositionValue is not null) diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/FieldCapsRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/FieldCapsRequest.g.cs index da4e00b2404..c947c938007 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/FieldCapsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/FieldCapsRequest.g.cs @@ -86,9 +86,15 @@ public sealed partial class FieldCapsRequestParameters : RequestParameters /// /// -/// The field capabilities API returns the information about the capabilities of fields among multiple indices. -/// The field capabilities API returns runtime fields like any other field. For example, a runtime field with a type -/// of keyword is returned as any other field that belongs to the keyword family. +/// Get the field capabilities. +/// +/// +/// Get information about the capabilities of fields among multiple indices. +/// +/// +/// For data streams, the API returns field capabilities among the stream’s backing indices. +/// It returns runtime fields like any other field. +/// For example, a runtime field with a type of keyword is returned the same as any other field that belongs to the keyword family. /// /// public sealed partial class FieldCapsRequest : PlainRequest @@ -196,9 +202,15 @@ public FieldCapsRequest(Elastic.Clients.Elasticsearch.Serverless.Indices? indice /// /// -/// The field capabilities API returns the information about the capabilities of fields among multiple indices. -/// The field capabilities API returns runtime fields like any other field. For example, a runtime field with a type -/// of keyword is returned as any other field that belongs to the keyword family. +/// Get the field capabilities. +/// +/// +/// Get information about the capabilities of fields among multiple indices. +/// +/// +/// For data streams, the API returns field capabilities among the stream’s backing indices. +/// It returns runtime fields like any other field. +/// For example, a runtime field with a type of keyword is returned the same as any other field that belongs to the keyword family. /// /// public sealed partial class FieldCapsRequestDescriptor : RequestDescriptor, FieldCapsRequestParameters> @@ -330,9 +342,15 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o /// /// -/// The field capabilities API returns the information about the capabilities of fields among multiple indices. -/// The field capabilities API returns runtime fields like any other field. For example, a runtime field with a type -/// of keyword is returned as any other field that belongs to the keyword family. +/// Get the field capabilities. +/// +/// +/// Get information about the capabilities of fields among multiple indices. +/// +/// +/// For data streams, the API returns field capabilities among the stream’s backing indices. +/// It returns runtime fields like any other field. +/// For example, a runtime field with a type of keyword is returned the same as any other field that belongs to the keyword family. /// /// public sealed partial class FieldCapsRequestDescriptor : RequestDescriptor diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/AnalyzeIndexRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/AnalyzeIndexRequest.g.cs index 19c041d5f48..81d71987457 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/AnalyzeIndexRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/AnalyzeIndexRequest.g.cs @@ -36,7 +36,8 @@ public sealed partial class AnalyzeIndexRequestParameters : RequestParameters /// /// -/// Performs analysis on a text string and returns the resulting tokens. +/// Get tokens from text analysis. +/// The analyze API performs analysis on a text string and returns the resulting tokens. /// /// public sealed partial class AnalyzeIndexRequest : PlainRequest @@ -137,7 +138,8 @@ public AnalyzeIndexRequest(Elastic.Clients.Elasticsearch.Serverless.IndexName? i /// /// -/// Performs analysis on a text string and returns the resulting tokens. +/// Get tokens from text analysis. +/// The analyze API performs analysis on a text string and returns the resulting tokens. /// /// public sealed partial class AnalyzeIndexRequestDescriptor : RequestDescriptor, AnalyzeIndexRequestParameters> @@ -368,7 +370,8 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o /// /// -/// Performs analysis on a text string and returns the resulting tokens. +/// Get tokens from text analysis. +/// The analyze API performs analysis on a text string and returns the resulting tokens. /// /// public sealed partial class AnalyzeIndexRequestDescriptor : RequestDescriptor diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/ExistsAliasRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/ExistsAliasRequest.g.cs index 9f27881dc8f..31b5341d649 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/ExistsAliasRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/ExistsAliasRequest.g.cs @@ -56,13 +56,6 @@ public sealed partial class ExistsAliasRequestParameters : RequestParameters /// /// public bool? IgnoreUnavailable { get => Q("ignore_unavailable"); set => Q("ignore_unavailable", value); } - - /// - /// - /// If true, the request retrieves information from the local node only. - /// - /// - public bool? Local { get => Q("local"); set => Q("local", value); } } /// @@ -116,14 +109,6 @@ public ExistsAliasRequest(Elastic.Clients.Elasticsearch.Serverless.Indices? indi /// [JsonIgnore] public bool? IgnoreUnavailable { get => Q("ignore_unavailable"); set => Q("ignore_unavailable", value); } - - /// - /// - /// If true, the request retrieves information from the local node only. - /// - /// - [JsonIgnore] - public bool? Local { get => Q("local"); set => Q("local", value); } } /// @@ -155,7 +140,6 @@ public ExistsAliasRequestDescriptor(Elastic.Clients.Elasticsearch.Serverless.Nam public ExistsAliasRequestDescriptor AllowNoIndices(bool? allowNoIndices = true) => Qs("allow_no_indices", allowNoIndices); public ExistsAliasRequestDescriptor ExpandWildcards(ICollection? expandWildcards) => Qs("expand_wildcards", expandWildcards); public ExistsAliasRequestDescriptor IgnoreUnavailable(bool? ignoreUnavailable = true) => Qs("ignore_unavailable", ignoreUnavailable); - public ExistsAliasRequestDescriptor Local(bool? local = true) => Qs("local", local); public ExistsAliasRequestDescriptor Indices(Elastic.Clients.Elasticsearch.Serverless.Indices? indices) { @@ -203,7 +187,6 @@ public ExistsAliasRequestDescriptor(Elastic.Clients.Elasticsearch.Serverless.Nam public ExistsAliasRequestDescriptor AllowNoIndices(bool? allowNoIndices = true) => Qs("allow_no_indices", allowNoIndices); public ExistsAliasRequestDescriptor ExpandWildcards(ICollection? expandWildcards) => Qs("expand_wildcards", expandWildcards); public ExistsAliasRequestDescriptor IgnoreUnavailable(bool? ignoreUnavailable = true) => Qs("ignore_unavailable", ignoreUnavailable); - public ExistsAliasRequestDescriptor Local(bool? local = true) => Qs("local", local); public ExistsAliasRequestDescriptor Indices(Elastic.Clients.Elasticsearch.Serverless.Indices? indices) { diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/GetAliasRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/GetAliasRequest.g.cs index 53820d6bb2a..8af03179f6b 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/GetAliasRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/GetAliasRequest.g.cs @@ -56,13 +56,6 @@ public sealed partial class GetAliasRequestParameters : RequestParameters /// /// public bool? IgnoreUnavailable { get => Q("ignore_unavailable"); set => Q("ignore_unavailable", value); } - - /// - /// - /// If true, the request retrieves information from the local node only. - /// - /// - public bool? Local { get => Q("local"); set => Q("local", value); } } /// @@ -124,14 +117,6 @@ public GetAliasRequest(Elastic.Clients.Elasticsearch.Serverless.Indices? indices /// [JsonIgnore] public bool? IgnoreUnavailable { get => Q("ignore_unavailable"); set => Q("ignore_unavailable", value); } - - /// - /// - /// If true, the request retrieves information from the local node only. - /// - /// - [JsonIgnore] - public bool? Local { get => Q("local"); set => Q("local", value); } } /// @@ -163,7 +148,6 @@ public GetAliasRequestDescriptor() public GetAliasRequestDescriptor AllowNoIndices(bool? allowNoIndices = true) => Qs("allow_no_indices", allowNoIndices); public GetAliasRequestDescriptor ExpandWildcards(ICollection? expandWildcards) => Qs("expand_wildcards", expandWildcards); public GetAliasRequestDescriptor IgnoreUnavailable(bool? ignoreUnavailable = true) => Qs("ignore_unavailable", ignoreUnavailable); - public GetAliasRequestDescriptor Local(bool? local = true) => Qs("local", local); public GetAliasRequestDescriptor Indices(Elastic.Clients.Elasticsearch.Serverless.Indices? indices) { @@ -211,7 +195,6 @@ public GetAliasRequestDescriptor() public GetAliasRequestDescriptor AllowNoIndices(bool? allowNoIndices = true) => Qs("allow_no_indices", allowNoIndices); public GetAliasRequestDescriptor ExpandWildcards(ICollection? expandWildcards) => Qs("expand_wildcards", expandWildcards); public GetAliasRequestDescriptor IgnoreUnavailable(bool? ignoreUnavailable = true) => Qs("ignore_unavailable", ignoreUnavailable); - public GetAliasRequestDescriptor Local(bool? local = true) => Qs("local", local); public GetAliasRequestDescriptor Indices(Elastic.Clients.Elasticsearch.Serverless.Indices? indices) { diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/PutDataLifecycleRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/PutDataLifecycleRequest.g.cs index 3c979b58a57..39f545869db 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/PutDataLifecycleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/PutDataLifecycleRequest.g.cs @@ -65,7 +65,7 @@ public sealed partial class PutDataLifecycleRequestParameters : RequestParameter /// Update the data stream lifecycle of the specified data streams. /// /// -public sealed partial class PutDataLifecycleRequest : PlainRequest +public sealed partial class PutDataLifecycleRequest : PlainRequest, ISelfSerializable { public PutDataLifecycleRequest(Elastic.Clients.Elasticsearch.Serverless.DataStreamNames name) : base(r => r.Required("name", name)) { @@ -107,25 +107,13 @@ public PutDataLifecycleRequest(Elastic.Clients.Elasticsearch.Serverless.DataStre /// [JsonIgnore] public Elastic.Clients.Elasticsearch.Serverless.Duration? Timeout { get => Q("timeout"); set => Q("timeout", value); } + [JsonIgnore] + public Elastic.Clients.Elasticsearch.Serverless.IndexManagement.DataStreamLifecycle Lifecycle { get; set; } - /// - /// - /// If defined, every document added to this data stream will be stored at least for this time frame. - /// Any time after this duration the document could be deleted. - /// When empty, every document in this data stream will be stored indefinitely. - /// - /// - [JsonInclude, JsonPropertyName("data_retention")] - public Elastic.Clients.Elasticsearch.Serverless.Duration? DataRetention { get; set; } - - /// - /// - /// If defined, every backing index will execute the configured downsampling configuration after the backing - /// index is not the data stream write index anymore. - /// - /// - [JsonInclude, JsonPropertyName("downsampling")] - public Elastic.Clients.Elasticsearch.Serverless.IndexManagement.DataStreamLifecycleDownsampling? Downsampling { get; set; } + void ISelfSerializable.Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) + { + JsonSerializer.Serialize(writer, Lifecycle, options); + } } /// @@ -137,10 +125,7 @@ public PutDataLifecycleRequest(Elastic.Clients.Elasticsearch.Serverless.DataStre public sealed partial class PutDataLifecycleRequestDescriptor : RequestDescriptor { internal PutDataLifecycleRequestDescriptor(Action configure) => configure.Invoke(this); - - public PutDataLifecycleRequestDescriptor(Elastic.Clients.Elasticsearch.Serverless.DataStreamNames name) : base(r => r.Required("name", name)) - { - } + public PutDataLifecycleRequestDescriptor(Elastic.Clients.Elasticsearch.Serverless.IndexManagement.DataStreamLifecycle lifecycle, Elastic.Clients.Elasticsearch.Serverless.DataStreamNames name) : base(r => r.Required("name", name)) => LifecycleValue = lifecycle; internal override ApiUrls ApiUrls => ApiUrlLookup.IndexManagementPutDataLifecycle; @@ -160,79 +145,36 @@ public PutDataLifecycleRequestDescriptor Name(Elastic.Clients.Elasticsearch.Serv return Self; } - private Elastic.Clients.Elasticsearch.Serverless.Duration? DataRetentionValue { get; set; } - private Elastic.Clients.Elasticsearch.Serverless.IndexManagement.DataStreamLifecycleDownsampling? DownsamplingValue { get; set; } - private Elastic.Clients.Elasticsearch.Serverless.IndexManagement.DataStreamLifecycleDownsamplingDescriptor DownsamplingDescriptor { get; set; } - private Action DownsamplingDescriptorAction { get; set; } + private Elastic.Clients.Elasticsearch.Serverless.IndexManagement.DataStreamLifecycle LifecycleValue { get; set; } + private Elastic.Clients.Elasticsearch.Serverless.IndexManagement.DataStreamLifecycleDescriptor LifecycleDescriptor { get; set; } + private Action LifecycleDescriptorAction { get; set; } - /// - /// - /// If defined, every document added to this data stream will be stored at least for this time frame. - /// Any time after this duration the document could be deleted. - /// When empty, every document in this data stream will be stored indefinitely. - /// - /// - public PutDataLifecycleRequestDescriptor DataRetention(Elastic.Clients.Elasticsearch.Serverless.Duration? dataRetention) - { - DataRetentionValue = dataRetention; - return Self; - } - - /// - /// - /// If defined, every backing index will execute the configured downsampling configuration after the backing - /// index is not the data stream write index anymore. - /// - /// - public PutDataLifecycleRequestDescriptor Downsampling(Elastic.Clients.Elasticsearch.Serverless.IndexManagement.DataStreamLifecycleDownsampling? downsampling) + public PutDataLifecycleRequestDescriptor Lifecycle(Elastic.Clients.Elasticsearch.Serverless.IndexManagement.DataStreamLifecycle lifecycle) { - DownsamplingDescriptor = null; - DownsamplingDescriptorAction = null; - DownsamplingValue = downsampling; + LifecycleDescriptor = null; + LifecycleDescriptorAction = null; + LifecycleValue = lifecycle; return Self; } - public PutDataLifecycleRequestDescriptor Downsampling(Elastic.Clients.Elasticsearch.Serverless.IndexManagement.DataStreamLifecycleDownsamplingDescriptor descriptor) + public PutDataLifecycleRequestDescriptor Lifecycle(Elastic.Clients.Elasticsearch.Serverless.IndexManagement.DataStreamLifecycleDescriptor descriptor) { - DownsamplingValue = null; - DownsamplingDescriptorAction = null; - DownsamplingDescriptor = descriptor; + LifecycleValue = null; + LifecycleDescriptorAction = null; + LifecycleDescriptor = descriptor; return Self; } - public PutDataLifecycleRequestDescriptor Downsampling(Action configure) + public PutDataLifecycleRequestDescriptor Lifecycle(Action configure) { - DownsamplingValue = null; - DownsamplingDescriptor = null; - DownsamplingDescriptorAction = configure; + LifecycleValue = null; + LifecycleDescriptor = null; + LifecycleDescriptorAction = configure; return Self; } protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) { - writer.WriteStartObject(); - if (DataRetentionValue is not null) - { - writer.WritePropertyName("data_retention"); - JsonSerializer.Serialize(writer, DataRetentionValue, options); - } - - if (DownsamplingDescriptor is not null) - { - writer.WritePropertyName("downsampling"); - JsonSerializer.Serialize(writer, DownsamplingDescriptor, options); - } - else if (DownsamplingDescriptorAction is not null) - { - writer.WritePropertyName("downsampling"); - JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.Serverless.IndexManagement.DataStreamLifecycleDownsamplingDescriptor(DownsamplingDescriptorAction), options); - } - else if (DownsamplingValue is not null) - { - writer.WritePropertyName("downsampling"); - JsonSerializer.Serialize(writer, DownsamplingValue, options); - } - - writer.WriteEndObject(); + JsonSerializer.Serialize(writer, LifecycleValue, options); } } \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/SegmentsRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/SegmentsRequest.g.cs index 0960e65ef67..81234631b70 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/SegmentsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/SegmentsRequest.g.cs @@ -56,13 +56,6 @@ public sealed partial class SegmentsRequestParameters : RequestParameters /// /// public bool? IgnoreUnavailable { get => Q("ignore_unavailable"); set => Q("ignore_unavailable", value); } - - /// - /// - /// If true, the request returns a verbose response. - /// - /// - public bool? Verbose { get => Q("verbose"); set => Q("verbose", value); } } /// @@ -116,14 +109,6 @@ public SegmentsRequest(Elastic.Clients.Elasticsearch.Serverless.Indices? indices /// [JsonIgnore] public bool? IgnoreUnavailable { get => Q("ignore_unavailable"); set => Q("ignore_unavailable", value); } - - /// - /// - /// If true, the request returns a verbose response. - /// - /// - [JsonIgnore] - public bool? Verbose { get => Q("verbose"); set => Q("verbose", value); } } /// @@ -155,7 +140,6 @@ public SegmentsRequestDescriptor() public SegmentsRequestDescriptor AllowNoIndices(bool? allowNoIndices = true) => Qs("allow_no_indices", allowNoIndices); public SegmentsRequestDescriptor ExpandWildcards(ICollection? expandWildcards) => Qs("expand_wildcards", expandWildcards); public SegmentsRequestDescriptor IgnoreUnavailable(bool? ignoreUnavailable = true) => Qs("ignore_unavailable", ignoreUnavailable); - public SegmentsRequestDescriptor Verbose(bool? verbose = true) => Qs("verbose", verbose); public SegmentsRequestDescriptor Indices(Elastic.Clients.Elasticsearch.Serverless.Indices? indices) { @@ -197,7 +181,6 @@ public SegmentsRequestDescriptor() public SegmentsRequestDescriptor AllowNoIndices(bool? allowNoIndices = true) => Qs("allow_no_indices", allowNoIndices); public SegmentsRequestDescriptor ExpandWildcards(ICollection? expandWildcards) => Qs("expand_wildcards", expandWildcards); public SegmentsRequestDescriptor IgnoreUnavailable(bool? ignoreUnavailable = true) => Qs("ignore_unavailable", ignoreUnavailable); - public SegmentsRequestDescriptor Verbose(bool? verbose = true) => Qs("verbose", verbose); public SegmentsRequestDescriptor Indices(Elastic.Clients.Elasticsearch.Serverless.Indices? indices) { diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Inference/DeleteInferenceRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Inference/DeleteInferenceRequest.g.cs new file mode 100644 index 00000000000..b2db5f61ffa --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Inference/DeleteInferenceRequest.g.cs @@ -0,0 +1,133 @@ +// 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 Elastic.Clients.Elasticsearch.Serverless.Fluent; +using Elastic.Clients.Elasticsearch.Serverless.Requests; +using Elastic.Clients.Elasticsearch.Serverless.Serialization; +using Elastic.Transport; +using Elastic.Transport.Extensions; +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +namespace Elastic.Clients.Elasticsearch.Serverless.Inference; + +public sealed partial class DeleteInferenceRequestParameters : RequestParameters +{ + /// + /// + /// When true, the endpoint is not deleted, and a list of ingest processors which reference this endpoint is returned + /// + /// + public bool? DryRun { get => Q("dry_run"); set => Q("dry_run", value); } + + /// + /// + /// When true, the inference endpoint is forcefully deleted even if it is still being used by ingest processors or semantic text fields + /// + /// + public bool? Force { get => Q("force"); set => Q("force", value); } +} + +/// +/// +/// Delete an inference endpoint +/// +/// +public sealed partial class DeleteInferenceRequest : PlainRequest +{ + public DeleteInferenceRequest(Elastic.Clients.Elasticsearch.Serverless.Id inferenceId) : base(r => r.Required("inference_id", inferenceId)) + { + } + + public DeleteInferenceRequest(Elastic.Clients.Elasticsearch.Serverless.Inference.TaskType? taskType, Elastic.Clients.Elasticsearch.Serverless.Id inferenceId) : base(r => r.Optional("task_type", taskType).Required("inference_id", inferenceId)) + { + } + + internal override ApiUrls ApiUrls => ApiUrlLookup.InferenceDelete; + + protected override HttpMethod StaticHttpMethod => HttpMethod.DELETE; + + internal override bool SupportsBody => false; + + internal override string OperationName => "inference.delete"; + + /// + /// + /// When true, the endpoint is not deleted, and a list of ingest processors which reference this endpoint is returned + /// + /// + [JsonIgnore] + public bool? DryRun { get => Q("dry_run"); set => Q("dry_run", value); } + + /// + /// + /// When true, the inference endpoint is forcefully deleted even if it is still being used by ingest processors or semantic text fields + /// + /// + [JsonIgnore] + public bool? Force { get => Q("force"); set => Q("force", value); } +} + +/// +/// +/// Delete an inference endpoint +/// +/// +public sealed partial class DeleteInferenceRequestDescriptor : RequestDescriptor +{ + internal DeleteInferenceRequestDescriptor(Action configure) => configure.Invoke(this); + + public DeleteInferenceRequestDescriptor(Elastic.Clients.Elasticsearch.Serverless.Inference.TaskType? taskType, Elastic.Clients.Elasticsearch.Serverless.Id inferenceId) : base(r => r.Optional("task_type", taskType).Required("inference_id", inferenceId)) + { + } + + public DeleteInferenceRequestDescriptor(Elastic.Clients.Elasticsearch.Serverless.Id inferenceId) : base(r => r.Required("inference_id", inferenceId)) + { + } + + internal override ApiUrls ApiUrls => ApiUrlLookup.InferenceDelete; + + protected override HttpMethod StaticHttpMethod => HttpMethod.DELETE; + + internal override bool SupportsBody => false; + + internal override string OperationName => "inference.delete"; + + public DeleteInferenceRequestDescriptor DryRun(bool? dryRun = true) => Qs("dry_run", dryRun); + public DeleteInferenceRequestDescriptor Force(bool? force = true) => Qs("force", force); + + public DeleteInferenceRequestDescriptor InferenceId(Elastic.Clients.Elasticsearch.Serverless.Id inferenceId) + { + RouteValues.Required("inference_id", inferenceId); + return Self; + } + + public DeleteInferenceRequestDescriptor TaskType(Elastic.Clients.Elasticsearch.Serverless.Inference.TaskType? taskType) + { + RouteValues.Optional("task_type", taskType); + return Self; + } + + protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) + { + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Inference/DeleteInferenceResponse.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Inference/DeleteInferenceResponse.g.cs new file mode 100644 index 00000000000..87912c59bf7 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Inference/DeleteInferenceResponse.g.cs @@ -0,0 +1,40 @@ +// 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 Elastic.Clients.Elasticsearch.Serverless.Fluent; +using Elastic.Clients.Elasticsearch.Serverless.Serialization; +using Elastic.Transport.Products.Elasticsearch; +using System; +using System.Collections.Generic; +using System.Text.Json.Serialization; + +namespace Elastic.Clients.Elasticsearch.Serverless.Inference; + +public sealed partial class DeleteInferenceResponse : ElasticsearchResponse +{ + /// + /// + /// For a successful response, this value is always true. On failure, an exception is returned instead. + /// + /// + [JsonInclude, JsonPropertyName("acknowledged")] + public bool Acknowledged { get; init; } + [JsonInclude, JsonPropertyName("pipelines")] + public IReadOnlyCollection Pipelines { get; init; } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Inference/GetInferenceRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Inference/GetInferenceRequest.g.cs new file mode 100644 index 00000000000..f18bb03711f --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Inference/GetInferenceRequest.g.cs @@ -0,0 +1,105 @@ +// 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 Elastic.Clients.Elasticsearch.Serverless.Fluent; +using Elastic.Clients.Elasticsearch.Serverless.Requests; +using Elastic.Clients.Elasticsearch.Serverless.Serialization; +using Elastic.Transport; +using Elastic.Transport.Extensions; +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +namespace Elastic.Clients.Elasticsearch.Serverless.Inference; + +public sealed partial class GetInferenceRequestParameters : RequestParameters +{ +} + +/// +/// +/// Get an inference endpoint +/// +/// +public sealed partial class GetInferenceRequest : PlainRequest +{ + public GetInferenceRequest() + { + } + + public GetInferenceRequest(Elastic.Clients.Elasticsearch.Serverless.Id? inferenceId) : base(r => r.Optional("inference_id", inferenceId)) + { + } + + public GetInferenceRequest(Elastic.Clients.Elasticsearch.Serverless.Inference.TaskType? taskType, Elastic.Clients.Elasticsearch.Serverless.Id? inferenceId) : base(r => r.Optional("task_type", taskType).Optional("inference_id", inferenceId)) + { + } + + internal override ApiUrls ApiUrls => ApiUrlLookup.InferenceGet; + + protected override HttpMethod StaticHttpMethod => HttpMethod.GET; + + internal override bool SupportsBody => false; + + internal override string OperationName => "inference.get"; +} + +/// +/// +/// Get an inference endpoint +/// +/// +public sealed partial class GetInferenceRequestDescriptor : RequestDescriptor +{ + internal GetInferenceRequestDescriptor(Action configure) => configure.Invoke(this); + + public GetInferenceRequestDescriptor(Elastic.Clients.Elasticsearch.Serverless.Inference.TaskType? taskType, Elastic.Clients.Elasticsearch.Serverless.Id? inferenceId) : base(r => r.Optional("task_type", taskType).Optional("inference_id", inferenceId)) + { + } + + public GetInferenceRequestDescriptor() + { + } + + internal override ApiUrls ApiUrls => ApiUrlLookup.InferenceGet; + + protected override HttpMethod StaticHttpMethod => HttpMethod.GET; + + internal override bool SupportsBody => false; + + internal override string OperationName => "inference.get"; + + public GetInferenceRequestDescriptor InferenceId(Elastic.Clients.Elasticsearch.Serverless.Id? inferenceId) + { + RouteValues.Optional("inference_id", inferenceId); + return Self; + } + + public GetInferenceRequestDescriptor TaskType(Elastic.Clients.Elasticsearch.Serverless.Inference.TaskType? taskType) + { + RouteValues.Optional("task_type", taskType); + return Self; + } + + protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) + { + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Inference/GetInferenceResponse.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Inference/GetInferenceResponse.g.cs new file mode 100644 index 00000000000..eadcef93ac5 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Inference/GetInferenceResponse.g.cs @@ -0,0 +1,33 @@ +// 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 Elastic.Clients.Elasticsearch.Serverless.Fluent; +using Elastic.Clients.Elasticsearch.Serverless.Serialization; +using Elastic.Transport.Products.Elasticsearch; +using System; +using System.Collections.Generic; +using System.Text.Json.Serialization; + +namespace Elastic.Clients.Elasticsearch.Serverless.Inference; + +public sealed partial class GetInferenceResponse : ElasticsearchResponse +{ + [JsonInclude, JsonPropertyName("endpoints")] + public IReadOnlyCollection Endpoints { get; init; } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Inference/InferenceRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Inference/InferenceRequest.g.cs new file mode 100644 index 00000000000..6e94c6b33af --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Inference/InferenceRequest.g.cs @@ -0,0 +1,199 @@ +// 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 Elastic.Clients.Elasticsearch.Serverless.Fluent; +using Elastic.Clients.Elasticsearch.Serverless.Requests; +using Elastic.Clients.Elasticsearch.Serverless.Serialization; +using Elastic.Transport; +using Elastic.Transport.Extensions; +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +namespace Elastic.Clients.Elasticsearch.Serverless.Inference; + +public sealed partial class InferenceRequestParameters : RequestParameters +{ + /// + /// + /// Specifies the amount of time to wait for the inference request to complete. + /// + /// + public Elastic.Clients.Elasticsearch.Serverless.Duration? Timeout { get => Q("timeout"); set => Q("timeout", value); } +} + +/// +/// +/// Perform inference on the service +/// +/// +public sealed partial class InferenceRequest : PlainRequest +{ + public InferenceRequest(Elastic.Clients.Elasticsearch.Serverless.Id inferenceId) : base(r => r.Required("inference_id", inferenceId)) + { + } + + public InferenceRequest(Elastic.Clients.Elasticsearch.Serverless.Inference.TaskType? taskType, Elastic.Clients.Elasticsearch.Serverless.Id inferenceId) : base(r => r.Optional("task_type", taskType).Required("inference_id", inferenceId)) + { + } + + internal override ApiUrls ApiUrls => ApiUrlLookup.InferenceInference; + + protected override HttpMethod StaticHttpMethod => HttpMethod.POST; + + internal override bool SupportsBody => true; + + internal override string OperationName => "inference.inference"; + + /// + /// + /// Specifies the amount of time to wait for the inference request to complete. + /// + /// + [JsonIgnore] + public Elastic.Clients.Elasticsearch.Serverless.Duration? Timeout { get => Q("timeout"); set => Q("timeout", value); } + + /// + /// + /// Inference input. + /// Either a string or an array of strings. + /// + /// + [JsonInclude, JsonPropertyName("input")] + [SingleOrManyCollectionConverter(typeof(string))] + public ICollection Input { get; set; } + + /// + /// + /// Query input, required for rerank task. + /// Not required for other tasks. + /// + /// + [JsonInclude, JsonPropertyName("query")] + public string? Query { get; set; } + + /// + /// + /// Optional task settings + /// + /// + [JsonInclude, JsonPropertyName("task_settings")] + public object? TaskSettings { get; set; } +} + +/// +/// +/// Perform inference on the service +/// +/// +public sealed partial class InferenceRequestDescriptor : RequestDescriptor +{ + internal InferenceRequestDescriptor(Action configure) => configure.Invoke(this); + + public InferenceRequestDescriptor(Elastic.Clients.Elasticsearch.Serverless.Inference.TaskType? taskType, Elastic.Clients.Elasticsearch.Serverless.Id inferenceId) : base(r => r.Optional("task_type", taskType).Required("inference_id", inferenceId)) + { + } + + public InferenceRequestDescriptor(Elastic.Clients.Elasticsearch.Serverless.Id inferenceId) : base(r => r.Required("inference_id", inferenceId)) + { + } + + internal override ApiUrls ApiUrls => ApiUrlLookup.InferenceInference; + + protected override HttpMethod StaticHttpMethod => HttpMethod.POST; + + internal override bool SupportsBody => true; + + internal override string OperationName => "inference.inference"; + + public InferenceRequestDescriptor Timeout(Elastic.Clients.Elasticsearch.Serverless.Duration? timeout) => Qs("timeout", timeout); + + public InferenceRequestDescriptor InferenceId(Elastic.Clients.Elasticsearch.Serverless.Id inferenceId) + { + RouteValues.Required("inference_id", inferenceId); + return Self; + } + + public InferenceRequestDescriptor TaskType(Elastic.Clients.Elasticsearch.Serverless.Inference.TaskType? taskType) + { + RouteValues.Optional("task_type", taskType); + return Self; + } + + private ICollection InputValue { get; set; } + private string? QueryValue { get; set; } + private object? TaskSettingsValue { get; set; } + + /// + /// + /// Inference input. + /// Either a string or an array of strings. + /// + /// + public InferenceRequestDescriptor Input(ICollection input) + { + InputValue = input; + return Self; + } + + /// + /// + /// Query input, required for rerank task. + /// Not required for other tasks. + /// + /// + public InferenceRequestDescriptor Query(string? query) + { + QueryValue = query; + return Self; + } + + /// + /// + /// Optional task settings + /// + /// + public InferenceRequestDescriptor TaskSettings(object? taskSettings) + { + TaskSettingsValue = taskSettings; + return Self; + } + + protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) + { + writer.WriteStartObject(); + writer.WritePropertyName("input"); + SingleOrManySerializationHelper.Serialize(InputValue, writer, options); + if (!string.IsNullOrEmpty(QueryValue)) + { + writer.WritePropertyName("query"); + writer.WriteStringValue(QueryValue); + } + + if (TaskSettingsValue is not null) + { + writer.WritePropertyName("task_settings"); + JsonSerializer.Serialize(writer, TaskSettingsValue, options); + } + + writer.WriteEndObject(); + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Inference/InferenceResponse.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Inference/InferenceResponse.g.cs new file mode 100644 index 00000000000..0e2891aecf9 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Inference/InferenceResponse.g.cs @@ -0,0 +1,31 @@ +// 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 Elastic.Clients.Elasticsearch.Serverless.Fluent; +using Elastic.Clients.Elasticsearch.Serverless.Serialization; +using Elastic.Transport.Products.Elasticsearch; +using System; +using System.Collections.Generic; +using System.Text.Json.Serialization; + +namespace Elastic.Clients.Elasticsearch.Serverless.Inference; + +public sealed partial class InferenceResponse : ElasticsearchResponse +{ +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Inference/PutInferenceRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Inference/PutInferenceRequest.g.cs new file mode 100644 index 00000000000..25fcbef1078 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Inference/PutInferenceRequest.g.cs @@ -0,0 +1,132 @@ +// 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 Elastic.Clients.Elasticsearch.Serverless.Fluent; +using Elastic.Clients.Elasticsearch.Serverless.Requests; +using Elastic.Clients.Elasticsearch.Serverless.Serialization; +using Elastic.Transport; +using Elastic.Transport.Extensions; +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +namespace Elastic.Clients.Elasticsearch.Serverless.Inference; + +public sealed partial class PutInferenceRequestParameters : RequestParameters +{ +} + +/// +/// +/// Create an inference endpoint +/// +/// +public sealed partial class PutInferenceRequest : PlainRequest, ISelfSerializable +{ + public PutInferenceRequest(Elastic.Clients.Elasticsearch.Serverless.Id inferenceId) : base(r => r.Required("inference_id", inferenceId)) + { + } + + public PutInferenceRequest(Elastic.Clients.Elasticsearch.Serverless.Inference.TaskType? taskType, Elastic.Clients.Elasticsearch.Serverless.Id inferenceId) : base(r => r.Optional("task_type", taskType).Required("inference_id", inferenceId)) + { + } + + internal override ApiUrls ApiUrls => ApiUrlLookup.InferencePut; + + protected override HttpMethod StaticHttpMethod => HttpMethod.PUT; + + internal override bool SupportsBody => true; + + internal override string OperationName => "inference.put"; + + [JsonIgnore] + public Elastic.Clients.Elasticsearch.Serverless.Inference.InferenceEndpoint InferenceConfig { get; set; } + + void ISelfSerializable.Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) + { + JsonSerializer.Serialize(writer, InferenceConfig, options); + } +} + +/// +/// +/// Create an inference endpoint +/// +/// +public sealed partial class PutInferenceRequestDescriptor : RequestDescriptor +{ + internal PutInferenceRequestDescriptor(Action configure) => configure.Invoke(this); + public PutInferenceRequestDescriptor(Elastic.Clients.Elasticsearch.Serverless.Inference.InferenceEndpoint inferenceConfig, Elastic.Clients.Elasticsearch.Serverless.Inference.TaskType? taskType, Elastic.Clients.Elasticsearch.Serverless.Id inferenceId) : base(r => r.Optional("task_type", taskType).Required("inference_id", inferenceId)) => InferenceConfigValue = inferenceConfig; + public PutInferenceRequestDescriptor(Elastic.Clients.Elasticsearch.Serverless.Inference.InferenceEndpoint inferenceConfig, Elastic.Clients.Elasticsearch.Serverless.Id inferenceId) : base(r => r.Required("inference_id", inferenceId)) => InferenceConfigValue = inferenceConfig; + + internal override ApiUrls ApiUrls => ApiUrlLookup.InferencePut; + + protected override HttpMethod StaticHttpMethod => HttpMethod.PUT; + + internal override bool SupportsBody => true; + + internal override string OperationName => "inference.put"; + + public PutInferenceRequestDescriptor InferenceId(Elastic.Clients.Elasticsearch.Serverless.Id inferenceId) + { + RouteValues.Required("inference_id", inferenceId); + return Self; + } + + public PutInferenceRequestDescriptor TaskType(Elastic.Clients.Elasticsearch.Serverless.Inference.TaskType? taskType) + { + RouteValues.Optional("task_type", taskType); + return Self; + } + + private Elastic.Clients.Elasticsearch.Serverless.Inference.InferenceEndpoint InferenceConfigValue { get; set; } + private Elastic.Clients.Elasticsearch.Serverless.Inference.InferenceEndpointDescriptor InferenceConfigDescriptor { get; set; } + private Action InferenceConfigDescriptorAction { get; set; } + + public PutInferenceRequestDescriptor InferenceConfig(Elastic.Clients.Elasticsearch.Serverless.Inference.InferenceEndpoint inferenceConfig) + { + InferenceConfigDescriptor = null; + InferenceConfigDescriptorAction = null; + InferenceConfigValue = inferenceConfig; + return Self; + } + + public PutInferenceRequestDescriptor InferenceConfig(Elastic.Clients.Elasticsearch.Serverless.Inference.InferenceEndpointDescriptor descriptor) + { + InferenceConfigValue = null; + InferenceConfigDescriptorAction = null; + InferenceConfigDescriptor = descriptor; + return Self; + } + + public PutInferenceRequestDescriptor InferenceConfig(Action configure) + { + InferenceConfigValue = null; + InferenceConfigDescriptor = null; + InferenceConfigDescriptorAction = configure; + return Self; + } + + protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) + { + JsonSerializer.Serialize(writer, InferenceConfigValue, options); + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Inference/PutInferenceResponse.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Inference/PutInferenceResponse.g.cs new file mode 100644 index 00000000000..88c831242f4 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Inference/PutInferenceResponse.g.cs @@ -0,0 +1,70 @@ +// 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 Elastic.Clients.Elasticsearch.Serverless.Fluent; +using Elastic.Clients.Elasticsearch.Serverless.Serialization; +using Elastic.Transport.Products.Elasticsearch; +using System; +using System.Collections.Generic; +using System.Text.Json.Serialization; + +namespace Elastic.Clients.Elasticsearch.Serverless.Inference; + +public sealed partial class PutInferenceResponse : ElasticsearchResponse +{ + /// + /// + /// The inference Id + /// + /// + [JsonInclude, JsonPropertyName("inference_id")] + public string InferenceId { get; init; } + + /// + /// + /// The service type + /// + /// + [JsonInclude, JsonPropertyName("service")] + public string Service { get; init; } + + /// + /// + /// Settings specific to the service + /// + /// + [JsonInclude, JsonPropertyName("service_settings")] + public object ServiceSettings { get; init; } + + /// + /// + /// Task settings specific to the service and task type + /// + /// + [JsonInclude, JsonPropertyName("task_settings")] + public object? TaskSettings { get; init; } + + /// + /// + /// The task type + /// + /// + [JsonInclude, JsonPropertyName("task_type")] + public Elastic.Clients.Elasticsearch.Serverless.Inference.TaskType TaskType { get; init; } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/PutDatafeedRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/PutDatafeedRequest.g.cs index 21cd468437c..3e60e8cecac 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/PutDatafeedRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/PutDatafeedRequest.g.cs @@ -254,7 +254,12 @@ public override void Write(Utf8JsonWriter writer, PutDatafeedRequest value, Json /// Datafeeds retrieve data from Elasticsearch for analysis by an anomaly detection job. /// You can associate only one datafeed with each anomaly detection job. /// The datafeed contains a query that runs at a defined interval (frequency). -/// If you are concerned about delayed data, you can add a delay (query_delay') at each interval. When Elasticsearch security features are enabled, your datafeed remembers which roles the user who created it had at the time of creation and runs the query using those same roles. If you provide secondary authorization headers, those credentials are used instead. You must use Kibana, this API, or the create anomaly detection jobs API to create a datafeed. Do not add a datafeed directly to the .ml-configindex. Do not give userswriteprivileges on the.ml-config` index. +/// If you are concerned about delayed data, you can add a delay (query_delay) at each interval. +/// When Elasticsearch security features are enabled, your datafeed remembers which roles the user who created it had +/// at the time of creation and runs the query using those same roles. If you provide secondary authorization headers, +/// those credentials are used instead. +/// You must use Kibana, this API, or the create anomaly detection jobs API to create a datafeed. Do not add a datafeed +/// directly to the .ml-config index. Do not give users write privileges on the .ml-config index. /// /// [JsonConverter(typeof(PutDatafeedRequestConverter))] @@ -438,7 +443,12 @@ public PutDatafeedRequest() /// Datafeeds retrieve data from Elasticsearch for analysis by an anomaly detection job. /// You can associate only one datafeed with each anomaly detection job. /// The datafeed contains a query that runs at a defined interval (frequency). -/// If you are concerned about delayed data, you can add a delay (query_delay') at each interval. When Elasticsearch security features are enabled, your datafeed remembers which roles the user who created it had at the time of creation and runs the query using those same roles. If you provide secondary authorization headers, those credentials are used instead. You must use Kibana, this API, or the create anomaly detection jobs API to create a datafeed. Do not add a datafeed directly to the .ml-configindex. Do not give userswriteprivileges on the.ml-config` index. +/// If you are concerned about delayed data, you can add a delay (query_delay) at each interval. +/// When Elasticsearch security features are enabled, your datafeed remembers which roles the user who created it had +/// at the time of creation and runs the query using those same roles. If you provide secondary authorization headers, +/// those credentials are used instead. +/// You must use Kibana, this API, or the create anomaly detection jobs API to create a datafeed. Do not add a datafeed +/// directly to the .ml-config index. Do not give users write privileges on the .ml-config index. /// /// public sealed partial class PutDatafeedRequestDescriptor : RequestDescriptor, PutDatafeedRequestParameters> @@ -871,7 +881,12 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o /// Datafeeds retrieve data from Elasticsearch for analysis by an anomaly detection job. /// You can associate only one datafeed with each anomaly detection job. /// The datafeed contains a query that runs at a defined interval (frequency). -/// If you are concerned about delayed data, you can add a delay (query_delay') at each interval. When Elasticsearch security features are enabled, your datafeed remembers which roles the user who created it had at the time of creation and runs the query using those same roles. If you provide secondary authorization headers, those credentials are used instead. You must use Kibana, this API, or the create anomaly detection jobs API to create a datafeed. Do not add a datafeed directly to the .ml-configindex. Do not give userswriteprivileges on the.ml-config` index. +/// If you are concerned about delayed data, you can add a delay (query_delay) at each interval. +/// When Elasticsearch security features are enabled, your datafeed remembers which roles the user who created it had +/// at the time of creation and runs the query using those same roles. If you provide secondary authorization headers, +/// those credentials are used instead. +/// You must use Kibana, this API, or the create anomaly detection jobs API to create a datafeed. Do not add a datafeed +/// directly to the .ml-config index. Do not give users write privileges on the .ml-config index. /// /// public sealed partial class PutDatafeedRequestDescriptor : RequestDescriptor diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MultiGetRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MultiGetRequest.g.cs index 9aa85448a96..e9954b360ad 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MultiGetRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MultiGetRequest.g.cs @@ -94,7 +94,12 @@ public sealed partial class MultiGetRequestParameters : RequestParameters /// /// -/// Allows to get multiple documents in one request. +/// Get multiple documents. +/// +/// +/// Get multiple JSON documents by ID from one or more indices. +/// If you specify an index in the request URI, you only need to specify the document IDs in the request body. +/// To ensure fast responses, this multi get (mget) API responds with partial results if one or more shards fail. /// /// public sealed partial class MultiGetRequest : PlainRequest @@ -201,7 +206,12 @@ public MultiGetRequest(Elastic.Clients.Elasticsearch.Serverless.IndexName? index /// /// -/// Allows to get multiple documents in one request. +/// Get multiple documents. +/// +/// +/// Get multiple JSON documents by ID from one or more indices. +/// If you specify an index in the request URI, you only need to specify the document IDs in the request body. +/// To ensure fast responses, this multi get (mget) API responds with partial results if one or more shards fail. /// /// public sealed partial class MultiGetRequestDescriptor : RequestDescriptor, MultiGetRequestParameters> @@ -343,7 +353,12 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o /// /// -/// Allows to get multiple documents in one request. +/// Get multiple documents. +/// +/// +/// Get multiple JSON documents by ID from one or more indices. +/// If you specify an index in the request URI, you only need to specify the document IDs in the request body. +/// To ensure fast responses, this multi get (mget) API responds with partial results if one or more shards fail. /// /// public sealed partial class MultiGetRequestDescriptor : RequestDescriptor diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MultiSearchRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MultiSearchRequest.g.cs index 8c0ef9bbda7..25f73f21209 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MultiSearchRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MultiSearchRequest.g.cs @@ -121,7 +121,25 @@ public sealed partial class MultiSearchRequestParameters : RequestParameters /// /// -/// Allows to execute several search operations in one request. +/// Run multiple searches. +/// +/// +/// The format of the request is similar to the bulk API format and makes use of the newline delimited JSON (NDJSON) format. +/// The structure is as follows: +/// +/// +/// header\n +/// body\n +/// header\n +/// body\n +/// +/// +/// This structure is specifically optimized to reduce parsing if a specific search ends up redirected to another node. +/// +/// +/// IMPORTANT: The final line of data must end with a newline character \n. +/// Each newline character may be preceded by a carriage return \r. +/// When sending requests to this endpoint the Content-Type header should be set to application/x-ndjson. /// /// public sealed partial class MultiSearchRequest : PlainRequest, IStreamSerializable @@ -264,7 +282,25 @@ async Task IStreamSerializable.SerializeAsync(Stream stream, IElasticsearchClien /// /// -/// Allows to execute several search operations in one request. +/// Run multiple searches. +/// +/// +/// The format of the request is similar to the bulk API format and makes use of the newline delimited JSON (NDJSON) format. +/// The structure is as follows: +/// +/// +/// header\n +/// body\n +/// header\n +/// body\n +/// +/// +/// This structure is specifically optimized to reduce parsing if a specific search ends up redirected to another node. +/// +/// +/// IMPORTANT: The final line of data must end with a newline character \n. +/// Each newline character may be preceded by a carriage return \r. +/// When sending requests to this endpoint the Content-Type header should be set to application/x-ndjson. /// /// public sealed partial class MultiSearchRequestDescriptor : RequestDescriptor, MultiSearchRequestParameters>, IStreamSerializable @@ -343,7 +379,25 @@ public MultiSearchRequestDescriptor AddSearches(Elastic.Clients.Elast /// /// -/// Allows to execute several search operations in one request. +/// Run multiple searches. +/// +/// +/// The format of the request is similar to the bulk API format and makes use of the newline delimited JSON (NDJSON) format. +/// The structure is as follows: +/// +/// +/// header\n +/// body\n +/// header\n +/// body\n +/// +/// +/// This structure is specifically optimized to reduce parsing if a specific search ends up redirected to another node. +/// +/// +/// IMPORTANT: The final line of data must end with a newline character \n. +/// Each newline character may be preceded by a carriage return \r. +/// When sending requests to this endpoint the Content-Type header should be set to application/x-ndjson. /// /// public sealed partial class MultiSearchRequestDescriptor : RequestDescriptor, IStreamSerializable diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MultiSearchTemplateRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MultiSearchTemplateRequest.g.cs index 3d32f3e4575..1fffa2f1906 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MultiSearchTemplateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MultiSearchTemplateRequest.g.cs @@ -74,7 +74,7 @@ public sealed partial class MultiSearchTemplateRequestParameters : RequestParame /// /// -/// Runs multiple templated searches with a single request. +/// Run multiple templated searches. /// /// public sealed partial class MultiSearchTemplateRequest : PlainRequest, IStreamSerializable @@ -163,7 +163,7 @@ async Task IStreamSerializable.SerializeAsync(Stream stream, IElasticsearchClien /// /// -/// Runs multiple templated searches with a single request. +/// Run multiple templated searches. /// /// public sealed partial class MultiSearchTemplateRequestDescriptor : RequestDescriptor, MultiSearchTemplateRequestParameters>, IStreamSerializable @@ -235,7 +235,7 @@ public MultiSearchTemplateRequestDescriptor AddSearchTemplates(Elasti /// /// -/// Runs multiple templated searches with a single request. +/// Run multiple templated searches. /// /// public sealed partial class MultiSearchTemplateRequestDescriptor : RequestDescriptor, IStreamSerializable diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MultiTermVectorsRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MultiTermVectorsRequest.g.cs index 1f4602c4741..40cdd16d284 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MultiTermVectorsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MultiTermVectorsRequest.g.cs @@ -114,7 +114,13 @@ public sealed partial class MultiTermVectorsRequestParameters : RequestParameter /// /// -/// Returns multiple termvectors in one request. +/// Get multiple term vectors. +/// +/// +/// You can specify existing documents by index and ID or provide artificial documents in the body of the request. +/// You can specify the index in the request body or request URI. +/// The response contains a docs array with all the fetched termvectors. +/// Each element has the structure provided by the termvectors API. /// /// public sealed partial class MultiTermVectorsRequest : PlainRequest @@ -244,7 +250,13 @@ public MultiTermVectorsRequest(Elastic.Clients.Elasticsearch.Serverless.IndexNam /// /// -/// Returns multiple termvectors in one request. +/// Get multiple term vectors. +/// +/// +/// You can specify existing documents by index and ID or provide artificial documents in the body of the request. +/// You can specify the index in the request body or request URI. +/// The response contains a docs array with all the fetched termvectors. +/// Each element has the structure provided by the termvectors API. /// /// public sealed partial class MultiTermVectorsRequestDescriptor : RequestDescriptor, MultiTermVectorsRequestParameters> @@ -389,7 +401,13 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o /// /// -/// Returns multiple termvectors in one request. +/// Get multiple term vectors. +/// +/// +/// You can specify existing documents by index and ID or provide artificial documents in the body of the request. +/// You can specify the index in the request body or request URI. +/// The response contains a docs array with all the fetched termvectors. +/// Each element has the structure provided by the termvectors API. /// /// public sealed partial class MultiTermVectorsRequestDescriptor : RequestDescriptor diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/OpenPointInTimeRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/OpenPointInTimeRequest.g.cs index da6b9acc96f..a9947bbed2d 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/OpenPointInTimeRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/OpenPointInTimeRequest.g.cs @@ -73,13 +73,20 @@ public sealed partial class OpenPointInTimeRequestParameters : RequestParameters /// /// -/// A search request by default executes against the most recent visible data of the target indices, +/// Open a point in time. +/// +/// +/// A search request by default runs against the most recent visible data of the target indices, /// which is called point in time. Elasticsearch pit (point in time) is a lightweight view into the /// state of the data as it existed when initiated. In some cases, it’s preferred to perform multiple /// search requests using the same point in time. For example, if refreshes happen between /// search_after requests, then the results of those requests might not be consistent as changes happening /// between searches are only visible to the more recent point in time. /// +/// +/// A point in time must be opened explicitly before being used in search requests. +/// The keep_alive parameter tells Elasticsearch how long it should persist. +/// /// public sealed partial class OpenPointInTimeRequest : PlainRequest { @@ -149,13 +156,20 @@ public OpenPointInTimeRequest(Elastic.Clients.Elasticsearch.Serverless.Indices i /// /// -/// A search request by default executes against the most recent visible data of the target indices, +/// Open a point in time. +/// +/// +/// A search request by default runs against the most recent visible data of the target indices, /// which is called point in time. Elasticsearch pit (point in time) is a lightweight view into the /// state of the data as it existed when initiated. In some cases, it’s preferred to perform multiple /// search requests using the same point in time. For example, if refreshes happen between /// search_after requests, then the results of those requests might not be consistent as changes happening /// between searches are only visible to the more recent point in time. /// +/// +/// A point in time must be opened explicitly before being used in search requests. +/// The keep_alive parameter tells Elasticsearch how long it should persist. +/// /// public sealed partial class OpenPointInTimeRequestDescriptor : RequestDescriptor, OpenPointInTimeRequestParameters> { @@ -247,13 +261,20 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o /// /// -/// A search request by default executes against the most recent visible data of the target indices, +/// Open a point in time. +/// +/// +/// A search request by default runs against the most recent visible data of the target indices, /// which is called point in time. Elasticsearch pit (point in time) is a lightweight view into the /// state of the data as it existed when initiated. In some cases, it’s preferred to perform multiple /// search requests using the same point in time. For example, if refreshes happen between /// search_after requests, then the results of those requests might not be consistent as changes happening /// between searches are only visible to the more recent point in time. /// +/// +/// A point in time must be opened explicitly before being used in search requests. +/// The keep_alive parameter tells Elasticsearch how long it should persist. +/// /// public sealed partial class OpenPointInTimeRequestDescriptor : RequestDescriptor { diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/QueryRules/TestRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/QueryRules/TestRequest.g.cs new file mode 100644 index 00000000000..d29a8177928 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/QueryRules/TestRequest.g.cs @@ -0,0 +1,102 @@ +// 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 Elastic.Clients.Elasticsearch.Serverless.Fluent; +using Elastic.Clients.Elasticsearch.Serverless.Requests; +using Elastic.Clients.Elasticsearch.Serverless.Serialization; +using Elastic.Transport; +using Elastic.Transport.Extensions; +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +namespace Elastic.Clients.Elasticsearch.Serverless.QueryRules; + +public sealed partial class TestRequestParameters : RequestParameters +{ +} + +/// +/// +/// Creates or updates a query ruleset. +/// +/// +public sealed partial class TestRequest : PlainRequest +{ + public TestRequest(Elastic.Clients.Elasticsearch.Serverless.Id rulesetId) : base(r => r.Required("ruleset_id", rulesetId)) + { + } + + internal override ApiUrls ApiUrls => ApiUrlLookup.QueryRulesTest; + + protected override HttpMethod StaticHttpMethod => HttpMethod.POST; + + internal override bool SupportsBody => true; + + internal override string OperationName => "query_rules.test"; + + [JsonInclude, JsonPropertyName("match_criteria")] + public IDictionary MatchCriteria { get; set; } +} + +/// +/// +/// Creates or updates a query ruleset. +/// +/// +public sealed partial class TestRequestDescriptor : RequestDescriptor +{ + internal TestRequestDescriptor(Action configure) => configure.Invoke(this); + + public TestRequestDescriptor(Elastic.Clients.Elasticsearch.Serverless.Id rulesetId) : base(r => r.Required("ruleset_id", rulesetId)) + { + } + + internal override ApiUrls ApiUrls => ApiUrlLookup.QueryRulesTest; + + protected override HttpMethod StaticHttpMethod => HttpMethod.POST; + + internal override bool SupportsBody => true; + + internal override string OperationName => "query_rules.test"; + + public TestRequestDescriptor RulesetId(Elastic.Clients.Elasticsearch.Serverless.Id rulesetId) + { + RouteValues.Required("ruleset_id", rulesetId); + return Self; + } + + private IDictionary MatchCriteriaValue { get; set; } + + public TestRequestDescriptor MatchCriteria(Func, FluentDictionary> selector) + { + MatchCriteriaValue = selector?.Invoke(new FluentDictionary()); + return Self; + } + + protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) + { + writer.WriteStartObject(); + writer.WritePropertyName("match_criteria"); + JsonSerializer.Serialize(writer, MatchCriteriaValue, options); + writer.WriteEndObject(); + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/QueryRules/TestResponse.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/QueryRules/TestResponse.g.cs new file mode 100644 index 00000000000..f2999d2d408 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/QueryRules/TestResponse.g.cs @@ -0,0 +1,35 @@ +// 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 Elastic.Clients.Elasticsearch.Serverless.Fluent; +using Elastic.Clients.Elasticsearch.Serverless.Serialization; +using Elastic.Transport.Products.Elasticsearch; +using System; +using System.Collections.Generic; +using System.Text.Json.Serialization; + +namespace Elastic.Clients.Elasticsearch.Serverless.QueryRules; + +public sealed partial class TestResponse : ElasticsearchResponse +{ + [JsonInclude, JsonPropertyName("matched_rules")] + public IReadOnlyCollection MatchedRules { get; init; } + [JsonInclude, JsonPropertyName("total_matched_rules")] + public int TotalMatchedRules { get; init; } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/RankEvalRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/RankEvalRequest.g.cs index 85d9c3e904c..fea24846862 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/RankEvalRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/RankEvalRequest.g.cs @@ -63,7 +63,10 @@ public sealed partial class RankEvalRequestParameters : RequestParameters /// /// -/// Enables you to evaluate the quality of ranked search results over a set of typical search queries. +/// Evaluate ranked search results. +/// +/// +/// Evaluate the quality of ranked search results over a set of typical search queries. /// /// public sealed partial class RankEvalRequest : PlainRequest @@ -135,7 +138,10 @@ public RankEvalRequest(Elastic.Clients.Elasticsearch.Serverless.Indices? indices /// /// -/// Enables you to evaluate the quality of ranked search results over a set of typical search queries. +/// Evaluate ranked search results. +/// +/// +/// Evaluate the quality of ranked search results over a set of typical search queries. /// /// public sealed partial class RankEvalRequestDescriptor : RequestDescriptor, RankEvalRequestParameters> @@ -303,7 +309,10 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o /// /// -/// Enables you to evaluate the quality of ranked search results over a set of typical search queries. +/// Evaluate ranked search results. +/// +/// +/// Evaluate the quality of ranked search results over a set of typical search queries. /// /// public sealed partial class RankEvalRequestDescriptor : RequestDescriptor diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ReindexRethrottleRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ReindexRethrottleRequest.g.cs index d0738646824..8bcfea0159a 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ReindexRethrottleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ReindexRethrottleRequest.g.cs @@ -42,7 +42,10 @@ public sealed partial class ReindexRethrottleRequestParameters : RequestParamete /// /// -/// Copies documents from a source to a destination. +/// Throttle a reindex operation. +/// +/// +/// Change the number of requests per second for a particular reindex operation. /// /// public sealed partial class ReindexRethrottleRequest : PlainRequest @@ -70,7 +73,10 @@ public ReindexRethrottleRequest(Elastic.Clients.Elasticsearch.Serverless.Id task /// /// -/// Copies documents from a source to a destination. +/// Throttle a reindex operation. +/// +/// +/// Change the number of requests per second for a particular reindex operation. /// /// public sealed partial class ReindexRethrottleRequestDescriptor : RequestDescriptor diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/RenderSearchTemplateRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/RenderSearchTemplateRequest.g.cs index 98214e0bfa4..7a9a01ec4d1 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/RenderSearchTemplateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/RenderSearchTemplateRequest.g.cs @@ -36,7 +36,10 @@ public sealed partial class RenderSearchTemplateRequestParameters : RequestParam /// /// -/// Renders a search template as a search request body. +/// Render a search template. +/// +/// +/// Render a search template as a search request body. /// /// public sealed partial class RenderSearchTemplateRequest : PlainRequest @@ -84,7 +87,10 @@ public RenderSearchTemplateRequest(Elastic.Clients.Elasticsearch.Serverless.Id? /// /// -/// Renders a search template as a search request body. +/// Render a search template. +/// +/// +/// Render a search template as a search request body. /// /// public sealed partial class RenderSearchTemplateRequestDescriptor : RequestDescriptor, RenderSearchTemplateRequestParameters> @@ -177,7 +183,10 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o /// /// -/// Renders a search template as a search request body. +/// Render a search template. +/// +/// +/// Render a search template as a search request body. /// /// public sealed partial class RenderSearchTemplateRequestDescriptor : RequestDescriptor diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ScrollRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ScrollRequest.g.cs index 4f722b979b8..c86812de36d 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ScrollRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ScrollRequest.g.cs @@ -42,7 +42,24 @@ public sealed partial class ScrollRequestParameters : RequestParameters /// /// -/// Allows to retrieve a large numbers of results from a single search request. +/// Run a scrolling search. +/// +/// +/// IMPORTANT: The scroll API is no longer recommend for deep pagination. If you need to preserve the index state while paging through more than 10,000 hits, use the search_after parameter with a point in time (PIT). +/// +/// +/// The scroll API gets large sets of results from a single scrolling search request. +/// To get the necessary scroll ID, submit a search API request that includes an argument for the scroll query parameter. +/// The scroll parameter indicates how long Elasticsearch should retain the search context for the request. +/// The search response returns a scroll ID in the _scroll_id response body parameter. +/// You can then use the scroll ID with the scroll API to retrieve the next batch of results for the request. +/// If the Elasticsearch security features are enabled, the access to the results of a specific scroll ID is restricted to the user or API key that submitted the search. +/// +/// +/// You can also use the scroll API to specify a new scroll parameter that extends or shortens the retention period for the search context. +/// +/// +/// IMPORTANT: Results from a scrolling search reflect the state of the index at the time of the initial search request. Subsequent indexing or document changes only affect later search and scroll requests. /// /// public sealed partial class ScrollRequest : PlainRequest @@ -82,7 +99,24 @@ public sealed partial class ScrollRequest : PlainRequest /// -/// Allows to retrieve a large numbers of results from a single search request. +/// Run a scrolling search. +/// +/// +/// IMPORTANT: The scroll API is no longer recommend for deep pagination. If you need to preserve the index state while paging through more than 10,000 hits, use the search_after parameter with a point in time (PIT). +/// +/// +/// The scroll API gets large sets of results from a single scrolling search request. +/// To get the necessary scroll ID, submit a search API request that includes an argument for the scroll query parameter. +/// The scroll parameter indicates how long Elasticsearch should retain the search context for the request. +/// The search response returns a scroll ID in the _scroll_id response body parameter. +/// You can then use the scroll ID with the scroll API to retrieve the next batch of results for the request. +/// If the Elasticsearch security features are enabled, the access to the results of a specific scroll ID is restricted to the user or API key that submitted the search. +/// +/// +/// You can also use the scroll API to specify a new scroll parameter that extends or shortens the retention period for the search context. +/// +/// +/// IMPORTANT: Results from a scrolling search reflect the state of the index at the time of the initial search request. Subsequent indexing or document changes only affect later search and scroll requests. /// /// public sealed partial class ScrollRequestDescriptor : RequestDescriptor diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SearchMvtRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SearchMvtRequest.g.cs index 5c1f2d95bc6..f66e7e1f320 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SearchMvtRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SearchMvtRequest.g.cs @@ -37,7 +37,9 @@ public sealed partial class SearchMvtRequestParameters : RequestParameters /// /// /// Search a vector tile. -/// Searches a vector tile for geospatial values. +/// +/// +/// Search a vector tile for geospatial values. /// /// public sealed partial class SearchMvtRequest : PlainRequest @@ -221,7 +223,9 @@ public SearchMvtRequest(Elastic.Clients.Elasticsearch.Serverless.Indices indices /// /// /// Search a vector tile. -/// Searches a vector tile for geospatial values. +/// +/// +/// Search a vector tile for geospatial values. /// /// public sealed partial class SearchMvtRequestDescriptor : RequestDescriptor, SearchMvtRequestParameters> @@ -672,7 +676,9 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o /// /// /// Search a vector tile. -/// Searches a vector tile for geospatial values. +/// +/// +/// Search a vector tile for geospatial values. /// /// public sealed partial class SearchMvtRequestDescriptor : RequestDescriptor diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SearchRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SearchRequest.g.cs index 79e1a49b383..d7dfb6182ad 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SearchRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SearchRequest.g.cs @@ -134,14 +134,6 @@ public sealed partial class SearchRequestParameters : RequestParameters /// public long? MaxConcurrentShardRequests { get => Q("max_concurrent_shard_requests"); set => Q("max_concurrent_shard_requests", value); } - /// - /// - /// The minimum version of the node that can handle the request - /// Any handling node with a lower version will fail the request. - /// - /// - public string? MinCompatibleShardNode { get => Q("min_compatible_shard_node"); set => Q("min_compatible_shard_node", value); } - /// /// /// Nodes and shards used for the search. @@ -694,7 +686,10 @@ public override void Write(Utf8JsonWriter writer, SearchRequest value, JsonSeria /// /// -/// Returns search hits that match the query defined in the request. +/// Run a search. +/// +/// +/// Get search hits that match the query defined in the request. /// You can provide search queries using the q query string parameter or the request body. /// If both are specified, only the query parameter is used. /// @@ -833,15 +828,6 @@ public SearchRequest(Elastic.Clients.Elasticsearch.Serverless.Indices? indices) [JsonIgnore] public long? MaxConcurrentShardRequests { get => Q("max_concurrent_shard_requests"); set => Q("max_concurrent_shard_requests", value); } - /// - /// - /// The minimum version of the node that can handle the request - /// Any handling node with a lower version will fail the request. - /// - /// - [JsonIgnore] - public string? MinCompatibleShardNode { get => Q("min_compatible_shard_node"); set => Q("min_compatible_shard_node", value); } - /// /// /// Nodes and shards used for the search. @@ -1287,7 +1273,10 @@ public SearchRequest(Elastic.Clients.Elasticsearch.Serverless.Indices? indices) /// /// -/// Returns search hits that match the query defined in the request. +/// Run a search. +/// +/// +/// Get search hits that match the query defined in the request. /// You can provide search queries using the q query string parameter or the request body. /// If both are specified, only the query parameter is used. /// @@ -1325,7 +1314,6 @@ public SearchRequestDescriptor() public SearchRequestDescriptor IgnoreUnavailable(bool? ignoreUnavailable = true) => Qs("ignore_unavailable", ignoreUnavailable); public SearchRequestDescriptor Lenient(bool? lenient = true) => Qs("lenient", lenient); public SearchRequestDescriptor MaxConcurrentShardRequests(long? maxConcurrentShardRequests) => Qs("max_concurrent_shard_requests", maxConcurrentShardRequests); - public SearchRequestDescriptor MinCompatibleShardNode(string? minCompatibleShardNode) => Qs("min_compatible_shard_node", minCompatibleShardNode); public SearchRequestDescriptor Preference(string? preference) => Qs("preference", preference); public SearchRequestDescriptor PreFilterShardSize(long? preFilterShardSize) => Qs("pre_filter_shard_size", preFilterShardSize); public SearchRequestDescriptor QueryLuceneSyntax(string? queryLuceneSyntax) => Qs("q", queryLuceneSyntax); @@ -2506,7 +2494,10 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o /// /// -/// Returns search hits that match the query defined in the request. +/// Run a search. +/// +/// +/// Get search hits that match the query defined in the request. /// You can provide search queries using the q query string parameter or the request body. /// If both are specified, only the query parameter is used. /// @@ -2544,7 +2535,6 @@ public SearchRequestDescriptor() public SearchRequestDescriptor IgnoreUnavailable(bool? ignoreUnavailable = true) => Qs("ignore_unavailable", ignoreUnavailable); public SearchRequestDescriptor Lenient(bool? lenient = true) => Qs("lenient", lenient); public SearchRequestDescriptor MaxConcurrentShardRequests(long? maxConcurrentShardRequests) => Qs("max_concurrent_shard_requests", maxConcurrentShardRequests); - public SearchRequestDescriptor MinCompatibleShardNode(string? minCompatibleShardNode) => Qs("min_compatible_shard_node", minCompatibleShardNode); public SearchRequestDescriptor Preference(string? preference) => Qs("preference", preference); public SearchRequestDescriptor PreFilterShardSize(long? preFilterShardSize) => Qs("pre_filter_shard_size", preFilterShardSize); public SearchRequestDescriptor QueryLuceneSyntax(string? queryLuceneSyntax) => Qs("q", queryLuceneSyntax); diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SearchTemplateRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SearchTemplateRequest.g.cs index e1288d7fefc..3a37210a636 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SearchTemplateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SearchTemplateRequest.g.cs @@ -119,7 +119,7 @@ public sealed partial class SearchTemplateRequestParameters : RequestParameters /// /// -/// Runs a search with a search template. +/// Run a search with a search template. /// /// public sealed partial class SearchTemplateRequest : PlainRequest @@ -283,7 +283,7 @@ public SearchTemplateRequest(Elastic.Clients.Elasticsearch.Serverless.Indices? i /// /// -/// Runs a search with a search template. +/// Run a search with a search template. /// /// public sealed partial class SearchTemplateRequestDescriptor : RequestDescriptor, SearchTemplateRequestParameters> @@ -429,7 +429,7 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o /// /// -/// Runs a search with a search template. +/// Run a search with a search template. /// /// public sealed partial class SearchTemplateRequestDescriptor : RequestDescriptor diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/ActivateUserProfileRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/ActivateUserProfileRequest.g.cs index 51d7f4d54b2..fe394e4fec3 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/ActivateUserProfileRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/ActivateUserProfileRequest.g.cs @@ -36,7 +36,10 @@ public sealed partial class ActivateUserProfileRequestParameters : RequestParame /// /// -/// Creates or updates a user profile on behalf of another user. +/// Activate a user profile. +/// +/// +/// Create or update a user profile on behalf of another user. /// /// public sealed partial class ActivateUserProfileRequest : PlainRequest @@ -61,7 +64,10 @@ public sealed partial class ActivateUserProfileRequest : PlainRequest /// -/// Creates or updates a user profile on behalf of another user. +/// Activate a user profile. +/// +/// +/// Create or update a user profile on behalf of another user. /// /// public sealed partial class ActivateUserProfileRequestDescriptor : RequestDescriptor diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/AuthenticateRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/AuthenticateRequest.g.cs index ecd2ad18764..e87105682bd 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/AuthenticateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/AuthenticateRequest.g.cs @@ -37,6 +37,8 @@ public sealed partial class AuthenticateRequestParameters : RequestParameters /// /// /// Authenticate a user. +/// +/// /// Authenticates a user and returns information about the authenticated user. /// Include the user information in a basic auth header. /// A successful call returns a JSON structure that shows user information such as their username, the roles that are assigned to the user, any assigned metadata, and information about the realms that authenticated and authorized the user. @@ -57,6 +59,8 @@ public sealed partial class AuthenticateRequest : PlainRequest /// /// Authenticate a user. +/// +/// /// Authenticates a user and returns information about the authenticated user. /// Include the user information in a basic auth header. /// A successful call returns a JSON structure that shows user information such as their username, the roles that are assigned to the user, any assigned metadata, and information about the realms that authenticated and authorized the user. diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/BulkDeleteRoleRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/BulkDeleteRoleRequest.g.cs index ee3942ef7ac..68ea0ad9b1b 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/BulkDeleteRoleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/BulkDeleteRoleRequest.g.cs @@ -42,6 +42,9 @@ public sealed partial class BulkDeleteRoleRequestParameters : RequestParameters /// /// +/// Bulk delete roles. +/// +/// /// The role management APIs are generally the preferred way to manage roles, rather than using file-based role management. /// The bulk delete roles API cannot delete roles that are defined in roles files. /// @@ -75,6 +78,9 @@ public sealed partial class BulkDeleteRoleRequest : PlainRequest /// +/// Bulk delete roles. +/// +/// /// The role management APIs are generally the preferred way to manage roles, rather than using file-based role management. /// The bulk delete roles API cannot delete roles that are defined in roles files. /// diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/BulkPutRoleRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/BulkPutRoleRequest.g.cs index f7cf7f825e2..459580f2125 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/BulkPutRoleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/BulkPutRoleRequest.g.cs @@ -42,6 +42,9 @@ public sealed partial class BulkPutRoleRequestParameters : RequestParameters /// /// +/// Bulk create or update roles. +/// +/// /// The role management APIs are generally the preferred way to manage roles, rather than using file-based role management. /// The bulk create or update roles API cannot update roles that are defined in roles files. /// @@ -75,6 +78,9 @@ public sealed partial class BulkPutRoleRequest : PlainRequest /// +/// Bulk create or update roles. +/// +/// /// The role management APIs are generally the preferred way to manage roles, rather than using file-based role management. /// The bulk create or update roles API cannot update roles that are defined in roles files. /// @@ -121,6 +127,9 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o /// /// +/// Bulk create or update roles. +/// +/// /// The role management APIs are generally the preferred way to manage roles, rather than using file-based role management. /// The bulk create or update roles API cannot update roles that are defined in roles files. /// diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/ClearApiKeyCacheRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/ClearApiKeyCacheRequest.g.cs index 342b9460d4d..d4817ad108d 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/ClearApiKeyCacheRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/ClearApiKeyCacheRequest.g.cs @@ -36,7 +36,10 @@ public sealed partial class ClearApiKeyCacheRequestParameters : RequestParameter /// /// -/// Evicts a subset of all entries from the API key cache. +/// Clear the API key cache. +/// +/// +/// Evict a subset of all entries from the API key cache. /// The cache is also automatically cleared on state changes of the security index. /// /// @@ -57,7 +60,10 @@ public ClearApiKeyCacheRequest(Elastic.Clients.Elasticsearch.Serverless.Ids ids) /// /// -/// Evicts a subset of all entries from the API key cache. +/// Clear the API key cache. +/// +/// +/// Evict a subset of all entries from the API key cache. /// The cache is also automatically cleared on state changes of the security index. /// /// diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/ClearCachedPrivilegesRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/ClearCachedPrivilegesRequest.g.cs index 6222ec0725b..71ab78556a2 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/ClearCachedPrivilegesRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/ClearCachedPrivilegesRequest.g.cs @@ -36,7 +36,11 @@ public sealed partial class ClearCachedPrivilegesRequestParameters : RequestPara /// /// -/// Evicts application privileges from the native application privileges cache. +/// Clear the privileges cache. +/// +/// +/// Evict privileges from the native application privilege cache. +/// The cache is also automatically cleared for applications that have their privileges updated. /// /// public sealed partial class ClearCachedPrivilegesRequest : PlainRequest @@ -56,7 +60,11 @@ public ClearCachedPrivilegesRequest(Elastic.Clients.Elasticsearch.Serverless.Nam /// /// -/// Evicts application privileges from the native application privileges cache. +/// Clear the privileges cache. +/// +/// +/// Evict privileges from the native application privilege cache. +/// The cache is also automatically cleared for applications that have their privileges updated. /// /// public sealed partial class ClearCachedPrivilegesRequestDescriptor : RequestDescriptor diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/ClearCachedRealmsRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/ClearCachedRealmsRequest.g.cs index e867442c434..88ff2437b7e 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/ClearCachedRealmsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/ClearCachedRealmsRequest.g.cs @@ -42,7 +42,10 @@ public sealed partial class ClearCachedRealmsRequestParameters : RequestParamete /// /// -/// Evicts users from the user cache. Can completely clear the cache or evict specific users. +/// Clear the user cache. +/// +/// +/// Evict users from the user cache. You can completely clear the cache or evict specific users. /// /// public sealed partial class ClearCachedRealmsRequest : PlainRequest @@ -70,7 +73,10 @@ public ClearCachedRealmsRequest(Elastic.Clients.Elasticsearch.Serverless.Names r /// /// -/// Evicts users from the user cache. Can completely clear the cache or evict specific users. +/// Clear the user cache. +/// +/// +/// Evict users from the user cache. You can completely clear the cache or evict specific users. /// /// public sealed partial class ClearCachedRealmsRequestDescriptor : RequestDescriptor diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/ClearCachedRolesRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/ClearCachedRolesRequest.g.cs index 63eb2f221d5..1b9b3c6c0e3 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/ClearCachedRolesRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/ClearCachedRolesRequest.g.cs @@ -36,7 +36,10 @@ public sealed partial class ClearCachedRolesRequestParameters : RequestParameter /// /// -/// Evicts roles from the native role cache. +/// Clear the roles cache. +/// +/// +/// Evict roles from the native role cache. /// /// public sealed partial class ClearCachedRolesRequest : PlainRequest @@ -56,7 +59,10 @@ public ClearCachedRolesRequest(Elastic.Clients.Elasticsearch.Serverless.Names na /// /// -/// Evicts roles from the native role cache. +/// Clear the roles cache. +/// +/// +/// Evict roles from the native role cache. /// /// public sealed partial class ClearCachedRolesRequestDescriptor : RequestDescriptor diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/ClearCachedServiceTokensRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/ClearCachedServiceTokensRequest.g.cs index 6290641f215..7005cecd4fd 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/ClearCachedServiceTokensRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/ClearCachedServiceTokensRequest.g.cs @@ -36,7 +36,10 @@ public sealed partial class ClearCachedServiceTokensRequestParameters : RequestP /// /// -/// Evicts tokens from the service account token caches. +/// Clear service account token caches. +/// +/// +/// Evict a subset of all entries from the service account token caches. /// /// public sealed partial class ClearCachedServiceTokensRequest : PlainRequest @@ -56,7 +59,10 @@ public ClearCachedServiceTokensRequest(string ns, string service, Elastic.Client /// /// -/// Evicts tokens from the service account token caches. +/// Clear service account token caches. +/// +/// +/// Evict a subset of all entries from the service account token caches. /// /// public sealed partial class ClearCachedServiceTokensRequestDescriptor : RequestDescriptor diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/CreateApiKeyRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/CreateApiKeyRequest.g.cs index 45ea6354019..9568152258e 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/CreateApiKeyRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/CreateApiKeyRequest.g.cs @@ -43,7 +43,9 @@ public sealed partial class CreateApiKeyRequestParameters : RequestParameters /// /// /// Create an API key. -/// Creates an API key for access without requiring basic authentication. +/// +/// +/// Create an API key for access without requiring basic authentication. /// A successful request returns a JSON structure that contains the API key, its unique id, and its name. /// If applicable, it also returns expiration information for the API key in milliseconds. /// NOTE: By default, API keys never expire. You can specify expiration information when you create the API keys. @@ -103,7 +105,9 @@ public sealed partial class CreateApiKeyRequest : PlainRequest /// /// Create an API key. -/// Creates an API key for access without requiring basic authentication. +/// +/// +/// Create an API key for access without requiring basic authentication. /// A successful request returns a JSON structure that contains the API key, its unique id, and its name. /// If applicable, it also returns expiration information for the API key in milliseconds. /// NOTE: By default, API keys never expire. You can specify expiration information when you create the API keys. @@ -210,7 +214,9 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o /// /// /// Create an API key. -/// Creates an API key for access without requiring basic authentication. +/// +/// +/// Create an API key for access without requiring basic authentication. /// A successful request returns a JSON structure that contains the API key, its unique id, and its name. /// If applicable, it also returns expiration information for the API key in milliseconds. /// NOTE: By default, API keys never expire. You can specify expiration information when you create the API keys. diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/CreateServiceTokenRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/CreateServiceTokenRequest.g.cs index cf914c5cb46..1b16f173167 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/CreateServiceTokenRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/CreateServiceTokenRequest.g.cs @@ -42,7 +42,10 @@ public sealed partial class CreateServiceTokenRequestParameters : RequestParamet /// /// -/// Creates a service accounts token for access without requiring basic authentication. +/// Create a service account token. +/// +/// +/// Create a service accounts token for access without requiring basic authentication. /// /// public sealed partial class CreateServiceTokenRequest : PlainRequest @@ -74,7 +77,10 @@ public CreateServiceTokenRequest(string ns, string service) : base(r => r.Requir /// /// -/// Creates a service accounts token for access without requiring basic authentication. +/// Create a service account token. +/// +/// +/// Create a service accounts token for access without requiring basic authentication. /// /// public sealed partial class CreateServiceTokenRequestDescriptor : RequestDescriptor diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/DeletePrivilegesRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/DeletePrivilegesRequest.g.cs index b13523c31d5..53e7878ab3a 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/DeletePrivilegesRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/DeletePrivilegesRequest.g.cs @@ -42,7 +42,7 @@ public sealed partial class DeletePrivilegesRequestParameters : RequestParameter /// /// -/// Removes application privileges. +/// Delete application privileges. /// /// public sealed partial class DeletePrivilegesRequest : PlainRequest @@ -70,7 +70,7 @@ public DeletePrivilegesRequest(Elastic.Clients.Elasticsearch.Serverless.Name app /// /// -/// Removes application privileges. +/// Delete application privileges. /// /// public sealed partial class DeletePrivilegesRequestDescriptor : RequestDescriptor diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/DeleteRoleMappingRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/DeleteRoleMappingRequest.g.cs index 51e64452bb0..91b20085b24 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/DeleteRoleMappingRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/DeleteRoleMappingRequest.g.cs @@ -42,7 +42,7 @@ public sealed partial class DeleteRoleMappingRequestParameters : RequestParamete /// /// -/// Removes role mappings. +/// Delete role mappings. /// /// public sealed partial class DeleteRoleMappingRequest : PlainRequest @@ -70,7 +70,7 @@ public DeleteRoleMappingRequest(Elastic.Clients.Elasticsearch.Serverless.Name na /// /// -/// Removes role mappings. +/// Delete role mappings. /// /// public sealed partial class DeleteRoleMappingRequestDescriptor : RequestDescriptor diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/DeleteRoleRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/DeleteRoleRequest.g.cs index 8b78b92a099..511239673ca 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/DeleteRoleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/DeleteRoleRequest.g.cs @@ -42,7 +42,10 @@ public sealed partial class DeleteRoleRequestParameters : RequestParameters /// /// -/// Removes roles in the native realm. +/// Delete roles. +/// +/// +/// Delete roles in the native realm. /// /// public sealed partial class DeleteRoleRequest : PlainRequest @@ -70,7 +73,10 @@ public DeleteRoleRequest(Elastic.Clients.Elasticsearch.Serverless.Name name) : b /// /// -/// Removes roles in the native realm. +/// Delete roles. +/// +/// +/// Delete roles in the native realm. /// /// public sealed partial class DeleteRoleRequestDescriptor : RequestDescriptor diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/DeleteServiceTokenRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/DeleteServiceTokenRequest.g.cs index 48fd4aeb88e..ce2465d95d8 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/DeleteServiceTokenRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/DeleteServiceTokenRequest.g.cs @@ -42,7 +42,10 @@ public sealed partial class DeleteServiceTokenRequestParameters : RequestParamet /// /// -/// Deletes a service account token. +/// Delete service account tokens. +/// +/// +/// Delete service account tokens for a service in a specified namespace. /// /// public sealed partial class DeleteServiceTokenRequest : PlainRequest @@ -70,7 +73,10 @@ public DeleteServiceTokenRequest(string ns, string service, Elastic.Clients.Elas /// /// -/// Deletes a service account token. +/// Delete service account tokens. +/// +/// +/// Delete service account tokens for a service in a specified namespace. /// /// public sealed partial class DeleteServiceTokenRequestDescriptor : RequestDescriptor diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/DisableUserProfileRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/DisableUserProfileRequest.g.cs index ffe29e0129b..a3b20051197 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/DisableUserProfileRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/DisableUserProfileRequest.g.cs @@ -44,7 +44,10 @@ public sealed partial class DisableUserProfileRequestParameters : RequestParamet /// /// -/// Disables a user profile so it's not visible in user profile searches. +/// Disable a user profile. +/// +/// +/// Disable user profiles so that they are not visible in user profile searches. /// /// public sealed partial class DisableUserProfileRequest : PlainRequest @@ -74,7 +77,10 @@ public DisableUserProfileRequest(string uid) : base(r => r.Required("uid", uid)) /// /// -/// Disables a user profile so it's not visible in user profile searches. +/// Disable a user profile. +/// +/// +/// Disable user profiles so that they are not visible in user profile searches. /// /// public sealed partial class DisableUserProfileRequestDescriptor : RequestDescriptor diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/EnableUserProfileRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/EnableUserProfileRequest.g.cs index 4e0b5e25e00..68aba25f44f 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/EnableUserProfileRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/EnableUserProfileRequest.g.cs @@ -44,7 +44,10 @@ public sealed partial class EnableUserProfileRequestParameters : RequestParamete /// /// -/// Enables a user profile so it's visible in user profile searches. +/// Enable a user profile. +/// +/// +/// Enable user profiles to make them visible in user profile searches. /// /// public sealed partial class EnableUserProfileRequest : PlainRequest @@ -74,7 +77,10 @@ public EnableUserProfileRequest(string uid) : base(r => r.Required("uid", uid)) /// /// -/// Enables a user profile so it's visible in user profile searches. +/// Enable a user profile. +/// +/// +/// Enable user profiles to make them visible in user profile searches. /// /// public sealed partial class EnableUserProfileRequestDescriptor : RequestDescriptor diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetApiKeyRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetApiKeyRequest.g.cs index 4b6499dc563..81ba73b3014 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetApiKeyRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetApiKeyRequest.g.cs @@ -101,6 +101,8 @@ public sealed partial class GetApiKeyRequestParameters : RequestParameters /// /// /// Get API key information. +/// +/// /// Retrieves information for one or more API keys. /// NOTE: If you have only the manage_own_api_key privilege, this API returns only the API keys that you own. /// If you have read_security, manage_api_key or greater privileges (including manage_security), this API returns all API keys regardless of ownership. @@ -193,6 +195,8 @@ public sealed partial class GetApiKeyRequest : PlainRequest /// /// Get API key information. +/// +/// /// Retrieves information for one or more API keys. /// NOTE: If you have only the manage_own_api_key privilege, this API returns only the API keys that you own. /// If you have read_security, manage_api_key or greater privileges (including manage_security), this API returns all API keys regardless of ownership. diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetBuiltinPrivilegesRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetBuiltinPrivilegesRequest.g.cs index 326829e915f..b8873b769ae 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetBuiltinPrivilegesRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetBuiltinPrivilegesRequest.g.cs @@ -36,7 +36,10 @@ public sealed partial class GetBuiltinPrivilegesRequestParameters : RequestParam /// /// -/// Retrieves the list of cluster privileges and index privileges that are available in this version of Elasticsearch. +/// Get builtin privileges. +/// +/// +/// Get the list of cluster privileges and index privileges that are available in this version of Elasticsearch. /// /// public sealed partial class GetBuiltinPrivilegesRequest : PlainRequest @@ -52,7 +55,10 @@ public sealed partial class GetBuiltinPrivilegesRequest : PlainRequest /// -/// Retrieves the list of cluster privileges and index privileges that are available in this version of Elasticsearch. +/// Get builtin privileges. +/// +/// +/// Get the list of cluster privileges and index privileges that are available in this version of Elasticsearch. /// /// public sealed partial class GetBuiltinPrivilegesRequestDescriptor : RequestDescriptor diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetBuiltinPrivilegesResponse.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetBuiltinPrivilegesResponse.g.cs index f8523f5be5e..289a4f1da56 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetBuiltinPrivilegesResponse.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetBuiltinPrivilegesResponse.g.cs @@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.Serverless.Security; public sealed partial class GetBuiltinPrivilegesResponse : ElasticsearchResponse { [JsonInclude, JsonPropertyName("cluster")] - public IReadOnlyCollection Cluster { get; init; } + public IReadOnlyCollection Cluster { get; init; } [JsonInclude, JsonPropertyName("index")] public IReadOnlyCollection Index { get; init; } } \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetPrivilegesRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetPrivilegesRequest.g.cs index da45eb97feb..a90bea1fddf 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetPrivilegesRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetPrivilegesRequest.g.cs @@ -36,7 +36,7 @@ public sealed partial class GetPrivilegesRequestParameters : RequestParameters /// /// -/// Retrieves application privileges. +/// Get application privileges. /// /// public sealed partial class GetPrivilegesRequest : PlainRequest @@ -64,7 +64,7 @@ public GetPrivilegesRequest(Elastic.Clients.Elasticsearch.Serverless.Name? appli /// /// -/// Retrieves application privileges. +/// Get application privileges. /// /// public sealed partial class GetPrivilegesRequestDescriptor : RequestDescriptor diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetRoleMappingRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetRoleMappingRequest.g.cs index 30e94b5b7f3..a454c8e7319 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetRoleMappingRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetRoleMappingRequest.g.cs @@ -36,7 +36,12 @@ public sealed partial class GetRoleMappingRequestParameters : RequestParameters /// /// -/// Retrieves role mappings. +/// Get role mappings. +/// +/// +/// Role mappings define which roles are assigned to each user. +/// The role mapping APIs are generally the preferred way to manage role mappings rather than using role mapping files. +/// The get role mappings API cannot retrieve role mappings that are defined in role mapping files. /// /// public sealed partial class GetRoleMappingRequest : PlainRequest @@ -60,7 +65,12 @@ public GetRoleMappingRequest(Elastic.Clients.Elasticsearch.Serverless.Names? nam /// /// -/// Retrieves role mappings. +/// Get role mappings. +/// +/// +/// Role mappings define which roles are assigned to each user. +/// The role mapping APIs are generally the preferred way to manage role mappings rather than using role mapping files. +/// The get role mappings API cannot retrieve role mappings that are defined in role mapping files. /// /// public sealed partial class GetRoleMappingRequestDescriptor : RequestDescriptor diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetRoleRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetRoleRequest.g.cs index f4132f81a2f..38491b40830 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetRoleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetRoleRequest.g.cs @@ -36,8 +36,10 @@ public sealed partial class GetRoleRequestParameters : RequestParameters /// /// -/// The role management APIs are generally the preferred way to manage roles, rather than using file-based role management. -/// The get roles API cannot retrieve roles that are defined in roles files. +/// Get roles. +/// +/// +/// Get roles in the native realm. /// /// public sealed partial class GetRoleRequest : PlainRequest @@ -61,8 +63,10 @@ public GetRoleRequest(Elastic.Clients.Elasticsearch.Serverless.Names? name) : ba /// /// -/// The role management APIs are generally the preferred way to manage roles, rather than using file-based role management. -/// The get roles API cannot retrieve roles that are defined in roles files. +/// Get roles. +/// +/// +/// Get roles in the native realm. /// /// public sealed partial class GetRoleRequestDescriptor : RequestDescriptor diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetServiceAccountsRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetServiceAccountsRequest.g.cs index 3d722b0eb8b..bf6cd184fd8 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetServiceAccountsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetServiceAccountsRequest.g.cs @@ -36,7 +36,10 @@ public sealed partial class GetServiceAccountsRequestParameters : RequestParamet /// /// -/// This API returns a list of service accounts that match the provided path parameter(s). +/// Get service accounts. +/// +/// +/// Get a list of service accounts that match the provided path parameters. /// /// public sealed partial class GetServiceAccountsRequest : PlainRequest @@ -64,7 +67,10 @@ public GetServiceAccountsRequest(string? ns) : base(r => r.Optional("namespace", /// /// -/// This API returns a list of service accounts that match the provided path parameter(s). +/// Get service accounts. +/// +/// +/// Get a list of service accounts that match the provided path parameters. /// /// public sealed partial class GetServiceAccountsRequestDescriptor : RequestDescriptor diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetServiceCredentialsRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetServiceCredentialsRequest.g.cs index 3d2a0ecfb8d..f343ece9bb0 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetServiceCredentialsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetServiceCredentialsRequest.g.cs @@ -36,7 +36,7 @@ public sealed partial class GetServiceCredentialsRequestParameters : RequestPara /// /// -/// Retrieves information of all service credentials for a service account. +/// Get service account credentials. /// /// public sealed partial class GetServiceCredentialsRequest : PlainRequest @@ -56,7 +56,7 @@ public GetServiceCredentialsRequest(string ns, Elastic.Clients.Elasticsearch.Ser /// /// -/// Retrieves information of all service credentials for a service account. +/// Get service account credentials. /// /// public sealed partial class GetServiceCredentialsRequestDescriptor : RequestDescriptor diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetTokenRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetTokenRequest.g.cs index 0fea9bc36db..52d992c21c1 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetTokenRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetTokenRequest.g.cs @@ -36,7 +36,10 @@ public sealed partial class GetTokenRequestParameters : RequestParameters /// /// -/// Creates a bearer token for access without requiring basic authentication. +/// Get a token. +/// +/// +/// Create a bearer token for access without requiring basic authentication. /// /// public sealed partial class GetTokenRequest : PlainRequest @@ -65,7 +68,10 @@ public sealed partial class GetTokenRequest : PlainRequest /// -/// Creates a bearer token for access without requiring basic authentication. +/// Get a token. +/// +/// +/// Create a bearer token for access without requiring basic authentication. /// /// public sealed partial class GetTokenRequestDescriptor : RequestDescriptor diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetUserPrivilegesRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetUserPrivilegesRequest.g.cs index 3f6b988aad1..6e0183f4d6a 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetUserPrivilegesRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetUserPrivilegesRequest.g.cs @@ -50,7 +50,7 @@ public sealed partial class GetUserPrivilegesRequestParameters : RequestParamete /// /// -/// Retrieves security privileges for the logged in user. +/// Get user privileges. /// /// public sealed partial class GetUserPrivilegesRequest : PlainRequest @@ -84,7 +84,7 @@ public sealed partial class GetUserPrivilegesRequest : PlainRequest /// -/// Retrieves security privileges for the logged in user. +/// Get user privileges. /// /// public sealed partial class GetUserPrivilegesRequestDescriptor : RequestDescriptor diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetUserProfileRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetUserProfileRequest.g.cs index bb282a71b60..5f0dd65f114 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetUserProfileRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetUserProfileRequest.g.cs @@ -45,7 +45,10 @@ public sealed partial class GetUserProfileRequestParameters : RequestParameters /// /// -/// Retrieves a user's profile using the unique profile ID. +/// Get a user profile. +/// +/// +/// Get a user's profile using the unique profile ID. /// /// public sealed partial class GetUserProfileRequest : PlainRequest @@ -76,7 +79,10 @@ public GetUserProfileRequest(IReadOnlyCollection uid) : base(r => r.Requ /// /// -/// Retrieves a user's profile using the unique profile ID. +/// Get a user profile. +/// +/// +/// Get a user's profile using the unique profile ID. /// /// public sealed partial class GetUserProfileRequestDescriptor : RequestDescriptor diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GrantApiKeyRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GrantApiKeyRequest.g.cs index 250badd5619..91b196ec00a 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GrantApiKeyRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GrantApiKeyRequest.g.cs @@ -36,8 +36,11 @@ public sealed partial class GrantApiKeyRequestParameters : RequestParameters /// /// -/// Creates an API key on behalf of another user. -/// This API is similar to Create API keys, however it creates the API key for a user that is different than the user that runs the API. +/// Grant an API key. +/// +/// +/// Create an API key on behalf of another user. +/// This API is similar to the create API keys API, however it creates the API key for a user that is different than the user that runs the API. /// The caller must have authentication credentials (either an access token, or a username and password) for the user on whose behalf the API key will be created. /// It is not possible to use this API to create an API key without that user’s credentials. /// The user, for whom the authentication credentials is provided, can optionally "run as" (impersonate) another user. @@ -120,8 +123,11 @@ public sealed partial class GrantApiKeyRequest : PlainRequest /// -/// Creates an API key on behalf of another user. -/// This API is similar to Create API keys, however it creates the API key for a user that is different than the user that runs the API. +/// Grant an API key. +/// +/// +/// Create an API key on behalf of another user. +/// This API is similar to the create API keys API, however it creates the API key for a user that is different than the user that runs the API. /// The caller must have authentication credentials (either an access token, or a username and password) for the user on whose behalf the API key will be created. /// It is not possible to use this API to create an API key without that user’s credentials. /// The user, for whom the authentication credentials is provided, can optionally "run as" (impersonate) another user. @@ -303,8 +309,11 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o /// /// -/// Creates an API key on behalf of another user. -/// This API is similar to Create API keys, however it creates the API key for a user that is different than the user that runs the API. +/// Grant an API key. +/// +/// +/// Create an API key on behalf of another user. +/// This API is similar to the create API keys API, however it creates the API key for a user that is different than the user that runs the API. /// The caller must have authentication credentials (either an access token, or a username and password) for the user on whose behalf the API key will be created. /// It is not possible to use this API to create an API key without that user’s credentials. /// The user, for whom the authentication credentials is provided, can optionally "run as" (impersonate) another user. diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/HasPrivilegesRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/HasPrivilegesRequest.g.cs index dbeec56ac2a..103009be8ce 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/HasPrivilegesRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/HasPrivilegesRequest.g.cs @@ -37,7 +37,9 @@ public sealed partial class HasPrivilegesRequestParameters : RequestParameters /// /// /// Check user privileges. -/// Determines whether the specified user has a specified list of privileges. +/// +/// +/// Determine whether the specified user has a specified list of privileges. /// /// public sealed partial class HasPrivilegesRequest : PlainRequest @@ -75,7 +77,9 @@ public HasPrivilegesRequest(Elastic.Clients.Elasticsearch.Serverless.Name? user) /// /// /// Check user privileges. -/// Determines whether the specified user has a specified list of privileges. +/// +/// +/// Determine whether the specified user has a specified list of privileges. /// /// public sealed partial class HasPrivilegesRequestDescriptor : RequestDescriptor diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/HasPrivilegesUserProfileRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/HasPrivilegesUserProfileRequest.g.cs index ec0fc8461a8..56c7c266a74 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/HasPrivilegesUserProfileRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/HasPrivilegesUserProfileRequest.g.cs @@ -36,7 +36,10 @@ public sealed partial class HasPrivilegesUserProfileRequestParameters : RequestP /// /// -/// Determines whether the users associated with the specified profile IDs have all the requested privileges. +/// Check user profile privileges. +/// +/// +/// Determine whether the users associated with the specified user profile IDs have all the requested privileges. /// /// public sealed partial class HasPrivilegesUserProfileRequest : PlainRequest @@ -63,7 +66,10 @@ public sealed partial class HasPrivilegesUserProfileRequest : PlainRequest /// -/// Determines whether the users associated with the specified profile IDs have all the requested privileges. +/// Check user profile privileges. +/// +/// +/// Determine whether the users associated with the specified user profile IDs have all the requested privileges. /// /// public sealed partial class HasPrivilegesUserProfileRequestDescriptor : RequestDescriptor diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/InvalidateApiKeyRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/InvalidateApiKeyRequest.g.cs index d9256ca110e..c4d81214b8a 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/InvalidateApiKeyRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/InvalidateApiKeyRequest.g.cs @@ -37,7 +37,10 @@ public sealed partial class InvalidateApiKeyRequestParameters : RequestParameter /// /// /// Invalidate API keys. -/// Invalidates one or more API keys. +/// +/// +/// This API invalidates API keys created by the create API key or grant API key APIs. +/// Invalidated API keys fail authentication, but they can still be viewed using the get API key information and query API key information APIs, for at least the configured retention period, until they are automatically deleted. /// The manage_api_key privilege allows deleting any API keys. /// The manage_own_api_key only allows deleting API keys that are owned by the user. /// In addition, with the manage_own_api_key privilege, an invalidation request must be issued in one of the three formats: @@ -55,7 +58,7 @@ public sealed partial class InvalidateApiKeyRequestParameters : RequestParameter /// /// /// -/// Or, if the request is issued by an API key, i.e. an API key invalidates itself, specify its ID in the ids field. +/// Or, if the request is issued by an API key, that is to say an API key invalidates itself, specify its ID in the ids field. /// /// /// @@ -122,7 +125,10 @@ public sealed partial class InvalidateApiKeyRequest : PlainRequest /// /// Invalidate API keys. -/// Invalidates one or more API keys. +/// +/// +/// This API invalidates API keys created by the create API key or grant API key APIs. +/// Invalidated API keys fail authentication, but they can still be viewed using the get API key information and query API key information APIs, for at least the configured retention period, until they are automatically deleted. /// The manage_api_key privilege allows deleting any API keys. /// The manage_own_api_key only allows deleting API keys that are owned by the user. /// In addition, with the manage_own_api_key privilege, an invalidation request must be issued in one of the three formats: @@ -140,7 +146,7 @@ public sealed partial class InvalidateApiKeyRequest : PlainRequest /// /// -/// Or, if the request is issued by an API key, i.e. an API key invalidates itself, specify its ID in the ids field. +/// Or, if the request is issued by an API key, that is to say an API key invalidates itself, specify its ID in the ids field. /// /// /// diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/InvalidateTokenRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/InvalidateTokenRequest.g.cs index 3f146541c72..91ad1b235ae 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/InvalidateTokenRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/InvalidateTokenRequest.g.cs @@ -36,7 +36,16 @@ public sealed partial class InvalidateTokenRequestParameters : RequestParameters /// /// -/// Invalidates one or more access tokens or refresh tokens. +/// Invalidate a token. +/// +/// +/// The access tokens returned by the get token API have a finite period of time for which they are valid. +/// After that time period, they can no longer be used. +/// The time period is defined by the xpack.security.authc.token.timeout setting. +/// +/// +/// The refresh tokens returned by the get token API are only valid for 24 hours. They can also be used exactly once. +/// If you want to invalidate one or more access or refresh tokens immediately, use this invalidate token API. /// /// public sealed partial class InvalidateTokenRequest : PlainRequest @@ -61,7 +70,16 @@ public sealed partial class InvalidateTokenRequest : PlainRequest /// -/// Invalidates one or more access tokens or refresh tokens. +/// Invalidate a token. +/// +/// +/// The access tokens returned by the get token API have a finite period of time for which they are valid. +/// After that time period, they can no longer be used. +/// The time period is defined by the xpack.security.authc.token.timeout setting. +/// +/// +/// The refresh tokens returned by the get token API are only valid for 24 hours. They can also be used exactly once. +/// If you want to invalidate one or more access or refresh tokens immediately, use this invalidate token API. /// /// public sealed partial class InvalidateTokenRequestDescriptor : RequestDescriptor diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/PutPrivilegesRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/PutPrivilegesRequest.g.cs index ab3366a5509..2a4b0e681d5 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/PutPrivilegesRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/PutPrivilegesRequest.g.cs @@ -44,7 +44,7 @@ public sealed partial class PutPrivilegesRequestParameters : RequestParameters /// /// -/// Adds or updates application privileges. +/// Create or update application privileges. /// /// public sealed partial class PutPrivilegesRequest : PlainRequest, ISelfSerializable @@ -74,7 +74,7 @@ void ISelfSerializable.Serialize(Utf8JsonWriter writer, JsonSerializerOptions op /// /// -/// Adds or updates application privileges. +/// Create or update application privileges. /// /// public sealed partial class PutPrivilegesRequestDescriptor : RequestDescriptor, ISelfSerializable diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/PutRoleMappingRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/PutRoleMappingRequest.g.cs index 9be7d80b892..8b012008cd7 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/PutRoleMappingRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/PutRoleMappingRequest.g.cs @@ -42,7 +42,16 @@ public sealed partial class PutRoleMappingRequestParameters : RequestParameters /// /// -/// Creates and updates role mappings. +/// Create or update role mappings. +/// +/// +/// Role mappings define which roles are assigned to each user. +/// Each mapping has rules that identify users and a list of roles that are granted to those users. +/// The role mapping APIs are generally the preferred way to manage role mappings rather than using role mapping files. The create or update role mappings API cannot update role mappings that are defined in role mapping files. +/// +/// +/// This API does not create roles. Rather, it maps users to existing roles. +/// Roles can be created by using the create or update roles API or roles files. /// /// public sealed partial class PutRoleMappingRequest : PlainRequest @@ -82,7 +91,16 @@ public PutRoleMappingRequest(Elastic.Clients.Elasticsearch.Serverless.Name name) /// /// -/// Creates and updates role mappings. +/// Create or update role mappings. +/// +/// +/// Role mappings define which roles are assigned to each user. +/// Each mapping has rules that identify users and a list of roles that are granted to those users. +/// The role mapping APIs are generally the preferred way to manage role mappings rather than using role mapping files. The create or update role mappings API cannot update role mappings that are defined in role mapping files. +/// +/// +/// This API does not create roles. Rather, it maps users to existing roles. +/// Roles can be created by using the create or update roles API or roles files. /// /// public sealed partial class PutRoleMappingRequestDescriptor : RequestDescriptor diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/PutRoleRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/PutRoleRequest.g.cs index 17b733fefac..7cb42023af5 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/PutRoleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/PutRoleRequest.g.cs @@ -42,8 +42,12 @@ public sealed partial class PutRoleRequestParameters : RequestParameters /// /// -/// The role management APIs are generally the preferred way to manage roles, rather than using file-based role management. +/// Create or update roles. +/// +/// +/// The role management APIs are generally the preferred way to manage roles in the native realm, rather than using file-based role management. /// The create or update roles API cannot update roles that are defined in roles files. +/// File-based role management is not available in Elastic Serverless. /// /// public sealed partial class PutRoleRequest : PlainRequest @@ -127,8 +131,12 @@ public PutRoleRequest(Elastic.Clients.Elasticsearch.Serverless.Name name) : base /// /// -/// The role management APIs are generally the preferred way to manage roles, rather than using file-based role management. +/// Create or update roles. +/// +/// +/// The role management APIs are generally the preferred way to manage roles in the native realm, rather than using file-based role management. /// The create or update roles API cannot update roles that are defined in roles files. +/// File-based role management is not available in Elastic Serverless. /// /// public sealed partial class PutRoleRequestDescriptor : RequestDescriptor, PutRoleRequestParameters> @@ -407,8 +415,12 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o /// /// -/// The role management APIs are generally the preferred way to manage roles, rather than using file-based role management. +/// Create or update roles. +/// +/// +/// The role management APIs are generally the preferred way to manage roles in the native realm, rather than using file-based role management. /// The create or update roles API cannot update roles that are defined in roles files. +/// File-based role management is not available in Elastic Serverless. /// /// public sealed partial class PutRoleRequestDescriptor : RequestDescriptor diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/QueryApiKeysRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/QueryApiKeysRequest.g.cs index 7e74a7993c4..4da4639b1b7 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/QueryApiKeysRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/QueryApiKeysRequest.g.cs @@ -153,8 +153,10 @@ public override void Write(Utf8JsonWriter writer, QueryApiKeysRequest value, Jso /// /// -/// Query API keys. -/// Retrieves a paginated list of API keys and their information. You can optionally filter the results with a query. +/// Find API keys with a query. +/// +/// +/// Get a paginated list of API keys and their information. You can optionally filter the results with a query. /// /// [JsonConverter(typeof(QueryApiKeysRequestConverter))] @@ -263,8 +265,10 @@ public QueryApiKeysRequest() /// /// -/// Query API keys. -/// Retrieves a paginated list of API keys and their information. You can optionally filter the results with a query. +/// Find API keys with a query. +/// +/// +/// Get a paginated list of API keys and their information. You can optionally filter the results with a query. /// /// public sealed partial class QueryApiKeysRequestDescriptor : RequestDescriptor, QueryApiKeysRequestParameters> @@ -505,8 +509,10 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o /// /// -/// Query API keys. -/// Retrieves a paginated list of API keys and their information. You can optionally filter the results with a query. +/// Find API keys with a query. +/// +/// +/// Get a paginated list of API keys and their information. You can optionally filter the results with a query. /// /// public sealed partial class QueryApiKeysRequestDescriptor : RequestDescriptor diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/QueryRoleRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/QueryRoleRequest.g.cs index 87f3f201e45..7aea332007d 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/QueryRoleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/QueryRoleRequest.g.cs @@ -36,7 +36,10 @@ public sealed partial class QueryRoleRequestParameters : RequestParameters /// /// -/// Retrieves roles in a paginated manner. You can optionally filter the results with a query. +/// Find roles with a query. +/// +/// +/// Get roles in a paginated manner. You can optionally filter the results with a query. /// /// public sealed partial class QueryRoleRequest : PlainRequest @@ -103,7 +106,10 @@ public sealed partial class QueryRoleRequest : PlainRequest /// -/// Retrieves roles in a paginated manner. You can optionally filter the results with a query. +/// Find roles with a query. +/// +/// +/// Get roles in a paginated manner. You can optionally filter the results with a query. /// /// public sealed partial class QueryRoleRequestDescriptor : RequestDescriptor, QueryRoleRequestParameters> @@ -318,7 +324,10 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o /// /// -/// Retrieves roles in a paginated manner. You can optionally filter the results with a query. +/// Find roles with a query. +/// +/// +/// Get roles in a paginated manner. You can optionally filter the results with a query. /// /// public sealed partial class QueryRoleRequestDescriptor : RequestDescriptor diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/QueryUserRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/QueryUserRequest.g.cs index 0f1142d276b..3d9242111bb 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/QueryUserRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/QueryUserRequest.g.cs @@ -42,7 +42,11 @@ public sealed partial class QueryUserRequestParameters : RequestParameters /// /// -/// Retrieves information for Users in a paginated manner. You can optionally filter the results with a query. +/// Find users with a query. +/// +/// +/// Get information for users in a paginated manner. +/// You can optionally filter the results with a query. /// /// public sealed partial class QueryUserRequest : PlainRequest @@ -116,7 +120,11 @@ public sealed partial class QueryUserRequest : PlainRequest /// -/// Retrieves information for Users in a paginated manner. You can optionally filter the results with a query. +/// Find users with a query. +/// +/// +/// Get information for users in a paginated manner. +/// You can optionally filter the results with a query. /// /// public sealed partial class QueryUserRequestDescriptor : RequestDescriptor, QueryUserRequestParameters> @@ -332,7 +340,11 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o /// /// -/// Retrieves information for Users in a paginated manner. You can optionally filter the results with a query. +/// Find users with a query. +/// +/// +/// Get information for users in a paginated manner. +/// You can optionally filter the results with a query. /// /// public sealed partial class QueryUserRequestDescriptor : RequestDescriptor diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/SamlAuthenticateRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/SamlAuthenticateRequest.g.cs index 148ca66cd00..8222f4fdbf2 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/SamlAuthenticateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/SamlAuthenticateRequest.g.cs @@ -36,7 +36,10 @@ public sealed partial class SamlAuthenticateRequestParameters : RequestParameter /// /// -/// Submits a SAML Response message to Elasticsearch for consumption. +/// Authenticate SAML. +/// +/// +/// Submits a SAML response message to Elasticsearch for consumption. /// /// public sealed partial class SamlAuthenticateRequest : PlainRequest @@ -76,7 +79,10 @@ public sealed partial class SamlAuthenticateRequest : PlainRequest /// -/// Submits a SAML Response message to Elasticsearch for consumption. +/// Authenticate SAML. +/// +/// +/// Submits a SAML response message to Elasticsearch for consumption. /// /// public sealed partial class SamlAuthenticateRequestDescriptor : RequestDescriptor diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/SamlCompleteLogoutRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/SamlCompleteLogoutRequest.g.cs index 66f777e8d73..58b98982f3d 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/SamlCompleteLogoutRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/SamlCompleteLogoutRequest.g.cs @@ -36,6 +36,9 @@ public sealed partial class SamlCompleteLogoutRequestParameters : RequestParamet /// /// +/// Logout of SAML completely. +/// +/// /// Verifies the logout response sent from the SAML IdP. /// /// @@ -84,6 +87,9 @@ public sealed partial class SamlCompleteLogoutRequest : PlainRequest /// +/// Logout of SAML completely. +/// +/// /// Verifies the logout response sent from the SAML IdP. /// /// diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/SamlInvalidateRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/SamlInvalidateRequest.g.cs index cdcc6ca1c5a..b631761eb4c 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/SamlInvalidateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/SamlInvalidateRequest.g.cs @@ -36,6 +36,9 @@ public sealed partial class SamlInvalidateRequestParameters : RequestParameters /// /// +/// Invalidate SAML. +/// +/// /// Submits a SAML LogoutRequest message to Elasticsearch for consumption. /// /// @@ -80,6 +83,9 @@ public sealed partial class SamlInvalidateRequest : PlainRequest /// +/// Invalidate SAML. +/// +/// /// Submits a SAML LogoutRequest message to Elasticsearch for consumption. /// /// diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/SamlLogoutRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/SamlLogoutRequest.g.cs index 0423c1881d5..9b2ffde5d00 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/SamlLogoutRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/SamlLogoutRequest.g.cs @@ -36,6 +36,9 @@ public sealed partial class SamlLogoutRequestParameters : RequestParameters /// /// +/// Logout of SAML. +/// +/// /// Submits a request to invalidate an access token and refresh token. /// /// @@ -70,6 +73,9 @@ public sealed partial class SamlLogoutRequest : PlainRequest /// +/// Logout of SAML. +/// +/// /// Submits a request to invalidate an access token and refresh token. /// /// diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/SamlPrepareAuthenticationRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/SamlPrepareAuthenticationRequest.g.cs index 92570ab779d..fab192886e1 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/SamlPrepareAuthenticationRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/SamlPrepareAuthenticationRequest.g.cs @@ -36,7 +36,10 @@ public sealed partial class SamlPrepareAuthenticationRequestParameters : Request /// /// -/// Creates a SAML authentication request (<AuthnRequest>) as a URL string, based on the configuration of the respective SAML realm in Elasticsearch. +/// Prepare SAML authentication. +/// +/// +/// Creates a SAML authentication request (<AuthnRequest>) as a URL string, based on the configuration of the respective SAML realm in Elasticsearch. /// /// public sealed partial class SamlPrepareAuthenticationRequest : PlainRequest @@ -79,7 +82,10 @@ public sealed partial class SamlPrepareAuthenticationRequest : PlainRequest /// -/// Creates a SAML authentication request (<AuthnRequest>) as a URL string, based on the configuration of the respective SAML realm in Elasticsearch. +/// Prepare SAML authentication. +/// +/// +/// Creates a SAML authentication request (<AuthnRequest>) as a URL string, based on the configuration of the respective SAML realm in Elasticsearch. /// /// public sealed partial class SamlPrepareAuthenticationRequestDescriptor : RequestDescriptor diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/SamlServiceProviderMetadataRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/SamlServiceProviderMetadataRequest.g.cs index 91804f5cb3b..601fd669ecb 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/SamlServiceProviderMetadataRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/SamlServiceProviderMetadataRequest.g.cs @@ -36,6 +36,9 @@ public sealed partial class SamlServiceProviderMetadataRequestParameters : Reque /// /// +/// Create SAML service provider metadata. +/// +/// /// Generate SAML metadata for a SAML 2.0 Service Provider. /// /// @@ -56,6 +59,9 @@ public SamlServiceProviderMetadataRequest(Elastic.Clients.Elasticsearch.Serverle /// /// +/// Create SAML service provider metadata. +/// +/// /// Generate SAML metadata for a SAML 2.0 Service Provider. /// /// diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/SuggestUserProfilesRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/SuggestUserProfilesRequest.g.cs index 48bb4800091..8aa590fb3b4 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/SuggestUserProfilesRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/SuggestUserProfilesRequest.g.cs @@ -36,6 +36,9 @@ public sealed partial class SuggestUserProfilesRequestParameters : RequestParame /// /// +/// Suggest a user profile. +/// +/// /// Get suggestions for user profiles that match specified search criteria. /// /// @@ -92,6 +95,9 @@ public sealed partial class SuggestUserProfilesRequest : PlainRequest /// +/// Suggest a user profile. +/// +/// /// Get suggestions for user profiles that match specified search criteria. /// /// diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/UpdateApiKeyRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/UpdateApiKeyRequest.g.cs index 06552e2e13c..aa6dbc91c92 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/UpdateApiKeyRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/UpdateApiKeyRequest.g.cs @@ -37,6 +37,8 @@ public sealed partial class UpdateApiKeyRequestParameters : RequestParameters /// /// /// Update an API key. +/// +/// /// Updates attributes of an existing API key. /// Users can only update API keys that they created or that were granted to them. /// Use this API to update API keys created by the create API Key or grant API Key APIs. @@ -94,6 +96,8 @@ public UpdateApiKeyRequest(Elastic.Clients.Elasticsearch.Serverless.Id id) : bas /// /// /// Update an API key. +/// +/// /// Updates attributes of an existing API key. /// Users can only update API keys that they created or that were granted to them. /// Use this API to update API keys created by the create API Key or grant API Key APIs. @@ -196,6 +200,8 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o /// /// /// Update an API key. +/// +/// /// Updates attributes of an existing API key. /// Users can only update API keys that they created or that were granted to them. /// Use this API to update API keys created by the create API Key or grant API Key APIs. diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/UpdateUserProfileDataRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/UpdateUserProfileDataRequest.g.cs index 632005a5cc7..3b56008f30a 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/UpdateUserProfileDataRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/UpdateUserProfileDataRequest.g.cs @@ -58,7 +58,10 @@ public sealed partial class UpdateUserProfileDataRequestParameters : RequestPara /// /// -/// Updates specific data for the user profile that's associated with the specified unique ID. +/// Update user profile data. +/// +/// +/// Update specific data for the user profile that is associated with a unique ID. /// /// public sealed partial class UpdateUserProfileDataRequest : PlainRequest @@ -122,7 +125,10 @@ public UpdateUserProfileDataRequest(string uid) : base(r => r.Required("uid", ui /// /// -/// Updates specific data for the user profile that's associated with the specified unique ID. +/// Update user profile data. +/// +/// +/// Update specific data for the user profile that is associated with a unique ID. /// /// public sealed partial class UpdateUserProfileDataRequestDescriptor : RequestDescriptor diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TermVectorsRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TermVectorsRequest.g.cs index 9819d123880..7854f379409 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TermVectorsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TermVectorsRequest.g.cs @@ -115,7 +115,9 @@ public sealed partial class TermVectorsRequestParameters : RequestParameters /// /// /// Get term vector information. -/// Returns information and statistics about terms in the fields of a particular document. +/// +/// +/// Get information and statistics about terms in the fields of a particular document. /// /// public sealed partial class TermVectorsRequest : PlainRequest @@ -255,7 +257,9 @@ public TermVectorsRequest(Elastic.Clients.Elasticsearch.Serverless.IndexName ind /// /// /// Get term vector information. -/// Returns information and statistics about terms in the fields of a particular document. +/// +/// +/// Get information and statistics about terms in the fields of a particular document. /// /// public sealed partial class TermVectorsRequestDescriptor : RequestDescriptor, TermVectorsRequestParameters> diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TermsEnumRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TermsEnumRequest.g.cs index 52e089690d1..5173a597bac 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TermsEnumRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TermsEnumRequest.g.cs @@ -36,7 +36,18 @@ public sealed partial class TermsEnumRequestParameters : RequestParameters /// /// -/// The terms enum API can be used to discover terms in the index that begin with the provided string. It is designed for low-latency look-ups used in auto-complete scenarios. +/// Get terms in an index. +/// +/// +/// Discover terms that match a partial string in an index. +/// This "terms enum" API is designed for low-latency look-ups used in auto-complete scenarios. +/// +/// +/// If the complete property in the response is false, the returned terms set may be incomplete and should be treated as approximate. +/// This can occur due to a few reasons, such as a request timeout or a node error. +/// +/// +/// NOTE: The terms enum API may return terms from deleted documents. Deleted documents are initially only marked as deleted. It is not until their segments are merged that documents are actually deleted. Until that happens, the terms enum API will return terms from these documents. /// /// public sealed partial class TermsEnumRequest : PlainRequest @@ -106,7 +117,18 @@ public TermsEnumRequest(Elastic.Clients.Elasticsearch.Serverless.IndexName index /// /// -/// The terms enum API can be used to discover terms in the index that begin with the provided string. It is designed for low-latency look-ups used in auto-complete scenarios. +/// Get terms in an index. +/// +/// +/// Discover terms that match a partial string in an index. +/// This "terms enum" API is designed for low-latency look-ups used in auto-complete scenarios. +/// +/// +/// If the complete property in the response is false, the returned terms set may be incomplete and should be treated as approximate. +/// This can occur due to a few reasons, such as a request timeout or a node error. +/// +/// +/// NOTE: The terms enum API may return terms from deleted documents. Deleted documents are initially only marked as deleted. It is not until their segments are merged that documents are actually deleted. Until that happens, the terms enum API will return terms from these documents. /// /// public sealed partial class TermsEnumRequestDescriptor : RequestDescriptor, TermsEnumRequestParameters> @@ -314,7 +336,18 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o /// /// -/// The terms enum API can be used to discover terms in the index that begin with the provided string. It is designed for low-latency look-ups used in auto-complete scenarios. +/// Get terms in an index. +/// +/// +/// Discover terms that match a partial string in an index. +/// This "terms enum" API is designed for low-latency look-ups used in auto-complete scenarios. +/// +/// +/// If the complete property in the response is false, the returned terms set may be incomplete and should be treated as approximate. +/// This can occur due to a few reasons, such as a request timeout or a node error. +/// +/// +/// NOTE: The terms enum API may return terms from deleted documents. Deleted documents are initially only marked as deleted. It is not until their segments are merged that documents are actually deleted. Until that happens, the terms enum API will return terms from these documents. /// /// public sealed partial class TermsEnumRequestDescriptor : RequestDescriptor diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/UpdateByQueryRethrottleRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/UpdateByQueryRethrottleRequest.g.cs index a10de0936d2..a5f50b58ef1 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/UpdateByQueryRethrottleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/UpdateByQueryRethrottleRequest.g.cs @@ -42,7 +42,11 @@ public sealed partial class UpdateByQueryRethrottleRequestParameters : RequestPa /// /// -/// Changes the number of requests per second for a particular Update By Query operation. +/// Throttle an update by query operation. +/// +/// +/// Change the number of requests per second for a particular update by query operation. +/// Rethrottling that speeds up the query takes effect immediately but rethrotting that slows down the query takes effect after completing the current batch to prevent scroll timeouts. /// /// public sealed partial class UpdateByQueryRethrottleRequest : PlainRequest @@ -70,7 +74,11 @@ public UpdateByQueryRethrottleRequest(Elastic.Clients.Elasticsearch.Serverless.I /// /// -/// Changes the number of requests per second for a particular Update By Query operation. +/// Throttle an update by query operation. +/// +/// +/// Change the number of requests per second for a particular update by query operation. +/// Rethrottling that speeds up the query takes effect immediately but rethrotting that slows down the query takes effect after completing the current batch to prevent scroll timeouts. /// /// public sealed partial class UpdateByQueryRethrottleRequestDescriptor : RequestDescriptor diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.AsyncSearch.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.AsyncSearch.g.cs index 95d1920cbb8..b3d675da449 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.AsyncSearch.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.AsyncSearch.g.cs @@ -41,12 +41,14 @@ internal AsyncSearchNamespacedClient(ElasticsearchClient client) : base(client) /// /// - /// Deletes an async search by identifier. - /// If the search is still running, the search request will be cancelled. + /// Delete an async search. + /// + /// + /// If the asynchronous search is still running, it is cancelled. /// Otherwise, the saved search results are deleted. /// If the Elasticsearch security features are enabled, the deletion of a specific async search is restricted to: the authenticated user that submitted the original search request; users that have the cancel_task cluster privilege. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteAsync(DeleteAsyncSearchRequest request, CancellationToken cancellationToken = default) { @@ -56,12 +58,14 @@ public virtual Task DeleteAsync(DeleteAsyncSearchRequ /// /// - /// Deletes an async search by identifier. - /// If the search is still running, the search request will be cancelled. + /// Delete an async search. + /// + /// + /// If the asynchronous search is still running, it is cancelled. /// Otherwise, the saved search results are deleted. /// If the Elasticsearch security features are enabled, the deletion of a specific async search is restricted to: the authenticated user that submitted the original search request; users that have the cancel_task cluster privilege. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteAsync(DeleteAsyncSearchRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -71,12 +75,14 @@ public virtual Task DeleteAsync(DeleteAsyn /// /// - /// Deletes an async search by identifier. - /// If the search is still running, the search request will be cancelled. + /// Delete an async search. + /// + /// + /// If the asynchronous search is still running, it is cancelled. /// Otherwise, the saved search results are deleted. /// If the Elasticsearch security features are enabled, the deletion of a specific async search is restricted to: the authenticated user that submitted the original search request; users that have the cancel_task cluster privilege. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteAsync(Elastic.Clients.Elasticsearch.Serverless.Id id, CancellationToken cancellationToken = default) { @@ -87,12 +93,14 @@ public virtual Task DeleteAsync(Elastic.Cl /// /// - /// Deletes an async search by identifier. - /// If the search is still running, the search request will be cancelled. + /// Delete an async search. + /// + /// + /// If the asynchronous search is still running, it is cancelled. /// Otherwise, the saved search results are deleted. /// If the Elasticsearch security features are enabled, the deletion of a specific async search is restricted to: the authenticated user that submitted the original search request; users that have the cancel_task cluster privilege. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteAsync(Elastic.Clients.Elasticsearch.Serverless.Id id, Action> configureRequest, CancellationToken cancellationToken = default) { @@ -104,12 +112,14 @@ public virtual Task DeleteAsync(Elastic.Cl /// /// - /// Deletes an async search by identifier. - /// If the search is still running, the search request will be cancelled. + /// Delete an async search. + /// + /// + /// If the asynchronous search is still running, it is cancelled. /// Otherwise, the saved search results are deleted. /// If the Elasticsearch security features are enabled, the deletion of a specific async search is restricted to: the authenticated user that submitted the original search request; users that have the cancel_task cluster privilege. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteAsync(DeleteAsyncSearchRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -119,12 +129,14 @@ public virtual Task DeleteAsync(DeleteAsyncSearchRequ /// /// - /// Deletes an async search by identifier. - /// If the search is still running, the search request will be cancelled. + /// Delete an async search. + /// + /// + /// If the asynchronous search is still running, it is cancelled. /// Otherwise, the saved search results are deleted. /// If the Elasticsearch security features are enabled, the deletion of a specific async search is restricted to: the authenticated user that submitted the original search request; users that have the cancel_task cluster privilege. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteAsync(Elastic.Clients.Elasticsearch.Serverless.Id id, CancellationToken cancellationToken = default) { @@ -135,12 +147,14 @@ public virtual Task DeleteAsync(Elastic.Clients.Elast /// /// - /// Deletes an async search by identifier. - /// If the search is still running, the search request will be cancelled. + /// Delete an async search. + /// + /// + /// If the asynchronous search is still running, it is cancelled. /// Otherwise, the saved search results are deleted. /// If the Elasticsearch security features are enabled, the deletion of a specific async search is restricted to: the authenticated user that submitted the original search request; users that have the cancel_task cluster privilege. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteAsync(Elastic.Clients.Elasticsearch.Serverless.Id id, Action configureRequest, CancellationToken cancellationToken = default) { @@ -152,10 +166,13 @@ public virtual Task DeleteAsync(Elastic.Clients.Elast /// /// - /// Retrieves the results of a previously submitted async search request given its identifier. + /// Get async search results. + /// + /// + /// Retrieve the results of a previously submitted asynchronous search request. /// If the Elasticsearch security features are enabled, access to the results of a specific async search is restricted to the user or API key that submitted it. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task> GetAsync(GetAsyncSearchRequest request, CancellationToken cancellationToken = default) { @@ -165,10 +182,13 @@ public virtual Task> GetAsync(GetAs /// /// - /// Retrieves the results of a previously submitted async search request given its identifier. + /// Get async search results. + /// + /// + /// Retrieve the results of a previously submitted asynchronous search request. /// If the Elasticsearch security features are enabled, access to the results of a specific async search is restricted to the user or API key that submitted it. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task> GetAsync(GetAsyncSearchRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -178,10 +198,13 @@ public virtual Task> GetAsync(GetAs /// /// - /// Retrieves the results of a previously submitted async search request given its identifier. + /// Get async search results. + /// + /// + /// Retrieve the results of a previously submitted asynchronous search request. /// If the Elasticsearch security features are enabled, access to the results of a specific async search is restricted to the user or API key that submitted it. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task> GetAsync(Elastic.Clients.Elasticsearch.Serverless.Id id, CancellationToken cancellationToken = default) { @@ -192,10 +215,13 @@ public virtual Task> GetAsync(Elast /// /// - /// Retrieves the results of a previously submitted async search request given its identifier. + /// Get async search results. + /// + /// + /// Retrieve the results of a previously submitted asynchronous search request. /// If the Elasticsearch security features are enabled, access to the results of a specific async search is restricted to the user or API key that submitted it. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task> GetAsync(Elastic.Clients.Elasticsearch.Serverless.Id id, Action> configureRequest, CancellationToken cancellationToken = default) { @@ -207,11 +233,13 @@ public virtual Task> GetAsync(Elast /// /// - /// Get async search status - /// Retrieves the status of a previously submitted async search request given its identifier, without retrieving search results. + /// Get the async search status. + /// + /// + /// Get the status of a previously submitted async search request given its identifier, without retrieving search results. /// If the Elasticsearch security features are enabled, use of this API is restricted to the monitoring_user role. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task StatusAsync(AsyncSearchStatusRequest request, CancellationToken cancellationToken = default) { @@ -221,11 +249,13 @@ public virtual Task StatusAsync(AsyncSearchStatusRequ /// /// - /// Get async search status - /// Retrieves the status of a previously submitted async search request given its identifier, without retrieving search results. + /// Get the async search status. + /// + /// + /// Get the status of a previously submitted async search request given its identifier, without retrieving search results. /// If the Elasticsearch security features are enabled, use of this API is restricted to the monitoring_user role. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task StatusAsync(AsyncSearchStatusRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -235,11 +265,13 @@ public virtual Task StatusAsync(AsyncSearc /// /// - /// Get async search status - /// Retrieves the status of a previously submitted async search request given its identifier, without retrieving search results. + /// Get the async search status. + /// + /// + /// Get the status of a previously submitted async search request given its identifier, without retrieving search results. /// If the Elasticsearch security features are enabled, use of this API is restricted to the monitoring_user role. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task StatusAsync(Elastic.Clients.Elasticsearch.Serverless.Id id, CancellationToken cancellationToken = default) { @@ -250,11 +282,13 @@ public virtual Task StatusAsync(Elastic.Cl /// /// - /// Get async search status - /// Retrieves the status of a previously submitted async search request given its identifier, without retrieving search results. + /// Get the async search status. + /// + /// + /// Get the status of a previously submitted async search request given its identifier, without retrieving search results. /// If the Elasticsearch security features are enabled, use of this API is restricted to the monitoring_user role. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task StatusAsync(Elastic.Clients.Elasticsearch.Serverless.Id id, Action> configureRequest, CancellationToken cancellationToken = default) { @@ -266,11 +300,13 @@ public virtual Task StatusAsync(Elastic.Cl /// /// - /// Get async search status - /// Retrieves the status of a previously submitted async search request given its identifier, without retrieving search results. + /// Get the async search status. + /// + /// + /// Get the status of a previously submitted async search request given its identifier, without retrieving search results. /// If the Elasticsearch security features are enabled, use of this API is restricted to the monitoring_user role. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task StatusAsync(AsyncSearchStatusRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -280,11 +316,13 @@ public virtual Task StatusAsync(AsyncSearchStatusRequ /// /// - /// Get async search status - /// Retrieves the status of a previously submitted async search request given its identifier, without retrieving search results. + /// Get the async search status. + /// + /// + /// Get the status of a previously submitted async search request given its identifier, without retrieving search results. /// If the Elasticsearch security features are enabled, use of this API is restricted to the monitoring_user role. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task StatusAsync(Elastic.Clients.Elasticsearch.Serverless.Id id, CancellationToken cancellationToken = default) { @@ -295,11 +333,13 @@ public virtual Task StatusAsync(Elastic.Clients.Elast /// /// - /// Get async search status - /// Retrieves the status of a previously submitted async search request given its identifier, without retrieving search results. + /// Get the async search status. + /// + /// + /// Get the status of a previously submitted async search request given its identifier, without retrieving search results. /// If the Elasticsearch security features are enabled, use of this API is restricted to the monitoring_user role. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task StatusAsync(Elastic.Clients.Elasticsearch.Serverless.Id id, Action configureRequest, CancellationToken cancellationToken = default) { @@ -311,13 +351,19 @@ public virtual Task StatusAsync(Elastic.Clients.Elast /// /// - /// Runs a search request asynchronously. - /// When the primary sort of the results is an indexed field, shards get sorted based on minimum and maximum value that they hold for that field, hence partial results become available following the sort criteria that was requested. - /// Warning: Async search does not support scroll nor search requests that only include the suggest section. - /// By default, Elasticsearch doesn’t allow you to store an async search response larger than 10Mb and an attempt to do this results in an error. + /// Run an async search. + /// + /// + /// When the primary sort of the results is an indexed field, shards get sorted based on minimum and maximum value that they hold for that field. Partial results become available following the sort criteria that was requested. + /// + /// + /// Warning: Asynchronous search does not support scroll or search requests that include only the suggest section. + /// + /// + /// By default, Elasticsearch does not allow you to store an async search response larger than 10Mb and an attempt to do this results in an error. /// The maximum allowed size for a stored async search response can be set by changing the search.max_async_search_response_size cluster level setting. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task> SubmitAsync(SubmitAsyncSearchRequest request, CancellationToken cancellationToken = default) { @@ -327,13 +373,19 @@ public virtual Task> SubmitAsync /// /// - /// Runs a search request asynchronously. - /// When the primary sort of the results is an indexed field, shards get sorted based on minimum and maximum value that they hold for that field, hence partial results become available following the sort criteria that was requested. - /// Warning: Async search does not support scroll nor search requests that only include the suggest section. - /// By default, Elasticsearch doesn’t allow you to store an async search response larger than 10Mb and an attempt to do this results in an error. + /// Run an async search. + /// + /// + /// When the primary sort of the results is an indexed field, shards get sorted based on minimum and maximum value that they hold for that field. Partial results become available following the sort criteria that was requested. + /// + /// + /// Warning: Asynchronous search does not support scroll or search requests that include only the suggest section. + /// + /// + /// By default, Elasticsearch does not allow you to store an async search response larger than 10Mb and an attempt to do this results in an error. /// The maximum allowed size for a stored async search response can be set by changing the search.max_async_search_response_size cluster level setting. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task> SubmitAsync(SubmitAsyncSearchRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -343,13 +395,19 @@ public virtual Task> SubmitAsync /// /// - /// Runs a search request asynchronously. - /// When the primary sort of the results is an indexed field, shards get sorted based on minimum and maximum value that they hold for that field, hence partial results become available following the sort criteria that was requested. - /// Warning: Async search does not support scroll nor search requests that only include the suggest section. - /// By default, Elasticsearch doesn’t allow you to store an async search response larger than 10Mb and an attempt to do this results in an error. + /// Run an async search. + /// + /// + /// When the primary sort of the results is an indexed field, shards get sorted based on minimum and maximum value that they hold for that field. Partial results become available following the sort criteria that was requested. + /// + /// + /// Warning: Asynchronous search does not support scroll or search requests that include only the suggest section. + /// + /// + /// By default, Elasticsearch does not allow you to store an async search response larger than 10Mb and an attempt to do this results in an error. /// The maximum allowed size for a stored async search response can be set by changing the search.max_async_search_response_size cluster level setting. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task> SubmitAsync(Elastic.Clients.Elasticsearch.Serverless.Indices? indices, CancellationToken cancellationToken = default) { @@ -360,13 +418,19 @@ public virtual Task> SubmitAsync /// /// - /// Runs a search request asynchronously. - /// When the primary sort of the results is an indexed field, shards get sorted based on minimum and maximum value that they hold for that field, hence partial results become available following the sort criteria that was requested. - /// Warning: Async search does not support scroll nor search requests that only include the suggest section. - /// By default, Elasticsearch doesn’t allow you to store an async search response larger than 10Mb and an attempt to do this results in an error. + /// Run an async search. + /// + /// + /// When the primary sort of the results is an indexed field, shards get sorted based on minimum and maximum value that they hold for that field. Partial results become available following the sort criteria that was requested. + /// + /// + /// Warning: Asynchronous search does not support scroll or search requests that include only the suggest section. + /// + /// + /// By default, Elasticsearch does not allow you to store an async search response larger than 10Mb and an attempt to do this results in an error. /// The maximum allowed size for a stored async search response can be set by changing the search.max_async_search_response_size cluster level setting. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task> SubmitAsync(Elastic.Clients.Elasticsearch.Serverless.Indices? indices, Action> configureRequest, CancellationToken cancellationToken = default) { @@ -378,13 +442,19 @@ public virtual Task> SubmitAsync /// /// - /// Runs a search request asynchronously. - /// When the primary sort of the results is an indexed field, shards get sorted based on minimum and maximum value that they hold for that field, hence partial results become available following the sort criteria that was requested. - /// Warning: Async search does not support scroll nor search requests that only include the suggest section. - /// By default, Elasticsearch doesn’t allow you to store an async search response larger than 10Mb and an attempt to do this results in an error. + /// Run an async search. + /// + /// + /// When the primary sort of the results is an indexed field, shards get sorted based on minimum and maximum value that they hold for that field. Partial results become available following the sort criteria that was requested. + /// + /// + /// Warning: Asynchronous search does not support scroll or search requests that include only the suggest section. + /// + /// + /// By default, Elasticsearch does not allow you to store an async search response larger than 10Mb and an attempt to do this results in an error. /// The maximum allowed size for a stored async search response can be set by changing the search.max_async_search_response_size cluster level setting. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task> SubmitAsync(CancellationToken cancellationToken = default) { @@ -395,13 +465,19 @@ public virtual Task> SubmitAsync /// /// - /// Runs a search request asynchronously. - /// When the primary sort of the results is an indexed field, shards get sorted based on minimum and maximum value that they hold for that field, hence partial results become available following the sort criteria that was requested. - /// Warning: Async search does not support scroll nor search requests that only include the suggest section. - /// By default, Elasticsearch doesn’t allow you to store an async search response larger than 10Mb and an attempt to do this results in an error. + /// Run an async search. + /// + /// + /// When the primary sort of the results is an indexed field, shards get sorted based on minimum and maximum value that they hold for that field. Partial results become available following the sort criteria that was requested. + /// + /// + /// Warning: Asynchronous search does not support scroll or search requests that include only the suggest section. + /// + /// + /// By default, Elasticsearch does not allow you to store an async search response larger than 10Mb and an attempt to do this results in an error. /// The maximum allowed size for a stored async search response can be set by changing the search.max_async_search_response_size cluster level setting. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task> SubmitAsync(Action> configureRequest, CancellationToken cancellationToken = default) { diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.Cluster.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.Cluster.g.cs index ac98b37b291..d46bb204186 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.Cluster.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.Cluster.g.cs @@ -43,7 +43,7 @@ internal ClusterNamespacedClient(ElasticsearchClient client) : base(client) /// /// Provides explanations for shard allocations in the cluster. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task AllocationExplainAsync(AllocationExplainRequest request, CancellationToken cancellationToken = default) { @@ -55,7 +55,7 @@ public virtual Task AllocationExplainAsync(Allocation /// /// Provides explanations for shard allocations in the cluster. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task AllocationExplainAsync(AllocationExplainRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -67,7 +67,7 @@ public virtual Task AllocationExplainAsync(Allocation /// /// Provides explanations for shard allocations in the cluster. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task AllocationExplainAsync(CancellationToken cancellationToken = default) { @@ -80,7 +80,7 @@ public virtual Task AllocationExplainAsync(Cancellati /// /// Provides explanations for shard allocations in the cluster. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task AllocationExplainAsync(Action configureRequest, CancellationToken cancellationToken = default) { @@ -96,7 +96,7 @@ public virtual Task AllocationExplainAsync(Action - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteComponentTemplateAsync(DeleteComponentTemplateRequest request, CancellationToken cancellationToken = default) { @@ -110,7 +110,7 @@ public virtual Task DeleteComponentTemplateAsyn /// Deletes component templates. /// Component templates are building blocks for constructing index templates that specify index mappings, settings, and aliases. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteComponentTemplateAsync(DeleteComponentTemplateRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -124,7 +124,7 @@ public virtual Task DeleteComponentTemplateAsyn /// Deletes component templates. /// Component templates are building blocks for constructing index templates that specify index mappings, settings, and aliases. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteComponentTemplateAsync(Elastic.Clients.Elasticsearch.Serverless.Names name, CancellationToken cancellationToken = default) { @@ -139,7 +139,7 @@ public virtual Task DeleteComponentTemplateAsyn /// Deletes component templates. /// Component templates are building blocks for constructing index templates that specify index mappings, settings, and aliases. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteComponentTemplateAsync(Elastic.Clients.Elasticsearch.Serverless.Names name, Action configureRequest, CancellationToken cancellationToken = default) { @@ -154,7 +154,7 @@ public virtual Task DeleteComponentTemplateAsyn /// Check component templates. /// Returns information about whether a particular component template exists. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ExistsComponentTemplateAsync(ExistsComponentTemplateRequest request, CancellationToken cancellationToken = default) { @@ -167,7 +167,7 @@ public virtual Task ExistsComponentTemplateAsyn /// Check component templates. /// Returns information about whether a particular component template exists. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ExistsComponentTemplateAsync(ExistsComponentTemplateRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -180,7 +180,7 @@ public virtual Task ExistsComponentTemplateAsyn /// Check component templates. /// Returns information about whether a particular component template exists. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ExistsComponentTemplateAsync(Elastic.Clients.Elasticsearch.Serverless.Names name, CancellationToken cancellationToken = default) { @@ -194,7 +194,7 @@ public virtual Task ExistsComponentTemplateAsyn /// Check component templates. /// Returns information about whether a particular component template exists. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ExistsComponentTemplateAsync(Elastic.Clients.Elasticsearch.Serverless.Names name, Action configureRequest, CancellationToken cancellationToken = default) { @@ -209,7 +209,7 @@ public virtual Task ExistsComponentTemplateAsyn /// Get component templates. /// Retrieves information about component templates. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task GetComponentTemplateAsync(GetComponentTemplateRequest request, CancellationToken cancellationToken = default) { @@ -222,7 +222,7 @@ public virtual Task GetComponentTemplateAsync(GetC /// Get component templates. /// Retrieves information about component templates. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task GetComponentTemplateAsync(GetComponentTemplateRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -235,7 +235,7 @@ public virtual Task GetComponentTemplateAsync(GetC /// Get component templates. /// Retrieves information about component templates. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task GetComponentTemplateAsync(Elastic.Clients.Elasticsearch.Serverless.Name? name, CancellationToken cancellationToken = default) { @@ -249,7 +249,7 @@ public virtual Task GetComponentTemplateAsync(Elas /// Get component templates. /// Retrieves information about component templates. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task GetComponentTemplateAsync(Elastic.Clients.Elasticsearch.Serverless.Name? name, Action configureRequest, CancellationToken cancellationToken = default) { @@ -264,7 +264,7 @@ public virtual Task GetComponentTemplateAsync(Elas /// Get component templates. /// Retrieves information about component templates. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task GetComponentTemplateAsync(CancellationToken cancellationToken = default) { @@ -278,7 +278,7 @@ public virtual Task GetComponentTemplateAsync(Canc /// Get component templates. /// Retrieves information about component templates. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task GetComponentTemplateAsync(Action configureRequest, CancellationToken cancellationToken = default) { @@ -293,7 +293,7 @@ public virtual Task GetComponentTemplateAsync(Acti /// Returns cluster-wide settings. /// By default, it returns only settings that have been explicitly defined. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task GetSettingsAsync(GetClusterSettingsRequest request, CancellationToken cancellationToken = default) { @@ -306,7 +306,7 @@ public virtual Task GetSettingsAsync(GetClusterSetti /// Returns cluster-wide settings. /// By default, it returns only settings that have been explicitly defined. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task GetSettingsAsync(GetClusterSettingsRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -319,7 +319,7 @@ public virtual Task GetSettingsAsync(GetClusterSetti /// Returns cluster-wide settings. /// By default, it returns only settings that have been explicitly defined. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task GetSettingsAsync(CancellationToken cancellationToken = default) { @@ -333,7 +333,7 @@ public virtual Task GetSettingsAsync(CancellationTok /// Returns cluster-wide settings. /// By default, it returns only settings that have been explicitly defined. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task GetSettingsAsync(Action configureRequest, CancellationToken cancellationToken = default) { @@ -348,7 +348,7 @@ public virtual Task GetSettingsAsync(Action - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task HealthAsync(HealthRequest request, CancellationToken cancellationToken = default) { @@ -361,7 +361,7 @@ public virtual Task HealthAsync(HealthRequest request, Cancellat /// The cluster health API returns a simple status on the health of the cluster. You can also use the API to get the health status of only specified data streams and indices. For data streams, the API retrieves the health status of the stream’s backing indices. /// The cluster health status is: green, yellow or red. On the shard level, a red status indicates that the specific shard is not allocated in the cluster, yellow means that the primary shard is allocated but replicas are not, and green means that all shards are allocated. The index level status is controlled by the worst shard status. The cluster status is controlled by the worst index status. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task HealthAsync(HealthRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -374,7 +374,7 @@ public virtual Task HealthAsync(HealthRequestDescript /// The cluster health API returns a simple status on the health of the cluster. You can also use the API to get the health status of only specified data streams and indices. For data streams, the API retrieves the health status of the stream’s backing indices. /// The cluster health status is: green, yellow or red. On the shard level, a red status indicates that the specific shard is not allocated in the cluster, yellow means that the primary shard is allocated but replicas are not, and green means that all shards are allocated. The index level status is controlled by the worst shard status. The cluster status is controlled by the worst index status. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task HealthAsync(Elastic.Clients.Elasticsearch.Serverless.Indices? indices, CancellationToken cancellationToken = default) { @@ -388,7 +388,7 @@ public virtual Task HealthAsync(Elastic.Clients.Elast /// The cluster health API returns a simple status on the health of the cluster. You can also use the API to get the health status of only specified data streams and indices. For data streams, the API retrieves the health status of the stream’s backing indices. /// The cluster health status is: green, yellow or red. On the shard level, a red status indicates that the specific shard is not allocated in the cluster, yellow means that the primary shard is allocated but replicas are not, and green means that all shards are allocated. The index level status is controlled by the worst shard status. The cluster status is controlled by the worst index status. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task HealthAsync(Elastic.Clients.Elasticsearch.Serverless.Indices? indices, Action> configureRequest, CancellationToken cancellationToken = default) { @@ -403,7 +403,7 @@ public virtual Task HealthAsync(Elastic.Clients.Elast /// The cluster health API returns a simple status on the health of the cluster. You can also use the API to get the health status of only specified data streams and indices. For data streams, the API retrieves the health status of the stream’s backing indices. /// The cluster health status is: green, yellow or red. On the shard level, a red status indicates that the specific shard is not allocated in the cluster, yellow means that the primary shard is allocated but replicas are not, and green means that all shards are allocated. The index level status is controlled by the worst shard status. The cluster status is controlled by the worst index status. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task HealthAsync(CancellationToken cancellationToken = default) { @@ -417,7 +417,7 @@ public virtual Task HealthAsync(CancellationToken can /// The cluster health API returns a simple status on the health of the cluster. You can also use the API to get the health status of only specified data streams and indices. For data streams, the API retrieves the health status of the stream’s backing indices. /// The cluster health status is: green, yellow or red. On the shard level, a red status indicates that the specific shard is not allocated in the cluster, yellow means that the primary shard is allocated but replicas are not, and green means that all shards are allocated. The index level status is controlled by the worst shard status. The cluster status is controlled by the worst index status. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task HealthAsync(Action> configureRequest, CancellationToken cancellationToken = default) { @@ -432,7 +432,7 @@ public virtual Task HealthAsync(Action - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task HealthAsync(HealthRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -445,7 +445,7 @@ public virtual Task HealthAsync(HealthRequestDescriptor descript /// The cluster health API returns a simple status on the health of the cluster. You can also use the API to get the health status of only specified data streams and indices. For data streams, the API retrieves the health status of the stream’s backing indices. /// The cluster health status is: green, yellow or red. On the shard level, a red status indicates that the specific shard is not allocated in the cluster, yellow means that the primary shard is allocated but replicas are not, and green means that all shards are allocated. The index level status is controlled by the worst shard status. The cluster status is controlled by the worst index status. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task HealthAsync(Elastic.Clients.Elasticsearch.Serverless.Indices? indices, CancellationToken cancellationToken = default) { @@ -459,7 +459,7 @@ public virtual Task HealthAsync(Elastic.Clients.Elasticsearch.Se /// The cluster health API returns a simple status on the health of the cluster. You can also use the API to get the health status of only specified data streams and indices. For data streams, the API retrieves the health status of the stream’s backing indices. /// The cluster health status is: green, yellow or red. On the shard level, a red status indicates that the specific shard is not allocated in the cluster, yellow means that the primary shard is allocated but replicas are not, and green means that all shards are allocated. The index level status is controlled by the worst shard status. The cluster status is controlled by the worst index status. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task HealthAsync(Elastic.Clients.Elasticsearch.Serverless.Indices? indices, Action configureRequest, CancellationToken cancellationToken = default) { @@ -474,7 +474,7 @@ public virtual Task HealthAsync(Elastic.Clients.Elasticsearch.Se /// The cluster health API returns a simple status on the health of the cluster. You can also use the API to get the health status of only specified data streams and indices. For data streams, the API retrieves the health status of the stream’s backing indices. /// The cluster health status is: green, yellow or red. On the shard level, a red status indicates that the specific shard is not allocated in the cluster, yellow means that the primary shard is allocated but replicas are not, and green means that all shards are allocated. The index level status is controlled by the worst shard status. The cluster status is controlled by the worst index status. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task HealthAsync(CancellationToken cancellationToken = default) { @@ -488,7 +488,7 @@ public virtual Task HealthAsync(CancellationToken cancellationTo /// The cluster health API returns a simple status on the health of the cluster. You can also use the API to get the health status of only specified data streams and indices. For data streams, the API retrieves the health status of the stream’s backing indices. /// The cluster health status is: green, yellow or red. On the shard level, a red status indicates that the specific shard is not allocated in the cluster, yellow means that the primary shard is allocated but replicas are not, and green means that all shards are allocated. The index level status is controlled by the worst shard status. The cluster status is controlled by the worst index status. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task HealthAsync(Action configureRequest, CancellationToken cancellationToken = default) { @@ -503,7 +503,7 @@ public virtual Task HealthAsync(Action /// Get cluster info. /// Returns basic information about the cluster. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task InfoAsync(ClusterInfoRequest request, CancellationToken cancellationToken = default) { @@ -516,7 +516,7 @@ public virtual Task InfoAsync(ClusterInfoRequest request, C /// Get cluster info. /// Returns basic information about the cluster. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task InfoAsync(ClusterInfoRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -529,7 +529,7 @@ public virtual Task InfoAsync(ClusterInfoRequestDescriptor /// Get cluster info. /// Returns basic information about the cluster. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task InfoAsync(IReadOnlyCollection target, CancellationToken cancellationToken = default) { @@ -543,7 +543,7 @@ public virtual Task InfoAsync(IReadOnlyCollection - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task InfoAsync(IReadOnlyCollection target, Action configureRequest, CancellationToken cancellationToken = default) { @@ -560,7 +560,7 @@ public virtual Task InfoAsync(IReadOnlyCollection - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PendingTasksAsync(PendingTasksRequest request, CancellationToken cancellationToken = default) { @@ -575,7 +575,7 @@ public virtual Task PendingTasksAsync(PendingTasksRequest /// These are distinct from the tasks reported by the Task Management API which include periodic tasks and tasks initiated by the user, such as node stats, search queries, or create index requests. /// However, if a user-initiated task such as a create index command causes a cluster state update, the activity of this task might be reported by both task api and pending cluster tasks API. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PendingTasksAsync(PendingTasksRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -590,7 +590,7 @@ public virtual Task PendingTasksAsync(PendingTasksRequestD /// These are distinct from the tasks reported by the Task Management API which include periodic tasks and tasks initiated by the user, such as node stats, search queries, or create index requests. /// However, if a user-initiated task such as a create index command causes a cluster state update, the activity of this task might be reported by both task api and pending cluster tasks API. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PendingTasksAsync(CancellationToken cancellationToken = default) { @@ -606,7 +606,7 @@ public virtual Task PendingTasksAsync(CancellationToken ca /// These are distinct from the tasks reported by the Task Management API which include periodic tasks and tasks initiated by the user, such as node stats, search queries, or create index requests. /// However, if a user-initiated task such as a create index command causes a cluster state update, the activity of this task might be reported by both task api and pending cluster tasks API. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PendingTasksAsync(Action configureRequest, CancellationToken cancellationToken = default) { @@ -639,7 +639,7 @@ public virtual Task PendingTasksAsync(Action/* *\/ block comments in component templates. /// You can include comments anywhere in the request body except before the opening curly bracket. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PutComponentTemplateAsync(PutComponentTemplateRequest request, CancellationToken cancellationToken = default) { @@ -670,7 +670,7 @@ public virtual Task PutComponentTemplateAsync(PutC /// You can use C-style /* *\/ block comments in component templates. /// You can include comments anywhere in the request body except before the opening curly bracket. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PutComponentTemplateAsync(PutComponentTemplateRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -701,7 +701,7 @@ public virtual Task PutComponentTemplateAsync/* *\/ block comments in component templates. /// You can include comments anywhere in the request body except before the opening curly bracket. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PutComponentTemplateAsync(Elastic.Clients.Elasticsearch.Serverless.Name name, CancellationToken cancellationToken = default) { @@ -733,7 +733,7 @@ public virtual Task PutComponentTemplateAsync/* *\/ block comments in component templates. /// You can include comments anywhere in the request body except before the opening curly bracket. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PutComponentTemplateAsync(Elastic.Clients.Elasticsearch.Serverless.Name name, Action> configureRequest, CancellationToken cancellationToken = default) { @@ -766,7 +766,7 @@ public virtual Task PutComponentTemplateAsync/* *\/ block comments in component templates. /// You can include comments anywhere in the request body except before the opening curly bracket. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PutComponentTemplateAsync(PutComponentTemplateRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -797,7 +797,7 @@ public virtual Task PutComponentTemplateAsync(PutC /// You can use C-style /* *\/ block comments in component templates. /// You can include comments anywhere in the request body except before the opening curly bracket. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PutComponentTemplateAsync(Elastic.Clients.Elasticsearch.Serverless.Name name, CancellationToken cancellationToken = default) { @@ -829,7 +829,7 @@ public virtual Task PutComponentTemplateAsync(Elas /// You can use C-style /* *\/ block comments in component templates. /// You can include comments anywhere in the request body except before the opening curly bracket. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PutComponentTemplateAsync(Elastic.Clients.Elasticsearch.Serverless.Name name, Action configureRequest, CancellationToken cancellationToken = default) { @@ -844,7 +844,7 @@ public virtual Task PutComponentTemplateAsync(Elas /// Returns cluster statistics. /// It returns basic index metrics (shard numbers, store size, memory usage) and information about the current nodes that form the cluster (number, roles, os, jvm versions, memory usage, cpu and installed plugins). /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task StatsAsync(ClusterStatsRequest request, CancellationToken cancellationToken = default) { @@ -857,7 +857,7 @@ public virtual Task StatsAsync(ClusterStatsRequest request /// Returns cluster statistics. /// It returns basic index metrics (shard numbers, store size, memory usage) and information about the current nodes that form the cluster (number, roles, os, jvm versions, memory usage, cpu and installed plugins). /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task StatsAsync(ClusterStatsRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -870,7 +870,7 @@ public virtual Task StatsAsync(ClusterStatsRequestDescript /// Returns cluster statistics. /// It returns basic index metrics (shard numbers, store size, memory usage) and information about the current nodes that form the cluster (number, roles, os, jvm versions, memory usage, cpu and installed plugins). /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task StatsAsync(Elastic.Clients.Elasticsearch.Serverless.NodeIds? nodeId, CancellationToken cancellationToken = default) { @@ -884,7 +884,7 @@ public virtual Task StatsAsync(Elastic.Clients.Elasticsear /// Returns cluster statistics. /// It returns basic index metrics (shard numbers, store size, memory usage) and information about the current nodes that form the cluster (number, roles, os, jvm versions, memory usage, cpu and installed plugins). /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task StatsAsync(Elastic.Clients.Elasticsearch.Serverless.NodeIds? nodeId, Action configureRequest, CancellationToken cancellationToken = default) { @@ -899,7 +899,7 @@ public virtual Task StatsAsync(Elastic.Clients.Elasticsear /// Returns cluster statistics. /// It returns basic index metrics (shard numbers, store size, memory usage) and information about the current nodes that form the cluster (number, roles, os, jvm versions, memory usage, cpu and installed plugins). /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task StatsAsync(CancellationToken cancellationToken = default) { @@ -913,7 +913,7 @@ public virtual Task StatsAsync(CancellationToken cancellat /// Returns cluster statistics. /// It returns basic index metrics (shard numbers, store size, memory usage) and information about the current nodes that form the cluster (number, roles, os, jvm versions, memory usage, cpu and installed plugins). /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task StatsAsync(Action configureRequest, CancellationToken cancellationToken = default) { diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.Enrich.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.Enrich.g.cs index 374798d47c5..72a641f5893 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.Enrich.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.Enrich.g.cs @@ -98,7 +98,7 @@ public virtual Task DeletePolicyAsync(Elastic.Clients.Elas /// /// Creates the enrich index for an existing enrich policy. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ExecutePolicyAsync(ExecutePolicyRequest request, CancellationToken cancellationToken = default) { @@ -110,7 +110,7 @@ public virtual Task ExecutePolicyAsync(ExecutePolicyReque /// /// Creates the enrich index for an existing enrich policy. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ExecutePolicyAsync(ExecutePolicyRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -122,7 +122,7 @@ public virtual Task ExecutePolicyAsync(ExecutePolicyReque /// /// Creates the enrich index for an existing enrich policy. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ExecutePolicyAsync(Elastic.Clients.Elasticsearch.Serverless.Name name, CancellationToken cancellationToken = default) { @@ -135,7 +135,7 @@ public virtual Task ExecutePolicyAsync(Elastic.Clients.El /// /// Creates the enrich index for an existing enrich policy. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ExecutePolicyAsync(Elastic.Clients.Elasticsearch.Serverless.Name name, Action configureRequest, CancellationToken cancellationToken = default) { @@ -234,7 +234,7 @@ public virtual Task GetPolicyAsync(Action - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PutPolicyAsync(PutPolicyRequest request, CancellationToken cancellationToken = default) { @@ -247,7 +247,7 @@ public virtual Task PutPolicyAsync(PutPolicyRequest request, /// Create an enrich policy. /// Creates an enrich policy. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PutPolicyAsync(PutPolicyRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -260,7 +260,7 @@ public virtual Task PutPolicyAsync(PutPolicyReques /// Create an enrich policy. /// Creates an enrich policy. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PutPolicyAsync(Elastic.Clients.Elasticsearch.Serverless.Name name, CancellationToken cancellationToken = default) { @@ -274,7 +274,7 @@ public virtual Task PutPolicyAsync(Elastic.Clients /// Create an enrich policy. /// Creates an enrich policy. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PutPolicyAsync(Elastic.Clients.Elasticsearch.Serverless.Name name, Action> configureRequest, CancellationToken cancellationToken = default) { @@ -289,7 +289,7 @@ public virtual Task PutPolicyAsync(Elastic.Clients /// Create an enrich policy. /// Creates an enrich policy. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PutPolicyAsync(PutPolicyRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -302,7 +302,7 @@ public virtual Task PutPolicyAsync(PutPolicyRequestDescriptor /// Create an enrich policy. /// Creates an enrich policy. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PutPolicyAsync(Elastic.Clients.Elasticsearch.Serverless.Name name, CancellationToken cancellationToken = default) { @@ -316,7 +316,7 @@ public virtual Task PutPolicyAsync(Elastic.Clients.Elasticsea /// Create an enrich policy. /// Creates an enrich policy. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PutPolicyAsync(Elastic.Clients.Elasticsearch.Serverless.Name name, Action configureRequest, CancellationToken cancellationToken = default) { diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.Eql.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.Eql.g.cs index cf1153ff7cc..b1663f4cfaf 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.Eql.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.Eql.g.cs @@ -140,7 +140,7 @@ public virtual Task DeleteAsync(Elastic.Clients.Elasticsearch /// /// Returns the current status and available results for an async EQL search or a stored synchronous EQL search. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task> GetAsync(EqlGetRequest request, CancellationToken cancellationToken = default) { @@ -152,7 +152,7 @@ public virtual Task> GetAsync(EqlGetRequest reque /// /// Returns the current status and available results for an async EQL search or a stored synchronous EQL search. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task> GetAsync(EqlGetRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -164,7 +164,7 @@ public virtual Task> GetAsync(EqlGetRequestDescri /// /// Returns the current status and available results for an async EQL search or a stored synchronous EQL search. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task> GetAsync(Elastic.Clients.Elasticsearch.Serverless.Id id, CancellationToken cancellationToken = default) { @@ -177,7 +177,7 @@ public virtual Task> GetAsync(Elastic.Clients.Ela /// /// Returns the current status and available results for an async EQL search or a stored synchronous EQL search. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task> GetAsync(Elastic.Clients.Elasticsearch.Serverless.Id id, Action> configureRequest, CancellationToken cancellationToken = default) { @@ -191,7 +191,7 @@ public virtual Task> GetAsync(Elastic.Clients.Ela /// /// Returns the current status for an async EQL search or a stored synchronous EQL search without returning results. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task GetStatusAsync(GetEqlStatusRequest request, CancellationToken cancellationToken = default) { @@ -203,7 +203,7 @@ public virtual Task GetStatusAsync(GetEqlStatusRequest req /// /// Returns the current status for an async EQL search or a stored synchronous EQL search without returning results. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task GetStatusAsync(GetEqlStatusRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -215,7 +215,7 @@ public virtual Task GetStatusAsync(GetEqlStatus /// /// Returns the current status for an async EQL search or a stored synchronous EQL search without returning results. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task GetStatusAsync(Elastic.Clients.Elasticsearch.Serverless.Id id, CancellationToken cancellationToken = default) { @@ -228,7 +228,7 @@ public virtual Task GetStatusAsync(Elastic.Clie /// /// Returns the current status for an async EQL search or a stored synchronous EQL search without returning results. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task GetStatusAsync(Elastic.Clients.Elasticsearch.Serverless.Id id, Action> configureRequest, CancellationToken cancellationToken = default) { @@ -242,7 +242,7 @@ public virtual Task GetStatusAsync(Elastic.Clie /// /// Returns the current status for an async EQL search or a stored synchronous EQL search without returning results. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task GetStatusAsync(GetEqlStatusRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -254,7 +254,7 @@ public virtual Task GetStatusAsync(GetEqlStatusRequestDesc /// /// Returns the current status for an async EQL search or a stored synchronous EQL search without returning results. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task GetStatusAsync(Elastic.Clients.Elasticsearch.Serverless.Id id, CancellationToken cancellationToken = default) { @@ -267,7 +267,7 @@ public virtual Task GetStatusAsync(Elastic.Clients.Elastic /// /// Returns the current status for an async EQL search or a stored synchronous EQL search without returning results. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task GetStatusAsync(Elastic.Clients.Elasticsearch.Serverless.Id id, Action configureRequest, CancellationToken cancellationToken = default) { diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.Esql.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.Esql.g.cs index e6b8033d87e..cab5032dca0 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.Esql.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.Esql.g.cs @@ -43,7 +43,7 @@ internal EsqlNamespacedClient(ElasticsearchClient client) : base(client) /// /// Executes an ES|QL request /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task QueryAsync(EsqlQueryRequest request, CancellationToken cancellationToken = default) { @@ -55,7 +55,7 @@ public virtual Task QueryAsync(EsqlQueryRequest request, Canc /// /// Executes an ES|QL request /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task QueryAsync(EsqlQueryRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -67,7 +67,7 @@ public virtual Task QueryAsync(EsqlQueryRequestDes /// /// Executes an ES|QL request /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task QueryAsync(CancellationToken cancellationToken = default) { @@ -80,7 +80,7 @@ public virtual Task QueryAsync(CancellationToken c /// /// Executes an ES|QL request /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task QueryAsync(Action> configureRequest, CancellationToken cancellationToken = default) { @@ -94,7 +94,7 @@ public virtual Task QueryAsync(Action /// Executes an ES|QL request /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task QueryAsync(EsqlQueryRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -106,7 +106,7 @@ public virtual Task QueryAsync(EsqlQueryRequestDescriptor des /// /// Executes an ES|QL request /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task QueryAsync(CancellationToken cancellationToken = default) { @@ -119,7 +119,7 @@ public virtual Task QueryAsync(CancellationToken cancellation /// /// Executes an ES|QL request /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task QueryAsync(Action configureRequest, CancellationToken cancellationToken = default) { diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.Graph.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.Graph.g.cs index fd06cd6d387..030d6db889a 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.Graph.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.Graph.g.cs @@ -43,7 +43,7 @@ internal GraphNamespacedClient(ElasticsearchClient client) : base(client) /// /// Extracts and summarizes information about the documents and terms in an Elasticsearch data stream or index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ExploreAsync(ExploreRequest request, CancellationToken cancellationToken = default) { @@ -55,7 +55,7 @@ public virtual Task ExploreAsync(ExploreRequest request, Cancel /// /// Extracts and summarizes information about the documents and terms in an Elasticsearch data stream or index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ExploreAsync(ExploreRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -67,7 +67,7 @@ public virtual Task ExploreAsync(ExploreRequestDescr /// /// Extracts and summarizes information about the documents and terms in an Elasticsearch data stream or index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ExploreAsync(Elastic.Clients.Elasticsearch.Serverless.Indices indices, CancellationToken cancellationToken = default) { @@ -80,7 +80,7 @@ public virtual Task ExploreAsync(Elastic.Clients.Ela /// /// Extracts and summarizes information about the documents and terms in an Elasticsearch data stream or index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ExploreAsync(Elastic.Clients.Elasticsearch.Serverless.Indices indices, Action> configureRequest, CancellationToken cancellationToken = default) { @@ -94,7 +94,7 @@ public virtual Task ExploreAsync(Elastic.Clients.Ela /// /// Extracts and summarizes information about the documents and terms in an Elasticsearch data stream or index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ExploreAsync(CancellationToken cancellationToken = default) { @@ -107,7 +107,7 @@ public virtual Task ExploreAsync(CancellationToken c /// /// Extracts and summarizes information about the documents and terms in an Elasticsearch data stream or index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ExploreAsync(Action> configureRequest, CancellationToken cancellationToken = default) { @@ -121,7 +121,7 @@ public virtual Task ExploreAsync(Action /// Extracts and summarizes information about the documents and terms in an Elasticsearch data stream or index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ExploreAsync(ExploreRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -133,7 +133,7 @@ public virtual Task ExploreAsync(ExploreRequestDescriptor descr /// /// Extracts and summarizes information about the documents and terms in an Elasticsearch data stream or index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ExploreAsync(Elastic.Clients.Elasticsearch.Serverless.Indices indices, CancellationToken cancellationToken = default) { @@ -146,7 +146,7 @@ public virtual Task ExploreAsync(Elastic.Clients.Elasticsearch. /// /// Extracts and summarizes information about the documents and terms in an Elasticsearch data stream or index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ExploreAsync(Elastic.Clients.Elasticsearch.Serverless.Indices indices, Action configureRequest, CancellationToken cancellationToken = default) { diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.Indices.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.Indices.g.cs index 7b6acfce7ab..093cb132d95 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.Indices.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.Indices.g.cs @@ -41,9 +41,10 @@ internal IndicesNamespacedClient(ElasticsearchClient client) : base(client) /// /// - /// Performs analysis on a text string and returns the resulting tokens. + /// Get tokens from text analysis. + /// The analyze API performs analysis on a text string and returns the resulting tokens. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task AnalyzeAsync(AnalyzeIndexRequest request, CancellationToken cancellationToken = default) { @@ -53,9 +54,10 @@ public virtual Task AnalyzeAsync(AnalyzeIndexRequest reque /// /// - /// Performs analysis on a text string and returns the resulting tokens. + /// Get tokens from text analysis. + /// The analyze API performs analysis on a text string and returns the resulting tokens. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task AnalyzeAsync(AnalyzeIndexRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -65,9 +67,10 @@ public virtual Task AnalyzeAsync(AnalyzeIndexRe /// /// - /// Performs analysis on a text string and returns the resulting tokens. + /// Get tokens from text analysis. + /// The analyze API performs analysis on a text string and returns the resulting tokens. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task AnalyzeAsync(Elastic.Clients.Elasticsearch.Serverless.IndexName? index, CancellationToken cancellationToken = default) { @@ -78,9 +81,10 @@ public virtual Task AnalyzeAsync(Elastic.Client /// /// - /// Performs analysis on a text string and returns the resulting tokens. + /// Get tokens from text analysis. + /// The analyze API performs analysis on a text string and returns the resulting tokens. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task AnalyzeAsync(Elastic.Clients.Elasticsearch.Serverless.IndexName? index, Action> configureRequest, CancellationToken cancellationToken = default) { @@ -92,9 +96,10 @@ public virtual Task AnalyzeAsync(Elastic.Client /// /// - /// Performs analysis on a text string and returns the resulting tokens. + /// Get tokens from text analysis. + /// The analyze API performs analysis on a text string and returns the resulting tokens. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task AnalyzeAsync(CancellationToken cancellationToken = default) { @@ -105,9 +110,10 @@ public virtual Task AnalyzeAsync(CancellationTo /// /// - /// Performs analysis on a text string and returns the resulting tokens. + /// Get tokens from text analysis. + /// The analyze API performs analysis on a text string and returns the resulting tokens. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task AnalyzeAsync(Action> configureRequest, CancellationToken cancellationToken = default) { @@ -119,9 +125,10 @@ public virtual Task AnalyzeAsync(Action /// - /// Performs analysis on a text string and returns the resulting tokens. + /// Get tokens from text analysis. + /// The analyze API performs analysis on a text string and returns the resulting tokens. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task AnalyzeAsync(AnalyzeIndexRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -131,9 +138,10 @@ public virtual Task AnalyzeAsync(AnalyzeIndexRequestDescri /// /// - /// Performs analysis on a text string and returns the resulting tokens. + /// Get tokens from text analysis. + /// The analyze API performs analysis on a text string and returns the resulting tokens. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task AnalyzeAsync(Elastic.Clients.Elasticsearch.Serverless.IndexName? index, CancellationToken cancellationToken = default) { @@ -144,9 +152,10 @@ public virtual Task AnalyzeAsync(Elastic.Clients.Elasticse /// /// - /// Performs analysis on a text string and returns the resulting tokens. + /// Get tokens from text analysis. + /// The analyze API performs analysis on a text string and returns the resulting tokens. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task AnalyzeAsync(Elastic.Clients.Elasticsearch.Serverless.IndexName? index, Action configureRequest, CancellationToken cancellationToken = default) { @@ -158,9 +167,10 @@ public virtual Task AnalyzeAsync(Elastic.Clients.Elasticse /// /// - /// Performs analysis on a text string and returns the resulting tokens. + /// Get tokens from text analysis. + /// The analyze API performs analysis on a text string and returns the resulting tokens. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task AnalyzeAsync(CancellationToken cancellationToken = default) { @@ -171,9 +181,10 @@ public virtual Task AnalyzeAsync(CancellationToken cancell /// /// - /// Performs analysis on a text string and returns the resulting tokens. + /// Get tokens from text analysis. + /// The analyze API performs analysis on a text string and returns the resulting tokens. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task AnalyzeAsync(Action configureRequest, CancellationToken cancellationToken = default) { @@ -342,7 +353,7 @@ public virtual Task ClearCacheAsync(Action /// Closes an index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task CloseAsync(CloseIndexRequest request, CancellationToken cancellationToken = default) { @@ -354,7 +365,7 @@ public virtual Task CloseAsync(CloseIndexRequest request, Ca /// /// Closes an index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task CloseAsync(CloseIndexRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -366,7 +377,7 @@ public virtual Task CloseAsync(CloseIndexRequestD /// /// Closes an index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task CloseAsync(Elastic.Clients.Elasticsearch.Serverless.Indices indices, CancellationToken cancellationToken = default) { @@ -379,7 +390,7 @@ public virtual Task CloseAsync(Elastic.Clients.El /// /// Closes an index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task CloseAsync(Elastic.Clients.Elasticsearch.Serverless.Indices indices, Action> configureRequest, CancellationToken cancellationToken = default) { @@ -393,7 +404,7 @@ public virtual Task CloseAsync(Elastic.Clients.El /// /// Closes an index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task CloseAsync(CancellationToken cancellationToken = default) { @@ -406,7 +417,7 @@ public virtual Task CloseAsync(CancellationToken /// /// Closes an index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task CloseAsync(Action> configureRequest, CancellationToken cancellationToken = default) { @@ -420,7 +431,7 @@ public virtual Task CloseAsync(Action /// Closes an index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task CloseAsync(CloseIndexRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -432,7 +443,7 @@ public virtual Task CloseAsync(CloseIndexRequestDescriptor d /// /// Closes an index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task CloseAsync(Elastic.Clients.Elasticsearch.Serverless.Indices indices, CancellationToken cancellationToken = default) { @@ -445,7 +456,7 @@ public virtual Task CloseAsync(Elastic.Clients.Elasticsearch /// /// Closes an index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task CloseAsync(Elastic.Clients.Elasticsearch.Serverless.Indices indices, Action configureRequest, CancellationToken cancellationToken = default) { @@ -460,7 +471,7 @@ public virtual Task CloseAsync(Elastic.Clients.Elasticsearch /// Create an index. /// Creates a new index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task CreateAsync(CreateIndexRequest request, CancellationToken cancellationToken = default) { @@ -473,7 +484,7 @@ public virtual Task CreateAsync(CreateIndexRequest request, /// Create an index. /// Creates a new index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task CreateAsync(CreateIndexRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -486,7 +497,7 @@ public virtual Task CreateAsync(CreateIndexReque /// Create an index. /// Creates a new index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task CreateAsync(Elastic.Clients.Elasticsearch.Serverless.IndexName index, CancellationToken cancellationToken = default) { @@ -500,7 +511,7 @@ public virtual Task CreateAsync(Elastic.Clients. /// Create an index. /// Creates a new index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task CreateAsync(Elastic.Clients.Elasticsearch.Serverless.IndexName index, Action> configureRequest, CancellationToken cancellationToken = default) { @@ -515,7 +526,7 @@ public virtual Task CreateAsync(Elastic.Clients. /// Create an index. /// Creates a new index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task CreateAsync(CancellationToken cancellationToken = default) { @@ -529,7 +540,7 @@ public virtual Task CreateAsync(CancellationToke /// Create an index. /// Creates a new index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task CreateAsync(Action> configureRequest, CancellationToken cancellationToken = default) { @@ -544,7 +555,7 @@ public virtual Task CreateAsync(Action - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task CreateAsync(CreateIndexRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -557,7 +568,7 @@ public virtual Task CreateAsync(CreateIndexRequestDescripto /// Create an index. /// Creates a new index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task CreateAsync(Elastic.Clients.Elasticsearch.Serverless.IndexName index, CancellationToken cancellationToken = default) { @@ -571,7 +582,7 @@ public virtual Task CreateAsync(Elastic.Clients.Elasticsear /// Create an index. /// Creates a new index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task CreateAsync(Elastic.Clients.Elasticsearch.Serverless.IndexName index, Action configureRequest, CancellationToken cancellationToken = default) { @@ -1611,7 +1622,7 @@ public virtual Task ExplainDataLifecycleAsync(Elas /// /// Flushes one or more data streams or indices. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task FlushAsync(FlushRequest request, CancellationToken cancellationToken = default) { @@ -1623,7 +1634,7 @@ public virtual Task FlushAsync(FlushRequest request, Cancellation /// /// Flushes one or more data streams or indices. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task FlushAsync(FlushRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -1635,7 +1646,7 @@ public virtual Task FlushAsync(FlushRequestDescriptor< /// /// Flushes one or more data streams or indices. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task FlushAsync(Elastic.Clients.Elasticsearch.Serverless.Indices? indices, CancellationToken cancellationToken = default) { @@ -1648,7 +1659,7 @@ public virtual Task FlushAsync(Elastic.Clients.Elastic /// /// Flushes one or more data streams or indices. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task FlushAsync(Elastic.Clients.Elasticsearch.Serverless.Indices? indices, Action> configureRequest, CancellationToken cancellationToken = default) { @@ -1662,7 +1673,7 @@ public virtual Task FlushAsync(Elastic.Clients.Elastic /// /// Flushes one or more data streams or indices. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task FlushAsync(CancellationToken cancellationToken = default) { @@ -1675,7 +1686,7 @@ public virtual Task FlushAsync(CancellationToken cance /// /// Flushes one or more data streams or indices. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task FlushAsync(Action> configureRequest, CancellationToken cancellationToken = default) { @@ -1689,7 +1700,7 @@ public virtual Task FlushAsync(Action /// Flushes one or more data streams or indices. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task FlushAsync(FlushRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -1701,7 +1712,7 @@ public virtual Task FlushAsync(FlushRequestDescriptor descriptor, /// /// Flushes one or more data streams or indices. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task FlushAsync(Elastic.Clients.Elasticsearch.Serverless.Indices? indices, CancellationToken cancellationToken = default) { @@ -1714,7 +1725,7 @@ public virtual Task FlushAsync(Elastic.Clients.Elasticsearch.Serv /// /// Flushes one or more data streams or indices. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task FlushAsync(Elastic.Clients.Elasticsearch.Serverless.Indices? indices, Action configureRequest, CancellationToken cancellationToken = default) { @@ -1728,7 +1739,7 @@ public virtual Task FlushAsync(Elastic.Clients.Elasticsearch.Serv /// /// Flushes one or more data streams or indices. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task FlushAsync(CancellationToken cancellationToken = default) { @@ -1741,7 +1752,7 @@ public virtual Task FlushAsync(CancellationToken cancellationToke /// /// Flushes one or more data streams or indices. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task FlushAsync(Action configureRequest, CancellationToken cancellationToken = default) { @@ -3171,9 +3182,9 @@ public virtual Task PutDataLifecycleAsync(PutDataLifec /// /// Learn more about this API in the Elasticsearch documentation. /// - public virtual Task PutDataLifecycleAsync(Elastic.Clients.Elasticsearch.Serverless.DataStreamNames name, CancellationToken cancellationToken = default) + public virtual Task PutDataLifecycleAsync(Elastic.Clients.Elasticsearch.Serverless.IndexManagement.DataStreamLifecycle lifecycle, Elastic.Clients.Elasticsearch.Serverless.DataStreamNames name, CancellationToken cancellationToken = default) { - var descriptor = new PutDataLifecycleRequestDescriptor(name); + var descriptor = new PutDataLifecycleRequestDescriptor(lifecycle, name); descriptor.BeforeRequest(); return DoRequestAsync(descriptor, cancellationToken); } @@ -3185,9 +3196,9 @@ public virtual Task PutDataLifecycleAsync(Elastic.Clie /// /// Learn more about this API in the Elasticsearch documentation. /// - public virtual Task PutDataLifecycleAsync(Elastic.Clients.Elasticsearch.Serverless.DataStreamNames name, Action configureRequest, CancellationToken cancellationToken = default) + public virtual Task PutDataLifecycleAsync(Elastic.Clients.Elasticsearch.Serverless.IndexManagement.DataStreamLifecycle lifecycle, Elastic.Clients.Elasticsearch.Serverless.DataStreamNames name, Action configureRequest, CancellationToken cancellationToken = default) { - var descriptor = new PutDataLifecycleRequestDescriptor(name); + var descriptor = new PutDataLifecycleRequestDescriptor(lifecycle, name); configureRequest?.Invoke(descriptor); descriptor.BeforeRequest(); return DoRequestAsync(descriptor, cancellationToken); @@ -3981,7 +3992,7 @@ public virtual Task ResolveIndexAsync(Elastic.Clients.Elas /// Roll over to a new index. /// Creates a new index for a data stream or index alias. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task RolloverAsync(RolloverRequest request, CancellationToken cancellationToken = default) { @@ -3994,7 +4005,7 @@ public virtual Task RolloverAsync(RolloverRequest request, Can /// Roll over to a new index. /// Creates a new index for a data stream or index alias. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task RolloverAsync(RolloverRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -4007,7 +4018,7 @@ public virtual Task RolloverAsync(RolloverRequestDe /// Roll over to a new index. /// Creates a new index for a data stream or index alias. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task RolloverAsync(Elastic.Clients.Elasticsearch.Serverless.IndexAlias alias, Elastic.Clients.Elasticsearch.Serverless.IndexName? newIndex, CancellationToken cancellationToken = default) { @@ -4021,7 +4032,7 @@ public virtual Task RolloverAsync(Elastic.Clients.E /// Roll over to a new index. /// Creates a new index for a data stream or index alias. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task RolloverAsync(Elastic.Clients.Elasticsearch.Serverless.IndexAlias alias, Elastic.Clients.Elasticsearch.Serverless.IndexName? newIndex, Action> configureRequest, CancellationToken cancellationToken = default) { @@ -4036,7 +4047,7 @@ public virtual Task RolloverAsync(Elastic.Clients.E /// Roll over to a new index. /// Creates a new index for a data stream or index alias. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task RolloverAsync(Elastic.Clients.Elasticsearch.Serverless.IndexAlias alias, CancellationToken cancellationToken = default) { @@ -4050,7 +4061,7 @@ public virtual Task RolloverAsync(Elastic.Clients.E /// Roll over to a new index. /// Creates a new index for a data stream or index alias. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task RolloverAsync(Elastic.Clients.Elasticsearch.Serverless.IndexAlias alias, Action> configureRequest, CancellationToken cancellationToken = default) { @@ -4065,7 +4076,7 @@ public virtual Task RolloverAsync(Elastic.Clients.E /// Roll over to a new index. /// Creates a new index for a data stream or index alias. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task RolloverAsync(RolloverRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -4078,7 +4089,7 @@ public virtual Task RolloverAsync(RolloverRequestDescriptor de /// Roll over to a new index. /// Creates a new index for a data stream or index alias. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task RolloverAsync(Elastic.Clients.Elasticsearch.Serverless.IndexAlias alias, Elastic.Clients.Elasticsearch.Serverless.IndexName? newIndex, CancellationToken cancellationToken = default) { @@ -4092,7 +4103,7 @@ public virtual Task RolloverAsync(Elastic.Clients.Elasticsearc /// Roll over to a new index. /// Creates a new index for a data stream or index alias. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task RolloverAsync(Elastic.Clients.Elasticsearch.Serverless.IndexAlias alias, Elastic.Clients.Elasticsearch.Serverless.IndexName? newIndex, Action configureRequest, CancellationToken cancellationToken = default) { @@ -4107,7 +4118,7 @@ public virtual Task RolloverAsync(Elastic.Clients.Elasticsearc /// Roll over to a new index. /// Creates a new index for a data stream or index alias. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task RolloverAsync(Elastic.Clients.Elasticsearch.Serverless.IndexAlias alias, CancellationToken cancellationToken = default) { @@ -4121,7 +4132,7 @@ public virtual Task RolloverAsync(Elastic.Clients.Elasticsearc /// Roll over to a new index. /// Creates a new index for a data stream or index alias. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task RolloverAsync(Elastic.Clients.Elasticsearch.Serverless.IndexAlias alias, Action configureRequest, CancellationToken cancellationToken = default) { diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.Inference.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.Inference.g.cs new file mode 100644 index 00000000000..1ff6bc4c390 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.Inference.g.cs @@ -0,0 +1,353 @@ +// 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.Collections.Generic; +using System.Threading; +using System.Threading.Tasks; + +namespace Elastic.Clients.Elasticsearch.Serverless.Inference; + +public partial class InferenceNamespacedClient : NamespacedClientProxy +{ + /// + /// + /// Initializes a new instance of the class for mocking. + /// + /// + protected InferenceNamespacedClient() : base() + { + } + + internal InferenceNamespacedClient(ElasticsearchClient client) : base(client) + { + } + + /// + /// + /// Delete an inference endpoint + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + public virtual Task DeleteAsync(DeleteInferenceRequest request, CancellationToken cancellationToken = default) + { + request.BeforeRequest(); + return DoRequestAsync(request, cancellationToken); + } + + /// + /// + /// Delete an inference endpoint + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + public virtual Task DeleteAsync(DeleteInferenceRequestDescriptor descriptor, CancellationToken cancellationToken = default) + { + descriptor.BeforeRequest(); + return DoRequestAsync(descriptor, cancellationToken); + } + + /// + /// + /// Delete an inference endpoint + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + public virtual Task DeleteAsync(Elastic.Clients.Elasticsearch.Serverless.Inference.TaskType? taskType, Elastic.Clients.Elasticsearch.Serverless.Id inferenceId, CancellationToken cancellationToken = default) + { + var descriptor = new DeleteInferenceRequestDescriptor(taskType, inferenceId); + descriptor.BeforeRequest(); + return DoRequestAsync(descriptor, cancellationToken); + } + + /// + /// + /// Delete an inference endpoint + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + public virtual Task DeleteAsync(Elastic.Clients.Elasticsearch.Serverless.Inference.TaskType? taskType, Elastic.Clients.Elasticsearch.Serverless.Id inferenceId, Action configureRequest, CancellationToken cancellationToken = default) + { + var descriptor = new DeleteInferenceRequestDescriptor(taskType, inferenceId); + configureRequest?.Invoke(descriptor); + descriptor.BeforeRequest(); + return DoRequestAsync(descriptor, cancellationToken); + } + + /// + /// + /// Delete an inference endpoint + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + public virtual Task DeleteAsync(Elastic.Clients.Elasticsearch.Serverless.Id inferenceId, CancellationToken cancellationToken = default) + { + var descriptor = new DeleteInferenceRequestDescriptor(inferenceId); + descriptor.BeforeRequest(); + return DoRequestAsync(descriptor, cancellationToken); + } + + /// + /// + /// Delete an inference endpoint + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + public virtual Task DeleteAsync(Elastic.Clients.Elasticsearch.Serverless.Id inferenceId, Action configureRequest, CancellationToken cancellationToken = default) + { + var descriptor = new DeleteInferenceRequestDescriptor(inferenceId); + configureRequest?.Invoke(descriptor); + descriptor.BeforeRequest(); + return DoRequestAsync(descriptor, cancellationToken); + } + + /// + /// + /// Get an inference endpoint + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + public virtual Task GetAsync(GetInferenceRequest request, CancellationToken cancellationToken = default) + { + request.BeforeRequest(); + return DoRequestAsync(request, cancellationToken); + } + + /// + /// + /// Get an inference endpoint + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + public virtual Task GetAsync(GetInferenceRequestDescriptor descriptor, CancellationToken cancellationToken = default) + { + descriptor.BeforeRequest(); + return DoRequestAsync(descriptor, cancellationToken); + } + + /// + /// + /// Get an inference endpoint + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + public virtual Task GetAsync(Elastic.Clients.Elasticsearch.Serverless.Inference.TaskType? taskType, Elastic.Clients.Elasticsearch.Serverless.Id? inferenceId, CancellationToken cancellationToken = default) + { + var descriptor = new GetInferenceRequestDescriptor(taskType, inferenceId); + descriptor.BeforeRequest(); + return DoRequestAsync(descriptor, cancellationToken); + } + + /// + /// + /// Get an inference endpoint + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + public virtual Task GetAsync(Elastic.Clients.Elasticsearch.Serverless.Inference.TaskType? taskType, Elastic.Clients.Elasticsearch.Serverless.Id? inferenceId, Action configureRequest, CancellationToken cancellationToken = default) + { + var descriptor = new GetInferenceRequestDescriptor(taskType, inferenceId); + configureRequest?.Invoke(descriptor); + descriptor.BeforeRequest(); + return DoRequestAsync(descriptor, cancellationToken); + } + + /// + /// + /// Get an inference endpoint + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + public virtual Task GetAsync(CancellationToken cancellationToken = default) + { + var descriptor = new GetInferenceRequestDescriptor(); + descriptor.BeforeRequest(); + return DoRequestAsync(descriptor, cancellationToken); + } + + /// + /// + /// Get an inference endpoint + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + public virtual Task GetAsync(Action configureRequest, CancellationToken cancellationToken = default) + { + var descriptor = new GetInferenceRequestDescriptor(); + configureRequest?.Invoke(descriptor); + descriptor.BeforeRequest(); + return DoRequestAsync(descriptor, cancellationToken); + } + + /// + /// + /// Perform inference on the service + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + public virtual Task InferenceAsync(InferenceRequest request, CancellationToken cancellationToken = default) + { + request.BeforeRequest(); + return DoRequestAsync(request, cancellationToken); + } + + /// + /// + /// Perform inference on the service + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + public virtual Task InferenceAsync(InferenceRequestDescriptor descriptor, CancellationToken cancellationToken = default) + { + descriptor.BeforeRequest(); + return DoRequestAsync(descriptor, cancellationToken); + } + + /// + /// + /// Perform inference on the service + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + public virtual Task InferenceAsync(Elastic.Clients.Elasticsearch.Serverless.Inference.TaskType? taskType, Elastic.Clients.Elasticsearch.Serverless.Id inferenceId, CancellationToken cancellationToken = default) + { + var descriptor = new InferenceRequestDescriptor(taskType, inferenceId); + descriptor.BeforeRequest(); + return DoRequestAsync(descriptor, cancellationToken); + } + + /// + /// + /// Perform inference on the service + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + public virtual Task InferenceAsync(Elastic.Clients.Elasticsearch.Serverless.Inference.TaskType? taskType, Elastic.Clients.Elasticsearch.Serverless.Id inferenceId, Action configureRequest, CancellationToken cancellationToken = default) + { + var descriptor = new InferenceRequestDescriptor(taskType, inferenceId); + configureRequest?.Invoke(descriptor); + descriptor.BeforeRequest(); + return DoRequestAsync(descriptor, cancellationToken); + } + + /// + /// + /// Perform inference on the service + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + public virtual Task InferenceAsync(Elastic.Clients.Elasticsearch.Serverless.Id inferenceId, CancellationToken cancellationToken = default) + { + var descriptor = new InferenceRequestDescriptor(inferenceId); + descriptor.BeforeRequest(); + return DoRequestAsync(descriptor, cancellationToken); + } + + /// + /// + /// Perform inference on the service + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + public virtual Task InferenceAsync(Elastic.Clients.Elasticsearch.Serverless.Id inferenceId, Action configureRequest, CancellationToken cancellationToken = default) + { + var descriptor = new InferenceRequestDescriptor(inferenceId); + configureRequest?.Invoke(descriptor); + descriptor.BeforeRequest(); + return DoRequestAsync(descriptor, cancellationToken); + } + + /// + /// + /// Create an inference endpoint + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + public virtual Task PutAsync(PutInferenceRequest request, CancellationToken cancellationToken = default) + { + request.BeforeRequest(); + return DoRequestAsync(request, cancellationToken); + } + + /// + /// + /// Create an inference endpoint + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + public virtual Task PutAsync(PutInferenceRequestDescriptor descriptor, CancellationToken cancellationToken = default) + { + descriptor.BeforeRequest(); + return DoRequestAsync(descriptor, cancellationToken); + } + + /// + /// + /// Create an inference endpoint + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + public virtual Task PutAsync(Elastic.Clients.Elasticsearch.Serverless.Inference.InferenceEndpoint inferenceConfig, Elastic.Clients.Elasticsearch.Serverless.Inference.TaskType? taskType, Elastic.Clients.Elasticsearch.Serverless.Id inferenceId, CancellationToken cancellationToken = default) + { + var descriptor = new PutInferenceRequestDescriptor(inferenceConfig, taskType, inferenceId); + descriptor.BeforeRequest(); + return DoRequestAsync(descriptor, cancellationToken); + } + + /// + /// + /// Create an inference endpoint + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + public virtual Task PutAsync(Elastic.Clients.Elasticsearch.Serverless.Inference.InferenceEndpoint inferenceConfig, Elastic.Clients.Elasticsearch.Serverless.Inference.TaskType? taskType, Elastic.Clients.Elasticsearch.Serverless.Id inferenceId, Action configureRequest, CancellationToken cancellationToken = default) + { + var descriptor = new PutInferenceRequestDescriptor(inferenceConfig, taskType, inferenceId); + configureRequest?.Invoke(descriptor); + descriptor.BeforeRequest(); + return DoRequestAsync(descriptor, cancellationToken); + } + + /// + /// + /// Create an inference endpoint + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + public virtual Task PutAsync(Elastic.Clients.Elasticsearch.Serverless.Inference.InferenceEndpoint inferenceConfig, Elastic.Clients.Elasticsearch.Serverless.Id inferenceId, CancellationToken cancellationToken = default) + { + var descriptor = new PutInferenceRequestDescriptor(inferenceConfig, inferenceId); + descriptor.BeforeRequest(); + return DoRequestAsync(descriptor, cancellationToken); + } + + /// + /// + /// Create an inference endpoint + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + public virtual Task PutAsync(Elastic.Clients.Elasticsearch.Serverless.Inference.InferenceEndpoint inferenceConfig, Elastic.Clients.Elasticsearch.Serverless.Id inferenceId, Action configureRequest, CancellationToken cancellationToken = default) + { + var descriptor = new PutInferenceRequestDescriptor(inferenceConfig, inferenceId); + configureRequest?.Invoke(descriptor); + descriptor.BeforeRequest(); + return DoRequestAsync(descriptor, cancellationToken); + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.Ingest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.Ingest.g.cs index cdd7941b0fe..e612028f214 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.Ingest.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.Ingest.g.cs @@ -223,7 +223,7 @@ public virtual Task DeletePipelineAsync(Elastic.Clients. /// /// Gets download statistics for GeoIP2 databases used with the geoip processor. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task GeoIpStatsAsync(GeoIpStatsRequest request, CancellationToken cancellationToken = default) { @@ -235,7 +235,7 @@ public virtual Task GeoIpStatsAsync(GeoIpStatsRequest reques /// /// Gets download statistics for GeoIP2 databases used with the geoip processor. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task GeoIpStatsAsync(GeoIpStatsRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -247,7 +247,7 @@ public virtual Task GeoIpStatsAsync(GeoIpStatsRequestDescrip /// /// Gets download statistics for GeoIP2 databases used with the geoip processor. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task GeoIpStatsAsync(CancellationToken cancellationToken = default) { @@ -260,7 +260,7 @@ public virtual Task GeoIpStatsAsync(CancellationToken cancel /// /// Gets download statistics for GeoIP2 databases used with the geoip processor. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task GeoIpStatsAsync(Action configureRequest, CancellationToken cancellationToken = default) { @@ -575,7 +575,7 @@ public virtual Task GetPipelineAsync(Action - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ProcessorGrokAsync(ProcessorGrokRequest request, CancellationToken cancellationToken = default) { @@ -589,7 +589,7 @@ public virtual Task ProcessorGrokAsync(ProcessorGrokReque /// You choose which field to extract matched fields from, as well as the grok pattern you expect will match. /// A grok pattern is like a regular expression that supports aliased expressions that can be reused. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ProcessorGrokAsync(ProcessorGrokRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -603,7 +603,7 @@ public virtual Task ProcessorGrokAsync(ProcessorGrokReque /// You choose which field to extract matched fields from, as well as the grok pattern you expect will match. /// A grok pattern is like a regular expression that supports aliased expressions that can be reused. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ProcessorGrokAsync(CancellationToken cancellationToken = default) { @@ -618,7 +618,7 @@ public virtual Task ProcessorGrokAsync(CancellationToken /// You choose which field to extract matched fields from, as well as the grok pattern you expect will match. /// A grok pattern is like a regular expression that supports aliased expressions that can be reused. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ProcessorGrokAsync(Action configureRequest, CancellationToken cancellationToken = default) { @@ -723,7 +723,7 @@ public virtual Task PutGeoipDatabaseAsync(Elastic.Clie /// Creates or updates an ingest pipeline. /// Changes made using this API take effect immediately. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PutPipelineAsync(PutPipelineRequest request, CancellationToken cancellationToken = default) { @@ -736,7 +736,7 @@ public virtual Task PutPipelineAsync(PutPipelineRequest req /// Creates or updates an ingest pipeline. /// Changes made using this API take effect immediately. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PutPipelineAsync(PutPipelineRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -749,7 +749,7 @@ public virtual Task PutPipelineAsync(PutPipeline /// Creates or updates an ingest pipeline. /// Changes made using this API take effect immediately. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PutPipelineAsync(Elastic.Clients.Elasticsearch.Serverless.Id id, CancellationToken cancellationToken = default) { @@ -763,7 +763,7 @@ public virtual Task PutPipelineAsync(Elastic.Cli /// Creates or updates an ingest pipeline. /// Changes made using this API take effect immediately. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PutPipelineAsync(Elastic.Clients.Elasticsearch.Serverless.Id id, Action> configureRequest, CancellationToken cancellationToken = default) { @@ -778,7 +778,7 @@ public virtual Task PutPipelineAsync(Elastic.Cli /// Creates or updates an ingest pipeline. /// Changes made using this API take effect immediately. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PutPipelineAsync(PutPipelineRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -791,7 +791,7 @@ public virtual Task PutPipelineAsync(PutPipelineRequestDesc /// Creates or updates an ingest pipeline. /// Changes made using this API take effect immediately. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PutPipelineAsync(Elastic.Clients.Elasticsearch.Serverless.Id id, CancellationToken cancellationToken = default) { @@ -805,7 +805,7 @@ public virtual Task PutPipelineAsync(Elastic.Clients.Elasti /// Creates or updates an ingest pipeline. /// Changes made using this API take effect immediately. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PutPipelineAsync(Elastic.Clients.Elasticsearch.Serverless.Id id, Action configureRequest, CancellationToken cancellationToken = default) { diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.Ml.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.Ml.g.cs index 6f5f2eb4b08..6761e0e864f 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.Ml.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.Ml.g.cs @@ -114,7 +114,7 @@ public virtual Task ClearTrainedModelD /// If you close an anomaly detection job whose datafeed is running, the request first tries to stop the datafeed. This behavior is equivalent to calling stop datafeed API with the same timeout and force parameters as the close job request. /// When a datafeed that has a specified end date stops, it automatically closes its associated job. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task CloseJobAsync(CloseJobRequest request, CancellationToken cancellationToken = default) { @@ -130,7 +130,7 @@ public virtual Task CloseJobAsync(CloseJobRequest request, Can /// If you close an anomaly detection job whose datafeed is running, the request first tries to stop the datafeed. This behavior is equivalent to calling stop datafeed API with the same timeout and force parameters as the close job request. /// When a datafeed that has a specified end date stops, it automatically closes its associated job. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task CloseJobAsync(CloseJobRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -146,7 +146,7 @@ public virtual Task CloseJobAsync(CloseJobRequestDescriptor de /// If you close an anomaly detection job whose datafeed is running, the request first tries to stop the datafeed. This behavior is equivalent to calling stop datafeed API with the same timeout and force parameters as the close job request. /// When a datafeed that has a specified end date stops, it automatically closes its associated job. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task CloseJobAsync(Elastic.Clients.Elasticsearch.Serverless.Id jobId, CancellationToken cancellationToken = default) { @@ -163,7 +163,7 @@ public virtual Task CloseJobAsync(Elastic.Clients.Elasticsearc /// If you close an anomaly detection job whose datafeed is running, the request first tries to stop the datafeed. This behavior is equivalent to calling stop datafeed API with the same timeout and force parameters as the close job request. /// When a datafeed that has a specified end date stops, it automatically closes its associated job. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task CloseJobAsync(Elastic.Clients.Elasticsearch.Serverless.Id jobId, Action configureRequest, CancellationToken cancellationToken = default) { @@ -178,7 +178,7 @@ public virtual Task CloseJobAsync(Elastic.Clients.Elasticsearc /// Delete a calendar. /// Removes all scheduled events from a calendar, then deletes it. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteCalendarAsync(DeleteCalendarRequest request, CancellationToken cancellationToken = default) { @@ -191,7 +191,7 @@ public virtual Task DeleteCalendarAsync(DeleteCalendarRe /// Delete a calendar. /// Removes all scheduled events from a calendar, then deletes it. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteCalendarAsync(DeleteCalendarRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -204,7 +204,7 @@ public virtual Task DeleteCalendarAsync(DeleteCalendarRe /// Delete a calendar. /// Removes all scheduled events from a calendar, then deletes it. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteCalendarAsync(Elastic.Clients.Elasticsearch.Serverless.Id calendarId, CancellationToken cancellationToken = default) { @@ -218,7 +218,7 @@ public virtual Task DeleteCalendarAsync(Elastic.Clients. /// Delete a calendar. /// Removes all scheduled events from a calendar, then deletes it. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteCalendarAsync(Elastic.Clients.Elasticsearch.Serverless.Id calendarId, Action configureRequest, CancellationToken cancellationToken = default) { @@ -232,7 +232,7 @@ public virtual Task DeleteCalendarAsync(Elastic.Clients. /// /// Delete events from a calendar. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteCalendarEventAsync(DeleteCalendarEventRequest request, CancellationToken cancellationToken = default) { @@ -244,7 +244,7 @@ public virtual Task DeleteCalendarEventAsync(Delete /// /// Delete events from a calendar. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteCalendarEventAsync(DeleteCalendarEventRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -256,7 +256,7 @@ public virtual Task DeleteCalendarEventAsync(Delete /// /// Delete events from a calendar. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteCalendarEventAsync(Elastic.Clients.Elasticsearch.Serverless.Id calendarId, Elastic.Clients.Elasticsearch.Serverless.Id eventId, CancellationToken cancellationToken = default) { @@ -269,7 +269,7 @@ public virtual Task DeleteCalendarEventAsync(Elasti /// /// Delete events from a calendar. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteCalendarEventAsync(Elastic.Clients.Elasticsearch.Serverless.Id calendarId, Elastic.Clients.Elasticsearch.Serverless.Id eventId, Action configureRequest, CancellationToken cancellationToken = default) { @@ -283,7 +283,7 @@ public virtual Task DeleteCalendarEventAsync(Elasti /// /// Delete anomaly jobs from a calendar. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteCalendarJobAsync(DeleteCalendarJobRequest request, CancellationToken cancellationToken = default) { @@ -295,7 +295,7 @@ public virtual Task DeleteCalendarJobAsync(DeleteCale /// /// Delete anomaly jobs from a calendar. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteCalendarJobAsync(DeleteCalendarJobRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -307,7 +307,7 @@ public virtual Task DeleteCalendarJobAsync(DeleteCale /// /// Delete anomaly jobs from a calendar. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteCalendarJobAsync(Elastic.Clients.Elasticsearch.Serverless.Id calendarId, Elastic.Clients.Elasticsearch.Serverless.Ids jobId, CancellationToken cancellationToken = default) { @@ -320,7 +320,7 @@ public virtual Task DeleteCalendarJobAsync(Elastic.Cl /// /// Delete anomaly jobs from a calendar. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteCalendarJobAsync(Elastic.Clients.Elasticsearch.Serverless.Id calendarId, Elastic.Clients.Elasticsearch.Serverless.Ids jobId, Action configureRequest, CancellationToken cancellationToken = default) { @@ -334,7 +334,7 @@ public virtual Task DeleteCalendarJobAsync(Elastic.Cl /// /// Delete a datafeed. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteDatafeedAsync(DeleteDatafeedRequest request, CancellationToken cancellationToken = default) { @@ -346,7 +346,7 @@ public virtual Task DeleteDatafeedAsync(DeleteDatafeedRe /// /// Delete a datafeed. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteDatafeedAsync(DeleteDatafeedRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -358,7 +358,7 @@ public virtual Task DeleteDatafeedAsync(DeleteDatafeedRe /// /// Delete a datafeed. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteDatafeedAsync(Elastic.Clients.Elasticsearch.Serverless.Id datafeedId, CancellationToken cancellationToken = default) { @@ -371,7 +371,7 @@ public virtual Task DeleteDatafeedAsync(Elastic.Clients. /// /// Delete a datafeed. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteDatafeedAsync(Elastic.Clients.Elasticsearch.Serverless.Id datafeedId, Action configureRequest, CancellationToken cancellationToken = default) { @@ -385,7 +385,7 @@ public virtual Task DeleteDatafeedAsync(Elastic.Clients. /// /// Delete a data frame analytics job. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteDataFrameAnalyticsAsync(DeleteDataFrameAnalyticsRequest request, CancellationToken cancellationToken = default) { @@ -397,7 +397,7 @@ public virtual Task DeleteDataFrameAnalyticsAs /// /// Delete a data frame analytics job. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteDataFrameAnalyticsAsync(DeleteDataFrameAnalyticsRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -409,7 +409,7 @@ public virtual Task DeleteDataFrameAnalyticsAs /// /// Delete a data frame analytics job. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteDataFrameAnalyticsAsync(Elastic.Clients.Elasticsearch.Serverless.Id id, CancellationToken cancellationToken = default) { @@ -422,7 +422,7 @@ public virtual Task DeleteDataFrameAnalyticsAs /// /// Delete a data frame analytics job. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteDataFrameAnalyticsAsync(Elastic.Clients.Elasticsearch.Serverless.Id id, Action> configureRequest, CancellationToken cancellationToken = default) { @@ -436,7 +436,7 @@ public virtual Task DeleteDataFrameAnalyticsAs /// /// Delete a data frame analytics job. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteDataFrameAnalyticsAsync(DeleteDataFrameAnalyticsRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -448,7 +448,7 @@ public virtual Task DeleteDataFrameAnalyticsAs /// /// Delete a data frame analytics job. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteDataFrameAnalyticsAsync(Elastic.Clients.Elasticsearch.Serverless.Id id, CancellationToken cancellationToken = default) { @@ -461,7 +461,7 @@ public virtual Task DeleteDataFrameAnalyticsAs /// /// Delete a data frame analytics job. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteDataFrameAnalyticsAsync(Elastic.Clients.Elasticsearch.Serverless.Id id, Action configureRequest, CancellationToken cancellationToken = default) { @@ -4303,7 +4303,12 @@ public virtual Task PutCalendarJobAsync(Elastic.Clients. /// Datafeeds retrieve data from Elasticsearch for analysis by an anomaly detection job. /// You can associate only one datafeed with each anomaly detection job. /// The datafeed contains a query that runs at a defined interval (frequency). - /// If you are concerned about delayed data, you can add a delay (query_delay') at each interval. When Elasticsearch security features are enabled, your datafeed remembers which roles the user who created it had at the time of creation and runs the query using those same roles. If you provide secondary authorization headers, those credentials are used instead. You must use Kibana, this API, or the create anomaly detection jobs API to create a datafeed. Do not add a datafeed directly to the .ml-configindex. Do not give userswriteprivileges on the.ml-config` index. + /// If you are concerned about delayed data, you can add a delay (query_delay) at each interval. + /// When Elasticsearch security features are enabled, your datafeed remembers which roles the user who created it had + /// at the time of creation and runs the query using those same roles. If you provide secondary authorization headers, + /// those credentials are used instead. + /// You must use Kibana, this API, or the create anomaly detection jobs API to create a datafeed. Do not add a datafeed + /// directly to the .ml-config index. Do not give users write privileges on the .ml-config index. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -4319,7 +4324,12 @@ public virtual Task PutDatafeedAsync(PutDatafeedRequest req /// Datafeeds retrieve data from Elasticsearch for analysis by an anomaly detection job. /// You can associate only one datafeed with each anomaly detection job. /// The datafeed contains a query that runs at a defined interval (frequency). - /// If you are concerned about delayed data, you can add a delay (query_delay') at each interval. When Elasticsearch security features are enabled, your datafeed remembers which roles the user who created it had at the time of creation and runs the query using those same roles. If you provide secondary authorization headers, those credentials are used instead. You must use Kibana, this API, or the create anomaly detection jobs API to create a datafeed. Do not add a datafeed directly to the .ml-configindex. Do not give userswriteprivileges on the.ml-config` index. + /// If you are concerned about delayed data, you can add a delay (query_delay) at each interval. + /// When Elasticsearch security features are enabled, your datafeed remembers which roles the user who created it had + /// at the time of creation and runs the query using those same roles. If you provide secondary authorization headers, + /// those credentials are used instead. + /// You must use Kibana, this API, or the create anomaly detection jobs API to create a datafeed. Do not add a datafeed + /// directly to the .ml-config index. Do not give users write privileges on the .ml-config index. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -4335,7 +4345,12 @@ public virtual Task PutDatafeedAsync(PutDatafeed /// Datafeeds retrieve data from Elasticsearch for analysis by an anomaly detection job. /// You can associate only one datafeed with each anomaly detection job. /// The datafeed contains a query that runs at a defined interval (frequency). - /// If you are concerned about delayed data, you can add a delay (query_delay') at each interval. When Elasticsearch security features are enabled, your datafeed remembers which roles the user who created it had at the time of creation and runs the query using those same roles. If you provide secondary authorization headers, those credentials are used instead. You must use Kibana, this API, or the create anomaly detection jobs API to create a datafeed. Do not add a datafeed directly to the .ml-configindex. Do not give userswriteprivileges on the.ml-config` index. + /// If you are concerned about delayed data, you can add a delay (query_delay) at each interval. + /// When Elasticsearch security features are enabled, your datafeed remembers which roles the user who created it had + /// at the time of creation and runs the query using those same roles. If you provide secondary authorization headers, + /// those credentials are used instead. + /// You must use Kibana, this API, or the create anomaly detection jobs API to create a datafeed. Do not add a datafeed + /// directly to the .ml-config index. Do not give users write privileges on the .ml-config index. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -4352,7 +4367,12 @@ public virtual Task PutDatafeedAsync(Elastic.Cli /// Datafeeds retrieve data from Elasticsearch for analysis by an anomaly detection job. /// You can associate only one datafeed with each anomaly detection job. /// The datafeed contains a query that runs at a defined interval (frequency). - /// If you are concerned about delayed data, you can add a delay (query_delay') at each interval. When Elasticsearch security features are enabled, your datafeed remembers which roles the user who created it had at the time of creation and runs the query using those same roles. If you provide secondary authorization headers, those credentials are used instead. You must use Kibana, this API, or the create anomaly detection jobs API to create a datafeed. Do not add a datafeed directly to the .ml-configindex. Do not give userswriteprivileges on the.ml-config` index. + /// If you are concerned about delayed data, you can add a delay (query_delay) at each interval. + /// When Elasticsearch security features are enabled, your datafeed remembers which roles the user who created it had + /// at the time of creation and runs the query using those same roles. If you provide secondary authorization headers, + /// those credentials are used instead. + /// You must use Kibana, this API, or the create anomaly detection jobs API to create a datafeed. Do not add a datafeed + /// directly to the .ml-config index. Do not give users write privileges on the .ml-config index. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -4370,7 +4390,12 @@ public virtual Task PutDatafeedAsync(Elastic.Cli /// Datafeeds retrieve data from Elasticsearch for analysis by an anomaly detection job. /// You can associate only one datafeed with each anomaly detection job. /// The datafeed contains a query that runs at a defined interval (frequency). - /// If you are concerned about delayed data, you can add a delay (query_delay') at each interval. When Elasticsearch security features are enabled, your datafeed remembers which roles the user who created it had at the time of creation and runs the query using those same roles. If you provide secondary authorization headers, those credentials are used instead. You must use Kibana, this API, or the create anomaly detection jobs API to create a datafeed. Do not add a datafeed directly to the .ml-configindex. Do not give userswriteprivileges on the.ml-config` index. + /// If you are concerned about delayed data, you can add a delay (query_delay) at each interval. + /// When Elasticsearch security features are enabled, your datafeed remembers which roles the user who created it had + /// at the time of creation and runs the query using those same roles. If you provide secondary authorization headers, + /// those credentials are used instead. + /// You must use Kibana, this API, or the create anomaly detection jobs API to create a datafeed. Do not add a datafeed + /// directly to the .ml-config index. Do not give users write privileges on the .ml-config index. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -4386,7 +4411,12 @@ public virtual Task PutDatafeedAsync(PutDatafeedRequestDesc /// Datafeeds retrieve data from Elasticsearch for analysis by an anomaly detection job. /// You can associate only one datafeed with each anomaly detection job. /// The datafeed contains a query that runs at a defined interval (frequency). - /// If you are concerned about delayed data, you can add a delay (query_delay') at each interval. When Elasticsearch security features are enabled, your datafeed remembers which roles the user who created it had at the time of creation and runs the query using those same roles. If you provide secondary authorization headers, those credentials are used instead. You must use Kibana, this API, or the create anomaly detection jobs API to create a datafeed. Do not add a datafeed directly to the .ml-configindex. Do not give userswriteprivileges on the.ml-config` index. + /// If you are concerned about delayed data, you can add a delay (query_delay) at each interval. + /// When Elasticsearch security features are enabled, your datafeed remembers which roles the user who created it had + /// at the time of creation and runs the query using those same roles. If you provide secondary authorization headers, + /// those credentials are used instead. + /// You must use Kibana, this API, or the create anomaly detection jobs API to create a datafeed. Do not add a datafeed + /// directly to the .ml-config index. Do not give users write privileges on the .ml-config index. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -4403,7 +4433,12 @@ public virtual Task PutDatafeedAsync(Elastic.Clients.Elasti /// Datafeeds retrieve data from Elasticsearch for analysis by an anomaly detection job. /// You can associate only one datafeed with each anomaly detection job. /// The datafeed contains a query that runs at a defined interval (frequency). - /// If you are concerned about delayed data, you can add a delay (query_delay') at each interval. When Elasticsearch security features are enabled, your datafeed remembers which roles the user who created it had at the time of creation and runs the query using those same roles. If you provide secondary authorization headers, those credentials are used instead. You must use Kibana, this API, or the create anomaly detection jobs API to create a datafeed. Do not add a datafeed directly to the .ml-configindex. Do not give userswriteprivileges on the.ml-config` index. + /// If you are concerned about delayed data, you can add a delay (query_delay) at each interval. + /// When Elasticsearch security features are enabled, your datafeed remembers which roles the user who created it had + /// at the time of creation and runs the query using those same roles. If you provide secondary authorization headers, + /// those credentials are used instead. + /// You must use Kibana, this API, or the create anomaly detection jobs API to create a datafeed. Do not add a datafeed + /// directly to the .ml-config index. Do not give users write privileges on the .ml-config index. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -4421,7 +4456,7 @@ public virtual Task PutDatafeedAsync(Elastic.Clients.Elasti /// This API creates a data frame analytics job that performs an analysis on the /// source indices and stores the outcome in a destination index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PutDataFrameAnalyticsAsync(PutDataFrameAnalyticsRequest request, CancellationToken cancellationToken = default) { @@ -4435,7 +4470,7 @@ public virtual Task PutDataFrameAnalyticsAsync(Pu /// This API creates a data frame analytics job that performs an analysis on the /// source indices and stores the outcome in a destination index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PutDataFrameAnalyticsAsync(PutDataFrameAnalyticsRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -4449,7 +4484,7 @@ public virtual Task PutDataFrameAnalyticsAsync - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PutDataFrameAnalyticsAsync(Elastic.Clients.Elasticsearch.Serverless.Id id, CancellationToken cancellationToken = default) { @@ -4464,7 +4499,7 @@ public virtual Task PutDataFrameAnalyticsAsync - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PutDataFrameAnalyticsAsync(Elastic.Clients.Elasticsearch.Serverless.Id id, Action> configureRequest, CancellationToken cancellationToken = default) { @@ -4480,7 +4515,7 @@ public virtual Task PutDataFrameAnalyticsAsync - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PutDataFrameAnalyticsAsync(PutDataFrameAnalyticsRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -4494,7 +4529,7 @@ public virtual Task PutDataFrameAnalyticsAsync(Pu /// This API creates a data frame analytics job that performs an analysis on the /// source indices and stores the outcome in a destination index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PutDataFrameAnalyticsAsync(Elastic.Clients.Elasticsearch.Serverless.Id id, CancellationToken cancellationToken = default) { @@ -4509,7 +4544,7 @@ public virtual Task PutDataFrameAnalyticsAsync(El /// This API creates a data frame analytics job that performs an analysis on the /// source indices and stores the outcome in a destination index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PutDataFrameAnalyticsAsync(Elastic.Clients.Elasticsearch.Serverless.Id id, Action configureRequest, CancellationToken cancellationToken = default) { diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.Nodes.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.Nodes.g.cs index 545ba98ec16..a9882fe207b 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.Nodes.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.Nodes.g.cs @@ -44,7 +44,7 @@ internal NodesNamespacedClient(ElasticsearchClient client) : base(client) /// This API yields a breakdown of the hot threads on each selected node in the cluster. /// The output is plain text with a breakdown of each node’s top hot threads. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task HotThreadsAsync(HotThreadsRequest request, CancellationToken cancellationToken = default) { @@ -57,7 +57,7 @@ public virtual Task HotThreadsAsync(HotThreadsRequest reques /// This API yields a breakdown of the hot threads on each selected node in the cluster. /// The output is plain text with a breakdown of each node’s top hot threads. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task HotThreadsAsync(HotThreadsRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -70,7 +70,7 @@ public virtual Task HotThreadsAsync(HotThreadsRequestDescrip /// This API yields a breakdown of the hot threads on each selected node in the cluster. /// The output is plain text with a breakdown of each node’s top hot threads. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task HotThreadsAsync(Elastic.Clients.Elasticsearch.Serverless.NodeIds? nodeId, CancellationToken cancellationToken = default) { @@ -84,7 +84,7 @@ public virtual Task HotThreadsAsync(Elastic.Clients.Elastics /// This API yields a breakdown of the hot threads on each selected node in the cluster. /// The output is plain text with a breakdown of each node’s top hot threads. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task HotThreadsAsync(Elastic.Clients.Elasticsearch.Serverless.NodeIds? nodeId, Action configureRequest, CancellationToken cancellationToken = default) { @@ -99,7 +99,7 @@ public virtual Task HotThreadsAsync(Elastic.Clients.Elastics /// This API yields a breakdown of the hot threads on each selected node in the cluster. /// The output is plain text with a breakdown of each node’s top hot threads. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task HotThreadsAsync(CancellationToken cancellationToken = default) { @@ -113,7 +113,7 @@ public virtual Task HotThreadsAsync(CancellationToken cancel /// This API yields a breakdown of the hot threads on each selected node in the cluster. /// The output is plain text with a breakdown of each node’s top hot threads. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task HotThreadsAsync(Action configureRequest, CancellationToken cancellationToken = default) { @@ -127,7 +127,7 @@ public virtual Task HotThreadsAsync(Action /// Returns cluster nodes information. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task InfoAsync(NodesInfoRequest request, CancellationToken cancellationToken = default) { @@ -139,7 +139,7 @@ public virtual Task InfoAsync(NodesInfoRequest request, Cance /// /// Returns cluster nodes information. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task InfoAsync(NodesInfoRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -151,7 +151,7 @@ public virtual Task InfoAsync(NodesInfoRequestDescriptor desc /// /// Returns cluster nodes information. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task InfoAsync(Elastic.Clients.Elasticsearch.Serverless.NodeIds? nodeId, Elastic.Clients.Elasticsearch.Serverless.Metrics? metric, CancellationToken cancellationToken = default) { @@ -164,7 +164,7 @@ public virtual Task InfoAsync(Elastic.Clients.Elasticsearch.S /// /// Returns cluster nodes information. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task InfoAsync(Elastic.Clients.Elasticsearch.Serverless.NodeIds? nodeId, Elastic.Clients.Elasticsearch.Serverless.Metrics? metric, Action configureRequest, CancellationToken cancellationToken = default) { @@ -178,7 +178,7 @@ public virtual Task InfoAsync(Elastic.Clients.Elasticsearch.S /// /// Returns cluster nodes information. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task InfoAsync(CancellationToken cancellationToken = default) { @@ -191,7 +191,7 @@ public virtual Task InfoAsync(CancellationToken cancellationT /// /// Returns cluster nodes information. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task InfoAsync(Action configureRequest, CancellationToken cancellationToken = default) { @@ -205,7 +205,7 @@ public virtual Task InfoAsync(Action /// Returns cluster nodes statistics. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task StatsAsync(NodesStatsRequest request, CancellationToken cancellationToken = default) { @@ -217,7 +217,7 @@ public virtual Task StatsAsync(NodesStatsRequest request, Ca /// /// Returns cluster nodes statistics. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task StatsAsync(NodesStatsRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -229,7 +229,7 @@ public virtual Task StatsAsync(NodesStatsRequestD /// /// Returns cluster nodes statistics. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task StatsAsync(Elastic.Clients.Elasticsearch.Serverless.NodeIds? nodeId, Elastic.Clients.Elasticsearch.Serverless.Metrics? metric, Elastic.Clients.Elasticsearch.Serverless.Metrics? indexMetric, CancellationToken cancellationToken = default) { @@ -242,7 +242,7 @@ public virtual Task StatsAsync(Elastic.Clients.El /// /// Returns cluster nodes statistics. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task StatsAsync(Elastic.Clients.Elasticsearch.Serverless.NodeIds? nodeId, Elastic.Clients.Elasticsearch.Serverless.Metrics? metric, Elastic.Clients.Elasticsearch.Serverless.Metrics? indexMetric, Action> configureRequest, CancellationToken cancellationToken = default) { @@ -256,7 +256,7 @@ public virtual Task StatsAsync(Elastic.Clients.El /// /// Returns cluster nodes statistics. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task StatsAsync(CancellationToken cancellationToken = default) { @@ -269,7 +269,7 @@ public virtual Task StatsAsync(CancellationToken /// /// Returns cluster nodes statistics. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task StatsAsync(Action> configureRequest, CancellationToken cancellationToken = default) { @@ -283,7 +283,7 @@ public virtual Task StatsAsync(Action /// Returns cluster nodes statistics. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task StatsAsync(NodesStatsRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -295,7 +295,7 @@ public virtual Task StatsAsync(NodesStatsRequestDescriptor d /// /// Returns cluster nodes statistics. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task StatsAsync(Elastic.Clients.Elasticsearch.Serverless.NodeIds? nodeId, Elastic.Clients.Elasticsearch.Serverless.Metrics? metric, Elastic.Clients.Elasticsearch.Serverless.Metrics? indexMetric, CancellationToken cancellationToken = default) { @@ -308,7 +308,7 @@ public virtual Task StatsAsync(Elastic.Clients.Elasticsearch /// /// Returns cluster nodes statistics. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task StatsAsync(Elastic.Clients.Elasticsearch.Serverless.NodeIds? nodeId, Elastic.Clients.Elasticsearch.Serverless.Metrics? metric, Elastic.Clients.Elasticsearch.Serverless.Metrics? indexMetric, Action configureRequest, CancellationToken cancellationToken = default) { @@ -322,7 +322,7 @@ public virtual Task StatsAsync(Elastic.Clients.Elasticsearch /// /// Returns cluster nodes statistics. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task StatsAsync(CancellationToken cancellationToken = default) { @@ -335,7 +335,7 @@ public virtual Task StatsAsync(CancellationToken cancellatio /// /// Returns cluster nodes statistics. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task StatsAsync(Action configureRequest, CancellationToken cancellationToken = default) { @@ -349,7 +349,7 @@ public virtual Task StatsAsync(Action /// Returns information on the usage of features. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task UsageAsync(NodesUsageRequest request, CancellationToken cancellationToken = default) { @@ -361,7 +361,7 @@ public virtual Task UsageAsync(NodesUsageRequest request, Ca /// /// Returns information on the usage of features. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task UsageAsync(NodesUsageRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -373,7 +373,7 @@ public virtual Task UsageAsync(NodesUsageRequestDescriptor d /// /// Returns information on the usage of features. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task UsageAsync(Elastic.Clients.Elasticsearch.Serverless.NodeIds? nodeId, Elastic.Clients.Elasticsearch.Serverless.Metrics? metric, CancellationToken cancellationToken = default) { @@ -386,7 +386,7 @@ public virtual Task UsageAsync(Elastic.Clients.Elasticsearch /// /// Returns information on the usage of features. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task UsageAsync(Elastic.Clients.Elasticsearch.Serverless.NodeIds? nodeId, Elastic.Clients.Elasticsearch.Serverless.Metrics? metric, Action configureRequest, CancellationToken cancellationToken = default) { @@ -400,7 +400,7 @@ public virtual Task UsageAsync(Elastic.Clients.Elasticsearch /// /// Returns information on the usage of features. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task UsageAsync(CancellationToken cancellationToken = default) { @@ -413,7 +413,7 @@ public virtual Task UsageAsync(CancellationToken cancellatio /// /// Returns information on the usage of features. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task UsageAsync(Action configureRequest, CancellationToken cancellationToken = default) { diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.QueryRules.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.QueryRules.g.cs index 9adeb57e856..7924d7d16df 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.QueryRules.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.QueryRules.g.cs @@ -395,4 +395,55 @@ public virtual Task PutRulesetAsync(Elastic.Clients.Elastics descriptor.BeforeRequest(); return DoRequestAsync(descriptor, cancellationToken); } + + /// + /// + /// Creates or updates a query ruleset. + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + public virtual Task TestAsync(TestRequest request, CancellationToken cancellationToken = default) + { + request.BeforeRequest(); + return DoRequestAsync(request, cancellationToken); + } + + /// + /// + /// Creates or updates a query ruleset. + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + public virtual Task TestAsync(TestRequestDescriptor descriptor, CancellationToken cancellationToken = default) + { + descriptor.BeforeRequest(); + return DoRequestAsync(descriptor, cancellationToken); + } + + /// + /// + /// Creates or updates a query ruleset. + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + public virtual Task TestAsync(Elastic.Clients.Elasticsearch.Serverless.Id rulesetId, CancellationToken cancellationToken = default) + { + var descriptor = new TestRequestDescriptor(rulesetId); + descriptor.BeforeRequest(); + return DoRequestAsync(descriptor, cancellationToken); + } + + /// + /// + /// Creates or updates a query ruleset. + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + public virtual Task TestAsync(Elastic.Clients.Elasticsearch.Serverless.Id rulesetId, Action configureRequest, CancellationToken cancellationToken = default) + { + var descriptor = new TestRequestDescriptor(rulesetId); + configureRequest?.Invoke(descriptor); + descriptor.BeforeRequest(); + return DoRequestAsync(descriptor, cancellationToken); + } } \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.Security.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.Security.g.cs index 67e3c6f6217..3b630a6b91e 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.Security.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.Security.g.cs @@ -41,7 +41,10 @@ internal SecurityNamespacedClient(ElasticsearchClient client) : base(client) /// /// - /// Creates or updates a user profile on behalf of another user. + /// Activate a user profile. + /// + /// + /// Create or update a user profile on behalf of another user. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -53,7 +56,10 @@ public virtual Task ActivateUserProfileAsync(Activa /// /// - /// Creates or updates a user profile on behalf of another user. + /// Activate a user profile. + /// + /// + /// Create or update a user profile on behalf of another user. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -65,7 +71,10 @@ public virtual Task ActivateUserProfileAsync(Activa /// /// - /// Creates or updates a user profile on behalf of another user. + /// Activate a user profile. + /// + /// + /// Create or update a user profile on behalf of another user. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -78,7 +87,10 @@ public virtual Task ActivateUserProfileAsync(Cancel /// /// - /// Creates or updates a user profile on behalf of another user. + /// Activate a user profile. + /// + /// + /// Create or update a user profile on behalf of another user. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -93,6 +105,8 @@ public virtual Task ActivateUserProfileAsync(Action /// /// /// Authenticate a user. + /// + /// /// Authenticates a user and returns information about the authenticated user. /// Include the user information in a basic auth header. /// A successful call returns a JSON structure that shows user information such as their username, the roles that are assigned to the user, any assigned metadata, and information about the realms that authenticated and authorized the user. @@ -109,6 +123,8 @@ public virtual Task AuthenticateAsync(AuthenticateRequest /// /// /// Authenticate a user. + /// + /// /// Authenticates a user and returns information about the authenticated user. /// Include the user information in a basic auth header. /// A successful call returns a JSON structure that shows user information such as their username, the roles that are assigned to the user, any assigned metadata, and information about the realms that authenticated and authorized the user. @@ -125,6 +141,8 @@ public virtual Task AuthenticateAsync(AuthenticateRequestD /// /// /// Authenticate a user. + /// + /// /// Authenticates a user and returns information about the authenticated user. /// Include the user information in a basic auth header. /// A successful call returns a JSON structure that shows user information such as their username, the roles that are assigned to the user, any assigned metadata, and information about the realms that authenticated and authorized the user. @@ -142,6 +160,8 @@ public virtual Task AuthenticateAsync(CancellationToken ca /// /// /// Authenticate a user. + /// + /// /// Authenticates a user and returns information about the authenticated user. /// Include the user information in a basic auth header. /// A successful call returns a JSON structure that shows user information such as their username, the roles that are assigned to the user, any assigned metadata, and information about the realms that authenticated and authorized the user. @@ -159,6 +179,9 @@ public virtual Task AuthenticateAsync(Action /// + /// Bulk delete roles. + /// + /// /// The role management APIs are generally the preferred way to manage roles, rather than using file-based role management. /// The bulk delete roles API cannot delete roles that are defined in roles files. /// @@ -172,6 +195,9 @@ public virtual Task BulkDeleteRoleAsync(BulkDeleteRoleRe /// /// + /// Bulk delete roles. + /// + /// /// The role management APIs are generally the preferred way to manage roles, rather than using file-based role management. /// The bulk delete roles API cannot delete roles that are defined in roles files. /// @@ -185,6 +211,9 @@ public virtual Task BulkDeleteRoleAsync(BulkDeleteRoleRe /// /// + /// Bulk delete roles. + /// + /// /// The role management APIs are generally the preferred way to manage roles, rather than using file-based role management. /// The bulk delete roles API cannot delete roles that are defined in roles files. /// @@ -199,6 +228,9 @@ public virtual Task BulkDeleteRoleAsync(CancellationToke /// /// + /// Bulk delete roles. + /// + /// /// The role management APIs are generally the preferred way to manage roles, rather than using file-based role management. /// The bulk delete roles API cannot delete roles that are defined in roles files. /// @@ -214,6 +246,9 @@ public virtual Task BulkDeleteRoleAsync(Action /// + /// Bulk create or update roles. + /// + /// /// The role management APIs are generally the preferred way to manage roles, rather than using file-based role management. /// The bulk create or update roles API cannot update roles that are defined in roles files. /// @@ -227,6 +262,9 @@ public virtual Task BulkPutRoleAsync(BulkPutRoleRequest req /// /// + /// Bulk create or update roles. + /// + /// /// The role management APIs are generally the preferred way to manage roles, rather than using file-based role management. /// The bulk create or update roles API cannot update roles that are defined in roles files. /// @@ -240,6 +278,9 @@ public virtual Task BulkPutRoleAsync(BulkPutRole /// /// + /// Bulk create or update roles. + /// + /// /// The role management APIs are generally the preferred way to manage roles, rather than using file-based role management. /// The bulk create or update roles API cannot update roles that are defined in roles files. /// @@ -254,6 +295,9 @@ public virtual Task BulkPutRoleAsync(Cancellatio /// /// + /// Bulk create or update roles. + /// + /// /// The role management APIs are generally the preferred way to manage roles, rather than using file-based role management. /// The bulk create or update roles API cannot update roles that are defined in roles files. /// @@ -269,6 +313,9 @@ public virtual Task BulkPutRoleAsync(Action /// + /// Bulk create or update roles. + /// + /// /// The role management APIs are generally the preferred way to manage roles, rather than using file-based role management. /// The bulk create or update roles API cannot update roles that are defined in roles files. /// @@ -282,6 +329,9 @@ public virtual Task BulkPutRoleAsync(BulkPutRoleRequestDesc /// /// + /// Bulk create or update roles. + /// + /// /// The role management APIs are generally the preferred way to manage roles, rather than using file-based role management. /// The bulk create or update roles API cannot update roles that are defined in roles files. /// @@ -296,6 +346,9 @@ public virtual Task BulkPutRoleAsync(CancellationToken canc /// /// + /// Bulk create or update roles. + /// + /// /// The role management APIs are generally the preferred way to manage roles, rather than using file-based role management. /// The bulk create or update roles API cannot update roles that are defined in roles files. /// @@ -311,7 +364,10 @@ public virtual Task BulkPutRoleAsync(Action /// - /// Evicts a subset of all entries from the API key cache. + /// Clear the API key cache. + /// + /// + /// Evict a subset of all entries from the API key cache. /// The cache is also automatically cleared on state changes of the security index. /// /// Learn more about this API in the Elasticsearch documentation. @@ -324,7 +380,10 @@ public virtual Task ClearApiKeyCacheAsync(ClearApiKeyC /// /// - /// Evicts a subset of all entries from the API key cache. + /// Clear the API key cache. + /// + /// + /// Evict a subset of all entries from the API key cache. /// The cache is also automatically cleared on state changes of the security index. /// /// Learn more about this API in the Elasticsearch documentation. @@ -337,7 +396,10 @@ public virtual Task ClearApiKeyCacheAsync(ClearApiKeyC /// /// - /// Evicts a subset of all entries from the API key cache. + /// Clear the API key cache. + /// + /// + /// Evict a subset of all entries from the API key cache. /// The cache is also automatically cleared on state changes of the security index. /// /// Learn more about this API in the Elasticsearch documentation. @@ -351,7 +413,10 @@ public virtual Task ClearApiKeyCacheAsync(Elastic.Clie /// /// - /// Evicts a subset of all entries from the API key cache. + /// Clear the API key cache. + /// + /// + /// Evict a subset of all entries from the API key cache. /// The cache is also automatically cleared on state changes of the security index. /// /// Learn more about this API in the Elasticsearch documentation. @@ -366,7 +431,11 @@ public virtual Task ClearApiKeyCacheAsync(Elastic.Clie /// /// - /// Evicts application privileges from the native application privileges cache. + /// Clear the privileges cache. + /// + /// + /// Evict privileges from the native application privilege cache. + /// The cache is also automatically cleared for applications that have their privileges updated. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -378,7 +447,11 @@ public virtual Task ClearCachedPrivilegesAsync(Cl /// /// - /// Evicts application privileges from the native application privileges cache. + /// Clear the privileges cache. + /// + /// + /// Evict privileges from the native application privilege cache. + /// The cache is also automatically cleared for applications that have their privileges updated. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -390,7 +463,11 @@ public virtual Task ClearCachedPrivilegesAsync(Cl /// /// - /// Evicts application privileges from the native application privileges cache. + /// Clear the privileges cache. + /// + /// + /// Evict privileges from the native application privilege cache. + /// The cache is also automatically cleared for applications that have their privileges updated. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -403,7 +480,11 @@ public virtual Task ClearCachedPrivilegesAsync(El /// /// - /// Evicts application privileges from the native application privileges cache. + /// Clear the privileges cache. + /// + /// + /// Evict privileges from the native application privilege cache. + /// The cache is also automatically cleared for applications that have their privileges updated. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -417,7 +498,10 @@ public virtual Task ClearCachedPrivilegesAsync(El /// /// - /// Evicts users from the user cache. Can completely clear the cache or evict specific users. + /// Clear the user cache. + /// + /// + /// Evict users from the user cache. You can completely clear the cache or evict specific users. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -429,7 +513,10 @@ public virtual Task ClearCachedRealmsAsync(ClearCache /// /// - /// Evicts users from the user cache. Can completely clear the cache or evict specific users. + /// Clear the user cache. + /// + /// + /// Evict users from the user cache. You can completely clear the cache or evict specific users. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -441,7 +528,10 @@ public virtual Task ClearCachedRealmsAsync(ClearCache /// /// - /// Evicts users from the user cache. Can completely clear the cache or evict specific users. + /// Clear the user cache. + /// + /// + /// Evict users from the user cache. You can completely clear the cache or evict specific users. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -454,7 +544,10 @@ public virtual Task ClearCachedRealmsAsync(Elastic.Cl /// /// - /// Evicts users from the user cache. Can completely clear the cache or evict specific users. + /// Clear the user cache. + /// + /// + /// Evict users from the user cache. You can completely clear the cache or evict specific users. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -468,7 +561,10 @@ public virtual Task ClearCachedRealmsAsync(Elastic.Cl /// /// - /// Evicts roles from the native role cache. + /// Clear the roles cache. + /// + /// + /// Evict roles from the native role cache. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -480,7 +576,10 @@ public virtual Task ClearCachedRolesAsync(ClearCachedR /// /// - /// Evicts roles from the native role cache. + /// Clear the roles cache. + /// + /// + /// Evict roles from the native role cache. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -492,7 +591,10 @@ public virtual Task ClearCachedRolesAsync(ClearCachedR /// /// - /// Evicts roles from the native role cache. + /// Clear the roles cache. + /// + /// + /// Evict roles from the native role cache. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -505,7 +607,10 @@ public virtual Task ClearCachedRolesAsync(Elastic.Clie /// /// - /// Evicts roles from the native role cache. + /// Clear the roles cache. + /// + /// + /// Evict roles from the native role cache. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -519,7 +624,10 @@ public virtual Task ClearCachedRolesAsync(Elastic.Clie /// /// - /// Evicts tokens from the service account token caches. + /// Clear service account token caches. + /// + /// + /// Evict a subset of all entries from the service account token caches. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -531,7 +639,10 @@ public virtual Task ClearCachedServiceTokensAs /// /// - /// Evicts tokens from the service account token caches. + /// Clear service account token caches. + /// + /// + /// Evict a subset of all entries from the service account token caches. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -543,7 +654,10 @@ public virtual Task ClearCachedServiceTokensAs /// /// - /// Evicts tokens from the service account token caches. + /// Clear service account token caches. + /// + /// + /// Evict a subset of all entries from the service account token caches. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -556,7 +670,10 @@ public virtual Task ClearCachedServiceTokensAs /// /// - /// Evicts tokens from the service account token caches. + /// Clear service account token caches. + /// + /// + /// Evict a subset of all entries from the service account token caches. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -571,7 +688,9 @@ public virtual Task ClearCachedServiceTokensAs /// /// /// Create an API key. - /// Creates an API key for access without requiring basic authentication. + /// + /// + /// Create an API key for access without requiring basic authentication. /// A successful request returns a JSON structure that contains the API key, its unique id, and its name. /// If applicable, it also returns expiration information for the API key in milliseconds. /// NOTE: By default, API keys never expire. You can specify expiration information when you create the API keys. @@ -587,7 +706,9 @@ public virtual Task CreateApiKeyAsync(CreateApiKeyRequest /// /// /// Create an API key. - /// Creates an API key for access without requiring basic authentication. + /// + /// + /// Create an API key for access without requiring basic authentication. /// A successful request returns a JSON structure that contains the API key, its unique id, and its name. /// If applicable, it also returns expiration information for the API key in milliseconds. /// NOTE: By default, API keys never expire. You can specify expiration information when you create the API keys. @@ -603,7 +724,9 @@ public virtual Task CreateApiKeyAsync(CreateApi /// /// /// Create an API key. - /// Creates an API key for access without requiring basic authentication. + /// + /// + /// Create an API key for access without requiring basic authentication. /// A successful request returns a JSON structure that contains the API key, its unique id, and its name. /// If applicable, it also returns expiration information for the API key in milliseconds. /// NOTE: By default, API keys never expire. You can specify expiration information when you create the API keys. @@ -620,7 +743,9 @@ public virtual Task CreateApiKeyAsync(Cancellat /// /// /// Create an API key. - /// Creates an API key for access without requiring basic authentication. + /// + /// + /// Create an API key for access without requiring basic authentication. /// A successful request returns a JSON structure that contains the API key, its unique id, and its name. /// If applicable, it also returns expiration information for the API key in milliseconds. /// NOTE: By default, API keys never expire. You can specify expiration information when you create the API keys. @@ -638,7 +763,9 @@ public virtual Task CreateApiKeyAsync(Action /// /// Create an API key. - /// Creates an API key for access without requiring basic authentication. + /// + /// + /// Create an API key for access without requiring basic authentication. /// A successful request returns a JSON structure that contains the API key, its unique id, and its name. /// If applicable, it also returns expiration information for the API key in milliseconds. /// NOTE: By default, API keys never expire. You can specify expiration information when you create the API keys. @@ -654,7 +781,9 @@ public virtual Task CreateApiKeyAsync(CreateApiKeyRequestD /// /// /// Create an API key. - /// Creates an API key for access without requiring basic authentication. + /// + /// + /// Create an API key for access without requiring basic authentication. /// A successful request returns a JSON structure that contains the API key, its unique id, and its name. /// If applicable, it also returns expiration information for the API key in milliseconds. /// NOTE: By default, API keys never expire. You can specify expiration information when you create the API keys. @@ -671,7 +800,9 @@ public virtual Task CreateApiKeyAsync(CancellationToken ca /// /// /// Create an API key. - /// Creates an API key for access without requiring basic authentication. + /// + /// + /// Create an API key for access without requiring basic authentication. /// A successful request returns a JSON structure that contains the API key, its unique id, and its name. /// If applicable, it also returns expiration information for the API key in milliseconds. /// NOTE: By default, API keys never expire. You can specify expiration information when you create the API keys. @@ -688,7 +819,10 @@ public virtual Task CreateApiKeyAsync(Action /// - /// Creates a service accounts token for access without requiring basic authentication. + /// Create a service account token. + /// + /// + /// Create a service accounts token for access without requiring basic authentication. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -700,7 +834,10 @@ public virtual Task CreateServiceTokenAsync(CreateSe /// /// - /// Creates a service accounts token for access without requiring basic authentication. + /// Create a service account token. + /// + /// + /// Create a service accounts token for access without requiring basic authentication. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -712,7 +849,10 @@ public virtual Task CreateServiceTokenAsync(CreateSe /// /// - /// Creates a service accounts token for access without requiring basic authentication. + /// Create a service account token. + /// + /// + /// Create a service accounts token for access without requiring basic authentication. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -725,7 +865,10 @@ public virtual Task CreateServiceTokenAsync(string n /// /// - /// Creates a service accounts token for access without requiring basic authentication. + /// Create a service account token. + /// + /// + /// Create a service accounts token for access without requiring basic authentication. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -739,7 +882,10 @@ public virtual Task CreateServiceTokenAsync(string n /// /// - /// Creates a service accounts token for access without requiring basic authentication. + /// Create a service account token. + /// + /// + /// Create a service accounts token for access without requiring basic authentication. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -752,7 +898,10 @@ public virtual Task CreateServiceTokenAsync(string n /// /// - /// Creates a service accounts token for access without requiring basic authentication. + /// Create a service account token. + /// + /// + /// Create a service accounts token for access without requiring basic authentication. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -766,7 +915,7 @@ public virtual Task CreateServiceTokenAsync(string n /// /// - /// Removes application privileges. + /// Delete application privileges. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -778,7 +927,7 @@ public virtual Task DeletePrivilegesAsync(DeletePrivil /// /// - /// Removes application privileges. + /// Delete application privileges. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -790,7 +939,7 @@ public virtual Task DeletePrivilegesAsync(DeletePrivil /// /// - /// Removes application privileges. + /// Delete application privileges. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -803,7 +952,7 @@ public virtual Task DeletePrivilegesAsync(Elastic.Clie /// /// - /// Removes application privileges. + /// Delete application privileges. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -817,7 +966,10 @@ public virtual Task DeletePrivilegesAsync(Elastic.Clie /// /// - /// Removes roles in the native realm. + /// Delete roles. + /// + /// + /// Delete roles in the native realm. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -829,7 +981,10 @@ public virtual Task DeleteRoleAsync(DeleteRoleRequest reques /// /// - /// Removes roles in the native realm. + /// Delete roles. + /// + /// + /// Delete roles in the native realm. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -841,7 +996,10 @@ public virtual Task DeleteRoleAsync(DeleteRoleRequestDescrip /// /// - /// Removes roles in the native realm. + /// Delete roles. + /// + /// + /// Delete roles in the native realm. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -854,7 +1012,10 @@ public virtual Task DeleteRoleAsync(Elastic.Clients.Elastics /// /// - /// Removes roles in the native realm. + /// Delete roles. + /// + /// + /// Delete roles in the native realm. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -868,7 +1029,7 @@ public virtual Task DeleteRoleAsync(Elastic.Clients.Elastics /// /// - /// Removes role mappings. + /// Delete role mappings. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -880,7 +1041,7 @@ public virtual Task DeleteRoleMappingAsync(DeleteRole /// /// - /// Removes role mappings. + /// Delete role mappings. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -892,7 +1053,7 @@ public virtual Task DeleteRoleMappingAsync(DeleteRole /// /// - /// Removes role mappings. + /// Delete role mappings. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -905,7 +1066,7 @@ public virtual Task DeleteRoleMappingAsync(Elastic.Cl /// /// - /// Removes role mappings. + /// Delete role mappings. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -919,7 +1080,10 @@ public virtual Task DeleteRoleMappingAsync(Elastic.Cl /// /// - /// Deletes a service account token. + /// Delete service account tokens. + /// + /// + /// Delete service account tokens for a service in a specified namespace. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -931,7 +1095,10 @@ public virtual Task DeleteServiceTokenAsync(DeleteSe /// /// - /// Deletes a service account token. + /// Delete service account tokens. + /// + /// + /// Delete service account tokens for a service in a specified namespace. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -943,7 +1110,10 @@ public virtual Task DeleteServiceTokenAsync(DeleteSe /// /// - /// Deletes a service account token. + /// Delete service account tokens. + /// + /// + /// Delete service account tokens for a service in a specified namespace. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -956,7 +1126,10 @@ public virtual Task DeleteServiceTokenAsync(string n /// /// - /// Deletes a service account token. + /// Delete service account tokens. + /// + /// + /// Delete service account tokens for a service in a specified namespace. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -970,7 +1143,10 @@ public virtual Task DeleteServiceTokenAsync(string n /// /// - /// Disables a user profile so it's not visible in user profile searches. + /// Disable a user profile. + /// + /// + /// Disable user profiles so that they are not visible in user profile searches. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -982,7 +1158,10 @@ public virtual Task DisableUserProfileAsync(DisableU /// /// - /// Disables a user profile so it's not visible in user profile searches. + /// Disable a user profile. + /// + /// + /// Disable user profiles so that they are not visible in user profile searches. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -994,7 +1173,10 @@ public virtual Task DisableUserProfileAsync(DisableU /// /// - /// Disables a user profile so it's not visible in user profile searches. + /// Disable a user profile. + /// + /// + /// Disable user profiles so that they are not visible in user profile searches. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -1007,7 +1189,10 @@ public virtual Task DisableUserProfileAsync(string u /// /// - /// Disables a user profile so it's not visible in user profile searches. + /// Disable a user profile. + /// + /// + /// Disable user profiles so that they are not visible in user profile searches. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -1021,7 +1206,10 @@ public virtual Task DisableUserProfileAsync(string u /// /// - /// Enables a user profile so it's visible in user profile searches. + /// Enable a user profile. + /// + /// + /// Enable user profiles to make them visible in user profile searches. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -1033,7 +1221,10 @@ public virtual Task EnableUserProfileAsync(EnableUser /// /// - /// Enables a user profile so it's visible in user profile searches. + /// Enable a user profile. + /// + /// + /// Enable user profiles to make them visible in user profile searches. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -1045,7 +1236,10 @@ public virtual Task EnableUserProfileAsync(EnableUser /// /// - /// Enables a user profile so it's visible in user profile searches. + /// Enable a user profile. + /// + /// + /// Enable user profiles to make them visible in user profile searches. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -1058,7 +1252,10 @@ public virtual Task EnableUserProfileAsync(string uid /// /// - /// Enables a user profile so it's visible in user profile searches. + /// Enable a user profile. + /// + /// + /// Enable user profiles to make them visible in user profile searches. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -1073,6 +1270,8 @@ public virtual Task EnableUserProfileAsync(string uid /// /// /// Get API key information. + /// + /// /// Retrieves information for one or more API keys. /// NOTE: If you have only the manage_own_api_key privilege, this API returns only the API keys that you own. /// If you have read_security, manage_api_key or greater privileges (including manage_security), this API returns all API keys regardless of ownership. @@ -1088,6 +1287,8 @@ public virtual Task GetApiKeyAsync(GetApiKeyRequest request, /// /// /// Get API key information. + /// + /// /// Retrieves information for one or more API keys. /// NOTE: If you have only the manage_own_api_key privilege, this API returns only the API keys that you own. /// If you have read_security, manage_api_key or greater privileges (including manage_security), this API returns all API keys regardless of ownership. @@ -1103,6 +1304,8 @@ public virtual Task GetApiKeyAsync(GetApiKeyRequestDescriptor /// /// /// Get API key information. + /// + /// /// Retrieves information for one or more API keys. /// NOTE: If you have only the manage_own_api_key privilege, this API returns only the API keys that you own. /// If you have read_security, manage_api_key or greater privileges (including manage_security), this API returns all API keys regardless of ownership. @@ -1119,6 +1322,8 @@ public virtual Task GetApiKeyAsync(CancellationToken cancella /// /// /// Get API key information. + /// + /// /// Retrieves information for one or more API keys. /// NOTE: If you have only the manage_own_api_key privilege, this API returns only the API keys that you own. /// If you have read_security, manage_api_key or greater privileges (including manage_security), this API returns all API keys regardless of ownership. @@ -1135,7 +1340,10 @@ public virtual Task GetApiKeyAsync(Action /// - /// Retrieves the list of cluster privileges and index privileges that are available in this version of Elasticsearch. + /// Get builtin privileges. + /// + /// + /// Get the list of cluster privileges and index privileges that are available in this version of Elasticsearch. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -1147,7 +1355,10 @@ public virtual Task GetBuiltinPrivilegesAsync(GetB /// /// - /// Retrieves the list of cluster privileges and index privileges that are available in this version of Elasticsearch. + /// Get builtin privileges. + /// + /// + /// Get the list of cluster privileges and index privileges that are available in this version of Elasticsearch. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -1159,7 +1370,10 @@ public virtual Task GetBuiltinPrivilegesAsync(GetB /// /// - /// Retrieves the list of cluster privileges and index privileges that are available in this version of Elasticsearch. + /// Get builtin privileges. + /// + /// + /// Get the list of cluster privileges and index privileges that are available in this version of Elasticsearch. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -1172,7 +1386,10 @@ public virtual Task GetBuiltinPrivilegesAsync(Canc /// /// - /// Retrieves the list of cluster privileges and index privileges that are available in this version of Elasticsearch. + /// Get builtin privileges. + /// + /// + /// Get the list of cluster privileges and index privileges that are available in this version of Elasticsearch. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -1186,7 +1403,7 @@ public virtual Task GetBuiltinPrivilegesAsync(Acti /// /// - /// Retrieves application privileges. + /// Get application privileges. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -1198,7 +1415,7 @@ public virtual Task GetPrivilegesAsync(GetPrivilegesReque /// /// - /// Retrieves application privileges. + /// Get application privileges. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -1210,7 +1427,7 @@ public virtual Task GetPrivilegesAsync(GetPrivilegesReque /// /// - /// Retrieves application privileges. + /// Get application privileges. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -1223,7 +1440,7 @@ public virtual Task GetPrivilegesAsync(Elastic.Clients.El /// /// - /// Retrieves application privileges. + /// Get application privileges. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -1237,7 +1454,7 @@ public virtual Task GetPrivilegesAsync(Elastic.Clients.El /// /// - /// Retrieves application privileges. + /// Get application privileges. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -1250,7 +1467,7 @@ public virtual Task GetPrivilegesAsync(CancellationToken /// /// - /// Retrieves application privileges. + /// Get application privileges. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -1264,8 +1481,10 @@ public virtual Task GetPrivilegesAsync(Action /// - /// The role management APIs are generally the preferred way to manage roles, rather than using file-based role management. - /// The get roles API cannot retrieve roles that are defined in roles files. + /// Get roles. + /// + /// + /// Get roles in the native realm. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -1277,8 +1496,10 @@ public virtual Task GetRoleAsync(GetRoleRequest request, Cancel /// /// - /// The role management APIs are generally the preferred way to manage roles, rather than using file-based role management. - /// The get roles API cannot retrieve roles that are defined in roles files. + /// Get roles. + /// + /// + /// Get roles in the native realm. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -1290,8 +1511,10 @@ public virtual Task GetRoleAsync(GetRoleRequestDescriptor descr /// /// - /// The role management APIs are generally the preferred way to manage roles, rather than using file-based role management. - /// The get roles API cannot retrieve roles that are defined in roles files. + /// Get roles. + /// + /// + /// Get roles in the native realm. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -1304,8 +1527,10 @@ public virtual Task GetRoleAsync(Elastic.Clients.Elasticsearch. /// /// - /// The role management APIs are generally the preferred way to manage roles, rather than using file-based role management. - /// The get roles API cannot retrieve roles that are defined in roles files. + /// Get roles. + /// + /// + /// Get roles in the native realm. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -1319,8 +1544,10 @@ public virtual Task GetRoleAsync(Elastic.Clients.Elasticsearch. /// /// - /// The role management APIs are generally the preferred way to manage roles, rather than using file-based role management. - /// The get roles API cannot retrieve roles that are defined in roles files. + /// Get roles. + /// + /// + /// Get roles in the native realm. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -1333,8 +1560,10 @@ public virtual Task GetRoleAsync(CancellationToken cancellation /// /// - /// The role management APIs are generally the preferred way to manage roles, rather than using file-based role management. - /// The get roles API cannot retrieve roles that are defined in roles files. + /// Get roles. + /// + /// + /// Get roles in the native realm. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -1348,7 +1577,12 @@ public virtual Task GetRoleAsync(Action /// - /// Retrieves role mappings. + /// Get role mappings. + /// + /// + /// Role mappings define which roles are assigned to each user. + /// The role mapping APIs are generally the preferred way to manage role mappings rather than using role mapping files. + /// The get role mappings API cannot retrieve role mappings that are defined in role mapping files. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -1360,7 +1594,12 @@ public virtual Task GetRoleMappingAsync(GetRoleMappingRe /// /// - /// Retrieves role mappings. + /// Get role mappings. + /// + /// + /// Role mappings define which roles are assigned to each user. + /// The role mapping APIs are generally the preferred way to manage role mappings rather than using role mapping files. + /// The get role mappings API cannot retrieve role mappings that are defined in role mapping files. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -1372,7 +1611,12 @@ public virtual Task GetRoleMappingAsync(GetRoleMappingRe /// /// - /// Retrieves role mappings. + /// Get role mappings. + /// + /// + /// Role mappings define which roles are assigned to each user. + /// The role mapping APIs are generally the preferred way to manage role mappings rather than using role mapping files. + /// The get role mappings API cannot retrieve role mappings that are defined in role mapping files. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -1385,7 +1629,12 @@ public virtual Task GetRoleMappingAsync(Elastic.Clients. /// /// - /// Retrieves role mappings. + /// Get role mappings. + /// + /// + /// Role mappings define which roles are assigned to each user. + /// The role mapping APIs are generally the preferred way to manage role mappings rather than using role mapping files. + /// The get role mappings API cannot retrieve role mappings that are defined in role mapping files. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -1399,7 +1648,12 @@ public virtual Task GetRoleMappingAsync(Elastic.Clients. /// /// - /// Retrieves role mappings. + /// Get role mappings. + /// + /// + /// Role mappings define which roles are assigned to each user. + /// The role mapping APIs are generally the preferred way to manage role mappings rather than using role mapping files. + /// The get role mappings API cannot retrieve role mappings that are defined in role mapping files. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -1412,7 +1666,12 @@ public virtual Task GetRoleMappingAsync(CancellationToke /// /// - /// Retrieves role mappings. + /// Get role mappings. + /// + /// + /// Role mappings define which roles are assigned to each user. + /// The role mapping APIs are generally the preferred way to manage role mappings rather than using role mapping files. + /// The get role mappings API cannot retrieve role mappings that are defined in role mapping files. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -1426,7 +1685,10 @@ public virtual Task GetRoleMappingAsync(Action /// - /// This API returns a list of service accounts that match the provided path parameter(s). + /// Get service accounts. + /// + /// + /// Get a list of service accounts that match the provided path parameters. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -1438,7 +1700,10 @@ public virtual Task GetServiceAccountsAsync(GetServi /// /// - /// This API returns a list of service accounts that match the provided path parameter(s). + /// Get service accounts. + /// + /// + /// Get a list of service accounts that match the provided path parameters. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -1450,7 +1715,10 @@ public virtual Task GetServiceAccountsAsync(GetServi /// /// - /// This API returns a list of service accounts that match the provided path parameter(s). + /// Get service accounts. + /// + /// + /// Get a list of service accounts that match the provided path parameters. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -1463,7 +1731,10 @@ public virtual Task GetServiceAccountsAsync(string? /// /// - /// This API returns a list of service accounts that match the provided path parameter(s). + /// Get service accounts. + /// + /// + /// Get a list of service accounts that match the provided path parameters. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -1477,7 +1748,10 @@ public virtual Task GetServiceAccountsAsync(string? /// /// - /// This API returns a list of service accounts that match the provided path parameter(s). + /// Get service accounts. + /// + /// + /// Get a list of service accounts that match the provided path parameters. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -1490,7 +1764,10 @@ public virtual Task GetServiceAccountsAsync(Cancella /// /// - /// This API returns a list of service accounts that match the provided path parameter(s). + /// Get service accounts. + /// + /// + /// Get a list of service accounts that match the provided path parameters. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -1504,7 +1781,7 @@ public virtual Task GetServiceAccountsAsync(Action /// - /// Retrieves information of all service credentials for a service account. + /// Get service account credentials. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -1516,7 +1793,7 @@ public virtual Task GetServiceCredentialsAsync(Ge /// /// - /// Retrieves information of all service credentials for a service account. + /// Get service account credentials. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -1528,7 +1805,7 @@ public virtual Task GetServiceCredentialsAsync(Ge /// /// - /// Retrieves information of all service credentials for a service account. + /// Get service account credentials. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -1541,7 +1818,7 @@ public virtual Task GetServiceCredentialsAsync(st /// /// - /// Retrieves information of all service credentials for a service account. + /// Get service account credentials. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -1555,7 +1832,10 @@ public virtual Task GetServiceCredentialsAsync(st /// /// - /// Creates a bearer token for access without requiring basic authentication. + /// Get a token. + /// + /// + /// Create a bearer token for access without requiring basic authentication. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -1567,7 +1847,10 @@ public virtual Task GetTokenAsync(GetTokenRequest request, Can /// /// - /// Creates a bearer token for access without requiring basic authentication. + /// Get a token. + /// + /// + /// Create a bearer token for access without requiring basic authentication. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -1579,7 +1862,10 @@ public virtual Task GetTokenAsync(GetTokenRequestDescriptor de /// /// - /// Creates a bearer token for access without requiring basic authentication. + /// Get a token. + /// + /// + /// Create a bearer token for access without requiring basic authentication. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -1592,7 +1878,10 @@ public virtual Task GetTokenAsync(CancellationToken cancellati /// /// - /// Creates a bearer token for access without requiring basic authentication. + /// Get a token. + /// + /// + /// Create a bearer token for access without requiring basic authentication. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -1606,7 +1895,7 @@ public virtual Task GetTokenAsync(Action /// - /// Retrieves security privileges for the logged in user. + /// Get user privileges. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -1618,7 +1907,7 @@ public virtual Task GetUserPrivilegesAsync(GetUserPri /// /// - /// Retrieves security privileges for the logged in user. + /// Get user privileges. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -1630,7 +1919,7 @@ public virtual Task GetUserPrivilegesAsync(GetUserPri /// /// - /// Retrieves security privileges for the logged in user. + /// Get user privileges. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -1643,7 +1932,7 @@ public virtual Task GetUserPrivilegesAsync(Cancellati /// /// - /// Retrieves security privileges for the logged in user. + /// Get user privileges. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -1657,7 +1946,10 @@ public virtual Task GetUserPrivilegesAsync(Action /// - /// Retrieves a user's profile using the unique profile ID. + /// Get a user profile. + /// + /// + /// Get a user's profile using the unique profile ID. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -1669,7 +1961,10 @@ public virtual Task GetUserProfileAsync(GetUserProfileRe /// /// - /// Retrieves a user's profile using the unique profile ID. + /// Get a user profile. + /// + /// + /// Get a user's profile using the unique profile ID. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -1681,7 +1976,10 @@ public virtual Task GetUserProfileAsync(GetUserProfileRe /// /// - /// Retrieves a user's profile using the unique profile ID. + /// Get a user profile. + /// + /// + /// Get a user's profile using the unique profile ID. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -1694,7 +1992,10 @@ public virtual Task GetUserProfileAsync(IReadOnlyCollect /// /// - /// Retrieves a user's profile using the unique profile ID. + /// Get a user profile. + /// + /// + /// Get a user's profile using the unique profile ID. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -1708,8 +2009,11 @@ public virtual Task GetUserProfileAsync(IReadOnlyCollect /// /// - /// Creates an API key on behalf of another user. - /// This API is similar to Create API keys, however it creates the API key for a user that is different than the user that runs the API. + /// Grant an API key. + /// + /// + /// Create an API key on behalf of another user. + /// This API is similar to the create API keys API, however it creates the API key for a user that is different than the user that runs the API. /// The caller must have authentication credentials (either an access token, or a username and password) for the user on whose behalf the API key will be created. /// It is not possible to use this API to create an API key without that user’s credentials. /// The user, for whom the authentication credentials is provided, can optionally "run as" (impersonate) another user. @@ -1735,8 +2039,11 @@ public virtual Task GrantApiKeyAsync(GrantApiKeyRequest req /// /// - /// Creates an API key on behalf of another user. - /// This API is similar to Create API keys, however it creates the API key for a user that is different than the user that runs the API. + /// Grant an API key. + /// + /// + /// Create an API key on behalf of another user. + /// This API is similar to the create API keys API, however it creates the API key for a user that is different than the user that runs the API. /// The caller must have authentication credentials (either an access token, or a username and password) for the user on whose behalf the API key will be created. /// It is not possible to use this API to create an API key without that user’s credentials. /// The user, for whom the authentication credentials is provided, can optionally "run as" (impersonate) another user. @@ -1762,8 +2069,11 @@ public virtual Task GrantApiKeyAsync(GrantApiKey /// /// - /// Creates an API key on behalf of another user. - /// This API is similar to Create API keys, however it creates the API key for a user that is different than the user that runs the API. + /// Grant an API key. + /// + /// + /// Create an API key on behalf of another user. + /// This API is similar to the create API keys API, however it creates the API key for a user that is different than the user that runs the API. /// The caller must have authentication credentials (either an access token, or a username and password) for the user on whose behalf the API key will be created. /// It is not possible to use this API to create an API key without that user’s credentials. /// The user, for whom the authentication credentials is provided, can optionally "run as" (impersonate) another user. @@ -1790,8 +2100,11 @@ public virtual Task GrantApiKeyAsync(Cancellatio /// /// - /// Creates an API key on behalf of another user. - /// This API is similar to Create API keys, however it creates the API key for a user that is different than the user that runs the API. + /// Grant an API key. + /// + /// + /// Create an API key on behalf of another user. + /// This API is similar to the create API keys API, however it creates the API key for a user that is different than the user that runs the API. /// The caller must have authentication credentials (either an access token, or a username and password) for the user on whose behalf the API key will be created. /// It is not possible to use this API to create an API key without that user’s credentials. /// The user, for whom the authentication credentials is provided, can optionally "run as" (impersonate) another user. @@ -1819,8 +2132,11 @@ public virtual Task GrantApiKeyAsync(Action /// - /// Creates an API key on behalf of another user. - /// This API is similar to Create API keys, however it creates the API key for a user that is different than the user that runs the API. + /// Grant an API key. + /// + /// + /// Create an API key on behalf of another user. + /// This API is similar to the create API keys API, however it creates the API key for a user that is different than the user that runs the API. /// The caller must have authentication credentials (either an access token, or a username and password) for the user on whose behalf the API key will be created. /// It is not possible to use this API to create an API key without that user’s credentials. /// The user, for whom the authentication credentials is provided, can optionally "run as" (impersonate) another user. @@ -1846,8 +2162,11 @@ public virtual Task GrantApiKeyAsync(GrantApiKeyRequestDesc /// /// - /// Creates an API key on behalf of another user. - /// This API is similar to Create API keys, however it creates the API key for a user that is different than the user that runs the API. + /// Grant an API key. + /// + /// + /// Create an API key on behalf of another user. + /// This API is similar to the create API keys API, however it creates the API key for a user that is different than the user that runs the API. /// The caller must have authentication credentials (either an access token, or a username and password) for the user on whose behalf the API key will be created. /// It is not possible to use this API to create an API key without that user’s credentials. /// The user, for whom the authentication credentials is provided, can optionally "run as" (impersonate) another user. @@ -1874,8 +2193,11 @@ public virtual Task GrantApiKeyAsync(CancellationToken canc /// /// - /// Creates an API key on behalf of another user. - /// This API is similar to Create API keys, however it creates the API key for a user that is different than the user that runs the API. + /// Grant an API key. + /// + /// + /// Create an API key on behalf of another user. + /// This API is similar to the create API keys API, however it creates the API key for a user that is different than the user that runs the API. /// The caller must have authentication credentials (either an access token, or a username and password) for the user on whose behalf the API key will be created. /// It is not possible to use this API to create an API key without that user’s credentials. /// The user, for whom the authentication credentials is provided, can optionally "run as" (impersonate) another user. @@ -1904,7 +2226,9 @@ public virtual Task GrantApiKeyAsync(Action /// /// Check user privileges. - /// Determines whether the specified user has a specified list of privileges. + /// + /// + /// Determine whether the specified user has a specified list of privileges. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -1917,7 +2241,9 @@ public virtual Task HasPrivilegesAsync(HasPrivilegesReque /// /// /// Check user privileges. - /// Determines whether the specified user has a specified list of privileges. + /// + /// + /// Determine whether the specified user has a specified list of privileges. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -1930,7 +2256,9 @@ public virtual Task HasPrivilegesAsync(HasPrivilegesReque /// /// /// Check user privileges. - /// Determines whether the specified user has a specified list of privileges. + /// + /// + /// Determine whether the specified user has a specified list of privileges. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -1944,7 +2272,9 @@ public virtual Task HasPrivilegesAsync(Elastic.Clients.El /// /// /// Check user privileges. - /// Determines whether the specified user has a specified list of privileges. + /// + /// + /// Determine whether the specified user has a specified list of privileges. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -1959,7 +2289,9 @@ public virtual Task HasPrivilegesAsync(Elastic.Clients.El /// /// /// Check user privileges. - /// Determines whether the specified user has a specified list of privileges. + /// + /// + /// Determine whether the specified user has a specified list of privileges. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -1973,7 +2305,9 @@ public virtual Task HasPrivilegesAsync(CancellationToken /// /// /// Check user privileges. - /// Determines whether the specified user has a specified list of privileges. + /// + /// + /// Determine whether the specified user has a specified list of privileges. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -1987,7 +2321,10 @@ public virtual Task HasPrivilegesAsync(Action /// - /// Determines whether the users associated with the specified profile IDs have all the requested privileges. + /// Check user profile privileges. + /// + /// + /// Determine whether the users associated with the specified user profile IDs have all the requested privileges. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -1999,7 +2336,10 @@ public virtual Task HasPrivilegesUserProfileAs /// /// - /// Determines whether the users associated with the specified profile IDs have all the requested privileges. + /// Check user profile privileges. + /// + /// + /// Determine whether the users associated with the specified user profile IDs have all the requested privileges. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2011,7 +2351,10 @@ public virtual Task HasPrivilegesUserProfileAs /// /// - /// Determines whether the users associated with the specified profile IDs have all the requested privileges. + /// Check user profile privileges. + /// + /// + /// Determine whether the users associated with the specified user profile IDs have all the requested privileges. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2024,7 +2367,10 @@ public virtual Task HasPrivilegesUserProfileAs /// /// - /// Determines whether the users associated with the specified profile IDs have all the requested privileges. + /// Check user profile privileges. + /// + /// + /// Determine whether the users associated with the specified user profile IDs have all the requested privileges. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2039,7 +2385,10 @@ public virtual Task HasPrivilegesUserProfileAs /// /// /// Invalidate API keys. - /// Invalidates one or more API keys. + /// + /// + /// This API invalidates API keys created by the create API key or grant API key APIs. + /// Invalidated API keys fail authentication, but they can still be viewed using the get API key information and query API key information APIs, for at least the configured retention period, until they are automatically deleted. /// The manage_api_key privilege allows deleting any API keys. /// The manage_own_api_key only allows deleting API keys that are owned by the user. /// In addition, with the manage_own_api_key privilege, an invalidation request must be issued in one of the three formats: @@ -2057,7 +2406,7 @@ public virtual Task HasPrivilegesUserProfileAs /// /// /// - /// Or, if the request is issued by an API key, i.e. an API key invalidates itself, specify its ID in the ids field. + /// Or, if the request is issued by an API key, that is to say an API key invalidates itself, specify its ID in the ids field. /// /// /// @@ -2072,7 +2421,10 @@ public virtual Task InvalidateApiKeyAsync(InvalidateAp /// /// /// Invalidate API keys. - /// Invalidates one or more API keys. + /// + /// + /// This API invalidates API keys created by the create API key or grant API key APIs. + /// Invalidated API keys fail authentication, but they can still be viewed using the get API key information and query API key information APIs, for at least the configured retention period, until they are automatically deleted. /// The manage_api_key privilege allows deleting any API keys. /// The manage_own_api_key only allows deleting API keys that are owned by the user. /// In addition, with the manage_own_api_key privilege, an invalidation request must be issued in one of the three formats: @@ -2090,7 +2442,7 @@ public virtual Task InvalidateApiKeyAsync(InvalidateAp /// /// /// - /// Or, if the request is issued by an API key, i.e. an API key invalidates itself, specify its ID in the ids field. + /// Or, if the request is issued by an API key, that is to say an API key invalidates itself, specify its ID in the ids field. /// /// /// @@ -2105,7 +2457,10 @@ public virtual Task InvalidateApiKeyAsync(InvalidateAp /// /// /// Invalidate API keys. - /// Invalidates one or more API keys. + /// + /// + /// This API invalidates API keys created by the create API key or grant API key APIs. + /// Invalidated API keys fail authentication, but they can still be viewed using the get API key information and query API key information APIs, for at least the configured retention period, until they are automatically deleted. /// The manage_api_key privilege allows deleting any API keys. /// The manage_own_api_key only allows deleting API keys that are owned by the user. /// In addition, with the manage_own_api_key privilege, an invalidation request must be issued in one of the three formats: @@ -2123,7 +2478,7 @@ public virtual Task InvalidateApiKeyAsync(InvalidateAp /// /// /// - /// Or, if the request is issued by an API key, i.e. an API key invalidates itself, specify its ID in the ids field. + /// Or, if the request is issued by an API key, that is to say an API key invalidates itself, specify its ID in the ids field. /// /// /// @@ -2139,7 +2494,10 @@ public virtual Task InvalidateApiKeyAsync(Cancellation /// /// /// Invalidate API keys. - /// Invalidates one or more API keys. + /// + /// + /// This API invalidates API keys created by the create API key or grant API key APIs. + /// Invalidated API keys fail authentication, but they can still be viewed using the get API key information and query API key information APIs, for at least the configured retention period, until they are automatically deleted. /// The manage_api_key privilege allows deleting any API keys. /// The manage_own_api_key only allows deleting API keys that are owned by the user. /// In addition, with the manage_own_api_key privilege, an invalidation request must be issued in one of the three formats: @@ -2157,7 +2515,7 @@ public virtual Task InvalidateApiKeyAsync(Cancellation /// /// /// - /// Or, if the request is issued by an API key, i.e. an API key invalidates itself, specify its ID in the ids field. + /// Or, if the request is issued by an API key, that is to say an API key invalidates itself, specify its ID in the ids field. /// /// /// @@ -2173,7 +2531,16 @@ public virtual Task InvalidateApiKeyAsync(Action /// - /// Invalidates one or more access tokens or refresh tokens. + /// Invalidate a token. + /// + /// + /// The access tokens returned by the get token API have a finite period of time for which they are valid. + /// After that time period, they can no longer be used. + /// The time period is defined by the xpack.security.authc.token.timeout setting. + /// + /// + /// The refresh tokens returned by the get token API are only valid for 24 hours. They can also be used exactly once. + /// If you want to invalidate one or more access or refresh tokens immediately, use this invalidate token API. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2185,7 +2552,16 @@ public virtual Task InvalidateTokenAsync(InvalidateToke /// /// - /// Invalidates one or more access tokens or refresh tokens. + /// Invalidate a token. + /// + /// + /// The access tokens returned by the get token API have a finite period of time for which they are valid. + /// After that time period, they can no longer be used. + /// The time period is defined by the xpack.security.authc.token.timeout setting. + /// + /// + /// The refresh tokens returned by the get token API are only valid for 24 hours. They can also be used exactly once. + /// If you want to invalidate one or more access or refresh tokens immediately, use this invalidate token API. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2197,7 +2573,16 @@ public virtual Task InvalidateTokenAsync(InvalidateToke /// /// - /// Invalidates one or more access tokens or refresh tokens. + /// Invalidate a token. + /// + /// + /// The access tokens returned by the get token API have a finite period of time for which they are valid. + /// After that time period, they can no longer be used. + /// The time period is defined by the xpack.security.authc.token.timeout setting. + /// + /// + /// The refresh tokens returned by the get token API are only valid for 24 hours. They can also be used exactly once. + /// If you want to invalidate one or more access or refresh tokens immediately, use this invalidate token API. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2210,7 +2595,16 @@ public virtual Task InvalidateTokenAsync(CancellationTo /// /// - /// Invalidates one or more access tokens or refresh tokens. + /// Invalidate a token. + /// + /// + /// The access tokens returned by the get token API have a finite period of time for which they are valid. + /// After that time period, they can no longer be used. + /// The time period is defined by the xpack.security.authc.token.timeout setting. + /// + /// + /// The refresh tokens returned by the get token API are only valid for 24 hours. They can also be used exactly once. + /// If you want to invalidate one or more access or refresh tokens immediately, use this invalidate token API. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2224,7 +2618,7 @@ public virtual Task InvalidateTokenAsync(Action /// - /// Adds or updates application privileges. + /// Create or update application privileges. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2236,7 +2630,7 @@ public virtual Task PutPrivilegesAsync(PutPrivilegesReque /// /// - /// Adds or updates application privileges. + /// Create or update application privileges. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2248,7 +2642,7 @@ public virtual Task PutPrivilegesAsync(PutPrivilegesReque /// /// - /// Adds or updates application privileges. + /// Create or update application privileges. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2261,7 +2655,7 @@ public virtual Task PutPrivilegesAsync(CancellationToken /// /// - /// Adds or updates application privileges. + /// Create or update application privileges. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2275,8 +2669,12 @@ public virtual Task PutPrivilegesAsync(Action /// - /// The role management APIs are generally the preferred way to manage roles, rather than using file-based role management. + /// Create or update roles. + /// + /// + /// The role management APIs are generally the preferred way to manage roles in the native realm, rather than using file-based role management. /// The create or update roles API cannot update roles that are defined in roles files. + /// File-based role management is not available in Elastic Serverless. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2288,8 +2686,12 @@ public virtual Task PutRoleAsync(PutRoleRequest request, Cancel /// /// - /// The role management APIs are generally the preferred way to manage roles, rather than using file-based role management. + /// Create or update roles. + /// + /// + /// The role management APIs are generally the preferred way to manage roles in the native realm, rather than using file-based role management. /// The create or update roles API cannot update roles that are defined in roles files. + /// File-based role management is not available in Elastic Serverless. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2301,8 +2703,12 @@ public virtual Task PutRoleAsync(PutRoleRequestDescr /// /// - /// The role management APIs are generally the preferred way to manage roles, rather than using file-based role management. + /// Create or update roles. + /// + /// + /// The role management APIs are generally the preferred way to manage roles in the native realm, rather than using file-based role management. /// The create or update roles API cannot update roles that are defined in roles files. + /// File-based role management is not available in Elastic Serverless. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2315,8 +2721,12 @@ public virtual Task PutRoleAsync(Elastic.Clients.Ela /// /// - /// The role management APIs are generally the preferred way to manage roles, rather than using file-based role management. + /// Create or update roles. + /// + /// + /// The role management APIs are generally the preferred way to manage roles in the native realm, rather than using file-based role management. /// The create or update roles API cannot update roles that are defined in roles files. + /// File-based role management is not available in Elastic Serverless. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2330,8 +2740,12 @@ public virtual Task PutRoleAsync(Elastic.Clients.Ela /// /// - /// The role management APIs are generally the preferred way to manage roles, rather than using file-based role management. + /// Create or update roles. + /// + /// + /// The role management APIs are generally the preferred way to manage roles in the native realm, rather than using file-based role management. /// The create or update roles API cannot update roles that are defined in roles files. + /// File-based role management is not available in Elastic Serverless. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2343,8 +2757,12 @@ public virtual Task PutRoleAsync(PutRoleRequestDescriptor descr /// /// - /// The role management APIs are generally the preferred way to manage roles, rather than using file-based role management. + /// Create or update roles. + /// + /// + /// The role management APIs are generally the preferred way to manage roles in the native realm, rather than using file-based role management. /// The create or update roles API cannot update roles that are defined in roles files. + /// File-based role management is not available in Elastic Serverless. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2357,8 +2775,12 @@ public virtual Task PutRoleAsync(Elastic.Clients.Elasticsearch. /// /// - /// The role management APIs are generally the preferred way to manage roles, rather than using file-based role management. + /// Create or update roles. + /// + /// + /// The role management APIs are generally the preferred way to manage roles in the native realm, rather than using file-based role management. /// The create or update roles API cannot update roles that are defined in roles files. + /// File-based role management is not available in Elastic Serverless. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2372,7 +2794,16 @@ public virtual Task PutRoleAsync(Elastic.Clients.Elasticsearch. /// /// - /// Creates and updates role mappings. + /// Create or update role mappings. + /// + /// + /// Role mappings define which roles are assigned to each user. + /// Each mapping has rules that identify users and a list of roles that are granted to those users. + /// The role mapping APIs are generally the preferred way to manage role mappings rather than using role mapping files. The create or update role mappings API cannot update role mappings that are defined in role mapping files. + /// + /// + /// This API does not create roles. Rather, it maps users to existing roles. + /// Roles can be created by using the create or update roles API or roles files. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2384,7 +2815,16 @@ public virtual Task PutRoleMappingAsync(PutRoleMappingRe /// /// - /// Creates and updates role mappings. + /// Create or update role mappings. + /// + /// + /// Role mappings define which roles are assigned to each user. + /// Each mapping has rules that identify users and a list of roles that are granted to those users. + /// The role mapping APIs are generally the preferred way to manage role mappings rather than using role mapping files. The create or update role mappings API cannot update role mappings that are defined in role mapping files. + /// + /// + /// This API does not create roles. Rather, it maps users to existing roles. + /// Roles can be created by using the create or update roles API or roles files. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2396,7 +2836,16 @@ public virtual Task PutRoleMappingAsync(PutRoleMappingRe /// /// - /// Creates and updates role mappings. + /// Create or update role mappings. + /// + /// + /// Role mappings define which roles are assigned to each user. + /// Each mapping has rules that identify users and a list of roles that are granted to those users. + /// The role mapping APIs are generally the preferred way to manage role mappings rather than using role mapping files. The create or update role mappings API cannot update role mappings that are defined in role mapping files. + /// + /// + /// This API does not create roles. Rather, it maps users to existing roles. + /// Roles can be created by using the create or update roles API or roles files. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2409,7 +2858,16 @@ public virtual Task PutRoleMappingAsync(Elastic.Clients. /// /// - /// Creates and updates role mappings. + /// Create or update role mappings. + /// + /// + /// Role mappings define which roles are assigned to each user. + /// Each mapping has rules that identify users and a list of roles that are granted to those users. + /// The role mapping APIs are generally the preferred way to manage role mappings rather than using role mapping files. The create or update role mappings API cannot update role mappings that are defined in role mapping files. + /// + /// + /// This API does not create roles. Rather, it maps users to existing roles. + /// Roles can be created by using the create or update roles API or roles files. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2423,8 +2881,10 @@ public virtual Task PutRoleMappingAsync(Elastic.Clients. /// /// - /// Query API keys. - /// Retrieves a paginated list of API keys and their information. You can optionally filter the results with a query. + /// Find API keys with a query. + /// + /// + /// Get a paginated list of API keys and their information. You can optionally filter the results with a query. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2436,8 +2896,10 @@ public virtual Task QueryApiKeysAsync(QueryApiKeysRequest /// /// - /// Query API keys. - /// Retrieves a paginated list of API keys and their information. You can optionally filter the results with a query. + /// Find API keys with a query. + /// + /// + /// Get a paginated list of API keys and their information. You can optionally filter the results with a query. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2449,8 +2911,10 @@ public virtual Task QueryApiKeysAsync(QueryApiK /// /// - /// Query API keys. - /// Retrieves a paginated list of API keys and their information. You can optionally filter the results with a query. + /// Find API keys with a query. + /// + /// + /// Get a paginated list of API keys and their information. You can optionally filter the results with a query. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2463,8 +2927,10 @@ public virtual Task QueryApiKeysAsync(Cancellat /// /// - /// Query API keys. - /// Retrieves a paginated list of API keys and their information. You can optionally filter the results with a query. + /// Find API keys with a query. + /// + /// + /// Get a paginated list of API keys and their information. You can optionally filter the results with a query. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2478,8 +2944,10 @@ public virtual Task QueryApiKeysAsync(Action /// - /// Query API keys. - /// Retrieves a paginated list of API keys and their information. You can optionally filter the results with a query. + /// Find API keys with a query. + /// + /// + /// Get a paginated list of API keys and their information. You can optionally filter the results with a query. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2491,8 +2959,10 @@ public virtual Task QueryApiKeysAsync(QueryApiKeysRequestD /// /// - /// Query API keys. - /// Retrieves a paginated list of API keys and their information. You can optionally filter the results with a query. + /// Find API keys with a query. + /// + /// + /// Get a paginated list of API keys and their information. You can optionally filter the results with a query. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2505,8 +2975,10 @@ public virtual Task QueryApiKeysAsync(CancellationToken ca /// /// - /// Query API keys. - /// Retrieves a paginated list of API keys and their information. You can optionally filter the results with a query. + /// Find API keys with a query. + /// + /// + /// Get a paginated list of API keys and their information. You can optionally filter the results with a query. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2520,7 +2992,10 @@ public virtual Task QueryApiKeysAsync(Action /// - /// Retrieves roles in a paginated manner. You can optionally filter the results with a query. + /// Find roles with a query. + /// + /// + /// Get roles in a paginated manner. You can optionally filter the results with a query. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2532,7 +3007,10 @@ public virtual Task QueryRoleAsync(QueryRoleRequest request, /// /// - /// Retrieves roles in a paginated manner. You can optionally filter the results with a query. + /// Find roles with a query. + /// + /// + /// Get roles in a paginated manner. You can optionally filter the results with a query. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2544,7 +3022,10 @@ public virtual Task QueryRoleAsync(QueryRoleReques /// /// - /// Retrieves roles in a paginated manner. You can optionally filter the results with a query. + /// Find roles with a query. + /// + /// + /// Get roles in a paginated manner. You can optionally filter the results with a query. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2557,7 +3038,10 @@ public virtual Task QueryRoleAsync(CancellationTok /// /// - /// Retrieves roles in a paginated manner. You can optionally filter the results with a query. + /// Find roles with a query. + /// + /// + /// Get roles in a paginated manner. You can optionally filter the results with a query. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2571,7 +3055,10 @@ public virtual Task QueryRoleAsync(Action /// - /// Retrieves roles in a paginated manner. You can optionally filter the results with a query. + /// Find roles with a query. + /// + /// + /// Get roles in a paginated manner. You can optionally filter the results with a query. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2583,7 +3070,10 @@ public virtual Task QueryRoleAsync(QueryRoleRequestDescriptor /// /// - /// Retrieves roles in a paginated manner. You can optionally filter the results with a query. + /// Find roles with a query. + /// + /// + /// Get roles in a paginated manner. You can optionally filter the results with a query. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2596,7 +3086,10 @@ public virtual Task QueryRoleAsync(CancellationToken cancella /// /// - /// Retrieves roles in a paginated manner. You can optionally filter the results with a query. + /// Find roles with a query. + /// + /// + /// Get roles in a paginated manner. You can optionally filter the results with a query. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2610,7 +3103,11 @@ public virtual Task QueryRoleAsync(Action /// - /// Retrieves information for Users in a paginated manner. You can optionally filter the results with a query. + /// Find users with a query. + /// + /// + /// Get information for users in a paginated manner. + /// You can optionally filter the results with a query. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2622,7 +3119,11 @@ public virtual Task QueryUserAsync(QueryUserRequest request, /// /// - /// Retrieves information for Users in a paginated manner. You can optionally filter the results with a query. + /// Find users with a query. + /// + /// + /// Get information for users in a paginated manner. + /// You can optionally filter the results with a query. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2634,7 +3135,11 @@ public virtual Task QueryUserAsync(QueryUserReques /// /// - /// Retrieves information for Users in a paginated manner. You can optionally filter the results with a query. + /// Find users with a query. + /// + /// + /// Get information for users in a paginated manner. + /// You can optionally filter the results with a query. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2647,7 +3152,11 @@ public virtual Task QueryUserAsync(CancellationTok /// /// - /// Retrieves information for Users in a paginated manner. You can optionally filter the results with a query. + /// Find users with a query. + /// + /// + /// Get information for users in a paginated manner. + /// You can optionally filter the results with a query. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2661,7 +3170,11 @@ public virtual Task QueryUserAsync(Action /// - /// Retrieves information for Users in a paginated manner. You can optionally filter the results with a query. + /// Find users with a query. + /// + /// + /// Get information for users in a paginated manner. + /// You can optionally filter the results with a query. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2673,7 +3186,11 @@ public virtual Task QueryUserAsync(QueryUserRequestDescriptor /// /// - /// Retrieves information for Users in a paginated manner. You can optionally filter the results with a query. + /// Find users with a query. + /// + /// + /// Get information for users in a paginated manner. + /// You can optionally filter the results with a query. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2686,7 +3203,11 @@ public virtual Task QueryUserAsync(CancellationToken cancella /// /// - /// Retrieves information for Users in a paginated manner. You can optionally filter the results with a query. + /// Find users with a query. + /// + /// + /// Get information for users in a paginated manner. + /// You can optionally filter the results with a query. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2700,7 +3221,10 @@ public virtual Task QueryUserAsync(Action /// - /// Submits a SAML Response message to Elasticsearch for consumption. + /// Authenticate SAML. + /// + /// + /// Submits a SAML response message to Elasticsearch for consumption. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2712,7 +3236,10 @@ public virtual Task SamlAuthenticateAsync(SamlAuthenti /// /// - /// Submits a SAML Response message to Elasticsearch for consumption. + /// Authenticate SAML. + /// + /// + /// Submits a SAML response message to Elasticsearch for consumption. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2724,7 +3251,10 @@ public virtual Task SamlAuthenticateAsync(SamlAuthenti /// /// - /// Submits a SAML Response message to Elasticsearch for consumption. + /// Authenticate SAML. + /// + /// + /// Submits a SAML response message to Elasticsearch for consumption. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2737,7 +3267,10 @@ public virtual Task SamlAuthenticateAsync(Cancellation /// /// - /// Submits a SAML Response message to Elasticsearch for consumption. + /// Authenticate SAML. + /// + /// + /// Submits a SAML response message to Elasticsearch for consumption. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2751,6 +3284,9 @@ public virtual Task SamlAuthenticateAsync(Action /// + /// Logout of SAML completely. + /// + /// /// Verifies the logout response sent from the SAML IdP. /// /// Learn more about this API in the Elasticsearch documentation. @@ -2763,6 +3299,9 @@ public virtual Task SamlCompleteLogoutAsync(SamlComp /// /// + /// Logout of SAML completely. + /// + /// /// Verifies the logout response sent from the SAML IdP. /// /// Learn more about this API in the Elasticsearch documentation. @@ -2775,6 +3314,9 @@ public virtual Task SamlCompleteLogoutAsync(SamlComp /// /// + /// Logout of SAML completely. + /// + /// /// Verifies the logout response sent from the SAML IdP. /// /// Learn more about this API in the Elasticsearch documentation. @@ -2788,6 +3330,9 @@ public virtual Task SamlCompleteLogoutAsync(Cancella /// /// + /// Logout of SAML completely. + /// + /// /// Verifies the logout response sent from the SAML IdP. /// /// Learn more about this API in the Elasticsearch documentation. @@ -2802,6 +3347,9 @@ public virtual Task SamlCompleteLogoutAsync(Action /// + /// Invalidate SAML. + /// + /// /// Submits a SAML LogoutRequest message to Elasticsearch for consumption. /// /// Learn more about this API in the Elasticsearch documentation. @@ -2814,6 +3362,9 @@ public virtual Task SamlInvalidateAsync(SamlInvalidateRe /// /// + /// Invalidate SAML. + /// + /// /// Submits a SAML LogoutRequest message to Elasticsearch for consumption. /// /// Learn more about this API in the Elasticsearch documentation. @@ -2826,6 +3377,9 @@ public virtual Task SamlInvalidateAsync(SamlInvalidateRe /// /// + /// Invalidate SAML. + /// + /// /// Submits a SAML LogoutRequest message to Elasticsearch for consumption. /// /// Learn more about this API in the Elasticsearch documentation. @@ -2839,6 +3393,9 @@ public virtual Task SamlInvalidateAsync(CancellationToke /// /// + /// Invalidate SAML. + /// + /// /// Submits a SAML LogoutRequest message to Elasticsearch for consumption. /// /// Learn more about this API in the Elasticsearch documentation. @@ -2853,6 +3410,9 @@ public virtual Task SamlInvalidateAsync(Action /// + /// Logout of SAML. + /// + /// /// Submits a request to invalidate an access token and refresh token. /// /// Learn more about this API in the Elasticsearch documentation. @@ -2865,6 +3425,9 @@ public virtual Task SamlLogoutAsync(SamlLogoutRequest reques /// /// + /// Logout of SAML. + /// + /// /// Submits a request to invalidate an access token and refresh token. /// /// Learn more about this API in the Elasticsearch documentation. @@ -2877,6 +3440,9 @@ public virtual Task SamlLogoutAsync(SamlLogoutRequestDescrip /// /// + /// Logout of SAML. + /// + /// /// Submits a request to invalidate an access token and refresh token. /// /// Learn more about this API in the Elasticsearch documentation. @@ -2890,6 +3456,9 @@ public virtual Task SamlLogoutAsync(CancellationToken cancel /// /// + /// Logout of SAML. + /// + /// /// Submits a request to invalidate an access token and refresh token. /// /// Learn more about this API in the Elasticsearch documentation. @@ -2904,7 +3473,10 @@ public virtual Task SamlLogoutAsync(Action /// - /// Creates a SAML authentication request (<AuthnRequest>) as a URL string, based on the configuration of the respective SAML realm in Elasticsearch. + /// Prepare SAML authentication. + /// + /// + /// Creates a SAML authentication request (<AuthnRequest>) as a URL string, based on the configuration of the respective SAML realm in Elasticsearch. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2916,7 +3488,10 @@ public virtual Task SamlPrepareAuthentication /// /// - /// Creates a SAML authentication request (<AuthnRequest>) as a URL string, based on the configuration of the respective SAML realm in Elasticsearch. + /// Prepare SAML authentication. + /// + /// + /// Creates a SAML authentication request (<AuthnRequest>) as a URL string, based on the configuration of the respective SAML realm in Elasticsearch. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2928,7 +3503,10 @@ public virtual Task SamlPrepareAuthentication /// /// - /// Creates a SAML authentication request (<AuthnRequest>) as a URL string, based on the configuration of the respective SAML realm in Elasticsearch. + /// Prepare SAML authentication. + /// + /// + /// Creates a SAML authentication request (<AuthnRequest>) as a URL string, based on the configuration of the respective SAML realm in Elasticsearch. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2941,7 +3519,10 @@ public virtual Task SamlPrepareAuthentication /// /// - /// Creates a SAML authentication request (<AuthnRequest>) as a URL string, based on the configuration of the respective SAML realm in Elasticsearch. + /// Prepare SAML authentication. + /// + /// + /// Creates a SAML authentication request (<AuthnRequest>) as a URL string, based on the configuration of the respective SAML realm in Elasticsearch. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2955,6 +3536,9 @@ public virtual Task SamlPrepareAuthentication /// /// + /// Create SAML service provider metadata. + /// + /// /// Generate SAML metadata for a SAML 2.0 Service Provider. /// /// Learn more about this API in the Elasticsearch documentation. @@ -2967,6 +3551,9 @@ public virtual Task SamlServiceProviderMeta /// /// + /// Create SAML service provider metadata. + /// + /// /// Generate SAML metadata for a SAML 2.0 Service Provider. /// /// Learn more about this API in the Elasticsearch documentation. @@ -2979,6 +3566,9 @@ public virtual Task SamlServiceProviderMeta /// /// + /// Create SAML service provider metadata. + /// + /// /// Generate SAML metadata for a SAML 2.0 Service Provider. /// /// Learn more about this API in the Elasticsearch documentation. @@ -2992,6 +3582,9 @@ public virtual Task SamlServiceProviderMeta /// /// + /// Create SAML service provider metadata. + /// + /// /// Generate SAML metadata for a SAML 2.0 Service Provider. /// /// Learn more about this API in the Elasticsearch documentation. @@ -3006,6 +3599,9 @@ public virtual Task SamlServiceProviderMeta /// /// + /// Suggest a user profile. + /// + /// /// Get suggestions for user profiles that match specified search criteria. /// /// Learn more about this API in the Elasticsearch documentation. @@ -3018,6 +3614,9 @@ public virtual Task SuggestUserProfilesAsync(Sugges /// /// + /// Suggest a user profile. + /// + /// /// Get suggestions for user profiles that match specified search criteria. /// /// Learn more about this API in the Elasticsearch documentation. @@ -3030,6 +3629,9 @@ public virtual Task SuggestUserProfilesAsync(Sugges /// /// + /// Suggest a user profile. + /// + /// /// Get suggestions for user profiles that match specified search criteria. /// /// Learn more about this API in the Elasticsearch documentation. @@ -3043,6 +3645,9 @@ public virtual Task SuggestUserProfilesAsync(Cancel /// /// + /// Suggest a user profile. + /// + /// /// Get suggestions for user profiles that match specified search criteria. /// /// Learn more about this API in the Elasticsearch documentation. @@ -3058,6 +3663,8 @@ public virtual Task SuggestUserProfilesAsync(Action /// /// /// Update an API key. + /// + /// /// Updates attributes of an existing API key. /// Users can only update API keys that they created or that were granted to them. /// Use this API to update API keys created by the create API Key or grant API Key APIs. @@ -3083,6 +3690,8 @@ public virtual Task UpdateApiKeyAsync(UpdateApiKeyRequest /// /// /// Update an API key. + /// + /// /// Updates attributes of an existing API key. /// Users can only update API keys that they created or that were granted to them. /// Use this API to update API keys created by the create API Key or grant API Key APIs. @@ -3108,6 +3717,8 @@ public virtual Task UpdateApiKeyAsync(UpdateApi /// /// /// Update an API key. + /// + /// /// Updates attributes of an existing API key. /// Users can only update API keys that they created or that were granted to them. /// Use this API to update API keys created by the create API Key or grant API Key APIs. @@ -3134,6 +3745,8 @@ public virtual Task UpdateApiKeyAsync(Elastic.C /// /// /// Update an API key. + /// + /// /// Updates attributes of an existing API key. /// Users can only update API keys that they created or that were granted to them. /// Use this API to update API keys created by the create API Key or grant API Key APIs. @@ -3161,6 +3774,8 @@ public virtual Task UpdateApiKeyAsync(Elastic.C /// /// /// Update an API key. + /// + /// /// Updates attributes of an existing API key. /// Users can only update API keys that they created or that were granted to them. /// Use this API to update API keys created by the create API Key or grant API Key APIs. @@ -3186,6 +3801,8 @@ public virtual Task UpdateApiKeyAsync(UpdateApiKeyRequestD /// /// /// Update an API key. + /// + /// /// Updates attributes of an existing API key. /// Users can only update API keys that they created or that were granted to them. /// Use this API to update API keys created by the create API Key or grant API Key APIs. @@ -3212,6 +3829,8 @@ public virtual Task UpdateApiKeyAsync(Elastic.Clients.Elas /// /// /// Update an API key. + /// + /// /// Updates attributes of an existing API key. /// Users can only update API keys that they created or that were granted to them. /// Use this API to update API keys created by the create API Key or grant API Key APIs. @@ -3238,7 +3857,10 @@ public virtual Task UpdateApiKeyAsync(Elastic.Clients.Elas /// /// - /// Updates specific data for the user profile that's associated with the specified unique ID. + /// Update user profile data. + /// + /// + /// Update specific data for the user profile that is associated with a unique ID. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -3250,7 +3872,10 @@ public virtual Task UpdateUserProfileDataAsync(Up /// /// - /// Updates specific data for the user profile that's associated with the specified unique ID. + /// Update user profile data. + /// + /// + /// Update specific data for the user profile that is associated with a unique ID. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -3262,7 +3887,10 @@ public virtual Task UpdateUserProfileDataAsync(Up /// /// - /// Updates specific data for the user profile that's associated with the specified unique ID. + /// Update user profile data. + /// + /// + /// Update specific data for the user profile that is associated with a unique ID. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -3275,7 +3903,10 @@ public virtual Task UpdateUserProfileDataAsync(st /// /// - /// Updates specific data for the user profile that's associated with the specified unique ID. + /// Update user profile data. + /// + /// + /// Update specific data for the user profile that is associated with a unique ID. /// /// Learn more about this API in the Elasticsearch documentation. /// diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.g.cs index afed21e35c8..1e4d09e5116 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.g.cs @@ -24,6 +24,7 @@ using Elastic.Clients.Elasticsearch.Serverless.Esql; using Elastic.Clients.Elasticsearch.Serverless.Graph; using Elastic.Clients.Elasticsearch.Serverless.IndexManagement; +using Elastic.Clients.Elasticsearch.Serverless.Inference; using Elastic.Clients.Elasticsearch.Serverless.Ingest; using Elastic.Clients.Elasticsearch.Serverless.LicenseManagement; using Elastic.Clients.Elasticsearch.Serverless.MachineLearning; @@ -53,6 +54,7 @@ public partial class ElasticsearchClient public virtual EsqlNamespacedClient Esql { get; private set; } public virtual GraphNamespacedClient Graph { get; private set; } public virtual IndicesNamespacedClient Indices { get; private set; } + public virtual InferenceNamespacedClient Inference { get; private set; } public virtual IngestNamespacedClient Ingest { get; private set; } public virtual LicenseManagementNamespacedClient LicenseManagement { get; private set; } public virtual MachineLearningNamespacedClient MachineLearning { get; private set; } @@ -76,6 +78,7 @@ private partial void SetupNamespaces() Esql = new EsqlNamespacedClient(this); Graph = new GraphNamespacedClient(this); Indices = new IndicesNamespacedClient(this); + Inference = new InferenceNamespacedClient(this); Ingest = new IngestNamespacedClient(this); LicenseManagement = new LicenseManagementNamespacedClient(this); MachineLearning = new MachineLearningNamespacedClient(this); @@ -97,7 +100,7 @@ private partial void SetupNamespaces() /// Performs multiple indexing or delete operations in a single API call. /// This reduces overhead and can greatly increase indexing speed. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task BulkAsync(BulkRequest request, CancellationToken cancellationToken = default) { @@ -111,7 +114,7 @@ public virtual Task BulkAsync(BulkRequest request, CancellationTok /// Performs multiple indexing or delete operations in a single API call. /// This reduces overhead and can greatly increase indexing speed. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task BulkAsync(BulkRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -125,7 +128,7 @@ public virtual Task BulkAsync(BulkRequestDescriptor - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task BulkAsync(Elastic.Clients.Elasticsearch.Serverless.IndexName? index, CancellationToken cancellationToken = default) { @@ -140,7 +143,7 @@ public virtual Task BulkAsync(Elastic.Clients.Elasticse /// Performs multiple indexing or delete operations in a single API call. /// This reduces overhead and can greatly increase indexing speed. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task BulkAsync(Elastic.Clients.Elasticsearch.Serverless.IndexName? index, Action> configureRequest, CancellationToken cancellationToken = default) { @@ -156,7 +159,7 @@ public virtual Task BulkAsync(Elastic.Clients.Elasticse /// Performs multiple indexing or delete operations in a single API call. /// This reduces overhead and can greatly increase indexing speed. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task BulkAsync(CancellationToken cancellationToken = default) { @@ -171,7 +174,7 @@ public virtual Task BulkAsync(CancellationToken cancell /// Performs multiple indexing or delete operations in a single API call. /// This reduces overhead and can greatly increase indexing speed. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task BulkAsync(Action> configureRequest, CancellationToken cancellationToken = default) { @@ -187,7 +190,7 @@ public virtual Task BulkAsync(Action - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task BulkAsync(BulkRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -201,7 +204,7 @@ public virtual Task BulkAsync(BulkRequestDescriptor descriptor, Ca /// Performs multiple indexing or delete operations in a single API call. /// This reduces overhead and can greatly increase indexing speed. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task BulkAsync(Elastic.Clients.Elasticsearch.Serverless.IndexName? index, CancellationToken cancellationToken = default) { @@ -216,7 +219,7 @@ public virtual Task BulkAsync(Elastic.Clients.Elasticsearch.Server /// Performs multiple indexing or delete operations in a single API call. /// This reduces overhead and can greatly increase indexing speed. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task BulkAsync(Elastic.Clients.Elasticsearch.Serverless.IndexName? index, Action configureRequest, CancellationToken cancellationToken = default) { @@ -232,7 +235,7 @@ public virtual Task BulkAsync(Elastic.Clients.Elasticsearch.Server /// Performs multiple indexing or delete operations in a single API call. /// This reduces overhead and can greatly increase indexing speed. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task BulkAsync(CancellationToken cancellationToken = default) { @@ -247,7 +250,7 @@ public virtual Task BulkAsync(CancellationToken cancellationToken /// Performs multiple indexing or delete operations in a single API call. /// This reduces overhead and can greatly increase indexing speed. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task BulkAsync(Action configureRequest, CancellationToken cancellationToken = default) { @@ -259,9 +262,12 @@ public virtual Task BulkAsync(Action config /// /// - /// Clears the search context and results for a scrolling search. + /// Clear a scrolling search. /// - /// Learn more about this API in the Elasticsearch documentation. + /// + /// Clear the search context and results for a scrolling search. + /// + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ClearScrollAsync(ClearScrollRequest request, CancellationToken cancellationToken = default) { @@ -271,9 +277,12 @@ public virtual Task ClearScrollAsync(ClearScrollRequest req /// /// - /// Clears the search context and results for a scrolling search. + /// Clear a scrolling search. + /// + /// + /// Clear the search context and results for a scrolling search. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ClearScrollAsync(ClearScrollRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -283,9 +292,12 @@ public virtual Task ClearScrollAsync(ClearScrollRequestDesc /// /// - /// Clears the search context and results for a scrolling search. + /// Clear a scrolling search. + /// + /// + /// Clear the search context and results for a scrolling search. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ClearScrollAsync(CancellationToken cancellationToken = default) { @@ -296,9 +308,12 @@ public virtual Task ClearScrollAsync(CancellationToken canc /// /// - /// Clears the search context and results for a scrolling search. + /// Clear a scrolling search. /// - /// Learn more about this API in the Elasticsearch documentation. + /// + /// Clear the search context and results for a scrolling search. + /// + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ClearScrollAsync(Action configureRequest, CancellationToken cancellationToken = default) { @@ -310,9 +325,15 @@ public virtual Task ClearScrollAsync(Action /// - /// Closes a point-in-time. + /// Close a point in time. + /// + /// + /// A point in time must be opened explicitly before being used in search requests. + /// The keep_alive parameter tells Elasticsearch how long it should persist. + /// A point in time is automatically closed when the keep_alive period has elapsed. + /// However, keeping points in time has a cost; close them as soon as they are no longer required for search requests. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ClosePointInTimeAsync(ClosePointInTimeRequest request, CancellationToken cancellationToken = default) { @@ -322,9 +343,15 @@ public virtual Task ClosePointInTimeAsync(ClosePointIn /// /// - /// Closes a point-in-time. + /// Close a point in time. + /// + /// + /// A point in time must be opened explicitly before being used in search requests. + /// The keep_alive parameter tells Elasticsearch how long it should persist. + /// A point in time is automatically closed when the keep_alive period has elapsed. + /// However, keeping points in time has a cost; close them as soon as they are no longer required for search requests. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ClosePointInTimeAsync(ClosePointInTimeRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -334,9 +361,15 @@ public virtual Task ClosePointInTimeAsync(ClosePointIn /// /// - /// Closes a point-in-time. + /// Close a point in time. /// - /// Learn more about this API in the Elasticsearch documentation. + /// + /// A point in time must be opened explicitly before being used in search requests. + /// The keep_alive parameter tells Elasticsearch how long it should persist. + /// A point in time is automatically closed when the keep_alive period has elapsed. + /// However, keeping points in time has a cost; close them as soon as they are no longer required for search requests. + /// + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ClosePointInTimeAsync(CancellationToken cancellationToken = default) { @@ -347,9 +380,15 @@ public virtual Task ClosePointInTimeAsync(Cancellation /// /// - /// Closes a point-in-time. + /// Close a point in time. + /// + /// + /// A point in time must be opened explicitly before being used in search requests. + /// The keep_alive parameter tells Elasticsearch how long it should persist. + /// A point in time is automatically closed when the keep_alive period has elapsed. + /// However, keeping points in time has a cost; close them as soon as they are no longer required for search requests. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ClosePointInTimeAsync(Action configureRequest, CancellationToken cancellationToken = default) { @@ -996,7 +1035,11 @@ public virtual Task DeleteByQueryAsync(Elastic.Clients.El /// /// - /// Changes the number of requests per second for a particular Delete By Query operation. + /// Throttle a delete by query operation. + /// + /// + /// Change the number of requests per second for a particular delete by query operation. + /// Rethrottling that speeds up the query takes effect immediately but rethrotting that slows down the query takes effect after completing the current batch to prevent scroll timeouts. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -1008,7 +1051,11 @@ public virtual Task DeleteByQueryRethrottleAsyn /// /// - /// Changes the number of requests per second for a particular Delete By Query operation. + /// Throttle a delete by query operation. + /// + /// + /// Change the number of requests per second for a particular delete by query operation. + /// Rethrottling that speeds up the query takes effect immediately but rethrotting that slows down the query takes effect after completing the current batch to prevent scroll timeouts. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -1020,7 +1067,11 @@ public virtual Task DeleteByQueryRethrottleAsyn /// /// - /// Changes the number of requests per second for a particular Delete By Query operation. + /// Throttle a delete by query operation. + /// + /// + /// Change the number of requests per second for a particular delete by query operation. + /// Rethrottling that speeds up the query takes effect immediately but rethrotting that slows down the query takes effect after completing the current batch to prevent scroll timeouts. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -1033,7 +1084,11 @@ public virtual Task DeleteByQueryRethrottleAsyn /// /// - /// Changes the number of requests per second for a particular Delete By Query operation. + /// Throttle a delete by query operation. + /// + /// + /// Change the number of requests per second for a particular delete by query operation. + /// Rethrottling that speeds up the query takes effect immediately but rethrotting that slows down the query takes effect after completing the current batch to prevent scroll timeouts. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -1741,9 +1796,15 @@ public virtual Task> ExplainAsync(Elastic. /// /// - /// The field capabilities API returns the information about the capabilities of fields among multiple indices. - /// The field capabilities API returns runtime fields like any other field. For example, a runtime field with a type - /// of keyword is returned as any other field that belongs to the keyword family. + /// Get the field capabilities. + /// + /// + /// Get information about the capabilities of fields among multiple indices. + /// + /// + /// For data streams, the API returns field capabilities among the stream’s backing indices. + /// It returns runtime fields like any other field. + /// For example, a runtime field with a type of keyword is returned the same as any other field that belongs to the keyword family. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -1755,9 +1816,15 @@ public virtual Task FieldCapsAsync(FieldCapsRequest request, /// /// - /// The field capabilities API returns the information about the capabilities of fields among multiple indices. - /// The field capabilities API returns runtime fields like any other field. For example, a runtime field with a type - /// of keyword is returned as any other field that belongs to the keyword family. + /// Get the field capabilities. + /// + /// + /// Get information about the capabilities of fields among multiple indices. + /// + /// + /// For data streams, the API returns field capabilities among the stream’s backing indices. + /// It returns runtime fields like any other field. + /// For example, a runtime field with a type of keyword is returned the same as any other field that belongs to the keyword family. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -1769,9 +1836,15 @@ public virtual Task FieldCapsAsync(FieldCapsReques /// /// - /// The field capabilities API returns the information about the capabilities of fields among multiple indices. - /// The field capabilities API returns runtime fields like any other field. For example, a runtime field with a type - /// of keyword is returned as any other field that belongs to the keyword family. + /// Get the field capabilities. + /// + /// + /// Get information about the capabilities of fields among multiple indices. + /// + /// + /// For data streams, the API returns field capabilities among the stream’s backing indices. + /// It returns runtime fields like any other field. + /// For example, a runtime field with a type of keyword is returned the same as any other field that belongs to the keyword family. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -1784,9 +1857,15 @@ public virtual Task FieldCapsAsync(Elastic.Clients /// /// - /// The field capabilities API returns the information about the capabilities of fields among multiple indices. - /// The field capabilities API returns runtime fields like any other field. For example, a runtime field with a type - /// of keyword is returned as any other field that belongs to the keyword family. + /// Get the field capabilities. + /// + /// + /// Get information about the capabilities of fields among multiple indices. + /// + /// + /// For data streams, the API returns field capabilities among the stream’s backing indices. + /// It returns runtime fields like any other field. + /// For example, a runtime field with a type of keyword is returned the same as any other field that belongs to the keyword family. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -1800,9 +1879,15 @@ public virtual Task FieldCapsAsync(Elastic.Clients /// /// - /// The field capabilities API returns the information about the capabilities of fields among multiple indices. - /// The field capabilities API returns runtime fields like any other field. For example, a runtime field with a type - /// of keyword is returned as any other field that belongs to the keyword family. + /// Get the field capabilities. + /// + /// + /// Get information about the capabilities of fields among multiple indices. + /// + /// + /// For data streams, the API returns field capabilities among the stream’s backing indices. + /// It returns runtime fields like any other field. + /// For example, a runtime field with a type of keyword is returned the same as any other field that belongs to the keyword family. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -1815,9 +1900,15 @@ public virtual Task FieldCapsAsync(CancellationTok /// /// - /// The field capabilities API returns the information about the capabilities of fields among multiple indices. - /// The field capabilities API returns runtime fields like any other field. For example, a runtime field with a type - /// of keyword is returned as any other field that belongs to the keyword family. + /// Get the field capabilities. + /// + /// + /// Get information about the capabilities of fields among multiple indices. + /// + /// + /// For data streams, the API returns field capabilities among the stream’s backing indices. + /// It returns runtime fields like any other field. + /// For example, a runtime field with a type of keyword is returned the same as any other field that belongs to the keyword family. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -1831,9 +1922,15 @@ public virtual Task FieldCapsAsync(Action /// - /// The field capabilities API returns the information about the capabilities of fields among multiple indices. - /// The field capabilities API returns runtime fields like any other field. For example, a runtime field with a type - /// of keyword is returned as any other field that belongs to the keyword family. + /// Get the field capabilities. + /// + /// + /// Get information about the capabilities of fields among multiple indices. + /// + /// + /// For data streams, the API returns field capabilities among the stream’s backing indices. + /// It returns runtime fields like any other field. + /// For example, a runtime field with a type of keyword is returned the same as any other field that belongs to the keyword family. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -1845,9 +1942,15 @@ public virtual Task FieldCapsAsync(FieldCapsRequestDescriptor /// /// - /// The field capabilities API returns the information about the capabilities of fields among multiple indices. - /// The field capabilities API returns runtime fields like any other field. For example, a runtime field with a type - /// of keyword is returned as any other field that belongs to the keyword family. + /// Get the field capabilities. + /// + /// + /// Get information about the capabilities of fields among multiple indices. + /// + /// + /// For data streams, the API returns field capabilities among the stream’s backing indices. + /// It returns runtime fields like any other field. + /// For example, a runtime field with a type of keyword is returned the same as any other field that belongs to the keyword family. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -1860,9 +1963,15 @@ public virtual Task FieldCapsAsync(Elastic.Clients.Elasticsea /// /// - /// The field capabilities API returns the information about the capabilities of fields among multiple indices. - /// The field capabilities API returns runtime fields like any other field. For example, a runtime field with a type - /// of keyword is returned as any other field that belongs to the keyword family. + /// Get the field capabilities. + /// + /// + /// Get information about the capabilities of fields among multiple indices. + /// + /// + /// For data streams, the API returns field capabilities among the stream’s backing indices. + /// It returns runtime fields like any other field. + /// For example, a runtime field with a type of keyword is returned the same as any other field that belongs to the keyword family. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -1876,9 +1985,15 @@ public virtual Task FieldCapsAsync(Elastic.Clients.Elasticsea /// /// - /// The field capabilities API returns the information about the capabilities of fields among multiple indices. - /// The field capabilities API returns runtime fields like any other field. For example, a runtime field with a type - /// of keyword is returned as any other field that belongs to the keyword family. + /// Get the field capabilities. + /// + /// + /// Get information about the capabilities of fields among multiple indices. + /// + /// + /// For data streams, the API returns field capabilities among the stream’s backing indices. + /// It returns runtime fields like any other field. + /// For example, a runtime field with a type of keyword is returned the same as any other field that belongs to the keyword family. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -1891,9 +2006,15 @@ public virtual Task FieldCapsAsync(CancellationToken cancella /// /// - /// The field capabilities API returns the information about the capabilities of fields among multiple indices. - /// The field capabilities API returns runtime fields like any other field. For example, a runtime field with a type - /// of keyword is returned as any other field that belongs to the keyword family. + /// Get the field capabilities. + /// + /// + /// Get information about the capabilities of fields among multiple indices. + /// + /// + /// For data streams, the API returns field capabilities among the stream’s backing indices. + /// It returns runtime fields like any other field. + /// For example, a runtime field with a type of keyword is returned the same as any other field that belongs to the keyword family. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2631,7 +2752,13 @@ public virtual Task InfoAsync(Action config /// /// - /// Returns multiple termvectors in one request. + /// Get multiple term vectors. + /// + /// + /// You can specify existing documents by index and ID or provide artificial documents in the body of the request. + /// You can specify the index in the request body or request URI. + /// The response contains a docs array with all the fetched termvectors. + /// Each element has the structure provided by the termvectors API. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2643,7 +2770,13 @@ public virtual Task MtermvectorsAsync(MultiTermVectors /// /// - /// Returns multiple termvectors in one request. + /// Get multiple term vectors. + /// + /// + /// You can specify existing documents by index and ID or provide artificial documents in the body of the request. + /// You can specify the index in the request body or request URI. + /// The response contains a docs array with all the fetched termvectors. + /// Each element has the structure provided by the termvectors API. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2655,7 +2788,13 @@ public virtual Task MtermvectorsAsync(Multi /// /// - /// Returns multiple termvectors in one request. + /// Get multiple term vectors. + /// + /// + /// You can specify existing documents by index and ID or provide artificial documents in the body of the request. + /// You can specify the index in the request body or request URI. + /// The response contains a docs array with all the fetched termvectors. + /// Each element has the structure provided by the termvectors API. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2668,7 +2807,13 @@ public virtual Task MtermvectorsAsync(Elast /// /// - /// Returns multiple termvectors in one request. + /// Get multiple term vectors. + /// + /// + /// You can specify existing documents by index and ID or provide artificial documents in the body of the request. + /// You can specify the index in the request body or request URI. + /// The response contains a docs array with all the fetched termvectors. + /// Each element has the structure provided by the termvectors API. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2682,7 +2827,13 @@ public virtual Task MtermvectorsAsync(Elast /// /// - /// Returns multiple termvectors in one request. + /// Get multiple term vectors. + /// + /// + /// You can specify existing documents by index and ID or provide artificial documents in the body of the request. + /// You can specify the index in the request body or request URI. + /// The response contains a docs array with all the fetched termvectors. + /// Each element has the structure provided by the termvectors API. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2695,7 +2846,13 @@ public virtual Task MtermvectorsAsync(Cance /// /// - /// Returns multiple termvectors in one request. + /// Get multiple term vectors. + /// + /// + /// You can specify existing documents by index and ID or provide artificial documents in the body of the request. + /// You can specify the index in the request body or request URI. + /// The response contains a docs array with all the fetched termvectors. + /// Each element has the structure provided by the termvectors API. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2709,7 +2866,13 @@ public virtual Task MtermvectorsAsync(Actio /// /// - /// Returns multiple termvectors in one request. + /// Get multiple term vectors. + /// + /// + /// You can specify existing documents by index and ID or provide artificial documents in the body of the request. + /// You can specify the index in the request body or request URI. + /// The response contains a docs array with all the fetched termvectors. + /// Each element has the structure provided by the termvectors API. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2721,7 +2884,13 @@ public virtual Task MtermvectorsAsync(MultiTermVectors /// /// - /// Returns multiple termvectors in one request. + /// Get multiple term vectors. + /// + /// + /// You can specify existing documents by index and ID or provide artificial documents in the body of the request. + /// You can specify the index in the request body or request URI. + /// The response contains a docs array with all the fetched termvectors. + /// Each element has the structure provided by the termvectors API. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2734,7 +2903,13 @@ public virtual Task MtermvectorsAsync(Elastic.Clients. /// /// - /// Returns multiple termvectors in one request. + /// Get multiple term vectors. + /// + /// + /// You can specify existing documents by index and ID or provide artificial documents in the body of the request. + /// You can specify the index in the request body or request URI. + /// The response contains a docs array with all the fetched termvectors. + /// Each element has the structure provided by the termvectors API. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2748,7 +2923,13 @@ public virtual Task MtermvectorsAsync(Elastic.Clients. /// /// - /// Returns multiple termvectors in one request. + /// Get multiple term vectors. + /// + /// + /// You can specify existing documents by index and ID or provide artificial documents in the body of the request. + /// You can specify the index in the request body or request URI. + /// The response contains a docs array with all the fetched termvectors. + /// Each element has the structure provided by the termvectors API. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2761,7 +2942,13 @@ public virtual Task MtermvectorsAsync(CancellationToke /// /// - /// Returns multiple termvectors in one request. + /// Get multiple term vectors. + /// + /// + /// You can specify existing documents by index and ID or provide artificial documents in the body of the request. + /// You can specify the index in the request body or request URI. + /// The response contains a docs array with all the fetched termvectors. + /// Each element has the structure provided by the termvectors API. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2775,7 +2962,12 @@ public virtual Task MtermvectorsAsync(Action /// - /// Allows to get multiple documents in one request. + /// Get multiple documents. + /// + /// + /// Get multiple JSON documents by ID from one or more indices. + /// If you specify an index in the request URI, you only need to specify the document IDs in the request body. + /// To ensure fast responses, this multi get (mget) API responds with partial results if one or more shards fail. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2787,7 +2979,12 @@ public virtual Task> MultiGetAsync(MultiG /// /// - /// Allows to get multiple documents in one request. + /// Get multiple documents. + /// + /// + /// Get multiple JSON documents by ID from one or more indices. + /// If you specify an index in the request URI, you only need to specify the document IDs in the request body. + /// To ensure fast responses, this multi get (mget) API responds with partial results if one or more shards fail. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2799,7 +2996,12 @@ public virtual Task> MultiGetAsync(MultiG /// /// - /// Allows to get multiple documents in one request. + /// Get multiple documents. + /// + /// + /// Get multiple JSON documents by ID from one or more indices. + /// If you specify an index in the request URI, you only need to specify the document IDs in the request body. + /// To ensure fast responses, this multi get (mget) API responds with partial results if one or more shards fail. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2812,7 +3014,12 @@ public virtual Task> MultiGetAsync(Elasti /// /// - /// Allows to get multiple documents in one request. + /// Get multiple documents. + /// + /// + /// Get multiple JSON documents by ID from one or more indices. + /// If you specify an index in the request URI, you only need to specify the document IDs in the request body. + /// To ensure fast responses, this multi get (mget) API responds with partial results if one or more shards fail. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2826,7 +3033,12 @@ public virtual Task> MultiGetAsync(Elasti /// /// - /// Allows to get multiple documents in one request. + /// Get multiple documents. + /// + /// + /// Get multiple JSON documents by ID from one or more indices. + /// If you specify an index in the request URI, you only need to specify the document IDs in the request body. + /// To ensure fast responses, this multi get (mget) API responds with partial results if one or more shards fail. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2839,7 +3051,12 @@ public virtual Task> MultiGetAsync(Cancel /// /// - /// Allows to get multiple documents in one request. + /// Get multiple documents. + /// + /// + /// Get multiple JSON documents by ID from one or more indices. + /// If you specify an index in the request URI, you only need to specify the document IDs in the request body. + /// To ensure fast responses, this multi get (mget) API responds with partial results if one or more shards fail. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2853,7 +3070,25 @@ public virtual Task> MultiGetAsync(Action /// /// - /// Allows to execute several search operations in one request. + /// Run multiple searches. + /// + /// + /// The format of the request is similar to the bulk API format and makes use of the newline delimited JSON (NDJSON) format. + /// The structure is as follows: + /// + /// + /// header\n + /// body\n + /// header\n + /// body\n + /// + /// + /// This structure is specifically optimized to reduce parsing if a specific search ends up redirected to another node. + /// + /// + /// IMPORTANT: The final line of data must end with a newline character \n. + /// Each newline character may be preceded by a carriage return \r. + /// When sending requests to this endpoint the Content-Type header should be set to application/x-ndjson. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2865,7 +3100,25 @@ public virtual Task> MultiSearchAsync( /// /// - /// Allows to execute several search operations in one request. + /// Run multiple searches. + /// + /// + /// The format of the request is similar to the bulk API format and makes use of the newline delimited JSON (NDJSON) format. + /// The structure is as follows: + /// + /// + /// header\n + /// body\n + /// header\n + /// body\n + /// + /// + /// This structure is specifically optimized to reduce parsing if a specific search ends up redirected to another node. + /// + /// + /// IMPORTANT: The final line of data must end with a newline character \n. + /// Each newline character may be preceded by a carriage return \r. + /// When sending requests to this endpoint the Content-Type header should be set to application/x-ndjson. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2877,7 +3130,25 @@ public virtual Task> MultiSearchAsync( /// /// - /// Allows to execute several search operations in one request. + /// Run multiple searches. + /// + /// + /// The format of the request is similar to the bulk API format and makes use of the newline delimited JSON (NDJSON) format. + /// The structure is as follows: + /// + /// + /// header\n + /// body\n + /// header\n + /// body\n + /// + /// + /// This structure is specifically optimized to reduce parsing if a specific search ends up redirected to another node. + /// + /// + /// IMPORTANT: The final line of data must end with a newline character \n. + /// Each newline character may be preceded by a carriage return \r. + /// When sending requests to this endpoint the Content-Type header should be set to application/x-ndjson. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2890,7 +3161,25 @@ public virtual Task> MultiSearchAsync( /// /// - /// Allows to execute several search operations in one request. + /// Run multiple searches. + /// + /// + /// The format of the request is similar to the bulk API format and makes use of the newline delimited JSON (NDJSON) format. + /// The structure is as follows: + /// + /// + /// header\n + /// body\n + /// header\n + /// body\n + /// + /// + /// This structure is specifically optimized to reduce parsing if a specific search ends up redirected to another node. + /// + /// + /// IMPORTANT: The final line of data must end with a newline character \n. + /// Each newline character may be preceded by a carriage return \r. + /// When sending requests to this endpoint the Content-Type header should be set to application/x-ndjson. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2904,7 +3193,25 @@ public virtual Task> MultiSearchAsync( /// /// - /// Allows to execute several search operations in one request. + /// Run multiple searches. + /// + /// + /// The format of the request is similar to the bulk API format and makes use of the newline delimited JSON (NDJSON) format. + /// The structure is as follows: + /// + /// + /// header\n + /// body\n + /// header\n + /// body\n + /// + /// + /// This structure is specifically optimized to reduce parsing if a specific search ends up redirected to another node. + /// + /// + /// IMPORTANT: The final line of data must end with a newline character \n. + /// Each newline character may be preceded by a carriage return \r. + /// When sending requests to this endpoint the Content-Type header should be set to application/x-ndjson. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2917,7 +3224,25 @@ public virtual Task> MultiSearchAsync( /// /// - /// Allows to execute several search operations in one request. + /// Run multiple searches. + /// + /// + /// The format of the request is similar to the bulk API format and makes use of the newline delimited JSON (NDJSON) format. + /// The structure is as follows: + /// + /// + /// header\n + /// body\n + /// header\n + /// body\n + /// + /// + /// This structure is specifically optimized to reduce parsing if a specific search ends up redirected to another node. + /// + /// + /// IMPORTANT: The final line of data must end with a newline character \n. + /// Each newline character may be preceded by a carriage return \r. + /// When sending requests to this endpoint the Content-Type header should be set to application/x-ndjson. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2931,7 +3256,7 @@ public virtual Task> MultiSearchAsync( /// /// - /// Runs multiple templated searches with a single request. + /// Run multiple templated searches. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2943,7 +3268,7 @@ public virtual Task> MultiSearchTemplateA /// /// - /// Runs multiple templated searches with a single request. + /// Run multiple templated searches. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2955,7 +3280,7 @@ public virtual Task> MultiSearchTemplateA /// /// - /// Runs multiple templated searches with a single request. + /// Run multiple templated searches. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2968,7 +3293,7 @@ public virtual Task> MultiSearchTemplateA /// /// - /// Runs multiple templated searches with a single request. + /// Run multiple templated searches. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2982,7 +3307,7 @@ public virtual Task> MultiSearchTemplateA /// /// - /// Runs multiple templated searches with a single request. + /// Run multiple templated searches. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2995,7 +3320,7 @@ public virtual Task> MultiSearchTemplateA /// /// - /// Runs multiple templated searches with a single request. + /// Run multiple templated searches. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -3009,14 +3334,21 @@ public virtual Task> MultiSearchTemplateA /// /// - /// A search request by default executes against the most recent visible data of the target indices, + /// Open a point in time. + /// + /// + /// A search request by default runs against the most recent visible data of the target indices, /// which is called point in time. Elasticsearch pit (point in time) is a lightweight view into the /// state of the data as it existed when initiated. In some cases, it’s preferred to perform multiple /// search requests using the same point in time. For example, if refreshes happen between /// search_after requests, then the results of those requests might not be consistent as changes happening /// between searches are only visible to the more recent point in time. /// - /// Learn more about this API in the Elasticsearch documentation. + /// + /// A point in time must be opened explicitly before being used in search requests. + /// The keep_alive parameter tells Elasticsearch how long it should persist. + /// + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task OpenPointInTimeAsync(OpenPointInTimeRequest request, CancellationToken cancellationToken = default) { @@ -3026,14 +3358,21 @@ public virtual Task OpenPointInTimeAsync(OpenPointInTim /// /// - /// A search request by default executes against the most recent visible data of the target indices, + /// Open a point in time. + /// + /// + /// A search request by default runs against the most recent visible data of the target indices, /// which is called point in time. Elasticsearch pit (point in time) is a lightweight view into the /// state of the data as it existed when initiated. In some cases, it’s preferred to perform multiple /// search requests using the same point in time. For example, if refreshes happen between /// search_after requests, then the results of those requests might not be consistent as changes happening /// between searches are only visible to the more recent point in time. /// - /// Learn more about this API in the Elasticsearch documentation. + /// + /// A point in time must be opened explicitly before being used in search requests. + /// The keep_alive parameter tells Elasticsearch how long it should persist. + /// + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task OpenPointInTimeAsync(OpenPointInTimeRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -3043,14 +3382,21 @@ public virtual Task OpenPointInTimeAsync(Ope /// /// - /// A search request by default executes against the most recent visible data of the target indices, + /// Open a point in time. + /// + /// + /// A search request by default runs against the most recent visible data of the target indices, /// which is called point in time. Elasticsearch pit (point in time) is a lightweight view into the /// state of the data as it existed when initiated. In some cases, it’s preferred to perform multiple /// search requests using the same point in time. For example, if refreshes happen between /// search_after requests, then the results of those requests might not be consistent as changes happening /// between searches are only visible to the more recent point in time. /// - /// Learn more about this API in the Elasticsearch documentation. + /// + /// A point in time must be opened explicitly before being used in search requests. + /// The keep_alive parameter tells Elasticsearch how long it should persist. + /// + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task OpenPointInTimeAsync(Elastic.Clients.Elasticsearch.Serverless.Indices indices, CancellationToken cancellationToken = default) { @@ -3061,14 +3407,21 @@ public virtual Task OpenPointInTimeAsync(Ela /// /// - /// A search request by default executes against the most recent visible data of the target indices, + /// Open a point in time. + /// + /// + /// A search request by default runs against the most recent visible data of the target indices, /// which is called point in time. Elasticsearch pit (point in time) is a lightweight view into the /// state of the data as it existed when initiated. In some cases, it’s preferred to perform multiple /// search requests using the same point in time. For example, if refreshes happen between /// search_after requests, then the results of those requests might not be consistent as changes happening /// between searches are only visible to the more recent point in time. /// - /// Learn more about this API in the Elasticsearch documentation. + /// + /// A point in time must be opened explicitly before being used in search requests. + /// The keep_alive parameter tells Elasticsearch how long it should persist. + /// + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task OpenPointInTimeAsync(Elastic.Clients.Elasticsearch.Serverless.Indices indices, Action> configureRequest, CancellationToken cancellationToken = default) { @@ -3080,14 +3433,21 @@ public virtual Task OpenPointInTimeAsync(Ela /// /// - /// A search request by default executes against the most recent visible data of the target indices, + /// Open a point in time. + /// + /// + /// A search request by default runs against the most recent visible data of the target indices, /// which is called point in time. Elasticsearch pit (point in time) is a lightweight view into the /// state of the data as it existed when initiated. In some cases, it’s preferred to perform multiple /// search requests using the same point in time. For example, if refreshes happen between /// search_after requests, then the results of those requests might not be consistent as changes happening /// between searches are only visible to the more recent point in time. /// - /// Learn more about this API in the Elasticsearch documentation. + /// + /// A point in time must be opened explicitly before being used in search requests. + /// The keep_alive parameter tells Elasticsearch how long it should persist. + /// + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task OpenPointInTimeAsync(CancellationToken cancellationToken = default) { @@ -3098,14 +3458,21 @@ public virtual Task OpenPointInTimeAsync(Can /// /// - /// A search request by default executes against the most recent visible data of the target indices, + /// Open a point in time. + /// + /// + /// A search request by default runs against the most recent visible data of the target indices, /// which is called point in time. Elasticsearch pit (point in time) is a lightweight view into the /// state of the data as it existed when initiated. In some cases, it’s preferred to perform multiple /// search requests using the same point in time. For example, if refreshes happen between /// search_after requests, then the results of those requests might not be consistent as changes happening /// between searches are only visible to the more recent point in time. /// - /// Learn more about this API in the Elasticsearch documentation. + /// + /// A point in time must be opened explicitly before being used in search requests. + /// The keep_alive parameter tells Elasticsearch how long it should persist. + /// + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task OpenPointInTimeAsync(Action> configureRequest, CancellationToken cancellationToken = default) { @@ -3117,14 +3484,21 @@ public virtual Task OpenPointInTimeAsync(Act /// /// - /// A search request by default executes against the most recent visible data of the target indices, + /// Open a point in time. + /// + /// + /// A search request by default runs against the most recent visible data of the target indices, /// which is called point in time. Elasticsearch pit (point in time) is a lightweight view into the /// state of the data as it existed when initiated. In some cases, it’s preferred to perform multiple /// search requests using the same point in time. For example, if refreshes happen between /// search_after requests, then the results of those requests might not be consistent as changes happening /// between searches are only visible to the more recent point in time. /// - /// Learn more about this API in the Elasticsearch documentation. + /// + /// A point in time must be opened explicitly before being used in search requests. + /// The keep_alive parameter tells Elasticsearch how long it should persist. + /// + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task OpenPointInTimeAsync(OpenPointInTimeRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -3134,14 +3508,21 @@ public virtual Task OpenPointInTimeAsync(OpenPointInTim /// /// - /// A search request by default executes against the most recent visible data of the target indices, + /// Open a point in time. + /// + /// + /// A search request by default runs against the most recent visible data of the target indices, /// which is called point in time. Elasticsearch pit (point in time) is a lightweight view into the /// state of the data as it existed when initiated. In some cases, it’s preferred to perform multiple /// search requests using the same point in time. For example, if refreshes happen between /// search_after requests, then the results of those requests might not be consistent as changes happening /// between searches are only visible to the more recent point in time. /// - /// Learn more about this API in the Elasticsearch documentation. + /// + /// A point in time must be opened explicitly before being used in search requests. + /// The keep_alive parameter tells Elasticsearch how long it should persist. + /// + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task OpenPointInTimeAsync(Elastic.Clients.Elasticsearch.Serverless.Indices indices, CancellationToken cancellationToken = default) { @@ -3152,14 +3533,21 @@ public virtual Task OpenPointInTimeAsync(Elastic.Client /// /// - /// A search request by default executes against the most recent visible data of the target indices, + /// Open a point in time. + /// + /// + /// A search request by default runs against the most recent visible data of the target indices, /// which is called point in time. Elasticsearch pit (point in time) is a lightweight view into the /// state of the data as it existed when initiated. In some cases, it’s preferred to perform multiple /// search requests using the same point in time. For example, if refreshes happen between /// search_after requests, then the results of those requests might not be consistent as changes happening /// between searches are only visible to the more recent point in time. /// - /// Learn more about this API in the Elasticsearch documentation. + /// + /// A point in time must be opened explicitly before being used in search requests. + /// The keep_alive parameter tells Elasticsearch how long it should persist. + /// + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task OpenPointInTimeAsync(Elastic.Clients.Elasticsearch.Serverless.Indices indices, Action configureRequest, CancellationToken cancellationToken = default) { @@ -3381,7 +3769,10 @@ public virtual Task PutScriptAsync(Elastic.Clients.Elasticsea /// /// - /// Enables you to evaluate the quality of ranked search results over a set of typical search queries. + /// Evaluate ranked search results. + /// + /// + /// Evaluate the quality of ranked search results over a set of typical search queries. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -3393,7 +3784,10 @@ public virtual Task RankEvalAsync(RankEvalRequest request, Can /// /// - /// Enables you to evaluate the quality of ranked search results over a set of typical search queries. + /// Evaluate ranked search results. + /// + /// + /// Evaluate the quality of ranked search results over a set of typical search queries. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -3405,7 +3799,10 @@ public virtual Task RankEvalAsync(RankEvalRequestDe /// /// - /// Enables you to evaluate the quality of ranked search results over a set of typical search queries. + /// Evaluate ranked search results. + /// + /// + /// Evaluate the quality of ranked search results over a set of typical search queries. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -3418,7 +3815,10 @@ public virtual Task RankEvalAsync(Elastic.Clients.E /// /// - /// Enables you to evaluate the quality of ranked search results over a set of typical search queries. + /// Evaluate ranked search results. + /// + /// + /// Evaluate the quality of ranked search results over a set of typical search queries. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -3432,7 +3832,10 @@ public virtual Task RankEvalAsync(Elastic.Clients.E /// /// - /// Enables you to evaluate the quality of ranked search results over a set of typical search queries. + /// Evaluate ranked search results. + /// + /// + /// Evaluate the quality of ranked search results over a set of typical search queries. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -3445,7 +3848,10 @@ public virtual Task RankEvalAsync(CancellationToken /// /// - /// Enables you to evaluate the quality of ranked search results over a set of typical search queries. + /// Evaluate ranked search results. + /// + /// + /// Evaluate the quality of ranked search results over a set of typical search queries. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -3459,7 +3865,10 @@ public virtual Task RankEvalAsync(Action /// - /// Enables you to evaluate the quality of ranked search results over a set of typical search queries. + /// Evaluate ranked search results. + /// + /// + /// Evaluate the quality of ranked search results over a set of typical search queries. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -3471,7 +3880,10 @@ public virtual Task RankEvalAsync(RankEvalRequestDescriptor de /// /// - /// Enables you to evaluate the quality of ranked search results over a set of typical search queries. + /// Evaluate ranked search results. + /// + /// + /// Evaluate the quality of ranked search results over a set of typical search queries. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -3484,7 +3896,10 @@ public virtual Task RankEvalAsync(Elastic.Clients.Elasticsearc /// /// - /// Enables you to evaluate the quality of ranked search results over a set of typical search queries. + /// Evaluate ranked search results. + /// + /// + /// Evaluate the quality of ranked search results over a set of typical search queries. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -3498,7 +3913,10 @@ public virtual Task RankEvalAsync(Elastic.Clients.Elasticsearc /// /// - /// Enables you to evaluate the quality of ranked search results over a set of typical search queries. + /// Evaluate ranked search results. + /// + /// + /// Evaluate the quality of ranked search results over a set of typical search queries. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -3511,7 +3929,10 @@ public virtual Task RankEvalAsync(CancellationToken cancellati /// /// - /// Enables you to evaluate the quality of ranked search results over a set of typical search queries. + /// Evaluate ranked search results. + /// + /// + /// Evaluate the quality of ranked search results over a set of typical search queries. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -3622,7 +4043,10 @@ public virtual Task ReindexAsync(Action /// - /// Copies documents from a source to a destination. + /// Throttle a reindex operation. + /// + /// + /// Change the number of requests per second for a particular reindex operation. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -3634,7 +4058,10 @@ public virtual Task ReindexRethrottleAsync(ReindexRet /// /// - /// Copies documents from a source to a destination. + /// Throttle a reindex operation. + /// + /// + /// Change the number of requests per second for a particular reindex operation. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -3646,7 +4073,10 @@ public virtual Task ReindexRethrottleAsync(ReindexRet /// /// - /// Copies documents from a source to a destination. + /// Throttle a reindex operation. + /// + /// + /// Change the number of requests per second for a particular reindex operation. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -3659,7 +4089,10 @@ public virtual Task ReindexRethrottleAsync(Elastic.Cl /// /// - /// Copies documents from a source to a destination. + /// Throttle a reindex operation. + /// + /// + /// Change the number of requests per second for a particular reindex operation. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -3673,7 +4106,10 @@ public virtual Task ReindexRethrottleAsync(Elastic.Cl /// /// - /// Renders a search template as a search request body. + /// Render a search template. + /// + /// + /// Render a search template as a search request body. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -3685,7 +4121,10 @@ public virtual Task RenderSearchTemplateAsync(Rend /// /// - /// Renders a search template as a search request body. + /// Render a search template. + /// + /// + /// Render a search template as a search request body. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -3697,7 +4136,10 @@ public virtual Task RenderSearchTemplateAsync /// - /// Renders a search template as a search request body. + /// Render a search template. + /// + /// + /// Render a search template as a search request body. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -3710,7 +4152,10 @@ public virtual Task RenderSearchTemplateAsync /// - /// Renders a search template as a search request body. + /// Render a search template. + /// + /// + /// Render a search template as a search request body. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -3724,7 +4169,10 @@ public virtual Task RenderSearchTemplateAsync /// - /// Renders a search template as a search request body. + /// Render a search template. + /// + /// + /// Render a search template as a search request body. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -3737,7 +4185,10 @@ public virtual Task RenderSearchTemplateAsync /// - /// Renders a search template as a search request body. + /// Render a search template. + /// + /// + /// Render a search template as a search request body. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -3751,7 +4202,10 @@ public virtual Task RenderSearchTemplateAsync /// - /// Renders a search template as a search request body. + /// Render a search template. + /// + /// + /// Render a search template as a search request body. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -3763,7 +4217,10 @@ public virtual Task RenderSearchTemplateAsync(Rend /// /// - /// Renders a search template as a search request body. + /// Render a search template. + /// + /// + /// Render a search template as a search request body. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -3776,7 +4233,10 @@ public virtual Task RenderSearchTemplateAsync(Elas /// /// - /// Renders a search template as a search request body. + /// Render a search template. + /// + /// + /// Render a search template as a search request body. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -3790,7 +4250,10 @@ public virtual Task RenderSearchTemplateAsync(Elas /// /// - /// Renders a search template as a search request body. + /// Render a search template. + /// + /// + /// Render a search template as a search request body. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -3803,7 +4266,10 @@ public virtual Task RenderSearchTemplateAsync(Canc /// /// - /// Renders a search template as a search request body. + /// Render a search template. + /// + /// + /// Render a search template as a search request body. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -3817,7 +4283,24 @@ public virtual Task RenderSearchTemplateAsync(Acti /// /// - /// Allows to retrieve a large numbers of results from a single search request. + /// Run a scrolling search. + /// + /// + /// IMPORTANT: The scroll API is no longer recommend for deep pagination. If you need to preserve the index state while paging through more than 10,000 hits, use the search_after parameter with a point in time (PIT). + /// + /// + /// The scroll API gets large sets of results from a single scrolling search request. + /// To get the necessary scroll ID, submit a search API request that includes an argument for the scroll query parameter. + /// The scroll parameter indicates how long Elasticsearch should retain the search context for the request. + /// The search response returns a scroll ID in the _scroll_id response body parameter. + /// You can then use the scroll ID with the scroll API to retrieve the next batch of results for the request. + /// If the Elasticsearch security features are enabled, the access to the results of a specific scroll ID is restricted to the user or API key that submitted the search. + /// + /// + /// You can also use the scroll API to specify a new scroll parameter that extends or shortens the retention period for the search context. + /// + /// + /// IMPORTANT: Results from a scrolling search reflect the state of the index at the time of the initial search request. Subsequent indexing or document changes only affect later search and scroll requests. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -3829,7 +4312,10 @@ public virtual Task> ScrollAsync(ScrollRequ /// /// - /// Returns search hits that match the query defined in the request. + /// Run a search. + /// + /// + /// Get search hits that match the query defined in the request. /// You can provide search queries using the q query string parameter or the request body. /// If both are specified, only the query parameter is used. /// @@ -3843,7 +4329,10 @@ public virtual Task> SearchAsync(SearchRequ /// /// - /// Returns search hits that match the query defined in the request. + /// Run a search. + /// + /// + /// Get search hits that match the query defined in the request. /// You can provide search queries using the q query string parameter or the request body. /// If both are specified, only the query parameter is used. /// @@ -3857,7 +4346,10 @@ public virtual Task> SearchAsync(SearchRequ /// /// - /// Returns search hits that match the query defined in the request. + /// Run a search. + /// + /// + /// Get search hits that match the query defined in the request. /// You can provide search queries using the q query string parameter or the request body. /// If both are specified, only the query parameter is used. /// @@ -3872,7 +4364,10 @@ public virtual Task> SearchAsync(Elastic.Cl /// /// - /// Returns search hits that match the query defined in the request. + /// Run a search. + /// + /// + /// Get search hits that match the query defined in the request. /// You can provide search queries using the q query string parameter or the request body. /// If both are specified, only the query parameter is used. /// @@ -3888,7 +4383,10 @@ public virtual Task> SearchAsync(Elastic.Cl /// /// - /// Returns search hits that match the query defined in the request. + /// Run a search. + /// + /// + /// Get search hits that match the query defined in the request. /// You can provide search queries using the q query string parameter or the request body. /// If both are specified, only the query parameter is used. /// @@ -3903,7 +4401,10 @@ public virtual Task> SearchAsync(Cancellati /// /// - /// Returns search hits that match the query defined in the request. + /// Run a search. + /// + /// + /// Get search hits that match the query defined in the request. /// You can provide search queries using the q query string parameter or the request body. /// If both are specified, only the query parameter is used. /// @@ -3920,7 +4421,9 @@ public virtual Task> SearchAsync(Action /// /// Search a vector tile. - /// Searches a vector tile for geospatial values. + /// + /// + /// Search a vector tile for geospatial values. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -3933,7 +4436,9 @@ public virtual Task SearchMvtAsync(SearchMvtRequest request, /// /// /// Search a vector tile. - /// Searches a vector tile for geospatial values. + /// + /// + /// Search a vector tile for geospatial values. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -3946,7 +4451,9 @@ public virtual Task SearchMvtAsync(SearchMvtReques /// /// /// Search a vector tile. - /// Searches a vector tile for geospatial values. + /// + /// + /// Search a vector tile for geospatial values. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -3960,7 +4467,9 @@ public virtual Task SearchMvtAsync(Elastic.Clients /// /// /// Search a vector tile. - /// Searches a vector tile for geospatial values. + /// + /// + /// Search a vector tile for geospatial values. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -3975,7 +4484,9 @@ public virtual Task SearchMvtAsync(Elastic.Clients /// /// /// Search a vector tile. - /// Searches a vector tile for geospatial values. + /// + /// + /// Search a vector tile for geospatial values. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -3989,7 +4500,9 @@ public virtual Task SearchMvtAsync(Elastic.Clients /// /// /// Search a vector tile. - /// Searches a vector tile for geospatial values. + /// + /// + /// Search a vector tile for geospatial values. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -4004,7 +4517,9 @@ public virtual Task SearchMvtAsync(Elastic.Clients /// /// /// Search a vector tile. - /// Searches a vector tile for geospatial values. + /// + /// + /// Search a vector tile for geospatial values. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -4017,7 +4532,9 @@ public virtual Task SearchMvtAsync(SearchMvtRequestDescriptor /// /// /// Search a vector tile. - /// Searches a vector tile for geospatial values. + /// + /// + /// Search a vector tile for geospatial values. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -4031,7 +4548,9 @@ public virtual Task SearchMvtAsync(Elastic.Clients.Elasticsea /// /// /// Search a vector tile. - /// Searches a vector tile for geospatial values. + /// + /// + /// Search a vector tile for geospatial values. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -4045,7 +4564,7 @@ public virtual Task SearchMvtAsync(Elastic.Clients.Elasticsea /// /// - /// Runs a search with a search template. + /// Run a search with a search template. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -4057,7 +4576,7 @@ public virtual Task> SearchTemplateAsync /// - /// Runs a search with a search template. + /// Run a search with a search template. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -4069,7 +4588,7 @@ public virtual Task> SearchTemplateAsync /// - /// Runs a search with a search template. + /// Run a search with a search template. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -4082,7 +4601,7 @@ public virtual Task> SearchTemplateAsync /// - /// Runs a search with a search template. + /// Run a search with a search template. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -4096,7 +4615,7 @@ public virtual Task> SearchTemplateAsync /// - /// Runs a search with a search template. + /// Run a search with a search template. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -4109,7 +4628,7 @@ public virtual Task> SearchTemplateAsync /// - /// Runs a search with a search template. + /// Run a search with a search template. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -4123,7 +4642,18 @@ public virtual Task> SearchTemplateAsync /// - /// The terms enum API can be used to discover terms in the index that begin with the provided string. It is designed for low-latency look-ups used in auto-complete scenarios. + /// Get terms in an index. + /// + /// + /// Discover terms that match a partial string in an index. + /// This "terms enum" API is designed for low-latency look-ups used in auto-complete scenarios. + /// + /// + /// If the complete property in the response is false, the returned terms set may be incomplete and should be treated as approximate. + /// This can occur due to a few reasons, such as a request timeout or a node error. + /// + /// + /// NOTE: The terms enum API may return terms from deleted documents. Deleted documents are initially only marked as deleted. It is not until their segments are merged that documents are actually deleted. Until that happens, the terms enum API will return terms from these documents. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -4135,7 +4665,18 @@ public virtual Task TermsEnumAsync(TermsEnumRequest request, /// /// - /// The terms enum API can be used to discover terms in the index that begin with the provided string. It is designed for low-latency look-ups used in auto-complete scenarios. + /// Get terms in an index. + /// + /// + /// Discover terms that match a partial string in an index. + /// This "terms enum" API is designed for low-latency look-ups used in auto-complete scenarios. + /// + /// + /// If the complete property in the response is false, the returned terms set may be incomplete and should be treated as approximate. + /// This can occur due to a few reasons, such as a request timeout or a node error. + /// + /// + /// NOTE: The terms enum API may return terms from deleted documents. Deleted documents are initially only marked as deleted. It is not until their segments are merged that documents are actually deleted. Until that happens, the terms enum API will return terms from these documents. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -4147,7 +4688,18 @@ public virtual Task TermsEnumAsync(TermsEnumReques /// /// - /// The terms enum API can be used to discover terms in the index that begin with the provided string. It is designed for low-latency look-ups used in auto-complete scenarios. + /// Get terms in an index. + /// + /// + /// Discover terms that match a partial string in an index. + /// This "terms enum" API is designed for low-latency look-ups used in auto-complete scenarios. + /// + /// + /// If the complete property in the response is false, the returned terms set may be incomplete and should be treated as approximate. + /// This can occur due to a few reasons, such as a request timeout or a node error. + /// + /// + /// NOTE: The terms enum API may return terms from deleted documents. Deleted documents are initially only marked as deleted. It is not until their segments are merged that documents are actually deleted. Until that happens, the terms enum API will return terms from these documents. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -4160,7 +4712,18 @@ public virtual Task TermsEnumAsync(Elastic.Clients /// /// - /// The terms enum API can be used to discover terms in the index that begin with the provided string. It is designed for low-latency look-ups used in auto-complete scenarios. + /// Get terms in an index. + /// + /// + /// Discover terms that match a partial string in an index. + /// This "terms enum" API is designed for low-latency look-ups used in auto-complete scenarios. + /// + /// + /// If the complete property in the response is false, the returned terms set may be incomplete and should be treated as approximate. + /// This can occur due to a few reasons, such as a request timeout or a node error. + /// + /// + /// NOTE: The terms enum API may return terms from deleted documents. Deleted documents are initially only marked as deleted. It is not until their segments are merged that documents are actually deleted. Until that happens, the terms enum API will return terms from these documents. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -4174,7 +4737,18 @@ public virtual Task TermsEnumAsync(Elastic.Clients /// /// - /// The terms enum API can be used to discover terms in the index that begin with the provided string. It is designed for low-latency look-ups used in auto-complete scenarios. + /// Get terms in an index. + /// + /// + /// Discover terms that match a partial string in an index. + /// This "terms enum" API is designed for low-latency look-ups used in auto-complete scenarios. + /// + /// + /// If the complete property in the response is false, the returned terms set may be incomplete and should be treated as approximate. + /// This can occur due to a few reasons, such as a request timeout or a node error. + /// + /// + /// NOTE: The terms enum API may return terms from deleted documents. Deleted documents are initially only marked as deleted. It is not until their segments are merged that documents are actually deleted. Until that happens, the terms enum API will return terms from these documents. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -4187,7 +4761,18 @@ public virtual Task TermsEnumAsync(CancellationTok /// /// - /// The terms enum API can be used to discover terms in the index that begin with the provided string. It is designed for low-latency look-ups used in auto-complete scenarios. + /// Get terms in an index. + /// + /// + /// Discover terms that match a partial string in an index. + /// This "terms enum" API is designed for low-latency look-ups used in auto-complete scenarios. + /// + /// + /// If the complete property in the response is false, the returned terms set may be incomplete and should be treated as approximate. + /// This can occur due to a few reasons, such as a request timeout or a node error. + /// + /// + /// NOTE: The terms enum API may return terms from deleted documents. Deleted documents are initially only marked as deleted. It is not until their segments are merged that documents are actually deleted. Until that happens, the terms enum API will return terms from these documents. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -4201,7 +4786,18 @@ public virtual Task TermsEnumAsync(Action /// - /// The terms enum API can be used to discover terms in the index that begin with the provided string. It is designed for low-latency look-ups used in auto-complete scenarios. + /// Get terms in an index. + /// + /// + /// Discover terms that match a partial string in an index. + /// This "terms enum" API is designed for low-latency look-ups used in auto-complete scenarios. + /// + /// + /// If the complete property in the response is false, the returned terms set may be incomplete and should be treated as approximate. + /// This can occur due to a few reasons, such as a request timeout or a node error. + /// + /// + /// NOTE: The terms enum API may return terms from deleted documents. Deleted documents are initially only marked as deleted. It is not until their segments are merged that documents are actually deleted. Until that happens, the terms enum API will return terms from these documents. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -4213,7 +4809,18 @@ public virtual Task TermsEnumAsync(TermsEnumRequestDescriptor /// /// - /// The terms enum API can be used to discover terms in the index that begin with the provided string. It is designed for low-latency look-ups used in auto-complete scenarios. + /// Get terms in an index. + /// + /// + /// Discover terms that match a partial string in an index. + /// This "terms enum" API is designed for low-latency look-ups used in auto-complete scenarios. + /// + /// + /// If the complete property in the response is false, the returned terms set may be incomplete and should be treated as approximate. + /// This can occur due to a few reasons, such as a request timeout or a node error. + /// + /// + /// NOTE: The terms enum API may return terms from deleted documents. Deleted documents are initially only marked as deleted. It is not until their segments are merged that documents are actually deleted. Until that happens, the terms enum API will return terms from these documents. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -4226,7 +4833,18 @@ public virtual Task TermsEnumAsync(Elastic.Clients.Elasticsea /// /// - /// The terms enum API can be used to discover terms in the index that begin with the provided string. It is designed for low-latency look-ups used in auto-complete scenarios. + /// Get terms in an index. + /// + /// + /// Discover terms that match a partial string in an index. + /// This "terms enum" API is designed for low-latency look-ups used in auto-complete scenarios. + /// + /// + /// If the complete property in the response is false, the returned terms set may be incomplete and should be treated as approximate. + /// This can occur due to a few reasons, such as a request timeout or a node error. + /// + /// + /// NOTE: The terms enum API may return terms from deleted documents. Deleted documents are initially only marked as deleted. It is not until their segments are merged that documents are actually deleted. Until that happens, the terms enum API will return terms from these documents. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -4241,7 +4859,9 @@ public virtual Task TermsEnumAsync(Elastic.Clients.Elasticsea /// /// /// Get term vector information. - /// Returns information and statistics about terms in the fields of a particular document. + /// + /// + /// Get information and statistics about terms in the fields of a particular document. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -4254,7 +4874,9 @@ public virtual Task TermvectorsAsync(TermVectors /// /// /// Get term vector information. - /// Returns information and statistics about terms in the fields of a particular document. + /// + /// + /// Get information and statistics about terms in the fields of a particular document. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -4267,7 +4889,9 @@ public virtual Task TermvectorsAsync(TermVectors /// /// /// Get term vector information. - /// Returns information and statistics about terms in the fields of a particular document. + /// + /// + /// Get information and statistics about terms in the fields of a particular document. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -4281,7 +4905,9 @@ public virtual Task TermvectorsAsync(Elastic.Cli /// /// /// Get term vector information. - /// Returns information and statistics about terms in the fields of a particular document. + /// + /// + /// Get information and statistics about terms in the fields of a particular document. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -4296,7 +4922,9 @@ public virtual Task TermvectorsAsync(Elastic.Cli /// /// /// Get term vector information. - /// Returns information and statistics about terms in the fields of a particular document. + /// + /// + /// Get information and statistics about terms in the fields of a particular document. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -4310,7 +4938,9 @@ public virtual Task TermvectorsAsync(Elastic.Cli /// /// /// Get term vector information. - /// Returns information and statistics about terms in the fields of a particular document. + /// + /// + /// Get information and statistics about terms in the fields of a particular document. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -4325,7 +4955,9 @@ public virtual Task TermvectorsAsync(Elastic.Cli /// /// /// Get term vector information. - /// Returns information and statistics about terms in the fields of a particular document. + /// + /// + /// Get information and statistics about terms in the fields of a particular document. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -4339,7 +4971,9 @@ public virtual Task TermvectorsAsync(TDocument d /// /// /// Get term vector information. - /// Returns information and statistics about terms in the fields of a particular document. + /// + /// + /// Get information and statistics about terms in the fields of a particular document. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -4354,7 +4988,9 @@ public virtual Task TermvectorsAsync(TDocument d /// /// /// Get term vector information. - /// Returns information and statistics about terms in the fields of a particular document. + /// + /// + /// Get information and statistics about terms in the fields of a particular document. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -4368,7 +5004,9 @@ public virtual Task TermvectorsAsync(TDocument d /// /// /// Get term vector information. - /// Returns information and statistics about terms in the fields of a particular document. + /// + /// + /// Get information and statistics about terms in the fields of a particular document. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -4383,7 +5021,9 @@ public virtual Task TermvectorsAsync(TDocument d /// /// /// Get term vector information. - /// Returns information and statistics about terms in the fields of a particular document. + /// + /// + /// Get information and statistics about terms in the fields of a particular document. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -4397,7 +5037,9 @@ public virtual Task TermvectorsAsync(TDocument d /// /// /// Get term vector information. - /// Returns information and statistics about terms in the fields of a particular document. + /// + /// + /// Get information and statistics about terms in the fields of a particular document. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -4412,7 +5054,9 @@ public virtual Task TermvectorsAsync(TDocument d /// /// /// Get term vector information. - /// Returns information and statistics about terms in the fields of a particular document. + /// + /// + /// Get information and statistics about terms in the fields of a particular document. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -4426,7 +5070,9 @@ public virtual Task TermvectorsAsync(Elastic.Cli /// /// /// Get term vector information. - /// Returns information and statistics about terms in the fields of a particular document. + /// + /// + /// Get information and statistics about terms in the fields of a particular document. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -4746,7 +5392,11 @@ public virtual Task UpdateByQueryAsync(Elastic.Clients.El /// /// - /// Changes the number of requests per second for a particular Update By Query operation. + /// Throttle an update by query operation. + /// + /// + /// Change the number of requests per second for a particular update by query operation. + /// Rethrottling that speeds up the query takes effect immediately but rethrotting that slows down the query takes effect after completing the current batch to prevent scroll timeouts. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -4758,7 +5408,11 @@ public virtual Task UpdateByQueryRethrottleAsyn /// /// - /// Changes the number of requests per second for a particular Update By Query operation. + /// Throttle an update by query operation. + /// + /// + /// Change the number of requests per second for a particular update by query operation. + /// Rethrottling that speeds up the query takes effect immediately but rethrotting that slows down the query takes effect after completing the current batch to prevent scroll timeouts. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -4770,7 +5424,11 @@ public virtual Task UpdateByQueryRethrottleAsyn /// /// - /// Changes the number of requests per second for a particular Update By Query operation. + /// Throttle an update by query operation. + /// + /// + /// Change the number of requests per second for a particular update by query operation. + /// Rethrottling that speeds up the query takes effect immediately but rethrotting that slows down the query takes effect after completing the current batch to prevent scroll timeouts. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -4783,7 +5441,11 @@ public virtual Task UpdateByQueryRethrottleAsyn /// /// - /// Changes the number of requests per second for a particular Update By Query operation. + /// Throttle an update by query operation. + /// + /// + /// Change the number of requests per second for a particular update by query operation. + /// Rethrottling that speeds up the query takes effect immediately but rethrotting that slows down the query takes effect after completing the current batch to prevent scroll timeouts. /// /// Learn more about this API in the Elasticsearch documentation. /// diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Analysis/Normalizers.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Analysis/Normalizers.g.cs index 7edf328e1ba..718dc14ebd3 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Analysis/Normalizers.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Analysis/Normalizers.g.cs @@ -122,7 +122,7 @@ public override void Write(Utf8JsonWriter writer, INormalizer value, JsonSeriali } /// -/// Learn more about this API in the Elasticsearch documentation. +/// Learn more about this API in the Elasticsearch documentation. /// [JsonConverter(typeof(NormalizerInterfaceConverter))] public partial interface INormalizer diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/ByteSize.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/ByteSize.g.cs index b2d4e9e7d50..3fc70502c01 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/ByteSize.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/ByteSize.g.cs @@ -31,7 +31,7 @@ namespace Elastic.Clients.Elasticsearch.Serverless; /// -/// Learn more about this API in the Elasticsearch documentation. +/// Learn more about this API in the Elasticsearch documentation. /// public sealed partial class ByteSize : Union { diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Core/Context.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Core/Context.g.cs index c078dc59136..5ed663639d4 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Core/Context.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Core/Context.g.cs @@ -34,7 +34,7 @@ namespace Elastic.Clients.Elasticsearch.Serverless.Core.Search; /// /// Text or location that we want similar documents for or a lookup to a document's field for the text. /// -/// Learn more about this API in the Elasticsearch documentation. +/// Learn more about this API in the Elasticsearch documentation. /// public sealed partial class Context : Union { diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Core/RankEval/RankEvalMetricDiscountedCumulativeGain.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Core/RankEval/RankEvalMetricDiscountedCumulativeGain.g.cs index 9d1ac592068..e8159ec3121 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Core/RankEval/RankEvalMetricDiscountedCumulativeGain.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Core/RankEval/RankEvalMetricDiscountedCumulativeGain.g.cs @@ -31,7 +31,7 @@ namespace Elastic.Clients.Elasticsearch.Serverless.Core.RankEval; /// /// Discounted cumulative gain (DCG) /// -/// Learn more about this API in the Elasticsearch documentation. +/// Learn more about this API in the Elasticsearch documentation. /// public sealed partial class RankEvalMetricDiscountedCumulativeGain { @@ -56,7 +56,7 @@ public sealed partial class RankEvalMetricDiscountedCumulativeGain /// /// Discounted cumulative gain (DCG) /// -/// Learn more about this API in the Elasticsearch documentation. +/// Learn more about this API in the Elasticsearch documentation. /// public sealed partial class RankEvalMetricDiscountedCumulativeGainDescriptor : SerializableDescriptor { diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Core/RankEval/RankEvalMetricExpectedReciprocalRank.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Core/RankEval/RankEvalMetricExpectedReciprocalRank.g.cs index 9399ba7a53b..baa2700768d 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Core/RankEval/RankEvalMetricExpectedReciprocalRank.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Core/RankEval/RankEvalMetricExpectedReciprocalRank.g.cs @@ -31,7 +31,7 @@ namespace Elastic.Clients.Elasticsearch.Serverless.Core.RankEval; /// /// Expected Reciprocal Rank (ERR) /// -/// Learn more about this API in the Elasticsearch documentation. +/// Learn more about this API in the Elasticsearch documentation. /// public sealed partial class RankEvalMetricExpectedReciprocalRank { @@ -56,7 +56,7 @@ public sealed partial class RankEvalMetricExpectedReciprocalRank /// /// Expected Reciprocal Rank (ERR) /// -/// Learn more about this API in the Elasticsearch documentation. +/// Learn more about this API in the Elasticsearch documentation. /// public sealed partial class RankEvalMetricExpectedReciprocalRankDescriptor : SerializableDescriptor { diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Core/RankEval/RankEvalMetricMeanReciprocalRank.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Core/RankEval/RankEvalMetricMeanReciprocalRank.g.cs index 424a709eb1a..f7a9c44621c 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Core/RankEval/RankEvalMetricMeanReciprocalRank.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Core/RankEval/RankEvalMetricMeanReciprocalRank.g.cs @@ -31,7 +31,7 @@ namespace Elastic.Clients.Elasticsearch.Serverless.Core.RankEval; /// /// Mean Reciprocal Rank /// -/// Learn more about this API in the Elasticsearch documentation. +/// Learn more about this API in the Elasticsearch documentation. /// public sealed partial class RankEvalMetricMeanReciprocalRank { @@ -56,7 +56,7 @@ public sealed partial class RankEvalMetricMeanReciprocalRank /// /// Mean Reciprocal Rank /// -/// Learn more about this API in the Elasticsearch documentation. +/// Learn more about this API in the Elasticsearch documentation. /// public sealed partial class RankEvalMetricMeanReciprocalRankDescriptor : SerializableDescriptor { diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Core/RankEval/RankEvalMetricPrecision.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Core/RankEval/RankEvalMetricPrecision.g.cs index 2f539197a3e..d59552021bb 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Core/RankEval/RankEvalMetricPrecision.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Core/RankEval/RankEvalMetricPrecision.g.cs @@ -31,7 +31,7 @@ namespace Elastic.Clients.Elasticsearch.Serverless.Core.RankEval; /// /// Precision at K (P@k) /// -/// Learn more about this API in the Elasticsearch documentation. +/// Learn more about this API in the Elasticsearch documentation. /// public sealed partial class RankEvalMetricPrecision { @@ -64,7 +64,7 @@ public sealed partial class RankEvalMetricPrecision /// /// Precision at K (P@k) /// -/// Learn more about this API in the Elasticsearch documentation. +/// Learn more about this API in the Elasticsearch documentation. /// public sealed partial class RankEvalMetricPrecisionDescriptor : SerializableDescriptor { diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Core/RankEval/RankEvalMetricRecall.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Core/RankEval/RankEvalMetricRecall.g.cs index 795cc695623..cb35bfb45ca 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Core/RankEval/RankEvalMetricRecall.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Core/RankEval/RankEvalMetricRecall.g.cs @@ -31,7 +31,7 @@ namespace Elastic.Clients.Elasticsearch.Serverless.Core.RankEval; /// /// Recall at K (R@k) /// -/// Learn more about this API in the Elasticsearch documentation. +/// Learn more about this API in the Elasticsearch documentation. /// public sealed partial class RankEvalMetricRecall { @@ -56,7 +56,7 @@ public sealed partial class RankEvalMetricRecall /// /// Recall at K (R@k) /// -/// Learn more about this API in the Elasticsearch documentation. +/// Learn more about this API in the Elasticsearch documentation. /// public sealed partial class RankEvalMetricRecallDescriptor : SerializableDescriptor { diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Enums/Enums.Inference.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Enums/Enums.Inference.g.cs new file mode 100644 index 00000000000..2a4deee6213 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Enums/Enums.Inference.g.cs @@ -0,0 +1,85 @@ +// 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 Elastic.Clients.Elasticsearch.Serverless.Core; +using Elastic.Clients.Elasticsearch.Serverless.Serialization; +using Elastic.Transport; +using System; +using System.Runtime.Serialization; +using System.Text; +using System.Text.Json; +using System.Text.Json.Serialization; + +namespace Elastic.Clients.Elasticsearch.Serverless.Inference; + +[JsonConverter(typeof(TaskTypeConverter))] +public enum TaskType +{ + [EnumMember(Value = "text_embedding")] + TextEmbedding, + [EnumMember(Value = "sparse_embedding")] + SparseEmbedding, + [EnumMember(Value = "rerank")] + Rerank, + [EnumMember(Value = "completion")] + Completion +} + +internal sealed class TaskTypeConverter : JsonConverter +{ + public override TaskType Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) + { + var enumString = reader.GetString(); + switch (enumString) + { + case "text_embedding": + return TaskType.TextEmbedding; + case "sparse_embedding": + return TaskType.SparseEmbedding; + case "rerank": + return TaskType.Rerank; + case "completion": + return TaskType.Completion; + } + + ThrowHelper.ThrowJsonException(); + return default; + } + + public override void Write(Utf8JsonWriter writer, TaskType value, JsonSerializerOptions options) + { + switch (value) + { + case TaskType.TextEmbedding: + writer.WriteStringValue("text_embedding"); + return; + case TaskType.SparseEmbedding: + writer.WriteStringValue("sparse_embedding"); + return; + case TaskType.Rerank: + writer.WriteStringValue("rerank"); + return; + case TaskType.Completion: + writer.WriteStringValue("completion"); + return; + } + + writer.WriteNullValue(); + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Enums/Enums.Security.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Enums/Enums.Security.g.cs index 08429f5c021..cb3cfe32ae0 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Enums/Enums.Security.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Enums/Enums.Security.g.cs @@ -265,6 +265,29 @@ public override void Write(Utf8JsonWriter writer, GrantType value, JsonSerialize public static bool operator !=(IndexPrivilege a, IndexPrivilege b) => !(a == b); } +[JsonConverter(typeof(EnumStructConverter))] +public readonly partial struct RestrictionWorkflow : IEnumStruct +{ + public RestrictionWorkflow(string value) => Value = value; + + RestrictionWorkflow IEnumStruct.Create(string value) => value; + + public readonly string Value { get; } + public static RestrictionWorkflow SearchApplicationQuery { get; } = new RestrictionWorkflow("search_application_query"); + + public override string ToString() => Value ?? string.Empty; + + public static implicit operator string(RestrictionWorkflow restrictionWorkflow) => restrictionWorkflow.Value; + public static implicit operator RestrictionWorkflow(string value) => new(value); + + public override int GetHashCode() => Value.GetHashCode(); + public override bool Equals(object obj) => obj is RestrictionWorkflow other && this.Equals(other); + public bool Equals(RestrictionWorkflow other) => Value == other.Value; + + public static bool operator ==(RestrictionWorkflow a, RestrictionWorkflow b) => a.Equals(b); + public static bool operator !=(RestrictionWorkflow a, RestrictionWorkflow b) => !(a == b); +} + [JsonConverter(typeof(TemplateFormatConverter))] public enum TemplateFormat { diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Fuzziness.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Fuzziness.g.cs index 55076a1833e..1047be7f885 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Fuzziness.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Fuzziness.g.cs @@ -31,7 +31,7 @@ namespace Elastic.Clients.Elasticsearch.Serverless; /// -/// Learn more about this API in the Elasticsearch documentation. +/// Learn more about this API in the Elasticsearch documentation. /// public sealed partial class Fuzziness : Union { diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/IndexManagement/DataStreamLifecycle.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/IndexManagement/DataStreamLifecycle.g.cs index 52d2669e5eb..1cd15282d5b 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/IndexManagement/DataStreamLifecycle.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/IndexManagement/DataStreamLifecycle.g.cs @@ -34,10 +34,32 @@ namespace Elastic.Clients.Elasticsearch.Serverless.IndexManagement; /// public sealed partial class DataStreamLifecycle { + /// + /// + /// If defined, every document added to this data stream will be stored at least for this time frame. + /// Any time after this duration the document could be deleted. + /// When empty, every document in this data stream will be stored indefinitely. + /// + /// [JsonInclude, JsonPropertyName("data_retention")] public Elastic.Clients.Elasticsearch.Serverless.Duration? DataRetention { get; set; } + + /// + /// + /// The downsampling configuration to execute for the managed backing index after rollover. + /// + /// [JsonInclude, JsonPropertyName("downsampling")] public Elastic.Clients.Elasticsearch.Serverless.IndexManagement.DataStreamLifecycleDownsampling? Downsampling { get; set; } + + /// + /// + /// If defined, it turns data stream lifecycle on/off (true/false) for this data stream. A data stream lifecycle + /// that's disabled (enabled: false) will have no effect on the data stream. + /// + /// + [JsonInclude, JsonPropertyName("enabled")] + public bool? Enabled { get; set; } } /// @@ -57,13 +79,26 @@ public DataStreamLifecycleDescriptor() : base() private Elastic.Clients.Elasticsearch.Serverless.IndexManagement.DataStreamLifecycleDownsampling? DownsamplingValue { get; set; } private Elastic.Clients.Elasticsearch.Serverless.IndexManagement.DataStreamLifecycleDownsamplingDescriptor DownsamplingDescriptor { get; set; } private Action DownsamplingDescriptorAction { get; set; } + private bool? EnabledValue { get; set; } + /// + /// + /// If defined, every document added to this data stream will be stored at least for this time frame. + /// Any time after this duration the document could be deleted. + /// When empty, every document in this data stream will be stored indefinitely. + /// + /// public DataStreamLifecycleDescriptor DataRetention(Elastic.Clients.Elasticsearch.Serverless.Duration? dataRetention) { DataRetentionValue = dataRetention; return Self; } + /// + /// + /// The downsampling configuration to execute for the managed backing index after rollover. + /// + /// public DataStreamLifecycleDescriptor Downsampling(Elastic.Clients.Elasticsearch.Serverless.IndexManagement.DataStreamLifecycleDownsampling? downsampling) { DownsamplingDescriptor = null; @@ -88,6 +123,18 @@ public DataStreamLifecycleDescriptor Downsampling(Action + /// + /// If defined, it turns data stream lifecycle on/off (true/false) for this data stream. A data stream lifecycle + /// that's disabled (enabled: false) will have no effect on the data stream. + /// + /// + public DataStreamLifecycleDescriptor Enabled(bool? enabled = true) + { + EnabledValue = enabled; + return Self; + } + protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) { writer.WriteStartObject(); @@ -113,6 +160,12 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o JsonSerializer.Serialize(writer, DownsamplingValue, options); } + if (EnabledValue.HasValue) + { + writer.WritePropertyName("enabled"); + writer.WriteBooleanValue(EnabledValue.Value); + } + writer.WriteEndObject(); } } \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/IndexManagement/DataStreamLifecycleWithRollover.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/IndexManagement/DataStreamLifecycleWithRollover.g.cs index b9ccfb7f5fc..48871a55b04 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/IndexManagement/DataStreamLifecycleWithRollover.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/IndexManagement/DataStreamLifecycleWithRollover.g.cs @@ -53,6 +53,15 @@ public sealed partial class DataStreamLifecycleWithRollover [JsonInclude, JsonPropertyName("downsampling")] public Elastic.Clients.Elasticsearch.Serverless.IndexManagement.DataStreamLifecycleDownsampling? Downsampling { get; init; } + /// + /// + /// If defined, it turns data stream lifecycle on/off (true/false) for this data stream. A data stream lifecycle + /// that's disabled (enabled: false) will have no effect on the data stream. + /// + /// + [JsonInclude, JsonPropertyName("enabled")] + public bool? Enabled { get; init; } + /// /// /// The conditions which will trigger the rollover of a backing index as configured by the cluster setting cluster.lifecycle.default.rollover. diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/IndexManagement/DataStreamWithLifecycle.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/IndexManagement/DataStreamWithLifecycle.g.cs index 8094905750c..3d942cd5f39 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/IndexManagement/DataStreamWithLifecycle.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/IndexManagement/DataStreamWithLifecycle.g.cs @@ -30,7 +30,7 @@ namespace Elastic.Clients.Elasticsearch.Serverless.IndexManagement; public sealed partial class DataStreamWithLifecycle { [JsonInclude, JsonPropertyName("lifecycle")] - public Elastic.Clients.Elasticsearch.Serverless.IndexManagement.DataStreamLifecycle? Lifecycle { get; init; } + public Elastic.Clients.Elasticsearch.Serverless.IndexManagement.DataStreamLifecycleWithRollover? Lifecycle { get; init; } [JsonInclude, JsonPropertyName("name")] public string Name { get; init; } } \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/IndexManagement/IndexSettings.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/IndexManagement/IndexSettings.g.cs index d006d71418f..65024976add 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/IndexManagement/IndexSettings.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/IndexManagement/IndexSettings.g.cs @@ -739,7 +739,7 @@ public override void Write(Utf8JsonWriter writer, IndexSettings value, JsonSeria } /// -/// Learn more about this API in the Elasticsearch documentation. +/// Learn more about this API in the Elasticsearch documentation. /// [JsonConverter(typeof(IndexSettingsConverter))] public sealed partial class IndexSettings @@ -840,7 +840,7 @@ public sealed partial class IndexSettings } /// -/// Learn more about this API in the Elasticsearch documentation. +/// Learn more about this API in the Elasticsearch documentation. /// public sealed partial class IndexSettingsDescriptor : SerializableDescriptor> { @@ -2277,7 +2277,7 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o } /// -/// Learn more about this API in the Elasticsearch documentation. +/// Learn more about this API in the Elasticsearch documentation. /// public sealed partial class IndexSettingsDescriptor : SerializableDescriptor { diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/IndexManagement/IndexTemplate.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/IndexManagement/IndexTemplate.g.cs index 615da923b57..69e9ad496be 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/IndexManagement/IndexTemplate.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/IndexManagement/IndexTemplate.g.cs @@ -51,6 +51,25 @@ public sealed partial class IndexTemplate [JsonInclude, JsonPropertyName("data_stream")] public Elastic.Clients.Elasticsearch.Serverless.IndexManagement.IndexTemplateDataStreamConfiguration? DataStream { get; init; } + /// + /// + /// Marks this index template as deprecated. + /// When creating or updating a non-deprecated index template that uses deprecated components, + /// Elasticsearch will emit a deprecation warning. + /// + /// + [JsonInclude, JsonPropertyName("deprecated")] + public bool? Deprecated { get; init; } + + /// + /// + /// A list of component template names that are allowed to be absent. + /// + /// + [JsonInclude, JsonPropertyName("ignore_missing_component_templates")] + [SingleOrManyCollectionConverter(typeof(string))] + public IReadOnlyCollection? IgnoreMissingComponentTemplates { get; init; } + /// /// /// Name of the index template. diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/IndexManagement/MappingLimitSettings.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/IndexManagement/MappingLimitSettings.g.cs index e0a1a5e6a2f..ee3e967c447 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/IndexManagement/MappingLimitSettings.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/IndexManagement/MappingLimitSettings.g.cs @@ -31,7 +31,7 @@ namespace Elastic.Clients.Elasticsearch.Serverless.IndexManagement; /// /// Mapping Limit Settings /// -/// Learn more about this API in the Elasticsearch documentation. +/// Learn more about this API in the Elasticsearch documentation. /// public sealed partial class MappingLimitSettings { @@ -57,7 +57,7 @@ public sealed partial class MappingLimitSettings /// /// Mapping Limit Settings /// -/// Learn more about this API in the Elasticsearch documentation. +/// Learn more about this API in the Elasticsearch documentation. /// public sealed partial class MappingLimitSettingsDescriptor : SerializableDescriptor { diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Inference/InferenceEndpoint.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Inference/InferenceEndpoint.g.cs new file mode 100644 index 00000000000..3f8912a1069 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Inference/InferenceEndpoint.g.cs @@ -0,0 +1,127 @@ +// 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 Elastic.Clients.Elasticsearch.Serverless.Fluent; +using Elastic.Clients.Elasticsearch.Serverless.Serialization; +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +namespace Elastic.Clients.Elasticsearch.Serverless.Inference; + +/// +/// +/// Configuration options when storing the inference endpoint +/// +/// +public sealed partial class InferenceEndpoint +{ + /// + /// + /// The service type + /// + /// + [JsonInclude, JsonPropertyName("service")] + public string Service { get; set; } + + /// + /// + /// Settings specific to the service + /// + /// + [JsonInclude, JsonPropertyName("service_settings")] + public object ServiceSettings { get; set; } + + /// + /// + /// Task settings specific to the service and task type + /// + /// + [JsonInclude, JsonPropertyName("task_settings")] + public object? TaskSettings { get; set; } +} + +/// +/// +/// Configuration options when storing the inference endpoint +/// +/// +public sealed partial class InferenceEndpointDescriptor : SerializableDescriptor +{ + internal InferenceEndpointDescriptor(Action configure) => configure.Invoke(this); + + public InferenceEndpointDescriptor() : base() + { + } + + private string ServiceValue { get; set; } + private object ServiceSettingsValue { get; set; } + private object? TaskSettingsValue { get; set; } + + /// + /// + /// The service type + /// + /// + public InferenceEndpointDescriptor Service(string service) + { + ServiceValue = service; + return Self; + } + + /// + /// + /// Settings specific to the service + /// + /// + public InferenceEndpointDescriptor ServiceSettings(object serviceSettings) + { + ServiceSettingsValue = serviceSettings; + return Self; + } + + /// + /// + /// Task settings specific to the service and task type + /// + /// + public InferenceEndpointDescriptor TaskSettings(object? taskSettings) + { + TaskSettingsValue = taskSettings; + return Self; + } + + protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) + { + writer.WriteStartObject(); + writer.WritePropertyName("service"); + writer.WriteStringValue(ServiceValue); + writer.WritePropertyName("service_settings"); + JsonSerializer.Serialize(writer, ServiceSettingsValue, options); + if (TaskSettingsValue is not null) + { + writer.WritePropertyName("task_settings"); + JsonSerializer.Serialize(writer, TaskSettingsValue, options); + } + + writer.WriteEndObject(); + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Inference/InferenceEndpointInfo.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Inference/InferenceEndpointInfo.g.cs new file mode 100644 index 00000000000..aee66bad661 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Inference/InferenceEndpointInfo.g.cs @@ -0,0 +1,76 @@ +// 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 Elastic.Clients.Elasticsearch.Serverless.Fluent; +using Elastic.Clients.Elasticsearch.Serverless.Serialization; +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +namespace Elastic.Clients.Elasticsearch.Serverless.Inference; + +/// +/// +/// Represents an inference endpoint as returned by the GET API +/// +/// +public sealed partial class InferenceEndpointInfo +{ + /// + /// + /// The inference Id + /// + /// + [JsonInclude, JsonPropertyName("inference_id")] + public string InferenceId { get; init; } + + /// + /// + /// The service type + /// + /// + [JsonInclude, JsonPropertyName("service")] + public string Service { get; init; } + + /// + /// + /// Settings specific to the service + /// + /// + [JsonInclude, JsonPropertyName("service_settings")] + public object ServiceSettings { get; init; } + + /// + /// + /// Task settings specific to the service and task type + /// + /// + [JsonInclude, JsonPropertyName("task_settings")] + public object? TaskSettings { get; init; } + + /// + /// + /// The task type + /// + /// + [JsonInclude, JsonPropertyName("task_type")] + public Elastic.Clients.Elasticsearch.Serverless.Inference.TaskType TaskType { get; init; } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Ingest/IpLocationProcessor.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Ingest/IpLocationProcessor.g.cs new file mode 100644 index 00000000000..0f8ec6efefe --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Ingest/IpLocationProcessor.g.cs @@ -0,0 +1,798 @@ +// 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 Elastic.Clients.Elasticsearch.Serverless.Fluent; +using Elastic.Clients.Elasticsearch.Serverless.Serialization; +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +namespace Elastic.Clients.Elasticsearch.Serverless.Ingest; + +public sealed partial class IpLocationProcessor +{ + /// + /// + /// The database filename referring to a database the module ships with (GeoLite2-City.mmdb, GeoLite2-Country.mmdb, or GeoLite2-ASN.mmdb) or a custom database in the ingest-geoip config directory. + /// + /// + [JsonInclude, JsonPropertyName("database_file")] + public string? DatabaseFile { get; set; } + + /// + /// + /// Description of the processor. + /// Useful for describing the purpose of the processor or its configuration. + /// + /// + [JsonInclude, JsonPropertyName("description")] + public string? Description { get; set; } + + /// + /// + /// If true (and if ingest.geoip.downloader.eager.download is false), the missing database is downloaded when the pipeline is created. + /// Else, the download is triggered by when the pipeline is used as the default_pipeline or final_pipeline in an index. + /// + /// + [JsonInclude, JsonPropertyName("download_database_on_pipeline_creation")] + public bool? DownloadDatabaseOnPipelineCreation { get; set; } + + /// + /// + /// The field to get the ip address from for the geographical lookup. + /// + /// + [JsonInclude, JsonPropertyName("field")] + public Elastic.Clients.Elasticsearch.Serverless.Field Field { get; set; } + + /// + /// + /// If true, only the first found IP location data will be returned, even if the field contains an array. + /// + /// + [JsonInclude, JsonPropertyName("first_only")] + public bool? FirstOnly { get; set; } + + /// + /// + /// Conditionally execute the processor. + /// + /// + [JsonInclude, JsonPropertyName("if")] + public string? If { get; set; } + + /// + /// + /// Ignore failures for the processor. + /// + /// + [JsonInclude, JsonPropertyName("ignore_failure")] + public bool? IgnoreFailure { get; set; } + + /// + /// + /// If true and field does not exist, the processor quietly exits without modifying the document. + /// + /// + [JsonInclude, JsonPropertyName("ignore_missing")] + public bool? IgnoreMissing { get; set; } + + /// + /// + /// Handle failures for the processor. + /// + /// + [JsonInclude, JsonPropertyName("on_failure")] + public ICollection? OnFailure { get; set; } + + /// + /// + /// Controls what properties are added to the target_field based on the IP location lookup. + /// + /// + [JsonInclude, JsonPropertyName("properties")] + public ICollection? Properties { get; set; } + + /// + /// + /// Identifier for the processor. + /// Useful for debugging and metrics. + /// + /// + [JsonInclude, JsonPropertyName("tag")] + public string? Tag { get; set; } + + /// + /// + /// The field that will hold the geographical information looked up from the MaxMind database. + /// + /// + [JsonInclude, JsonPropertyName("target_field")] + public Elastic.Clients.Elasticsearch.Serverless.Field? TargetField { get; set; } + + public static implicit operator Elastic.Clients.Elasticsearch.Serverless.Ingest.Processor(IpLocationProcessor ipLocationProcessor) => Elastic.Clients.Elasticsearch.Serverless.Ingest.Processor.IpLocation(ipLocationProcessor); +} + +public sealed partial class IpLocationProcessorDescriptor : SerializableDescriptor> +{ + internal IpLocationProcessorDescriptor(Action> configure) => configure.Invoke(this); + + public IpLocationProcessorDescriptor() : base() + { + } + + private string? DatabaseFileValue { get; set; } + private string? DescriptionValue { get; set; } + private bool? DownloadDatabaseOnPipelineCreationValue { get; set; } + private Elastic.Clients.Elasticsearch.Serverless.Field FieldValue { get; set; } + private bool? FirstOnlyValue { get; set; } + private string? IfValue { get; set; } + private bool? IgnoreFailureValue { get; set; } + private bool? IgnoreMissingValue { get; set; } + private ICollection? OnFailureValue { get; set; } + private Elastic.Clients.Elasticsearch.Serverless.Ingest.ProcessorDescriptor OnFailureDescriptor { get; set; } + private Action> OnFailureDescriptorAction { get; set; } + private Action>[] OnFailureDescriptorActions { get; set; } + private ICollection? PropertiesValue { get; set; } + private string? TagValue { get; set; } + private Elastic.Clients.Elasticsearch.Serverless.Field? TargetFieldValue { get; set; } + + /// + /// + /// The database filename referring to a database the module ships with (GeoLite2-City.mmdb, GeoLite2-Country.mmdb, or GeoLite2-ASN.mmdb) or a custom database in the ingest-geoip config directory. + /// + /// + public IpLocationProcessorDescriptor DatabaseFile(string? databaseFile) + { + DatabaseFileValue = databaseFile; + return Self; + } + + /// + /// + /// Description of the processor. + /// Useful for describing the purpose of the processor or its configuration. + /// + /// + public IpLocationProcessorDescriptor Description(string? description) + { + DescriptionValue = description; + return Self; + } + + /// + /// + /// If true (and if ingest.geoip.downloader.eager.download is false), the missing database is downloaded when the pipeline is created. + /// Else, the download is triggered by when the pipeline is used as the default_pipeline or final_pipeline in an index. + /// + /// + public IpLocationProcessorDescriptor DownloadDatabaseOnPipelineCreation(bool? downloadDatabaseOnPipelineCreation = true) + { + DownloadDatabaseOnPipelineCreationValue = downloadDatabaseOnPipelineCreation; + return Self; + } + + /// + /// + /// The field to get the ip address from for the geographical lookup. + /// + /// + public IpLocationProcessorDescriptor Field(Elastic.Clients.Elasticsearch.Serverless.Field field) + { + FieldValue = field; + return Self; + } + + /// + /// + /// The field to get the ip address from for the geographical lookup. + /// + /// + public IpLocationProcessorDescriptor Field(Expression> field) + { + FieldValue = field; + return Self; + } + + /// + /// + /// The field to get the ip address from for the geographical lookup. + /// + /// + public IpLocationProcessorDescriptor Field(Expression> field) + { + FieldValue = field; + return Self; + } + + /// + /// + /// If true, only the first found IP location data will be returned, even if the field contains an array. + /// + /// + public IpLocationProcessorDescriptor FirstOnly(bool? firstOnly = true) + { + FirstOnlyValue = firstOnly; + return Self; + } + + /// + /// + /// Conditionally execute the processor. + /// + /// + public IpLocationProcessorDescriptor If(string? value) + { + IfValue = value; + return Self; + } + + /// + /// + /// Ignore failures for the processor. + /// + /// + public IpLocationProcessorDescriptor IgnoreFailure(bool? ignoreFailure = true) + { + IgnoreFailureValue = ignoreFailure; + return Self; + } + + /// + /// + /// If true and field does not exist, the processor quietly exits without modifying the document. + /// + /// + public IpLocationProcessorDescriptor IgnoreMissing(bool? ignoreMissing = true) + { + IgnoreMissingValue = ignoreMissing; + return Self; + } + + /// + /// + /// Handle failures for the processor. + /// + /// + public IpLocationProcessorDescriptor OnFailure(ICollection? onFailure) + { + OnFailureDescriptor = null; + OnFailureDescriptorAction = null; + OnFailureDescriptorActions = null; + OnFailureValue = onFailure; + return Self; + } + + public IpLocationProcessorDescriptor OnFailure(Elastic.Clients.Elasticsearch.Serverless.Ingest.ProcessorDescriptor descriptor) + { + OnFailureValue = null; + OnFailureDescriptorAction = null; + OnFailureDescriptorActions = null; + OnFailureDescriptor = descriptor; + return Self; + } + + public IpLocationProcessorDescriptor OnFailure(Action> configure) + { + OnFailureValue = null; + OnFailureDescriptor = null; + OnFailureDescriptorActions = null; + OnFailureDescriptorAction = configure; + return Self; + } + + public IpLocationProcessorDescriptor OnFailure(params Action>[] configure) + { + OnFailureValue = null; + OnFailureDescriptor = null; + OnFailureDescriptorAction = null; + OnFailureDescriptorActions = configure; + return Self; + } + + /// + /// + /// Controls what properties are added to the target_field based on the IP location lookup. + /// + /// + public IpLocationProcessorDescriptor Properties(ICollection? properties) + { + PropertiesValue = properties; + return Self; + } + + /// + /// + /// Identifier for the processor. + /// Useful for debugging and metrics. + /// + /// + public IpLocationProcessorDescriptor Tag(string? tag) + { + TagValue = tag; + return Self; + } + + /// + /// + /// The field that will hold the geographical information looked up from the MaxMind database. + /// + /// + public IpLocationProcessorDescriptor TargetField(Elastic.Clients.Elasticsearch.Serverless.Field? targetField) + { + TargetFieldValue = targetField; + return Self; + } + + /// + /// + /// The field that will hold the geographical information looked up from the MaxMind database. + /// + /// + public IpLocationProcessorDescriptor TargetField(Expression> targetField) + { + TargetFieldValue = targetField; + return Self; + } + + /// + /// + /// The field that will hold the geographical information looked up from the MaxMind database. + /// + /// + public IpLocationProcessorDescriptor TargetField(Expression> targetField) + { + TargetFieldValue = targetField; + return Self; + } + + protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) + { + writer.WriteStartObject(); + if (!string.IsNullOrEmpty(DatabaseFileValue)) + { + writer.WritePropertyName("database_file"); + writer.WriteStringValue(DatabaseFileValue); + } + + if (!string.IsNullOrEmpty(DescriptionValue)) + { + writer.WritePropertyName("description"); + writer.WriteStringValue(DescriptionValue); + } + + if (DownloadDatabaseOnPipelineCreationValue.HasValue) + { + writer.WritePropertyName("download_database_on_pipeline_creation"); + writer.WriteBooleanValue(DownloadDatabaseOnPipelineCreationValue.Value); + } + + writer.WritePropertyName("field"); + JsonSerializer.Serialize(writer, FieldValue, options); + if (FirstOnlyValue.HasValue) + { + writer.WritePropertyName("first_only"); + writer.WriteBooleanValue(FirstOnlyValue.Value); + } + + if (!string.IsNullOrEmpty(IfValue)) + { + writer.WritePropertyName("if"); + writer.WriteStringValue(IfValue); + } + + if (IgnoreFailureValue.HasValue) + { + writer.WritePropertyName("ignore_failure"); + writer.WriteBooleanValue(IgnoreFailureValue.Value); + } + + if (IgnoreMissingValue.HasValue) + { + writer.WritePropertyName("ignore_missing"); + writer.WriteBooleanValue(IgnoreMissingValue.Value); + } + + if (OnFailureDescriptor is not null) + { + writer.WritePropertyName("on_failure"); + writer.WriteStartArray(); + JsonSerializer.Serialize(writer, OnFailureDescriptor, options); + writer.WriteEndArray(); + } + else if (OnFailureDescriptorAction is not null) + { + writer.WritePropertyName("on_failure"); + writer.WriteStartArray(); + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.Serverless.Ingest.ProcessorDescriptor(OnFailureDescriptorAction), options); + writer.WriteEndArray(); + } + else if (OnFailureDescriptorActions is not null) + { + writer.WritePropertyName("on_failure"); + writer.WriteStartArray(); + foreach (var action in OnFailureDescriptorActions) + { + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.Serverless.Ingest.ProcessorDescriptor(action), options); + } + + writer.WriteEndArray(); + } + else if (OnFailureValue is not null) + { + writer.WritePropertyName("on_failure"); + JsonSerializer.Serialize(writer, OnFailureValue, options); + } + + if (PropertiesValue is not null) + { + writer.WritePropertyName("properties"); + JsonSerializer.Serialize(writer, PropertiesValue, options); + } + + if (!string.IsNullOrEmpty(TagValue)) + { + writer.WritePropertyName("tag"); + writer.WriteStringValue(TagValue); + } + + if (TargetFieldValue is not null) + { + writer.WritePropertyName("target_field"); + JsonSerializer.Serialize(writer, TargetFieldValue, options); + } + + writer.WriteEndObject(); + } +} + +public sealed partial class IpLocationProcessorDescriptor : SerializableDescriptor +{ + internal IpLocationProcessorDescriptor(Action configure) => configure.Invoke(this); + + public IpLocationProcessorDescriptor() : base() + { + } + + private string? DatabaseFileValue { get; set; } + private string? DescriptionValue { get; set; } + private bool? DownloadDatabaseOnPipelineCreationValue { get; set; } + private Elastic.Clients.Elasticsearch.Serverless.Field FieldValue { get; set; } + private bool? FirstOnlyValue { get; set; } + private string? IfValue { get; set; } + private bool? IgnoreFailureValue { get; set; } + private bool? IgnoreMissingValue { get; set; } + private ICollection? OnFailureValue { get; set; } + private Elastic.Clients.Elasticsearch.Serverless.Ingest.ProcessorDescriptor OnFailureDescriptor { get; set; } + private Action OnFailureDescriptorAction { get; set; } + private Action[] OnFailureDescriptorActions { get; set; } + private ICollection? PropertiesValue { get; set; } + private string? TagValue { get; set; } + private Elastic.Clients.Elasticsearch.Serverless.Field? TargetFieldValue { get; set; } + + /// + /// + /// The database filename referring to a database the module ships with (GeoLite2-City.mmdb, GeoLite2-Country.mmdb, or GeoLite2-ASN.mmdb) or a custom database in the ingest-geoip config directory. + /// + /// + public IpLocationProcessorDescriptor DatabaseFile(string? databaseFile) + { + DatabaseFileValue = databaseFile; + return Self; + } + + /// + /// + /// Description of the processor. + /// Useful for describing the purpose of the processor or its configuration. + /// + /// + public IpLocationProcessorDescriptor Description(string? description) + { + DescriptionValue = description; + return Self; + } + + /// + /// + /// If true (and if ingest.geoip.downloader.eager.download is false), the missing database is downloaded when the pipeline is created. + /// Else, the download is triggered by when the pipeline is used as the default_pipeline or final_pipeline in an index. + /// + /// + public IpLocationProcessorDescriptor DownloadDatabaseOnPipelineCreation(bool? downloadDatabaseOnPipelineCreation = true) + { + DownloadDatabaseOnPipelineCreationValue = downloadDatabaseOnPipelineCreation; + return Self; + } + + /// + /// + /// The field to get the ip address from for the geographical lookup. + /// + /// + public IpLocationProcessorDescriptor Field(Elastic.Clients.Elasticsearch.Serverless.Field field) + { + FieldValue = field; + return Self; + } + + /// + /// + /// The field to get the ip address from for the geographical lookup. + /// + /// + public IpLocationProcessorDescriptor Field(Expression> field) + { + FieldValue = field; + return Self; + } + + /// + /// + /// The field to get the ip address from for the geographical lookup. + /// + /// + public IpLocationProcessorDescriptor Field(Expression> field) + { + FieldValue = field; + return Self; + } + + /// + /// + /// If true, only the first found IP location data will be returned, even if the field contains an array. + /// + /// + public IpLocationProcessorDescriptor FirstOnly(bool? firstOnly = true) + { + FirstOnlyValue = firstOnly; + return Self; + } + + /// + /// + /// Conditionally execute the processor. + /// + /// + public IpLocationProcessorDescriptor If(string? value) + { + IfValue = value; + return Self; + } + + /// + /// + /// Ignore failures for the processor. + /// + /// + public IpLocationProcessorDescriptor IgnoreFailure(bool? ignoreFailure = true) + { + IgnoreFailureValue = ignoreFailure; + return Self; + } + + /// + /// + /// If true and field does not exist, the processor quietly exits without modifying the document. + /// + /// + public IpLocationProcessorDescriptor IgnoreMissing(bool? ignoreMissing = true) + { + IgnoreMissingValue = ignoreMissing; + return Self; + } + + /// + /// + /// Handle failures for the processor. + /// + /// + public IpLocationProcessorDescriptor OnFailure(ICollection? onFailure) + { + OnFailureDescriptor = null; + OnFailureDescriptorAction = null; + OnFailureDescriptorActions = null; + OnFailureValue = onFailure; + return Self; + } + + public IpLocationProcessorDescriptor OnFailure(Elastic.Clients.Elasticsearch.Serverless.Ingest.ProcessorDescriptor descriptor) + { + OnFailureValue = null; + OnFailureDescriptorAction = null; + OnFailureDescriptorActions = null; + OnFailureDescriptor = descriptor; + return Self; + } + + public IpLocationProcessorDescriptor OnFailure(Action configure) + { + OnFailureValue = null; + OnFailureDescriptor = null; + OnFailureDescriptorActions = null; + OnFailureDescriptorAction = configure; + return Self; + } + + public IpLocationProcessorDescriptor OnFailure(params Action[] configure) + { + OnFailureValue = null; + OnFailureDescriptor = null; + OnFailureDescriptorAction = null; + OnFailureDescriptorActions = configure; + return Self; + } + + /// + /// + /// Controls what properties are added to the target_field based on the IP location lookup. + /// + /// + public IpLocationProcessorDescriptor Properties(ICollection? properties) + { + PropertiesValue = properties; + return Self; + } + + /// + /// + /// Identifier for the processor. + /// Useful for debugging and metrics. + /// + /// + public IpLocationProcessorDescriptor Tag(string? tag) + { + TagValue = tag; + return Self; + } + + /// + /// + /// The field that will hold the geographical information looked up from the MaxMind database. + /// + /// + public IpLocationProcessorDescriptor TargetField(Elastic.Clients.Elasticsearch.Serverless.Field? targetField) + { + TargetFieldValue = targetField; + return Self; + } + + /// + /// + /// The field that will hold the geographical information looked up from the MaxMind database. + /// + /// + public IpLocationProcessorDescriptor TargetField(Expression> targetField) + { + TargetFieldValue = targetField; + return Self; + } + + /// + /// + /// The field that will hold the geographical information looked up from the MaxMind database. + /// + /// + public IpLocationProcessorDescriptor TargetField(Expression> targetField) + { + TargetFieldValue = targetField; + return Self; + } + + protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) + { + writer.WriteStartObject(); + if (!string.IsNullOrEmpty(DatabaseFileValue)) + { + writer.WritePropertyName("database_file"); + writer.WriteStringValue(DatabaseFileValue); + } + + if (!string.IsNullOrEmpty(DescriptionValue)) + { + writer.WritePropertyName("description"); + writer.WriteStringValue(DescriptionValue); + } + + if (DownloadDatabaseOnPipelineCreationValue.HasValue) + { + writer.WritePropertyName("download_database_on_pipeline_creation"); + writer.WriteBooleanValue(DownloadDatabaseOnPipelineCreationValue.Value); + } + + writer.WritePropertyName("field"); + JsonSerializer.Serialize(writer, FieldValue, options); + if (FirstOnlyValue.HasValue) + { + writer.WritePropertyName("first_only"); + writer.WriteBooleanValue(FirstOnlyValue.Value); + } + + if (!string.IsNullOrEmpty(IfValue)) + { + writer.WritePropertyName("if"); + writer.WriteStringValue(IfValue); + } + + if (IgnoreFailureValue.HasValue) + { + writer.WritePropertyName("ignore_failure"); + writer.WriteBooleanValue(IgnoreFailureValue.Value); + } + + if (IgnoreMissingValue.HasValue) + { + writer.WritePropertyName("ignore_missing"); + writer.WriteBooleanValue(IgnoreMissingValue.Value); + } + + if (OnFailureDescriptor is not null) + { + writer.WritePropertyName("on_failure"); + writer.WriteStartArray(); + JsonSerializer.Serialize(writer, OnFailureDescriptor, options); + writer.WriteEndArray(); + } + else if (OnFailureDescriptorAction is not null) + { + writer.WritePropertyName("on_failure"); + writer.WriteStartArray(); + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.Serverless.Ingest.ProcessorDescriptor(OnFailureDescriptorAction), options); + writer.WriteEndArray(); + } + else if (OnFailureDescriptorActions is not null) + { + writer.WritePropertyName("on_failure"); + writer.WriteStartArray(); + foreach (var action in OnFailureDescriptorActions) + { + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.Serverless.Ingest.ProcessorDescriptor(action), options); + } + + writer.WriteEndArray(); + } + else if (OnFailureValue is not null) + { + writer.WritePropertyName("on_failure"); + JsonSerializer.Serialize(writer, OnFailureValue, options); + } + + if (PropertiesValue is not null) + { + writer.WritePropertyName("properties"); + JsonSerializer.Serialize(writer, PropertiesValue, options); + } + + if (!string.IsNullOrEmpty(TagValue)) + { + writer.WritePropertyName("tag"); + writer.WriteStringValue(TagValue); + } + + if (TargetFieldValue is not null) + { + writer.WritePropertyName("target_field"); + JsonSerializer.Serialize(writer, TargetFieldValue, options); + } + + writer.WriteEndObject(); + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Ingest/Processor.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Ingest/Processor.g.cs index a9e21af1863..f464444d218 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Ingest/Processor.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Ingest/Processor.g.cs @@ -68,6 +68,7 @@ internal Processor(string variantName, object variant) public static Processor Gsub(Elastic.Clients.Elasticsearch.Serverless.Ingest.GsubProcessor gsubProcessor) => new Processor("gsub", gsubProcessor); public static Processor HtmlStrip(Elastic.Clients.Elasticsearch.Serverless.Ingest.HtmlStripProcessor htmlStripProcessor) => new Processor("html_strip", htmlStripProcessor); public static Processor Inference(Elastic.Clients.Elasticsearch.Serverless.Ingest.InferenceProcessor inferenceProcessor) => new Processor("inference", inferenceProcessor); + public static Processor IpLocation(Elastic.Clients.Elasticsearch.Serverless.Ingest.IpLocationProcessor ipLocationProcessor) => new Processor("ip_location", ipLocationProcessor); public static Processor Join(Elastic.Clients.Elasticsearch.Serverless.Ingest.JoinProcessor joinProcessor) => new Processor("join", joinProcessor); public static Processor Json(Elastic.Clients.Elasticsearch.Serverless.Ingest.JsonProcessor jsonProcessor) => new Processor("json", jsonProcessor); public static Processor Kv(Elastic.Clients.Elasticsearch.Serverless.Ingest.KeyValueProcessor keyValueProcessor) => new Processor("kv", keyValueProcessor); @@ -283,6 +284,13 @@ public override Processor Read(ref Utf8JsonReader reader, Type typeToConvert, Js continue; } + if (propertyName == "ip_location") + { + variantValue = JsonSerializer.Deserialize(ref reader, options); + variantNameValue = propertyName; + continue; + } + if (propertyName == "join") { variantValue = JsonSerializer.Deserialize(ref reader, options); @@ -518,6 +526,9 @@ public override void Write(Utf8JsonWriter writer, Processor value, JsonSerialize case "inference": JsonSerializer.Serialize(writer, (Elastic.Clients.Elasticsearch.Serverless.Ingest.InferenceProcessor)value.Variant, options); break; + case "ip_location": + JsonSerializer.Serialize(writer, (Elastic.Clients.Elasticsearch.Serverless.Ingest.IpLocationProcessor)value.Variant, options); + break; case "join": JsonSerializer.Serialize(writer, (Elastic.Clients.Elasticsearch.Serverless.Ingest.JoinProcessor)value.Variant, options); break; @@ -666,6 +677,8 @@ private ProcessorDescriptor Set(object variant, string variantName) public ProcessorDescriptor HtmlStrip(Action> configure) => Set(configure, "html_strip"); public ProcessorDescriptor Inference(Elastic.Clients.Elasticsearch.Serverless.Ingest.InferenceProcessor inferenceProcessor) => Set(inferenceProcessor, "inference"); public ProcessorDescriptor Inference(Action> configure) => Set(configure, "inference"); + public ProcessorDescriptor IpLocation(Elastic.Clients.Elasticsearch.Serverless.Ingest.IpLocationProcessor ipLocationProcessor) => Set(ipLocationProcessor, "ip_location"); + public ProcessorDescriptor IpLocation(Action> configure) => Set(configure, "ip_location"); public ProcessorDescriptor Join(Elastic.Clients.Elasticsearch.Serverless.Ingest.JoinProcessor joinProcessor) => Set(joinProcessor, "join"); public ProcessorDescriptor Join(Action> configure) => Set(configure, "join"); public ProcessorDescriptor Json(Elastic.Clients.Elasticsearch.Serverless.Ingest.JsonProcessor jsonProcessor) => Set(jsonProcessor, "json"); @@ -806,6 +819,8 @@ private ProcessorDescriptor Set(object variant, string variantName) public ProcessorDescriptor HtmlStrip(Action configure) => Set(configure, "html_strip"); public ProcessorDescriptor Inference(Elastic.Clients.Elasticsearch.Serverless.Ingest.InferenceProcessor inferenceProcessor) => Set(inferenceProcessor, "inference"); public ProcessorDescriptor Inference(Action configure) => Set(configure, "inference"); + public ProcessorDescriptor IpLocation(Elastic.Clients.Elasticsearch.Serverless.Ingest.IpLocationProcessor ipLocationProcessor) => Set(ipLocationProcessor, "ip_location"); + public ProcessorDescriptor IpLocation(Action configure) => Set(configure, "ip_location"); public ProcessorDescriptor Join(Elastic.Clients.Elasticsearch.Serverless.Ingest.JoinProcessor joinProcessor) => Set(joinProcessor, "join"); public ProcessorDescriptor Join(Action configure) => Set(configure, "join"); public ProcessorDescriptor Json(Elastic.Clients.Elasticsearch.Serverless.Ingest.JsonProcessor jsonProcessor) => Set(jsonProcessor, "json"); diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/KnnRetriever.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/KnnRetriever.g.cs index fb0452abfbd..12e19169c80 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/KnnRetriever.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/KnnRetriever.g.cs @@ -54,6 +54,14 @@ public sealed partial class KnnRetriever [JsonInclude, JsonPropertyName("k")] public int k { get; set; } + /// + /// + /// Minimum _score for matching documents. Documents with a lower _score are not included in the top documents. + /// + /// + [JsonInclude, JsonPropertyName("min_score")] + public float? MinScore { get; set; } + /// /// /// Number of nearest neighbor candidates to consider per shard. @@ -103,6 +111,7 @@ public KnnRetrieverDescriptor() : base() private Action> FilterDescriptorAction { get; set; } private Action>[] FilterDescriptorActions { get; set; } private int kValue { get; set; } + private float? MinScoreValue { get; set; } private int NumCandidatesValue { get; set; } private ICollection? QueryVectorValue { get; set; } private Elastic.Clients.Elasticsearch.Serverless.QueryVectorBuilder? QueryVectorBuilderValue { get; set; } @@ -173,6 +182,17 @@ public KnnRetrieverDescriptor k(int k) return Self; } + /// + /// + /// Minimum _score for matching documents. Documents with a lower _score are not included in the top documents. + /// + /// + public KnnRetrieverDescriptor MinScore(float? minScore) + { + MinScoreValue = minScore; + return Self; + } + /// /// /// Number of nearest neighbor candidates to consider per shard. @@ -271,6 +291,12 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o writer.WritePropertyName("k"); writer.WriteNumberValue(kValue); + if (MinScoreValue.HasValue) + { + writer.WritePropertyName("min_score"); + writer.WriteNumberValue(MinScoreValue.Value); + } + writer.WritePropertyName("num_candidates"); writer.WriteNumberValue(NumCandidatesValue); if (QueryVectorValue is not null) @@ -319,6 +345,7 @@ public KnnRetrieverDescriptor() : base() private Action FilterDescriptorAction { get; set; } private Action[] FilterDescriptorActions { get; set; } private int kValue { get; set; } + private float? MinScoreValue { get; set; } private int NumCandidatesValue { get; set; } private ICollection? QueryVectorValue { get; set; } private Elastic.Clients.Elasticsearch.Serverless.QueryVectorBuilder? QueryVectorBuilderValue { get; set; } @@ -389,6 +416,17 @@ public KnnRetrieverDescriptor k(int k) return Self; } + /// + /// + /// Minimum _score for matching documents. Documents with a lower _score are not included in the top documents. + /// + /// + public KnnRetrieverDescriptor MinScore(float? minScore) + { + MinScoreValue = minScore; + return Self; + } + /// /// /// Number of nearest neighbor candidates to consider per shard. @@ -487,6 +525,12 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o writer.WritePropertyName("k"); writer.WriteNumberValue(kValue); + if (MinScoreValue.HasValue) + { + writer.WritePropertyName("min_score"); + writer.WriteNumberValue(MinScoreValue.Value); + } + writer.WritePropertyName("num_candidates"); writer.WriteNumberValue(NumCandidatesValue); if (QueryVectorValue is not null) diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Mapping/GeoShapeProperty.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Mapping/GeoShapeProperty.g.cs index 3010b77459a..4329dd0d730 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Mapping/GeoShapeProperty.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Mapping/GeoShapeProperty.g.cs @@ -32,7 +32,7 @@ namespace Elastic.Clients.Elasticsearch.Serverless.Mapping; /// The geo_shape data type facilitates the indexing of and searching with arbitrary geo shapes such as rectangles /// and polygons. /// -/// Learn more about this API in the Elasticsearch documentation. +/// Learn more about this API in the Elasticsearch documentation. /// public sealed partial class GeoShapeProperty : IProperty { @@ -79,7 +79,7 @@ public sealed partial class GeoShapeProperty : IProperty /// The geo_shape data type facilitates the indexing of and searching with arbitrary geo shapes such as rectangles /// and polygons. /// -/// Learn more about this API in the Elasticsearch documentation. +/// Learn more about this API in the Elasticsearch documentation. /// public sealed partial class GeoShapePropertyDescriptor : SerializableDescriptor>, IBuildableDescriptor { @@ -323,7 +323,7 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o /// The geo_shape data type facilitates the indexing of and searching with arbitrary geo shapes such as rectangles /// and polygons. /// -/// Learn more about this API in the Elasticsearch documentation. +/// Learn more about this API in the Elasticsearch documentation. /// public sealed partial class GeoShapePropertyDescriptor : SerializableDescriptor, IBuildableDescriptor { diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Mapping/ShapeProperty.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Mapping/ShapeProperty.g.cs index 814616b3ad7..54089be8fe1 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Mapping/ShapeProperty.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Mapping/ShapeProperty.g.cs @@ -32,7 +32,7 @@ namespace Elastic.Clients.Elasticsearch.Serverless.Mapping; /// The shape data type facilitates the indexing of and searching with arbitrary x, y cartesian shapes such as /// rectangles and polygons. /// -/// Learn more about this API in the Elasticsearch documentation. +/// Learn more about this API in the Elasticsearch documentation. /// public sealed partial class ShapeProperty : IProperty { @@ -77,7 +77,7 @@ public sealed partial class ShapeProperty : IProperty /// The shape data type facilitates the indexing of and searching with arbitrary x, y cartesian shapes such as /// rectangles and polygons. /// -/// Learn more about this API in the Elasticsearch documentation. +/// Learn more about this API in the Elasticsearch documentation. /// public sealed partial class ShapePropertyDescriptor : SerializableDescriptor>, IBuildableDescriptor { @@ -307,7 +307,7 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o /// The shape data type facilitates the indexing of and searching with arbitrary x, y cartesian shapes such as /// rectangles and polygons. /// -/// Learn more about this API in the Elasticsearch documentation. +/// Learn more about this API in the Elasticsearch documentation. /// public sealed partial class ShapePropertyDescriptor : SerializableDescriptor, IBuildableDescriptor { diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/QueryDsl/Like.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/QueryDsl/Like.g.cs index afdf01fd760..64351880ea5 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/QueryDsl/Like.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/QueryDsl/Like.g.cs @@ -34,7 +34,7 @@ namespace Elastic.Clients.Elasticsearch.Serverless.QueryDsl; /// /// Text that we want similar documents for or a lookup to a document's field for the text. /// -/// Learn more about this API in the Elasticsearch documentation. +/// Learn more about this API in the Elasticsearch documentation. /// public sealed partial class Like : Union { diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/QueryDsl/Query.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/QueryDsl/Query.g.cs index dda17d5a3bb..a4fda513598 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/QueryDsl/Query.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/QueryDsl/Query.g.cs @@ -28,9 +28,6 @@ namespace Elastic.Clients.Elasticsearch.Serverless.QueryDsl; -/// -/// Learn more about this API in the Elasticsearch documentation. -/// [JsonConverter(typeof(QueryConverter))] public sealed partial class Query { @@ -108,8 +105,6 @@ internal Query(string variantName, object variant) public static Query Term(Elastic.Clients.Elasticsearch.Serverless.QueryDsl.TermQuery termQuery) => new Query("term", termQuery); public static Query Terms(Elastic.Clients.Elasticsearch.Serverless.QueryDsl.TermsQuery termsQuery) => new Query("terms", termsQuery); public static Query TermsSet(Elastic.Clients.Elasticsearch.Serverless.QueryDsl.TermsSetQuery termsSetQuery) => new Query("terms_set", termsSetQuery); - public static Query TextExpansion(Elastic.Clients.Elasticsearch.Serverless.QueryDsl.TextExpansionQuery textExpansionQuery) => new Query("text_expansion", textExpansionQuery); - public static Query WeightedTokens(Elastic.Clients.Elasticsearch.Serverless.QueryDsl.WeightedTokensQuery weightedTokensQuery) => new Query("weighted_tokens", weightedTokensQuery); public static Query Wildcard(Elastic.Clients.Elasticsearch.Serverless.QueryDsl.WildcardQuery wildcardQuery) => new Query("wildcard", wildcardQuery); public static Query Wrapper(Elastic.Clients.Elasticsearch.Serverless.QueryDsl.WrapperQuery wrapperQuery) => new Query("wrapper", wrapperQuery); @@ -529,20 +524,6 @@ public override Query Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSe continue; } - if (propertyName == "text_expansion") - { - variantValue = JsonSerializer.Deserialize(ref reader, options); - variantNameValue = propertyName; - continue; - } - - if (propertyName == "weighted_tokens") - { - variantValue = JsonSerializer.Deserialize(ref reader, options); - variantNameValue = propertyName; - continue; - } - if (propertyName == "wildcard") { variantValue = JsonSerializer.Deserialize(ref reader, options); @@ -734,12 +715,6 @@ public override void Write(Utf8JsonWriter writer, Query value, JsonSerializerOpt case "terms_set": JsonSerializer.Serialize(writer, (Elastic.Clients.Elasticsearch.Serverless.QueryDsl.TermsSetQuery)value.Variant, options); break; - case "text_expansion": - JsonSerializer.Serialize(writer, (Elastic.Clients.Elasticsearch.Serverless.QueryDsl.TextExpansionQuery)value.Variant, options); - break; - case "weighted_tokens": - JsonSerializer.Serialize(writer, (Elastic.Clients.Elasticsearch.Serverless.QueryDsl.WeightedTokensQuery)value.Variant, options); - break; case "wildcard": JsonSerializer.Serialize(writer, (Elastic.Clients.Elasticsearch.Serverless.QueryDsl.WildcardQuery)value.Variant, options); break; @@ -894,10 +869,6 @@ private QueryDescriptor Set(object variant, string variantName) public QueryDescriptor Terms(Action> configure) => Set(configure, "terms"); public QueryDescriptor TermsSet(Elastic.Clients.Elasticsearch.Serverless.QueryDsl.TermsSetQuery termsSetQuery) => Set(termsSetQuery, "terms_set"); public QueryDescriptor TermsSet(Action> configure) => Set(configure, "terms_set"); - public QueryDescriptor TextExpansion(Elastic.Clients.Elasticsearch.Serverless.QueryDsl.TextExpansionQuery textExpansionQuery) => Set(textExpansionQuery, "text_expansion"); - public QueryDescriptor TextExpansion(Action> configure) => Set(configure, "text_expansion"); - public QueryDescriptor WeightedTokens(Elastic.Clients.Elasticsearch.Serverless.QueryDsl.WeightedTokensQuery weightedTokensQuery) => Set(weightedTokensQuery, "weighted_tokens"); - public QueryDescriptor WeightedTokens(Action> configure) => Set(configure, "weighted_tokens"); public QueryDescriptor Wildcard(Elastic.Clients.Elasticsearch.Serverless.QueryDsl.WildcardQuery wildcardQuery) => Set(wildcardQuery, "wildcard"); public QueryDescriptor Wildcard(Action> configure) => Set(configure, "wildcard"); public QueryDescriptor Wrapper(Elastic.Clients.Elasticsearch.Serverless.QueryDsl.WrapperQuery wrapperQuery) => Set(wrapperQuery, "wrapper"); @@ -1064,10 +1035,6 @@ private QueryDescriptor Set(object variant, string variantName) public QueryDescriptor Terms(Action configure) => Set(configure, "terms"); public QueryDescriptor TermsSet(Elastic.Clients.Elasticsearch.Serverless.QueryDsl.TermsSetQuery termsSetQuery) => Set(termsSetQuery, "terms_set"); public QueryDescriptor TermsSet(Action configure) => Set(configure, "terms_set"); - public QueryDescriptor TextExpansion(Elastic.Clients.Elasticsearch.Serverless.QueryDsl.TextExpansionQuery textExpansionQuery) => Set(textExpansionQuery, "text_expansion"); - public QueryDescriptor TextExpansion(Action configure) => Set(configure, "text_expansion"); - public QueryDescriptor WeightedTokens(Elastic.Clients.Elasticsearch.Serverless.QueryDsl.WeightedTokensQuery weightedTokensQuery) => Set(weightedTokensQuery, "weighted_tokens"); - public QueryDescriptor WeightedTokens(Action configure) => Set(configure, "weighted_tokens"); public QueryDescriptor Wildcard(Elastic.Clients.Elasticsearch.Serverless.QueryDsl.WildcardQuery wildcardQuery) => Set(wildcardQuery, "wildcard"); public QueryDescriptor Wildcard(Action configure) => Set(configure, "wildcard"); public QueryDescriptor Wrapper(Elastic.Clients.Elasticsearch.Serverless.QueryDsl.WrapperQuery wrapperQuery) => Set(wrapperQuery, "wrapper"); diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/QueryDsl/TermsQuery.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/QueryDsl/TermsQuery.g.cs index c40bc83f2ba..ed80e1a50a8 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/QueryDsl/TermsQuery.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/QueryDsl/TermsQuery.g.cs @@ -53,7 +53,7 @@ public override TermsQuery Read(ref Utf8JsonReader reader, Type typeToConvert, J variant.Field = property; reader.Read(); - variant.Term = JsonSerializer.Deserialize(ref reader, options); + variant.Terms = JsonSerializer.Deserialize(ref reader, options); } } @@ -63,7 +63,7 @@ public override TermsQuery Read(ref Utf8JsonReader reader, Type typeToConvert, J public override void Write(Utf8JsonWriter writer, TermsQuery value, JsonSerializerOptions options) { writer.WriteStartObject(); - if (value.Field is not null && value.Term is not null) + if (value.Field is not null && value.Terms is not null) { if (!options.TryGetClientSettings(out var settings)) { @@ -72,7 +72,7 @@ public override void Write(Utf8JsonWriter writer, TermsQuery value, JsonSerializ var propertyName = settings.Inferrer.Field(value.Field); writer.WritePropertyName(propertyName); - JsonSerializer.Serialize(writer, value.Term, options); + JsonSerializer.Serialize(writer, value.Terms, options); } if (value.Boost.HasValue) @@ -105,7 +105,7 @@ public sealed partial class TermsQuery public float? Boost { get; set; } public Elastic.Clients.Elasticsearch.Serverless.Field Field { get; set; } public string? QueryName { get; set; } - public Elastic.Clients.Elasticsearch.Serverless.QueryDsl.TermsQueryField Term { get; set; } + public Elastic.Clients.Elasticsearch.Serverless.QueryDsl.TermsQueryField Terms { get; set; } public static implicit operator Elastic.Clients.Elasticsearch.Serverless.QueryDsl.Query(TermsQuery termsQuery) => Elastic.Clients.Elasticsearch.Serverless.QueryDsl.Query.Terms(termsQuery); public static implicit operator Elastic.Clients.Elasticsearch.Serverless.Security.ApiKeyQuery(TermsQuery termsQuery) => Elastic.Clients.Elasticsearch.Serverless.Security.ApiKeyQuery.Terms(termsQuery); @@ -124,7 +124,7 @@ public TermsQueryDescriptor() : base() private float? BoostValue { get; set; } private Elastic.Clients.Elasticsearch.Serverless.Field FieldValue { get; set; } private string? QueryNameValue { get; set; } - private Elastic.Clients.Elasticsearch.Serverless.QueryDsl.TermsQueryField TermValue { get; set; } + private Elastic.Clients.Elasticsearch.Serverless.QueryDsl.TermsQueryField TermsValue { get; set; } /// /// @@ -164,20 +164,20 @@ public TermsQueryDescriptor QueryName(string? queryName) return Self; } - public TermsQueryDescriptor Term(Elastic.Clients.Elasticsearch.Serverless.QueryDsl.TermsQueryField term) + public TermsQueryDescriptor Terms(Elastic.Clients.Elasticsearch.Serverless.QueryDsl.TermsQueryField terms) { - TermValue = term; + TermsValue = terms; return Self; } protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) { writer.WriteStartObject(); - if (FieldValue is not null && TermValue is not null) + if (FieldValue is not null && TermsValue is not null) { var propertyName = settings.Inferrer.Field(FieldValue); writer.WritePropertyName(propertyName); - JsonSerializer.Serialize(writer, TermValue, options); + JsonSerializer.Serialize(writer, TermsValue, options); } if (BoostValue.HasValue) @@ -207,7 +207,7 @@ public TermsQueryDescriptor() : base() private float? BoostValue { get; set; } private Elastic.Clients.Elasticsearch.Serverless.Field FieldValue { get; set; } private string? QueryNameValue { get; set; } - private Elastic.Clients.Elasticsearch.Serverless.QueryDsl.TermsQueryField TermValue { get; set; } + private Elastic.Clients.Elasticsearch.Serverless.QueryDsl.TermsQueryField TermsValue { get; set; } /// /// @@ -247,20 +247,20 @@ public TermsQueryDescriptor QueryName(string? queryName) return Self; } - public TermsQueryDescriptor Term(Elastic.Clients.Elasticsearch.Serverless.QueryDsl.TermsQueryField term) + public TermsQueryDescriptor Terms(Elastic.Clients.Elasticsearch.Serverless.QueryDsl.TermsQueryField terms) { - TermValue = term; + TermsValue = terms; return Self; } protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) { writer.WriteStartObject(); - if (FieldValue is not null && TermValue is not null) + if (FieldValue is not null && TermsValue is not null) { var propertyName = settings.Inferrer.Field(FieldValue); writer.WritePropertyName(propertyName); - JsonSerializer.Serialize(writer, TermValue, options); + JsonSerializer.Serialize(writer, TermsValue, options); } if (BoostValue.HasValue) diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/QueryDsl/TextExpansionQuery.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/QueryDsl/TextExpansionQuery.g.cs deleted file mode 100644 index c81b812bd62..00000000000 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/QueryDsl/TextExpansionQuery.g.cs +++ /dev/null @@ -1,346 +0,0 @@ -// 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 Elastic.Clients.Elasticsearch.Serverless.Fluent; -using Elastic.Clients.Elasticsearch.Serverless.Serialization; -using System; -using System.Collections.Generic; -using System.Linq.Expressions; -using System.Text.Json; -using System.Text.Json.Serialization; - -namespace Elastic.Clients.Elasticsearch.Serverless.QueryDsl; - -internal sealed partial class TextExpansionQueryConverter : JsonConverter -{ - public override TextExpansionQuery Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) - { - if (reader.TokenType != JsonTokenType.StartObject) - throw new JsonException("Unexpected JSON detected."); - reader.Read(); - var fieldName = reader.GetString(); - reader.Read(); - var variant = new TextExpansionQuery(fieldName); - while (reader.Read() && reader.TokenType != JsonTokenType.EndObject) - { - if (reader.TokenType == JsonTokenType.PropertyName) - { - var property = reader.GetString(); - if (property == "boost") - { - variant.Boost = JsonSerializer.Deserialize(ref reader, options); - continue; - } - - if (property == "model_id") - { - variant.ModelId = JsonSerializer.Deserialize(ref reader, options); - continue; - } - - if (property == "model_text") - { - variant.ModelText = JsonSerializer.Deserialize(ref reader, options); - continue; - } - - if (property == "_name") - { - variant.QueryName = JsonSerializer.Deserialize(ref reader, options); - continue; - } - } - } - - reader.Read(); - return variant; - } - - public override void Write(Utf8JsonWriter writer, TextExpansionQuery value, JsonSerializerOptions options) - { - if (value.Field is null) - throw new JsonException("Unable to serialize TextExpansionQuery because the `Field` property is not set. Field name queries must include a valid field name."); - if (!options.TryGetClientSettings(out var settings)) - throw new JsonException("Unable to retrieve client settings required to infer field."); - writer.WriteStartObject(); - writer.WritePropertyName(settings.Inferrer.Field(value.Field)); - writer.WriteStartObject(); - if (value.Boost.HasValue) - { - writer.WritePropertyName("boost"); - writer.WriteNumberValue(value.Boost.Value); - } - - writer.WritePropertyName("model_id"); - writer.WriteStringValue(value.ModelId); - writer.WritePropertyName("model_text"); - writer.WriteStringValue(value.ModelText); - if (!string.IsNullOrEmpty(value.QueryName)) - { - writer.WritePropertyName("_name"); - writer.WriteStringValue(value.QueryName); - } - - writer.WriteEndObject(); - writer.WriteEndObject(); - } -} - -[JsonConverter(typeof(TextExpansionQueryConverter))] -public sealed partial class TextExpansionQuery -{ - public TextExpansionQuery(Elastic.Clients.Elasticsearch.Serverless.Field field) - { - if (field is null) - throw new ArgumentNullException(nameof(field)); - Field = field; - } - - /// - /// - /// Floating point number used to decrease or increase the relevance scores of the query. - /// Boost values are relative to the default value of 1.0. - /// A boost value between 0 and 1.0 decreases the relevance score. - /// A value greater than 1.0 increases the relevance score. - /// - /// - public float? Boost { get; set; } - public Elastic.Clients.Elasticsearch.Serverless.Field Field { get; set; } - - /// - /// - /// The text expansion NLP model to use - /// - /// - public string ModelId { get; set; } - - /// - /// - /// The query text - /// - /// - public string ModelText { get; set; } - public string? QueryName { get; set; } - - public static implicit operator Elastic.Clients.Elasticsearch.Serverless.QueryDsl.Query(TextExpansionQuery textExpansionQuery) => Elastic.Clients.Elasticsearch.Serverless.QueryDsl.Query.TextExpansion(textExpansionQuery); -} - -public sealed partial class TextExpansionQueryDescriptor : SerializableDescriptor> -{ - internal TextExpansionQueryDescriptor(Action> configure) => configure.Invoke(this); - - public TextExpansionQueryDescriptor() : base() - { - } - - private float? BoostValue { get; set; } - private Elastic.Clients.Elasticsearch.Serverless.Field FieldValue { get; set; } - private string ModelIdValue { get; set; } - private string ModelTextValue { get; set; } - private string? QueryNameValue { get; set; } - - /// - /// - /// Floating point number used to decrease or increase the relevance scores of the query. - /// Boost values are relative to the default value of 1.0. - /// A boost value between 0 and 1.0 decreases the relevance score. - /// A value greater than 1.0 increases the relevance score. - /// - /// - public TextExpansionQueryDescriptor Boost(float? boost) - { - BoostValue = boost; - return Self; - } - - public TextExpansionQueryDescriptor Field(Elastic.Clients.Elasticsearch.Serverless.Field field) - { - FieldValue = field; - return Self; - } - - public TextExpansionQueryDescriptor Field(Expression> field) - { - FieldValue = field; - return Self; - } - - public TextExpansionQueryDescriptor Field(Expression> field) - { - FieldValue = field; - return Self; - } - - /// - /// - /// The text expansion NLP model to use - /// - /// - public TextExpansionQueryDescriptor ModelId(string modelId) - { - ModelIdValue = modelId; - return Self; - } - - /// - /// - /// The query text - /// - /// - public TextExpansionQueryDescriptor ModelText(string modelText) - { - ModelTextValue = modelText; - return Self; - } - - public TextExpansionQueryDescriptor QueryName(string? queryName) - { - QueryNameValue = queryName; - return Self; - } - - protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) - { - if (FieldValue is null) - throw new JsonException("Unable to serialize field name query descriptor with a null field. Ensure you use a suitable descriptor constructor or call the Field method, passing a non-null value for the field argument."); - writer.WriteStartObject(); - writer.WritePropertyName(settings.Inferrer.Field(FieldValue)); - writer.WriteStartObject(); - if (BoostValue.HasValue) - { - writer.WritePropertyName("boost"); - writer.WriteNumberValue(BoostValue.Value); - } - - writer.WritePropertyName("model_id"); - writer.WriteStringValue(ModelIdValue); - writer.WritePropertyName("model_text"); - writer.WriteStringValue(ModelTextValue); - if (!string.IsNullOrEmpty(QueryNameValue)) - { - writer.WritePropertyName("_name"); - writer.WriteStringValue(QueryNameValue); - } - - writer.WriteEndObject(); - writer.WriteEndObject(); - } -} - -public sealed partial class TextExpansionQueryDescriptor : SerializableDescriptor -{ - internal TextExpansionQueryDescriptor(Action configure) => configure.Invoke(this); - - public TextExpansionQueryDescriptor() : base() - { - } - - private float? BoostValue { get; set; } - private Elastic.Clients.Elasticsearch.Serverless.Field FieldValue { get; set; } - private string ModelIdValue { get; set; } - private string ModelTextValue { get; set; } - private string? QueryNameValue { get; set; } - - /// - /// - /// Floating point number used to decrease or increase the relevance scores of the query. - /// Boost values are relative to the default value of 1.0. - /// A boost value between 0 and 1.0 decreases the relevance score. - /// A value greater than 1.0 increases the relevance score. - /// - /// - public TextExpansionQueryDescriptor Boost(float? boost) - { - BoostValue = boost; - return Self; - } - - public TextExpansionQueryDescriptor Field(Elastic.Clients.Elasticsearch.Serverless.Field field) - { - FieldValue = field; - return Self; - } - - public TextExpansionQueryDescriptor Field(Expression> field) - { - FieldValue = field; - return Self; - } - - public TextExpansionQueryDescriptor Field(Expression> field) - { - FieldValue = field; - return Self; - } - - /// - /// - /// The text expansion NLP model to use - /// - /// - public TextExpansionQueryDescriptor ModelId(string modelId) - { - ModelIdValue = modelId; - return Self; - } - - /// - /// - /// The query text - /// - /// - public TextExpansionQueryDescriptor ModelText(string modelText) - { - ModelTextValue = modelText; - return Self; - } - - public TextExpansionQueryDescriptor QueryName(string? queryName) - { - QueryNameValue = queryName; - return Self; - } - - protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) - { - if (FieldValue is null) - throw new JsonException("Unable to serialize field name query descriptor with a null field. Ensure you use a suitable descriptor constructor or call the Field method, passing a non-null value for the field argument."); - writer.WriteStartObject(); - writer.WritePropertyName(settings.Inferrer.Field(FieldValue)); - writer.WriteStartObject(); - if (BoostValue.HasValue) - { - writer.WritePropertyName("boost"); - writer.WriteNumberValue(BoostValue.Value); - } - - writer.WritePropertyName("model_id"); - writer.WriteStringValue(ModelIdValue); - writer.WritePropertyName("model_text"); - writer.WriteStringValue(ModelTextValue); - if (!string.IsNullOrEmpty(QueryNameValue)) - { - writer.WritePropertyName("_name"); - writer.WriteStringValue(QueryNameValue); - } - - writer.WriteEndObject(); - writer.WriteEndObject(); - } -} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/QueryDsl/TokenPruningConfig.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/QueryDsl/TokenPruningConfig.g.cs deleted file mode 100644 index d88690d7268..00000000000 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/QueryDsl/TokenPruningConfig.g.cs +++ /dev/null @@ -1,125 +0,0 @@ -// 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 Elastic.Clients.Elasticsearch.Serverless.Fluent; -using Elastic.Clients.Elasticsearch.Serverless.Serialization; -using System; -using System.Collections.Generic; -using System.Linq.Expressions; -using System.Text.Json; -using System.Text.Json.Serialization; - -namespace Elastic.Clients.Elasticsearch.Serverless.QueryDsl; - -public sealed partial class TokenPruningConfig -{ - /// - /// - /// Whether to only score pruned tokens, vs only scoring kept tokens. - /// - /// - [JsonInclude, JsonPropertyName("only_score_pruned_tokens")] - public bool? OnlyScorePrunedTokens { get; set; } - - /// - /// - /// Tokens whose frequency is more than this threshold times the average frequency of all tokens in the specified field are considered outliers and pruned. - /// - /// - [JsonInclude, JsonPropertyName("tokens_freq_ratio_threshold")] - public int? TokensFreqRatioThreshold { get; set; } - - /// - /// - /// Tokens whose weight is less than this threshold are considered nonsignificant and pruned. - /// - /// - [JsonInclude, JsonPropertyName("tokens_weight_threshold")] - public float? TokensWeightThreshold { get; set; } -} - -public sealed partial class TokenPruningConfigDescriptor : SerializableDescriptor -{ - internal TokenPruningConfigDescriptor(Action configure) => configure.Invoke(this); - - public TokenPruningConfigDescriptor() : base() - { - } - - private bool? OnlyScorePrunedTokensValue { get; set; } - private int? TokensFreqRatioThresholdValue { get; set; } - private float? TokensWeightThresholdValue { get; set; } - - /// - /// - /// Whether to only score pruned tokens, vs only scoring kept tokens. - /// - /// - public TokenPruningConfigDescriptor OnlyScorePrunedTokens(bool? onlyScorePrunedTokens = true) - { - OnlyScorePrunedTokensValue = onlyScorePrunedTokens; - return Self; - } - - /// - /// - /// Tokens whose frequency is more than this threshold times the average frequency of all tokens in the specified field are considered outliers and pruned. - /// - /// - public TokenPruningConfigDescriptor TokensFreqRatioThreshold(int? tokensFreqRatioThreshold) - { - TokensFreqRatioThresholdValue = tokensFreqRatioThreshold; - return Self; - } - - /// - /// - /// Tokens whose weight is less than this threshold are considered nonsignificant and pruned. - /// - /// - public TokenPruningConfigDescriptor TokensWeightThreshold(float? tokensWeightThreshold) - { - TokensWeightThresholdValue = tokensWeightThreshold; - return Self; - } - - protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) - { - writer.WriteStartObject(); - if (OnlyScorePrunedTokensValue.HasValue) - { - writer.WritePropertyName("only_score_pruned_tokens"); - writer.WriteBooleanValue(OnlyScorePrunedTokensValue.Value); - } - - if (TokensFreqRatioThresholdValue.HasValue) - { - writer.WritePropertyName("tokens_freq_ratio_threshold"); - writer.WriteNumberValue(TokensFreqRatioThresholdValue.Value); - } - - if (TokensWeightThresholdValue.HasValue) - { - writer.WritePropertyName("tokens_weight_threshold"); - writer.WriteNumberValue(TokensWeightThresholdValue.Value); - } - - writer.WriteEndObject(); - } -} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/QueryDsl/WeightedTokensQuery.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/QueryDsl/WeightedTokensQuery.g.cs deleted file mode 100644 index 7a6599a9d21..00000000000 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/QueryDsl/WeightedTokensQuery.g.cs +++ /dev/null @@ -1,418 +0,0 @@ -// 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 Elastic.Clients.Elasticsearch.Serverless.Fluent; -using Elastic.Clients.Elasticsearch.Serverless.Serialization; -using System; -using System.Collections.Generic; -using System.Linq.Expressions; -using System.Text.Json; -using System.Text.Json.Serialization; - -namespace Elastic.Clients.Elasticsearch.Serverless.QueryDsl; - -internal sealed partial class WeightedTokensQueryConverter : JsonConverter -{ - public override WeightedTokensQuery Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) - { - if (reader.TokenType != JsonTokenType.StartObject) - throw new JsonException("Unexpected JSON detected."); - reader.Read(); - var fieldName = reader.GetString(); - reader.Read(); - var variant = new WeightedTokensQuery(fieldName); - while (reader.Read() && reader.TokenType != JsonTokenType.EndObject) - { - if (reader.TokenType == JsonTokenType.PropertyName) - { - var property = reader.GetString(); - if (property == "boost") - { - variant.Boost = JsonSerializer.Deserialize(ref reader, options); - continue; - } - - if (property == "pruning_config") - { - variant.PruningConfig = JsonSerializer.Deserialize(ref reader, options); - continue; - } - - if (property == "_name") - { - variant.QueryName = JsonSerializer.Deserialize(ref reader, options); - continue; - } - - if (property == "tokens") - { - variant.Tokens = JsonSerializer.Deserialize>(ref reader, options); - continue; - } - } - } - - reader.Read(); - return variant; - } - - public override void Write(Utf8JsonWriter writer, WeightedTokensQuery value, JsonSerializerOptions options) - { - if (value.Field is null) - throw new JsonException("Unable to serialize WeightedTokensQuery because the `Field` property is not set. Field name queries must include a valid field name."); - if (!options.TryGetClientSettings(out var settings)) - throw new JsonException("Unable to retrieve client settings required to infer field."); - writer.WriteStartObject(); - writer.WritePropertyName(settings.Inferrer.Field(value.Field)); - writer.WriteStartObject(); - if (value.Boost.HasValue) - { - writer.WritePropertyName("boost"); - writer.WriteNumberValue(value.Boost.Value); - } - - if (value.PruningConfig is not null) - { - writer.WritePropertyName("pruning_config"); - JsonSerializer.Serialize(writer, value.PruningConfig, options); - } - - if (!string.IsNullOrEmpty(value.QueryName)) - { - writer.WritePropertyName("_name"); - writer.WriteStringValue(value.QueryName); - } - - writer.WritePropertyName("tokens"); - JsonSerializer.Serialize(writer, value.Tokens, options); - writer.WriteEndObject(); - writer.WriteEndObject(); - } -} - -[JsonConverter(typeof(WeightedTokensQueryConverter))] -public sealed partial class WeightedTokensQuery -{ - public WeightedTokensQuery(Elastic.Clients.Elasticsearch.Serverless.Field field) - { - if (field is null) - throw new ArgumentNullException(nameof(field)); - Field = field; - } - - /// - /// - /// Floating point number used to decrease or increase the relevance scores of the query. - /// Boost values are relative to the default value of 1.0. - /// A boost value between 0 and 1.0 decreases the relevance score. - /// A value greater than 1.0 increases the relevance score. - /// - /// - public float? Boost { get; set; } - public Elastic.Clients.Elasticsearch.Serverless.Field Field { get; set; } - - /// - /// - /// Token pruning configurations - /// - /// - public Elastic.Clients.Elasticsearch.Serverless.QueryDsl.TokenPruningConfig? PruningConfig { get; set; } - public string? QueryName { get; set; } - - /// - /// - /// The tokens representing this query - /// - /// - public IDictionary Tokens { get; set; } - - public static implicit operator Elastic.Clients.Elasticsearch.Serverless.QueryDsl.Query(WeightedTokensQuery weightedTokensQuery) => Elastic.Clients.Elasticsearch.Serverless.QueryDsl.Query.WeightedTokens(weightedTokensQuery); -} - -public sealed partial class WeightedTokensQueryDescriptor : SerializableDescriptor> -{ - internal WeightedTokensQueryDescriptor(Action> configure) => configure.Invoke(this); - - public WeightedTokensQueryDescriptor() : base() - { - } - - private float? BoostValue { get; set; } - private Elastic.Clients.Elasticsearch.Serverless.Field FieldValue { get; set; } - private Elastic.Clients.Elasticsearch.Serverless.QueryDsl.TokenPruningConfig? PruningConfigValue { get; set; } - private Elastic.Clients.Elasticsearch.Serverless.QueryDsl.TokenPruningConfigDescriptor PruningConfigDescriptor { get; set; } - private Action PruningConfigDescriptorAction { get; set; } - private string? QueryNameValue { get; set; } - private IDictionary TokensValue { get; set; } - - /// - /// - /// Floating point number used to decrease or increase the relevance scores of the query. - /// Boost values are relative to the default value of 1.0. - /// A boost value between 0 and 1.0 decreases the relevance score. - /// A value greater than 1.0 increases the relevance score. - /// - /// - public WeightedTokensQueryDescriptor Boost(float? boost) - { - BoostValue = boost; - return Self; - } - - public WeightedTokensQueryDescriptor Field(Elastic.Clients.Elasticsearch.Serverless.Field field) - { - FieldValue = field; - return Self; - } - - public WeightedTokensQueryDescriptor Field(Expression> field) - { - FieldValue = field; - return Self; - } - - public WeightedTokensQueryDescriptor Field(Expression> field) - { - FieldValue = field; - return Self; - } - - /// - /// - /// Token pruning configurations - /// - /// - public WeightedTokensQueryDescriptor PruningConfig(Elastic.Clients.Elasticsearch.Serverless.QueryDsl.TokenPruningConfig? pruningConfig) - { - PruningConfigDescriptor = null; - PruningConfigDescriptorAction = null; - PruningConfigValue = pruningConfig; - return Self; - } - - public WeightedTokensQueryDescriptor PruningConfig(Elastic.Clients.Elasticsearch.Serverless.QueryDsl.TokenPruningConfigDescriptor descriptor) - { - PruningConfigValue = null; - PruningConfigDescriptorAction = null; - PruningConfigDescriptor = descriptor; - return Self; - } - - public WeightedTokensQueryDescriptor PruningConfig(Action configure) - { - PruningConfigValue = null; - PruningConfigDescriptor = null; - PruningConfigDescriptorAction = configure; - return Self; - } - - public WeightedTokensQueryDescriptor QueryName(string? queryName) - { - QueryNameValue = queryName; - return Self; - } - - /// - /// - /// The tokens representing this query - /// - /// - public WeightedTokensQueryDescriptor Tokens(Func, FluentDictionary> selector) - { - TokensValue = selector?.Invoke(new FluentDictionary()); - return Self; - } - - protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) - { - if (FieldValue is null) - throw new JsonException("Unable to serialize field name query descriptor with a null field. Ensure you use a suitable descriptor constructor or call the Field method, passing a non-null value for the field argument."); - writer.WriteStartObject(); - writer.WritePropertyName(settings.Inferrer.Field(FieldValue)); - writer.WriteStartObject(); - if (BoostValue.HasValue) - { - writer.WritePropertyName("boost"); - writer.WriteNumberValue(BoostValue.Value); - } - - if (PruningConfigDescriptor is not null) - { - writer.WritePropertyName("pruning_config"); - JsonSerializer.Serialize(writer, PruningConfigDescriptor, options); - } - else if (PruningConfigDescriptorAction is not null) - { - writer.WritePropertyName("pruning_config"); - JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.Serverless.QueryDsl.TokenPruningConfigDescriptor(PruningConfigDescriptorAction), options); - } - else if (PruningConfigValue is not null) - { - writer.WritePropertyName("pruning_config"); - JsonSerializer.Serialize(writer, PruningConfigValue, options); - } - - if (!string.IsNullOrEmpty(QueryNameValue)) - { - writer.WritePropertyName("_name"); - writer.WriteStringValue(QueryNameValue); - } - - writer.WritePropertyName("tokens"); - JsonSerializer.Serialize(writer, TokensValue, options); - writer.WriteEndObject(); - writer.WriteEndObject(); - } -} - -public sealed partial class WeightedTokensQueryDescriptor : SerializableDescriptor -{ - internal WeightedTokensQueryDescriptor(Action configure) => configure.Invoke(this); - - public WeightedTokensQueryDescriptor() : base() - { - } - - private float? BoostValue { get; set; } - private Elastic.Clients.Elasticsearch.Serverless.Field FieldValue { get; set; } - private Elastic.Clients.Elasticsearch.Serverless.QueryDsl.TokenPruningConfig? PruningConfigValue { get; set; } - private Elastic.Clients.Elasticsearch.Serverless.QueryDsl.TokenPruningConfigDescriptor PruningConfigDescriptor { get; set; } - private Action PruningConfigDescriptorAction { get; set; } - private string? QueryNameValue { get; set; } - private IDictionary TokensValue { get; set; } - - /// - /// - /// Floating point number used to decrease or increase the relevance scores of the query. - /// Boost values are relative to the default value of 1.0. - /// A boost value between 0 and 1.0 decreases the relevance score. - /// A value greater than 1.0 increases the relevance score. - /// - /// - public WeightedTokensQueryDescriptor Boost(float? boost) - { - BoostValue = boost; - return Self; - } - - public WeightedTokensQueryDescriptor Field(Elastic.Clients.Elasticsearch.Serverless.Field field) - { - FieldValue = field; - return Self; - } - - public WeightedTokensQueryDescriptor Field(Expression> field) - { - FieldValue = field; - return Self; - } - - public WeightedTokensQueryDescriptor Field(Expression> field) - { - FieldValue = field; - return Self; - } - - /// - /// - /// Token pruning configurations - /// - /// - public WeightedTokensQueryDescriptor PruningConfig(Elastic.Clients.Elasticsearch.Serverless.QueryDsl.TokenPruningConfig? pruningConfig) - { - PruningConfigDescriptor = null; - PruningConfigDescriptorAction = null; - PruningConfigValue = pruningConfig; - return Self; - } - - public WeightedTokensQueryDescriptor PruningConfig(Elastic.Clients.Elasticsearch.Serverless.QueryDsl.TokenPruningConfigDescriptor descriptor) - { - PruningConfigValue = null; - PruningConfigDescriptorAction = null; - PruningConfigDescriptor = descriptor; - return Self; - } - - public WeightedTokensQueryDescriptor PruningConfig(Action configure) - { - PruningConfigValue = null; - PruningConfigDescriptor = null; - PruningConfigDescriptorAction = configure; - return Self; - } - - public WeightedTokensQueryDescriptor QueryName(string? queryName) - { - QueryNameValue = queryName; - return Self; - } - - /// - /// - /// The tokens representing this query - /// - /// - public WeightedTokensQueryDescriptor Tokens(Func, FluentDictionary> selector) - { - TokensValue = selector?.Invoke(new FluentDictionary()); - return Self; - } - - protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) - { - if (FieldValue is null) - throw new JsonException("Unable to serialize field name query descriptor with a null field. Ensure you use a suitable descriptor constructor or call the Field method, passing a non-null value for the field argument."); - writer.WriteStartObject(); - writer.WritePropertyName(settings.Inferrer.Field(FieldValue)); - writer.WriteStartObject(); - if (BoostValue.HasValue) - { - writer.WritePropertyName("boost"); - writer.WriteNumberValue(BoostValue.Value); - } - - if (PruningConfigDescriptor is not null) - { - writer.WritePropertyName("pruning_config"); - JsonSerializer.Serialize(writer, PruningConfigDescriptor, options); - } - else if (PruningConfigDescriptorAction is not null) - { - writer.WritePropertyName("pruning_config"); - JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.Serverless.QueryDsl.TokenPruningConfigDescriptor(PruningConfigDescriptorAction), options); - } - else if (PruningConfigValue is not null) - { - writer.WritePropertyName("pruning_config"); - JsonSerializer.Serialize(writer, PruningConfigValue, options); - } - - if (!string.IsNullOrEmpty(QueryNameValue)) - { - writer.WritePropertyName("_name"); - writer.WriteStringValue(QueryNameValue); - } - - writer.WritePropertyName("tokens"); - JsonSerializer.Serialize(writer, TokensValue, options); - writer.WriteEndObject(); - writer.WriteEndObject(); - } -} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/QueryRules/QueryRulesetMatchedRule.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/QueryRules/QueryRulesetMatchedRule.g.cs new file mode 100644 index 00000000000..1cd9ee2facd --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/QueryRules/QueryRulesetMatchedRule.g.cs @@ -0,0 +1,47 @@ +// 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 Elastic.Clients.Elasticsearch.Serverless.Fluent; +using Elastic.Clients.Elasticsearch.Serverless.Serialization; +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +namespace Elastic.Clients.Elasticsearch.Serverless.QueryRules; + +public sealed partial class QueryRulesetMatchedRule +{ + /// + /// + /// Rule unique identifier within that ruleset + /// + /// + [JsonInclude, JsonPropertyName("rule_id")] + public string RuleId { get; init; } + + /// + /// + /// Ruleset unique identifier + /// + /// + [JsonInclude, JsonPropertyName("ruleset_id")] + public string RulesetId { get; init; } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/RRFRetriever.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/RRFRetriever.g.cs index 574be5754ea..100f1f40cc2 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/RRFRetriever.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/RRFRetriever.g.cs @@ -38,6 +38,14 @@ public sealed partial class RRFRetriever [SingleOrManyCollectionConverter(typeof(Elastic.Clients.Elasticsearch.Serverless.QueryDsl.Query))] public ICollection? Filter { get; set; } + /// + /// + /// Minimum _score for matching documents. Documents with a lower _score are not included in the top documents. + /// + /// + [JsonInclude, JsonPropertyName("min_score")] + public float? MinScore { get; set; } + /// /// /// This value determines how much influence documents in individual result sets per query have over the final ranked result set. @@ -77,6 +85,7 @@ public RRFRetrieverDescriptor() : base() private Elastic.Clients.Elasticsearch.Serverless.QueryDsl.QueryDescriptor FilterDescriptor { get; set; } private Action> FilterDescriptorAction { get; set; } private Action>[] FilterDescriptorActions { get; set; } + private float? MinScoreValue { get; set; } private int? RankConstantValue { get; set; } private int? RankWindowSizeValue { get; set; } private ICollection RetrieversValue { get; set; } @@ -125,6 +134,17 @@ public RRFRetrieverDescriptor Filter(params Action + /// + /// Minimum _score for matching documents. Documents with a lower _score are not included in the top documents. + /// + /// + public RRFRetrieverDescriptor MinScore(float? minScore) + { + MinScoreValue = minScore; + return Self; + } + /// /// /// This value determines how much influence documents in individual result sets per query have over the final ranked result set. @@ -220,6 +240,12 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o SingleOrManySerializationHelper.Serialize(FilterValue, writer, options); } + if (MinScoreValue.HasValue) + { + writer.WritePropertyName("min_score"); + writer.WriteNumberValue(MinScoreValue.Value); + } + if (RankConstantValue.HasValue) { writer.WritePropertyName("rank_constant"); @@ -279,6 +305,7 @@ public RRFRetrieverDescriptor() : base() private Elastic.Clients.Elasticsearch.Serverless.QueryDsl.QueryDescriptor FilterDescriptor { get; set; } private Action FilterDescriptorAction { get; set; } private Action[] FilterDescriptorActions { get; set; } + private float? MinScoreValue { get; set; } private int? RankConstantValue { get; set; } private int? RankWindowSizeValue { get; set; } private ICollection RetrieversValue { get; set; } @@ -327,6 +354,17 @@ public RRFRetrieverDescriptor Filter(params Action + /// + /// Minimum _score for matching documents. Documents with a lower _score are not included in the top documents. + /// + /// + public RRFRetrieverDescriptor MinScore(float? minScore) + { + MinScoreValue = minScore; + return Self; + } + /// /// /// This value determines how much influence documents in individual result sets per query have over the final ranked result set. @@ -422,6 +460,12 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o SingleOrManySerializationHelper.Serialize(FilterValue, writer, options); } + if (MinScoreValue.HasValue) + { + writer.WritePropertyName("min_score"); + writer.WriteNumberValue(MinScoreValue.Value); + } + if (RankConstantValue.HasValue) { writer.WritePropertyName("rank_constant"); diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Retriever.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Retriever.g.cs index 3c887d29e8e..f6ba60c8271 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Retriever.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Retriever.g.cs @@ -48,7 +48,9 @@ internal Retriever(string variantName, object variant) public static Retriever Knn(Elastic.Clients.Elasticsearch.Serverless.KnnRetriever knnRetriever) => new Retriever("knn", knnRetriever); public static Retriever Rrf(Elastic.Clients.Elasticsearch.Serverless.RRFRetriever rRFRetriever) => new Retriever("rrf", rRFRetriever); + public static Retriever Rule(Elastic.Clients.Elasticsearch.Serverless.RuleRetriever ruleRetriever) => new Retriever("rule", ruleRetriever); public static Retriever Standard(Elastic.Clients.Elasticsearch.Serverless.StandardRetriever standardRetriever) => new Retriever("standard", standardRetriever); + public static Retriever TextSimilarityReranker(Elastic.Clients.Elasticsearch.Serverless.TextSimilarityReranker textSimilarityReranker) => new Retriever("text_similarity_reranker", textSimilarityReranker); public bool TryGet([NotNullWhen(true)] out T? result) where T : class { @@ -102,6 +104,13 @@ public override Retriever Read(ref Utf8JsonReader reader, Type typeToConvert, Js continue; } + if (propertyName == "rule") + { + variantValue = JsonSerializer.Deserialize(ref reader, options); + variantNameValue = propertyName; + continue; + } + if (propertyName == "standard") { variantValue = JsonSerializer.Deserialize(ref reader, options); @@ -109,6 +118,13 @@ public override Retriever Read(ref Utf8JsonReader reader, Type typeToConvert, Js continue; } + if (propertyName == "text_similarity_reranker") + { + variantValue = JsonSerializer.Deserialize(ref reader, options); + variantNameValue = propertyName; + continue; + } + throw new JsonException($"Unknown property name '{propertyName}' received while deserializing the 'Retriever' from the response."); } @@ -130,9 +146,15 @@ public override void Write(Utf8JsonWriter writer, Retriever value, JsonSerialize case "rrf": JsonSerializer.Serialize(writer, (Elastic.Clients.Elasticsearch.Serverless.RRFRetriever)value.Variant, options); break; + case "rule": + JsonSerializer.Serialize(writer, (Elastic.Clients.Elasticsearch.Serverless.RuleRetriever)value.Variant, options); + break; case "standard": JsonSerializer.Serialize(writer, (Elastic.Clients.Elasticsearch.Serverless.StandardRetriever)value.Variant, options); break; + case "text_similarity_reranker": + JsonSerializer.Serialize(writer, (Elastic.Clients.Elasticsearch.Serverless.TextSimilarityReranker)value.Variant, options); + break; } } @@ -175,8 +197,12 @@ private RetrieverDescriptor Set(object variant, string variantName) public RetrieverDescriptor Knn(Action> configure) => Set(configure, "knn"); public RetrieverDescriptor Rrf(Elastic.Clients.Elasticsearch.Serverless.RRFRetriever rRFRetriever) => Set(rRFRetriever, "rrf"); public RetrieverDescriptor Rrf(Action> configure) => Set(configure, "rrf"); + public RetrieverDescriptor Rule(Elastic.Clients.Elasticsearch.Serverless.RuleRetriever ruleRetriever) => Set(ruleRetriever, "rule"); + public RetrieverDescriptor Rule(Action> configure) => Set(configure, "rule"); public RetrieverDescriptor Standard(Elastic.Clients.Elasticsearch.Serverless.StandardRetriever standardRetriever) => Set(standardRetriever, "standard"); public RetrieverDescriptor Standard(Action> configure) => Set(configure, "standard"); + public RetrieverDescriptor TextSimilarityReranker(Elastic.Clients.Elasticsearch.Serverless.TextSimilarityReranker textSimilarityReranker) => Set(textSimilarityReranker, "text_similarity_reranker"); + public RetrieverDescriptor TextSimilarityReranker(Action> configure) => Set(configure, "text_similarity_reranker"); protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) { @@ -233,8 +259,12 @@ private RetrieverDescriptor Set(object variant, string variantName) public RetrieverDescriptor Knn(Action configure) => Set(configure, "knn"); public RetrieverDescriptor Rrf(Elastic.Clients.Elasticsearch.Serverless.RRFRetriever rRFRetriever) => Set(rRFRetriever, "rrf"); public RetrieverDescriptor Rrf(Action configure) => Set(configure, "rrf"); + public RetrieverDescriptor Rule(Elastic.Clients.Elasticsearch.Serverless.RuleRetriever ruleRetriever) => Set(ruleRetriever, "rule"); + public RetrieverDescriptor Rule(Action configure) => Set(configure, "rule"); public RetrieverDescriptor Standard(Elastic.Clients.Elasticsearch.Serverless.StandardRetriever standardRetriever) => Set(standardRetriever, "standard"); public RetrieverDescriptor Standard(Action configure) => Set(configure, "standard"); + public RetrieverDescriptor TextSimilarityReranker(Elastic.Clients.Elasticsearch.Serverless.TextSimilarityReranker textSimilarityReranker) => Set(textSimilarityReranker, "text_similarity_reranker"); + public RetrieverDescriptor TextSimilarityReranker(Action configure) => Set(configure, "text_similarity_reranker"); protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) { diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/RuleRetriever.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/RuleRetriever.g.cs new file mode 100644 index 00000000000..d4b7c4c0874 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/RuleRetriever.g.cs @@ -0,0 +1,486 @@ +// 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 Elastic.Clients.Elasticsearch.Serverless.Fluent; +using Elastic.Clients.Elasticsearch.Serverless.Serialization; +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +namespace Elastic.Clients.Elasticsearch.Serverless; + +public sealed partial class RuleRetriever +{ + /// + /// + /// Query to filter the documents that can match. + /// + /// + [JsonInclude, JsonPropertyName("filter")] + [SingleOrManyCollectionConverter(typeof(Elastic.Clients.Elasticsearch.Serverless.QueryDsl.Query))] + public ICollection? Filter { get; set; } + + /// + /// + /// The match criteria that will determine if a rule in the provided rulesets should be applied. + /// + /// + [JsonInclude, JsonPropertyName("match_criteria")] + public object MatchCriteria { get; set; } + + /// + /// + /// Minimum _score for matching documents. Documents with a lower _score are not included in the top documents. + /// + /// + [JsonInclude, JsonPropertyName("min_score")] + public float? MinScore { get; set; } + + /// + /// + /// This value determines the size of the individual result set. + /// + /// + [JsonInclude, JsonPropertyName("rank_window_size")] + public int? RankWindowSize { get; set; } + + /// + /// + /// The retriever whose results rules should be applied to. + /// + /// + [JsonInclude, JsonPropertyName("retriever")] + public Elastic.Clients.Elasticsearch.Serverless.Retriever Retriever { get; set; } + + /// + /// + /// The ruleset IDs containing the rules this retriever is evaluating against. + /// + /// + [JsonInclude, JsonPropertyName("ruleset_ids")] + public ICollection RulesetIds { get; set; } + + public static implicit operator Elastic.Clients.Elasticsearch.Serverless.Retriever(RuleRetriever ruleRetriever) => Elastic.Clients.Elasticsearch.Serverless.Retriever.Rule(ruleRetriever); +} + +public sealed partial class RuleRetrieverDescriptor : SerializableDescriptor> +{ + internal RuleRetrieverDescriptor(Action> configure) => configure.Invoke(this); + + public RuleRetrieverDescriptor() : base() + { + } + + private ICollection? FilterValue { get; set; } + private Elastic.Clients.Elasticsearch.Serverless.QueryDsl.QueryDescriptor FilterDescriptor { get; set; } + private Action> FilterDescriptorAction { get; set; } + private Action>[] FilterDescriptorActions { get; set; } + private object MatchCriteriaValue { get; set; } + private float? MinScoreValue { get; set; } + private int? RankWindowSizeValue { get; set; } + private Elastic.Clients.Elasticsearch.Serverless.Retriever RetrieverValue { get; set; } + private Elastic.Clients.Elasticsearch.Serverless.RetrieverDescriptor RetrieverDescriptor { get; set; } + private Action> RetrieverDescriptorAction { get; set; } + private ICollection RulesetIdsValue { get; set; } + + /// + /// + /// Query to filter the documents that can match. + /// + /// + public RuleRetrieverDescriptor Filter(ICollection? filter) + { + FilterDescriptor = null; + FilterDescriptorAction = null; + FilterDescriptorActions = null; + FilterValue = filter; + return Self; + } + + public RuleRetrieverDescriptor Filter(Elastic.Clients.Elasticsearch.Serverless.QueryDsl.QueryDescriptor descriptor) + { + FilterValue = null; + FilterDescriptorAction = null; + FilterDescriptorActions = null; + FilterDescriptor = descriptor; + return Self; + } + + public RuleRetrieverDescriptor Filter(Action> configure) + { + FilterValue = null; + FilterDescriptor = null; + FilterDescriptorActions = null; + FilterDescriptorAction = configure; + return Self; + } + + public RuleRetrieverDescriptor Filter(params Action>[] configure) + { + FilterValue = null; + FilterDescriptor = null; + FilterDescriptorAction = null; + FilterDescriptorActions = configure; + return Self; + } + + /// + /// + /// The match criteria that will determine if a rule in the provided rulesets should be applied. + /// + /// + public RuleRetrieverDescriptor MatchCriteria(object matchCriteria) + { + MatchCriteriaValue = matchCriteria; + return Self; + } + + /// + /// + /// Minimum _score for matching documents. Documents with a lower _score are not included in the top documents. + /// + /// + public RuleRetrieverDescriptor MinScore(float? minScore) + { + MinScoreValue = minScore; + return Self; + } + + /// + /// + /// This value determines the size of the individual result set. + /// + /// + public RuleRetrieverDescriptor RankWindowSize(int? rankWindowSize) + { + RankWindowSizeValue = rankWindowSize; + return Self; + } + + /// + /// + /// The retriever whose results rules should be applied to. + /// + /// + public RuleRetrieverDescriptor Retriever(Elastic.Clients.Elasticsearch.Serverless.Retriever retriever) + { + RetrieverDescriptor = null; + RetrieverDescriptorAction = null; + RetrieverValue = retriever; + return Self; + } + + public RuleRetrieverDescriptor Retriever(Elastic.Clients.Elasticsearch.Serverless.RetrieverDescriptor descriptor) + { + RetrieverValue = null; + RetrieverDescriptorAction = null; + RetrieverDescriptor = descriptor; + return Self; + } + + public RuleRetrieverDescriptor Retriever(Action> configure) + { + RetrieverValue = null; + RetrieverDescriptor = null; + RetrieverDescriptorAction = configure; + return Self; + } + + /// + /// + /// The ruleset IDs containing the rules this retriever is evaluating against. + /// + /// + public RuleRetrieverDescriptor RulesetIds(ICollection rulesetIds) + { + RulesetIdsValue = rulesetIds; + return Self; + } + + protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) + { + writer.WriteStartObject(); + if (FilterDescriptor is not null) + { + writer.WritePropertyName("filter"); + JsonSerializer.Serialize(writer, FilterDescriptor, options); + } + else if (FilterDescriptorAction is not null) + { + writer.WritePropertyName("filter"); + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.Serverless.QueryDsl.QueryDescriptor(FilterDescriptorAction), options); + } + else if (FilterDescriptorActions is not null) + { + writer.WritePropertyName("filter"); + if (FilterDescriptorActions.Length != 1) + writer.WriteStartArray(); + foreach (var action in FilterDescriptorActions) + { + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.Serverless.QueryDsl.QueryDescriptor(action), options); + } + + if (FilterDescriptorActions.Length != 1) + writer.WriteEndArray(); + } + else if (FilterValue is not null) + { + writer.WritePropertyName("filter"); + SingleOrManySerializationHelper.Serialize(FilterValue, writer, options); + } + + writer.WritePropertyName("match_criteria"); + JsonSerializer.Serialize(writer, MatchCriteriaValue, options); + if (MinScoreValue.HasValue) + { + writer.WritePropertyName("min_score"); + writer.WriteNumberValue(MinScoreValue.Value); + } + + if (RankWindowSizeValue.HasValue) + { + writer.WritePropertyName("rank_window_size"); + writer.WriteNumberValue(RankWindowSizeValue.Value); + } + + if (RetrieverDescriptor is not null) + { + writer.WritePropertyName("retriever"); + JsonSerializer.Serialize(writer, RetrieverDescriptor, options); + } + else if (RetrieverDescriptorAction is not null) + { + writer.WritePropertyName("retriever"); + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.Serverless.RetrieverDescriptor(RetrieverDescriptorAction), options); + } + else + { + writer.WritePropertyName("retriever"); + JsonSerializer.Serialize(writer, RetrieverValue, options); + } + + writer.WritePropertyName("ruleset_ids"); + JsonSerializer.Serialize(writer, RulesetIdsValue, options); + writer.WriteEndObject(); + } +} + +public sealed partial class RuleRetrieverDescriptor : SerializableDescriptor +{ + internal RuleRetrieverDescriptor(Action configure) => configure.Invoke(this); + + public RuleRetrieverDescriptor() : base() + { + } + + private ICollection? FilterValue { get; set; } + private Elastic.Clients.Elasticsearch.Serverless.QueryDsl.QueryDescriptor FilterDescriptor { get; set; } + private Action FilterDescriptorAction { get; set; } + private Action[] FilterDescriptorActions { get; set; } + private object MatchCriteriaValue { get; set; } + private float? MinScoreValue { get; set; } + private int? RankWindowSizeValue { get; set; } + private Elastic.Clients.Elasticsearch.Serverless.Retriever RetrieverValue { get; set; } + private Elastic.Clients.Elasticsearch.Serverless.RetrieverDescriptor RetrieverDescriptor { get; set; } + private Action RetrieverDescriptorAction { get; set; } + private ICollection RulesetIdsValue { get; set; } + + /// + /// + /// Query to filter the documents that can match. + /// + /// + public RuleRetrieverDescriptor Filter(ICollection? filter) + { + FilterDescriptor = null; + FilterDescriptorAction = null; + FilterDescriptorActions = null; + FilterValue = filter; + return Self; + } + + public RuleRetrieverDescriptor Filter(Elastic.Clients.Elasticsearch.Serverless.QueryDsl.QueryDescriptor descriptor) + { + FilterValue = null; + FilterDescriptorAction = null; + FilterDescriptorActions = null; + FilterDescriptor = descriptor; + return Self; + } + + public RuleRetrieverDescriptor Filter(Action configure) + { + FilterValue = null; + FilterDescriptor = null; + FilterDescriptorActions = null; + FilterDescriptorAction = configure; + return Self; + } + + public RuleRetrieverDescriptor Filter(params Action[] configure) + { + FilterValue = null; + FilterDescriptor = null; + FilterDescriptorAction = null; + FilterDescriptorActions = configure; + return Self; + } + + /// + /// + /// The match criteria that will determine if a rule in the provided rulesets should be applied. + /// + /// + public RuleRetrieverDescriptor MatchCriteria(object matchCriteria) + { + MatchCriteriaValue = matchCriteria; + return Self; + } + + /// + /// + /// Minimum _score for matching documents. Documents with a lower _score are not included in the top documents. + /// + /// + public RuleRetrieverDescriptor MinScore(float? minScore) + { + MinScoreValue = minScore; + return Self; + } + + /// + /// + /// This value determines the size of the individual result set. + /// + /// + public RuleRetrieverDescriptor RankWindowSize(int? rankWindowSize) + { + RankWindowSizeValue = rankWindowSize; + return Self; + } + + /// + /// + /// The retriever whose results rules should be applied to. + /// + /// + public RuleRetrieverDescriptor Retriever(Elastic.Clients.Elasticsearch.Serverless.Retriever retriever) + { + RetrieverDescriptor = null; + RetrieverDescriptorAction = null; + RetrieverValue = retriever; + return Self; + } + + public RuleRetrieverDescriptor Retriever(Elastic.Clients.Elasticsearch.Serverless.RetrieverDescriptor descriptor) + { + RetrieverValue = null; + RetrieverDescriptorAction = null; + RetrieverDescriptor = descriptor; + return Self; + } + + public RuleRetrieverDescriptor Retriever(Action configure) + { + RetrieverValue = null; + RetrieverDescriptor = null; + RetrieverDescriptorAction = configure; + return Self; + } + + /// + /// + /// The ruleset IDs containing the rules this retriever is evaluating against. + /// + /// + public RuleRetrieverDescriptor RulesetIds(ICollection rulesetIds) + { + RulesetIdsValue = rulesetIds; + return Self; + } + + protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) + { + writer.WriteStartObject(); + if (FilterDescriptor is not null) + { + writer.WritePropertyName("filter"); + JsonSerializer.Serialize(writer, FilterDescriptor, options); + } + else if (FilterDescriptorAction is not null) + { + writer.WritePropertyName("filter"); + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.Serverless.QueryDsl.QueryDescriptor(FilterDescriptorAction), options); + } + else if (FilterDescriptorActions is not null) + { + writer.WritePropertyName("filter"); + if (FilterDescriptorActions.Length != 1) + writer.WriteStartArray(); + foreach (var action in FilterDescriptorActions) + { + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.Serverless.QueryDsl.QueryDescriptor(action), options); + } + + if (FilterDescriptorActions.Length != 1) + writer.WriteEndArray(); + } + else if (FilterValue is not null) + { + writer.WritePropertyName("filter"); + SingleOrManySerializationHelper.Serialize(FilterValue, writer, options); + } + + writer.WritePropertyName("match_criteria"); + JsonSerializer.Serialize(writer, MatchCriteriaValue, options); + if (MinScoreValue.HasValue) + { + writer.WritePropertyName("min_score"); + writer.WriteNumberValue(MinScoreValue.Value); + } + + if (RankWindowSizeValue.HasValue) + { + writer.WritePropertyName("rank_window_size"); + writer.WriteNumberValue(RankWindowSizeValue.Value); + } + + if (RetrieverDescriptor is not null) + { + writer.WritePropertyName("retriever"); + JsonSerializer.Serialize(writer, RetrieverDescriptor, options); + } + else if (RetrieverDescriptorAction is not null) + { + writer.WritePropertyName("retriever"); + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.Serverless.RetrieverDescriptor(RetrieverDescriptorAction), options); + } + else + { + writer.WritePropertyName("retriever"); + JsonSerializer.Serialize(writer, RetrieverValue, options); + } + + writer.WritePropertyName("ruleset_ids"); + JsonSerializer.Serialize(writer, RulesetIdsValue, options); + writer.WriteEndObject(); + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Security/IndicesPrivileges.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Security/IndicesPrivileges.g.cs index 8bf956852fc..45feac6f03e 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Security/IndicesPrivileges.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Security/IndicesPrivileges.g.cs @@ -43,6 +43,7 @@ public sealed partial class IndicesPrivileges /// /// [JsonInclude, JsonPropertyName("names")] + [SingleOrManyCollectionConverter(typeof(Elastic.Clients.Elasticsearch.Serverless.IndexName))] public ICollection Names { get; set; } /// @@ -159,7 +160,7 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o } writer.WritePropertyName("names"); - JsonSerializer.Serialize(writer, NamesValue, options); + SingleOrManySerializationHelper.Serialize(NamesValue, writer, options); writer.WritePropertyName("privileges"); JsonSerializer.Serialize(writer, PrivilegesValue, options); if (QueryValue is not null) @@ -269,7 +270,7 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o } writer.WritePropertyName("names"); - JsonSerializer.Serialize(writer, NamesValue, options); + SingleOrManySerializationHelper.Serialize(NamesValue, writer, options); writer.WritePropertyName("privileges"); JsonSerializer.Serialize(writer, PrivilegesValue, options); if (QueryValue is not null) diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Security/QueryRole.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Security/QueryRole.g.cs index 1d0d895ca52..2c717cdc12d 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Security/QueryRole.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Security/QueryRole.g.cs @@ -39,6 +39,7 @@ public override QueryRole Read(ref Utf8JsonReader reader, Type typeToConvert, Js IReadOnlyCollection? indices = default; IReadOnlyDictionary? metadata = default; string name = default; + Elastic.Clients.Elasticsearch.Serverless.Security.Restriction? restriction = default; IReadOnlyCollection? runAs = default; IReadOnlyCollection? sort = default; IReadOnlyDictionary? transientMetadata = default; @@ -83,6 +84,12 @@ public override QueryRole Read(ref Utf8JsonReader reader, Type typeToConvert, Js continue; } + if (property == "restriction") + { + restriction = JsonSerializer.Deserialize(ref reader, options); + continue; + } + if (property == "run_as") { runAs = JsonSerializer.Deserialize?>(ref reader, options); @@ -103,7 +110,7 @@ public override QueryRole Read(ref Utf8JsonReader reader, Type typeToConvert, Js } } - return new QueryRole { Applications = applications, Cluster = cluster, Description = description, Indices = indices, Metadata = metadata, Name = name, RunAs = runAs, Sort = sort, TransientMetadata = transientMetadata }; + return new QueryRole { Applications = applications, Cluster = cluster, Description = description, Indices = indices, Metadata = metadata, Name = name, Restriction = restriction, RunAs = runAs, Sort = sort, TransientMetadata = transientMetadata }; } public override void Write(Utf8JsonWriter writer, QueryRole value, JsonSerializerOptions options) @@ -157,6 +164,13 @@ public sealed partial class QueryRole /// public string Name { get; init; } + /// + /// + /// Restriction for when the role descriptor is allowed to be effective. + /// + /// + public Elastic.Clients.Elasticsearch.Serverless.Security.Restriction? Restriction { get; init; } + /// /// /// A list of users that the API keys can impersonate. Note: in Serverless, the run-as feature is disabled. For API compatibility, you can still specify an empty run_as field, but a non-empty list will be rejected. diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Security/Restriction.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Security/Restriction.g.cs new file mode 100644 index 00000000000..0058fc7d327 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Security/Restriction.g.cs @@ -0,0 +1,59 @@ +// 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 Elastic.Clients.Elasticsearch.Serverless.Fluent; +using Elastic.Clients.Elasticsearch.Serverless.Serialization; +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +namespace Elastic.Clients.Elasticsearch.Serverless.Security; + +public sealed partial class Restriction +{ + [JsonInclude, JsonPropertyName("workflows")] + public ICollection Workflows { get; set; } +} + +public sealed partial class RestrictionDescriptor : SerializableDescriptor +{ + internal RestrictionDescriptor(Action configure) => configure.Invoke(this); + + public RestrictionDescriptor() : base() + { + } + + private ICollection WorkflowsValue { get; set; } + + public RestrictionDescriptor Workflows(ICollection workflows) + { + WorkflowsValue = workflows; + return Self; + } + + protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) + { + writer.WriteStartObject(); + writer.WritePropertyName("workflows"); + JsonSerializer.Serialize(writer, WorkflowsValue, options); + writer.WriteEndObject(); + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Security/Role.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Security/Role.g.cs index f78d20713c7..96d69e55dd4 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Security/Role.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Security/Role.g.cs @@ -32,7 +32,7 @@ public sealed partial class Role [JsonInclude, JsonPropertyName("applications")] public IReadOnlyCollection Applications { get; init; } [JsonInclude, JsonPropertyName("cluster")] - public IReadOnlyCollection Cluster { get; init; } + public IReadOnlyCollection Cluster { get; init; } [JsonInclude, JsonPropertyName("global")] public IReadOnlyDictionary>>>? Global { get; init; } [JsonInclude, JsonPropertyName("indices")] diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Security/RoleDescriptor.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Security/RoleDescriptor.g.cs index 237f24160fb..d12ecb7310e 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Security/RoleDescriptor.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Security/RoleDescriptor.g.cs @@ -69,6 +69,12 @@ public override RoleDescriptor Read(ref Utf8JsonReader reader, Type typeToConver continue; } + if (property == "restriction") + { + variant.Restriction = JsonSerializer.Deserialize(ref reader, options); + continue; + } + if (property == "run_as") { variant.RunAs = JsonSerializer.Deserialize?>(ref reader, options); @@ -119,6 +125,12 @@ public override void Write(Utf8JsonWriter writer, RoleDescriptor value, JsonSeri JsonSerializer.Serialize(writer, value.Metadata, options); } + if (value.Restriction is not null) + { + writer.WritePropertyName("restriction"); + JsonSerializer.Serialize(writer, value.Restriction, options); + } + if (value.RunAs is not null) { writer.WritePropertyName("run_as"); @@ -173,6 +185,13 @@ public sealed partial class RoleDescriptor /// public IDictionary? Metadata { get; set; } + /// + /// + /// Restriction for when the role descriptor is allowed to be effective. + /// + /// + public Elastic.Clients.Elasticsearch.Serverless.Security.Restriction? Restriction { get; set; } + /// /// /// A list of users that the API keys can impersonate. Note: in Serverless, the run-as feature is disabled. For API compatibility, you can still specify an empty run_as field, but a non-empty list will be rejected. @@ -201,6 +220,9 @@ public RoleDescriptorDescriptor() : base() private Action> IndicesDescriptorAction { get; set; } private Action>[] IndicesDescriptorActions { get; set; } private IDictionary? MetadataValue { get; set; } + private Elastic.Clients.Elasticsearch.Serverless.Security.Restriction? RestrictionValue { get; set; } + private Elastic.Clients.Elasticsearch.Serverless.Security.RestrictionDescriptor RestrictionDescriptor { get; set; } + private Action RestrictionDescriptorAction { get; set; } private ICollection? RunAsValue { get; set; } private IDictionary? TransientMetadataValue { get; set; } @@ -319,6 +341,35 @@ public RoleDescriptorDescriptor Metadata(Func + /// + /// Restriction for when the role descriptor is allowed to be effective. + /// + /// + public RoleDescriptorDescriptor Restriction(Elastic.Clients.Elasticsearch.Serverless.Security.Restriction? restriction) + { + RestrictionDescriptor = null; + RestrictionDescriptorAction = null; + RestrictionValue = restriction; + return Self; + } + + public RoleDescriptorDescriptor Restriction(Elastic.Clients.Elasticsearch.Serverless.Security.RestrictionDescriptor descriptor) + { + RestrictionValue = null; + RestrictionDescriptorAction = null; + RestrictionDescriptor = descriptor; + return Self; + } + + public RoleDescriptorDescriptor Restriction(Action configure) + { + RestrictionValue = null; + RestrictionDescriptor = null; + RestrictionDescriptorAction = configure; + return Self; + } + /// /// /// A list of users that the API keys can impersonate. Note: in Serverless, the run-as feature is disabled. For API compatibility, you can still specify an empty run_as field, but a non-empty list will be rejected. @@ -419,6 +470,22 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o JsonSerializer.Serialize(writer, MetadataValue, options); } + if (RestrictionDescriptor is not null) + { + writer.WritePropertyName("restriction"); + JsonSerializer.Serialize(writer, RestrictionDescriptor, options); + } + else if (RestrictionDescriptorAction is not null) + { + writer.WritePropertyName("restriction"); + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.Serverless.Security.RestrictionDescriptor(RestrictionDescriptorAction), options); + } + else if (RestrictionValue is not null) + { + writer.WritePropertyName("restriction"); + JsonSerializer.Serialize(writer, RestrictionValue, options); + } + if (RunAsValue is not null) { writer.WritePropertyName("run_as"); @@ -454,6 +521,9 @@ public RoleDescriptorDescriptor() : base() private Action IndicesDescriptorAction { get; set; } private Action[] IndicesDescriptorActions { get; set; } private IDictionary? MetadataValue { get; set; } + private Elastic.Clients.Elasticsearch.Serverless.Security.Restriction? RestrictionValue { get; set; } + private Elastic.Clients.Elasticsearch.Serverless.Security.RestrictionDescriptor RestrictionDescriptor { get; set; } + private Action RestrictionDescriptorAction { get; set; } private ICollection? RunAsValue { get; set; } private IDictionary? TransientMetadataValue { get; set; } @@ -572,6 +642,35 @@ public RoleDescriptorDescriptor Metadata(Func, return Self; } + /// + /// + /// Restriction for when the role descriptor is allowed to be effective. + /// + /// + public RoleDescriptorDescriptor Restriction(Elastic.Clients.Elasticsearch.Serverless.Security.Restriction? restriction) + { + RestrictionDescriptor = null; + RestrictionDescriptorAction = null; + RestrictionValue = restriction; + return Self; + } + + public RoleDescriptorDescriptor Restriction(Elastic.Clients.Elasticsearch.Serverless.Security.RestrictionDescriptor descriptor) + { + RestrictionValue = null; + RestrictionDescriptorAction = null; + RestrictionDescriptor = descriptor; + return Self; + } + + public RoleDescriptorDescriptor Restriction(Action configure) + { + RestrictionValue = null; + RestrictionDescriptor = null; + RestrictionDescriptorAction = configure; + return Self; + } + /// /// /// A list of users that the API keys can impersonate. Note: in Serverless, the run-as feature is disabled. For API compatibility, you can still specify an empty run_as field, but a non-empty list will be rejected. @@ -672,6 +771,22 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o JsonSerializer.Serialize(writer, MetadataValue, options); } + if (RestrictionDescriptor is not null) + { + writer.WritePropertyName("restriction"); + JsonSerializer.Serialize(writer, RestrictionDescriptor, options); + } + else if (RestrictionDescriptorAction is not null) + { + writer.WritePropertyName("restriction"); + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.Serverless.Security.RestrictionDescriptor(RestrictionDescriptorAction), options); + } + else if (RestrictionValue is not null) + { + writer.WritePropertyName("restriction"); + JsonSerializer.Serialize(writer, RestrictionValue, options); + } + if (RunAsValue is not null) { writer.WritePropertyName("run_as"); diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Security/RoleDescriptorRead.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Security/RoleDescriptorRead.g.cs index d34a6045e38..34ef826b7ef 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Security/RoleDescriptorRead.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Security/RoleDescriptorRead.g.cs @@ -38,6 +38,7 @@ public override RoleDescriptorRead Read(ref Utf8JsonReader reader, Type typeToCo string? description = default; IReadOnlyCollection indices = default; IReadOnlyDictionary? metadata = default; + Elastic.Clients.Elasticsearch.Serverless.Security.Restriction? restriction = default; IReadOnlyCollection? runAs = default; IReadOnlyDictionary? transientMetadata = default; while (reader.Read() && reader.TokenType != JsonTokenType.EndObject) @@ -75,6 +76,12 @@ public override RoleDescriptorRead Read(ref Utf8JsonReader reader, Type typeToCo continue; } + if (property == "restriction") + { + restriction = JsonSerializer.Deserialize(ref reader, options); + continue; + } + if (property == "run_as") { runAs = JsonSerializer.Deserialize?>(ref reader, options); @@ -89,7 +96,7 @@ public override RoleDescriptorRead Read(ref Utf8JsonReader reader, Type typeToCo } } - return new RoleDescriptorRead { Applications = applications, Cluster = cluster, Description = description, Indices = indices, Metadata = metadata, RunAs = runAs, TransientMetadata = transientMetadata }; + return new RoleDescriptorRead { Applications = applications, Cluster = cluster, Description = description, Indices = indices, Metadata = metadata, Restriction = restriction, RunAs = runAs, TransientMetadata = transientMetadata }; } public override void Write(Utf8JsonWriter writer, RoleDescriptorRead value, JsonSerializerOptions options) @@ -136,6 +143,13 @@ public sealed partial class RoleDescriptorRead /// public IReadOnlyDictionary? Metadata { get; init; } + /// + /// + /// Restriction for when the role descriptor is allowed to be effective. + /// + /// + public Elastic.Clients.Elasticsearch.Serverless.Security.Restriction? Restriction { get; init; } + /// /// /// A list of users that the API keys can impersonate. diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Security/UserIndicesPrivileges.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Security/UserIndicesPrivileges.g.cs index 10deebc1689..3693ef101e1 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Security/UserIndicesPrivileges.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Security/UserIndicesPrivileges.g.cs @@ -51,6 +51,7 @@ public sealed partial class UserIndicesPrivileges /// /// [JsonInclude, JsonPropertyName("names")] + [SingleOrManyCollectionConverter(typeof(string))] public IReadOnlyCollection Names { get; init; } /// diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/TextSimilarityReranker.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/TextSimilarityReranker.g.cs new file mode 100644 index 00000000000..c3ac989c0e2 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/TextSimilarityReranker.g.cs @@ -0,0 +1,546 @@ +// 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 Elastic.Clients.Elasticsearch.Serverless.Fluent; +using Elastic.Clients.Elasticsearch.Serverless.Serialization; +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +namespace Elastic.Clients.Elasticsearch.Serverless; + +public sealed partial class TextSimilarityReranker +{ + /// + /// + /// The document field to be used for text similarity comparisons. This field should contain the text that will be evaluated against the inference_text + /// + /// + [JsonInclude, JsonPropertyName("field")] + public string? Field { get; set; } + + /// + /// + /// Query to filter the documents that can match. + /// + /// + [JsonInclude, JsonPropertyName("filter")] + [SingleOrManyCollectionConverter(typeof(Elastic.Clients.Elasticsearch.Serverless.QueryDsl.Query))] + public ICollection? Filter { get; set; } + + /// + /// + /// Unique identifier of the inference endpoint created using the inference API. + /// + /// + [JsonInclude, JsonPropertyName("inference_id")] + public string? InferenceId { get; set; } + + /// + /// + /// The text snippet used as the basis for similarity comparison + /// + /// + [JsonInclude, JsonPropertyName("inference_text")] + public string? InferenceText { get; set; } + + /// + /// + /// Minimum _score for matching documents. Documents with a lower _score are not included in the top documents. + /// + /// + [JsonInclude, JsonPropertyName("min_score")] + public float? MinScore { get; set; } + + /// + /// + /// This value determines how many documents we will consider from the nested retriever. + /// + /// + [JsonInclude, JsonPropertyName("rank_window_size")] + public int? RankWindowSize { get; set; } + + /// + /// + /// The nested retriever which will produce the first-level results, that will later be used for reranking. + /// + /// + [JsonInclude, JsonPropertyName("retriever")] + public Elastic.Clients.Elasticsearch.Serverless.Retriever Retriever { get; set; } + + public static implicit operator Elastic.Clients.Elasticsearch.Serverless.Retriever(TextSimilarityReranker textSimilarityReranker) => Elastic.Clients.Elasticsearch.Serverless.Retriever.TextSimilarityReranker(textSimilarityReranker); +} + +public sealed partial class TextSimilarityRerankerDescriptor : SerializableDescriptor> +{ + internal TextSimilarityRerankerDescriptor(Action> configure) => configure.Invoke(this); + + public TextSimilarityRerankerDescriptor() : base() + { + } + + private string? FieldValue { get; set; } + private ICollection? FilterValue { get; set; } + private Elastic.Clients.Elasticsearch.Serverless.QueryDsl.QueryDescriptor FilterDescriptor { get; set; } + private Action> FilterDescriptorAction { get; set; } + private Action>[] FilterDescriptorActions { get; set; } + private string? InferenceIdValue { get; set; } + private string? InferenceTextValue { get; set; } + private float? MinScoreValue { get; set; } + private int? RankWindowSizeValue { get; set; } + private Elastic.Clients.Elasticsearch.Serverless.Retriever RetrieverValue { get; set; } + private Elastic.Clients.Elasticsearch.Serverless.RetrieverDescriptor RetrieverDescriptor { get; set; } + private Action> RetrieverDescriptorAction { get; set; } + + /// + /// + /// The document field to be used for text similarity comparisons. This field should contain the text that will be evaluated against the inference_text + /// + /// + public TextSimilarityRerankerDescriptor Field(string? field) + { + FieldValue = field; + return Self; + } + + /// + /// + /// Query to filter the documents that can match. + /// + /// + public TextSimilarityRerankerDescriptor Filter(ICollection? filter) + { + FilterDescriptor = null; + FilterDescriptorAction = null; + FilterDescriptorActions = null; + FilterValue = filter; + return Self; + } + + public TextSimilarityRerankerDescriptor Filter(Elastic.Clients.Elasticsearch.Serverless.QueryDsl.QueryDescriptor descriptor) + { + FilterValue = null; + FilterDescriptorAction = null; + FilterDescriptorActions = null; + FilterDescriptor = descriptor; + return Self; + } + + public TextSimilarityRerankerDescriptor Filter(Action> configure) + { + FilterValue = null; + FilterDescriptor = null; + FilterDescriptorActions = null; + FilterDescriptorAction = configure; + return Self; + } + + public TextSimilarityRerankerDescriptor Filter(params Action>[] configure) + { + FilterValue = null; + FilterDescriptor = null; + FilterDescriptorAction = null; + FilterDescriptorActions = configure; + return Self; + } + + /// + /// + /// Unique identifier of the inference endpoint created using the inference API. + /// + /// + public TextSimilarityRerankerDescriptor InferenceId(string? inferenceId) + { + InferenceIdValue = inferenceId; + return Self; + } + + /// + /// + /// The text snippet used as the basis for similarity comparison + /// + /// + public TextSimilarityRerankerDescriptor InferenceText(string? inferenceText) + { + InferenceTextValue = inferenceText; + return Self; + } + + /// + /// + /// Minimum _score for matching documents. Documents with a lower _score are not included in the top documents. + /// + /// + public TextSimilarityRerankerDescriptor MinScore(float? minScore) + { + MinScoreValue = minScore; + return Self; + } + + /// + /// + /// This value determines how many documents we will consider from the nested retriever. + /// + /// + public TextSimilarityRerankerDescriptor RankWindowSize(int? rankWindowSize) + { + RankWindowSizeValue = rankWindowSize; + return Self; + } + + /// + /// + /// The nested retriever which will produce the first-level results, that will later be used for reranking. + /// + /// + public TextSimilarityRerankerDescriptor Retriever(Elastic.Clients.Elasticsearch.Serverless.Retriever retriever) + { + RetrieverDescriptor = null; + RetrieverDescriptorAction = null; + RetrieverValue = retriever; + return Self; + } + + public TextSimilarityRerankerDescriptor Retriever(Elastic.Clients.Elasticsearch.Serverless.RetrieverDescriptor descriptor) + { + RetrieverValue = null; + RetrieverDescriptorAction = null; + RetrieverDescriptor = descriptor; + return Self; + } + + public TextSimilarityRerankerDescriptor Retriever(Action> configure) + { + RetrieverValue = null; + RetrieverDescriptor = null; + RetrieverDescriptorAction = configure; + return Self; + } + + protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) + { + writer.WriteStartObject(); + if (!string.IsNullOrEmpty(FieldValue)) + { + writer.WritePropertyName("field"); + writer.WriteStringValue(FieldValue); + } + + if (FilterDescriptor is not null) + { + writer.WritePropertyName("filter"); + JsonSerializer.Serialize(writer, FilterDescriptor, options); + } + else if (FilterDescriptorAction is not null) + { + writer.WritePropertyName("filter"); + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.Serverless.QueryDsl.QueryDescriptor(FilterDescriptorAction), options); + } + else if (FilterDescriptorActions is not null) + { + writer.WritePropertyName("filter"); + if (FilterDescriptorActions.Length != 1) + writer.WriteStartArray(); + foreach (var action in FilterDescriptorActions) + { + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.Serverless.QueryDsl.QueryDescriptor(action), options); + } + + if (FilterDescriptorActions.Length != 1) + writer.WriteEndArray(); + } + else if (FilterValue is not null) + { + writer.WritePropertyName("filter"); + SingleOrManySerializationHelper.Serialize(FilterValue, writer, options); + } + + if (!string.IsNullOrEmpty(InferenceIdValue)) + { + writer.WritePropertyName("inference_id"); + writer.WriteStringValue(InferenceIdValue); + } + + if (!string.IsNullOrEmpty(InferenceTextValue)) + { + writer.WritePropertyName("inference_text"); + writer.WriteStringValue(InferenceTextValue); + } + + if (MinScoreValue.HasValue) + { + writer.WritePropertyName("min_score"); + writer.WriteNumberValue(MinScoreValue.Value); + } + + if (RankWindowSizeValue.HasValue) + { + writer.WritePropertyName("rank_window_size"); + writer.WriteNumberValue(RankWindowSizeValue.Value); + } + + if (RetrieverDescriptor is not null) + { + writer.WritePropertyName("retriever"); + JsonSerializer.Serialize(writer, RetrieverDescriptor, options); + } + else if (RetrieverDescriptorAction is not null) + { + writer.WritePropertyName("retriever"); + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.Serverless.RetrieverDescriptor(RetrieverDescriptorAction), options); + } + else + { + writer.WritePropertyName("retriever"); + JsonSerializer.Serialize(writer, RetrieverValue, options); + } + + writer.WriteEndObject(); + } +} + +public sealed partial class TextSimilarityRerankerDescriptor : SerializableDescriptor +{ + internal TextSimilarityRerankerDescriptor(Action configure) => configure.Invoke(this); + + public TextSimilarityRerankerDescriptor() : base() + { + } + + private string? FieldValue { get; set; } + private ICollection? FilterValue { get; set; } + private Elastic.Clients.Elasticsearch.Serverless.QueryDsl.QueryDescriptor FilterDescriptor { get; set; } + private Action FilterDescriptorAction { get; set; } + private Action[] FilterDescriptorActions { get; set; } + private string? InferenceIdValue { get; set; } + private string? InferenceTextValue { get; set; } + private float? MinScoreValue { get; set; } + private int? RankWindowSizeValue { get; set; } + private Elastic.Clients.Elasticsearch.Serverless.Retriever RetrieverValue { get; set; } + private Elastic.Clients.Elasticsearch.Serverless.RetrieverDescriptor RetrieverDescriptor { get; set; } + private Action RetrieverDescriptorAction { get; set; } + + /// + /// + /// The document field to be used for text similarity comparisons. This field should contain the text that will be evaluated against the inference_text + /// + /// + public TextSimilarityRerankerDescriptor Field(string? field) + { + FieldValue = field; + return Self; + } + + /// + /// + /// Query to filter the documents that can match. + /// + /// + public TextSimilarityRerankerDescriptor Filter(ICollection? filter) + { + FilterDescriptor = null; + FilterDescriptorAction = null; + FilterDescriptorActions = null; + FilterValue = filter; + return Self; + } + + public TextSimilarityRerankerDescriptor Filter(Elastic.Clients.Elasticsearch.Serverless.QueryDsl.QueryDescriptor descriptor) + { + FilterValue = null; + FilterDescriptorAction = null; + FilterDescriptorActions = null; + FilterDescriptor = descriptor; + return Self; + } + + public TextSimilarityRerankerDescriptor Filter(Action configure) + { + FilterValue = null; + FilterDescriptor = null; + FilterDescriptorActions = null; + FilterDescriptorAction = configure; + return Self; + } + + public TextSimilarityRerankerDescriptor Filter(params Action[] configure) + { + FilterValue = null; + FilterDescriptor = null; + FilterDescriptorAction = null; + FilterDescriptorActions = configure; + return Self; + } + + /// + /// + /// Unique identifier of the inference endpoint created using the inference API. + /// + /// + public TextSimilarityRerankerDescriptor InferenceId(string? inferenceId) + { + InferenceIdValue = inferenceId; + return Self; + } + + /// + /// + /// The text snippet used as the basis for similarity comparison + /// + /// + public TextSimilarityRerankerDescriptor InferenceText(string? inferenceText) + { + InferenceTextValue = inferenceText; + return Self; + } + + /// + /// + /// Minimum _score for matching documents. Documents with a lower _score are not included in the top documents. + /// + /// + public TextSimilarityRerankerDescriptor MinScore(float? minScore) + { + MinScoreValue = minScore; + return Self; + } + + /// + /// + /// This value determines how many documents we will consider from the nested retriever. + /// + /// + public TextSimilarityRerankerDescriptor RankWindowSize(int? rankWindowSize) + { + RankWindowSizeValue = rankWindowSize; + return Self; + } + + /// + /// + /// The nested retriever which will produce the first-level results, that will later be used for reranking. + /// + /// + public TextSimilarityRerankerDescriptor Retriever(Elastic.Clients.Elasticsearch.Serverless.Retriever retriever) + { + RetrieverDescriptor = null; + RetrieverDescriptorAction = null; + RetrieverValue = retriever; + return Self; + } + + public TextSimilarityRerankerDescriptor Retriever(Elastic.Clients.Elasticsearch.Serverless.RetrieverDescriptor descriptor) + { + RetrieverValue = null; + RetrieverDescriptorAction = null; + RetrieverDescriptor = descriptor; + return Self; + } + + public TextSimilarityRerankerDescriptor Retriever(Action configure) + { + RetrieverValue = null; + RetrieverDescriptor = null; + RetrieverDescriptorAction = configure; + return Self; + } + + protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) + { + writer.WriteStartObject(); + if (!string.IsNullOrEmpty(FieldValue)) + { + writer.WritePropertyName("field"); + writer.WriteStringValue(FieldValue); + } + + if (FilterDescriptor is not null) + { + writer.WritePropertyName("filter"); + JsonSerializer.Serialize(writer, FilterDescriptor, options); + } + else if (FilterDescriptorAction is not null) + { + writer.WritePropertyName("filter"); + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.Serverless.QueryDsl.QueryDescriptor(FilterDescriptorAction), options); + } + else if (FilterDescriptorActions is not null) + { + writer.WritePropertyName("filter"); + if (FilterDescriptorActions.Length != 1) + writer.WriteStartArray(); + foreach (var action in FilterDescriptorActions) + { + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.Serverless.QueryDsl.QueryDescriptor(action), options); + } + + if (FilterDescriptorActions.Length != 1) + writer.WriteEndArray(); + } + else if (FilterValue is not null) + { + writer.WritePropertyName("filter"); + SingleOrManySerializationHelper.Serialize(FilterValue, writer, options); + } + + if (!string.IsNullOrEmpty(InferenceIdValue)) + { + writer.WritePropertyName("inference_id"); + writer.WriteStringValue(InferenceIdValue); + } + + if (!string.IsNullOrEmpty(InferenceTextValue)) + { + writer.WritePropertyName("inference_text"); + writer.WriteStringValue(InferenceTextValue); + } + + if (MinScoreValue.HasValue) + { + writer.WritePropertyName("min_score"); + writer.WriteNumberValue(MinScoreValue.Value); + } + + if (RankWindowSizeValue.HasValue) + { + writer.WritePropertyName("rank_window_size"); + writer.WriteNumberValue(RankWindowSizeValue.Value); + } + + if (RetrieverDescriptor is not null) + { + writer.WritePropertyName("retriever"); + JsonSerializer.Serialize(writer, RetrieverDescriptor, options); + } + else if (RetrieverDescriptorAction is not null) + { + writer.WritePropertyName("retriever"); + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.Serverless.RetrieverDescriptor(RetrieverDescriptorAction), options); + } + else + { + writer.WritePropertyName("retriever"); + JsonSerializer.Serialize(writer, RetrieverValue, options); + } + + writer.WriteEndObject(); + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Xpack/Features.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Xpack/Features.g.cs index 8fced1722fa..9b76bc470f1 100644 --- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Xpack/Features.g.cs +++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Types/Xpack/Features.g.cs @@ -49,6 +49,8 @@ public sealed partial class Features public Elastic.Clients.Elasticsearch.Serverless.Xpack.Feature Graph { get; init; } [JsonInclude, JsonPropertyName("ilm")] public Elastic.Clients.Elasticsearch.Serverless.Xpack.Feature Ilm { get; init; } + [JsonInclude, JsonPropertyName("logsdb")] + public Elastic.Clients.Elasticsearch.Serverless.Xpack.Feature Logsdb { get; init; } [JsonInclude, JsonPropertyName("logstash")] public Elastic.Clients.Elasticsearch.Serverless.Xpack.Feature Logstash { get; init; } [JsonInclude, JsonPropertyName("ml")] diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/ApiUrlLookup.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/ApiUrlLookup.g.cs index 05feceafbce..537089cf96c 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/ApiUrlLookup.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/ApiUrlLookup.g.cs @@ -279,6 +279,7 @@ internal static class ApiUrlLookup internal static ApiUrls QueryRulesListRulesets = new ApiUrls(new[] { "_query_rules" }); internal static ApiUrls QueryRulesPutRule = new ApiUrls(new[] { "_query_rules/{ruleset_id}/_rule/{rule_id}" }); internal static ApiUrls QueryRulesPutRuleset = new ApiUrls(new[] { "_query_rules/{ruleset_id}" }); + internal static ApiUrls QueryRulesTest = new ApiUrls(new[] { "_query_rules/{ruleset_id}/_test" }); internal static ApiUrls RollupDeleteJob = new ApiUrls(new[] { "_rollup/job/{id}" }); internal static ApiUrls RollupGetJobs = new ApiUrls(new[] { "_rollup/job/{id}", "_rollup/job" }); internal static ApiUrls RollupGetRollupCaps = new ApiUrls(new[] { "_rollup/data/{id}", "_rollup/data" }); @@ -310,6 +311,7 @@ internal static class ApiUrlLookup internal static ApiUrls SecurityClearCachedRoles = new ApiUrls(new[] { "_security/role/{name}/_clear_cache" }); internal static ApiUrls SecurityClearCachedServiceTokens = new ApiUrls(new[] { "_security/service/{namespace}/{service}/credential/token/{name}/_clear_cache" }); internal static ApiUrls SecurityCreateApiKey = new ApiUrls(new[] { "_security/api_key" }); + internal static ApiUrls SecurityCreateCrossClusterApiKey = new ApiUrls(new[] { "_security/cross_cluster/api_key" }); internal static ApiUrls SecurityCreateServiceToken = new ApiUrls(new[] { "_security/service/{namespace}/{service}/credential/token/{name}", "_security/service/{namespace}/{service}/credential/token" }); internal static ApiUrls SecurityDeletePrivileges = new ApiUrls(new[] { "_security/privilege/{application}/{name}" }); internal static ApiUrls SecurityDeleteRole = new ApiUrls(new[] { "_security/role/{name}" }); @@ -353,6 +355,7 @@ internal static class ApiUrlLookup internal static ApiUrls SecuritySamlServiceProviderMetadata = new ApiUrls(new[] { "_security/saml/metadata/{realm_name}" }); internal static ApiUrls SecuritySuggestUserProfiles = new ApiUrls(new[] { "_security/profile/_suggest" }); internal static ApiUrls SecurityUpdateApiKey = new ApiUrls(new[] { "_security/api_key/{id}" }); + internal static ApiUrls SecurityUpdateCrossClusterApiKey = new ApiUrls(new[] { "_security/cross_cluster/api_key/{id}" }); internal static ApiUrls SecurityUpdateUserProfileData = new ApiUrls(new[] { "_security/profile/{uid}/_data" }); internal static ApiUrls SnapshotCleanupRepository = new ApiUrls(new[] { "_snapshot/{repository}/_cleanup" }); internal static ApiUrls SnapshotClone = new ApiUrls(new[] { "_snapshot/{repository}/{snapshot}/_clone/{target_snapshot}" }); @@ -371,6 +374,7 @@ internal static class ApiUrlLookup internal static ApiUrls SnapshotLifecycleManagementPutLifecycle = new ApiUrls(new[] { "_slm/policy/{policy_id}" }); internal static ApiUrls SnapshotLifecycleManagementStart = new ApiUrls(new[] { "_slm/start" }); internal static ApiUrls SnapshotLifecycleManagementStop = new ApiUrls(new[] { "_slm/stop" }); + internal static ApiUrls SnapshotRepositoryVerifyIntegrity = new ApiUrls(new[] { "_snapshot/{repository}/_verify_integrity" }); internal static ApiUrls SnapshotRestore = new ApiUrls(new[] { "_snapshot/{repository}/{snapshot}/_restore" }); internal static ApiUrls SnapshotStatus = new ApiUrls(new[] { "_snapshot/_status", "_snapshot/{repository}/_status", "_snapshot/{repository}/{snapshot}/_status" }); internal static ApiUrls SnapshotVerifyRepository = new ApiUrls(new[] { "_snapshot/{repository}/_verify" }); diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/AsyncSearchStatusRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/AsyncSearchStatusRequest.g.cs index 15213e6dde6..ddd279f7d46 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/AsyncSearchStatusRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/AsyncSearchStatusRequest.g.cs @@ -36,8 +36,10 @@ public sealed partial class AsyncSearchStatusRequestParameters : RequestParamete /// /// -/// Get async search status -/// Retrieves the status of a previously submitted async search request given its identifier, without retrieving search results. +/// Get the async search status. +/// +/// +/// Get the status of a previously submitted async search request given its identifier, without retrieving search results. /// If the Elasticsearch security features are enabled, use of this API is restricted to the monitoring_user role. /// /// @@ -58,8 +60,10 @@ public AsyncSearchStatusRequest(Elastic.Clients.Elasticsearch.Id id) : base(r => /// /// -/// Get async search status -/// Retrieves the status of a previously submitted async search request given its identifier, without retrieving search results. +/// Get the async search status. +/// +/// +/// Get the status of a previously submitted async search request given its identifier, without retrieving search results. /// If the Elasticsearch security features are enabled, use of this API is restricted to the monitoring_user role. /// /// @@ -92,8 +96,10 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o /// /// -/// Get async search status -/// Retrieves the status of a previously submitted async search request given its identifier, without retrieving search results. +/// Get the async search status. +/// +/// +/// Get the status of a previously submitted async search request given its identifier, without retrieving search results. /// If the Elasticsearch security features are enabled, use of this API is restricted to the monitoring_user role. /// /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/DeleteAsyncSearchRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/DeleteAsyncSearchRequest.g.cs index 335427c3133..e59001fda74 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/DeleteAsyncSearchRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/DeleteAsyncSearchRequest.g.cs @@ -36,8 +36,10 @@ public sealed partial class DeleteAsyncSearchRequestParameters : RequestParamete /// /// -/// Deletes an async search by identifier. -/// If the search is still running, the search request will be cancelled. +/// Delete an async search. +/// +/// +/// If the asynchronous search is still running, it is cancelled. /// Otherwise, the saved search results are deleted. /// If the Elasticsearch security features are enabled, the deletion of a specific async search is restricted to: the authenticated user that submitted the original search request; users that have the cancel_task cluster privilege. /// @@ -59,8 +61,10 @@ public DeleteAsyncSearchRequest(Elastic.Clients.Elasticsearch.Id id) : base(r => /// /// -/// Deletes an async search by identifier. -/// If the search is still running, the search request will be cancelled. +/// Delete an async search. +/// +/// +/// If the asynchronous search is still running, it is cancelled. /// Otherwise, the saved search results are deleted. /// If the Elasticsearch security features are enabled, the deletion of a specific async search is restricted to: the authenticated user that submitted the original search request; users that have the cancel_task cluster privilege. /// @@ -94,8 +98,10 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o /// /// -/// Deletes an async search by identifier. -/// If the search is still running, the search request will be cancelled. +/// Delete an async search. +/// +/// +/// If the asynchronous search is still running, it is cancelled. /// Otherwise, the saved search results are deleted. /// If the Elasticsearch security features are enabled, the deletion of a specific async search is restricted to: the authenticated user that submitted the original search request; users that have the cancel_task cluster privilege. /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/GetAsyncSearchRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/GetAsyncSearchRequest.g.cs index 7014f6ae88d..c2884fe1b43 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/GetAsyncSearchRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/GetAsyncSearchRequest.g.cs @@ -62,7 +62,10 @@ public sealed partial class GetAsyncSearchRequestParameters : RequestParameters /// /// -/// Retrieves the results of a previously submitted async search request given its identifier. +/// Get async search results. +/// +/// +/// Retrieve the results of a previously submitted asynchronous search request. /// If the Elasticsearch security features are enabled, access to the results of a specific async search is restricted to the user or API key that submitted it. /// /// @@ -113,7 +116,10 @@ public GetAsyncSearchRequest(Elastic.Clients.Elasticsearch.Id id) : base(r => r. /// /// -/// Retrieves the results of a previously submitted async search request given its identifier. +/// Get async search results. +/// +/// +/// Retrieve the results of a previously submitted asynchronous search request. /// If the Elasticsearch security features are enabled, access to the results of a specific async search is restricted to the user or API key that submitted it. /// /// @@ -150,7 +156,10 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o /// /// -/// Retrieves the results of a previously submitted async search request given its identifier. +/// Get async search results. +/// +/// +/// Retrieve the results of a previously submitted asynchronous search request. /// If the Elasticsearch security features are enabled, access to the results of a specific async search is restricted to the user or API key that submitted it. /// /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/SubmitAsyncSearchRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/SubmitAsyncSearchRequest.g.cs index 070370fb9a5..3612227015a 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/SubmitAsyncSearchRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/SubmitAsyncSearchRequest.g.cs @@ -138,7 +138,6 @@ public sealed partial class SubmitAsyncSearchRequestParameters : RequestParamete /// /// public long? MaxConcurrentShardRequests { get => Q("max_concurrent_shard_requests"); set => Q("max_concurrent_shard_requests", value); } - public string? MinCompatibleShardNode { get => Q("min_compatible_shard_node"); set => Q("min_compatible_shard_node", value); } /// /// @@ -652,10 +651,16 @@ public override void Write(Utf8JsonWriter writer, SubmitAsyncSearchRequest value /// /// -/// Runs a search request asynchronously. -/// When the primary sort of the results is an indexed field, shards get sorted based on minimum and maximum value that they hold for that field, hence partial results become available following the sort criteria that was requested. -/// Warning: Async search does not support scroll nor search requests that only include the suggest section. -/// By default, Elasticsearch doesn’t allow you to store an async search response larger than 10Mb and an attempt to do this results in an error. +/// Run an async search. +/// +/// +/// When the primary sort of the results is an indexed field, shards get sorted based on minimum and maximum value that they hold for that field. Partial results become available following the sort criteria that was requested. +/// +/// +/// Warning: Asynchronous search does not support scroll or search requests that include only the suggest section. +/// +/// +/// By default, Elasticsearch does not allow you to store an async search response larger than 10Mb and an attempt to do this results in an error. /// The maximum allowed size for a stored async search response can be set by changing the search.max_async_search_response_size cluster level setting. /// /// @@ -799,8 +804,6 @@ public SubmitAsyncSearchRequest(Elastic.Clients.Elasticsearch.Indices? indices) /// [JsonIgnore] public long? MaxConcurrentShardRequests { get => Q("max_concurrent_shard_requests"); set => Q("max_concurrent_shard_requests", value); } - [JsonIgnore] - public string? MinCompatibleShardNode { get => Q("min_compatible_shard_node"); set => Q("min_compatible_shard_node", value); } /// /// @@ -1145,10 +1148,16 @@ public SubmitAsyncSearchRequest(Elastic.Clients.Elasticsearch.Indices? indices) /// /// -/// Runs a search request asynchronously. -/// When the primary sort of the results is an indexed field, shards get sorted based on minimum and maximum value that they hold for that field, hence partial results become available following the sort criteria that was requested. -/// Warning: Async search does not support scroll nor search requests that only include the suggest section. -/// By default, Elasticsearch doesn’t allow you to store an async search response larger than 10Mb and an attempt to do this results in an error. +/// Run an async search. +/// +/// +/// When the primary sort of the results is an indexed field, shards get sorted based on minimum and maximum value that they hold for that field. Partial results become available following the sort criteria that was requested. +/// +/// +/// Warning: Asynchronous search does not support scroll or search requests that include only the suggest section. +/// +/// +/// By default, Elasticsearch does not allow you to store an async search response larger than 10Mb and an attempt to do this results in an error. /// The maximum allowed size for a stored async search response can be set by changing the search.max_async_search_response_size cluster level setting. /// /// @@ -1187,7 +1196,6 @@ public SubmitAsyncSearchRequestDescriptor() public SubmitAsyncSearchRequestDescriptor KeepOnCompletion(bool? keepOnCompletion = true) => Qs("keep_on_completion", keepOnCompletion); public SubmitAsyncSearchRequestDescriptor Lenient(bool? lenient = true) => Qs("lenient", lenient); public SubmitAsyncSearchRequestDescriptor MaxConcurrentShardRequests(long? maxConcurrentShardRequests) => Qs("max_concurrent_shard_requests", maxConcurrentShardRequests); - public SubmitAsyncSearchRequestDescriptor MinCompatibleShardNode(string? minCompatibleShardNode) => Qs("min_compatible_shard_node", minCompatibleShardNode); public SubmitAsyncSearchRequestDescriptor Preference(string? preference) => Qs("preference", preference); public SubmitAsyncSearchRequestDescriptor PreFilterShardSize(long? preFilterShardSize) => Qs("pre_filter_shard_size", preFilterShardSize); public SubmitAsyncSearchRequestDescriptor QueryLuceneSyntax(string? queryLuceneSyntax) => Qs("q", queryLuceneSyntax); @@ -2264,10 +2272,16 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o /// /// -/// Runs a search request asynchronously. -/// When the primary sort of the results is an indexed field, shards get sorted based on minimum and maximum value that they hold for that field, hence partial results become available following the sort criteria that was requested. -/// Warning: Async search does not support scroll nor search requests that only include the suggest section. -/// By default, Elasticsearch doesn’t allow you to store an async search response larger than 10Mb and an attempt to do this results in an error. +/// Run an async search. +/// +/// +/// When the primary sort of the results is an indexed field, shards get sorted based on minimum and maximum value that they hold for that field. Partial results become available following the sort criteria that was requested. +/// +/// +/// Warning: Asynchronous search does not support scroll or search requests that include only the suggest section. +/// +/// +/// By default, Elasticsearch does not allow you to store an async search response larger than 10Mb and an attempt to do this results in an error. /// The maximum allowed size for a stored async search response can be set by changing the search.max_async_search_response_size cluster level setting. /// /// @@ -2306,7 +2320,6 @@ public SubmitAsyncSearchRequestDescriptor() public SubmitAsyncSearchRequestDescriptor KeepOnCompletion(bool? keepOnCompletion = true) => Qs("keep_on_completion", keepOnCompletion); public SubmitAsyncSearchRequestDescriptor Lenient(bool? lenient = true) => Qs("lenient", lenient); public SubmitAsyncSearchRequestDescriptor MaxConcurrentShardRequests(long? maxConcurrentShardRequests) => Qs("max_concurrent_shard_requests", maxConcurrentShardRequests); - public SubmitAsyncSearchRequestDescriptor MinCompatibleShardNode(string? minCompatibleShardNode) => Qs("min_compatible_shard_node", minCompatibleShardNode); public SubmitAsyncSearchRequestDescriptor Preference(string? preference) => Qs("preference", preference); public SubmitAsyncSearchRequestDescriptor PreFilterShardSize(long? preFilterShardSize) => Qs("pre_filter_shard_size", preFilterShardSize); public SubmitAsyncSearchRequestDescriptor QueryLuceneSyntax(string? queryLuceneSyntax) => Qs("q", queryLuceneSyntax); diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/ClearScrollRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/ClearScrollRequest.g.cs index 44a39a87f99..156d7b50847 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/ClearScrollRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/ClearScrollRequest.g.cs @@ -36,7 +36,10 @@ public sealed partial class ClearScrollRequestParameters : RequestParameters /// /// -/// Clears the search context and results for a scrolling search. +/// Clear a scrolling search. +/// +/// +/// Clear the search context and results for a scrolling search. /// /// public sealed partial class ClearScrollRequest : PlainRequest @@ -61,7 +64,10 @@ public sealed partial class ClearScrollRequest : PlainRequest /// -/// Clears the search context and results for a scrolling search. +/// Clear a scrolling search. +/// +/// +/// Clear the search context and results for a scrolling search. /// /// public sealed partial class ClearScrollRequestDescriptor : RequestDescriptor diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/ClosePointInTimeRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/ClosePointInTimeRequest.g.cs index 9b343cb2798..4bc64124f7a 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/ClosePointInTimeRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/ClosePointInTimeRequest.g.cs @@ -36,7 +36,13 @@ public sealed partial class ClosePointInTimeRequestParameters : RequestParameter /// /// -/// Closes a point-in-time. +/// Close a point in time. +/// +/// +/// A point in time must be opened explicitly before being used in search requests. +/// The keep_alive parameter tells Elasticsearch how long it should persist. +/// A point in time is automatically closed when the keep_alive period has elapsed. +/// However, keeping points in time has a cost; close them as soon as they are no longer required for search requests. /// /// public sealed partial class ClosePointInTimeRequest : PlainRequest @@ -60,7 +66,13 @@ public sealed partial class ClosePointInTimeRequest : PlainRequest /// -/// Closes a point-in-time. +/// Close a point in time. +/// +/// +/// A point in time must be opened explicitly before being used in search requests. +/// The keep_alive parameter tells Elasticsearch how long it should persist. +/// A point in time is automatically closed when the keep_alive period has elapsed. +/// However, keeping points in time has a cost; close them as soon as they are no longer required for search requests. /// /// public sealed partial class ClosePointInTimeRequestDescriptor : RequestDescriptor diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/CrossClusterReplication/FollowRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/CrossClusterReplication/FollowRequest.g.cs index 34e1fcbab09..3280b6931ab 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/CrossClusterReplication/FollowRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/CrossClusterReplication/FollowRequest.g.cs @@ -34,7 +34,10 @@ public sealed partial class FollowRequestParameters : RequestParameters { /// /// - /// Sets the number of shard copies that must be active before returning. Defaults to 0. Set to all for all shard copies, otherwise set to any non-negative value less than or equal to the total number of copies for the shard (number of replicas + 1) + /// Specifies the number of shards to wait on being active before responding. This defaults to waiting on none of the shards to be + /// active. + /// A shard must be restored from the leader index before being active. Restoring a follower shard requires transferring all the + /// remote Lucene segment files to the follower index. /// /// public Elastic.Clients.Elasticsearch.WaitForActiveShards? WaitForActiveShards { get => Q("wait_for_active_shards"); set => Q("wait_for_active_shards", value); } @@ -61,35 +64,131 @@ public FollowRequest(Elastic.Clients.Elasticsearch.IndexName index) : base(r => /// /// - /// Sets the number of shard copies that must be active before returning. Defaults to 0. Set to all for all shard copies, otherwise set to any non-negative value less than or equal to the total number of copies for the shard (number of replicas + 1) + /// Specifies the number of shards to wait on being active before responding. This defaults to waiting on none of the shards to be + /// active. + /// A shard must be restored from the leader index before being active. Restoring a follower shard requires transferring all the + /// remote Lucene segment files to the follower index. /// /// [JsonIgnore] public Elastic.Clients.Elasticsearch.WaitForActiveShards? WaitForActiveShards { get => Q("wait_for_active_shards"); set => Q("wait_for_active_shards", value); } + + /// + /// + /// If the leader index is part of a data stream, the name to which the local data stream for the followed index should be renamed. + /// + /// + [JsonInclude, JsonPropertyName("data_stream_name")] + public string? DataStreamName { get; set; } + + /// + /// + /// The name of the index in the leader cluster to follow. + /// + /// [JsonInclude, JsonPropertyName("leader_index")] - public Elastic.Clients.Elasticsearch.IndexName? LeaderIndex { get; set; } + public Elastic.Clients.Elasticsearch.IndexName LeaderIndex { get; set; } + + /// + /// + /// The maximum number of outstanding reads requests from the remote cluster. + /// + /// [JsonInclude, JsonPropertyName("max_outstanding_read_requests")] public long? MaxOutstandingReadRequests { get; set; } + + /// + /// + /// The maximum number of outstanding write requests on the follower. + /// + /// [JsonInclude, JsonPropertyName("max_outstanding_write_requests")] - public long? MaxOutstandingWriteRequests { get; set; } + public int? MaxOutstandingWriteRequests { get; set; } + + /// + /// + /// The maximum number of operations to pull per read from the remote cluster. + /// + /// [JsonInclude, JsonPropertyName("max_read_request_operation_count")] - public long? MaxReadRequestOperationCount { get; set; } + public int? MaxReadRequestOperationCount { get; set; } + + /// + /// + /// The maximum size in bytes of per read of a batch of operations pulled from the remote cluster. + /// + /// [JsonInclude, JsonPropertyName("max_read_request_size")] - public string? MaxReadRequestSize { get; set; } + public Elastic.Clients.Elasticsearch.ByteSize? MaxReadRequestSize { get; set; } + + /// + /// + /// The maximum time to wait before retrying an operation that failed exceptionally. An exponential backoff strategy is employed when + /// retrying. + /// + /// [JsonInclude, JsonPropertyName("max_retry_delay")] public Elastic.Clients.Elasticsearch.Duration? MaxRetryDelay { get; set; } + + /// + /// + /// The maximum number of operations that can be queued for writing. When this limit is reached, reads from the remote cluster will be + /// deferred until the number of queued operations goes below the limit. + /// + /// [JsonInclude, JsonPropertyName("max_write_buffer_count")] - public long? MaxWriteBufferCount { get; set; } + public int? MaxWriteBufferCount { get; set; } + + /// + /// + /// The maximum total bytes of operations that can be queued for writing. When this limit is reached, reads from the remote cluster will + /// be deferred until the total bytes of queued operations goes below the limit. + /// + /// [JsonInclude, JsonPropertyName("max_write_buffer_size")] - public string? MaxWriteBufferSize { get; set; } + public Elastic.Clients.Elasticsearch.ByteSize? MaxWriteBufferSize { get; set; } + + /// + /// + /// The maximum number of operations per bulk write request executed on the follower. + /// + /// [JsonInclude, JsonPropertyName("max_write_request_operation_count")] - public long? MaxWriteRequestOperationCount { get; set; } + public int? MaxWriteRequestOperationCount { get; set; } + + /// + /// + /// The maximum total bytes of operations per bulk write request executed on the follower. + /// + /// [JsonInclude, JsonPropertyName("max_write_request_size")] - public string? MaxWriteRequestSize { get; set; } + public Elastic.Clients.Elasticsearch.ByteSize? MaxWriteRequestSize { get; set; } + + /// + /// + /// The maximum time to wait for new operations on the remote cluster when the follower index is synchronized with the leader index. + /// When the timeout has elapsed, the poll for operations will return to the follower so that it can update some statistics. + /// Then the follower will immediately attempt to read from the leader again. + /// + /// [JsonInclude, JsonPropertyName("read_poll_timeout")] public Elastic.Clients.Elasticsearch.Duration? ReadPollTimeout { get; set; } + + /// + /// + /// The remote cluster containing the leader index. + /// + /// [JsonInclude, JsonPropertyName("remote_cluster")] - public string? RemoteCluster { get; set; } + public string RemoteCluster { get; set; } + + /// + /// + /// Settings to override from the leader index. + /// + /// + [JsonInclude, JsonPropertyName("settings")] + public Elastic.Clients.Elasticsearch.IndexManagement.IndexSettings? Settings { get; set; } } /// @@ -125,100 +224,211 @@ public FollowRequestDescriptor Index(Elastic.Clients.Elasticsearch.In return Self; } - private Elastic.Clients.Elasticsearch.IndexName? LeaderIndexValue { get; set; } + private string? DataStreamNameValue { get; set; } + private Elastic.Clients.Elasticsearch.IndexName LeaderIndexValue { get; set; } private long? MaxOutstandingReadRequestsValue { get; set; } - private long? MaxOutstandingWriteRequestsValue { get; set; } - private long? MaxReadRequestOperationCountValue { get; set; } - private string? MaxReadRequestSizeValue { get; set; } + private int? MaxOutstandingWriteRequestsValue { get; set; } + private int? MaxReadRequestOperationCountValue { get; set; } + private Elastic.Clients.Elasticsearch.ByteSize? MaxReadRequestSizeValue { get; set; } private Elastic.Clients.Elasticsearch.Duration? MaxRetryDelayValue { get; set; } - private long? MaxWriteBufferCountValue { get; set; } - private string? MaxWriteBufferSizeValue { get; set; } - private long? MaxWriteRequestOperationCountValue { get; set; } - private string? MaxWriteRequestSizeValue { get; set; } + private int? MaxWriteBufferCountValue { get; set; } + private Elastic.Clients.Elasticsearch.ByteSize? MaxWriteBufferSizeValue { get; set; } + private int? MaxWriteRequestOperationCountValue { get; set; } + private Elastic.Clients.Elasticsearch.ByteSize? MaxWriteRequestSizeValue { get; set; } private Elastic.Clients.Elasticsearch.Duration? ReadPollTimeoutValue { get; set; } - private string? RemoteClusterValue { get; set; } + private string RemoteClusterValue { get; set; } + private Elastic.Clients.Elasticsearch.IndexManagement.IndexSettings? SettingsValue { get; set; } + private Elastic.Clients.Elasticsearch.IndexManagement.IndexSettingsDescriptor SettingsDescriptor { get; set; } + private Action> SettingsDescriptorAction { get; set; } - public FollowRequestDescriptor LeaderIndex(Elastic.Clients.Elasticsearch.IndexName? leaderIndex) + /// + /// + /// If the leader index is part of a data stream, the name to which the local data stream for the followed index should be renamed. + /// + /// + public FollowRequestDescriptor DataStreamName(string? dataStreamName) + { + DataStreamNameValue = dataStreamName; + return Self; + } + + /// + /// + /// The name of the index in the leader cluster to follow. + /// + /// + public FollowRequestDescriptor LeaderIndex(Elastic.Clients.Elasticsearch.IndexName leaderIndex) { LeaderIndexValue = leaderIndex; return Self; } + /// + /// + /// The maximum number of outstanding reads requests from the remote cluster. + /// + /// public FollowRequestDescriptor MaxOutstandingReadRequests(long? maxOutstandingReadRequests) { MaxOutstandingReadRequestsValue = maxOutstandingReadRequests; return Self; } - public FollowRequestDescriptor MaxOutstandingWriteRequests(long? maxOutstandingWriteRequests) + /// + /// + /// The maximum number of outstanding write requests on the follower. + /// + /// + public FollowRequestDescriptor MaxOutstandingWriteRequests(int? maxOutstandingWriteRequests) { MaxOutstandingWriteRequestsValue = maxOutstandingWriteRequests; return Self; } - public FollowRequestDescriptor MaxReadRequestOperationCount(long? maxReadRequestOperationCount) + /// + /// + /// The maximum number of operations to pull per read from the remote cluster. + /// + /// + public FollowRequestDescriptor MaxReadRequestOperationCount(int? maxReadRequestOperationCount) { MaxReadRequestOperationCountValue = maxReadRequestOperationCount; return Self; } - public FollowRequestDescriptor MaxReadRequestSize(string? maxReadRequestSize) + /// + /// + /// The maximum size in bytes of per read of a batch of operations pulled from the remote cluster. + /// + /// + public FollowRequestDescriptor MaxReadRequestSize(Elastic.Clients.Elasticsearch.ByteSize? maxReadRequestSize) { MaxReadRequestSizeValue = maxReadRequestSize; return Self; } + /// + /// + /// The maximum time to wait before retrying an operation that failed exceptionally. An exponential backoff strategy is employed when + /// retrying. + /// + /// public FollowRequestDescriptor MaxRetryDelay(Elastic.Clients.Elasticsearch.Duration? maxRetryDelay) { MaxRetryDelayValue = maxRetryDelay; return Self; } - public FollowRequestDescriptor MaxWriteBufferCount(long? maxWriteBufferCount) + /// + /// + /// The maximum number of operations that can be queued for writing. When this limit is reached, reads from the remote cluster will be + /// deferred until the number of queued operations goes below the limit. + /// + /// + public FollowRequestDescriptor MaxWriteBufferCount(int? maxWriteBufferCount) { MaxWriteBufferCountValue = maxWriteBufferCount; return Self; } - public FollowRequestDescriptor MaxWriteBufferSize(string? maxWriteBufferSize) + /// + /// + /// The maximum total bytes of operations that can be queued for writing. When this limit is reached, reads from the remote cluster will + /// be deferred until the total bytes of queued operations goes below the limit. + /// + /// + public FollowRequestDescriptor MaxWriteBufferSize(Elastic.Clients.Elasticsearch.ByteSize? maxWriteBufferSize) { MaxWriteBufferSizeValue = maxWriteBufferSize; return Self; } - public FollowRequestDescriptor MaxWriteRequestOperationCount(long? maxWriteRequestOperationCount) + /// + /// + /// The maximum number of operations per bulk write request executed on the follower. + /// + /// + public FollowRequestDescriptor MaxWriteRequestOperationCount(int? maxWriteRequestOperationCount) { MaxWriteRequestOperationCountValue = maxWriteRequestOperationCount; return Self; } - public FollowRequestDescriptor MaxWriteRequestSize(string? maxWriteRequestSize) + /// + /// + /// The maximum total bytes of operations per bulk write request executed on the follower. + /// + /// + public FollowRequestDescriptor MaxWriteRequestSize(Elastic.Clients.Elasticsearch.ByteSize? maxWriteRequestSize) { MaxWriteRequestSizeValue = maxWriteRequestSize; return Self; } + /// + /// + /// The maximum time to wait for new operations on the remote cluster when the follower index is synchronized with the leader index. + /// When the timeout has elapsed, the poll for operations will return to the follower so that it can update some statistics. + /// Then the follower will immediately attempt to read from the leader again. + /// + /// public FollowRequestDescriptor ReadPollTimeout(Elastic.Clients.Elasticsearch.Duration? readPollTimeout) { ReadPollTimeoutValue = readPollTimeout; return Self; } - public FollowRequestDescriptor RemoteCluster(string? remoteCluster) + /// + /// + /// The remote cluster containing the leader index. + /// + /// + public FollowRequestDescriptor RemoteCluster(string remoteCluster) { RemoteClusterValue = remoteCluster; return Self; } + /// + /// + /// Settings to override from the leader index. + /// + /// + public FollowRequestDescriptor Settings(Elastic.Clients.Elasticsearch.IndexManagement.IndexSettings? settings) + { + SettingsDescriptor = null; + SettingsDescriptorAction = null; + SettingsValue = settings; + return Self; + } + + public FollowRequestDescriptor Settings(Elastic.Clients.Elasticsearch.IndexManagement.IndexSettingsDescriptor descriptor) + { + SettingsValue = null; + SettingsDescriptorAction = null; + SettingsDescriptor = descriptor; + return Self; + } + + public FollowRequestDescriptor Settings(Action> configure) + { + SettingsValue = null; + SettingsDescriptor = null; + SettingsDescriptorAction = configure; + return Self; + } + protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) { writer.WriteStartObject(); - if (LeaderIndexValue is not null) + if (!string.IsNullOrEmpty(DataStreamNameValue)) { - writer.WritePropertyName("leader_index"); - JsonSerializer.Serialize(writer, LeaderIndexValue, options); + writer.WritePropertyName("data_stream_name"); + writer.WriteStringValue(DataStreamNameValue); } + writer.WritePropertyName("leader_index"); + JsonSerializer.Serialize(writer, LeaderIndexValue, options); if (MaxOutstandingReadRequestsValue.HasValue) { writer.WritePropertyName("max_outstanding_read_requests"); @@ -237,10 +447,10 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o writer.WriteNumberValue(MaxReadRequestOperationCountValue.Value); } - if (!string.IsNullOrEmpty(MaxReadRequestSizeValue)) + if (MaxReadRequestSizeValue is not null) { writer.WritePropertyName("max_read_request_size"); - writer.WriteStringValue(MaxReadRequestSizeValue); + JsonSerializer.Serialize(writer, MaxReadRequestSizeValue, options); } if (MaxRetryDelayValue is not null) @@ -255,10 +465,10 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o writer.WriteNumberValue(MaxWriteBufferCountValue.Value); } - if (!string.IsNullOrEmpty(MaxWriteBufferSizeValue)) + if (MaxWriteBufferSizeValue is not null) { writer.WritePropertyName("max_write_buffer_size"); - writer.WriteStringValue(MaxWriteBufferSizeValue); + JsonSerializer.Serialize(writer, MaxWriteBufferSizeValue, options); } if (MaxWriteRequestOperationCountValue.HasValue) @@ -267,10 +477,10 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o writer.WriteNumberValue(MaxWriteRequestOperationCountValue.Value); } - if (!string.IsNullOrEmpty(MaxWriteRequestSizeValue)) + if (MaxWriteRequestSizeValue is not null) { writer.WritePropertyName("max_write_request_size"); - writer.WriteStringValue(MaxWriteRequestSizeValue); + JsonSerializer.Serialize(writer, MaxWriteRequestSizeValue, options); } if (ReadPollTimeoutValue is not null) @@ -279,10 +489,22 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o JsonSerializer.Serialize(writer, ReadPollTimeoutValue, options); } - if (!string.IsNullOrEmpty(RemoteClusterValue)) + writer.WritePropertyName("remote_cluster"); + writer.WriteStringValue(RemoteClusterValue); + if (SettingsDescriptor is not null) + { + writer.WritePropertyName("settings"); + JsonSerializer.Serialize(writer, SettingsDescriptor, options); + } + else if (SettingsDescriptorAction is not null) + { + writer.WritePropertyName("settings"); + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.IndexManagement.IndexSettingsDescriptor(SettingsDescriptorAction), options); + } + else if (SettingsValue is not null) { - writer.WritePropertyName("remote_cluster"); - writer.WriteStringValue(RemoteClusterValue); + writer.WritePropertyName("settings"); + JsonSerializer.Serialize(writer, SettingsValue, options); } writer.WriteEndObject(); @@ -318,100 +540,211 @@ public FollowRequestDescriptor Index(Elastic.Clients.Elasticsearch.IndexName ind return Self; } - private Elastic.Clients.Elasticsearch.IndexName? LeaderIndexValue { get; set; } + private string? DataStreamNameValue { get; set; } + private Elastic.Clients.Elasticsearch.IndexName LeaderIndexValue { get; set; } private long? MaxOutstandingReadRequestsValue { get; set; } - private long? MaxOutstandingWriteRequestsValue { get; set; } - private long? MaxReadRequestOperationCountValue { get; set; } - private string? MaxReadRequestSizeValue { get; set; } + private int? MaxOutstandingWriteRequestsValue { get; set; } + private int? MaxReadRequestOperationCountValue { get; set; } + private Elastic.Clients.Elasticsearch.ByteSize? MaxReadRequestSizeValue { get; set; } private Elastic.Clients.Elasticsearch.Duration? MaxRetryDelayValue { get; set; } - private long? MaxWriteBufferCountValue { get; set; } - private string? MaxWriteBufferSizeValue { get; set; } - private long? MaxWriteRequestOperationCountValue { get; set; } - private string? MaxWriteRequestSizeValue { get; set; } + private int? MaxWriteBufferCountValue { get; set; } + private Elastic.Clients.Elasticsearch.ByteSize? MaxWriteBufferSizeValue { get; set; } + private int? MaxWriteRequestOperationCountValue { get; set; } + private Elastic.Clients.Elasticsearch.ByteSize? MaxWriteRequestSizeValue { get; set; } private Elastic.Clients.Elasticsearch.Duration? ReadPollTimeoutValue { get; set; } - private string? RemoteClusterValue { get; set; } + private string RemoteClusterValue { get; set; } + private Elastic.Clients.Elasticsearch.IndexManagement.IndexSettings? SettingsValue { get; set; } + private Elastic.Clients.Elasticsearch.IndexManagement.IndexSettingsDescriptor SettingsDescriptor { get; set; } + private Action SettingsDescriptorAction { get; set; } + + /// + /// + /// If the leader index is part of a data stream, the name to which the local data stream for the followed index should be renamed. + /// + /// + public FollowRequestDescriptor DataStreamName(string? dataStreamName) + { + DataStreamNameValue = dataStreamName; + return Self; + } - public FollowRequestDescriptor LeaderIndex(Elastic.Clients.Elasticsearch.IndexName? leaderIndex) + /// + /// + /// The name of the index in the leader cluster to follow. + /// + /// + public FollowRequestDescriptor LeaderIndex(Elastic.Clients.Elasticsearch.IndexName leaderIndex) { LeaderIndexValue = leaderIndex; return Self; } + /// + /// + /// The maximum number of outstanding reads requests from the remote cluster. + /// + /// public FollowRequestDescriptor MaxOutstandingReadRequests(long? maxOutstandingReadRequests) { MaxOutstandingReadRequestsValue = maxOutstandingReadRequests; return Self; } - public FollowRequestDescriptor MaxOutstandingWriteRequests(long? maxOutstandingWriteRequests) + /// + /// + /// The maximum number of outstanding write requests on the follower. + /// + /// + public FollowRequestDescriptor MaxOutstandingWriteRequests(int? maxOutstandingWriteRequests) { MaxOutstandingWriteRequestsValue = maxOutstandingWriteRequests; return Self; } - public FollowRequestDescriptor MaxReadRequestOperationCount(long? maxReadRequestOperationCount) + /// + /// + /// The maximum number of operations to pull per read from the remote cluster. + /// + /// + public FollowRequestDescriptor MaxReadRequestOperationCount(int? maxReadRequestOperationCount) { MaxReadRequestOperationCountValue = maxReadRequestOperationCount; return Self; } - public FollowRequestDescriptor MaxReadRequestSize(string? maxReadRequestSize) + /// + /// + /// The maximum size in bytes of per read of a batch of operations pulled from the remote cluster. + /// + /// + public FollowRequestDescriptor MaxReadRequestSize(Elastic.Clients.Elasticsearch.ByteSize? maxReadRequestSize) { MaxReadRequestSizeValue = maxReadRequestSize; return Self; } + /// + /// + /// The maximum time to wait before retrying an operation that failed exceptionally. An exponential backoff strategy is employed when + /// retrying. + /// + /// public FollowRequestDescriptor MaxRetryDelay(Elastic.Clients.Elasticsearch.Duration? maxRetryDelay) { MaxRetryDelayValue = maxRetryDelay; return Self; } - public FollowRequestDescriptor MaxWriteBufferCount(long? maxWriteBufferCount) + /// + /// + /// The maximum number of operations that can be queued for writing. When this limit is reached, reads from the remote cluster will be + /// deferred until the number of queued operations goes below the limit. + /// + /// + public FollowRequestDescriptor MaxWriteBufferCount(int? maxWriteBufferCount) { MaxWriteBufferCountValue = maxWriteBufferCount; return Self; } - public FollowRequestDescriptor MaxWriteBufferSize(string? maxWriteBufferSize) + /// + /// + /// The maximum total bytes of operations that can be queued for writing. When this limit is reached, reads from the remote cluster will + /// be deferred until the total bytes of queued operations goes below the limit. + /// + /// + public FollowRequestDescriptor MaxWriteBufferSize(Elastic.Clients.Elasticsearch.ByteSize? maxWriteBufferSize) { MaxWriteBufferSizeValue = maxWriteBufferSize; return Self; } - public FollowRequestDescriptor MaxWriteRequestOperationCount(long? maxWriteRequestOperationCount) + /// + /// + /// The maximum number of operations per bulk write request executed on the follower. + /// + /// + public FollowRequestDescriptor MaxWriteRequestOperationCount(int? maxWriteRequestOperationCount) { MaxWriteRequestOperationCountValue = maxWriteRequestOperationCount; return Self; } - public FollowRequestDescriptor MaxWriteRequestSize(string? maxWriteRequestSize) + /// + /// + /// The maximum total bytes of operations per bulk write request executed on the follower. + /// + /// + public FollowRequestDescriptor MaxWriteRequestSize(Elastic.Clients.Elasticsearch.ByteSize? maxWriteRequestSize) { MaxWriteRequestSizeValue = maxWriteRequestSize; return Self; } + /// + /// + /// The maximum time to wait for new operations on the remote cluster when the follower index is synchronized with the leader index. + /// When the timeout has elapsed, the poll for operations will return to the follower so that it can update some statistics. + /// Then the follower will immediately attempt to read from the leader again. + /// + /// public FollowRequestDescriptor ReadPollTimeout(Elastic.Clients.Elasticsearch.Duration? readPollTimeout) { ReadPollTimeoutValue = readPollTimeout; return Self; } - public FollowRequestDescriptor RemoteCluster(string? remoteCluster) + /// + /// + /// The remote cluster containing the leader index. + /// + /// + public FollowRequestDescriptor RemoteCluster(string remoteCluster) { RemoteClusterValue = remoteCluster; return Self; } + /// + /// + /// Settings to override from the leader index. + /// + /// + public FollowRequestDescriptor Settings(Elastic.Clients.Elasticsearch.IndexManagement.IndexSettings? settings) + { + SettingsDescriptor = null; + SettingsDescriptorAction = null; + SettingsValue = settings; + return Self; + } + + public FollowRequestDescriptor Settings(Elastic.Clients.Elasticsearch.IndexManagement.IndexSettingsDescriptor descriptor) + { + SettingsValue = null; + SettingsDescriptorAction = null; + SettingsDescriptor = descriptor; + return Self; + } + + public FollowRequestDescriptor Settings(Action configure) + { + SettingsValue = null; + SettingsDescriptor = null; + SettingsDescriptorAction = configure; + return Self; + } + protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) { writer.WriteStartObject(); - if (LeaderIndexValue is not null) + if (!string.IsNullOrEmpty(DataStreamNameValue)) { - writer.WritePropertyName("leader_index"); - JsonSerializer.Serialize(writer, LeaderIndexValue, options); + writer.WritePropertyName("data_stream_name"); + writer.WriteStringValue(DataStreamNameValue); } + writer.WritePropertyName("leader_index"); + JsonSerializer.Serialize(writer, LeaderIndexValue, options); if (MaxOutstandingReadRequestsValue.HasValue) { writer.WritePropertyName("max_outstanding_read_requests"); @@ -430,10 +763,10 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o writer.WriteNumberValue(MaxReadRequestOperationCountValue.Value); } - if (!string.IsNullOrEmpty(MaxReadRequestSizeValue)) + if (MaxReadRequestSizeValue is not null) { writer.WritePropertyName("max_read_request_size"); - writer.WriteStringValue(MaxReadRequestSizeValue); + JsonSerializer.Serialize(writer, MaxReadRequestSizeValue, options); } if (MaxRetryDelayValue is not null) @@ -448,10 +781,10 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o writer.WriteNumberValue(MaxWriteBufferCountValue.Value); } - if (!string.IsNullOrEmpty(MaxWriteBufferSizeValue)) + if (MaxWriteBufferSizeValue is not null) { writer.WritePropertyName("max_write_buffer_size"); - writer.WriteStringValue(MaxWriteBufferSizeValue); + JsonSerializer.Serialize(writer, MaxWriteBufferSizeValue, options); } if (MaxWriteRequestOperationCountValue.HasValue) @@ -460,10 +793,10 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o writer.WriteNumberValue(MaxWriteRequestOperationCountValue.Value); } - if (!string.IsNullOrEmpty(MaxWriteRequestSizeValue)) + if (MaxWriteRequestSizeValue is not null) { writer.WritePropertyName("max_write_request_size"); - writer.WriteStringValue(MaxWriteRequestSizeValue); + JsonSerializer.Serialize(writer, MaxWriteRequestSizeValue, options); } if (ReadPollTimeoutValue is not null) @@ -472,10 +805,22 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o JsonSerializer.Serialize(writer, ReadPollTimeoutValue, options); } - if (!string.IsNullOrEmpty(RemoteClusterValue)) + writer.WritePropertyName("remote_cluster"); + writer.WriteStringValue(RemoteClusterValue); + if (SettingsDescriptor is not null) + { + writer.WritePropertyName("settings"); + JsonSerializer.Serialize(writer, SettingsDescriptor, options); + } + else if (SettingsDescriptorAction is not null) + { + writer.WritePropertyName("settings"); + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.IndexManagement.IndexSettingsDescriptor(SettingsDescriptorAction), options); + } + else if (SettingsValue is not null) { - writer.WritePropertyName("remote_cluster"); - writer.WriteStringValue(RemoteClusterValue); + writer.WritePropertyName("settings"); + JsonSerializer.Serialize(writer, SettingsValue, options); } writer.WriteEndObject(); diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/DanglingIndices/ListDanglingIndicesRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/DanglingIndices/ListDanglingIndicesRequest.g.cs index d7bfa075bab..651b65cef03 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/DanglingIndices/ListDanglingIndicesRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/DanglingIndices/ListDanglingIndicesRequest.g.cs @@ -36,7 +36,14 @@ public sealed partial class ListDanglingIndicesRequestParameters : RequestParame /// /// -/// Returns all dangling indices. +/// Get the dangling indices. +/// +/// +/// If Elasticsearch encounters index data that is absent from the current cluster state, those indices are considered to be dangling. +/// For example, this can happen if you delete more than cluster.indices.tombstones.size indices while an Elasticsearch node is offline. +/// +/// +/// Use this API to list dangling indices, which you can then import or delete. /// /// public sealed partial class ListDanglingIndicesRequest : PlainRequest @@ -52,7 +59,14 @@ public sealed partial class ListDanglingIndicesRequest : PlainRequest /// -/// Returns all dangling indices. +/// Get the dangling indices. +/// +/// +/// If Elasticsearch encounters index data that is absent from the current cluster state, those indices are considered to be dangling. +/// For example, this can happen if you delete more than cluster.indices.tombstones.size indices while an Elasticsearch node is offline. +/// +/// +/// Use this API to list dangling indices, which you can then import or delete. /// /// public sealed partial class ListDanglingIndicesRequestDescriptor : RequestDescriptor diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/DeleteByQueryRethrottleRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/DeleteByQueryRethrottleRequest.g.cs index e425b31cccf..2b09f0d917c 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/DeleteByQueryRethrottleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/DeleteByQueryRethrottleRequest.g.cs @@ -42,7 +42,11 @@ public sealed partial class DeleteByQueryRethrottleRequestParameters : RequestPa /// /// -/// Changes the number of requests per second for a particular Delete By Query operation. +/// Throttle a delete by query operation. +/// +/// +/// Change the number of requests per second for a particular delete by query operation. +/// Rethrottling that speeds up the query takes effect immediately but rethrotting that slows down the query takes effect after completing the current batch to prevent scroll timeouts. /// /// public sealed partial class DeleteByQueryRethrottleRequest : PlainRequest @@ -70,7 +74,11 @@ public DeleteByQueryRethrottleRequest(Elastic.Clients.Elasticsearch.TaskId taskI /// /// -/// Changes the number of requests per second for a particular Delete By Query operation. +/// Throttle a delete by query operation. +/// +/// +/// Change the number of requests per second for a particular delete by query operation. +/// Rethrottling that speeds up the query takes effect immediately but rethrotting that slows down the query takes effect after completing the current batch to prevent scroll timeouts. /// /// public sealed partial class DeleteByQueryRethrottleRequestDescriptor : RequestDescriptor diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Eql/EqlSearchRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Eql/EqlSearchRequest.g.cs index c5e18996c7c..20a29d1a6c8 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Eql/EqlSearchRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Eql/EqlSearchRequest.g.cs @@ -115,6 +115,16 @@ public EqlSearchRequest(Elastic.Clients.Elasticsearch.Indices indices) : base(r [JsonInclude, JsonPropertyName("keep_on_completion")] public bool? KeepOnCompletion { get; set; } + /// + /// + /// By default, the response of a sample query contains up to 10 samples, with one sample per unique set of join keys. Use the size + /// parameter to get a smaller or larger set of samples. To retrieve more than one sample per set of join keys, use the + /// max_samples_per_key parameter. Pipes are not supported for sample queries. + /// + /// + [JsonInclude, JsonPropertyName("max_samples_per_key")] + public int? MaxSamplesPerKey { get; set; } + /// /// /// EQL query you wish to run. @@ -202,6 +212,7 @@ public EqlSearchRequestDescriptor Indices(Elastic.Clients.Elasticsear private Action>[] FilterDescriptorActions { get; set; } private Elastic.Clients.Elasticsearch.Duration? KeepAliveValue { get; set; } private bool? KeepOnCompletionValue { get; set; } + private int? MaxSamplesPerKeyValue { get; set; } private string QueryValue { get; set; } private Elastic.Clients.Elasticsearch.Eql.ResultPosition? ResultPositionValue { get; set; } private IDictionary> RuntimeMappingsValue { get; set; } @@ -354,6 +365,19 @@ public EqlSearchRequestDescriptor KeepOnCompletion(bool? keepOnComple return Self; } + /// + /// + /// By default, the response of a sample query contains up to 10 samples, with one sample per unique set of join keys. Use the size + /// parameter to get a smaller or larger set of samples. To retrieve more than one sample per set of join keys, use the + /// max_samples_per_key parameter. Pipes are not supported for sample queries. + /// + /// + public EqlSearchRequestDescriptor MaxSamplesPerKey(int? maxSamplesPerKey) + { + MaxSamplesPerKeyValue = maxSamplesPerKey; + return Self; + } + /// /// /// EQL query you wish to run. @@ -551,6 +575,12 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o writer.WriteBooleanValue(KeepOnCompletionValue.Value); } + if (MaxSamplesPerKeyValue.HasValue) + { + writer.WritePropertyName("max_samples_per_key"); + writer.WriteNumberValue(MaxSamplesPerKeyValue.Value); + } + writer.WritePropertyName("query"); writer.WriteStringValue(QueryValue); if (ResultPositionValue is not null) @@ -637,6 +667,7 @@ public EqlSearchRequestDescriptor Indices(Elastic.Clients.Elasticsearch.Indices private Action[] FilterDescriptorActions { get; set; } private Elastic.Clients.Elasticsearch.Duration? KeepAliveValue { get; set; } private bool? KeepOnCompletionValue { get; set; } + private int? MaxSamplesPerKeyValue { get; set; } private string QueryValue { get; set; } private Elastic.Clients.Elasticsearch.Eql.ResultPosition? ResultPositionValue { get; set; } private IDictionary RuntimeMappingsValue { get; set; } @@ -789,6 +820,19 @@ public EqlSearchRequestDescriptor KeepOnCompletion(bool? keepOnCompletion = true return Self; } + /// + /// + /// By default, the response of a sample query contains up to 10 samples, with one sample per unique set of join keys. Use the size + /// parameter to get a smaller or larger set of samples. To retrieve more than one sample per set of join keys, use the + /// max_samples_per_key parameter. Pipes are not supported for sample queries. + /// + /// + public EqlSearchRequestDescriptor MaxSamplesPerKey(int? maxSamplesPerKey) + { + MaxSamplesPerKeyValue = maxSamplesPerKey; + return Self; + } + /// /// /// EQL query you wish to run. @@ -986,6 +1030,12 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o writer.WriteBooleanValue(KeepOnCompletionValue.Value); } + if (MaxSamplesPerKeyValue.HasValue) + { + writer.WritePropertyName("max_samples_per_key"); + writer.WriteNumberValue(MaxSamplesPerKeyValue.Value); + } + writer.WritePropertyName("query"); writer.WriteStringValue(QueryValue); if (ResultPositionValue is not null) diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/FieldCapsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/FieldCapsRequest.g.cs index 4ff7e9fbd9c..40ca0aa9140 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/FieldCapsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/FieldCapsRequest.g.cs @@ -86,9 +86,15 @@ public sealed partial class FieldCapsRequestParameters : RequestParameters /// /// -/// The field capabilities API returns the information about the capabilities of fields among multiple indices. -/// The field capabilities API returns runtime fields like any other field. For example, a runtime field with a type -/// of keyword is returned as any other field that belongs to the keyword family. +/// Get the field capabilities. +/// +/// +/// Get information about the capabilities of fields among multiple indices. +/// +/// +/// For data streams, the API returns field capabilities among the stream’s backing indices. +/// It returns runtime fields like any other field. +/// For example, a runtime field with a type of keyword is returned the same as any other field that belongs to the keyword family. /// /// public sealed partial class FieldCapsRequest : PlainRequest @@ -196,9 +202,15 @@ public FieldCapsRequest(Elastic.Clients.Elasticsearch.Indices? indices) : base(r /// /// -/// The field capabilities API returns the information about the capabilities of fields among multiple indices. -/// The field capabilities API returns runtime fields like any other field. For example, a runtime field with a type -/// of keyword is returned as any other field that belongs to the keyword family. +/// Get the field capabilities. +/// +/// +/// Get information about the capabilities of fields among multiple indices. +/// +/// +/// For data streams, the API returns field capabilities among the stream’s backing indices. +/// It returns runtime fields like any other field. +/// For example, a runtime field with a type of keyword is returned the same as any other field that belongs to the keyword family. /// /// public sealed partial class FieldCapsRequestDescriptor : RequestDescriptor, FieldCapsRequestParameters> @@ -330,9 +342,15 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o /// /// -/// The field capabilities API returns the information about the capabilities of fields among multiple indices. -/// The field capabilities API returns runtime fields like any other field. For example, a runtime field with a type -/// of keyword is returned as any other field that belongs to the keyword family. +/// Get the field capabilities. +/// +/// +/// Get information about the capabilities of fields among multiple indices. +/// +/// +/// For data streams, the API returns field capabilities among the stream’s backing indices. +/// It returns runtime fields like any other field. +/// For example, a runtime field with a type of keyword is returned the same as any other field that belongs to the keyword family. /// /// public sealed partial class FieldCapsRequestDescriptor : RequestDescriptor diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/GetScriptContextRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/GetScriptContextRequest.g.cs index 57912b0d588..4364f3b5fe8 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/GetScriptContextRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/GetScriptContextRequest.g.cs @@ -36,7 +36,10 @@ public sealed partial class GetScriptContextRequestParameters : RequestParameter /// /// -/// Returns all script contexts. +/// Get script contexts. +/// +/// +/// Get a list of supported script contexts and their methods. /// /// public sealed partial class GetScriptContextRequest : PlainRequest @@ -52,7 +55,10 @@ public sealed partial class GetScriptContextRequest : PlainRequest /// -/// Returns all script contexts. +/// Get script contexts. +/// +/// +/// Get a list of supported script contexts and their methods. /// /// public sealed partial class GetScriptContextRequestDescriptor : RequestDescriptor diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/GetScriptLanguagesRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/GetScriptLanguagesRequest.g.cs index fe59cc63faf..eb6c1779d1b 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/GetScriptLanguagesRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/GetScriptLanguagesRequest.g.cs @@ -36,7 +36,10 @@ public sealed partial class GetScriptLanguagesRequestParameters : RequestParamet /// /// -/// Returns available script types, languages and contexts +/// Get script languages. +/// +/// +/// Get a list of available script types, languages, and contexts. /// /// public sealed partial class GetScriptLanguagesRequest : PlainRequest @@ -52,7 +55,10 @@ public sealed partial class GetScriptLanguagesRequest : PlainRequest /// -/// Returns available script types, languages and contexts +/// Get script languages. +/// +/// +/// Get a list of available script types, languages, and contexts. /// /// public sealed partial class GetScriptLanguagesRequestDescriptor : RequestDescriptor diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/AnalyzeIndexRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/AnalyzeIndexRequest.g.cs index 03931786cec..0a17e30d21c 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/AnalyzeIndexRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/AnalyzeIndexRequest.g.cs @@ -36,7 +36,8 @@ public sealed partial class AnalyzeIndexRequestParameters : RequestParameters /// /// -/// Performs analysis on a text string and returns the resulting tokens. +/// Get tokens from text analysis. +/// The analyze API performs analysis on a text string and returns the resulting tokens. /// /// public sealed partial class AnalyzeIndexRequest : PlainRequest @@ -137,7 +138,8 @@ public AnalyzeIndexRequest(Elastic.Clients.Elasticsearch.IndexName? index) : bas /// /// -/// Performs analysis on a text string and returns the resulting tokens. +/// Get tokens from text analysis. +/// The analyze API performs analysis on a text string and returns the resulting tokens. /// /// public sealed partial class AnalyzeIndexRequestDescriptor : RequestDescriptor, AnalyzeIndexRequestParameters> @@ -368,7 +370,8 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o /// /// -/// Performs analysis on a text string and returns the resulting tokens. +/// Get tokens from text analysis. +/// The analyze API performs analysis on a text string and returns the resulting tokens. /// /// public sealed partial class AnalyzeIndexRequestDescriptor : RequestDescriptor diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ExistsAliasRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ExistsAliasRequest.g.cs index 6edfd5890c7..497533fe195 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ExistsAliasRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ExistsAliasRequest.g.cs @@ -56,13 +56,6 @@ public sealed partial class ExistsAliasRequestParameters : RequestParameters /// /// public bool? IgnoreUnavailable { get => Q("ignore_unavailable"); set => Q("ignore_unavailable", value); } - - /// - /// - /// If true, the request retrieves information from the local node only. - /// - /// - public bool? Local { get => Q("local"); set => Q("local", value); } } /// @@ -116,14 +109,6 @@ public ExistsAliasRequest(Elastic.Clients.Elasticsearch.Indices? indices, Elasti /// [JsonIgnore] public bool? IgnoreUnavailable { get => Q("ignore_unavailable"); set => Q("ignore_unavailable", value); } - - /// - /// - /// If true, the request retrieves information from the local node only. - /// - /// - [JsonIgnore] - public bool? Local { get => Q("local"); set => Q("local", value); } } /// @@ -155,7 +140,6 @@ public ExistsAliasRequestDescriptor(Elastic.Clients.Elasticsearch.Names name) : public ExistsAliasRequestDescriptor AllowNoIndices(bool? allowNoIndices = true) => Qs("allow_no_indices", allowNoIndices); public ExistsAliasRequestDescriptor ExpandWildcards(ICollection? expandWildcards) => Qs("expand_wildcards", expandWildcards); public ExistsAliasRequestDescriptor IgnoreUnavailable(bool? ignoreUnavailable = true) => Qs("ignore_unavailable", ignoreUnavailable); - public ExistsAliasRequestDescriptor Local(bool? local = true) => Qs("local", local); public ExistsAliasRequestDescriptor Indices(Elastic.Clients.Elasticsearch.Indices? indices) { @@ -203,7 +187,6 @@ public ExistsAliasRequestDescriptor(Elastic.Clients.Elasticsearch.Names name) : public ExistsAliasRequestDescriptor AllowNoIndices(bool? allowNoIndices = true) => Qs("allow_no_indices", allowNoIndices); public ExistsAliasRequestDescriptor ExpandWildcards(ICollection? expandWildcards) => Qs("expand_wildcards", expandWildcards); public ExistsAliasRequestDescriptor IgnoreUnavailable(bool? ignoreUnavailable = true) => Qs("ignore_unavailable", ignoreUnavailable); - public ExistsAliasRequestDescriptor Local(bool? local = true) => Qs("local", local); public ExistsAliasRequestDescriptor Indices(Elastic.Clients.Elasticsearch.Indices? indices) { diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetAliasRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetAliasRequest.g.cs index cf9ce0876a7..dde2e261da7 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetAliasRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetAliasRequest.g.cs @@ -56,13 +56,6 @@ public sealed partial class GetAliasRequestParameters : RequestParameters /// /// public bool? IgnoreUnavailable { get => Q("ignore_unavailable"); set => Q("ignore_unavailable", value); } - - /// - /// - /// If true, the request retrieves information from the local node only. - /// - /// - public bool? Local { get => Q("local"); set => Q("local", value); } } /// @@ -124,14 +117,6 @@ public GetAliasRequest(Elastic.Clients.Elasticsearch.Indices? indices) : base(r /// [JsonIgnore] public bool? IgnoreUnavailable { get => Q("ignore_unavailable"); set => Q("ignore_unavailable", value); } - - /// - /// - /// If true, the request retrieves information from the local node only. - /// - /// - [JsonIgnore] - public bool? Local { get => Q("local"); set => Q("local", value); } } /// @@ -163,7 +148,6 @@ public GetAliasRequestDescriptor() public GetAliasRequestDescriptor AllowNoIndices(bool? allowNoIndices = true) => Qs("allow_no_indices", allowNoIndices); public GetAliasRequestDescriptor ExpandWildcards(ICollection? expandWildcards) => Qs("expand_wildcards", expandWildcards); public GetAliasRequestDescriptor IgnoreUnavailable(bool? ignoreUnavailable = true) => Qs("ignore_unavailable", ignoreUnavailable); - public GetAliasRequestDescriptor Local(bool? local = true) => Qs("local", local); public GetAliasRequestDescriptor Indices(Elastic.Clients.Elasticsearch.Indices? indices) { @@ -211,7 +195,6 @@ public GetAliasRequestDescriptor() public GetAliasRequestDescriptor AllowNoIndices(bool? allowNoIndices = true) => Qs("allow_no_indices", allowNoIndices); public GetAliasRequestDescriptor ExpandWildcards(ICollection? expandWildcards) => Qs("expand_wildcards", expandWildcards); public GetAliasRequestDescriptor IgnoreUnavailable(bool? ignoreUnavailable = true) => Qs("ignore_unavailable", ignoreUnavailable); - public GetAliasRequestDescriptor Local(bool? local = true) => Qs("local", local); public GetAliasRequestDescriptor Indices(Elastic.Clients.Elasticsearch.Indices? indices) { diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/PutDataLifecycleRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/PutDataLifecycleRequest.g.cs index 34af04025ab..85d023869c7 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/PutDataLifecycleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/PutDataLifecycleRequest.g.cs @@ -65,7 +65,7 @@ public sealed partial class PutDataLifecycleRequestParameters : RequestParameter /// Update the data stream lifecycle of the specified data streams. /// /// -public sealed partial class PutDataLifecycleRequest : PlainRequest +public sealed partial class PutDataLifecycleRequest : PlainRequest, ISelfSerializable { public PutDataLifecycleRequest(Elastic.Clients.Elasticsearch.DataStreamNames name) : base(r => r.Required("name", name)) { @@ -107,25 +107,13 @@ public PutDataLifecycleRequest(Elastic.Clients.Elasticsearch.DataStreamNames nam /// [JsonIgnore] public Elastic.Clients.Elasticsearch.Duration? Timeout { get => Q("timeout"); set => Q("timeout", value); } + [JsonIgnore] + public Elastic.Clients.Elasticsearch.IndexManagement.DataStreamLifecycle Lifecycle { get; set; } - /// - /// - /// If defined, every document added to this data stream will be stored at least for this time frame. - /// Any time after this duration the document could be deleted. - /// When empty, every document in this data stream will be stored indefinitely. - /// - /// - [JsonInclude, JsonPropertyName("data_retention")] - public Elastic.Clients.Elasticsearch.Duration? DataRetention { get; set; } - - /// - /// - /// If defined, every backing index will execute the configured downsampling configuration after the backing - /// index is not the data stream write index anymore. - /// - /// - [JsonInclude, JsonPropertyName("downsampling")] - public Elastic.Clients.Elasticsearch.IndexManagement.DataStreamLifecycleDownsampling? Downsampling { get; set; } + void ISelfSerializable.Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) + { + JsonSerializer.Serialize(writer, Lifecycle, options); + } } /// @@ -137,10 +125,7 @@ public PutDataLifecycleRequest(Elastic.Clients.Elasticsearch.DataStreamNames nam public sealed partial class PutDataLifecycleRequestDescriptor : RequestDescriptor { internal PutDataLifecycleRequestDescriptor(Action configure) => configure.Invoke(this); - - public PutDataLifecycleRequestDescriptor(Elastic.Clients.Elasticsearch.DataStreamNames name) : base(r => r.Required("name", name)) - { - } + public PutDataLifecycleRequestDescriptor(Elastic.Clients.Elasticsearch.IndexManagement.DataStreamLifecycle lifecycle, Elastic.Clients.Elasticsearch.DataStreamNames name) : base(r => r.Required("name", name)) => LifecycleValue = lifecycle; internal override ApiUrls ApiUrls => ApiUrlLookup.IndexManagementPutDataLifecycle; @@ -160,79 +145,36 @@ public PutDataLifecycleRequestDescriptor Name(Elastic.Clients.Elasticsearch.Data return Self; } - private Elastic.Clients.Elasticsearch.Duration? DataRetentionValue { get; set; } - private Elastic.Clients.Elasticsearch.IndexManagement.DataStreamLifecycleDownsampling? DownsamplingValue { get; set; } - private Elastic.Clients.Elasticsearch.IndexManagement.DataStreamLifecycleDownsamplingDescriptor DownsamplingDescriptor { get; set; } - private Action DownsamplingDescriptorAction { get; set; } + private Elastic.Clients.Elasticsearch.IndexManagement.DataStreamLifecycle LifecycleValue { get; set; } + private Elastic.Clients.Elasticsearch.IndexManagement.DataStreamLifecycleDescriptor LifecycleDescriptor { get; set; } + private Action LifecycleDescriptorAction { get; set; } - /// - /// - /// If defined, every document added to this data stream will be stored at least for this time frame. - /// Any time after this duration the document could be deleted. - /// When empty, every document in this data stream will be stored indefinitely. - /// - /// - public PutDataLifecycleRequestDescriptor DataRetention(Elastic.Clients.Elasticsearch.Duration? dataRetention) - { - DataRetentionValue = dataRetention; - return Self; - } - - /// - /// - /// If defined, every backing index will execute the configured downsampling configuration after the backing - /// index is not the data stream write index anymore. - /// - /// - public PutDataLifecycleRequestDescriptor Downsampling(Elastic.Clients.Elasticsearch.IndexManagement.DataStreamLifecycleDownsampling? downsampling) + public PutDataLifecycleRequestDescriptor Lifecycle(Elastic.Clients.Elasticsearch.IndexManagement.DataStreamLifecycle lifecycle) { - DownsamplingDescriptor = null; - DownsamplingDescriptorAction = null; - DownsamplingValue = downsampling; + LifecycleDescriptor = null; + LifecycleDescriptorAction = null; + LifecycleValue = lifecycle; return Self; } - public PutDataLifecycleRequestDescriptor Downsampling(Elastic.Clients.Elasticsearch.IndexManagement.DataStreamLifecycleDownsamplingDescriptor descriptor) + public PutDataLifecycleRequestDescriptor Lifecycle(Elastic.Clients.Elasticsearch.IndexManagement.DataStreamLifecycleDescriptor descriptor) { - DownsamplingValue = null; - DownsamplingDescriptorAction = null; - DownsamplingDescriptor = descriptor; + LifecycleValue = null; + LifecycleDescriptorAction = null; + LifecycleDescriptor = descriptor; return Self; } - public PutDataLifecycleRequestDescriptor Downsampling(Action configure) + public PutDataLifecycleRequestDescriptor Lifecycle(Action configure) { - DownsamplingValue = null; - DownsamplingDescriptor = null; - DownsamplingDescriptorAction = configure; + LifecycleValue = null; + LifecycleDescriptor = null; + LifecycleDescriptorAction = configure; return Self; } protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) { - writer.WriteStartObject(); - if (DataRetentionValue is not null) - { - writer.WritePropertyName("data_retention"); - JsonSerializer.Serialize(writer, DataRetentionValue, options); - } - - if (DownsamplingDescriptor is not null) - { - writer.WritePropertyName("downsampling"); - JsonSerializer.Serialize(writer, DownsamplingDescriptor, options); - } - else if (DownsamplingDescriptorAction is not null) - { - writer.WritePropertyName("downsampling"); - JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.IndexManagement.DataStreamLifecycleDownsamplingDescriptor(DownsamplingDescriptorAction), options); - } - else if (DownsamplingValue is not null) - { - writer.WritePropertyName("downsampling"); - JsonSerializer.Serialize(writer, DownsamplingValue, options); - } - - writer.WriteEndObject(); + JsonSerializer.Serialize(writer, LifecycleValue, options); } } \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/SegmentsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/SegmentsRequest.g.cs index 6d61bb45be9..b96487dc828 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/SegmentsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/SegmentsRequest.g.cs @@ -56,13 +56,6 @@ public sealed partial class SegmentsRequestParameters : RequestParameters /// /// public bool? IgnoreUnavailable { get => Q("ignore_unavailable"); set => Q("ignore_unavailable", value); } - - /// - /// - /// If true, the request returns a verbose response. - /// - /// - public bool? Verbose { get => Q("verbose"); set => Q("verbose", value); } } /// @@ -116,14 +109,6 @@ public SegmentsRequest(Elastic.Clients.Elasticsearch.Indices? indices) : base(r /// [JsonIgnore] public bool? IgnoreUnavailable { get => Q("ignore_unavailable"); set => Q("ignore_unavailable", value); } - - /// - /// - /// If true, the request returns a verbose response. - /// - /// - [JsonIgnore] - public bool? Verbose { get => Q("verbose"); set => Q("verbose", value); } } /// @@ -155,7 +140,6 @@ public SegmentsRequestDescriptor() public SegmentsRequestDescriptor AllowNoIndices(bool? allowNoIndices = true) => Qs("allow_no_indices", allowNoIndices); public SegmentsRequestDescriptor ExpandWildcards(ICollection? expandWildcards) => Qs("expand_wildcards", expandWildcards); public SegmentsRequestDescriptor IgnoreUnavailable(bool? ignoreUnavailable = true) => Qs("ignore_unavailable", ignoreUnavailable); - public SegmentsRequestDescriptor Verbose(bool? verbose = true) => Qs("verbose", verbose); public SegmentsRequestDescriptor Indices(Elastic.Clients.Elasticsearch.Indices? indices) { @@ -197,7 +181,6 @@ public SegmentsRequestDescriptor() public SegmentsRequestDescriptor AllowNoIndices(bool? allowNoIndices = true) => Qs("allow_no_indices", allowNoIndices); public SegmentsRequestDescriptor ExpandWildcards(ICollection? expandWildcards) => Qs("expand_wildcards", expandWildcards); public SegmentsRequestDescriptor IgnoreUnavailable(bool? ignoreUnavailable = true) => Qs("ignore_unavailable", ignoreUnavailable); - public SegmentsRequestDescriptor Verbose(bool? verbose = true) => Qs("verbose", verbose); public SegmentsRequestDescriptor Indices(Elastic.Clients.Elasticsearch.Indices? indices) { diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PutDatafeedRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PutDatafeedRequest.g.cs index 11705264497..85695b4b409 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PutDatafeedRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PutDatafeedRequest.g.cs @@ -254,7 +254,12 @@ public override void Write(Utf8JsonWriter writer, PutDatafeedRequest value, Json /// Datafeeds retrieve data from Elasticsearch for analysis by an anomaly detection job. /// You can associate only one datafeed with each anomaly detection job. /// The datafeed contains a query that runs at a defined interval (frequency). -/// If you are concerned about delayed data, you can add a delay (query_delay') at each interval. When Elasticsearch security features are enabled, your datafeed remembers which roles the user who created it had at the time of creation and runs the query using those same roles. If you provide secondary authorization headers, those credentials are used instead. You must use Kibana, this API, or the create anomaly detection jobs API to create a datafeed. Do not add a datafeed directly to the .ml-configindex. Do not give userswriteprivileges on the.ml-config` index. +/// If you are concerned about delayed data, you can add a delay (query_delay) at each interval. +/// When Elasticsearch security features are enabled, your datafeed remembers which roles the user who created it had +/// at the time of creation and runs the query using those same roles. If you provide secondary authorization headers, +/// those credentials are used instead. +/// You must use Kibana, this API, or the create anomaly detection jobs API to create a datafeed. Do not add a datafeed +/// directly to the .ml-config index. Do not give users write privileges on the .ml-config index. /// /// [JsonConverter(typeof(PutDatafeedRequestConverter))] @@ -438,7 +443,12 @@ public PutDatafeedRequest() /// Datafeeds retrieve data from Elasticsearch for analysis by an anomaly detection job. /// You can associate only one datafeed with each anomaly detection job. /// The datafeed contains a query that runs at a defined interval (frequency). -/// If you are concerned about delayed data, you can add a delay (query_delay') at each interval. When Elasticsearch security features are enabled, your datafeed remembers which roles the user who created it had at the time of creation and runs the query using those same roles. If you provide secondary authorization headers, those credentials are used instead. You must use Kibana, this API, or the create anomaly detection jobs API to create a datafeed. Do not add a datafeed directly to the .ml-configindex. Do not give userswriteprivileges on the.ml-config` index. +/// If you are concerned about delayed data, you can add a delay (query_delay) at each interval. +/// When Elasticsearch security features are enabled, your datafeed remembers which roles the user who created it had +/// at the time of creation and runs the query using those same roles. If you provide secondary authorization headers, +/// those credentials are used instead. +/// You must use Kibana, this API, or the create anomaly detection jobs API to create a datafeed. Do not add a datafeed +/// directly to the .ml-config index. Do not give users write privileges on the .ml-config index. /// /// public sealed partial class PutDatafeedRequestDescriptor : RequestDescriptor, PutDatafeedRequestParameters> @@ -871,7 +881,12 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o /// Datafeeds retrieve data from Elasticsearch for analysis by an anomaly detection job. /// You can associate only one datafeed with each anomaly detection job. /// The datafeed contains a query that runs at a defined interval (frequency). -/// If you are concerned about delayed data, you can add a delay (query_delay') at each interval. When Elasticsearch security features are enabled, your datafeed remembers which roles the user who created it had at the time of creation and runs the query using those same roles. If you provide secondary authorization headers, those credentials are used instead. You must use Kibana, this API, or the create anomaly detection jobs API to create a datafeed. Do not add a datafeed directly to the .ml-configindex. Do not give userswriteprivileges on the.ml-config` index. +/// If you are concerned about delayed data, you can add a delay (query_delay) at each interval. +/// When Elasticsearch security features are enabled, your datafeed remembers which roles the user who created it had +/// at the time of creation and runs the query using those same roles. If you provide secondary authorization headers, +/// those credentials are used instead. +/// You must use Kibana, this API, or the create anomaly detection jobs API to create a datafeed. Do not add a datafeed +/// directly to the .ml-config index. Do not give users write privileges on the .ml-config index. /// /// public sealed partial class PutDatafeedRequestDescriptor : RequestDescriptor diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MultiGetRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MultiGetRequest.g.cs index 479a8447f37..192b345d954 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MultiGetRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MultiGetRequest.g.cs @@ -103,7 +103,12 @@ public sealed partial class MultiGetRequestParameters : RequestParameters /// /// -/// Allows to get multiple documents in one request. +/// Get multiple documents. +/// +/// +/// Get multiple JSON documents by ID from one or more indices. +/// If you specify an index in the request URI, you only need to specify the document IDs in the request body. +/// To ensure fast responses, this multi get (mget) API responds with partial results if one or more shards fail. /// /// public sealed partial class MultiGetRequest : PlainRequest @@ -220,7 +225,12 @@ public MultiGetRequest(Elastic.Clients.Elasticsearch.IndexName? index) : base(r /// /// -/// Allows to get multiple documents in one request. +/// Get multiple documents. +/// +/// +/// Get multiple JSON documents by ID from one or more indices. +/// If you specify an index in the request URI, you only need to specify the document IDs in the request body. +/// To ensure fast responses, this multi get (mget) API responds with partial results if one or more shards fail. /// /// public sealed partial class MultiGetRequestDescriptor : RequestDescriptor, MultiGetRequestParameters> @@ -363,7 +373,12 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o /// /// -/// Allows to get multiple documents in one request. +/// Get multiple documents. +/// +/// +/// Get multiple JSON documents by ID from one or more indices. +/// If you specify an index in the request URI, you only need to specify the document IDs in the request body. +/// To ensure fast responses, this multi get (mget) API responds with partial results if one or more shards fail. /// /// public sealed partial class MultiGetRequestDescriptor : RequestDescriptor diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MultiSearchRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MultiSearchRequest.g.cs index 0142870ccb7..526b27fa61e 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MultiSearchRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MultiSearchRequest.g.cs @@ -121,7 +121,25 @@ public sealed partial class MultiSearchRequestParameters : RequestParameters /// /// -/// Allows to execute several search operations in one request. +/// Run multiple searches. +/// +/// +/// The format of the request is similar to the bulk API format and makes use of the newline delimited JSON (NDJSON) format. +/// The structure is as follows: +/// +/// +/// header\n +/// body\n +/// header\n +/// body\n +/// +/// +/// This structure is specifically optimized to reduce parsing if a specific search ends up redirected to another node. +/// +/// +/// IMPORTANT: The final line of data must end with a newline character \n. +/// Each newline character may be preceded by a carriage return \r. +/// When sending requests to this endpoint the Content-Type header should be set to application/x-ndjson. /// /// public sealed partial class MultiSearchRequest : PlainRequest, IStreamSerializable @@ -264,7 +282,25 @@ async Task IStreamSerializable.SerializeAsync(Stream stream, IElasticsearchClien /// /// -/// Allows to execute several search operations in one request. +/// Run multiple searches. +/// +/// +/// The format of the request is similar to the bulk API format and makes use of the newline delimited JSON (NDJSON) format. +/// The structure is as follows: +/// +/// +/// header\n +/// body\n +/// header\n +/// body\n +/// +/// +/// This structure is specifically optimized to reduce parsing if a specific search ends up redirected to another node. +/// +/// +/// IMPORTANT: The final line of data must end with a newline character \n. +/// Each newline character may be preceded by a carriage return \r. +/// When sending requests to this endpoint the Content-Type header should be set to application/x-ndjson. /// /// public sealed partial class MultiSearchRequestDescriptor : RequestDescriptor, MultiSearchRequestParameters>, IStreamSerializable @@ -343,7 +379,25 @@ public MultiSearchRequestDescriptor AddSearches(Elastic.Clients.Elast /// /// -/// Allows to execute several search operations in one request. +/// Run multiple searches. +/// +/// +/// The format of the request is similar to the bulk API format and makes use of the newline delimited JSON (NDJSON) format. +/// The structure is as follows: +/// +/// +/// header\n +/// body\n +/// header\n +/// body\n +/// +/// +/// This structure is specifically optimized to reduce parsing if a specific search ends up redirected to another node. +/// +/// +/// IMPORTANT: The final line of data must end with a newline character \n. +/// Each newline character may be preceded by a carriage return \r. +/// When sending requests to this endpoint the Content-Type header should be set to application/x-ndjson. /// /// public sealed partial class MultiSearchRequestDescriptor : RequestDescriptor, IStreamSerializable diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MultiSearchTemplateRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MultiSearchTemplateRequest.g.cs index c987991b8cb..2c558db006d 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MultiSearchTemplateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MultiSearchTemplateRequest.g.cs @@ -74,7 +74,7 @@ public sealed partial class MultiSearchTemplateRequestParameters : RequestParame /// /// -/// Runs multiple templated searches with a single request. +/// Run multiple templated searches. /// /// public sealed partial class MultiSearchTemplateRequest : PlainRequest, IStreamSerializable @@ -163,7 +163,7 @@ async Task IStreamSerializable.SerializeAsync(Stream stream, IElasticsearchClien /// /// -/// Runs multiple templated searches with a single request. +/// Run multiple templated searches. /// /// public sealed partial class MultiSearchTemplateRequestDescriptor : RequestDescriptor, MultiSearchTemplateRequestParameters>, IStreamSerializable @@ -235,7 +235,7 @@ public MultiSearchTemplateRequestDescriptor AddSearchTemplates(Elasti /// /// -/// Runs multiple templated searches with a single request. +/// Run multiple templated searches. /// /// public sealed partial class MultiSearchTemplateRequestDescriptor : RequestDescriptor, IStreamSerializable diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MultiTermVectorsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MultiTermVectorsRequest.g.cs index 03b4da10f08..9a6c3ba7206 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MultiTermVectorsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MultiTermVectorsRequest.g.cs @@ -114,7 +114,13 @@ public sealed partial class MultiTermVectorsRequestParameters : RequestParameter /// /// -/// Returns multiple termvectors in one request. +/// Get multiple term vectors. +/// +/// +/// You can specify existing documents by index and ID or provide artificial documents in the body of the request. +/// You can specify the index in the request body or request URI. +/// The response contains a docs array with all the fetched termvectors. +/// Each element has the structure provided by the termvectors API. /// /// public sealed partial class MultiTermVectorsRequest : PlainRequest @@ -244,7 +250,13 @@ public MultiTermVectorsRequest(Elastic.Clients.Elasticsearch.IndexName? index) : /// /// -/// Returns multiple termvectors in one request. +/// Get multiple term vectors. +/// +/// +/// You can specify existing documents by index and ID or provide artificial documents in the body of the request. +/// You can specify the index in the request body or request URI. +/// The response contains a docs array with all the fetched termvectors. +/// Each element has the structure provided by the termvectors API. /// /// public sealed partial class MultiTermVectorsRequestDescriptor : RequestDescriptor, MultiTermVectorsRequestParameters> @@ -389,7 +401,13 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o /// /// -/// Returns multiple termvectors in one request. +/// Get multiple term vectors. +/// +/// +/// You can specify existing documents by index and ID or provide artificial documents in the body of the request. +/// You can specify the index in the request body or request URI. +/// The response contains a docs array with all the fetched termvectors. +/// Each element has the structure provided by the termvectors API. /// /// public sealed partial class MultiTermVectorsRequestDescriptor : RequestDescriptor diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/OpenPointInTimeRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/OpenPointInTimeRequest.g.cs index 7eba519c3bc..14c783d1451 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/OpenPointInTimeRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/OpenPointInTimeRequest.g.cs @@ -73,13 +73,20 @@ public sealed partial class OpenPointInTimeRequestParameters : RequestParameters /// /// -/// A search request by default executes against the most recent visible data of the target indices, +/// Open a point in time. +/// +/// +/// A search request by default runs against the most recent visible data of the target indices, /// which is called point in time. Elasticsearch pit (point in time) is a lightweight view into the /// state of the data as it existed when initiated. In some cases, it’s preferred to perform multiple /// search requests using the same point in time. For example, if refreshes happen between /// search_after requests, then the results of those requests might not be consistent as changes happening /// between searches are only visible to the more recent point in time. /// +/// +/// A point in time must be opened explicitly before being used in search requests. +/// The keep_alive parameter tells Elasticsearch how long it should persist. +/// /// public sealed partial class OpenPointInTimeRequest : PlainRequest { @@ -149,13 +156,20 @@ public OpenPointInTimeRequest(Elastic.Clients.Elasticsearch.Indices indices) : b /// /// -/// A search request by default executes against the most recent visible data of the target indices, +/// Open a point in time. +/// +/// +/// A search request by default runs against the most recent visible data of the target indices, /// which is called point in time. Elasticsearch pit (point in time) is a lightweight view into the /// state of the data as it existed when initiated. In some cases, it’s preferred to perform multiple /// search requests using the same point in time. For example, if refreshes happen between /// search_after requests, then the results of those requests might not be consistent as changes happening /// between searches are only visible to the more recent point in time. /// +/// +/// A point in time must be opened explicitly before being used in search requests. +/// The keep_alive parameter tells Elasticsearch how long it should persist. +/// /// public sealed partial class OpenPointInTimeRequestDescriptor : RequestDescriptor, OpenPointInTimeRequestParameters> { @@ -247,13 +261,20 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o /// /// -/// A search request by default executes against the most recent visible data of the target indices, +/// Open a point in time. +/// +/// +/// A search request by default runs against the most recent visible data of the target indices, /// which is called point in time. Elasticsearch pit (point in time) is a lightweight view into the /// state of the data as it existed when initiated. In some cases, it’s preferred to perform multiple /// search requests using the same point in time. For example, if refreshes happen between /// search_after requests, then the results of those requests might not be consistent as changes happening /// between searches are only visible to the more recent point in time. /// +/// +/// A point in time must be opened explicitly before being used in search requests. +/// The keep_alive parameter tells Elasticsearch how long it should persist. +/// /// public sealed partial class OpenPointInTimeRequestDescriptor : RequestDescriptor { diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/QueryRules/TestRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/QueryRules/TestRequest.g.cs new file mode 100644 index 00000000000..1e726728bde --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/QueryRules/TestRequest.g.cs @@ -0,0 +1,102 @@ +// 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 Elastic.Clients.Elasticsearch.Fluent; +using Elastic.Clients.Elasticsearch.Requests; +using Elastic.Clients.Elasticsearch.Serialization; +using Elastic.Transport; +using Elastic.Transport.Extensions; +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +namespace Elastic.Clients.Elasticsearch.QueryRules; + +public sealed partial class TestRequestParameters : RequestParameters +{ +} + +/// +/// +/// Creates or updates a query ruleset. +/// +/// +public sealed partial class TestRequest : PlainRequest +{ + public TestRequest(Elastic.Clients.Elasticsearch.Id rulesetId) : base(r => r.Required("ruleset_id", rulesetId)) + { + } + + internal override ApiUrls ApiUrls => ApiUrlLookup.QueryRulesTest; + + protected override HttpMethod StaticHttpMethod => HttpMethod.POST; + + internal override bool SupportsBody => true; + + internal override string OperationName => "query_rules.test"; + + [JsonInclude, JsonPropertyName("match_criteria")] + public IDictionary MatchCriteria { get; set; } +} + +/// +/// +/// Creates or updates a query ruleset. +/// +/// +public sealed partial class TestRequestDescriptor : RequestDescriptor +{ + internal TestRequestDescriptor(Action configure) => configure.Invoke(this); + + public TestRequestDescriptor(Elastic.Clients.Elasticsearch.Id rulesetId) : base(r => r.Required("ruleset_id", rulesetId)) + { + } + + internal override ApiUrls ApiUrls => ApiUrlLookup.QueryRulesTest; + + protected override HttpMethod StaticHttpMethod => HttpMethod.POST; + + internal override bool SupportsBody => true; + + internal override string OperationName => "query_rules.test"; + + public TestRequestDescriptor RulesetId(Elastic.Clients.Elasticsearch.Id rulesetId) + { + RouteValues.Required("ruleset_id", rulesetId); + return Self; + } + + private IDictionary MatchCriteriaValue { get; set; } + + public TestRequestDescriptor MatchCriteria(Func, FluentDictionary> selector) + { + MatchCriteriaValue = selector?.Invoke(new FluentDictionary()); + return Self; + } + + protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) + { + writer.WriteStartObject(); + writer.WritePropertyName("match_criteria"); + JsonSerializer.Serialize(writer, MatchCriteriaValue, options); + writer.WriteEndObject(); + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/QueryRules/TestResponse.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/QueryRules/TestResponse.g.cs new file mode 100644 index 00000000000..6afa8a862e7 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/QueryRules/TestResponse.g.cs @@ -0,0 +1,35 @@ +// 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 Elastic.Clients.Elasticsearch.Fluent; +using Elastic.Clients.Elasticsearch.Serialization; +using Elastic.Transport.Products.Elasticsearch; +using System; +using System.Collections.Generic; +using System.Text.Json.Serialization; + +namespace Elastic.Clients.Elasticsearch.QueryRules; + +public sealed partial class TestResponse : ElasticsearchResponse +{ + [JsonInclude, JsonPropertyName("matched_rules")] + public IReadOnlyCollection MatchedRules { get; init; } + [JsonInclude, JsonPropertyName("total_matched_rules")] + public int TotalMatchedRules { get; init; } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/RankEvalRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/RankEvalRequest.g.cs index a883c183c86..c42ede2ec90 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/RankEvalRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/RankEvalRequest.g.cs @@ -63,7 +63,10 @@ public sealed partial class RankEvalRequestParameters : RequestParameters /// /// -/// Enables you to evaluate the quality of ranked search results over a set of typical search queries. +/// Evaluate ranked search results. +/// +/// +/// Evaluate the quality of ranked search results over a set of typical search queries. /// /// public sealed partial class RankEvalRequest : PlainRequest @@ -135,7 +138,10 @@ public RankEvalRequest(Elastic.Clients.Elasticsearch.Indices? indices) : base(r /// /// -/// Enables you to evaluate the quality of ranked search results over a set of typical search queries. +/// Evaluate ranked search results. +/// +/// +/// Evaluate the quality of ranked search results over a set of typical search queries. /// /// public sealed partial class RankEvalRequestDescriptor : RequestDescriptor, RankEvalRequestParameters> @@ -303,7 +309,10 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o /// /// -/// Enables you to evaluate the quality of ranked search results over a set of typical search queries. +/// Evaluate ranked search results. +/// +/// +/// Evaluate the quality of ranked search results over a set of typical search queries. /// /// public sealed partial class RankEvalRequestDescriptor : RequestDescriptor diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/ReindexRethrottleRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/ReindexRethrottleRequest.g.cs index c5b605c9aad..88bf92f8d80 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/ReindexRethrottleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/ReindexRethrottleRequest.g.cs @@ -42,7 +42,10 @@ public sealed partial class ReindexRethrottleRequestParameters : RequestParamete /// /// -/// Copies documents from a source to a destination. +/// Throttle a reindex operation. +/// +/// +/// Change the number of requests per second for a particular reindex operation. /// /// public sealed partial class ReindexRethrottleRequest : PlainRequest @@ -70,7 +73,10 @@ public ReindexRethrottleRequest(Elastic.Clients.Elasticsearch.Id taskId) : base( /// /// -/// Copies documents from a source to a destination. +/// Throttle a reindex operation. +/// +/// +/// Change the number of requests per second for a particular reindex operation. /// /// public sealed partial class ReindexRethrottleRequestDescriptor : RequestDescriptor diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/RenderSearchTemplateRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/RenderSearchTemplateRequest.g.cs index 3271a224123..26361bc0ec5 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/RenderSearchTemplateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/RenderSearchTemplateRequest.g.cs @@ -36,7 +36,10 @@ public sealed partial class RenderSearchTemplateRequestParameters : RequestParam /// /// -/// Renders a search template as a search request body. +/// Render a search template. +/// +/// +/// Render a search template as a search request body. /// /// public sealed partial class RenderSearchTemplateRequest : PlainRequest @@ -84,7 +87,10 @@ public RenderSearchTemplateRequest(Elastic.Clients.Elasticsearch.Id? id) : base( /// /// -/// Renders a search template as a search request body. +/// Render a search template. +/// +/// +/// Render a search template as a search request body. /// /// public sealed partial class RenderSearchTemplateRequestDescriptor : RequestDescriptor, RenderSearchTemplateRequestParameters> @@ -177,7 +183,10 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o /// /// -/// Renders a search template as a search request body. +/// Render a search template. +/// +/// +/// Render a search template as a search request body. /// /// public sealed partial class RenderSearchTemplateRequestDescriptor : RequestDescriptor diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/ScrollRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/ScrollRequest.g.cs index 1d1f64d6ab7..71eeba5ada6 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/ScrollRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/ScrollRequest.g.cs @@ -42,7 +42,24 @@ public sealed partial class ScrollRequestParameters : RequestParameters /// /// -/// Allows to retrieve a large numbers of results from a single search request. +/// Run a scrolling search. +/// +/// +/// IMPORTANT: The scroll API is no longer recommend for deep pagination. If you need to preserve the index state while paging through more than 10,000 hits, use the search_after parameter with a point in time (PIT). +/// +/// +/// The scroll API gets large sets of results from a single scrolling search request. +/// To get the necessary scroll ID, submit a search API request that includes an argument for the scroll query parameter. +/// The scroll parameter indicates how long Elasticsearch should retain the search context for the request. +/// The search response returns a scroll ID in the _scroll_id response body parameter. +/// You can then use the scroll ID with the scroll API to retrieve the next batch of results for the request. +/// If the Elasticsearch security features are enabled, the access to the results of a specific scroll ID is restricted to the user or API key that submitted the search. +/// +/// +/// You can also use the scroll API to specify a new scroll parameter that extends or shortens the retention period for the search context. +/// +/// +/// IMPORTANT: Results from a scrolling search reflect the state of the index at the time of the initial search request. Subsequent indexing or document changes only affect later search and scroll requests. /// /// public sealed partial class ScrollRequest : PlainRequest @@ -82,7 +99,24 @@ public sealed partial class ScrollRequest : PlainRequest /// -/// Allows to retrieve a large numbers of results from a single search request. +/// Run a scrolling search. +/// +/// +/// IMPORTANT: The scroll API is no longer recommend for deep pagination. If you need to preserve the index state while paging through more than 10,000 hits, use the search_after parameter with a point in time (PIT). +/// +/// +/// The scroll API gets large sets of results from a single scrolling search request. +/// To get the necessary scroll ID, submit a search API request that includes an argument for the scroll query parameter. +/// The scroll parameter indicates how long Elasticsearch should retain the search context for the request. +/// The search response returns a scroll ID in the _scroll_id response body parameter. +/// You can then use the scroll ID with the scroll API to retrieve the next batch of results for the request. +/// If the Elasticsearch security features are enabled, the access to the results of a specific scroll ID is restricted to the user or API key that submitted the search. +/// +/// +/// You can also use the scroll API to specify a new scroll parameter that extends or shortens the retention period for the search context. +/// +/// +/// IMPORTANT: Results from a scrolling search reflect the state of the index at the time of the initial search request. Subsequent indexing or document changes only affect later search and scroll requests. /// /// public sealed partial class ScrollRequestDescriptor : RequestDescriptor diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchApplication/GetSearchApplicationResponse.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchApplication/GetSearchApplicationResponse.g.cs index 13bcb8d5841..e8dfe37f8c5 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchApplication/GetSearchApplicationResponse.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchApplication/GetSearchApplicationResponse.g.cs @@ -46,7 +46,7 @@ public sealed partial class GetSearchApplicationResponse : ElasticsearchResponse /// /// - /// Search Application name. + /// Search Application name /// /// [JsonInclude, JsonPropertyName("name")] diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchApplication/ListResponse.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchApplication/ListResponse.g.cs index 634f03fc463..c1945b4a695 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchApplication/ListResponse.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchApplication/ListResponse.g.cs @@ -31,5 +31,5 @@ public sealed partial class ListResponse : ElasticsearchResponse [JsonInclude, JsonPropertyName("count")] public long Count { get; init; } [JsonInclude, JsonPropertyName("results")] - public IReadOnlyCollection Results { get; init; } + public IReadOnlyCollection Results { get; init; } } \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchApplication/PutSearchApplicationRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchApplication/PutSearchApplicationRequest.g.cs index 30d3c434500..09736ffa1d9 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchApplication/PutSearchApplicationRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchApplication/PutSearchApplicationRequest.g.cs @@ -67,7 +67,7 @@ public PutSearchApplicationRequest(Elastic.Clients.Elasticsearch.Name name) : ba [JsonIgnore] public bool? Create { get => Q("create"); set => Q("create", value); } [JsonIgnore] - public Elastic.Clients.Elasticsearch.SearchApplication.SearchApplication SearchApplication { get; set; } + public Elastic.Clients.Elasticsearch.SearchApplication.SearchApplicationParameters SearchApplication { get; set; } void ISelfSerializable.Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) { @@ -83,7 +83,7 @@ void ISelfSerializable.Serialize(Utf8JsonWriter writer, JsonSerializerOptions op public sealed partial class PutSearchApplicationRequestDescriptor : RequestDescriptor { internal PutSearchApplicationRequestDescriptor(Action configure) => configure.Invoke(this); - public PutSearchApplicationRequestDescriptor(Elastic.Clients.Elasticsearch.SearchApplication.SearchApplication searchApplication, Elastic.Clients.Elasticsearch.Name name) : base(r => r.Required("name", name)) => SearchApplicationValue = searchApplication; + public PutSearchApplicationRequestDescriptor(Elastic.Clients.Elasticsearch.SearchApplication.SearchApplicationParameters searchApplication, Elastic.Clients.Elasticsearch.Name name) : base(r => r.Required("name", name)) => SearchApplicationValue = searchApplication; internal override ApiUrls ApiUrls => ApiUrlLookup.SearchApplicationPut; @@ -101,11 +101,11 @@ public PutSearchApplicationRequestDescriptor Name(Elastic.Clients.Elasticsearch. return Self; } - private Elastic.Clients.Elasticsearch.SearchApplication.SearchApplication SearchApplicationValue { get; set; } - private Elastic.Clients.Elasticsearch.SearchApplication.SearchApplicationDescriptor SearchApplicationDescriptor { get; set; } - private Action SearchApplicationDescriptorAction { get; set; } + private Elastic.Clients.Elasticsearch.SearchApplication.SearchApplicationParameters SearchApplicationValue { get; set; } + private Elastic.Clients.Elasticsearch.SearchApplication.SearchApplicationParametersDescriptor SearchApplicationDescriptor { get; set; } + private Action SearchApplicationDescriptorAction { get; set; } - public PutSearchApplicationRequestDescriptor SearchApplication(Elastic.Clients.Elasticsearch.SearchApplication.SearchApplication searchApplication) + public PutSearchApplicationRequestDescriptor SearchApplication(Elastic.Clients.Elasticsearch.SearchApplication.SearchApplicationParameters searchApplication) { SearchApplicationDescriptor = null; SearchApplicationDescriptorAction = null; @@ -113,7 +113,7 @@ public PutSearchApplicationRequestDescriptor SearchApplication(Elastic.Clients.E return Self; } - public PutSearchApplicationRequestDescriptor SearchApplication(Elastic.Clients.Elasticsearch.SearchApplication.SearchApplicationDescriptor descriptor) + public PutSearchApplicationRequestDescriptor SearchApplication(Elastic.Clients.Elasticsearch.SearchApplication.SearchApplicationParametersDescriptor descriptor) { SearchApplicationValue = null; SearchApplicationDescriptorAction = null; @@ -121,7 +121,7 @@ public PutSearchApplicationRequestDescriptor SearchApplication(Elastic.Clients.E return Self; } - public PutSearchApplicationRequestDescriptor SearchApplication(Action configure) + public PutSearchApplicationRequestDescriptor SearchApplication(Action configure) { SearchApplicationValue = null; SearchApplicationDescriptor = null; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchMvtRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchMvtRequest.g.cs index 7e67b3cc67f..2863e257262 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchMvtRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchMvtRequest.g.cs @@ -37,7 +37,9 @@ public sealed partial class SearchMvtRequestParameters : RequestParameters /// /// /// Search a vector tile. -/// Searches a vector tile for geospatial values. +/// +/// +/// Search a vector tile for geospatial values. /// /// public sealed partial class SearchMvtRequest : PlainRequest @@ -221,7 +223,9 @@ public SearchMvtRequest(Elastic.Clients.Elasticsearch.Indices indices, Elastic.C /// /// /// Search a vector tile. -/// Searches a vector tile for geospatial values. +/// +/// +/// Search a vector tile for geospatial values. /// /// public sealed partial class SearchMvtRequestDescriptor : RequestDescriptor, SearchMvtRequestParameters> @@ -672,7 +676,9 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o /// /// /// Search a vector tile. -/// Searches a vector tile for geospatial values. +/// +/// +/// Search a vector tile for geospatial values. /// /// public sealed partial class SearchMvtRequestDescriptor : RequestDescriptor diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchRequest.g.cs index 31266e7e692..7c11901438f 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchRequest.g.cs @@ -143,14 +143,6 @@ public sealed partial class SearchRequestParameters : RequestParameters /// public long? MaxConcurrentShardRequests { get => Q("max_concurrent_shard_requests"); set => Q("max_concurrent_shard_requests", value); } - /// - /// - /// The minimum version of the node that can handle the request - /// Any handling node with a lower version will fail the request. - /// - /// - public string? MinCompatibleShardNode { get => Q("min_compatible_shard_node"); set => Q("min_compatible_shard_node", value); } - /// /// /// Nodes and shards used for the search. @@ -715,7 +707,10 @@ public override void Write(Utf8JsonWriter writer, SearchRequest value, JsonSeria /// /// -/// Returns search hits that match the query defined in the request. +/// Run a search. +/// +/// +/// Get search hits that match the query defined in the request. /// You can provide search queries using the q query string parameter or the request body. /// If both are specified, only the query parameter is used. /// @@ -864,15 +859,6 @@ public SearchRequest(Elastic.Clients.Elasticsearch.Indices? indices) : base(r => [JsonIgnore] public long? MaxConcurrentShardRequests { get => Q("max_concurrent_shard_requests"); set => Q("max_concurrent_shard_requests", value); } - /// - /// - /// The minimum version of the node that can handle the request - /// Any handling node with a lower version will fail the request. - /// - /// - [JsonIgnore] - public string? MinCompatibleShardNode { get => Q("min_compatible_shard_node"); set => Q("min_compatible_shard_node", value); } - /// /// /// Nodes and shards used for the search. @@ -1326,7 +1312,10 @@ public SearchRequest(Elastic.Clients.Elasticsearch.Indices? indices) : base(r => /// /// -/// Returns search hits that match the query defined in the request. +/// Run a search. +/// +/// +/// Get search hits that match the query defined in the request. /// You can provide search queries using the q query string parameter or the request body. /// If both are specified, only the query parameter is used. /// @@ -1365,7 +1354,6 @@ public SearchRequestDescriptor() public SearchRequestDescriptor IgnoreUnavailable(bool? ignoreUnavailable = true) => Qs("ignore_unavailable", ignoreUnavailable); public SearchRequestDescriptor Lenient(bool? lenient = true) => Qs("lenient", lenient); public SearchRequestDescriptor MaxConcurrentShardRequests(long? maxConcurrentShardRequests) => Qs("max_concurrent_shard_requests", maxConcurrentShardRequests); - public SearchRequestDescriptor MinCompatibleShardNode(string? minCompatibleShardNode) => Qs("min_compatible_shard_node", minCompatibleShardNode); public SearchRequestDescriptor Preference(string? preference) => Qs("preference", preference); public SearchRequestDescriptor PreFilterShardSize(long? preFilterShardSize) => Qs("pre_filter_shard_size", preFilterShardSize); public SearchRequestDescriptor QueryLuceneSyntax(string? queryLuceneSyntax) => Qs("q", queryLuceneSyntax); @@ -2594,7 +2582,10 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o /// /// -/// Returns search hits that match the query defined in the request. +/// Run a search. +/// +/// +/// Get search hits that match the query defined in the request. /// You can provide search queries using the q query string parameter or the request body. /// If both are specified, only the query parameter is used. /// @@ -2633,7 +2624,6 @@ public SearchRequestDescriptor() public SearchRequestDescriptor IgnoreUnavailable(bool? ignoreUnavailable = true) => Qs("ignore_unavailable", ignoreUnavailable); public SearchRequestDescriptor Lenient(bool? lenient = true) => Qs("lenient", lenient); public SearchRequestDescriptor MaxConcurrentShardRequests(long? maxConcurrentShardRequests) => Qs("max_concurrent_shard_requests", maxConcurrentShardRequests); - public SearchRequestDescriptor MinCompatibleShardNode(string? minCompatibleShardNode) => Qs("min_compatible_shard_node", minCompatibleShardNode); public SearchRequestDescriptor Preference(string? preference) => Qs("preference", preference); public SearchRequestDescriptor PreFilterShardSize(long? preFilterShardSize) => Qs("pre_filter_shard_size", preFilterShardSize); public SearchRequestDescriptor QueryLuceneSyntax(string? queryLuceneSyntax) => Qs("q", queryLuceneSyntax); diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchShardsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchShardsRequest.g.cs index 7bd1c72a260..9e3baa8588e 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchShardsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchShardsRequest.g.cs @@ -83,7 +83,12 @@ public sealed partial class SearchShardsRequestParameters : RequestParameters /// /// -/// Returns information about the indices and shards that a search request would be executed against. +/// Get the search shards. +/// +/// +/// Get the indices and shards that a search request would be run against. +/// This information can be useful for working out issues or planning optimizations with routing and shard preferences. +/// When filtered aliases are used, the filter is returned as part of the indices section. /// /// public sealed partial class SearchShardsRequest : PlainRequest @@ -161,7 +166,12 @@ public SearchShardsRequest(Elastic.Clients.Elasticsearch.Indices? indices) : bas /// /// -/// Returns information about the indices and shards that a search request would be executed against. +/// Get the search shards. +/// +/// +/// Get the indices and shards that a search request would be run against. +/// This information can be useful for working out issues or planning optimizations with routing and shard preferences. +/// When filtered aliases are used, the filter is returned as part of the indices section. /// /// public sealed partial class SearchShardsRequestDescriptor : RequestDescriptor, SearchShardsRequestParameters> @@ -204,7 +214,12 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o /// /// -/// Returns information about the indices and shards that a search request would be executed against. +/// Get the search shards. +/// +/// +/// Get the indices and shards that a search request would be run against. +/// This information can be useful for working out issues or planning optimizations with routing and shard preferences. +/// When filtered aliases are used, the filter is returned as part of the indices section. /// /// public sealed partial class SearchShardsRequestDescriptor : RequestDescriptor diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchTemplateRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchTemplateRequest.g.cs index 923f66d1ae8..79f27aa0434 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchTemplateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchTemplateRequest.g.cs @@ -119,7 +119,7 @@ public sealed partial class SearchTemplateRequestParameters : RequestParameters /// /// -/// Runs a search with a search template. +/// Run a search with a search template. /// /// public sealed partial class SearchTemplateRequest : PlainRequest @@ -283,7 +283,7 @@ public SearchTemplateRequest(Elastic.Clients.Elasticsearch.Indices? indices) : b /// /// -/// Runs a search with a search template. +/// Run a search with a search template. /// /// public sealed partial class SearchTemplateRequestDescriptor : RequestDescriptor, SearchTemplateRequestParameters> @@ -429,7 +429,7 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o /// /// -/// Runs a search with a search template. +/// Run a search with a search template. /// /// public sealed partial class SearchTemplateRequestDescriptor : RequestDescriptor diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/ActivateUserProfileRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/ActivateUserProfileRequest.g.cs index cff16e81b4f..6efb0a6afae 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/ActivateUserProfileRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/ActivateUserProfileRequest.g.cs @@ -36,7 +36,10 @@ public sealed partial class ActivateUserProfileRequestParameters : RequestParame /// /// -/// Creates or updates a user profile on behalf of another user. +/// Activate a user profile. +/// +/// +/// Create or update a user profile on behalf of another user. /// /// public sealed partial class ActivateUserProfileRequest : PlainRequest @@ -61,7 +64,10 @@ public sealed partial class ActivateUserProfileRequest : PlainRequest /// -/// Creates or updates a user profile on behalf of another user. +/// Activate a user profile. +/// +/// +/// Create or update a user profile on behalf of another user. /// /// public sealed partial class ActivateUserProfileRequestDescriptor : RequestDescriptor diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/AuthenticateRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/AuthenticateRequest.g.cs index ee6d297fcd6..e070e72ef85 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/AuthenticateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/AuthenticateRequest.g.cs @@ -37,6 +37,8 @@ public sealed partial class AuthenticateRequestParameters : RequestParameters /// /// /// Authenticate a user. +/// +/// /// Authenticates a user and returns information about the authenticated user. /// Include the user information in a basic auth header. /// A successful call returns a JSON structure that shows user information such as their username, the roles that are assigned to the user, any assigned metadata, and information about the realms that authenticated and authorized the user. @@ -57,6 +59,8 @@ public sealed partial class AuthenticateRequest : PlainRequest /// /// Authenticate a user. +/// +/// /// Authenticates a user and returns information about the authenticated user. /// Include the user information in a basic auth header. /// A successful call returns a JSON structure that shows user information such as their username, the roles that are assigned to the user, any assigned metadata, and information about the realms that authenticated and authorized the user. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/BulkDeleteRoleRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/BulkDeleteRoleRequest.g.cs index c1b55603478..c078ddfd772 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/BulkDeleteRoleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/BulkDeleteRoleRequest.g.cs @@ -42,6 +42,9 @@ public sealed partial class BulkDeleteRoleRequestParameters : RequestParameters /// /// +/// Bulk delete roles. +/// +/// /// The role management APIs are generally the preferred way to manage roles, rather than using file-based role management. /// The bulk delete roles API cannot delete roles that are defined in roles files. /// @@ -75,6 +78,9 @@ public sealed partial class BulkDeleteRoleRequest : PlainRequest /// +/// Bulk delete roles. +/// +/// /// The role management APIs are generally the preferred way to manage roles, rather than using file-based role management. /// The bulk delete roles API cannot delete roles that are defined in roles files. /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/BulkPutRoleRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/BulkPutRoleRequest.g.cs index 120d3068d6a..15cd7c44396 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/BulkPutRoleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/BulkPutRoleRequest.g.cs @@ -42,6 +42,9 @@ public sealed partial class BulkPutRoleRequestParameters : RequestParameters /// /// +/// Bulk create or update roles. +/// +/// /// The role management APIs are generally the preferred way to manage roles, rather than using file-based role management. /// The bulk create or update roles API cannot update roles that are defined in roles files. /// @@ -75,6 +78,9 @@ public sealed partial class BulkPutRoleRequest : PlainRequest /// +/// Bulk create or update roles. +/// +/// /// The role management APIs are generally the preferred way to manage roles, rather than using file-based role management. /// The bulk create or update roles API cannot update roles that are defined in roles files. /// @@ -121,6 +127,9 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o /// /// +/// Bulk create or update roles. +/// +/// /// The role management APIs are generally the preferred way to manage roles, rather than using file-based role management. /// The bulk create or update roles API cannot update roles that are defined in roles files. /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/ChangePasswordRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/ChangePasswordRequest.g.cs index d25c22e0aae..4c483138389 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/ChangePasswordRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/ChangePasswordRequest.g.cs @@ -42,7 +42,10 @@ public sealed partial class ChangePasswordRequestParameters : RequestParameters /// /// -/// Changes the passwords of users in the native realm and built-in users. +/// Change passwords. +/// +/// +/// Change the passwords of users in the native realm and built-in users. /// /// public sealed partial class ChangePasswordRequest : PlainRequest @@ -93,7 +96,10 @@ public ChangePasswordRequest(Elastic.Clients.Elasticsearch.Username? username) : /// /// -/// Changes the passwords of users in the native realm and built-in users. +/// Change passwords. +/// +/// +/// Change the passwords of users in the native realm and built-in users. /// /// public sealed partial class ChangePasswordRequestDescriptor : RequestDescriptor diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/ClearApiKeyCacheRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/ClearApiKeyCacheRequest.g.cs index a62551acf22..48b0f598878 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/ClearApiKeyCacheRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/ClearApiKeyCacheRequest.g.cs @@ -36,7 +36,10 @@ public sealed partial class ClearApiKeyCacheRequestParameters : RequestParameter /// /// -/// Evicts a subset of all entries from the API key cache. +/// Clear the API key cache. +/// +/// +/// Evict a subset of all entries from the API key cache. /// The cache is also automatically cleared on state changes of the security index. /// /// @@ -57,7 +60,10 @@ public ClearApiKeyCacheRequest(Elastic.Clients.Elasticsearch.Ids ids) : base(r = /// /// -/// Evicts a subset of all entries from the API key cache. +/// Clear the API key cache. +/// +/// +/// Evict a subset of all entries from the API key cache. /// The cache is also automatically cleared on state changes of the security index. /// /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/ClearCachedPrivilegesRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/ClearCachedPrivilegesRequest.g.cs index a9170d3c2fd..19bedb531d5 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/ClearCachedPrivilegesRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/ClearCachedPrivilegesRequest.g.cs @@ -36,7 +36,11 @@ public sealed partial class ClearCachedPrivilegesRequestParameters : RequestPara /// /// -/// Evicts application privileges from the native application privileges cache. +/// Clear the privileges cache. +/// +/// +/// Evict privileges from the native application privilege cache. +/// The cache is also automatically cleared for applications that have their privileges updated. /// /// public sealed partial class ClearCachedPrivilegesRequest : PlainRequest @@ -56,7 +60,11 @@ public ClearCachedPrivilegesRequest(Elastic.Clients.Elasticsearch.Name applicati /// /// -/// Evicts application privileges from the native application privileges cache. +/// Clear the privileges cache. +/// +/// +/// Evict privileges from the native application privilege cache. +/// The cache is also automatically cleared for applications that have their privileges updated. /// /// public sealed partial class ClearCachedPrivilegesRequestDescriptor : RequestDescriptor diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/ClearCachedRealmsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/ClearCachedRealmsRequest.g.cs index 6873cadc5f8..0687c5d5d41 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/ClearCachedRealmsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/ClearCachedRealmsRequest.g.cs @@ -42,7 +42,10 @@ public sealed partial class ClearCachedRealmsRequestParameters : RequestParamete /// /// -/// Evicts users from the user cache. Can completely clear the cache or evict specific users. +/// Clear the user cache. +/// +/// +/// Evict users from the user cache. You can completely clear the cache or evict specific users. /// /// public sealed partial class ClearCachedRealmsRequest : PlainRequest @@ -70,7 +73,10 @@ public ClearCachedRealmsRequest(Elastic.Clients.Elasticsearch.Names realms) : ba /// /// -/// Evicts users from the user cache. Can completely clear the cache or evict specific users. +/// Clear the user cache. +/// +/// +/// Evict users from the user cache. You can completely clear the cache or evict specific users. /// /// public sealed partial class ClearCachedRealmsRequestDescriptor : RequestDescriptor diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/ClearCachedRolesRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/ClearCachedRolesRequest.g.cs index 60ef63b37b0..1b630f2adff 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/ClearCachedRolesRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/ClearCachedRolesRequest.g.cs @@ -36,7 +36,10 @@ public sealed partial class ClearCachedRolesRequestParameters : RequestParameter /// /// -/// Evicts roles from the native role cache. +/// Clear the roles cache. +/// +/// +/// Evict roles from the native role cache. /// /// public sealed partial class ClearCachedRolesRequest : PlainRequest @@ -56,7 +59,10 @@ public ClearCachedRolesRequest(Elastic.Clients.Elasticsearch.Names name) : base( /// /// -/// Evicts roles from the native role cache. +/// Clear the roles cache. +/// +/// +/// Evict roles from the native role cache. /// /// public sealed partial class ClearCachedRolesRequestDescriptor : RequestDescriptor diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/ClearCachedServiceTokensRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/ClearCachedServiceTokensRequest.g.cs index 9988ce26447..a018b729fd4 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/ClearCachedServiceTokensRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/ClearCachedServiceTokensRequest.g.cs @@ -36,7 +36,10 @@ public sealed partial class ClearCachedServiceTokensRequestParameters : RequestP /// /// -/// Evicts tokens from the service account token caches. +/// Clear service account token caches. +/// +/// +/// Evict a subset of all entries from the service account token caches. /// /// public sealed partial class ClearCachedServiceTokensRequest : PlainRequest @@ -56,7 +59,10 @@ public ClearCachedServiceTokensRequest(string ns, string service, Elastic.Client /// /// -/// Evicts tokens from the service account token caches. +/// Clear service account token caches. +/// +/// +/// Evict a subset of all entries from the service account token caches. /// /// public sealed partial class ClearCachedServiceTokensRequestDescriptor : RequestDescriptor diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/CreateApiKeyRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/CreateApiKeyRequest.g.cs index b09feb4d128..cc79ddf4274 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/CreateApiKeyRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/CreateApiKeyRequest.g.cs @@ -43,7 +43,9 @@ public sealed partial class CreateApiKeyRequestParameters : RequestParameters /// /// /// Create an API key. -/// Creates an API key for access without requiring basic authentication. +/// +/// +/// Create an API key for access without requiring basic authentication. /// A successful request returns a JSON structure that contains the API key, its unique id, and its name. /// If applicable, it also returns expiration information for the API key in milliseconds. /// NOTE: By default, API keys never expire. You can specify expiration information when you create the API keys. @@ -103,7 +105,9 @@ public sealed partial class CreateApiKeyRequest : PlainRequest /// /// Create an API key. -/// Creates an API key for access without requiring basic authentication. +/// +/// +/// Create an API key for access without requiring basic authentication. /// A successful request returns a JSON structure that contains the API key, its unique id, and its name. /// If applicable, it also returns expiration information for the API key in milliseconds. /// NOTE: By default, API keys never expire. You can specify expiration information when you create the API keys. @@ -210,7 +214,9 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o /// /// /// Create an API key. -/// Creates an API key for access without requiring basic authentication. +/// +/// +/// Create an API key for access without requiring basic authentication. /// A successful request returns a JSON structure that contains the API key, its unique id, and its name. /// If applicable, it also returns expiration information for the API key in milliseconds. /// NOTE: By default, API keys never expire. You can specify expiration information when you create the API keys. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/CreateCrossClusterApiKeyRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/CreateCrossClusterApiKeyRequest.g.cs new file mode 100644 index 00000000000..2ca3d9d6e10 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/CreateCrossClusterApiKeyRequest.g.cs @@ -0,0 +1,433 @@ +// 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 Elastic.Clients.Elasticsearch.Fluent; +using Elastic.Clients.Elasticsearch.Requests; +using Elastic.Clients.Elasticsearch.Serialization; +using Elastic.Transport; +using Elastic.Transport.Extensions; +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +namespace Elastic.Clients.Elasticsearch.Security; + +public sealed partial class CreateCrossClusterApiKeyRequestParameters : RequestParameters +{ +} + +/// +/// +/// Create a cross-cluster API key. +/// +/// +/// Create an API key of the cross_cluster type for the API key based remote cluster access. +/// A cross_cluster API key cannot be used to authenticate through the REST interface. +/// +/// +/// IMPORTANT: To authenticate this request you must use a credential that is not an API key. Even if you use an API key that has the required privilege, the API returns an error. +/// +/// +/// Cross-cluster API keys are created by the Elasticsearch API key service, which is automatically enabled. +/// +/// +/// NOTE: Unlike REST API keys, a cross-cluster API key does not capture permissions of the authenticated user. The API key’s effective permission is exactly as specified with the access property. +/// +/// +/// A successful request returns a JSON structure that contains the API key, its unique ID, and its name. If applicable, it also returns expiration information for the API key in milliseconds. +/// +/// +/// By default, API keys never expire. You can specify expiration information when you create the API keys. +/// +/// +/// Cross-cluster API keys can only be updated with the update cross-cluster API key API. +/// Attempting to update them with the update REST API key API or the bulk update REST API keys API will result in an error. +/// +/// +public sealed partial class CreateCrossClusterApiKeyRequest : PlainRequest +{ + internal override ApiUrls ApiUrls => ApiUrlLookup.SecurityCreateCrossClusterApiKey; + + protected override HttpMethod StaticHttpMethod => HttpMethod.POST; + + internal override bool SupportsBody => true; + + internal override string OperationName => "security.create_cross_cluster_api_key"; + + /// + /// + /// The access to be granted to this API key. + /// The access is composed of permissions for cross-cluster search and cross-cluster replication. + /// At least one of them must be specified. + /// + /// + /// NOTE: No explicit privileges should be specified for either search or replication access. + /// The creation process automatically converts the access specification to a role descriptor which has relevant privileges assigned accordingly. + /// + /// + [JsonInclude, JsonPropertyName("access")] + public Elastic.Clients.Elasticsearch.Security.Access Access { get; set; } + + /// + /// + /// Expiration time for the API key. + /// By default, API keys never expire. + /// + /// + [JsonInclude, JsonPropertyName("expiration")] + public Elastic.Clients.Elasticsearch.Duration? Expiration { get; set; } + + /// + /// + /// Arbitrary metadata that you want to associate with the API key. + /// It supports nested data structure. + /// Within the metadata object, keys beginning with _ are reserved for system usage. + /// + /// + [JsonInclude, JsonPropertyName("metadata")] + public IDictionary? Metadata { get; set; } + + /// + /// + /// Specifies the name for this API key. + /// + /// + [JsonInclude, JsonPropertyName("name")] + public Elastic.Clients.Elasticsearch.Name Name { get; set; } +} + +/// +/// +/// Create a cross-cluster API key. +/// +/// +/// Create an API key of the cross_cluster type for the API key based remote cluster access. +/// A cross_cluster API key cannot be used to authenticate through the REST interface. +/// +/// +/// IMPORTANT: To authenticate this request you must use a credential that is not an API key. Even if you use an API key that has the required privilege, the API returns an error. +/// +/// +/// Cross-cluster API keys are created by the Elasticsearch API key service, which is automatically enabled. +/// +/// +/// NOTE: Unlike REST API keys, a cross-cluster API key does not capture permissions of the authenticated user. The API key’s effective permission is exactly as specified with the access property. +/// +/// +/// A successful request returns a JSON structure that contains the API key, its unique ID, and its name. If applicable, it also returns expiration information for the API key in milliseconds. +/// +/// +/// By default, API keys never expire. You can specify expiration information when you create the API keys. +/// +/// +/// Cross-cluster API keys can only be updated with the update cross-cluster API key API. +/// Attempting to update them with the update REST API key API or the bulk update REST API keys API will result in an error. +/// +/// +public sealed partial class CreateCrossClusterApiKeyRequestDescriptor : RequestDescriptor, CreateCrossClusterApiKeyRequestParameters> +{ + internal CreateCrossClusterApiKeyRequestDescriptor(Action> configure) => configure.Invoke(this); + + public CreateCrossClusterApiKeyRequestDescriptor() + { + } + + internal override ApiUrls ApiUrls => ApiUrlLookup.SecurityCreateCrossClusterApiKey; + + protected override HttpMethod StaticHttpMethod => HttpMethod.POST; + + internal override bool SupportsBody => true; + + internal override string OperationName => "security.create_cross_cluster_api_key"; + + private Elastic.Clients.Elasticsearch.Security.Access AccessValue { get; set; } + private Elastic.Clients.Elasticsearch.Security.AccessDescriptor AccessDescriptor { get; set; } + private Action> AccessDescriptorAction { get; set; } + private Elastic.Clients.Elasticsearch.Duration? ExpirationValue { get; set; } + private IDictionary? MetadataValue { get; set; } + private Elastic.Clients.Elasticsearch.Name NameValue { get; set; } + + /// + /// + /// The access to be granted to this API key. + /// The access is composed of permissions for cross-cluster search and cross-cluster replication. + /// At least one of them must be specified. + /// + /// + /// NOTE: No explicit privileges should be specified for either search or replication access. + /// The creation process automatically converts the access specification to a role descriptor which has relevant privileges assigned accordingly. + /// + /// + public CreateCrossClusterApiKeyRequestDescriptor Access(Elastic.Clients.Elasticsearch.Security.Access access) + { + AccessDescriptor = null; + AccessDescriptorAction = null; + AccessValue = access; + return Self; + } + + public CreateCrossClusterApiKeyRequestDescriptor Access(Elastic.Clients.Elasticsearch.Security.AccessDescriptor descriptor) + { + AccessValue = null; + AccessDescriptorAction = null; + AccessDescriptor = descriptor; + return Self; + } + + public CreateCrossClusterApiKeyRequestDescriptor Access(Action> configure) + { + AccessValue = null; + AccessDescriptor = null; + AccessDescriptorAction = configure; + return Self; + } + + /// + /// + /// Expiration time for the API key. + /// By default, API keys never expire. + /// + /// + public CreateCrossClusterApiKeyRequestDescriptor Expiration(Elastic.Clients.Elasticsearch.Duration? expiration) + { + ExpirationValue = expiration; + return Self; + } + + /// + /// + /// Arbitrary metadata that you want to associate with the API key. + /// It supports nested data structure. + /// Within the metadata object, keys beginning with _ are reserved for system usage. + /// + /// + public CreateCrossClusterApiKeyRequestDescriptor Metadata(Func, FluentDictionary> selector) + { + MetadataValue = selector?.Invoke(new FluentDictionary()); + return Self; + } + + /// + /// + /// Specifies the name for this API key. + /// + /// + public CreateCrossClusterApiKeyRequestDescriptor Name(Elastic.Clients.Elasticsearch.Name name) + { + NameValue = name; + return Self; + } + + protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) + { + writer.WriteStartObject(); + if (AccessDescriptor is not null) + { + writer.WritePropertyName("access"); + JsonSerializer.Serialize(writer, AccessDescriptor, options); + } + else if (AccessDescriptorAction is not null) + { + writer.WritePropertyName("access"); + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.Security.AccessDescriptor(AccessDescriptorAction), options); + } + else + { + writer.WritePropertyName("access"); + JsonSerializer.Serialize(writer, AccessValue, options); + } + + if (ExpirationValue is not null) + { + writer.WritePropertyName("expiration"); + JsonSerializer.Serialize(writer, ExpirationValue, options); + } + + if (MetadataValue is not null) + { + writer.WritePropertyName("metadata"); + JsonSerializer.Serialize(writer, MetadataValue, options); + } + + writer.WritePropertyName("name"); + JsonSerializer.Serialize(writer, NameValue, options); + writer.WriteEndObject(); + } +} + +/// +/// +/// Create a cross-cluster API key. +/// +/// +/// Create an API key of the cross_cluster type for the API key based remote cluster access. +/// A cross_cluster API key cannot be used to authenticate through the REST interface. +/// +/// +/// IMPORTANT: To authenticate this request you must use a credential that is not an API key. Even if you use an API key that has the required privilege, the API returns an error. +/// +/// +/// Cross-cluster API keys are created by the Elasticsearch API key service, which is automatically enabled. +/// +/// +/// NOTE: Unlike REST API keys, a cross-cluster API key does not capture permissions of the authenticated user. The API key’s effective permission is exactly as specified with the access property. +/// +/// +/// A successful request returns a JSON structure that contains the API key, its unique ID, and its name. If applicable, it also returns expiration information for the API key in milliseconds. +/// +/// +/// By default, API keys never expire. You can specify expiration information when you create the API keys. +/// +/// +/// Cross-cluster API keys can only be updated with the update cross-cluster API key API. +/// Attempting to update them with the update REST API key API or the bulk update REST API keys API will result in an error. +/// +/// +public sealed partial class CreateCrossClusterApiKeyRequestDescriptor : RequestDescriptor +{ + internal CreateCrossClusterApiKeyRequestDescriptor(Action configure) => configure.Invoke(this); + + public CreateCrossClusterApiKeyRequestDescriptor() + { + } + + internal override ApiUrls ApiUrls => ApiUrlLookup.SecurityCreateCrossClusterApiKey; + + protected override HttpMethod StaticHttpMethod => HttpMethod.POST; + + internal override bool SupportsBody => true; + + internal override string OperationName => "security.create_cross_cluster_api_key"; + + private Elastic.Clients.Elasticsearch.Security.Access AccessValue { get; set; } + private Elastic.Clients.Elasticsearch.Security.AccessDescriptor AccessDescriptor { get; set; } + private Action AccessDescriptorAction { get; set; } + private Elastic.Clients.Elasticsearch.Duration? ExpirationValue { get; set; } + private IDictionary? MetadataValue { get; set; } + private Elastic.Clients.Elasticsearch.Name NameValue { get; set; } + + /// + /// + /// The access to be granted to this API key. + /// The access is composed of permissions for cross-cluster search and cross-cluster replication. + /// At least one of them must be specified. + /// + /// + /// NOTE: No explicit privileges should be specified for either search or replication access. + /// The creation process automatically converts the access specification to a role descriptor which has relevant privileges assigned accordingly. + /// + /// + public CreateCrossClusterApiKeyRequestDescriptor Access(Elastic.Clients.Elasticsearch.Security.Access access) + { + AccessDescriptor = null; + AccessDescriptorAction = null; + AccessValue = access; + return Self; + } + + public CreateCrossClusterApiKeyRequestDescriptor Access(Elastic.Clients.Elasticsearch.Security.AccessDescriptor descriptor) + { + AccessValue = null; + AccessDescriptorAction = null; + AccessDescriptor = descriptor; + return Self; + } + + public CreateCrossClusterApiKeyRequestDescriptor Access(Action configure) + { + AccessValue = null; + AccessDescriptor = null; + AccessDescriptorAction = configure; + return Self; + } + + /// + /// + /// Expiration time for the API key. + /// By default, API keys never expire. + /// + /// + public CreateCrossClusterApiKeyRequestDescriptor Expiration(Elastic.Clients.Elasticsearch.Duration? expiration) + { + ExpirationValue = expiration; + return Self; + } + + /// + /// + /// Arbitrary metadata that you want to associate with the API key. + /// It supports nested data structure. + /// Within the metadata object, keys beginning with _ are reserved for system usage. + /// + /// + public CreateCrossClusterApiKeyRequestDescriptor Metadata(Func, FluentDictionary> selector) + { + MetadataValue = selector?.Invoke(new FluentDictionary()); + return Self; + } + + /// + /// + /// Specifies the name for this API key. + /// + /// + public CreateCrossClusterApiKeyRequestDescriptor Name(Elastic.Clients.Elasticsearch.Name name) + { + NameValue = name; + return Self; + } + + protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) + { + writer.WriteStartObject(); + if (AccessDescriptor is not null) + { + writer.WritePropertyName("access"); + JsonSerializer.Serialize(writer, AccessDescriptor, options); + } + else if (AccessDescriptorAction is not null) + { + writer.WritePropertyName("access"); + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.Security.AccessDescriptor(AccessDescriptorAction), options); + } + else + { + writer.WritePropertyName("access"); + JsonSerializer.Serialize(writer, AccessValue, options); + } + + if (ExpirationValue is not null) + { + writer.WritePropertyName("expiration"); + JsonSerializer.Serialize(writer, ExpirationValue, options); + } + + if (MetadataValue is not null) + { + writer.WritePropertyName("metadata"); + JsonSerializer.Serialize(writer, MetadataValue, options); + } + + writer.WritePropertyName("name"); + JsonSerializer.Serialize(writer, NameValue, options); + writer.WriteEndObject(); + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/SearchApplication/SearchApplicationListItem.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/CreateCrossClusterApiKeyResponse.g.cs similarity index 65% rename from src/Elastic.Clients.Elasticsearch/_Generated/Types/SearchApplication/SearchApplicationListItem.g.cs rename to src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/CreateCrossClusterApiKeyResponse.g.cs index f660ec1cfd7..3dcac6531a1 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/SearchApplication/SearchApplicationListItem.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/CreateCrossClusterApiKeyResponse.g.cs @@ -19,45 +19,54 @@ using Elastic.Clients.Elasticsearch.Fluent; using Elastic.Clients.Elasticsearch.Serialization; +using Elastic.Transport.Products.Elasticsearch; using System; using System.Collections.Generic; -using System.Linq.Expressions; -using System.Text.Json; using System.Text.Json.Serialization; -namespace Elastic.Clients.Elasticsearch.SearchApplication; +namespace Elastic.Clients.Elasticsearch.Security; -public sealed partial class SearchApplicationListItem +public sealed partial class CreateCrossClusterApiKeyResponse : ElasticsearchResponse { /// /// - /// Analytics collection associated to the Search Application + /// Generated API key. /// /// - [JsonInclude, JsonPropertyName("analytics_collection_name")] - public string? AnalyticsCollectionName { get; init; } + [JsonInclude, JsonPropertyName("api_key")] + public string ApiKey { get; init; } /// /// - /// Indices that are part of the Search Application + /// API key credentials which is the base64-encoding of + /// the UTF-8 representation of id and api_key joined + /// by a colon (:). /// /// - [JsonInclude, JsonPropertyName("indices")] - public IReadOnlyCollection Indices { get; init; } + [JsonInclude, JsonPropertyName("encoded")] + public string Encoded { get; init; } /// /// - /// Search Application name + /// Expiration in milliseconds for the API key. /// /// - [JsonInclude, JsonPropertyName("name")] - public string Name { get; init; } + [JsonInclude, JsonPropertyName("expiration")] + public long? Expiration { get; init; } /// /// - /// Last time the Search Application was updated + /// Unique ID for this API key. /// /// - [JsonInclude, JsonPropertyName("updated_at_millis")] - public long UpdatedAtMillis { get; init; } + [JsonInclude, JsonPropertyName("id")] + public string Id { get; init; } + + /// + /// + /// Specifies the name for this API key. + /// + /// + [JsonInclude, JsonPropertyName("name")] + public string Name { get; init; } } \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/CreateServiceTokenRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/CreateServiceTokenRequest.g.cs index 82f0154e7e6..6b8dd3f4062 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/CreateServiceTokenRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/CreateServiceTokenRequest.g.cs @@ -42,7 +42,10 @@ public sealed partial class CreateServiceTokenRequestParameters : RequestParamet /// /// -/// Creates a service accounts token for access without requiring basic authentication. +/// Create a service account token. +/// +/// +/// Create a service accounts token for access without requiring basic authentication. /// /// public sealed partial class CreateServiceTokenRequest : PlainRequest @@ -74,7 +77,10 @@ public CreateServiceTokenRequest(string ns, string service) : base(r => r.Requir /// /// -/// Creates a service accounts token for access without requiring basic authentication. +/// Create a service account token. +/// +/// +/// Create a service accounts token for access without requiring basic authentication. /// /// public sealed partial class CreateServiceTokenRequestDescriptor : RequestDescriptor diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/DeletePrivilegesRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/DeletePrivilegesRequest.g.cs index 55d79f9287e..320489f1431 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/DeletePrivilegesRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/DeletePrivilegesRequest.g.cs @@ -42,7 +42,7 @@ public sealed partial class DeletePrivilegesRequestParameters : RequestParameter /// /// -/// Removes application privileges. +/// Delete application privileges. /// /// public sealed partial class DeletePrivilegesRequest : PlainRequest @@ -70,7 +70,7 @@ public DeletePrivilegesRequest(Elastic.Clients.Elasticsearch.Name application, E /// /// -/// Removes application privileges. +/// Delete application privileges. /// /// public sealed partial class DeletePrivilegesRequestDescriptor : RequestDescriptor diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/DeleteRoleMappingRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/DeleteRoleMappingRequest.g.cs index aafbd9fe708..2421e540477 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/DeleteRoleMappingRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/DeleteRoleMappingRequest.g.cs @@ -42,7 +42,7 @@ public sealed partial class DeleteRoleMappingRequestParameters : RequestParamete /// /// -/// Removes role mappings. +/// Delete role mappings. /// /// public sealed partial class DeleteRoleMappingRequest : PlainRequest @@ -70,7 +70,7 @@ public DeleteRoleMappingRequest(Elastic.Clients.Elasticsearch.Name name) : base( /// /// -/// Removes role mappings. +/// Delete role mappings. /// /// public sealed partial class DeleteRoleMappingRequestDescriptor : RequestDescriptor diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/DeleteRoleRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/DeleteRoleRequest.g.cs index 2bf1ca5061a..fd976f508f4 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/DeleteRoleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/DeleteRoleRequest.g.cs @@ -42,7 +42,10 @@ public sealed partial class DeleteRoleRequestParameters : RequestParameters /// /// -/// Removes roles in the native realm. +/// Delete roles. +/// +/// +/// Delete roles in the native realm. /// /// public sealed partial class DeleteRoleRequest : PlainRequest @@ -70,7 +73,10 @@ public DeleteRoleRequest(Elastic.Clients.Elasticsearch.Name name) : base(r => r. /// /// -/// Removes roles in the native realm. +/// Delete roles. +/// +/// +/// Delete roles in the native realm. /// /// public sealed partial class DeleteRoleRequestDescriptor : RequestDescriptor diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/DeleteServiceTokenRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/DeleteServiceTokenRequest.g.cs index 6183ce96414..94441f708bb 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/DeleteServiceTokenRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/DeleteServiceTokenRequest.g.cs @@ -42,7 +42,10 @@ public sealed partial class DeleteServiceTokenRequestParameters : RequestParamet /// /// -/// Deletes a service account token. +/// Delete service account tokens. +/// +/// +/// Delete service account tokens for a service in a specified namespace. /// /// public sealed partial class DeleteServiceTokenRequest : PlainRequest @@ -70,7 +73,10 @@ public DeleteServiceTokenRequest(string ns, string service, Elastic.Clients.Elas /// /// -/// Deletes a service account token. +/// Delete service account tokens. +/// +/// +/// Delete service account tokens for a service in a specified namespace. /// /// public sealed partial class DeleteServiceTokenRequestDescriptor : RequestDescriptor diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/DeleteUserRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/DeleteUserRequest.g.cs index 6c01fdbe59e..90e38b47654 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/DeleteUserRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/DeleteUserRequest.g.cs @@ -42,7 +42,10 @@ public sealed partial class DeleteUserRequestParameters : RequestParameters /// /// -/// Deletes users from the native realm. +/// Delete users. +/// +/// +/// Delete users from the native realm. /// /// public sealed partial class DeleteUserRequest : PlainRequest @@ -70,7 +73,10 @@ public DeleteUserRequest(Elastic.Clients.Elasticsearch.Username username) : base /// /// -/// Deletes users from the native realm. +/// Delete users. +/// +/// +/// Delete users from the native realm. /// /// public sealed partial class DeleteUserRequestDescriptor : RequestDescriptor diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/DisableUserProfileRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/DisableUserProfileRequest.g.cs index c0d51b98600..ee4991e79cf 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/DisableUserProfileRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/DisableUserProfileRequest.g.cs @@ -44,7 +44,10 @@ public sealed partial class DisableUserProfileRequestParameters : RequestParamet /// /// -/// Disables a user profile so it's not visible in user profile searches. +/// Disable a user profile. +/// +/// +/// Disable user profiles so that they are not visible in user profile searches. /// /// public sealed partial class DisableUserProfileRequest : PlainRequest @@ -74,7 +77,10 @@ public DisableUserProfileRequest(string uid) : base(r => r.Required("uid", uid)) /// /// -/// Disables a user profile so it's not visible in user profile searches. +/// Disable a user profile. +/// +/// +/// Disable user profiles so that they are not visible in user profile searches. /// /// public sealed partial class DisableUserProfileRequestDescriptor : RequestDescriptor diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/DisableUserRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/DisableUserRequest.g.cs index 1c98402cd49..e8f286a5a80 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/DisableUserRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/DisableUserRequest.g.cs @@ -42,7 +42,10 @@ public sealed partial class DisableUserRequestParameters : RequestParameters /// /// -/// Disables users in the native realm. +/// Disable users. +/// +/// +/// Disable users in the native realm. /// /// public sealed partial class DisableUserRequest : PlainRequest @@ -70,7 +73,10 @@ public DisableUserRequest(Elastic.Clients.Elasticsearch.Username username) : bas /// /// -/// Disables users in the native realm. +/// Disable users. +/// +/// +/// Disable users in the native realm. /// /// public sealed partial class DisableUserRequestDescriptor : RequestDescriptor diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/EnableUserProfileRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/EnableUserProfileRequest.g.cs index 423075f3888..725a5665805 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/EnableUserProfileRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/EnableUserProfileRequest.g.cs @@ -44,7 +44,10 @@ public sealed partial class EnableUserProfileRequestParameters : RequestParamete /// /// -/// Enables a user profile so it's visible in user profile searches. +/// Enable a user profile. +/// +/// +/// Enable user profiles to make them visible in user profile searches. /// /// public sealed partial class EnableUserProfileRequest : PlainRequest @@ -74,7 +77,10 @@ public EnableUserProfileRequest(string uid) : base(r => r.Required("uid", uid)) /// /// -/// Enables a user profile so it's visible in user profile searches. +/// Enable a user profile. +/// +/// +/// Enable user profiles to make them visible in user profile searches. /// /// public sealed partial class EnableUserProfileRequestDescriptor : RequestDescriptor diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/EnableUserRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/EnableUserRequest.g.cs index 019ff052db9..4758880e9f4 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/EnableUserRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/EnableUserRequest.g.cs @@ -42,7 +42,10 @@ public sealed partial class EnableUserRequestParameters : RequestParameters /// /// -/// Enables users in the native realm. +/// Enable users. +/// +/// +/// Enable users in the native realm. /// /// public sealed partial class EnableUserRequest : PlainRequest @@ -70,7 +73,10 @@ public EnableUserRequest(Elastic.Clients.Elasticsearch.Username username) : base /// /// -/// Enables users in the native realm. +/// Enable users. +/// +/// +/// Enable users in the native realm. /// /// public sealed partial class EnableUserRequestDescriptor : RequestDescriptor diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/EnrollKibanaRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/EnrollKibanaRequest.g.cs index 83ced516fb8..51c0a32e140 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/EnrollKibanaRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/EnrollKibanaRequest.g.cs @@ -36,7 +36,10 @@ public sealed partial class EnrollKibanaRequestParameters : RequestParameters /// /// -/// Enables a Kibana instance to configure itself for communication with a secured Elasticsearch cluster. +/// Enroll Kibana. +/// +/// +/// Enable a Kibana instance to configure itself for communication with a secured Elasticsearch cluster. /// /// public sealed partial class EnrollKibanaRequest : PlainRequest @@ -52,7 +55,10 @@ public sealed partial class EnrollKibanaRequest : PlainRequest /// -/// Enables a Kibana instance to configure itself for communication with a secured Elasticsearch cluster. +/// Enroll Kibana. +/// +/// +/// Enable a Kibana instance to configure itself for communication with a secured Elasticsearch cluster. /// /// public sealed partial class EnrollKibanaRequestDescriptor : RequestDescriptor diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/EnrollNodeRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/EnrollNodeRequest.g.cs index 19c48694766..580b4bc0b0c 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/EnrollNodeRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/EnrollNodeRequest.g.cs @@ -36,7 +36,10 @@ public sealed partial class EnrollNodeRequestParameters : RequestParameters /// /// -/// Allows a new node to join an existing cluster with security features enabled. +/// Enroll a node. +/// +/// +/// Enroll a new node to allow it to join an existing cluster with security features enabled. /// /// public sealed partial class EnrollNodeRequest : PlainRequest @@ -52,7 +55,10 @@ public sealed partial class EnrollNodeRequest : PlainRequest /// -/// Allows a new node to join an existing cluster with security features enabled. +/// Enroll a node. +/// +/// +/// Enroll a new node to allow it to join an existing cluster with security features enabled. /// /// public sealed partial class EnrollNodeRequestDescriptor : RequestDescriptor diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetApiKeyRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetApiKeyRequest.g.cs index 996c419b3fe..57ce8199ac0 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetApiKeyRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetApiKeyRequest.g.cs @@ -101,6 +101,8 @@ public sealed partial class GetApiKeyRequestParameters : RequestParameters /// /// /// Get API key information. +/// +/// /// Retrieves information for one or more API keys. /// NOTE: If you have only the manage_own_api_key privilege, this API returns only the API keys that you own. /// If you have read_security, manage_api_key or greater privileges (including manage_security), this API returns all API keys regardless of ownership. @@ -193,6 +195,8 @@ public sealed partial class GetApiKeyRequest : PlainRequest /// /// Get API key information. +/// +/// /// Retrieves information for one or more API keys. /// NOTE: If you have only the manage_own_api_key privilege, this API returns only the API keys that you own. /// If you have read_security, manage_api_key or greater privileges (including manage_security), this API returns all API keys regardless of ownership. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetBuiltinPrivilegesRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetBuiltinPrivilegesRequest.g.cs index 86da44c5865..218da5b567b 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetBuiltinPrivilegesRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetBuiltinPrivilegesRequest.g.cs @@ -36,7 +36,10 @@ public sealed partial class GetBuiltinPrivilegesRequestParameters : RequestParam /// /// -/// Retrieves the list of cluster privileges and index privileges that are available in this version of Elasticsearch. +/// Get builtin privileges. +/// +/// +/// Get the list of cluster privileges and index privileges that are available in this version of Elasticsearch. /// /// public sealed partial class GetBuiltinPrivilegesRequest : PlainRequest @@ -52,7 +55,10 @@ public sealed partial class GetBuiltinPrivilegesRequest : PlainRequest /// -/// Retrieves the list of cluster privileges and index privileges that are available in this version of Elasticsearch. +/// Get builtin privileges. +/// +/// +/// Get the list of cluster privileges and index privileges that are available in this version of Elasticsearch. /// /// public sealed partial class GetBuiltinPrivilegesRequestDescriptor : RequestDescriptor diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetBuiltinPrivilegesResponse.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetBuiltinPrivilegesResponse.g.cs index 0f19d1b9a0e..2410a2d7776 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetBuiltinPrivilegesResponse.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetBuiltinPrivilegesResponse.g.cs @@ -29,7 +29,9 @@ namespace Elastic.Clients.Elasticsearch.Security; public sealed partial class GetBuiltinPrivilegesResponse : ElasticsearchResponse { [JsonInclude, JsonPropertyName("cluster")] - public IReadOnlyCollection Cluster { get; init; } + public IReadOnlyCollection Cluster { get; init; } [JsonInclude, JsonPropertyName("index")] public IReadOnlyCollection Index { get; init; } + [JsonInclude, JsonPropertyName("remote_cluster")] + public IReadOnlyCollection RemoteCluster { get; init; } } \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetPrivilegesRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetPrivilegesRequest.g.cs index e9b962cc0ff..54604deb0ad 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetPrivilegesRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetPrivilegesRequest.g.cs @@ -36,7 +36,7 @@ public sealed partial class GetPrivilegesRequestParameters : RequestParameters /// /// -/// Retrieves application privileges. +/// Get application privileges. /// /// public sealed partial class GetPrivilegesRequest : PlainRequest @@ -64,7 +64,7 @@ public GetPrivilegesRequest(Elastic.Clients.Elasticsearch.Name? application, Ela /// /// -/// Retrieves application privileges. +/// Get application privileges. /// /// public sealed partial class GetPrivilegesRequestDescriptor : RequestDescriptor diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetRoleMappingRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetRoleMappingRequest.g.cs index 3eb5c006fc7..8a4c6a97c43 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetRoleMappingRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetRoleMappingRequest.g.cs @@ -36,7 +36,12 @@ public sealed partial class GetRoleMappingRequestParameters : RequestParameters /// /// -/// Retrieves role mappings. +/// Get role mappings. +/// +/// +/// Role mappings define which roles are assigned to each user. +/// The role mapping APIs are generally the preferred way to manage role mappings rather than using role mapping files. +/// The get role mappings API cannot retrieve role mappings that are defined in role mapping files. /// /// public sealed partial class GetRoleMappingRequest : PlainRequest @@ -60,7 +65,12 @@ public GetRoleMappingRequest(Elastic.Clients.Elasticsearch.Names? name) : base(r /// /// -/// Retrieves role mappings. +/// Get role mappings. +/// +/// +/// Role mappings define which roles are assigned to each user. +/// The role mapping APIs are generally the preferred way to manage role mappings rather than using role mapping files. +/// The get role mappings API cannot retrieve role mappings that are defined in role mapping files. /// /// public sealed partial class GetRoleMappingRequestDescriptor : RequestDescriptor diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetRoleRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetRoleRequest.g.cs index 277814202e1..9269177ee80 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetRoleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetRoleRequest.g.cs @@ -36,8 +36,10 @@ public sealed partial class GetRoleRequestParameters : RequestParameters /// /// -/// The role management APIs are generally the preferred way to manage roles, rather than using file-based role management. -/// The get roles API cannot retrieve roles that are defined in roles files. +/// Get roles. +/// +/// +/// Get roles in the native realm. /// /// public sealed partial class GetRoleRequest : PlainRequest @@ -61,8 +63,10 @@ public GetRoleRequest(Elastic.Clients.Elasticsearch.Names? name) : base(r => r.O /// /// -/// The role management APIs are generally the preferred way to manage roles, rather than using file-based role management. -/// The get roles API cannot retrieve roles that are defined in roles files. +/// Get roles. +/// +/// +/// Get roles in the native realm. /// /// public sealed partial class GetRoleRequestDescriptor : RequestDescriptor diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetServiceAccountsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetServiceAccountsRequest.g.cs index 157e7bb90ee..921b203f237 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetServiceAccountsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetServiceAccountsRequest.g.cs @@ -36,7 +36,10 @@ public sealed partial class GetServiceAccountsRequestParameters : RequestParamet /// /// -/// This API returns a list of service accounts that match the provided path parameter(s). +/// Get service accounts. +/// +/// +/// Get a list of service accounts that match the provided path parameters. /// /// public sealed partial class GetServiceAccountsRequest : PlainRequest @@ -64,7 +67,10 @@ public GetServiceAccountsRequest(string? ns) : base(r => r.Optional("namespace", /// /// -/// This API returns a list of service accounts that match the provided path parameter(s). +/// Get service accounts. +/// +/// +/// Get a list of service accounts that match the provided path parameters. /// /// public sealed partial class GetServiceAccountsRequestDescriptor : RequestDescriptor diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetServiceCredentialsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetServiceCredentialsRequest.g.cs index bf51be2829d..a1a5d627f24 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetServiceCredentialsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetServiceCredentialsRequest.g.cs @@ -36,7 +36,7 @@ public sealed partial class GetServiceCredentialsRequestParameters : RequestPara /// /// -/// Retrieves information of all service credentials for a service account. +/// Get service account credentials. /// /// public sealed partial class GetServiceCredentialsRequest : PlainRequest @@ -56,7 +56,7 @@ public GetServiceCredentialsRequest(string ns, Elastic.Clients.Elasticsearch.Nam /// /// -/// Retrieves information of all service credentials for a service account. +/// Get service account credentials. /// /// public sealed partial class GetServiceCredentialsRequestDescriptor : RequestDescriptor diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetTokenRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetTokenRequest.g.cs index d3ade1b87c5..ee7fd7ce384 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetTokenRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetTokenRequest.g.cs @@ -36,7 +36,10 @@ public sealed partial class GetTokenRequestParameters : RequestParameters /// /// -/// Creates a bearer token for access without requiring basic authentication. +/// Get a token. +/// +/// +/// Create a bearer token for access without requiring basic authentication. /// /// public sealed partial class GetTokenRequest : PlainRequest @@ -65,7 +68,10 @@ public sealed partial class GetTokenRequest : PlainRequest /// -/// Creates a bearer token for access without requiring basic authentication. +/// Get a token. +/// +/// +/// Create a bearer token for access without requiring basic authentication. /// /// public sealed partial class GetTokenRequestDescriptor : RequestDescriptor diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetUserPrivilegesRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetUserPrivilegesRequest.g.cs index 903249037d0..52d790b0458 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetUserPrivilegesRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetUserPrivilegesRequest.g.cs @@ -50,7 +50,7 @@ public sealed partial class GetUserPrivilegesRequestParameters : RequestParamete /// /// -/// Retrieves security privileges for the logged in user. +/// Get user privileges. /// /// public sealed partial class GetUserPrivilegesRequest : PlainRequest @@ -84,7 +84,7 @@ public sealed partial class GetUserPrivilegesRequest : PlainRequest /// -/// Retrieves security privileges for the logged in user. +/// Get user privileges. /// /// public sealed partial class GetUserPrivilegesRequestDescriptor : RequestDescriptor diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetUserProfileRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetUserProfileRequest.g.cs index aa80263756d..fa92cf1108f 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetUserProfileRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetUserProfileRequest.g.cs @@ -45,7 +45,10 @@ public sealed partial class GetUserProfileRequestParameters : RequestParameters /// /// -/// Retrieves a user's profile using the unique profile ID. +/// Get a user profile. +/// +/// +/// Get a user's profile using the unique profile ID. /// /// public sealed partial class GetUserProfileRequest : PlainRequest @@ -76,7 +79,10 @@ public GetUserProfileRequest(IReadOnlyCollection uid) : base(r => r.Requ /// /// -/// Retrieves a user's profile using the unique profile ID. +/// Get a user profile. +/// +/// +/// Get a user's profile using the unique profile ID. /// /// public sealed partial class GetUserProfileRequestDescriptor : RequestDescriptor diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetUserRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetUserRequest.g.cs index 734533078e9..9c77e91e3f6 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetUserRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetUserRequest.g.cs @@ -42,7 +42,10 @@ public sealed partial class GetUserRequestParameters : RequestParameters /// /// -/// Retrieves information about users in the native realm and built-in users. +/// Get users. +/// +/// +/// Get information about users in the native realm and built-in users. /// /// public sealed partial class GetUserRequest : PlainRequest @@ -74,7 +77,10 @@ public GetUserRequest(IReadOnlyCollection /// -/// Retrieves information about users in the native realm and built-in users. +/// Get users. +/// +/// +/// Get information about users in the native realm and built-in users. /// /// public sealed partial class GetUserRequestDescriptor : RequestDescriptor diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GrantApiKeyRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GrantApiKeyRequest.g.cs index 5f0efc84624..c09da87befc 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GrantApiKeyRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GrantApiKeyRequest.g.cs @@ -36,8 +36,11 @@ public sealed partial class GrantApiKeyRequestParameters : RequestParameters /// /// -/// Creates an API key on behalf of another user. -/// This API is similar to Create API keys, however it creates the API key for a user that is different than the user that runs the API. +/// Grant an API key. +/// +/// +/// Create an API key on behalf of another user. +/// This API is similar to the create API keys API, however it creates the API key for a user that is different than the user that runs the API. /// The caller must have authentication credentials (either an access token, or a username and password) for the user on whose behalf the API key will be created. /// It is not possible to use this API to create an API key without that user’s credentials. /// The user, for whom the authentication credentials is provided, can optionally "run as" (impersonate) another user. @@ -120,8 +123,11 @@ public sealed partial class GrantApiKeyRequest : PlainRequest /// -/// Creates an API key on behalf of another user. -/// This API is similar to Create API keys, however it creates the API key for a user that is different than the user that runs the API. +/// Grant an API key. +/// +/// +/// Create an API key on behalf of another user. +/// This API is similar to the create API keys API, however it creates the API key for a user that is different than the user that runs the API. /// The caller must have authentication credentials (either an access token, or a username and password) for the user on whose behalf the API key will be created. /// It is not possible to use this API to create an API key without that user’s credentials. /// The user, for whom the authentication credentials is provided, can optionally "run as" (impersonate) another user. @@ -303,8 +309,11 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o /// /// -/// Creates an API key on behalf of another user. -/// This API is similar to Create API keys, however it creates the API key for a user that is different than the user that runs the API. +/// Grant an API key. +/// +/// +/// Create an API key on behalf of another user. +/// This API is similar to the create API keys API, however it creates the API key for a user that is different than the user that runs the API. /// The caller must have authentication credentials (either an access token, or a username and password) for the user on whose behalf the API key will be created. /// It is not possible to use this API to create an API key without that user’s credentials. /// The user, for whom the authentication credentials is provided, can optionally "run as" (impersonate) another user. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/HasPrivilegesRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/HasPrivilegesRequest.g.cs index 3ac8a626a3d..623c868da87 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/HasPrivilegesRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/HasPrivilegesRequest.g.cs @@ -37,7 +37,9 @@ public sealed partial class HasPrivilegesRequestParameters : RequestParameters /// /// /// Check user privileges. -/// Determines whether the specified user has a specified list of privileges. +/// +/// +/// Determine whether the specified user has a specified list of privileges. /// /// public sealed partial class HasPrivilegesRequest : PlainRequest @@ -75,7 +77,9 @@ public HasPrivilegesRequest(Elastic.Clients.Elasticsearch.Name? user) : base(r = /// /// /// Check user privileges. -/// Determines whether the specified user has a specified list of privileges. +/// +/// +/// Determine whether the specified user has a specified list of privileges. /// /// public sealed partial class HasPrivilegesRequestDescriptor : RequestDescriptor diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/HasPrivilegesUserProfileRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/HasPrivilegesUserProfileRequest.g.cs index 15dd0268db1..81f80132120 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/HasPrivilegesUserProfileRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/HasPrivilegesUserProfileRequest.g.cs @@ -36,7 +36,10 @@ public sealed partial class HasPrivilegesUserProfileRequestParameters : RequestP /// /// -/// Determines whether the users associated with the specified profile IDs have all the requested privileges. +/// Check user profile privileges. +/// +/// +/// Determine whether the users associated with the specified user profile IDs have all the requested privileges. /// /// public sealed partial class HasPrivilegesUserProfileRequest : PlainRequest @@ -63,7 +66,10 @@ public sealed partial class HasPrivilegesUserProfileRequest : PlainRequest /// -/// Determines whether the users associated with the specified profile IDs have all the requested privileges. +/// Check user profile privileges. +/// +/// +/// Determine whether the users associated with the specified user profile IDs have all the requested privileges. /// /// public sealed partial class HasPrivilegesUserProfileRequestDescriptor : RequestDescriptor diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/InvalidateApiKeyRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/InvalidateApiKeyRequest.g.cs index 02dbbe38899..d648b5974ce 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/InvalidateApiKeyRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/InvalidateApiKeyRequest.g.cs @@ -37,7 +37,10 @@ public sealed partial class InvalidateApiKeyRequestParameters : RequestParameter /// /// /// Invalidate API keys. -/// Invalidates one or more API keys. +/// +/// +/// This API invalidates API keys created by the create API key or grant API key APIs. +/// Invalidated API keys fail authentication, but they can still be viewed using the get API key information and query API key information APIs, for at least the configured retention period, until they are automatically deleted. /// The manage_api_key privilege allows deleting any API keys. /// The manage_own_api_key only allows deleting API keys that are owned by the user. /// In addition, with the manage_own_api_key privilege, an invalidation request must be issued in one of the three formats: @@ -55,7 +58,7 @@ public sealed partial class InvalidateApiKeyRequestParameters : RequestParameter /// /// /// -/// Or, if the request is issued by an API key, i.e. an API key invalidates itself, specify its ID in the ids field. +/// Or, if the request is issued by an API key, that is to say an API key invalidates itself, specify its ID in the ids field. /// /// /// @@ -122,7 +125,10 @@ public sealed partial class InvalidateApiKeyRequest : PlainRequest /// /// Invalidate API keys. -/// Invalidates one or more API keys. +/// +/// +/// This API invalidates API keys created by the create API key or grant API key APIs. +/// Invalidated API keys fail authentication, but they can still be viewed using the get API key information and query API key information APIs, for at least the configured retention period, until they are automatically deleted. /// The manage_api_key privilege allows deleting any API keys. /// The manage_own_api_key only allows deleting API keys that are owned by the user. /// In addition, with the manage_own_api_key privilege, an invalidation request must be issued in one of the three formats: @@ -140,7 +146,7 @@ public sealed partial class InvalidateApiKeyRequest : PlainRequest /// /// -/// Or, if the request is issued by an API key, i.e. an API key invalidates itself, specify its ID in the ids field. +/// Or, if the request is issued by an API key, that is to say an API key invalidates itself, specify its ID in the ids field. /// /// /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/InvalidateTokenRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/InvalidateTokenRequest.g.cs index 6c7c79d4e4e..4386ef53852 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/InvalidateTokenRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/InvalidateTokenRequest.g.cs @@ -36,7 +36,16 @@ public sealed partial class InvalidateTokenRequestParameters : RequestParameters /// /// -/// Invalidates one or more access tokens or refresh tokens. +/// Invalidate a token. +/// +/// +/// The access tokens returned by the get token API have a finite period of time for which they are valid. +/// After that time period, they can no longer be used. +/// The time period is defined by the xpack.security.authc.token.timeout setting. +/// +/// +/// The refresh tokens returned by the get token API are only valid for 24 hours. They can also be used exactly once. +/// If you want to invalidate one or more access or refresh tokens immediately, use this invalidate token API. /// /// public sealed partial class InvalidateTokenRequest : PlainRequest @@ -61,7 +70,16 @@ public sealed partial class InvalidateTokenRequest : PlainRequest /// -/// Invalidates one or more access tokens or refresh tokens. +/// Invalidate a token. +/// +/// +/// The access tokens returned by the get token API have a finite period of time for which they are valid. +/// After that time period, they can no longer be used. +/// The time period is defined by the xpack.security.authc.token.timeout setting. +/// +/// +/// The refresh tokens returned by the get token API are only valid for 24 hours. They can also be used exactly once. +/// If you want to invalidate one or more access or refresh tokens immediately, use this invalidate token API. /// /// public sealed partial class InvalidateTokenRequestDescriptor : RequestDescriptor diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/PutPrivilegesRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/PutPrivilegesRequest.g.cs index 61b7a74d58b..9ba02c01239 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/PutPrivilegesRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/PutPrivilegesRequest.g.cs @@ -44,7 +44,7 @@ public sealed partial class PutPrivilegesRequestParameters : RequestParameters /// /// -/// Adds or updates application privileges. +/// Create or update application privileges. /// /// public sealed partial class PutPrivilegesRequest : PlainRequest, ISelfSerializable @@ -74,7 +74,7 @@ void ISelfSerializable.Serialize(Utf8JsonWriter writer, JsonSerializerOptions op /// /// -/// Adds or updates application privileges. +/// Create or update application privileges. /// /// public sealed partial class PutPrivilegesRequestDescriptor : RequestDescriptor, ISelfSerializable diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/PutRoleMappingRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/PutRoleMappingRequest.g.cs index 748f72aa996..e0713523d9f 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/PutRoleMappingRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/PutRoleMappingRequest.g.cs @@ -42,7 +42,16 @@ public sealed partial class PutRoleMappingRequestParameters : RequestParameters /// /// -/// Creates and updates role mappings. +/// Create or update role mappings. +/// +/// +/// Role mappings define which roles are assigned to each user. +/// Each mapping has rules that identify users and a list of roles that are granted to those users. +/// The role mapping APIs are generally the preferred way to manage role mappings rather than using role mapping files. The create or update role mappings API cannot update role mappings that are defined in role mapping files. +/// +/// +/// This API does not create roles. Rather, it maps users to existing roles. +/// Roles can be created by using the create or update roles API or roles files. /// /// public sealed partial class PutRoleMappingRequest : PlainRequest @@ -82,7 +91,16 @@ public PutRoleMappingRequest(Elastic.Clients.Elasticsearch.Name name) : base(r = /// /// -/// Creates and updates role mappings. +/// Create or update role mappings. +/// +/// +/// Role mappings define which roles are assigned to each user. +/// Each mapping has rules that identify users and a list of roles that are granted to those users. +/// The role mapping APIs are generally the preferred way to manage role mappings rather than using role mapping files. The create or update role mappings API cannot update role mappings that are defined in role mapping files. +/// +/// +/// This API does not create roles. Rather, it maps users to existing roles. +/// Roles can be created by using the create or update roles API or roles files. /// /// public sealed partial class PutRoleMappingRequestDescriptor : RequestDescriptor diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/PutRoleRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/PutRoleRequest.g.cs index 6f508ca957e..300912ec21c 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/PutRoleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/PutRoleRequest.g.cs @@ -42,8 +42,12 @@ public sealed partial class PutRoleRequestParameters : RequestParameters /// /// -/// The role management APIs are generally the preferred way to manage roles, rather than using file-based role management. +/// Create or update roles. +/// +/// +/// The role management APIs are generally the preferred way to manage roles in the native realm, rather than using file-based role management. /// The create or update roles API cannot update roles that are defined in roles files. +/// File-based role management is not available in Elastic Serverless. /// /// public sealed partial class PutRoleRequest : PlainRequest @@ -116,6 +120,14 @@ public PutRoleRequest(Elastic.Clients.Elasticsearch.Name name) : base(r => r.Req [JsonInclude, JsonPropertyName("metadata")] public IDictionary? Metadata { get; set; } + /// + /// + /// A list of remote cluster permissions entries. + /// + /// + [JsonInclude, JsonPropertyName("remote_cluster")] + public ICollection? RemoteCluster { get; set; } + /// /// /// A list of remote indices permissions entries. @@ -143,8 +155,12 @@ public PutRoleRequest(Elastic.Clients.Elasticsearch.Name name) : base(r => r.Req /// /// -/// The role management APIs are generally the preferred way to manage roles, rather than using file-based role management. +/// Create or update roles. +/// +/// +/// The role management APIs are generally the preferred way to manage roles in the native realm, rather than using file-based role management. /// The create or update roles API cannot update roles that are defined in roles files. +/// File-based role management is not available in Elastic Serverless. /// /// public sealed partial class PutRoleRequestDescriptor : RequestDescriptor, PutRoleRequestParameters> @@ -183,6 +199,10 @@ public PutRoleRequestDescriptor Name(Elastic.Clients.Elasticsearch.Na private Action> IndicesDescriptorAction { get; set; } private Action>[] IndicesDescriptorActions { get; set; } private IDictionary? MetadataValue { get; set; } + private ICollection? RemoteClusterValue { get; set; } + private Elastic.Clients.Elasticsearch.Security.RemoteClusterPrivilegesDescriptor RemoteClusterDescriptor { get; set; } + private Action RemoteClusterDescriptorAction { get; set; } + private Action[] RemoteClusterDescriptorActions { get; set; } private ICollection? RemoteIndicesValue { get; set; } private Elastic.Clients.Elasticsearch.Security.RemoteIndicesPrivilegesDescriptor RemoteIndicesDescriptor { get; set; } private Action> RemoteIndicesDescriptorAction { get; set; } @@ -316,6 +336,47 @@ public PutRoleRequestDescriptor Metadata(Func + /// + /// A list of remote cluster permissions entries. + /// + /// + public PutRoleRequestDescriptor RemoteCluster(ICollection? remoteCluster) + { + RemoteClusterDescriptor = null; + RemoteClusterDescriptorAction = null; + RemoteClusterDescriptorActions = null; + RemoteClusterValue = remoteCluster; + return Self; + } + + public PutRoleRequestDescriptor RemoteCluster(Elastic.Clients.Elasticsearch.Security.RemoteClusterPrivilegesDescriptor descriptor) + { + RemoteClusterValue = null; + RemoteClusterDescriptorAction = null; + RemoteClusterDescriptorActions = null; + RemoteClusterDescriptor = descriptor; + return Self; + } + + public PutRoleRequestDescriptor RemoteCluster(Action configure) + { + RemoteClusterValue = null; + RemoteClusterDescriptor = null; + RemoteClusterDescriptorActions = null; + RemoteClusterDescriptorAction = configure; + return Self; + } + + public PutRoleRequestDescriptor RemoteCluster(params Action[] configure) + { + RemoteClusterValue = null; + RemoteClusterDescriptor = null; + RemoteClusterDescriptorAction = null; + RemoteClusterDescriptorActions = configure; + return Self; + } + /// /// /// A list of remote indices permissions entries. @@ -468,6 +529,37 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o JsonSerializer.Serialize(writer, MetadataValue, options); } + if (RemoteClusterDescriptor is not null) + { + writer.WritePropertyName("remote_cluster"); + writer.WriteStartArray(); + JsonSerializer.Serialize(writer, RemoteClusterDescriptor, options); + writer.WriteEndArray(); + } + else if (RemoteClusterDescriptorAction is not null) + { + writer.WritePropertyName("remote_cluster"); + writer.WriteStartArray(); + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.Security.RemoteClusterPrivilegesDescriptor(RemoteClusterDescriptorAction), options); + writer.WriteEndArray(); + } + else if (RemoteClusterDescriptorActions is not null) + { + writer.WritePropertyName("remote_cluster"); + writer.WriteStartArray(); + foreach (var action in RemoteClusterDescriptorActions) + { + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.Security.RemoteClusterPrivilegesDescriptor(action), options); + } + + writer.WriteEndArray(); + } + else if (RemoteClusterValue is not null) + { + writer.WritePropertyName("remote_cluster"); + JsonSerializer.Serialize(writer, RemoteClusterValue, options); + } + if (RemoteIndicesDescriptor is not null) { writer.WritePropertyName("remote_indices"); @@ -517,8 +609,12 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o /// /// -/// The role management APIs are generally the preferred way to manage roles, rather than using file-based role management. +/// Create or update roles. +/// +/// +/// The role management APIs are generally the preferred way to manage roles in the native realm, rather than using file-based role management. /// The create or update roles API cannot update roles that are defined in roles files. +/// File-based role management is not available in Elastic Serverless. /// /// public sealed partial class PutRoleRequestDescriptor : RequestDescriptor @@ -557,6 +653,10 @@ public PutRoleRequestDescriptor Name(Elastic.Clients.Elasticsearch.Name name) private Action IndicesDescriptorAction { get; set; } private Action[] IndicesDescriptorActions { get; set; } private IDictionary? MetadataValue { get; set; } + private ICollection? RemoteClusterValue { get; set; } + private Elastic.Clients.Elasticsearch.Security.RemoteClusterPrivilegesDescriptor RemoteClusterDescriptor { get; set; } + private Action RemoteClusterDescriptorAction { get; set; } + private Action[] RemoteClusterDescriptorActions { get; set; } private ICollection? RemoteIndicesValue { get; set; } private Elastic.Clients.Elasticsearch.Security.RemoteIndicesPrivilegesDescriptor RemoteIndicesDescriptor { get; set; } private Action RemoteIndicesDescriptorAction { get; set; } @@ -690,6 +790,47 @@ public PutRoleRequestDescriptor Metadata(Func, return Self; } + /// + /// + /// A list of remote cluster permissions entries. + /// + /// + public PutRoleRequestDescriptor RemoteCluster(ICollection? remoteCluster) + { + RemoteClusterDescriptor = null; + RemoteClusterDescriptorAction = null; + RemoteClusterDescriptorActions = null; + RemoteClusterValue = remoteCluster; + return Self; + } + + public PutRoleRequestDescriptor RemoteCluster(Elastic.Clients.Elasticsearch.Security.RemoteClusterPrivilegesDescriptor descriptor) + { + RemoteClusterValue = null; + RemoteClusterDescriptorAction = null; + RemoteClusterDescriptorActions = null; + RemoteClusterDescriptor = descriptor; + return Self; + } + + public PutRoleRequestDescriptor RemoteCluster(Action configure) + { + RemoteClusterValue = null; + RemoteClusterDescriptor = null; + RemoteClusterDescriptorActions = null; + RemoteClusterDescriptorAction = configure; + return Self; + } + + public PutRoleRequestDescriptor RemoteCluster(params Action[] configure) + { + RemoteClusterValue = null; + RemoteClusterDescriptor = null; + RemoteClusterDescriptorAction = null; + RemoteClusterDescriptorActions = configure; + return Self; + } + /// /// /// A list of remote indices permissions entries. @@ -842,6 +983,37 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o JsonSerializer.Serialize(writer, MetadataValue, options); } + if (RemoteClusterDescriptor is not null) + { + writer.WritePropertyName("remote_cluster"); + writer.WriteStartArray(); + JsonSerializer.Serialize(writer, RemoteClusterDescriptor, options); + writer.WriteEndArray(); + } + else if (RemoteClusterDescriptorAction is not null) + { + writer.WritePropertyName("remote_cluster"); + writer.WriteStartArray(); + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.Security.RemoteClusterPrivilegesDescriptor(RemoteClusterDescriptorAction), options); + writer.WriteEndArray(); + } + else if (RemoteClusterDescriptorActions is not null) + { + writer.WritePropertyName("remote_cluster"); + writer.WriteStartArray(); + foreach (var action in RemoteClusterDescriptorActions) + { + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.Security.RemoteClusterPrivilegesDescriptor(action), options); + } + + writer.WriteEndArray(); + } + else if (RemoteClusterValue is not null) + { + writer.WritePropertyName("remote_cluster"); + JsonSerializer.Serialize(writer, RemoteClusterValue, options); + } + if (RemoteIndicesDescriptor is not null) { writer.WritePropertyName("remote_indices"); diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/PutUserRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/PutUserRequest.g.cs index 9f9434d6e73..be4076b0394 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/PutUserRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/PutUserRequest.g.cs @@ -42,7 +42,11 @@ public sealed partial class PutUserRequestParameters : RequestParameters /// /// -/// Adds and updates users in the native realm. These users are commonly referred to as native users. +/// Create or update users. +/// +/// +/// A password is required for adding a new user but is optional when updating an existing user. +/// To change a user’s password without updating any other fields, use the change password API. /// /// public sealed partial class PutUserRequest : PlainRequest @@ -86,7 +90,11 @@ public PutUserRequest(Elastic.Clients.Elasticsearch.Username username) : base(r /// /// -/// Adds and updates users in the native realm. These users are commonly referred to as native users. +/// Create or update users. +/// +/// +/// A password is required for adding a new user but is optional when updating an existing user. +/// To change a user’s password without updating any other fields, use the change password API. /// /// public sealed partial class PutUserRequestDescriptor : RequestDescriptor diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/QueryApiKeysRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/QueryApiKeysRequest.g.cs index f58fc473b5c..fdd42b6136d 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/QueryApiKeysRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/QueryApiKeysRequest.g.cs @@ -153,8 +153,10 @@ public override void Write(Utf8JsonWriter writer, QueryApiKeysRequest value, Jso /// /// -/// Query API keys. -/// Retrieves a paginated list of API keys and their information. You can optionally filter the results with a query. +/// Find API keys with a query. +/// +/// +/// Get a paginated list of API keys and their information. You can optionally filter the results with a query. /// /// [JsonConverter(typeof(QueryApiKeysRequestConverter))] @@ -263,8 +265,10 @@ public QueryApiKeysRequest() /// /// -/// Query API keys. -/// Retrieves a paginated list of API keys and their information. You can optionally filter the results with a query. +/// Find API keys with a query. +/// +/// +/// Get a paginated list of API keys and their information. You can optionally filter the results with a query. /// /// public sealed partial class QueryApiKeysRequestDescriptor : RequestDescriptor, QueryApiKeysRequestParameters> @@ -505,8 +509,10 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o /// /// -/// Query API keys. -/// Retrieves a paginated list of API keys and their information. You can optionally filter the results with a query. +/// Find API keys with a query. +/// +/// +/// Get a paginated list of API keys and their information. You can optionally filter the results with a query. /// /// public sealed partial class QueryApiKeysRequestDescriptor : RequestDescriptor diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/QueryRoleRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/QueryRoleRequest.g.cs index 08bee4543e0..e55732256d7 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/QueryRoleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/QueryRoleRequest.g.cs @@ -36,7 +36,10 @@ public sealed partial class QueryRoleRequestParameters : RequestParameters /// /// -/// Retrieves roles in a paginated manner. You can optionally filter the results with a query. +/// Find roles with a query. +/// +/// +/// Get roles in a paginated manner. You can optionally filter the results with a query. /// /// public sealed partial class QueryRoleRequest : PlainRequest @@ -103,7 +106,10 @@ public sealed partial class QueryRoleRequest : PlainRequest /// -/// Retrieves roles in a paginated manner. You can optionally filter the results with a query. +/// Find roles with a query. +/// +/// +/// Get roles in a paginated manner. You can optionally filter the results with a query. /// /// public sealed partial class QueryRoleRequestDescriptor : RequestDescriptor, QueryRoleRequestParameters> @@ -318,7 +324,10 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o /// /// -/// Retrieves roles in a paginated manner. You can optionally filter the results with a query. +/// Find roles with a query. +/// +/// +/// Get roles in a paginated manner. You can optionally filter the results with a query. /// /// public sealed partial class QueryRoleRequestDescriptor : RequestDescriptor diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/QueryUserRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/QueryUserRequest.g.cs index e29f3618f4d..c5d98d22452 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/QueryUserRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/QueryUserRequest.g.cs @@ -42,7 +42,11 @@ public sealed partial class QueryUserRequestParameters : RequestParameters /// /// -/// Retrieves information for Users in a paginated manner. You can optionally filter the results with a query. +/// Find users with a query. +/// +/// +/// Get information for users in a paginated manner. +/// You can optionally filter the results with a query. /// /// public sealed partial class QueryUserRequest : PlainRequest @@ -116,7 +120,11 @@ public sealed partial class QueryUserRequest : PlainRequest /// -/// Retrieves information for Users in a paginated manner. You can optionally filter the results with a query. +/// Find users with a query. +/// +/// +/// Get information for users in a paginated manner. +/// You can optionally filter the results with a query. /// /// public sealed partial class QueryUserRequestDescriptor : RequestDescriptor, QueryUserRequestParameters> @@ -332,7 +340,11 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o /// /// -/// Retrieves information for Users in a paginated manner. You can optionally filter the results with a query. +/// Find users with a query. +/// +/// +/// Get information for users in a paginated manner. +/// You can optionally filter the results with a query. /// /// public sealed partial class QueryUserRequestDescriptor : RequestDescriptor diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/SamlAuthenticateRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/SamlAuthenticateRequest.g.cs index 5de9a26fc68..478b941c9d3 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/SamlAuthenticateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/SamlAuthenticateRequest.g.cs @@ -36,7 +36,10 @@ public sealed partial class SamlAuthenticateRequestParameters : RequestParameter /// /// -/// Submits a SAML Response message to Elasticsearch for consumption. +/// Authenticate SAML. +/// +/// +/// Submits a SAML response message to Elasticsearch for consumption. /// /// public sealed partial class SamlAuthenticateRequest : PlainRequest @@ -76,7 +79,10 @@ public sealed partial class SamlAuthenticateRequest : PlainRequest /// -/// Submits a SAML Response message to Elasticsearch for consumption. +/// Authenticate SAML. +/// +/// +/// Submits a SAML response message to Elasticsearch for consumption. /// /// public sealed partial class SamlAuthenticateRequestDescriptor : RequestDescriptor diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/SamlCompleteLogoutRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/SamlCompleteLogoutRequest.g.cs index 3fec565f907..9224bf81328 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/SamlCompleteLogoutRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/SamlCompleteLogoutRequest.g.cs @@ -36,6 +36,9 @@ public sealed partial class SamlCompleteLogoutRequestParameters : RequestParamet /// /// +/// Logout of SAML completely. +/// +/// /// Verifies the logout response sent from the SAML IdP. /// /// @@ -84,6 +87,9 @@ public sealed partial class SamlCompleteLogoutRequest : PlainRequest /// +/// Logout of SAML completely. +/// +/// /// Verifies the logout response sent from the SAML IdP. /// /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/SamlInvalidateRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/SamlInvalidateRequest.g.cs index c4f8d7f7257..987ee8fde44 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/SamlInvalidateRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/SamlInvalidateRequest.g.cs @@ -36,6 +36,9 @@ public sealed partial class SamlInvalidateRequestParameters : RequestParameters /// /// +/// Invalidate SAML. +/// +/// /// Submits a SAML LogoutRequest message to Elasticsearch for consumption. /// /// @@ -80,6 +83,9 @@ public sealed partial class SamlInvalidateRequest : PlainRequest /// +/// Invalidate SAML. +/// +/// /// Submits a SAML LogoutRequest message to Elasticsearch for consumption. /// /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/SamlLogoutRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/SamlLogoutRequest.g.cs index 319b2e2d920..ffa0b19985c 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/SamlLogoutRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/SamlLogoutRequest.g.cs @@ -36,6 +36,9 @@ public sealed partial class SamlLogoutRequestParameters : RequestParameters /// /// +/// Logout of SAML. +/// +/// /// Submits a request to invalidate an access token and refresh token. /// /// @@ -70,6 +73,9 @@ public sealed partial class SamlLogoutRequest : PlainRequest /// +/// Logout of SAML. +/// +/// /// Submits a request to invalidate an access token and refresh token. /// /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/SamlPrepareAuthenticationRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/SamlPrepareAuthenticationRequest.g.cs index c82dce9acf2..9afa7d595d4 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/SamlPrepareAuthenticationRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/SamlPrepareAuthenticationRequest.g.cs @@ -36,7 +36,10 @@ public sealed partial class SamlPrepareAuthenticationRequestParameters : Request /// /// -/// Creates a SAML authentication request (<AuthnRequest>) as a URL string, based on the configuration of the respective SAML realm in Elasticsearch. +/// Prepare SAML authentication. +/// +/// +/// Creates a SAML authentication request (<AuthnRequest>) as a URL string, based on the configuration of the respective SAML realm in Elasticsearch. /// /// public sealed partial class SamlPrepareAuthenticationRequest : PlainRequest @@ -79,7 +82,10 @@ public sealed partial class SamlPrepareAuthenticationRequest : PlainRequest /// -/// Creates a SAML authentication request (<AuthnRequest>) as a URL string, based on the configuration of the respective SAML realm in Elasticsearch. +/// Prepare SAML authentication. +/// +/// +/// Creates a SAML authentication request (<AuthnRequest>) as a URL string, based on the configuration of the respective SAML realm in Elasticsearch. /// /// public sealed partial class SamlPrepareAuthenticationRequestDescriptor : RequestDescriptor diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/SamlServiceProviderMetadataRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/SamlServiceProviderMetadataRequest.g.cs index 50a7c5682ea..009395c49bc 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/SamlServiceProviderMetadataRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/SamlServiceProviderMetadataRequest.g.cs @@ -36,6 +36,9 @@ public sealed partial class SamlServiceProviderMetadataRequestParameters : Reque /// /// +/// Create SAML service provider metadata. +/// +/// /// Generate SAML metadata for a SAML 2.0 Service Provider. /// /// @@ -56,6 +59,9 @@ public SamlServiceProviderMetadataRequest(Elastic.Clients.Elasticsearch.Name rea /// /// +/// Create SAML service provider metadata. +/// +/// /// Generate SAML metadata for a SAML 2.0 Service Provider. /// /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/SuggestUserProfilesRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/SuggestUserProfilesRequest.g.cs index 7e54558792e..c6596d47ecb 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/SuggestUserProfilesRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/SuggestUserProfilesRequest.g.cs @@ -36,6 +36,9 @@ public sealed partial class SuggestUserProfilesRequestParameters : RequestParame /// /// +/// Suggest a user profile. +/// +/// /// Get suggestions for user profiles that match specified search criteria. /// /// @@ -92,6 +95,9 @@ public sealed partial class SuggestUserProfilesRequest : PlainRequest /// +/// Suggest a user profile. +/// +/// /// Get suggestions for user profiles that match specified search criteria. /// /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/UpdateApiKeyRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/UpdateApiKeyRequest.g.cs index 488cea1b6d7..15a488a199c 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/UpdateApiKeyRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/UpdateApiKeyRequest.g.cs @@ -37,6 +37,8 @@ public sealed partial class UpdateApiKeyRequestParameters : RequestParameters /// /// /// Update an API key. +/// +/// /// Updates attributes of an existing API key. /// Users can only update API keys that they created or that were granted to them. /// Use this API to update API keys created by the create API Key or grant API Key APIs. @@ -94,6 +96,8 @@ public UpdateApiKeyRequest(Elastic.Clients.Elasticsearch.Id id) : base(r => r.Re /// /// /// Update an API key. +/// +/// /// Updates attributes of an existing API key. /// Users can only update API keys that they created or that were granted to them. /// Use this API to update API keys created by the create API Key or grant API Key APIs. @@ -196,6 +200,8 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o /// /// /// Update an API key. +/// +/// /// Updates attributes of an existing API key. /// Users can only update API keys that they created or that were granted to them. /// Use this API to update API keys created by the create API Key or grant API Key APIs. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/UpdateCrossClusterApiKeyRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/UpdateCrossClusterApiKeyRequest.g.cs new file mode 100644 index 00000000000..c93f01a473e --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/UpdateCrossClusterApiKeyRequest.g.cs @@ -0,0 +1,347 @@ +// 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 Elastic.Clients.Elasticsearch.Fluent; +using Elastic.Clients.Elasticsearch.Requests; +using Elastic.Clients.Elasticsearch.Serialization; +using Elastic.Transport; +using Elastic.Transport.Extensions; +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +namespace Elastic.Clients.Elasticsearch.Security; + +public sealed partial class UpdateCrossClusterApiKeyRequestParameters : RequestParameters +{ +} + +/// +/// +/// Update a cross-cluster API key. +/// +/// +/// Update the attributes of an existing cross-cluster API key, which is used for API key based remote cluster access. +/// +/// +public sealed partial class UpdateCrossClusterApiKeyRequest : PlainRequest +{ + public UpdateCrossClusterApiKeyRequest(Elastic.Clients.Elasticsearch.Id id) : base(r => r.Required("id", id)) + { + } + + internal override ApiUrls ApiUrls => ApiUrlLookup.SecurityUpdateCrossClusterApiKey; + + protected override HttpMethod StaticHttpMethod => HttpMethod.PUT; + + internal override bool SupportsBody => true; + + internal override string OperationName => "security.update_cross_cluster_api_key"; + + /// + /// + /// The access to be granted to this API key. + /// The access is composed of permissions for cross cluster search and cross cluster replication. + /// At least one of them must be specified. + /// When specified, the new access assignment fully replaces the previously assigned access. + /// + /// + [JsonInclude, JsonPropertyName("access")] + public Elastic.Clients.Elasticsearch.Security.Access Access { get; set; } + + /// + /// + /// Expiration time for the API key. + /// By default, API keys never expire. This property can be omitted to leave the value unchanged. + /// + /// + [JsonInclude, JsonPropertyName("expiration")] + public Elastic.Clients.Elasticsearch.Duration? Expiration { get; set; } + + /// + /// + /// Arbitrary metadata that you want to associate with the API key. + /// It supports nested data structure. + /// Within the metadata object, keys beginning with _ are reserved for system usage. + /// When specified, this information fully replaces metadata previously associated with the API key. + /// + /// + [JsonInclude, JsonPropertyName("metadata")] + public IDictionary? Metadata { get; set; } +} + +/// +/// +/// Update a cross-cluster API key. +/// +/// +/// Update the attributes of an existing cross-cluster API key, which is used for API key based remote cluster access. +/// +/// +public sealed partial class UpdateCrossClusterApiKeyRequestDescriptor : RequestDescriptor, UpdateCrossClusterApiKeyRequestParameters> +{ + internal UpdateCrossClusterApiKeyRequestDescriptor(Action> configure) => configure.Invoke(this); + + public UpdateCrossClusterApiKeyRequestDescriptor(Elastic.Clients.Elasticsearch.Id id) : base(r => r.Required("id", id)) + { + } + + internal override ApiUrls ApiUrls => ApiUrlLookup.SecurityUpdateCrossClusterApiKey; + + protected override HttpMethod StaticHttpMethod => HttpMethod.PUT; + + internal override bool SupportsBody => true; + + internal override string OperationName => "security.update_cross_cluster_api_key"; + + public UpdateCrossClusterApiKeyRequestDescriptor Id(Elastic.Clients.Elasticsearch.Id id) + { + RouteValues.Required("id", id); + return Self; + } + + private Elastic.Clients.Elasticsearch.Security.Access AccessValue { get; set; } + private Elastic.Clients.Elasticsearch.Security.AccessDescriptor AccessDescriptor { get; set; } + private Action> AccessDescriptorAction { get; set; } + private Elastic.Clients.Elasticsearch.Duration? ExpirationValue { get; set; } + private IDictionary? MetadataValue { get; set; } + + /// + /// + /// The access to be granted to this API key. + /// The access is composed of permissions for cross cluster search and cross cluster replication. + /// At least one of them must be specified. + /// When specified, the new access assignment fully replaces the previously assigned access. + /// + /// + public UpdateCrossClusterApiKeyRequestDescriptor Access(Elastic.Clients.Elasticsearch.Security.Access access) + { + AccessDescriptor = null; + AccessDescriptorAction = null; + AccessValue = access; + return Self; + } + + public UpdateCrossClusterApiKeyRequestDescriptor Access(Elastic.Clients.Elasticsearch.Security.AccessDescriptor descriptor) + { + AccessValue = null; + AccessDescriptorAction = null; + AccessDescriptor = descriptor; + return Self; + } + + public UpdateCrossClusterApiKeyRequestDescriptor Access(Action> configure) + { + AccessValue = null; + AccessDescriptor = null; + AccessDescriptorAction = configure; + return Self; + } + + /// + /// + /// Expiration time for the API key. + /// By default, API keys never expire. This property can be omitted to leave the value unchanged. + /// + /// + public UpdateCrossClusterApiKeyRequestDescriptor Expiration(Elastic.Clients.Elasticsearch.Duration? expiration) + { + ExpirationValue = expiration; + return Self; + } + + /// + /// + /// Arbitrary metadata that you want to associate with the API key. + /// It supports nested data structure. + /// Within the metadata object, keys beginning with _ are reserved for system usage. + /// When specified, this information fully replaces metadata previously associated with the API key. + /// + /// + public UpdateCrossClusterApiKeyRequestDescriptor Metadata(Func, FluentDictionary> selector) + { + MetadataValue = selector?.Invoke(new FluentDictionary()); + return Self; + } + + protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) + { + writer.WriteStartObject(); + if (AccessDescriptor is not null) + { + writer.WritePropertyName("access"); + JsonSerializer.Serialize(writer, AccessDescriptor, options); + } + else if (AccessDescriptorAction is not null) + { + writer.WritePropertyName("access"); + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.Security.AccessDescriptor(AccessDescriptorAction), options); + } + else + { + writer.WritePropertyName("access"); + JsonSerializer.Serialize(writer, AccessValue, options); + } + + if (ExpirationValue is not null) + { + writer.WritePropertyName("expiration"); + JsonSerializer.Serialize(writer, ExpirationValue, options); + } + + if (MetadataValue is not null) + { + writer.WritePropertyName("metadata"); + JsonSerializer.Serialize(writer, MetadataValue, options); + } + + writer.WriteEndObject(); + } +} + +/// +/// +/// Update a cross-cluster API key. +/// +/// +/// Update the attributes of an existing cross-cluster API key, which is used for API key based remote cluster access. +/// +/// +public sealed partial class UpdateCrossClusterApiKeyRequestDescriptor : RequestDescriptor +{ + internal UpdateCrossClusterApiKeyRequestDescriptor(Action configure) => configure.Invoke(this); + + public UpdateCrossClusterApiKeyRequestDescriptor(Elastic.Clients.Elasticsearch.Id id) : base(r => r.Required("id", id)) + { + } + + internal override ApiUrls ApiUrls => ApiUrlLookup.SecurityUpdateCrossClusterApiKey; + + protected override HttpMethod StaticHttpMethod => HttpMethod.PUT; + + internal override bool SupportsBody => true; + + internal override string OperationName => "security.update_cross_cluster_api_key"; + + public UpdateCrossClusterApiKeyRequestDescriptor Id(Elastic.Clients.Elasticsearch.Id id) + { + RouteValues.Required("id", id); + return Self; + } + + private Elastic.Clients.Elasticsearch.Security.Access AccessValue { get; set; } + private Elastic.Clients.Elasticsearch.Security.AccessDescriptor AccessDescriptor { get; set; } + private Action AccessDescriptorAction { get; set; } + private Elastic.Clients.Elasticsearch.Duration? ExpirationValue { get; set; } + private IDictionary? MetadataValue { get; set; } + + /// + /// + /// The access to be granted to this API key. + /// The access is composed of permissions for cross cluster search and cross cluster replication. + /// At least one of them must be specified. + /// When specified, the new access assignment fully replaces the previously assigned access. + /// + /// + public UpdateCrossClusterApiKeyRequestDescriptor Access(Elastic.Clients.Elasticsearch.Security.Access access) + { + AccessDescriptor = null; + AccessDescriptorAction = null; + AccessValue = access; + return Self; + } + + public UpdateCrossClusterApiKeyRequestDescriptor Access(Elastic.Clients.Elasticsearch.Security.AccessDescriptor descriptor) + { + AccessValue = null; + AccessDescriptorAction = null; + AccessDescriptor = descriptor; + return Self; + } + + public UpdateCrossClusterApiKeyRequestDescriptor Access(Action configure) + { + AccessValue = null; + AccessDescriptor = null; + AccessDescriptorAction = configure; + return Self; + } + + /// + /// + /// Expiration time for the API key. + /// By default, API keys never expire. This property can be omitted to leave the value unchanged. + /// + /// + public UpdateCrossClusterApiKeyRequestDescriptor Expiration(Elastic.Clients.Elasticsearch.Duration? expiration) + { + ExpirationValue = expiration; + return Self; + } + + /// + /// + /// Arbitrary metadata that you want to associate with the API key. + /// It supports nested data structure. + /// Within the metadata object, keys beginning with _ are reserved for system usage. + /// When specified, this information fully replaces metadata previously associated with the API key. + /// + /// + public UpdateCrossClusterApiKeyRequestDescriptor Metadata(Func, FluentDictionary> selector) + { + MetadataValue = selector?.Invoke(new FluentDictionary()); + return Self; + } + + protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) + { + writer.WriteStartObject(); + if (AccessDescriptor is not null) + { + writer.WritePropertyName("access"); + JsonSerializer.Serialize(writer, AccessDescriptor, options); + } + else if (AccessDescriptorAction is not null) + { + writer.WritePropertyName("access"); + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.Security.AccessDescriptor(AccessDescriptorAction), options); + } + else + { + writer.WritePropertyName("access"); + JsonSerializer.Serialize(writer, AccessValue, options); + } + + if (ExpirationValue is not null) + { + writer.WritePropertyName("expiration"); + JsonSerializer.Serialize(writer, ExpirationValue, options); + } + + if (MetadataValue is not null) + { + writer.WritePropertyName("metadata"); + JsonSerializer.Serialize(writer, MetadataValue, options); + } + + writer.WriteEndObject(); + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/UpdateCrossClusterApiKeyResponse.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/UpdateCrossClusterApiKeyResponse.g.cs new file mode 100644 index 00000000000..d884f62166e --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/UpdateCrossClusterApiKeyResponse.g.cs @@ -0,0 +1,39 @@ +// 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 Elastic.Clients.Elasticsearch.Fluent; +using Elastic.Clients.Elasticsearch.Serialization; +using Elastic.Transport.Products.Elasticsearch; +using System; +using System.Collections.Generic; +using System.Text.Json.Serialization; + +namespace Elastic.Clients.Elasticsearch.Security; + +public sealed partial class UpdateCrossClusterApiKeyResponse : ElasticsearchResponse +{ + /// + /// + /// If true, the API key was updated. + /// If false, the API key didn’t change because no change was detected. + /// + /// + [JsonInclude, JsonPropertyName("updated")] + public bool Updated { get; init; } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/UpdateUserProfileDataRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/UpdateUserProfileDataRequest.g.cs index 1427c4ba1bb..98048ccd890 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/UpdateUserProfileDataRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/UpdateUserProfileDataRequest.g.cs @@ -58,7 +58,10 @@ public sealed partial class UpdateUserProfileDataRequestParameters : RequestPara /// /// -/// Updates specific data for the user profile that's associated with the specified unique ID. +/// Update user profile data. +/// +/// +/// Update specific data for the user profile that is associated with a unique ID. /// /// public sealed partial class UpdateUserProfileDataRequest : PlainRequest @@ -122,7 +125,10 @@ public UpdateUserProfileDataRequest(string uid) : base(r => r.Required("uid", ui /// /// -/// Updates specific data for the user profile that's associated with the specified unique ID. +/// Update user profile data. +/// +/// +/// Update specific data for the user profile that is associated with a unique ID. /// /// public sealed partial class UpdateUserProfileDataRequestDescriptor : RequestDescriptor diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/RepositoryVerifyIntegrityRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/RepositoryVerifyIntegrityRequest.g.cs new file mode 100644 index 00000000000..cd7e8c26dd3 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/RepositoryVerifyIntegrityRequest.g.cs @@ -0,0 +1,215 @@ +// 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 Elastic.Clients.Elasticsearch.Fluent; +using Elastic.Clients.Elasticsearch.Requests; +using Elastic.Clients.Elasticsearch.Serialization; +using Elastic.Transport; +using Elastic.Transport.Extensions; +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +namespace Elastic.Clients.Elasticsearch.Snapshot; + +public sealed partial class RepositoryVerifyIntegrityRequestParameters : RequestParameters +{ + /// + /// + /// Number of threads to use for reading blob contents + /// + /// + public int? BlobThreadPoolConcurrency { get => Q("blob_thread_pool_concurrency"); set => Q("blob_thread_pool_concurrency", value); } + + /// + /// + /// Number of snapshots to verify concurrently within each index + /// + /// + public int? IndexSnapshotVerificationConcurrency { get => Q("index_snapshot_verification_concurrency"); set => Q("index_snapshot_verification_concurrency", value); } + + /// + /// + /// Number of indices to verify concurrently + /// + /// + public int? IndexVerificationConcurrency { get => Q("index_verification_concurrency"); set => Q("index_verification_concurrency", value); } + + /// + /// + /// Rate limit for individual blob verification + /// + /// + public string? MaxBytesPerSec { get => Q("max_bytes_per_sec"); set => Q("max_bytes_per_sec", value); } + + /// + /// + /// Maximum permitted number of failed shard snapshots + /// + /// + public int? MaxFailedShardSnapshots { get => Q("max_failed_shard_snapshots"); set => Q("max_failed_shard_snapshots", value); } + + /// + /// + /// Number of threads to use for reading metadata + /// + /// + public int? MetaThreadPoolConcurrency { get => Q("meta_thread_pool_concurrency"); set => Q("meta_thread_pool_concurrency", value); } + + /// + /// + /// Number of snapshots to verify concurrently + /// + /// + public int? SnapshotVerificationConcurrency { get => Q("snapshot_verification_concurrency"); set => Q("snapshot_verification_concurrency", value); } + + /// + /// + /// Whether to verify the contents of individual blobs + /// + /// + public bool? VerifyBlobContents { get => Q("verify_blob_contents"); set => Q("verify_blob_contents", value); } +} + +/// +/// +/// Verifies the integrity of the contents of a snapshot repository +/// +/// +public sealed partial class RepositoryVerifyIntegrityRequest : PlainRequest +{ + public RepositoryVerifyIntegrityRequest(Elastic.Clients.Elasticsearch.Names name) : base(r => r.Required("repository", name)) + { + } + + internal override ApiUrls ApiUrls => ApiUrlLookup.SnapshotRepositoryVerifyIntegrity; + + protected override HttpMethod StaticHttpMethod => HttpMethod.POST; + + internal override bool SupportsBody => false; + + internal override string OperationName => "snapshot.repository_verify_integrity"; + + /// + /// + /// Number of threads to use for reading blob contents + /// + /// + [JsonIgnore] + public int? BlobThreadPoolConcurrency { get => Q("blob_thread_pool_concurrency"); set => Q("blob_thread_pool_concurrency", value); } + + /// + /// + /// Number of snapshots to verify concurrently within each index + /// + /// + [JsonIgnore] + public int? IndexSnapshotVerificationConcurrency { get => Q("index_snapshot_verification_concurrency"); set => Q("index_snapshot_verification_concurrency", value); } + + /// + /// + /// Number of indices to verify concurrently + /// + /// + [JsonIgnore] + public int? IndexVerificationConcurrency { get => Q("index_verification_concurrency"); set => Q("index_verification_concurrency", value); } + + /// + /// + /// Rate limit for individual blob verification + /// + /// + [JsonIgnore] + public string? MaxBytesPerSec { get => Q("max_bytes_per_sec"); set => Q("max_bytes_per_sec", value); } + + /// + /// + /// Maximum permitted number of failed shard snapshots + /// + /// + [JsonIgnore] + public int? MaxFailedShardSnapshots { get => Q("max_failed_shard_snapshots"); set => Q("max_failed_shard_snapshots", value); } + + /// + /// + /// Number of threads to use for reading metadata + /// + /// + [JsonIgnore] + public int? MetaThreadPoolConcurrency { get => Q("meta_thread_pool_concurrency"); set => Q("meta_thread_pool_concurrency", value); } + + /// + /// + /// Number of snapshots to verify concurrently + /// + /// + [JsonIgnore] + public int? SnapshotVerificationConcurrency { get => Q("snapshot_verification_concurrency"); set => Q("snapshot_verification_concurrency", value); } + + /// + /// + /// Whether to verify the contents of individual blobs + /// + /// + [JsonIgnore] + public bool? VerifyBlobContents { get => Q("verify_blob_contents"); set => Q("verify_blob_contents", value); } +} + +/// +/// +/// Verifies the integrity of the contents of a snapshot repository +/// +/// +public sealed partial class RepositoryVerifyIntegrityRequestDescriptor : RequestDescriptor +{ + internal RepositoryVerifyIntegrityRequestDescriptor(Action configure) => configure.Invoke(this); + + public RepositoryVerifyIntegrityRequestDescriptor(Elastic.Clients.Elasticsearch.Names name) : base(r => r.Required("repository", name)) + { + } + + internal override ApiUrls ApiUrls => ApiUrlLookup.SnapshotRepositoryVerifyIntegrity; + + protected override HttpMethod StaticHttpMethod => HttpMethod.POST; + + internal override bool SupportsBody => false; + + internal override string OperationName => "snapshot.repository_verify_integrity"; + + public RepositoryVerifyIntegrityRequestDescriptor BlobThreadPoolConcurrency(int? blobThreadPoolConcurrency) => Qs("blob_thread_pool_concurrency", blobThreadPoolConcurrency); + public RepositoryVerifyIntegrityRequestDescriptor IndexSnapshotVerificationConcurrency(int? indexSnapshotVerificationConcurrency) => Qs("index_snapshot_verification_concurrency", indexSnapshotVerificationConcurrency); + public RepositoryVerifyIntegrityRequestDescriptor IndexVerificationConcurrency(int? indexVerificationConcurrency) => Qs("index_verification_concurrency", indexVerificationConcurrency); + public RepositoryVerifyIntegrityRequestDescriptor MaxBytesPerSec(string? maxBytesPerSec) => Qs("max_bytes_per_sec", maxBytesPerSec); + public RepositoryVerifyIntegrityRequestDescriptor MaxFailedShardSnapshots(int? maxFailedShardSnapshots) => Qs("max_failed_shard_snapshots", maxFailedShardSnapshots); + public RepositoryVerifyIntegrityRequestDescriptor MetaThreadPoolConcurrency(int? metaThreadPoolConcurrency) => Qs("meta_thread_pool_concurrency", metaThreadPoolConcurrency); + public RepositoryVerifyIntegrityRequestDescriptor SnapshotVerificationConcurrency(int? snapshotVerificationConcurrency) => Qs("snapshot_verification_concurrency", snapshotVerificationConcurrency); + public RepositoryVerifyIntegrityRequestDescriptor VerifyBlobContents(bool? verifyBlobContents = true) => Qs("verify_blob_contents", verifyBlobContents); + + public RepositoryVerifyIntegrityRequestDescriptor Name(Elastic.Clients.Elasticsearch.Names name) + { + RouteValues.Required("repository", name); + return Self; + } + + protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) + { + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/RepositoryVerifyIntegrityResponse.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/RepositoryVerifyIntegrityResponse.g.cs new file mode 100644 index 00000000000..15a2250ef7f --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/RepositoryVerifyIntegrityResponse.g.cs @@ -0,0 +1,31 @@ +// 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 Elastic.Clients.Elasticsearch.Fluent; +using Elastic.Clients.Elasticsearch.Serialization; +using Elastic.Transport.Products.Elasticsearch; +using System; +using System.Collections.Generic; +using System.Text.Json.Serialization; + +namespace Elastic.Clients.Elasticsearch.Snapshot; + +public sealed partial class RepositoryVerifyIntegrityResponse : ElasticsearchResponse +{ +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Tasks/ListRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Tasks/ListRequest.g.cs index 228be9745b7..4f382ea97d3 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Tasks/ListRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Tasks/ListRequest.g.cs @@ -65,7 +65,7 @@ public sealed partial class ListRequestParameters : RequestParameters /// Comma-separated list of node IDs or names used to limit returned information. /// /// - public ICollection? NodeId { get => Q?>("node_id"); set => Q("node_id", value); } + public Elastic.Clients.Elasticsearch.NodeIds? Nodes { get => Q("nodes"); set => Q("nodes", value); } /// /// @@ -142,7 +142,7 @@ public sealed partial class ListRequest : PlainRequest /// /// [JsonIgnore] - public ICollection? NodeId { get => Q?>("node_id"); set => Q("node_id", value); } + public Elastic.Clients.Elasticsearch.NodeIds? Nodes { get => Q("nodes"); set => Q("nodes", value); } /// /// @@ -194,7 +194,7 @@ public ListRequestDescriptor() public ListRequestDescriptor Detailed(bool? detailed = true) => Qs("detailed", detailed); public ListRequestDescriptor GroupBy(Elastic.Clients.Elasticsearch.Tasks.GroupBy? groupBy) => Qs("group_by", groupBy); public ListRequestDescriptor MasterTimeout(Elastic.Clients.Elasticsearch.Duration? masterTimeout) => Qs("master_timeout", masterTimeout); - public ListRequestDescriptor NodeId(ICollection? nodeId) => Qs("node_id", nodeId); + public ListRequestDescriptor Nodes(Elastic.Clients.Elasticsearch.NodeIds? nodes) => Qs("nodes", nodes); public ListRequestDescriptor ParentTaskId(Elastic.Clients.Elasticsearch.Id? parentTaskId) => Qs("parent_task_id", parentTaskId); public ListRequestDescriptor Timeout(Elastic.Clients.Elasticsearch.Duration? timeout) => Qs("timeout", timeout); public ListRequestDescriptor WaitForCompletion(bool? waitForCompletion = true) => Qs("wait_for_completion", waitForCompletion); diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/TermVectorsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/TermVectorsRequest.g.cs index 74cf80a255d..f9052ff3303 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/TermVectorsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/TermVectorsRequest.g.cs @@ -115,7 +115,9 @@ public sealed partial class TermVectorsRequestParameters : RequestParameters /// /// /// Get term vector information. -/// Returns information and statistics about terms in the fields of a particular document. +/// +/// +/// Get information and statistics about terms in the fields of a particular document. /// /// public sealed partial class TermVectorsRequest : PlainRequest @@ -255,7 +257,9 @@ public TermVectorsRequest(Elastic.Clients.Elasticsearch.IndexName index) : base( /// /// /// Get term vector information. -/// Returns information and statistics about terms in the fields of a particular document. +/// +/// +/// Get information and statistics about terms in the fields of a particular document. /// /// public sealed partial class TermVectorsRequestDescriptor : RequestDescriptor, TermVectorsRequestParameters> diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/TermsEnumRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/TermsEnumRequest.g.cs index 75a2b05b403..60b90b70370 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/TermsEnumRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/TermsEnumRequest.g.cs @@ -36,7 +36,18 @@ public sealed partial class TermsEnumRequestParameters : RequestParameters /// /// -/// The terms enum API can be used to discover terms in the index that begin with the provided string. It is designed for low-latency look-ups used in auto-complete scenarios. +/// Get terms in an index. +/// +/// +/// Discover terms that match a partial string in an index. +/// This "terms enum" API is designed for low-latency look-ups used in auto-complete scenarios. +/// +/// +/// If the complete property in the response is false, the returned terms set may be incomplete and should be treated as approximate. +/// This can occur due to a few reasons, such as a request timeout or a node error. +/// +/// +/// NOTE: The terms enum API may return terms from deleted documents. Deleted documents are initially only marked as deleted. It is not until their segments are merged that documents are actually deleted. Until that happens, the terms enum API will return terms from these documents. /// /// public sealed partial class TermsEnumRequest : PlainRequest @@ -106,7 +117,18 @@ public TermsEnumRequest(Elastic.Clients.Elasticsearch.IndexName index) : base(r /// /// -/// The terms enum API can be used to discover terms in the index that begin with the provided string. It is designed for low-latency look-ups used in auto-complete scenarios. +/// Get terms in an index. +/// +/// +/// Discover terms that match a partial string in an index. +/// This "terms enum" API is designed for low-latency look-ups used in auto-complete scenarios. +/// +/// +/// If the complete property in the response is false, the returned terms set may be incomplete and should be treated as approximate. +/// This can occur due to a few reasons, such as a request timeout or a node error. +/// +/// +/// NOTE: The terms enum API may return terms from deleted documents. Deleted documents are initially only marked as deleted. It is not until their segments are merged that documents are actually deleted. Until that happens, the terms enum API will return terms from these documents. /// /// public sealed partial class TermsEnumRequestDescriptor : RequestDescriptor, TermsEnumRequestParameters> @@ -314,7 +336,18 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o /// /// -/// The terms enum API can be used to discover terms in the index that begin with the provided string. It is designed for low-latency look-ups used in auto-complete scenarios. +/// Get terms in an index. +/// +/// +/// Discover terms that match a partial string in an index. +/// This "terms enum" API is designed for low-latency look-ups used in auto-complete scenarios. +/// +/// +/// If the complete property in the response is false, the returned terms set may be incomplete and should be treated as approximate. +/// This can occur due to a few reasons, such as a request timeout or a node error. +/// +/// +/// NOTE: The terms enum API may return terms from deleted documents. Deleted documents are initially only marked as deleted. It is not until their segments are merged that documents are actually deleted. Until that happens, the terms enum API will return terms from these documents. /// /// public sealed partial class TermsEnumRequestDescriptor : RequestDescriptor diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/UpdateByQueryRethrottleRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/UpdateByQueryRethrottleRequest.g.cs index 5a793d21b27..6ee3ca87ed4 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/UpdateByQueryRethrottleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/UpdateByQueryRethrottleRequest.g.cs @@ -42,7 +42,11 @@ public sealed partial class UpdateByQueryRethrottleRequestParameters : RequestPa /// /// -/// Changes the number of requests per second for a particular Update By Query operation. +/// Throttle an update by query operation. +/// +/// +/// Change the number of requests per second for a particular update by query operation. +/// Rethrottling that speeds up the query takes effect immediately but rethrotting that slows down the query takes effect after completing the current batch to prevent scroll timeouts. /// /// public sealed partial class UpdateByQueryRethrottleRequest : PlainRequest @@ -70,7 +74,11 @@ public UpdateByQueryRethrottleRequest(Elastic.Clients.Elasticsearch.Id taskId) : /// /// -/// Changes the number of requests per second for a particular Update By Query operation. +/// Throttle an update by query operation. +/// +/// +/// Change the number of requests per second for a particular update by query operation. +/// Rethrottling that speeds up the query takes effect immediately but rethrotting that slows down the query takes effect after completing the current batch to prevent scroll timeouts. /// /// public sealed partial class UpdateByQueryRethrottleRequestDescriptor : RequestDescriptor diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.AsyncSearch.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.AsyncSearch.g.cs index 0169e8ecc2f..c84b1f22823 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.AsyncSearch.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.AsyncSearch.g.cs @@ -41,12 +41,14 @@ internal AsyncSearchNamespacedClient(ElasticsearchClient client) : base(client) /// /// - /// Deletes an async search by identifier. - /// If the search is still running, the search request will be cancelled. + /// Delete an async search. + /// + /// + /// If the asynchronous search is still running, it is cancelled. /// Otherwise, the saved search results are deleted. /// If the Elasticsearch security features are enabled, the deletion of a specific async search is restricted to: the authenticated user that submitted the original search request; users that have the cancel_task cluster privilege. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual DeleteAsyncSearchResponse Delete(DeleteAsyncSearchRequest request) @@ -57,12 +59,14 @@ public virtual DeleteAsyncSearchResponse Delete(DeleteAsyncSearchRequest request /// /// - /// Deletes an async search by identifier. - /// If the search is still running, the search request will be cancelled. + /// Delete an async search. + /// + /// + /// If the asynchronous search is still running, it is cancelled. /// Otherwise, the saved search results are deleted. /// If the Elasticsearch security features are enabled, the deletion of a specific async search is restricted to: the authenticated user that submitted the original search request; users that have the cancel_task cluster privilege. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteAsync(DeleteAsyncSearchRequest request, CancellationToken cancellationToken = default) { @@ -72,12 +76,14 @@ public virtual Task DeleteAsync(DeleteAsyncSearchRequ /// /// - /// Deletes an async search by identifier. - /// If the search is still running, the search request will be cancelled. + /// Delete an async search. + /// + /// + /// If the asynchronous search is still running, it is cancelled. /// Otherwise, the saved search results are deleted. /// If the Elasticsearch security features are enabled, the deletion of a specific async search is restricted to: the authenticated user that submitted the original search request; users that have the cancel_task cluster privilege. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual DeleteAsyncSearchResponse Delete(DeleteAsyncSearchRequestDescriptor descriptor) @@ -88,12 +94,14 @@ public virtual DeleteAsyncSearchResponse Delete(DeleteAsyncSearchRequ /// /// - /// Deletes an async search by identifier. - /// If the search is still running, the search request will be cancelled. + /// Delete an async search. + /// + /// + /// If the asynchronous search is still running, it is cancelled. /// Otherwise, the saved search results are deleted. /// If the Elasticsearch security features are enabled, the deletion of a specific async search is restricted to: the authenticated user that submitted the original search request; users that have the cancel_task cluster privilege. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual DeleteAsyncSearchResponse Delete(Elastic.Clients.Elasticsearch.Id id) @@ -105,12 +113,14 @@ public virtual DeleteAsyncSearchResponse Delete(Elastic.Clients.Elast /// /// - /// Deletes an async search by identifier. - /// If the search is still running, the search request will be cancelled. + /// Delete an async search. + /// + /// + /// If the asynchronous search is still running, it is cancelled. /// Otherwise, the saved search results are deleted. /// If the Elasticsearch security features are enabled, the deletion of a specific async search is restricted to: the authenticated user that submitted the original search request; users that have the cancel_task cluster privilege. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual DeleteAsyncSearchResponse Delete(Elastic.Clients.Elasticsearch.Id id, Action> configureRequest) @@ -123,12 +133,14 @@ public virtual DeleteAsyncSearchResponse Delete(Elastic.Clients.Elast /// /// - /// Deletes an async search by identifier. - /// If the search is still running, the search request will be cancelled. + /// Delete an async search. + /// + /// + /// If the asynchronous search is still running, it is cancelled. /// Otherwise, the saved search results are deleted. /// If the Elasticsearch security features are enabled, the deletion of a specific async search is restricted to: the authenticated user that submitted the original search request; users that have the cancel_task cluster privilege. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual DeleteAsyncSearchResponse Delete(DeleteAsyncSearchRequestDescriptor descriptor) @@ -139,12 +151,14 @@ public virtual DeleteAsyncSearchResponse Delete(DeleteAsyncSearchRequestDescript /// /// - /// Deletes an async search by identifier. - /// If the search is still running, the search request will be cancelled. + /// Delete an async search. + /// + /// + /// If the asynchronous search is still running, it is cancelled. /// Otherwise, the saved search results are deleted. /// If the Elasticsearch security features are enabled, the deletion of a specific async search is restricted to: the authenticated user that submitted the original search request; users that have the cancel_task cluster privilege. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual DeleteAsyncSearchResponse Delete(Elastic.Clients.Elasticsearch.Id id) @@ -156,12 +170,14 @@ public virtual DeleteAsyncSearchResponse Delete(Elastic.Clients.Elasticsearch.Id /// /// - /// Deletes an async search by identifier. - /// If the search is still running, the search request will be cancelled. + /// Delete an async search. + /// + /// + /// If the asynchronous search is still running, it is cancelled. /// Otherwise, the saved search results are deleted. /// If the Elasticsearch security features are enabled, the deletion of a specific async search is restricted to: the authenticated user that submitted the original search request; users that have the cancel_task cluster privilege. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual DeleteAsyncSearchResponse Delete(Elastic.Clients.Elasticsearch.Id id, Action configureRequest) @@ -174,12 +190,14 @@ public virtual DeleteAsyncSearchResponse Delete(Elastic.Clients.Elasticsearch.Id /// /// - /// Deletes an async search by identifier. - /// If the search is still running, the search request will be cancelled. + /// Delete an async search. + /// + /// + /// If the asynchronous search is still running, it is cancelled. /// Otherwise, the saved search results are deleted. /// If the Elasticsearch security features are enabled, the deletion of a specific async search is restricted to: the authenticated user that submitted the original search request; users that have the cancel_task cluster privilege. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteAsync(DeleteAsyncSearchRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -189,12 +207,14 @@ public virtual Task DeleteAsync(DeleteAsyn /// /// - /// Deletes an async search by identifier. - /// If the search is still running, the search request will be cancelled. + /// Delete an async search. + /// + /// + /// If the asynchronous search is still running, it is cancelled. /// Otherwise, the saved search results are deleted. /// If the Elasticsearch security features are enabled, the deletion of a specific async search is restricted to: the authenticated user that submitted the original search request; users that have the cancel_task cluster privilege. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteAsync(Elastic.Clients.Elasticsearch.Id id, CancellationToken cancellationToken = default) { @@ -205,12 +225,14 @@ public virtual Task DeleteAsync(Elastic.Cl /// /// - /// Deletes an async search by identifier. - /// If the search is still running, the search request will be cancelled. + /// Delete an async search. + /// + /// + /// If the asynchronous search is still running, it is cancelled. /// Otherwise, the saved search results are deleted. /// If the Elasticsearch security features are enabled, the deletion of a specific async search is restricted to: the authenticated user that submitted the original search request; users that have the cancel_task cluster privilege. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteAsync(Elastic.Clients.Elasticsearch.Id id, Action> configureRequest, CancellationToken cancellationToken = default) { @@ -222,12 +244,14 @@ public virtual Task DeleteAsync(Elastic.Cl /// /// - /// Deletes an async search by identifier. - /// If the search is still running, the search request will be cancelled. + /// Delete an async search. + /// + /// + /// If the asynchronous search is still running, it is cancelled. /// Otherwise, the saved search results are deleted. /// If the Elasticsearch security features are enabled, the deletion of a specific async search is restricted to: the authenticated user that submitted the original search request; users that have the cancel_task cluster privilege. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteAsync(DeleteAsyncSearchRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -237,12 +261,14 @@ public virtual Task DeleteAsync(DeleteAsyncSearchRequ /// /// - /// Deletes an async search by identifier. - /// If the search is still running, the search request will be cancelled. + /// Delete an async search. + /// + /// + /// If the asynchronous search is still running, it is cancelled. /// Otherwise, the saved search results are deleted. /// If the Elasticsearch security features are enabled, the deletion of a specific async search is restricted to: the authenticated user that submitted the original search request; users that have the cancel_task cluster privilege. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteAsync(Elastic.Clients.Elasticsearch.Id id, CancellationToken cancellationToken = default) { @@ -253,12 +279,14 @@ public virtual Task DeleteAsync(Elastic.Clients.Elast /// /// - /// Deletes an async search by identifier. - /// If the search is still running, the search request will be cancelled. + /// Delete an async search. + /// + /// + /// If the asynchronous search is still running, it is cancelled. /// Otherwise, the saved search results are deleted. /// If the Elasticsearch security features are enabled, the deletion of a specific async search is restricted to: the authenticated user that submitted the original search request; users that have the cancel_task cluster privilege. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteAsync(Elastic.Clients.Elasticsearch.Id id, Action configureRequest, CancellationToken cancellationToken = default) { @@ -270,10 +298,13 @@ public virtual Task DeleteAsync(Elastic.Clients.Elast /// /// - /// Retrieves the results of a previously submitted async search request given its identifier. + /// Get async search results. + /// + /// + /// Retrieve the results of a previously submitted asynchronous search request. /// If the Elasticsearch security features are enabled, access to the results of a specific async search is restricted to the user or API key that submitted it. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual GetAsyncSearchResponse Get(GetAsyncSearchRequest request) @@ -284,10 +315,13 @@ public virtual GetAsyncSearchResponse Get(GetAsyncSearchRe /// /// - /// Retrieves the results of a previously submitted async search request given its identifier. + /// Get async search results. + /// + /// + /// Retrieve the results of a previously submitted asynchronous search request. /// If the Elasticsearch security features are enabled, access to the results of a specific async search is restricted to the user or API key that submitted it. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task> GetAsync(GetAsyncSearchRequest request, CancellationToken cancellationToken = default) { @@ -297,10 +331,13 @@ public virtual Task> GetAsync(GetAs /// /// - /// Retrieves the results of a previously submitted async search request given its identifier. + /// Get async search results. + /// + /// + /// Retrieve the results of a previously submitted asynchronous search request. /// If the Elasticsearch security features are enabled, access to the results of a specific async search is restricted to the user or API key that submitted it. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual GetAsyncSearchResponse Get(GetAsyncSearchRequestDescriptor descriptor) @@ -311,10 +348,13 @@ public virtual GetAsyncSearchResponse Get(GetAsyncSearchRe /// /// - /// Retrieves the results of a previously submitted async search request given its identifier. + /// Get async search results. + /// + /// + /// Retrieve the results of a previously submitted asynchronous search request. /// If the Elasticsearch security features are enabled, access to the results of a specific async search is restricted to the user or API key that submitted it. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual GetAsyncSearchResponse Get(Elastic.Clients.Elasticsearch.Id id) @@ -326,10 +366,13 @@ public virtual GetAsyncSearchResponse Get(Elastic.Clients. /// /// - /// Retrieves the results of a previously submitted async search request given its identifier. + /// Get async search results. + /// + /// + /// Retrieve the results of a previously submitted asynchronous search request. /// If the Elasticsearch security features are enabled, access to the results of a specific async search is restricted to the user or API key that submitted it. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual GetAsyncSearchResponse Get(Elastic.Clients.Elasticsearch.Id id, Action> configureRequest) @@ -342,10 +385,13 @@ public virtual GetAsyncSearchResponse Get(Elastic.Clients. /// /// - /// Retrieves the results of a previously submitted async search request given its identifier. + /// Get async search results. + /// + /// + /// Retrieve the results of a previously submitted asynchronous search request. /// If the Elasticsearch security features are enabled, access to the results of a specific async search is restricted to the user or API key that submitted it. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task> GetAsync(GetAsyncSearchRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -355,10 +401,13 @@ public virtual Task> GetAsync(GetAs /// /// - /// Retrieves the results of a previously submitted async search request given its identifier. + /// Get async search results. + /// + /// + /// Retrieve the results of a previously submitted asynchronous search request. /// If the Elasticsearch security features are enabled, access to the results of a specific async search is restricted to the user or API key that submitted it. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task> GetAsync(Elastic.Clients.Elasticsearch.Id id, CancellationToken cancellationToken = default) { @@ -369,10 +418,13 @@ public virtual Task> GetAsync(Elast /// /// - /// Retrieves the results of a previously submitted async search request given its identifier. + /// Get async search results. + /// + /// + /// Retrieve the results of a previously submitted asynchronous search request. /// If the Elasticsearch security features are enabled, access to the results of a specific async search is restricted to the user or API key that submitted it. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task> GetAsync(Elastic.Clients.Elasticsearch.Id id, Action> configureRequest, CancellationToken cancellationToken = default) { @@ -384,11 +436,13 @@ public virtual Task> GetAsync(Elast /// /// - /// Get async search status - /// Retrieves the status of a previously submitted async search request given its identifier, without retrieving search results. + /// Get the async search status. + /// + /// + /// Get the status of a previously submitted async search request given its identifier, without retrieving search results. /// If the Elasticsearch security features are enabled, use of this API is restricted to the monitoring_user role. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual AsyncSearchStatusResponse Status(AsyncSearchStatusRequest request) @@ -399,11 +453,13 @@ public virtual AsyncSearchStatusResponse Status(AsyncSearchStatusRequest request /// /// - /// Get async search status - /// Retrieves the status of a previously submitted async search request given its identifier, without retrieving search results. + /// Get the async search status. + /// + /// + /// Get the status of a previously submitted async search request given its identifier, without retrieving search results. /// If the Elasticsearch security features are enabled, use of this API is restricted to the monitoring_user role. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task StatusAsync(AsyncSearchStatusRequest request, CancellationToken cancellationToken = default) { @@ -413,11 +469,13 @@ public virtual Task StatusAsync(AsyncSearchStatusRequ /// /// - /// Get async search status - /// Retrieves the status of a previously submitted async search request given its identifier, without retrieving search results. + /// Get the async search status. + /// + /// + /// Get the status of a previously submitted async search request given its identifier, without retrieving search results. /// If the Elasticsearch security features are enabled, use of this API is restricted to the monitoring_user role. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual AsyncSearchStatusResponse Status(AsyncSearchStatusRequestDescriptor descriptor) @@ -428,11 +486,13 @@ public virtual AsyncSearchStatusResponse Status(AsyncSearchStatusRequ /// /// - /// Get async search status - /// Retrieves the status of a previously submitted async search request given its identifier, without retrieving search results. + /// Get the async search status. + /// + /// + /// Get the status of a previously submitted async search request given its identifier, without retrieving search results. /// If the Elasticsearch security features are enabled, use of this API is restricted to the monitoring_user role. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual AsyncSearchStatusResponse Status(Elastic.Clients.Elasticsearch.Id id) @@ -444,11 +504,13 @@ public virtual AsyncSearchStatusResponse Status(Elastic.Clients.Elast /// /// - /// Get async search status - /// Retrieves the status of a previously submitted async search request given its identifier, without retrieving search results. + /// Get the async search status. + /// + /// + /// Get the status of a previously submitted async search request given its identifier, without retrieving search results. /// If the Elasticsearch security features are enabled, use of this API is restricted to the monitoring_user role. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual AsyncSearchStatusResponse Status(Elastic.Clients.Elasticsearch.Id id, Action> configureRequest) @@ -461,11 +523,13 @@ public virtual AsyncSearchStatusResponse Status(Elastic.Clients.Elast /// /// - /// Get async search status - /// Retrieves the status of a previously submitted async search request given its identifier, without retrieving search results. + /// Get the async search status. + /// + /// + /// Get the status of a previously submitted async search request given its identifier, without retrieving search results. /// If the Elasticsearch security features are enabled, use of this API is restricted to the monitoring_user role. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual AsyncSearchStatusResponse Status(AsyncSearchStatusRequestDescriptor descriptor) @@ -476,11 +540,13 @@ public virtual AsyncSearchStatusResponse Status(AsyncSearchStatusRequestDescript /// /// - /// Get async search status - /// Retrieves the status of a previously submitted async search request given its identifier, without retrieving search results. + /// Get the async search status. + /// + /// + /// Get the status of a previously submitted async search request given its identifier, without retrieving search results. /// If the Elasticsearch security features are enabled, use of this API is restricted to the monitoring_user role. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual AsyncSearchStatusResponse Status(Elastic.Clients.Elasticsearch.Id id) @@ -492,11 +558,13 @@ public virtual AsyncSearchStatusResponse Status(Elastic.Clients.Elasticsearch.Id /// /// - /// Get async search status - /// Retrieves the status of a previously submitted async search request given its identifier, without retrieving search results. + /// Get the async search status. + /// + /// + /// Get the status of a previously submitted async search request given its identifier, without retrieving search results. /// If the Elasticsearch security features are enabled, use of this API is restricted to the monitoring_user role. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual AsyncSearchStatusResponse Status(Elastic.Clients.Elasticsearch.Id id, Action configureRequest) @@ -509,11 +577,13 @@ public virtual AsyncSearchStatusResponse Status(Elastic.Clients.Elasticsearch.Id /// /// - /// Get async search status - /// Retrieves the status of a previously submitted async search request given its identifier, without retrieving search results. + /// Get the async search status. + /// + /// + /// Get the status of a previously submitted async search request given its identifier, without retrieving search results. /// If the Elasticsearch security features are enabled, use of this API is restricted to the monitoring_user role. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task StatusAsync(AsyncSearchStatusRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -523,11 +593,13 @@ public virtual Task StatusAsync(AsyncSearc /// /// - /// Get async search status - /// Retrieves the status of a previously submitted async search request given its identifier, without retrieving search results. + /// Get the async search status. + /// + /// + /// Get the status of a previously submitted async search request given its identifier, without retrieving search results. /// If the Elasticsearch security features are enabled, use of this API is restricted to the monitoring_user role. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task StatusAsync(Elastic.Clients.Elasticsearch.Id id, CancellationToken cancellationToken = default) { @@ -538,11 +610,13 @@ public virtual Task StatusAsync(Elastic.Cl /// /// - /// Get async search status - /// Retrieves the status of a previously submitted async search request given its identifier, without retrieving search results. + /// Get the async search status. + /// + /// + /// Get the status of a previously submitted async search request given its identifier, without retrieving search results. /// If the Elasticsearch security features are enabled, use of this API is restricted to the monitoring_user role. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task StatusAsync(Elastic.Clients.Elasticsearch.Id id, Action> configureRequest, CancellationToken cancellationToken = default) { @@ -554,11 +628,13 @@ public virtual Task StatusAsync(Elastic.Cl /// /// - /// Get async search status - /// Retrieves the status of a previously submitted async search request given its identifier, without retrieving search results. + /// Get the async search status. + /// + /// + /// Get the status of a previously submitted async search request given its identifier, without retrieving search results. /// If the Elasticsearch security features are enabled, use of this API is restricted to the monitoring_user role. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task StatusAsync(AsyncSearchStatusRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -568,11 +644,13 @@ public virtual Task StatusAsync(AsyncSearchStatusRequ /// /// - /// Get async search status - /// Retrieves the status of a previously submitted async search request given its identifier, without retrieving search results. + /// Get the async search status. + /// + /// + /// Get the status of a previously submitted async search request given its identifier, without retrieving search results. /// If the Elasticsearch security features are enabled, use of this API is restricted to the monitoring_user role. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task StatusAsync(Elastic.Clients.Elasticsearch.Id id, CancellationToken cancellationToken = default) { @@ -583,11 +661,13 @@ public virtual Task StatusAsync(Elastic.Clients.Elast /// /// - /// Get async search status - /// Retrieves the status of a previously submitted async search request given its identifier, without retrieving search results. + /// Get the async search status. + /// + /// + /// Get the status of a previously submitted async search request given its identifier, without retrieving search results. /// If the Elasticsearch security features are enabled, use of this API is restricted to the monitoring_user role. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task StatusAsync(Elastic.Clients.Elasticsearch.Id id, Action configureRequest, CancellationToken cancellationToken = default) { @@ -599,13 +679,19 @@ public virtual Task StatusAsync(Elastic.Clients.Elast /// /// - /// Runs a search request asynchronously. - /// When the primary sort of the results is an indexed field, shards get sorted based on minimum and maximum value that they hold for that field, hence partial results become available following the sort criteria that was requested. - /// Warning: Async search does not support scroll nor search requests that only include the suggest section. - /// By default, Elasticsearch doesn’t allow you to store an async search response larger than 10Mb and an attempt to do this results in an error. + /// Run an async search. + /// + /// + /// When the primary sort of the results is an indexed field, shards get sorted based on minimum and maximum value that they hold for that field. Partial results become available following the sort criteria that was requested. + /// + /// + /// Warning: Asynchronous search does not support scroll or search requests that include only the suggest section. + /// + /// + /// By default, Elasticsearch does not allow you to store an async search response larger than 10Mb and an attempt to do this results in an error. /// The maximum allowed size for a stored async search response can be set by changing the search.max_async_search_response_size cluster level setting. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual SubmitAsyncSearchResponse Submit(SubmitAsyncSearchRequest request) @@ -616,13 +702,19 @@ public virtual SubmitAsyncSearchResponse Submit(SubmitAsyn /// /// - /// Runs a search request asynchronously. - /// When the primary sort of the results is an indexed field, shards get sorted based on minimum and maximum value that they hold for that field, hence partial results become available following the sort criteria that was requested. - /// Warning: Async search does not support scroll nor search requests that only include the suggest section. - /// By default, Elasticsearch doesn’t allow you to store an async search response larger than 10Mb and an attempt to do this results in an error. + /// Run an async search. + /// + /// + /// When the primary sort of the results is an indexed field, shards get sorted based on minimum and maximum value that they hold for that field. Partial results become available following the sort criteria that was requested. + /// + /// + /// Warning: Asynchronous search does not support scroll or search requests that include only the suggest section. + /// + /// + /// By default, Elasticsearch does not allow you to store an async search response larger than 10Mb and an attempt to do this results in an error. /// The maximum allowed size for a stored async search response can be set by changing the search.max_async_search_response_size cluster level setting. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task> SubmitAsync(SubmitAsyncSearchRequest request, CancellationToken cancellationToken = default) { @@ -632,13 +724,19 @@ public virtual Task> SubmitAsync /// /// - /// Runs a search request asynchronously. - /// When the primary sort of the results is an indexed field, shards get sorted based on minimum and maximum value that they hold for that field, hence partial results become available following the sort criteria that was requested. - /// Warning: Async search does not support scroll nor search requests that only include the suggest section. - /// By default, Elasticsearch doesn’t allow you to store an async search response larger than 10Mb and an attempt to do this results in an error. + /// Run an async search. + /// + /// + /// When the primary sort of the results is an indexed field, shards get sorted based on minimum and maximum value that they hold for that field. Partial results become available following the sort criteria that was requested. + /// + /// + /// Warning: Asynchronous search does not support scroll or search requests that include only the suggest section. + /// + /// + /// By default, Elasticsearch does not allow you to store an async search response larger than 10Mb and an attempt to do this results in an error. /// The maximum allowed size for a stored async search response can be set by changing the search.max_async_search_response_size cluster level setting. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual SubmitAsyncSearchResponse Submit(SubmitAsyncSearchRequestDescriptor descriptor) @@ -649,13 +747,19 @@ public virtual SubmitAsyncSearchResponse Submit(SubmitAsyn /// /// - /// Runs a search request asynchronously. - /// When the primary sort of the results is an indexed field, shards get sorted based on minimum and maximum value that they hold for that field, hence partial results become available following the sort criteria that was requested. - /// Warning: Async search does not support scroll nor search requests that only include the suggest section. - /// By default, Elasticsearch doesn’t allow you to store an async search response larger than 10Mb and an attempt to do this results in an error. + /// Run an async search. + /// + /// + /// When the primary sort of the results is an indexed field, shards get sorted based on minimum and maximum value that they hold for that field. Partial results become available following the sort criteria that was requested. + /// + /// + /// Warning: Asynchronous search does not support scroll or search requests that include only the suggest section. + /// + /// + /// By default, Elasticsearch does not allow you to store an async search response larger than 10Mb and an attempt to do this results in an error. /// The maximum allowed size for a stored async search response can be set by changing the search.max_async_search_response_size cluster level setting. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual SubmitAsyncSearchResponse Submit(Elastic.Clients.Elasticsearch.Indices? indices) @@ -667,13 +771,19 @@ public virtual SubmitAsyncSearchResponse Submit(Elastic.Cl /// /// - /// Runs a search request asynchronously. - /// When the primary sort of the results is an indexed field, shards get sorted based on minimum and maximum value that they hold for that field, hence partial results become available following the sort criteria that was requested. - /// Warning: Async search does not support scroll nor search requests that only include the suggest section. - /// By default, Elasticsearch doesn’t allow you to store an async search response larger than 10Mb and an attempt to do this results in an error. + /// Run an async search. + /// + /// + /// When the primary sort of the results is an indexed field, shards get sorted based on minimum and maximum value that they hold for that field. Partial results become available following the sort criteria that was requested. + /// + /// + /// Warning: Asynchronous search does not support scroll or search requests that include only the suggest section. + /// + /// + /// By default, Elasticsearch does not allow you to store an async search response larger than 10Mb and an attempt to do this results in an error. /// The maximum allowed size for a stored async search response can be set by changing the search.max_async_search_response_size cluster level setting. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual SubmitAsyncSearchResponse Submit(Elastic.Clients.Elasticsearch.Indices? indices, Action> configureRequest) @@ -686,13 +796,19 @@ public virtual SubmitAsyncSearchResponse Submit(Elastic.Cl /// /// - /// Runs a search request asynchronously. - /// When the primary sort of the results is an indexed field, shards get sorted based on minimum and maximum value that they hold for that field, hence partial results become available following the sort criteria that was requested. - /// Warning: Async search does not support scroll nor search requests that only include the suggest section. - /// By default, Elasticsearch doesn’t allow you to store an async search response larger than 10Mb and an attempt to do this results in an error. + /// Run an async search. + /// + /// + /// When the primary sort of the results is an indexed field, shards get sorted based on minimum and maximum value that they hold for that field. Partial results become available following the sort criteria that was requested. + /// + /// + /// Warning: Asynchronous search does not support scroll or search requests that include only the suggest section. + /// + /// + /// By default, Elasticsearch does not allow you to store an async search response larger than 10Mb and an attempt to do this results in an error. /// The maximum allowed size for a stored async search response can be set by changing the search.max_async_search_response_size cluster level setting. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual SubmitAsyncSearchResponse Submit() @@ -704,13 +820,19 @@ public virtual SubmitAsyncSearchResponse Submit() /// /// - /// Runs a search request asynchronously. - /// When the primary sort of the results is an indexed field, shards get sorted based on minimum and maximum value that they hold for that field, hence partial results become available following the sort criteria that was requested. - /// Warning: Async search does not support scroll nor search requests that only include the suggest section. - /// By default, Elasticsearch doesn’t allow you to store an async search response larger than 10Mb and an attempt to do this results in an error. + /// Run an async search. + /// + /// + /// When the primary sort of the results is an indexed field, shards get sorted based on minimum and maximum value that they hold for that field. Partial results become available following the sort criteria that was requested. + /// + /// + /// Warning: Asynchronous search does not support scroll or search requests that include only the suggest section. + /// + /// + /// By default, Elasticsearch does not allow you to store an async search response larger than 10Mb and an attempt to do this results in an error. /// The maximum allowed size for a stored async search response can be set by changing the search.max_async_search_response_size cluster level setting. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual SubmitAsyncSearchResponse Submit(Action> configureRequest) @@ -723,13 +845,19 @@ public virtual SubmitAsyncSearchResponse Submit(Action /// - /// Runs a search request asynchronously. - /// When the primary sort of the results is an indexed field, shards get sorted based on minimum and maximum value that they hold for that field, hence partial results become available following the sort criteria that was requested. - /// Warning: Async search does not support scroll nor search requests that only include the suggest section. - /// By default, Elasticsearch doesn’t allow you to store an async search response larger than 10Mb and an attempt to do this results in an error. + /// Run an async search. + /// + /// + /// When the primary sort of the results is an indexed field, shards get sorted based on minimum and maximum value that they hold for that field. Partial results become available following the sort criteria that was requested. + /// + /// + /// Warning: Asynchronous search does not support scroll or search requests that include only the suggest section. + /// + /// + /// By default, Elasticsearch does not allow you to store an async search response larger than 10Mb and an attempt to do this results in an error. /// The maximum allowed size for a stored async search response can be set by changing the search.max_async_search_response_size cluster level setting. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task> SubmitAsync(SubmitAsyncSearchRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -739,13 +867,19 @@ public virtual Task> SubmitAsync /// /// - /// Runs a search request asynchronously. - /// When the primary sort of the results is an indexed field, shards get sorted based on minimum and maximum value that they hold for that field, hence partial results become available following the sort criteria that was requested. - /// Warning: Async search does not support scroll nor search requests that only include the suggest section. - /// By default, Elasticsearch doesn’t allow you to store an async search response larger than 10Mb and an attempt to do this results in an error. + /// Run an async search. + /// + /// + /// When the primary sort of the results is an indexed field, shards get sorted based on minimum and maximum value that they hold for that field. Partial results become available following the sort criteria that was requested. + /// + /// + /// Warning: Asynchronous search does not support scroll or search requests that include only the suggest section. + /// + /// + /// By default, Elasticsearch does not allow you to store an async search response larger than 10Mb and an attempt to do this results in an error. /// The maximum allowed size for a stored async search response can be set by changing the search.max_async_search_response_size cluster level setting. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task> SubmitAsync(Elastic.Clients.Elasticsearch.Indices? indices, CancellationToken cancellationToken = default) { @@ -756,13 +890,19 @@ public virtual Task> SubmitAsync /// /// - /// Runs a search request asynchronously. - /// When the primary sort of the results is an indexed field, shards get sorted based on minimum and maximum value that they hold for that field, hence partial results become available following the sort criteria that was requested. - /// Warning: Async search does not support scroll nor search requests that only include the suggest section. - /// By default, Elasticsearch doesn’t allow you to store an async search response larger than 10Mb and an attempt to do this results in an error. + /// Run an async search. + /// + /// + /// When the primary sort of the results is an indexed field, shards get sorted based on minimum and maximum value that they hold for that field. Partial results become available following the sort criteria that was requested. + /// + /// + /// Warning: Asynchronous search does not support scroll or search requests that include only the suggest section. + /// + /// + /// By default, Elasticsearch does not allow you to store an async search response larger than 10Mb and an attempt to do this results in an error. /// The maximum allowed size for a stored async search response can be set by changing the search.max_async_search_response_size cluster level setting. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task> SubmitAsync(Elastic.Clients.Elasticsearch.Indices? indices, Action> configureRequest, CancellationToken cancellationToken = default) { @@ -774,13 +914,19 @@ public virtual Task> SubmitAsync /// /// - /// Runs a search request asynchronously. - /// When the primary sort of the results is an indexed field, shards get sorted based on minimum and maximum value that they hold for that field, hence partial results become available following the sort criteria that was requested. - /// Warning: Async search does not support scroll nor search requests that only include the suggest section. - /// By default, Elasticsearch doesn’t allow you to store an async search response larger than 10Mb and an attempt to do this results in an error. + /// Run an async search. + /// + /// + /// When the primary sort of the results is an indexed field, shards get sorted based on minimum and maximum value that they hold for that field. Partial results become available following the sort criteria that was requested. + /// + /// + /// Warning: Asynchronous search does not support scroll or search requests that include only the suggest section. + /// + /// + /// By default, Elasticsearch does not allow you to store an async search response larger than 10Mb and an attempt to do this results in an error. /// The maximum allowed size for a stored async search response can be set by changing the search.max_async_search_response_size cluster level setting. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task> SubmitAsync(CancellationToken cancellationToken = default) { @@ -791,13 +937,19 @@ public virtual Task> SubmitAsync /// /// - /// Runs a search request asynchronously. - /// When the primary sort of the results is an indexed field, shards get sorted based on minimum and maximum value that they hold for that field, hence partial results become available following the sort criteria that was requested. - /// Warning: Async search does not support scroll nor search requests that only include the suggest section. - /// By default, Elasticsearch doesn’t allow you to store an async search response larger than 10Mb and an attempt to do this results in an error. + /// Run an async search. + /// + /// + /// When the primary sort of the results is an indexed field, shards get sorted based on minimum and maximum value that they hold for that field. Partial results become available following the sort criteria that was requested. + /// + /// + /// Warning: Asynchronous search does not support scroll or search requests that include only the suggest section. + /// + /// + /// By default, Elasticsearch does not allow you to store an async search response larger than 10Mb and an attempt to do this results in an error. /// The maximum allowed size for a stored async search response can be set by changing the search.max_async_search_response_size cluster level setting. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task> SubmitAsync(Action> configureRequest, CancellationToken cancellationToken = default) { diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.Ccr.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.Ccr.g.cs index 302f2b4bccf..c0e14ca6cc6 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.Ccr.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.Ccr.g.cs @@ -43,7 +43,7 @@ internal CrossClusterReplicationNamespacedClient(ElasticsearchClient client) : b /// /// Deletes auto-follow patterns. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual DeleteAutoFollowPatternResponse DeleteAutoFollowPattern(DeleteAutoFollowPatternRequest request) @@ -56,7 +56,7 @@ public virtual DeleteAutoFollowPatternResponse DeleteAutoFollowPattern(DeleteAut /// /// Deletes auto-follow patterns. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteAutoFollowPatternAsync(DeleteAutoFollowPatternRequest request, CancellationToken cancellationToken = default) { @@ -68,7 +68,7 @@ public virtual Task DeleteAutoFollowPatternAsyn /// /// Deletes auto-follow patterns. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual DeleteAutoFollowPatternResponse DeleteAutoFollowPattern(DeleteAutoFollowPatternRequestDescriptor descriptor) @@ -81,7 +81,7 @@ public virtual DeleteAutoFollowPatternResponse DeleteAutoFollowPattern(DeleteAut /// /// Deletes auto-follow patterns. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual DeleteAutoFollowPatternResponse DeleteAutoFollowPattern(Elastic.Clients.Elasticsearch.Name name) @@ -95,7 +95,7 @@ public virtual DeleteAutoFollowPatternResponse DeleteAutoFollowPattern(Elastic.C /// /// Deletes auto-follow patterns. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual DeleteAutoFollowPatternResponse DeleteAutoFollowPattern(Elastic.Clients.Elasticsearch.Name name, Action configureRequest) @@ -110,7 +110,7 @@ public virtual DeleteAutoFollowPatternResponse DeleteAutoFollowPattern(Elastic.C /// /// Deletes auto-follow patterns. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteAutoFollowPatternAsync(DeleteAutoFollowPatternRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -122,7 +122,7 @@ public virtual Task DeleteAutoFollowPatternAsyn /// /// Deletes auto-follow patterns. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteAutoFollowPatternAsync(Elastic.Clients.Elasticsearch.Name name, CancellationToken cancellationToken = default) { @@ -135,7 +135,7 @@ public virtual Task DeleteAutoFollowPatternAsyn /// /// Deletes auto-follow patterns. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteAutoFollowPatternAsync(Elastic.Clients.Elasticsearch.Name name, Action configureRequest, CancellationToken cancellationToken = default) { @@ -149,7 +149,7 @@ public virtual Task DeleteAutoFollowPatternAsyn /// /// Creates a new follower index configured to follow the referenced leader index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual FollowResponse Follow(FollowRequest request) @@ -162,7 +162,7 @@ public virtual FollowResponse Follow(FollowRequest request) /// /// Creates a new follower index configured to follow the referenced leader index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task FollowAsync(FollowRequest request, CancellationToken cancellationToken = default) { @@ -174,7 +174,7 @@ public virtual Task FollowAsync(FollowRequest request, Cancellat /// /// Creates a new follower index configured to follow the referenced leader index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual FollowResponse Follow(FollowRequestDescriptor descriptor) @@ -187,7 +187,7 @@ public virtual FollowResponse Follow(FollowRequestDescriptor /// Creates a new follower index configured to follow the referenced leader index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual FollowResponse Follow(Elastic.Clients.Elasticsearch.IndexName index) @@ -201,7 +201,7 @@ public virtual FollowResponse Follow(Elastic.Clients.Elasticsearch.In /// /// Creates a new follower index configured to follow the referenced leader index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual FollowResponse Follow(Elastic.Clients.Elasticsearch.IndexName index, Action> configureRequest) @@ -216,7 +216,7 @@ public virtual FollowResponse Follow(Elastic.Clients.Elasticsearch.In /// /// Creates a new follower index configured to follow the referenced leader index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual FollowResponse Follow() @@ -230,7 +230,7 @@ public virtual FollowResponse Follow() /// /// Creates a new follower index configured to follow the referenced leader index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual FollowResponse Follow(Action> configureRequest) @@ -245,7 +245,7 @@ public virtual FollowResponse Follow(Action /// Creates a new follower index configured to follow the referenced leader index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual FollowResponse Follow(FollowRequestDescriptor descriptor) @@ -258,7 +258,7 @@ public virtual FollowResponse Follow(FollowRequestDescriptor descriptor) /// /// Creates a new follower index configured to follow the referenced leader index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual FollowResponse Follow(Elastic.Clients.Elasticsearch.IndexName index) @@ -272,7 +272,7 @@ public virtual FollowResponse Follow(Elastic.Clients.Elasticsearch.IndexName ind /// /// Creates a new follower index configured to follow the referenced leader index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual FollowResponse Follow(Elastic.Clients.Elasticsearch.IndexName index, Action configureRequest) @@ -287,7 +287,7 @@ public virtual FollowResponse Follow(Elastic.Clients.Elasticsearch.IndexName ind /// /// Creates a new follower index configured to follow the referenced leader index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task FollowAsync(FollowRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -299,7 +299,7 @@ public virtual Task FollowAsync(FollowRequestDescript /// /// Creates a new follower index configured to follow the referenced leader index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task FollowAsync(Elastic.Clients.Elasticsearch.IndexName index, CancellationToken cancellationToken = default) { @@ -312,7 +312,7 @@ public virtual Task FollowAsync(Elastic.Clients.Elast /// /// Creates a new follower index configured to follow the referenced leader index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task FollowAsync(Elastic.Clients.Elasticsearch.IndexName index, Action> configureRequest, CancellationToken cancellationToken = default) { @@ -326,7 +326,7 @@ public virtual Task FollowAsync(Elastic.Clients.Elast /// /// Creates a new follower index configured to follow the referenced leader index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task FollowAsync(CancellationToken cancellationToken = default) { @@ -339,7 +339,7 @@ public virtual Task FollowAsync(CancellationToken can /// /// Creates a new follower index configured to follow the referenced leader index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task FollowAsync(Action> configureRequest, CancellationToken cancellationToken = default) { @@ -353,7 +353,7 @@ public virtual Task FollowAsync(Action /// Creates a new follower index configured to follow the referenced leader index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task FollowAsync(FollowRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -365,7 +365,7 @@ public virtual Task FollowAsync(FollowRequestDescriptor descript /// /// Creates a new follower index configured to follow the referenced leader index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task FollowAsync(Elastic.Clients.Elasticsearch.IndexName index, CancellationToken cancellationToken = default) { @@ -378,7 +378,7 @@ public virtual Task FollowAsync(Elastic.Clients.Elasticsearch.In /// /// Creates a new follower index configured to follow the referenced leader index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task FollowAsync(Elastic.Clients.Elasticsearch.IndexName index, Action configureRequest, CancellationToken cancellationToken = default) { @@ -392,7 +392,7 @@ public virtual Task FollowAsync(Elastic.Clients.Elasticsearch.In /// /// Retrieves information about all follower indices, including parameters and status for each follower index /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual FollowInfoResponse FollowInfo(FollowInfoRequest request) @@ -405,7 +405,7 @@ public virtual FollowInfoResponse FollowInfo(FollowInfoRequest request) /// /// Retrieves information about all follower indices, including parameters and status for each follower index /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task FollowInfoAsync(FollowInfoRequest request, CancellationToken cancellationToken = default) { @@ -417,7 +417,7 @@ public virtual Task FollowInfoAsync(FollowInfoRequest reques /// /// Retrieves information about all follower indices, including parameters and status for each follower index /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual FollowInfoResponse FollowInfo(FollowInfoRequestDescriptor descriptor) @@ -430,7 +430,7 @@ public virtual FollowInfoResponse FollowInfo(FollowInfoRequestDescrip /// /// Retrieves information about all follower indices, including parameters and status for each follower index /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual FollowInfoResponse FollowInfo(Elastic.Clients.Elasticsearch.Indices indices) @@ -444,7 +444,7 @@ public virtual FollowInfoResponse FollowInfo(Elastic.Clients.Elastics /// /// Retrieves information about all follower indices, including parameters and status for each follower index /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual FollowInfoResponse FollowInfo(Elastic.Clients.Elasticsearch.Indices indices, Action> configureRequest) @@ -459,7 +459,7 @@ public virtual FollowInfoResponse FollowInfo(Elastic.Clients.Elastics /// /// Retrieves information about all follower indices, including parameters and status for each follower index /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual FollowInfoResponse FollowInfo() @@ -473,7 +473,7 @@ public virtual FollowInfoResponse FollowInfo() /// /// Retrieves information about all follower indices, including parameters and status for each follower index /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual FollowInfoResponse FollowInfo(Action> configureRequest) @@ -488,7 +488,7 @@ public virtual FollowInfoResponse FollowInfo(Action /// Retrieves information about all follower indices, including parameters and status for each follower index /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual FollowInfoResponse FollowInfo(FollowInfoRequestDescriptor descriptor) @@ -501,7 +501,7 @@ public virtual FollowInfoResponse FollowInfo(FollowInfoRequestDescriptor descrip /// /// Retrieves information about all follower indices, including parameters and status for each follower index /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual FollowInfoResponse FollowInfo(Elastic.Clients.Elasticsearch.Indices indices) @@ -515,7 +515,7 @@ public virtual FollowInfoResponse FollowInfo(Elastic.Clients.Elasticsearch.Indic /// /// Retrieves information about all follower indices, including parameters and status for each follower index /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual FollowInfoResponse FollowInfo(Elastic.Clients.Elasticsearch.Indices indices, Action configureRequest) @@ -530,7 +530,7 @@ public virtual FollowInfoResponse FollowInfo(Elastic.Clients.Elasticsearch.Indic /// /// Retrieves information about all follower indices, including parameters and status for each follower index /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task FollowInfoAsync(FollowInfoRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -542,7 +542,7 @@ public virtual Task FollowInfoAsync(FollowInfoReq /// /// Retrieves information about all follower indices, including parameters and status for each follower index /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task FollowInfoAsync(Elastic.Clients.Elasticsearch.Indices indices, CancellationToken cancellationToken = default) { @@ -555,7 +555,7 @@ public virtual Task FollowInfoAsync(Elastic.Clien /// /// Retrieves information about all follower indices, including parameters and status for each follower index /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task FollowInfoAsync(Elastic.Clients.Elasticsearch.Indices indices, Action> configureRequest, CancellationToken cancellationToken = default) { @@ -569,7 +569,7 @@ public virtual Task FollowInfoAsync(Elastic.Clien /// /// Retrieves information about all follower indices, including parameters and status for each follower index /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task FollowInfoAsync(CancellationToken cancellationToken = default) { @@ -582,7 +582,7 @@ public virtual Task FollowInfoAsync(CancellationT /// /// Retrieves information about all follower indices, including parameters and status for each follower index /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task FollowInfoAsync(Action> configureRequest, CancellationToken cancellationToken = default) { @@ -596,7 +596,7 @@ public virtual Task FollowInfoAsync(Action /// Retrieves information about all follower indices, including parameters and status for each follower index /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task FollowInfoAsync(FollowInfoRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -608,7 +608,7 @@ public virtual Task FollowInfoAsync(FollowInfoRequestDescrip /// /// Retrieves information about all follower indices, including parameters and status for each follower index /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task FollowInfoAsync(Elastic.Clients.Elasticsearch.Indices indices, CancellationToken cancellationToken = default) { @@ -621,7 +621,7 @@ public virtual Task FollowInfoAsync(Elastic.Clients.Elastics /// /// Retrieves information about all follower indices, including parameters and status for each follower index /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task FollowInfoAsync(Elastic.Clients.Elasticsearch.Indices indices, Action configureRequest, CancellationToken cancellationToken = default) { @@ -635,7 +635,7 @@ public virtual Task FollowInfoAsync(Elastic.Clients.Elastics /// /// Retrieves follower stats. return shard-level stats about the following tasks associated with each shard for the specified indices. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual FollowStatsResponse FollowStats(FollowStatsRequest request) @@ -648,7 +648,7 @@ public virtual FollowStatsResponse FollowStats(FollowStatsRequest request) /// /// Retrieves follower stats. return shard-level stats about the following tasks associated with each shard for the specified indices. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task FollowStatsAsync(FollowStatsRequest request, CancellationToken cancellationToken = default) { @@ -660,7 +660,7 @@ public virtual Task FollowStatsAsync(FollowStatsRequest req /// /// Retrieves follower stats. return shard-level stats about the following tasks associated with each shard for the specified indices. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual FollowStatsResponse FollowStats(FollowStatsRequestDescriptor descriptor) @@ -673,7 +673,7 @@ public virtual FollowStatsResponse FollowStats(FollowStatsRequestDesc /// /// Retrieves follower stats. return shard-level stats about the following tasks associated with each shard for the specified indices. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual FollowStatsResponse FollowStats(Elastic.Clients.Elasticsearch.Indices indices) @@ -687,7 +687,7 @@ public virtual FollowStatsResponse FollowStats(Elastic.Clients.Elasti /// /// Retrieves follower stats. return shard-level stats about the following tasks associated with each shard for the specified indices. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual FollowStatsResponse FollowStats(Elastic.Clients.Elasticsearch.Indices indices, Action> configureRequest) @@ -702,7 +702,7 @@ public virtual FollowStatsResponse FollowStats(Elastic.Clients.Elasti /// /// Retrieves follower stats. return shard-level stats about the following tasks associated with each shard for the specified indices. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual FollowStatsResponse FollowStats() @@ -716,7 +716,7 @@ public virtual FollowStatsResponse FollowStats() /// /// Retrieves follower stats. return shard-level stats about the following tasks associated with each shard for the specified indices. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual FollowStatsResponse FollowStats(Action> configureRequest) @@ -731,7 +731,7 @@ public virtual FollowStatsResponse FollowStats(Action /// Retrieves follower stats. return shard-level stats about the following tasks associated with each shard for the specified indices. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual FollowStatsResponse FollowStats(FollowStatsRequestDescriptor descriptor) @@ -744,7 +744,7 @@ public virtual FollowStatsResponse FollowStats(FollowStatsRequestDescriptor desc /// /// Retrieves follower stats. return shard-level stats about the following tasks associated with each shard for the specified indices. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual FollowStatsResponse FollowStats(Elastic.Clients.Elasticsearch.Indices indices) @@ -758,7 +758,7 @@ public virtual FollowStatsResponse FollowStats(Elastic.Clients.Elasticsearch.Ind /// /// Retrieves follower stats. return shard-level stats about the following tasks associated with each shard for the specified indices. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual FollowStatsResponse FollowStats(Elastic.Clients.Elasticsearch.Indices indices, Action configureRequest) @@ -773,7 +773,7 @@ public virtual FollowStatsResponse FollowStats(Elastic.Clients.Elasticsearch.Ind /// /// Retrieves follower stats. return shard-level stats about the following tasks associated with each shard for the specified indices. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task FollowStatsAsync(FollowStatsRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -785,7 +785,7 @@ public virtual Task FollowStatsAsync(FollowStats /// /// Retrieves follower stats. return shard-level stats about the following tasks associated with each shard for the specified indices. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task FollowStatsAsync(Elastic.Clients.Elasticsearch.Indices indices, CancellationToken cancellationToken = default) { @@ -798,7 +798,7 @@ public virtual Task FollowStatsAsync(Elastic.Cli /// /// Retrieves follower stats. return shard-level stats about the following tasks associated with each shard for the specified indices. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task FollowStatsAsync(Elastic.Clients.Elasticsearch.Indices indices, Action> configureRequest, CancellationToken cancellationToken = default) { @@ -812,7 +812,7 @@ public virtual Task FollowStatsAsync(Elastic.Cli /// /// Retrieves follower stats. return shard-level stats about the following tasks associated with each shard for the specified indices. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task FollowStatsAsync(CancellationToken cancellationToken = default) { @@ -825,7 +825,7 @@ public virtual Task FollowStatsAsync(Cancellatio /// /// Retrieves follower stats. return shard-level stats about the following tasks associated with each shard for the specified indices. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task FollowStatsAsync(Action> configureRequest, CancellationToken cancellationToken = default) { @@ -839,7 +839,7 @@ public virtual Task FollowStatsAsync(Action /// Retrieves follower stats. return shard-level stats about the following tasks associated with each shard for the specified indices. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task FollowStatsAsync(FollowStatsRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -851,7 +851,7 @@ public virtual Task FollowStatsAsync(FollowStatsRequestDesc /// /// Retrieves follower stats. return shard-level stats about the following tasks associated with each shard for the specified indices. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task FollowStatsAsync(Elastic.Clients.Elasticsearch.Indices indices, CancellationToken cancellationToken = default) { @@ -864,7 +864,7 @@ public virtual Task FollowStatsAsync(Elastic.Clients.Elasti /// /// Retrieves follower stats. return shard-level stats about the following tasks associated with each shard for the specified indices. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task FollowStatsAsync(Elastic.Clients.Elasticsearch.Indices indices, Action configureRequest, CancellationToken cancellationToken = default) { @@ -878,7 +878,7 @@ public virtual Task FollowStatsAsync(Elastic.Clients.Elasti /// /// Removes the follower retention leases from the leader. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ForgetFollowerResponse ForgetFollower(ForgetFollowerRequest request) @@ -891,7 +891,7 @@ public virtual ForgetFollowerResponse ForgetFollower(ForgetFollowerRequest reque /// /// Removes the follower retention leases from the leader. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ForgetFollowerAsync(ForgetFollowerRequest request, CancellationToken cancellationToken = default) { @@ -903,7 +903,7 @@ public virtual Task ForgetFollowerAsync(ForgetFollowerRe /// /// Removes the follower retention leases from the leader. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ForgetFollowerResponse ForgetFollower(ForgetFollowerRequestDescriptor descriptor) @@ -916,7 +916,7 @@ public virtual ForgetFollowerResponse ForgetFollower(ForgetFollowerRe /// /// Removes the follower retention leases from the leader. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ForgetFollowerResponse ForgetFollower(Elastic.Clients.Elasticsearch.IndexName index) @@ -930,7 +930,7 @@ public virtual ForgetFollowerResponse ForgetFollower(Elastic.Clients. /// /// Removes the follower retention leases from the leader. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ForgetFollowerResponse ForgetFollower(Elastic.Clients.Elasticsearch.IndexName index, Action> configureRequest) @@ -945,7 +945,7 @@ public virtual ForgetFollowerResponse ForgetFollower(Elastic.Clients. /// /// Removes the follower retention leases from the leader. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ForgetFollowerResponse ForgetFollower() @@ -959,7 +959,7 @@ public virtual ForgetFollowerResponse ForgetFollower() /// /// Removes the follower retention leases from the leader. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ForgetFollowerResponse ForgetFollower(Action> configureRequest) @@ -974,7 +974,7 @@ public virtual ForgetFollowerResponse ForgetFollower(Action /// Removes the follower retention leases from the leader. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ForgetFollowerResponse ForgetFollower(ForgetFollowerRequestDescriptor descriptor) @@ -987,7 +987,7 @@ public virtual ForgetFollowerResponse ForgetFollower(ForgetFollowerRequestDescri /// /// Removes the follower retention leases from the leader. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ForgetFollowerResponse ForgetFollower(Elastic.Clients.Elasticsearch.IndexName index) @@ -1001,7 +1001,7 @@ public virtual ForgetFollowerResponse ForgetFollower(Elastic.Clients.Elasticsear /// /// Removes the follower retention leases from the leader. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ForgetFollowerResponse ForgetFollower(Elastic.Clients.Elasticsearch.IndexName index, Action configureRequest) @@ -1016,7 +1016,7 @@ public virtual ForgetFollowerResponse ForgetFollower(Elastic.Clients.Elasticsear /// /// Removes the follower retention leases from the leader. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ForgetFollowerAsync(ForgetFollowerRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -1028,7 +1028,7 @@ public virtual Task ForgetFollowerAsync(Forge /// /// Removes the follower retention leases from the leader. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ForgetFollowerAsync(Elastic.Clients.Elasticsearch.IndexName index, CancellationToken cancellationToken = default) { @@ -1041,7 +1041,7 @@ public virtual Task ForgetFollowerAsync(Elast /// /// Removes the follower retention leases from the leader. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ForgetFollowerAsync(Elastic.Clients.Elasticsearch.IndexName index, Action> configureRequest, CancellationToken cancellationToken = default) { @@ -1055,7 +1055,7 @@ public virtual Task ForgetFollowerAsync(Elast /// /// Removes the follower retention leases from the leader. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ForgetFollowerAsync(CancellationToken cancellationToken = default) { @@ -1068,7 +1068,7 @@ public virtual Task ForgetFollowerAsync(Cance /// /// Removes the follower retention leases from the leader. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ForgetFollowerAsync(Action> configureRequest, CancellationToken cancellationToken = default) { @@ -1082,7 +1082,7 @@ public virtual Task ForgetFollowerAsync(Actio /// /// Removes the follower retention leases from the leader. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ForgetFollowerAsync(ForgetFollowerRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -1094,7 +1094,7 @@ public virtual Task ForgetFollowerAsync(ForgetFollowerRe /// /// Removes the follower retention leases from the leader. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ForgetFollowerAsync(Elastic.Clients.Elasticsearch.IndexName index, CancellationToken cancellationToken = default) { @@ -1107,7 +1107,7 @@ public virtual Task ForgetFollowerAsync(Elastic.Clients. /// /// Removes the follower retention leases from the leader. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ForgetFollowerAsync(Elastic.Clients.Elasticsearch.IndexName index, Action configureRequest, CancellationToken cancellationToken = default) { @@ -1121,7 +1121,7 @@ public virtual Task ForgetFollowerAsync(Elastic.Clients. /// /// Gets configured auto-follow patterns. Returns the specified auto-follow pattern collection. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual GetAutoFollowPatternResponse GetAutoFollowPattern(GetAutoFollowPatternRequest request) @@ -1134,7 +1134,7 @@ public virtual GetAutoFollowPatternResponse GetAutoFollowPattern(GetAutoFollowPa /// /// Gets configured auto-follow patterns. Returns the specified auto-follow pattern collection. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task GetAutoFollowPatternAsync(GetAutoFollowPatternRequest request, CancellationToken cancellationToken = default) { @@ -1146,7 +1146,7 @@ public virtual Task GetAutoFollowPatternAsync(GetA /// /// Gets configured auto-follow patterns. Returns the specified auto-follow pattern collection. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual GetAutoFollowPatternResponse GetAutoFollowPattern(GetAutoFollowPatternRequestDescriptor descriptor) @@ -1159,7 +1159,7 @@ public virtual GetAutoFollowPatternResponse GetAutoFollowPattern(GetAutoFollowPa /// /// Gets configured auto-follow patterns. Returns the specified auto-follow pattern collection. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual GetAutoFollowPatternResponse GetAutoFollowPattern(Elastic.Clients.Elasticsearch.Name? name) @@ -1173,7 +1173,7 @@ public virtual GetAutoFollowPatternResponse GetAutoFollowPattern(Elastic.Clients /// /// Gets configured auto-follow patterns. Returns the specified auto-follow pattern collection. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual GetAutoFollowPatternResponse GetAutoFollowPattern(Elastic.Clients.Elasticsearch.Name? name, Action configureRequest) @@ -1188,7 +1188,7 @@ public virtual GetAutoFollowPatternResponse GetAutoFollowPattern(Elastic.Clients /// /// Gets configured auto-follow patterns. Returns the specified auto-follow pattern collection. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual GetAutoFollowPatternResponse GetAutoFollowPattern() @@ -1202,7 +1202,7 @@ public virtual GetAutoFollowPatternResponse GetAutoFollowPattern() /// /// Gets configured auto-follow patterns. Returns the specified auto-follow pattern collection. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual GetAutoFollowPatternResponse GetAutoFollowPattern(Action configureRequest) @@ -1217,7 +1217,7 @@ public virtual GetAutoFollowPatternResponse GetAutoFollowPattern(Action /// Gets configured auto-follow patterns. Returns the specified auto-follow pattern collection. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task GetAutoFollowPatternAsync(GetAutoFollowPatternRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -1229,7 +1229,7 @@ public virtual Task GetAutoFollowPatternAsync(GetA /// /// Gets configured auto-follow patterns. Returns the specified auto-follow pattern collection. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task GetAutoFollowPatternAsync(Elastic.Clients.Elasticsearch.Name? name, CancellationToken cancellationToken = default) { @@ -1242,7 +1242,7 @@ public virtual Task GetAutoFollowPatternAsync(Elas /// /// Gets configured auto-follow patterns. Returns the specified auto-follow pattern collection. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task GetAutoFollowPatternAsync(Elastic.Clients.Elasticsearch.Name? name, Action configureRequest, CancellationToken cancellationToken = default) { @@ -1256,7 +1256,7 @@ public virtual Task GetAutoFollowPatternAsync(Elas /// /// Gets configured auto-follow patterns. Returns the specified auto-follow pattern collection. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task GetAutoFollowPatternAsync(CancellationToken cancellationToken = default) { @@ -1269,7 +1269,7 @@ public virtual Task GetAutoFollowPatternAsync(Canc /// /// Gets configured auto-follow patterns. Returns the specified auto-follow pattern collection. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task GetAutoFollowPatternAsync(Action configureRequest, CancellationToken cancellationToken = default) { @@ -1283,7 +1283,7 @@ public virtual Task GetAutoFollowPatternAsync(Acti /// /// Pauses an auto-follow pattern /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual PauseAutoFollowPatternResponse PauseAutoFollowPattern(PauseAutoFollowPatternRequest request) @@ -1296,7 +1296,7 @@ public virtual PauseAutoFollowPatternResponse PauseAutoFollowPattern(PauseAutoFo /// /// Pauses an auto-follow pattern /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PauseAutoFollowPatternAsync(PauseAutoFollowPatternRequest request, CancellationToken cancellationToken = default) { @@ -1308,7 +1308,7 @@ public virtual Task PauseAutoFollowPatternAsync( /// /// Pauses an auto-follow pattern /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual PauseAutoFollowPatternResponse PauseAutoFollowPattern(PauseAutoFollowPatternRequestDescriptor descriptor) @@ -1321,7 +1321,7 @@ public virtual PauseAutoFollowPatternResponse PauseAutoFollowPattern(PauseAutoFo /// /// Pauses an auto-follow pattern /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual PauseAutoFollowPatternResponse PauseAutoFollowPattern(Elastic.Clients.Elasticsearch.Name name) @@ -1335,7 +1335,7 @@ public virtual PauseAutoFollowPatternResponse PauseAutoFollowPattern(Elastic.Cli /// /// Pauses an auto-follow pattern /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual PauseAutoFollowPatternResponse PauseAutoFollowPattern(Elastic.Clients.Elasticsearch.Name name, Action configureRequest) @@ -1350,7 +1350,7 @@ public virtual PauseAutoFollowPatternResponse PauseAutoFollowPattern(Elastic.Cli /// /// Pauses an auto-follow pattern /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PauseAutoFollowPatternAsync(PauseAutoFollowPatternRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -1362,7 +1362,7 @@ public virtual Task PauseAutoFollowPatternAsync( /// /// Pauses an auto-follow pattern /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PauseAutoFollowPatternAsync(Elastic.Clients.Elasticsearch.Name name, CancellationToken cancellationToken = default) { @@ -1375,7 +1375,7 @@ public virtual Task PauseAutoFollowPatternAsync( /// /// Pauses an auto-follow pattern /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PauseAutoFollowPatternAsync(Elastic.Clients.Elasticsearch.Name name, Action configureRequest, CancellationToken cancellationToken = default) { @@ -1389,7 +1389,7 @@ public virtual Task PauseAutoFollowPatternAsync( /// /// Pauses a follower index. The follower index will not fetch any additional operations from the leader index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual PauseFollowResponse PauseFollow(PauseFollowRequest request) @@ -1402,7 +1402,7 @@ public virtual PauseFollowResponse PauseFollow(PauseFollowRequest request) /// /// Pauses a follower index. The follower index will not fetch any additional operations from the leader index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PauseFollowAsync(PauseFollowRequest request, CancellationToken cancellationToken = default) { @@ -1414,7 +1414,7 @@ public virtual Task PauseFollowAsync(PauseFollowRequest req /// /// Pauses a follower index. The follower index will not fetch any additional operations from the leader index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual PauseFollowResponse PauseFollow(PauseFollowRequestDescriptor descriptor) @@ -1427,7 +1427,7 @@ public virtual PauseFollowResponse PauseFollow(PauseFollowRequestDesc /// /// Pauses a follower index. The follower index will not fetch any additional operations from the leader index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual PauseFollowResponse PauseFollow(Elastic.Clients.Elasticsearch.IndexName index) @@ -1441,7 +1441,7 @@ public virtual PauseFollowResponse PauseFollow(Elastic.Clients.Elasti /// /// Pauses a follower index. The follower index will not fetch any additional operations from the leader index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual PauseFollowResponse PauseFollow(Elastic.Clients.Elasticsearch.IndexName index, Action> configureRequest) @@ -1456,7 +1456,7 @@ public virtual PauseFollowResponse PauseFollow(Elastic.Clients.Elasti /// /// Pauses a follower index. The follower index will not fetch any additional operations from the leader index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual PauseFollowResponse PauseFollow() @@ -1470,7 +1470,7 @@ public virtual PauseFollowResponse PauseFollow() /// /// Pauses a follower index. The follower index will not fetch any additional operations from the leader index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual PauseFollowResponse PauseFollow(Action> configureRequest) @@ -1485,7 +1485,7 @@ public virtual PauseFollowResponse PauseFollow(Action /// Pauses a follower index. The follower index will not fetch any additional operations from the leader index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual PauseFollowResponse PauseFollow(PauseFollowRequestDescriptor descriptor) @@ -1498,7 +1498,7 @@ public virtual PauseFollowResponse PauseFollow(PauseFollowRequestDescriptor desc /// /// Pauses a follower index. The follower index will not fetch any additional operations from the leader index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual PauseFollowResponse PauseFollow(Elastic.Clients.Elasticsearch.IndexName index) @@ -1512,7 +1512,7 @@ public virtual PauseFollowResponse PauseFollow(Elastic.Clients.Elasticsearch.Ind /// /// Pauses a follower index. The follower index will not fetch any additional operations from the leader index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual PauseFollowResponse PauseFollow(Elastic.Clients.Elasticsearch.IndexName index, Action configureRequest) @@ -1527,7 +1527,7 @@ public virtual PauseFollowResponse PauseFollow(Elastic.Clients.Elasticsearch.Ind /// /// Pauses a follower index. The follower index will not fetch any additional operations from the leader index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PauseFollowAsync(PauseFollowRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -1539,7 +1539,7 @@ public virtual Task PauseFollowAsync(PauseFollow /// /// Pauses a follower index. The follower index will not fetch any additional operations from the leader index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PauseFollowAsync(Elastic.Clients.Elasticsearch.IndexName index, CancellationToken cancellationToken = default) { @@ -1552,7 +1552,7 @@ public virtual Task PauseFollowAsync(Elastic.Cli /// /// Pauses a follower index. The follower index will not fetch any additional operations from the leader index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PauseFollowAsync(Elastic.Clients.Elasticsearch.IndexName index, Action> configureRequest, CancellationToken cancellationToken = default) { @@ -1566,7 +1566,7 @@ public virtual Task PauseFollowAsync(Elastic.Cli /// /// Pauses a follower index. The follower index will not fetch any additional operations from the leader index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PauseFollowAsync(CancellationToken cancellationToken = default) { @@ -1579,7 +1579,7 @@ public virtual Task PauseFollowAsync(Cancellatio /// /// Pauses a follower index. The follower index will not fetch any additional operations from the leader index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PauseFollowAsync(Action> configureRequest, CancellationToken cancellationToken = default) { @@ -1593,7 +1593,7 @@ public virtual Task PauseFollowAsync(Action /// Pauses a follower index. The follower index will not fetch any additional operations from the leader index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PauseFollowAsync(PauseFollowRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -1605,7 +1605,7 @@ public virtual Task PauseFollowAsync(PauseFollowRequestDesc /// /// Pauses a follower index. The follower index will not fetch any additional operations from the leader index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PauseFollowAsync(Elastic.Clients.Elasticsearch.IndexName index, CancellationToken cancellationToken = default) { @@ -1618,7 +1618,7 @@ public virtual Task PauseFollowAsync(Elastic.Clients.Elasti /// /// Pauses a follower index. The follower index will not fetch any additional operations from the leader index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PauseFollowAsync(Elastic.Clients.Elasticsearch.IndexName index, Action configureRequest, CancellationToken cancellationToken = default) { @@ -1632,7 +1632,7 @@ public virtual Task PauseFollowAsync(Elastic.Clients.Elasti /// /// Creates a new named collection of auto-follow patterns against a specified remote cluster. Newly created indices on the remote cluster matching any of the specified patterns will be automatically configured as follower indices. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual PutAutoFollowPatternResponse PutAutoFollowPattern(PutAutoFollowPatternRequest request) @@ -1645,7 +1645,7 @@ public virtual PutAutoFollowPatternResponse PutAutoFollowPattern(PutAutoFollowPa /// /// Creates a new named collection of auto-follow patterns against a specified remote cluster. Newly created indices on the remote cluster matching any of the specified patterns will be automatically configured as follower indices. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PutAutoFollowPatternAsync(PutAutoFollowPatternRequest request, CancellationToken cancellationToken = default) { @@ -1657,7 +1657,7 @@ public virtual Task PutAutoFollowPatternAsync(PutA /// /// Creates a new named collection of auto-follow patterns against a specified remote cluster. Newly created indices on the remote cluster matching any of the specified patterns will be automatically configured as follower indices. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual PutAutoFollowPatternResponse PutAutoFollowPattern(PutAutoFollowPatternRequestDescriptor descriptor) @@ -1670,7 +1670,7 @@ public virtual PutAutoFollowPatternResponse PutAutoFollowPattern(PutAutoFollowPa /// /// Creates a new named collection of auto-follow patterns against a specified remote cluster. Newly created indices on the remote cluster matching any of the specified patterns will be automatically configured as follower indices. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual PutAutoFollowPatternResponse PutAutoFollowPattern(Elastic.Clients.Elasticsearch.Name name) @@ -1684,7 +1684,7 @@ public virtual PutAutoFollowPatternResponse PutAutoFollowPattern(Elastic.Clients /// /// Creates a new named collection of auto-follow patterns against a specified remote cluster. Newly created indices on the remote cluster matching any of the specified patterns will be automatically configured as follower indices. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual PutAutoFollowPatternResponse PutAutoFollowPattern(Elastic.Clients.Elasticsearch.Name name, Action configureRequest) @@ -1699,7 +1699,7 @@ public virtual PutAutoFollowPatternResponse PutAutoFollowPattern(Elastic.Clients /// /// Creates a new named collection of auto-follow patterns against a specified remote cluster. Newly created indices on the remote cluster matching any of the specified patterns will be automatically configured as follower indices. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PutAutoFollowPatternAsync(PutAutoFollowPatternRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -1711,7 +1711,7 @@ public virtual Task PutAutoFollowPatternAsync(PutA /// /// Creates a new named collection of auto-follow patterns against a specified remote cluster. Newly created indices on the remote cluster matching any of the specified patterns will be automatically configured as follower indices. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PutAutoFollowPatternAsync(Elastic.Clients.Elasticsearch.Name name, CancellationToken cancellationToken = default) { @@ -1724,7 +1724,7 @@ public virtual Task PutAutoFollowPatternAsync(Elas /// /// Creates a new named collection of auto-follow patterns against a specified remote cluster. Newly created indices on the remote cluster matching any of the specified patterns will be automatically configured as follower indices. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PutAutoFollowPatternAsync(Elastic.Clients.Elasticsearch.Name name, Action configureRequest, CancellationToken cancellationToken = default) { @@ -1738,7 +1738,7 @@ public virtual Task PutAutoFollowPatternAsync(Elas /// /// Resumes an auto-follow pattern that has been paused /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ResumeAutoFollowPatternResponse ResumeAutoFollowPattern(ResumeAutoFollowPatternRequest request) @@ -1751,7 +1751,7 @@ public virtual ResumeAutoFollowPatternResponse ResumeAutoFollowPattern(ResumeAut /// /// Resumes an auto-follow pattern that has been paused /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ResumeAutoFollowPatternAsync(ResumeAutoFollowPatternRequest request, CancellationToken cancellationToken = default) { @@ -1763,7 +1763,7 @@ public virtual Task ResumeAutoFollowPatternAsyn /// /// Resumes an auto-follow pattern that has been paused /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ResumeAutoFollowPatternResponse ResumeAutoFollowPattern(ResumeAutoFollowPatternRequestDescriptor descriptor) @@ -1776,7 +1776,7 @@ public virtual ResumeAutoFollowPatternResponse ResumeAutoFollowPattern(ResumeAut /// /// Resumes an auto-follow pattern that has been paused /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ResumeAutoFollowPatternResponse ResumeAutoFollowPattern(Elastic.Clients.Elasticsearch.Name name) @@ -1790,7 +1790,7 @@ public virtual ResumeAutoFollowPatternResponse ResumeAutoFollowPattern(Elastic.C /// /// Resumes an auto-follow pattern that has been paused /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ResumeAutoFollowPatternResponse ResumeAutoFollowPattern(Elastic.Clients.Elasticsearch.Name name, Action configureRequest) @@ -1805,7 +1805,7 @@ public virtual ResumeAutoFollowPatternResponse ResumeAutoFollowPattern(Elastic.C /// /// Resumes an auto-follow pattern that has been paused /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ResumeAutoFollowPatternAsync(ResumeAutoFollowPatternRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -1817,7 +1817,7 @@ public virtual Task ResumeAutoFollowPatternAsyn /// /// Resumes an auto-follow pattern that has been paused /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ResumeAutoFollowPatternAsync(Elastic.Clients.Elasticsearch.Name name, CancellationToken cancellationToken = default) { @@ -1830,7 +1830,7 @@ public virtual Task ResumeAutoFollowPatternAsyn /// /// Resumes an auto-follow pattern that has been paused /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ResumeAutoFollowPatternAsync(Elastic.Clients.Elasticsearch.Name name, Action configureRequest, CancellationToken cancellationToken = default) { @@ -1844,7 +1844,7 @@ public virtual Task ResumeAutoFollowPatternAsyn /// /// Resumes a follower index that has been paused /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ResumeFollowResponse ResumeFollow(ResumeFollowRequest request) @@ -1857,7 +1857,7 @@ public virtual ResumeFollowResponse ResumeFollow(ResumeFollowRequest request) /// /// Resumes a follower index that has been paused /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ResumeFollowAsync(ResumeFollowRequest request, CancellationToken cancellationToken = default) { @@ -1869,7 +1869,7 @@ public virtual Task ResumeFollowAsync(ResumeFollowRequest /// /// Resumes a follower index that has been paused /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ResumeFollowResponse ResumeFollow(ResumeFollowRequestDescriptor descriptor) @@ -1882,7 +1882,7 @@ public virtual ResumeFollowResponse ResumeFollow(ResumeFollowRequestD /// /// Resumes a follower index that has been paused /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ResumeFollowResponse ResumeFollow(Elastic.Clients.Elasticsearch.IndexName index) @@ -1896,7 +1896,7 @@ public virtual ResumeFollowResponse ResumeFollow(Elastic.Clients.Elas /// /// Resumes a follower index that has been paused /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ResumeFollowResponse ResumeFollow(Elastic.Clients.Elasticsearch.IndexName index, Action> configureRequest) @@ -1911,7 +1911,7 @@ public virtual ResumeFollowResponse ResumeFollow(Elastic.Clients.Elas /// /// Resumes a follower index that has been paused /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ResumeFollowResponse ResumeFollow() @@ -1925,7 +1925,7 @@ public virtual ResumeFollowResponse ResumeFollow() /// /// Resumes a follower index that has been paused /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ResumeFollowResponse ResumeFollow(Action> configureRequest) @@ -1940,7 +1940,7 @@ public virtual ResumeFollowResponse ResumeFollow(Action /// Resumes a follower index that has been paused /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ResumeFollowResponse ResumeFollow(ResumeFollowRequestDescriptor descriptor) @@ -1953,7 +1953,7 @@ public virtual ResumeFollowResponse ResumeFollow(ResumeFollowRequestDescriptor d /// /// Resumes a follower index that has been paused /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ResumeFollowResponse ResumeFollow(Elastic.Clients.Elasticsearch.IndexName index) @@ -1967,7 +1967,7 @@ public virtual ResumeFollowResponse ResumeFollow(Elastic.Clients.Elasticsearch.I /// /// Resumes a follower index that has been paused /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ResumeFollowResponse ResumeFollow(Elastic.Clients.Elasticsearch.IndexName index, Action configureRequest) @@ -1982,7 +1982,7 @@ public virtual ResumeFollowResponse ResumeFollow(Elastic.Clients.Elasticsearch.I /// /// Resumes a follower index that has been paused /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ResumeFollowAsync(ResumeFollowRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -1994,7 +1994,7 @@ public virtual Task ResumeFollowAsync(ResumeFol /// /// Resumes a follower index that has been paused /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ResumeFollowAsync(Elastic.Clients.Elasticsearch.IndexName index, CancellationToken cancellationToken = default) { @@ -2007,7 +2007,7 @@ public virtual Task ResumeFollowAsync(Elastic.C /// /// Resumes a follower index that has been paused /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ResumeFollowAsync(Elastic.Clients.Elasticsearch.IndexName index, Action> configureRequest, CancellationToken cancellationToken = default) { @@ -2021,7 +2021,7 @@ public virtual Task ResumeFollowAsync(Elastic.C /// /// Resumes a follower index that has been paused /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ResumeFollowAsync(CancellationToken cancellationToken = default) { @@ -2034,7 +2034,7 @@ public virtual Task ResumeFollowAsync(Cancellat /// /// Resumes a follower index that has been paused /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ResumeFollowAsync(Action> configureRequest, CancellationToken cancellationToken = default) { @@ -2048,7 +2048,7 @@ public virtual Task ResumeFollowAsync(Action /// Resumes a follower index that has been paused /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ResumeFollowAsync(ResumeFollowRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -2060,7 +2060,7 @@ public virtual Task ResumeFollowAsync(ResumeFollowRequestD /// /// Resumes a follower index that has been paused /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ResumeFollowAsync(Elastic.Clients.Elasticsearch.IndexName index, CancellationToken cancellationToken = default) { @@ -2073,7 +2073,7 @@ public virtual Task ResumeFollowAsync(Elastic.Clients.Elas /// /// Resumes a follower index that has been paused /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ResumeFollowAsync(Elastic.Clients.Elasticsearch.IndexName index, Action configureRequest, CancellationToken cancellationToken = default) { @@ -2087,7 +2087,7 @@ public virtual Task ResumeFollowAsync(Elastic.Clients.Elas /// /// Gets all stats related to cross-cluster replication. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual CcrStatsResponse Stats(CcrStatsRequest request) @@ -2100,7 +2100,7 @@ public virtual CcrStatsResponse Stats(CcrStatsRequest request) /// /// Gets all stats related to cross-cluster replication. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task StatsAsync(CcrStatsRequest request, CancellationToken cancellationToken = default) { @@ -2112,7 +2112,7 @@ public virtual Task StatsAsync(CcrStatsRequest request, Cancel /// /// Gets all stats related to cross-cluster replication. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual CcrStatsResponse Stats(CcrStatsRequestDescriptor descriptor) @@ -2125,7 +2125,7 @@ public virtual CcrStatsResponse Stats(CcrStatsRequestDescriptor descriptor) /// /// Gets all stats related to cross-cluster replication. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual CcrStatsResponse Stats() @@ -2139,7 +2139,7 @@ public virtual CcrStatsResponse Stats() /// /// Gets all stats related to cross-cluster replication. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual CcrStatsResponse Stats(Action configureRequest) @@ -2154,7 +2154,7 @@ public virtual CcrStatsResponse Stats(Action configur /// /// Gets all stats related to cross-cluster replication. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task StatsAsync(CcrStatsRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -2166,7 +2166,7 @@ public virtual Task StatsAsync(CcrStatsRequestDescriptor descr /// /// Gets all stats related to cross-cluster replication. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task StatsAsync(CancellationToken cancellationToken = default) { @@ -2179,7 +2179,7 @@ public virtual Task StatsAsync(CancellationToken cancellationT /// /// Gets all stats related to cross-cluster replication. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task StatsAsync(Action configureRequest, CancellationToken cancellationToken = default) { @@ -2193,7 +2193,7 @@ public virtual Task StatsAsync(Action /// Stops the following task associated with a follower index and removes index metadata and settings associated with cross-cluster replication. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual UnfollowResponse Unfollow(UnfollowRequest request) @@ -2206,7 +2206,7 @@ public virtual UnfollowResponse Unfollow(UnfollowRequest request) /// /// Stops the following task associated with a follower index and removes index metadata and settings associated with cross-cluster replication. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task UnfollowAsync(UnfollowRequest request, CancellationToken cancellationToken = default) { @@ -2218,7 +2218,7 @@ public virtual Task UnfollowAsync(UnfollowRequest request, Can /// /// Stops the following task associated with a follower index and removes index metadata and settings associated with cross-cluster replication. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual UnfollowResponse Unfollow(UnfollowRequestDescriptor descriptor) @@ -2231,7 +2231,7 @@ public virtual UnfollowResponse Unfollow(UnfollowRequestDescriptor /// Stops the following task associated with a follower index and removes index metadata and settings associated with cross-cluster replication. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual UnfollowResponse Unfollow(Elastic.Clients.Elasticsearch.IndexName index) @@ -2245,7 +2245,7 @@ public virtual UnfollowResponse Unfollow(Elastic.Clients.Elasticsearc /// /// Stops the following task associated with a follower index and removes index metadata and settings associated with cross-cluster replication. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual UnfollowResponse Unfollow(Elastic.Clients.Elasticsearch.IndexName index, Action> configureRequest) @@ -2260,7 +2260,7 @@ public virtual UnfollowResponse Unfollow(Elastic.Clients.Elasticsearc /// /// Stops the following task associated with a follower index and removes index metadata and settings associated with cross-cluster replication. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual UnfollowResponse Unfollow() @@ -2274,7 +2274,7 @@ public virtual UnfollowResponse Unfollow() /// /// Stops the following task associated with a follower index and removes index metadata and settings associated with cross-cluster replication. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual UnfollowResponse Unfollow(Action> configureRequest) @@ -2289,7 +2289,7 @@ public virtual UnfollowResponse Unfollow(Action /// Stops the following task associated with a follower index and removes index metadata and settings associated with cross-cluster replication. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual UnfollowResponse Unfollow(UnfollowRequestDescriptor descriptor) @@ -2302,7 +2302,7 @@ public virtual UnfollowResponse Unfollow(UnfollowRequestDescriptor descriptor) /// /// Stops the following task associated with a follower index and removes index metadata and settings associated with cross-cluster replication. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual UnfollowResponse Unfollow(Elastic.Clients.Elasticsearch.IndexName index) @@ -2316,7 +2316,7 @@ public virtual UnfollowResponse Unfollow(Elastic.Clients.Elasticsearch.IndexName /// /// Stops the following task associated with a follower index and removes index metadata and settings associated with cross-cluster replication. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual UnfollowResponse Unfollow(Elastic.Clients.Elasticsearch.IndexName index, Action configureRequest) @@ -2331,7 +2331,7 @@ public virtual UnfollowResponse Unfollow(Elastic.Clients.Elasticsearch.IndexName /// /// Stops the following task associated with a follower index and removes index metadata and settings associated with cross-cluster replication. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task UnfollowAsync(UnfollowRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -2343,7 +2343,7 @@ public virtual Task UnfollowAsync(UnfollowRequestDe /// /// Stops the following task associated with a follower index and removes index metadata and settings associated with cross-cluster replication. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task UnfollowAsync(Elastic.Clients.Elasticsearch.IndexName index, CancellationToken cancellationToken = default) { @@ -2356,7 +2356,7 @@ public virtual Task UnfollowAsync(Elastic.Clients.E /// /// Stops the following task associated with a follower index and removes index metadata and settings associated with cross-cluster replication. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task UnfollowAsync(Elastic.Clients.Elasticsearch.IndexName index, Action> configureRequest, CancellationToken cancellationToken = default) { @@ -2370,7 +2370,7 @@ public virtual Task UnfollowAsync(Elastic.Clients.E /// /// Stops the following task associated with a follower index and removes index metadata and settings associated with cross-cluster replication. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task UnfollowAsync(CancellationToken cancellationToken = default) { @@ -2383,7 +2383,7 @@ public virtual Task UnfollowAsync(CancellationToken /// /// Stops the following task associated with a follower index and removes index metadata and settings associated with cross-cluster replication. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task UnfollowAsync(Action> configureRequest, CancellationToken cancellationToken = default) { @@ -2397,7 +2397,7 @@ public virtual Task UnfollowAsync(Action /// Stops the following task associated with a follower index and removes index metadata and settings associated with cross-cluster replication. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task UnfollowAsync(UnfollowRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -2409,7 +2409,7 @@ public virtual Task UnfollowAsync(UnfollowRequestDescriptor de /// /// Stops the following task associated with a follower index and removes index metadata and settings associated with cross-cluster replication. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task UnfollowAsync(Elastic.Clients.Elasticsearch.IndexName index, CancellationToken cancellationToken = default) { @@ -2422,7 +2422,7 @@ public virtual Task UnfollowAsync(Elastic.Clients.Elasticsearc /// /// Stops the following task associated with a follower index and removes index metadata and settings associated with cross-cluster replication. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task UnfollowAsync(Elastic.Clients.Elasticsearch.IndexName index, Action configureRequest, CancellationToken cancellationToken = default) { diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.Cluster.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.Cluster.g.cs index b7c03eaef6a..2bf54cd7d80 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.Cluster.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.Cluster.g.cs @@ -43,7 +43,7 @@ internal ClusterNamespacedClient(ElasticsearchClient client) : base(client) /// /// Provides explanations for shard allocations in the cluster. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual AllocationExplainResponse AllocationExplain(AllocationExplainRequest request) @@ -56,7 +56,7 @@ public virtual AllocationExplainResponse AllocationExplain(AllocationExplainRequ /// /// Provides explanations for shard allocations in the cluster. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task AllocationExplainAsync(AllocationExplainRequest request, CancellationToken cancellationToken = default) { @@ -68,7 +68,7 @@ public virtual Task AllocationExplainAsync(Allocation /// /// Provides explanations for shard allocations in the cluster. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual AllocationExplainResponse AllocationExplain(AllocationExplainRequestDescriptor descriptor) @@ -81,7 +81,7 @@ public virtual AllocationExplainResponse AllocationExplain(AllocationExplainRequ /// /// Provides explanations for shard allocations in the cluster. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual AllocationExplainResponse AllocationExplain() @@ -95,7 +95,7 @@ public virtual AllocationExplainResponse AllocationExplain() /// /// Provides explanations for shard allocations in the cluster. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual AllocationExplainResponse AllocationExplain(Action configureRequest) @@ -110,7 +110,7 @@ public virtual AllocationExplainResponse AllocationExplain(Action /// Provides explanations for shard allocations in the cluster. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task AllocationExplainAsync(AllocationExplainRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -122,7 +122,7 @@ public virtual Task AllocationExplainAsync(Allocation /// /// Provides explanations for shard allocations in the cluster. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task AllocationExplainAsync(CancellationToken cancellationToken = default) { @@ -135,7 +135,7 @@ public virtual Task AllocationExplainAsync(Cancellati /// /// Provides explanations for shard allocations in the cluster. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task AllocationExplainAsync(Action configureRequest, CancellationToken cancellationToken = default) { @@ -151,7 +151,7 @@ public virtual Task AllocationExplainAsync(Action - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual DeleteComponentTemplateResponse DeleteComponentTemplate(DeleteComponentTemplateRequest request) @@ -166,7 +166,7 @@ public virtual DeleteComponentTemplateResponse DeleteComponentTemplate(DeleteCom /// Deletes component templates. /// Component templates are building blocks for constructing index templates that specify index mappings, settings, and aliases. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteComponentTemplateAsync(DeleteComponentTemplateRequest request, CancellationToken cancellationToken = default) { @@ -180,7 +180,7 @@ public virtual Task DeleteComponentTemplateAsyn /// Deletes component templates. /// Component templates are building blocks for constructing index templates that specify index mappings, settings, and aliases. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual DeleteComponentTemplateResponse DeleteComponentTemplate(DeleteComponentTemplateRequestDescriptor descriptor) @@ -195,7 +195,7 @@ public virtual DeleteComponentTemplateResponse DeleteComponentTemplate(DeleteCom /// Deletes component templates. /// Component templates are building blocks for constructing index templates that specify index mappings, settings, and aliases. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual DeleteComponentTemplateResponse DeleteComponentTemplate(Elastic.Clients.Elasticsearch.Names name) @@ -211,7 +211,7 @@ public virtual DeleteComponentTemplateResponse DeleteComponentTemplate(Elastic.C /// Deletes component templates. /// Component templates are building blocks for constructing index templates that specify index mappings, settings, and aliases. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual DeleteComponentTemplateResponse DeleteComponentTemplate(Elastic.Clients.Elasticsearch.Names name, Action configureRequest) @@ -228,7 +228,7 @@ public virtual DeleteComponentTemplateResponse DeleteComponentTemplate(Elastic.C /// Deletes component templates. /// Component templates are building blocks for constructing index templates that specify index mappings, settings, and aliases. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteComponentTemplateAsync(DeleteComponentTemplateRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -242,7 +242,7 @@ public virtual Task DeleteComponentTemplateAsyn /// Deletes component templates. /// Component templates are building blocks for constructing index templates that specify index mappings, settings, and aliases. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteComponentTemplateAsync(Elastic.Clients.Elasticsearch.Names name, CancellationToken cancellationToken = default) { @@ -257,7 +257,7 @@ public virtual Task DeleteComponentTemplateAsyn /// Deletes component templates. /// Component templates are building blocks for constructing index templates that specify index mappings, settings, and aliases. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteComponentTemplateAsync(Elastic.Clients.Elasticsearch.Names name, Action configureRequest, CancellationToken cancellationToken = default) { @@ -271,7 +271,7 @@ public virtual Task DeleteComponentTemplateAsyn /// /// Clears cluster voting config exclusions. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual DeleteVotingConfigExclusionsResponse DeleteVotingConfigExclusions(DeleteVotingConfigExclusionsRequest request) @@ -284,7 +284,7 @@ public virtual DeleteVotingConfigExclusionsResponse DeleteVotingConfigExclusions /// /// Clears cluster voting config exclusions. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteVotingConfigExclusionsAsync(DeleteVotingConfigExclusionsRequest request, CancellationToken cancellationToken = default) { @@ -296,7 +296,7 @@ public virtual Task DeleteVotingConfigExcl /// /// Clears cluster voting config exclusions. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual DeleteVotingConfigExclusionsResponse DeleteVotingConfigExclusions(DeleteVotingConfigExclusionsRequestDescriptor descriptor) @@ -309,7 +309,7 @@ public virtual DeleteVotingConfigExclusionsResponse DeleteVotingConfigExclusions /// /// Clears cluster voting config exclusions. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual DeleteVotingConfigExclusionsResponse DeleteVotingConfigExclusions() @@ -323,7 +323,7 @@ public virtual DeleteVotingConfigExclusionsResponse DeleteVotingConfigExclusions /// /// Clears cluster voting config exclusions. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual DeleteVotingConfigExclusionsResponse DeleteVotingConfigExclusions(Action configureRequest) @@ -338,7 +338,7 @@ public virtual DeleteVotingConfigExclusionsResponse DeleteVotingConfigExclusions /// /// Clears cluster voting config exclusions. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteVotingConfigExclusionsAsync(DeleteVotingConfigExclusionsRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -350,7 +350,7 @@ public virtual Task DeleteVotingConfigExcl /// /// Clears cluster voting config exclusions. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteVotingConfigExclusionsAsync(CancellationToken cancellationToken = default) { @@ -363,7 +363,7 @@ public virtual Task DeleteVotingConfigExcl /// /// Clears cluster voting config exclusions. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteVotingConfigExclusionsAsync(Action configureRequest, CancellationToken cancellationToken = default) { @@ -378,7 +378,7 @@ public virtual Task DeleteVotingConfigExcl /// Check component templates. /// Returns information about whether a particular component template exists. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ExistsComponentTemplateResponse ExistsComponentTemplate(ExistsComponentTemplateRequest request) @@ -392,7 +392,7 @@ public virtual ExistsComponentTemplateResponse ExistsComponentTemplate(ExistsCom /// Check component templates. /// Returns information about whether a particular component template exists. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ExistsComponentTemplateAsync(ExistsComponentTemplateRequest request, CancellationToken cancellationToken = default) { @@ -405,7 +405,7 @@ public virtual Task ExistsComponentTemplateAsyn /// Check component templates. /// Returns information about whether a particular component template exists. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ExistsComponentTemplateResponse ExistsComponentTemplate(ExistsComponentTemplateRequestDescriptor descriptor) @@ -419,7 +419,7 @@ public virtual ExistsComponentTemplateResponse ExistsComponentTemplate(ExistsCom /// Check component templates. /// Returns information about whether a particular component template exists. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ExistsComponentTemplateResponse ExistsComponentTemplate(Elastic.Clients.Elasticsearch.Names name) @@ -434,7 +434,7 @@ public virtual ExistsComponentTemplateResponse ExistsComponentTemplate(Elastic.C /// Check component templates. /// Returns information about whether a particular component template exists. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ExistsComponentTemplateResponse ExistsComponentTemplate(Elastic.Clients.Elasticsearch.Names name, Action configureRequest) @@ -450,7 +450,7 @@ public virtual ExistsComponentTemplateResponse ExistsComponentTemplate(Elastic.C /// Check component templates. /// Returns information about whether a particular component template exists. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ExistsComponentTemplateAsync(ExistsComponentTemplateRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -463,7 +463,7 @@ public virtual Task ExistsComponentTemplateAsyn /// Check component templates. /// Returns information about whether a particular component template exists. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ExistsComponentTemplateAsync(Elastic.Clients.Elasticsearch.Names name, CancellationToken cancellationToken = default) { @@ -477,7 +477,7 @@ public virtual Task ExistsComponentTemplateAsyn /// Check component templates. /// Returns information about whether a particular component template exists. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ExistsComponentTemplateAsync(Elastic.Clients.Elasticsearch.Names name, Action configureRequest, CancellationToken cancellationToken = default) { @@ -492,7 +492,7 @@ public virtual Task ExistsComponentTemplateAsyn /// Get component templates. /// Retrieves information about component templates. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual GetComponentTemplateResponse GetComponentTemplate(GetComponentTemplateRequest request) @@ -506,7 +506,7 @@ public virtual GetComponentTemplateResponse GetComponentTemplate(GetComponentTem /// Get component templates. /// Retrieves information about component templates. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task GetComponentTemplateAsync(GetComponentTemplateRequest request, CancellationToken cancellationToken = default) { @@ -519,7 +519,7 @@ public virtual Task GetComponentTemplateAsync(GetC /// Get component templates. /// Retrieves information about component templates. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual GetComponentTemplateResponse GetComponentTemplate(GetComponentTemplateRequestDescriptor descriptor) @@ -533,7 +533,7 @@ public virtual GetComponentTemplateResponse GetComponentTemplate(GetComponentTem /// Get component templates. /// Retrieves information about component templates. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual GetComponentTemplateResponse GetComponentTemplate(Elastic.Clients.Elasticsearch.Name? name) @@ -548,7 +548,7 @@ public virtual GetComponentTemplateResponse GetComponentTemplate(Elastic.Clients /// Get component templates. /// Retrieves information about component templates. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual GetComponentTemplateResponse GetComponentTemplate(Elastic.Clients.Elasticsearch.Name? name, Action configureRequest) @@ -564,7 +564,7 @@ public virtual GetComponentTemplateResponse GetComponentTemplate(Elastic.Clients /// Get component templates. /// Retrieves information about component templates. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual GetComponentTemplateResponse GetComponentTemplate() @@ -579,7 +579,7 @@ public virtual GetComponentTemplateResponse GetComponentTemplate() /// Get component templates. /// Retrieves information about component templates. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual GetComponentTemplateResponse GetComponentTemplate(Action configureRequest) @@ -595,7 +595,7 @@ public virtual GetComponentTemplateResponse GetComponentTemplate(Action - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task GetComponentTemplateAsync(GetComponentTemplateRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -608,7 +608,7 @@ public virtual Task GetComponentTemplateAsync(GetC /// Get component templates. /// Retrieves information about component templates. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task GetComponentTemplateAsync(Elastic.Clients.Elasticsearch.Name? name, CancellationToken cancellationToken = default) { @@ -622,7 +622,7 @@ public virtual Task GetComponentTemplateAsync(Elas /// Get component templates. /// Retrieves information about component templates. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task GetComponentTemplateAsync(Elastic.Clients.Elasticsearch.Name? name, Action configureRequest, CancellationToken cancellationToken = default) { @@ -637,7 +637,7 @@ public virtual Task GetComponentTemplateAsync(Elas /// Get component templates. /// Retrieves information about component templates. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task GetComponentTemplateAsync(CancellationToken cancellationToken = default) { @@ -651,7 +651,7 @@ public virtual Task GetComponentTemplateAsync(Canc /// Get component templates. /// Retrieves information about component templates. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task GetComponentTemplateAsync(Action configureRequest, CancellationToken cancellationToken = default) { @@ -666,7 +666,7 @@ public virtual Task GetComponentTemplateAsync(Acti /// Returns cluster-wide settings. /// By default, it returns only settings that have been explicitly defined. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual GetClusterSettingsResponse GetSettings(GetClusterSettingsRequest request) @@ -680,7 +680,7 @@ public virtual GetClusterSettingsResponse GetSettings(GetClusterSettingsRequest /// Returns cluster-wide settings. /// By default, it returns only settings that have been explicitly defined. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task GetSettingsAsync(GetClusterSettingsRequest request, CancellationToken cancellationToken = default) { @@ -693,7 +693,7 @@ public virtual Task GetSettingsAsync(GetClusterSetti /// Returns cluster-wide settings. /// By default, it returns only settings that have been explicitly defined. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual GetClusterSettingsResponse GetSettings(GetClusterSettingsRequestDescriptor descriptor) @@ -707,7 +707,7 @@ public virtual GetClusterSettingsResponse GetSettings(GetClusterSettingsRequestD /// Returns cluster-wide settings. /// By default, it returns only settings that have been explicitly defined. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual GetClusterSettingsResponse GetSettings() @@ -722,7 +722,7 @@ public virtual GetClusterSettingsResponse GetSettings() /// Returns cluster-wide settings. /// By default, it returns only settings that have been explicitly defined. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual GetClusterSettingsResponse GetSettings(Action configureRequest) @@ -738,7 +738,7 @@ public virtual GetClusterSettingsResponse GetSettings(Action - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task GetSettingsAsync(GetClusterSettingsRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -751,7 +751,7 @@ public virtual Task GetSettingsAsync(GetClusterSetti /// Returns cluster-wide settings. /// By default, it returns only settings that have been explicitly defined. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task GetSettingsAsync(CancellationToken cancellationToken = default) { @@ -765,7 +765,7 @@ public virtual Task GetSettingsAsync(CancellationTok /// Returns cluster-wide settings. /// By default, it returns only settings that have been explicitly defined. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task GetSettingsAsync(Action configureRequest, CancellationToken cancellationToken = default) { @@ -780,7 +780,7 @@ public virtual Task GetSettingsAsync(Action - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual HealthResponse Health(HealthRequest request) @@ -794,7 +794,7 @@ public virtual HealthResponse Health(HealthRequest request) /// The cluster health API returns a simple status on the health of the cluster. You can also use the API to get the health status of only specified data streams and indices. For data streams, the API retrieves the health status of the stream’s backing indices. /// The cluster health status is: green, yellow or red. On the shard level, a red status indicates that the specific shard is not allocated in the cluster, yellow means that the primary shard is allocated but replicas are not, and green means that all shards are allocated. The index level status is controlled by the worst shard status. The cluster status is controlled by the worst index status. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task HealthAsync(HealthRequest request, CancellationToken cancellationToken = default) { @@ -807,7 +807,7 @@ public virtual Task HealthAsync(HealthRequest request, Cancellat /// The cluster health API returns a simple status on the health of the cluster. You can also use the API to get the health status of only specified data streams and indices. For data streams, the API retrieves the health status of the stream’s backing indices. /// The cluster health status is: green, yellow or red. On the shard level, a red status indicates that the specific shard is not allocated in the cluster, yellow means that the primary shard is allocated but replicas are not, and green means that all shards are allocated. The index level status is controlled by the worst shard status. The cluster status is controlled by the worst index status. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual HealthResponse Health(HealthRequestDescriptor descriptor) @@ -821,7 +821,7 @@ public virtual HealthResponse Health(HealthRequestDescriptor - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual HealthResponse Health(Elastic.Clients.Elasticsearch.Indices? indices) @@ -836,7 +836,7 @@ public virtual HealthResponse Health(Elastic.Clients.Elasticsearch.In /// The cluster health API returns a simple status on the health of the cluster. You can also use the API to get the health status of only specified data streams and indices. For data streams, the API retrieves the health status of the stream’s backing indices. /// The cluster health status is: green, yellow or red. On the shard level, a red status indicates that the specific shard is not allocated in the cluster, yellow means that the primary shard is allocated but replicas are not, and green means that all shards are allocated. The index level status is controlled by the worst shard status. The cluster status is controlled by the worst index status. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual HealthResponse Health(Elastic.Clients.Elasticsearch.Indices? indices, Action> configureRequest) @@ -852,7 +852,7 @@ public virtual HealthResponse Health(Elastic.Clients.Elasticsearch.In /// The cluster health API returns a simple status on the health of the cluster. You can also use the API to get the health status of only specified data streams and indices. For data streams, the API retrieves the health status of the stream’s backing indices. /// The cluster health status is: green, yellow or red. On the shard level, a red status indicates that the specific shard is not allocated in the cluster, yellow means that the primary shard is allocated but replicas are not, and green means that all shards are allocated. The index level status is controlled by the worst shard status. The cluster status is controlled by the worst index status. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual HealthResponse Health() @@ -867,7 +867,7 @@ public virtual HealthResponse Health() /// The cluster health API returns a simple status on the health of the cluster. You can also use the API to get the health status of only specified data streams and indices. For data streams, the API retrieves the health status of the stream’s backing indices. /// The cluster health status is: green, yellow or red. On the shard level, a red status indicates that the specific shard is not allocated in the cluster, yellow means that the primary shard is allocated but replicas are not, and green means that all shards are allocated. The index level status is controlled by the worst shard status. The cluster status is controlled by the worst index status. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual HealthResponse Health(Action> configureRequest) @@ -883,7 +883,7 @@ public virtual HealthResponse Health(Action - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual HealthResponse Health(HealthRequestDescriptor descriptor) @@ -897,7 +897,7 @@ public virtual HealthResponse Health(HealthRequestDescriptor descriptor) /// The cluster health API returns a simple status on the health of the cluster. You can also use the API to get the health status of only specified data streams and indices. For data streams, the API retrieves the health status of the stream’s backing indices. /// The cluster health status is: green, yellow or red. On the shard level, a red status indicates that the specific shard is not allocated in the cluster, yellow means that the primary shard is allocated but replicas are not, and green means that all shards are allocated. The index level status is controlled by the worst shard status. The cluster status is controlled by the worst index status. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual HealthResponse Health(Elastic.Clients.Elasticsearch.Indices? indices) @@ -912,7 +912,7 @@ public virtual HealthResponse Health(Elastic.Clients.Elasticsearch.Indices? indi /// The cluster health API returns a simple status on the health of the cluster. You can also use the API to get the health status of only specified data streams and indices. For data streams, the API retrieves the health status of the stream’s backing indices. /// The cluster health status is: green, yellow or red. On the shard level, a red status indicates that the specific shard is not allocated in the cluster, yellow means that the primary shard is allocated but replicas are not, and green means that all shards are allocated. The index level status is controlled by the worst shard status. The cluster status is controlled by the worst index status. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual HealthResponse Health(Elastic.Clients.Elasticsearch.Indices? indices, Action configureRequest) @@ -928,7 +928,7 @@ public virtual HealthResponse Health(Elastic.Clients.Elasticsearch.Indices? indi /// The cluster health API returns a simple status on the health of the cluster. You can also use the API to get the health status of only specified data streams and indices. For data streams, the API retrieves the health status of the stream’s backing indices. /// The cluster health status is: green, yellow or red. On the shard level, a red status indicates that the specific shard is not allocated in the cluster, yellow means that the primary shard is allocated but replicas are not, and green means that all shards are allocated. The index level status is controlled by the worst shard status. The cluster status is controlled by the worst index status. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual HealthResponse Health() @@ -943,7 +943,7 @@ public virtual HealthResponse Health() /// The cluster health API returns a simple status on the health of the cluster. You can also use the API to get the health status of only specified data streams and indices. For data streams, the API retrieves the health status of the stream’s backing indices. /// The cluster health status is: green, yellow or red. On the shard level, a red status indicates that the specific shard is not allocated in the cluster, yellow means that the primary shard is allocated but replicas are not, and green means that all shards are allocated. The index level status is controlled by the worst shard status. The cluster status is controlled by the worst index status. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual HealthResponse Health(Action configureRequest) @@ -959,7 +959,7 @@ public virtual HealthResponse Health(Action configureRe /// The cluster health API returns a simple status on the health of the cluster. You can also use the API to get the health status of only specified data streams and indices. For data streams, the API retrieves the health status of the stream’s backing indices. /// The cluster health status is: green, yellow or red. On the shard level, a red status indicates that the specific shard is not allocated in the cluster, yellow means that the primary shard is allocated but replicas are not, and green means that all shards are allocated. The index level status is controlled by the worst shard status. The cluster status is controlled by the worst index status. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task HealthAsync(HealthRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -972,7 +972,7 @@ public virtual Task HealthAsync(HealthRequestDescript /// The cluster health API returns a simple status on the health of the cluster. You can also use the API to get the health status of only specified data streams and indices. For data streams, the API retrieves the health status of the stream’s backing indices. /// The cluster health status is: green, yellow or red. On the shard level, a red status indicates that the specific shard is not allocated in the cluster, yellow means that the primary shard is allocated but replicas are not, and green means that all shards are allocated. The index level status is controlled by the worst shard status. The cluster status is controlled by the worst index status. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task HealthAsync(Elastic.Clients.Elasticsearch.Indices? indices, CancellationToken cancellationToken = default) { @@ -986,7 +986,7 @@ public virtual Task HealthAsync(Elastic.Clients.Elast /// The cluster health API returns a simple status on the health of the cluster. You can also use the API to get the health status of only specified data streams and indices. For data streams, the API retrieves the health status of the stream’s backing indices. /// The cluster health status is: green, yellow or red. On the shard level, a red status indicates that the specific shard is not allocated in the cluster, yellow means that the primary shard is allocated but replicas are not, and green means that all shards are allocated. The index level status is controlled by the worst shard status. The cluster status is controlled by the worst index status. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task HealthAsync(Elastic.Clients.Elasticsearch.Indices? indices, Action> configureRequest, CancellationToken cancellationToken = default) { @@ -1001,7 +1001,7 @@ public virtual Task HealthAsync(Elastic.Clients.Elast /// The cluster health API returns a simple status on the health of the cluster. You can also use the API to get the health status of only specified data streams and indices. For data streams, the API retrieves the health status of the stream’s backing indices. /// The cluster health status is: green, yellow or red. On the shard level, a red status indicates that the specific shard is not allocated in the cluster, yellow means that the primary shard is allocated but replicas are not, and green means that all shards are allocated. The index level status is controlled by the worst shard status. The cluster status is controlled by the worst index status. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task HealthAsync(CancellationToken cancellationToken = default) { @@ -1015,7 +1015,7 @@ public virtual Task HealthAsync(CancellationToken can /// The cluster health API returns a simple status on the health of the cluster. You can also use the API to get the health status of only specified data streams and indices. For data streams, the API retrieves the health status of the stream’s backing indices. /// The cluster health status is: green, yellow or red. On the shard level, a red status indicates that the specific shard is not allocated in the cluster, yellow means that the primary shard is allocated but replicas are not, and green means that all shards are allocated. The index level status is controlled by the worst shard status. The cluster status is controlled by the worst index status. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task HealthAsync(Action> configureRequest, CancellationToken cancellationToken = default) { @@ -1030,7 +1030,7 @@ public virtual Task HealthAsync(Action - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task HealthAsync(HealthRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -1043,7 +1043,7 @@ public virtual Task HealthAsync(HealthRequestDescriptor descript /// The cluster health API returns a simple status on the health of the cluster. You can also use the API to get the health status of only specified data streams and indices. For data streams, the API retrieves the health status of the stream’s backing indices. /// The cluster health status is: green, yellow or red. On the shard level, a red status indicates that the specific shard is not allocated in the cluster, yellow means that the primary shard is allocated but replicas are not, and green means that all shards are allocated. The index level status is controlled by the worst shard status. The cluster status is controlled by the worst index status. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task HealthAsync(Elastic.Clients.Elasticsearch.Indices? indices, CancellationToken cancellationToken = default) { @@ -1057,7 +1057,7 @@ public virtual Task HealthAsync(Elastic.Clients.Elasticsearch.In /// The cluster health API returns a simple status on the health of the cluster. You can also use the API to get the health status of only specified data streams and indices. For data streams, the API retrieves the health status of the stream’s backing indices. /// The cluster health status is: green, yellow or red. On the shard level, a red status indicates that the specific shard is not allocated in the cluster, yellow means that the primary shard is allocated but replicas are not, and green means that all shards are allocated. The index level status is controlled by the worst shard status. The cluster status is controlled by the worst index status. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task HealthAsync(Elastic.Clients.Elasticsearch.Indices? indices, Action configureRequest, CancellationToken cancellationToken = default) { @@ -1072,7 +1072,7 @@ public virtual Task HealthAsync(Elastic.Clients.Elasticsearch.In /// The cluster health API returns a simple status on the health of the cluster. You can also use the API to get the health status of only specified data streams and indices. For data streams, the API retrieves the health status of the stream’s backing indices. /// The cluster health status is: green, yellow or red. On the shard level, a red status indicates that the specific shard is not allocated in the cluster, yellow means that the primary shard is allocated but replicas are not, and green means that all shards are allocated. The index level status is controlled by the worst shard status. The cluster status is controlled by the worst index status. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task HealthAsync(CancellationToken cancellationToken = default) { @@ -1086,7 +1086,7 @@ public virtual Task HealthAsync(CancellationToken cancellationTo /// The cluster health API returns a simple status on the health of the cluster. You can also use the API to get the health status of only specified data streams and indices. For data streams, the API retrieves the health status of the stream’s backing indices. /// The cluster health status is: green, yellow or red. On the shard level, a red status indicates that the specific shard is not allocated in the cluster, yellow means that the primary shard is allocated but replicas are not, and green means that all shards are allocated. The index level status is controlled by the worst shard status. The cluster status is controlled by the worst index status. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task HealthAsync(Action configureRequest, CancellationToken cancellationToken = default) { @@ -1101,7 +1101,7 @@ public virtual Task HealthAsync(Action /// Get cluster info. /// Returns basic information about the cluster. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ClusterInfoResponse Info(ClusterInfoRequest request) @@ -1115,7 +1115,7 @@ public virtual ClusterInfoResponse Info(ClusterInfoRequest request) /// Get cluster info. /// Returns basic information about the cluster. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task InfoAsync(ClusterInfoRequest request, CancellationToken cancellationToken = default) { @@ -1128,7 +1128,7 @@ public virtual Task InfoAsync(ClusterInfoRequest request, C /// Get cluster info. /// Returns basic information about the cluster. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ClusterInfoResponse Info(ClusterInfoRequestDescriptor descriptor) @@ -1142,7 +1142,7 @@ public virtual ClusterInfoResponse Info(ClusterInfoRequestDescriptor descriptor) /// Get cluster info. /// Returns basic information about the cluster. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ClusterInfoResponse Info(IReadOnlyCollection target) @@ -1157,7 +1157,7 @@ public virtual ClusterInfoResponse Info(IReadOnlyCollection - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ClusterInfoResponse Info(IReadOnlyCollection target, Action configureRequest) @@ -1173,7 +1173,7 @@ public virtual ClusterInfoResponse Info(IReadOnlyCollection - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task InfoAsync(ClusterInfoRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -1186,7 +1186,7 @@ public virtual Task InfoAsync(ClusterInfoRequestDescriptor /// Get cluster info. /// Returns basic information about the cluster. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task InfoAsync(IReadOnlyCollection target, CancellationToken cancellationToken = default) { @@ -1200,7 +1200,7 @@ public virtual Task InfoAsync(IReadOnlyCollection - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task InfoAsync(IReadOnlyCollection target, Action configureRequest, CancellationToken cancellationToken = default) { @@ -1217,7 +1217,7 @@ public virtual Task InfoAsync(IReadOnlyCollection - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual PendingTasksResponse PendingTasks(PendingTasksRequest request) @@ -1233,7 +1233,7 @@ public virtual PendingTasksResponse PendingTasks(PendingTasksRequest request) /// These are distinct from the tasks reported by the Task Management API which include periodic tasks and tasks initiated by the user, such as node stats, search queries, or create index requests. /// However, if a user-initiated task such as a create index command causes a cluster state update, the activity of this task might be reported by both task api and pending cluster tasks API. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PendingTasksAsync(PendingTasksRequest request, CancellationToken cancellationToken = default) { @@ -1248,7 +1248,7 @@ public virtual Task PendingTasksAsync(PendingTasksRequest /// These are distinct from the tasks reported by the Task Management API which include periodic tasks and tasks initiated by the user, such as node stats, search queries, or create index requests. /// However, if a user-initiated task such as a create index command causes a cluster state update, the activity of this task might be reported by both task api and pending cluster tasks API. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual PendingTasksResponse PendingTasks(PendingTasksRequestDescriptor descriptor) @@ -1264,7 +1264,7 @@ public virtual PendingTasksResponse PendingTasks(PendingTasksRequestDescriptor d /// These are distinct from the tasks reported by the Task Management API which include periodic tasks and tasks initiated by the user, such as node stats, search queries, or create index requests. /// However, if a user-initiated task such as a create index command causes a cluster state update, the activity of this task might be reported by both task api and pending cluster tasks API. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual PendingTasksResponse PendingTasks() @@ -1281,7 +1281,7 @@ public virtual PendingTasksResponse PendingTasks() /// These are distinct from the tasks reported by the Task Management API which include periodic tasks and tasks initiated by the user, such as node stats, search queries, or create index requests. /// However, if a user-initiated task such as a create index command causes a cluster state update, the activity of this task might be reported by both task api and pending cluster tasks API. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual PendingTasksResponse PendingTasks(Action configureRequest) @@ -1299,7 +1299,7 @@ public virtual PendingTasksResponse PendingTasks(Action - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PendingTasksAsync(PendingTasksRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -1314,7 +1314,7 @@ public virtual Task PendingTasksAsync(PendingTasksRequestD /// These are distinct from the tasks reported by the Task Management API which include periodic tasks and tasks initiated by the user, such as node stats, search queries, or create index requests. /// However, if a user-initiated task such as a create index command causes a cluster state update, the activity of this task might be reported by both task api and pending cluster tasks API. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PendingTasksAsync(CancellationToken cancellationToken = default) { @@ -1330,7 +1330,7 @@ public virtual Task PendingTasksAsync(CancellationToken ca /// These are distinct from the tasks reported by the Task Management API which include periodic tasks and tasks initiated by the user, such as node stats, search queries, or create index requests. /// However, if a user-initiated task such as a create index command causes a cluster state update, the activity of this task might be reported by both task api and pending cluster tasks API. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PendingTasksAsync(Action configureRequest, CancellationToken cancellationToken = default) { @@ -1344,7 +1344,7 @@ public virtual Task PendingTasksAsync(Action /// Updates the cluster voting config exclusions by node ids or node names. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual PostVotingConfigExclusionsResponse PostVotingConfigExclusions(PostVotingConfigExclusionsRequest request) @@ -1357,7 +1357,7 @@ public virtual PostVotingConfigExclusionsResponse PostVotingConfigExclusions(Pos /// /// Updates the cluster voting config exclusions by node ids or node names. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PostVotingConfigExclusionsAsync(PostVotingConfigExclusionsRequest request, CancellationToken cancellationToken = default) { @@ -1369,7 +1369,7 @@ public virtual Task PostVotingConfigExclusio /// /// Updates the cluster voting config exclusions by node ids or node names. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual PostVotingConfigExclusionsResponse PostVotingConfigExclusions(PostVotingConfigExclusionsRequestDescriptor descriptor) @@ -1382,7 +1382,7 @@ public virtual PostVotingConfigExclusionsResponse PostVotingConfigExclusions(Pos /// /// Updates the cluster voting config exclusions by node ids or node names. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual PostVotingConfigExclusionsResponse PostVotingConfigExclusions() @@ -1396,7 +1396,7 @@ public virtual PostVotingConfigExclusionsResponse PostVotingConfigExclusions() /// /// Updates the cluster voting config exclusions by node ids or node names. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual PostVotingConfigExclusionsResponse PostVotingConfigExclusions(Action configureRequest) @@ -1411,7 +1411,7 @@ public virtual PostVotingConfigExclusionsResponse PostVotingConfigExclusions(Act /// /// Updates the cluster voting config exclusions by node ids or node names. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PostVotingConfigExclusionsAsync(PostVotingConfigExclusionsRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -1423,7 +1423,7 @@ public virtual Task PostVotingConfigExclusio /// /// Updates the cluster voting config exclusions by node ids or node names. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PostVotingConfigExclusionsAsync(CancellationToken cancellationToken = default) { @@ -1436,7 +1436,7 @@ public virtual Task PostVotingConfigExclusio /// /// Updates the cluster voting config exclusions by node ids or node names. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PostVotingConfigExclusionsAsync(Action configureRequest, CancellationToken cancellationToken = default) { @@ -1469,7 +1469,7 @@ public virtual Task PostVotingConfigExclusio /// You can use C-style /* *\/ block comments in component templates. /// You can include comments anywhere in the request body except before the opening curly bracket. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual PutComponentTemplateResponse PutComponentTemplate(PutComponentTemplateRequest request) @@ -1501,7 +1501,7 @@ public virtual PutComponentTemplateResponse PutComponentTemplate(PutComponentTem /// You can use C-style /* *\/ block comments in component templates. /// You can include comments anywhere in the request body except before the opening curly bracket. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PutComponentTemplateAsync(PutComponentTemplateRequest request, CancellationToken cancellationToken = default) { @@ -1532,7 +1532,7 @@ public virtual Task PutComponentTemplateAsync(PutC /// You can use C-style /* *\/ block comments in component templates. /// You can include comments anywhere in the request body except before the opening curly bracket. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual PutComponentTemplateResponse PutComponentTemplate(PutComponentTemplateRequestDescriptor descriptor) @@ -1564,7 +1564,7 @@ public virtual PutComponentTemplateResponse PutComponentTemplate(PutC /// You can use C-style /* *\/ block comments in component templates. /// You can include comments anywhere in the request body except before the opening curly bracket. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual PutComponentTemplateResponse PutComponentTemplate(Elastic.Clients.Elasticsearch.Name name) @@ -1597,7 +1597,7 @@ public virtual PutComponentTemplateResponse PutComponentTemplate(Elas /// You can use C-style /* *\/ block comments in component templates. /// You can include comments anywhere in the request body except before the opening curly bracket. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual PutComponentTemplateResponse PutComponentTemplate(Elastic.Clients.Elasticsearch.Name name, Action> configureRequest) @@ -1631,7 +1631,7 @@ public virtual PutComponentTemplateResponse PutComponentTemplate(Elas /// You can use C-style /* *\/ block comments in component templates. /// You can include comments anywhere in the request body except before the opening curly bracket. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual PutComponentTemplateResponse PutComponentTemplate(PutComponentTemplateRequestDescriptor descriptor) @@ -1663,7 +1663,7 @@ public virtual PutComponentTemplateResponse PutComponentTemplate(PutComponentTem /// You can use C-style /* *\/ block comments in component templates. /// You can include comments anywhere in the request body except before the opening curly bracket. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual PutComponentTemplateResponse PutComponentTemplate(Elastic.Clients.Elasticsearch.Name name) @@ -1696,7 +1696,7 @@ public virtual PutComponentTemplateResponse PutComponentTemplate(Elastic.Clients /// You can use C-style /* *\/ block comments in component templates. /// You can include comments anywhere in the request body except before the opening curly bracket. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual PutComponentTemplateResponse PutComponentTemplate(Elastic.Clients.Elasticsearch.Name name, Action configureRequest) @@ -1730,7 +1730,7 @@ public virtual PutComponentTemplateResponse PutComponentTemplate(Elastic.Clients /// You can use C-style /* *\/ block comments in component templates. /// You can include comments anywhere in the request body except before the opening curly bracket. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PutComponentTemplateAsync(PutComponentTemplateRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -1761,7 +1761,7 @@ public virtual Task PutComponentTemplateAsync/* *\/ block comments in component templates. /// You can include comments anywhere in the request body except before the opening curly bracket. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PutComponentTemplateAsync(Elastic.Clients.Elasticsearch.Name name, CancellationToken cancellationToken = default) { @@ -1793,7 +1793,7 @@ public virtual Task PutComponentTemplateAsync/* *\/ block comments in component templates. /// You can include comments anywhere in the request body except before the opening curly bracket. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PutComponentTemplateAsync(Elastic.Clients.Elasticsearch.Name name, Action> configureRequest, CancellationToken cancellationToken = default) { @@ -1826,7 +1826,7 @@ public virtual Task PutComponentTemplateAsync/* *\/ block comments in component templates. /// You can include comments anywhere in the request body except before the opening curly bracket. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PutComponentTemplateAsync(PutComponentTemplateRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -1857,7 +1857,7 @@ public virtual Task PutComponentTemplateAsync(PutC /// You can use C-style /* *\/ block comments in component templates. /// You can include comments anywhere in the request body except before the opening curly bracket. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PutComponentTemplateAsync(Elastic.Clients.Elasticsearch.Name name, CancellationToken cancellationToken = default) { @@ -1889,7 +1889,7 @@ public virtual Task PutComponentTemplateAsync(Elas /// You can use C-style /* *\/ block comments in component templates. /// You can include comments anywhere in the request body except before the opening curly bracket. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PutComponentTemplateAsync(Elastic.Clients.Elasticsearch.Name name, Action configureRequest, CancellationToken cancellationToken = default) { @@ -1904,7 +1904,7 @@ public virtual Task PutComponentTemplateAsync(Elas /// Returns cluster statistics. /// It returns basic index metrics (shard numbers, store size, memory usage) and information about the current nodes that form the cluster (number, roles, os, jvm versions, memory usage, cpu and installed plugins). /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ClusterStatsResponse Stats(ClusterStatsRequest request) @@ -1918,7 +1918,7 @@ public virtual ClusterStatsResponse Stats(ClusterStatsRequest request) /// Returns cluster statistics. /// It returns basic index metrics (shard numbers, store size, memory usage) and information about the current nodes that form the cluster (number, roles, os, jvm versions, memory usage, cpu and installed plugins). /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task StatsAsync(ClusterStatsRequest request, CancellationToken cancellationToken = default) { @@ -1931,7 +1931,7 @@ public virtual Task StatsAsync(ClusterStatsRequest request /// Returns cluster statistics. /// It returns basic index metrics (shard numbers, store size, memory usage) and information about the current nodes that form the cluster (number, roles, os, jvm versions, memory usage, cpu and installed plugins). /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ClusterStatsResponse Stats(ClusterStatsRequestDescriptor descriptor) @@ -1945,7 +1945,7 @@ public virtual ClusterStatsResponse Stats(ClusterStatsRequestDescriptor descript /// Returns cluster statistics. /// It returns basic index metrics (shard numbers, store size, memory usage) and information about the current nodes that form the cluster (number, roles, os, jvm versions, memory usage, cpu and installed plugins). /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ClusterStatsResponse Stats(Elastic.Clients.Elasticsearch.NodeIds? nodeId) @@ -1960,7 +1960,7 @@ public virtual ClusterStatsResponse Stats(Elastic.Clients.Elasticsearch.NodeIds? /// Returns cluster statistics. /// It returns basic index metrics (shard numbers, store size, memory usage) and information about the current nodes that form the cluster (number, roles, os, jvm versions, memory usage, cpu and installed plugins). /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ClusterStatsResponse Stats(Elastic.Clients.Elasticsearch.NodeIds? nodeId, Action configureRequest) @@ -1976,7 +1976,7 @@ public virtual ClusterStatsResponse Stats(Elastic.Clients.Elasticsearch.NodeIds? /// Returns cluster statistics. /// It returns basic index metrics (shard numbers, store size, memory usage) and information about the current nodes that form the cluster (number, roles, os, jvm versions, memory usage, cpu and installed plugins). /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ClusterStatsResponse Stats() @@ -1991,7 +1991,7 @@ public virtual ClusterStatsResponse Stats() /// Returns cluster statistics. /// It returns basic index metrics (shard numbers, store size, memory usage) and information about the current nodes that form the cluster (number, roles, os, jvm versions, memory usage, cpu and installed plugins). /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ClusterStatsResponse Stats(Action configureRequest) @@ -2007,7 +2007,7 @@ public virtual ClusterStatsResponse Stats(Action /// Returns cluster statistics. /// It returns basic index metrics (shard numbers, store size, memory usage) and information about the current nodes that form the cluster (number, roles, os, jvm versions, memory usage, cpu and installed plugins). /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task StatsAsync(ClusterStatsRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -2020,7 +2020,7 @@ public virtual Task StatsAsync(ClusterStatsRequestDescript /// Returns cluster statistics. /// It returns basic index metrics (shard numbers, store size, memory usage) and information about the current nodes that form the cluster (number, roles, os, jvm versions, memory usage, cpu and installed plugins). /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task StatsAsync(Elastic.Clients.Elasticsearch.NodeIds? nodeId, CancellationToken cancellationToken = default) { @@ -2034,7 +2034,7 @@ public virtual Task StatsAsync(Elastic.Clients.Elasticsear /// Returns cluster statistics. /// It returns basic index metrics (shard numbers, store size, memory usage) and information about the current nodes that form the cluster (number, roles, os, jvm versions, memory usage, cpu and installed plugins). /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task StatsAsync(Elastic.Clients.Elasticsearch.NodeIds? nodeId, Action configureRequest, CancellationToken cancellationToken = default) { @@ -2049,7 +2049,7 @@ public virtual Task StatsAsync(Elastic.Clients.Elasticsear /// Returns cluster statistics. /// It returns basic index metrics (shard numbers, store size, memory usage) and information about the current nodes that form the cluster (number, roles, os, jvm versions, memory usage, cpu and installed plugins). /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task StatsAsync(CancellationToken cancellationToken = default) { @@ -2063,7 +2063,7 @@ public virtual Task StatsAsync(CancellationToken cancellat /// Returns cluster statistics. /// It returns basic index metrics (shard numbers, store size, memory usage) and information about the current nodes that form the cluster (number, roles, os, jvm versions, memory usage, cpu and installed plugins). /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task StatsAsync(Action configureRequest, CancellationToken cancellationToken = default) { diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.DanglingIndices.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.DanglingIndices.g.cs index f4bed190814..544af02adfa 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.DanglingIndices.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.DanglingIndices.g.cs @@ -41,7 +41,14 @@ internal DanglingIndicesNamespacedClient(ElasticsearchClient client) : base(clie /// /// - /// Returns all dangling indices. + /// Get the dangling indices. + /// + /// + /// If Elasticsearch encounters index data that is absent from the current cluster state, those indices are considered to be dangling. + /// For example, this can happen if you delete more than cluster.indices.tombstones.size indices while an Elasticsearch node is offline. + /// + /// + /// Use this API to list dangling indices, which you can then import or delete. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -54,7 +61,14 @@ public virtual ListDanglingIndicesResponse ListDanglingIndices(ListDanglingIndic /// /// - /// Returns all dangling indices. + /// Get the dangling indices. + /// + /// + /// If Elasticsearch encounters index data that is absent from the current cluster state, those indices are considered to be dangling. + /// For example, this can happen if you delete more than cluster.indices.tombstones.size indices while an Elasticsearch node is offline. + /// + /// + /// Use this API to list dangling indices, which you can then import or delete. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -66,7 +80,14 @@ public virtual Task ListDanglingIndicesAsync(ListDa /// /// - /// Returns all dangling indices. + /// Get the dangling indices. + /// + /// + /// If Elasticsearch encounters index data that is absent from the current cluster state, those indices are considered to be dangling. + /// For example, this can happen if you delete more than cluster.indices.tombstones.size indices while an Elasticsearch node is offline. + /// + /// + /// Use this API to list dangling indices, which you can then import or delete. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -79,7 +100,14 @@ public virtual ListDanglingIndicesResponse ListDanglingIndices(ListDanglingIndic /// /// - /// Returns all dangling indices. + /// Get the dangling indices. + /// + /// + /// If Elasticsearch encounters index data that is absent from the current cluster state, those indices are considered to be dangling. + /// For example, this can happen if you delete more than cluster.indices.tombstones.size indices while an Elasticsearch node is offline. + /// + /// + /// Use this API to list dangling indices, which you can then import or delete. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -93,7 +121,14 @@ public virtual ListDanglingIndicesResponse ListDanglingIndices() /// /// - /// Returns all dangling indices. + /// Get the dangling indices. + /// + /// + /// If Elasticsearch encounters index data that is absent from the current cluster state, those indices are considered to be dangling. + /// For example, this can happen if you delete more than cluster.indices.tombstones.size indices while an Elasticsearch node is offline. + /// + /// + /// Use this API to list dangling indices, which you can then import or delete. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -108,7 +143,14 @@ public virtual ListDanglingIndicesResponse ListDanglingIndices(Action /// - /// Returns all dangling indices. + /// Get the dangling indices. + /// + /// + /// If Elasticsearch encounters index data that is absent from the current cluster state, those indices are considered to be dangling. + /// For example, this can happen if you delete more than cluster.indices.tombstones.size indices while an Elasticsearch node is offline. + /// + /// + /// Use this API to list dangling indices, which you can then import or delete. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -120,7 +162,14 @@ public virtual Task ListDanglingIndicesAsync(ListDa /// /// - /// Returns all dangling indices. + /// Get the dangling indices. + /// + /// + /// If Elasticsearch encounters index data that is absent from the current cluster state, those indices are considered to be dangling. + /// For example, this can happen if you delete more than cluster.indices.tombstones.size indices while an Elasticsearch node is offline. + /// + /// + /// Use this API to list dangling indices, which you can then import or delete. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -133,7 +182,14 @@ public virtual Task ListDanglingIndicesAsync(Cancel /// /// - /// Returns all dangling indices. + /// Get the dangling indices. + /// + /// + /// If Elasticsearch encounters index data that is absent from the current cluster state, those indices are considered to be dangling. + /// For example, this can happen if you delete more than cluster.indices.tombstones.size indices while an Elasticsearch node is offline. + /// + /// + /// Use this API to list dangling indices, which you can then import or delete. /// /// Learn more about this API in the Elasticsearch documentation. /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.Enrich.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.Enrich.g.cs index cbb8fa9e435..def12a2fedf 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.Enrich.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.Enrich.g.cs @@ -157,7 +157,7 @@ public virtual Task DeletePolicyAsync(Elastic.Clients.Elas /// /// Creates the enrich index for an existing enrich policy. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ExecutePolicyResponse ExecutePolicy(ExecutePolicyRequest request) @@ -170,7 +170,7 @@ public virtual ExecutePolicyResponse ExecutePolicy(ExecutePolicyRequest request) /// /// Creates the enrich index for an existing enrich policy. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ExecutePolicyAsync(ExecutePolicyRequest request, CancellationToken cancellationToken = default) { @@ -182,7 +182,7 @@ public virtual Task ExecutePolicyAsync(ExecutePolicyReque /// /// Creates the enrich index for an existing enrich policy. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ExecutePolicyResponse ExecutePolicy(ExecutePolicyRequestDescriptor descriptor) @@ -195,7 +195,7 @@ public virtual ExecutePolicyResponse ExecutePolicy(ExecutePolicyRequestDescripto /// /// Creates the enrich index for an existing enrich policy. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ExecutePolicyResponse ExecutePolicy(Elastic.Clients.Elasticsearch.Name name) @@ -209,7 +209,7 @@ public virtual ExecutePolicyResponse ExecutePolicy(Elastic.Clients.Elasticsearch /// /// Creates the enrich index for an existing enrich policy. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ExecutePolicyResponse ExecutePolicy(Elastic.Clients.Elasticsearch.Name name, Action configureRequest) @@ -224,7 +224,7 @@ public virtual ExecutePolicyResponse ExecutePolicy(Elastic.Clients.Elasticsearch /// /// Creates the enrich index for an existing enrich policy. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ExecutePolicyAsync(ExecutePolicyRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -236,7 +236,7 @@ public virtual Task ExecutePolicyAsync(ExecutePolicyReque /// /// Creates the enrich index for an existing enrich policy. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ExecutePolicyAsync(Elastic.Clients.Elasticsearch.Name name, CancellationToken cancellationToken = default) { @@ -249,7 +249,7 @@ public virtual Task ExecutePolicyAsync(Elastic.Clients.El /// /// Creates the enrich index for an existing enrich policy. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ExecutePolicyAsync(Elastic.Clients.Elasticsearch.Name name, Action configureRequest, CancellationToken cancellationToken = default) { @@ -438,7 +438,7 @@ public virtual Task GetPolicyAsync(Action - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual PutPolicyResponse PutPolicy(PutPolicyRequest request) @@ -452,7 +452,7 @@ public virtual PutPolicyResponse PutPolicy(PutPolicyRequest request) /// Create an enrich policy. /// Creates an enrich policy. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PutPolicyAsync(PutPolicyRequest request, CancellationToken cancellationToken = default) { @@ -465,7 +465,7 @@ public virtual Task PutPolicyAsync(PutPolicyRequest request, /// Create an enrich policy. /// Creates an enrich policy. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual PutPolicyResponse PutPolicy(PutPolicyRequestDescriptor descriptor) @@ -479,7 +479,7 @@ public virtual PutPolicyResponse PutPolicy(PutPolicyRequestDescriptor /// Create an enrich policy. /// Creates an enrich policy. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual PutPolicyResponse PutPolicy(Elastic.Clients.Elasticsearch.Name name) @@ -494,7 +494,7 @@ public virtual PutPolicyResponse PutPolicy(Elastic.Clients.Elasticsea /// Create an enrich policy. /// Creates an enrich policy. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual PutPolicyResponse PutPolicy(Elastic.Clients.Elasticsearch.Name name, Action> configureRequest) @@ -510,7 +510,7 @@ public virtual PutPolicyResponse PutPolicy(Elastic.Clients.Elasticsea /// Create an enrich policy. /// Creates an enrich policy. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual PutPolicyResponse PutPolicy(PutPolicyRequestDescriptor descriptor) @@ -524,7 +524,7 @@ public virtual PutPolicyResponse PutPolicy(PutPolicyRequestDescriptor descriptor /// Create an enrich policy. /// Creates an enrich policy. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual PutPolicyResponse PutPolicy(Elastic.Clients.Elasticsearch.Name name) @@ -539,7 +539,7 @@ public virtual PutPolicyResponse PutPolicy(Elastic.Clients.Elasticsearch.Name na /// Create an enrich policy. /// Creates an enrich policy. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual PutPolicyResponse PutPolicy(Elastic.Clients.Elasticsearch.Name name, Action configureRequest) @@ -555,7 +555,7 @@ public virtual PutPolicyResponse PutPolicy(Elastic.Clients.Elasticsearch.Name na /// Create an enrich policy. /// Creates an enrich policy. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PutPolicyAsync(PutPolicyRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -568,7 +568,7 @@ public virtual Task PutPolicyAsync(PutPolicyReques /// Create an enrich policy. /// Creates an enrich policy. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PutPolicyAsync(Elastic.Clients.Elasticsearch.Name name, CancellationToken cancellationToken = default) { @@ -582,7 +582,7 @@ public virtual Task PutPolicyAsync(Elastic.Clients /// Create an enrich policy. /// Creates an enrich policy. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PutPolicyAsync(Elastic.Clients.Elasticsearch.Name name, Action> configureRequest, CancellationToken cancellationToken = default) { @@ -597,7 +597,7 @@ public virtual Task PutPolicyAsync(Elastic.Clients /// Create an enrich policy. /// Creates an enrich policy. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PutPolicyAsync(PutPolicyRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -610,7 +610,7 @@ public virtual Task PutPolicyAsync(PutPolicyRequestDescriptor /// Create an enrich policy. /// Creates an enrich policy. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PutPolicyAsync(Elastic.Clients.Elasticsearch.Name name, CancellationToken cancellationToken = default) { @@ -624,7 +624,7 @@ public virtual Task PutPolicyAsync(Elastic.Clients.Elasticsea /// Create an enrich policy. /// Creates an enrich policy. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PutPolicyAsync(Elastic.Clients.Elasticsearch.Name name, Action configureRequest, CancellationToken cancellationToken = default) { diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.Eql.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.Eql.g.cs index 288fe04ee8c..2867e62ebd8 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.Eql.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.Eql.g.cs @@ -244,7 +244,7 @@ public virtual Task DeleteAsync(Elastic.Clients.Elasticsearch /// /// Returns the current status and available results for an async EQL search or a stored synchronous EQL search. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual EqlGetResponse Get(EqlGetRequest request) @@ -257,7 +257,7 @@ public virtual EqlGetResponse Get(EqlGetRequest request) /// /// Returns the current status and available results for an async EQL search or a stored synchronous EQL search. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task> GetAsync(EqlGetRequest request, CancellationToken cancellationToken = default) { @@ -269,7 +269,7 @@ public virtual Task> GetAsync(EqlGetRequest reque /// /// Returns the current status and available results for an async EQL search or a stored synchronous EQL search. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual EqlGetResponse Get(EqlGetRequestDescriptor descriptor) @@ -282,7 +282,7 @@ public virtual EqlGetResponse Get(EqlGetRequestDescriptor /// Returns the current status and available results for an async EQL search or a stored synchronous EQL search. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual EqlGetResponse Get(Elastic.Clients.Elasticsearch.Id id) @@ -296,7 +296,7 @@ public virtual EqlGetResponse Get(Elastic.Clients.Elasticsearch. /// /// Returns the current status and available results for an async EQL search or a stored synchronous EQL search. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual EqlGetResponse Get(Elastic.Clients.Elasticsearch.Id id, Action> configureRequest) @@ -311,7 +311,7 @@ public virtual EqlGetResponse Get(Elastic.Clients.Elasticsearch. /// /// Returns the current status and available results for an async EQL search or a stored synchronous EQL search. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task> GetAsync(EqlGetRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -323,7 +323,7 @@ public virtual Task> GetAsync(EqlGetRequestDescri /// /// Returns the current status and available results for an async EQL search or a stored synchronous EQL search. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task> GetAsync(Elastic.Clients.Elasticsearch.Id id, CancellationToken cancellationToken = default) { @@ -336,7 +336,7 @@ public virtual Task> GetAsync(Elastic.Clients.Ela /// /// Returns the current status and available results for an async EQL search or a stored synchronous EQL search. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task> GetAsync(Elastic.Clients.Elasticsearch.Id id, Action> configureRequest, CancellationToken cancellationToken = default) { @@ -350,7 +350,7 @@ public virtual Task> GetAsync(Elastic.Clients.Ela /// /// Returns the current status for an async EQL search or a stored synchronous EQL search without returning results. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual GetEqlStatusResponse GetStatus(GetEqlStatusRequest request) @@ -363,7 +363,7 @@ public virtual GetEqlStatusResponse GetStatus(GetEqlStatusRequest request) /// /// Returns the current status for an async EQL search or a stored synchronous EQL search without returning results. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task GetStatusAsync(GetEqlStatusRequest request, CancellationToken cancellationToken = default) { @@ -375,7 +375,7 @@ public virtual Task GetStatusAsync(GetEqlStatusRequest req /// /// Returns the current status for an async EQL search or a stored synchronous EQL search without returning results. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual GetEqlStatusResponse GetStatus(GetEqlStatusRequestDescriptor descriptor) @@ -388,7 +388,7 @@ public virtual GetEqlStatusResponse GetStatus(GetEqlStatusRequestDesc /// /// Returns the current status for an async EQL search or a stored synchronous EQL search without returning results. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual GetEqlStatusResponse GetStatus(Elastic.Clients.Elasticsearch.Id id) @@ -402,7 +402,7 @@ public virtual GetEqlStatusResponse GetStatus(Elastic.Clients.Elastic /// /// Returns the current status for an async EQL search or a stored synchronous EQL search without returning results. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual GetEqlStatusResponse GetStatus(Elastic.Clients.Elasticsearch.Id id, Action> configureRequest) @@ -417,7 +417,7 @@ public virtual GetEqlStatusResponse GetStatus(Elastic.Clients.Elastic /// /// Returns the current status for an async EQL search or a stored synchronous EQL search without returning results. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual GetEqlStatusResponse GetStatus(GetEqlStatusRequestDescriptor descriptor) @@ -430,7 +430,7 @@ public virtual GetEqlStatusResponse GetStatus(GetEqlStatusRequestDescriptor desc /// /// Returns the current status for an async EQL search or a stored synchronous EQL search without returning results. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual GetEqlStatusResponse GetStatus(Elastic.Clients.Elasticsearch.Id id) @@ -444,7 +444,7 @@ public virtual GetEqlStatusResponse GetStatus(Elastic.Clients.Elasticsearch.Id i /// /// Returns the current status for an async EQL search or a stored synchronous EQL search without returning results. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual GetEqlStatusResponse GetStatus(Elastic.Clients.Elasticsearch.Id id, Action configureRequest) @@ -459,7 +459,7 @@ public virtual GetEqlStatusResponse GetStatus(Elastic.Clients.Elasticsearch.Id i /// /// Returns the current status for an async EQL search or a stored synchronous EQL search without returning results. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task GetStatusAsync(GetEqlStatusRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -471,7 +471,7 @@ public virtual Task GetStatusAsync(GetEqlStatus /// /// Returns the current status for an async EQL search or a stored synchronous EQL search without returning results. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task GetStatusAsync(Elastic.Clients.Elasticsearch.Id id, CancellationToken cancellationToken = default) { @@ -484,7 +484,7 @@ public virtual Task GetStatusAsync(Elastic.Clie /// /// Returns the current status for an async EQL search or a stored synchronous EQL search without returning results. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task GetStatusAsync(Elastic.Clients.Elasticsearch.Id id, Action> configureRequest, CancellationToken cancellationToken = default) { @@ -498,7 +498,7 @@ public virtual Task GetStatusAsync(Elastic.Clie /// /// Returns the current status for an async EQL search or a stored synchronous EQL search without returning results. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task GetStatusAsync(GetEqlStatusRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -510,7 +510,7 @@ public virtual Task GetStatusAsync(GetEqlStatusRequestDesc /// /// Returns the current status for an async EQL search or a stored synchronous EQL search without returning results. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task GetStatusAsync(Elastic.Clients.Elasticsearch.Id id, CancellationToken cancellationToken = default) { @@ -523,7 +523,7 @@ public virtual Task GetStatusAsync(Elastic.Clients.Elastic /// /// Returns the current status for an async EQL search or a stored synchronous EQL search without returning results. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task GetStatusAsync(Elastic.Clients.Elasticsearch.Id id, Action configureRequest, CancellationToken cancellationToken = default) { diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.Esql.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.Esql.g.cs index c0957362790..731a3cdae0f 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.Esql.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.Esql.g.cs @@ -43,7 +43,7 @@ internal EsqlNamespacedClient(ElasticsearchClient client) : base(client) /// /// Executes an ES|QL request /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual EsqlQueryResponse Query(EsqlQueryRequest request) @@ -56,7 +56,7 @@ public virtual EsqlQueryResponse Query(EsqlQueryRequest request) /// /// Executes an ES|QL request /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task QueryAsync(EsqlQueryRequest request, CancellationToken cancellationToken = default) { @@ -68,7 +68,7 @@ public virtual Task QueryAsync(EsqlQueryRequest request, Canc /// /// Executes an ES|QL request /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual EsqlQueryResponse Query(EsqlQueryRequestDescriptor descriptor) @@ -81,7 +81,7 @@ public virtual EsqlQueryResponse Query(EsqlQueryRequestDescriptor /// Executes an ES|QL request /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual EsqlQueryResponse Query() @@ -95,7 +95,7 @@ public virtual EsqlQueryResponse Query() /// /// Executes an ES|QL request /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual EsqlQueryResponse Query(Action> configureRequest) @@ -110,7 +110,7 @@ public virtual EsqlQueryResponse Query(Action /// Executes an ES|QL request /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual EsqlQueryResponse Query(EsqlQueryRequestDescriptor descriptor) @@ -123,7 +123,7 @@ public virtual EsqlQueryResponse Query(EsqlQueryRequestDescriptor descriptor) /// /// Executes an ES|QL request /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual EsqlQueryResponse Query() @@ -137,7 +137,7 @@ public virtual EsqlQueryResponse Query() /// /// Executes an ES|QL request /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual EsqlQueryResponse Query(Action configureRequest) @@ -152,7 +152,7 @@ public virtual EsqlQueryResponse Query(Action config /// /// Executes an ES|QL request /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task QueryAsync(EsqlQueryRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -164,7 +164,7 @@ public virtual Task QueryAsync(EsqlQueryRequestDes /// /// Executes an ES|QL request /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task QueryAsync(CancellationToken cancellationToken = default) { @@ -177,7 +177,7 @@ public virtual Task QueryAsync(CancellationToken c /// /// Executes an ES|QL request /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task QueryAsync(Action> configureRequest, CancellationToken cancellationToken = default) { @@ -191,7 +191,7 @@ public virtual Task QueryAsync(Action /// Executes an ES|QL request /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task QueryAsync(EsqlQueryRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -203,7 +203,7 @@ public virtual Task QueryAsync(EsqlQueryRequestDescriptor des /// /// Executes an ES|QL request /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task QueryAsync(CancellationToken cancellationToken = default) { @@ -216,7 +216,7 @@ public virtual Task QueryAsync(CancellationToken cancellation /// /// Executes an ES|QL request /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task QueryAsync(Action configureRequest, CancellationToken cancellationToken = default) { diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.Graph.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.Graph.g.cs index 81edb557a37..1dd9a1e7d63 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.Graph.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.Graph.g.cs @@ -43,7 +43,7 @@ internal GraphNamespacedClient(ElasticsearchClient client) : base(client) /// /// Extracts and summarizes information about the documents and terms in an Elasticsearch data stream or index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ExploreResponse Explore(ExploreRequest request) @@ -56,7 +56,7 @@ public virtual ExploreResponse Explore(ExploreRequest request) /// /// Extracts and summarizes information about the documents and terms in an Elasticsearch data stream or index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ExploreAsync(ExploreRequest request, CancellationToken cancellationToken = default) { @@ -68,7 +68,7 @@ public virtual Task ExploreAsync(ExploreRequest request, Cancel /// /// Extracts and summarizes information about the documents and terms in an Elasticsearch data stream or index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ExploreResponse Explore(ExploreRequestDescriptor descriptor) @@ -81,7 +81,7 @@ public virtual ExploreResponse Explore(ExploreRequestDescriptor /// Extracts and summarizes information about the documents and terms in an Elasticsearch data stream or index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ExploreResponse Explore(Elastic.Clients.Elasticsearch.Indices indices) @@ -95,7 +95,7 @@ public virtual ExploreResponse Explore(Elastic.Clients.Elasticsearch. /// /// Extracts and summarizes information about the documents and terms in an Elasticsearch data stream or index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ExploreResponse Explore(Elastic.Clients.Elasticsearch.Indices indices, Action> configureRequest) @@ -110,7 +110,7 @@ public virtual ExploreResponse Explore(Elastic.Clients.Elasticsearch. /// /// Extracts and summarizes information about the documents and terms in an Elasticsearch data stream or index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ExploreResponse Explore() @@ -124,7 +124,7 @@ public virtual ExploreResponse Explore() /// /// Extracts and summarizes information about the documents and terms in an Elasticsearch data stream or index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ExploreResponse Explore(Action> configureRequest) @@ -139,7 +139,7 @@ public virtual ExploreResponse Explore(Action /// Extracts and summarizes information about the documents and terms in an Elasticsearch data stream or index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ExploreResponse Explore(ExploreRequestDescriptor descriptor) @@ -152,7 +152,7 @@ public virtual ExploreResponse Explore(ExploreRequestDescriptor descriptor) /// /// Extracts and summarizes information about the documents and terms in an Elasticsearch data stream or index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ExploreResponse Explore(Elastic.Clients.Elasticsearch.Indices indices) @@ -166,7 +166,7 @@ public virtual ExploreResponse Explore(Elastic.Clients.Elasticsearch.Indices ind /// /// Extracts and summarizes information about the documents and terms in an Elasticsearch data stream or index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ExploreResponse Explore(Elastic.Clients.Elasticsearch.Indices indices, Action configureRequest) @@ -181,7 +181,7 @@ public virtual ExploreResponse Explore(Elastic.Clients.Elasticsearch.Indices ind /// /// Extracts and summarizes information about the documents and terms in an Elasticsearch data stream or index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ExploreAsync(ExploreRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -193,7 +193,7 @@ public virtual Task ExploreAsync(ExploreRequestDescr /// /// Extracts and summarizes information about the documents and terms in an Elasticsearch data stream or index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ExploreAsync(Elastic.Clients.Elasticsearch.Indices indices, CancellationToken cancellationToken = default) { @@ -206,7 +206,7 @@ public virtual Task ExploreAsync(Elastic.Clients.Ela /// /// Extracts and summarizes information about the documents and terms in an Elasticsearch data stream or index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ExploreAsync(Elastic.Clients.Elasticsearch.Indices indices, Action> configureRequest, CancellationToken cancellationToken = default) { @@ -220,7 +220,7 @@ public virtual Task ExploreAsync(Elastic.Clients.Ela /// /// Extracts and summarizes information about the documents and terms in an Elasticsearch data stream or index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ExploreAsync(CancellationToken cancellationToken = default) { @@ -233,7 +233,7 @@ public virtual Task ExploreAsync(CancellationToken c /// /// Extracts and summarizes information about the documents and terms in an Elasticsearch data stream or index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ExploreAsync(Action> configureRequest, CancellationToken cancellationToken = default) { @@ -247,7 +247,7 @@ public virtual Task ExploreAsync(Action /// Extracts and summarizes information about the documents and terms in an Elasticsearch data stream or index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ExploreAsync(ExploreRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -259,7 +259,7 @@ public virtual Task ExploreAsync(ExploreRequestDescriptor descr /// /// Extracts and summarizes information about the documents and terms in an Elasticsearch data stream or index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ExploreAsync(Elastic.Clients.Elasticsearch.Indices indices, CancellationToken cancellationToken = default) { @@ -272,7 +272,7 @@ public virtual Task ExploreAsync(Elastic.Clients.Elasticsearch. /// /// Extracts and summarizes information about the documents and terms in an Elasticsearch data stream or index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ExploreAsync(Elastic.Clients.Elasticsearch.Indices indices, Action configureRequest, CancellationToken cancellationToken = default) { diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.Indices.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.Indices.g.cs index db556857ddd..51145ed44bb 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.Indices.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.Indices.g.cs @@ -41,9 +41,10 @@ internal IndicesNamespacedClient(ElasticsearchClient client) : base(client) /// /// - /// Performs analysis on a text string and returns the resulting tokens. + /// Get tokens from text analysis. + /// The analyze API performs analysis on a text string and returns the resulting tokens. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual AnalyzeIndexResponse Analyze(AnalyzeIndexRequest request) @@ -54,9 +55,10 @@ public virtual AnalyzeIndexResponse Analyze(AnalyzeIndexRequest request) /// /// - /// Performs analysis on a text string and returns the resulting tokens. + /// Get tokens from text analysis. + /// The analyze API performs analysis on a text string and returns the resulting tokens. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task AnalyzeAsync(AnalyzeIndexRequest request, CancellationToken cancellationToken = default) { @@ -66,9 +68,10 @@ public virtual Task AnalyzeAsync(AnalyzeIndexRequest reque /// /// - /// Performs analysis on a text string and returns the resulting tokens. + /// Get tokens from text analysis. + /// The analyze API performs analysis on a text string and returns the resulting tokens. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual AnalyzeIndexResponse Analyze(AnalyzeIndexRequestDescriptor descriptor) @@ -79,9 +82,10 @@ public virtual AnalyzeIndexResponse Analyze(AnalyzeIndexRequestDescri /// /// - /// Performs analysis on a text string and returns the resulting tokens. + /// Get tokens from text analysis. + /// The analyze API performs analysis on a text string and returns the resulting tokens. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual AnalyzeIndexResponse Analyze(Elastic.Clients.Elasticsearch.IndexName? index) @@ -93,9 +97,10 @@ public virtual AnalyzeIndexResponse Analyze(Elastic.Clients.Elasticse /// /// - /// Performs analysis on a text string and returns the resulting tokens. + /// Get tokens from text analysis. + /// The analyze API performs analysis on a text string and returns the resulting tokens. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual AnalyzeIndexResponse Analyze(Elastic.Clients.Elasticsearch.IndexName? index, Action> configureRequest) @@ -108,9 +113,10 @@ public virtual AnalyzeIndexResponse Analyze(Elastic.Clients.Elasticse /// /// - /// Performs analysis on a text string and returns the resulting tokens. + /// Get tokens from text analysis. + /// The analyze API performs analysis on a text string and returns the resulting tokens. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual AnalyzeIndexResponse Analyze() @@ -122,9 +128,10 @@ public virtual AnalyzeIndexResponse Analyze() /// /// - /// Performs analysis on a text string and returns the resulting tokens. + /// Get tokens from text analysis. + /// The analyze API performs analysis on a text string and returns the resulting tokens. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual AnalyzeIndexResponse Analyze(Action> configureRequest) @@ -137,9 +144,10 @@ public virtual AnalyzeIndexResponse Analyze(Action /// - /// Performs analysis on a text string and returns the resulting tokens. + /// Get tokens from text analysis. + /// The analyze API performs analysis on a text string and returns the resulting tokens. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual AnalyzeIndexResponse Analyze(AnalyzeIndexRequestDescriptor descriptor) @@ -150,9 +158,10 @@ public virtual AnalyzeIndexResponse Analyze(AnalyzeIndexRequestDescriptor descri /// /// - /// Performs analysis on a text string and returns the resulting tokens. + /// Get tokens from text analysis. + /// The analyze API performs analysis on a text string and returns the resulting tokens. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual AnalyzeIndexResponse Analyze(Elastic.Clients.Elasticsearch.IndexName? index) @@ -164,9 +173,10 @@ public virtual AnalyzeIndexResponse Analyze(Elastic.Clients.Elasticsearch.IndexN /// /// - /// Performs analysis on a text string and returns the resulting tokens. + /// Get tokens from text analysis. + /// The analyze API performs analysis on a text string and returns the resulting tokens. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual AnalyzeIndexResponse Analyze(Elastic.Clients.Elasticsearch.IndexName? index, Action configureRequest) @@ -179,9 +189,10 @@ public virtual AnalyzeIndexResponse Analyze(Elastic.Clients.Elasticsearch.IndexN /// /// - /// Performs analysis on a text string and returns the resulting tokens. + /// Get tokens from text analysis. + /// The analyze API performs analysis on a text string and returns the resulting tokens. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual AnalyzeIndexResponse Analyze() @@ -193,9 +204,10 @@ public virtual AnalyzeIndexResponse Analyze() /// /// - /// Performs analysis on a text string and returns the resulting tokens. + /// Get tokens from text analysis. + /// The analyze API performs analysis on a text string and returns the resulting tokens. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual AnalyzeIndexResponse Analyze(Action configureRequest) @@ -208,9 +220,10 @@ public virtual AnalyzeIndexResponse Analyze(Action /// - /// Performs analysis on a text string and returns the resulting tokens. + /// Get tokens from text analysis. + /// The analyze API performs analysis on a text string and returns the resulting tokens. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task AnalyzeAsync(AnalyzeIndexRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -220,9 +233,10 @@ public virtual Task AnalyzeAsync(AnalyzeIndexRe /// /// - /// Performs analysis on a text string and returns the resulting tokens. + /// Get tokens from text analysis. + /// The analyze API performs analysis on a text string and returns the resulting tokens. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task AnalyzeAsync(Elastic.Clients.Elasticsearch.IndexName? index, CancellationToken cancellationToken = default) { @@ -233,9 +247,10 @@ public virtual Task AnalyzeAsync(Elastic.Client /// /// - /// Performs analysis on a text string and returns the resulting tokens. + /// Get tokens from text analysis. + /// The analyze API performs analysis on a text string and returns the resulting tokens. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task AnalyzeAsync(Elastic.Clients.Elasticsearch.IndexName? index, Action> configureRequest, CancellationToken cancellationToken = default) { @@ -247,9 +262,10 @@ public virtual Task AnalyzeAsync(Elastic.Client /// /// - /// Performs analysis on a text string and returns the resulting tokens. + /// Get tokens from text analysis. + /// The analyze API performs analysis on a text string and returns the resulting tokens. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task AnalyzeAsync(CancellationToken cancellationToken = default) { @@ -260,9 +276,10 @@ public virtual Task AnalyzeAsync(CancellationTo /// /// - /// Performs analysis on a text string and returns the resulting tokens. + /// Get tokens from text analysis. + /// The analyze API performs analysis on a text string and returns the resulting tokens. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task AnalyzeAsync(Action> configureRequest, CancellationToken cancellationToken = default) { @@ -274,9 +291,10 @@ public virtual Task AnalyzeAsync(Action /// - /// Performs analysis on a text string and returns the resulting tokens. + /// Get tokens from text analysis. + /// The analyze API performs analysis on a text string and returns the resulting tokens. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task AnalyzeAsync(AnalyzeIndexRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -286,9 +304,10 @@ public virtual Task AnalyzeAsync(AnalyzeIndexRequestDescri /// /// - /// Performs analysis on a text string and returns the resulting tokens. + /// Get tokens from text analysis. + /// The analyze API performs analysis on a text string and returns the resulting tokens. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task AnalyzeAsync(Elastic.Clients.Elasticsearch.IndexName? index, CancellationToken cancellationToken = default) { @@ -299,9 +318,10 @@ public virtual Task AnalyzeAsync(Elastic.Clients.Elasticse /// /// - /// Performs analysis on a text string and returns the resulting tokens. + /// Get tokens from text analysis. + /// The analyze API performs analysis on a text string and returns the resulting tokens. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task AnalyzeAsync(Elastic.Clients.Elasticsearch.IndexName? index, Action configureRequest, CancellationToken cancellationToken = default) { @@ -313,9 +333,10 @@ public virtual Task AnalyzeAsync(Elastic.Clients.Elasticse /// /// - /// Performs analysis on a text string and returns the resulting tokens. + /// Get tokens from text analysis. + /// The analyze API performs analysis on a text string and returns the resulting tokens. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task AnalyzeAsync(CancellationToken cancellationToken = default) { @@ -326,9 +347,10 @@ public virtual Task AnalyzeAsync(CancellationToken cancell /// /// - /// Performs analysis on a text string and returns the resulting tokens. + /// Get tokens from text analysis. + /// The analyze API performs analysis on a text string and returns the resulting tokens. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task AnalyzeAsync(Action configureRequest, CancellationToken cancellationToken = default) { @@ -906,7 +928,7 @@ public virtual Task CloneAsync(Elastic.Clients.Elasticsearch /// /// Closes an index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual CloseIndexResponse Close(CloseIndexRequest request) @@ -919,7 +941,7 @@ public virtual CloseIndexResponse Close(CloseIndexRequest request) /// /// Closes an index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task CloseAsync(CloseIndexRequest request, CancellationToken cancellationToken = default) { @@ -931,7 +953,7 @@ public virtual Task CloseAsync(CloseIndexRequest request, Ca /// /// Closes an index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual CloseIndexResponse Close(CloseIndexRequestDescriptor descriptor) @@ -944,7 +966,7 @@ public virtual CloseIndexResponse Close(CloseIndexRequestDescriptor /// Closes an index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual CloseIndexResponse Close(Elastic.Clients.Elasticsearch.Indices indices) @@ -958,7 +980,7 @@ public virtual CloseIndexResponse Close(Elastic.Clients.Elasticsearch /// /// Closes an index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual CloseIndexResponse Close(Elastic.Clients.Elasticsearch.Indices indices, Action> configureRequest) @@ -973,7 +995,7 @@ public virtual CloseIndexResponse Close(Elastic.Clients.Elasticsearch /// /// Closes an index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual CloseIndexResponse Close() @@ -987,7 +1009,7 @@ public virtual CloseIndexResponse Close() /// /// Closes an index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual CloseIndexResponse Close(Action> configureRequest) @@ -1002,7 +1024,7 @@ public virtual CloseIndexResponse Close(Action /// Closes an index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual CloseIndexResponse Close(CloseIndexRequestDescriptor descriptor) @@ -1015,7 +1037,7 @@ public virtual CloseIndexResponse Close(CloseIndexRequestDescriptor descriptor) /// /// Closes an index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual CloseIndexResponse Close(Elastic.Clients.Elasticsearch.Indices indices) @@ -1029,7 +1051,7 @@ public virtual CloseIndexResponse Close(Elastic.Clients.Elasticsearch.Indices in /// /// Closes an index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual CloseIndexResponse Close(Elastic.Clients.Elasticsearch.Indices indices, Action configureRequest) @@ -1044,7 +1066,7 @@ public virtual CloseIndexResponse Close(Elastic.Clients.Elasticsearch.Indices in /// /// Closes an index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task CloseAsync(CloseIndexRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -1056,7 +1078,7 @@ public virtual Task CloseAsync(CloseIndexRequestD /// /// Closes an index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task CloseAsync(Elastic.Clients.Elasticsearch.Indices indices, CancellationToken cancellationToken = default) { @@ -1069,7 +1091,7 @@ public virtual Task CloseAsync(Elastic.Clients.El /// /// Closes an index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task CloseAsync(Elastic.Clients.Elasticsearch.Indices indices, Action> configureRequest, CancellationToken cancellationToken = default) { @@ -1083,7 +1105,7 @@ public virtual Task CloseAsync(Elastic.Clients.El /// /// Closes an index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task CloseAsync(CancellationToken cancellationToken = default) { @@ -1096,7 +1118,7 @@ public virtual Task CloseAsync(CancellationToken /// /// Closes an index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task CloseAsync(Action> configureRequest, CancellationToken cancellationToken = default) { @@ -1110,7 +1132,7 @@ public virtual Task CloseAsync(Action /// Closes an index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task CloseAsync(CloseIndexRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -1122,7 +1144,7 @@ public virtual Task CloseAsync(CloseIndexRequestDescriptor d /// /// Closes an index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task CloseAsync(Elastic.Clients.Elasticsearch.Indices indices, CancellationToken cancellationToken = default) { @@ -1135,7 +1157,7 @@ public virtual Task CloseAsync(Elastic.Clients.Elasticsearch /// /// Closes an index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task CloseAsync(Elastic.Clients.Elasticsearch.Indices indices, Action configureRequest, CancellationToken cancellationToken = default) { @@ -1150,7 +1172,7 @@ public virtual Task CloseAsync(Elastic.Clients.Elasticsearch /// Create an index. /// Creates a new index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual CreateIndexResponse Create(CreateIndexRequest request) @@ -1164,7 +1186,7 @@ public virtual CreateIndexResponse Create(CreateIndexRequest request) /// Create an index. /// Creates a new index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task CreateAsync(CreateIndexRequest request, CancellationToken cancellationToken = default) { @@ -1177,7 +1199,7 @@ public virtual Task CreateAsync(CreateIndexRequest request, /// Create an index. /// Creates a new index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual CreateIndexResponse Create(CreateIndexRequestDescriptor descriptor) @@ -1191,7 +1213,7 @@ public virtual CreateIndexResponse Create(CreateIndexRequestDescripto /// Create an index. /// Creates a new index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual CreateIndexResponse Create(Elastic.Clients.Elasticsearch.IndexName index) @@ -1206,7 +1228,7 @@ public virtual CreateIndexResponse Create(Elastic.Clients.Elasticsear /// Create an index. /// Creates a new index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual CreateIndexResponse Create(Elastic.Clients.Elasticsearch.IndexName index, Action> configureRequest) @@ -1222,7 +1244,7 @@ public virtual CreateIndexResponse Create(Elastic.Clients.Elasticsear /// Create an index. /// Creates a new index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual CreateIndexResponse Create() @@ -1237,7 +1259,7 @@ public virtual CreateIndexResponse Create() /// Create an index. /// Creates a new index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual CreateIndexResponse Create(Action> configureRequest) @@ -1253,7 +1275,7 @@ public virtual CreateIndexResponse Create(Action - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual CreateIndexResponse Create(CreateIndexRequestDescriptor descriptor) @@ -1267,7 +1289,7 @@ public virtual CreateIndexResponse Create(CreateIndexRequestDescriptor descripto /// Create an index. /// Creates a new index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual CreateIndexResponse Create(Elastic.Clients.Elasticsearch.IndexName index) @@ -1282,7 +1304,7 @@ public virtual CreateIndexResponse Create(Elastic.Clients.Elasticsearch.IndexNam /// Create an index. /// Creates a new index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual CreateIndexResponse Create(Elastic.Clients.Elasticsearch.IndexName index, Action configureRequest) @@ -1298,7 +1320,7 @@ public virtual CreateIndexResponse Create(Elastic.Clients.Elasticsearch.IndexNam /// Create an index. /// Creates a new index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task CreateAsync(CreateIndexRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -1311,7 +1333,7 @@ public virtual Task CreateAsync(CreateIndexReque /// Create an index. /// Creates a new index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task CreateAsync(Elastic.Clients.Elasticsearch.IndexName index, CancellationToken cancellationToken = default) { @@ -1325,7 +1347,7 @@ public virtual Task CreateAsync(Elastic.Clients. /// Create an index. /// Creates a new index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task CreateAsync(Elastic.Clients.Elasticsearch.IndexName index, Action> configureRequest, CancellationToken cancellationToken = default) { @@ -1340,7 +1362,7 @@ public virtual Task CreateAsync(Elastic.Clients. /// Create an index. /// Creates a new index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task CreateAsync(CancellationToken cancellationToken = default) { @@ -1354,7 +1376,7 @@ public virtual Task CreateAsync(CancellationToke /// Create an index. /// Creates a new index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task CreateAsync(Action> configureRequest, CancellationToken cancellationToken = default) { @@ -1369,7 +1391,7 @@ public virtual Task CreateAsync(Action - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task CreateAsync(CreateIndexRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -1382,7 +1404,7 @@ public virtual Task CreateAsync(CreateIndexRequestDescripto /// Create an index. /// Creates a new index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task CreateAsync(Elastic.Clients.Elasticsearch.IndexName index, CancellationToken cancellationToken = default) { @@ -1396,7 +1418,7 @@ public virtual Task CreateAsync(Elastic.Clients.Elasticsear /// Create an index. /// Creates a new index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task CreateAsync(Elastic.Clients.Elasticsearch.IndexName index, Action configureRequest, CancellationToken cancellationToken = default) { @@ -2692,7 +2714,7 @@ public virtual Task DeleteTemplateAsync(Elastic.Clients. /// /// Analyzes the disk usage of each field of an index or data stream. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual DiskUsageResponse DiskUsage(DiskUsageRequest request) @@ -2705,7 +2727,7 @@ public virtual DiskUsageResponse DiskUsage(DiskUsageRequest request) /// /// Analyzes the disk usage of each field of an index or data stream. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DiskUsageAsync(DiskUsageRequest request, CancellationToken cancellationToken = default) { @@ -2717,7 +2739,7 @@ public virtual Task DiskUsageAsync(DiskUsageRequest request, /// /// Analyzes the disk usage of each field of an index or data stream. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual DiskUsageResponse DiskUsage(DiskUsageRequestDescriptor descriptor) @@ -2730,7 +2752,7 @@ public virtual DiskUsageResponse DiskUsage(DiskUsageRequestDescriptor /// /// Analyzes the disk usage of each field of an index or data stream. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual DiskUsageResponse DiskUsage(Elastic.Clients.Elasticsearch.Indices indices) @@ -2744,7 +2766,7 @@ public virtual DiskUsageResponse DiskUsage(Elastic.Clients.Elasticsea /// /// Analyzes the disk usage of each field of an index or data stream. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual DiskUsageResponse DiskUsage(Elastic.Clients.Elasticsearch.Indices indices, Action> configureRequest) @@ -2759,7 +2781,7 @@ public virtual DiskUsageResponse DiskUsage(Elastic.Clients.Elasticsea /// /// Analyzes the disk usage of each field of an index or data stream. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual DiskUsageResponse DiskUsage() @@ -2773,7 +2795,7 @@ public virtual DiskUsageResponse DiskUsage() /// /// Analyzes the disk usage of each field of an index or data stream. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual DiskUsageResponse DiskUsage(Action> configureRequest) @@ -2788,7 +2810,7 @@ public virtual DiskUsageResponse DiskUsage(Action /// Analyzes the disk usage of each field of an index or data stream. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual DiskUsageResponse DiskUsage(DiskUsageRequestDescriptor descriptor) @@ -2801,7 +2823,7 @@ public virtual DiskUsageResponse DiskUsage(DiskUsageRequestDescriptor descriptor /// /// Analyzes the disk usage of each field of an index or data stream. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual DiskUsageResponse DiskUsage(Elastic.Clients.Elasticsearch.Indices indices) @@ -2815,7 +2837,7 @@ public virtual DiskUsageResponse DiskUsage(Elastic.Clients.Elasticsearch.Indices /// /// Analyzes the disk usage of each field of an index or data stream. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual DiskUsageResponse DiskUsage(Elastic.Clients.Elasticsearch.Indices indices, Action configureRequest) @@ -2830,7 +2852,7 @@ public virtual DiskUsageResponse DiskUsage(Elastic.Clients.Elasticsearch.Indices /// /// Analyzes the disk usage of each field of an index or data stream. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DiskUsageAsync(DiskUsageRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -2842,7 +2864,7 @@ public virtual Task DiskUsageAsync(DiskUsageReques /// /// Analyzes the disk usage of each field of an index or data stream. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DiskUsageAsync(Elastic.Clients.Elasticsearch.Indices indices, CancellationToken cancellationToken = default) { @@ -2855,7 +2877,7 @@ public virtual Task DiskUsageAsync(Elastic.Clients /// /// Analyzes the disk usage of each field of an index or data stream. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DiskUsageAsync(Elastic.Clients.Elasticsearch.Indices indices, Action> configureRequest, CancellationToken cancellationToken = default) { @@ -2869,7 +2891,7 @@ public virtual Task DiskUsageAsync(Elastic.Clients /// /// Analyzes the disk usage of each field of an index or data stream. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DiskUsageAsync(CancellationToken cancellationToken = default) { @@ -2882,7 +2904,7 @@ public virtual Task DiskUsageAsync(CancellationTok /// /// Analyzes the disk usage of each field of an index or data stream. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DiskUsageAsync(Action> configureRequest, CancellationToken cancellationToken = default) { @@ -2896,7 +2918,7 @@ public virtual Task DiskUsageAsync(Action /// Analyzes the disk usage of each field of an index or data stream. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DiskUsageAsync(DiskUsageRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -2908,7 +2930,7 @@ public virtual Task DiskUsageAsync(DiskUsageRequestDescriptor /// /// Analyzes the disk usage of each field of an index or data stream. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DiskUsageAsync(Elastic.Clients.Elasticsearch.Indices indices, CancellationToken cancellationToken = default) { @@ -2921,7 +2943,7 @@ public virtual Task DiskUsageAsync(Elastic.Clients.Elasticsea /// /// Analyzes the disk usage of each field of an index or data stream. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DiskUsageAsync(Elastic.Clients.Elasticsearch.Indices indices, Action configureRequest, CancellationToken cancellationToken = default) { @@ -2935,7 +2957,7 @@ public virtual Task DiskUsageAsync(Elastic.Clients.Elasticsea /// /// Aggregates a time series (TSDS) index and stores pre-computed statistical summaries (min, max, sum, value_count and avg) for each metric field grouped by a configured time interval. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual DownsampleResponse Downsample(DownsampleRequest request) @@ -2948,7 +2970,7 @@ public virtual DownsampleResponse Downsample(DownsampleRequest request) /// /// Aggregates a time series (TSDS) index and stores pre-computed statistical summaries (min, max, sum, value_count and avg) for each metric field grouped by a configured time interval. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DownsampleAsync(DownsampleRequest request, CancellationToken cancellationToken = default) { @@ -2960,7 +2982,7 @@ public virtual Task DownsampleAsync(DownsampleRequest reques /// /// Aggregates a time series (TSDS) index and stores pre-computed statistical summaries (min, max, sum, value_count and avg) for each metric field grouped by a configured time interval. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual DownsampleResponse Downsample(DownsampleRequestDescriptor descriptor) @@ -2973,7 +2995,7 @@ public virtual DownsampleResponse Downsample(DownsampleRequestDescrip /// /// Aggregates a time series (TSDS) index and stores pre-computed statistical summaries (min, max, sum, value_count and avg) for each metric field grouped by a configured time interval. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual DownsampleResponse Downsample(Elastic.Clients.Elasticsearch.IndexManagement.DownsampleConfig config, Elastic.Clients.Elasticsearch.IndexName index, Elastic.Clients.Elasticsearch.IndexName targetIndex) @@ -2987,7 +3009,7 @@ public virtual DownsampleResponse Downsample(Elastic.Clients.Elastics /// /// Aggregates a time series (TSDS) index and stores pre-computed statistical summaries (min, max, sum, value_count and avg) for each metric field grouped by a configured time interval. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual DownsampleResponse Downsample(Elastic.Clients.Elasticsearch.IndexManagement.DownsampleConfig config, Elastic.Clients.Elasticsearch.IndexName index, Elastic.Clients.Elasticsearch.IndexName targetIndex, Action> configureRequest) @@ -3002,7 +3024,7 @@ public virtual DownsampleResponse Downsample(Elastic.Clients.Elastics /// /// Aggregates a time series (TSDS) index and stores pre-computed statistical summaries (min, max, sum, value_count and avg) for each metric field grouped by a configured time interval. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual DownsampleResponse Downsample(DownsampleRequestDescriptor descriptor) @@ -3015,7 +3037,7 @@ public virtual DownsampleResponse Downsample(DownsampleRequestDescriptor descrip /// /// Aggregates a time series (TSDS) index and stores pre-computed statistical summaries (min, max, sum, value_count and avg) for each metric field grouped by a configured time interval. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual DownsampleResponse Downsample(Elastic.Clients.Elasticsearch.IndexManagement.DownsampleConfig config, Elastic.Clients.Elasticsearch.IndexName index, Elastic.Clients.Elasticsearch.IndexName targetIndex) @@ -3029,7 +3051,7 @@ public virtual DownsampleResponse Downsample(Elastic.Clients.Elasticsearch.Index /// /// Aggregates a time series (TSDS) index and stores pre-computed statistical summaries (min, max, sum, value_count and avg) for each metric field grouped by a configured time interval. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual DownsampleResponse Downsample(Elastic.Clients.Elasticsearch.IndexManagement.DownsampleConfig config, Elastic.Clients.Elasticsearch.IndexName index, Elastic.Clients.Elasticsearch.IndexName targetIndex, Action configureRequest) @@ -3044,7 +3066,7 @@ public virtual DownsampleResponse Downsample(Elastic.Clients.Elasticsearch.Index /// /// Aggregates a time series (TSDS) index and stores pre-computed statistical summaries (min, max, sum, value_count and avg) for each metric field grouped by a configured time interval. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DownsampleAsync(DownsampleRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -3056,7 +3078,7 @@ public virtual Task DownsampleAsync(DownsampleReq /// /// Aggregates a time series (TSDS) index and stores pre-computed statistical summaries (min, max, sum, value_count and avg) for each metric field grouped by a configured time interval. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DownsampleAsync(Elastic.Clients.Elasticsearch.IndexManagement.DownsampleConfig config, Elastic.Clients.Elasticsearch.IndexName index, Elastic.Clients.Elasticsearch.IndexName targetIndex, CancellationToken cancellationToken = default) { @@ -3069,7 +3091,7 @@ public virtual Task DownsampleAsync(Elastic.Clien /// /// Aggregates a time series (TSDS) index and stores pre-computed statistical summaries (min, max, sum, value_count and avg) for each metric field grouped by a configured time interval. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DownsampleAsync(Elastic.Clients.Elasticsearch.IndexManagement.DownsampleConfig config, Elastic.Clients.Elasticsearch.IndexName index, Elastic.Clients.Elasticsearch.IndexName targetIndex, Action> configureRequest, CancellationToken cancellationToken = default) { @@ -3083,7 +3105,7 @@ public virtual Task DownsampleAsync(Elastic.Clien /// /// Aggregates a time series (TSDS) index and stores pre-computed statistical summaries (min, max, sum, value_count and avg) for each metric field grouped by a configured time interval. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DownsampleAsync(DownsampleRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -3095,7 +3117,7 @@ public virtual Task DownsampleAsync(DownsampleRequestDescrip /// /// Aggregates a time series (TSDS) index and stores pre-computed statistical summaries (min, max, sum, value_count and avg) for each metric field grouped by a configured time interval. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DownsampleAsync(Elastic.Clients.Elasticsearch.IndexManagement.DownsampleConfig config, Elastic.Clients.Elasticsearch.IndexName index, Elastic.Clients.Elasticsearch.IndexName targetIndex, CancellationToken cancellationToken = default) { @@ -3108,7 +3130,7 @@ public virtual Task DownsampleAsync(Elastic.Clients.Elastics /// /// Aggregates a time series (TSDS) index and stores pre-computed statistical summaries (min, max, sum, value_count and avg) for each metric field grouped by a configured time interval. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DownsampleAsync(Elastic.Clients.Elasticsearch.IndexManagement.DownsampleConfig config, Elastic.Clients.Elasticsearch.IndexName index, Elastic.Clients.Elasticsearch.IndexName targetIndex, Action configureRequest, CancellationToken cancellationToken = default) { @@ -4428,7 +4450,7 @@ public virtual Task FieldUsageStatsAsync(Elastic.Client /// /// Flushes one or more data streams or indices. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual FlushResponse Flush(FlushRequest request) @@ -4441,7 +4463,7 @@ public virtual FlushResponse Flush(FlushRequest request) /// /// Flushes one or more data streams or indices. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task FlushAsync(FlushRequest request, CancellationToken cancellationToken = default) { @@ -4453,7 +4475,7 @@ public virtual Task FlushAsync(FlushRequest request, Cancellation /// /// Flushes one or more data streams or indices. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual FlushResponse Flush(FlushRequestDescriptor descriptor) @@ -4466,7 +4488,7 @@ public virtual FlushResponse Flush(FlushRequestDescriptor /// /// Flushes one or more data streams or indices. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual FlushResponse Flush(Elastic.Clients.Elasticsearch.Indices? indices) @@ -4480,7 +4502,7 @@ public virtual FlushResponse Flush(Elastic.Clients.Elasticsearch.Indi /// /// Flushes one or more data streams or indices. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual FlushResponse Flush(Elastic.Clients.Elasticsearch.Indices? indices, Action> configureRequest) @@ -4495,7 +4517,7 @@ public virtual FlushResponse Flush(Elastic.Clients.Elasticsearch.Indi /// /// Flushes one or more data streams or indices. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual FlushResponse Flush() @@ -4509,7 +4531,7 @@ public virtual FlushResponse Flush() /// /// Flushes one or more data streams or indices. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual FlushResponse Flush(Action> configureRequest) @@ -4524,7 +4546,7 @@ public virtual FlushResponse Flush(Action /// Flushes one or more data streams or indices. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual FlushResponse Flush(FlushRequestDescriptor descriptor) @@ -4537,7 +4559,7 @@ public virtual FlushResponse Flush(FlushRequestDescriptor descriptor) /// /// Flushes one or more data streams or indices. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual FlushResponse Flush(Elastic.Clients.Elasticsearch.Indices? indices) @@ -4551,7 +4573,7 @@ public virtual FlushResponse Flush(Elastic.Clients.Elasticsearch.Indices? indice /// /// Flushes one or more data streams or indices. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual FlushResponse Flush(Elastic.Clients.Elasticsearch.Indices? indices, Action configureRequest) @@ -4566,7 +4588,7 @@ public virtual FlushResponse Flush(Elastic.Clients.Elasticsearch.Indices? indice /// /// Flushes one or more data streams or indices. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual FlushResponse Flush() @@ -4580,7 +4602,7 @@ public virtual FlushResponse Flush() /// /// Flushes one or more data streams or indices. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual FlushResponse Flush(Action configureRequest) @@ -4595,7 +4617,7 @@ public virtual FlushResponse Flush(Action configureReque /// /// Flushes one or more data streams or indices. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task FlushAsync(FlushRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -4607,7 +4629,7 @@ public virtual Task FlushAsync(FlushRequestDescriptor< /// /// Flushes one or more data streams or indices. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task FlushAsync(Elastic.Clients.Elasticsearch.Indices? indices, CancellationToken cancellationToken = default) { @@ -4620,7 +4642,7 @@ public virtual Task FlushAsync(Elastic.Clients.Elastic /// /// Flushes one or more data streams or indices. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task FlushAsync(Elastic.Clients.Elasticsearch.Indices? indices, Action> configureRequest, CancellationToken cancellationToken = default) { @@ -4634,7 +4656,7 @@ public virtual Task FlushAsync(Elastic.Clients.Elastic /// /// Flushes one or more data streams or indices. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task FlushAsync(CancellationToken cancellationToken = default) { @@ -4647,7 +4669,7 @@ public virtual Task FlushAsync(CancellationToken cance /// /// Flushes one or more data streams or indices. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task FlushAsync(Action> configureRequest, CancellationToken cancellationToken = default) { @@ -4661,7 +4683,7 @@ public virtual Task FlushAsync(Action /// Flushes one or more data streams or indices. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task FlushAsync(FlushRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -4673,7 +4695,7 @@ public virtual Task FlushAsync(FlushRequestDescriptor descriptor, /// /// Flushes one or more data streams or indices. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task FlushAsync(Elastic.Clients.Elasticsearch.Indices? indices, CancellationToken cancellationToken = default) { @@ -4686,7 +4708,7 @@ public virtual Task FlushAsync(Elastic.Clients.Elasticsearch.Indi /// /// Flushes one or more data streams or indices. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task FlushAsync(Elastic.Clients.Elasticsearch.Indices? indices, Action configureRequest, CancellationToken cancellationToken = default) { @@ -4700,7 +4722,7 @@ public virtual Task FlushAsync(Elastic.Clients.Elasticsearch.Indi /// /// Flushes one or more data streams or indices. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task FlushAsync(CancellationToken cancellationToken = default) { @@ -4713,7 +4735,7 @@ public virtual Task FlushAsync(CancellationToken cancellationToke /// /// Flushes one or more data streams or indices. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task FlushAsync(Action configureRequest, CancellationToken cancellationToken = default) { @@ -8264,9 +8286,9 @@ public virtual PutDataLifecycleResponse PutDataLifecycle(PutDataLifecycleRequest /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] - public virtual PutDataLifecycleResponse PutDataLifecycle(Elastic.Clients.Elasticsearch.DataStreamNames name) + public virtual PutDataLifecycleResponse PutDataLifecycle(Elastic.Clients.Elasticsearch.IndexManagement.DataStreamLifecycle lifecycle, Elastic.Clients.Elasticsearch.DataStreamNames name) { - var descriptor = new PutDataLifecycleRequestDescriptor(name); + var descriptor = new PutDataLifecycleRequestDescriptor(lifecycle, name); descriptor.BeforeRequest(); return DoRequest(descriptor); } @@ -8279,9 +8301,9 @@ public virtual PutDataLifecycleResponse PutDataLifecycle(Elastic.Clients.Elastic /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] - public virtual PutDataLifecycleResponse PutDataLifecycle(Elastic.Clients.Elasticsearch.DataStreamNames name, Action configureRequest) + public virtual PutDataLifecycleResponse PutDataLifecycle(Elastic.Clients.Elasticsearch.IndexManagement.DataStreamLifecycle lifecycle, Elastic.Clients.Elasticsearch.DataStreamNames name, Action configureRequest) { - var descriptor = new PutDataLifecycleRequestDescriptor(name); + var descriptor = new PutDataLifecycleRequestDescriptor(lifecycle, name); configureRequest?.Invoke(descriptor); descriptor.BeforeRequest(); return DoRequest(descriptor); @@ -8307,9 +8329,9 @@ public virtual Task PutDataLifecycleAsync(PutDataLifec /// /// Learn more about this API in the Elasticsearch documentation. /// - public virtual Task PutDataLifecycleAsync(Elastic.Clients.Elasticsearch.DataStreamNames name, CancellationToken cancellationToken = default) + public virtual Task PutDataLifecycleAsync(Elastic.Clients.Elasticsearch.IndexManagement.DataStreamLifecycle lifecycle, Elastic.Clients.Elasticsearch.DataStreamNames name, CancellationToken cancellationToken = default) { - var descriptor = new PutDataLifecycleRequestDescriptor(name); + var descriptor = new PutDataLifecycleRequestDescriptor(lifecycle, name); descriptor.BeforeRequest(); return DoRequestAsync(descriptor, cancellationToken); } @@ -8321,9 +8343,9 @@ public virtual Task PutDataLifecycleAsync(Elastic.Clie /// /// Learn more about this API in the Elasticsearch documentation. /// - public virtual Task PutDataLifecycleAsync(Elastic.Clients.Elasticsearch.DataStreamNames name, Action configureRequest, CancellationToken cancellationToken = default) + public virtual Task PutDataLifecycleAsync(Elastic.Clients.Elasticsearch.IndexManagement.DataStreamLifecycle lifecycle, Elastic.Clients.Elasticsearch.DataStreamNames name, Action configureRequest, CancellationToken cancellationToken = default) { - var descriptor = new PutDataLifecycleRequestDescriptor(name); + var descriptor = new PutDataLifecycleRequestDescriptor(lifecycle, name); configureRequest?.Invoke(descriptor); descriptor.BeforeRequest(); return DoRequestAsync(descriptor, cancellationToken); @@ -10519,7 +10541,7 @@ public virtual Task ResolveIndexAsync(Elastic.Clients.Elas /// Roll over to a new index. /// Creates a new index for a data stream or index alias. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual RolloverResponse Rollover(RolloverRequest request) @@ -10533,7 +10555,7 @@ public virtual RolloverResponse Rollover(RolloverRequest request) /// Roll over to a new index. /// Creates a new index for a data stream or index alias. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task RolloverAsync(RolloverRequest request, CancellationToken cancellationToken = default) { @@ -10546,7 +10568,7 @@ public virtual Task RolloverAsync(RolloverRequest request, Can /// Roll over to a new index. /// Creates a new index for a data stream or index alias. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual RolloverResponse Rollover(RolloverRequestDescriptor descriptor) @@ -10560,7 +10582,7 @@ public virtual RolloverResponse Rollover(RolloverRequestDescriptor - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual RolloverResponse Rollover(Elastic.Clients.Elasticsearch.IndexAlias alias, Elastic.Clients.Elasticsearch.IndexName? newIndex) @@ -10575,7 +10597,7 @@ public virtual RolloverResponse Rollover(Elastic.Clients.Elasticsearc /// Roll over to a new index. /// Creates a new index for a data stream or index alias. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual RolloverResponse Rollover(Elastic.Clients.Elasticsearch.IndexAlias alias, Elastic.Clients.Elasticsearch.IndexName? newIndex, Action> configureRequest) @@ -10591,7 +10613,7 @@ public virtual RolloverResponse Rollover(Elastic.Clients.Elasticsearc /// Roll over to a new index. /// Creates a new index for a data stream or index alias. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual RolloverResponse Rollover(Elastic.Clients.Elasticsearch.IndexAlias alias) @@ -10606,7 +10628,7 @@ public virtual RolloverResponse Rollover(Elastic.Clients.Elasticsearc /// Roll over to a new index. /// Creates a new index for a data stream or index alias. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual RolloverResponse Rollover(Elastic.Clients.Elasticsearch.IndexAlias alias, Action> configureRequest) @@ -10622,7 +10644,7 @@ public virtual RolloverResponse Rollover(Elastic.Clients.Elasticsearc /// Roll over to a new index. /// Creates a new index for a data stream or index alias. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual RolloverResponse Rollover(RolloverRequestDescriptor descriptor) @@ -10636,7 +10658,7 @@ public virtual RolloverResponse Rollover(RolloverRequestDescriptor descriptor) /// Roll over to a new index. /// Creates a new index for a data stream or index alias. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual RolloverResponse Rollover(Elastic.Clients.Elasticsearch.IndexAlias alias, Elastic.Clients.Elasticsearch.IndexName? newIndex) @@ -10651,7 +10673,7 @@ public virtual RolloverResponse Rollover(Elastic.Clients.Elasticsearch.IndexAlia /// Roll over to a new index. /// Creates a new index for a data stream or index alias. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual RolloverResponse Rollover(Elastic.Clients.Elasticsearch.IndexAlias alias, Elastic.Clients.Elasticsearch.IndexName? newIndex, Action configureRequest) @@ -10667,7 +10689,7 @@ public virtual RolloverResponse Rollover(Elastic.Clients.Elasticsearch.IndexAlia /// Roll over to a new index. /// Creates a new index for a data stream or index alias. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual RolloverResponse Rollover(Elastic.Clients.Elasticsearch.IndexAlias alias) @@ -10682,7 +10704,7 @@ public virtual RolloverResponse Rollover(Elastic.Clients.Elasticsearch.IndexAlia /// Roll over to a new index. /// Creates a new index for a data stream or index alias. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual RolloverResponse Rollover(Elastic.Clients.Elasticsearch.IndexAlias alias, Action configureRequest) @@ -10698,7 +10720,7 @@ public virtual RolloverResponse Rollover(Elastic.Clients.Elasticsearch.IndexAlia /// Roll over to a new index. /// Creates a new index for a data stream or index alias. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task RolloverAsync(RolloverRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -10711,7 +10733,7 @@ public virtual Task RolloverAsync(RolloverRequestDe /// Roll over to a new index. /// Creates a new index for a data stream or index alias. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task RolloverAsync(Elastic.Clients.Elasticsearch.IndexAlias alias, Elastic.Clients.Elasticsearch.IndexName? newIndex, CancellationToken cancellationToken = default) { @@ -10725,7 +10747,7 @@ public virtual Task RolloverAsync(Elastic.Clients.E /// Roll over to a new index. /// Creates a new index for a data stream or index alias. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task RolloverAsync(Elastic.Clients.Elasticsearch.IndexAlias alias, Elastic.Clients.Elasticsearch.IndexName? newIndex, Action> configureRequest, CancellationToken cancellationToken = default) { @@ -10740,7 +10762,7 @@ public virtual Task RolloverAsync(Elastic.Clients.E /// Roll over to a new index. /// Creates a new index for a data stream or index alias. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task RolloverAsync(Elastic.Clients.Elasticsearch.IndexAlias alias, CancellationToken cancellationToken = default) { @@ -10754,7 +10776,7 @@ public virtual Task RolloverAsync(Elastic.Clients.E /// Roll over to a new index. /// Creates a new index for a data stream or index alias. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task RolloverAsync(Elastic.Clients.Elasticsearch.IndexAlias alias, Action> configureRequest, CancellationToken cancellationToken = default) { @@ -10769,7 +10791,7 @@ public virtual Task RolloverAsync(Elastic.Clients.E /// Roll over to a new index. /// Creates a new index for a data stream or index alias. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task RolloverAsync(RolloverRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -10782,7 +10804,7 @@ public virtual Task RolloverAsync(RolloverRequestDescriptor de /// Roll over to a new index. /// Creates a new index for a data stream or index alias. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task RolloverAsync(Elastic.Clients.Elasticsearch.IndexAlias alias, Elastic.Clients.Elasticsearch.IndexName? newIndex, CancellationToken cancellationToken = default) { @@ -10796,7 +10818,7 @@ public virtual Task RolloverAsync(Elastic.Clients.Elasticsearc /// Roll over to a new index. /// Creates a new index for a data stream or index alias. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task RolloverAsync(Elastic.Clients.Elasticsearch.IndexAlias alias, Elastic.Clients.Elasticsearch.IndexName? newIndex, Action configureRequest, CancellationToken cancellationToken = default) { @@ -10811,7 +10833,7 @@ public virtual Task RolloverAsync(Elastic.Clients.Elasticsearc /// Roll over to a new index. /// Creates a new index for a data stream or index alias. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task RolloverAsync(Elastic.Clients.Elasticsearch.IndexAlias alias, CancellationToken cancellationToken = default) { @@ -10825,7 +10847,7 @@ public virtual Task RolloverAsync(Elastic.Clients.Elasticsearc /// Roll over to a new index. /// Creates a new index for a data stream or index alias. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task RolloverAsync(Elastic.Clients.Elasticsearch.IndexAlias alias, Action configureRequest, CancellationToken cancellationToken = default) { @@ -11481,7 +11503,7 @@ public virtual Task ShardStoresAsync(Action /// Shrinks an existing index into a new index with fewer primary shards. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ShrinkIndexResponse Shrink(ShrinkIndexRequest request) @@ -11494,7 +11516,7 @@ public virtual ShrinkIndexResponse Shrink(ShrinkIndexRequest request) /// /// Shrinks an existing index into a new index with fewer primary shards. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ShrinkAsync(ShrinkIndexRequest request, CancellationToken cancellationToken = default) { @@ -11506,7 +11528,7 @@ public virtual Task ShrinkAsync(ShrinkIndexRequest request, /// /// Shrinks an existing index into a new index with fewer primary shards. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ShrinkIndexResponse Shrink(ShrinkIndexRequestDescriptor descriptor) @@ -11519,7 +11541,7 @@ public virtual ShrinkIndexResponse Shrink(ShrinkIndexRequestDescripto /// /// Shrinks an existing index into a new index with fewer primary shards. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ShrinkIndexResponse Shrink(Elastic.Clients.Elasticsearch.IndexName index, Elastic.Clients.Elasticsearch.IndexName target) @@ -11533,7 +11555,7 @@ public virtual ShrinkIndexResponse Shrink(Elastic.Clients.Elasticsear /// /// Shrinks an existing index into a new index with fewer primary shards. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ShrinkIndexResponse Shrink(Elastic.Clients.Elasticsearch.IndexName index, Elastic.Clients.Elasticsearch.IndexName target, Action> configureRequest) @@ -11548,7 +11570,7 @@ public virtual ShrinkIndexResponse Shrink(Elastic.Clients.Elasticsear /// /// Shrinks an existing index into a new index with fewer primary shards. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ShrinkIndexResponse Shrink(ShrinkIndexRequestDescriptor descriptor) @@ -11561,7 +11583,7 @@ public virtual ShrinkIndexResponse Shrink(ShrinkIndexRequestDescriptor descripto /// /// Shrinks an existing index into a new index with fewer primary shards. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ShrinkIndexResponse Shrink(Elastic.Clients.Elasticsearch.IndexName index, Elastic.Clients.Elasticsearch.IndexName target) @@ -11575,7 +11597,7 @@ public virtual ShrinkIndexResponse Shrink(Elastic.Clients.Elasticsearch.IndexNam /// /// Shrinks an existing index into a new index with fewer primary shards. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ShrinkIndexResponse Shrink(Elastic.Clients.Elasticsearch.IndexName index, Elastic.Clients.Elasticsearch.IndexName target, Action configureRequest) @@ -11590,7 +11612,7 @@ public virtual ShrinkIndexResponse Shrink(Elastic.Clients.Elasticsearch.IndexNam /// /// Shrinks an existing index into a new index with fewer primary shards. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ShrinkAsync(ShrinkIndexRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -11602,7 +11624,7 @@ public virtual Task ShrinkAsync(ShrinkIndexReque /// /// Shrinks an existing index into a new index with fewer primary shards. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ShrinkAsync(Elastic.Clients.Elasticsearch.IndexName index, Elastic.Clients.Elasticsearch.IndexName target, CancellationToken cancellationToken = default) { @@ -11615,7 +11637,7 @@ public virtual Task ShrinkAsync(Elastic.Clients. /// /// Shrinks an existing index into a new index with fewer primary shards. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ShrinkAsync(Elastic.Clients.Elasticsearch.IndexName index, Elastic.Clients.Elasticsearch.IndexName target, Action> configureRequest, CancellationToken cancellationToken = default) { @@ -11629,7 +11651,7 @@ public virtual Task ShrinkAsync(Elastic.Clients. /// /// Shrinks an existing index into a new index with fewer primary shards. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ShrinkAsync(ShrinkIndexRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -11641,7 +11663,7 @@ public virtual Task ShrinkAsync(ShrinkIndexRequestDescripto /// /// Shrinks an existing index into a new index with fewer primary shards. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ShrinkAsync(Elastic.Clients.Elasticsearch.IndexName index, Elastic.Clients.Elasticsearch.IndexName target, CancellationToken cancellationToken = default) { @@ -11654,7 +11676,7 @@ public virtual Task ShrinkAsync(Elastic.Clients.Elasticsear /// /// Shrinks an existing index into a new index with fewer primary shards. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ShrinkAsync(Elastic.Clients.Elasticsearch.IndexName index, Elastic.Clients.Elasticsearch.IndexName target, Action configureRequest, CancellationToken cancellationToken = default) { @@ -12103,7 +12125,7 @@ public virtual Task SimulateTemplateAsync(Action /// Splits an existing index into a new index with more primary shards. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual SplitIndexResponse Split(SplitIndexRequest request) @@ -12116,7 +12138,7 @@ public virtual SplitIndexResponse Split(SplitIndexRequest request) /// /// Splits an existing index into a new index with more primary shards. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task SplitAsync(SplitIndexRequest request, CancellationToken cancellationToken = default) { @@ -12128,7 +12150,7 @@ public virtual Task SplitAsync(SplitIndexRequest request, Ca /// /// Splits an existing index into a new index with more primary shards. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual SplitIndexResponse Split(SplitIndexRequestDescriptor descriptor) @@ -12141,7 +12163,7 @@ public virtual SplitIndexResponse Split(SplitIndexRequestDescriptor /// Splits an existing index into a new index with more primary shards. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual SplitIndexResponse Split(Elastic.Clients.Elasticsearch.IndexName index, Elastic.Clients.Elasticsearch.IndexName target) @@ -12155,7 +12177,7 @@ public virtual SplitIndexResponse Split(Elastic.Clients.Elasticsearch /// /// Splits an existing index into a new index with more primary shards. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual SplitIndexResponse Split(Elastic.Clients.Elasticsearch.IndexName index, Elastic.Clients.Elasticsearch.IndexName target, Action> configureRequest) @@ -12170,7 +12192,7 @@ public virtual SplitIndexResponse Split(Elastic.Clients.Elasticsearch /// /// Splits an existing index into a new index with more primary shards. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual SplitIndexResponse Split(SplitIndexRequestDescriptor descriptor) @@ -12183,7 +12205,7 @@ public virtual SplitIndexResponse Split(SplitIndexRequestDescriptor descriptor) /// /// Splits an existing index into a new index with more primary shards. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual SplitIndexResponse Split(Elastic.Clients.Elasticsearch.IndexName index, Elastic.Clients.Elasticsearch.IndexName target) @@ -12197,7 +12219,7 @@ public virtual SplitIndexResponse Split(Elastic.Clients.Elasticsearch.IndexName /// /// Splits an existing index into a new index with more primary shards. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual SplitIndexResponse Split(Elastic.Clients.Elasticsearch.IndexName index, Elastic.Clients.Elasticsearch.IndexName target, Action configureRequest) @@ -12212,7 +12234,7 @@ public virtual SplitIndexResponse Split(Elastic.Clients.Elasticsearch.IndexName /// /// Splits an existing index into a new index with more primary shards. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task SplitAsync(SplitIndexRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -12224,7 +12246,7 @@ public virtual Task SplitAsync(SplitIndexRequestD /// /// Splits an existing index into a new index with more primary shards. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task SplitAsync(Elastic.Clients.Elasticsearch.IndexName index, Elastic.Clients.Elasticsearch.IndexName target, CancellationToken cancellationToken = default) { @@ -12237,7 +12259,7 @@ public virtual Task SplitAsync(Elastic.Clients.El /// /// Splits an existing index into a new index with more primary shards. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task SplitAsync(Elastic.Clients.Elasticsearch.IndexName index, Elastic.Clients.Elasticsearch.IndexName target, Action> configureRequest, CancellationToken cancellationToken = default) { @@ -12251,7 +12273,7 @@ public virtual Task SplitAsync(Elastic.Clients.El /// /// Splits an existing index into a new index with more primary shards. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task SplitAsync(SplitIndexRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -12263,7 +12285,7 @@ public virtual Task SplitAsync(SplitIndexRequestDescriptor d /// /// Splits an existing index into a new index with more primary shards. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task SplitAsync(Elastic.Clients.Elasticsearch.IndexName index, Elastic.Clients.Elasticsearch.IndexName target, CancellationToken cancellationToken = default) { @@ -12276,7 +12298,7 @@ public virtual Task SplitAsync(Elastic.Clients.Elasticsearch /// /// Splits an existing index into a new index with more primary shards. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task SplitAsync(Elastic.Clients.Elasticsearch.IndexName index, Elastic.Clients.Elasticsearch.IndexName target, Action configureRequest, CancellationToken cancellationToken = default) { diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.Ingest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.Ingest.g.cs index c9102687c74..3780833c657 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.Ingest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.Ingest.g.cs @@ -417,7 +417,7 @@ public virtual Task DeletePipelineAsync(Elastic.Clients. /// /// Gets download statistics for GeoIP2 databases used with the geoip processor. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual GeoIpStatsResponse GeoIpStats(GeoIpStatsRequest request) @@ -430,7 +430,7 @@ public virtual GeoIpStatsResponse GeoIpStats(GeoIpStatsRequest request) /// /// Gets download statistics for GeoIP2 databases used with the geoip processor. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task GeoIpStatsAsync(GeoIpStatsRequest request, CancellationToken cancellationToken = default) { @@ -442,7 +442,7 @@ public virtual Task GeoIpStatsAsync(GeoIpStatsRequest reques /// /// Gets download statistics for GeoIP2 databases used with the geoip processor. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual GeoIpStatsResponse GeoIpStats(GeoIpStatsRequestDescriptor descriptor) @@ -455,7 +455,7 @@ public virtual GeoIpStatsResponse GeoIpStats(GeoIpStatsRequestDescriptor descrip /// /// Gets download statistics for GeoIP2 databases used with the geoip processor. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual GeoIpStatsResponse GeoIpStats() @@ -469,7 +469,7 @@ public virtual GeoIpStatsResponse GeoIpStats() /// /// Gets download statistics for GeoIP2 databases used with the geoip processor. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual GeoIpStatsResponse GeoIpStats(Action configureRequest) @@ -484,7 +484,7 @@ public virtual GeoIpStatsResponse GeoIpStats(Action /// /// Gets download statistics for GeoIP2 databases used with the geoip processor. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task GeoIpStatsAsync(GeoIpStatsRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -496,7 +496,7 @@ public virtual Task GeoIpStatsAsync(GeoIpStatsRequestDescrip /// /// Gets download statistics for GeoIP2 databases used with the geoip processor. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task GeoIpStatsAsync(CancellationToken cancellationToken = default) { @@ -509,7 +509,7 @@ public virtual Task GeoIpStatsAsync(CancellationToken cancel /// /// Gets download statistics for GeoIP2 databases used with the geoip processor. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task GeoIpStatsAsync(Action configureRequest, CancellationToken cancellationToken = default) { @@ -1145,7 +1145,7 @@ public virtual Task GetPipelineAsync(Action - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ProcessorGrokResponse ProcessorGrok(ProcessorGrokRequest request) @@ -1160,7 +1160,7 @@ public virtual ProcessorGrokResponse ProcessorGrok(ProcessorGrokRequest request) /// You choose which field to extract matched fields from, as well as the grok pattern you expect will match. /// A grok pattern is like a regular expression that supports aliased expressions that can be reused. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ProcessorGrokAsync(ProcessorGrokRequest request, CancellationToken cancellationToken = default) { @@ -1174,7 +1174,7 @@ public virtual Task ProcessorGrokAsync(ProcessorGrokReque /// You choose which field to extract matched fields from, as well as the grok pattern you expect will match. /// A grok pattern is like a regular expression that supports aliased expressions that can be reused. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ProcessorGrokResponse ProcessorGrok(ProcessorGrokRequestDescriptor descriptor) @@ -1189,7 +1189,7 @@ public virtual ProcessorGrokResponse ProcessorGrok(ProcessorGrokRequestDescripto /// You choose which field to extract matched fields from, as well as the grok pattern you expect will match. /// A grok pattern is like a regular expression that supports aliased expressions that can be reused. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ProcessorGrokResponse ProcessorGrok() @@ -1205,7 +1205,7 @@ public virtual ProcessorGrokResponse ProcessorGrok() /// You choose which field to extract matched fields from, as well as the grok pattern you expect will match. /// A grok pattern is like a regular expression that supports aliased expressions that can be reused. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ProcessorGrokResponse ProcessorGrok(Action configureRequest) @@ -1222,7 +1222,7 @@ public virtual ProcessorGrokResponse ProcessorGrok(Action - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ProcessorGrokAsync(ProcessorGrokRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -1236,7 +1236,7 @@ public virtual Task ProcessorGrokAsync(ProcessorGrokReque /// You choose which field to extract matched fields from, as well as the grok pattern you expect will match. /// A grok pattern is like a regular expression that supports aliased expressions that can be reused. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ProcessorGrokAsync(CancellationToken cancellationToken = default) { @@ -1251,7 +1251,7 @@ public virtual Task ProcessorGrokAsync(CancellationToken /// You choose which field to extract matched fields from, as well as the grok pattern you expect will match. /// A grok pattern is like a regular expression that supports aliased expressions that can be reused. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ProcessorGrokAsync(Action configureRequest, CancellationToken cancellationToken = default) { @@ -1453,7 +1453,7 @@ public virtual Task PutGeoipDatabaseAsync(Elastic.Clie /// Creates or updates an ingest pipeline. /// Changes made using this API take effect immediately. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual PutPipelineResponse PutPipeline(PutPipelineRequest request) @@ -1467,7 +1467,7 @@ public virtual PutPipelineResponse PutPipeline(PutPipelineRequest request) /// Creates or updates an ingest pipeline. /// Changes made using this API take effect immediately. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PutPipelineAsync(PutPipelineRequest request, CancellationToken cancellationToken = default) { @@ -1480,7 +1480,7 @@ public virtual Task PutPipelineAsync(PutPipelineRequest req /// Creates or updates an ingest pipeline. /// Changes made using this API take effect immediately. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual PutPipelineResponse PutPipeline(PutPipelineRequestDescriptor descriptor) @@ -1494,7 +1494,7 @@ public virtual PutPipelineResponse PutPipeline(PutPipelineRequestDesc /// Creates or updates an ingest pipeline. /// Changes made using this API take effect immediately. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual PutPipelineResponse PutPipeline(Elastic.Clients.Elasticsearch.Id id) @@ -1509,7 +1509,7 @@ public virtual PutPipelineResponse PutPipeline(Elastic.Clients.Elasti /// Creates or updates an ingest pipeline. /// Changes made using this API take effect immediately. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual PutPipelineResponse PutPipeline(Elastic.Clients.Elasticsearch.Id id, Action> configureRequest) @@ -1525,7 +1525,7 @@ public virtual PutPipelineResponse PutPipeline(Elastic.Clients.Elasti /// Creates or updates an ingest pipeline. /// Changes made using this API take effect immediately. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual PutPipelineResponse PutPipeline(PutPipelineRequestDescriptor descriptor) @@ -1539,7 +1539,7 @@ public virtual PutPipelineResponse PutPipeline(PutPipelineRequestDescriptor desc /// Creates or updates an ingest pipeline. /// Changes made using this API take effect immediately. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual PutPipelineResponse PutPipeline(Elastic.Clients.Elasticsearch.Id id) @@ -1554,7 +1554,7 @@ public virtual PutPipelineResponse PutPipeline(Elastic.Clients.Elasticsearch.Id /// Creates or updates an ingest pipeline. /// Changes made using this API take effect immediately. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual PutPipelineResponse PutPipeline(Elastic.Clients.Elasticsearch.Id id, Action configureRequest) @@ -1570,7 +1570,7 @@ public virtual PutPipelineResponse PutPipeline(Elastic.Clients.Elasticsearch.Id /// Creates or updates an ingest pipeline. /// Changes made using this API take effect immediately. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PutPipelineAsync(PutPipelineRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -1583,7 +1583,7 @@ public virtual Task PutPipelineAsync(PutPipeline /// Creates or updates an ingest pipeline. /// Changes made using this API take effect immediately. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PutPipelineAsync(Elastic.Clients.Elasticsearch.Id id, CancellationToken cancellationToken = default) { @@ -1597,7 +1597,7 @@ public virtual Task PutPipelineAsync(Elastic.Cli /// Creates or updates an ingest pipeline. /// Changes made using this API take effect immediately. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PutPipelineAsync(Elastic.Clients.Elasticsearch.Id id, Action> configureRequest, CancellationToken cancellationToken = default) { @@ -1612,7 +1612,7 @@ public virtual Task PutPipelineAsync(Elastic.Cli /// Creates or updates an ingest pipeline. /// Changes made using this API take effect immediately. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PutPipelineAsync(PutPipelineRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -1625,7 +1625,7 @@ public virtual Task PutPipelineAsync(PutPipelineRequestDesc /// Creates or updates an ingest pipeline. /// Changes made using this API take effect immediately. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PutPipelineAsync(Elastic.Clients.Elasticsearch.Id id, CancellationToken cancellationToken = default) { @@ -1639,7 +1639,7 @@ public virtual Task PutPipelineAsync(Elastic.Clients.Elasti /// Creates or updates an ingest pipeline. /// Changes made using this API take effect immediately. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PutPipelineAsync(Elastic.Clients.Elasticsearch.Id id, Action configureRequest, CancellationToken cancellationToken = default) { diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.Ml.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.Ml.g.cs index 3ac1051ceb5..89c08ca6530 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.Ml.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.Ml.g.cs @@ -185,7 +185,7 @@ public virtual Task ClearTrainedModelD /// If you close an anomaly detection job whose datafeed is running, the request first tries to stop the datafeed. This behavior is equivalent to calling stop datafeed API with the same timeout and force parameters as the close job request. /// When a datafeed that has a specified end date stops, it automatically closes its associated job. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual CloseJobResponse CloseJob(CloseJobRequest request) @@ -202,7 +202,7 @@ public virtual CloseJobResponse CloseJob(CloseJobRequest request) /// If you close an anomaly detection job whose datafeed is running, the request first tries to stop the datafeed. This behavior is equivalent to calling stop datafeed API with the same timeout and force parameters as the close job request. /// When a datafeed that has a specified end date stops, it automatically closes its associated job. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task CloseJobAsync(CloseJobRequest request, CancellationToken cancellationToken = default) { @@ -218,7 +218,7 @@ public virtual Task CloseJobAsync(CloseJobRequest request, Can /// If you close an anomaly detection job whose datafeed is running, the request first tries to stop the datafeed. This behavior is equivalent to calling stop datafeed API with the same timeout and force parameters as the close job request. /// When a datafeed that has a specified end date stops, it automatically closes its associated job. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual CloseJobResponse CloseJob(CloseJobRequestDescriptor descriptor) @@ -235,7 +235,7 @@ public virtual CloseJobResponse CloseJob(CloseJobRequestDescriptor descriptor) /// If you close an anomaly detection job whose datafeed is running, the request first tries to stop the datafeed. This behavior is equivalent to calling stop datafeed API with the same timeout and force parameters as the close job request. /// When a datafeed that has a specified end date stops, it automatically closes its associated job. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual CloseJobResponse CloseJob(Elastic.Clients.Elasticsearch.Id jobId) @@ -253,7 +253,7 @@ public virtual CloseJobResponse CloseJob(Elastic.Clients.Elasticsearch.Id jobId) /// If you close an anomaly detection job whose datafeed is running, the request first tries to stop the datafeed. This behavior is equivalent to calling stop datafeed API with the same timeout and force parameters as the close job request. /// When a datafeed that has a specified end date stops, it automatically closes its associated job. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual CloseJobResponse CloseJob(Elastic.Clients.Elasticsearch.Id jobId, Action configureRequest) @@ -272,7 +272,7 @@ public virtual CloseJobResponse CloseJob(Elastic.Clients.Elasticsearch.Id jobId, /// If you close an anomaly detection job whose datafeed is running, the request first tries to stop the datafeed. This behavior is equivalent to calling stop datafeed API with the same timeout and force parameters as the close job request. /// When a datafeed that has a specified end date stops, it automatically closes its associated job. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task CloseJobAsync(CloseJobRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -288,7 +288,7 @@ public virtual Task CloseJobAsync(CloseJobRequestDescriptor de /// If you close an anomaly detection job whose datafeed is running, the request first tries to stop the datafeed. This behavior is equivalent to calling stop datafeed API with the same timeout and force parameters as the close job request. /// When a datafeed that has a specified end date stops, it automatically closes its associated job. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task CloseJobAsync(Elastic.Clients.Elasticsearch.Id jobId, CancellationToken cancellationToken = default) { @@ -305,7 +305,7 @@ public virtual Task CloseJobAsync(Elastic.Clients.Elasticsearc /// If you close an anomaly detection job whose datafeed is running, the request first tries to stop the datafeed. This behavior is equivalent to calling stop datafeed API with the same timeout and force parameters as the close job request. /// When a datafeed that has a specified end date stops, it automatically closes its associated job. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task CloseJobAsync(Elastic.Clients.Elasticsearch.Id jobId, Action configureRequest, CancellationToken cancellationToken = default) { @@ -320,7 +320,7 @@ public virtual Task CloseJobAsync(Elastic.Clients.Elasticsearc /// Delete a calendar. /// Removes all scheduled events from a calendar, then deletes it. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual DeleteCalendarResponse DeleteCalendar(DeleteCalendarRequest request) @@ -334,7 +334,7 @@ public virtual DeleteCalendarResponse DeleteCalendar(DeleteCalendarRequest reque /// Delete a calendar. /// Removes all scheduled events from a calendar, then deletes it. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteCalendarAsync(DeleteCalendarRequest request, CancellationToken cancellationToken = default) { @@ -347,7 +347,7 @@ public virtual Task DeleteCalendarAsync(DeleteCalendarRe /// Delete a calendar. /// Removes all scheduled events from a calendar, then deletes it. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual DeleteCalendarResponse DeleteCalendar(DeleteCalendarRequestDescriptor descriptor) @@ -361,7 +361,7 @@ public virtual DeleteCalendarResponse DeleteCalendar(DeleteCalendarRequestDescri /// Delete a calendar. /// Removes all scheduled events from a calendar, then deletes it. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual DeleteCalendarResponse DeleteCalendar(Elastic.Clients.Elasticsearch.Id calendarId) @@ -376,7 +376,7 @@ public virtual DeleteCalendarResponse DeleteCalendar(Elastic.Clients.Elasticsear /// Delete a calendar. /// Removes all scheduled events from a calendar, then deletes it. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual DeleteCalendarResponse DeleteCalendar(Elastic.Clients.Elasticsearch.Id calendarId, Action configureRequest) @@ -392,7 +392,7 @@ public virtual DeleteCalendarResponse DeleteCalendar(Elastic.Clients.Elasticsear /// Delete a calendar. /// Removes all scheduled events from a calendar, then deletes it. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteCalendarAsync(DeleteCalendarRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -405,7 +405,7 @@ public virtual Task DeleteCalendarAsync(DeleteCalendarRe /// Delete a calendar. /// Removes all scheduled events from a calendar, then deletes it. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteCalendarAsync(Elastic.Clients.Elasticsearch.Id calendarId, CancellationToken cancellationToken = default) { @@ -419,7 +419,7 @@ public virtual Task DeleteCalendarAsync(Elastic.Clients. /// Delete a calendar. /// Removes all scheduled events from a calendar, then deletes it. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteCalendarAsync(Elastic.Clients.Elasticsearch.Id calendarId, Action configureRequest, CancellationToken cancellationToken = default) { @@ -433,7 +433,7 @@ public virtual Task DeleteCalendarAsync(Elastic.Clients. /// /// Delete events from a calendar. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual DeleteCalendarEventResponse DeleteCalendarEvent(DeleteCalendarEventRequest request) @@ -446,7 +446,7 @@ public virtual DeleteCalendarEventResponse DeleteCalendarEvent(DeleteCalendarEve /// /// Delete events from a calendar. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteCalendarEventAsync(DeleteCalendarEventRequest request, CancellationToken cancellationToken = default) { @@ -458,7 +458,7 @@ public virtual Task DeleteCalendarEventAsync(Delete /// /// Delete events from a calendar. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual DeleteCalendarEventResponse DeleteCalendarEvent(DeleteCalendarEventRequestDescriptor descriptor) @@ -471,7 +471,7 @@ public virtual DeleteCalendarEventResponse DeleteCalendarEvent(DeleteCalendarEve /// /// Delete events from a calendar. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual DeleteCalendarEventResponse DeleteCalendarEvent(Elastic.Clients.Elasticsearch.Id calendarId, Elastic.Clients.Elasticsearch.Id eventId) @@ -485,7 +485,7 @@ public virtual DeleteCalendarEventResponse DeleteCalendarEvent(Elastic.Clients.E /// /// Delete events from a calendar. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual DeleteCalendarEventResponse DeleteCalendarEvent(Elastic.Clients.Elasticsearch.Id calendarId, Elastic.Clients.Elasticsearch.Id eventId, Action configureRequest) @@ -500,7 +500,7 @@ public virtual DeleteCalendarEventResponse DeleteCalendarEvent(Elastic.Clients.E /// /// Delete events from a calendar. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteCalendarEventAsync(DeleteCalendarEventRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -512,7 +512,7 @@ public virtual Task DeleteCalendarEventAsync(Delete /// /// Delete events from a calendar. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteCalendarEventAsync(Elastic.Clients.Elasticsearch.Id calendarId, Elastic.Clients.Elasticsearch.Id eventId, CancellationToken cancellationToken = default) { @@ -525,7 +525,7 @@ public virtual Task DeleteCalendarEventAsync(Elasti /// /// Delete events from a calendar. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteCalendarEventAsync(Elastic.Clients.Elasticsearch.Id calendarId, Elastic.Clients.Elasticsearch.Id eventId, Action configureRequest, CancellationToken cancellationToken = default) { @@ -539,7 +539,7 @@ public virtual Task DeleteCalendarEventAsync(Elasti /// /// Delete anomaly jobs from a calendar. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual DeleteCalendarJobResponse DeleteCalendarJob(DeleteCalendarJobRequest request) @@ -552,7 +552,7 @@ public virtual DeleteCalendarJobResponse DeleteCalendarJob(DeleteCalendarJobRequ /// /// Delete anomaly jobs from a calendar. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteCalendarJobAsync(DeleteCalendarJobRequest request, CancellationToken cancellationToken = default) { @@ -564,7 +564,7 @@ public virtual Task DeleteCalendarJobAsync(DeleteCale /// /// Delete anomaly jobs from a calendar. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual DeleteCalendarJobResponse DeleteCalendarJob(DeleteCalendarJobRequestDescriptor descriptor) @@ -577,7 +577,7 @@ public virtual DeleteCalendarJobResponse DeleteCalendarJob(DeleteCalendarJobRequ /// /// Delete anomaly jobs from a calendar. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual DeleteCalendarJobResponse DeleteCalendarJob(Elastic.Clients.Elasticsearch.Id calendarId, Elastic.Clients.Elasticsearch.Ids jobId) @@ -591,7 +591,7 @@ public virtual DeleteCalendarJobResponse DeleteCalendarJob(Elastic.Clients.Elast /// /// Delete anomaly jobs from a calendar. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual DeleteCalendarJobResponse DeleteCalendarJob(Elastic.Clients.Elasticsearch.Id calendarId, Elastic.Clients.Elasticsearch.Ids jobId, Action configureRequest) @@ -606,7 +606,7 @@ public virtual DeleteCalendarJobResponse DeleteCalendarJob(Elastic.Clients.Elast /// /// Delete anomaly jobs from a calendar. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteCalendarJobAsync(DeleteCalendarJobRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -618,7 +618,7 @@ public virtual Task DeleteCalendarJobAsync(DeleteCale /// /// Delete anomaly jobs from a calendar. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteCalendarJobAsync(Elastic.Clients.Elasticsearch.Id calendarId, Elastic.Clients.Elasticsearch.Ids jobId, CancellationToken cancellationToken = default) { @@ -631,7 +631,7 @@ public virtual Task DeleteCalendarJobAsync(Elastic.Cl /// /// Delete anomaly jobs from a calendar. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteCalendarJobAsync(Elastic.Clients.Elasticsearch.Id calendarId, Elastic.Clients.Elasticsearch.Ids jobId, Action configureRequest, CancellationToken cancellationToken = default) { @@ -645,7 +645,7 @@ public virtual Task DeleteCalendarJobAsync(Elastic.Cl /// /// Delete a datafeed. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual DeleteDatafeedResponse DeleteDatafeed(DeleteDatafeedRequest request) @@ -658,7 +658,7 @@ public virtual DeleteDatafeedResponse DeleteDatafeed(DeleteDatafeedRequest reque /// /// Delete a datafeed. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteDatafeedAsync(DeleteDatafeedRequest request, CancellationToken cancellationToken = default) { @@ -670,7 +670,7 @@ public virtual Task DeleteDatafeedAsync(DeleteDatafeedRe /// /// Delete a datafeed. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual DeleteDatafeedResponse DeleteDatafeed(DeleteDatafeedRequestDescriptor descriptor) @@ -683,7 +683,7 @@ public virtual DeleteDatafeedResponse DeleteDatafeed(DeleteDatafeedRequestDescri /// /// Delete a datafeed. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual DeleteDatafeedResponse DeleteDatafeed(Elastic.Clients.Elasticsearch.Id datafeedId) @@ -697,7 +697,7 @@ public virtual DeleteDatafeedResponse DeleteDatafeed(Elastic.Clients.Elasticsear /// /// Delete a datafeed. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual DeleteDatafeedResponse DeleteDatafeed(Elastic.Clients.Elasticsearch.Id datafeedId, Action configureRequest) @@ -712,7 +712,7 @@ public virtual DeleteDatafeedResponse DeleteDatafeed(Elastic.Clients.Elasticsear /// /// Delete a datafeed. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteDatafeedAsync(DeleteDatafeedRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -724,7 +724,7 @@ public virtual Task DeleteDatafeedAsync(DeleteDatafeedRe /// /// Delete a datafeed. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteDatafeedAsync(Elastic.Clients.Elasticsearch.Id datafeedId, CancellationToken cancellationToken = default) { @@ -737,7 +737,7 @@ public virtual Task DeleteDatafeedAsync(Elastic.Clients. /// /// Delete a datafeed. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteDatafeedAsync(Elastic.Clients.Elasticsearch.Id datafeedId, Action configureRequest, CancellationToken cancellationToken = default) { @@ -751,7 +751,7 @@ public virtual Task DeleteDatafeedAsync(Elastic.Clients. /// /// Delete a data frame analytics job. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual DeleteDataFrameAnalyticsResponse DeleteDataFrameAnalytics(DeleteDataFrameAnalyticsRequest request) @@ -764,7 +764,7 @@ public virtual DeleteDataFrameAnalyticsResponse DeleteDataFrameAnalytics(DeleteD /// /// Delete a data frame analytics job. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteDataFrameAnalyticsAsync(DeleteDataFrameAnalyticsRequest request, CancellationToken cancellationToken = default) { @@ -776,7 +776,7 @@ public virtual Task DeleteDataFrameAnalyticsAs /// /// Delete a data frame analytics job. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual DeleteDataFrameAnalyticsResponse DeleteDataFrameAnalytics(DeleteDataFrameAnalyticsRequestDescriptor descriptor) @@ -789,7 +789,7 @@ public virtual DeleteDataFrameAnalyticsResponse DeleteDataFrameAnalytics /// Delete a data frame analytics job. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual DeleteDataFrameAnalyticsResponse DeleteDataFrameAnalytics(Elastic.Clients.Elasticsearch.Id id) @@ -803,7 +803,7 @@ public virtual DeleteDataFrameAnalyticsResponse DeleteDataFrameAnalytics /// Delete a data frame analytics job. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual DeleteDataFrameAnalyticsResponse DeleteDataFrameAnalytics(Elastic.Clients.Elasticsearch.Id id, Action> configureRequest) @@ -818,7 +818,7 @@ public virtual DeleteDataFrameAnalyticsResponse DeleteDataFrameAnalytics /// Delete a data frame analytics job. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual DeleteDataFrameAnalyticsResponse DeleteDataFrameAnalytics(DeleteDataFrameAnalyticsRequestDescriptor descriptor) @@ -831,7 +831,7 @@ public virtual DeleteDataFrameAnalyticsResponse DeleteDataFrameAnalytics(DeleteD /// /// Delete a data frame analytics job. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual DeleteDataFrameAnalyticsResponse DeleteDataFrameAnalytics(Elastic.Clients.Elasticsearch.Id id) @@ -845,7 +845,7 @@ public virtual DeleteDataFrameAnalyticsResponse DeleteDataFrameAnalytics(Elastic /// /// Delete a data frame analytics job. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual DeleteDataFrameAnalyticsResponse DeleteDataFrameAnalytics(Elastic.Clients.Elasticsearch.Id id, Action configureRequest) @@ -860,7 +860,7 @@ public virtual DeleteDataFrameAnalyticsResponse DeleteDataFrameAnalytics(Elastic /// /// Delete a data frame analytics job. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteDataFrameAnalyticsAsync(DeleteDataFrameAnalyticsRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -872,7 +872,7 @@ public virtual Task DeleteDataFrameAnalyticsAs /// /// Delete a data frame analytics job. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteDataFrameAnalyticsAsync(Elastic.Clients.Elasticsearch.Id id, CancellationToken cancellationToken = default) { @@ -885,7 +885,7 @@ public virtual Task DeleteDataFrameAnalyticsAs /// /// Delete a data frame analytics job. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteDataFrameAnalyticsAsync(Elastic.Clients.Elasticsearch.Id id, Action> configureRequest, CancellationToken cancellationToken = default) { @@ -899,7 +899,7 @@ public virtual Task DeleteDataFrameAnalyticsAs /// /// Delete a data frame analytics job. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteDataFrameAnalyticsAsync(DeleteDataFrameAnalyticsRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -911,7 +911,7 @@ public virtual Task DeleteDataFrameAnalyticsAs /// /// Delete a data frame analytics job. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteDataFrameAnalyticsAsync(Elastic.Clients.Elasticsearch.Id id, CancellationToken cancellationToken = default) { @@ -924,7 +924,7 @@ public virtual Task DeleteDataFrameAnalyticsAs /// /// Delete a data frame analytics job. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task DeleteDataFrameAnalyticsAsync(Elastic.Clients.Elasticsearch.Id id, Action configureRequest, CancellationToken cancellationToken = default) { @@ -8825,7 +8825,12 @@ public virtual Task PutCalendarJobAsync(Elastic.Clients. /// Datafeeds retrieve data from Elasticsearch for analysis by an anomaly detection job. /// You can associate only one datafeed with each anomaly detection job. /// The datafeed contains a query that runs at a defined interval (frequency). - /// If you are concerned about delayed data, you can add a delay (query_delay') at each interval. When Elasticsearch security features are enabled, your datafeed remembers which roles the user who created it had at the time of creation and runs the query using those same roles. If you provide secondary authorization headers, those credentials are used instead. You must use Kibana, this API, or the create anomaly detection jobs API to create a datafeed. Do not add a datafeed directly to the .ml-configindex. Do not give userswriteprivileges on the.ml-config` index. + /// If you are concerned about delayed data, you can add a delay (query_delay) at each interval. + /// When Elasticsearch security features are enabled, your datafeed remembers which roles the user who created it had + /// at the time of creation and runs the query using those same roles. If you provide secondary authorization headers, + /// those credentials are used instead. + /// You must use Kibana, this API, or the create anomaly detection jobs API to create a datafeed. Do not add a datafeed + /// directly to the .ml-config index. Do not give users write privileges on the .ml-config index. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -8842,7 +8847,12 @@ public virtual PutDatafeedResponse PutDatafeed(PutDatafeedRequest request) /// Datafeeds retrieve data from Elasticsearch for analysis by an anomaly detection job. /// You can associate only one datafeed with each anomaly detection job. /// The datafeed contains a query that runs at a defined interval (frequency). - /// If you are concerned about delayed data, you can add a delay (query_delay') at each interval. When Elasticsearch security features are enabled, your datafeed remembers which roles the user who created it had at the time of creation and runs the query using those same roles. If you provide secondary authorization headers, those credentials are used instead. You must use Kibana, this API, or the create anomaly detection jobs API to create a datafeed. Do not add a datafeed directly to the .ml-configindex. Do not give userswriteprivileges on the.ml-config` index. + /// If you are concerned about delayed data, you can add a delay (query_delay) at each interval. + /// When Elasticsearch security features are enabled, your datafeed remembers which roles the user who created it had + /// at the time of creation and runs the query using those same roles. If you provide secondary authorization headers, + /// those credentials are used instead. + /// You must use Kibana, this API, or the create anomaly detection jobs API to create a datafeed. Do not add a datafeed + /// directly to the .ml-config index. Do not give users write privileges on the .ml-config index. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -8858,7 +8868,12 @@ public virtual Task PutDatafeedAsync(PutDatafeedRequest req /// Datafeeds retrieve data from Elasticsearch for analysis by an anomaly detection job. /// You can associate only one datafeed with each anomaly detection job. /// The datafeed contains a query that runs at a defined interval (frequency). - /// If you are concerned about delayed data, you can add a delay (query_delay') at each interval. When Elasticsearch security features are enabled, your datafeed remembers which roles the user who created it had at the time of creation and runs the query using those same roles. If you provide secondary authorization headers, those credentials are used instead. You must use Kibana, this API, or the create anomaly detection jobs API to create a datafeed. Do not add a datafeed directly to the .ml-configindex. Do not give userswriteprivileges on the.ml-config` index. + /// If you are concerned about delayed data, you can add a delay (query_delay) at each interval. + /// When Elasticsearch security features are enabled, your datafeed remembers which roles the user who created it had + /// at the time of creation and runs the query using those same roles. If you provide secondary authorization headers, + /// those credentials are used instead. + /// You must use Kibana, this API, or the create anomaly detection jobs API to create a datafeed. Do not add a datafeed + /// directly to the .ml-config index. Do not give users write privileges on the .ml-config index. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -8875,7 +8890,12 @@ public virtual PutDatafeedResponse PutDatafeed(PutDatafeedRequestDesc /// Datafeeds retrieve data from Elasticsearch for analysis by an anomaly detection job. /// You can associate only one datafeed with each anomaly detection job. /// The datafeed contains a query that runs at a defined interval (frequency). - /// If you are concerned about delayed data, you can add a delay (query_delay') at each interval. When Elasticsearch security features are enabled, your datafeed remembers which roles the user who created it had at the time of creation and runs the query using those same roles. If you provide secondary authorization headers, those credentials are used instead. You must use Kibana, this API, or the create anomaly detection jobs API to create a datafeed. Do not add a datafeed directly to the .ml-configindex. Do not give userswriteprivileges on the.ml-config` index. + /// If you are concerned about delayed data, you can add a delay (query_delay) at each interval. + /// When Elasticsearch security features are enabled, your datafeed remembers which roles the user who created it had + /// at the time of creation and runs the query using those same roles. If you provide secondary authorization headers, + /// those credentials are used instead. + /// You must use Kibana, this API, or the create anomaly detection jobs API to create a datafeed. Do not add a datafeed + /// directly to the .ml-config index. Do not give users write privileges on the .ml-config index. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -8893,7 +8913,12 @@ public virtual PutDatafeedResponse PutDatafeed(Elastic.Clients.Elasti /// Datafeeds retrieve data from Elasticsearch for analysis by an anomaly detection job. /// You can associate only one datafeed with each anomaly detection job. /// The datafeed contains a query that runs at a defined interval (frequency). - /// If you are concerned about delayed data, you can add a delay (query_delay') at each interval. When Elasticsearch security features are enabled, your datafeed remembers which roles the user who created it had at the time of creation and runs the query using those same roles. If you provide secondary authorization headers, those credentials are used instead. You must use Kibana, this API, or the create anomaly detection jobs API to create a datafeed. Do not add a datafeed directly to the .ml-configindex. Do not give userswriteprivileges on the.ml-config` index. + /// If you are concerned about delayed data, you can add a delay (query_delay) at each interval. + /// When Elasticsearch security features are enabled, your datafeed remembers which roles the user who created it had + /// at the time of creation and runs the query using those same roles. If you provide secondary authorization headers, + /// those credentials are used instead. + /// You must use Kibana, this API, or the create anomaly detection jobs API to create a datafeed. Do not add a datafeed + /// directly to the .ml-config index. Do not give users write privileges on the .ml-config index. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -8912,7 +8937,12 @@ public virtual PutDatafeedResponse PutDatafeed(Elastic.Clients.Elasti /// Datafeeds retrieve data from Elasticsearch for analysis by an anomaly detection job. /// You can associate only one datafeed with each anomaly detection job. /// The datafeed contains a query that runs at a defined interval (frequency). - /// If you are concerned about delayed data, you can add a delay (query_delay') at each interval. When Elasticsearch security features are enabled, your datafeed remembers which roles the user who created it had at the time of creation and runs the query using those same roles. If you provide secondary authorization headers, those credentials are used instead. You must use Kibana, this API, or the create anomaly detection jobs API to create a datafeed. Do not add a datafeed directly to the .ml-configindex. Do not give userswriteprivileges on the.ml-config` index. + /// If you are concerned about delayed data, you can add a delay (query_delay) at each interval. + /// When Elasticsearch security features are enabled, your datafeed remembers which roles the user who created it had + /// at the time of creation and runs the query using those same roles. If you provide secondary authorization headers, + /// those credentials are used instead. + /// You must use Kibana, this API, or the create anomaly detection jobs API to create a datafeed. Do not add a datafeed + /// directly to the .ml-config index. Do not give users write privileges on the .ml-config index. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -8929,7 +8959,12 @@ public virtual PutDatafeedResponse PutDatafeed(PutDatafeedRequestDescriptor desc /// Datafeeds retrieve data from Elasticsearch for analysis by an anomaly detection job. /// You can associate only one datafeed with each anomaly detection job. /// The datafeed contains a query that runs at a defined interval (frequency). - /// If you are concerned about delayed data, you can add a delay (query_delay') at each interval. When Elasticsearch security features are enabled, your datafeed remembers which roles the user who created it had at the time of creation and runs the query using those same roles. If you provide secondary authorization headers, those credentials are used instead. You must use Kibana, this API, or the create anomaly detection jobs API to create a datafeed. Do not add a datafeed directly to the .ml-configindex. Do not give userswriteprivileges on the.ml-config` index. + /// If you are concerned about delayed data, you can add a delay (query_delay) at each interval. + /// When Elasticsearch security features are enabled, your datafeed remembers which roles the user who created it had + /// at the time of creation and runs the query using those same roles. If you provide secondary authorization headers, + /// those credentials are used instead. + /// You must use Kibana, this API, or the create anomaly detection jobs API to create a datafeed. Do not add a datafeed + /// directly to the .ml-config index. Do not give users write privileges on the .ml-config index. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -8947,7 +8982,12 @@ public virtual PutDatafeedResponse PutDatafeed(Elastic.Clients.Elasticsearch.Id /// Datafeeds retrieve data from Elasticsearch for analysis by an anomaly detection job. /// You can associate only one datafeed with each anomaly detection job. /// The datafeed contains a query that runs at a defined interval (frequency). - /// If you are concerned about delayed data, you can add a delay (query_delay') at each interval. When Elasticsearch security features are enabled, your datafeed remembers which roles the user who created it had at the time of creation and runs the query using those same roles. If you provide secondary authorization headers, those credentials are used instead. You must use Kibana, this API, or the create anomaly detection jobs API to create a datafeed. Do not add a datafeed directly to the .ml-configindex. Do not give userswriteprivileges on the.ml-config` index. + /// If you are concerned about delayed data, you can add a delay (query_delay) at each interval. + /// When Elasticsearch security features are enabled, your datafeed remembers which roles the user who created it had + /// at the time of creation and runs the query using those same roles. If you provide secondary authorization headers, + /// those credentials are used instead. + /// You must use Kibana, this API, or the create anomaly detection jobs API to create a datafeed. Do not add a datafeed + /// directly to the .ml-config index. Do not give users write privileges on the .ml-config index. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -8966,7 +9006,12 @@ public virtual PutDatafeedResponse PutDatafeed(Elastic.Clients.Elasticsearch.Id /// Datafeeds retrieve data from Elasticsearch for analysis by an anomaly detection job. /// You can associate only one datafeed with each anomaly detection job. /// The datafeed contains a query that runs at a defined interval (frequency). - /// If you are concerned about delayed data, you can add a delay (query_delay') at each interval. When Elasticsearch security features are enabled, your datafeed remembers which roles the user who created it had at the time of creation and runs the query using those same roles. If you provide secondary authorization headers, those credentials are used instead. You must use Kibana, this API, or the create anomaly detection jobs API to create a datafeed. Do not add a datafeed directly to the .ml-configindex. Do not give userswriteprivileges on the.ml-config` index. + /// If you are concerned about delayed data, you can add a delay (query_delay) at each interval. + /// When Elasticsearch security features are enabled, your datafeed remembers which roles the user who created it had + /// at the time of creation and runs the query using those same roles. If you provide secondary authorization headers, + /// those credentials are used instead. + /// You must use Kibana, this API, or the create anomaly detection jobs API to create a datafeed. Do not add a datafeed + /// directly to the .ml-config index. Do not give users write privileges on the .ml-config index. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -8982,7 +9027,12 @@ public virtual Task PutDatafeedAsync(PutDatafeed /// Datafeeds retrieve data from Elasticsearch for analysis by an anomaly detection job. /// You can associate only one datafeed with each anomaly detection job. /// The datafeed contains a query that runs at a defined interval (frequency). - /// If you are concerned about delayed data, you can add a delay (query_delay') at each interval. When Elasticsearch security features are enabled, your datafeed remembers which roles the user who created it had at the time of creation and runs the query using those same roles. If you provide secondary authorization headers, those credentials are used instead. You must use Kibana, this API, or the create anomaly detection jobs API to create a datafeed. Do not add a datafeed directly to the .ml-configindex. Do not give userswriteprivileges on the.ml-config` index. + /// If you are concerned about delayed data, you can add a delay (query_delay) at each interval. + /// When Elasticsearch security features are enabled, your datafeed remembers which roles the user who created it had + /// at the time of creation and runs the query using those same roles. If you provide secondary authorization headers, + /// those credentials are used instead. + /// You must use Kibana, this API, or the create anomaly detection jobs API to create a datafeed. Do not add a datafeed + /// directly to the .ml-config index. Do not give users write privileges on the .ml-config index. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -8999,7 +9049,12 @@ public virtual Task PutDatafeedAsync(Elastic.Cli /// Datafeeds retrieve data from Elasticsearch for analysis by an anomaly detection job. /// You can associate only one datafeed with each anomaly detection job. /// The datafeed contains a query that runs at a defined interval (frequency). - /// If you are concerned about delayed data, you can add a delay (query_delay') at each interval. When Elasticsearch security features are enabled, your datafeed remembers which roles the user who created it had at the time of creation and runs the query using those same roles. If you provide secondary authorization headers, those credentials are used instead. You must use Kibana, this API, or the create anomaly detection jobs API to create a datafeed. Do not add a datafeed directly to the .ml-configindex. Do not give userswriteprivileges on the.ml-config` index. + /// If you are concerned about delayed data, you can add a delay (query_delay) at each interval. + /// When Elasticsearch security features are enabled, your datafeed remembers which roles the user who created it had + /// at the time of creation and runs the query using those same roles. If you provide secondary authorization headers, + /// those credentials are used instead. + /// You must use Kibana, this API, or the create anomaly detection jobs API to create a datafeed. Do not add a datafeed + /// directly to the .ml-config index. Do not give users write privileges on the .ml-config index. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -9017,7 +9072,12 @@ public virtual Task PutDatafeedAsync(Elastic.Cli /// Datafeeds retrieve data from Elasticsearch for analysis by an anomaly detection job. /// You can associate only one datafeed with each anomaly detection job. /// The datafeed contains a query that runs at a defined interval (frequency). - /// If you are concerned about delayed data, you can add a delay (query_delay') at each interval. When Elasticsearch security features are enabled, your datafeed remembers which roles the user who created it had at the time of creation and runs the query using those same roles. If you provide secondary authorization headers, those credentials are used instead. You must use Kibana, this API, or the create anomaly detection jobs API to create a datafeed. Do not add a datafeed directly to the .ml-configindex. Do not give userswriteprivileges on the.ml-config` index. + /// If you are concerned about delayed data, you can add a delay (query_delay) at each interval. + /// When Elasticsearch security features are enabled, your datafeed remembers which roles the user who created it had + /// at the time of creation and runs the query using those same roles. If you provide secondary authorization headers, + /// those credentials are used instead. + /// You must use Kibana, this API, or the create anomaly detection jobs API to create a datafeed. Do not add a datafeed + /// directly to the .ml-config index. Do not give users write privileges on the .ml-config index. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -9033,7 +9093,12 @@ public virtual Task PutDatafeedAsync(PutDatafeedRequestDesc /// Datafeeds retrieve data from Elasticsearch for analysis by an anomaly detection job. /// You can associate only one datafeed with each anomaly detection job. /// The datafeed contains a query that runs at a defined interval (frequency). - /// If you are concerned about delayed data, you can add a delay (query_delay') at each interval. When Elasticsearch security features are enabled, your datafeed remembers which roles the user who created it had at the time of creation and runs the query using those same roles. If you provide secondary authorization headers, those credentials are used instead. You must use Kibana, this API, or the create anomaly detection jobs API to create a datafeed. Do not add a datafeed directly to the .ml-configindex. Do not give userswriteprivileges on the.ml-config` index. + /// If you are concerned about delayed data, you can add a delay (query_delay) at each interval. + /// When Elasticsearch security features are enabled, your datafeed remembers which roles the user who created it had + /// at the time of creation and runs the query using those same roles. If you provide secondary authorization headers, + /// those credentials are used instead. + /// You must use Kibana, this API, or the create anomaly detection jobs API to create a datafeed. Do not add a datafeed + /// directly to the .ml-config index. Do not give users write privileges on the .ml-config index. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -9050,7 +9115,12 @@ public virtual Task PutDatafeedAsync(Elastic.Clients.Elasti /// Datafeeds retrieve data from Elasticsearch for analysis by an anomaly detection job. /// You can associate only one datafeed with each anomaly detection job. /// The datafeed contains a query that runs at a defined interval (frequency). - /// If you are concerned about delayed data, you can add a delay (query_delay') at each interval. When Elasticsearch security features are enabled, your datafeed remembers which roles the user who created it had at the time of creation and runs the query using those same roles. If you provide secondary authorization headers, those credentials are used instead. You must use Kibana, this API, or the create anomaly detection jobs API to create a datafeed. Do not add a datafeed directly to the .ml-configindex. Do not give userswriteprivileges on the.ml-config` index. + /// If you are concerned about delayed data, you can add a delay (query_delay) at each interval. + /// When Elasticsearch security features are enabled, your datafeed remembers which roles the user who created it had + /// at the time of creation and runs the query using those same roles. If you provide secondary authorization headers, + /// those credentials are used instead. + /// You must use Kibana, this API, or the create anomaly detection jobs API to create a datafeed. Do not add a datafeed + /// directly to the .ml-config index. Do not give users write privileges on the .ml-config index. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -9068,7 +9138,7 @@ public virtual Task PutDatafeedAsync(Elastic.Clients.Elasti /// This API creates a data frame analytics job that performs an analysis on the /// source indices and stores the outcome in a destination index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual PutDataFrameAnalyticsResponse PutDataFrameAnalytics(PutDataFrameAnalyticsRequest request) @@ -9083,7 +9153,7 @@ public virtual PutDataFrameAnalyticsResponse PutDataFrameAnalytics(PutDataFrameA /// This API creates a data frame analytics job that performs an analysis on the /// source indices and stores the outcome in a destination index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PutDataFrameAnalyticsAsync(PutDataFrameAnalyticsRequest request, CancellationToken cancellationToken = default) { @@ -9097,7 +9167,7 @@ public virtual Task PutDataFrameAnalyticsAsync(Pu /// This API creates a data frame analytics job that performs an analysis on the /// source indices and stores the outcome in a destination index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual PutDataFrameAnalyticsResponse PutDataFrameAnalytics(PutDataFrameAnalyticsRequestDescriptor descriptor) @@ -9112,7 +9182,7 @@ public virtual PutDataFrameAnalyticsResponse PutDataFrameAnalytics(Pu /// This API creates a data frame analytics job that performs an analysis on the /// source indices and stores the outcome in a destination index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual PutDataFrameAnalyticsResponse PutDataFrameAnalytics(Elastic.Clients.Elasticsearch.Id id) @@ -9128,7 +9198,7 @@ public virtual PutDataFrameAnalyticsResponse PutDataFrameAnalytics(El /// This API creates a data frame analytics job that performs an analysis on the /// source indices and stores the outcome in a destination index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual PutDataFrameAnalyticsResponse PutDataFrameAnalytics(Elastic.Clients.Elasticsearch.Id id, Action> configureRequest) @@ -9145,7 +9215,7 @@ public virtual PutDataFrameAnalyticsResponse PutDataFrameAnalytics(El /// This API creates a data frame analytics job that performs an analysis on the /// source indices and stores the outcome in a destination index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual PutDataFrameAnalyticsResponse PutDataFrameAnalytics(PutDataFrameAnalyticsRequestDescriptor descriptor) @@ -9160,7 +9230,7 @@ public virtual PutDataFrameAnalyticsResponse PutDataFrameAnalytics(PutDataFrameA /// This API creates a data frame analytics job that performs an analysis on the /// source indices and stores the outcome in a destination index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual PutDataFrameAnalyticsResponse PutDataFrameAnalytics(Elastic.Clients.Elasticsearch.Id id) @@ -9176,7 +9246,7 @@ public virtual PutDataFrameAnalyticsResponse PutDataFrameAnalytics(Elastic.Clien /// This API creates a data frame analytics job that performs an analysis on the /// source indices and stores the outcome in a destination index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual PutDataFrameAnalyticsResponse PutDataFrameAnalytics(Elastic.Clients.Elasticsearch.Id id, Action configureRequest) @@ -9193,7 +9263,7 @@ public virtual PutDataFrameAnalyticsResponse PutDataFrameAnalytics(Elastic.Clien /// This API creates a data frame analytics job that performs an analysis on the /// source indices and stores the outcome in a destination index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PutDataFrameAnalyticsAsync(PutDataFrameAnalyticsRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -9207,7 +9277,7 @@ public virtual Task PutDataFrameAnalyticsAsync - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PutDataFrameAnalyticsAsync(Elastic.Clients.Elasticsearch.Id id, CancellationToken cancellationToken = default) { @@ -9222,7 +9292,7 @@ public virtual Task PutDataFrameAnalyticsAsync - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PutDataFrameAnalyticsAsync(Elastic.Clients.Elasticsearch.Id id, Action> configureRequest, CancellationToken cancellationToken = default) { @@ -9238,7 +9308,7 @@ public virtual Task PutDataFrameAnalyticsAsync - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PutDataFrameAnalyticsAsync(PutDataFrameAnalyticsRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -9252,7 +9322,7 @@ public virtual Task PutDataFrameAnalyticsAsync(Pu /// This API creates a data frame analytics job that performs an analysis on the /// source indices and stores the outcome in a destination index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PutDataFrameAnalyticsAsync(Elastic.Clients.Elasticsearch.Id id, CancellationToken cancellationToken = default) { @@ -9267,7 +9337,7 @@ public virtual Task PutDataFrameAnalyticsAsync(El /// This API creates a data frame analytics job that performs an analysis on the /// source indices and stores the outcome in a destination index. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task PutDataFrameAnalyticsAsync(Elastic.Clients.Elasticsearch.Id id, Action configureRequest, CancellationToken cancellationToken = default) { diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.Nodes.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.Nodes.g.cs index 7588571dea4..039187be17a 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.Nodes.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.Nodes.g.cs @@ -280,7 +280,7 @@ public virtual Task GetRepositoriesMetering /// This API yields a breakdown of the hot threads on each selected node in the cluster. /// The output is plain text with a breakdown of each node’s top hot threads. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual HotThreadsResponse HotThreads(HotThreadsRequest request) @@ -294,7 +294,7 @@ public virtual HotThreadsResponse HotThreads(HotThreadsRequest request) /// This API yields a breakdown of the hot threads on each selected node in the cluster. /// The output is plain text with a breakdown of each node’s top hot threads. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task HotThreadsAsync(HotThreadsRequest request, CancellationToken cancellationToken = default) { @@ -307,7 +307,7 @@ public virtual Task HotThreadsAsync(HotThreadsRequest reques /// This API yields a breakdown of the hot threads on each selected node in the cluster. /// The output is plain text with a breakdown of each node’s top hot threads. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual HotThreadsResponse HotThreads(HotThreadsRequestDescriptor descriptor) @@ -321,7 +321,7 @@ public virtual HotThreadsResponse HotThreads(HotThreadsRequestDescriptor descrip /// This API yields a breakdown of the hot threads on each selected node in the cluster. /// The output is plain text with a breakdown of each node’s top hot threads. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual HotThreadsResponse HotThreads(Elastic.Clients.Elasticsearch.NodeIds? nodeId) @@ -336,7 +336,7 @@ public virtual HotThreadsResponse HotThreads(Elastic.Clients.Elasticsearch.NodeI /// This API yields a breakdown of the hot threads on each selected node in the cluster. /// The output is plain text with a breakdown of each node’s top hot threads. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual HotThreadsResponse HotThreads(Elastic.Clients.Elasticsearch.NodeIds? nodeId, Action configureRequest) @@ -352,7 +352,7 @@ public virtual HotThreadsResponse HotThreads(Elastic.Clients.Elasticsearch.NodeI /// This API yields a breakdown of the hot threads on each selected node in the cluster. /// The output is plain text with a breakdown of each node’s top hot threads. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual HotThreadsResponse HotThreads() @@ -367,7 +367,7 @@ public virtual HotThreadsResponse HotThreads() /// This API yields a breakdown of the hot threads on each selected node in the cluster. /// The output is plain text with a breakdown of each node’s top hot threads. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual HotThreadsResponse HotThreads(Action configureRequest) @@ -383,7 +383,7 @@ public virtual HotThreadsResponse HotThreads(Action /// This API yields a breakdown of the hot threads on each selected node in the cluster. /// The output is plain text with a breakdown of each node’s top hot threads. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task HotThreadsAsync(HotThreadsRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -396,7 +396,7 @@ public virtual Task HotThreadsAsync(HotThreadsRequestDescrip /// This API yields a breakdown of the hot threads on each selected node in the cluster. /// The output is plain text with a breakdown of each node’s top hot threads. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task HotThreadsAsync(Elastic.Clients.Elasticsearch.NodeIds? nodeId, CancellationToken cancellationToken = default) { @@ -410,7 +410,7 @@ public virtual Task HotThreadsAsync(Elastic.Clients.Elastics /// This API yields a breakdown of the hot threads on each selected node in the cluster. /// The output is plain text with a breakdown of each node’s top hot threads. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task HotThreadsAsync(Elastic.Clients.Elasticsearch.NodeIds? nodeId, Action configureRequest, CancellationToken cancellationToken = default) { @@ -425,7 +425,7 @@ public virtual Task HotThreadsAsync(Elastic.Clients.Elastics /// This API yields a breakdown of the hot threads on each selected node in the cluster. /// The output is plain text with a breakdown of each node’s top hot threads. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task HotThreadsAsync(CancellationToken cancellationToken = default) { @@ -439,7 +439,7 @@ public virtual Task HotThreadsAsync(CancellationToken cancel /// This API yields a breakdown of the hot threads on each selected node in the cluster. /// The output is plain text with a breakdown of each node’s top hot threads. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task HotThreadsAsync(Action configureRequest, CancellationToken cancellationToken = default) { @@ -453,7 +453,7 @@ public virtual Task HotThreadsAsync(Action /// Returns cluster nodes information. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual NodesInfoResponse Info(NodesInfoRequest request) @@ -466,7 +466,7 @@ public virtual NodesInfoResponse Info(NodesInfoRequest request) /// /// Returns cluster nodes information. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task InfoAsync(NodesInfoRequest request, CancellationToken cancellationToken = default) { @@ -478,7 +478,7 @@ public virtual Task InfoAsync(NodesInfoRequest request, Cance /// /// Returns cluster nodes information. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual NodesInfoResponse Info(NodesInfoRequestDescriptor descriptor) @@ -491,7 +491,7 @@ public virtual NodesInfoResponse Info(NodesInfoRequestDescriptor descriptor) /// /// Returns cluster nodes information. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual NodesInfoResponse Info(Elastic.Clients.Elasticsearch.NodeIds? nodeId, Elastic.Clients.Elasticsearch.Metrics? metric) @@ -505,7 +505,7 @@ public virtual NodesInfoResponse Info(Elastic.Clients.Elasticsearch.NodeIds? nod /// /// Returns cluster nodes information. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual NodesInfoResponse Info(Elastic.Clients.Elasticsearch.NodeIds? nodeId, Elastic.Clients.Elasticsearch.Metrics? metric, Action configureRequest) @@ -520,7 +520,7 @@ public virtual NodesInfoResponse Info(Elastic.Clients.Elasticsearch.NodeIds? nod /// /// Returns cluster nodes information. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual NodesInfoResponse Info() @@ -534,7 +534,7 @@ public virtual NodesInfoResponse Info() /// /// Returns cluster nodes information. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual NodesInfoResponse Info(Action configureRequest) @@ -549,7 +549,7 @@ public virtual NodesInfoResponse Info(Action configu /// /// Returns cluster nodes information. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task InfoAsync(NodesInfoRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -561,7 +561,7 @@ public virtual Task InfoAsync(NodesInfoRequestDescriptor desc /// /// Returns cluster nodes information. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task InfoAsync(Elastic.Clients.Elasticsearch.NodeIds? nodeId, Elastic.Clients.Elasticsearch.Metrics? metric, CancellationToken cancellationToken = default) { @@ -574,7 +574,7 @@ public virtual Task InfoAsync(Elastic.Clients.Elasticsearch.N /// /// Returns cluster nodes information. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task InfoAsync(Elastic.Clients.Elasticsearch.NodeIds? nodeId, Elastic.Clients.Elasticsearch.Metrics? metric, Action configureRequest, CancellationToken cancellationToken = default) { @@ -588,7 +588,7 @@ public virtual Task InfoAsync(Elastic.Clients.Elasticsearch.N /// /// Returns cluster nodes information. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task InfoAsync(CancellationToken cancellationToken = default) { @@ -601,7 +601,7 @@ public virtual Task InfoAsync(CancellationToken cancellationT /// /// Returns cluster nodes information. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task InfoAsync(Action configureRequest, CancellationToken cancellationToken = default) { @@ -777,7 +777,7 @@ public virtual Task ReloadSecureSettingsAsync(Acti /// /// Returns cluster nodes statistics. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual NodesStatsResponse Stats(NodesStatsRequest request) @@ -790,7 +790,7 @@ public virtual NodesStatsResponse Stats(NodesStatsRequest request) /// /// Returns cluster nodes statistics. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task StatsAsync(NodesStatsRequest request, CancellationToken cancellationToken = default) { @@ -802,7 +802,7 @@ public virtual Task StatsAsync(NodesStatsRequest request, Ca /// /// Returns cluster nodes statistics. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual NodesStatsResponse Stats(NodesStatsRequestDescriptor descriptor) @@ -815,7 +815,7 @@ public virtual NodesStatsResponse Stats(NodesStatsRequestDescriptor /// Returns cluster nodes statistics. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual NodesStatsResponse Stats(Elastic.Clients.Elasticsearch.NodeIds? nodeId, Elastic.Clients.Elasticsearch.Metrics? metric, Elastic.Clients.Elasticsearch.Metrics? indexMetric) @@ -829,7 +829,7 @@ public virtual NodesStatsResponse Stats(Elastic.Clients.Elasticsearch /// /// Returns cluster nodes statistics. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual NodesStatsResponse Stats(Elastic.Clients.Elasticsearch.NodeIds? nodeId, Elastic.Clients.Elasticsearch.Metrics? metric, Elastic.Clients.Elasticsearch.Metrics? indexMetric, Action> configureRequest) @@ -844,7 +844,7 @@ public virtual NodesStatsResponse Stats(Elastic.Clients.Elasticsearch /// /// Returns cluster nodes statistics. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual NodesStatsResponse Stats() @@ -858,7 +858,7 @@ public virtual NodesStatsResponse Stats() /// /// Returns cluster nodes statistics. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual NodesStatsResponse Stats(Action> configureRequest) @@ -873,7 +873,7 @@ public virtual NodesStatsResponse Stats(Action /// Returns cluster nodes statistics. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual NodesStatsResponse Stats(NodesStatsRequestDescriptor descriptor) @@ -886,7 +886,7 @@ public virtual NodesStatsResponse Stats(NodesStatsRequestDescriptor descriptor) /// /// Returns cluster nodes statistics. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual NodesStatsResponse Stats(Elastic.Clients.Elasticsearch.NodeIds? nodeId, Elastic.Clients.Elasticsearch.Metrics? metric, Elastic.Clients.Elasticsearch.Metrics? indexMetric) @@ -900,7 +900,7 @@ public virtual NodesStatsResponse Stats(Elastic.Clients.Elasticsearch.NodeIds? n /// /// Returns cluster nodes statistics. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual NodesStatsResponse Stats(Elastic.Clients.Elasticsearch.NodeIds? nodeId, Elastic.Clients.Elasticsearch.Metrics? metric, Elastic.Clients.Elasticsearch.Metrics? indexMetric, Action configureRequest) @@ -915,7 +915,7 @@ public virtual NodesStatsResponse Stats(Elastic.Clients.Elasticsearch.NodeIds? n /// /// Returns cluster nodes statistics. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual NodesStatsResponse Stats() @@ -929,7 +929,7 @@ public virtual NodesStatsResponse Stats() /// /// Returns cluster nodes statistics. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual NodesStatsResponse Stats(Action configureRequest) @@ -944,7 +944,7 @@ public virtual NodesStatsResponse Stats(Action conf /// /// Returns cluster nodes statistics. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task StatsAsync(NodesStatsRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -956,7 +956,7 @@ public virtual Task StatsAsync(NodesStatsRequestD /// /// Returns cluster nodes statistics. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task StatsAsync(Elastic.Clients.Elasticsearch.NodeIds? nodeId, Elastic.Clients.Elasticsearch.Metrics? metric, Elastic.Clients.Elasticsearch.Metrics? indexMetric, CancellationToken cancellationToken = default) { @@ -969,7 +969,7 @@ public virtual Task StatsAsync(Elastic.Clients.El /// /// Returns cluster nodes statistics. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task StatsAsync(Elastic.Clients.Elasticsearch.NodeIds? nodeId, Elastic.Clients.Elasticsearch.Metrics? metric, Elastic.Clients.Elasticsearch.Metrics? indexMetric, Action> configureRequest, CancellationToken cancellationToken = default) { @@ -983,7 +983,7 @@ public virtual Task StatsAsync(Elastic.Clients.El /// /// Returns cluster nodes statistics. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task StatsAsync(CancellationToken cancellationToken = default) { @@ -996,7 +996,7 @@ public virtual Task StatsAsync(CancellationToken /// /// Returns cluster nodes statistics. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task StatsAsync(Action> configureRequest, CancellationToken cancellationToken = default) { @@ -1010,7 +1010,7 @@ public virtual Task StatsAsync(Action /// Returns cluster nodes statistics. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task StatsAsync(NodesStatsRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -1022,7 +1022,7 @@ public virtual Task StatsAsync(NodesStatsRequestDescriptor d /// /// Returns cluster nodes statistics. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task StatsAsync(Elastic.Clients.Elasticsearch.NodeIds? nodeId, Elastic.Clients.Elasticsearch.Metrics? metric, Elastic.Clients.Elasticsearch.Metrics? indexMetric, CancellationToken cancellationToken = default) { @@ -1035,7 +1035,7 @@ public virtual Task StatsAsync(Elastic.Clients.Elasticsearch /// /// Returns cluster nodes statistics. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task StatsAsync(Elastic.Clients.Elasticsearch.NodeIds? nodeId, Elastic.Clients.Elasticsearch.Metrics? metric, Elastic.Clients.Elasticsearch.Metrics? indexMetric, Action configureRequest, CancellationToken cancellationToken = default) { @@ -1049,7 +1049,7 @@ public virtual Task StatsAsync(Elastic.Clients.Elasticsearch /// /// Returns cluster nodes statistics. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task StatsAsync(CancellationToken cancellationToken = default) { @@ -1062,7 +1062,7 @@ public virtual Task StatsAsync(CancellationToken cancellatio /// /// Returns cluster nodes statistics. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task StatsAsync(Action configureRequest, CancellationToken cancellationToken = default) { @@ -1076,7 +1076,7 @@ public virtual Task StatsAsync(Action /// Returns information on the usage of features. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual NodesUsageResponse Usage(NodesUsageRequest request) @@ -1089,7 +1089,7 @@ public virtual NodesUsageResponse Usage(NodesUsageRequest request) /// /// Returns information on the usage of features. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task UsageAsync(NodesUsageRequest request, CancellationToken cancellationToken = default) { @@ -1101,7 +1101,7 @@ public virtual Task UsageAsync(NodesUsageRequest request, Ca /// /// Returns information on the usage of features. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual NodesUsageResponse Usage(NodesUsageRequestDescriptor descriptor) @@ -1114,7 +1114,7 @@ public virtual NodesUsageResponse Usage(NodesUsageRequestDescriptor descriptor) /// /// Returns information on the usage of features. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual NodesUsageResponse Usage(Elastic.Clients.Elasticsearch.NodeIds? nodeId, Elastic.Clients.Elasticsearch.Metrics? metric) @@ -1128,7 +1128,7 @@ public virtual NodesUsageResponse Usage(Elastic.Clients.Elasticsearch.NodeIds? n /// /// Returns information on the usage of features. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual NodesUsageResponse Usage(Elastic.Clients.Elasticsearch.NodeIds? nodeId, Elastic.Clients.Elasticsearch.Metrics? metric, Action configureRequest) @@ -1143,7 +1143,7 @@ public virtual NodesUsageResponse Usage(Elastic.Clients.Elasticsearch.NodeIds? n /// /// Returns information on the usage of features. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual NodesUsageResponse Usage() @@ -1157,7 +1157,7 @@ public virtual NodesUsageResponse Usage() /// /// Returns information on the usage of features. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual NodesUsageResponse Usage(Action configureRequest) @@ -1172,7 +1172,7 @@ public virtual NodesUsageResponse Usage(Action conf /// /// Returns information on the usage of features. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task UsageAsync(NodesUsageRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -1184,7 +1184,7 @@ public virtual Task UsageAsync(NodesUsageRequestDescriptor d /// /// Returns information on the usage of features. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task UsageAsync(Elastic.Clients.Elasticsearch.NodeIds? nodeId, Elastic.Clients.Elasticsearch.Metrics? metric, CancellationToken cancellationToken = default) { @@ -1197,7 +1197,7 @@ public virtual Task UsageAsync(Elastic.Clients.Elasticsearch /// /// Returns information on the usage of features. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task UsageAsync(Elastic.Clients.Elasticsearch.NodeIds? nodeId, Elastic.Clients.Elasticsearch.Metrics? metric, Action configureRequest, CancellationToken cancellationToken = default) { @@ -1211,7 +1211,7 @@ public virtual Task UsageAsync(Elastic.Clients.Elasticsearch /// /// Returns information on the usage of features. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task UsageAsync(CancellationToken cancellationToken = default) { @@ -1224,7 +1224,7 @@ public virtual Task UsageAsync(CancellationToken cancellatio /// /// Returns information on the usage of features. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task UsageAsync(Action configureRequest, CancellationToken cancellationToken = default) { diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.QueryRules.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.QueryRules.g.cs index f09318cfb7b..bcd2320107b 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.QueryRules.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.QueryRules.g.cs @@ -780,4 +780,110 @@ public virtual Task PutRulesetAsync(Elastic.Clients.Elastics descriptor.BeforeRequest(); return DoRequestAsync(descriptor, cancellationToken); } + + /// + /// + /// Creates or updates a query ruleset. + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] + public virtual TestResponse Test(TestRequest request) + { + request.BeforeRequest(); + return DoRequest(request); + } + + /// + /// + /// Creates or updates a query ruleset. + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + public virtual Task TestAsync(TestRequest request, CancellationToken cancellationToken = default) + { + request.BeforeRequest(); + return DoRequestAsync(request, cancellationToken); + } + + /// + /// + /// Creates or updates a query ruleset. + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] + public virtual TestResponse Test(TestRequestDescriptor descriptor) + { + descriptor.BeforeRequest(); + return DoRequest(descriptor); + } + + /// + /// + /// Creates or updates a query ruleset. + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] + public virtual TestResponse Test(Elastic.Clients.Elasticsearch.Id rulesetId) + { + var descriptor = new TestRequestDescriptor(rulesetId); + descriptor.BeforeRequest(); + return DoRequest(descriptor); + } + + /// + /// + /// Creates or updates a query ruleset. + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] + public virtual TestResponse Test(Elastic.Clients.Elasticsearch.Id rulesetId, Action configureRequest) + { + var descriptor = new TestRequestDescriptor(rulesetId); + configureRequest?.Invoke(descriptor); + descriptor.BeforeRequest(); + return DoRequest(descriptor); + } + + /// + /// + /// Creates or updates a query ruleset. + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + public virtual Task TestAsync(TestRequestDescriptor descriptor, CancellationToken cancellationToken = default) + { + descriptor.BeforeRequest(); + return DoRequestAsync(descriptor, cancellationToken); + } + + /// + /// + /// Creates or updates a query ruleset. + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + public virtual Task TestAsync(Elastic.Clients.Elasticsearch.Id rulesetId, CancellationToken cancellationToken = default) + { + var descriptor = new TestRequestDescriptor(rulesetId); + descriptor.BeforeRequest(); + return DoRequestAsync(descriptor, cancellationToken); + } + + /// + /// + /// Creates or updates a query ruleset. + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + public virtual Task TestAsync(Elastic.Clients.Elasticsearch.Id rulesetId, Action configureRequest, CancellationToken cancellationToken = default) + { + var descriptor = new TestRequestDescriptor(rulesetId); + configureRequest?.Invoke(descriptor); + descriptor.BeforeRequest(); + return DoRequestAsync(descriptor, cancellationToken); + } } \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.SearchApplication.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.SearchApplication.g.cs index fc2498eaccd..856c7d76569 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.SearchApplication.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.SearchApplication.g.cs @@ -686,7 +686,7 @@ public virtual PutSearchApplicationResponse Put(PutSearchApplicationRequestDescr /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] - public virtual PutSearchApplicationResponse Put(Elastic.Clients.Elasticsearch.SearchApplication.SearchApplication searchApplication, Elastic.Clients.Elasticsearch.Name name) + public virtual PutSearchApplicationResponse Put(Elastic.Clients.Elasticsearch.SearchApplication.SearchApplicationParameters searchApplication, Elastic.Clients.Elasticsearch.Name name) { var descriptor = new PutSearchApplicationRequestDescriptor(searchApplication, name); descriptor.BeforeRequest(); @@ -700,7 +700,7 @@ public virtual PutSearchApplicationResponse Put(Elastic.Clients.Elasticsearch.Se /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] - public virtual PutSearchApplicationResponse Put(Elastic.Clients.Elasticsearch.SearchApplication.SearchApplication searchApplication, Elastic.Clients.Elasticsearch.Name name, Action configureRequest) + public virtual PutSearchApplicationResponse Put(Elastic.Clients.Elasticsearch.SearchApplication.SearchApplicationParameters searchApplication, Elastic.Clients.Elasticsearch.Name name, Action configureRequest) { var descriptor = new PutSearchApplicationRequestDescriptor(searchApplication, name); configureRequest?.Invoke(descriptor); @@ -726,7 +726,7 @@ public virtual Task PutAsync(PutSearchApplicationR /// /// Learn more about this API in the Elasticsearch documentation. /// - public virtual Task PutAsync(Elastic.Clients.Elasticsearch.SearchApplication.SearchApplication searchApplication, Elastic.Clients.Elasticsearch.Name name, CancellationToken cancellationToken = default) + public virtual Task PutAsync(Elastic.Clients.Elasticsearch.SearchApplication.SearchApplicationParameters searchApplication, Elastic.Clients.Elasticsearch.Name name, CancellationToken cancellationToken = default) { var descriptor = new PutSearchApplicationRequestDescriptor(searchApplication, name); descriptor.BeforeRequest(); @@ -739,7 +739,7 @@ public virtual Task PutAsync(Elastic.Clients.Elast /// /// Learn more about this API in the Elasticsearch documentation. /// - public virtual Task PutAsync(Elastic.Clients.Elasticsearch.SearchApplication.SearchApplication searchApplication, Elastic.Clients.Elasticsearch.Name name, Action configureRequest, CancellationToken cancellationToken = default) + public virtual Task PutAsync(Elastic.Clients.Elasticsearch.SearchApplication.SearchApplicationParameters searchApplication, Elastic.Clients.Elasticsearch.Name name, Action configureRequest, CancellationToken cancellationToken = default) { var descriptor = new PutSearchApplicationRequestDescriptor(searchApplication, name); configureRequest?.Invoke(descriptor); diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.Security.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.Security.g.cs index d35c282ebc8..65290355da1 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.Security.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.Security.g.cs @@ -41,7 +41,10 @@ internal SecurityNamespacedClient(ElasticsearchClient client) : base(client) /// /// - /// Creates or updates a user profile on behalf of another user. + /// Activate a user profile. + /// + /// + /// Create or update a user profile on behalf of another user. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -54,7 +57,10 @@ public virtual ActivateUserProfileResponse ActivateUserProfile(ActivateUserProfi /// /// - /// Creates or updates a user profile on behalf of another user. + /// Activate a user profile. + /// + /// + /// Create or update a user profile on behalf of another user. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -66,7 +72,10 @@ public virtual Task ActivateUserProfileAsync(Activa /// /// - /// Creates or updates a user profile on behalf of another user. + /// Activate a user profile. + /// + /// + /// Create or update a user profile on behalf of another user. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -79,7 +88,10 @@ public virtual ActivateUserProfileResponse ActivateUserProfile(ActivateUserProfi /// /// - /// Creates or updates a user profile on behalf of another user. + /// Activate a user profile. + /// + /// + /// Create or update a user profile on behalf of another user. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -93,7 +105,10 @@ public virtual ActivateUserProfileResponse ActivateUserProfile() /// /// - /// Creates or updates a user profile on behalf of another user. + /// Activate a user profile. + /// + /// + /// Create or update a user profile on behalf of another user. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -108,7 +123,10 @@ public virtual ActivateUserProfileResponse ActivateUserProfile(Action /// - /// Creates or updates a user profile on behalf of another user. + /// Activate a user profile. + /// + /// + /// Create or update a user profile on behalf of another user. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -120,7 +138,10 @@ public virtual Task ActivateUserProfileAsync(Activa /// /// - /// Creates or updates a user profile on behalf of another user. + /// Activate a user profile. + /// + /// + /// Create or update a user profile on behalf of another user. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -133,7 +154,10 @@ public virtual Task ActivateUserProfileAsync(Cancel /// /// - /// Creates or updates a user profile on behalf of another user. + /// Activate a user profile. + /// + /// + /// Create or update a user profile on behalf of another user. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -148,6 +172,8 @@ public virtual Task ActivateUserProfileAsync(Action /// /// /// Authenticate a user. + /// + /// /// Authenticates a user and returns information about the authenticated user. /// Include the user information in a basic auth header. /// A successful call returns a JSON structure that shows user information such as their username, the roles that are assigned to the user, any assigned metadata, and information about the realms that authenticated and authorized the user. @@ -165,6 +191,8 @@ public virtual AuthenticateResponse Authenticate(AuthenticateRequest request) /// /// /// Authenticate a user. + /// + /// /// Authenticates a user and returns information about the authenticated user. /// Include the user information in a basic auth header. /// A successful call returns a JSON structure that shows user information such as their username, the roles that are assigned to the user, any assigned metadata, and information about the realms that authenticated and authorized the user. @@ -181,6 +209,8 @@ public virtual Task AuthenticateAsync(AuthenticateRequest /// /// /// Authenticate a user. + /// + /// /// Authenticates a user and returns information about the authenticated user. /// Include the user information in a basic auth header. /// A successful call returns a JSON structure that shows user information such as their username, the roles that are assigned to the user, any assigned metadata, and information about the realms that authenticated and authorized the user. @@ -198,6 +228,8 @@ public virtual AuthenticateResponse Authenticate(AuthenticateRequestDescriptor d /// /// /// Authenticate a user. + /// + /// /// Authenticates a user and returns information about the authenticated user. /// Include the user information in a basic auth header. /// A successful call returns a JSON structure that shows user information such as their username, the roles that are assigned to the user, any assigned metadata, and information about the realms that authenticated and authorized the user. @@ -216,6 +248,8 @@ public virtual AuthenticateResponse Authenticate() /// /// /// Authenticate a user. + /// + /// /// Authenticates a user and returns information about the authenticated user. /// Include the user information in a basic auth header. /// A successful call returns a JSON structure that shows user information such as their username, the roles that are assigned to the user, any assigned metadata, and information about the realms that authenticated and authorized the user. @@ -235,6 +269,8 @@ public virtual AuthenticateResponse Authenticate(Action /// /// Authenticate a user. + /// + /// /// Authenticates a user and returns information about the authenticated user. /// Include the user information in a basic auth header. /// A successful call returns a JSON structure that shows user information such as their username, the roles that are assigned to the user, any assigned metadata, and information about the realms that authenticated and authorized the user. @@ -251,6 +287,8 @@ public virtual Task AuthenticateAsync(AuthenticateRequestD /// /// /// Authenticate a user. + /// + /// /// Authenticates a user and returns information about the authenticated user. /// Include the user information in a basic auth header. /// A successful call returns a JSON structure that shows user information such as their username, the roles that are assigned to the user, any assigned metadata, and information about the realms that authenticated and authorized the user. @@ -268,6 +306,8 @@ public virtual Task AuthenticateAsync(CancellationToken ca /// /// /// Authenticate a user. + /// + /// /// Authenticates a user and returns information about the authenticated user. /// Include the user information in a basic auth header. /// A successful call returns a JSON structure that shows user information such as their username, the roles that are assigned to the user, any assigned metadata, and information about the realms that authenticated and authorized the user. @@ -285,6 +325,9 @@ public virtual Task AuthenticateAsync(Action /// + /// Bulk delete roles. + /// + /// /// The role management APIs are generally the preferred way to manage roles, rather than using file-based role management. /// The bulk delete roles API cannot delete roles that are defined in roles files. /// @@ -299,6 +342,9 @@ public virtual BulkDeleteRoleResponse BulkDeleteRole(BulkDeleteRoleRequest reque /// /// + /// Bulk delete roles. + /// + /// /// The role management APIs are generally the preferred way to manage roles, rather than using file-based role management. /// The bulk delete roles API cannot delete roles that are defined in roles files. /// @@ -312,6 +358,9 @@ public virtual Task BulkDeleteRoleAsync(BulkDeleteRoleRe /// /// + /// Bulk delete roles. + /// + /// /// The role management APIs are generally the preferred way to manage roles, rather than using file-based role management. /// The bulk delete roles API cannot delete roles that are defined in roles files. /// @@ -326,6 +375,9 @@ public virtual BulkDeleteRoleResponse BulkDeleteRole(BulkDeleteRoleRequestDescri /// /// + /// Bulk delete roles. + /// + /// /// The role management APIs are generally the preferred way to manage roles, rather than using file-based role management. /// The bulk delete roles API cannot delete roles that are defined in roles files. /// @@ -341,6 +393,9 @@ public virtual BulkDeleteRoleResponse BulkDeleteRole() /// /// + /// Bulk delete roles. + /// + /// /// The role management APIs are generally the preferred way to manage roles, rather than using file-based role management. /// The bulk delete roles API cannot delete roles that are defined in roles files. /// @@ -357,6 +412,9 @@ public virtual BulkDeleteRoleResponse BulkDeleteRole(Action /// + /// Bulk delete roles. + /// + /// /// The role management APIs are generally the preferred way to manage roles, rather than using file-based role management. /// The bulk delete roles API cannot delete roles that are defined in roles files. /// @@ -370,6 +428,9 @@ public virtual Task BulkDeleteRoleAsync(BulkDeleteRoleRe /// /// + /// Bulk delete roles. + /// + /// /// The role management APIs are generally the preferred way to manage roles, rather than using file-based role management. /// The bulk delete roles API cannot delete roles that are defined in roles files. /// @@ -384,6 +445,9 @@ public virtual Task BulkDeleteRoleAsync(CancellationToke /// /// + /// Bulk delete roles. + /// + /// /// The role management APIs are generally the preferred way to manage roles, rather than using file-based role management. /// The bulk delete roles API cannot delete roles that are defined in roles files. /// @@ -399,6 +463,9 @@ public virtual Task BulkDeleteRoleAsync(Action /// + /// Bulk create or update roles. + /// + /// /// The role management APIs are generally the preferred way to manage roles, rather than using file-based role management. /// The bulk create or update roles API cannot update roles that are defined in roles files. /// @@ -413,6 +480,9 @@ public virtual BulkPutRoleResponse BulkPutRole(BulkPutRoleRequest request) /// /// + /// Bulk create or update roles. + /// + /// /// The role management APIs are generally the preferred way to manage roles, rather than using file-based role management. /// The bulk create or update roles API cannot update roles that are defined in roles files. /// @@ -426,6 +496,9 @@ public virtual Task BulkPutRoleAsync(BulkPutRoleRequest req /// /// + /// Bulk create or update roles. + /// + /// /// The role management APIs are generally the preferred way to manage roles, rather than using file-based role management. /// The bulk create or update roles API cannot update roles that are defined in roles files. /// @@ -440,6 +513,9 @@ public virtual BulkPutRoleResponse BulkPutRole(BulkPutRoleRequestDesc /// /// + /// Bulk create or update roles. + /// + /// /// The role management APIs are generally the preferred way to manage roles, rather than using file-based role management. /// The bulk create or update roles API cannot update roles that are defined in roles files. /// @@ -455,6 +531,9 @@ public virtual BulkPutRoleResponse BulkPutRole() /// /// + /// Bulk create or update roles. + /// + /// /// The role management APIs are generally the preferred way to manage roles, rather than using file-based role management. /// The bulk create or update roles API cannot update roles that are defined in roles files. /// @@ -471,6 +550,9 @@ public virtual BulkPutRoleResponse BulkPutRole(Action /// + /// Bulk create or update roles. + /// + /// /// The role management APIs are generally the preferred way to manage roles, rather than using file-based role management. /// The bulk create or update roles API cannot update roles that are defined in roles files. /// @@ -485,6 +567,9 @@ public virtual BulkPutRoleResponse BulkPutRole(BulkPutRoleRequestDescriptor desc /// /// + /// Bulk create or update roles. + /// + /// /// The role management APIs are generally the preferred way to manage roles, rather than using file-based role management. /// The bulk create or update roles API cannot update roles that are defined in roles files. /// @@ -500,6 +585,9 @@ public virtual BulkPutRoleResponse BulkPutRole() /// /// + /// Bulk create or update roles. + /// + /// /// The role management APIs are generally the preferred way to manage roles, rather than using file-based role management. /// The bulk create or update roles API cannot update roles that are defined in roles files. /// @@ -516,6 +604,9 @@ public virtual BulkPutRoleResponse BulkPutRole(Action /// + /// Bulk create or update roles. + /// + /// /// The role management APIs are generally the preferred way to manage roles, rather than using file-based role management. /// The bulk create or update roles API cannot update roles that are defined in roles files. /// @@ -529,6 +620,9 @@ public virtual Task BulkPutRoleAsync(BulkPutRole /// /// + /// Bulk create or update roles. + /// + /// /// The role management APIs are generally the preferred way to manage roles, rather than using file-based role management. /// The bulk create or update roles API cannot update roles that are defined in roles files. /// @@ -543,6 +637,9 @@ public virtual Task BulkPutRoleAsync(Cancellatio /// /// + /// Bulk create or update roles. + /// + /// /// The role management APIs are generally the preferred way to manage roles, rather than using file-based role management. /// The bulk create or update roles API cannot update roles that are defined in roles files. /// @@ -558,6 +655,9 @@ public virtual Task BulkPutRoleAsync(Action /// + /// Bulk create or update roles. + /// + /// /// The role management APIs are generally the preferred way to manage roles, rather than using file-based role management. /// The bulk create or update roles API cannot update roles that are defined in roles files. /// @@ -571,6 +671,9 @@ public virtual Task BulkPutRoleAsync(BulkPutRoleRequestDesc /// /// + /// Bulk create or update roles. + /// + /// /// The role management APIs are generally the preferred way to manage roles, rather than using file-based role management. /// The bulk create or update roles API cannot update roles that are defined in roles files. /// @@ -585,6 +688,9 @@ public virtual Task BulkPutRoleAsync(CancellationToken canc /// /// + /// Bulk create or update roles. + /// + /// /// The role management APIs are generally the preferred way to manage roles, rather than using file-based role management. /// The bulk create or update roles API cannot update roles that are defined in roles files. /// @@ -600,7 +706,10 @@ public virtual Task BulkPutRoleAsync(Action /// - /// Changes the passwords of users in the native realm and built-in users. + /// Change passwords. + /// + /// + /// Change the passwords of users in the native realm and built-in users. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -613,7 +722,10 @@ public virtual ChangePasswordResponse ChangePassword(ChangePasswordRequest reque /// /// - /// Changes the passwords of users in the native realm and built-in users. + /// Change passwords. + /// + /// + /// Change the passwords of users in the native realm and built-in users. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -625,7 +737,10 @@ public virtual Task ChangePasswordAsync(ChangePasswordRe /// /// - /// Changes the passwords of users in the native realm and built-in users. + /// Change passwords. + /// + /// + /// Change the passwords of users in the native realm and built-in users. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -638,7 +753,10 @@ public virtual ChangePasswordResponse ChangePassword(ChangePasswordRequestDescri /// /// - /// Changes the passwords of users in the native realm and built-in users. + /// Change passwords. + /// + /// + /// Change the passwords of users in the native realm and built-in users. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -652,7 +770,10 @@ public virtual ChangePasswordResponse ChangePassword(Elastic.Clients.Elasticsear /// /// - /// Changes the passwords of users in the native realm and built-in users. + /// Change passwords. + /// + /// + /// Change the passwords of users in the native realm and built-in users. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -667,7 +788,10 @@ public virtual ChangePasswordResponse ChangePassword(Elastic.Clients.Elasticsear /// /// - /// Changes the passwords of users in the native realm and built-in users. + /// Change passwords. + /// + /// + /// Change the passwords of users in the native realm and built-in users. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -681,7 +805,10 @@ public virtual ChangePasswordResponse ChangePassword() /// /// - /// Changes the passwords of users in the native realm and built-in users. + /// Change passwords. + /// + /// + /// Change the passwords of users in the native realm and built-in users. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -696,7 +823,10 @@ public virtual ChangePasswordResponse ChangePassword(Action /// - /// Changes the passwords of users in the native realm and built-in users. + /// Change passwords. + /// + /// + /// Change the passwords of users in the native realm and built-in users. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -708,7 +838,10 @@ public virtual Task ChangePasswordAsync(ChangePasswordRe /// /// - /// Changes the passwords of users in the native realm and built-in users. + /// Change passwords. + /// + /// + /// Change the passwords of users in the native realm and built-in users. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -721,7 +854,10 @@ public virtual Task ChangePasswordAsync(Elastic.Clients. /// /// - /// Changes the passwords of users in the native realm and built-in users. + /// Change passwords. + /// + /// + /// Change the passwords of users in the native realm and built-in users. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -735,7 +871,10 @@ public virtual Task ChangePasswordAsync(Elastic.Clients. /// /// - /// Changes the passwords of users in the native realm and built-in users. + /// Change passwords. + /// + /// + /// Change the passwords of users in the native realm and built-in users. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -748,7 +887,10 @@ public virtual Task ChangePasswordAsync(CancellationToke /// /// - /// Changes the passwords of users in the native realm and built-in users. + /// Change passwords. + /// + /// + /// Change the passwords of users in the native realm and built-in users. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -762,7 +904,10 @@ public virtual Task ChangePasswordAsync(Action /// - /// Evicts a subset of all entries from the API key cache. + /// Clear the API key cache. + /// + /// + /// Evict a subset of all entries from the API key cache. /// The cache is also automatically cleared on state changes of the security index. /// /// Learn more about this API in the Elasticsearch documentation. @@ -776,7 +921,10 @@ public virtual ClearApiKeyCacheResponse ClearApiKeyCache(ClearApiKeyCacheRequest /// /// - /// Evicts a subset of all entries from the API key cache. + /// Clear the API key cache. + /// + /// + /// Evict a subset of all entries from the API key cache. /// The cache is also automatically cleared on state changes of the security index. /// /// Learn more about this API in the Elasticsearch documentation. @@ -789,7 +937,10 @@ public virtual Task ClearApiKeyCacheAsync(ClearApiKeyC /// /// - /// Evicts a subset of all entries from the API key cache. + /// Clear the API key cache. + /// + /// + /// Evict a subset of all entries from the API key cache. /// The cache is also automatically cleared on state changes of the security index. /// /// Learn more about this API in the Elasticsearch documentation. @@ -803,7 +954,10 @@ public virtual ClearApiKeyCacheResponse ClearApiKeyCache(ClearApiKeyCacheRequest /// /// - /// Evicts a subset of all entries from the API key cache. + /// Clear the API key cache. + /// + /// + /// Evict a subset of all entries from the API key cache. /// The cache is also automatically cleared on state changes of the security index. /// /// Learn more about this API in the Elasticsearch documentation. @@ -818,7 +972,10 @@ public virtual ClearApiKeyCacheResponse ClearApiKeyCache(Elastic.Clients.Elastic /// /// - /// Evicts a subset of all entries from the API key cache. + /// Clear the API key cache. + /// + /// + /// Evict a subset of all entries from the API key cache. /// The cache is also automatically cleared on state changes of the security index. /// /// Learn more about this API in the Elasticsearch documentation. @@ -834,7 +991,10 @@ public virtual ClearApiKeyCacheResponse ClearApiKeyCache(Elastic.Clients.Elastic /// /// - /// Evicts a subset of all entries from the API key cache. + /// Clear the API key cache. + /// + /// + /// Evict a subset of all entries from the API key cache. /// The cache is also automatically cleared on state changes of the security index. /// /// Learn more about this API in the Elasticsearch documentation. @@ -847,7 +1007,10 @@ public virtual Task ClearApiKeyCacheAsync(ClearApiKeyC /// /// - /// Evicts a subset of all entries from the API key cache. + /// Clear the API key cache. + /// + /// + /// Evict a subset of all entries from the API key cache. /// The cache is also automatically cleared on state changes of the security index. /// /// Learn more about this API in the Elasticsearch documentation. @@ -861,7 +1024,10 @@ public virtual Task ClearApiKeyCacheAsync(Elastic.Clie /// /// - /// Evicts a subset of all entries from the API key cache. + /// Clear the API key cache. + /// + /// + /// Evict a subset of all entries from the API key cache. /// The cache is also automatically cleared on state changes of the security index. /// /// Learn more about this API in the Elasticsearch documentation. @@ -876,7 +1042,11 @@ public virtual Task ClearApiKeyCacheAsync(Elastic.Clie /// /// - /// Evicts application privileges from the native application privileges cache. + /// Clear the privileges cache. + /// + /// + /// Evict privileges from the native application privilege cache. + /// The cache is also automatically cleared for applications that have their privileges updated. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -889,7 +1059,11 @@ public virtual ClearCachedPrivilegesResponse ClearCachedPrivileges(ClearCachedPr /// /// - /// Evicts application privileges from the native application privileges cache. + /// Clear the privileges cache. + /// + /// + /// Evict privileges from the native application privilege cache. + /// The cache is also automatically cleared for applications that have their privileges updated. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -901,7 +1075,11 @@ public virtual Task ClearCachedPrivilegesAsync(Cl /// /// - /// Evicts application privileges from the native application privileges cache. + /// Clear the privileges cache. + /// + /// + /// Evict privileges from the native application privilege cache. + /// The cache is also automatically cleared for applications that have their privileges updated. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -914,7 +1092,11 @@ public virtual ClearCachedPrivilegesResponse ClearCachedPrivileges(ClearCachedPr /// /// - /// Evicts application privileges from the native application privileges cache. + /// Clear the privileges cache. + /// + /// + /// Evict privileges from the native application privilege cache. + /// The cache is also automatically cleared for applications that have their privileges updated. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -928,7 +1110,11 @@ public virtual ClearCachedPrivilegesResponse ClearCachedPrivileges(Elastic.Clien /// /// - /// Evicts application privileges from the native application privileges cache. + /// Clear the privileges cache. + /// + /// + /// Evict privileges from the native application privilege cache. + /// The cache is also automatically cleared for applications that have their privileges updated. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -943,7 +1129,11 @@ public virtual ClearCachedPrivilegesResponse ClearCachedPrivileges(Elastic.Clien /// /// - /// Evicts application privileges from the native application privileges cache. + /// Clear the privileges cache. + /// + /// + /// Evict privileges from the native application privilege cache. + /// The cache is also automatically cleared for applications that have their privileges updated. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -955,7 +1145,11 @@ public virtual Task ClearCachedPrivilegesAsync(Cl /// /// - /// Evicts application privileges from the native application privileges cache. + /// Clear the privileges cache. + /// + /// + /// Evict privileges from the native application privilege cache. + /// The cache is also automatically cleared for applications that have their privileges updated. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -968,7 +1162,11 @@ public virtual Task ClearCachedPrivilegesAsync(El /// /// - /// Evicts application privileges from the native application privileges cache. + /// Clear the privileges cache. + /// + /// + /// Evict privileges from the native application privilege cache. + /// The cache is also automatically cleared for applications that have their privileges updated. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -982,7 +1180,10 @@ public virtual Task ClearCachedPrivilegesAsync(El /// /// - /// Evicts users from the user cache. Can completely clear the cache or evict specific users. + /// Clear the user cache. + /// + /// + /// Evict users from the user cache. You can completely clear the cache or evict specific users. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -995,7 +1196,10 @@ public virtual ClearCachedRealmsResponse ClearCachedRealms(ClearCachedRealmsRequ /// /// - /// Evicts users from the user cache. Can completely clear the cache or evict specific users. + /// Clear the user cache. + /// + /// + /// Evict users from the user cache. You can completely clear the cache or evict specific users. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -1007,7 +1211,10 @@ public virtual Task ClearCachedRealmsAsync(ClearCache /// /// - /// Evicts users from the user cache. Can completely clear the cache or evict specific users. + /// Clear the user cache. + /// + /// + /// Evict users from the user cache. You can completely clear the cache or evict specific users. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -1020,7 +1227,10 @@ public virtual ClearCachedRealmsResponse ClearCachedRealms(ClearCachedRealmsRequ /// /// - /// Evicts users from the user cache. Can completely clear the cache or evict specific users. + /// Clear the user cache. + /// + /// + /// Evict users from the user cache. You can completely clear the cache or evict specific users. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -1034,7 +1244,10 @@ public virtual ClearCachedRealmsResponse ClearCachedRealms(Elastic.Clients.Elast /// /// - /// Evicts users from the user cache. Can completely clear the cache or evict specific users. + /// Clear the user cache. + /// + /// + /// Evict users from the user cache. You can completely clear the cache or evict specific users. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -1049,7 +1262,10 @@ public virtual ClearCachedRealmsResponse ClearCachedRealms(Elastic.Clients.Elast /// /// - /// Evicts users from the user cache. Can completely clear the cache or evict specific users. + /// Clear the user cache. + /// + /// + /// Evict users from the user cache. You can completely clear the cache or evict specific users. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -1061,7 +1277,10 @@ public virtual Task ClearCachedRealmsAsync(ClearCache /// /// - /// Evicts users from the user cache. Can completely clear the cache or evict specific users. + /// Clear the user cache. + /// + /// + /// Evict users from the user cache. You can completely clear the cache or evict specific users. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -1074,7 +1293,10 @@ public virtual Task ClearCachedRealmsAsync(Elastic.Cl /// /// - /// Evicts users from the user cache. Can completely clear the cache or evict specific users. + /// Clear the user cache. + /// + /// + /// Evict users from the user cache. You can completely clear the cache or evict specific users. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -1088,7 +1310,10 @@ public virtual Task ClearCachedRealmsAsync(Elastic.Cl /// /// - /// Evicts roles from the native role cache. + /// Clear the roles cache. + /// + /// + /// Evict roles from the native role cache. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -1101,7 +1326,10 @@ public virtual ClearCachedRolesResponse ClearCachedRoles(ClearCachedRolesRequest /// /// - /// Evicts roles from the native role cache. + /// Clear the roles cache. + /// + /// + /// Evict roles from the native role cache. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -1113,7 +1341,10 @@ public virtual Task ClearCachedRolesAsync(ClearCachedR /// /// - /// Evicts roles from the native role cache. + /// Clear the roles cache. + /// + /// + /// Evict roles from the native role cache. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -1126,7 +1357,10 @@ public virtual ClearCachedRolesResponse ClearCachedRoles(ClearCachedRolesRequest /// /// - /// Evicts roles from the native role cache. + /// Clear the roles cache. + /// + /// + /// Evict roles from the native role cache. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -1140,7 +1374,10 @@ public virtual ClearCachedRolesResponse ClearCachedRoles(Elastic.Clients.Elastic /// /// - /// Evicts roles from the native role cache. + /// Clear the roles cache. + /// + /// + /// Evict roles from the native role cache. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -1155,7 +1392,10 @@ public virtual ClearCachedRolesResponse ClearCachedRoles(Elastic.Clients.Elastic /// /// - /// Evicts roles from the native role cache. + /// Clear the roles cache. + /// + /// + /// Evict roles from the native role cache. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -1167,7 +1407,10 @@ public virtual Task ClearCachedRolesAsync(ClearCachedR /// /// - /// Evicts roles from the native role cache. + /// Clear the roles cache. + /// + /// + /// Evict roles from the native role cache. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -1180,7 +1423,10 @@ public virtual Task ClearCachedRolesAsync(Elastic.Clie /// /// - /// Evicts roles from the native role cache. + /// Clear the roles cache. + /// + /// + /// Evict roles from the native role cache. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -1194,7 +1440,10 @@ public virtual Task ClearCachedRolesAsync(Elastic.Clie /// /// - /// Evicts tokens from the service account token caches. + /// Clear service account token caches. + /// + /// + /// Evict a subset of all entries from the service account token caches. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -1207,7 +1456,10 @@ public virtual ClearCachedServiceTokensResponse ClearCachedServiceTokens(ClearCa /// /// - /// Evicts tokens from the service account token caches. + /// Clear service account token caches. + /// + /// + /// Evict a subset of all entries from the service account token caches. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -1219,7 +1471,10 @@ public virtual Task ClearCachedServiceTokensAs /// /// - /// Evicts tokens from the service account token caches. + /// Clear service account token caches. + /// + /// + /// Evict a subset of all entries from the service account token caches. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -1232,7 +1487,10 @@ public virtual ClearCachedServiceTokensResponse ClearCachedServiceTokens(ClearCa /// /// - /// Evicts tokens from the service account token caches. + /// Clear service account token caches. + /// + /// + /// Evict a subset of all entries from the service account token caches. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -1246,7 +1504,10 @@ public virtual ClearCachedServiceTokensResponse ClearCachedServiceTokens(string /// /// - /// Evicts tokens from the service account token caches. + /// Clear service account token caches. + /// + /// + /// Evict a subset of all entries from the service account token caches. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -1261,7 +1522,10 @@ public virtual ClearCachedServiceTokensResponse ClearCachedServiceTokens(string /// /// - /// Evicts tokens from the service account token caches. + /// Clear service account token caches. + /// + /// + /// Evict a subset of all entries from the service account token caches. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -1273,7 +1537,10 @@ public virtual Task ClearCachedServiceTokensAs /// /// - /// Evicts tokens from the service account token caches. + /// Clear service account token caches. + /// + /// + /// Evict a subset of all entries from the service account token caches. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -1286,7 +1553,10 @@ public virtual Task ClearCachedServiceTokensAs /// /// - /// Evicts tokens from the service account token caches. + /// Clear service account token caches. + /// + /// + /// Evict a subset of all entries from the service account token caches. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -1301,7 +1571,9 @@ public virtual Task ClearCachedServiceTokensAs /// /// /// Create an API key. - /// Creates an API key for access without requiring basic authentication. + /// + /// + /// Create an API key for access without requiring basic authentication. /// A successful request returns a JSON structure that contains the API key, its unique id, and its name. /// If applicable, it also returns expiration information for the API key in milliseconds. /// NOTE: By default, API keys never expire. You can specify expiration information when you create the API keys. @@ -1318,7 +1590,9 @@ public virtual CreateApiKeyResponse CreateApiKey(CreateApiKeyRequest request) /// /// /// Create an API key. - /// Creates an API key for access without requiring basic authentication. + /// + /// + /// Create an API key for access without requiring basic authentication. /// A successful request returns a JSON structure that contains the API key, its unique id, and its name. /// If applicable, it also returns expiration information for the API key in milliseconds. /// NOTE: By default, API keys never expire. You can specify expiration information when you create the API keys. @@ -1334,7 +1608,9 @@ public virtual Task CreateApiKeyAsync(CreateApiKeyRequest /// /// /// Create an API key. - /// Creates an API key for access without requiring basic authentication. + /// + /// + /// Create an API key for access without requiring basic authentication. /// A successful request returns a JSON structure that contains the API key, its unique id, and its name. /// If applicable, it also returns expiration information for the API key in milliseconds. /// NOTE: By default, API keys never expire. You can specify expiration information when you create the API keys. @@ -1351,7 +1627,9 @@ public virtual CreateApiKeyResponse CreateApiKey(CreateApiKeyRequestD /// /// /// Create an API key. - /// Creates an API key for access without requiring basic authentication. + /// + /// + /// Create an API key for access without requiring basic authentication. /// A successful request returns a JSON structure that contains the API key, its unique id, and its name. /// If applicable, it also returns expiration information for the API key in milliseconds. /// NOTE: By default, API keys never expire. You can specify expiration information when you create the API keys. @@ -1369,7 +1647,9 @@ public virtual CreateApiKeyResponse CreateApiKey() /// /// /// Create an API key. - /// Creates an API key for access without requiring basic authentication. + /// + /// + /// Create an API key for access without requiring basic authentication. /// A successful request returns a JSON structure that contains the API key, its unique id, and its name. /// If applicable, it also returns expiration information for the API key in milliseconds. /// NOTE: By default, API keys never expire. You can specify expiration information when you create the API keys. @@ -1388,7 +1668,9 @@ public virtual CreateApiKeyResponse CreateApiKey(Action /// /// Create an API key. - /// Creates an API key for access without requiring basic authentication. + /// + /// + /// Create an API key for access without requiring basic authentication. /// A successful request returns a JSON structure that contains the API key, its unique id, and its name. /// If applicable, it also returns expiration information for the API key in milliseconds. /// NOTE: By default, API keys never expire. You can specify expiration information when you create the API keys. @@ -1405,7 +1687,9 @@ public virtual CreateApiKeyResponse CreateApiKey(CreateApiKeyRequestDescriptor d /// /// /// Create an API key. - /// Creates an API key for access without requiring basic authentication. + /// + /// + /// Create an API key for access without requiring basic authentication. /// A successful request returns a JSON structure that contains the API key, its unique id, and its name. /// If applicable, it also returns expiration information for the API key in milliseconds. /// NOTE: By default, API keys never expire. You can specify expiration information when you create the API keys. @@ -1423,7 +1707,9 @@ public virtual CreateApiKeyResponse CreateApiKey() /// /// /// Create an API key. - /// Creates an API key for access without requiring basic authentication. + /// + /// + /// Create an API key for access without requiring basic authentication. /// A successful request returns a JSON structure that contains the API key, its unique id, and its name. /// If applicable, it also returns expiration information for the API key in milliseconds. /// NOTE: By default, API keys never expire. You can specify expiration information when you create the API keys. @@ -1442,7 +1728,9 @@ public virtual CreateApiKeyResponse CreateApiKey(Action /// /// Create an API key. - /// Creates an API key for access without requiring basic authentication. + /// + /// + /// Create an API key for access without requiring basic authentication. /// A successful request returns a JSON structure that contains the API key, its unique id, and its name. /// If applicable, it also returns expiration information for the API key in milliseconds. /// NOTE: By default, API keys never expire. You can specify expiration information when you create the API keys. @@ -1458,7 +1746,9 @@ public virtual Task CreateApiKeyAsync(CreateApi /// /// /// Create an API key. - /// Creates an API key for access without requiring basic authentication. + /// + /// + /// Create an API key for access without requiring basic authentication. /// A successful request returns a JSON structure that contains the API key, its unique id, and its name. /// If applicable, it also returns expiration information for the API key in milliseconds. /// NOTE: By default, API keys never expire. You can specify expiration information when you create the API keys. @@ -1475,7 +1765,9 @@ public virtual Task CreateApiKeyAsync(Cancellat /// /// /// Create an API key. - /// Creates an API key for access without requiring basic authentication. + /// + /// + /// Create an API key for access without requiring basic authentication. /// A successful request returns a JSON structure that contains the API key, its unique id, and its name. /// If applicable, it also returns expiration information for the API key in milliseconds. /// NOTE: By default, API keys never expire. You can specify expiration information when you create the API keys. @@ -1493,7 +1785,9 @@ public virtual Task CreateApiKeyAsync(Action /// /// Create an API key. - /// Creates an API key for access without requiring basic authentication. + /// + /// + /// Create an API key for access without requiring basic authentication. /// A successful request returns a JSON structure that contains the API key, its unique id, and its name. /// If applicable, it also returns expiration information for the API key in milliseconds. /// NOTE: By default, API keys never expire. You can specify expiration information when you create the API keys. @@ -1509,7 +1803,9 @@ public virtual Task CreateApiKeyAsync(CreateApiKeyRequestD /// /// /// Create an API key. - /// Creates an API key for access without requiring basic authentication. + /// + /// + /// Create an API key for access without requiring basic authentication. /// A successful request returns a JSON structure that contains the API key, its unique id, and its name. /// If applicable, it also returns expiration information for the API key in milliseconds. /// NOTE: By default, API keys never expire. You can specify expiration information when you create the API keys. @@ -1526,7 +1822,9 @@ public virtual Task CreateApiKeyAsync(CancellationToken ca /// /// /// Create an API key. - /// Creates an API key for access without requiring basic authentication. + /// + /// + /// Create an API key for access without requiring basic authentication. /// A successful request returns a JSON structure that contains the API key, its unique id, and its name. /// If applicable, it also returns expiration information for the API key in milliseconds. /// NOTE: By default, API keys never expire. You can specify expiration information when you create the API keys. @@ -1543,48 +1841,569 @@ public virtual Task CreateApiKeyAsync(Action /// - /// Creates a service accounts token for access without requiring basic authentication. + /// Create a cross-cluster API key. /// - /// Learn more about this API in the Elasticsearch documentation. + /// + /// Create an API key of the cross_cluster type for the API key based remote cluster access. + /// A cross_cluster API key cannot be used to authenticate through the REST interface. + /// + /// + /// IMPORTANT: To authenticate this request you must use a credential that is not an API key. Even if you use an API key that has the required privilege, the API returns an error. + /// + /// + /// Cross-cluster API keys are created by the Elasticsearch API key service, which is automatically enabled. + /// + /// + /// NOTE: Unlike REST API keys, a cross-cluster API key does not capture permissions of the authenticated user. The API key’s effective permission is exactly as specified with the access property. + /// + /// + /// A successful request returns a JSON structure that contains the API key, its unique ID, and its name. If applicable, it also returns expiration information for the API key in milliseconds. + /// + /// + /// By default, API keys never expire. You can specify expiration information when you create the API keys. + /// + /// + /// Cross-cluster API keys can only be updated with the update cross-cluster API key API. + /// Attempting to update them with the update REST API key API or the bulk update REST API keys API will result in an error. + /// + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] - public virtual CreateServiceTokenResponse CreateServiceToken(CreateServiceTokenRequest request) + public virtual CreateCrossClusterApiKeyResponse CreateCrossClusterApiKey(CreateCrossClusterApiKeyRequest request) { request.BeforeRequest(); - return DoRequest(request); + return DoRequest(request); } /// /// - /// Creates a service accounts token for access without requiring basic authentication. + /// Create a cross-cluster API key. /// - /// Learn more about this API in the Elasticsearch documentation. + /// + /// Create an API key of the cross_cluster type for the API key based remote cluster access. + /// A cross_cluster API key cannot be used to authenticate through the REST interface. + /// + /// + /// IMPORTANT: To authenticate this request you must use a credential that is not an API key. Even if you use an API key that has the required privilege, the API returns an error. + /// + /// + /// Cross-cluster API keys are created by the Elasticsearch API key service, which is automatically enabled. + /// + /// + /// NOTE: Unlike REST API keys, a cross-cluster API key does not capture permissions of the authenticated user. The API key’s effective permission is exactly as specified with the access property. + /// + /// + /// A successful request returns a JSON structure that contains the API key, its unique ID, and its name. If applicable, it also returns expiration information for the API key in milliseconds. + /// + /// + /// By default, API keys never expire. You can specify expiration information when you create the API keys. + /// + /// + /// Cross-cluster API keys can only be updated with the update cross-cluster API key API. + /// Attempting to update them with the update REST API key API or the bulk update REST API keys API will result in an error. + /// + /// Learn more about this API in the Elasticsearch documentation. /// - public virtual Task CreateServiceTokenAsync(CreateServiceTokenRequest request, CancellationToken cancellationToken = default) + public virtual Task CreateCrossClusterApiKeyAsync(CreateCrossClusterApiKeyRequest request, CancellationToken cancellationToken = default) { request.BeforeRequest(); - return DoRequestAsync(request, cancellationToken); + return DoRequestAsync(request, cancellationToken); } /// /// - /// Creates a service accounts token for access without requiring basic authentication. + /// Create a cross-cluster API key. /// - /// Learn more about this API in the Elasticsearch documentation. - /// - [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] - public virtual CreateServiceTokenResponse CreateServiceToken(CreateServiceTokenRequestDescriptor descriptor) - { - descriptor.BeforeRequest(); - return DoRequest(descriptor); - } - - /// /// - /// Creates a service accounts token for access without requiring basic authentication. + /// Create an API key of the cross_cluster type for the API key based remote cluster access. + /// A cross_cluster API key cannot be used to authenticate through the REST interface. /// - /// Learn more about this API in the Elasticsearch documentation. - /// + /// + /// IMPORTANT: To authenticate this request you must use a credential that is not an API key. Even if you use an API key that has the required privilege, the API returns an error. + /// + /// + /// Cross-cluster API keys are created by the Elasticsearch API key service, which is automatically enabled. + /// + /// + /// NOTE: Unlike REST API keys, a cross-cluster API key does not capture permissions of the authenticated user. The API key’s effective permission is exactly as specified with the access property. + /// + /// + /// A successful request returns a JSON structure that contains the API key, its unique ID, and its name. If applicable, it also returns expiration information for the API key in milliseconds. + /// + /// + /// By default, API keys never expire. You can specify expiration information when you create the API keys. + /// + /// + /// Cross-cluster API keys can only be updated with the update cross-cluster API key API. + /// Attempting to update them with the update REST API key API or the bulk update REST API keys API will result in an error. + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] + public virtual CreateCrossClusterApiKeyResponse CreateCrossClusterApiKey(CreateCrossClusterApiKeyRequestDescriptor descriptor) + { + descriptor.BeforeRequest(); + return DoRequest, CreateCrossClusterApiKeyResponse, CreateCrossClusterApiKeyRequestParameters>(descriptor); + } + + /// + /// + /// Create a cross-cluster API key. + /// + /// + /// Create an API key of the cross_cluster type for the API key based remote cluster access. + /// A cross_cluster API key cannot be used to authenticate through the REST interface. + /// + /// + /// IMPORTANT: To authenticate this request you must use a credential that is not an API key. Even if you use an API key that has the required privilege, the API returns an error. + /// + /// + /// Cross-cluster API keys are created by the Elasticsearch API key service, which is automatically enabled. + /// + /// + /// NOTE: Unlike REST API keys, a cross-cluster API key does not capture permissions of the authenticated user. The API key’s effective permission is exactly as specified with the access property. + /// + /// + /// A successful request returns a JSON structure that contains the API key, its unique ID, and its name. If applicable, it also returns expiration information for the API key in milliseconds. + /// + /// + /// By default, API keys never expire. You can specify expiration information when you create the API keys. + /// + /// + /// Cross-cluster API keys can only be updated with the update cross-cluster API key API. + /// Attempting to update them with the update REST API key API or the bulk update REST API keys API will result in an error. + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] + public virtual CreateCrossClusterApiKeyResponse CreateCrossClusterApiKey() + { + var descriptor = new CreateCrossClusterApiKeyRequestDescriptor(); + descriptor.BeforeRequest(); + return DoRequest, CreateCrossClusterApiKeyResponse, CreateCrossClusterApiKeyRequestParameters>(descriptor); + } + + /// + /// + /// Create a cross-cluster API key. + /// + /// + /// Create an API key of the cross_cluster type for the API key based remote cluster access. + /// A cross_cluster API key cannot be used to authenticate through the REST interface. + /// + /// + /// IMPORTANT: To authenticate this request you must use a credential that is not an API key. Even if you use an API key that has the required privilege, the API returns an error. + /// + /// + /// Cross-cluster API keys are created by the Elasticsearch API key service, which is automatically enabled. + /// + /// + /// NOTE: Unlike REST API keys, a cross-cluster API key does not capture permissions of the authenticated user. The API key’s effective permission is exactly as specified with the access property. + /// + /// + /// A successful request returns a JSON structure that contains the API key, its unique ID, and its name. If applicable, it also returns expiration information for the API key in milliseconds. + /// + /// + /// By default, API keys never expire. You can specify expiration information when you create the API keys. + /// + /// + /// Cross-cluster API keys can only be updated with the update cross-cluster API key API. + /// Attempting to update them with the update REST API key API or the bulk update REST API keys API will result in an error. + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] + public virtual CreateCrossClusterApiKeyResponse CreateCrossClusterApiKey(Action> configureRequest) + { + var descriptor = new CreateCrossClusterApiKeyRequestDescriptor(); + configureRequest?.Invoke(descriptor); + descriptor.BeforeRequest(); + return DoRequest, CreateCrossClusterApiKeyResponse, CreateCrossClusterApiKeyRequestParameters>(descriptor); + } + + /// + /// + /// Create a cross-cluster API key. + /// + /// + /// Create an API key of the cross_cluster type for the API key based remote cluster access. + /// A cross_cluster API key cannot be used to authenticate through the REST interface. + /// + /// + /// IMPORTANT: To authenticate this request you must use a credential that is not an API key. Even if you use an API key that has the required privilege, the API returns an error. + /// + /// + /// Cross-cluster API keys are created by the Elasticsearch API key service, which is automatically enabled. + /// + /// + /// NOTE: Unlike REST API keys, a cross-cluster API key does not capture permissions of the authenticated user. The API key’s effective permission is exactly as specified with the access property. + /// + /// + /// A successful request returns a JSON structure that contains the API key, its unique ID, and its name. If applicable, it also returns expiration information for the API key in milliseconds. + /// + /// + /// By default, API keys never expire. You can specify expiration information when you create the API keys. + /// + /// + /// Cross-cluster API keys can only be updated with the update cross-cluster API key API. + /// Attempting to update them with the update REST API key API or the bulk update REST API keys API will result in an error. + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] + public virtual CreateCrossClusterApiKeyResponse CreateCrossClusterApiKey(CreateCrossClusterApiKeyRequestDescriptor descriptor) + { + descriptor.BeforeRequest(); + return DoRequest(descriptor); + } + + /// + /// + /// Create a cross-cluster API key. + /// + /// + /// Create an API key of the cross_cluster type for the API key based remote cluster access. + /// A cross_cluster API key cannot be used to authenticate through the REST interface. + /// + /// + /// IMPORTANT: To authenticate this request you must use a credential that is not an API key. Even if you use an API key that has the required privilege, the API returns an error. + /// + /// + /// Cross-cluster API keys are created by the Elasticsearch API key service, which is automatically enabled. + /// + /// + /// NOTE: Unlike REST API keys, a cross-cluster API key does not capture permissions of the authenticated user. The API key’s effective permission is exactly as specified with the access property. + /// + /// + /// A successful request returns a JSON structure that contains the API key, its unique ID, and its name. If applicable, it also returns expiration information for the API key in milliseconds. + /// + /// + /// By default, API keys never expire. You can specify expiration information when you create the API keys. + /// + /// + /// Cross-cluster API keys can only be updated with the update cross-cluster API key API. + /// Attempting to update them with the update REST API key API or the bulk update REST API keys API will result in an error. + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] + public virtual CreateCrossClusterApiKeyResponse CreateCrossClusterApiKey() + { + var descriptor = new CreateCrossClusterApiKeyRequestDescriptor(); + descriptor.BeforeRequest(); + return DoRequest(descriptor); + } + + /// + /// + /// Create a cross-cluster API key. + /// + /// + /// Create an API key of the cross_cluster type for the API key based remote cluster access. + /// A cross_cluster API key cannot be used to authenticate through the REST interface. + /// + /// + /// IMPORTANT: To authenticate this request you must use a credential that is not an API key. Even if you use an API key that has the required privilege, the API returns an error. + /// + /// + /// Cross-cluster API keys are created by the Elasticsearch API key service, which is automatically enabled. + /// + /// + /// NOTE: Unlike REST API keys, a cross-cluster API key does not capture permissions of the authenticated user. The API key’s effective permission is exactly as specified with the access property. + /// + /// + /// A successful request returns a JSON structure that contains the API key, its unique ID, and its name. If applicable, it also returns expiration information for the API key in milliseconds. + /// + /// + /// By default, API keys never expire. You can specify expiration information when you create the API keys. + /// + /// + /// Cross-cluster API keys can only be updated with the update cross-cluster API key API. + /// Attempting to update them with the update REST API key API or the bulk update REST API keys API will result in an error. + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] + public virtual CreateCrossClusterApiKeyResponse CreateCrossClusterApiKey(Action configureRequest) + { + var descriptor = new CreateCrossClusterApiKeyRequestDescriptor(); + configureRequest?.Invoke(descriptor); + descriptor.BeforeRequest(); + return DoRequest(descriptor); + } + + /// + /// + /// Create a cross-cluster API key. + /// + /// + /// Create an API key of the cross_cluster type for the API key based remote cluster access. + /// A cross_cluster API key cannot be used to authenticate through the REST interface. + /// + /// + /// IMPORTANT: To authenticate this request you must use a credential that is not an API key. Even if you use an API key that has the required privilege, the API returns an error. + /// + /// + /// Cross-cluster API keys are created by the Elasticsearch API key service, which is automatically enabled. + /// + /// + /// NOTE: Unlike REST API keys, a cross-cluster API key does not capture permissions of the authenticated user. The API key’s effective permission is exactly as specified with the access property. + /// + /// + /// A successful request returns a JSON structure that contains the API key, its unique ID, and its name. If applicable, it also returns expiration information for the API key in milliseconds. + /// + /// + /// By default, API keys never expire. You can specify expiration information when you create the API keys. + /// + /// + /// Cross-cluster API keys can only be updated with the update cross-cluster API key API. + /// Attempting to update them with the update REST API key API or the bulk update REST API keys API will result in an error. + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + public virtual Task CreateCrossClusterApiKeyAsync(CreateCrossClusterApiKeyRequestDescriptor descriptor, CancellationToken cancellationToken = default) + { + descriptor.BeforeRequest(); + return DoRequestAsync, CreateCrossClusterApiKeyResponse, CreateCrossClusterApiKeyRequestParameters>(descriptor, cancellationToken); + } + + /// + /// + /// Create a cross-cluster API key. + /// + /// + /// Create an API key of the cross_cluster type for the API key based remote cluster access. + /// A cross_cluster API key cannot be used to authenticate through the REST interface. + /// + /// + /// IMPORTANT: To authenticate this request you must use a credential that is not an API key. Even if you use an API key that has the required privilege, the API returns an error. + /// + /// + /// Cross-cluster API keys are created by the Elasticsearch API key service, which is automatically enabled. + /// + /// + /// NOTE: Unlike REST API keys, a cross-cluster API key does not capture permissions of the authenticated user. The API key’s effective permission is exactly as specified with the access property. + /// + /// + /// A successful request returns a JSON structure that contains the API key, its unique ID, and its name. If applicable, it also returns expiration information for the API key in milliseconds. + /// + /// + /// By default, API keys never expire. You can specify expiration information when you create the API keys. + /// + /// + /// Cross-cluster API keys can only be updated with the update cross-cluster API key API. + /// Attempting to update them with the update REST API key API or the bulk update REST API keys API will result in an error. + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + public virtual Task CreateCrossClusterApiKeyAsync(CancellationToken cancellationToken = default) + { + var descriptor = new CreateCrossClusterApiKeyRequestDescriptor(); + descriptor.BeforeRequest(); + return DoRequestAsync, CreateCrossClusterApiKeyResponse, CreateCrossClusterApiKeyRequestParameters>(descriptor, cancellationToken); + } + + /// + /// + /// Create a cross-cluster API key. + /// + /// + /// Create an API key of the cross_cluster type for the API key based remote cluster access. + /// A cross_cluster API key cannot be used to authenticate through the REST interface. + /// + /// + /// IMPORTANT: To authenticate this request you must use a credential that is not an API key. Even if you use an API key that has the required privilege, the API returns an error. + /// + /// + /// Cross-cluster API keys are created by the Elasticsearch API key service, which is automatically enabled. + /// + /// + /// NOTE: Unlike REST API keys, a cross-cluster API key does not capture permissions of the authenticated user. The API key’s effective permission is exactly as specified with the access property. + /// + /// + /// A successful request returns a JSON structure that contains the API key, its unique ID, and its name. If applicable, it also returns expiration information for the API key in milliseconds. + /// + /// + /// By default, API keys never expire. You can specify expiration information when you create the API keys. + /// + /// + /// Cross-cluster API keys can only be updated with the update cross-cluster API key API. + /// Attempting to update them with the update REST API key API or the bulk update REST API keys API will result in an error. + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + public virtual Task CreateCrossClusterApiKeyAsync(Action> configureRequest, CancellationToken cancellationToken = default) + { + var descriptor = new CreateCrossClusterApiKeyRequestDescriptor(); + configureRequest?.Invoke(descriptor); + descriptor.BeforeRequest(); + return DoRequestAsync, CreateCrossClusterApiKeyResponse, CreateCrossClusterApiKeyRequestParameters>(descriptor, cancellationToken); + } + + /// + /// + /// Create a cross-cluster API key. + /// + /// + /// Create an API key of the cross_cluster type for the API key based remote cluster access. + /// A cross_cluster API key cannot be used to authenticate through the REST interface. + /// + /// + /// IMPORTANT: To authenticate this request you must use a credential that is not an API key. Even if you use an API key that has the required privilege, the API returns an error. + /// + /// + /// Cross-cluster API keys are created by the Elasticsearch API key service, which is automatically enabled. + /// + /// + /// NOTE: Unlike REST API keys, a cross-cluster API key does not capture permissions of the authenticated user. The API key’s effective permission is exactly as specified with the access property. + /// + /// + /// A successful request returns a JSON structure that contains the API key, its unique ID, and its name. If applicable, it also returns expiration information for the API key in milliseconds. + /// + /// + /// By default, API keys never expire. You can specify expiration information when you create the API keys. + /// + /// + /// Cross-cluster API keys can only be updated with the update cross-cluster API key API. + /// Attempting to update them with the update REST API key API or the bulk update REST API keys API will result in an error. + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + public virtual Task CreateCrossClusterApiKeyAsync(CreateCrossClusterApiKeyRequestDescriptor descriptor, CancellationToken cancellationToken = default) + { + descriptor.BeforeRequest(); + return DoRequestAsync(descriptor, cancellationToken); + } + + /// + /// + /// Create a cross-cluster API key. + /// + /// + /// Create an API key of the cross_cluster type for the API key based remote cluster access. + /// A cross_cluster API key cannot be used to authenticate through the REST interface. + /// + /// + /// IMPORTANT: To authenticate this request you must use a credential that is not an API key. Even if you use an API key that has the required privilege, the API returns an error. + /// + /// + /// Cross-cluster API keys are created by the Elasticsearch API key service, which is automatically enabled. + /// + /// + /// NOTE: Unlike REST API keys, a cross-cluster API key does not capture permissions of the authenticated user. The API key’s effective permission is exactly as specified with the access property. + /// + /// + /// A successful request returns a JSON structure that contains the API key, its unique ID, and its name. If applicable, it also returns expiration information for the API key in milliseconds. + /// + /// + /// By default, API keys never expire. You can specify expiration information when you create the API keys. + /// + /// + /// Cross-cluster API keys can only be updated with the update cross-cluster API key API. + /// Attempting to update them with the update REST API key API or the bulk update REST API keys API will result in an error. + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + public virtual Task CreateCrossClusterApiKeyAsync(CancellationToken cancellationToken = default) + { + var descriptor = new CreateCrossClusterApiKeyRequestDescriptor(); + descriptor.BeforeRequest(); + return DoRequestAsync(descriptor, cancellationToken); + } + + /// + /// + /// Create a cross-cluster API key. + /// + /// + /// Create an API key of the cross_cluster type for the API key based remote cluster access. + /// A cross_cluster API key cannot be used to authenticate through the REST interface. + /// + /// + /// IMPORTANT: To authenticate this request you must use a credential that is not an API key. Even if you use an API key that has the required privilege, the API returns an error. + /// + /// + /// Cross-cluster API keys are created by the Elasticsearch API key service, which is automatically enabled. + /// + /// + /// NOTE: Unlike REST API keys, a cross-cluster API key does not capture permissions of the authenticated user. The API key’s effective permission is exactly as specified with the access property. + /// + /// + /// A successful request returns a JSON structure that contains the API key, its unique ID, and its name. If applicable, it also returns expiration information for the API key in milliseconds. + /// + /// + /// By default, API keys never expire. You can specify expiration information when you create the API keys. + /// + /// + /// Cross-cluster API keys can only be updated with the update cross-cluster API key API. + /// Attempting to update them with the update REST API key API or the bulk update REST API keys API will result in an error. + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + public virtual Task CreateCrossClusterApiKeyAsync(Action configureRequest, CancellationToken cancellationToken = default) + { + var descriptor = new CreateCrossClusterApiKeyRequestDescriptor(); + configureRequest?.Invoke(descriptor); + descriptor.BeforeRequest(); + return DoRequestAsync(descriptor, cancellationToken); + } + + /// + /// + /// Create a service account token. + /// + /// + /// Create a service accounts token for access without requiring basic authentication. + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] + public virtual CreateServiceTokenResponse CreateServiceToken(CreateServiceTokenRequest request) + { + request.BeforeRequest(); + return DoRequest(request); + } + + /// + /// + /// Create a service account token. + /// + /// + /// Create a service accounts token for access without requiring basic authentication. + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + public virtual Task CreateServiceTokenAsync(CreateServiceTokenRequest request, CancellationToken cancellationToken = default) + { + request.BeforeRequest(); + return DoRequestAsync(request, cancellationToken); + } + + /// + /// + /// Create a service account token. + /// + /// + /// Create a service accounts token for access without requiring basic authentication. + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] + public virtual CreateServiceTokenResponse CreateServiceToken(CreateServiceTokenRequestDescriptor descriptor) + { + descriptor.BeforeRequest(); + return DoRequest(descriptor); + } + + /// + /// + /// Create a service account token. + /// + /// + /// Create a service accounts token for access without requiring basic authentication. + /// + /// Learn more about this API in the Elasticsearch documentation. + /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual CreateServiceTokenResponse CreateServiceToken(string ns, string service, Elastic.Clients.Elasticsearch.Name? name) { @@ -1595,7 +2414,10 @@ public virtual CreateServiceTokenResponse CreateServiceToken(string ns, string s /// /// - /// Creates a service accounts token for access without requiring basic authentication. + /// Create a service account token. + /// + /// + /// Create a service accounts token for access without requiring basic authentication. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -1610,7 +2432,10 @@ public virtual CreateServiceTokenResponse CreateServiceToken(string ns, string s /// /// - /// Creates a service accounts token for access without requiring basic authentication. + /// Create a service account token. + /// + /// + /// Create a service accounts token for access without requiring basic authentication. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -1624,7 +2449,10 @@ public virtual CreateServiceTokenResponse CreateServiceToken(string ns, string s /// /// - /// Creates a service accounts token for access without requiring basic authentication. + /// Create a service account token. + /// + /// + /// Create a service accounts token for access without requiring basic authentication. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -1639,7 +2467,10 @@ public virtual CreateServiceTokenResponse CreateServiceToken(string ns, string s /// /// - /// Creates a service accounts token for access without requiring basic authentication. + /// Create a service account token. + /// + /// + /// Create a service accounts token for access without requiring basic authentication. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -1651,7 +2482,10 @@ public virtual Task CreateServiceTokenAsync(CreateSe /// /// - /// Creates a service accounts token for access without requiring basic authentication. + /// Create a service account token. + /// + /// + /// Create a service accounts token for access without requiring basic authentication. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -1664,7 +2498,10 @@ public virtual Task CreateServiceTokenAsync(string n /// /// - /// Creates a service accounts token for access without requiring basic authentication. + /// Create a service account token. + /// + /// + /// Create a service accounts token for access without requiring basic authentication. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -1678,7 +2515,10 @@ public virtual Task CreateServiceTokenAsync(string n /// /// - /// Creates a service accounts token for access without requiring basic authentication. + /// Create a service account token. + /// + /// + /// Create a service accounts token for access without requiring basic authentication. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -1691,7 +2531,10 @@ public virtual Task CreateServiceTokenAsync(string n /// /// - /// Creates a service accounts token for access without requiring basic authentication. + /// Create a service account token. + /// + /// + /// Create a service accounts token for access without requiring basic authentication. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -1705,7 +2548,7 @@ public virtual Task CreateServiceTokenAsync(string n /// /// - /// Removes application privileges. + /// Delete application privileges. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -1718,7 +2561,7 @@ public virtual DeletePrivilegesResponse DeletePrivileges(DeletePrivilegesRequest /// /// - /// Removes application privileges. + /// Delete application privileges. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -1730,7 +2573,7 @@ public virtual Task DeletePrivilegesAsync(DeletePrivil /// /// - /// Removes application privileges. + /// Delete application privileges. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -1743,7 +2586,7 @@ public virtual DeletePrivilegesResponse DeletePrivileges(DeletePrivilegesRequest /// /// - /// Removes application privileges. + /// Delete application privileges. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -1757,7 +2600,7 @@ public virtual DeletePrivilegesResponse DeletePrivileges(Elastic.Clients.Elastic /// /// - /// Removes application privileges. + /// Delete application privileges. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -1772,7 +2615,7 @@ public virtual DeletePrivilegesResponse DeletePrivileges(Elastic.Clients.Elastic /// /// - /// Removes application privileges. + /// Delete application privileges. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -1784,7 +2627,7 @@ public virtual Task DeletePrivilegesAsync(DeletePrivil /// /// - /// Removes application privileges. + /// Delete application privileges. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -1797,7 +2640,7 @@ public virtual Task DeletePrivilegesAsync(Elastic.Clie /// /// - /// Removes application privileges. + /// Delete application privileges. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -1811,7 +2654,10 @@ public virtual Task DeletePrivilegesAsync(Elastic.Clie /// /// - /// Removes roles in the native realm. + /// Delete roles. + /// + /// + /// Delete roles in the native realm. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -1824,7 +2670,10 @@ public virtual DeleteRoleResponse DeleteRole(DeleteRoleRequest request) /// /// - /// Removes roles in the native realm. + /// Delete roles. + /// + /// + /// Delete roles in the native realm. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -1836,7 +2685,10 @@ public virtual Task DeleteRoleAsync(DeleteRoleRequest reques /// /// - /// Removes roles in the native realm. + /// Delete roles. + /// + /// + /// Delete roles in the native realm. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -1849,7 +2701,10 @@ public virtual DeleteRoleResponse DeleteRole(DeleteRoleRequestDescriptor descrip /// /// - /// Removes roles in the native realm. + /// Delete roles. + /// + /// + /// Delete roles in the native realm. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -1863,7 +2718,10 @@ public virtual DeleteRoleResponse DeleteRole(Elastic.Clients.Elasticsearch.Name /// /// - /// Removes roles in the native realm. + /// Delete roles. + /// + /// + /// Delete roles in the native realm. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -1878,7 +2736,10 @@ public virtual DeleteRoleResponse DeleteRole(Elastic.Clients.Elasticsearch.Name /// /// - /// Removes roles in the native realm. + /// Delete roles. + /// + /// + /// Delete roles in the native realm. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -1890,7 +2751,10 @@ public virtual Task DeleteRoleAsync(DeleteRoleRequestDescrip /// /// - /// Removes roles in the native realm. + /// Delete roles. + /// + /// + /// Delete roles in the native realm. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -1903,7 +2767,10 @@ public virtual Task DeleteRoleAsync(Elastic.Clients.Elastics /// /// - /// Removes roles in the native realm. + /// Delete roles. + /// + /// + /// Delete roles in the native realm. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -1917,7 +2784,7 @@ public virtual Task DeleteRoleAsync(Elastic.Clients.Elastics /// /// - /// Removes role mappings. + /// Delete role mappings. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -1930,7 +2797,7 @@ public virtual DeleteRoleMappingResponse DeleteRoleMapping(DeleteRoleMappingRequ /// /// - /// Removes role mappings. + /// Delete role mappings. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -1942,7 +2809,7 @@ public virtual Task DeleteRoleMappingAsync(DeleteRole /// /// - /// Removes role mappings. + /// Delete role mappings. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -1955,7 +2822,7 @@ public virtual DeleteRoleMappingResponse DeleteRoleMapping(DeleteRoleMappingRequ /// /// - /// Removes role mappings. + /// Delete role mappings. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -1969,7 +2836,7 @@ public virtual DeleteRoleMappingResponse DeleteRoleMapping(Elastic.Clients.Elast /// /// - /// Removes role mappings. + /// Delete role mappings. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -1984,7 +2851,7 @@ public virtual DeleteRoleMappingResponse DeleteRoleMapping(Elastic.Clients.Elast /// /// - /// Removes role mappings. + /// Delete role mappings. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -1996,7 +2863,7 @@ public virtual Task DeleteRoleMappingAsync(DeleteRole /// /// - /// Removes role mappings. + /// Delete role mappings. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2009,7 +2876,7 @@ public virtual Task DeleteRoleMappingAsync(Elastic.Cl /// /// - /// Removes role mappings. + /// Delete role mappings. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2023,7 +2890,10 @@ public virtual Task DeleteRoleMappingAsync(Elastic.Cl /// /// - /// Deletes a service account token. + /// Delete service account tokens. + /// + /// + /// Delete service account tokens for a service in a specified namespace. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2036,7 +2906,10 @@ public virtual DeleteServiceTokenResponse DeleteServiceToken(DeleteServiceTokenR /// /// - /// Deletes a service account token. + /// Delete service account tokens. + /// + /// + /// Delete service account tokens for a service in a specified namespace. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2048,7 +2921,10 @@ public virtual Task DeleteServiceTokenAsync(DeleteSe /// /// - /// Deletes a service account token. + /// Delete service account tokens. + /// + /// + /// Delete service account tokens for a service in a specified namespace. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2061,7 +2937,10 @@ public virtual DeleteServiceTokenResponse DeleteServiceToken(DeleteServiceTokenR /// /// - /// Deletes a service account token. + /// Delete service account tokens. + /// + /// + /// Delete service account tokens for a service in a specified namespace. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2075,7 +2954,10 @@ public virtual DeleteServiceTokenResponse DeleteServiceToken(string ns, string s /// /// - /// Deletes a service account token. + /// Delete service account tokens. + /// + /// + /// Delete service account tokens for a service in a specified namespace. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2090,7 +2972,10 @@ public virtual DeleteServiceTokenResponse DeleteServiceToken(string ns, string s /// /// - /// Deletes a service account token. + /// Delete service account tokens. + /// + /// + /// Delete service account tokens for a service in a specified namespace. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2102,7 +2987,10 @@ public virtual Task DeleteServiceTokenAsync(DeleteSe /// /// - /// Deletes a service account token. + /// Delete service account tokens. + /// + /// + /// Delete service account tokens for a service in a specified namespace. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2115,7 +3003,10 @@ public virtual Task DeleteServiceTokenAsync(string n /// /// - /// Deletes a service account token. + /// Delete service account tokens. + /// + /// + /// Delete service account tokens for a service in a specified namespace. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2129,7 +3020,10 @@ public virtual Task DeleteServiceTokenAsync(string n /// /// - /// Deletes users from the native realm. + /// Delete users. + /// + /// + /// Delete users from the native realm. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2142,7 +3036,10 @@ public virtual DeleteUserResponse DeleteUser(DeleteUserRequest request) /// /// - /// Deletes users from the native realm. + /// Delete users. + /// + /// + /// Delete users from the native realm. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2154,7 +3051,10 @@ public virtual Task DeleteUserAsync(DeleteUserRequest reques /// /// - /// Deletes users from the native realm. + /// Delete users. + /// + /// + /// Delete users from the native realm. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2167,7 +3067,10 @@ public virtual DeleteUserResponse DeleteUser(DeleteUserRequestDescriptor descrip /// /// - /// Deletes users from the native realm. + /// Delete users. + /// + /// + /// Delete users from the native realm. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2181,7 +3084,10 @@ public virtual DeleteUserResponse DeleteUser(Elastic.Clients.Elasticsearch.Usern /// /// - /// Deletes users from the native realm. + /// Delete users. + /// + /// + /// Delete users from the native realm. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2196,7 +3102,10 @@ public virtual DeleteUserResponse DeleteUser(Elastic.Clients.Elasticsearch.Usern /// /// - /// Deletes users from the native realm. + /// Delete users. + /// + /// + /// Delete users from the native realm. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2208,7 +3117,10 @@ public virtual Task DeleteUserAsync(DeleteUserRequestDescrip /// /// - /// Deletes users from the native realm. + /// Delete users. + /// + /// + /// Delete users from the native realm. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2221,7 +3133,10 @@ public virtual Task DeleteUserAsync(Elastic.Clients.Elastics /// /// - /// Deletes users from the native realm. + /// Delete users. + /// + /// + /// Delete users from the native realm. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2235,7 +3150,10 @@ public virtual Task DeleteUserAsync(Elastic.Clients.Elastics /// /// - /// Disables users in the native realm. + /// Disable users. + /// + /// + /// Disable users in the native realm. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2248,7 +3166,10 @@ public virtual DisableUserResponse DisableUser(DisableUserRequest request) /// /// - /// Disables users in the native realm. + /// Disable users. + /// + /// + /// Disable users in the native realm. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2260,7 +3181,10 @@ public virtual Task DisableUserAsync(DisableUserRequest req /// /// - /// Disables users in the native realm. + /// Disable users. + /// + /// + /// Disable users in the native realm. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2273,7 +3197,10 @@ public virtual DisableUserResponse DisableUser(DisableUserRequestDescriptor desc /// /// - /// Disables users in the native realm. + /// Disable users. + /// + /// + /// Disable users in the native realm. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2287,7 +3214,10 @@ public virtual DisableUserResponse DisableUser(Elastic.Clients.Elasticsearch.Use /// /// - /// Disables users in the native realm. + /// Disable users. + /// + /// + /// Disable users in the native realm. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2302,7 +3232,10 @@ public virtual DisableUserResponse DisableUser(Elastic.Clients.Elasticsearch.Use /// /// - /// Disables users in the native realm. + /// Disable users. + /// + /// + /// Disable users in the native realm. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2314,7 +3247,10 @@ public virtual Task DisableUserAsync(DisableUserRequestDesc /// /// - /// Disables users in the native realm. + /// Disable users. + /// + /// + /// Disable users in the native realm. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2327,7 +3263,10 @@ public virtual Task DisableUserAsync(Elastic.Clients.Elasti /// /// - /// Disables users in the native realm. + /// Disable users. + /// + /// + /// Disable users in the native realm. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2341,7 +3280,10 @@ public virtual Task DisableUserAsync(Elastic.Clients.Elasti /// /// - /// Disables a user profile so it's not visible in user profile searches. + /// Disable a user profile. + /// + /// + /// Disable user profiles so that they are not visible in user profile searches. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2354,7 +3296,10 @@ public virtual DisableUserProfileResponse DisableUserProfile(DisableUserProfileR /// /// - /// Disables a user profile so it's not visible in user profile searches. + /// Disable a user profile. + /// + /// + /// Disable user profiles so that they are not visible in user profile searches. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2366,7 +3311,10 @@ public virtual Task DisableUserProfileAsync(DisableU /// /// - /// Disables a user profile so it's not visible in user profile searches. + /// Disable a user profile. + /// + /// + /// Disable user profiles so that they are not visible in user profile searches. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2379,7 +3327,10 @@ public virtual DisableUserProfileResponse DisableUserProfile(DisableUserProfileR /// /// - /// Disables a user profile so it's not visible in user profile searches. + /// Disable a user profile. + /// + /// + /// Disable user profiles so that they are not visible in user profile searches. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2393,7 +3344,10 @@ public virtual DisableUserProfileResponse DisableUserProfile(string uid) /// /// - /// Disables a user profile so it's not visible in user profile searches. + /// Disable a user profile. + /// + /// + /// Disable user profiles so that they are not visible in user profile searches. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2408,7 +3362,10 @@ public virtual DisableUserProfileResponse DisableUserProfile(string uid, Action< /// /// - /// Disables a user profile so it's not visible in user profile searches. + /// Disable a user profile. + /// + /// + /// Disable user profiles so that they are not visible in user profile searches. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2420,7 +3377,10 @@ public virtual Task DisableUserProfileAsync(DisableU /// /// - /// Disables a user profile so it's not visible in user profile searches. + /// Disable a user profile. + /// + /// + /// Disable user profiles so that they are not visible in user profile searches. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2433,7 +3393,10 @@ public virtual Task DisableUserProfileAsync(string u /// /// - /// Disables a user profile so it's not visible in user profile searches. + /// Disable a user profile. + /// + /// + /// Disable user profiles so that they are not visible in user profile searches. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2447,7 +3410,10 @@ public virtual Task DisableUserProfileAsync(string u /// /// - /// Enables users in the native realm. + /// Enable users. + /// + /// + /// Enable users in the native realm. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2460,7 +3426,10 @@ public virtual EnableUserResponse EnableUser(EnableUserRequest request) /// /// - /// Enables users in the native realm. + /// Enable users. + /// + /// + /// Enable users in the native realm. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2472,7 +3441,10 @@ public virtual Task EnableUserAsync(EnableUserRequest reques /// /// - /// Enables users in the native realm. + /// Enable users. + /// + /// + /// Enable users in the native realm. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2485,7 +3457,10 @@ public virtual EnableUserResponse EnableUser(EnableUserRequestDescriptor descrip /// /// - /// Enables users in the native realm. + /// Enable users. + /// + /// + /// Enable users in the native realm. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2499,7 +3474,10 @@ public virtual EnableUserResponse EnableUser(Elastic.Clients.Elasticsearch.Usern /// /// - /// Enables users in the native realm. + /// Enable users. + /// + /// + /// Enable users in the native realm. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2514,7 +3492,10 @@ public virtual EnableUserResponse EnableUser(Elastic.Clients.Elasticsearch.Usern /// /// - /// Enables users in the native realm. + /// Enable users. + /// + /// + /// Enable users in the native realm. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2526,7 +3507,10 @@ public virtual Task EnableUserAsync(EnableUserRequestDescrip /// /// - /// Enables users in the native realm. + /// Enable users. + /// + /// + /// Enable users in the native realm. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2539,7 +3523,10 @@ public virtual Task EnableUserAsync(Elastic.Clients.Elastics /// /// - /// Enables users in the native realm. + /// Enable users. + /// + /// + /// Enable users in the native realm. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2553,7 +3540,10 @@ public virtual Task EnableUserAsync(Elastic.Clients.Elastics /// /// - /// Enables a user profile so it's visible in user profile searches. + /// Enable a user profile. + /// + /// + /// Enable user profiles to make them visible in user profile searches. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2566,7 +3556,10 @@ public virtual EnableUserProfileResponse EnableUserProfile(EnableUserProfileRequ /// /// - /// Enables a user profile so it's visible in user profile searches. + /// Enable a user profile. + /// + /// + /// Enable user profiles to make them visible in user profile searches. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2578,7 +3571,10 @@ public virtual Task EnableUserProfileAsync(EnableUser /// /// - /// Enables a user profile so it's visible in user profile searches. + /// Enable a user profile. + /// + /// + /// Enable user profiles to make them visible in user profile searches. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2591,7 +3587,10 @@ public virtual EnableUserProfileResponse EnableUserProfile(EnableUserProfileRequ /// /// - /// Enables a user profile so it's visible in user profile searches. + /// Enable a user profile. + /// + /// + /// Enable user profiles to make them visible in user profile searches. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2605,7 +3604,10 @@ public virtual EnableUserProfileResponse EnableUserProfile(string uid) /// /// - /// Enables a user profile so it's visible in user profile searches. + /// Enable a user profile. + /// + /// + /// Enable user profiles to make them visible in user profile searches. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2620,7 +3622,10 @@ public virtual EnableUserProfileResponse EnableUserProfile(string uid, Action /// - /// Enables a user profile so it's visible in user profile searches. + /// Enable a user profile. + /// + /// + /// Enable user profiles to make them visible in user profile searches. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2632,7 +3637,10 @@ public virtual Task EnableUserProfileAsync(EnableUser /// /// - /// Enables a user profile so it's visible in user profile searches. + /// Enable a user profile. + /// + /// + /// Enable user profiles to make them visible in user profile searches. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2645,7 +3653,10 @@ public virtual Task EnableUserProfileAsync(string uid /// /// - /// Enables a user profile so it's visible in user profile searches. + /// Enable a user profile. + /// + /// + /// Enable user profiles to make them visible in user profile searches. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2659,7 +3670,10 @@ public virtual Task EnableUserProfileAsync(string uid /// /// - /// Enables a Kibana instance to configure itself for communication with a secured Elasticsearch cluster. + /// Enroll Kibana. + /// + /// + /// Enable a Kibana instance to configure itself for communication with a secured Elasticsearch cluster. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2672,7 +3686,10 @@ public virtual EnrollKibanaResponse EnrollKibana(EnrollKibanaRequest request) /// /// - /// Enables a Kibana instance to configure itself for communication with a secured Elasticsearch cluster. + /// Enroll Kibana. + /// + /// + /// Enable a Kibana instance to configure itself for communication with a secured Elasticsearch cluster. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2684,7 +3701,10 @@ public virtual Task EnrollKibanaAsync(EnrollKibanaRequest /// /// - /// Enables a Kibana instance to configure itself for communication with a secured Elasticsearch cluster. + /// Enroll Kibana. + /// + /// + /// Enable a Kibana instance to configure itself for communication with a secured Elasticsearch cluster. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2697,7 +3717,10 @@ public virtual EnrollKibanaResponse EnrollKibana(EnrollKibanaRequestDescriptor d /// /// - /// Enables a Kibana instance to configure itself for communication with a secured Elasticsearch cluster. + /// Enroll Kibana. + /// + /// + /// Enable a Kibana instance to configure itself for communication with a secured Elasticsearch cluster. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2711,7 +3734,10 @@ public virtual EnrollKibanaResponse EnrollKibana() /// /// - /// Enables a Kibana instance to configure itself for communication with a secured Elasticsearch cluster. + /// Enroll Kibana. + /// + /// + /// Enable a Kibana instance to configure itself for communication with a secured Elasticsearch cluster. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2726,7 +3752,10 @@ public virtual EnrollKibanaResponse EnrollKibana(Action /// - /// Enables a Kibana instance to configure itself for communication with a secured Elasticsearch cluster. + /// Enroll Kibana. + /// + /// + /// Enable a Kibana instance to configure itself for communication with a secured Elasticsearch cluster. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2738,7 +3767,10 @@ public virtual Task EnrollKibanaAsync(EnrollKibanaRequestD /// /// - /// Enables a Kibana instance to configure itself for communication with a secured Elasticsearch cluster. + /// Enroll Kibana. + /// + /// + /// Enable a Kibana instance to configure itself for communication with a secured Elasticsearch cluster. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2751,7 +3783,10 @@ public virtual Task EnrollKibanaAsync(CancellationToken ca /// /// - /// Enables a Kibana instance to configure itself for communication with a secured Elasticsearch cluster. + /// Enroll Kibana. + /// + /// + /// Enable a Kibana instance to configure itself for communication with a secured Elasticsearch cluster. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2765,7 +3800,10 @@ public virtual Task EnrollKibanaAsync(Action /// - /// Allows a new node to join an existing cluster with security features enabled. + /// Enroll a node. + /// + /// + /// Enroll a new node to allow it to join an existing cluster with security features enabled. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2778,7 +3816,10 @@ public virtual EnrollNodeResponse EnrollNode(EnrollNodeRequest request) /// /// - /// Allows a new node to join an existing cluster with security features enabled. + /// Enroll a node. + /// + /// + /// Enroll a new node to allow it to join an existing cluster with security features enabled. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2790,7 +3831,10 @@ public virtual Task EnrollNodeAsync(EnrollNodeRequest reques /// /// - /// Allows a new node to join an existing cluster with security features enabled. + /// Enroll a node. + /// + /// + /// Enroll a new node to allow it to join an existing cluster with security features enabled. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2803,7 +3847,10 @@ public virtual EnrollNodeResponse EnrollNode(EnrollNodeRequestDescriptor descrip /// /// - /// Allows a new node to join an existing cluster with security features enabled. + /// Enroll a node. + /// + /// + /// Enroll a new node to allow it to join an existing cluster with security features enabled. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2817,7 +3864,10 @@ public virtual EnrollNodeResponse EnrollNode() /// /// - /// Allows a new node to join an existing cluster with security features enabled. + /// Enroll a node. + /// + /// + /// Enroll a new node to allow it to join an existing cluster with security features enabled. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2832,7 +3882,10 @@ public virtual EnrollNodeResponse EnrollNode(Action /// /// - /// Allows a new node to join an existing cluster with security features enabled. + /// Enroll a node. + /// + /// + /// Enroll a new node to allow it to join an existing cluster with security features enabled. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2844,7 +3897,10 @@ public virtual Task EnrollNodeAsync(EnrollNodeRequestDescrip /// /// - /// Allows a new node to join an existing cluster with security features enabled. + /// Enroll a node. + /// + /// + /// Enroll a new node to allow it to join an existing cluster with security features enabled. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2857,7 +3913,10 @@ public virtual Task EnrollNodeAsync(CancellationToken cancel /// /// - /// Allows a new node to join an existing cluster with security features enabled. + /// Enroll a node. + /// + /// + /// Enroll a new node to allow it to join an existing cluster with security features enabled. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2872,6 +3931,8 @@ public virtual Task EnrollNodeAsync(Action /// /// Get API key information. + /// + /// /// Retrieves information for one or more API keys. /// NOTE: If you have only the manage_own_api_key privilege, this API returns only the API keys that you own. /// If you have read_security, manage_api_key or greater privileges (including manage_security), this API returns all API keys regardless of ownership. @@ -2888,6 +3949,8 @@ public virtual GetApiKeyResponse GetApiKey(GetApiKeyRequest request) /// /// /// Get API key information. + /// + /// /// Retrieves information for one or more API keys. /// NOTE: If you have only the manage_own_api_key privilege, this API returns only the API keys that you own. /// If you have read_security, manage_api_key or greater privileges (including manage_security), this API returns all API keys regardless of ownership. @@ -2903,6 +3966,8 @@ public virtual Task GetApiKeyAsync(GetApiKeyRequest request, /// /// /// Get API key information. + /// + /// /// Retrieves information for one or more API keys. /// NOTE: If you have only the manage_own_api_key privilege, this API returns only the API keys that you own. /// If you have read_security, manage_api_key or greater privileges (including manage_security), this API returns all API keys regardless of ownership. @@ -2919,6 +3984,8 @@ public virtual GetApiKeyResponse GetApiKey(GetApiKeyRequestDescriptor descriptor /// /// /// Get API key information. + /// + /// /// Retrieves information for one or more API keys. /// NOTE: If you have only the manage_own_api_key privilege, this API returns only the API keys that you own. /// If you have read_security, manage_api_key or greater privileges (including manage_security), this API returns all API keys regardless of ownership. @@ -2936,6 +4003,8 @@ public virtual GetApiKeyResponse GetApiKey() /// /// /// Get API key information. + /// + /// /// Retrieves information for one or more API keys. /// NOTE: If you have only the manage_own_api_key privilege, this API returns only the API keys that you own. /// If you have read_security, manage_api_key or greater privileges (including manage_security), this API returns all API keys regardless of ownership. @@ -2954,6 +4023,8 @@ public virtual GetApiKeyResponse GetApiKey(Action co /// /// /// Get API key information. + /// + /// /// Retrieves information for one or more API keys. /// NOTE: If you have only the manage_own_api_key privilege, this API returns only the API keys that you own. /// If you have read_security, manage_api_key or greater privileges (including manage_security), this API returns all API keys regardless of ownership. @@ -2969,6 +4040,8 @@ public virtual Task GetApiKeyAsync(GetApiKeyRequestDescriptor /// /// /// Get API key information. + /// + /// /// Retrieves information for one or more API keys. /// NOTE: If you have only the manage_own_api_key privilege, this API returns only the API keys that you own. /// If you have read_security, manage_api_key or greater privileges (including manage_security), this API returns all API keys regardless of ownership. @@ -2985,6 +4058,8 @@ public virtual Task GetApiKeyAsync(CancellationToken cancella /// /// /// Get API key information. + /// + /// /// Retrieves information for one or more API keys. /// NOTE: If you have only the manage_own_api_key privilege, this API returns only the API keys that you own. /// If you have read_security, manage_api_key or greater privileges (including manage_security), this API returns all API keys regardless of ownership. @@ -3001,7 +4076,10 @@ public virtual Task GetApiKeyAsync(Action /// - /// Retrieves the list of cluster privileges and index privileges that are available in this version of Elasticsearch. + /// Get builtin privileges. + /// + /// + /// Get the list of cluster privileges and index privileges that are available in this version of Elasticsearch. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -3014,7 +4092,10 @@ public virtual GetBuiltinPrivilegesResponse GetBuiltinPrivileges(GetBuiltinPrivi /// /// - /// Retrieves the list of cluster privileges and index privileges that are available in this version of Elasticsearch. + /// Get builtin privileges. + /// + /// + /// Get the list of cluster privileges and index privileges that are available in this version of Elasticsearch. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -3026,7 +4107,10 @@ public virtual Task GetBuiltinPrivilegesAsync(GetB /// /// - /// Retrieves the list of cluster privileges and index privileges that are available in this version of Elasticsearch. + /// Get builtin privileges. + /// + /// + /// Get the list of cluster privileges and index privileges that are available in this version of Elasticsearch. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -3039,7 +4123,10 @@ public virtual GetBuiltinPrivilegesResponse GetBuiltinPrivileges(GetBuiltinPrivi /// /// - /// Retrieves the list of cluster privileges and index privileges that are available in this version of Elasticsearch. + /// Get builtin privileges. + /// + /// + /// Get the list of cluster privileges and index privileges that are available in this version of Elasticsearch. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -3053,7 +4140,10 @@ public virtual GetBuiltinPrivilegesResponse GetBuiltinPrivileges() /// /// - /// Retrieves the list of cluster privileges and index privileges that are available in this version of Elasticsearch. + /// Get builtin privileges. + /// + /// + /// Get the list of cluster privileges and index privileges that are available in this version of Elasticsearch. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -3068,7 +4158,10 @@ public virtual GetBuiltinPrivilegesResponse GetBuiltinPrivileges(Action /// - /// Retrieves the list of cluster privileges and index privileges that are available in this version of Elasticsearch. + /// Get builtin privileges. + /// + /// + /// Get the list of cluster privileges and index privileges that are available in this version of Elasticsearch. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -3080,7 +4173,10 @@ public virtual Task GetBuiltinPrivilegesAsync(GetB /// /// - /// Retrieves the list of cluster privileges and index privileges that are available in this version of Elasticsearch. + /// Get builtin privileges. + /// + /// + /// Get the list of cluster privileges and index privileges that are available in this version of Elasticsearch. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -3093,7 +4189,10 @@ public virtual Task GetBuiltinPrivilegesAsync(Canc /// /// - /// Retrieves the list of cluster privileges and index privileges that are available in this version of Elasticsearch. + /// Get builtin privileges. + /// + /// + /// Get the list of cluster privileges and index privileges that are available in this version of Elasticsearch. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -3107,7 +4206,7 @@ public virtual Task GetBuiltinPrivilegesAsync(Acti /// /// - /// Retrieves application privileges. + /// Get application privileges. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -3120,7 +4219,7 @@ public virtual GetPrivilegesResponse GetPrivileges(GetPrivilegesRequest request) /// /// - /// Retrieves application privileges. + /// Get application privileges. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -3132,7 +4231,7 @@ public virtual Task GetPrivilegesAsync(GetPrivilegesReque /// /// - /// Retrieves application privileges. + /// Get application privileges. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -3145,7 +4244,7 @@ public virtual GetPrivilegesResponse GetPrivileges(GetPrivilegesRequestDescripto /// /// - /// Retrieves application privileges. + /// Get application privileges. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -3159,7 +4258,7 @@ public virtual GetPrivilegesResponse GetPrivileges(Elastic.Clients.Elasticsearch /// /// - /// Retrieves application privileges. + /// Get application privileges. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -3174,7 +4273,7 @@ public virtual GetPrivilegesResponse GetPrivileges(Elastic.Clients.Elasticsearch /// /// - /// Retrieves application privileges. + /// Get application privileges. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -3188,7 +4287,7 @@ public virtual GetPrivilegesResponse GetPrivileges() /// /// - /// Retrieves application privileges. + /// Get application privileges. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -3203,7 +4302,7 @@ public virtual GetPrivilegesResponse GetPrivileges(Action /// - /// Retrieves application privileges. + /// Get application privileges. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -3215,7 +4314,7 @@ public virtual Task GetPrivilegesAsync(GetPrivilegesReque /// /// - /// Retrieves application privileges. + /// Get application privileges. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -3228,7 +4327,7 @@ public virtual Task GetPrivilegesAsync(Elastic.Clients.El /// /// - /// Retrieves application privileges. + /// Get application privileges. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -3242,7 +4341,7 @@ public virtual Task GetPrivilegesAsync(Elastic.Clients.El /// /// - /// Retrieves application privileges. + /// Get application privileges. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -3255,7 +4354,7 @@ public virtual Task GetPrivilegesAsync(CancellationToken /// /// - /// Retrieves application privileges. + /// Get application privileges. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -3269,8 +4368,10 @@ public virtual Task GetPrivilegesAsync(Action /// - /// The role management APIs are generally the preferred way to manage roles, rather than using file-based role management. - /// The get roles API cannot retrieve roles that are defined in roles files. + /// Get roles. + /// + /// + /// Get roles in the native realm. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -3283,8 +4384,10 @@ public virtual GetRoleResponse GetRole(GetRoleRequest request) /// /// - /// The role management APIs are generally the preferred way to manage roles, rather than using file-based role management. - /// The get roles API cannot retrieve roles that are defined in roles files. + /// Get roles. + /// + /// + /// Get roles in the native realm. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -3296,8 +4399,10 @@ public virtual Task GetRoleAsync(GetRoleRequest request, Cancel /// /// - /// The role management APIs are generally the preferred way to manage roles, rather than using file-based role management. - /// The get roles API cannot retrieve roles that are defined in roles files. + /// Get roles. + /// + /// + /// Get roles in the native realm. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -3310,8 +4415,10 @@ public virtual GetRoleResponse GetRole(GetRoleRequestDescriptor descriptor) /// /// - /// The role management APIs are generally the preferred way to manage roles, rather than using file-based role management. - /// The get roles API cannot retrieve roles that are defined in roles files. + /// Get roles. + /// + /// + /// Get roles in the native realm. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -3325,8 +4432,10 @@ public virtual GetRoleResponse GetRole(Elastic.Clients.Elasticsearch.Names? name /// /// - /// The role management APIs are generally the preferred way to manage roles, rather than using file-based role management. - /// The get roles API cannot retrieve roles that are defined in roles files. + /// Get roles. + /// + /// + /// Get roles in the native realm. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -3341,8 +4450,10 @@ public virtual GetRoleResponse GetRole(Elastic.Clients.Elasticsearch.Names? name /// /// - /// The role management APIs are generally the preferred way to manage roles, rather than using file-based role management. - /// The get roles API cannot retrieve roles that are defined in roles files. + /// Get roles. + /// + /// + /// Get roles in the native realm. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -3356,8 +4467,10 @@ public virtual GetRoleResponse GetRole() /// /// - /// The role management APIs are generally the preferred way to manage roles, rather than using file-based role management. - /// The get roles API cannot retrieve roles that are defined in roles files. + /// Get roles. + /// + /// + /// Get roles in the native realm. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -3372,8 +4485,10 @@ public virtual GetRoleResponse GetRole(Action configur /// /// - /// The role management APIs are generally the preferred way to manage roles, rather than using file-based role management. - /// The get roles API cannot retrieve roles that are defined in roles files. + /// Get roles. + /// + /// + /// Get roles in the native realm. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -3385,8 +4500,10 @@ public virtual Task GetRoleAsync(GetRoleRequestDescriptor descr /// /// - /// The role management APIs are generally the preferred way to manage roles, rather than using file-based role management. - /// The get roles API cannot retrieve roles that are defined in roles files. + /// Get roles. + /// + /// + /// Get roles in the native realm. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -3399,8 +4516,10 @@ public virtual Task GetRoleAsync(Elastic.Clients.Elasticsearch. /// /// - /// The role management APIs are generally the preferred way to manage roles, rather than using file-based role management. - /// The get roles API cannot retrieve roles that are defined in roles files. + /// Get roles. + /// + /// + /// Get roles in the native realm. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -3414,8 +4533,10 @@ public virtual Task GetRoleAsync(Elastic.Clients.Elasticsearch. /// /// - /// The role management APIs are generally the preferred way to manage roles, rather than using file-based role management. - /// The get roles API cannot retrieve roles that are defined in roles files. + /// Get roles. + /// + /// + /// Get roles in the native realm. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -3428,8 +4549,10 @@ public virtual Task GetRoleAsync(CancellationToken cancellation /// /// - /// The role management APIs are generally the preferred way to manage roles, rather than using file-based role management. - /// The get roles API cannot retrieve roles that are defined in roles files. + /// Get roles. + /// + /// + /// Get roles in the native realm. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -3443,7 +4566,12 @@ public virtual Task GetRoleAsync(Action /// - /// Retrieves role mappings. + /// Get role mappings. + /// + /// + /// Role mappings define which roles are assigned to each user. + /// The role mapping APIs are generally the preferred way to manage role mappings rather than using role mapping files. + /// The get role mappings API cannot retrieve role mappings that are defined in role mapping files. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -3456,7 +4584,12 @@ public virtual GetRoleMappingResponse GetRoleMapping(GetRoleMappingRequest reque /// /// - /// Retrieves role mappings. + /// Get role mappings. + /// + /// + /// Role mappings define which roles are assigned to each user. + /// The role mapping APIs are generally the preferred way to manage role mappings rather than using role mapping files. + /// The get role mappings API cannot retrieve role mappings that are defined in role mapping files. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -3468,7 +4601,12 @@ public virtual Task GetRoleMappingAsync(GetRoleMappingRe /// /// - /// Retrieves role mappings. + /// Get role mappings. + /// + /// + /// Role mappings define which roles are assigned to each user. + /// The role mapping APIs are generally the preferred way to manage role mappings rather than using role mapping files. + /// The get role mappings API cannot retrieve role mappings that are defined in role mapping files. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -3481,7 +4619,12 @@ public virtual GetRoleMappingResponse GetRoleMapping(GetRoleMappingRequestDescri /// /// - /// Retrieves role mappings. + /// Get role mappings. + /// + /// + /// Role mappings define which roles are assigned to each user. + /// The role mapping APIs are generally the preferred way to manage role mappings rather than using role mapping files. + /// The get role mappings API cannot retrieve role mappings that are defined in role mapping files. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -3495,7 +4638,12 @@ public virtual GetRoleMappingResponse GetRoleMapping(Elastic.Clients.Elasticsear /// /// - /// Retrieves role mappings. + /// Get role mappings. + /// + /// + /// Role mappings define which roles are assigned to each user. + /// The role mapping APIs are generally the preferred way to manage role mappings rather than using role mapping files. + /// The get role mappings API cannot retrieve role mappings that are defined in role mapping files. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -3510,7 +4658,12 @@ public virtual GetRoleMappingResponse GetRoleMapping(Elastic.Clients.Elasticsear /// /// - /// Retrieves role mappings. + /// Get role mappings. + /// + /// + /// Role mappings define which roles are assigned to each user. + /// The role mapping APIs are generally the preferred way to manage role mappings rather than using role mapping files. + /// The get role mappings API cannot retrieve role mappings that are defined in role mapping files. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -3524,7 +4677,12 @@ public virtual GetRoleMappingResponse GetRoleMapping() /// /// - /// Retrieves role mappings. + /// Get role mappings. + /// + /// + /// Role mappings define which roles are assigned to each user. + /// The role mapping APIs are generally the preferred way to manage role mappings rather than using role mapping files. + /// The get role mappings API cannot retrieve role mappings that are defined in role mapping files. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -3539,7 +4697,12 @@ public virtual GetRoleMappingResponse GetRoleMapping(Action /// - /// Retrieves role mappings. + /// Get role mappings. + /// + /// + /// Role mappings define which roles are assigned to each user. + /// The role mapping APIs are generally the preferred way to manage role mappings rather than using role mapping files. + /// The get role mappings API cannot retrieve role mappings that are defined in role mapping files. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -3551,7 +4714,12 @@ public virtual Task GetRoleMappingAsync(GetRoleMappingRe /// /// - /// Retrieves role mappings. + /// Get role mappings. + /// + /// + /// Role mappings define which roles are assigned to each user. + /// The role mapping APIs are generally the preferred way to manage role mappings rather than using role mapping files. + /// The get role mappings API cannot retrieve role mappings that are defined in role mapping files. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -3564,7 +4732,12 @@ public virtual Task GetRoleMappingAsync(Elastic.Clients. /// /// - /// Retrieves role mappings. + /// Get role mappings. + /// + /// + /// Role mappings define which roles are assigned to each user. + /// The role mapping APIs are generally the preferred way to manage role mappings rather than using role mapping files. + /// The get role mappings API cannot retrieve role mappings that are defined in role mapping files. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -3578,7 +4751,12 @@ public virtual Task GetRoleMappingAsync(Elastic.Clients. /// /// - /// Retrieves role mappings. + /// Get role mappings. + /// + /// + /// Role mappings define which roles are assigned to each user. + /// The role mapping APIs are generally the preferred way to manage role mappings rather than using role mapping files. + /// The get role mappings API cannot retrieve role mappings that are defined in role mapping files. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -3591,7 +4769,12 @@ public virtual Task GetRoleMappingAsync(CancellationToke /// /// - /// Retrieves role mappings. + /// Get role mappings. + /// + /// + /// Role mappings define which roles are assigned to each user. + /// The role mapping APIs are generally the preferred way to manage role mappings rather than using role mapping files. + /// The get role mappings API cannot retrieve role mappings that are defined in role mapping files. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -3605,7 +4788,10 @@ public virtual Task GetRoleMappingAsync(Action /// - /// This API returns a list of service accounts that match the provided path parameter(s). + /// Get service accounts. + /// + /// + /// Get a list of service accounts that match the provided path parameters. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -3618,7 +4804,10 @@ public virtual GetServiceAccountsResponse GetServiceAccounts(GetServiceAccountsR /// /// - /// This API returns a list of service accounts that match the provided path parameter(s). + /// Get service accounts. + /// + /// + /// Get a list of service accounts that match the provided path parameters. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -3630,7 +4819,10 @@ public virtual Task GetServiceAccountsAsync(GetServi /// /// - /// This API returns a list of service accounts that match the provided path parameter(s). + /// Get service accounts. + /// + /// + /// Get a list of service accounts that match the provided path parameters. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -3643,7 +4835,10 @@ public virtual GetServiceAccountsResponse GetServiceAccounts(GetServiceAccountsR /// /// - /// This API returns a list of service accounts that match the provided path parameter(s). + /// Get service accounts. + /// + /// + /// Get a list of service accounts that match the provided path parameters. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -3657,7 +4852,10 @@ public virtual GetServiceAccountsResponse GetServiceAccounts(string? ns, string? /// /// - /// This API returns a list of service accounts that match the provided path parameter(s). + /// Get service accounts. + /// + /// + /// Get a list of service accounts that match the provided path parameters. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -3672,7 +4870,10 @@ public virtual GetServiceAccountsResponse GetServiceAccounts(string? ns, string? /// /// - /// This API returns a list of service accounts that match the provided path parameter(s). + /// Get service accounts. + /// + /// + /// Get a list of service accounts that match the provided path parameters. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -3686,7 +4887,10 @@ public virtual GetServiceAccountsResponse GetServiceAccounts() /// /// - /// This API returns a list of service accounts that match the provided path parameter(s). + /// Get service accounts. + /// + /// + /// Get a list of service accounts that match the provided path parameters. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -3701,7 +4905,10 @@ public virtual GetServiceAccountsResponse GetServiceAccounts(Action /// - /// This API returns a list of service accounts that match the provided path parameter(s). + /// Get service accounts. + /// + /// + /// Get a list of service accounts that match the provided path parameters. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -3713,7 +4920,10 @@ public virtual Task GetServiceAccountsAsync(GetServi /// /// - /// This API returns a list of service accounts that match the provided path parameter(s). + /// Get service accounts. + /// + /// + /// Get a list of service accounts that match the provided path parameters. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -3726,7 +4936,10 @@ public virtual Task GetServiceAccountsAsync(string? /// /// - /// This API returns a list of service accounts that match the provided path parameter(s). + /// Get service accounts. + /// + /// + /// Get a list of service accounts that match the provided path parameters. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -3740,7 +4953,10 @@ public virtual Task GetServiceAccountsAsync(string? /// /// - /// This API returns a list of service accounts that match the provided path parameter(s). + /// Get service accounts. + /// + /// + /// Get a list of service accounts that match the provided path parameters. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -3753,7 +4969,10 @@ public virtual Task GetServiceAccountsAsync(Cancella /// /// - /// This API returns a list of service accounts that match the provided path parameter(s). + /// Get service accounts. + /// + /// + /// Get a list of service accounts that match the provided path parameters. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -3767,7 +4986,7 @@ public virtual Task GetServiceAccountsAsync(Action /// - /// Retrieves information of all service credentials for a service account. + /// Get service account credentials. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -3780,7 +4999,7 @@ public virtual GetServiceCredentialsResponse GetServiceCredentials(GetServiceCre /// /// - /// Retrieves information of all service credentials for a service account. + /// Get service account credentials. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -3792,7 +5011,7 @@ public virtual Task GetServiceCredentialsAsync(Ge /// /// - /// Retrieves information of all service credentials for a service account. + /// Get service account credentials. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -3805,7 +5024,7 @@ public virtual GetServiceCredentialsResponse GetServiceCredentials(GetServiceCre /// /// - /// Retrieves information of all service credentials for a service account. + /// Get service account credentials. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -3819,7 +5038,7 @@ public virtual GetServiceCredentialsResponse GetServiceCredentials(string ns, El /// /// - /// Retrieves information of all service credentials for a service account. + /// Get service account credentials. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -3834,7 +5053,7 @@ public virtual GetServiceCredentialsResponse GetServiceCredentials(string ns, El /// /// - /// Retrieves information of all service credentials for a service account. + /// Get service account credentials. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -3846,7 +5065,7 @@ public virtual Task GetServiceCredentialsAsync(Ge /// /// - /// Retrieves information of all service credentials for a service account. + /// Get service account credentials. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -3859,7 +5078,7 @@ public virtual Task GetServiceCredentialsAsync(st /// /// - /// Retrieves information of all service credentials for a service account. + /// Get service account credentials. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -3873,7 +5092,10 @@ public virtual Task GetServiceCredentialsAsync(st /// /// - /// Creates a bearer token for access without requiring basic authentication. + /// Get a token. + /// + /// + /// Create a bearer token for access without requiring basic authentication. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -3886,7 +5108,10 @@ public virtual GetTokenResponse GetToken(GetTokenRequest request) /// /// - /// Creates a bearer token for access without requiring basic authentication. + /// Get a token. + /// + /// + /// Create a bearer token for access without requiring basic authentication. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -3898,7 +5123,10 @@ public virtual Task GetTokenAsync(GetTokenRequest request, Can /// /// - /// Creates a bearer token for access without requiring basic authentication. + /// Get a token. + /// + /// + /// Create a bearer token for access without requiring basic authentication. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -3911,7 +5139,10 @@ public virtual GetTokenResponse GetToken(GetTokenRequestDescriptor descriptor) /// /// - /// Creates a bearer token for access without requiring basic authentication. + /// Get a token. + /// + /// + /// Create a bearer token for access without requiring basic authentication. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -3925,7 +5156,10 @@ public virtual GetTokenResponse GetToken() /// /// - /// Creates a bearer token for access without requiring basic authentication. + /// Get a token. + /// + /// + /// Create a bearer token for access without requiring basic authentication. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -3940,7 +5174,10 @@ public virtual GetTokenResponse GetToken(Action confi /// /// - /// Creates a bearer token for access without requiring basic authentication. + /// Get a token. + /// + /// + /// Create a bearer token for access without requiring basic authentication. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -3952,7 +5189,10 @@ public virtual Task GetTokenAsync(GetTokenRequestDescriptor de /// /// - /// Creates a bearer token for access without requiring basic authentication. + /// Get a token. + /// + /// + /// Create a bearer token for access without requiring basic authentication. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -3965,7 +5205,10 @@ public virtual Task GetTokenAsync(CancellationToken cancellati /// /// - /// Creates a bearer token for access without requiring basic authentication. + /// Get a token. + /// + /// + /// Create a bearer token for access without requiring basic authentication. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -3979,7 +5222,10 @@ public virtual Task GetTokenAsync(Action /// - /// Retrieves information about users in the native realm and built-in users. + /// Get users. + /// + /// + /// Get information about users in the native realm and built-in users. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -3992,7 +5238,10 @@ public virtual GetUserResponse GetUser(GetUserRequest request) /// /// - /// Retrieves information about users in the native realm and built-in users. + /// Get users. + /// + /// + /// Get information about users in the native realm and built-in users. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -4004,7 +5253,10 @@ public virtual Task GetUserAsync(GetUserRequest request, Cancel /// /// - /// Retrieves information about users in the native realm and built-in users. + /// Get users. + /// + /// + /// Get information about users in the native realm and built-in users. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -4017,7 +5269,10 @@ public virtual GetUserResponse GetUser(GetUserRequestDescriptor descriptor) /// /// - /// Retrieves information about users in the native realm and built-in users. + /// Get users. + /// + /// + /// Get information about users in the native realm and built-in users. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -4031,7 +5286,10 @@ public virtual GetUserResponse GetUser(IReadOnlyCollection /// - /// Retrieves information about users in the native realm and built-in users. + /// Get users. + /// + /// + /// Get information about users in the native realm and built-in users. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -4046,7 +5304,10 @@ public virtual GetUserResponse GetUser(IReadOnlyCollection /// - /// Retrieves information about users in the native realm and built-in users. + /// Get users. + /// + /// + /// Get information about users in the native realm and built-in users. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -4060,7 +5321,10 @@ public virtual GetUserResponse GetUser() /// /// - /// Retrieves information about users in the native realm and built-in users. + /// Get users. + /// + /// + /// Get information about users in the native realm and built-in users. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -4075,7 +5339,10 @@ public virtual GetUserResponse GetUser(Action configur /// /// - /// Retrieves information about users in the native realm and built-in users. + /// Get users. + /// + /// + /// Get information about users in the native realm and built-in users. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -4087,7 +5354,10 @@ public virtual Task GetUserAsync(GetUserRequestDescriptor descr /// /// - /// Retrieves information about users in the native realm and built-in users. + /// Get users. + /// + /// + /// Get information about users in the native realm and built-in users. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -4100,7 +5370,10 @@ public virtual Task GetUserAsync(IReadOnlyCollection /// - /// Retrieves information about users in the native realm and built-in users. + /// Get users. + /// + /// + /// Get information about users in the native realm and built-in users. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -4114,7 +5387,10 @@ public virtual Task GetUserAsync(IReadOnlyCollection /// - /// Retrieves information about users in the native realm and built-in users. + /// Get users. + /// + /// + /// Get information about users in the native realm and built-in users. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -4127,7 +5403,10 @@ public virtual Task GetUserAsync(CancellationToken cancellation /// /// - /// Retrieves information about users in the native realm and built-in users. + /// Get users. + /// + /// + /// Get information about users in the native realm and built-in users. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -4141,7 +5420,7 @@ public virtual Task GetUserAsync(Action /// - /// Retrieves security privileges for the logged in user. + /// Get user privileges. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -4154,7 +5433,7 @@ public virtual GetUserPrivilegesResponse GetUserPrivileges(GetUserPrivilegesRequ /// /// - /// Retrieves security privileges for the logged in user. + /// Get user privileges. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -4166,7 +5445,7 @@ public virtual Task GetUserPrivilegesAsync(GetUserPri /// /// - /// Retrieves security privileges for the logged in user. + /// Get user privileges. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -4179,7 +5458,7 @@ public virtual GetUserPrivilegesResponse GetUserPrivileges(GetUserPrivilegesRequ /// /// - /// Retrieves security privileges for the logged in user. + /// Get user privileges. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -4193,7 +5472,7 @@ public virtual GetUserPrivilegesResponse GetUserPrivileges() /// /// - /// Retrieves security privileges for the logged in user. + /// Get user privileges. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -4208,7 +5487,7 @@ public virtual GetUserPrivilegesResponse GetUserPrivileges(Action /// - /// Retrieves security privileges for the logged in user. + /// Get user privileges. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -4220,7 +5499,7 @@ public virtual Task GetUserPrivilegesAsync(GetUserPri /// /// - /// Retrieves security privileges for the logged in user. + /// Get user privileges. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -4233,7 +5512,7 @@ public virtual Task GetUserPrivilegesAsync(Cancellati /// /// - /// Retrieves security privileges for the logged in user. + /// Get user privileges. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -4247,7 +5526,10 @@ public virtual Task GetUserPrivilegesAsync(Action /// - /// Retrieves a user's profile using the unique profile ID. + /// Get a user profile. + /// + /// + /// Get a user's profile using the unique profile ID. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -4260,7 +5542,10 @@ public virtual GetUserProfileResponse GetUserProfile(GetUserProfileRequest reque /// /// - /// Retrieves a user's profile using the unique profile ID. + /// Get a user profile. + /// + /// + /// Get a user's profile using the unique profile ID. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -4272,7 +5557,10 @@ public virtual Task GetUserProfileAsync(GetUserProfileRe /// /// - /// Retrieves a user's profile using the unique profile ID. + /// Get a user profile. + /// + /// + /// Get a user's profile using the unique profile ID. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -4285,7 +5573,10 @@ public virtual GetUserProfileResponse GetUserProfile(GetUserProfileRequestDescri /// /// - /// Retrieves a user's profile using the unique profile ID. + /// Get a user profile. + /// + /// + /// Get a user's profile using the unique profile ID. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -4299,7 +5590,10 @@ public virtual GetUserProfileResponse GetUserProfile(IReadOnlyCollection /// /// - /// Retrieves a user's profile using the unique profile ID. + /// Get a user profile. + /// + /// + /// Get a user's profile using the unique profile ID. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -4314,7 +5608,10 @@ public virtual GetUserProfileResponse GetUserProfile(IReadOnlyCollection /// /// - /// Retrieves a user's profile using the unique profile ID. + /// Get a user profile. + /// + /// + /// Get a user's profile using the unique profile ID. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -4326,7 +5623,10 @@ public virtual Task GetUserProfileAsync(GetUserProfileRe /// /// - /// Retrieves a user's profile using the unique profile ID. + /// Get a user profile. + /// + /// + /// Get a user's profile using the unique profile ID. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -4339,7 +5639,10 @@ public virtual Task GetUserProfileAsync(IReadOnlyCollect /// /// - /// Retrieves a user's profile using the unique profile ID. + /// Get a user profile. + /// + /// + /// Get a user's profile using the unique profile ID. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -4353,8 +5656,11 @@ public virtual Task GetUserProfileAsync(IReadOnlyCollect /// /// - /// Creates an API key on behalf of another user. - /// This API is similar to Create API keys, however it creates the API key for a user that is different than the user that runs the API. + /// Grant an API key. + /// + /// + /// Create an API key on behalf of another user. + /// This API is similar to the create API keys API, however it creates the API key for a user that is different than the user that runs the API. /// The caller must have authentication credentials (either an access token, or a username and password) for the user on whose behalf the API key will be created. /// It is not possible to use this API to create an API key without that user’s credentials. /// The user, for whom the authentication credentials is provided, can optionally "run as" (impersonate) another user. @@ -4381,8 +5687,11 @@ public virtual GrantApiKeyResponse GrantApiKey(GrantApiKeyRequest request) /// /// - /// Creates an API key on behalf of another user. - /// This API is similar to Create API keys, however it creates the API key for a user that is different than the user that runs the API. + /// Grant an API key. + /// + /// + /// Create an API key on behalf of another user. + /// This API is similar to the create API keys API, however it creates the API key for a user that is different than the user that runs the API. /// The caller must have authentication credentials (either an access token, or a username and password) for the user on whose behalf the API key will be created. /// It is not possible to use this API to create an API key without that user’s credentials. /// The user, for whom the authentication credentials is provided, can optionally "run as" (impersonate) another user. @@ -4408,8 +5717,11 @@ public virtual Task GrantApiKeyAsync(GrantApiKeyRequest req /// /// - /// Creates an API key on behalf of another user. - /// This API is similar to Create API keys, however it creates the API key for a user that is different than the user that runs the API. + /// Grant an API key. + /// + /// + /// Create an API key on behalf of another user. + /// This API is similar to the create API keys API, however it creates the API key for a user that is different than the user that runs the API. /// The caller must have authentication credentials (either an access token, or a username and password) for the user on whose behalf the API key will be created. /// It is not possible to use this API to create an API key without that user’s credentials. /// The user, for whom the authentication credentials is provided, can optionally "run as" (impersonate) another user. @@ -4436,8 +5748,11 @@ public virtual GrantApiKeyResponse GrantApiKey(GrantApiKeyRequestDesc /// /// - /// Creates an API key on behalf of another user. - /// This API is similar to Create API keys, however it creates the API key for a user that is different than the user that runs the API. + /// Grant an API key. + /// + /// + /// Create an API key on behalf of another user. + /// This API is similar to the create API keys API, however it creates the API key for a user that is different than the user that runs the API. /// The caller must have authentication credentials (either an access token, or a username and password) for the user on whose behalf the API key will be created. /// It is not possible to use this API to create an API key without that user’s credentials. /// The user, for whom the authentication credentials is provided, can optionally "run as" (impersonate) another user. @@ -4465,8 +5780,11 @@ public virtual GrantApiKeyResponse GrantApiKey() /// /// - /// Creates an API key on behalf of another user. - /// This API is similar to Create API keys, however it creates the API key for a user that is different than the user that runs the API. + /// Grant an API key. + /// + /// + /// Create an API key on behalf of another user. + /// This API is similar to the create API keys API, however it creates the API key for a user that is different than the user that runs the API. /// The caller must have authentication credentials (either an access token, or a username and password) for the user on whose behalf the API key will be created. /// It is not possible to use this API to create an API key without that user’s credentials. /// The user, for whom the authentication credentials is provided, can optionally "run as" (impersonate) another user. @@ -4495,8 +5813,11 @@ public virtual GrantApiKeyResponse GrantApiKey(Action /// - /// Creates an API key on behalf of another user. - /// This API is similar to Create API keys, however it creates the API key for a user that is different than the user that runs the API. + /// Grant an API key. + /// + /// + /// Create an API key on behalf of another user. + /// This API is similar to the create API keys API, however it creates the API key for a user that is different than the user that runs the API. /// The caller must have authentication credentials (either an access token, or a username and password) for the user on whose behalf the API key will be created. /// It is not possible to use this API to create an API key without that user’s credentials. /// The user, for whom the authentication credentials is provided, can optionally "run as" (impersonate) another user. @@ -4523,8 +5844,11 @@ public virtual GrantApiKeyResponse GrantApiKey(GrantApiKeyRequestDescriptor desc /// /// - /// Creates an API key on behalf of another user. - /// This API is similar to Create API keys, however it creates the API key for a user that is different than the user that runs the API. + /// Grant an API key. + /// + /// + /// Create an API key on behalf of another user. + /// This API is similar to the create API keys API, however it creates the API key for a user that is different than the user that runs the API. /// The caller must have authentication credentials (either an access token, or a username and password) for the user on whose behalf the API key will be created. /// It is not possible to use this API to create an API key without that user’s credentials. /// The user, for whom the authentication credentials is provided, can optionally "run as" (impersonate) another user. @@ -4552,8 +5876,11 @@ public virtual GrantApiKeyResponse GrantApiKey() /// /// - /// Creates an API key on behalf of another user. - /// This API is similar to Create API keys, however it creates the API key for a user that is different than the user that runs the API. + /// Grant an API key. + /// + /// + /// Create an API key on behalf of another user. + /// This API is similar to the create API keys API, however it creates the API key for a user that is different than the user that runs the API. /// The caller must have authentication credentials (either an access token, or a username and password) for the user on whose behalf the API key will be created. /// It is not possible to use this API to create an API key without that user’s credentials. /// The user, for whom the authentication credentials is provided, can optionally "run as" (impersonate) another user. @@ -4582,8 +5909,11 @@ public virtual GrantApiKeyResponse GrantApiKey(Action /// - /// Creates an API key on behalf of another user. - /// This API is similar to Create API keys, however it creates the API key for a user that is different than the user that runs the API. + /// Grant an API key. + /// + /// + /// Create an API key on behalf of another user. + /// This API is similar to the create API keys API, however it creates the API key for a user that is different than the user that runs the API. /// The caller must have authentication credentials (either an access token, or a username and password) for the user on whose behalf the API key will be created. /// It is not possible to use this API to create an API key without that user’s credentials. /// The user, for whom the authentication credentials is provided, can optionally "run as" (impersonate) another user. @@ -4609,8 +5939,11 @@ public virtual Task GrantApiKeyAsync(GrantApiKey /// /// - /// Creates an API key on behalf of another user. - /// This API is similar to Create API keys, however it creates the API key for a user that is different than the user that runs the API. + /// Grant an API key. + /// + /// + /// Create an API key on behalf of another user. + /// This API is similar to the create API keys API, however it creates the API key for a user that is different than the user that runs the API. /// The caller must have authentication credentials (either an access token, or a username and password) for the user on whose behalf the API key will be created. /// It is not possible to use this API to create an API key without that user’s credentials. /// The user, for whom the authentication credentials is provided, can optionally "run as" (impersonate) another user. @@ -4637,8 +5970,11 @@ public virtual Task GrantApiKeyAsync(Cancellatio /// /// - /// Creates an API key on behalf of another user. - /// This API is similar to Create API keys, however it creates the API key for a user that is different than the user that runs the API. + /// Grant an API key. + /// + /// + /// Create an API key on behalf of another user. + /// This API is similar to the create API keys API, however it creates the API key for a user that is different than the user that runs the API. /// The caller must have authentication credentials (either an access token, or a username and password) for the user on whose behalf the API key will be created. /// It is not possible to use this API to create an API key without that user’s credentials. /// The user, for whom the authentication credentials is provided, can optionally "run as" (impersonate) another user. @@ -4666,8 +6002,11 @@ public virtual Task GrantApiKeyAsync(Action /// - /// Creates an API key on behalf of another user. - /// This API is similar to Create API keys, however it creates the API key for a user that is different than the user that runs the API. + /// Grant an API key. + /// + /// + /// Create an API key on behalf of another user. + /// This API is similar to the create API keys API, however it creates the API key for a user that is different than the user that runs the API. /// The caller must have authentication credentials (either an access token, or a username and password) for the user on whose behalf the API key will be created. /// It is not possible to use this API to create an API key without that user’s credentials. /// The user, for whom the authentication credentials is provided, can optionally "run as" (impersonate) another user. @@ -4693,8 +6032,11 @@ public virtual Task GrantApiKeyAsync(GrantApiKeyRequestDesc /// /// - /// Creates an API key on behalf of another user. - /// This API is similar to Create API keys, however it creates the API key for a user that is different than the user that runs the API. + /// Grant an API key. + /// + /// + /// Create an API key on behalf of another user. + /// This API is similar to the create API keys API, however it creates the API key for a user that is different than the user that runs the API. /// The caller must have authentication credentials (either an access token, or a username and password) for the user on whose behalf the API key will be created. /// It is not possible to use this API to create an API key without that user’s credentials. /// The user, for whom the authentication credentials is provided, can optionally "run as" (impersonate) another user. @@ -4721,8 +6063,11 @@ public virtual Task GrantApiKeyAsync(CancellationToken canc /// /// - /// Creates an API key on behalf of another user. - /// This API is similar to Create API keys, however it creates the API key for a user that is different than the user that runs the API. + /// Grant an API key. + /// + /// + /// Create an API key on behalf of another user. + /// This API is similar to the create API keys API, however it creates the API key for a user that is different than the user that runs the API. /// The caller must have authentication credentials (either an access token, or a username and password) for the user on whose behalf the API key will be created. /// It is not possible to use this API to create an API key without that user’s credentials. /// The user, for whom the authentication credentials is provided, can optionally "run as" (impersonate) another user. @@ -4751,7 +6096,9 @@ public virtual Task GrantApiKeyAsync(Action /// /// Check user privileges. - /// Determines whether the specified user has a specified list of privileges. + /// + /// + /// Determine whether the specified user has a specified list of privileges. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -4765,7 +6112,9 @@ public virtual HasPrivilegesResponse HasPrivileges(HasPrivilegesRequest request) /// /// /// Check user privileges. - /// Determines whether the specified user has a specified list of privileges. + /// + /// + /// Determine whether the specified user has a specified list of privileges. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -4778,7 +6127,9 @@ public virtual Task HasPrivilegesAsync(HasPrivilegesReque /// /// /// Check user privileges. - /// Determines whether the specified user has a specified list of privileges. + /// + /// + /// Determine whether the specified user has a specified list of privileges. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -4792,7 +6143,9 @@ public virtual HasPrivilegesResponse HasPrivileges(HasPrivilegesRequestDescripto /// /// /// Check user privileges. - /// Determines whether the specified user has a specified list of privileges. + /// + /// + /// Determine whether the specified user has a specified list of privileges. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -4807,7 +6160,9 @@ public virtual HasPrivilegesResponse HasPrivileges(Elastic.Clients.Elasticsearch /// /// /// Check user privileges. - /// Determines whether the specified user has a specified list of privileges. + /// + /// + /// Determine whether the specified user has a specified list of privileges. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -4823,7 +6178,9 @@ public virtual HasPrivilegesResponse HasPrivileges(Elastic.Clients.Elasticsearch /// /// /// Check user privileges. - /// Determines whether the specified user has a specified list of privileges. + /// + /// + /// Determine whether the specified user has a specified list of privileges. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -4838,7 +6195,9 @@ public virtual HasPrivilegesResponse HasPrivileges() /// /// /// Check user privileges. - /// Determines whether the specified user has a specified list of privileges. + /// + /// + /// Determine whether the specified user has a specified list of privileges. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -4854,7 +6213,9 @@ public virtual HasPrivilegesResponse HasPrivileges(Action /// /// Check user privileges. - /// Determines whether the specified user has a specified list of privileges. + /// + /// + /// Determine whether the specified user has a specified list of privileges. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -4867,7 +6228,9 @@ public virtual Task HasPrivilegesAsync(HasPrivilegesReque /// /// /// Check user privileges. - /// Determines whether the specified user has a specified list of privileges. + /// + /// + /// Determine whether the specified user has a specified list of privileges. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -4881,7 +6244,9 @@ public virtual Task HasPrivilegesAsync(Elastic.Clients.El /// /// /// Check user privileges. - /// Determines whether the specified user has a specified list of privileges. + /// + /// + /// Determine whether the specified user has a specified list of privileges. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -4896,7 +6261,9 @@ public virtual Task HasPrivilegesAsync(Elastic.Clients.El /// /// /// Check user privileges. - /// Determines whether the specified user has a specified list of privileges. + /// + /// + /// Determine whether the specified user has a specified list of privileges. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -4910,7 +6277,9 @@ public virtual Task HasPrivilegesAsync(CancellationToken /// /// /// Check user privileges. - /// Determines whether the specified user has a specified list of privileges. + /// + /// + /// Determine whether the specified user has a specified list of privileges. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -4924,7 +6293,10 @@ public virtual Task HasPrivilegesAsync(Action /// - /// Determines whether the users associated with the specified profile IDs have all the requested privileges. + /// Check user profile privileges. + /// + /// + /// Determine whether the users associated with the specified user profile IDs have all the requested privileges. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -4937,7 +6309,10 @@ public virtual HasPrivilegesUserProfileResponse HasPrivilegesUserProfile(HasPriv /// /// - /// Determines whether the users associated with the specified profile IDs have all the requested privileges. + /// Check user profile privileges. + /// + /// + /// Determine whether the users associated with the specified user profile IDs have all the requested privileges. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -4949,7 +6324,10 @@ public virtual Task HasPrivilegesUserProfileAs /// /// - /// Determines whether the users associated with the specified profile IDs have all the requested privileges. + /// Check user profile privileges. + /// + /// + /// Determine whether the users associated with the specified user profile IDs have all the requested privileges. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -4962,7 +6340,10 @@ public virtual HasPrivilegesUserProfileResponse HasPrivilegesUserProfile(HasPriv /// /// - /// Determines whether the users associated with the specified profile IDs have all the requested privileges. + /// Check user profile privileges. + /// + /// + /// Determine whether the users associated with the specified user profile IDs have all the requested privileges. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -4976,7 +6357,10 @@ public virtual HasPrivilegesUserProfileResponse HasPrivilegesUserProfile() /// /// - /// Determines whether the users associated with the specified profile IDs have all the requested privileges. + /// Check user profile privileges. + /// + /// + /// Determine whether the users associated with the specified user profile IDs have all the requested privileges. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -4991,7 +6375,10 @@ public virtual HasPrivilegesUserProfileResponse HasPrivilegesUserProfile(Action< /// /// - /// Determines whether the users associated with the specified profile IDs have all the requested privileges. + /// Check user profile privileges. + /// + /// + /// Determine whether the users associated with the specified user profile IDs have all the requested privileges. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -5003,7 +6390,10 @@ public virtual Task HasPrivilegesUserProfileAs /// /// - /// Determines whether the users associated with the specified profile IDs have all the requested privileges. + /// Check user profile privileges. + /// + /// + /// Determine whether the users associated with the specified user profile IDs have all the requested privileges. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -5016,7 +6406,10 @@ public virtual Task HasPrivilegesUserProfileAs /// /// - /// Determines whether the users associated with the specified profile IDs have all the requested privileges. + /// Check user profile privileges. + /// + /// + /// Determine whether the users associated with the specified user profile IDs have all the requested privileges. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -5031,7 +6424,10 @@ public virtual Task HasPrivilegesUserProfileAs /// /// /// Invalidate API keys. - /// Invalidates one or more API keys. + /// + /// + /// This API invalidates API keys created by the create API key or grant API key APIs. + /// Invalidated API keys fail authentication, but they can still be viewed using the get API key information and query API key information APIs, for at least the configured retention period, until they are automatically deleted. /// The manage_api_key privilege allows deleting any API keys. /// The manage_own_api_key only allows deleting API keys that are owned by the user. /// In addition, with the manage_own_api_key privilege, an invalidation request must be issued in one of the three formats: @@ -5049,7 +6445,7 @@ public virtual Task HasPrivilegesUserProfileAs /// /// /// - /// Or, if the request is issued by an API key, i.e. an API key invalidates itself, specify its ID in the ids field. + /// Or, if the request is issued by an API key, that is to say an API key invalidates itself, specify its ID in the ids field. /// /// /// @@ -5065,7 +6461,10 @@ public virtual InvalidateApiKeyResponse InvalidateApiKey(InvalidateApiKeyRequest /// /// /// Invalidate API keys. - /// Invalidates one or more API keys. + /// + /// + /// This API invalidates API keys created by the create API key or grant API key APIs. + /// Invalidated API keys fail authentication, but they can still be viewed using the get API key information and query API key information APIs, for at least the configured retention period, until they are automatically deleted. /// The manage_api_key privilege allows deleting any API keys. /// The manage_own_api_key only allows deleting API keys that are owned by the user. /// In addition, with the manage_own_api_key privilege, an invalidation request must be issued in one of the three formats: @@ -5083,7 +6482,7 @@ public virtual InvalidateApiKeyResponse InvalidateApiKey(InvalidateApiKeyRequest /// /// /// - /// Or, if the request is issued by an API key, i.e. an API key invalidates itself, specify its ID in the ids field. + /// Or, if the request is issued by an API key, that is to say an API key invalidates itself, specify its ID in the ids field. /// /// /// @@ -5098,7 +6497,10 @@ public virtual Task InvalidateApiKeyAsync(InvalidateAp /// /// /// Invalidate API keys. - /// Invalidates one or more API keys. + /// + /// + /// This API invalidates API keys created by the create API key or grant API key APIs. + /// Invalidated API keys fail authentication, but they can still be viewed using the get API key information and query API key information APIs, for at least the configured retention period, until they are automatically deleted. /// The manage_api_key privilege allows deleting any API keys. /// The manage_own_api_key only allows deleting API keys that are owned by the user. /// In addition, with the manage_own_api_key privilege, an invalidation request must be issued in one of the three formats: @@ -5116,7 +6518,7 @@ public virtual Task InvalidateApiKeyAsync(InvalidateAp /// /// /// - /// Or, if the request is issued by an API key, i.e. an API key invalidates itself, specify its ID in the ids field. + /// Or, if the request is issued by an API key, that is to say an API key invalidates itself, specify its ID in the ids field. /// /// /// @@ -5132,7 +6534,10 @@ public virtual InvalidateApiKeyResponse InvalidateApiKey(InvalidateApiKeyRequest /// /// /// Invalidate API keys. - /// Invalidates one or more API keys. + /// + /// + /// This API invalidates API keys created by the create API key or grant API key APIs. + /// Invalidated API keys fail authentication, but they can still be viewed using the get API key information and query API key information APIs, for at least the configured retention period, until they are automatically deleted. /// The manage_api_key privilege allows deleting any API keys. /// The manage_own_api_key only allows deleting API keys that are owned by the user. /// In addition, with the manage_own_api_key privilege, an invalidation request must be issued in one of the three formats: @@ -5150,7 +6555,7 @@ public virtual InvalidateApiKeyResponse InvalidateApiKey(InvalidateApiKeyRequest /// /// /// - /// Or, if the request is issued by an API key, i.e. an API key invalidates itself, specify its ID in the ids field. + /// Or, if the request is issued by an API key, that is to say an API key invalidates itself, specify its ID in the ids field. /// /// /// @@ -5166,8 +6571,11 @@ public virtual InvalidateApiKeyResponse InvalidateApiKey() /// /// - /// Invalidate API keys. - /// Invalidates one or more API keys. + /// Invalidate API keys. + /// + /// + /// This API invalidates API keys created by the create API key or grant API key APIs. + /// Invalidated API keys fail authentication, but they can still be viewed using the get API key information and query API key information APIs, for at least the configured retention period, until they are automatically deleted. /// The manage_api_key privilege allows deleting any API keys. /// The manage_own_api_key only allows deleting API keys that are owned by the user. /// In addition, with the manage_own_api_key privilege, an invalidation request must be issued in one of the three formats: @@ -5185,7 +6593,7 @@ public virtual InvalidateApiKeyResponse InvalidateApiKey() /// /// /// - /// Or, if the request is issued by an API key, i.e. an API key invalidates itself, specify its ID in the ids field. + /// Or, if the request is issued by an API key, that is to say an API key invalidates itself, specify its ID in the ids field. /// /// /// @@ -5203,7 +6611,10 @@ public virtual InvalidateApiKeyResponse InvalidateApiKey(Action /// /// Invalidate API keys. - /// Invalidates one or more API keys. + /// + /// + /// This API invalidates API keys created by the create API key or grant API key APIs. + /// Invalidated API keys fail authentication, but they can still be viewed using the get API key information and query API key information APIs, for at least the configured retention period, until they are automatically deleted. /// The manage_api_key privilege allows deleting any API keys. /// The manage_own_api_key only allows deleting API keys that are owned by the user. /// In addition, with the manage_own_api_key privilege, an invalidation request must be issued in one of the three formats: @@ -5221,7 +6632,7 @@ public virtual InvalidateApiKeyResponse InvalidateApiKey(Action /// /// - /// Or, if the request is issued by an API key, i.e. an API key invalidates itself, specify its ID in the ids field. + /// Or, if the request is issued by an API key, that is to say an API key invalidates itself, specify its ID in the ids field. /// /// /// @@ -5236,7 +6647,10 @@ public virtual Task InvalidateApiKeyAsync(InvalidateAp /// /// /// Invalidate API keys. - /// Invalidates one or more API keys. + /// + /// + /// This API invalidates API keys created by the create API key or grant API key APIs. + /// Invalidated API keys fail authentication, but they can still be viewed using the get API key information and query API key information APIs, for at least the configured retention period, until they are automatically deleted. /// The manage_api_key privilege allows deleting any API keys. /// The manage_own_api_key only allows deleting API keys that are owned by the user. /// In addition, with the manage_own_api_key privilege, an invalidation request must be issued in one of the three formats: @@ -5254,7 +6668,7 @@ public virtual Task InvalidateApiKeyAsync(InvalidateAp /// /// /// - /// Or, if the request is issued by an API key, i.e. an API key invalidates itself, specify its ID in the ids field. + /// Or, if the request is issued by an API key, that is to say an API key invalidates itself, specify its ID in the ids field. /// /// /// @@ -5270,7 +6684,10 @@ public virtual Task InvalidateApiKeyAsync(Cancellation /// /// /// Invalidate API keys. - /// Invalidates one or more API keys. + /// + /// + /// This API invalidates API keys created by the create API key or grant API key APIs. + /// Invalidated API keys fail authentication, but they can still be viewed using the get API key information and query API key information APIs, for at least the configured retention period, until they are automatically deleted. /// The manage_api_key privilege allows deleting any API keys. /// The manage_own_api_key only allows deleting API keys that are owned by the user. /// In addition, with the manage_own_api_key privilege, an invalidation request must be issued in one of the three formats: @@ -5288,7 +6705,7 @@ public virtual Task InvalidateApiKeyAsync(Cancellation /// /// /// - /// Or, if the request is issued by an API key, i.e. an API key invalidates itself, specify its ID in the ids field. + /// Or, if the request is issued by an API key, that is to say an API key invalidates itself, specify its ID in the ids field. /// /// /// @@ -5304,7 +6721,16 @@ public virtual Task InvalidateApiKeyAsync(Action /// - /// Invalidates one or more access tokens or refresh tokens. + /// Invalidate a token. + /// + /// + /// The access tokens returned by the get token API have a finite period of time for which they are valid. + /// After that time period, they can no longer be used. + /// The time period is defined by the xpack.security.authc.token.timeout setting. + /// + /// + /// The refresh tokens returned by the get token API are only valid for 24 hours. They can also be used exactly once. + /// If you want to invalidate one or more access or refresh tokens immediately, use this invalidate token API. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -5317,7 +6743,16 @@ public virtual InvalidateTokenResponse InvalidateToken(InvalidateTokenRequest re /// /// - /// Invalidates one or more access tokens or refresh tokens. + /// Invalidate a token. + /// + /// + /// The access tokens returned by the get token API have a finite period of time for which they are valid. + /// After that time period, they can no longer be used. + /// The time period is defined by the xpack.security.authc.token.timeout setting. + /// + /// + /// The refresh tokens returned by the get token API are only valid for 24 hours. They can also be used exactly once. + /// If you want to invalidate one or more access or refresh tokens immediately, use this invalidate token API. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -5329,7 +6764,16 @@ public virtual Task InvalidateTokenAsync(InvalidateToke /// /// - /// Invalidates one or more access tokens or refresh tokens. + /// Invalidate a token. + /// + /// + /// The access tokens returned by the get token API have a finite period of time for which they are valid. + /// After that time period, they can no longer be used. + /// The time period is defined by the xpack.security.authc.token.timeout setting. + /// + /// + /// The refresh tokens returned by the get token API are only valid for 24 hours. They can also be used exactly once. + /// If you want to invalidate one or more access or refresh tokens immediately, use this invalidate token API. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -5342,7 +6786,16 @@ public virtual InvalidateTokenResponse InvalidateToken(InvalidateTokenRequestDes /// /// - /// Invalidates one or more access tokens or refresh tokens. + /// Invalidate a token. + /// + /// + /// The access tokens returned by the get token API have a finite period of time for which they are valid. + /// After that time period, they can no longer be used. + /// The time period is defined by the xpack.security.authc.token.timeout setting. + /// + /// + /// The refresh tokens returned by the get token API are only valid for 24 hours. They can also be used exactly once. + /// If you want to invalidate one or more access or refresh tokens immediately, use this invalidate token API. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -5356,7 +6809,16 @@ public virtual InvalidateTokenResponse InvalidateToken() /// /// - /// Invalidates one or more access tokens or refresh tokens. + /// Invalidate a token. + /// + /// + /// The access tokens returned by the get token API have a finite period of time for which they are valid. + /// After that time period, they can no longer be used. + /// The time period is defined by the xpack.security.authc.token.timeout setting. + /// + /// + /// The refresh tokens returned by the get token API are only valid for 24 hours. They can also be used exactly once. + /// If you want to invalidate one or more access or refresh tokens immediately, use this invalidate token API. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -5371,7 +6833,16 @@ public virtual InvalidateTokenResponse InvalidateToken(Action /// - /// Invalidates one or more access tokens or refresh tokens. + /// Invalidate a token. + /// + /// + /// The access tokens returned by the get token API have a finite period of time for which they are valid. + /// After that time period, they can no longer be used. + /// The time period is defined by the xpack.security.authc.token.timeout setting. + /// + /// + /// The refresh tokens returned by the get token API are only valid for 24 hours. They can also be used exactly once. + /// If you want to invalidate one or more access or refresh tokens immediately, use this invalidate token API. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -5383,7 +6854,16 @@ public virtual Task InvalidateTokenAsync(InvalidateToke /// /// - /// Invalidates one or more access tokens or refresh tokens. + /// Invalidate a token. + /// + /// + /// The access tokens returned by the get token API have a finite period of time for which they are valid. + /// After that time period, they can no longer be used. + /// The time period is defined by the xpack.security.authc.token.timeout setting. + /// + /// + /// The refresh tokens returned by the get token API are only valid for 24 hours. They can also be used exactly once. + /// If you want to invalidate one or more access or refresh tokens immediately, use this invalidate token API. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -5396,7 +6876,16 @@ public virtual Task InvalidateTokenAsync(CancellationTo /// /// - /// Invalidates one or more access tokens or refresh tokens. + /// Invalidate a token. + /// + /// + /// The access tokens returned by the get token API have a finite period of time for which they are valid. + /// After that time period, they can no longer be used. + /// The time period is defined by the xpack.security.authc.token.timeout setting. + /// + /// + /// The refresh tokens returned by the get token API are only valid for 24 hours. They can also be used exactly once. + /// If you want to invalidate one or more access or refresh tokens immediately, use this invalidate token API. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -5410,7 +6899,7 @@ public virtual Task InvalidateTokenAsync(Action /// - /// Adds or updates application privileges. + /// Create or update application privileges. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -5423,7 +6912,7 @@ public virtual PutPrivilegesResponse PutPrivileges(PutPrivilegesRequest request) /// /// - /// Adds or updates application privileges. + /// Create or update application privileges. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -5435,7 +6924,7 @@ public virtual Task PutPrivilegesAsync(PutPrivilegesReque /// /// - /// Adds or updates application privileges. + /// Create or update application privileges. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -5448,7 +6937,7 @@ public virtual PutPrivilegesResponse PutPrivileges(PutPrivilegesRequestDescripto /// /// - /// Adds or updates application privileges. + /// Create or update application privileges. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -5462,7 +6951,7 @@ public virtual PutPrivilegesResponse PutPrivileges() /// /// - /// Adds or updates application privileges. + /// Create or update application privileges. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -5477,7 +6966,7 @@ public virtual PutPrivilegesResponse PutPrivileges(Action /// - /// Adds or updates application privileges. + /// Create or update application privileges. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -5489,7 +6978,7 @@ public virtual Task PutPrivilegesAsync(PutPrivilegesReque /// /// - /// Adds or updates application privileges. + /// Create or update application privileges. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -5502,7 +6991,7 @@ public virtual Task PutPrivilegesAsync(CancellationToken /// /// - /// Adds or updates application privileges. + /// Create or update application privileges. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -5516,8 +7005,12 @@ public virtual Task PutPrivilegesAsync(Action /// - /// The role management APIs are generally the preferred way to manage roles, rather than using file-based role management. + /// Create or update roles. + /// + /// + /// The role management APIs are generally the preferred way to manage roles in the native realm, rather than using file-based role management. /// The create or update roles API cannot update roles that are defined in roles files. + /// File-based role management is not available in Elastic Serverless. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -5530,8 +7023,12 @@ public virtual PutRoleResponse PutRole(PutRoleRequest request) /// /// - /// The role management APIs are generally the preferred way to manage roles, rather than using file-based role management. + /// Create or update roles. + /// + /// + /// The role management APIs are generally the preferred way to manage roles in the native realm, rather than using file-based role management. /// The create or update roles API cannot update roles that are defined in roles files. + /// File-based role management is not available in Elastic Serverless. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -5543,8 +7040,12 @@ public virtual Task PutRoleAsync(PutRoleRequest request, Cancel /// /// - /// The role management APIs are generally the preferred way to manage roles, rather than using file-based role management. + /// Create or update roles. + /// + /// + /// The role management APIs are generally the preferred way to manage roles in the native realm, rather than using file-based role management. /// The create or update roles API cannot update roles that are defined in roles files. + /// File-based role management is not available in Elastic Serverless. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -5557,8 +7058,12 @@ public virtual PutRoleResponse PutRole(PutRoleRequestDescriptor /// - /// The role management APIs are generally the preferred way to manage roles, rather than using file-based role management. + /// Create or update roles. + /// + /// + /// The role management APIs are generally the preferred way to manage roles in the native realm, rather than using file-based role management. /// The create or update roles API cannot update roles that are defined in roles files. + /// File-based role management is not available in Elastic Serverless. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -5572,8 +7077,12 @@ public virtual PutRoleResponse PutRole(Elastic.Clients.Elasticsearch. /// /// - /// The role management APIs are generally the preferred way to manage roles, rather than using file-based role management. + /// Create or update roles. + /// + /// + /// The role management APIs are generally the preferred way to manage roles in the native realm, rather than using file-based role management. /// The create or update roles API cannot update roles that are defined in roles files. + /// File-based role management is not available in Elastic Serverless. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -5588,8 +7097,12 @@ public virtual PutRoleResponse PutRole(Elastic.Clients.Elasticsearch. /// /// - /// The role management APIs are generally the preferred way to manage roles, rather than using file-based role management. + /// Create or update roles. + /// + /// + /// The role management APIs are generally the preferred way to manage roles in the native realm, rather than using file-based role management. /// The create or update roles API cannot update roles that are defined in roles files. + /// File-based role management is not available in Elastic Serverless. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -5602,8 +7115,12 @@ public virtual PutRoleResponse PutRole(PutRoleRequestDescriptor descriptor) /// /// - /// The role management APIs are generally the preferred way to manage roles, rather than using file-based role management. + /// Create or update roles. + /// + /// + /// The role management APIs are generally the preferred way to manage roles in the native realm, rather than using file-based role management. /// The create or update roles API cannot update roles that are defined in roles files. + /// File-based role management is not available in Elastic Serverless. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -5617,8 +7134,12 @@ public virtual PutRoleResponse PutRole(Elastic.Clients.Elasticsearch.Name name) /// /// - /// The role management APIs are generally the preferred way to manage roles, rather than using file-based role management. + /// Create or update roles. + /// + /// + /// The role management APIs are generally the preferred way to manage roles in the native realm, rather than using file-based role management. /// The create or update roles API cannot update roles that are defined in roles files. + /// File-based role management is not available in Elastic Serverless. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -5633,8 +7154,12 @@ public virtual PutRoleResponse PutRole(Elastic.Clients.Elasticsearch.Name name, /// /// - /// The role management APIs are generally the preferred way to manage roles, rather than using file-based role management. + /// Create or update roles. + /// + /// + /// The role management APIs are generally the preferred way to manage roles in the native realm, rather than using file-based role management. /// The create or update roles API cannot update roles that are defined in roles files. + /// File-based role management is not available in Elastic Serverless. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -5646,8 +7171,12 @@ public virtual Task PutRoleAsync(PutRoleRequestDescr /// /// - /// The role management APIs are generally the preferred way to manage roles, rather than using file-based role management. + /// Create or update roles. + /// + /// + /// The role management APIs are generally the preferred way to manage roles in the native realm, rather than using file-based role management. /// The create or update roles API cannot update roles that are defined in roles files. + /// File-based role management is not available in Elastic Serverless. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -5660,8 +7189,12 @@ public virtual Task PutRoleAsync(Elastic.Clients.Ela /// /// - /// The role management APIs are generally the preferred way to manage roles, rather than using file-based role management. + /// Create or update roles. + /// + /// + /// The role management APIs are generally the preferred way to manage roles in the native realm, rather than using file-based role management. /// The create or update roles API cannot update roles that are defined in roles files. + /// File-based role management is not available in Elastic Serverless. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -5675,8 +7208,12 @@ public virtual Task PutRoleAsync(Elastic.Clients.Ela /// /// - /// The role management APIs are generally the preferred way to manage roles, rather than using file-based role management. + /// Create or update roles. + /// + /// + /// The role management APIs are generally the preferred way to manage roles in the native realm, rather than using file-based role management. /// The create or update roles API cannot update roles that are defined in roles files. + /// File-based role management is not available in Elastic Serverless. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -5688,8 +7225,12 @@ public virtual Task PutRoleAsync(PutRoleRequestDescriptor descr /// /// - /// The role management APIs are generally the preferred way to manage roles, rather than using file-based role management. + /// Create or update roles. + /// + /// + /// The role management APIs are generally the preferred way to manage roles in the native realm, rather than using file-based role management. /// The create or update roles API cannot update roles that are defined in roles files. + /// File-based role management is not available in Elastic Serverless. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -5702,8 +7243,12 @@ public virtual Task PutRoleAsync(Elastic.Clients.Elasticsearch. /// /// - /// The role management APIs are generally the preferred way to manage roles, rather than using file-based role management. + /// Create or update roles. + /// + /// + /// The role management APIs are generally the preferred way to manage roles in the native realm, rather than using file-based role management. /// The create or update roles API cannot update roles that are defined in roles files. + /// File-based role management is not available in Elastic Serverless. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -5717,7 +7262,16 @@ public virtual Task PutRoleAsync(Elastic.Clients.Elasticsearch. /// /// - /// Creates and updates role mappings. + /// Create or update role mappings. + /// + /// + /// Role mappings define which roles are assigned to each user. + /// Each mapping has rules that identify users and a list of roles that are granted to those users. + /// The role mapping APIs are generally the preferred way to manage role mappings rather than using role mapping files. The create or update role mappings API cannot update role mappings that are defined in role mapping files. + /// + /// + /// This API does not create roles. Rather, it maps users to existing roles. + /// Roles can be created by using the create or update roles API or roles files. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -5730,7 +7284,16 @@ public virtual PutRoleMappingResponse PutRoleMapping(PutRoleMappingRequest reque /// /// - /// Creates and updates role mappings. + /// Create or update role mappings. + /// + /// + /// Role mappings define which roles are assigned to each user. + /// Each mapping has rules that identify users and a list of roles that are granted to those users. + /// The role mapping APIs are generally the preferred way to manage role mappings rather than using role mapping files. The create or update role mappings API cannot update role mappings that are defined in role mapping files. + /// + /// + /// This API does not create roles. Rather, it maps users to existing roles. + /// Roles can be created by using the create or update roles API or roles files. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -5742,7 +7305,16 @@ public virtual Task PutRoleMappingAsync(PutRoleMappingRe /// /// - /// Creates and updates role mappings. + /// Create or update role mappings. + /// + /// + /// Role mappings define which roles are assigned to each user. + /// Each mapping has rules that identify users and a list of roles that are granted to those users. + /// The role mapping APIs are generally the preferred way to manage role mappings rather than using role mapping files. The create or update role mappings API cannot update role mappings that are defined in role mapping files. + /// + /// + /// This API does not create roles. Rather, it maps users to existing roles. + /// Roles can be created by using the create or update roles API or roles files. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -5755,7 +7327,16 @@ public virtual PutRoleMappingResponse PutRoleMapping(PutRoleMappingRequestDescri /// /// - /// Creates and updates role mappings. + /// Create or update role mappings. + /// + /// + /// Role mappings define which roles are assigned to each user. + /// Each mapping has rules that identify users and a list of roles that are granted to those users. + /// The role mapping APIs are generally the preferred way to manage role mappings rather than using role mapping files. The create or update role mappings API cannot update role mappings that are defined in role mapping files. + /// + /// + /// This API does not create roles. Rather, it maps users to existing roles. + /// Roles can be created by using the create or update roles API or roles files. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -5769,7 +7350,16 @@ public virtual PutRoleMappingResponse PutRoleMapping(Elastic.Clients.Elasticsear /// /// - /// Creates and updates role mappings. + /// Create or update role mappings. + /// + /// + /// Role mappings define which roles are assigned to each user. + /// Each mapping has rules that identify users and a list of roles that are granted to those users. + /// The role mapping APIs are generally the preferred way to manage role mappings rather than using role mapping files. The create or update role mappings API cannot update role mappings that are defined in role mapping files. + /// + /// + /// This API does not create roles. Rather, it maps users to existing roles. + /// Roles can be created by using the create or update roles API or roles files. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -5784,7 +7374,16 @@ public virtual PutRoleMappingResponse PutRoleMapping(Elastic.Clients.Elasticsear /// /// - /// Creates and updates role mappings. + /// Create or update role mappings. + /// + /// + /// Role mappings define which roles are assigned to each user. + /// Each mapping has rules that identify users and a list of roles that are granted to those users. + /// The role mapping APIs are generally the preferred way to manage role mappings rather than using role mapping files. The create or update role mappings API cannot update role mappings that are defined in role mapping files. + /// + /// + /// This API does not create roles. Rather, it maps users to existing roles. + /// Roles can be created by using the create or update roles API or roles files. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -5796,7 +7395,16 @@ public virtual Task PutRoleMappingAsync(PutRoleMappingRe /// /// - /// Creates and updates role mappings. + /// Create or update role mappings. + /// + /// + /// Role mappings define which roles are assigned to each user. + /// Each mapping has rules that identify users and a list of roles that are granted to those users. + /// The role mapping APIs are generally the preferred way to manage role mappings rather than using role mapping files. The create or update role mappings API cannot update role mappings that are defined in role mapping files. + /// + /// + /// This API does not create roles. Rather, it maps users to existing roles. + /// Roles can be created by using the create or update roles API or roles files. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -5809,7 +7417,16 @@ public virtual Task PutRoleMappingAsync(Elastic.Clients. /// /// - /// Creates and updates role mappings. + /// Create or update role mappings. + /// + /// + /// Role mappings define which roles are assigned to each user. + /// Each mapping has rules that identify users and a list of roles that are granted to those users. + /// The role mapping APIs are generally the preferred way to manage role mappings rather than using role mapping files. The create or update role mappings API cannot update role mappings that are defined in role mapping files. + /// + /// + /// This API does not create roles. Rather, it maps users to existing roles. + /// Roles can be created by using the create or update roles API or roles files. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -5823,7 +7440,11 @@ public virtual Task PutRoleMappingAsync(Elastic.Clients. /// /// - /// Adds and updates users in the native realm. These users are commonly referred to as native users. + /// Create or update users. + /// + /// + /// A password is required for adding a new user but is optional when updating an existing user. + /// To change a user’s password without updating any other fields, use the change password API. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -5836,7 +7457,11 @@ public virtual PutUserResponse PutUser(PutUserRequest request) /// /// - /// Adds and updates users in the native realm. These users are commonly referred to as native users. + /// Create or update users. + /// + /// + /// A password is required for adding a new user but is optional when updating an existing user. + /// To change a user’s password without updating any other fields, use the change password API. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -5848,7 +7473,11 @@ public virtual Task PutUserAsync(PutUserRequest request, Cancel /// /// - /// Adds and updates users in the native realm. These users are commonly referred to as native users. + /// Create or update users. + /// + /// + /// A password is required for adding a new user but is optional when updating an existing user. + /// To change a user’s password without updating any other fields, use the change password API. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -5861,7 +7490,11 @@ public virtual PutUserResponse PutUser(PutUserRequestDescriptor descriptor) /// /// - /// Adds and updates users in the native realm. These users are commonly referred to as native users. + /// Create or update users. + /// + /// + /// A password is required for adding a new user but is optional when updating an existing user. + /// To change a user’s password without updating any other fields, use the change password API. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -5873,8 +7506,10 @@ public virtual Task PutUserAsync(PutUserRequestDescriptor descr /// /// - /// Query API keys. - /// Retrieves a paginated list of API keys and their information. You can optionally filter the results with a query. + /// Find API keys with a query. + /// + /// + /// Get a paginated list of API keys and their information. You can optionally filter the results with a query. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -5887,8 +7522,10 @@ public virtual QueryApiKeysResponse QueryApiKeys(QueryApiKeysRequest request) /// /// - /// Query API keys. - /// Retrieves a paginated list of API keys and their information. You can optionally filter the results with a query. + /// Find API keys with a query. + /// + /// + /// Get a paginated list of API keys and their information. You can optionally filter the results with a query. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -5900,8 +7537,10 @@ public virtual Task QueryApiKeysAsync(QueryApiKeysRequest /// /// - /// Query API keys. - /// Retrieves a paginated list of API keys and their information. You can optionally filter the results with a query. + /// Find API keys with a query. + /// + /// + /// Get a paginated list of API keys and their information. You can optionally filter the results with a query. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -5914,8 +7553,10 @@ public virtual QueryApiKeysResponse QueryApiKeys(QueryApiKeysRequestD /// /// - /// Query API keys. - /// Retrieves a paginated list of API keys and their information. You can optionally filter the results with a query. + /// Find API keys with a query. + /// + /// + /// Get a paginated list of API keys and their information. You can optionally filter the results with a query. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -5929,8 +7570,10 @@ public virtual QueryApiKeysResponse QueryApiKeys() /// /// - /// Query API keys. - /// Retrieves a paginated list of API keys and their information. You can optionally filter the results with a query. + /// Find API keys with a query. + /// + /// + /// Get a paginated list of API keys and their information. You can optionally filter the results with a query. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -5945,8 +7588,10 @@ public virtual QueryApiKeysResponse QueryApiKeys(Action /// - /// Query API keys. - /// Retrieves a paginated list of API keys and their information. You can optionally filter the results with a query. + /// Find API keys with a query. + /// + /// + /// Get a paginated list of API keys and their information. You can optionally filter the results with a query. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -5959,8 +7604,10 @@ public virtual QueryApiKeysResponse QueryApiKeys(QueryApiKeysRequestDescriptor d /// /// - /// Query API keys. - /// Retrieves a paginated list of API keys and their information. You can optionally filter the results with a query. + /// Find API keys with a query. + /// + /// + /// Get a paginated list of API keys and their information. You can optionally filter the results with a query. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -5974,8 +7621,10 @@ public virtual QueryApiKeysResponse QueryApiKeys() /// /// - /// Query API keys. - /// Retrieves a paginated list of API keys and their information. You can optionally filter the results with a query. + /// Find API keys with a query. + /// + /// + /// Get a paginated list of API keys and their information. You can optionally filter the results with a query. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -5990,8 +7639,10 @@ public virtual QueryApiKeysResponse QueryApiKeys(Action /// - /// Query API keys. - /// Retrieves a paginated list of API keys and their information. You can optionally filter the results with a query. + /// Find API keys with a query. + /// + /// + /// Get a paginated list of API keys and their information. You can optionally filter the results with a query. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -6003,8 +7654,10 @@ public virtual Task QueryApiKeysAsync(QueryApiK /// /// - /// Query API keys. - /// Retrieves a paginated list of API keys and their information. You can optionally filter the results with a query. + /// Find API keys with a query. + /// + /// + /// Get a paginated list of API keys and their information. You can optionally filter the results with a query. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -6017,8 +7670,10 @@ public virtual Task QueryApiKeysAsync(Cancellat /// /// - /// Query API keys. - /// Retrieves a paginated list of API keys and their information. You can optionally filter the results with a query. + /// Find API keys with a query. + /// + /// + /// Get a paginated list of API keys and their information. You can optionally filter the results with a query. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -6032,8 +7687,10 @@ public virtual Task QueryApiKeysAsync(Action /// - /// Query API keys. - /// Retrieves a paginated list of API keys and their information. You can optionally filter the results with a query. + /// Find API keys with a query. + /// + /// + /// Get a paginated list of API keys and their information. You can optionally filter the results with a query. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -6045,8 +7702,10 @@ public virtual Task QueryApiKeysAsync(QueryApiKeysRequestD /// /// - /// Query API keys. - /// Retrieves a paginated list of API keys and their information. You can optionally filter the results with a query. + /// Find API keys with a query. + /// + /// + /// Get a paginated list of API keys and their information. You can optionally filter the results with a query. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -6059,8 +7718,10 @@ public virtual Task QueryApiKeysAsync(CancellationToken ca /// /// - /// Query API keys. - /// Retrieves a paginated list of API keys and their information. You can optionally filter the results with a query. + /// Find API keys with a query. + /// + /// + /// Get a paginated list of API keys and their information. You can optionally filter the results with a query. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -6074,7 +7735,10 @@ public virtual Task QueryApiKeysAsync(Action /// - /// Retrieves roles in a paginated manner. You can optionally filter the results with a query. + /// Find roles with a query. + /// + /// + /// Get roles in a paginated manner. You can optionally filter the results with a query. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -6087,7 +7751,10 @@ public virtual QueryRoleResponse QueryRole(QueryRoleRequest request) /// /// - /// Retrieves roles in a paginated manner. You can optionally filter the results with a query. + /// Find roles with a query. + /// + /// + /// Get roles in a paginated manner. You can optionally filter the results with a query. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -6099,7 +7766,10 @@ public virtual Task QueryRoleAsync(QueryRoleRequest request, /// /// - /// Retrieves roles in a paginated manner. You can optionally filter the results with a query. + /// Find roles with a query. + /// + /// + /// Get roles in a paginated manner. You can optionally filter the results with a query. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -6112,7 +7782,10 @@ public virtual QueryRoleResponse QueryRole(QueryRoleRequestDescriptor /// /// - /// Retrieves roles in a paginated manner. You can optionally filter the results with a query. + /// Find roles with a query. + /// + /// + /// Get roles in a paginated manner. You can optionally filter the results with a query. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -6126,7 +7799,10 @@ public virtual QueryRoleResponse QueryRole() /// /// - /// Retrieves roles in a paginated manner. You can optionally filter the results with a query. + /// Find roles with a query. + /// + /// + /// Get roles in a paginated manner. You can optionally filter the results with a query. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -6141,7 +7817,10 @@ public virtual QueryRoleResponse QueryRole(Action /// - /// Retrieves roles in a paginated manner. You can optionally filter the results with a query. + /// Find roles with a query. + /// + /// + /// Get roles in a paginated manner. You can optionally filter the results with a query. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -6154,7 +7833,10 @@ public virtual QueryRoleResponse QueryRole(QueryRoleRequestDescriptor descriptor /// /// - /// Retrieves roles in a paginated manner. You can optionally filter the results with a query. + /// Find roles with a query. + /// + /// + /// Get roles in a paginated manner. You can optionally filter the results with a query. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -6168,7 +7850,10 @@ public virtual QueryRoleResponse QueryRole() /// /// - /// Retrieves roles in a paginated manner. You can optionally filter the results with a query. + /// Find roles with a query. + /// + /// + /// Get roles in a paginated manner. You can optionally filter the results with a query. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -6183,7 +7868,10 @@ public virtual QueryRoleResponse QueryRole(Action co /// /// - /// Retrieves roles in a paginated manner. You can optionally filter the results with a query. + /// Find roles with a query. + /// + /// + /// Get roles in a paginated manner. You can optionally filter the results with a query. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -6195,7 +7883,10 @@ public virtual Task QueryRoleAsync(QueryRoleReques /// /// - /// Retrieves roles in a paginated manner. You can optionally filter the results with a query. + /// Find roles with a query. + /// + /// + /// Get roles in a paginated manner. You can optionally filter the results with a query. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -6208,7 +7899,10 @@ public virtual Task QueryRoleAsync(CancellationTok /// /// - /// Retrieves roles in a paginated manner. You can optionally filter the results with a query. + /// Find roles with a query. + /// + /// + /// Get roles in a paginated manner. You can optionally filter the results with a query. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -6222,7 +7916,10 @@ public virtual Task QueryRoleAsync(Action /// - /// Retrieves roles in a paginated manner. You can optionally filter the results with a query. + /// Find roles with a query. + /// + /// + /// Get roles in a paginated manner. You can optionally filter the results with a query. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -6234,7 +7931,10 @@ public virtual Task QueryRoleAsync(QueryRoleRequestDescriptor /// /// - /// Retrieves roles in a paginated manner. You can optionally filter the results with a query. + /// Find roles with a query. + /// + /// + /// Get roles in a paginated manner. You can optionally filter the results with a query. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -6247,7 +7947,10 @@ public virtual Task QueryRoleAsync(CancellationToken cancella /// /// - /// Retrieves roles in a paginated manner. You can optionally filter the results with a query. + /// Find roles with a query. + /// + /// + /// Get roles in a paginated manner. You can optionally filter the results with a query. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -6261,7 +7964,11 @@ public virtual Task QueryRoleAsync(Action /// - /// Retrieves information for Users in a paginated manner. You can optionally filter the results with a query. + /// Find users with a query. + /// + /// + /// Get information for users in a paginated manner. + /// You can optionally filter the results with a query. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -6274,7 +7981,11 @@ public virtual QueryUserResponse QueryUser(QueryUserRequest request) /// /// - /// Retrieves information for Users in a paginated manner. You can optionally filter the results with a query. + /// Find users with a query. + /// + /// + /// Get information for users in a paginated manner. + /// You can optionally filter the results with a query. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -6286,7 +7997,11 @@ public virtual Task QueryUserAsync(QueryUserRequest request, /// /// - /// Retrieves information for Users in a paginated manner. You can optionally filter the results with a query. + /// Find users with a query. + /// + /// + /// Get information for users in a paginated manner. + /// You can optionally filter the results with a query. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -6299,7 +8014,11 @@ public virtual QueryUserResponse QueryUser(QueryUserRequestDescriptor /// /// - /// Retrieves information for Users in a paginated manner. You can optionally filter the results with a query. + /// Find users with a query. + /// + /// + /// Get information for users in a paginated manner. + /// You can optionally filter the results with a query. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -6313,7 +8032,11 @@ public virtual QueryUserResponse QueryUser() /// /// - /// Retrieves information for Users in a paginated manner. You can optionally filter the results with a query. + /// Find users with a query. + /// + /// + /// Get information for users in a paginated manner. + /// You can optionally filter the results with a query. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -6328,7 +8051,11 @@ public virtual QueryUserResponse QueryUser(Action /// - /// Retrieves information for Users in a paginated manner. You can optionally filter the results with a query. + /// Find users with a query. + /// + /// + /// Get information for users in a paginated manner. + /// You can optionally filter the results with a query. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -6341,7 +8068,11 @@ public virtual QueryUserResponse QueryUser(QueryUserRequestDescriptor descriptor /// /// - /// Retrieves information for Users in a paginated manner. You can optionally filter the results with a query. + /// Find users with a query. + /// + /// + /// Get information for users in a paginated manner. + /// You can optionally filter the results with a query. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -6355,7 +8086,11 @@ public virtual QueryUserResponse QueryUser() /// /// - /// Retrieves information for Users in a paginated manner. You can optionally filter the results with a query. + /// Find users with a query. + /// + /// + /// Get information for users in a paginated manner. + /// You can optionally filter the results with a query. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -6370,7 +8105,11 @@ public virtual QueryUserResponse QueryUser(Action co /// /// - /// Retrieves information for Users in a paginated manner. You can optionally filter the results with a query. + /// Find users with a query. + /// + /// + /// Get information for users in a paginated manner. + /// You can optionally filter the results with a query. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -6382,7 +8121,11 @@ public virtual Task QueryUserAsync(QueryUserReques /// /// - /// Retrieves information for Users in a paginated manner. You can optionally filter the results with a query. + /// Find users with a query. + /// + /// + /// Get information for users in a paginated manner. + /// You can optionally filter the results with a query. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -6395,7 +8138,11 @@ public virtual Task QueryUserAsync(CancellationTok /// /// - /// Retrieves information for Users in a paginated manner. You can optionally filter the results with a query. + /// Find users with a query. + /// + /// + /// Get information for users in a paginated manner. + /// You can optionally filter the results with a query. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -6409,7 +8156,11 @@ public virtual Task QueryUserAsync(Action /// - /// Retrieves information for Users in a paginated manner. You can optionally filter the results with a query. + /// Find users with a query. + /// + /// + /// Get information for users in a paginated manner. + /// You can optionally filter the results with a query. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -6421,7 +8172,11 @@ public virtual Task QueryUserAsync(QueryUserRequestDescriptor /// /// - /// Retrieves information for Users in a paginated manner. You can optionally filter the results with a query. + /// Find users with a query. + /// + /// + /// Get information for users in a paginated manner. + /// You can optionally filter the results with a query. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -6434,7 +8189,11 @@ public virtual Task QueryUserAsync(CancellationToken cancella /// /// - /// Retrieves information for Users in a paginated manner. You can optionally filter the results with a query. + /// Find users with a query. + /// + /// + /// Get information for users in a paginated manner. + /// You can optionally filter the results with a query. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -6448,7 +8207,10 @@ public virtual Task QueryUserAsync(Action /// - /// Submits a SAML Response message to Elasticsearch for consumption. + /// Authenticate SAML. + /// + /// + /// Submits a SAML response message to Elasticsearch for consumption. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -6461,7 +8223,10 @@ public virtual SamlAuthenticateResponse SamlAuthenticate(SamlAuthenticateRequest /// /// - /// Submits a SAML Response message to Elasticsearch for consumption. + /// Authenticate SAML. + /// + /// + /// Submits a SAML response message to Elasticsearch for consumption. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -6473,7 +8238,10 @@ public virtual Task SamlAuthenticateAsync(SamlAuthenti /// /// - /// Submits a SAML Response message to Elasticsearch for consumption. + /// Authenticate SAML. + /// + /// + /// Submits a SAML response message to Elasticsearch for consumption. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -6486,7 +8254,10 @@ public virtual SamlAuthenticateResponse SamlAuthenticate(SamlAuthenticateRequest /// /// - /// Submits a SAML Response message to Elasticsearch for consumption. + /// Authenticate SAML. + /// + /// + /// Submits a SAML response message to Elasticsearch for consumption. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -6500,7 +8271,10 @@ public virtual SamlAuthenticateResponse SamlAuthenticate() /// /// - /// Submits a SAML Response message to Elasticsearch for consumption. + /// Authenticate SAML. + /// + /// + /// Submits a SAML response message to Elasticsearch for consumption. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -6515,7 +8289,10 @@ public virtual SamlAuthenticateResponse SamlAuthenticate(Action /// - /// Submits a SAML Response message to Elasticsearch for consumption. + /// Authenticate SAML. + /// + /// + /// Submits a SAML response message to Elasticsearch for consumption. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -6527,7 +8304,10 @@ public virtual Task SamlAuthenticateAsync(SamlAuthenti /// /// - /// Submits a SAML Response message to Elasticsearch for consumption. + /// Authenticate SAML. + /// + /// + /// Submits a SAML response message to Elasticsearch for consumption. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -6540,7 +8320,10 @@ public virtual Task SamlAuthenticateAsync(Cancellation /// /// - /// Submits a SAML Response message to Elasticsearch for consumption. + /// Authenticate SAML. + /// + /// + /// Submits a SAML response message to Elasticsearch for consumption. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -6554,6 +8337,9 @@ public virtual Task SamlAuthenticateAsync(Action /// + /// Logout of SAML completely. + /// + /// /// Verifies the logout response sent from the SAML IdP. /// /// Learn more about this API in the Elasticsearch documentation. @@ -6567,6 +8353,9 @@ public virtual SamlCompleteLogoutResponse SamlCompleteLogout(SamlCompleteLogoutR /// /// + /// Logout of SAML completely. + /// + /// /// Verifies the logout response sent from the SAML IdP. /// /// Learn more about this API in the Elasticsearch documentation. @@ -6579,6 +8368,9 @@ public virtual Task SamlCompleteLogoutAsync(SamlComp /// /// + /// Logout of SAML completely. + /// + /// /// Verifies the logout response sent from the SAML IdP. /// /// Learn more about this API in the Elasticsearch documentation. @@ -6592,6 +8384,9 @@ public virtual SamlCompleteLogoutResponse SamlCompleteLogout(SamlCompleteLogoutR /// /// + /// Logout of SAML completely. + /// + /// /// Verifies the logout response sent from the SAML IdP. /// /// Learn more about this API in the Elasticsearch documentation. @@ -6606,6 +8401,9 @@ public virtual SamlCompleteLogoutResponse SamlCompleteLogout() /// /// + /// Logout of SAML completely. + /// + /// /// Verifies the logout response sent from the SAML IdP. /// /// Learn more about this API in the Elasticsearch documentation. @@ -6621,6 +8419,9 @@ public virtual SamlCompleteLogoutResponse SamlCompleteLogout(Action /// + /// Logout of SAML completely. + /// + /// /// Verifies the logout response sent from the SAML IdP. /// /// Learn more about this API in the Elasticsearch documentation. @@ -6633,6 +8434,9 @@ public virtual Task SamlCompleteLogoutAsync(SamlComp /// /// + /// Logout of SAML completely. + /// + /// /// Verifies the logout response sent from the SAML IdP. /// /// Learn more about this API in the Elasticsearch documentation. @@ -6646,6 +8450,9 @@ public virtual Task SamlCompleteLogoutAsync(Cancella /// /// + /// Logout of SAML completely. + /// + /// /// Verifies the logout response sent from the SAML IdP. /// /// Learn more about this API in the Elasticsearch documentation. @@ -6660,6 +8467,9 @@ public virtual Task SamlCompleteLogoutAsync(Action /// + /// Invalidate SAML. + /// + /// /// Submits a SAML LogoutRequest message to Elasticsearch for consumption. /// /// Learn more about this API in the Elasticsearch documentation. @@ -6673,6 +8483,9 @@ public virtual SamlInvalidateResponse SamlInvalidate(SamlInvalidateRequest reque /// /// + /// Invalidate SAML. + /// + /// /// Submits a SAML LogoutRequest message to Elasticsearch for consumption. /// /// Learn more about this API in the Elasticsearch documentation. @@ -6685,6 +8498,9 @@ public virtual Task SamlInvalidateAsync(SamlInvalidateRe /// /// + /// Invalidate SAML. + /// + /// /// Submits a SAML LogoutRequest message to Elasticsearch for consumption. /// /// Learn more about this API in the Elasticsearch documentation. @@ -6698,6 +8514,9 @@ public virtual SamlInvalidateResponse SamlInvalidate(SamlInvalidateRequestDescri /// /// + /// Invalidate SAML. + /// + /// /// Submits a SAML LogoutRequest message to Elasticsearch for consumption. /// /// Learn more about this API in the Elasticsearch documentation. @@ -6712,6 +8531,9 @@ public virtual SamlInvalidateResponse SamlInvalidate() /// /// + /// Invalidate SAML. + /// + /// /// Submits a SAML LogoutRequest message to Elasticsearch for consumption. /// /// Learn more about this API in the Elasticsearch documentation. @@ -6727,6 +8549,9 @@ public virtual SamlInvalidateResponse SamlInvalidate(Action /// + /// Invalidate SAML. + /// + /// /// Submits a SAML LogoutRequest message to Elasticsearch for consumption. /// /// Learn more about this API in the Elasticsearch documentation. @@ -6739,6 +8564,9 @@ public virtual Task SamlInvalidateAsync(SamlInvalidateRe /// /// + /// Invalidate SAML. + /// + /// /// Submits a SAML LogoutRequest message to Elasticsearch for consumption. /// /// Learn more about this API in the Elasticsearch documentation. @@ -6752,6 +8580,9 @@ public virtual Task SamlInvalidateAsync(CancellationToke /// /// + /// Invalidate SAML. + /// + /// /// Submits a SAML LogoutRequest message to Elasticsearch for consumption. /// /// Learn more about this API in the Elasticsearch documentation. @@ -6766,6 +8597,9 @@ public virtual Task SamlInvalidateAsync(Action /// + /// Logout of SAML. + /// + /// /// Submits a request to invalidate an access token and refresh token. /// /// Learn more about this API in the Elasticsearch documentation. @@ -6779,6 +8613,9 @@ public virtual SamlLogoutResponse SamlLogout(SamlLogoutRequest request) /// /// + /// Logout of SAML. + /// + /// /// Submits a request to invalidate an access token and refresh token. /// /// Learn more about this API in the Elasticsearch documentation. @@ -6791,6 +8628,9 @@ public virtual Task SamlLogoutAsync(SamlLogoutRequest reques /// /// + /// Logout of SAML. + /// + /// /// Submits a request to invalidate an access token and refresh token. /// /// Learn more about this API in the Elasticsearch documentation. @@ -6804,6 +8644,9 @@ public virtual SamlLogoutResponse SamlLogout(SamlLogoutRequestDescriptor descrip /// /// + /// Logout of SAML. + /// + /// /// Submits a request to invalidate an access token and refresh token. /// /// Learn more about this API in the Elasticsearch documentation. @@ -6818,6 +8661,9 @@ public virtual SamlLogoutResponse SamlLogout() /// /// + /// Logout of SAML. + /// + /// /// Submits a request to invalidate an access token and refresh token. /// /// Learn more about this API in the Elasticsearch documentation. @@ -6833,6 +8679,9 @@ public virtual SamlLogoutResponse SamlLogout(Action /// /// + /// Logout of SAML. + /// + /// /// Submits a request to invalidate an access token and refresh token. /// /// Learn more about this API in the Elasticsearch documentation. @@ -6845,6 +8694,9 @@ public virtual Task SamlLogoutAsync(SamlLogoutRequestDescrip /// /// + /// Logout of SAML. + /// + /// /// Submits a request to invalidate an access token and refresh token. /// /// Learn more about this API in the Elasticsearch documentation. @@ -6858,6 +8710,9 @@ public virtual Task SamlLogoutAsync(CancellationToken cancel /// /// + /// Logout of SAML. + /// + /// /// Submits a request to invalidate an access token and refresh token. /// /// Learn more about this API in the Elasticsearch documentation. @@ -6872,7 +8727,10 @@ public virtual Task SamlLogoutAsync(Action /// - /// Creates a SAML authentication request (<AuthnRequest>) as a URL string, based on the configuration of the respective SAML realm in Elasticsearch. + /// Prepare SAML authentication. + /// + /// + /// Creates a SAML authentication request (<AuthnRequest>) as a URL string, based on the configuration of the respective SAML realm in Elasticsearch. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -6885,7 +8743,10 @@ public virtual SamlPrepareAuthenticationResponse SamlPrepareAuthentication(SamlP /// /// - /// Creates a SAML authentication request (<AuthnRequest>) as a URL string, based on the configuration of the respective SAML realm in Elasticsearch. + /// Prepare SAML authentication. + /// + /// + /// Creates a SAML authentication request (<AuthnRequest>) as a URL string, based on the configuration of the respective SAML realm in Elasticsearch. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -6897,7 +8758,10 @@ public virtual Task SamlPrepareAuthentication /// /// - /// Creates a SAML authentication request (<AuthnRequest>) as a URL string, based on the configuration of the respective SAML realm in Elasticsearch. + /// Prepare SAML authentication. + /// + /// + /// Creates a SAML authentication request (<AuthnRequest>) as a URL string, based on the configuration of the respective SAML realm in Elasticsearch. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -6910,7 +8774,10 @@ public virtual SamlPrepareAuthenticationResponse SamlPrepareAuthentication(SamlP /// /// - /// Creates a SAML authentication request (<AuthnRequest>) as a URL string, based on the configuration of the respective SAML realm in Elasticsearch. + /// Prepare SAML authentication. + /// + /// + /// Creates a SAML authentication request (<AuthnRequest>) as a URL string, based on the configuration of the respective SAML realm in Elasticsearch. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -6924,7 +8791,10 @@ public virtual SamlPrepareAuthenticationResponse SamlPrepareAuthentication() /// /// - /// Creates a SAML authentication request (<AuthnRequest>) as a URL string, based on the configuration of the respective SAML realm in Elasticsearch. + /// Prepare SAML authentication. + /// + /// + /// Creates a SAML authentication request (<AuthnRequest>) as a URL string, based on the configuration of the respective SAML realm in Elasticsearch. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -6939,7 +8809,10 @@ public virtual SamlPrepareAuthenticationResponse SamlPrepareAuthentication(Actio /// /// - /// Creates a SAML authentication request (<AuthnRequest>) as a URL string, based on the configuration of the respective SAML realm in Elasticsearch. + /// Prepare SAML authentication. + /// + /// + /// Creates a SAML authentication request (<AuthnRequest>) as a URL string, based on the configuration of the respective SAML realm in Elasticsearch. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -6951,7 +8824,10 @@ public virtual Task SamlPrepareAuthentication /// /// - /// Creates a SAML authentication request (<AuthnRequest>) as a URL string, based on the configuration of the respective SAML realm in Elasticsearch. + /// Prepare SAML authentication. + /// + /// + /// Creates a SAML authentication request (<AuthnRequest>) as a URL string, based on the configuration of the respective SAML realm in Elasticsearch. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -6964,7 +8840,10 @@ public virtual Task SamlPrepareAuthentication /// /// - /// Creates a SAML authentication request (<AuthnRequest>) as a URL string, based on the configuration of the respective SAML realm in Elasticsearch. + /// Prepare SAML authentication. + /// + /// + /// Creates a SAML authentication request (<AuthnRequest>) as a URL string, based on the configuration of the respective SAML realm in Elasticsearch. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -6978,6 +8857,9 @@ public virtual Task SamlPrepareAuthentication /// /// + /// Create SAML service provider metadata. + /// + /// /// Generate SAML metadata for a SAML 2.0 Service Provider. /// /// Learn more about this API in the Elasticsearch documentation. @@ -6991,6 +8873,9 @@ public virtual SamlServiceProviderMetadataResponse SamlServiceProviderMetadata(S /// /// + /// Create SAML service provider metadata. + /// + /// /// Generate SAML metadata for a SAML 2.0 Service Provider. /// /// Learn more about this API in the Elasticsearch documentation. @@ -7003,6 +8888,9 @@ public virtual Task SamlServiceProviderMeta /// /// + /// Create SAML service provider metadata. + /// + /// /// Generate SAML metadata for a SAML 2.0 Service Provider. /// /// Learn more about this API in the Elasticsearch documentation. @@ -7016,6 +8904,9 @@ public virtual SamlServiceProviderMetadataResponse SamlServiceProviderMetadata(S /// /// + /// Create SAML service provider metadata. + /// + /// /// Generate SAML metadata for a SAML 2.0 Service Provider. /// /// Learn more about this API in the Elasticsearch documentation. @@ -7030,6 +8921,9 @@ public virtual SamlServiceProviderMetadataResponse SamlServiceProviderMetadata(E /// /// + /// Create SAML service provider metadata. + /// + /// /// Generate SAML metadata for a SAML 2.0 Service Provider. /// /// Learn more about this API in the Elasticsearch documentation. @@ -7045,6 +8939,9 @@ public virtual SamlServiceProviderMetadataResponse SamlServiceProviderMetadata(E /// /// + /// Create SAML service provider metadata. + /// + /// /// Generate SAML metadata for a SAML 2.0 Service Provider. /// /// Learn more about this API in the Elasticsearch documentation. @@ -7057,6 +8954,9 @@ public virtual Task SamlServiceProviderMeta /// /// + /// Create SAML service provider metadata. + /// + /// /// Generate SAML metadata for a SAML 2.0 Service Provider. /// /// Learn more about this API in the Elasticsearch documentation. @@ -7070,6 +8970,9 @@ public virtual Task SamlServiceProviderMeta /// /// + /// Create SAML service provider metadata. + /// + /// /// Generate SAML metadata for a SAML 2.0 Service Provider. /// /// Learn more about this API in the Elasticsearch documentation. @@ -7084,6 +8987,9 @@ public virtual Task SamlServiceProviderMeta /// /// + /// Suggest a user profile. + /// + /// /// Get suggestions for user profiles that match specified search criteria. /// /// Learn more about this API in the Elasticsearch documentation. @@ -7097,6 +9003,9 @@ public virtual SuggestUserProfilesResponse SuggestUserProfiles(SuggestUserProfil /// /// + /// Suggest a user profile. + /// + /// /// Get suggestions for user profiles that match specified search criteria. /// /// Learn more about this API in the Elasticsearch documentation. @@ -7109,6 +9018,9 @@ public virtual Task SuggestUserProfilesAsync(Sugges /// /// + /// Suggest a user profile. + /// + /// /// Get suggestions for user profiles that match specified search criteria. /// /// Learn more about this API in the Elasticsearch documentation. @@ -7122,6 +9034,9 @@ public virtual SuggestUserProfilesResponse SuggestUserProfiles(SuggestUserProfil /// /// + /// Suggest a user profile. + /// + /// /// Get suggestions for user profiles that match specified search criteria. /// /// Learn more about this API in the Elasticsearch documentation. @@ -7136,6 +9051,9 @@ public virtual SuggestUserProfilesResponse SuggestUserProfiles() /// /// + /// Suggest a user profile. + /// + /// /// Get suggestions for user profiles that match specified search criteria. /// /// Learn more about this API in the Elasticsearch documentation. @@ -7151,6 +9069,9 @@ public virtual SuggestUserProfilesResponse SuggestUserProfiles(Action /// + /// Suggest a user profile. + /// + /// /// Get suggestions for user profiles that match specified search criteria. /// /// Learn more about this API in the Elasticsearch documentation. @@ -7163,6 +9084,9 @@ public virtual Task SuggestUserProfilesAsync(Sugges /// /// + /// Suggest a user profile. + /// + /// /// Get suggestions for user profiles that match specified search criteria. /// /// Learn more about this API in the Elasticsearch documentation. @@ -7176,6 +9100,9 @@ public virtual Task SuggestUserProfilesAsync(Cancel /// /// + /// Suggest a user profile. + /// + /// /// Get suggestions for user profiles that match specified search criteria. /// /// Learn more about this API in the Elasticsearch documentation. @@ -7191,6 +9118,8 @@ public virtual Task SuggestUserProfilesAsync(Action /// /// /// Update an API key. + /// + /// /// Updates attributes of an existing API key. /// Users can only update API keys that they created or that were granted to them. /// Use this API to update API keys created by the create API Key or grant API Key APIs. @@ -7217,6 +9146,8 @@ public virtual UpdateApiKeyResponse UpdateApiKey(UpdateApiKeyRequest request) /// /// /// Update an API key. + /// + /// /// Updates attributes of an existing API key. /// Users can only update API keys that they created or that were granted to them. /// Use this API to update API keys created by the create API Key or grant API Key APIs. @@ -7242,6 +9173,8 @@ public virtual Task UpdateApiKeyAsync(UpdateApiKeyRequest /// /// /// Update an API key. + /// + /// /// Updates attributes of an existing API key. /// Users can only update API keys that they created or that were granted to them. /// Use this API to update API keys created by the create API Key or grant API Key APIs. @@ -7268,6 +9201,8 @@ public virtual UpdateApiKeyResponse UpdateApiKey(UpdateApiKeyRequestD /// /// /// Update an API key. + /// + /// /// Updates attributes of an existing API key. /// Users can only update API keys that they created or that were granted to them. /// Use this API to update API keys created by the create API Key or grant API Key APIs. @@ -7295,6 +9230,8 @@ public virtual UpdateApiKeyResponse UpdateApiKey(Elastic.Clients.Elas /// /// /// Update an API key. + /// + /// /// Updates attributes of an existing API key. /// Users can only update API keys that they created or that were granted to them. /// Use this API to update API keys created by the create API Key or grant API Key APIs. @@ -7323,6 +9260,8 @@ public virtual UpdateApiKeyResponse UpdateApiKey(Elastic.Clients.Elas /// /// /// Update an API key. + /// + /// /// Updates attributes of an existing API key. /// Users can only update API keys that they created or that were granted to them. /// Use this API to update API keys created by the create API Key or grant API Key APIs. @@ -7349,6 +9288,8 @@ public virtual UpdateApiKeyResponse UpdateApiKey(UpdateApiKeyRequestDescriptor d /// /// /// Update an API key. + /// + /// /// Updates attributes of an existing API key. /// Users can only update API keys that they created or that were granted to them. /// Use this API to update API keys created by the create API Key or grant API Key APIs. @@ -7376,6 +9317,8 @@ public virtual UpdateApiKeyResponse UpdateApiKey(Elastic.Clients.Elasticsearch.I /// /// /// Update an API key. + /// + /// /// Updates attributes of an existing API key. /// Users can only update API keys that they created or that were granted to them. /// Use this API to update API keys created by the create API Key or grant API Key APIs. @@ -7404,6 +9347,8 @@ public virtual UpdateApiKeyResponse UpdateApiKey(Elastic.Clients.Elasticsearch.I /// /// /// Update an API key. + /// + /// /// Updates attributes of an existing API key. /// Users can only update API keys that they created or that were granted to them. /// Use this API to update API keys created by the create API Key or grant API Key APIs. @@ -7429,6 +9374,8 @@ public virtual Task UpdateApiKeyAsync(UpdateApi /// /// /// Update an API key. + /// + /// /// Updates attributes of an existing API key. /// Users can only update API keys that they created or that were granted to them. /// Use this API to update API keys created by the create API Key or grant API Key APIs. @@ -7455,6 +9402,8 @@ public virtual Task UpdateApiKeyAsync(Elastic.C /// /// /// Update an API key. + /// + /// /// Updates attributes of an existing API key. /// Users can only update API keys that they created or that were granted to them. /// Use this API to update API keys created by the create API Key or grant API Key APIs. @@ -7482,6 +9431,8 @@ public virtual Task UpdateApiKeyAsync(Elastic.C /// /// /// Update an API key. + /// + /// /// Updates attributes of an existing API key. /// Users can only update API keys that they created or that were granted to them. /// Use this API to update API keys created by the create API Key or grant API Key APIs. @@ -7507,6 +9458,8 @@ public virtual Task UpdateApiKeyAsync(UpdateApiKeyRequestD /// /// /// Update an API key. + /// + /// /// Updates attributes of an existing API key. /// Users can only update API keys that they created or that were granted to them. /// Use this API to update API keys created by the create API Key or grant API Key APIs. @@ -7533,6 +9486,8 @@ public virtual Task UpdateApiKeyAsync(Elastic.Clients.Elas /// /// /// Update an API key. + /// + /// /// Updates attributes of an existing API key. /// Users can only update API keys that they created or that were granted to them. /// Use this API to update API keys created by the create API Key or grant API Key APIs. @@ -7559,7 +9514,239 @@ public virtual Task UpdateApiKeyAsync(Elastic.Clients.Elas /// /// - /// Updates specific data for the user profile that's associated with the specified unique ID. + /// Update a cross-cluster API key. + /// + /// + /// Update the attributes of an existing cross-cluster API key, which is used for API key based remote cluster access. + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] + public virtual UpdateCrossClusterApiKeyResponse UpdateCrossClusterApiKey(UpdateCrossClusterApiKeyRequest request) + { + request.BeforeRequest(); + return DoRequest(request); + } + + /// + /// + /// Update a cross-cluster API key. + /// + /// + /// Update the attributes of an existing cross-cluster API key, which is used for API key based remote cluster access. + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + public virtual Task UpdateCrossClusterApiKeyAsync(UpdateCrossClusterApiKeyRequest request, CancellationToken cancellationToken = default) + { + request.BeforeRequest(); + return DoRequestAsync(request, cancellationToken); + } + + /// + /// + /// Update a cross-cluster API key. + /// + /// + /// Update the attributes of an existing cross-cluster API key, which is used for API key based remote cluster access. + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] + public virtual UpdateCrossClusterApiKeyResponse UpdateCrossClusterApiKey(UpdateCrossClusterApiKeyRequestDescriptor descriptor) + { + descriptor.BeforeRequest(); + return DoRequest, UpdateCrossClusterApiKeyResponse, UpdateCrossClusterApiKeyRequestParameters>(descriptor); + } + + /// + /// + /// Update a cross-cluster API key. + /// + /// + /// Update the attributes of an existing cross-cluster API key, which is used for API key based remote cluster access. + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] + public virtual UpdateCrossClusterApiKeyResponse UpdateCrossClusterApiKey(Elastic.Clients.Elasticsearch.Id id) + { + var descriptor = new UpdateCrossClusterApiKeyRequestDescriptor(id); + descriptor.BeforeRequest(); + return DoRequest, UpdateCrossClusterApiKeyResponse, UpdateCrossClusterApiKeyRequestParameters>(descriptor); + } + + /// + /// + /// Update a cross-cluster API key. + /// + /// + /// Update the attributes of an existing cross-cluster API key, which is used for API key based remote cluster access. + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] + public virtual UpdateCrossClusterApiKeyResponse UpdateCrossClusterApiKey(Elastic.Clients.Elasticsearch.Id id, Action> configureRequest) + { + var descriptor = new UpdateCrossClusterApiKeyRequestDescriptor(id); + configureRequest?.Invoke(descriptor); + descriptor.BeforeRequest(); + return DoRequest, UpdateCrossClusterApiKeyResponse, UpdateCrossClusterApiKeyRequestParameters>(descriptor); + } + + /// + /// + /// Update a cross-cluster API key. + /// + /// + /// Update the attributes of an existing cross-cluster API key, which is used for API key based remote cluster access. + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] + public virtual UpdateCrossClusterApiKeyResponse UpdateCrossClusterApiKey(UpdateCrossClusterApiKeyRequestDescriptor descriptor) + { + descriptor.BeforeRequest(); + return DoRequest(descriptor); + } + + /// + /// + /// Update a cross-cluster API key. + /// + /// + /// Update the attributes of an existing cross-cluster API key, which is used for API key based remote cluster access. + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] + public virtual UpdateCrossClusterApiKeyResponse UpdateCrossClusterApiKey(Elastic.Clients.Elasticsearch.Id id) + { + var descriptor = new UpdateCrossClusterApiKeyRequestDescriptor(id); + descriptor.BeforeRequest(); + return DoRequest(descriptor); + } + + /// + /// + /// Update a cross-cluster API key. + /// + /// + /// Update the attributes of an existing cross-cluster API key, which is used for API key based remote cluster access. + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] + public virtual UpdateCrossClusterApiKeyResponse UpdateCrossClusterApiKey(Elastic.Clients.Elasticsearch.Id id, Action configureRequest) + { + var descriptor = new UpdateCrossClusterApiKeyRequestDescriptor(id); + configureRequest?.Invoke(descriptor); + descriptor.BeforeRequest(); + return DoRequest(descriptor); + } + + /// + /// + /// Update a cross-cluster API key. + /// + /// + /// Update the attributes of an existing cross-cluster API key, which is used for API key based remote cluster access. + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + public virtual Task UpdateCrossClusterApiKeyAsync(UpdateCrossClusterApiKeyRequestDescriptor descriptor, CancellationToken cancellationToken = default) + { + descriptor.BeforeRequest(); + return DoRequestAsync, UpdateCrossClusterApiKeyResponse, UpdateCrossClusterApiKeyRequestParameters>(descriptor, cancellationToken); + } + + /// + /// + /// Update a cross-cluster API key. + /// + /// + /// Update the attributes of an existing cross-cluster API key, which is used for API key based remote cluster access. + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + public virtual Task UpdateCrossClusterApiKeyAsync(Elastic.Clients.Elasticsearch.Id id, CancellationToken cancellationToken = default) + { + var descriptor = new UpdateCrossClusterApiKeyRequestDescriptor(id); + descriptor.BeforeRequest(); + return DoRequestAsync, UpdateCrossClusterApiKeyResponse, UpdateCrossClusterApiKeyRequestParameters>(descriptor, cancellationToken); + } + + /// + /// + /// Update a cross-cluster API key. + /// + /// + /// Update the attributes of an existing cross-cluster API key, which is used for API key based remote cluster access. + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + public virtual Task UpdateCrossClusterApiKeyAsync(Elastic.Clients.Elasticsearch.Id id, Action> configureRequest, CancellationToken cancellationToken = default) + { + var descriptor = new UpdateCrossClusterApiKeyRequestDescriptor(id); + configureRequest?.Invoke(descriptor); + descriptor.BeforeRequest(); + return DoRequestAsync, UpdateCrossClusterApiKeyResponse, UpdateCrossClusterApiKeyRequestParameters>(descriptor, cancellationToken); + } + + /// + /// + /// Update a cross-cluster API key. + /// + /// + /// Update the attributes of an existing cross-cluster API key, which is used for API key based remote cluster access. + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + public virtual Task UpdateCrossClusterApiKeyAsync(UpdateCrossClusterApiKeyRequestDescriptor descriptor, CancellationToken cancellationToken = default) + { + descriptor.BeforeRequest(); + return DoRequestAsync(descriptor, cancellationToken); + } + + /// + /// + /// Update a cross-cluster API key. + /// + /// + /// Update the attributes of an existing cross-cluster API key, which is used for API key based remote cluster access. + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + public virtual Task UpdateCrossClusterApiKeyAsync(Elastic.Clients.Elasticsearch.Id id, CancellationToken cancellationToken = default) + { + var descriptor = new UpdateCrossClusterApiKeyRequestDescriptor(id); + descriptor.BeforeRequest(); + return DoRequestAsync(descriptor, cancellationToken); + } + + /// + /// + /// Update a cross-cluster API key. + /// + /// + /// Update the attributes of an existing cross-cluster API key, which is used for API key based remote cluster access. + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + public virtual Task UpdateCrossClusterApiKeyAsync(Elastic.Clients.Elasticsearch.Id id, Action configureRequest, CancellationToken cancellationToken = default) + { + var descriptor = new UpdateCrossClusterApiKeyRequestDescriptor(id); + configureRequest?.Invoke(descriptor); + descriptor.BeforeRequest(); + return DoRequestAsync(descriptor, cancellationToken); + } + + /// + /// + /// Update user profile data. + /// + /// + /// Update specific data for the user profile that is associated with a unique ID. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -7572,7 +9759,10 @@ public virtual UpdateUserProfileDataResponse UpdateUserProfileData(UpdateUserPro /// /// - /// Updates specific data for the user profile that's associated with the specified unique ID. + /// Update user profile data. + /// + /// + /// Update specific data for the user profile that is associated with a unique ID. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -7584,7 +9774,10 @@ public virtual Task UpdateUserProfileDataAsync(Up /// /// - /// Updates specific data for the user profile that's associated with the specified unique ID. + /// Update user profile data. + /// + /// + /// Update specific data for the user profile that is associated with a unique ID. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -7597,7 +9790,10 @@ public virtual UpdateUserProfileDataResponse UpdateUserProfileData(UpdateUserPro /// /// - /// Updates specific data for the user profile that's associated with the specified unique ID. + /// Update user profile data. + /// + /// + /// Update specific data for the user profile that is associated with a unique ID. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -7611,7 +9807,10 @@ public virtual UpdateUserProfileDataResponse UpdateUserProfileData(string uid) /// /// - /// Updates specific data for the user profile that's associated with the specified unique ID. + /// Update user profile data. + /// + /// + /// Update specific data for the user profile that is associated with a unique ID. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -7626,7 +9825,10 @@ public virtual UpdateUserProfileDataResponse UpdateUserProfileData(string uid, A /// /// - /// Updates specific data for the user profile that's associated with the specified unique ID. + /// Update user profile data. + /// + /// + /// Update specific data for the user profile that is associated with a unique ID. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -7638,7 +9840,10 @@ public virtual Task UpdateUserProfileDataAsync(Up /// /// - /// Updates specific data for the user profile that's associated with the specified unique ID. + /// Update user profile data. + /// + /// + /// Update specific data for the user profile that is associated with a unique ID. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -7651,7 +9856,10 @@ public virtual Task UpdateUserProfileDataAsync(st /// /// - /// Updates specific data for the user profile that's associated with the specified unique ID. + /// Update user profile data. + /// + /// + /// Update specific data for the user profile that is associated with a unique ID. /// /// Learn more about this API in the Elasticsearch documentation. /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.Snapshot.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.Snapshot.g.cs index cc63541ea80..4509b309db5 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.Snapshot.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.Snapshot.g.cs @@ -943,6 +943,112 @@ public virtual Task GetRepositoryAsync(Action(descriptor, cancellationToken); } + /// + /// + /// Verifies the integrity of the contents of a snapshot repository + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] + public virtual RepositoryVerifyIntegrityResponse RepositoryVerifyIntegrity(RepositoryVerifyIntegrityRequest request) + { + request.BeforeRequest(); + return DoRequest(request); + } + + /// + /// + /// Verifies the integrity of the contents of a snapshot repository + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + public virtual Task RepositoryVerifyIntegrityAsync(RepositoryVerifyIntegrityRequest request, CancellationToken cancellationToken = default) + { + request.BeforeRequest(); + return DoRequestAsync(request, cancellationToken); + } + + /// + /// + /// Verifies the integrity of the contents of a snapshot repository + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] + public virtual RepositoryVerifyIntegrityResponse RepositoryVerifyIntegrity(RepositoryVerifyIntegrityRequestDescriptor descriptor) + { + descriptor.BeforeRequest(); + return DoRequest(descriptor); + } + + /// + /// + /// Verifies the integrity of the contents of a snapshot repository + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] + public virtual RepositoryVerifyIntegrityResponse RepositoryVerifyIntegrity(Elastic.Clients.Elasticsearch.Names name) + { + var descriptor = new RepositoryVerifyIntegrityRequestDescriptor(name); + descriptor.BeforeRequest(); + return DoRequest(descriptor); + } + + /// + /// + /// Verifies the integrity of the contents of a snapshot repository + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] + public virtual RepositoryVerifyIntegrityResponse RepositoryVerifyIntegrity(Elastic.Clients.Elasticsearch.Names name, Action configureRequest) + { + var descriptor = new RepositoryVerifyIntegrityRequestDescriptor(name); + configureRequest?.Invoke(descriptor); + descriptor.BeforeRequest(); + return DoRequest(descriptor); + } + + /// + /// + /// Verifies the integrity of the contents of a snapshot repository + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + public virtual Task RepositoryVerifyIntegrityAsync(RepositoryVerifyIntegrityRequestDescriptor descriptor, CancellationToken cancellationToken = default) + { + descriptor.BeforeRequest(); + return DoRequestAsync(descriptor, cancellationToken); + } + + /// + /// + /// Verifies the integrity of the contents of a snapshot repository + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + public virtual Task RepositoryVerifyIntegrityAsync(Elastic.Clients.Elasticsearch.Names name, CancellationToken cancellationToken = default) + { + var descriptor = new RepositoryVerifyIntegrityRequestDescriptor(name); + descriptor.BeforeRequest(); + return DoRequestAsync(descriptor, cancellationToken); + } + + /// + /// + /// Verifies the integrity of the contents of a snapshot repository + /// + /// Learn more about this API in the Elasticsearch documentation. + /// + public virtual Task RepositoryVerifyIntegrityAsync(Elastic.Clients.Elasticsearch.Names name, Action configureRequest, CancellationToken cancellationToken = default) + { + var descriptor = new RepositoryVerifyIntegrityRequestDescriptor(name); + configureRequest?.Invoke(descriptor); + descriptor.BeforeRequest(); + return DoRequestAsync(descriptor, cancellationToken); + } + /// /// /// Restores a snapshot. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.Tasks.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.Tasks.g.cs index 254c5209727..aef9a3c6a51 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.Tasks.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.Tasks.g.cs @@ -43,7 +43,7 @@ internal TasksNamespacedClient(ElasticsearchClient client) : base(client) /// /// Cancels a task, if it can be cancelled through an API. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual CancelResponse Cancel(CancelRequest request) @@ -56,7 +56,7 @@ public virtual CancelResponse Cancel(CancelRequest request) /// /// Cancels a task, if it can be cancelled through an API. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task CancelAsync(CancelRequest request, CancellationToken cancellationToken = default) { @@ -68,7 +68,7 @@ public virtual Task CancelAsync(CancelRequest request, Cancellat /// /// Cancels a task, if it can be cancelled through an API. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual CancelResponse Cancel(CancelRequestDescriptor descriptor) @@ -81,7 +81,7 @@ public virtual CancelResponse Cancel(CancelRequestDescriptor descriptor) /// /// Cancels a task, if it can be cancelled through an API. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual CancelResponse Cancel(Elastic.Clients.Elasticsearch.TaskId? taskId) @@ -95,7 +95,7 @@ public virtual CancelResponse Cancel(Elastic.Clients.Elasticsearch.TaskId? taskI /// /// Cancels a task, if it can be cancelled through an API. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual CancelResponse Cancel(Elastic.Clients.Elasticsearch.TaskId? taskId, Action configureRequest) @@ -110,7 +110,7 @@ public virtual CancelResponse Cancel(Elastic.Clients.Elasticsearch.TaskId? taskI /// /// Cancels a task, if it can be cancelled through an API. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual CancelResponse Cancel() @@ -124,7 +124,7 @@ public virtual CancelResponse Cancel() /// /// Cancels a task, if it can be cancelled through an API. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual CancelResponse Cancel(Action configureRequest) @@ -139,7 +139,7 @@ public virtual CancelResponse Cancel(Action configureRe /// /// Cancels a task, if it can be cancelled through an API. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task CancelAsync(CancelRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -151,7 +151,7 @@ public virtual Task CancelAsync(CancelRequestDescriptor descript /// /// Cancels a task, if it can be cancelled through an API. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task CancelAsync(Elastic.Clients.Elasticsearch.TaskId? taskId, CancellationToken cancellationToken = default) { @@ -164,7 +164,7 @@ public virtual Task CancelAsync(Elastic.Clients.Elasticsearch.Ta /// /// Cancels a task, if it can be cancelled through an API. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task CancelAsync(Elastic.Clients.Elasticsearch.TaskId? taskId, Action configureRequest, CancellationToken cancellationToken = default) { @@ -178,7 +178,7 @@ public virtual Task CancelAsync(Elastic.Clients.Elasticsearch.Ta /// /// Cancels a task, if it can be cancelled through an API. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task CancelAsync(CancellationToken cancellationToken = default) { @@ -191,7 +191,7 @@ public virtual Task CancelAsync(CancellationToken cancellationTo /// /// Cancels a task, if it can be cancelled through an API. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task CancelAsync(Action configureRequest, CancellationToken cancellationToken = default) { @@ -206,7 +206,7 @@ public virtual Task CancelAsync(Action /// Get task information. /// Returns information about the tasks currently executing in the cluster. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual GetTasksResponse Get(GetTasksRequest request) @@ -220,7 +220,7 @@ public virtual GetTasksResponse Get(GetTasksRequest request) /// Get task information. /// Returns information about the tasks currently executing in the cluster. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task GetAsync(GetTasksRequest request, CancellationToken cancellationToken = default) { @@ -233,7 +233,7 @@ public virtual Task GetAsync(GetTasksRequest request, Cancella /// Get task information. /// Returns information about the tasks currently executing in the cluster. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual GetTasksResponse Get(GetTasksRequestDescriptor descriptor) @@ -247,7 +247,7 @@ public virtual GetTasksResponse Get(GetTasksRequestDescriptor descriptor) /// Get task information. /// Returns information about the tasks currently executing in the cluster. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual GetTasksResponse Get(Elastic.Clients.Elasticsearch.Id taskId) @@ -262,7 +262,7 @@ public virtual GetTasksResponse Get(Elastic.Clients.Elasticsearch.Id taskId) /// Get task information. /// Returns information about the tasks currently executing in the cluster. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual GetTasksResponse Get(Elastic.Clients.Elasticsearch.Id taskId, Action configureRequest) @@ -278,7 +278,7 @@ public virtual GetTasksResponse Get(Elastic.Clients.Elasticsearch.Id taskId, Act /// Get task information. /// Returns information about the tasks currently executing in the cluster. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task GetAsync(GetTasksRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -291,7 +291,7 @@ public virtual Task GetAsync(GetTasksRequestDescriptor descrip /// Get task information. /// Returns information about the tasks currently executing in the cluster. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task GetAsync(Elastic.Clients.Elasticsearch.Id taskId, CancellationToken cancellationToken = default) { @@ -305,7 +305,7 @@ public virtual Task GetAsync(Elastic.Clients.Elasticsearch.Id /// Get task information. /// Returns information about the tasks currently executing in the cluster. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task GetAsync(Elastic.Clients.Elasticsearch.Id taskId, Action configureRequest, CancellationToken cancellationToken = default) { @@ -319,7 +319,7 @@ public virtual Task GetAsync(Elastic.Clients.Elasticsearch.Id /// /// The task management API returns information about tasks currently executing on one or more nodes in the cluster. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ListResponse List(ListRequest request) @@ -332,7 +332,7 @@ public virtual ListResponse List(ListRequest request) /// /// The task management API returns information about tasks currently executing on one or more nodes in the cluster. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ListAsync(ListRequest request, CancellationToken cancellationToken = default) { @@ -344,7 +344,7 @@ public virtual Task ListAsync(ListRequest request, CancellationTok /// /// The task management API returns information about tasks currently executing on one or more nodes in the cluster. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ListResponse List(ListRequestDescriptor descriptor) @@ -357,7 +357,7 @@ public virtual ListResponse List(ListRequestDescriptor descriptor) /// /// The task management API returns information about tasks currently executing on one or more nodes in the cluster. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ListResponse List() @@ -371,7 +371,7 @@ public virtual ListResponse List() /// /// The task management API returns information about tasks currently executing on one or more nodes in the cluster. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ListResponse List(Action configureRequest) @@ -386,7 +386,7 @@ public virtual ListResponse List(Action configureRequest) /// /// The task management API returns information about tasks currently executing on one or more nodes in the cluster. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ListAsync(ListRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -398,7 +398,7 @@ public virtual Task ListAsync(ListRequestDescriptor descriptor, Ca /// /// The task management API returns information about tasks currently executing on one or more nodes in the cluster. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ListAsync(CancellationToken cancellationToken = default) { @@ -411,7 +411,7 @@ public virtual Task ListAsync(CancellationToken cancellationToken /// /// The task management API returns information about tasks currently executing on one or more nodes in the cluster. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ListAsync(Action configureRequest, CancellationToken cancellationToken = default) { diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.g.cs index c28ef2403d0..d4166fe3227 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.g.cs @@ -124,7 +124,7 @@ private partial void SetupNamespaces() /// Performs multiple indexing or delete operations in a single API call. /// This reduces overhead and can greatly increase indexing speed. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual BulkResponse Bulk(BulkRequest request) @@ -139,7 +139,7 @@ public virtual BulkResponse Bulk(BulkRequest request) /// Performs multiple indexing or delete operations in a single API call. /// This reduces overhead and can greatly increase indexing speed. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task BulkAsync(BulkRequest request, CancellationToken cancellationToken = default) { @@ -153,7 +153,7 @@ public virtual Task BulkAsync(BulkRequest request, CancellationTok /// Performs multiple indexing or delete operations in a single API call. /// This reduces overhead and can greatly increase indexing speed. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual BulkResponse Bulk(BulkRequestDescriptor descriptor) @@ -168,7 +168,7 @@ public virtual BulkResponse Bulk(BulkRequestDescriptor des /// Performs multiple indexing or delete operations in a single API call. /// This reduces overhead and can greatly increase indexing speed. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual BulkResponse Bulk(Elastic.Clients.Elasticsearch.IndexName? index) @@ -184,7 +184,7 @@ public virtual BulkResponse Bulk(Elastic.Clients.Elasticsearch.IndexN /// Performs multiple indexing or delete operations in a single API call. /// This reduces overhead and can greatly increase indexing speed. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual BulkResponse Bulk(Elastic.Clients.Elasticsearch.IndexName? index, Action> configureRequest) @@ -201,7 +201,7 @@ public virtual BulkResponse Bulk(Elastic.Clients.Elasticsearch.IndexN /// Performs multiple indexing or delete operations in a single API call. /// This reduces overhead and can greatly increase indexing speed. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual BulkResponse Bulk() @@ -217,7 +217,7 @@ public virtual BulkResponse Bulk() /// Performs multiple indexing or delete operations in a single API call. /// This reduces overhead and can greatly increase indexing speed. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual BulkResponse Bulk(Action> configureRequest) @@ -234,7 +234,7 @@ public virtual BulkResponse Bulk(Action - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual BulkResponse Bulk(BulkRequestDescriptor descriptor) @@ -249,7 +249,7 @@ public virtual BulkResponse Bulk(BulkRequestDescriptor descriptor) /// Performs multiple indexing or delete operations in a single API call. /// This reduces overhead and can greatly increase indexing speed. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual BulkResponse Bulk(Elastic.Clients.Elasticsearch.IndexName? index) @@ -265,7 +265,7 @@ public virtual BulkResponse Bulk(Elastic.Clients.Elasticsearch.IndexName? index) /// Performs multiple indexing or delete operations in a single API call. /// This reduces overhead and can greatly increase indexing speed. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual BulkResponse Bulk(Elastic.Clients.Elasticsearch.IndexName? index, Action configureRequest) @@ -282,7 +282,7 @@ public virtual BulkResponse Bulk(Elastic.Clients.Elasticsearch.IndexName? index, /// Performs multiple indexing or delete operations in a single API call. /// This reduces overhead and can greatly increase indexing speed. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual BulkResponse Bulk() @@ -298,7 +298,7 @@ public virtual BulkResponse Bulk() /// Performs multiple indexing or delete operations in a single API call. /// This reduces overhead and can greatly increase indexing speed. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual BulkResponse Bulk(Action configureRequest) @@ -315,7 +315,7 @@ public virtual BulkResponse Bulk(Action configureRequest) /// Performs multiple indexing or delete operations in a single API call. /// This reduces overhead and can greatly increase indexing speed. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task BulkAsync(BulkRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -329,7 +329,7 @@ public virtual Task BulkAsync(BulkRequestDescriptor - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task BulkAsync(Elastic.Clients.Elasticsearch.IndexName? index, CancellationToken cancellationToken = default) { @@ -344,7 +344,7 @@ public virtual Task BulkAsync(Elastic.Clients.Elasticse /// Performs multiple indexing or delete operations in a single API call. /// This reduces overhead and can greatly increase indexing speed. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task BulkAsync(Elastic.Clients.Elasticsearch.IndexName? index, Action> configureRequest, CancellationToken cancellationToken = default) { @@ -360,7 +360,7 @@ public virtual Task BulkAsync(Elastic.Clients.Elasticse /// Performs multiple indexing or delete operations in a single API call. /// This reduces overhead and can greatly increase indexing speed. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task BulkAsync(CancellationToken cancellationToken = default) { @@ -375,7 +375,7 @@ public virtual Task BulkAsync(CancellationToken cancell /// Performs multiple indexing or delete operations in a single API call. /// This reduces overhead and can greatly increase indexing speed. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task BulkAsync(Action> configureRequest, CancellationToken cancellationToken = default) { @@ -391,7 +391,7 @@ public virtual Task BulkAsync(Action - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task BulkAsync(BulkRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -405,7 +405,7 @@ public virtual Task BulkAsync(BulkRequestDescriptor descriptor, Ca /// Performs multiple indexing or delete operations in a single API call. /// This reduces overhead and can greatly increase indexing speed. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task BulkAsync(Elastic.Clients.Elasticsearch.IndexName? index, CancellationToken cancellationToken = default) { @@ -420,7 +420,7 @@ public virtual Task BulkAsync(Elastic.Clients.Elasticsearch.IndexN /// Performs multiple indexing or delete operations in a single API call. /// This reduces overhead and can greatly increase indexing speed. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task BulkAsync(Elastic.Clients.Elasticsearch.IndexName? index, Action configureRequest, CancellationToken cancellationToken = default) { @@ -436,7 +436,7 @@ public virtual Task BulkAsync(Elastic.Clients.Elasticsearch.IndexN /// Performs multiple indexing or delete operations in a single API call. /// This reduces overhead and can greatly increase indexing speed. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task BulkAsync(CancellationToken cancellationToken = default) { @@ -451,7 +451,7 @@ public virtual Task BulkAsync(CancellationToken cancellationToken /// Performs multiple indexing or delete operations in a single API call. /// This reduces overhead and can greatly increase indexing speed. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task BulkAsync(Action configureRequest, CancellationToken cancellationToken = default) { @@ -463,9 +463,12 @@ public virtual Task BulkAsync(Action config /// /// - /// Clears the search context and results for a scrolling search. + /// Clear a scrolling search. /// - /// Learn more about this API in the Elasticsearch documentation. + /// + /// Clear the search context and results for a scrolling search. + /// + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ClearScrollResponse ClearScroll(ClearScrollRequest request) @@ -476,9 +479,12 @@ public virtual ClearScrollResponse ClearScroll(ClearScrollRequest request) /// /// - /// Clears the search context and results for a scrolling search. + /// Clear a scrolling search. + /// + /// + /// Clear the search context and results for a scrolling search. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ClearScrollAsync(ClearScrollRequest request, CancellationToken cancellationToken = default) { @@ -488,9 +494,12 @@ public virtual Task ClearScrollAsync(ClearScrollRequest req /// /// - /// Clears the search context and results for a scrolling search. + /// Clear a scrolling search. /// - /// Learn more about this API in the Elasticsearch documentation. + /// + /// Clear the search context and results for a scrolling search. + /// + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ClearScrollResponse ClearScroll(ClearScrollRequestDescriptor descriptor) @@ -501,9 +510,12 @@ public virtual ClearScrollResponse ClearScroll(ClearScrollRequestDescriptor desc /// /// - /// Clears the search context and results for a scrolling search. + /// Clear a scrolling search. + /// + /// + /// Clear the search context and results for a scrolling search. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ClearScrollResponse ClearScroll() @@ -515,9 +527,12 @@ public virtual ClearScrollResponse ClearScroll() /// /// - /// Clears the search context and results for a scrolling search. + /// Clear a scrolling search. /// - /// Learn more about this API in the Elasticsearch documentation. + /// + /// Clear the search context and results for a scrolling search. + /// + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ClearScrollResponse ClearScroll(Action configureRequest) @@ -530,9 +545,12 @@ public virtual ClearScrollResponse ClearScroll(Action /// - /// Clears the search context and results for a scrolling search. + /// Clear a scrolling search. + /// + /// + /// Clear the search context and results for a scrolling search. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ClearScrollAsync(ClearScrollRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -542,9 +560,12 @@ public virtual Task ClearScrollAsync(ClearScrollRequestDesc /// /// - /// Clears the search context and results for a scrolling search. + /// Clear a scrolling search. /// - /// Learn more about this API in the Elasticsearch documentation. + /// + /// Clear the search context and results for a scrolling search. + /// + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ClearScrollAsync(CancellationToken cancellationToken = default) { @@ -555,9 +576,12 @@ public virtual Task ClearScrollAsync(CancellationToken canc /// /// - /// Clears the search context and results for a scrolling search. + /// Clear a scrolling search. + /// + /// + /// Clear the search context and results for a scrolling search. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ClearScrollAsync(Action configureRequest, CancellationToken cancellationToken = default) { @@ -569,9 +593,15 @@ public virtual Task ClearScrollAsync(Action /// - /// Closes a point-in-time. + /// Close a point in time. /// - /// Learn more about this API in the Elasticsearch documentation. + /// + /// A point in time must be opened explicitly before being used in search requests. + /// The keep_alive parameter tells Elasticsearch how long it should persist. + /// A point in time is automatically closed when the keep_alive period has elapsed. + /// However, keeping points in time has a cost; close them as soon as they are no longer required for search requests. + /// + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ClosePointInTimeResponse ClosePointInTime(ClosePointInTimeRequest request) @@ -582,9 +612,15 @@ public virtual ClosePointInTimeResponse ClosePointInTime(ClosePointInTimeRequest /// /// - /// Closes a point-in-time. + /// Close a point in time. + /// + /// + /// A point in time must be opened explicitly before being used in search requests. + /// The keep_alive parameter tells Elasticsearch how long it should persist. + /// A point in time is automatically closed when the keep_alive period has elapsed. + /// However, keeping points in time has a cost; close them as soon as they are no longer required for search requests. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ClosePointInTimeAsync(ClosePointInTimeRequest request, CancellationToken cancellationToken = default) { @@ -594,9 +630,15 @@ public virtual Task ClosePointInTimeAsync(ClosePointIn /// /// - /// Closes a point-in-time. + /// Close a point in time. /// - /// Learn more about this API in the Elasticsearch documentation. + /// + /// A point in time must be opened explicitly before being used in search requests. + /// The keep_alive parameter tells Elasticsearch how long it should persist. + /// A point in time is automatically closed when the keep_alive period has elapsed. + /// However, keeping points in time has a cost; close them as soon as they are no longer required for search requests. + /// + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ClosePointInTimeResponse ClosePointInTime(ClosePointInTimeRequestDescriptor descriptor) @@ -607,9 +649,15 @@ public virtual ClosePointInTimeResponse ClosePointInTime(ClosePointInTimeRequest /// /// - /// Closes a point-in-time. + /// Close a point in time. + /// + /// + /// A point in time must be opened explicitly before being used in search requests. + /// The keep_alive parameter tells Elasticsearch how long it should persist. + /// A point in time is automatically closed when the keep_alive period has elapsed. + /// However, keeping points in time has a cost; close them as soon as they are no longer required for search requests. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ClosePointInTimeResponse ClosePointInTime() @@ -621,9 +669,15 @@ public virtual ClosePointInTimeResponse ClosePointInTime() /// /// - /// Closes a point-in-time. + /// Close a point in time. /// - /// Learn more about this API in the Elasticsearch documentation. + /// + /// A point in time must be opened explicitly before being used in search requests. + /// The keep_alive parameter tells Elasticsearch how long it should persist. + /// A point in time is automatically closed when the keep_alive period has elapsed. + /// However, keeping points in time has a cost; close them as soon as they are no longer required for search requests. + /// + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual ClosePointInTimeResponse ClosePointInTime(Action configureRequest) @@ -636,9 +690,15 @@ public virtual ClosePointInTimeResponse ClosePointInTime(Action /// - /// Closes a point-in-time. + /// Close a point in time. + /// + /// + /// A point in time must be opened explicitly before being used in search requests. + /// The keep_alive parameter tells Elasticsearch how long it should persist. + /// A point in time is automatically closed when the keep_alive period has elapsed. + /// However, keeping points in time has a cost; close them as soon as they are no longer required for search requests. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ClosePointInTimeAsync(ClosePointInTimeRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -648,9 +708,15 @@ public virtual Task ClosePointInTimeAsync(ClosePointIn /// /// - /// Closes a point-in-time. + /// Close a point in time. /// - /// Learn more about this API in the Elasticsearch documentation. + /// + /// A point in time must be opened explicitly before being used in search requests. + /// The keep_alive parameter tells Elasticsearch how long it should persist. + /// A point in time is automatically closed when the keep_alive period has elapsed. + /// However, keeping points in time has a cost; close them as soon as they are no longer required for search requests. + /// + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ClosePointInTimeAsync(CancellationToken cancellationToken = default) { @@ -661,9 +727,15 @@ public virtual Task ClosePointInTimeAsync(Cancellation /// /// - /// Closes a point-in-time. + /// Close a point in time. + /// + /// + /// A point in time must be opened explicitly before being used in search requests. + /// The keep_alive parameter tells Elasticsearch how long it should persist. + /// A point in time is automatically closed when the keep_alive period has elapsed. + /// However, keeping points in time has a cost; close them as soon as they are no longer required for search requests. /// - /// Learn more about this API in the Elasticsearch documentation. + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task ClosePointInTimeAsync(Action configureRequest, CancellationToken cancellationToken = default) { @@ -1990,7 +2062,11 @@ public virtual Task DeleteByQueryAsync(Elastic.Clients.El /// /// - /// Changes the number of requests per second for a particular Delete By Query operation. + /// Throttle a delete by query operation. + /// + /// + /// Change the number of requests per second for a particular delete by query operation. + /// Rethrottling that speeds up the query takes effect immediately but rethrotting that slows down the query takes effect after completing the current batch to prevent scroll timeouts. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2003,7 +2079,11 @@ public virtual DeleteByQueryRethrottleResponse DeleteByQueryRethrottle(DeleteByQ /// /// - /// Changes the number of requests per second for a particular Delete By Query operation. + /// Throttle a delete by query operation. + /// + /// + /// Change the number of requests per second for a particular delete by query operation. + /// Rethrottling that speeds up the query takes effect immediately but rethrotting that slows down the query takes effect after completing the current batch to prevent scroll timeouts. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2015,7 +2095,11 @@ public virtual Task DeleteByQueryRethrottleAsyn /// /// - /// Changes the number of requests per second for a particular Delete By Query operation. + /// Throttle a delete by query operation. + /// + /// + /// Change the number of requests per second for a particular delete by query operation. + /// Rethrottling that speeds up the query takes effect immediately but rethrotting that slows down the query takes effect after completing the current batch to prevent scroll timeouts. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2028,7 +2112,11 @@ public virtual DeleteByQueryRethrottleResponse DeleteByQueryRethrottle(DeleteByQ /// /// - /// Changes the number of requests per second for a particular Delete By Query operation. + /// Throttle a delete by query operation. + /// + /// + /// Change the number of requests per second for a particular delete by query operation. + /// Rethrottling that speeds up the query takes effect immediately but rethrotting that slows down the query takes effect after completing the current batch to prevent scroll timeouts. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2042,7 +2130,11 @@ public virtual DeleteByQueryRethrottleResponse DeleteByQueryRethrottle(Elastic.C /// /// - /// Changes the number of requests per second for a particular Delete By Query operation. + /// Throttle a delete by query operation. + /// + /// + /// Change the number of requests per second for a particular delete by query operation. + /// Rethrottling that speeds up the query takes effect immediately but rethrotting that slows down the query takes effect after completing the current batch to prevent scroll timeouts. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2057,7 +2149,11 @@ public virtual DeleteByQueryRethrottleResponse DeleteByQueryRethrottle(Elastic.C /// /// - /// Changes the number of requests per second for a particular Delete By Query operation. + /// Throttle a delete by query operation. + /// + /// + /// Change the number of requests per second for a particular delete by query operation. + /// Rethrottling that speeds up the query takes effect immediately but rethrotting that slows down the query takes effect after completing the current batch to prevent scroll timeouts. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2069,7 +2165,11 @@ public virtual Task DeleteByQueryRethrottleAsyn /// /// - /// Changes the number of requests per second for a particular Delete By Query operation. + /// Throttle a delete by query operation. + /// + /// + /// Change the number of requests per second for a particular delete by query operation. + /// Rethrottling that speeds up the query takes effect immediately but rethrotting that slows down the query takes effect after completing the current batch to prevent scroll timeouts. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -2082,7 +2182,11 @@ public virtual Task DeleteByQueryRethrottleAsyn /// /// - /// Changes the number of requests per second for a particular Delete By Query operation. + /// Throttle a delete by query operation. + /// + /// + /// Change the number of requests per second for a particular delete by query operation. + /// Rethrottling that speeds up the query takes effect immediately but rethrotting that slows down the query takes effect after completing the current batch to prevent scroll timeouts. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -3533,9 +3637,15 @@ public virtual Task> ExplainAsync(Elastic. /// /// - /// The field capabilities API returns the information about the capabilities of fields among multiple indices. - /// The field capabilities API returns runtime fields like any other field. For example, a runtime field with a type - /// of keyword is returned as any other field that belongs to the keyword family. + /// Get the field capabilities. + /// + /// + /// Get information about the capabilities of fields among multiple indices. + /// + /// + /// For data streams, the API returns field capabilities among the stream’s backing indices. + /// It returns runtime fields like any other field. + /// For example, a runtime field with a type of keyword is returned the same as any other field that belongs to the keyword family. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -3548,9 +3658,15 @@ public virtual FieldCapsResponse FieldCaps(FieldCapsRequest request) /// /// - /// The field capabilities API returns the information about the capabilities of fields among multiple indices. - /// The field capabilities API returns runtime fields like any other field. For example, a runtime field with a type - /// of keyword is returned as any other field that belongs to the keyword family. + /// Get the field capabilities. + /// + /// + /// Get information about the capabilities of fields among multiple indices. + /// + /// + /// For data streams, the API returns field capabilities among the stream’s backing indices. + /// It returns runtime fields like any other field. + /// For example, a runtime field with a type of keyword is returned the same as any other field that belongs to the keyword family. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -3562,9 +3678,15 @@ public virtual Task FieldCapsAsync(FieldCapsRequest request, /// /// - /// The field capabilities API returns the information about the capabilities of fields among multiple indices. - /// The field capabilities API returns runtime fields like any other field. For example, a runtime field with a type - /// of keyword is returned as any other field that belongs to the keyword family. + /// Get the field capabilities. + /// + /// + /// Get information about the capabilities of fields among multiple indices. + /// + /// + /// For data streams, the API returns field capabilities among the stream’s backing indices. + /// It returns runtime fields like any other field. + /// For example, a runtime field with a type of keyword is returned the same as any other field that belongs to the keyword family. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -3577,9 +3699,15 @@ public virtual FieldCapsResponse FieldCaps(FieldCapsRequestDescriptor /// /// - /// The field capabilities API returns the information about the capabilities of fields among multiple indices. - /// The field capabilities API returns runtime fields like any other field. For example, a runtime field with a type - /// of keyword is returned as any other field that belongs to the keyword family. + /// Get the field capabilities. + /// + /// + /// Get information about the capabilities of fields among multiple indices. + /// + /// + /// For data streams, the API returns field capabilities among the stream’s backing indices. + /// It returns runtime fields like any other field. + /// For example, a runtime field with a type of keyword is returned the same as any other field that belongs to the keyword family. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -3593,9 +3721,15 @@ public virtual FieldCapsResponse FieldCaps(Elastic.Clients.Elasticsea /// /// - /// The field capabilities API returns the information about the capabilities of fields among multiple indices. - /// The field capabilities API returns runtime fields like any other field. For example, a runtime field with a type - /// of keyword is returned as any other field that belongs to the keyword family. + /// Get the field capabilities. + /// + /// + /// Get information about the capabilities of fields among multiple indices. + /// + /// + /// For data streams, the API returns field capabilities among the stream’s backing indices. + /// It returns runtime fields like any other field. + /// For example, a runtime field with a type of keyword is returned the same as any other field that belongs to the keyword family. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -3610,9 +3744,15 @@ public virtual FieldCapsResponse FieldCaps(Elastic.Clients.Elasticsea /// /// - /// The field capabilities API returns the information about the capabilities of fields among multiple indices. - /// The field capabilities API returns runtime fields like any other field. For example, a runtime field with a type - /// of keyword is returned as any other field that belongs to the keyword family. + /// Get the field capabilities. + /// + /// + /// Get information about the capabilities of fields among multiple indices. + /// + /// + /// For data streams, the API returns field capabilities among the stream’s backing indices. + /// It returns runtime fields like any other field. + /// For example, a runtime field with a type of keyword is returned the same as any other field that belongs to the keyword family. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -3626,9 +3766,15 @@ public virtual FieldCapsResponse FieldCaps() /// /// - /// The field capabilities API returns the information about the capabilities of fields among multiple indices. - /// The field capabilities API returns runtime fields like any other field. For example, a runtime field with a type - /// of keyword is returned as any other field that belongs to the keyword family. + /// Get the field capabilities. + /// + /// + /// Get information about the capabilities of fields among multiple indices. + /// + /// + /// For data streams, the API returns field capabilities among the stream’s backing indices. + /// It returns runtime fields like any other field. + /// For example, a runtime field with a type of keyword is returned the same as any other field that belongs to the keyword family. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -3643,9 +3789,15 @@ public virtual FieldCapsResponse FieldCaps(Action /// - /// The field capabilities API returns the information about the capabilities of fields among multiple indices. - /// The field capabilities API returns runtime fields like any other field. For example, a runtime field with a type - /// of keyword is returned as any other field that belongs to the keyword family. + /// Get the field capabilities. + /// + /// + /// Get information about the capabilities of fields among multiple indices. + /// + /// + /// For data streams, the API returns field capabilities among the stream’s backing indices. + /// It returns runtime fields like any other field. + /// For example, a runtime field with a type of keyword is returned the same as any other field that belongs to the keyword family. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -3658,9 +3810,15 @@ public virtual FieldCapsResponse FieldCaps(FieldCapsRequestDescriptor descriptor /// /// - /// The field capabilities API returns the information about the capabilities of fields among multiple indices. - /// The field capabilities API returns runtime fields like any other field. For example, a runtime field with a type - /// of keyword is returned as any other field that belongs to the keyword family. + /// Get the field capabilities. + /// + /// + /// Get information about the capabilities of fields among multiple indices. + /// + /// + /// For data streams, the API returns field capabilities among the stream’s backing indices. + /// It returns runtime fields like any other field. + /// For example, a runtime field with a type of keyword is returned the same as any other field that belongs to the keyword family. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -3674,9 +3832,15 @@ public virtual FieldCapsResponse FieldCaps(Elastic.Clients.Elasticsearch.Indices /// /// - /// The field capabilities API returns the information about the capabilities of fields among multiple indices. - /// The field capabilities API returns runtime fields like any other field. For example, a runtime field with a type - /// of keyword is returned as any other field that belongs to the keyword family. + /// Get the field capabilities. + /// + /// + /// Get information about the capabilities of fields among multiple indices. + /// + /// + /// For data streams, the API returns field capabilities among the stream’s backing indices. + /// It returns runtime fields like any other field. + /// For example, a runtime field with a type of keyword is returned the same as any other field that belongs to the keyword family. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -3691,9 +3855,15 @@ public virtual FieldCapsResponse FieldCaps(Elastic.Clients.Elasticsearch.Indices /// /// - /// The field capabilities API returns the information about the capabilities of fields among multiple indices. - /// The field capabilities API returns runtime fields like any other field. For example, a runtime field with a type - /// of keyword is returned as any other field that belongs to the keyword family. + /// Get the field capabilities. + /// + /// + /// Get information about the capabilities of fields among multiple indices. + /// + /// + /// For data streams, the API returns field capabilities among the stream’s backing indices. + /// It returns runtime fields like any other field. + /// For example, a runtime field with a type of keyword is returned the same as any other field that belongs to the keyword family. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -3707,9 +3877,15 @@ public virtual FieldCapsResponse FieldCaps() /// /// - /// The field capabilities API returns the information about the capabilities of fields among multiple indices. - /// The field capabilities API returns runtime fields like any other field. For example, a runtime field with a type - /// of keyword is returned as any other field that belongs to the keyword family. + /// Get the field capabilities. + /// + /// + /// Get information about the capabilities of fields among multiple indices. + /// + /// + /// For data streams, the API returns field capabilities among the stream’s backing indices. + /// It returns runtime fields like any other field. + /// For example, a runtime field with a type of keyword is returned the same as any other field that belongs to the keyword family. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -3724,9 +3900,15 @@ public virtual FieldCapsResponse FieldCaps(Action co /// /// - /// The field capabilities API returns the information about the capabilities of fields among multiple indices. - /// The field capabilities API returns runtime fields like any other field. For example, a runtime field with a type - /// of keyword is returned as any other field that belongs to the keyword family. + /// Get the field capabilities. + /// + /// + /// Get information about the capabilities of fields among multiple indices. + /// + /// + /// For data streams, the API returns field capabilities among the stream’s backing indices. + /// It returns runtime fields like any other field. + /// For example, a runtime field with a type of keyword is returned the same as any other field that belongs to the keyword family. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -3738,9 +3920,15 @@ public virtual Task FieldCapsAsync(FieldCapsReques /// /// - /// The field capabilities API returns the information about the capabilities of fields among multiple indices. - /// The field capabilities API returns runtime fields like any other field. For example, a runtime field with a type - /// of keyword is returned as any other field that belongs to the keyword family. + /// Get the field capabilities. + /// + /// + /// Get information about the capabilities of fields among multiple indices. + /// + /// + /// For data streams, the API returns field capabilities among the stream’s backing indices. + /// It returns runtime fields like any other field. + /// For example, a runtime field with a type of keyword is returned the same as any other field that belongs to the keyword family. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -3753,9 +3941,15 @@ public virtual Task FieldCapsAsync(Elastic.Clients /// /// - /// The field capabilities API returns the information about the capabilities of fields among multiple indices. - /// The field capabilities API returns runtime fields like any other field. For example, a runtime field with a type - /// of keyword is returned as any other field that belongs to the keyword family. + /// Get the field capabilities. + /// + /// + /// Get information about the capabilities of fields among multiple indices. + /// + /// + /// For data streams, the API returns field capabilities among the stream’s backing indices. + /// It returns runtime fields like any other field. + /// For example, a runtime field with a type of keyword is returned the same as any other field that belongs to the keyword family. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -3769,9 +3963,15 @@ public virtual Task FieldCapsAsync(Elastic.Clients /// /// - /// The field capabilities API returns the information about the capabilities of fields among multiple indices. - /// The field capabilities API returns runtime fields like any other field. For example, a runtime field with a type - /// of keyword is returned as any other field that belongs to the keyword family. + /// Get the field capabilities. + /// + /// + /// Get information about the capabilities of fields among multiple indices. + /// + /// + /// For data streams, the API returns field capabilities among the stream’s backing indices. + /// It returns runtime fields like any other field. + /// For example, a runtime field with a type of keyword is returned the same as any other field that belongs to the keyword family. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -3784,9 +3984,15 @@ public virtual Task FieldCapsAsync(CancellationTok /// /// - /// The field capabilities API returns the information about the capabilities of fields among multiple indices. - /// The field capabilities API returns runtime fields like any other field. For example, a runtime field with a type - /// of keyword is returned as any other field that belongs to the keyword family. + /// Get the field capabilities. + /// + /// + /// Get information about the capabilities of fields among multiple indices. + /// + /// + /// For data streams, the API returns field capabilities among the stream’s backing indices. + /// It returns runtime fields like any other field. + /// For example, a runtime field with a type of keyword is returned the same as any other field that belongs to the keyword family. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -3800,9 +4006,15 @@ public virtual Task FieldCapsAsync(Action /// - /// The field capabilities API returns the information about the capabilities of fields among multiple indices. - /// The field capabilities API returns runtime fields like any other field. For example, a runtime field with a type - /// of keyword is returned as any other field that belongs to the keyword family. + /// Get the field capabilities. + /// + /// + /// Get information about the capabilities of fields among multiple indices. + /// + /// + /// For data streams, the API returns field capabilities among the stream’s backing indices. + /// It returns runtime fields like any other field. + /// For example, a runtime field with a type of keyword is returned the same as any other field that belongs to the keyword family. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -3814,9 +4026,15 @@ public virtual Task FieldCapsAsync(FieldCapsRequestDescriptor /// /// - /// The field capabilities API returns the information about the capabilities of fields among multiple indices. - /// The field capabilities API returns runtime fields like any other field. For example, a runtime field with a type - /// of keyword is returned as any other field that belongs to the keyword family. + /// Get the field capabilities. + /// + /// + /// Get information about the capabilities of fields among multiple indices. + /// + /// + /// For data streams, the API returns field capabilities among the stream’s backing indices. + /// It returns runtime fields like any other field. + /// For example, a runtime field with a type of keyword is returned the same as any other field that belongs to the keyword family. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -3829,9 +4047,15 @@ public virtual Task FieldCapsAsync(Elastic.Clients.Elasticsea /// /// - /// The field capabilities API returns the information about the capabilities of fields among multiple indices. - /// The field capabilities API returns runtime fields like any other field. For example, a runtime field with a type - /// of keyword is returned as any other field that belongs to the keyword family. + /// Get the field capabilities. + /// + /// + /// Get information about the capabilities of fields among multiple indices. + /// + /// + /// For data streams, the API returns field capabilities among the stream’s backing indices. + /// It returns runtime fields like any other field. + /// For example, a runtime field with a type of keyword is returned the same as any other field that belongs to the keyword family. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -3845,9 +4069,15 @@ public virtual Task FieldCapsAsync(Elastic.Clients.Elasticsea /// /// - /// The field capabilities API returns the information about the capabilities of fields among multiple indices. - /// The field capabilities API returns runtime fields like any other field. For example, a runtime field with a type - /// of keyword is returned as any other field that belongs to the keyword family. + /// Get the field capabilities. + /// + /// + /// Get information about the capabilities of fields among multiple indices. + /// + /// + /// For data streams, the API returns field capabilities among the stream’s backing indices. + /// It returns runtime fields like any other field. + /// For example, a runtime field with a type of keyword is returned the same as any other field that belongs to the keyword family. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -3860,9 +4090,15 @@ public virtual Task FieldCapsAsync(CancellationToken cancella /// /// - /// The field capabilities API returns the information about the capabilities of fields among multiple indices. - /// The field capabilities API returns runtime fields like any other field. For example, a runtime field with a type - /// of keyword is returned as any other field that belongs to the keyword family. + /// Get the field capabilities. + /// + /// + /// Get information about the capabilities of fields among multiple indices. + /// + /// + /// For data streams, the API returns field capabilities among the stream’s backing indices. + /// It returns runtime fields like any other field. + /// For example, a runtime field with a type of keyword is returned the same as any other field that belongs to the keyword family. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -4431,7 +4667,10 @@ public virtual Task GetScriptAsync(Elastic.Clients.Elasticsea /// /// - /// Returns all script contexts. + /// Get script contexts. + /// + /// + /// Get a list of supported script contexts and their methods. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -4444,7 +4683,10 @@ public virtual GetScriptContextResponse GetScriptContext(GetScriptContextRequest /// /// - /// Returns all script contexts. + /// Get script contexts. + /// + /// + /// Get a list of supported script contexts and their methods. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -4456,7 +4698,10 @@ public virtual Task GetScriptContextAsync(GetScriptCon /// /// - /// Returns all script contexts. + /// Get script contexts. + /// + /// + /// Get a list of supported script contexts and their methods. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -4469,7 +4714,10 @@ public virtual GetScriptContextResponse GetScriptContext(GetScriptContextRequest /// /// - /// Returns all script contexts. + /// Get script contexts. + /// + /// + /// Get a list of supported script contexts and their methods. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -4483,7 +4731,10 @@ public virtual GetScriptContextResponse GetScriptContext() /// /// - /// Returns all script contexts. + /// Get script contexts. + /// + /// + /// Get a list of supported script contexts and their methods. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -4498,7 +4749,10 @@ public virtual GetScriptContextResponse GetScriptContext(Action /// - /// Returns all script contexts. + /// Get script contexts. + /// + /// + /// Get a list of supported script contexts and their methods. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -4510,7 +4764,10 @@ public virtual Task GetScriptContextAsync(GetScriptCon /// /// - /// Returns all script contexts. + /// Get script contexts. + /// + /// + /// Get a list of supported script contexts and their methods. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -4523,7 +4780,10 @@ public virtual Task GetScriptContextAsync(Cancellation /// /// - /// Returns all script contexts. + /// Get script contexts. + /// + /// + /// Get a list of supported script contexts and their methods. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -4537,7 +4797,10 @@ public virtual Task GetScriptContextAsync(Action /// - /// Returns available script types, languages and contexts + /// Get script languages. + /// + /// + /// Get a list of available script types, languages, and contexts. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -4550,7 +4813,10 @@ public virtual GetScriptLanguagesResponse GetScriptLanguages(GetScriptLanguagesR /// /// - /// Returns available script types, languages and contexts + /// Get script languages. + /// + /// + /// Get a list of available script types, languages, and contexts. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -4562,7 +4828,10 @@ public virtual Task GetScriptLanguagesAsync(GetScrip /// /// - /// Returns available script types, languages and contexts + /// Get script languages. + /// + /// + /// Get a list of available script types, languages, and contexts. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -4575,7 +4844,10 @@ public virtual GetScriptLanguagesResponse GetScriptLanguages(GetScriptLanguagesR /// /// - /// Returns available script types, languages and contexts + /// Get script languages. + /// + /// + /// Get a list of available script types, languages, and contexts. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -4589,7 +4861,10 @@ public virtual GetScriptLanguagesResponse GetScriptLanguages() /// /// - /// Returns available script types, languages and contexts + /// Get script languages. + /// + /// + /// Get a list of available script types, languages, and contexts. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -4604,7 +4879,10 @@ public virtual GetScriptLanguagesResponse GetScriptLanguages(Action /// - /// Returns available script types, languages and contexts + /// Get script languages. + /// + /// + /// Get a list of available script types, languages, and contexts. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -4616,7 +4894,10 @@ public virtual Task GetScriptLanguagesAsync(GetScrip /// /// - /// Returns available script types, languages and contexts + /// Get script languages. + /// + /// + /// Get a list of available script types, languages, and contexts. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -4629,7 +4910,10 @@ public virtual Task GetScriptLanguagesAsync(Cancella /// /// - /// Returns available script types, languages and contexts + /// Get script languages. + /// + /// + /// Get a list of available script types, languages, and contexts. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -5587,7 +5871,13 @@ public virtual Task InfoAsync(Action config /// /// - /// Returns multiple termvectors in one request. + /// Get multiple term vectors. + /// + /// + /// You can specify existing documents by index and ID or provide artificial documents in the body of the request. + /// You can specify the index in the request body or request URI. + /// The response contains a docs array with all the fetched termvectors. + /// Each element has the structure provided by the termvectors API. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -5600,7 +5890,13 @@ public virtual MultiTermVectorsResponse Mtermvectors(MultiTermVectorsRequest req /// /// - /// Returns multiple termvectors in one request. + /// Get multiple term vectors. + /// + /// + /// You can specify existing documents by index and ID or provide artificial documents in the body of the request. + /// You can specify the index in the request body or request URI. + /// The response contains a docs array with all the fetched termvectors. + /// Each element has the structure provided by the termvectors API. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -5612,7 +5908,13 @@ public virtual Task MtermvectorsAsync(MultiTermVectors /// /// - /// Returns multiple termvectors in one request. + /// Get multiple term vectors. + /// + /// + /// You can specify existing documents by index and ID or provide artificial documents in the body of the request. + /// You can specify the index in the request body or request URI. + /// The response contains a docs array with all the fetched termvectors. + /// Each element has the structure provided by the termvectors API. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -5625,7 +5927,13 @@ public virtual MultiTermVectorsResponse Mtermvectors(MultiTermVectors /// /// - /// Returns multiple termvectors in one request. + /// Get multiple term vectors. + /// + /// + /// You can specify existing documents by index and ID or provide artificial documents in the body of the request. + /// You can specify the index in the request body or request URI. + /// The response contains a docs array with all the fetched termvectors. + /// Each element has the structure provided by the termvectors API. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -5639,7 +5947,13 @@ public virtual MultiTermVectorsResponse Mtermvectors(Elastic.Clients. /// /// - /// Returns multiple termvectors in one request. + /// Get multiple term vectors. + /// + /// + /// You can specify existing documents by index and ID or provide artificial documents in the body of the request. + /// You can specify the index in the request body or request URI. + /// The response contains a docs array with all the fetched termvectors. + /// Each element has the structure provided by the termvectors API. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -5654,7 +5968,13 @@ public virtual MultiTermVectorsResponse Mtermvectors(Elastic.Clients. /// /// - /// Returns multiple termvectors in one request. + /// Get multiple term vectors. + /// + /// + /// You can specify existing documents by index and ID or provide artificial documents in the body of the request. + /// You can specify the index in the request body or request URI. + /// The response contains a docs array with all the fetched termvectors. + /// Each element has the structure provided by the termvectors API. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -5668,7 +5988,13 @@ public virtual MultiTermVectorsResponse Mtermvectors() /// /// - /// Returns multiple termvectors in one request. + /// Get multiple term vectors. + /// + /// + /// You can specify existing documents by index and ID or provide artificial documents in the body of the request. + /// You can specify the index in the request body or request URI. + /// The response contains a docs array with all the fetched termvectors. + /// Each element has the structure provided by the termvectors API. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -5683,7 +6009,13 @@ public virtual MultiTermVectorsResponse Mtermvectors(Action /// - /// Returns multiple termvectors in one request. + /// Get multiple term vectors. + /// + /// + /// You can specify existing documents by index and ID or provide artificial documents in the body of the request. + /// You can specify the index in the request body or request URI. + /// The response contains a docs array with all the fetched termvectors. + /// Each element has the structure provided by the termvectors API. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -5696,7 +6028,13 @@ public virtual MultiTermVectorsResponse Mtermvectors(MultiTermVectorsRequestDesc /// /// - /// Returns multiple termvectors in one request. + /// Get multiple term vectors. + /// + /// + /// You can specify existing documents by index and ID or provide artificial documents in the body of the request. + /// You can specify the index in the request body or request URI. + /// The response contains a docs array with all the fetched termvectors. + /// Each element has the structure provided by the termvectors API. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -5710,7 +6048,13 @@ public virtual MultiTermVectorsResponse Mtermvectors(Elastic.Clients.Elasticsear /// /// - /// Returns multiple termvectors in one request. + /// Get multiple term vectors. + /// + /// + /// You can specify existing documents by index and ID or provide artificial documents in the body of the request. + /// You can specify the index in the request body or request URI. + /// The response contains a docs array with all the fetched termvectors. + /// Each element has the structure provided by the termvectors API. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -5725,7 +6069,13 @@ public virtual MultiTermVectorsResponse Mtermvectors(Elastic.Clients.Elasticsear /// /// - /// Returns multiple termvectors in one request. + /// Get multiple term vectors. + /// + /// + /// You can specify existing documents by index and ID or provide artificial documents in the body of the request. + /// You can specify the index in the request body or request URI. + /// The response contains a docs array with all the fetched termvectors. + /// Each element has the structure provided by the termvectors API. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -5739,7 +6089,13 @@ public virtual MultiTermVectorsResponse Mtermvectors() /// /// - /// Returns multiple termvectors in one request. + /// Get multiple term vectors. + /// + /// + /// You can specify existing documents by index and ID or provide artificial documents in the body of the request. + /// You can specify the index in the request body or request URI. + /// The response contains a docs array with all the fetched termvectors. + /// Each element has the structure provided by the termvectors API. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -5754,7 +6110,13 @@ public virtual MultiTermVectorsResponse Mtermvectors(Action /// - /// Returns multiple termvectors in one request. + /// Get multiple term vectors. + /// + /// + /// You can specify existing documents by index and ID or provide artificial documents in the body of the request. + /// You can specify the index in the request body or request URI. + /// The response contains a docs array with all the fetched termvectors. + /// Each element has the structure provided by the termvectors API. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -5766,7 +6128,13 @@ public virtual Task MtermvectorsAsync(Multi /// /// - /// Returns multiple termvectors in one request. + /// Get multiple term vectors. + /// + /// + /// You can specify existing documents by index and ID or provide artificial documents in the body of the request. + /// You can specify the index in the request body or request URI. + /// The response contains a docs array with all the fetched termvectors. + /// Each element has the structure provided by the termvectors API. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -5779,7 +6147,13 @@ public virtual Task MtermvectorsAsync(Elast /// /// - /// Returns multiple termvectors in one request. + /// Get multiple term vectors. + /// + /// + /// You can specify existing documents by index and ID or provide artificial documents in the body of the request. + /// You can specify the index in the request body or request URI. + /// The response contains a docs array with all the fetched termvectors. + /// Each element has the structure provided by the termvectors API. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -5793,7 +6167,13 @@ public virtual Task MtermvectorsAsync(Elast /// /// - /// Returns multiple termvectors in one request. + /// Get multiple term vectors. + /// + /// + /// You can specify existing documents by index and ID or provide artificial documents in the body of the request. + /// You can specify the index in the request body or request URI. + /// The response contains a docs array with all the fetched termvectors. + /// Each element has the structure provided by the termvectors API. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -5806,7 +6186,13 @@ public virtual Task MtermvectorsAsync(Cance /// /// - /// Returns multiple termvectors in one request. + /// Get multiple term vectors. + /// + /// + /// You can specify existing documents by index and ID or provide artificial documents in the body of the request. + /// You can specify the index in the request body or request URI. + /// The response contains a docs array with all the fetched termvectors. + /// Each element has the structure provided by the termvectors API. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -5820,7 +6206,13 @@ public virtual Task MtermvectorsAsync(Actio /// /// - /// Returns multiple termvectors in one request. + /// Get multiple term vectors. + /// + /// + /// You can specify existing documents by index and ID or provide artificial documents in the body of the request. + /// You can specify the index in the request body or request URI. + /// The response contains a docs array with all the fetched termvectors. + /// Each element has the structure provided by the termvectors API. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -5832,7 +6224,13 @@ public virtual Task MtermvectorsAsync(MultiTermVectors /// /// - /// Returns multiple termvectors in one request. + /// Get multiple term vectors. + /// + /// + /// You can specify existing documents by index and ID or provide artificial documents in the body of the request. + /// You can specify the index in the request body or request URI. + /// The response contains a docs array with all the fetched termvectors. + /// Each element has the structure provided by the termvectors API. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -5845,7 +6243,13 @@ public virtual Task MtermvectorsAsync(Elastic.Clients. /// /// - /// Returns multiple termvectors in one request. + /// Get multiple term vectors. + /// + /// + /// You can specify existing documents by index and ID or provide artificial documents in the body of the request. + /// You can specify the index in the request body or request URI. + /// The response contains a docs array with all the fetched termvectors. + /// Each element has the structure provided by the termvectors API. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -5859,7 +6263,13 @@ public virtual Task MtermvectorsAsync(Elastic.Clients. /// /// - /// Returns multiple termvectors in one request. + /// Get multiple term vectors. + /// + /// + /// You can specify existing documents by index and ID or provide artificial documents in the body of the request. + /// You can specify the index in the request body or request URI. + /// The response contains a docs array with all the fetched termvectors. + /// Each element has the structure provided by the termvectors API. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -5872,7 +6282,13 @@ public virtual Task MtermvectorsAsync(CancellationToke /// /// - /// Returns multiple termvectors in one request. + /// Get multiple term vectors. + /// + /// + /// You can specify existing documents by index and ID or provide artificial documents in the body of the request. + /// You can specify the index in the request body or request URI. + /// The response contains a docs array with all the fetched termvectors. + /// Each element has the structure provided by the termvectors API. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -5886,7 +6302,12 @@ public virtual Task MtermvectorsAsync(Action /// - /// Allows to get multiple documents in one request. + /// Get multiple documents. + /// + /// + /// Get multiple JSON documents by ID from one or more indices. + /// If you specify an index in the request URI, you only need to specify the document IDs in the request body. + /// To ensure fast responses, this multi get (mget) API responds with partial results if one or more shards fail. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -5899,7 +6320,12 @@ public virtual MultiGetResponse MultiGet(MultiGetRequest r /// /// - /// Allows to get multiple documents in one request. + /// Get multiple documents. + /// + /// + /// Get multiple JSON documents by ID from one or more indices. + /// If you specify an index in the request URI, you only need to specify the document IDs in the request body. + /// To ensure fast responses, this multi get (mget) API responds with partial results if one or more shards fail. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -5911,7 +6337,12 @@ public virtual Task> MultiGetAsync(MultiG /// /// - /// Allows to get multiple documents in one request. + /// Get multiple documents. + /// + /// + /// Get multiple JSON documents by ID from one or more indices. + /// If you specify an index in the request URI, you only need to specify the document IDs in the request body. + /// To ensure fast responses, this multi get (mget) API responds with partial results if one or more shards fail. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -5924,7 +6355,12 @@ public virtual MultiGetResponse MultiGet(MultiGetRequestDe /// /// - /// Allows to get multiple documents in one request. + /// Get multiple documents. + /// + /// + /// Get multiple JSON documents by ID from one or more indices. + /// If you specify an index in the request URI, you only need to specify the document IDs in the request body. + /// To ensure fast responses, this multi get (mget) API responds with partial results if one or more shards fail. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -5938,7 +6374,12 @@ public virtual MultiGetResponse MultiGet(Elastic.Clients.E /// /// - /// Allows to get multiple documents in one request. + /// Get multiple documents. + /// + /// + /// Get multiple JSON documents by ID from one or more indices. + /// If you specify an index in the request URI, you only need to specify the document IDs in the request body. + /// To ensure fast responses, this multi get (mget) API responds with partial results if one or more shards fail. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -5953,7 +6394,12 @@ public virtual MultiGetResponse MultiGet(Elastic.Clients.E /// /// - /// Allows to get multiple documents in one request. + /// Get multiple documents. + /// + /// + /// Get multiple JSON documents by ID from one or more indices. + /// If you specify an index in the request URI, you only need to specify the document IDs in the request body. + /// To ensure fast responses, this multi get (mget) API responds with partial results if one or more shards fail. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -5967,7 +6413,12 @@ public virtual MultiGetResponse MultiGet() /// /// - /// Allows to get multiple documents in one request. + /// Get multiple documents. + /// + /// + /// Get multiple JSON documents by ID from one or more indices. + /// If you specify an index in the request URI, you only need to specify the document IDs in the request body. + /// To ensure fast responses, this multi get (mget) API responds with partial results if one or more shards fail. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -5982,7 +6433,12 @@ public virtual MultiGetResponse MultiGet(Action /// - /// Allows to get multiple documents in one request. + /// Get multiple documents. + /// + /// + /// Get multiple JSON documents by ID from one or more indices. + /// If you specify an index in the request URI, you only need to specify the document IDs in the request body. + /// To ensure fast responses, this multi get (mget) API responds with partial results if one or more shards fail. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -5994,7 +6450,12 @@ public virtual Task> MultiGetAsync(MultiG /// /// - /// Allows to get multiple documents in one request. + /// Get multiple documents. + /// + /// + /// Get multiple JSON documents by ID from one or more indices. + /// If you specify an index in the request URI, you only need to specify the document IDs in the request body. + /// To ensure fast responses, this multi get (mget) API responds with partial results if one or more shards fail. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -6007,7 +6468,12 @@ public virtual Task> MultiGetAsync(Elasti /// /// - /// Allows to get multiple documents in one request. + /// Get multiple documents. + /// + /// + /// Get multiple JSON documents by ID from one or more indices. + /// If you specify an index in the request URI, you only need to specify the document IDs in the request body. + /// To ensure fast responses, this multi get (mget) API responds with partial results if one or more shards fail. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -6021,7 +6487,12 @@ public virtual Task> MultiGetAsync(Elasti /// /// - /// Allows to get multiple documents in one request. + /// Get multiple documents. + /// + /// + /// Get multiple JSON documents by ID from one or more indices. + /// If you specify an index in the request URI, you only need to specify the document IDs in the request body. + /// To ensure fast responses, this multi get (mget) API responds with partial results if one or more shards fail. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -6034,7 +6505,12 @@ public virtual Task> MultiGetAsync(Cancel /// /// - /// Allows to get multiple documents in one request. + /// Get multiple documents. + /// + /// + /// Get multiple JSON documents by ID from one or more indices. + /// If you specify an index in the request URI, you only need to specify the document IDs in the request body. + /// To ensure fast responses, this multi get (mget) API responds with partial results if one or more shards fail. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -6048,7 +6524,25 @@ public virtual Task> MultiGetAsync(Action /// /// - /// Allows to execute several search operations in one request. + /// Run multiple searches. + /// + /// + /// The format of the request is similar to the bulk API format and makes use of the newline delimited JSON (NDJSON) format. + /// The structure is as follows: + /// + /// + /// header\n + /// body\n + /// header\n + /// body\n + /// + /// + /// This structure is specifically optimized to reduce parsing if a specific search ends up redirected to another node. + /// + /// + /// IMPORTANT: The final line of data must end with a newline character \n. + /// Each newline character may be preceded by a carriage return \r. + /// When sending requests to this endpoint the Content-Type header should be set to application/x-ndjson. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -6061,7 +6555,25 @@ public virtual MultiSearchResponse MultiSearch(MultiSearch /// /// - /// Allows to execute several search operations in one request. + /// Run multiple searches. + /// + /// + /// The format of the request is similar to the bulk API format and makes use of the newline delimited JSON (NDJSON) format. + /// The structure is as follows: + /// + /// + /// header\n + /// body\n + /// header\n + /// body\n + /// + /// + /// This structure is specifically optimized to reduce parsing if a specific search ends up redirected to another node. + /// + /// + /// IMPORTANT: The final line of data must end with a newline character \n. + /// Each newline character may be preceded by a carriage return \r. + /// When sending requests to this endpoint the Content-Type header should be set to application/x-ndjson. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -6073,7 +6585,25 @@ public virtual Task> MultiSearchAsync( /// /// - /// Allows to execute several search operations in one request. + /// Run multiple searches. + /// + /// + /// The format of the request is similar to the bulk API format and makes use of the newline delimited JSON (NDJSON) format. + /// The structure is as follows: + /// + /// + /// header\n + /// body\n + /// header\n + /// body\n + /// + /// + /// This structure is specifically optimized to reduce parsing if a specific search ends up redirected to another node. + /// + /// + /// IMPORTANT: The final line of data must end with a newline character \n. + /// Each newline character may be preceded by a carriage return \r. + /// When sending requests to this endpoint the Content-Type header should be set to application/x-ndjson. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -6086,10 +6616,28 @@ public virtual MultiSearchResponse MultiSearch(MultiSearch /// /// - /// Allows to execute several search operations in one request. + /// Run multiple searches. /// - /// Learn more about this API in the Elasticsearch documentation. - /// + /// + /// The format of the request is similar to the bulk API format and makes use of the newline delimited JSON (NDJSON) format. + /// The structure is as follows: + /// + /// + /// header\n + /// body\n + /// header\n + /// body\n + /// + /// + /// This structure is specifically optimized to reduce parsing if a specific search ends up redirected to another node. + /// + /// + /// IMPORTANT: The final line of data must end with a newline character \n. + /// Each newline character may be preceded by a carriage return \r. + /// When sending requests to this endpoint the Content-Type header should be set to application/x-ndjson. + /// + /// Learn more about this API in the Elasticsearch documentation. + /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual MultiSearchResponse MultiSearch(Elastic.Clients.Elasticsearch.Indices? indices) { @@ -6100,7 +6648,25 @@ public virtual MultiSearchResponse MultiSearch(Elastic.Cli /// /// - /// Allows to execute several search operations in one request. + /// Run multiple searches. + /// + /// + /// The format of the request is similar to the bulk API format and makes use of the newline delimited JSON (NDJSON) format. + /// The structure is as follows: + /// + /// + /// header\n + /// body\n + /// header\n + /// body\n + /// + /// + /// This structure is specifically optimized to reduce parsing if a specific search ends up redirected to another node. + /// + /// + /// IMPORTANT: The final line of data must end with a newline character \n. + /// Each newline character may be preceded by a carriage return \r. + /// When sending requests to this endpoint the Content-Type header should be set to application/x-ndjson. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -6115,7 +6681,25 @@ public virtual MultiSearchResponse MultiSearch(Elastic.Cli /// /// - /// Allows to execute several search operations in one request. + /// Run multiple searches. + /// + /// + /// The format of the request is similar to the bulk API format and makes use of the newline delimited JSON (NDJSON) format. + /// The structure is as follows: + /// + /// + /// header\n + /// body\n + /// header\n + /// body\n + /// + /// + /// This structure is specifically optimized to reduce parsing if a specific search ends up redirected to another node. + /// + /// + /// IMPORTANT: The final line of data must end with a newline character \n. + /// Each newline character may be preceded by a carriage return \r. + /// When sending requests to this endpoint the Content-Type header should be set to application/x-ndjson. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -6129,7 +6713,25 @@ public virtual MultiSearchResponse MultiSearch() /// /// - /// Allows to execute several search operations in one request. + /// Run multiple searches. + /// + /// + /// The format of the request is similar to the bulk API format and makes use of the newline delimited JSON (NDJSON) format. + /// The structure is as follows: + /// + /// + /// header\n + /// body\n + /// header\n + /// body\n + /// + /// + /// This structure is specifically optimized to reduce parsing if a specific search ends up redirected to another node. + /// + /// + /// IMPORTANT: The final line of data must end with a newline character \n. + /// Each newline character may be preceded by a carriage return \r. + /// When sending requests to this endpoint the Content-Type header should be set to application/x-ndjson. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -6144,7 +6746,25 @@ public virtual MultiSearchResponse MultiSearch(Action /// - /// Allows to execute several search operations in one request. + /// Run multiple searches. + /// + /// + /// The format of the request is similar to the bulk API format and makes use of the newline delimited JSON (NDJSON) format. + /// The structure is as follows: + /// + /// + /// header\n + /// body\n + /// header\n + /// body\n + /// + /// + /// This structure is specifically optimized to reduce parsing if a specific search ends up redirected to another node. + /// + /// + /// IMPORTANT: The final line of data must end with a newline character \n. + /// Each newline character may be preceded by a carriage return \r. + /// When sending requests to this endpoint the Content-Type header should be set to application/x-ndjson. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -6156,7 +6776,25 @@ public virtual Task> MultiSearchAsync( /// /// - /// Allows to execute several search operations in one request. + /// Run multiple searches. + /// + /// + /// The format of the request is similar to the bulk API format and makes use of the newline delimited JSON (NDJSON) format. + /// The structure is as follows: + /// + /// + /// header\n + /// body\n + /// header\n + /// body\n + /// + /// + /// This structure is specifically optimized to reduce parsing if a specific search ends up redirected to another node. + /// + /// + /// IMPORTANT: The final line of data must end with a newline character \n. + /// Each newline character may be preceded by a carriage return \r. + /// When sending requests to this endpoint the Content-Type header should be set to application/x-ndjson. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -6169,7 +6807,25 @@ public virtual Task> MultiSearchAsync( /// /// - /// Allows to execute several search operations in one request. + /// Run multiple searches. + /// + /// + /// The format of the request is similar to the bulk API format and makes use of the newline delimited JSON (NDJSON) format. + /// The structure is as follows: + /// + /// + /// header\n + /// body\n + /// header\n + /// body\n + /// + /// + /// This structure is specifically optimized to reduce parsing if a specific search ends up redirected to another node. + /// + /// + /// IMPORTANT: The final line of data must end with a newline character \n. + /// Each newline character may be preceded by a carriage return \r. + /// When sending requests to this endpoint the Content-Type header should be set to application/x-ndjson. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -6183,7 +6839,25 @@ public virtual Task> MultiSearchAsync( /// /// - /// Allows to execute several search operations in one request. + /// Run multiple searches. + /// + /// + /// The format of the request is similar to the bulk API format and makes use of the newline delimited JSON (NDJSON) format. + /// The structure is as follows: + /// + /// + /// header\n + /// body\n + /// header\n + /// body\n + /// + /// + /// This structure is specifically optimized to reduce parsing if a specific search ends up redirected to another node. + /// + /// + /// IMPORTANT: The final line of data must end with a newline character \n. + /// Each newline character may be preceded by a carriage return \r. + /// When sending requests to this endpoint the Content-Type header should be set to application/x-ndjson. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -6196,7 +6870,25 @@ public virtual Task> MultiSearchAsync( /// /// - /// Allows to execute several search operations in one request. + /// Run multiple searches. + /// + /// + /// The format of the request is similar to the bulk API format and makes use of the newline delimited JSON (NDJSON) format. + /// The structure is as follows: + /// + /// + /// header\n + /// body\n + /// header\n + /// body\n + /// + /// + /// This structure is specifically optimized to reduce parsing if a specific search ends up redirected to another node. + /// + /// + /// IMPORTANT: The final line of data must end with a newline character \n. + /// Each newline character may be preceded by a carriage return \r. + /// When sending requests to this endpoint the Content-Type header should be set to application/x-ndjson. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -6210,7 +6902,7 @@ public virtual Task> MultiSearchAsync( /// /// - /// Runs multiple templated searches with a single request. + /// Run multiple templated searches. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -6223,7 +6915,7 @@ public virtual MultiSearchTemplateResponse MultiSearchTemplate /// - /// Runs multiple templated searches with a single request. + /// Run multiple templated searches. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -6235,7 +6927,7 @@ public virtual Task> MultiSearchTemplateA /// /// - /// Runs multiple templated searches with a single request. + /// Run multiple templated searches. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -6248,7 +6940,7 @@ public virtual MultiSearchTemplateResponse MultiSearchTemplate /// - /// Runs multiple templated searches with a single request. + /// Run multiple templated searches. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -6262,7 +6954,7 @@ public virtual MultiSearchTemplateResponse MultiSearchTemplate /// - /// Runs multiple templated searches with a single request. + /// Run multiple templated searches. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -6277,7 +6969,7 @@ public virtual MultiSearchTemplateResponse MultiSearchTemplate /// - /// Runs multiple templated searches with a single request. + /// Run multiple templated searches. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -6291,7 +6983,7 @@ public virtual MultiSearchTemplateResponse MultiSearchTemplate /// - /// Runs multiple templated searches with a single request. + /// Run multiple templated searches. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -6306,7 +6998,7 @@ public virtual MultiSearchTemplateResponse MultiSearchTemplate /// - /// Runs multiple templated searches with a single request. + /// Run multiple templated searches. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -6318,7 +7010,7 @@ public virtual Task> MultiSearchTemplateA /// /// - /// Runs multiple templated searches with a single request. + /// Run multiple templated searches. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -6331,7 +7023,7 @@ public virtual Task> MultiSearchTemplateA /// /// - /// Runs multiple templated searches with a single request. + /// Run multiple templated searches. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -6345,7 +7037,7 @@ public virtual Task> MultiSearchTemplateA /// /// - /// Runs multiple templated searches with a single request. + /// Run multiple templated searches. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -6358,7 +7050,7 @@ public virtual Task> MultiSearchTemplateA /// /// - /// Runs multiple templated searches with a single request. + /// Run multiple templated searches. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -6372,14 +7064,21 @@ public virtual Task> MultiSearchTemplateA /// /// - /// A search request by default executes against the most recent visible data of the target indices, + /// Open a point in time. + /// + /// + /// A search request by default runs against the most recent visible data of the target indices, /// which is called point in time. Elasticsearch pit (point in time) is a lightweight view into the /// state of the data as it existed when initiated. In some cases, it’s preferred to perform multiple /// search requests using the same point in time. For example, if refreshes happen between /// search_after requests, then the results of those requests might not be consistent as changes happening /// between searches are only visible to the more recent point in time. /// - /// Learn more about this API in the Elasticsearch documentation. + /// + /// A point in time must be opened explicitly before being used in search requests. + /// The keep_alive parameter tells Elasticsearch how long it should persist. + /// + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual OpenPointInTimeResponse OpenPointInTime(OpenPointInTimeRequest request) @@ -6390,14 +7089,21 @@ public virtual OpenPointInTimeResponse OpenPointInTime(OpenPointInTimeRequest re /// /// - /// A search request by default executes against the most recent visible data of the target indices, + /// Open a point in time. + /// + /// + /// A search request by default runs against the most recent visible data of the target indices, /// which is called point in time. Elasticsearch pit (point in time) is a lightweight view into the /// state of the data as it existed when initiated. In some cases, it’s preferred to perform multiple /// search requests using the same point in time. For example, if refreshes happen between /// search_after requests, then the results of those requests might not be consistent as changes happening /// between searches are only visible to the more recent point in time. /// - /// Learn more about this API in the Elasticsearch documentation. + /// + /// A point in time must be opened explicitly before being used in search requests. + /// The keep_alive parameter tells Elasticsearch how long it should persist. + /// + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task OpenPointInTimeAsync(OpenPointInTimeRequest request, CancellationToken cancellationToken = default) { @@ -6407,14 +7113,21 @@ public virtual Task OpenPointInTimeAsync(OpenPointInTim /// /// - /// A search request by default executes against the most recent visible data of the target indices, + /// Open a point in time. + /// + /// + /// A search request by default runs against the most recent visible data of the target indices, /// which is called point in time. Elasticsearch pit (point in time) is a lightweight view into the /// state of the data as it existed when initiated. In some cases, it’s preferred to perform multiple /// search requests using the same point in time. For example, if refreshes happen between /// search_after requests, then the results of those requests might not be consistent as changes happening /// between searches are only visible to the more recent point in time. /// - /// Learn more about this API in the Elasticsearch documentation. + /// + /// A point in time must be opened explicitly before being used in search requests. + /// The keep_alive parameter tells Elasticsearch how long it should persist. + /// + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual OpenPointInTimeResponse OpenPointInTime(OpenPointInTimeRequestDescriptor descriptor) @@ -6425,14 +7138,21 @@ public virtual OpenPointInTimeResponse OpenPointInTime(OpenPointInTim /// /// - /// A search request by default executes against the most recent visible data of the target indices, + /// Open a point in time. + /// + /// + /// A search request by default runs against the most recent visible data of the target indices, /// which is called point in time. Elasticsearch pit (point in time) is a lightweight view into the /// state of the data as it existed when initiated. In some cases, it’s preferred to perform multiple /// search requests using the same point in time. For example, if refreshes happen between /// search_after requests, then the results of those requests might not be consistent as changes happening /// between searches are only visible to the more recent point in time. /// - /// Learn more about this API in the Elasticsearch documentation. + /// + /// A point in time must be opened explicitly before being used in search requests. + /// The keep_alive parameter tells Elasticsearch how long it should persist. + /// + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual OpenPointInTimeResponse OpenPointInTime(Elastic.Clients.Elasticsearch.Indices indices) @@ -6444,14 +7164,21 @@ public virtual OpenPointInTimeResponse OpenPointInTime(Elastic.Client /// /// - /// A search request by default executes against the most recent visible data of the target indices, + /// Open a point in time. + /// + /// + /// A search request by default runs against the most recent visible data of the target indices, /// which is called point in time. Elasticsearch pit (point in time) is a lightweight view into the /// state of the data as it existed when initiated. In some cases, it’s preferred to perform multiple /// search requests using the same point in time. For example, if refreshes happen between /// search_after requests, then the results of those requests might not be consistent as changes happening /// between searches are only visible to the more recent point in time. /// - /// Learn more about this API in the Elasticsearch documentation. + /// + /// A point in time must be opened explicitly before being used in search requests. + /// The keep_alive parameter tells Elasticsearch how long it should persist. + /// + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual OpenPointInTimeResponse OpenPointInTime(Elastic.Clients.Elasticsearch.Indices indices, Action> configureRequest) @@ -6464,14 +7191,21 @@ public virtual OpenPointInTimeResponse OpenPointInTime(Elastic.Client /// /// - /// A search request by default executes against the most recent visible data of the target indices, + /// Open a point in time. + /// + /// + /// A search request by default runs against the most recent visible data of the target indices, /// which is called point in time. Elasticsearch pit (point in time) is a lightweight view into the /// state of the data as it existed when initiated. In some cases, it’s preferred to perform multiple /// search requests using the same point in time. For example, if refreshes happen between /// search_after requests, then the results of those requests might not be consistent as changes happening /// between searches are only visible to the more recent point in time. /// - /// Learn more about this API in the Elasticsearch documentation. + /// + /// A point in time must be opened explicitly before being used in search requests. + /// The keep_alive parameter tells Elasticsearch how long it should persist. + /// + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual OpenPointInTimeResponse OpenPointInTime() @@ -6483,14 +7217,21 @@ public virtual OpenPointInTimeResponse OpenPointInTime() /// /// - /// A search request by default executes against the most recent visible data of the target indices, + /// Open a point in time. + /// + /// + /// A search request by default runs against the most recent visible data of the target indices, /// which is called point in time. Elasticsearch pit (point in time) is a lightweight view into the /// state of the data as it existed when initiated. In some cases, it’s preferred to perform multiple /// search requests using the same point in time. For example, if refreshes happen between /// search_after requests, then the results of those requests might not be consistent as changes happening /// between searches are only visible to the more recent point in time. /// - /// Learn more about this API in the Elasticsearch documentation. + /// + /// A point in time must be opened explicitly before being used in search requests. + /// The keep_alive parameter tells Elasticsearch how long it should persist. + /// + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual OpenPointInTimeResponse OpenPointInTime(Action> configureRequest) @@ -6503,14 +7244,21 @@ public virtual OpenPointInTimeResponse OpenPointInTime(Action /// - /// A search request by default executes against the most recent visible data of the target indices, + /// Open a point in time. + /// + /// + /// A search request by default runs against the most recent visible data of the target indices, /// which is called point in time. Elasticsearch pit (point in time) is a lightweight view into the /// state of the data as it existed when initiated. In some cases, it’s preferred to perform multiple /// search requests using the same point in time. For example, if refreshes happen between /// search_after requests, then the results of those requests might not be consistent as changes happening /// between searches are only visible to the more recent point in time. /// - /// Learn more about this API in the Elasticsearch documentation. + /// + /// A point in time must be opened explicitly before being used in search requests. + /// The keep_alive parameter tells Elasticsearch how long it should persist. + /// + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual OpenPointInTimeResponse OpenPointInTime(OpenPointInTimeRequestDescriptor descriptor) @@ -6521,14 +7269,21 @@ public virtual OpenPointInTimeResponse OpenPointInTime(OpenPointInTimeRequestDes /// /// - /// A search request by default executes against the most recent visible data of the target indices, + /// Open a point in time. + /// + /// + /// A search request by default runs against the most recent visible data of the target indices, /// which is called point in time. Elasticsearch pit (point in time) is a lightweight view into the /// state of the data as it existed when initiated. In some cases, it’s preferred to perform multiple /// search requests using the same point in time. For example, if refreshes happen between /// search_after requests, then the results of those requests might not be consistent as changes happening /// between searches are only visible to the more recent point in time. /// - /// Learn more about this API in the Elasticsearch documentation. + /// + /// A point in time must be opened explicitly before being used in search requests. + /// The keep_alive parameter tells Elasticsearch how long it should persist. + /// + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual OpenPointInTimeResponse OpenPointInTime(Elastic.Clients.Elasticsearch.Indices indices) @@ -6540,14 +7295,21 @@ public virtual OpenPointInTimeResponse OpenPointInTime(Elastic.Clients.Elasticse /// /// - /// A search request by default executes against the most recent visible data of the target indices, + /// Open a point in time. + /// + /// + /// A search request by default runs against the most recent visible data of the target indices, /// which is called point in time. Elasticsearch pit (point in time) is a lightweight view into the /// state of the data as it existed when initiated. In some cases, it’s preferred to perform multiple /// search requests using the same point in time. For example, if refreshes happen between /// search_after requests, then the results of those requests might not be consistent as changes happening /// between searches are only visible to the more recent point in time. /// - /// Learn more about this API in the Elasticsearch documentation. + /// + /// A point in time must be opened explicitly before being used in search requests. + /// The keep_alive parameter tells Elasticsearch how long it should persist. + /// + /// Learn more about this API in the Elasticsearch documentation. /// [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] public virtual OpenPointInTimeResponse OpenPointInTime(Elastic.Clients.Elasticsearch.Indices indices, Action configureRequest) @@ -6560,14 +7322,21 @@ public virtual OpenPointInTimeResponse OpenPointInTime(Elastic.Clients.Elasticse /// /// - /// A search request by default executes against the most recent visible data of the target indices, + /// Open a point in time. + /// + /// + /// A search request by default runs against the most recent visible data of the target indices, /// which is called point in time. Elasticsearch pit (point in time) is a lightweight view into the /// state of the data as it existed when initiated. In some cases, it’s preferred to perform multiple /// search requests using the same point in time. For example, if refreshes happen between /// search_after requests, then the results of those requests might not be consistent as changes happening /// between searches are only visible to the more recent point in time. /// - /// Learn more about this API in the Elasticsearch documentation. + /// + /// A point in time must be opened explicitly before being used in search requests. + /// The keep_alive parameter tells Elasticsearch how long it should persist. + /// + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task OpenPointInTimeAsync(OpenPointInTimeRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -6577,14 +7346,21 @@ public virtual Task OpenPointInTimeAsync(Ope /// /// - /// A search request by default executes against the most recent visible data of the target indices, + /// Open a point in time. + /// + /// + /// A search request by default runs against the most recent visible data of the target indices, /// which is called point in time. Elasticsearch pit (point in time) is a lightweight view into the /// state of the data as it existed when initiated. In some cases, it’s preferred to perform multiple /// search requests using the same point in time. For example, if refreshes happen between /// search_after requests, then the results of those requests might not be consistent as changes happening /// between searches are only visible to the more recent point in time. /// - /// Learn more about this API in the Elasticsearch documentation. + /// + /// A point in time must be opened explicitly before being used in search requests. + /// The keep_alive parameter tells Elasticsearch how long it should persist. + /// + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task OpenPointInTimeAsync(Elastic.Clients.Elasticsearch.Indices indices, CancellationToken cancellationToken = default) { @@ -6595,14 +7371,21 @@ public virtual Task OpenPointInTimeAsync(Ela /// /// - /// A search request by default executes against the most recent visible data of the target indices, + /// Open a point in time. + /// + /// + /// A search request by default runs against the most recent visible data of the target indices, /// which is called point in time. Elasticsearch pit (point in time) is a lightweight view into the /// state of the data as it existed when initiated. In some cases, it’s preferred to perform multiple /// search requests using the same point in time. For example, if refreshes happen between /// search_after requests, then the results of those requests might not be consistent as changes happening /// between searches are only visible to the more recent point in time. /// - /// Learn more about this API in the Elasticsearch documentation. + /// + /// A point in time must be opened explicitly before being used in search requests. + /// The keep_alive parameter tells Elasticsearch how long it should persist. + /// + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task OpenPointInTimeAsync(Elastic.Clients.Elasticsearch.Indices indices, Action> configureRequest, CancellationToken cancellationToken = default) { @@ -6614,14 +7397,21 @@ public virtual Task OpenPointInTimeAsync(Ela /// /// - /// A search request by default executes against the most recent visible data of the target indices, + /// Open a point in time. + /// + /// + /// A search request by default runs against the most recent visible data of the target indices, /// which is called point in time. Elasticsearch pit (point in time) is a lightweight view into the /// state of the data as it existed when initiated. In some cases, it’s preferred to perform multiple /// search requests using the same point in time. For example, if refreshes happen between /// search_after requests, then the results of those requests might not be consistent as changes happening /// between searches are only visible to the more recent point in time. /// - /// Learn more about this API in the Elasticsearch documentation. + /// + /// A point in time must be opened explicitly before being used in search requests. + /// The keep_alive parameter tells Elasticsearch how long it should persist. + /// + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task OpenPointInTimeAsync(CancellationToken cancellationToken = default) { @@ -6632,14 +7422,21 @@ public virtual Task OpenPointInTimeAsync(Can /// /// - /// A search request by default executes against the most recent visible data of the target indices, + /// Open a point in time. + /// + /// + /// A search request by default runs against the most recent visible data of the target indices, /// which is called point in time. Elasticsearch pit (point in time) is a lightweight view into the /// state of the data as it existed when initiated. In some cases, it’s preferred to perform multiple /// search requests using the same point in time. For example, if refreshes happen between /// search_after requests, then the results of those requests might not be consistent as changes happening /// between searches are only visible to the more recent point in time. /// - /// Learn more about this API in the Elasticsearch documentation. + /// + /// A point in time must be opened explicitly before being used in search requests. + /// The keep_alive parameter tells Elasticsearch how long it should persist. + /// + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task OpenPointInTimeAsync(Action> configureRequest, CancellationToken cancellationToken = default) { @@ -6651,14 +7448,21 @@ public virtual Task OpenPointInTimeAsync(Act /// /// - /// A search request by default executes against the most recent visible data of the target indices, + /// Open a point in time. + /// + /// + /// A search request by default runs against the most recent visible data of the target indices, /// which is called point in time. Elasticsearch pit (point in time) is a lightweight view into the /// state of the data as it existed when initiated. In some cases, it’s preferred to perform multiple /// search requests using the same point in time. For example, if refreshes happen between /// search_after requests, then the results of those requests might not be consistent as changes happening /// between searches are only visible to the more recent point in time. /// - /// Learn more about this API in the Elasticsearch documentation. + /// + /// A point in time must be opened explicitly before being used in search requests. + /// The keep_alive parameter tells Elasticsearch how long it should persist. + /// + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task OpenPointInTimeAsync(OpenPointInTimeRequestDescriptor descriptor, CancellationToken cancellationToken = default) { @@ -6668,14 +7472,21 @@ public virtual Task OpenPointInTimeAsync(OpenPointInTim /// /// - /// A search request by default executes against the most recent visible data of the target indices, + /// Open a point in time. + /// + /// + /// A search request by default runs against the most recent visible data of the target indices, /// which is called point in time. Elasticsearch pit (point in time) is a lightweight view into the /// state of the data as it existed when initiated. In some cases, it’s preferred to perform multiple /// search requests using the same point in time. For example, if refreshes happen between /// search_after requests, then the results of those requests might not be consistent as changes happening /// between searches are only visible to the more recent point in time. /// - /// Learn more about this API in the Elasticsearch documentation. + /// + /// A point in time must be opened explicitly before being used in search requests. + /// The keep_alive parameter tells Elasticsearch how long it should persist. + /// + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task OpenPointInTimeAsync(Elastic.Clients.Elasticsearch.Indices indices, CancellationToken cancellationToken = default) { @@ -6686,14 +7497,21 @@ public virtual Task OpenPointInTimeAsync(Elastic.Client /// /// - /// A search request by default executes against the most recent visible data of the target indices, + /// Open a point in time. + /// + /// + /// A search request by default runs against the most recent visible data of the target indices, /// which is called point in time. Elasticsearch pit (point in time) is a lightweight view into the /// state of the data as it existed when initiated. In some cases, it’s preferred to perform multiple /// search requests using the same point in time. For example, if refreshes happen between /// search_after requests, then the results of those requests might not be consistent as changes happening /// between searches are only visible to the more recent point in time. /// - /// Learn more about this API in the Elasticsearch documentation. + /// + /// A point in time must be opened explicitly before being used in search requests. + /// The keep_alive parameter tells Elasticsearch how long it should persist. + /// + /// Learn more about this API in the Elasticsearch documentation. /// public virtual Task OpenPointInTimeAsync(Elastic.Clients.Elasticsearch.Indices indices, Action configureRequest, CancellationToken cancellationToken = default) { @@ -7140,7 +7958,10 @@ public virtual Task PutScriptAsync(Elastic.Clients.Elasticsea /// /// - /// Enables you to evaluate the quality of ranked search results over a set of typical search queries. + /// Evaluate ranked search results. + /// + /// + /// Evaluate the quality of ranked search results over a set of typical search queries. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -7153,7 +7974,10 @@ public virtual RankEvalResponse RankEval(RankEvalRequest request) /// /// - /// Enables you to evaluate the quality of ranked search results over a set of typical search queries. + /// Evaluate ranked search results. + /// + /// + /// Evaluate the quality of ranked search results over a set of typical search queries. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -7165,7 +7989,10 @@ public virtual Task RankEvalAsync(RankEvalRequest request, Can /// /// - /// Enables you to evaluate the quality of ranked search results over a set of typical search queries. + /// Evaluate ranked search results. + /// + /// + /// Evaluate the quality of ranked search results over a set of typical search queries. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -7178,7 +8005,10 @@ public virtual RankEvalResponse RankEval(RankEvalRequestDescriptor /// - /// Enables you to evaluate the quality of ranked search results over a set of typical search queries. + /// Evaluate ranked search results. + /// + /// + /// Evaluate the quality of ranked search results over a set of typical search queries. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -7192,7 +8022,10 @@ public virtual RankEvalResponse RankEval(Elastic.Clients.Elasticsearc /// /// - /// Enables you to evaluate the quality of ranked search results over a set of typical search queries. + /// Evaluate ranked search results. + /// + /// + /// Evaluate the quality of ranked search results over a set of typical search queries. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -7207,7 +8040,10 @@ public virtual RankEvalResponse RankEval(Elastic.Clients.Elasticsearc /// /// - /// Enables you to evaluate the quality of ranked search results over a set of typical search queries. + /// Evaluate ranked search results. + /// + /// + /// Evaluate the quality of ranked search results over a set of typical search queries. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -7221,7 +8057,10 @@ public virtual RankEvalResponse RankEval() /// /// - /// Enables you to evaluate the quality of ranked search results over a set of typical search queries. + /// Evaluate ranked search results. + /// + /// + /// Evaluate the quality of ranked search results over a set of typical search queries. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -7236,7 +8075,10 @@ public virtual RankEvalResponse RankEval(Action /// - /// Enables you to evaluate the quality of ranked search results over a set of typical search queries. + /// Evaluate ranked search results. + /// + /// + /// Evaluate the quality of ranked search results over a set of typical search queries. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -7249,7 +8091,10 @@ public virtual RankEvalResponse RankEval(RankEvalRequestDescriptor descriptor) /// /// - /// Enables you to evaluate the quality of ranked search results over a set of typical search queries. + /// Evaluate ranked search results. + /// + /// + /// Evaluate the quality of ranked search results over a set of typical search queries. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -7263,7 +8108,10 @@ public virtual RankEvalResponse RankEval(Elastic.Clients.Elasticsearch.Indices? /// /// - /// Enables you to evaluate the quality of ranked search results over a set of typical search queries. + /// Evaluate ranked search results. + /// + /// + /// Evaluate the quality of ranked search results over a set of typical search queries. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -7278,7 +8126,10 @@ public virtual RankEvalResponse RankEval(Elastic.Clients.Elasticsearch.Indices? /// /// - /// Enables you to evaluate the quality of ranked search results over a set of typical search queries. + /// Evaluate ranked search results. + /// + /// + /// Evaluate the quality of ranked search results over a set of typical search queries. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -7292,7 +8143,10 @@ public virtual RankEvalResponse RankEval() /// /// - /// Enables you to evaluate the quality of ranked search results over a set of typical search queries. + /// Evaluate ranked search results. + /// + /// + /// Evaluate the quality of ranked search results over a set of typical search queries. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -7307,7 +8161,10 @@ public virtual RankEvalResponse RankEval(Action confi /// /// - /// Enables you to evaluate the quality of ranked search results over a set of typical search queries. + /// Evaluate ranked search results. + /// + /// + /// Evaluate the quality of ranked search results over a set of typical search queries. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -7319,7 +8176,10 @@ public virtual Task RankEvalAsync(RankEvalRequestDe /// /// - /// Enables you to evaluate the quality of ranked search results over a set of typical search queries. + /// Evaluate ranked search results. + /// + /// + /// Evaluate the quality of ranked search results over a set of typical search queries. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -7332,7 +8192,10 @@ public virtual Task RankEvalAsync(Elastic.Clients.E /// /// - /// Enables you to evaluate the quality of ranked search results over a set of typical search queries. + /// Evaluate ranked search results. + /// + /// + /// Evaluate the quality of ranked search results over a set of typical search queries. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -7346,7 +8209,10 @@ public virtual Task RankEvalAsync(Elastic.Clients.E /// /// - /// Enables you to evaluate the quality of ranked search results over a set of typical search queries. + /// Evaluate ranked search results. + /// + /// + /// Evaluate the quality of ranked search results over a set of typical search queries. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -7359,7 +8225,10 @@ public virtual Task RankEvalAsync(CancellationToken /// /// - /// Enables you to evaluate the quality of ranked search results over a set of typical search queries. + /// Evaluate ranked search results. + /// + /// + /// Evaluate the quality of ranked search results over a set of typical search queries. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -7373,7 +8242,10 @@ public virtual Task RankEvalAsync(Action /// - /// Enables you to evaluate the quality of ranked search results over a set of typical search queries. + /// Evaluate ranked search results. + /// + /// + /// Evaluate the quality of ranked search results over a set of typical search queries. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -7385,7 +8257,10 @@ public virtual Task RankEvalAsync(RankEvalRequestDescriptor de /// /// - /// Enables you to evaluate the quality of ranked search results over a set of typical search queries. + /// Evaluate ranked search results. + /// + /// + /// Evaluate the quality of ranked search results over a set of typical search queries. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -7398,7 +8273,10 @@ public virtual Task RankEvalAsync(Elastic.Clients.Elasticsearc /// /// - /// Enables you to evaluate the quality of ranked search results over a set of typical search queries. + /// Evaluate ranked search results. + /// + /// + /// Evaluate the quality of ranked search results over a set of typical search queries. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -7412,7 +8290,10 @@ public virtual Task RankEvalAsync(Elastic.Clients.Elasticsearc /// /// - /// Enables you to evaluate the quality of ranked search results over a set of typical search queries. + /// Evaluate ranked search results. + /// + /// + /// Evaluate the quality of ranked search results over a set of typical search queries. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -7425,7 +8306,10 @@ public virtual Task RankEvalAsync(CancellationToken cancellati /// /// - /// Enables you to evaluate the quality of ranked search results over a set of typical search queries. + /// Evaluate ranked search results. + /// + /// + /// Evaluate the quality of ranked search results over a set of typical search queries. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -7640,7 +8524,10 @@ public virtual Task ReindexAsync(Action /// - /// Copies documents from a source to a destination. + /// Throttle a reindex operation. + /// + /// + /// Change the number of requests per second for a particular reindex operation. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -7653,7 +8540,10 @@ public virtual ReindexRethrottleResponse ReindexRethrottle(ReindexRethrottleRequ /// /// - /// Copies documents from a source to a destination. + /// Throttle a reindex operation. + /// + /// + /// Change the number of requests per second for a particular reindex operation. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -7665,7 +8555,10 @@ public virtual Task ReindexRethrottleAsync(ReindexRet /// /// - /// Copies documents from a source to a destination. + /// Throttle a reindex operation. + /// + /// + /// Change the number of requests per second for a particular reindex operation. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -7678,7 +8571,10 @@ public virtual ReindexRethrottleResponse ReindexRethrottle(ReindexRethrottleRequ /// /// - /// Copies documents from a source to a destination. + /// Throttle a reindex operation. + /// + /// + /// Change the number of requests per second for a particular reindex operation. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -7692,7 +8588,10 @@ public virtual ReindexRethrottleResponse ReindexRethrottle(Elastic.Clients.Elast /// /// - /// Copies documents from a source to a destination. + /// Throttle a reindex operation. + /// + /// + /// Change the number of requests per second for a particular reindex operation. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -7707,7 +8606,10 @@ public virtual ReindexRethrottleResponse ReindexRethrottle(Elastic.Clients.Elast /// /// - /// Copies documents from a source to a destination. + /// Throttle a reindex operation. + /// + /// + /// Change the number of requests per second for a particular reindex operation. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -7719,7 +8621,10 @@ public virtual Task ReindexRethrottleAsync(ReindexRet /// /// - /// Copies documents from a source to a destination. + /// Throttle a reindex operation. + /// + /// + /// Change the number of requests per second for a particular reindex operation. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -7732,7 +8637,10 @@ public virtual Task ReindexRethrottleAsync(Elastic.Cl /// /// - /// Copies documents from a source to a destination. + /// Throttle a reindex operation. + /// + /// + /// Change the number of requests per second for a particular reindex operation. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -7746,7 +8654,10 @@ public virtual Task ReindexRethrottleAsync(Elastic.Cl /// /// - /// Renders a search template as a search request body. + /// Render a search template. + /// + /// + /// Render a search template as a search request body. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -7759,7 +8670,10 @@ public virtual RenderSearchTemplateResponse RenderSearchTemplate(RenderSearchTem /// /// - /// Renders a search template as a search request body. + /// Render a search template. + /// + /// + /// Render a search template as a search request body. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -7771,7 +8685,10 @@ public virtual Task RenderSearchTemplateAsync(Rend /// /// - /// Renders a search template as a search request body. + /// Render a search template. + /// + /// + /// Render a search template as a search request body. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -7784,7 +8701,10 @@ public virtual RenderSearchTemplateResponse RenderSearchTemplate(Rend /// /// - /// Renders a search template as a search request body. + /// Render a search template. + /// + /// + /// Render a search template as a search request body. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -7798,7 +8718,10 @@ public virtual RenderSearchTemplateResponse RenderSearchTemplate(Elas /// /// - /// Renders a search template as a search request body. + /// Render a search template. + /// + /// + /// Render a search template as a search request body. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -7813,7 +8736,10 @@ public virtual RenderSearchTemplateResponse RenderSearchTemplate(Elas /// /// - /// Renders a search template as a search request body. + /// Render a search template. + /// + /// + /// Render a search template as a search request body. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -7827,7 +8753,10 @@ public virtual RenderSearchTemplateResponse RenderSearchTemplate() /// /// - /// Renders a search template as a search request body. + /// Render a search template. + /// + /// + /// Render a search template as a search request body. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -7842,7 +8771,10 @@ public virtual RenderSearchTemplateResponse RenderSearchTemplate(Acti /// /// - /// Renders a search template as a search request body. + /// Render a search template. + /// + /// + /// Render a search template as a search request body. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -7855,7 +8787,10 @@ public virtual RenderSearchTemplateResponse RenderSearchTemplate(RenderSearchTem /// /// - /// Renders a search template as a search request body. + /// Render a search template. + /// + /// + /// Render a search template as a search request body. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -7869,7 +8804,10 @@ public virtual RenderSearchTemplateResponse RenderSearchTemplate(Elastic.Clients /// /// - /// Renders a search template as a search request body. + /// Render a search template. + /// + /// + /// Render a search template as a search request body. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -7884,7 +8822,10 @@ public virtual RenderSearchTemplateResponse RenderSearchTemplate(Elastic.Clients /// /// - /// Renders a search template as a search request body. + /// Render a search template. + /// + /// + /// Render a search template as a search request body. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -7898,7 +8839,10 @@ public virtual RenderSearchTemplateResponse RenderSearchTemplate() /// /// - /// Renders a search template as a search request body. + /// Render a search template. + /// + /// + /// Render a search template as a search request body. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -7913,7 +8857,10 @@ public virtual RenderSearchTemplateResponse RenderSearchTemplate(Action /// - /// Renders a search template as a search request body. + /// Render a search template. + /// + /// + /// Render a search template as a search request body. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -7925,7 +8872,10 @@ public virtual Task RenderSearchTemplateAsync /// - /// Renders a search template as a search request body. + /// Render a search template. + /// + /// + /// Render a search template as a search request body. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -7938,7 +8888,10 @@ public virtual Task RenderSearchTemplateAsync /// - /// Renders a search template as a search request body. + /// Render a search template. + /// + /// + /// Render a search template as a search request body. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -7952,7 +8905,10 @@ public virtual Task RenderSearchTemplateAsync /// - /// Renders a search template as a search request body. + /// Render a search template. + /// + /// + /// Render a search template as a search request body. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -7965,7 +8921,10 @@ public virtual Task RenderSearchTemplateAsync /// - /// Renders a search template as a search request body. + /// Render a search template. + /// + /// + /// Render a search template as a search request body. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -7979,7 +8938,10 @@ public virtual Task RenderSearchTemplateAsync /// - /// Renders a search template as a search request body. + /// Render a search template. + /// + /// + /// Render a search template as a search request body. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -7991,7 +8953,10 @@ public virtual Task RenderSearchTemplateAsync(Rend /// /// - /// Renders a search template as a search request body. + /// Render a search template. + /// + /// + /// Render a search template as a search request body. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -8004,7 +8969,10 @@ public virtual Task RenderSearchTemplateAsync(Elas /// /// - /// Renders a search template as a search request body. + /// Render a search template. + /// + /// + /// Render a search template as a search request body. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -8018,7 +8986,10 @@ public virtual Task RenderSearchTemplateAsync(Elas /// /// - /// Renders a search template as a search request body. + /// Render a search template. + /// + /// + /// Render a search template as a search request body. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -8031,7 +9002,10 @@ public virtual Task RenderSearchTemplateAsync(Canc /// /// - /// Renders a search template as a search request body. + /// Render a search template. + /// + /// + /// Render a search template as a search request body. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -8159,7 +9133,24 @@ public virtual Task> ScriptsPainlessExec /// /// - /// Allows to retrieve a large numbers of results from a single search request. + /// Run a scrolling search. + /// + /// + /// IMPORTANT: The scroll API is no longer recommend for deep pagination. If you need to preserve the index state while paging through more than 10,000 hits, use the search_after parameter with a point in time (PIT). + /// + /// + /// The scroll API gets large sets of results from a single scrolling search request. + /// To get the necessary scroll ID, submit a search API request that includes an argument for the scroll query parameter. + /// The scroll parameter indicates how long Elasticsearch should retain the search context for the request. + /// The search response returns a scroll ID in the _scroll_id response body parameter. + /// You can then use the scroll ID with the scroll API to retrieve the next batch of results for the request. + /// If the Elasticsearch security features are enabled, the access to the results of a specific scroll ID is restricted to the user or API key that submitted the search. + /// + /// + /// You can also use the scroll API to specify a new scroll parameter that extends or shortens the retention period for the search context. + /// + /// + /// IMPORTANT: Results from a scrolling search reflect the state of the index at the time of the initial search request. Subsequent indexing or document changes only affect later search and scroll requests. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -8172,7 +9163,24 @@ public virtual ScrollResponse Scroll(ScrollRequest request /// /// - /// Allows to retrieve a large numbers of results from a single search request. + /// Run a scrolling search. + /// + /// + /// IMPORTANT: The scroll API is no longer recommend for deep pagination. If you need to preserve the index state while paging through more than 10,000 hits, use the search_after parameter with a point in time (PIT). + /// + /// + /// The scroll API gets large sets of results from a single scrolling search request. + /// To get the necessary scroll ID, submit a search API request that includes an argument for the scroll query parameter. + /// The scroll parameter indicates how long Elasticsearch should retain the search context for the request. + /// The search response returns a scroll ID in the _scroll_id response body parameter. + /// You can then use the scroll ID with the scroll API to retrieve the next batch of results for the request. + /// If the Elasticsearch security features are enabled, the access to the results of a specific scroll ID is restricted to the user or API key that submitted the search. + /// + /// + /// You can also use the scroll API to specify a new scroll parameter that extends or shortens the retention period for the search context. + /// + /// + /// IMPORTANT: Results from a scrolling search reflect the state of the index at the time of the initial search request. Subsequent indexing or document changes only affect later search and scroll requests. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -8184,7 +9192,10 @@ public virtual Task> ScrollAsync(ScrollRequ /// /// - /// Returns search hits that match the query defined in the request. + /// Run a search. + /// + /// + /// Get search hits that match the query defined in the request. /// You can provide search queries using the q query string parameter or the request body. /// If both are specified, only the query parameter is used. /// @@ -8199,7 +9210,10 @@ public virtual SearchResponse Search(SearchRequest request /// /// - /// Returns search hits that match the query defined in the request. + /// Run a search. + /// + /// + /// Get search hits that match the query defined in the request. /// You can provide search queries using the q query string parameter or the request body. /// If both are specified, only the query parameter is used. /// @@ -8213,7 +9227,10 @@ public virtual Task> SearchAsync(SearchRequ /// /// - /// Returns search hits that match the query defined in the request. + /// Run a search. + /// + /// + /// Get search hits that match the query defined in the request. /// You can provide search queries using the q query string parameter or the request body. /// If both are specified, only the query parameter is used. /// @@ -8228,7 +9245,10 @@ public virtual SearchResponse Search(SearchRequestDescript /// /// - /// Returns search hits that match the query defined in the request. + /// Run a search. + /// + /// + /// Get search hits that match the query defined in the request. /// You can provide search queries using the q query string parameter or the request body. /// If both are specified, only the query parameter is used. /// @@ -8244,7 +9264,10 @@ public virtual SearchResponse Search(Elastic.Clients.Elast /// /// - /// Returns search hits that match the query defined in the request. + /// Run a search. + /// + /// + /// Get search hits that match the query defined in the request. /// You can provide search queries using the q query string parameter or the request body. /// If both are specified, only the query parameter is used. /// @@ -8261,7 +9284,10 @@ public virtual SearchResponse Search(Elastic.Clients.Elast /// /// - /// Returns search hits that match the query defined in the request. + /// Run a search. + /// + /// + /// Get search hits that match the query defined in the request. /// You can provide search queries using the q query string parameter or the request body. /// If both are specified, only the query parameter is used. /// @@ -8277,7 +9303,10 @@ public virtual SearchResponse Search() /// /// - /// Returns search hits that match the query defined in the request. + /// Run a search. + /// + /// + /// Get search hits that match the query defined in the request. /// You can provide search queries using the q query string parameter or the request body. /// If both are specified, only the query parameter is used. /// @@ -8294,7 +9323,10 @@ public virtual SearchResponse Search(Action /// - /// Returns search hits that match the query defined in the request. + /// Run a search. + /// + /// + /// Get search hits that match the query defined in the request. /// You can provide search queries using the q query string parameter or the request body. /// If both are specified, only the query parameter is used. /// @@ -8308,7 +9340,10 @@ public virtual Task> SearchAsync(SearchRequ /// /// - /// Returns search hits that match the query defined in the request. + /// Run a search. + /// + /// + /// Get search hits that match the query defined in the request. /// You can provide search queries using the q query string parameter or the request body. /// If both are specified, only the query parameter is used. /// @@ -8323,7 +9358,10 @@ public virtual Task> SearchAsync(Elastic.Cl /// /// - /// Returns search hits that match the query defined in the request. + /// Run a search. + /// + /// + /// Get search hits that match the query defined in the request. /// You can provide search queries using the q query string parameter or the request body. /// If both are specified, only the query parameter is used. /// @@ -8339,7 +9377,10 @@ public virtual Task> SearchAsync(Elastic.Cl /// /// - /// Returns search hits that match the query defined in the request. + /// Run a search. + /// + /// + /// Get search hits that match the query defined in the request. /// You can provide search queries using the q query string parameter or the request body. /// If both are specified, only the query parameter is used. /// @@ -8354,7 +9395,10 @@ public virtual Task> SearchAsync(Cancellati /// /// - /// Returns search hits that match the query defined in the request. + /// Run a search. + /// + /// + /// Get search hits that match the query defined in the request. /// You can provide search queries using the q query string parameter or the request body. /// If both are specified, only the query parameter is used. /// @@ -8371,7 +9415,9 @@ public virtual Task> SearchAsync(Action /// /// Search a vector tile. - /// Searches a vector tile for geospatial values. + /// + /// + /// Search a vector tile for geospatial values. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -8385,7 +9431,9 @@ public virtual SearchMvtResponse SearchMvt(SearchMvtRequest request) /// /// /// Search a vector tile. - /// Searches a vector tile for geospatial values. + /// + /// + /// Search a vector tile for geospatial values. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -8398,7 +9446,9 @@ public virtual Task SearchMvtAsync(SearchMvtRequest request, /// /// /// Search a vector tile. - /// Searches a vector tile for geospatial values. + /// + /// + /// Search a vector tile for geospatial values. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -8412,7 +9462,9 @@ public virtual SearchMvtResponse SearchMvt(SearchMvtRequestDescriptor /// /// /// Search a vector tile. - /// Searches a vector tile for geospatial values. + /// + /// + /// Search a vector tile for geospatial values. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -8427,7 +9479,9 @@ public virtual SearchMvtResponse SearchMvt(Elastic.Clients.Elasticsea /// /// /// Search a vector tile. - /// Searches a vector tile for geospatial values. + /// + /// + /// Search a vector tile for geospatial values. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -8443,7 +9497,9 @@ public virtual SearchMvtResponse SearchMvt(Elastic.Clients.Elasticsea /// /// /// Search a vector tile. - /// Searches a vector tile for geospatial values. + /// + /// + /// Search a vector tile for geospatial values. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -8458,7 +9514,9 @@ public virtual SearchMvtResponse SearchMvt(Elastic.Clients.Elasticsea /// /// /// Search a vector tile. - /// Searches a vector tile for geospatial values. + /// + /// + /// Search a vector tile for geospatial values. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -8474,7 +9532,9 @@ public virtual SearchMvtResponse SearchMvt(Elastic.Clients.Elasticsea /// /// /// Search a vector tile. - /// Searches a vector tile for geospatial values. + /// + /// + /// Search a vector tile for geospatial values. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -8488,7 +9548,9 @@ public virtual SearchMvtResponse SearchMvt(SearchMvtRequestDescriptor descriptor /// /// /// Search a vector tile. - /// Searches a vector tile for geospatial values. + /// + /// + /// Search a vector tile for geospatial values. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -8503,7 +9565,9 @@ public virtual SearchMvtResponse SearchMvt(Elastic.Clients.Elasticsearch.Indices /// /// /// Search a vector tile. - /// Searches a vector tile for geospatial values. + /// + /// + /// Search a vector tile for geospatial values. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -8519,7 +9583,9 @@ public virtual SearchMvtResponse SearchMvt(Elastic.Clients.Elasticsearch.Indices /// /// /// Search a vector tile. - /// Searches a vector tile for geospatial values. + /// + /// + /// Search a vector tile for geospatial values. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -8532,7 +9598,9 @@ public virtual Task SearchMvtAsync(SearchMvtReques /// /// /// Search a vector tile. - /// Searches a vector tile for geospatial values. + /// + /// + /// Search a vector tile for geospatial values. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -8546,7 +9614,9 @@ public virtual Task SearchMvtAsync(Elastic.Clients /// /// /// Search a vector tile. - /// Searches a vector tile for geospatial values. + /// + /// + /// Search a vector tile for geospatial values. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -8561,7 +9631,9 @@ public virtual Task SearchMvtAsync(Elastic.Clients /// /// /// Search a vector tile. - /// Searches a vector tile for geospatial values. + /// + /// + /// Search a vector tile for geospatial values. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -8575,7 +9647,9 @@ public virtual Task SearchMvtAsync(Elastic.Clients /// /// /// Search a vector tile. - /// Searches a vector tile for geospatial values. + /// + /// + /// Search a vector tile for geospatial values. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -8590,7 +9664,9 @@ public virtual Task SearchMvtAsync(Elastic.Clients /// /// /// Search a vector tile. - /// Searches a vector tile for geospatial values. + /// + /// + /// Search a vector tile for geospatial values. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -8603,7 +9679,9 @@ public virtual Task SearchMvtAsync(SearchMvtRequestDescriptor /// /// /// Search a vector tile. - /// Searches a vector tile for geospatial values. + /// + /// + /// Search a vector tile for geospatial values. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -8617,7 +9695,9 @@ public virtual Task SearchMvtAsync(Elastic.Clients.Elasticsea /// /// /// Search a vector tile. - /// Searches a vector tile for geospatial values. + /// + /// + /// Search a vector tile for geospatial values. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -8631,7 +9711,12 @@ public virtual Task SearchMvtAsync(Elastic.Clients.Elasticsea /// /// - /// Returns information about the indices and shards that a search request would be executed against. + /// Get the search shards. + /// + /// + /// Get the indices and shards that a search request would be run against. + /// This information can be useful for working out issues or planning optimizations with routing and shard preferences. + /// When filtered aliases are used, the filter is returned as part of the indices section. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -8644,7 +9729,12 @@ public virtual SearchShardsResponse SearchShards(SearchShardsRequest request) /// /// - /// Returns information about the indices and shards that a search request would be executed against. + /// Get the search shards. + /// + /// + /// Get the indices and shards that a search request would be run against. + /// This information can be useful for working out issues or planning optimizations with routing and shard preferences. + /// When filtered aliases are used, the filter is returned as part of the indices section. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -8656,7 +9746,12 @@ public virtual Task SearchShardsAsync(SearchShardsRequest /// /// - /// Returns information about the indices and shards that a search request would be executed against. + /// Get the search shards. + /// + /// + /// Get the indices and shards that a search request would be run against. + /// This information can be useful for working out issues or planning optimizations with routing and shard preferences. + /// When filtered aliases are used, the filter is returned as part of the indices section. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -8669,7 +9764,12 @@ public virtual SearchShardsResponse SearchShards(SearchShardsRequestD /// /// - /// Returns information about the indices and shards that a search request would be executed against. + /// Get the search shards. + /// + /// + /// Get the indices and shards that a search request would be run against. + /// This information can be useful for working out issues or planning optimizations with routing and shard preferences. + /// When filtered aliases are used, the filter is returned as part of the indices section. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -8683,7 +9783,12 @@ public virtual SearchShardsResponse SearchShards(Elastic.Clients.Elas /// /// - /// Returns information about the indices and shards that a search request would be executed against. + /// Get the search shards. + /// + /// + /// Get the indices and shards that a search request would be run against. + /// This information can be useful for working out issues or planning optimizations with routing and shard preferences. + /// When filtered aliases are used, the filter is returned as part of the indices section. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -8698,7 +9803,12 @@ public virtual SearchShardsResponse SearchShards(Elastic.Clients.Elas /// /// - /// Returns information about the indices and shards that a search request would be executed against. + /// Get the search shards. + /// + /// + /// Get the indices and shards that a search request would be run against. + /// This information can be useful for working out issues or planning optimizations with routing and shard preferences. + /// When filtered aliases are used, the filter is returned as part of the indices section. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -8712,7 +9822,12 @@ public virtual SearchShardsResponse SearchShards() /// /// - /// Returns information about the indices and shards that a search request would be executed against. + /// Get the search shards. + /// + /// + /// Get the indices and shards that a search request would be run against. + /// This information can be useful for working out issues or planning optimizations with routing and shard preferences. + /// When filtered aliases are used, the filter is returned as part of the indices section. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -8727,7 +9842,12 @@ public virtual SearchShardsResponse SearchShards(Action /// - /// Returns information about the indices and shards that a search request would be executed against. + /// Get the search shards. + /// + /// + /// Get the indices and shards that a search request would be run against. + /// This information can be useful for working out issues or planning optimizations with routing and shard preferences. + /// When filtered aliases are used, the filter is returned as part of the indices section. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -8740,7 +9860,12 @@ public virtual SearchShardsResponse SearchShards(SearchShardsRequestDescriptor d /// /// - /// Returns information about the indices and shards that a search request would be executed against. + /// Get the search shards. + /// + /// + /// Get the indices and shards that a search request would be run against. + /// This information can be useful for working out issues or planning optimizations with routing and shard preferences. + /// When filtered aliases are used, the filter is returned as part of the indices section. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -8754,7 +9879,12 @@ public virtual SearchShardsResponse SearchShards(Elastic.Clients.Elasticsearch.I /// /// - /// Returns information about the indices and shards that a search request would be executed against. + /// Get the search shards. + /// + /// + /// Get the indices and shards that a search request would be run against. + /// This information can be useful for working out issues or planning optimizations with routing and shard preferences. + /// When filtered aliases are used, the filter is returned as part of the indices section. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -8769,7 +9899,12 @@ public virtual SearchShardsResponse SearchShards(Elastic.Clients.Elasticsearch.I /// /// - /// Returns information about the indices and shards that a search request would be executed against. + /// Get the search shards. + /// + /// + /// Get the indices and shards that a search request would be run against. + /// This information can be useful for working out issues or planning optimizations with routing and shard preferences. + /// When filtered aliases are used, the filter is returned as part of the indices section. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -8783,7 +9918,12 @@ public virtual SearchShardsResponse SearchShards() /// /// - /// Returns information about the indices and shards that a search request would be executed against. + /// Get the search shards. + /// + /// + /// Get the indices and shards that a search request would be run against. + /// This information can be useful for working out issues or planning optimizations with routing and shard preferences. + /// When filtered aliases are used, the filter is returned as part of the indices section. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -8798,7 +9938,12 @@ public virtual SearchShardsResponse SearchShards(Action /// - /// Returns information about the indices and shards that a search request would be executed against. + /// Get the search shards. + /// + /// + /// Get the indices and shards that a search request would be run against. + /// This information can be useful for working out issues or planning optimizations with routing and shard preferences. + /// When filtered aliases are used, the filter is returned as part of the indices section. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -8810,7 +9955,12 @@ public virtual Task SearchShardsAsync(SearchSha /// /// - /// Returns information about the indices and shards that a search request would be executed against. + /// Get the search shards. + /// + /// + /// Get the indices and shards that a search request would be run against. + /// This information can be useful for working out issues or planning optimizations with routing and shard preferences. + /// When filtered aliases are used, the filter is returned as part of the indices section. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -8823,7 +9973,12 @@ public virtual Task SearchShardsAsync(Elastic.C /// /// - /// Returns information about the indices and shards that a search request would be executed against. + /// Get the search shards. + /// + /// + /// Get the indices and shards that a search request would be run against. + /// This information can be useful for working out issues or planning optimizations with routing and shard preferences. + /// When filtered aliases are used, the filter is returned as part of the indices section. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -8837,7 +9992,12 @@ public virtual Task SearchShardsAsync(Elastic.C /// /// - /// Returns information about the indices and shards that a search request would be executed against. + /// Get the search shards. + /// + /// + /// Get the indices and shards that a search request would be run against. + /// This information can be useful for working out issues or planning optimizations with routing and shard preferences. + /// When filtered aliases are used, the filter is returned as part of the indices section. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -8850,7 +10010,12 @@ public virtual Task SearchShardsAsync(Cancellat /// /// - /// Returns information about the indices and shards that a search request would be executed against. + /// Get the search shards. + /// + /// + /// Get the indices and shards that a search request would be run against. + /// This information can be useful for working out issues or planning optimizations with routing and shard preferences. + /// When filtered aliases are used, the filter is returned as part of the indices section. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -8864,7 +10029,12 @@ public virtual Task SearchShardsAsync(Action /// - /// Returns information about the indices and shards that a search request would be executed against. + /// Get the search shards. + /// + /// + /// Get the indices and shards that a search request would be run against. + /// This information can be useful for working out issues or planning optimizations with routing and shard preferences. + /// When filtered aliases are used, the filter is returned as part of the indices section. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -8876,7 +10046,12 @@ public virtual Task SearchShardsAsync(SearchShardsRequestD /// /// - /// Returns information about the indices and shards that a search request would be executed against. + /// Get the search shards. + /// + /// + /// Get the indices and shards that a search request would be run against. + /// This information can be useful for working out issues or planning optimizations with routing and shard preferences. + /// When filtered aliases are used, the filter is returned as part of the indices section. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -8889,7 +10064,12 @@ public virtual Task SearchShardsAsync(Elastic.Clients.Elas /// /// - /// Returns information about the indices and shards that a search request would be executed against. + /// Get the search shards. + /// + /// + /// Get the indices and shards that a search request would be run against. + /// This information can be useful for working out issues or planning optimizations with routing and shard preferences. + /// When filtered aliases are used, the filter is returned as part of the indices section. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -8903,7 +10083,12 @@ public virtual Task SearchShardsAsync(Elastic.Clients.Elas /// /// - /// Returns information about the indices and shards that a search request would be executed against. + /// Get the search shards. + /// + /// + /// Get the indices and shards that a search request would be run against. + /// This information can be useful for working out issues or planning optimizations with routing and shard preferences. + /// When filtered aliases are used, the filter is returned as part of the indices section. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -8916,7 +10101,12 @@ public virtual Task SearchShardsAsync(CancellationToken ca /// /// - /// Returns information about the indices and shards that a search request would be executed against. + /// Get the search shards. + /// + /// + /// Get the indices and shards that a search request would be run against. + /// This information can be useful for working out issues or planning optimizations with routing and shard preferences. + /// When filtered aliases are used, the filter is returned as part of the indices section. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -8930,7 +10120,7 @@ public virtual Task SearchShardsAsync(Action /// - /// Runs a search with a search template. + /// Run a search with a search template. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -8943,7 +10133,7 @@ public virtual SearchTemplateResponse SearchTemplate(Searc /// /// - /// Runs a search with a search template. + /// Run a search with a search template. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -8955,7 +10145,7 @@ public virtual Task> SearchTemplateAsync /// - /// Runs a search with a search template. + /// Run a search with a search template. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -8968,7 +10158,7 @@ public virtual SearchTemplateResponse SearchTemplate(Searc /// /// - /// Runs a search with a search template. + /// Run a search with a search template. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -8982,7 +10172,7 @@ public virtual SearchTemplateResponse SearchTemplate(Elast /// /// - /// Runs a search with a search template. + /// Run a search with a search template. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -8997,7 +10187,7 @@ public virtual SearchTemplateResponse SearchTemplate(Elast /// /// - /// Runs a search with a search template. + /// Run a search with a search template. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -9011,7 +10201,7 @@ public virtual SearchTemplateResponse SearchTemplate() /// /// - /// Runs a search with a search template. + /// Run a search with a search template. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -9026,7 +10216,7 @@ public virtual SearchTemplateResponse SearchTemplate(Actio /// /// - /// Runs a search with a search template. + /// Run a search with a search template. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -9038,7 +10228,7 @@ public virtual Task> SearchTemplateAsync /// - /// Runs a search with a search template. + /// Run a search with a search template. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -9051,7 +10241,7 @@ public virtual Task> SearchTemplateAsync /// - /// Runs a search with a search template. + /// Run a search with a search template. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -9065,7 +10255,7 @@ public virtual Task> SearchTemplateAsync /// - /// Runs a search with a search template. + /// Run a search with a search template. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -9078,7 +10268,7 @@ public virtual Task> SearchTemplateAsync /// - /// Runs a search with a search template. + /// Run a search with a search template. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -9092,7 +10282,18 @@ public virtual Task> SearchTemplateAsync /// - /// The terms enum API can be used to discover terms in the index that begin with the provided string. It is designed for low-latency look-ups used in auto-complete scenarios. + /// Get terms in an index. + /// + /// + /// Discover terms that match a partial string in an index. + /// This "terms enum" API is designed for low-latency look-ups used in auto-complete scenarios. + /// + /// + /// If the complete property in the response is false, the returned terms set may be incomplete and should be treated as approximate. + /// This can occur due to a few reasons, such as a request timeout or a node error. + /// + /// + /// NOTE: The terms enum API may return terms from deleted documents. Deleted documents are initially only marked as deleted. It is not until their segments are merged that documents are actually deleted. Until that happens, the terms enum API will return terms from these documents. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -9105,7 +10306,18 @@ public virtual TermsEnumResponse TermsEnum(TermsEnumRequest request) /// /// - /// The terms enum API can be used to discover terms in the index that begin with the provided string. It is designed for low-latency look-ups used in auto-complete scenarios. + /// Get terms in an index. + /// + /// + /// Discover terms that match a partial string in an index. + /// This "terms enum" API is designed for low-latency look-ups used in auto-complete scenarios. + /// + /// + /// If the complete property in the response is false, the returned terms set may be incomplete and should be treated as approximate. + /// This can occur due to a few reasons, such as a request timeout or a node error. + /// + /// + /// NOTE: The terms enum API may return terms from deleted documents. Deleted documents are initially only marked as deleted. It is not until their segments are merged that documents are actually deleted. Until that happens, the terms enum API will return terms from these documents. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -9117,7 +10329,18 @@ public virtual Task TermsEnumAsync(TermsEnumRequest request, /// /// - /// The terms enum API can be used to discover terms in the index that begin with the provided string. It is designed for low-latency look-ups used in auto-complete scenarios. + /// Get terms in an index. + /// + /// + /// Discover terms that match a partial string in an index. + /// This "terms enum" API is designed for low-latency look-ups used in auto-complete scenarios. + /// + /// + /// If the complete property in the response is false, the returned terms set may be incomplete and should be treated as approximate. + /// This can occur due to a few reasons, such as a request timeout or a node error. + /// + /// + /// NOTE: The terms enum API may return terms from deleted documents. Deleted documents are initially only marked as deleted. It is not until their segments are merged that documents are actually deleted. Until that happens, the terms enum API will return terms from these documents. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -9130,7 +10353,18 @@ public virtual TermsEnumResponse TermsEnum(TermsEnumRequestDescriptor /// /// - /// The terms enum API can be used to discover terms in the index that begin with the provided string. It is designed for low-latency look-ups used in auto-complete scenarios. + /// Get terms in an index. + /// + /// + /// Discover terms that match a partial string in an index. + /// This "terms enum" API is designed for low-latency look-ups used in auto-complete scenarios. + /// + /// + /// If the complete property in the response is false, the returned terms set may be incomplete and should be treated as approximate. + /// This can occur due to a few reasons, such as a request timeout or a node error. + /// + /// + /// NOTE: The terms enum API may return terms from deleted documents. Deleted documents are initially only marked as deleted. It is not until their segments are merged that documents are actually deleted. Until that happens, the terms enum API will return terms from these documents. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -9144,7 +10378,18 @@ public virtual TermsEnumResponse TermsEnum(Elastic.Clients.Elasticsea /// /// - /// The terms enum API can be used to discover terms in the index that begin with the provided string. It is designed for low-latency look-ups used in auto-complete scenarios. + /// Get terms in an index. + /// + /// + /// Discover terms that match a partial string in an index. + /// This "terms enum" API is designed for low-latency look-ups used in auto-complete scenarios. + /// + /// + /// If the complete property in the response is false, the returned terms set may be incomplete and should be treated as approximate. + /// This can occur due to a few reasons, such as a request timeout or a node error. + /// + /// + /// NOTE: The terms enum API may return terms from deleted documents. Deleted documents are initially only marked as deleted. It is not until their segments are merged that documents are actually deleted. Until that happens, the terms enum API will return terms from these documents. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -9159,7 +10404,18 @@ public virtual TermsEnumResponse TermsEnum(Elastic.Clients.Elasticsea /// /// - /// The terms enum API can be used to discover terms in the index that begin with the provided string. It is designed for low-latency look-ups used in auto-complete scenarios. + /// Get terms in an index. + /// + /// + /// Discover terms that match a partial string in an index. + /// This "terms enum" API is designed for low-latency look-ups used in auto-complete scenarios. + /// + /// + /// If the complete property in the response is false, the returned terms set may be incomplete and should be treated as approximate. + /// This can occur due to a few reasons, such as a request timeout or a node error. + /// + /// + /// NOTE: The terms enum API may return terms from deleted documents. Deleted documents are initially only marked as deleted. It is not until their segments are merged that documents are actually deleted. Until that happens, the terms enum API will return terms from these documents. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -9173,7 +10429,18 @@ public virtual TermsEnumResponse TermsEnum() /// /// - /// The terms enum API can be used to discover terms in the index that begin with the provided string. It is designed for low-latency look-ups used in auto-complete scenarios. + /// Get terms in an index. + /// + /// + /// Discover terms that match a partial string in an index. + /// This "terms enum" API is designed for low-latency look-ups used in auto-complete scenarios. + /// + /// + /// If the complete property in the response is false, the returned terms set may be incomplete and should be treated as approximate. + /// This can occur due to a few reasons, such as a request timeout or a node error. + /// + /// + /// NOTE: The terms enum API may return terms from deleted documents. Deleted documents are initially only marked as deleted. It is not until their segments are merged that documents are actually deleted. Until that happens, the terms enum API will return terms from these documents. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -9188,7 +10455,18 @@ public virtual TermsEnumResponse TermsEnum(Action /// - /// The terms enum API can be used to discover terms in the index that begin with the provided string. It is designed for low-latency look-ups used in auto-complete scenarios. + /// Get terms in an index. + /// + /// + /// Discover terms that match a partial string in an index. + /// This "terms enum" API is designed for low-latency look-ups used in auto-complete scenarios. + /// + /// + /// If the complete property in the response is false, the returned terms set may be incomplete and should be treated as approximate. + /// This can occur due to a few reasons, such as a request timeout or a node error. + /// + /// + /// NOTE: The terms enum API may return terms from deleted documents. Deleted documents are initially only marked as deleted. It is not until their segments are merged that documents are actually deleted. Until that happens, the terms enum API will return terms from these documents. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -9201,7 +10479,18 @@ public virtual TermsEnumResponse TermsEnum(TermsEnumRequestDescriptor descriptor /// /// - /// The terms enum API can be used to discover terms in the index that begin with the provided string. It is designed for low-latency look-ups used in auto-complete scenarios. + /// Get terms in an index. + /// + /// + /// Discover terms that match a partial string in an index. + /// This "terms enum" API is designed for low-latency look-ups used in auto-complete scenarios. + /// + /// + /// If the complete property in the response is false, the returned terms set may be incomplete and should be treated as approximate. + /// This can occur due to a few reasons, such as a request timeout or a node error. + /// + /// + /// NOTE: The terms enum API may return terms from deleted documents. Deleted documents are initially only marked as deleted. It is not until their segments are merged that documents are actually deleted. Until that happens, the terms enum API will return terms from these documents. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -9215,7 +10504,18 @@ public virtual TermsEnumResponse TermsEnum(Elastic.Clients.Elasticsearch.IndexNa /// /// - /// The terms enum API can be used to discover terms in the index that begin with the provided string. It is designed for low-latency look-ups used in auto-complete scenarios. + /// Get terms in an index. + /// + /// + /// Discover terms that match a partial string in an index. + /// This "terms enum" API is designed for low-latency look-ups used in auto-complete scenarios. + /// + /// + /// If the complete property in the response is false, the returned terms set may be incomplete and should be treated as approximate. + /// This can occur due to a few reasons, such as a request timeout or a node error. + /// + /// + /// NOTE: The terms enum API may return terms from deleted documents. Deleted documents are initially only marked as deleted. It is not until their segments are merged that documents are actually deleted. Until that happens, the terms enum API will return terms from these documents. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -9230,7 +10530,18 @@ public virtual TermsEnumResponse TermsEnum(Elastic.Clients.Elasticsearch.IndexNa /// /// - /// The terms enum API can be used to discover terms in the index that begin with the provided string. It is designed for low-latency look-ups used in auto-complete scenarios. + /// Get terms in an index. + /// + /// + /// Discover terms that match a partial string in an index. + /// This "terms enum" API is designed for low-latency look-ups used in auto-complete scenarios. + /// + /// + /// If the complete property in the response is false, the returned terms set may be incomplete and should be treated as approximate. + /// This can occur due to a few reasons, such as a request timeout or a node error. + /// + /// + /// NOTE: The terms enum API may return terms from deleted documents. Deleted documents are initially only marked as deleted. It is not until their segments are merged that documents are actually deleted. Until that happens, the terms enum API will return terms from these documents. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -9242,7 +10553,18 @@ public virtual Task TermsEnumAsync(TermsEnumReques /// /// - /// The terms enum API can be used to discover terms in the index that begin with the provided string. It is designed for low-latency look-ups used in auto-complete scenarios. + /// Get terms in an index. + /// + /// + /// Discover terms that match a partial string in an index. + /// This "terms enum" API is designed for low-latency look-ups used in auto-complete scenarios. + /// + /// + /// If the complete property in the response is false, the returned terms set may be incomplete and should be treated as approximate. + /// This can occur due to a few reasons, such as a request timeout or a node error. + /// + /// + /// NOTE: The terms enum API may return terms from deleted documents. Deleted documents are initially only marked as deleted. It is not until their segments are merged that documents are actually deleted. Until that happens, the terms enum API will return terms from these documents. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -9255,7 +10577,18 @@ public virtual Task TermsEnumAsync(Elastic.Clients /// /// - /// The terms enum API can be used to discover terms in the index that begin with the provided string. It is designed for low-latency look-ups used in auto-complete scenarios. + /// Get terms in an index. + /// + /// + /// Discover terms that match a partial string in an index. + /// This "terms enum" API is designed for low-latency look-ups used in auto-complete scenarios. + /// + /// + /// If the complete property in the response is false, the returned terms set may be incomplete and should be treated as approximate. + /// This can occur due to a few reasons, such as a request timeout or a node error. + /// + /// + /// NOTE: The terms enum API may return terms from deleted documents. Deleted documents are initially only marked as deleted. It is not until their segments are merged that documents are actually deleted. Until that happens, the terms enum API will return terms from these documents. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -9269,7 +10602,18 @@ public virtual Task TermsEnumAsync(Elastic.Clients /// /// - /// The terms enum API can be used to discover terms in the index that begin with the provided string. It is designed for low-latency look-ups used in auto-complete scenarios. + /// Get terms in an index. + /// + /// + /// Discover terms that match a partial string in an index. + /// This "terms enum" API is designed for low-latency look-ups used in auto-complete scenarios. + /// + /// + /// If the complete property in the response is false, the returned terms set may be incomplete and should be treated as approximate. + /// This can occur due to a few reasons, such as a request timeout or a node error. + /// + /// + /// NOTE: The terms enum API may return terms from deleted documents. Deleted documents are initially only marked as deleted. It is not until their segments are merged that documents are actually deleted. Until that happens, the terms enum API will return terms from these documents. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -9282,7 +10626,18 @@ public virtual Task TermsEnumAsync(CancellationTok /// /// - /// The terms enum API can be used to discover terms in the index that begin with the provided string. It is designed for low-latency look-ups used in auto-complete scenarios. + /// Get terms in an index. + /// + /// + /// Discover terms that match a partial string in an index. + /// This "terms enum" API is designed for low-latency look-ups used in auto-complete scenarios. + /// + /// + /// If the complete property in the response is false, the returned terms set may be incomplete and should be treated as approximate. + /// This can occur due to a few reasons, such as a request timeout or a node error. + /// + /// + /// NOTE: The terms enum API may return terms from deleted documents. Deleted documents are initially only marked as deleted. It is not until their segments are merged that documents are actually deleted. Until that happens, the terms enum API will return terms from these documents. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -9296,7 +10651,18 @@ public virtual Task TermsEnumAsync(Action /// - /// The terms enum API can be used to discover terms in the index that begin with the provided string. It is designed for low-latency look-ups used in auto-complete scenarios. + /// Get terms in an index. + /// + /// + /// Discover terms that match a partial string in an index. + /// This "terms enum" API is designed for low-latency look-ups used in auto-complete scenarios. + /// + /// + /// If the complete property in the response is false, the returned terms set may be incomplete and should be treated as approximate. + /// This can occur due to a few reasons, such as a request timeout or a node error. + /// + /// + /// NOTE: The terms enum API may return terms from deleted documents. Deleted documents are initially only marked as deleted. It is not until their segments are merged that documents are actually deleted. Until that happens, the terms enum API will return terms from these documents. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -9308,7 +10674,18 @@ public virtual Task TermsEnumAsync(TermsEnumRequestDescriptor /// /// - /// The terms enum API can be used to discover terms in the index that begin with the provided string. It is designed for low-latency look-ups used in auto-complete scenarios. + /// Get terms in an index. + /// + /// + /// Discover terms that match a partial string in an index. + /// This "terms enum" API is designed for low-latency look-ups used in auto-complete scenarios. + /// + /// + /// If the complete property in the response is false, the returned terms set may be incomplete and should be treated as approximate. + /// This can occur due to a few reasons, such as a request timeout or a node error. + /// + /// + /// NOTE: The terms enum API may return terms from deleted documents. Deleted documents are initially only marked as deleted. It is not until their segments are merged that documents are actually deleted. Until that happens, the terms enum API will return terms from these documents. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -9321,7 +10698,18 @@ public virtual Task TermsEnumAsync(Elastic.Clients.Elasticsea /// /// - /// The terms enum API can be used to discover terms in the index that begin with the provided string. It is designed for low-latency look-ups used in auto-complete scenarios. + /// Get terms in an index. + /// + /// + /// Discover terms that match a partial string in an index. + /// This "terms enum" API is designed for low-latency look-ups used in auto-complete scenarios. + /// + /// + /// If the complete property in the response is false, the returned terms set may be incomplete and should be treated as approximate. + /// This can occur due to a few reasons, such as a request timeout or a node error. + /// + /// + /// NOTE: The terms enum API may return terms from deleted documents. Deleted documents are initially only marked as deleted. It is not until their segments are merged that documents are actually deleted. Until that happens, the terms enum API will return terms from these documents. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -9336,7 +10724,9 @@ public virtual Task TermsEnumAsync(Elastic.Clients.Elasticsea /// /// /// Get term vector information. - /// Returns information and statistics about terms in the fields of a particular document. + /// + /// + /// Get information and statistics about terms in the fields of a particular document. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -9350,7 +10740,9 @@ public virtual TermVectorsResponse Termvectors(TermVectorsRequest /// /// Get term vector information. - /// Returns information and statistics about terms in the fields of a particular document. + /// + /// + /// Get information and statistics about terms in the fields of a particular document. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -9363,7 +10755,9 @@ public virtual Task TermvectorsAsync(TermVectors /// /// /// Get term vector information. - /// Returns information and statistics about terms in the fields of a particular document. + /// + /// + /// Get information and statistics about terms in the fields of a particular document. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -9377,7 +10771,9 @@ public virtual TermVectorsResponse Termvectors(TermVectorsRequestDesc /// /// /// Get term vector information. - /// Returns information and statistics about terms in the fields of a particular document. + /// + /// + /// Get information and statistics about terms in the fields of a particular document. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -9392,7 +10788,9 @@ public virtual TermVectorsResponse Termvectors(Elastic.Clients.Elasti /// /// /// Get term vector information. - /// Returns information and statistics about terms in the fields of a particular document. + /// + /// + /// Get information and statistics about terms in the fields of a particular document. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -9408,7 +10806,9 @@ public virtual TermVectorsResponse Termvectors(Elastic.Clients.Elasti /// /// /// Get term vector information. - /// Returns information and statistics about terms in the fields of a particular document. + /// + /// + /// Get information and statistics about terms in the fields of a particular document. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -9423,7 +10823,9 @@ public virtual TermVectorsResponse Termvectors(Elastic.Clients.Elasti /// /// /// Get term vector information. - /// Returns information and statistics about terms in the fields of a particular document. + /// + /// + /// Get information and statistics about terms in the fields of a particular document. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -9439,7 +10841,9 @@ public virtual TermVectorsResponse Termvectors(Elastic.Clients.Elasti /// /// /// Get term vector information. - /// Returns information and statistics about terms in the fields of a particular document. + /// + /// + /// Get information and statistics about terms in the fields of a particular document. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -9454,7 +10858,9 @@ public virtual TermVectorsResponse Termvectors(TDocument document) /// /// /// Get term vector information. - /// Returns information and statistics about terms in the fields of a particular document. + /// + /// + /// Get information and statistics about terms in the fields of a particular document. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -9470,7 +10876,9 @@ public virtual TermVectorsResponse Termvectors(TDocument document, Ac /// /// /// Get term vector information. - /// Returns information and statistics about terms in the fields of a particular document. + /// + /// + /// Get information and statistics about terms in the fields of a particular document. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -9485,7 +10893,9 @@ public virtual TermVectorsResponse Termvectors(TDocument document, El /// /// /// Get term vector information. - /// Returns information and statistics about terms in the fields of a particular document. + /// + /// + /// Get information and statistics about terms in the fields of a particular document. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -9501,7 +10911,9 @@ public virtual TermVectorsResponse Termvectors(TDocument document, El /// /// /// Get term vector information. - /// Returns information and statistics about terms in the fields of a particular document. + /// + /// + /// Get information and statistics about terms in the fields of a particular document. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -9516,7 +10928,9 @@ public virtual TermVectorsResponse Termvectors(TDocument document, El /// /// /// Get term vector information. - /// Returns information and statistics about terms in the fields of a particular document. + /// + /// + /// Get information and statistics about terms in the fields of a particular document. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -9532,7 +10946,9 @@ public virtual TermVectorsResponse Termvectors(TDocument document, El /// /// /// Get term vector information. - /// Returns information and statistics about terms in the fields of a particular document. + /// + /// + /// Get information and statistics about terms in the fields of a particular document. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -9547,7 +10963,9 @@ public virtual TermVectorsResponse Termvectors(Elastic.Clients.Elasti /// /// /// Get term vector information. - /// Returns information and statistics about terms in the fields of a particular document. + /// + /// + /// Get information and statistics about terms in the fields of a particular document. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -9563,7 +10981,9 @@ public virtual TermVectorsResponse Termvectors(Elastic.Clients.Elasti /// /// /// Get term vector information. - /// Returns information and statistics about terms in the fields of a particular document. + /// + /// + /// Get information and statistics about terms in the fields of a particular document. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -9576,7 +10996,9 @@ public virtual Task TermvectorsAsync(TermVectors /// /// /// Get term vector information. - /// Returns information and statistics about terms in the fields of a particular document. + /// + /// + /// Get information and statistics about terms in the fields of a particular document. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -9590,7 +11012,9 @@ public virtual Task TermvectorsAsync(Elastic.Cli /// /// /// Get term vector information. - /// Returns information and statistics about terms in the fields of a particular document. + /// + /// + /// Get information and statistics about terms in the fields of a particular document. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -9605,7 +11029,9 @@ public virtual Task TermvectorsAsync(Elastic.Cli /// /// /// Get term vector information. - /// Returns information and statistics about terms in the fields of a particular document. + /// + /// + /// Get information and statistics about terms in the fields of a particular document. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -9619,7 +11045,9 @@ public virtual Task TermvectorsAsync(Elastic.Cli /// /// /// Get term vector information. - /// Returns information and statistics about terms in the fields of a particular document. + /// + /// + /// Get information and statistics about terms in the fields of a particular document. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -9634,7 +11062,9 @@ public virtual Task TermvectorsAsync(Elastic.Cli /// /// /// Get term vector information. - /// Returns information and statistics about terms in the fields of a particular document. + /// + /// + /// Get information and statistics about terms in the fields of a particular document. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -9648,7 +11078,9 @@ public virtual Task TermvectorsAsync(TDocument d /// /// /// Get term vector information. - /// Returns information and statistics about terms in the fields of a particular document. + /// + /// + /// Get information and statistics about terms in the fields of a particular document. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -9663,7 +11095,9 @@ public virtual Task TermvectorsAsync(TDocument d /// /// /// Get term vector information. - /// Returns information and statistics about terms in the fields of a particular document. + /// + /// + /// Get information and statistics about terms in the fields of a particular document. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -9677,7 +11111,9 @@ public virtual Task TermvectorsAsync(TDocument d /// /// /// Get term vector information. - /// Returns information and statistics about terms in the fields of a particular document. + /// + /// + /// Get information and statistics about terms in the fields of a particular document. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -9692,7 +11128,9 @@ public virtual Task TermvectorsAsync(TDocument d /// /// /// Get term vector information. - /// Returns information and statistics about terms in the fields of a particular document. + /// + /// + /// Get information and statistics about terms in the fields of a particular document. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -9706,7 +11144,9 @@ public virtual Task TermvectorsAsync(TDocument d /// /// /// Get term vector information. - /// Returns information and statistics about terms in the fields of a particular document. + /// + /// + /// Get information and statistics about terms in the fields of a particular document. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -9721,7 +11161,9 @@ public virtual Task TermvectorsAsync(TDocument d /// /// /// Get term vector information. - /// Returns information and statistics about terms in the fields of a particular document. + /// + /// + /// Get information and statistics about terms in the fields of a particular document. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -9735,7 +11177,9 @@ public virtual Task TermvectorsAsync(Elastic.Cli /// /// /// Get term vector information. - /// Returns information and statistics about terms in the fields of a particular document. + /// + /// + /// Get information and statistics about terms in the fields of a particular document. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -10382,7 +11826,11 @@ public virtual Task UpdateByQueryAsync(Elastic.Clients.El /// /// - /// Changes the number of requests per second for a particular Update By Query operation. + /// Throttle an update by query operation. + /// + /// + /// Change the number of requests per second for a particular update by query operation. + /// Rethrottling that speeds up the query takes effect immediately but rethrotting that slows down the query takes effect after completing the current batch to prevent scroll timeouts. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -10395,7 +11843,11 @@ public virtual UpdateByQueryRethrottleResponse UpdateByQueryRethrottle(UpdateByQ /// /// - /// Changes the number of requests per second for a particular Update By Query operation. + /// Throttle an update by query operation. + /// + /// + /// Change the number of requests per second for a particular update by query operation. + /// Rethrottling that speeds up the query takes effect immediately but rethrotting that slows down the query takes effect after completing the current batch to prevent scroll timeouts. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -10407,7 +11859,11 @@ public virtual Task UpdateByQueryRethrottleAsyn /// /// - /// Changes the number of requests per second for a particular Update By Query operation. + /// Throttle an update by query operation. + /// + /// + /// Change the number of requests per second for a particular update by query operation. + /// Rethrottling that speeds up the query takes effect immediately but rethrotting that slows down the query takes effect after completing the current batch to prevent scroll timeouts. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -10420,7 +11876,11 @@ public virtual UpdateByQueryRethrottleResponse UpdateByQueryRethrottle(UpdateByQ /// /// - /// Changes the number of requests per second for a particular Update By Query operation. + /// Throttle an update by query operation. + /// + /// + /// Change the number of requests per second for a particular update by query operation. + /// Rethrottling that speeds up the query takes effect immediately but rethrotting that slows down the query takes effect after completing the current batch to prevent scroll timeouts. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -10434,7 +11894,11 @@ public virtual UpdateByQueryRethrottleResponse UpdateByQueryRethrottle(Elastic.C /// /// - /// Changes the number of requests per second for a particular Update By Query operation. + /// Throttle an update by query operation. + /// + /// + /// Change the number of requests per second for a particular update by query operation. + /// Rethrottling that speeds up the query takes effect immediately but rethrotting that slows down the query takes effect after completing the current batch to prevent scroll timeouts. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -10449,7 +11913,11 @@ public virtual UpdateByQueryRethrottleResponse UpdateByQueryRethrottle(Elastic.C /// /// - /// Changes the number of requests per second for a particular Update By Query operation. + /// Throttle an update by query operation. + /// + /// + /// Change the number of requests per second for a particular update by query operation. + /// Rethrottling that speeds up the query takes effect immediately but rethrotting that slows down the query takes effect after completing the current batch to prevent scroll timeouts. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -10461,7 +11929,11 @@ public virtual Task UpdateByQueryRethrottleAsyn /// /// - /// Changes the number of requests per second for a particular Update By Query operation. + /// Throttle an update by query operation. + /// + /// + /// Change the number of requests per second for a particular update by query operation. + /// Rethrottling that speeds up the query takes effect immediately but rethrotting that slows down the query takes effect after completing the current batch to prevent scroll timeouts. /// /// Learn more about this API in the Elasticsearch documentation. /// @@ -10474,7 +11946,11 @@ public virtual Task UpdateByQueryRethrottleAsyn /// /// - /// Changes the number of requests per second for a particular Update By Query operation. + /// Throttle an update by query operation. + /// + /// + /// Change the number of requests per second for a particular update by query operation. + /// Rethrottling that speeds up the query takes effect immediately but rethrotting that slows down the query takes effect after completing the current batch to prevent scroll timeouts. /// /// Learn more about this API in the Elasticsearch documentation. /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Analysis/Normalizers.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Analysis/Normalizers.g.cs index efa42e9196d..8c2e0cd884f 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Analysis/Normalizers.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Analysis/Normalizers.g.cs @@ -122,7 +122,7 @@ public override void Write(Utf8JsonWriter writer, INormalizer value, JsonSeriali } /// -/// Learn more about this API in the Elasticsearch documentation. +/// Learn more about this API in the Elasticsearch documentation. /// [JsonConverter(typeof(NormalizerInterfaceConverter))] public partial interface INormalizer diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/ByteSize.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/ByteSize.g.cs index 5414414a252..c6791d2760a 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/ByteSize.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/ByteSize.g.cs @@ -31,7 +31,7 @@ namespace Elastic.Clients.Elasticsearch; /// -/// Learn more about this API in the Elasticsearch documentation. +/// Learn more about this API in the Elasticsearch documentation. /// public sealed partial class ByteSize : Union { diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/Context.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/Context.g.cs index 400b13112a4..1ee285604c2 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/Context.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/Context.g.cs @@ -34,7 +34,7 @@ namespace Elastic.Clients.Elasticsearch.Core.Search; /// /// Text or location that we want similar documents for or a lookup to a document's field for the text. /// -/// Learn more about this API in the Elasticsearch documentation. +/// Learn more about this API in the Elasticsearch documentation. /// public sealed partial class Context : Union { diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/RankEval/RankEvalMetricDiscountedCumulativeGain.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/RankEval/RankEvalMetricDiscountedCumulativeGain.g.cs index a8cc3f95f58..8f1672f3c25 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/RankEval/RankEvalMetricDiscountedCumulativeGain.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/RankEval/RankEvalMetricDiscountedCumulativeGain.g.cs @@ -31,7 +31,7 @@ namespace Elastic.Clients.Elasticsearch.Core.RankEval; /// /// Discounted cumulative gain (DCG) /// -/// Learn more about this API in the Elasticsearch documentation. +/// Learn more about this API in the Elasticsearch documentation. /// public sealed partial class RankEvalMetricDiscountedCumulativeGain { @@ -56,7 +56,7 @@ public sealed partial class RankEvalMetricDiscountedCumulativeGain /// /// Discounted cumulative gain (DCG) /// -/// Learn more about this API in the Elasticsearch documentation. +/// Learn more about this API in the Elasticsearch documentation. /// public sealed partial class RankEvalMetricDiscountedCumulativeGainDescriptor : SerializableDescriptor { diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/RankEval/RankEvalMetricExpectedReciprocalRank.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/RankEval/RankEvalMetricExpectedReciprocalRank.g.cs index 8228aa19f04..41bb06737ad 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/RankEval/RankEvalMetricExpectedReciprocalRank.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/RankEval/RankEvalMetricExpectedReciprocalRank.g.cs @@ -31,7 +31,7 @@ namespace Elastic.Clients.Elasticsearch.Core.RankEval; /// /// Expected Reciprocal Rank (ERR) /// -/// Learn more about this API in the Elasticsearch documentation. +/// Learn more about this API in the Elasticsearch documentation. /// public sealed partial class RankEvalMetricExpectedReciprocalRank { @@ -56,7 +56,7 @@ public sealed partial class RankEvalMetricExpectedReciprocalRank /// /// Expected Reciprocal Rank (ERR) /// -/// Learn more about this API in the Elasticsearch documentation. +/// Learn more about this API in the Elasticsearch documentation. /// public sealed partial class RankEvalMetricExpectedReciprocalRankDescriptor : SerializableDescriptor { diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/RankEval/RankEvalMetricMeanReciprocalRank.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/RankEval/RankEvalMetricMeanReciprocalRank.g.cs index f8eb8da98ff..d55d0fb0c42 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/RankEval/RankEvalMetricMeanReciprocalRank.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/RankEval/RankEvalMetricMeanReciprocalRank.g.cs @@ -31,7 +31,7 @@ namespace Elastic.Clients.Elasticsearch.Core.RankEval; /// /// Mean Reciprocal Rank /// -/// Learn more about this API in the Elasticsearch documentation. +/// Learn more about this API in the Elasticsearch documentation. /// public sealed partial class RankEvalMetricMeanReciprocalRank { @@ -56,7 +56,7 @@ public sealed partial class RankEvalMetricMeanReciprocalRank /// /// Mean Reciprocal Rank /// -/// Learn more about this API in the Elasticsearch documentation. +/// Learn more about this API in the Elasticsearch documentation. /// public sealed partial class RankEvalMetricMeanReciprocalRankDescriptor : SerializableDescriptor { diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/RankEval/RankEvalMetricPrecision.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/RankEval/RankEvalMetricPrecision.g.cs index f20081bf15e..a9d76d9556c 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/RankEval/RankEvalMetricPrecision.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/RankEval/RankEvalMetricPrecision.g.cs @@ -31,7 +31,7 @@ namespace Elastic.Clients.Elasticsearch.Core.RankEval; /// /// Precision at K (P@k) /// -/// Learn more about this API in the Elasticsearch documentation. +/// Learn more about this API in the Elasticsearch documentation. /// public sealed partial class RankEvalMetricPrecision { @@ -64,7 +64,7 @@ public sealed partial class RankEvalMetricPrecision /// /// Precision at K (P@k) /// -/// Learn more about this API in the Elasticsearch documentation. +/// Learn more about this API in the Elasticsearch documentation. /// public sealed partial class RankEvalMetricPrecisionDescriptor : SerializableDescriptor { diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/RankEval/RankEvalMetricRecall.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/RankEval/RankEvalMetricRecall.g.cs index a6c3382a51f..86f62abbcaa 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/RankEval/RankEvalMetricRecall.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/RankEval/RankEvalMetricRecall.g.cs @@ -31,7 +31,7 @@ namespace Elastic.Clients.Elasticsearch.Core.RankEval; /// /// Recall at K (R@k) /// -/// Learn more about this API in the Elasticsearch documentation. +/// Learn more about this API in the Elasticsearch documentation. /// public sealed partial class RankEvalMetricRecall { @@ -56,7 +56,7 @@ public sealed partial class RankEvalMetricRecall /// /// Recall at K (R@k) /// -/// Learn more about this API in the Elasticsearch documentation. +/// Learn more about this API in the Elasticsearch documentation. /// public sealed partial class RankEvalMetricRecallDescriptor : SerializableDescriptor { diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/CrossClusterReplication/FollowerIndexParameters.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/CrossClusterReplication/FollowerIndexParameters.g.cs index 06ff51f8ada..95d202cef15 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/CrossClusterReplication/FollowerIndexParameters.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/CrossClusterReplication/FollowerIndexParameters.g.cs @@ -29,24 +29,88 @@ namespace Elastic.Clients.Elasticsearch.CrossClusterReplication; public sealed partial class FollowerIndexParameters { + /// + /// + /// The maximum number of outstanding reads requests from the remote cluster. + /// + /// [JsonInclude, JsonPropertyName("max_outstanding_read_requests")] - public int MaxOutstandingReadRequests { get; init; } + public long? MaxOutstandingReadRequests { get; init; } + + /// + /// + /// The maximum number of outstanding write requests on the follower. + /// + /// [JsonInclude, JsonPropertyName("max_outstanding_write_requests")] - public int MaxOutstandingWriteRequests { get; init; } + public int? MaxOutstandingWriteRequests { get; init; } + + /// + /// + /// The maximum number of operations to pull per read from the remote cluster. + /// + /// [JsonInclude, JsonPropertyName("max_read_request_operation_count")] - public int MaxReadRequestOperationCount { get; init; } + public int? MaxReadRequestOperationCount { get; init; } + + /// + /// + /// The maximum size in bytes of per read of a batch of operations pulled from the remote cluster. + /// + /// [JsonInclude, JsonPropertyName("max_read_request_size")] - public string MaxReadRequestSize { get; init; } + public Elastic.Clients.Elasticsearch.ByteSize? MaxReadRequestSize { get; init; } + + /// + /// + /// The maximum time to wait before retrying an operation that failed exceptionally. An exponential backoff strategy is employed when + /// retrying. + /// + /// [JsonInclude, JsonPropertyName("max_retry_delay")] - public Elastic.Clients.Elasticsearch.Duration MaxRetryDelay { get; init; } + public Elastic.Clients.Elasticsearch.Duration? MaxRetryDelay { get; init; } + + /// + /// + /// The maximum number of operations that can be queued for writing. When this limit is reached, reads from the remote cluster will be + /// deferred until the number of queued operations goes below the limit. + /// + /// [JsonInclude, JsonPropertyName("max_write_buffer_count")] - public int MaxWriteBufferCount { get; init; } + public int? MaxWriteBufferCount { get; init; } + + /// + /// + /// The maximum total bytes of operations that can be queued for writing. When this limit is reached, reads from the remote cluster will + /// be deferred until the total bytes of queued operations goes below the limit. + /// + /// [JsonInclude, JsonPropertyName("max_write_buffer_size")] - public string MaxWriteBufferSize { get; init; } + public Elastic.Clients.Elasticsearch.ByteSize? MaxWriteBufferSize { get; init; } + + /// + /// + /// The maximum number of operations per bulk write request executed on the follower. + /// + /// [JsonInclude, JsonPropertyName("max_write_request_operation_count")] - public int MaxWriteRequestOperationCount { get; init; } + public int? MaxWriteRequestOperationCount { get; init; } + + /// + /// + /// The maximum total bytes of operations per bulk write request executed on the follower. + /// + /// [JsonInclude, JsonPropertyName("max_write_request_size")] - public string MaxWriteRequestSize { get; init; } + public Elastic.Clients.Elasticsearch.ByteSize? MaxWriteRequestSize { get; init; } + + /// + /// + /// The maximum time to wait for new operations on the remote cluster when the follower index is synchronized with the leader index. + /// When the timeout has elapsed, the poll for operations will return to the follower so that it can update some statistics. + /// Then the follower will immediately attempt to read from the leader again. + /// + /// [JsonInclude, JsonPropertyName("read_poll_timeout")] - public Elastic.Clients.Elasticsearch.Duration ReadPollTimeout { get; init; } + public Elastic.Clients.Elasticsearch.Duration? ReadPollTimeout { get; init; } } \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Enums/Enums.Security.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Enums/Enums.Security.g.cs index 5d86de5b198..c7ab868ff14 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Enums/Enums.Security.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Enums/Enums.Security.g.cs @@ -302,6 +302,64 @@ public override void Write(Utf8JsonWriter writer, GrantType value, JsonSerialize public static bool operator !=(IndexPrivilege a, IndexPrivilege b) => !(a == b); } +[JsonConverter(typeof(RemoteClusterPrivilegeConverter))] +public enum RemoteClusterPrivilege +{ + [EnumMember(Value = "monitor_enrich")] + MonitorEnrich +} + +internal sealed class RemoteClusterPrivilegeConverter : JsonConverter +{ + public override RemoteClusterPrivilege Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) + { + var enumString = reader.GetString(); + switch (enumString) + { + case "monitor_enrich": + return RemoteClusterPrivilege.MonitorEnrich; + } + + ThrowHelper.ThrowJsonException(); + return default; + } + + public override void Write(Utf8JsonWriter writer, RemoteClusterPrivilege value, JsonSerializerOptions options) + { + switch (value) + { + case RemoteClusterPrivilege.MonitorEnrich: + writer.WriteStringValue("monitor_enrich"); + return; + } + + writer.WriteNullValue(); + } +} + +[JsonConverter(typeof(EnumStructConverter))] +public readonly partial struct RestrictionWorkflow : IEnumStruct +{ + public RestrictionWorkflow(string value) => Value = value; + + RestrictionWorkflow IEnumStruct.Create(string value) => value; + + public readonly string Value { get; } + public static RestrictionWorkflow SearchApplicationQuery { get; } = new RestrictionWorkflow("search_application_query"); + + public override string ToString() => Value ?? string.Empty; + + public static implicit operator string(RestrictionWorkflow restrictionWorkflow) => restrictionWorkflow.Value; + public static implicit operator RestrictionWorkflow(string value) => new(value); + + public override int GetHashCode() => Value.GetHashCode(); + public override bool Equals(object obj) => obj is RestrictionWorkflow other && this.Equals(other); + public bool Equals(RestrictionWorkflow other) => Value == other.Value; + + public static bool operator ==(RestrictionWorkflow a, RestrictionWorkflow b) => a.Equals(b); + public static bool operator !=(RestrictionWorkflow a, RestrictionWorkflow b) => !(a == b); +} + [JsonConverter(typeof(TemplateFormatConverter))] public enum TemplateFormat { diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Fuzziness.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Fuzziness.g.cs index 8e7161ffe81..f54eb66abda 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Fuzziness.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Fuzziness.g.cs @@ -31,7 +31,7 @@ namespace Elastic.Clients.Elasticsearch; /// -/// Learn more about this API in the Elasticsearch documentation. +/// Learn more about this API in the Elasticsearch documentation. /// public sealed partial class Fuzziness : Union { diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/DataStreamLifecycle.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/DataStreamLifecycle.g.cs index bde86c5aa76..af6ef53abc5 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/DataStreamLifecycle.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/DataStreamLifecycle.g.cs @@ -34,10 +34,32 @@ namespace Elastic.Clients.Elasticsearch.IndexManagement; /// public sealed partial class DataStreamLifecycle { + /// + /// + /// If defined, every document added to this data stream will be stored at least for this time frame. + /// Any time after this duration the document could be deleted. + /// When empty, every document in this data stream will be stored indefinitely. + /// + /// [JsonInclude, JsonPropertyName("data_retention")] public Elastic.Clients.Elasticsearch.Duration? DataRetention { get; set; } + + /// + /// + /// The downsampling configuration to execute for the managed backing index after rollover. + /// + /// [JsonInclude, JsonPropertyName("downsampling")] public Elastic.Clients.Elasticsearch.IndexManagement.DataStreamLifecycleDownsampling? Downsampling { get; set; } + + /// + /// + /// If defined, it turns data stream lifecycle on/off (true/false) for this data stream. A data stream lifecycle + /// that's disabled (enabled: false) will have no effect on the data stream. + /// + /// + [JsonInclude, JsonPropertyName("enabled")] + public bool? Enabled { get; set; } } /// @@ -57,13 +79,26 @@ public DataStreamLifecycleDescriptor() : base() private Elastic.Clients.Elasticsearch.IndexManagement.DataStreamLifecycleDownsampling? DownsamplingValue { get; set; } private Elastic.Clients.Elasticsearch.IndexManagement.DataStreamLifecycleDownsamplingDescriptor DownsamplingDescriptor { get; set; } private Action DownsamplingDescriptorAction { get; set; } + private bool? EnabledValue { get; set; } + /// + /// + /// If defined, every document added to this data stream will be stored at least for this time frame. + /// Any time after this duration the document could be deleted. + /// When empty, every document in this data stream will be stored indefinitely. + /// + /// public DataStreamLifecycleDescriptor DataRetention(Elastic.Clients.Elasticsearch.Duration? dataRetention) { DataRetentionValue = dataRetention; return Self; } + /// + /// + /// The downsampling configuration to execute for the managed backing index after rollover. + /// + /// public DataStreamLifecycleDescriptor Downsampling(Elastic.Clients.Elasticsearch.IndexManagement.DataStreamLifecycleDownsampling? downsampling) { DownsamplingDescriptor = null; @@ -88,6 +123,18 @@ public DataStreamLifecycleDescriptor Downsampling(Action + /// + /// If defined, it turns data stream lifecycle on/off (true/false) for this data stream. A data stream lifecycle + /// that's disabled (enabled: false) will have no effect on the data stream. + /// + /// + public DataStreamLifecycleDescriptor Enabled(bool? enabled = true) + { + EnabledValue = enabled; + return Self; + } + protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) { writer.WriteStartObject(); @@ -113,6 +160,12 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o JsonSerializer.Serialize(writer, DownsamplingValue, options); } + if (EnabledValue.HasValue) + { + writer.WritePropertyName("enabled"); + writer.WriteBooleanValue(EnabledValue.Value); + } + writer.WriteEndObject(); } } \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/DataStreamLifecycleWithRollover.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/DataStreamLifecycleWithRollover.g.cs index 67be908fbd6..974bb01a049 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/DataStreamLifecycleWithRollover.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/DataStreamLifecycleWithRollover.g.cs @@ -53,6 +53,15 @@ public sealed partial class DataStreamLifecycleWithRollover [JsonInclude, JsonPropertyName("downsampling")] public Elastic.Clients.Elasticsearch.IndexManagement.DataStreamLifecycleDownsampling? Downsampling { get; init; } + /// + /// + /// If defined, it turns data stream lifecycle on/off (true/false) for this data stream. A data stream lifecycle + /// that's disabled (enabled: false) will have no effect on the data stream. + /// + /// + [JsonInclude, JsonPropertyName("enabled")] + public bool? Enabled { get; init; } + /// /// /// The conditions which will trigger the rollover of a backing index as configured by the cluster setting cluster.lifecycle.default.rollover. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/DataStreamWithLifecycle.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/DataStreamWithLifecycle.g.cs index f1f55abf69b..68c2b4ced4b 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/DataStreamWithLifecycle.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/DataStreamWithLifecycle.g.cs @@ -30,7 +30,7 @@ namespace Elastic.Clients.Elasticsearch.IndexManagement; public sealed partial class DataStreamWithLifecycle { [JsonInclude, JsonPropertyName("lifecycle")] - public Elastic.Clients.Elasticsearch.IndexManagement.DataStreamLifecycle? Lifecycle { get; init; } + public Elastic.Clients.Elasticsearch.IndexManagement.DataStreamLifecycleWithRollover? Lifecycle { get; init; } [JsonInclude, JsonPropertyName("name")] public string Name { get; init; } } \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/IndexSettings.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/IndexSettings.g.cs index 8a53108a912..cc6ae5e99ae 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/IndexSettings.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/IndexSettings.g.cs @@ -739,7 +739,7 @@ public override void Write(Utf8JsonWriter writer, IndexSettings value, JsonSeria } /// -/// Learn more about this API in the Elasticsearch documentation. +/// Learn more about this API in the Elasticsearch documentation. /// [JsonConverter(typeof(IndexSettingsConverter))] public sealed partial class IndexSettings @@ -840,7 +840,7 @@ public sealed partial class IndexSettings } /// -/// Learn more about this API in the Elasticsearch documentation. +/// Learn more about this API in the Elasticsearch documentation. /// public sealed partial class IndexSettingsDescriptor : SerializableDescriptor> { @@ -2277,7 +2277,7 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o } /// -/// Learn more about this API in the Elasticsearch documentation. +/// Learn more about this API in the Elasticsearch documentation. /// public sealed partial class IndexSettingsDescriptor : SerializableDescriptor { diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/IndexTemplate.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/IndexTemplate.g.cs index 7b5cf8d780c..f66dc302ac4 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/IndexTemplate.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/IndexTemplate.g.cs @@ -51,6 +51,25 @@ public sealed partial class IndexTemplate [JsonInclude, JsonPropertyName("data_stream")] public Elastic.Clients.Elasticsearch.IndexManagement.IndexTemplateDataStreamConfiguration? DataStream { get; init; } + /// + /// + /// Marks this index template as deprecated. + /// When creating or updating a non-deprecated index template that uses deprecated components, + /// Elasticsearch will emit a deprecation warning. + /// + /// + [JsonInclude, JsonPropertyName("deprecated")] + public bool? Deprecated { get; init; } + + /// + /// + /// A list of component template names that are allowed to be absent. + /// + /// + [JsonInclude, JsonPropertyName("ignore_missing_component_templates")] + [SingleOrManyCollectionConverter(typeof(string))] + public IReadOnlyCollection? IgnoreMissingComponentTemplates { get; init; } + /// /// /// Name of the index template. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/MappingLimitSettings.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/MappingLimitSettings.g.cs index 2dc02e63f1f..e002ee38e73 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/MappingLimitSettings.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/MappingLimitSettings.g.cs @@ -31,7 +31,7 @@ namespace Elastic.Clients.Elasticsearch.IndexManagement; /// /// Mapping Limit Settings /// -/// Learn more about this API in the Elasticsearch documentation. +/// Learn more about this API in the Elasticsearch documentation. /// public sealed partial class MappingLimitSettings { @@ -57,7 +57,7 @@ public sealed partial class MappingLimitSettings /// /// Mapping Limit Settings /// -/// Learn more about this API in the Elasticsearch documentation. +/// Learn more about this API in the Elasticsearch documentation. /// public sealed partial class MappingLimitSettingsDescriptor : SerializableDescriptor { diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/IngestInfo.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/IngestInfo.g.cs index fed73dac315..45e9a06e279 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/IngestInfo.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/IngestInfo.g.cs @@ -31,6 +31,8 @@ public sealed partial class IngestInfo { [JsonInclude, JsonPropertyName("pipeline")] public string? Pipeline { get; init; } + [JsonInclude, JsonPropertyName("_redact")] + public Elastic.Clients.Elasticsearch.Ingest.Redact? Redact { get; init; } [JsonInclude, JsonPropertyName("timestamp")] public DateTimeOffset Timestamp { get; init; } } \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/IpLocationProcessor.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/IpLocationProcessor.g.cs new file mode 100644 index 00000000000..c6691f1eb02 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/IpLocationProcessor.g.cs @@ -0,0 +1,798 @@ +// 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 Elastic.Clients.Elasticsearch.Fluent; +using Elastic.Clients.Elasticsearch.Serialization; +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +namespace Elastic.Clients.Elasticsearch.Ingest; + +public sealed partial class IpLocationProcessor +{ + /// + /// + /// The database filename referring to a database the module ships with (GeoLite2-City.mmdb, GeoLite2-Country.mmdb, or GeoLite2-ASN.mmdb) or a custom database in the ingest-geoip config directory. + /// + /// + [JsonInclude, JsonPropertyName("database_file")] + public string? DatabaseFile { get; set; } + + /// + /// + /// Description of the processor. + /// Useful for describing the purpose of the processor or its configuration. + /// + /// + [JsonInclude, JsonPropertyName("description")] + public string? Description { get; set; } + + /// + /// + /// If true (and if ingest.geoip.downloader.eager.download is false), the missing database is downloaded when the pipeline is created. + /// Else, the download is triggered by when the pipeline is used as the default_pipeline or final_pipeline in an index. + /// + /// + [JsonInclude, JsonPropertyName("download_database_on_pipeline_creation")] + public bool? DownloadDatabaseOnPipelineCreation { get; set; } + + /// + /// + /// The field to get the ip address from for the geographical lookup. + /// + /// + [JsonInclude, JsonPropertyName("field")] + public Elastic.Clients.Elasticsearch.Field Field { get; set; } + + /// + /// + /// If true, only the first found IP location data will be returned, even if the field contains an array. + /// + /// + [JsonInclude, JsonPropertyName("first_only")] + public bool? FirstOnly { get; set; } + + /// + /// + /// Conditionally execute the processor. + /// + /// + [JsonInclude, JsonPropertyName("if")] + public string? If { get; set; } + + /// + /// + /// Ignore failures for the processor. + /// + /// + [JsonInclude, JsonPropertyName("ignore_failure")] + public bool? IgnoreFailure { get; set; } + + /// + /// + /// If true and field does not exist, the processor quietly exits without modifying the document. + /// + /// + [JsonInclude, JsonPropertyName("ignore_missing")] + public bool? IgnoreMissing { get; set; } + + /// + /// + /// Handle failures for the processor. + /// + /// + [JsonInclude, JsonPropertyName("on_failure")] + public ICollection? OnFailure { get; set; } + + /// + /// + /// Controls what properties are added to the target_field based on the IP location lookup. + /// + /// + [JsonInclude, JsonPropertyName("properties")] + public ICollection? Properties { get; set; } + + /// + /// + /// Identifier for the processor. + /// Useful for debugging and metrics. + /// + /// + [JsonInclude, JsonPropertyName("tag")] + public string? Tag { get; set; } + + /// + /// + /// The field that will hold the geographical information looked up from the MaxMind database. + /// + /// + [JsonInclude, JsonPropertyName("target_field")] + public Elastic.Clients.Elasticsearch.Field? TargetField { get; set; } + + public static implicit operator Elastic.Clients.Elasticsearch.Ingest.Processor(IpLocationProcessor ipLocationProcessor) => Elastic.Clients.Elasticsearch.Ingest.Processor.IpLocation(ipLocationProcessor); +} + +public sealed partial class IpLocationProcessorDescriptor : SerializableDescriptor> +{ + internal IpLocationProcessorDescriptor(Action> configure) => configure.Invoke(this); + + public IpLocationProcessorDescriptor() : base() + { + } + + private string? DatabaseFileValue { get; set; } + private string? DescriptionValue { get; set; } + private bool? DownloadDatabaseOnPipelineCreationValue { get; set; } + private Elastic.Clients.Elasticsearch.Field FieldValue { get; set; } + private bool? FirstOnlyValue { get; set; } + private string? IfValue { get; set; } + private bool? IgnoreFailureValue { get; set; } + private bool? IgnoreMissingValue { get; set; } + private ICollection? OnFailureValue { get; set; } + private Elastic.Clients.Elasticsearch.Ingest.ProcessorDescriptor OnFailureDescriptor { get; set; } + private Action> OnFailureDescriptorAction { get; set; } + private Action>[] OnFailureDescriptorActions { get; set; } + private ICollection? PropertiesValue { get; set; } + private string? TagValue { get; set; } + private Elastic.Clients.Elasticsearch.Field? TargetFieldValue { get; set; } + + /// + /// + /// The database filename referring to a database the module ships with (GeoLite2-City.mmdb, GeoLite2-Country.mmdb, or GeoLite2-ASN.mmdb) or a custom database in the ingest-geoip config directory. + /// + /// + public IpLocationProcessorDescriptor DatabaseFile(string? databaseFile) + { + DatabaseFileValue = databaseFile; + return Self; + } + + /// + /// + /// Description of the processor. + /// Useful for describing the purpose of the processor or its configuration. + /// + /// + public IpLocationProcessorDescriptor Description(string? description) + { + DescriptionValue = description; + return Self; + } + + /// + /// + /// If true (and if ingest.geoip.downloader.eager.download is false), the missing database is downloaded when the pipeline is created. + /// Else, the download is triggered by when the pipeline is used as the default_pipeline or final_pipeline in an index. + /// + /// + public IpLocationProcessorDescriptor DownloadDatabaseOnPipelineCreation(bool? downloadDatabaseOnPipelineCreation = true) + { + DownloadDatabaseOnPipelineCreationValue = downloadDatabaseOnPipelineCreation; + return Self; + } + + /// + /// + /// The field to get the ip address from for the geographical lookup. + /// + /// + public IpLocationProcessorDescriptor Field(Elastic.Clients.Elasticsearch.Field field) + { + FieldValue = field; + return Self; + } + + /// + /// + /// The field to get the ip address from for the geographical lookup. + /// + /// + public IpLocationProcessorDescriptor Field(Expression> field) + { + FieldValue = field; + return Self; + } + + /// + /// + /// The field to get the ip address from for the geographical lookup. + /// + /// + public IpLocationProcessorDescriptor Field(Expression> field) + { + FieldValue = field; + return Self; + } + + /// + /// + /// If true, only the first found IP location data will be returned, even if the field contains an array. + /// + /// + public IpLocationProcessorDescriptor FirstOnly(bool? firstOnly = true) + { + FirstOnlyValue = firstOnly; + return Self; + } + + /// + /// + /// Conditionally execute the processor. + /// + /// + public IpLocationProcessorDescriptor If(string? value) + { + IfValue = value; + return Self; + } + + /// + /// + /// Ignore failures for the processor. + /// + /// + public IpLocationProcessorDescriptor IgnoreFailure(bool? ignoreFailure = true) + { + IgnoreFailureValue = ignoreFailure; + return Self; + } + + /// + /// + /// If true and field does not exist, the processor quietly exits without modifying the document. + /// + /// + public IpLocationProcessorDescriptor IgnoreMissing(bool? ignoreMissing = true) + { + IgnoreMissingValue = ignoreMissing; + return Self; + } + + /// + /// + /// Handle failures for the processor. + /// + /// + public IpLocationProcessorDescriptor OnFailure(ICollection? onFailure) + { + OnFailureDescriptor = null; + OnFailureDescriptorAction = null; + OnFailureDescriptorActions = null; + OnFailureValue = onFailure; + return Self; + } + + public IpLocationProcessorDescriptor OnFailure(Elastic.Clients.Elasticsearch.Ingest.ProcessorDescriptor descriptor) + { + OnFailureValue = null; + OnFailureDescriptorAction = null; + OnFailureDescriptorActions = null; + OnFailureDescriptor = descriptor; + return Self; + } + + public IpLocationProcessorDescriptor OnFailure(Action> configure) + { + OnFailureValue = null; + OnFailureDescriptor = null; + OnFailureDescriptorActions = null; + OnFailureDescriptorAction = configure; + return Self; + } + + public IpLocationProcessorDescriptor OnFailure(params Action>[] configure) + { + OnFailureValue = null; + OnFailureDescriptor = null; + OnFailureDescriptorAction = null; + OnFailureDescriptorActions = configure; + return Self; + } + + /// + /// + /// Controls what properties are added to the target_field based on the IP location lookup. + /// + /// + public IpLocationProcessorDescriptor Properties(ICollection? properties) + { + PropertiesValue = properties; + return Self; + } + + /// + /// + /// Identifier for the processor. + /// Useful for debugging and metrics. + /// + /// + public IpLocationProcessorDescriptor Tag(string? tag) + { + TagValue = tag; + return Self; + } + + /// + /// + /// The field that will hold the geographical information looked up from the MaxMind database. + /// + /// + public IpLocationProcessorDescriptor TargetField(Elastic.Clients.Elasticsearch.Field? targetField) + { + TargetFieldValue = targetField; + return Self; + } + + /// + /// + /// The field that will hold the geographical information looked up from the MaxMind database. + /// + /// + public IpLocationProcessorDescriptor TargetField(Expression> targetField) + { + TargetFieldValue = targetField; + return Self; + } + + /// + /// + /// The field that will hold the geographical information looked up from the MaxMind database. + /// + /// + public IpLocationProcessorDescriptor TargetField(Expression> targetField) + { + TargetFieldValue = targetField; + return Self; + } + + protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) + { + writer.WriteStartObject(); + if (!string.IsNullOrEmpty(DatabaseFileValue)) + { + writer.WritePropertyName("database_file"); + writer.WriteStringValue(DatabaseFileValue); + } + + if (!string.IsNullOrEmpty(DescriptionValue)) + { + writer.WritePropertyName("description"); + writer.WriteStringValue(DescriptionValue); + } + + if (DownloadDatabaseOnPipelineCreationValue.HasValue) + { + writer.WritePropertyName("download_database_on_pipeline_creation"); + writer.WriteBooleanValue(DownloadDatabaseOnPipelineCreationValue.Value); + } + + writer.WritePropertyName("field"); + JsonSerializer.Serialize(writer, FieldValue, options); + if (FirstOnlyValue.HasValue) + { + writer.WritePropertyName("first_only"); + writer.WriteBooleanValue(FirstOnlyValue.Value); + } + + if (!string.IsNullOrEmpty(IfValue)) + { + writer.WritePropertyName("if"); + writer.WriteStringValue(IfValue); + } + + if (IgnoreFailureValue.HasValue) + { + writer.WritePropertyName("ignore_failure"); + writer.WriteBooleanValue(IgnoreFailureValue.Value); + } + + if (IgnoreMissingValue.HasValue) + { + writer.WritePropertyName("ignore_missing"); + writer.WriteBooleanValue(IgnoreMissingValue.Value); + } + + if (OnFailureDescriptor is not null) + { + writer.WritePropertyName("on_failure"); + writer.WriteStartArray(); + JsonSerializer.Serialize(writer, OnFailureDescriptor, options); + writer.WriteEndArray(); + } + else if (OnFailureDescriptorAction is not null) + { + writer.WritePropertyName("on_failure"); + writer.WriteStartArray(); + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.Ingest.ProcessorDescriptor(OnFailureDescriptorAction), options); + writer.WriteEndArray(); + } + else if (OnFailureDescriptorActions is not null) + { + writer.WritePropertyName("on_failure"); + writer.WriteStartArray(); + foreach (var action in OnFailureDescriptorActions) + { + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.Ingest.ProcessorDescriptor(action), options); + } + + writer.WriteEndArray(); + } + else if (OnFailureValue is not null) + { + writer.WritePropertyName("on_failure"); + JsonSerializer.Serialize(writer, OnFailureValue, options); + } + + if (PropertiesValue is not null) + { + writer.WritePropertyName("properties"); + JsonSerializer.Serialize(writer, PropertiesValue, options); + } + + if (!string.IsNullOrEmpty(TagValue)) + { + writer.WritePropertyName("tag"); + writer.WriteStringValue(TagValue); + } + + if (TargetFieldValue is not null) + { + writer.WritePropertyName("target_field"); + JsonSerializer.Serialize(writer, TargetFieldValue, options); + } + + writer.WriteEndObject(); + } +} + +public sealed partial class IpLocationProcessorDescriptor : SerializableDescriptor +{ + internal IpLocationProcessorDescriptor(Action configure) => configure.Invoke(this); + + public IpLocationProcessorDescriptor() : base() + { + } + + private string? DatabaseFileValue { get; set; } + private string? DescriptionValue { get; set; } + private bool? DownloadDatabaseOnPipelineCreationValue { get; set; } + private Elastic.Clients.Elasticsearch.Field FieldValue { get; set; } + private bool? FirstOnlyValue { get; set; } + private string? IfValue { get; set; } + private bool? IgnoreFailureValue { get; set; } + private bool? IgnoreMissingValue { get; set; } + private ICollection? OnFailureValue { get; set; } + private Elastic.Clients.Elasticsearch.Ingest.ProcessorDescriptor OnFailureDescriptor { get; set; } + private Action OnFailureDescriptorAction { get; set; } + private Action[] OnFailureDescriptorActions { get; set; } + private ICollection? PropertiesValue { get; set; } + private string? TagValue { get; set; } + private Elastic.Clients.Elasticsearch.Field? TargetFieldValue { get; set; } + + /// + /// + /// The database filename referring to a database the module ships with (GeoLite2-City.mmdb, GeoLite2-Country.mmdb, or GeoLite2-ASN.mmdb) or a custom database in the ingest-geoip config directory. + /// + /// + public IpLocationProcessorDescriptor DatabaseFile(string? databaseFile) + { + DatabaseFileValue = databaseFile; + return Self; + } + + /// + /// + /// Description of the processor. + /// Useful for describing the purpose of the processor or its configuration. + /// + /// + public IpLocationProcessorDescriptor Description(string? description) + { + DescriptionValue = description; + return Self; + } + + /// + /// + /// If true (and if ingest.geoip.downloader.eager.download is false), the missing database is downloaded when the pipeline is created. + /// Else, the download is triggered by when the pipeline is used as the default_pipeline or final_pipeline in an index. + /// + /// + public IpLocationProcessorDescriptor DownloadDatabaseOnPipelineCreation(bool? downloadDatabaseOnPipelineCreation = true) + { + DownloadDatabaseOnPipelineCreationValue = downloadDatabaseOnPipelineCreation; + return Self; + } + + /// + /// + /// The field to get the ip address from for the geographical lookup. + /// + /// + public IpLocationProcessorDescriptor Field(Elastic.Clients.Elasticsearch.Field field) + { + FieldValue = field; + return Self; + } + + /// + /// + /// The field to get the ip address from for the geographical lookup. + /// + /// + public IpLocationProcessorDescriptor Field(Expression> field) + { + FieldValue = field; + return Self; + } + + /// + /// + /// The field to get the ip address from for the geographical lookup. + /// + /// + public IpLocationProcessorDescriptor Field(Expression> field) + { + FieldValue = field; + return Self; + } + + /// + /// + /// If true, only the first found IP location data will be returned, even if the field contains an array. + /// + /// + public IpLocationProcessorDescriptor FirstOnly(bool? firstOnly = true) + { + FirstOnlyValue = firstOnly; + return Self; + } + + /// + /// + /// Conditionally execute the processor. + /// + /// + public IpLocationProcessorDescriptor If(string? value) + { + IfValue = value; + return Self; + } + + /// + /// + /// Ignore failures for the processor. + /// + /// + public IpLocationProcessorDescriptor IgnoreFailure(bool? ignoreFailure = true) + { + IgnoreFailureValue = ignoreFailure; + return Self; + } + + /// + /// + /// If true and field does not exist, the processor quietly exits without modifying the document. + /// + /// + public IpLocationProcessorDescriptor IgnoreMissing(bool? ignoreMissing = true) + { + IgnoreMissingValue = ignoreMissing; + return Self; + } + + /// + /// + /// Handle failures for the processor. + /// + /// + public IpLocationProcessorDescriptor OnFailure(ICollection? onFailure) + { + OnFailureDescriptor = null; + OnFailureDescriptorAction = null; + OnFailureDescriptorActions = null; + OnFailureValue = onFailure; + return Self; + } + + public IpLocationProcessorDescriptor OnFailure(Elastic.Clients.Elasticsearch.Ingest.ProcessorDescriptor descriptor) + { + OnFailureValue = null; + OnFailureDescriptorAction = null; + OnFailureDescriptorActions = null; + OnFailureDescriptor = descriptor; + return Self; + } + + public IpLocationProcessorDescriptor OnFailure(Action configure) + { + OnFailureValue = null; + OnFailureDescriptor = null; + OnFailureDescriptorActions = null; + OnFailureDescriptorAction = configure; + return Self; + } + + public IpLocationProcessorDescriptor OnFailure(params Action[] configure) + { + OnFailureValue = null; + OnFailureDescriptor = null; + OnFailureDescriptorAction = null; + OnFailureDescriptorActions = configure; + return Self; + } + + /// + /// + /// Controls what properties are added to the target_field based on the IP location lookup. + /// + /// + public IpLocationProcessorDescriptor Properties(ICollection? properties) + { + PropertiesValue = properties; + return Self; + } + + /// + /// + /// Identifier for the processor. + /// Useful for debugging and metrics. + /// + /// + public IpLocationProcessorDescriptor Tag(string? tag) + { + TagValue = tag; + return Self; + } + + /// + /// + /// The field that will hold the geographical information looked up from the MaxMind database. + /// + /// + public IpLocationProcessorDescriptor TargetField(Elastic.Clients.Elasticsearch.Field? targetField) + { + TargetFieldValue = targetField; + return Self; + } + + /// + /// + /// The field that will hold the geographical information looked up from the MaxMind database. + /// + /// + public IpLocationProcessorDescriptor TargetField(Expression> targetField) + { + TargetFieldValue = targetField; + return Self; + } + + /// + /// + /// The field that will hold the geographical information looked up from the MaxMind database. + /// + /// + public IpLocationProcessorDescriptor TargetField(Expression> targetField) + { + TargetFieldValue = targetField; + return Self; + } + + protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) + { + writer.WriteStartObject(); + if (!string.IsNullOrEmpty(DatabaseFileValue)) + { + writer.WritePropertyName("database_file"); + writer.WriteStringValue(DatabaseFileValue); + } + + if (!string.IsNullOrEmpty(DescriptionValue)) + { + writer.WritePropertyName("description"); + writer.WriteStringValue(DescriptionValue); + } + + if (DownloadDatabaseOnPipelineCreationValue.HasValue) + { + writer.WritePropertyName("download_database_on_pipeline_creation"); + writer.WriteBooleanValue(DownloadDatabaseOnPipelineCreationValue.Value); + } + + writer.WritePropertyName("field"); + JsonSerializer.Serialize(writer, FieldValue, options); + if (FirstOnlyValue.HasValue) + { + writer.WritePropertyName("first_only"); + writer.WriteBooleanValue(FirstOnlyValue.Value); + } + + if (!string.IsNullOrEmpty(IfValue)) + { + writer.WritePropertyName("if"); + writer.WriteStringValue(IfValue); + } + + if (IgnoreFailureValue.HasValue) + { + writer.WritePropertyName("ignore_failure"); + writer.WriteBooleanValue(IgnoreFailureValue.Value); + } + + if (IgnoreMissingValue.HasValue) + { + writer.WritePropertyName("ignore_missing"); + writer.WriteBooleanValue(IgnoreMissingValue.Value); + } + + if (OnFailureDescriptor is not null) + { + writer.WritePropertyName("on_failure"); + writer.WriteStartArray(); + JsonSerializer.Serialize(writer, OnFailureDescriptor, options); + writer.WriteEndArray(); + } + else if (OnFailureDescriptorAction is not null) + { + writer.WritePropertyName("on_failure"); + writer.WriteStartArray(); + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.Ingest.ProcessorDescriptor(OnFailureDescriptorAction), options); + writer.WriteEndArray(); + } + else if (OnFailureDescriptorActions is not null) + { + writer.WritePropertyName("on_failure"); + writer.WriteStartArray(); + foreach (var action in OnFailureDescriptorActions) + { + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.Ingest.ProcessorDescriptor(action), options); + } + + writer.WriteEndArray(); + } + else if (OnFailureValue is not null) + { + writer.WritePropertyName("on_failure"); + JsonSerializer.Serialize(writer, OnFailureValue, options); + } + + if (PropertiesValue is not null) + { + writer.WritePropertyName("properties"); + JsonSerializer.Serialize(writer, PropertiesValue, options); + } + + if (!string.IsNullOrEmpty(TagValue)) + { + writer.WritePropertyName("tag"); + writer.WriteStringValue(TagValue); + } + + if (TargetFieldValue is not null) + { + writer.WritePropertyName("target_field"); + JsonSerializer.Serialize(writer, TargetFieldValue, options); + } + + writer.WriteEndObject(); + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/Processor.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/Processor.g.cs index d8402c22813..b7020c13d1a 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/Processor.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/Processor.g.cs @@ -68,6 +68,7 @@ internal Processor(string variantName, object variant) public static Processor Gsub(Elastic.Clients.Elasticsearch.Ingest.GsubProcessor gsubProcessor) => new Processor("gsub", gsubProcessor); public static Processor HtmlStrip(Elastic.Clients.Elasticsearch.Ingest.HtmlStripProcessor htmlStripProcessor) => new Processor("html_strip", htmlStripProcessor); public static Processor Inference(Elastic.Clients.Elasticsearch.Ingest.InferenceProcessor inferenceProcessor) => new Processor("inference", inferenceProcessor); + public static Processor IpLocation(Elastic.Clients.Elasticsearch.Ingest.IpLocationProcessor ipLocationProcessor) => new Processor("ip_location", ipLocationProcessor); public static Processor Join(Elastic.Clients.Elasticsearch.Ingest.JoinProcessor joinProcessor) => new Processor("join", joinProcessor); public static Processor Json(Elastic.Clients.Elasticsearch.Ingest.JsonProcessor jsonProcessor) => new Processor("json", jsonProcessor); public static Processor Kv(Elastic.Clients.Elasticsearch.Ingest.KeyValueProcessor keyValueProcessor) => new Processor("kv", keyValueProcessor); @@ -283,6 +284,13 @@ public override Processor Read(ref Utf8JsonReader reader, Type typeToConvert, Js continue; } + if (propertyName == "ip_location") + { + variantValue = JsonSerializer.Deserialize(ref reader, options); + variantNameValue = propertyName; + continue; + } + if (propertyName == "join") { variantValue = JsonSerializer.Deserialize(ref reader, options); @@ -518,6 +526,9 @@ public override void Write(Utf8JsonWriter writer, Processor value, JsonSerialize case "inference": JsonSerializer.Serialize(writer, (Elastic.Clients.Elasticsearch.Ingest.InferenceProcessor)value.Variant, options); break; + case "ip_location": + JsonSerializer.Serialize(writer, (Elastic.Clients.Elasticsearch.Ingest.IpLocationProcessor)value.Variant, options); + break; case "join": JsonSerializer.Serialize(writer, (Elastic.Clients.Elasticsearch.Ingest.JoinProcessor)value.Variant, options); break; @@ -666,6 +677,8 @@ private ProcessorDescriptor Set(object variant, string variantName) public ProcessorDescriptor HtmlStrip(Action> configure) => Set(configure, "html_strip"); public ProcessorDescriptor Inference(Elastic.Clients.Elasticsearch.Ingest.InferenceProcessor inferenceProcessor) => Set(inferenceProcessor, "inference"); public ProcessorDescriptor Inference(Action> configure) => Set(configure, "inference"); + public ProcessorDescriptor IpLocation(Elastic.Clients.Elasticsearch.Ingest.IpLocationProcessor ipLocationProcessor) => Set(ipLocationProcessor, "ip_location"); + public ProcessorDescriptor IpLocation(Action> configure) => Set(configure, "ip_location"); public ProcessorDescriptor Join(Elastic.Clients.Elasticsearch.Ingest.JoinProcessor joinProcessor) => Set(joinProcessor, "join"); public ProcessorDescriptor Join(Action> configure) => Set(configure, "join"); public ProcessorDescriptor Json(Elastic.Clients.Elasticsearch.Ingest.JsonProcessor jsonProcessor) => Set(jsonProcessor, "json"); @@ -806,6 +819,8 @@ private ProcessorDescriptor Set(object variant, string variantName) public ProcessorDescriptor HtmlStrip(Action configure) => Set(configure, "html_strip"); public ProcessorDescriptor Inference(Elastic.Clients.Elasticsearch.Ingest.InferenceProcessor inferenceProcessor) => Set(inferenceProcessor, "inference"); public ProcessorDescriptor Inference(Action configure) => Set(configure, "inference"); + public ProcessorDescriptor IpLocation(Elastic.Clients.Elasticsearch.Ingest.IpLocationProcessor ipLocationProcessor) => Set(ipLocationProcessor, "ip_location"); + public ProcessorDescriptor IpLocation(Action configure) => Set(configure, "ip_location"); public ProcessorDescriptor Join(Elastic.Clients.Elasticsearch.Ingest.JoinProcessor joinProcessor) => Set(joinProcessor, "join"); public ProcessorDescriptor Join(Action configure) => Set(configure, "join"); public ProcessorDescriptor Json(Elastic.Clients.Elasticsearch.Ingest.JsonProcessor jsonProcessor) => Set(jsonProcessor, "json"); diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/Redact.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/Redact.g.cs new file mode 100644 index 00000000000..28bfd168d3a --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/Redact.g.cs @@ -0,0 +1,39 @@ +// 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 Elastic.Clients.Elasticsearch.Fluent; +using Elastic.Clients.Elasticsearch.Serialization; +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +namespace Elastic.Clients.Elasticsearch.Ingest; + +public sealed partial class Redact +{ + /// + /// + /// indicates if document has been redacted + /// + /// + [JsonInclude, JsonPropertyName("_is_redacted")] + public bool IsRedacted { get; init; } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/RedactProcessor.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/RedactProcessor.g.cs index d5254f4b816..bc07497c735 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/RedactProcessor.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/RedactProcessor.g.cs @@ -121,6 +121,14 @@ public sealed partial class RedactProcessor [JsonInclude, JsonPropertyName("tag")] public string? Tag { get; set; } + /// + /// + /// If true then ingest metadata _ingest._redact._is_redacted is set to true if the document has been redacted + /// + /// + [JsonInclude, JsonPropertyName("trace_redact")] + public bool? TraceRedact { get; set; } + public static implicit operator Elastic.Clients.Elasticsearch.Ingest.Processor(RedactProcessor redactProcessor) => Elastic.Clients.Elasticsearch.Ingest.Processor.Redact(redactProcessor); } @@ -147,6 +155,7 @@ public RedactProcessorDescriptor() : base() private bool? SkipIfUnlicensedValue { get; set; } private string? SuffixValue { get; set; } private string? TagValue { get; set; } + private bool? TraceRedactValue { get; set; } /// /// @@ -329,6 +338,17 @@ public RedactProcessorDescriptor Tag(string? tag) return Self; } + /// + /// + /// If true then ingest metadata _ingest._redact._is_redacted is set to true if the document has been redacted + /// + /// + public RedactProcessorDescriptor TraceRedact(bool? traceRedact = true) + { + TraceRedactValue = traceRedact; + return Self; + } + protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) { writer.WriteStartObject(); @@ -421,6 +441,12 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o writer.WriteStringValue(TagValue); } + if (TraceRedactValue.HasValue) + { + writer.WritePropertyName("trace_redact"); + writer.WriteBooleanValue(TraceRedactValue.Value); + } + writer.WriteEndObject(); } } @@ -448,6 +474,7 @@ public RedactProcessorDescriptor() : base() private bool? SkipIfUnlicensedValue { get; set; } private string? SuffixValue { get; set; } private string? TagValue { get; set; } + private bool? TraceRedactValue { get; set; } /// /// @@ -630,6 +657,17 @@ public RedactProcessorDescriptor Tag(string? tag) return Self; } + /// + /// + /// If true then ingest metadata _ingest._redact._is_redacted is set to true if the document has been redacted + /// + /// + public RedactProcessorDescriptor TraceRedact(bool? traceRedact = true) + { + TraceRedactValue = traceRedact; + return Self; + } + protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) { writer.WriteStartObject(); @@ -722,6 +760,12 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o writer.WriteStringValue(TagValue); } + if (TraceRedactValue.HasValue) + { + writer.WritePropertyName("trace_redact"); + writer.WriteBooleanValue(TraceRedactValue.Value); + } + writer.WriteEndObject(); } } \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/KnnRetriever.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/KnnRetriever.g.cs index bd289b0d994..effdb6f24c5 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/KnnRetriever.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/KnnRetriever.g.cs @@ -54,6 +54,14 @@ public sealed partial class KnnRetriever [JsonInclude, JsonPropertyName("k")] public int k { get; set; } + /// + /// + /// Minimum _score for matching documents. Documents with a lower _score are not included in the top documents. + /// + /// + [JsonInclude, JsonPropertyName("min_score")] + public float? MinScore { get; set; } + /// /// /// Number of nearest neighbor candidates to consider per shard. @@ -103,6 +111,7 @@ public KnnRetrieverDescriptor() : base() private Action> FilterDescriptorAction { get; set; } private Action>[] FilterDescriptorActions { get; set; } private int kValue { get; set; } + private float? MinScoreValue { get; set; } private int NumCandidatesValue { get; set; } private ICollection? QueryVectorValue { get; set; } private Elastic.Clients.Elasticsearch.QueryVectorBuilder? QueryVectorBuilderValue { get; set; } @@ -173,6 +182,17 @@ public KnnRetrieverDescriptor k(int k) return Self; } + /// + /// + /// Minimum _score for matching documents. Documents with a lower _score are not included in the top documents. + /// + /// + public KnnRetrieverDescriptor MinScore(float? minScore) + { + MinScoreValue = minScore; + return Self; + } + /// /// /// Number of nearest neighbor candidates to consider per shard. @@ -271,6 +291,12 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o writer.WritePropertyName("k"); writer.WriteNumberValue(kValue); + if (MinScoreValue.HasValue) + { + writer.WritePropertyName("min_score"); + writer.WriteNumberValue(MinScoreValue.Value); + } + writer.WritePropertyName("num_candidates"); writer.WriteNumberValue(NumCandidatesValue); if (QueryVectorValue is not null) @@ -319,6 +345,7 @@ public KnnRetrieverDescriptor() : base() private Action FilterDescriptorAction { get; set; } private Action[] FilterDescriptorActions { get; set; } private int kValue { get; set; } + private float? MinScoreValue { get; set; } private int NumCandidatesValue { get; set; } private ICollection? QueryVectorValue { get; set; } private Elastic.Clients.Elasticsearch.QueryVectorBuilder? QueryVectorBuilderValue { get; set; } @@ -389,6 +416,17 @@ public KnnRetrieverDescriptor k(int k) return Self; } + /// + /// + /// Minimum _score for matching documents. Documents with a lower _score are not included in the top documents. + /// + /// + public KnnRetrieverDescriptor MinScore(float? minScore) + { + MinScoreValue = minScore; + return Self; + } + /// /// /// Number of nearest neighbor candidates to consider per shard. @@ -487,6 +525,12 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o writer.WritePropertyName("k"); writer.WriteNumberValue(kValue); + if (MinScoreValue.HasValue) + { + writer.WritePropertyName("min_score"); + writer.WriteNumberValue(MinScoreValue.Value); + } + writer.WritePropertyName("num_candidates"); writer.WriteNumberValue(NumCandidatesValue); if (QueryVectorValue is not null) diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Mapping/GeoShapeProperty.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Mapping/GeoShapeProperty.g.cs index 9cf39e57adf..ebe54565c68 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Mapping/GeoShapeProperty.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Mapping/GeoShapeProperty.g.cs @@ -32,7 +32,7 @@ namespace Elastic.Clients.Elasticsearch.Mapping; /// The geo_shape data type facilitates the indexing of and searching with arbitrary geo shapes such as rectangles /// and polygons. /// -/// Learn more about this API in the Elasticsearch documentation. +/// Learn more about this API in the Elasticsearch documentation. /// public sealed partial class GeoShapeProperty : IProperty { @@ -79,7 +79,7 @@ public sealed partial class GeoShapeProperty : IProperty /// The geo_shape data type facilitates the indexing of and searching with arbitrary geo shapes such as rectangles /// and polygons. /// -/// Learn more about this API in the Elasticsearch documentation. +/// Learn more about this API in the Elasticsearch documentation. /// public sealed partial class GeoShapePropertyDescriptor : SerializableDescriptor>, IBuildableDescriptor { @@ -323,7 +323,7 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o /// The geo_shape data type facilitates the indexing of and searching with arbitrary geo shapes such as rectangles /// and polygons. /// -/// Learn more about this API in the Elasticsearch documentation. +/// Learn more about this API in the Elasticsearch documentation. /// public sealed partial class GeoShapePropertyDescriptor : SerializableDescriptor, IBuildableDescriptor { diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Mapping/ShapeProperty.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Mapping/ShapeProperty.g.cs index 85c4315328f..a2ecda6f0e1 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Mapping/ShapeProperty.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Mapping/ShapeProperty.g.cs @@ -32,7 +32,7 @@ namespace Elastic.Clients.Elasticsearch.Mapping; /// The shape data type facilitates the indexing of and searching with arbitrary x, y cartesian shapes such as /// rectangles and polygons. /// -/// Learn more about this API in the Elasticsearch documentation. +/// Learn more about this API in the Elasticsearch documentation. /// public sealed partial class ShapeProperty : IProperty { @@ -77,7 +77,7 @@ public sealed partial class ShapeProperty : IProperty /// The shape data type facilitates the indexing of and searching with arbitrary x, y cartesian shapes such as /// rectangles and polygons. /// -/// Learn more about this API in the Elasticsearch documentation. +/// Learn more about this API in the Elasticsearch documentation. /// public sealed partial class ShapePropertyDescriptor : SerializableDescriptor>, IBuildableDescriptor { @@ -307,7 +307,7 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o /// The shape data type facilitates the indexing of and searching with arbitrary x, y cartesian shapes such as /// rectangles and polygons. /// -/// Learn more about this API in the Elasticsearch documentation. +/// Learn more about this API in the Elasticsearch documentation. /// public sealed partial class ShapePropertyDescriptor : SerializableDescriptor, IBuildableDescriptor { diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/Like.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/Like.g.cs index 7fe667bd3bb..d5d33af4a51 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/Like.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/Like.g.cs @@ -34,7 +34,7 @@ namespace Elastic.Clients.Elasticsearch.QueryDsl; /// /// Text that we want similar documents for or a lookup to a document's field for the text. /// -/// Learn more about this API in the Elasticsearch documentation. +/// Learn more about this API in the Elasticsearch documentation. /// public sealed partial class Like : Union { diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/Query.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/Query.g.cs index 2413f3deea1..35c8ba75904 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/Query.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/Query.g.cs @@ -28,9 +28,6 @@ namespace Elastic.Clients.Elasticsearch.QueryDsl; -/// -/// Learn more about this API in the Elasticsearch documentation. -/// [JsonConverter(typeof(QueryConverter))] public sealed partial class Query { @@ -108,8 +105,6 @@ internal Query(string variantName, object variant) public static Query Term(Elastic.Clients.Elasticsearch.QueryDsl.TermQuery termQuery) => new Query("term", termQuery); public static Query Terms(Elastic.Clients.Elasticsearch.QueryDsl.TermsQuery termsQuery) => new Query("terms", termsQuery); public static Query TermsSet(Elastic.Clients.Elasticsearch.QueryDsl.TermsSetQuery termsSetQuery) => new Query("terms_set", termsSetQuery); - public static Query TextExpansion(Elastic.Clients.Elasticsearch.QueryDsl.TextExpansionQuery textExpansionQuery) => new Query("text_expansion", textExpansionQuery); - public static Query WeightedTokens(Elastic.Clients.Elasticsearch.QueryDsl.WeightedTokensQuery weightedTokensQuery) => new Query("weighted_tokens", weightedTokensQuery); public static Query Wildcard(Elastic.Clients.Elasticsearch.QueryDsl.WildcardQuery wildcardQuery) => new Query("wildcard", wildcardQuery); public static Query Wrapper(Elastic.Clients.Elasticsearch.QueryDsl.WrapperQuery wrapperQuery) => new Query("wrapper", wrapperQuery); @@ -529,20 +524,6 @@ public override Query Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSe continue; } - if (propertyName == "text_expansion") - { - variantValue = JsonSerializer.Deserialize(ref reader, options); - variantNameValue = propertyName; - continue; - } - - if (propertyName == "weighted_tokens") - { - variantValue = JsonSerializer.Deserialize(ref reader, options); - variantNameValue = propertyName; - continue; - } - if (propertyName == "wildcard") { variantValue = JsonSerializer.Deserialize(ref reader, options); @@ -734,12 +715,6 @@ public override void Write(Utf8JsonWriter writer, Query value, JsonSerializerOpt case "terms_set": JsonSerializer.Serialize(writer, (Elastic.Clients.Elasticsearch.QueryDsl.TermsSetQuery)value.Variant, options); break; - case "text_expansion": - JsonSerializer.Serialize(writer, (Elastic.Clients.Elasticsearch.QueryDsl.TextExpansionQuery)value.Variant, options); - break; - case "weighted_tokens": - JsonSerializer.Serialize(writer, (Elastic.Clients.Elasticsearch.QueryDsl.WeightedTokensQuery)value.Variant, options); - break; case "wildcard": JsonSerializer.Serialize(writer, (Elastic.Clients.Elasticsearch.QueryDsl.WildcardQuery)value.Variant, options); break; @@ -894,10 +869,6 @@ private QueryDescriptor Set(object variant, string variantName) public QueryDescriptor Terms(Action> configure) => Set(configure, "terms"); public QueryDescriptor TermsSet(Elastic.Clients.Elasticsearch.QueryDsl.TermsSetQuery termsSetQuery) => Set(termsSetQuery, "terms_set"); public QueryDescriptor TermsSet(Action> configure) => Set(configure, "terms_set"); - public QueryDescriptor TextExpansion(Elastic.Clients.Elasticsearch.QueryDsl.TextExpansionQuery textExpansionQuery) => Set(textExpansionQuery, "text_expansion"); - public QueryDescriptor TextExpansion(Action> configure) => Set(configure, "text_expansion"); - public QueryDescriptor WeightedTokens(Elastic.Clients.Elasticsearch.QueryDsl.WeightedTokensQuery weightedTokensQuery) => Set(weightedTokensQuery, "weighted_tokens"); - public QueryDescriptor WeightedTokens(Action> configure) => Set(configure, "weighted_tokens"); public QueryDescriptor Wildcard(Elastic.Clients.Elasticsearch.QueryDsl.WildcardQuery wildcardQuery) => Set(wildcardQuery, "wildcard"); public QueryDescriptor Wildcard(Action> configure) => Set(configure, "wildcard"); public QueryDescriptor Wrapper(Elastic.Clients.Elasticsearch.QueryDsl.WrapperQuery wrapperQuery) => Set(wrapperQuery, "wrapper"); @@ -1064,10 +1035,6 @@ private QueryDescriptor Set(object variant, string variantName) public QueryDescriptor Terms(Action configure) => Set(configure, "terms"); public QueryDescriptor TermsSet(Elastic.Clients.Elasticsearch.QueryDsl.TermsSetQuery termsSetQuery) => Set(termsSetQuery, "terms_set"); public QueryDescriptor TermsSet(Action configure) => Set(configure, "terms_set"); - public QueryDescriptor TextExpansion(Elastic.Clients.Elasticsearch.QueryDsl.TextExpansionQuery textExpansionQuery) => Set(textExpansionQuery, "text_expansion"); - public QueryDescriptor TextExpansion(Action configure) => Set(configure, "text_expansion"); - public QueryDescriptor WeightedTokens(Elastic.Clients.Elasticsearch.QueryDsl.WeightedTokensQuery weightedTokensQuery) => Set(weightedTokensQuery, "weighted_tokens"); - public QueryDescriptor WeightedTokens(Action configure) => Set(configure, "weighted_tokens"); public QueryDescriptor Wildcard(Elastic.Clients.Elasticsearch.QueryDsl.WildcardQuery wildcardQuery) => Set(wildcardQuery, "wildcard"); public QueryDescriptor Wildcard(Action configure) => Set(configure, "wildcard"); public QueryDescriptor Wrapper(Elastic.Clients.Elasticsearch.QueryDsl.WrapperQuery wrapperQuery) => Set(wrapperQuery, "wrapper"); diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/TermsQuery.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/TermsQuery.g.cs index d3e4b3079ad..a56cf458603 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/TermsQuery.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/TermsQuery.g.cs @@ -53,7 +53,7 @@ public override TermsQuery Read(ref Utf8JsonReader reader, Type typeToConvert, J variant.Field = property; reader.Read(); - variant.Term = JsonSerializer.Deserialize(ref reader, options); + variant.Terms = JsonSerializer.Deserialize(ref reader, options); } } @@ -63,7 +63,7 @@ public override TermsQuery Read(ref Utf8JsonReader reader, Type typeToConvert, J public override void Write(Utf8JsonWriter writer, TermsQuery value, JsonSerializerOptions options) { writer.WriteStartObject(); - if (value.Field is not null && value.Term is not null) + if (value.Field is not null && value.Terms is not null) { if (!options.TryGetClientSettings(out var settings)) { @@ -72,7 +72,7 @@ public override void Write(Utf8JsonWriter writer, TermsQuery value, JsonSerializ var propertyName = settings.Inferrer.Field(value.Field); writer.WritePropertyName(propertyName); - JsonSerializer.Serialize(writer, value.Term, options); + JsonSerializer.Serialize(writer, value.Terms, options); } if (value.Boost.HasValue) @@ -105,7 +105,7 @@ public sealed partial class TermsQuery public float? Boost { get; set; } public Elastic.Clients.Elasticsearch.Field Field { get; set; } public string? QueryName { get; set; } - public Elastic.Clients.Elasticsearch.QueryDsl.TermsQueryField Term { get; set; } + public Elastic.Clients.Elasticsearch.QueryDsl.TermsQueryField Terms { get; set; } public static implicit operator Elastic.Clients.Elasticsearch.QueryDsl.Query(TermsQuery termsQuery) => Elastic.Clients.Elasticsearch.QueryDsl.Query.Terms(termsQuery); public static implicit operator Elastic.Clients.Elasticsearch.Security.ApiKeyQuery(TermsQuery termsQuery) => Elastic.Clients.Elasticsearch.Security.ApiKeyQuery.Terms(termsQuery); @@ -124,7 +124,7 @@ public TermsQueryDescriptor() : base() private float? BoostValue { get; set; } private Elastic.Clients.Elasticsearch.Field FieldValue { get; set; } private string? QueryNameValue { get; set; } - private Elastic.Clients.Elasticsearch.QueryDsl.TermsQueryField TermValue { get; set; } + private Elastic.Clients.Elasticsearch.QueryDsl.TermsQueryField TermsValue { get; set; } /// /// @@ -164,20 +164,20 @@ public TermsQueryDescriptor QueryName(string? queryName) return Self; } - public TermsQueryDescriptor Term(Elastic.Clients.Elasticsearch.QueryDsl.TermsQueryField term) + public TermsQueryDescriptor Terms(Elastic.Clients.Elasticsearch.QueryDsl.TermsQueryField terms) { - TermValue = term; + TermsValue = terms; return Self; } protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) { writer.WriteStartObject(); - if (FieldValue is not null && TermValue is not null) + if (FieldValue is not null && TermsValue is not null) { var propertyName = settings.Inferrer.Field(FieldValue); writer.WritePropertyName(propertyName); - JsonSerializer.Serialize(writer, TermValue, options); + JsonSerializer.Serialize(writer, TermsValue, options); } if (BoostValue.HasValue) @@ -207,7 +207,7 @@ public TermsQueryDescriptor() : base() private float? BoostValue { get; set; } private Elastic.Clients.Elasticsearch.Field FieldValue { get; set; } private string? QueryNameValue { get; set; } - private Elastic.Clients.Elasticsearch.QueryDsl.TermsQueryField TermValue { get; set; } + private Elastic.Clients.Elasticsearch.QueryDsl.TermsQueryField TermsValue { get; set; } /// /// @@ -247,20 +247,20 @@ public TermsQueryDescriptor QueryName(string? queryName) return Self; } - public TermsQueryDescriptor Term(Elastic.Clients.Elasticsearch.QueryDsl.TermsQueryField term) + public TermsQueryDescriptor Terms(Elastic.Clients.Elasticsearch.QueryDsl.TermsQueryField terms) { - TermValue = term; + TermsValue = terms; return Self; } protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) { writer.WriteStartObject(); - if (FieldValue is not null && TermValue is not null) + if (FieldValue is not null && TermsValue is not null) { var propertyName = settings.Inferrer.Field(FieldValue); writer.WritePropertyName(propertyName); - JsonSerializer.Serialize(writer, TermValue, options); + JsonSerializer.Serialize(writer, TermsValue, options); } if (BoostValue.HasValue) diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/TextExpansionQuery.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/TextExpansionQuery.g.cs deleted file mode 100644 index abe905037fd..00000000000 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/TextExpansionQuery.g.cs +++ /dev/null @@ -1,461 +0,0 @@ -// 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 Elastic.Clients.Elasticsearch.Fluent; -using Elastic.Clients.Elasticsearch.Serialization; -using System; -using System.Collections.Generic; -using System.Linq.Expressions; -using System.Text.Json; -using System.Text.Json.Serialization; - -namespace Elastic.Clients.Elasticsearch.QueryDsl; - -internal sealed partial class TextExpansionQueryConverter : JsonConverter -{ - public override TextExpansionQuery Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) - { - if (reader.TokenType != JsonTokenType.StartObject) - throw new JsonException("Unexpected JSON detected."); - reader.Read(); - var fieldName = reader.GetString(); - reader.Read(); - var variant = new TextExpansionQuery(fieldName); - while (reader.Read() && reader.TokenType != JsonTokenType.EndObject) - { - if (reader.TokenType == JsonTokenType.PropertyName) - { - var property = reader.GetString(); - if (property == "boost") - { - variant.Boost = JsonSerializer.Deserialize(ref reader, options); - continue; - } - - if (property == "model_id") - { - variant.ModelId = JsonSerializer.Deserialize(ref reader, options); - continue; - } - - if (property == "model_text") - { - variant.ModelText = JsonSerializer.Deserialize(ref reader, options); - continue; - } - - if (property == "pruning_config") - { - variant.PruningConfig = JsonSerializer.Deserialize(ref reader, options); - continue; - } - - if (property == "_name") - { - variant.QueryName = JsonSerializer.Deserialize(ref reader, options); - continue; - } - } - } - - reader.Read(); - return variant; - } - - public override void Write(Utf8JsonWriter writer, TextExpansionQuery value, JsonSerializerOptions options) - { - if (value.Field is null) - throw new JsonException("Unable to serialize TextExpansionQuery because the `Field` property is not set. Field name queries must include a valid field name."); - if (!options.TryGetClientSettings(out var settings)) - throw new JsonException("Unable to retrieve client settings required to infer field."); - writer.WriteStartObject(); - writer.WritePropertyName(settings.Inferrer.Field(value.Field)); - writer.WriteStartObject(); - if (value.Boost.HasValue) - { - writer.WritePropertyName("boost"); - writer.WriteNumberValue(value.Boost.Value); - } - - writer.WritePropertyName("model_id"); - writer.WriteStringValue(value.ModelId); - writer.WritePropertyName("model_text"); - writer.WriteStringValue(value.ModelText); - if (value.PruningConfig is not null) - { - writer.WritePropertyName("pruning_config"); - JsonSerializer.Serialize(writer, value.PruningConfig, options); - } - - if (!string.IsNullOrEmpty(value.QueryName)) - { - writer.WritePropertyName("_name"); - writer.WriteStringValue(value.QueryName); - } - - writer.WriteEndObject(); - writer.WriteEndObject(); - } -} - -[JsonConverter(typeof(TextExpansionQueryConverter))] -public sealed partial class TextExpansionQuery -{ - public TextExpansionQuery(Elastic.Clients.Elasticsearch.Field field) - { - if (field is null) - throw new ArgumentNullException(nameof(field)); - Field = field; - } - - /// - /// - /// Floating point number used to decrease or increase the relevance scores of the query. - /// Boost values are relative to the default value of 1.0. - /// A boost value between 0 and 1.0 decreases the relevance score. - /// A value greater than 1.0 increases the relevance score. - /// - /// - public float? Boost { get; set; } - public Elastic.Clients.Elasticsearch.Field Field { get; set; } - - /// - /// - /// The text expansion NLP model to use - /// - /// - public string ModelId { get; set; } - - /// - /// - /// The query text - /// - /// - public string ModelText { get; set; } - - /// - /// - /// Token pruning configurations - /// - /// - public Elastic.Clients.Elasticsearch.QueryDsl.TokenPruningConfig? PruningConfig { get; set; } - public string? QueryName { get; set; } - - public static implicit operator Elastic.Clients.Elasticsearch.QueryDsl.Query(TextExpansionQuery textExpansionQuery) => Elastic.Clients.Elasticsearch.QueryDsl.Query.TextExpansion(textExpansionQuery); -} - -public sealed partial class TextExpansionQueryDescriptor : SerializableDescriptor> -{ - internal TextExpansionQueryDescriptor(Action> configure) => configure.Invoke(this); - - public TextExpansionQueryDescriptor() : base() - { - } - - private float? BoostValue { get; set; } - private Elastic.Clients.Elasticsearch.Field FieldValue { get; set; } - private string ModelIdValue { get; set; } - private string ModelTextValue { get; set; } - private Elastic.Clients.Elasticsearch.QueryDsl.TokenPruningConfig? PruningConfigValue { get; set; } - private Elastic.Clients.Elasticsearch.QueryDsl.TokenPruningConfigDescriptor PruningConfigDescriptor { get; set; } - private Action PruningConfigDescriptorAction { get; set; } - private string? QueryNameValue { get; set; } - - /// - /// - /// Floating point number used to decrease or increase the relevance scores of the query. - /// Boost values are relative to the default value of 1.0. - /// A boost value between 0 and 1.0 decreases the relevance score. - /// A value greater than 1.0 increases the relevance score. - /// - /// - public TextExpansionQueryDescriptor Boost(float? boost) - { - BoostValue = boost; - return Self; - } - - public TextExpansionQueryDescriptor Field(Elastic.Clients.Elasticsearch.Field field) - { - FieldValue = field; - return Self; - } - - public TextExpansionQueryDescriptor Field(Expression> field) - { - FieldValue = field; - return Self; - } - - public TextExpansionQueryDescriptor Field(Expression> field) - { - FieldValue = field; - return Self; - } - - /// - /// - /// The text expansion NLP model to use - /// - /// - public TextExpansionQueryDescriptor ModelId(string modelId) - { - ModelIdValue = modelId; - return Self; - } - - /// - /// - /// The query text - /// - /// - public TextExpansionQueryDescriptor ModelText(string modelText) - { - ModelTextValue = modelText; - return Self; - } - - /// - /// - /// Token pruning configurations - /// - /// - public TextExpansionQueryDescriptor PruningConfig(Elastic.Clients.Elasticsearch.QueryDsl.TokenPruningConfig? pruningConfig) - { - PruningConfigDescriptor = null; - PruningConfigDescriptorAction = null; - PruningConfigValue = pruningConfig; - return Self; - } - - public TextExpansionQueryDescriptor PruningConfig(Elastic.Clients.Elasticsearch.QueryDsl.TokenPruningConfigDescriptor descriptor) - { - PruningConfigValue = null; - PruningConfigDescriptorAction = null; - PruningConfigDescriptor = descriptor; - return Self; - } - - public TextExpansionQueryDescriptor PruningConfig(Action configure) - { - PruningConfigValue = null; - PruningConfigDescriptor = null; - PruningConfigDescriptorAction = configure; - return Self; - } - - public TextExpansionQueryDescriptor QueryName(string? queryName) - { - QueryNameValue = queryName; - return Self; - } - - protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) - { - if (FieldValue is null) - throw new JsonException("Unable to serialize field name query descriptor with a null field. Ensure you use a suitable descriptor constructor or call the Field method, passing a non-null value for the field argument."); - writer.WriteStartObject(); - writer.WritePropertyName(settings.Inferrer.Field(FieldValue)); - writer.WriteStartObject(); - if (BoostValue.HasValue) - { - writer.WritePropertyName("boost"); - writer.WriteNumberValue(BoostValue.Value); - } - - writer.WritePropertyName("model_id"); - writer.WriteStringValue(ModelIdValue); - writer.WritePropertyName("model_text"); - writer.WriteStringValue(ModelTextValue); - if (PruningConfigDescriptor is not null) - { - writer.WritePropertyName("pruning_config"); - JsonSerializer.Serialize(writer, PruningConfigDescriptor, options); - } - else if (PruningConfigDescriptorAction is not null) - { - writer.WritePropertyName("pruning_config"); - JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.QueryDsl.TokenPruningConfigDescriptor(PruningConfigDescriptorAction), options); - } - else if (PruningConfigValue is not null) - { - writer.WritePropertyName("pruning_config"); - JsonSerializer.Serialize(writer, PruningConfigValue, options); - } - - if (!string.IsNullOrEmpty(QueryNameValue)) - { - writer.WritePropertyName("_name"); - writer.WriteStringValue(QueryNameValue); - } - - writer.WriteEndObject(); - writer.WriteEndObject(); - } -} - -public sealed partial class TextExpansionQueryDescriptor : SerializableDescriptor -{ - internal TextExpansionQueryDescriptor(Action configure) => configure.Invoke(this); - - public TextExpansionQueryDescriptor() : base() - { - } - - private float? BoostValue { get; set; } - private Elastic.Clients.Elasticsearch.Field FieldValue { get; set; } - private string ModelIdValue { get; set; } - private string ModelTextValue { get; set; } - private Elastic.Clients.Elasticsearch.QueryDsl.TokenPruningConfig? PruningConfigValue { get; set; } - private Elastic.Clients.Elasticsearch.QueryDsl.TokenPruningConfigDescriptor PruningConfigDescriptor { get; set; } - private Action PruningConfigDescriptorAction { get; set; } - private string? QueryNameValue { get; set; } - - /// - /// - /// Floating point number used to decrease or increase the relevance scores of the query. - /// Boost values are relative to the default value of 1.0. - /// A boost value between 0 and 1.0 decreases the relevance score. - /// A value greater than 1.0 increases the relevance score. - /// - /// - public TextExpansionQueryDescriptor Boost(float? boost) - { - BoostValue = boost; - return Self; - } - - public TextExpansionQueryDescriptor Field(Elastic.Clients.Elasticsearch.Field field) - { - FieldValue = field; - return Self; - } - - public TextExpansionQueryDescriptor Field(Expression> field) - { - FieldValue = field; - return Self; - } - - public TextExpansionQueryDescriptor Field(Expression> field) - { - FieldValue = field; - return Self; - } - - /// - /// - /// The text expansion NLP model to use - /// - /// - public TextExpansionQueryDescriptor ModelId(string modelId) - { - ModelIdValue = modelId; - return Self; - } - - /// - /// - /// The query text - /// - /// - public TextExpansionQueryDescriptor ModelText(string modelText) - { - ModelTextValue = modelText; - return Self; - } - - /// - /// - /// Token pruning configurations - /// - /// - public TextExpansionQueryDescriptor PruningConfig(Elastic.Clients.Elasticsearch.QueryDsl.TokenPruningConfig? pruningConfig) - { - PruningConfigDescriptor = null; - PruningConfigDescriptorAction = null; - PruningConfigValue = pruningConfig; - return Self; - } - - public TextExpansionQueryDescriptor PruningConfig(Elastic.Clients.Elasticsearch.QueryDsl.TokenPruningConfigDescriptor descriptor) - { - PruningConfigValue = null; - PruningConfigDescriptorAction = null; - PruningConfigDescriptor = descriptor; - return Self; - } - - public TextExpansionQueryDescriptor PruningConfig(Action configure) - { - PruningConfigValue = null; - PruningConfigDescriptor = null; - PruningConfigDescriptorAction = configure; - return Self; - } - - public TextExpansionQueryDescriptor QueryName(string? queryName) - { - QueryNameValue = queryName; - return Self; - } - - protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) - { - if (FieldValue is null) - throw new JsonException("Unable to serialize field name query descriptor with a null field. Ensure you use a suitable descriptor constructor or call the Field method, passing a non-null value for the field argument."); - writer.WriteStartObject(); - writer.WritePropertyName(settings.Inferrer.Field(FieldValue)); - writer.WriteStartObject(); - if (BoostValue.HasValue) - { - writer.WritePropertyName("boost"); - writer.WriteNumberValue(BoostValue.Value); - } - - writer.WritePropertyName("model_id"); - writer.WriteStringValue(ModelIdValue); - writer.WritePropertyName("model_text"); - writer.WriteStringValue(ModelTextValue); - if (PruningConfigDescriptor is not null) - { - writer.WritePropertyName("pruning_config"); - JsonSerializer.Serialize(writer, PruningConfigDescriptor, options); - } - else if (PruningConfigDescriptorAction is not null) - { - writer.WritePropertyName("pruning_config"); - JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.QueryDsl.TokenPruningConfigDescriptor(PruningConfigDescriptorAction), options); - } - else if (PruningConfigValue is not null) - { - writer.WritePropertyName("pruning_config"); - JsonSerializer.Serialize(writer, PruningConfigValue, options); - } - - if (!string.IsNullOrEmpty(QueryNameValue)) - { - writer.WritePropertyName("_name"); - writer.WriteStringValue(QueryNameValue); - } - - writer.WriteEndObject(); - writer.WriteEndObject(); - } -} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/WeightedTokensQuery.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/WeightedTokensQuery.g.cs deleted file mode 100644 index dccca3386fb..00000000000 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/WeightedTokensQuery.g.cs +++ /dev/null @@ -1,418 +0,0 @@ -// 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 Elastic.Clients.Elasticsearch.Fluent; -using Elastic.Clients.Elasticsearch.Serialization; -using System; -using System.Collections.Generic; -using System.Linq.Expressions; -using System.Text.Json; -using System.Text.Json.Serialization; - -namespace Elastic.Clients.Elasticsearch.QueryDsl; - -internal sealed partial class WeightedTokensQueryConverter : JsonConverter -{ - public override WeightedTokensQuery Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) - { - if (reader.TokenType != JsonTokenType.StartObject) - throw new JsonException("Unexpected JSON detected."); - reader.Read(); - var fieldName = reader.GetString(); - reader.Read(); - var variant = new WeightedTokensQuery(fieldName); - while (reader.Read() && reader.TokenType != JsonTokenType.EndObject) - { - if (reader.TokenType == JsonTokenType.PropertyName) - { - var property = reader.GetString(); - if (property == "boost") - { - variant.Boost = JsonSerializer.Deserialize(ref reader, options); - continue; - } - - if (property == "pruning_config") - { - variant.PruningConfig = JsonSerializer.Deserialize(ref reader, options); - continue; - } - - if (property == "_name") - { - variant.QueryName = JsonSerializer.Deserialize(ref reader, options); - continue; - } - - if (property == "tokens") - { - variant.Tokens = JsonSerializer.Deserialize>(ref reader, options); - continue; - } - } - } - - reader.Read(); - return variant; - } - - public override void Write(Utf8JsonWriter writer, WeightedTokensQuery value, JsonSerializerOptions options) - { - if (value.Field is null) - throw new JsonException("Unable to serialize WeightedTokensQuery because the `Field` property is not set. Field name queries must include a valid field name."); - if (!options.TryGetClientSettings(out var settings)) - throw new JsonException("Unable to retrieve client settings required to infer field."); - writer.WriteStartObject(); - writer.WritePropertyName(settings.Inferrer.Field(value.Field)); - writer.WriteStartObject(); - if (value.Boost.HasValue) - { - writer.WritePropertyName("boost"); - writer.WriteNumberValue(value.Boost.Value); - } - - if (value.PruningConfig is not null) - { - writer.WritePropertyName("pruning_config"); - JsonSerializer.Serialize(writer, value.PruningConfig, options); - } - - if (!string.IsNullOrEmpty(value.QueryName)) - { - writer.WritePropertyName("_name"); - writer.WriteStringValue(value.QueryName); - } - - writer.WritePropertyName("tokens"); - JsonSerializer.Serialize(writer, value.Tokens, options); - writer.WriteEndObject(); - writer.WriteEndObject(); - } -} - -[JsonConverter(typeof(WeightedTokensQueryConverter))] -public sealed partial class WeightedTokensQuery -{ - public WeightedTokensQuery(Elastic.Clients.Elasticsearch.Field field) - { - if (field is null) - throw new ArgumentNullException(nameof(field)); - Field = field; - } - - /// - /// - /// Floating point number used to decrease or increase the relevance scores of the query. - /// Boost values are relative to the default value of 1.0. - /// A boost value between 0 and 1.0 decreases the relevance score. - /// A value greater than 1.0 increases the relevance score. - /// - /// - public float? Boost { get; set; } - public Elastic.Clients.Elasticsearch.Field Field { get; set; } - - /// - /// - /// Token pruning configurations - /// - /// - public Elastic.Clients.Elasticsearch.QueryDsl.TokenPruningConfig? PruningConfig { get; set; } - public string? QueryName { get; set; } - - /// - /// - /// The tokens representing this query - /// - /// - public IDictionary Tokens { get; set; } - - public static implicit operator Elastic.Clients.Elasticsearch.QueryDsl.Query(WeightedTokensQuery weightedTokensQuery) => Elastic.Clients.Elasticsearch.QueryDsl.Query.WeightedTokens(weightedTokensQuery); -} - -public sealed partial class WeightedTokensQueryDescriptor : SerializableDescriptor> -{ - internal WeightedTokensQueryDescriptor(Action> configure) => configure.Invoke(this); - - public WeightedTokensQueryDescriptor() : base() - { - } - - private float? BoostValue { get; set; } - private Elastic.Clients.Elasticsearch.Field FieldValue { get; set; } - private Elastic.Clients.Elasticsearch.QueryDsl.TokenPruningConfig? PruningConfigValue { get; set; } - private Elastic.Clients.Elasticsearch.QueryDsl.TokenPruningConfigDescriptor PruningConfigDescriptor { get; set; } - private Action PruningConfigDescriptorAction { get; set; } - private string? QueryNameValue { get; set; } - private IDictionary TokensValue { get; set; } - - /// - /// - /// Floating point number used to decrease or increase the relevance scores of the query. - /// Boost values are relative to the default value of 1.0. - /// A boost value between 0 and 1.0 decreases the relevance score. - /// A value greater than 1.0 increases the relevance score. - /// - /// - public WeightedTokensQueryDescriptor Boost(float? boost) - { - BoostValue = boost; - return Self; - } - - public WeightedTokensQueryDescriptor Field(Elastic.Clients.Elasticsearch.Field field) - { - FieldValue = field; - return Self; - } - - public WeightedTokensQueryDescriptor Field(Expression> field) - { - FieldValue = field; - return Self; - } - - public WeightedTokensQueryDescriptor Field(Expression> field) - { - FieldValue = field; - return Self; - } - - /// - /// - /// Token pruning configurations - /// - /// - public WeightedTokensQueryDescriptor PruningConfig(Elastic.Clients.Elasticsearch.QueryDsl.TokenPruningConfig? pruningConfig) - { - PruningConfigDescriptor = null; - PruningConfigDescriptorAction = null; - PruningConfigValue = pruningConfig; - return Self; - } - - public WeightedTokensQueryDescriptor PruningConfig(Elastic.Clients.Elasticsearch.QueryDsl.TokenPruningConfigDescriptor descriptor) - { - PruningConfigValue = null; - PruningConfigDescriptorAction = null; - PruningConfigDescriptor = descriptor; - return Self; - } - - public WeightedTokensQueryDescriptor PruningConfig(Action configure) - { - PruningConfigValue = null; - PruningConfigDescriptor = null; - PruningConfigDescriptorAction = configure; - return Self; - } - - public WeightedTokensQueryDescriptor QueryName(string? queryName) - { - QueryNameValue = queryName; - return Self; - } - - /// - /// - /// The tokens representing this query - /// - /// - public WeightedTokensQueryDescriptor Tokens(Func, FluentDictionary> selector) - { - TokensValue = selector?.Invoke(new FluentDictionary()); - return Self; - } - - protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) - { - if (FieldValue is null) - throw new JsonException("Unable to serialize field name query descriptor with a null field. Ensure you use a suitable descriptor constructor or call the Field method, passing a non-null value for the field argument."); - writer.WriteStartObject(); - writer.WritePropertyName(settings.Inferrer.Field(FieldValue)); - writer.WriteStartObject(); - if (BoostValue.HasValue) - { - writer.WritePropertyName("boost"); - writer.WriteNumberValue(BoostValue.Value); - } - - if (PruningConfigDescriptor is not null) - { - writer.WritePropertyName("pruning_config"); - JsonSerializer.Serialize(writer, PruningConfigDescriptor, options); - } - else if (PruningConfigDescriptorAction is not null) - { - writer.WritePropertyName("pruning_config"); - JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.QueryDsl.TokenPruningConfigDescriptor(PruningConfigDescriptorAction), options); - } - else if (PruningConfigValue is not null) - { - writer.WritePropertyName("pruning_config"); - JsonSerializer.Serialize(writer, PruningConfigValue, options); - } - - if (!string.IsNullOrEmpty(QueryNameValue)) - { - writer.WritePropertyName("_name"); - writer.WriteStringValue(QueryNameValue); - } - - writer.WritePropertyName("tokens"); - JsonSerializer.Serialize(writer, TokensValue, options); - writer.WriteEndObject(); - writer.WriteEndObject(); - } -} - -public sealed partial class WeightedTokensQueryDescriptor : SerializableDescriptor -{ - internal WeightedTokensQueryDescriptor(Action configure) => configure.Invoke(this); - - public WeightedTokensQueryDescriptor() : base() - { - } - - private float? BoostValue { get; set; } - private Elastic.Clients.Elasticsearch.Field FieldValue { get; set; } - private Elastic.Clients.Elasticsearch.QueryDsl.TokenPruningConfig? PruningConfigValue { get; set; } - private Elastic.Clients.Elasticsearch.QueryDsl.TokenPruningConfigDescriptor PruningConfigDescriptor { get; set; } - private Action PruningConfigDescriptorAction { get; set; } - private string? QueryNameValue { get; set; } - private IDictionary TokensValue { get; set; } - - /// - /// - /// Floating point number used to decrease or increase the relevance scores of the query. - /// Boost values are relative to the default value of 1.0. - /// A boost value between 0 and 1.0 decreases the relevance score. - /// A value greater than 1.0 increases the relevance score. - /// - /// - public WeightedTokensQueryDescriptor Boost(float? boost) - { - BoostValue = boost; - return Self; - } - - public WeightedTokensQueryDescriptor Field(Elastic.Clients.Elasticsearch.Field field) - { - FieldValue = field; - return Self; - } - - public WeightedTokensQueryDescriptor Field(Expression> field) - { - FieldValue = field; - return Self; - } - - public WeightedTokensQueryDescriptor Field(Expression> field) - { - FieldValue = field; - return Self; - } - - /// - /// - /// Token pruning configurations - /// - /// - public WeightedTokensQueryDescriptor PruningConfig(Elastic.Clients.Elasticsearch.QueryDsl.TokenPruningConfig? pruningConfig) - { - PruningConfigDescriptor = null; - PruningConfigDescriptorAction = null; - PruningConfigValue = pruningConfig; - return Self; - } - - public WeightedTokensQueryDescriptor PruningConfig(Elastic.Clients.Elasticsearch.QueryDsl.TokenPruningConfigDescriptor descriptor) - { - PruningConfigValue = null; - PruningConfigDescriptorAction = null; - PruningConfigDescriptor = descriptor; - return Self; - } - - public WeightedTokensQueryDescriptor PruningConfig(Action configure) - { - PruningConfigValue = null; - PruningConfigDescriptor = null; - PruningConfigDescriptorAction = configure; - return Self; - } - - public WeightedTokensQueryDescriptor QueryName(string? queryName) - { - QueryNameValue = queryName; - return Self; - } - - /// - /// - /// The tokens representing this query - /// - /// - public WeightedTokensQueryDescriptor Tokens(Func, FluentDictionary> selector) - { - TokensValue = selector?.Invoke(new FluentDictionary()); - return Self; - } - - protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) - { - if (FieldValue is null) - throw new JsonException("Unable to serialize field name query descriptor with a null field. Ensure you use a suitable descriptor constructor or call the Field method, passing a non-null value for the field argument."); - writer.WriteStartObject(); - writer.WritePropertyName(settings.Inferrer.Field(FieldValue)); - writer.WriteStartObject(); - if (BoostValue.HasValue) - { - writer.WritePropertyName("boost"); - writer.WriteNumberValue(BoostValue.Value); - } - - if (PruningConfigDescriptor is not null) - { - writer.WritePropertyName("pruning_config"); - JsonSerializer.Serialize(writer, PruningConfigDescriptor, options); - } - else if (PruningConfigDescriptorAction is not null) - { - writer.WritePropertyName("pruning_config"); - JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.QueryDsl.TokenPruningConfigDescriptor(PruningConfigDescriptorAction), options); - } - else if (PruningConfigValue is not null) - { - writer.WritePropertyName("pruning_config"); - JsonSerializer.Serialize(writer, PruningConfigValue, options); - } - - if (!string.IsNullOrEmpty(QueryNameValue)) - { - writer.WritePropertyName("_name"); - writer.WriteStringValue(QueryNameValue); - } - - writer.WritePropertyName("tokens"); - JsonSerializer.Serialize(writer, TokensValue, options); - writer.WriteEndObject(); - writer.WriteEndObject(); - } -} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryRules/QueryRulesetMatchedRule.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryRules/QueryRulesetMatchedRule.g.cs new file mode 100644 index 00000000000..6fa1ac86998 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryRules/QueryRulesetMatchedRule.g.cs @@ -0,0 +1,47 @@ +// 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 Elastic.Clients.Elasticsearch.Fluent; +using Elastic.Clients.Elasticsearch.Serialization; +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +namespace Elastic.Clients.Elasticsearch.QueryRules; + +public sealed partial class QueryRulesetMatchedRule +{ + /// + /// + /// Rule unique identifier within that ruleset + /// + /// + [JsonInclude, JsonPropertyName("rule_id")] + public string RuleId { get; init; } + + /// + /// + /// Ruleset unique identifier + /// + /// + [JsonInclude, JsonPropertyName("ruleset_id")] + public string RulesetId { get; init; } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/RRFRetriever.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/RRFRetriever.g.cs index c3a1b401dab..62c90d43295 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/RRFRetriever.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/RRFRetriever.g.cs @@ -38,6 +38,14 @@ public sealed partial class RRFRetriever [SingleOrManyCollectionConverter(typeof(Elastic.Clients.Elasticsearch.QueryDsl.Query))] public ICollection? Filter { get; set; } + /// + /// + /// Minimum _score for matching documents. Documents with a lower _score are not included in the top documents. + /// + /// + [JsonInclude, JsonPropertyName("min_score")] + public float? MinScore { get; set; } + /// /// /// This value determines how much influence documents in individual result sets per query have over the final ranked result set. @@ -77,6 +85,7 @@ public RRFRetrieverDescriptor() : base() private Elastic.Clients.Elasticsearch.QueryDsl.QueryDescriptor FilterDescriptor { get; set; } private Action> FilterDescriptorAction { get; set; } private Action>[] FilterDescriptorActions { get; set; } + private float? MinScoreValue { get; set; } private int? RankConstantValue { get; set; } private int? RankWindowSizeValue { get; set; } private ICollection RetrieversValue { get; set; } @@ -125,6 +134,17 @@ public RRFRetrieverDescriptor Filter(params Action + /// + /// Minimum _score for matching documents. Documents with a lower _score are not included in the top documents. + /// + /// + public RRFRetrieverDescriptor MinScore(float? minScore) + { + MinScoreValue = minScore; + return Self; + } + /// /// /// This value determines how much influence documents in individual result sets per query have over the final ranked result set. @@ -220,6 +240,12 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o SingleOrManySerializationHelper.Serialize(FilterValue, writer, options); } + if (MinScoreValue.HasValue) + { + writer.WritePropertyName("min_score"); + writer.WriteNumberValue(MinScoreValue.Value); + } + if (RankConstantValue.HasValue) { writer.WritePropertyName("rank_constant"); @@ -279,6 +305,7 @@ public RRFRetrieverDescriptor() : base() private Elastic.Clients.Elasticsearch.QueryDsl.QueryDescriptor FilterDescriptor { get; set; } private Action FilterDescriptorAction { get; set; } private Action[] FilterDescriptorActions { get; set; } + private float? MinScoreValue { get; set; } private int? RankConstantValue { get; set; } private int? RankWindowSizeValue { get; set; } private ICollection RetrieversValue { get; set; } @@ -327,6 +354,17 @@ public RRFRetrieverDescriptor Filter(params Action + /// + /// Minimum _score for matching documents. Documents with a lower _score are not included in the top documents. + /// + /// + public RRFRetrieverDescriptor MinScore(float? minScore) + { + MinScoreValue = minScore; + return Self; + } + /// /// /// This value determines how much influence documents in individual result sets per query have over the final ranked result set. @@ -422,6 +460,12 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o SingleOrManySerializationHelper.Serialize(FilterValue, writer, options); } + if (MinScoreValue.HasValue) + { + writer.WritePropertyName("min_score"); + writer.WriteNumberValue(MinScoreValue.Value); + } + if (RankConstantValue.HasValue) { writer.WritePropertyName("rank_constant"); diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Retriever.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Retriever.g.cs index 797fea39b66..5a79a236a6a 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Retriever.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Retriever.g.cs @@ -48,7 +48,9 @@ internal Retriever(string variantName, object variant) public static Retriever Knn(Elastic.Clients.Elasticsearch.KnnRetriever knnRetriever) => new Retriever("knn", knnRetriever); public static Retriever Rrf(Elastic.Clients.Elasticsearch.RRFRetriever rRFRetriever) => new Retriever("rrf", rRFRetriever); + public static Retriever Rule(Elastic.Clients.Elasticsearch.RuleRetriever ruleRetriever) => new Retriever("rule", ruleRetriever); public static Retriever Standard(Elastic.Clients.Elasticsearch.StandardRetriever standardRetriever) => new Retriever("standard", standardRetriever); + public static Retriever TextSimilarityReranker(Elastic.Clients.Elasticsearch.TextSimilarityReranker textSimilarityReranker) => new Retriever("text_similarity_reranker", textSimilarityReranker); public bool TryGet([NotNullWhen(true)] out T? result) where T : class { @@ -102,6 +104,13 @@ public override Retriever Read(ref Utf8JsonReader reader, Type typeToConvert, Js continue; } + if (propertyName == "rule") + { + variantValue = JsonSerializer.Deserialize(ref reader, options); + variantNameValue = propertyName; + continue; + } + if (propertyName == "standard") { variantValue = JsonSerializer.Deserialize(ref reader, options); @@ -109,6 +118,13 @@ public override Retriever Read(ref Utf8JsonReader reader, Type typeToConvert, Js continue; } + if (propertyName == "text_similarity_reranker") + { + variantValue = JsonSerializer.Deserialize(ref reader, options); + variantNameValue = propertyName; + continue; + } + throw new JsonException($"Unknown property name '{propertyName}' received while deserializing the 'Retriever' from the response."); } @@ -130,9 +146,15 @@ public override void Write(Utf8JsonWriter writer, Retriever value, JsonSerialize case "rrf": JsonSerializer.Serialize(writer, (Elastic.Clients.Elasticsearch.RRFRetriever)value.Variant, options); break; + case "rule": + JsonSerializer.Serialize(writer, (Elastic.Clients.Elasticsearch.RuleRetriever)value.Variant, options); + break; case "standard": JsonSerializer.Serialize(writer, (Elastic.Clients.Elasticsearch.StandardRetriever)value.Variant, options); break; + case "text_similarity_reranker": + JsonSerializer.Serialize(writer, (Elastic.Clients.Elasticsearch.TextSimilarityReranker)value.Variant, options); + break; } } @@ -175,8 +197,12 @@ private RetrieverDescriptor Set(object variant, string variantName) public RetrieverDescriptor Knn(Action> configure) => Set(configure, "knn"); public RetrieverDescriptor Rrf(Elastic.Clients.Elasticsearch.RRFRetriever rRFRetriever) => Set(rRFRetriever, "rrf"); public RetrieverDescriptor Rrf(Action> configure) => Set(configure, "rrf"); + public RetrieverDescriptor Rule(Elastic.Clients.Elasticsearch.RuleRetriever ruleRetriever) => Set(ruleRetriever, "rule"); + public RetrieverDescriptor Rule(Action> configure) => Set(configure, "rule"); public RetrieverDescriptor Standard(Elastic.Clients.Elasticsearch.StandardRetriever standardRetriever) => Set(standardRetriever, "standard"); public RetrieverDescriptor Standard(Action> configure) => Set(configure, "standard"); + public RetrieverDescriptor TextSimilarityReranker(Elastic.Clients.Elasticsearch.TextSimilarityReranker textSimilarityReranker) => Set(textSimilarityReranker, "text_similarity_reranker"); + public RetrieverDescriptor TextSimilarityReranker(Action> configure) => Set(configure, "text_similarity_reranker"); protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) { @@ -233,8 +259,12 @@ private RetrieverDescriptor Set(object variant, string variantName) public RetrieverDescriptor Knn(Action configure) => Set(configure, "knn"); public RetrieverDescriptor Rrf(Elastic.Clients.Elasticsearch.RRFRetriever rRFRetriever) => Set(rRFRetriever, "rrf"); public RetrieverDescriptor Rrf(Action configure) => Set(configure, "rrf"); + public RetrieverDescriptor Rule(Elastic.Clients.Elasticsearch.RuleRetriever ruleRetriever) => Set(ruleRetriever, "rule"); + public RetrieverDescriptor Rule(Action configure) => Set(configure, "rule"); public RetrieverDescriptor Standard(Elastic.Clients.Elasticsearch.StandardRetriever standardRetriever) => Set(standardRetriever, "standard"); public RetrieverDescriptor Standard(Action configure) => Set(configure, "standard"); + public RetrieverDescriptor TextSimilarityReranker(Elastic.Clients.Elasticsearch.TextSimilarityReranker textSimilarityReranker) => Set(textSimilarityReranker, "text_similarity_reranker"); + public RetrieverDescriptor TextSimilarityReranker(Action configure) => Set(configure, "text_similarity_reranker"); protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) { diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/RuleRetriever.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/RuleRetriever.g.cs new file mode 100644 index 00000000000..34346cfb0ce --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/RuleRetriever.g.cs @@ -0,0 +1,486 @@ +// 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 Elastic.Clients.Elasticsearch.Fluent; +using Elastic.Clients.Elasticsearch.Serialization; +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +namespace Elastic.Clients.Elasticsearch; + +public sealed partial class RuleRetriever +{ + /// + /// + /// Query to filter the documents that can match. + /// + /// + [JsonInclude, JsonPropertyName("filter")] + [SingleOrManyCollectionConverter(typeof(Elastic.Clients.Elasticsearch.QueryDsl.Query))] + public ICollection? Filter { get; set; } + + /// + /// + /// The match criteria that will determine if a rule in the provided rulesets should be applied. + /// + /// + [JsonInclude, JsonPropertyName("match_criteria")] + public object MatchCriteria { get; set; } + + /// + /// + /// Minimum _score for matching documents. Documents with a lower _score are not included in the top documents. + /// + /// + [JsonInclude, JsonPropertyName("min_score")] + public float? MinScore { get; set; } + + /// + /// + /// This value determines the size of the individual result set. + /// + /// + [JsonInclude, JsonPropertyName("rank_window_size")] + public int? RankWindowSize { get; set; } + + /// + /// + /// The retriever whose results rules should be applied to. + /// + /// + [JsonInclude, JsonPropertyName("retriever")] + public Elastic.Clients.Elasticsearch.Retriever Retriever { get; set; } + + /// + /// + /// The ruleset IDs containing the rules this retriever is evaluating against. + /// + /// + [JsonInclude, JsonPropertyName("ruleset_ids")] + public ICollection RulesetIds { get; set; } + + public static implicit operator Elastic.Clients.Elasticsearch.Retriever(RuleRetriever ruleRetriever) => Elastic.Clients.Elasticsearch.Retriever.Rule(ruleRetriever); +} + +public sealed partial class RuleRetrieverDescriptor : SerializableDescriptor> +{ + internal RuleRetrieverDescriptor(Action> configure) => configure.Invoke(this); + + public RuleRetrieverDescriptor() : base() + { + } + + private ICollection? FilterValue { get; set; } + private Elastic.Clients.Elasticsearch.QueryDsl.QueryDescriptor FilterDescriptor { get; set; } + private Action> FilterDescriptorAction { get; set; } + private Action>[] FilterDescriptorActions { get; set; } + private object MatchCriteriaValue { get; set; } + private float? MinScoreValue { get; set; } + private int? RankWindowSizeValue { get; set; } + private Elastic.Clients.Elasticsearch.Retriever RetrieverValue { get; set; } + private Elastic.Clients.Elasticsearch.RetrieverDescriptor RetrieverDescriptor { get; set; } + private Action> RetrieverDescriptorAction { get; set; } + private ICollection RulesetIdsValue { get; set; } + + /// + /// + /// Query to filter the documents that can match. + /// + /// + public RuleRetrieverDescriptor Filter(ICollection? filter) + { + FilterDescriptor = null; + FilterDescriptorAction = null; + FilterDescriptorActions = null; + FilterValue = filter; + return Self; + } + + public RuleRetrieverDescriptor Filter(Elastic.Clients.Elasticsearch.QueryDsl.QueryDescriptor descriptor) + { + FilterValue = null; + FilterDescriptorAction = null; + FilterDescriptorActions = null; + FilterDescriptor = descriptor; + return Self; + } + + public RuleRetrieverDescriptor Filter(Action> configure) + { + FilterValue = null; + FilterDescriptor = null; + FilterDescriptorActions = null; + FilterDescriptorAction = configure; + return Self; + } + + public RuleRetrieverDescriptor Filter(params Action>[] configure) + { + FilterValue = null; + FilterDescriptor = null; + FilterDescriptorAction = null; + FilterDescriptorActions = configure; + return Self; + } + + /// + /// + /// The match criteria that will determine if a rule in the provided rulesets should be applied. + /// + /// + public RuleRetrieverDescriptor MatchCriteria(object matchCriteria) + { + MatchCriteriaValue = matchCriteria; + return Self; + } + + /// + /// + /// Minimum _score for matching documents. Documents with a lower _score are not included in the top documents. + /// + /// + public RuleRetrieverDescriptor MinScore(float? minScore) + { + MinScoreValue = minScore; + return Self; + } + + /// + /// + /// This value determines the size of the individual result set. + /// + /// + public RuleRetrieverDescriptor RankWindowSize(int? rankWindowSize) + { + RankWindowSizeValue = rankWindowSize; + return Self; + } + + /// + /// + /// The retriever whose results rules should be applied to. + /// + /// + public RuleRetrieverDescriptor Retriever(Elastic.Clients.Elasticsearch.Retriever retriever) + { + RetrieverDescriptor = null; + RetrieverDescriptorAction = null; + RetrieverValue = retriever; + return Self; + } + + public RuleRetrieverDescriptor Retriever(Elastic.Clients.Elasticsearch.RetrieverDescriptor descriptor) + { + RetrieverValue = null; + RetrieverDescriptorAction = null; + RetrieverDescriptor = descriptor; + return Self; + } + + public RuleRetrieverDescriptor Retriever(Action> configure) + { + RetrieverValue = null; + RetrieverDescriptor = null; + RetrieverDescriptorAction = configure; + return Self; + } + + /// + /// + /// The ruleset IDs containing the rules this retriever is evaluating against. + /// + /// + public RuleRetrieverDescriptor RulesetIds(ICollection rulesetIds) + { + RulesetIdsValue = rulesetIds; + return Self; + } + + protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) + { + writer.WriteStartObject(); + if (FilterDescriptor is not null) + { + writer.WritePropertyName("filter"); + JsonSerializer.Serialize(writer, FilterDescriptor, options); + } + else if (FilterDescriptorAction is not null) + { + writer.WritePropertyName("filter"); + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.QueryDsl.QueryDescriptor(FilterDescriptorAction), options); + } + else if (FilterDescriptorActions is not null) + { + writer.WritePropertyName("filter"); + if (FilterDescriptorActions.Length != 1) + writer.WriteStartArray(); + foreach (var action in FilterDescriptorActions) + { + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.QueryDsl.QueryDescriptor(action), options); + } + + if (FilterDescriptorActions.Length != 1) + writer.WriteEndArray(); + } + else if (FilterValue is not null) + { + writer.WritePropertyName("filter"); + SingleOrManySerializationHelper.Serialize(FilterValue, writer, options); + } + + writer.WritePropertyName("match_criteria"); + JsonSerializer.Serialize(writer, MatchCriteriaValue, options); + if (MinScoreValue.HasValue) + { + writer.WritePropertyName("min_score"); + writer.WriteNumberValue(MinScoreValue.Value); + } + + if (RankWindowSizeValue.HasValue) + { + writer.WritePropertyName("rank_window_size"); + writer.WriteNumberValue(RankWindowSizeValue.Value); + } + + if (RetrieverDescriptor is not null) + { + writer.WritePropertyName("retriever"); + JsonSerializer.Serialize(writer, RetrieverDescriptor, options); + } + else if (RetrieverDescriptorAction is not null) + { + writer.WritePropertyName("retriever"); + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.RetrieverDescriptor(RetrieverDescriptorAction), options); + } + else + { + writer.WritePropertyName("retriever"); + JsonSerializer.Serialize(writer, RetrieverValue, options); + } + + writer.WritePropertyName("ruleset_ids"); + JsonSerializer.Serialize(writer, RulesetIdsValue, options); + writer.WriteEndObject(); + } +} + +public sealed partial class RuleRetrieverDescriptor : SerializableDescriptor +{ + internal RuleRetrieverDescriptor(Action configure) => configure.Invoke(this); + + public RuleRetrieverDescriptor() : base() + { + } + + private ICollection? FilterValue { get; set; } + private Elastic.Clients.Elasticsearch.QueryDsl.QueryDescriptor FilterDescriptor { get; set; } + private Action FilterDescriptorAction { get; set; } + private Action[] FilterDescriptorActions { get; set; } + private object MatchCriteriaValue { get; set; } + private float? MinScoreValue { get; set; } + private int? RankWindowSizeValue { get; set; } + private Elastic.Clients.Elasticsearch.Retriever RetrieverValue { get; set; } + private Elastic.Clients.Elasticsearch.RetrieverDescriptor RetrieverDescriptor { get; set; } + private Action RetrieverDescriptorAction { get; set; } + private ICollection RulesetIdsValue { get; set; } + + /// + /// + /// Query to filter the documents that can match. + /// + /// + public RuleRetrieverDescriptor Filter(ICollection? filter) + { + FilterDescriptor = null; + FilterDescriptorAction = null; + FilterDescriptorActions = null; + FilterValue = filter; + return Self; + } + + public RuleRetrieverDescriptor Filter(Elastic.Clients.Elasticsearch.QueryDsl.QueryDescriptor descriptor) + { + FilterValue = null; + FilterDescriptorAction = null; + FilterDescriptorActions = null; + FilterDescriptor = descriptor; + return Self; + } + + public RuleRetrieverDescriptor Filter(Action configure) + { + FilterValue = null; + FilterDescriptor = null; + FilterDescriptorActions = null; + FilterDescriptorAction = configure; + return Self; + } + + public RuleRetrieverDescriptor Filter(params Action[] configure) + { + FilterValue = null; + FilterDescriptor = null; + FilterDescriptorAction = null; + FilterDescriptorActions = configure; + return Self; + } + + /// + /// + /// The match criteria that will determine if a rule in the provided rulesets should be applied. + /// + /// + public RuleRetrieverDescriptor MatchCriteria(object matchCriteria) + { + MatchCriteriaValue = matchCriteria; + return Self; + } + + /// + /// + /// Minimum _score for matching documents. Documents with a lower _score are not included in the top documents. + /// + /// + public RuleRetrieverDescriptor MinScore(float? minScore) + { + MinScoreValue = minScore; + return Self; + } + + /// + /// + /// This value determines the size of the individual result set. + /// + /// + public RuleRetrieverDescriptor RankWindowSize(int? rankWindowSize) + { + RankWindowSizeValue = rankWindowSize; + return Self; + } + + /// + /// + /// The retriever whose results rules should be applied to. + /// + /// + public RuleRetrieverDescriptor Retriever(Elastic.Clients.Elasticsearch.Retriever retriever) + { + RetrieverDescriptor = null; + RetrieverDescriptorAction = null; + RetrieverValue = retriever; + return Self; + } + + public RuleRetrieverDescriptor Retriever(Elastic.Clients.Elasticsearch.RetrieverDescriptor descriptor) + { + RetrieverValue = null; + RetrieverDescriptorAction = null; + RetrieverDescriptor = descriptor; + return Self; + } + + public RuleRetrieverDescriptor Retriever(Action configure) + { + RetrieverValue = null; + RetrieverDescriptor = null; + RetrieverDescriptorAction = configure; + return Self; + } + + /// + /// + /// The ruleset IDs containing the rules this retriever is evaluating against. + /// + /// + public RuleRetrieverDescriptor RulesetIds(ICollection rulesetIds) + { + RulesetIdsValue = rulesetIds; + return Self; + } + + protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) + { + writer.WriteStartObject(); + if (FilterDescriptor is not null) + { + writer.WritePropertyName("filter"); + JsonSerializer.Serialize(writer, FilterDescriptor, options); + } + else if (FilterDescriptorAction is not null) + { + writer.WritePropertyName("filter"); + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.QueryDsl.QueryDescriptor(FilterDescriptorAction), options); + } + else if (FilterDescriptorActions is not null) + { + writer.WritePropertyName("filter"); + if (FilterDescriptorActions.Length != 1) + writer.WriteStartArray(); + foreach (var action in FilterDescriptorActions) + { + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.QueryDsl.QueryDescriptor(action), options); + } + + if (FilterDescriptorActions.Length != 1) + writer.WriteEndArray(); + } + else if (FilterValue is not null) + { + writer.WritePropertyName("filter"); + SingleOrManySerializationHelper.Serialize(FilterValue, writer, options); + } + + writer.WritePropertyName("match_criteria"); + JsonSerializer.Serialize(writer, MatchCriteriaValue, options); + if (MinScoreValue.HasValue) + { + writer.WritePropertyName("min_score"); + writer.WriteNumberValue(MinScoreValue.Value); + } + + if (RankWindowSizeValue.HasValue) + { + writer.WritePropertyName("rank_window_size"); + writer.WriteNumberValue(RankWindowSizeValue.Value); + } + + if (RetrieverDescriptor is not null) + { + writer.WritePropertyName("retriever"); + JsonSerializer.Serialize(writer, RetrieverDescriptor, options); + } + else if (RetrieverDescriptorAction is not null) + { + writer.WritePropertyName("retriever"); + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.RetrieverDescriptor(RetrieverDescriptorAction), options); + } + else + { + writer.WritePropertyName("retriever"); + JsonSerializer.Serialize(writer, RetrieverValue, options); + } + + writer.WritePropertyName("ruleset_ids"); + JsonSerializer.Serialize(writer, RulesetIdsValue, options); + writer.WriteEndObject(); + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/SearchApplication/SearchApplication.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/SearchApplication/SearchApplication.g.cs index 645430c37b4..7dc4df34f85 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/SearchApplication/SearchApplication.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/SearchApplication/SearchApplication.g.cs @@ -35,7 +35,7 @@ public sealed partial class SearchApplication /// /// [JsonInclude, JsonPropertyName("analytics_collection_name")] - public Elastic.Clients.Elasticsearch.Name? AnalyticsCollectionName { get; set; } + public string? AnalyticsCollectionName { get; init; } /// /// @@ -43,15 +43,15 @@ public sealed partial class SearchApplication /// /// [JsonInclude, JsonPropertyName("indices")] - public ICollection Indices { get; set; } + public IReadOnlyCollection Indices { get; init; } /// /// - /// Search Application name. + /// Search Application name /// /// [JsonInclude, JsonPropertyName("name")] - public Elastic.Clients.Elasticsearch.Name Name { get; set; } + public string Name { get; init; } /// /// @@ -59,7 +59,7 @@ public sealed partial class SearchApplication /// /// [JsonInclude, JsonPropertyName("template")] - public Elastic.Clients.Elasticsearch.SearchApplication.SearchApplicationTemplate? Template { get; set; } + public Elastic.Clients.Elasticsearch.SearchApplication.SearchApplicationTemplate? Template { get; init; } /// /// @@ -67,129 +67,5 @@ public sealed partial class SearchApplication /// /// [JsonInclude, JsonPropertyName("updated_at_millis")] - public long UpdatedAtMillis { get; set; } -} - -public sealed partial class SearchApplicationDescriptor : SerializableDescriptor -{ - internal SearchApplicationDescriptor(Action configure) => configure.Invoke(this); - - public SearchApplicationDescriptor() : base() - { - } - - private Elastic.Clients.Elasticsearch.Name? AnalyticsCollectionNameValue { get; set; } - private ICollection IndicesValue { get; set; } - private Elastic.Clients.Elasticsearch.Name NameValue { get; set; } - private Elastic.Clients.Elasticsearch.SearchApplication.SearchApplicationTemplate? TemplateValue { get; set; } - private Elastic.Clients.Elasticsearch.SearchApplication.SearchApplicationTemplateDescriptor TemplateDescriptor { get; set; } - private Action TemplateDescriptorAction { get; set; } - private long UpdatedAtMillisValue { get; set; } - - /// - /// - /// Analytics collection associated to the Search Application. - /// - /// - public SearchApplicationDescriptor AnalyticsCollectionName(Elastic.Clients.Elasticsearch.Name? analyticsCollectionName) - { - AnalyticsCollectionNameValue = analyticsCollectionName; - return Self; - } - - /// - /// - /// Indices that are part of the Search Application. - /// - /// - public SearchApplicationDescriptor Indices(ICollection indices) - { - IndicesValue = indices; - return Self; - } - - /// - /// - /// Search Application name. - /// - /// - public SearchApplicationDescriptor Name(Elastic.Clients.Elasticsearch.Name name) - { - NameValue = name; - return Self; - } - - /// - /// - /// Search template to use on search operations. - /// - /// - public SearchApplicationDescriptor Template(Elastic.Clients.Elasticsearch.SearchApplication.SearchApplicationTemplate? template) - { - TemplateDescriptor = null; - TemplateDescriptorAction = null; - TemplateValue = template; - return Self; - } - - public SearchApplicationDescriptor Template(Elastic.Clients.Elasticsearch.SearchApplication.SearchApplicationTemplateDescriptor descriptor) - { - TemplateValue = null; - TemplateDescriptorAction = null; - TemplateDescriptor = descriptor; - return Self; - } - - public SearchApplicationDescriptor Template(Action configure) - { - TemplateValue = null; - TemplateDescriptor = null; - TemplateDescriptorAction = configure; - return Self; - } - - /// - /// - /// Last time the Search Application was updated. - /// - /// - public SearchApplicationDescriptor UpdatedAtMillis(long updatedAtMillis) - { - UpdatedAtMillisValue = updatedAtMillis; - return Self; - } - - protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) - { - writer.WriteStartObject(); - if (AnalyticsCollectionNameValue is not null) - { - writer.WritePropertyName("analytics_collection_name"); - JsonSerializer.Serialize(writer, AnalyticsCollectionNameValue, options); - } - - writer.WritePropertyName("indices"); - JsonSerializer.Serialize(writer, IndicesValue, options); - writer.WritePropertyName("name"); - JsonSerializer.Serialize(writer, NameValue, options); - if (TemplateDescriptor is not null) - { - writer.WritePropertyName("template"); - JsonSerializer.Serialize(writer, TemplateDescriptor, options); - } - else if (TemplateDescriptorAction is not null) - { - writer.WritePropertyName("template"); - JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.SearchApplication.SearchApplicationTemplateDescriptor(TemplateDescriptorAction), options); - } - else if (TemplateValue is not null) - { - writer.WritePropertyName("template"); - JsonSerializer.Serialize(writer, TemplateValue, options); - } - - writer.WritePropertyName("updated_at_millis"); - writer.WriteNumberValue(UpdatedAtMillisValue); - writer.WriteEndObject(); - } + public long UpdatedAtMillis { get; init; } } \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/SearchApplication/SearchApplicationParameters.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/SearchApplication/SearchApplicationParameters.g.cs new file mode 100644 index 00000000000..923ead8239e --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/SearchApplication/SearchApplicationParameters.g.cs @@ -0,0 +1,151 @@ +// 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 Elastic.Clients.Elasticsearch.Fluent; +using Elastic.Clients.Elasticsearch.Serialization; +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +namespace Elastic.Clients.Elasticsearch.SearchApplication; + +public sealed partial class SearchApplicationParameters +{ + /// + /// + /// Analytics collection associated to the Search Application. + /// + /// + [JsonInclude, JsonPropertyName("analytics_collection_name")] + public Elastic.Clients.Elasticsearch.Name? AnalyticsCollectionName { get; set; } + + /// + /// + /// Indices that are part of the Search Application. + /// + /// + [JsonInclude, JsonPropertyName("indices")] + public ICollection Indices { get; set; } + + /// + /// + /// Search template to use on search operations. + /// + /// + [JsonInclude, JsonPropertyName("template")] + public Elastic.Clients.Elasticsearch.SearchApplication.SearchApplicationTemplate? Template { get; set; } +} + +public sealed partial class SearchApplicationParametersDescriptor : SerializableDescriptor +{ + internal SearchApplicationParametersDescriptor(Action configure) => configure.Invoke(this); + + public SearchApplicationParametersDescriptor() : base() + { + } + + private Elastic.Clients.Elasticsearch.Name? AnalyticsCollectionNameValue { get; set; } + private ICollection IndicesValue { get; set; } + private Elastic.Clients.Elasticsearch.SearchApplication.SearchApplicationTemplate? TemplateValue { get; set; } + private Elastic.Clients.Elasticsearch.SearchApplication.SearchApplicationTemplateDescriptor TemplateDescriptor { get; set; } + private Action TemplateDescriptorAction { get; set; } + + /// + /// + /// Analytics collection associated to the Search Application. + /// + /// + public SearchApplicationParametersDescriptor AnalyticsCollectionName(Elastic.Clients.Elasticsearch.Name? analyticsCollectionName) + { + AnalyticsCollectionNameValue = analyticsCollectionName; + return Self; + } + + /// + /// + /// Indices that are part of the Search Application. + /// + /// + public SearchApplicationParametersDescriptor Indices(ICollection indices) + { + IndicesValue = indices; + return Self; + } + + /// + /// + /// Search template to use on search operations. + /// + /// + public SearchApplicationParametersDescriptor Template(Elastic.Clients.Elasticsearch.SearchApplication.SearchApplicationTemplate? template) + { + TemplateDescriptor = null; + TemplateDescriptorAction = null; + TemplateValue = template; + return Self; + } + + public SearchApplicationParametersDescriptor Template(Elastic.Clients.Elasticsearch.SearchApplication.SearchApplicationTemplateDescriptor descriptor) + { + TemplateValue = null; + TemplateDescriptorAction = null; + TemplateDescriptor = descriptor; + return Self; + } + + public SearchApplicationParametersDescriptor Template(Action configure) + { + TemplateValue = null; + TemplateDescriptor = null; + TemplateDescriptorAction = configure; + return Self; + } + + protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) + { + writer.WriteStartObject(); + if (AnalyticsCollectionNameValue is not null) + { + writer.WritePropertyName("analytics_collection_name"); + JsonSerializer.Serialize(writer, AnalyticsCollectionNameValue, options); + } + + writer.WritePropertyName("indices"); + JsonSerializer.Serialize(writer, IndicesValue, options); + if (TemplateDescriptor is not null) + { + writer.WritePropertyName("template"); + JsonSerializer.Serialize(writer, TemplateDescriptor, options); + } + else if (TemplateDescriptorAction is not null) + { + writer.WritePropertyName("template"); + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.SearchApplication.SearchApplicationTemplateDescriptor(TemplateDescriptorAction), options); + } + else if (TemplateValue is not null) + { + writer.WritePropertyName("template"); + JsonSerializer.Serialize(writer, TemplateValue, options); + } + + writer.WriteEndObject(); + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Security/Access.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Security/Access.g.cs new file mode 100644 index 00000000000..96dc9da83d0 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Security/Access.g.cs @@ -0,0 +1,383 @@ +// 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 Elastic.Clients.Elasticsearch.Fluent; +using Elastic.Clients.Elasticsearch.Serialization; +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +namespace Elastic.Clients.Elasticsearch.Security; + +public sealed partial class Access +{ + /// + /// + /// A list of indices permission entries for cross-cluster replication. + /// + /// + [JsonInclude, JsonPropertyName("replication")] + public ICollection? Replication { get; set; } + + /// + /// + /// A list of indices permission entries for cross-cluster search. + /// + /// + [JsonInclude, JsonPropertyName("search")] + public ICollection? Search { get; set; } +} + +public sealed partial class AccessDescriptor : SerializableDescriptor> +{ + internal AccessDescriptor(Action> configure) => configure.Invoke(this); + + public AccessDescriptor() : base() + { + } + + private ICollection? ReplicationValue { get; set; } + private Elastic.Clients.Elasticsearch.Security.ReplicationAccessDescriptor ReplicationDescriptor { get; set; } + private Action ReplicationDescriptorAction { get; set; } + private Action[] ReplicationDescriptorActions { get; set; } + private ICollection? SearchValue { get; set; } + private Elastic.Clients.Elasticsearch.Security.SearchAccessDescriptor SearchDescriptor { get; set; } + private Action> SearchDescriptorAction { get; set; } + private Action>[] SearchDescriptorActions { get; set; } + + /// + /// + /// A list of indices permission entries for cross-cluster replication. + /// + /// + public AccessDescriptor Replication(ICollection? replication) + { + ReplicationDescriptor = null; + ReplicationDescriptorAction = null; + ReplicationDescriptorActions = null; + ReplicationValue = replication; + return Self; + } + + public AccessDescriptor Replication(Elastic.Clients.Elasticsearch.Security.ReplicationAccessDescriptor descriptor) + { + ReplicationValue = null; + ReplicationDescriptorAction = null; + ReplicationDescriptorActions = null; + ReplicationDescriptor = descriptor; + return Self; + } + + public AccessDescriptor Replication(Action configure) + { + ReplicationValue = null; + ReplicationDescriptor = null; + ReplicationDescriptorActions = null; + ReplicationDescriptorAction = configure; + return Self; + } + + public AccessDescriptor Replication(params Action[] configure) + { + ReplicationValue = null; + ReplicationDescriptor = null; + ReplicationDescriptorAction = null; + ReplicationDescriptorActions = configure; + return Self; + } + + /// + /// + /// A list of indices permission entries for cross-cluster search. + /// + /// + public AccessDescriptor Search(ICollection? search) + { + SearchDescriptor = null; + SearchDescriptorAction = null; + SearchDescriptorActions = null; + SearchValue = search; + return Self; + } + + public AccessDescriptor Search(Elastic.Clients.Elasticsearch.Security.SearchAccessDescriptor descriptor) + { + SearchValue = null; + SearchDescriptorAction = null; + SearchDescriptorActions = null; + SearchDescriptor = descriptor; + return Self; + } + + public AccessDescriptor Search(Action> configure) + { + SearchValue = null; + SearchDescriptor = null; + SearchDescriptorActions = null; + SearchDescriptorAction = configure; + return Self; + } + + public AccessDescriptor Search(params Action>[] configure) + { + SearchValue = null; + SearchDescriptor = null; + SearchDescriptorAction = null; + SearchDescriptorActions = configure; + return Self; + } + + protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) + { + writer.WriteStartObject(); + if (ReplicationDescriptor is not null) + { + writer.WritePropertyName("replication"); + writer.WriteStartArray(); + JsonSerializer.Serialize(writer, ReplicationDescriptor, options); + writer.WriteEndArray(); + } + else if (ReplicationDescriptorAction is not null) + { + writer.WritePropertyName("replication"); + writer.WriteStartArray(); + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.Security.ReplicationAccessDescriptor(ReplicationDescriptorAction), options); + writer.WriteEndArray(); + } + else if (ReplicationDescriptorActions is not null) + { + writer.WritePropertyName("replication"); + writer.WriteStartArray(); + foreach (var action in ReplicationDescriptorActions) + { + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.Security.ReplicationAccessDescriptor(action), options); + } + + writer.WriteEndArray(); + } + else if (ReplicationValue is not null) + { + writer.WritePropertyName("replication"); + JsonSerializer.Serialize(writer, ReplicationValue, options); + } + + if (SearchDescriptor is not null) + { + writer.WritePropertyName("search"); + writer.WriteStartArray(); + JsonSerializer.Serialize(writer, SearchDescriptor, options); + writer.WriteEndArray(); + } + else if (SearchDescriptorAction is not null) + { + writer.WritePropertyName("search"); + writer.WriteStartArray(); + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.Security.SearchAccessDescriptor(SearchDescriptorAction), options); + writer.WriteEndArray(); + } + else if (SearchDescriptorActions is not null) + { + writer.WritePropertyName("search"); + writer.WriteStartArray(); + foreach (var action in SearchDescriptorActions) + { + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.Security.SearchAccessDescriptor(action), options); + } + + writer.WriteEndArray(); + } + else if (SearchValue is not null) + { + writer.WritePropertyName("search"); + JsonSerializer.Serialize(writer, SearchValue, options); + } + + writer.WriteEndObject(); + } +} + +public sealed partial class AccessDescriptor : SerializableDescriptor +{ + internal AccessDescriptor(Action configure) => configure.Invoke(this); + + public AccessDescriptor() : base() + { + } + + private ICollection? ReplicationValue { get; set; } + private Elastic.Clients.Elasticsearch.Security.ReplicationAccessDescriptor ReplicationDescriptor { get; set; } + private Action ReplicationDescriptorAction { get; set; } + private Action[] ReplicationDescriptorActions { get; set; } + private ICollection? SearchValue { get; set; } + private Elastic.Clients.Elasticsearch.Security.SearchAccessDescriptor SearchDescriptor { get; set; } + private Action SearchDescriptorAction { get; set; } + private Action[] SearchDescriptorActions { get; set; } + + /// + /// + /// A list of indices permission entries for cross-cluster replication. + /// + /// + public AccessDescriptor Replication(ICollection? replication) + { + ReplicationDescriptor = null; + ReplicationDescriptorAction = null; + ReplicationDescriptorActions = null; + ReplicationValue = replication; + return Self; + } + + public AccessDescriptor Replication(Elastic.Clients.Elasticsearch.Security.ReplicationAccessDescriptor descriptor) + { + ReplicationValue = null; + ReplicationDescriptorAction = null; + ReplicationDescriptorActions = null; + ReplicationDescriptor = descriptor; + return Self; + } + + public AccessDescriptor Replication(Action configure) + { + ReplicationValue = null; + ReplicationDescriptor = null; + ReplicationDescriptorActions = null; + ReplicationDescriptorAction = configure; + return Self; + } + + public AccessDescriptor Replication(params Action[] configure) + { + ReplicationValue = null; + ReplicationDescriptor = null; + ReplicationDescriptorAction = null; + ReplicationDescriptorActions = configure; + return Self; + } + + /// + /// + /// A list of indices permission entries for cross-cluster search. + /// + /// + public AccessDescriptor Search(ICollection? search) + { + SearchDescriptor = null; + SearchDescriptorAction = null; + SearchDescriptorActions = null; + SearchValue = search; + return Self; + } + + public AccessDescriptor Search(Elastic.Clients.Elasticsearch.Security.SearchAccessDescriptor descriptor) + { + SearchValue = null; + SearchDescriptorAction = null; + SearchDescriptorActions = null; + SearchDescriptor = descriptor; + return Self; + } + + public AccessDescriptor Search(Action configure) + { + SearchValue = null; + SearchDescriptor = null; + SearchDescriptorActions = null; + SearchDescriptorAction = configure; + return Self; + } + + public AccessDescriptor Search(params Action[] configure) + { + SearchValue = null; + SearchDescriptor = null; + SearchDescriptorAction = null; + SearchDescriptorActions = configure; + return Self; + } + + protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) + { + writer.WriteStartObject(); + if (ReplicationDescriptor is not null) + { + writer.WritePropertyName("replication"); + writer.WriteStartArray(); + JsonSerializer.Serialize(writer, ReplicationDescriptor, options); + writer.WriteEndArray(); + } + else if (ReplicationDescriptorAction is not null) + { + writer.WritePropertyName("replication"); + writer.WriteStartArray(); + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.Security.ReplicationAccessDescriptor(ReplicationDescriptorAction), options); + writer.WriteEndArray(); + } + else if (ReplicationDescriptorActions is not null) + { + writer.WritePropertyName("replication"); + writer.WriteStartArray(); + foreach (var action in ReplicationDescriptorActions) + { + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.Security.ReplicationAccessDescriptor(action), options); + } + + writer.WriteEndArray(); + } + else if (ReplicationValue is not null) + { + writer.WritePropertyName("replication"); + JsonSerializer.Serialize(writer, ReplicationValue, options); + } + + if (SearchDescriptor is not null) + { + writer.WritePropertyName("search"); + writer.WriteStartArray(); + JsonSerializer.Serialize(writer, SearchDescriptor, options); + writer.WriteEndArray(); + } + else if (SearchDescriptorAction is not null) + { + writer.WritePropertyName("search"); + writer.WriteStartArray(); + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.Security.SearchAccessDescriptor(SearchDescriptorAction), options); + writer.WriteEndArray(); + } + else if (SearchDescriptorActions is not null) + { + writer.WritePropertyName("search"); + writer.WriteStartArray(); + foreach (var action in SearchDescriptorActions) + { + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.Security.SearchAccessDescriptor(action), options); + } + + writer.WriteEndArray(); + } + else if (SearchValue is not null) + { + writer.WritePropertyName("search"); + JsonSerializer.Serialize(writer, SearchValue, options); + } + + writer.WriteEndObject(); + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Security/IndicesPrivileges.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Security/IndicesPrivileges.g.cs index 3f6062507e6..3be8e4dec8a 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Security/IndicesPrivileges.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Security/IndicesPrivileges.g.cs @@ -51,6 +51,7 @@ public sealed partial class IndicesPrivileges /// /// [JsonInclude, JsonPropertyName("names")] + [SingleOrManyCollectionConverter(typeof(Elastic.Clients.Elasticsearch.IndexName))] public ICollection Names { get; set; } /// @@ -185,7 +186,7 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o } writer.WritePropertyName("names"); - JsonSerializer.Serialize(writer, NamesValue, options); + SingleOrManySerializationHelper.Serialize(NamesValue, writer, options); writer.WritePropertyName("privileges"); JsonSerializer.Serialize(writer, PrivilegesValue, options); if (QueryValue is not null) @@ -313,7 +314,7 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o } writer.WritePropertyName("names"); - JsonSerializer.Serialize(writer, NamesValue, options); + SingleOrManySerializationHelper.Serialize(NamesValue, writer, options); writer.WritePropertyName("privileges"); JsonSerializer.Serialize(writer, PrivilegesValue, options); if (QueryValue is not null) diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Security/QueryRole.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Security/QueryRole.g.cs index 53b1d944db9..e137275de92 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Security/QueryRole.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Security/QueryRole.g.cs @@ -40,6 +40,9 @@ public override QueryRole Read(ref Utf8JsonReader reader, Type typeToConvert, Js IReadOnlyCollection? indices = default; IReadOnlyDictionary? metadata = default; string name = default; + IReadOnlyCollection? remoteCluster = default; + IReadOnlyCollection? remoteIndices = default; + Elastic.Clients.Elasticsearch.Security.Restriction? restriction = default; IReadOnlyCollection? runAs = default; IReadOnlyCollection? sort = default; IReadOnlyDictionary? transientMetadata = default; @@ -90,6 +93,24 @@ public override QueryRole Read(ref Utf8JsonReader reader, Type typeToConvert, Js continue; } + if (property == "remote_cluster") + { + remoteCluster = JsonSerializer.Deserialize?>(ref reader, options); + continue; + } + + if (property == "remote_indices") + { + remoteIndices = JsonSerializer.Deserialize?>(ref reader, options); + continue; + } + + if (property == "restriction") + { + restriction = JsonSerializer.Deserialize(ref reader, options); + continue; + } + if (property == "run_as") { runAs = JsonSerializer.Deserialize?>(ref reader, options); @@ -110,7 +131,7 @@ public override QueryRole Read(ref Utf8JsonReader reader, Type typeToConvert, Js } } - return new QueryRole { Applications = applications, Cluster = cluster, Description = description, Global = global, Indices = indices, Metadata = metadata, Name = name, RunAs = runAs, Sort = sort, TransientMetadata = transientMetadata }; + return new QueryRole { Applications = applications, Cluster = cluster, Description = description, Global = global, Indices = indices, Metadata = metadata, Name = name, RemoteCluster = remoteCluster, RemoteIndices = remoteIndices, Restriction = restriction, RunAs = runAs, Sort = sort, TransientMetadata = transientMetadata }; } public override void Write(Utf8JsonWriter writer, QueryRole value, JsonSerializerOptions options) @@ -171,6 +192,27 @@ public sealed partial class QueryRole /// public string Name { get; init; } + /// + /// + /// A list of cluster permissions for remote clusters. Note - this is limited a subset of the cluster permissions. + /// + /// + public IReadOnlyCollection? RemoteCluster { get; init; } + + /// + /// + /// A list of indices permissions for remote clusters. + /// + /// + public IReadOnlyCollection? RemoteIndices { get; init; } + + /// + /// + /// Restriction for when the role descriptor is allowed to be effective. + /// + /// + public Elastic.Clients.Elasticsearch.Security.Restriction? Restriction { get; init; } + /// /// /// A list of users that the API keys can impersonate. Note: in Serverless, the run-as feature is disabled. For API compatibility, you can still specify an empty run_as field, but a non-empty list will be rejected. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Security/RemoteClusterPrivileges.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Security/RemoteClusterPrivileges.g.cs new file mode 100644 index 00000000000..0cdfc809bc0 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Security/RemoteClusterPrivileges.g.cs @@ -0,0 +1,101 @@ +// 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 Elastic.Clients.Elasticsearch.Fluent; +using Elastic.Clients.Elasticsearch.Serialization; +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +namespace Elastic.Clients.Elasticsearch.Security; + +/// +/// +/// The subset of cluster level privileges that can be defined for remote clusters. +/// +/// +public sealed partial class RemoteClusterPrivileges +{ + /// + /// + /// A list of cluster aliases to which the permissions in this entry apply. + /// + /// + [JsonInclude, JsonPropertyName("clusters")] + public Elastic.Clients.Elasticsearch.Names Clusters { get; set; } + + /// + /// + /// The cluster level privileges that owners of the role have on the remote cluster. + /// + /// + [JsonInclude, JsonPropertyName("privileges")] + public ICollection Privileges { get; set; } +} + +/// +/// +/// The subset of cluster level privileges that can be defined for remote clusters. +/// +/// +public sealed partial class RemoteClusterPrivilegesDescriptor : SerializableDescriptor +{ + internal RemoteClusterPrivilegesDescriptor(Action configure) => configure.Invoke(this); + + public RemoteClusterPrivilegesDescriptor() : base() + { + } + + private Elastic.Clients.Elasticsearch.Names ClustersValue { get; set; } + private ICollection PrivilegesValue { get; set; } + + /// + /// + /// A list of cluster aliases to which the permissions in this entry apply. + /// + /// + public RemoteClusterPrivilegesDescriptor Clusters(Elastic.Clients.Elasticsearch.Names clusters) + { + ClustersValue = clusters; + return Self; + } + + /// + /// + /// The cluster level privileges that owners of the role have on the remote cluster. + /// + /// + public RemoteClusterPrivilegesDescriptor Privileges(ICollection privileges) + { + PrivilegesValue = privileges; + return Self; + } + + protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) + { + writer.WriteStartObject(); + writer.WritePropertyName("clusters"); + JsonSerializer.Serialize(writer, ClustersValue, options); + writer.WritePropertyName("privileges"); + JsonSerializer.Serialize(writer, PrivilegesValue, options); + writer.WriteEndObject(); + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Security/RemoteIndicesPrivileges.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Security/RemoteIndicesPrivileges.g.cs index 068928f43c5..61c9a3199b2 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Security/RemoteIndicesPrivileges.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Security/RemoteIndicesPrivileges.g.cs @@ -27,6 +27,11 @@ namespace Elastic.Clients.Elasticsearch.Security; +/// +/// +/// The subset of index level privileges that can be defined for remote clusters. +/// +/// public sealed partial class RemoteIndicesPrivileges { /// @@ -59,6 +64,7 @@ public sealed partial class RemoteIndicesPrivileges /// /// [JsonInclude, JsonPropertyName("names")] + [SingleOrManyCollectionConverter(typeof(Elastic.Clients.Elasticsearch.IndexName))] public ICollection Names { get; set; } /// @@ -78,6 +84,11 @@ public sealed partial class RemoteIndicesPrivileges public object? Query { get; set; } } +/// +/// +/// The subset of index level privileges that can be defined for remote clusters. +/// +/// public sealed partial class RemoteIndicesPrivilegesDescriptor : SerializableDescriptor> { internal RemoteIndicesPrivilegesDescriptor(Action> configure) => configure.Invoke(this); @@ -207,7 +218,7 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o } writer.WritePropertyName("names"); - JsonSerializer.Serialize(writer, NamesValue, options); + SingleOrManySerializationHelper.Serialize(NamesValue, writer, options); writer.WritePropertyName("privileges"); JsonSerializer.Serialize(writer, PrivilegesValue, options); if (QueryValue is not null) @@ -220,6 +231,11 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o } } +/// +/// +/// The subset of index level privileges that can be defined for remote clusters. +/// +/// public sealed partial class RemoteIndicesPrivilegesDescriptor : SerializableDescriptor { internal RemoteIndicesPrivilegesDescriptor(Action configure) => configure.Invoke(this); @@ -349,7 +365,7 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o } writer.WritePropertyName("names"); - JsonSerializer.Serialize(writer, NamesValue, options); + SingleOrManySerializationHelper.Serialize(NamesValue, writer, options); writer.WritePropertyName("privileges"); JsonSerializer.Serialize(writer, PrivilegesValue, options); if (QueryValue is not null) diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Security/ReplicationAccess.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Security/ReplicationAccess.g.cs new file mode 100644 index 00000000000..6a19a68c4ce --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Security/ReplicationAccess.g.cs @@ -0,0 +1,96 @@ +// 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 Elastic.Clients.Elasticsearch.Fluent; +using Elastic.Clients.Elasticsearch.Serialization; +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +namespace Elastic.Clients.Elasticsearch.Security; + +public sealed partial class ReplicationAccess +{ + /// + /// + /// This needs to be set to true if the patterns in the names field should cover system indices. + /// + /// + [JsonInclude, JsonPropertyName("allow_restricted_indices")] + public bool? AllowRestrictedIndices { get; set; } + + /// + /// + /// A list of indices (or index name patterns) to which the permissions in this entry apply. + /// + /// + [JsonInclude, JsonPropertyName("names")] + [SingleOrManyCollectionConverter(typeof(Elastic.Clients.Elasticsearch.IndexName))] + public ICollection Names { get; set; } +} + +public sealed partial class ReplicationAccessDescriptor : SerializableDescriptor +{ + internal ReplicationAccessDescriptor(Action configure) => configure.Invoke(this); + + public ReplicationAccessDescriptor() : base() + { + } + + private bool? AllowRestrictedIndicesValue { get; set; } + private ICollection NamesValue { get; set; } + + /// + /// + /// This needs to be set to true if the patterns in the names field should cover system indices. + /// + /// + public ReplicationAccessDescriptor AllowRestrictedIndices(bool? allowRestrictedIndices = true) + { + AllowRestrictedIndicesValue = allowRestrictedIndices; + return Self; + } + + /// + /// + /// A list of indices (or index name patterns) to which the permissions in this entry apply. + /// + /// + public ReplicationAccessDescriptor Names(ICollection names) + { + NamesValue = names; + return Self; + } + + protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) + { + writer.WriteStartObject(); + if (AllowRestrictedIndicesValue.HasValue) + { + writer.WritePropertyName("allow_restricted_indices"); + writer.WriteBooleanValue(AllowRestrictedIndicesValue.Value); + } + + writer.WritePropertyName("names"); + SingleOrManySerializationHelper.Serialize(NamesValue, writer, options); + writer.WriteEndObject(); + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Security/Restriction.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Security/Restriction.g.cs new file mode 100644 index 00000000000..0f48846bd95 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Security/Restriction.g.cs @@ -0,0 +1,59 @@ +// 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 Elastic.Clients.Elasticsearch.Fluent; +using Elastic.Clients.Elasticsearch.Serialization; +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +namespace Elastic.Clients.Elasticsearch.Security; + +public sealed partial class Restriction +{ + [JsonInclude, JsonPropertyName("workflows")] + public ICollection Workflows { get; set; } +} + +public sealed partial class RestrictionDescriptor : SerializableDescriptor +{ + internal RestrictionDescriptor(Action configure) => configure.Invoke(this); + + public RestrictionDescriptor() : base() + { + } + + private ICollection WorkflowsValue { get; set; } + + public RestrictionDescriptor Workflows(ICollection workflows) + { + WorkflowsValue = workflows; + return Self; + } + + protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) + { + writer.WriteStartObject(); + writer.WritePropertyName("workflows"); + JsonSerializer.Serialize(writer, WorkflowsValue, options); + writer.WriteEndObject(); + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Security/Role.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Security/Role.g.cs index 052fb4203d0..feecdc34beb 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Security/Role.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Security/Role.g.cs @@ -32,13 +32,17 @@ public sealed partial class Role [JsonInclude, JsonPropertyName("applications")] public IReadOnlyCollection Applications { get; init; } [JsonInclude, JsonPropertyName("cluster")] - public IReadOnlyCollection Cluster { get; init; } + public IReadOnlyCollection Cluster { get; init; } [JsonInclude, JsonPropertyName("global")] public IReadOnlyDictionary>>>? Global { get; init; } [JsonInclude, JsonPropertyName("indices")] public IReadOnlyCollection Indices { get; init; } [JsonInclude, JsonPropertyName("metadata")] public IReadOnlyDictionary Metadata { get; init; } + [JsonInclude, JsonPropertyName("remote_cluster")] + public IReadOnlyCollection? RemoteCluster { get; init; } + [JsonInclude, JsonPropertyName("remote_indices")] + public IReadOnlyCollection? RemoteIndices { get; init; } [JsonInclude, JsonPropertyName("role_templates")] public IReadOnlyCollection? RoleTemplates { get; init; } [JsonInclude, JsonPropertyName("run_as")] diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Security/RoleDescriptor.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Security/RoleDescriptor.g.cs index 1091a7fbe9b..3eaf8158d4c 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Security/RoleDescriptor.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Security/RoleDescriptor.g.cs @@ -75,6 +75,24 @@ public override RoleDescriptor Read(ref Utf8JsonReader reader, Type typeToConver continue; } + if (property == "remote_cluster") + { + variant.RemoteCluster = JsonSerializer.Deserialize?>(ref reader, options); + continue; + } + + if (property == "remote_indices") + { + variant.RemoteIndices = JsonSerializer.Deserialize?>(ref reader, options); + continue; + } + + if (property == "restriction") + { + variant.Restriction = JsonSerializer.Deserialize(ref reader, options); + continue; + } + if (property == "run_as") { variant.RunAs = JsonSerializer.Deserialize?>(ref reader, options); @@ -131,6 +149,24 @@ public override void Write(Utf8JsonWriter writer, RoleDescriptor value, JsonSeri JsonSerializer.Serialize(writer, value.Metadata, options); } + if (value.RemoteCluster is not null) + { + writer.WritePropertyName("remote_cluster"); + JsonSerializer.Serialize(writer, value.RemoteCluster, options); + } + + if (value.RemoteIndices is not null) + { + writer.WritePropertyName("remote_indices"); + JsonSerializer.Serialize(writer, value.RemoteIndices, options); + } + + if (value.Restriction is not null) + { + writer.WritePropertyName("restriction"); + JsonSerializer.Serialize(writer, value.Restriction, options); + } + if (value.RunAs is not null) { writer.WritePropertyName("run_as"); @@ -192,6 +228,27 @@ public sealed partial class RoleDescriptor /// public IDictionary? Metadata { get; set; } + /// + /// + /// A list of cluster permissions for remote clusters. Note - this is limited a subset of the cluster permissions. + /// + /// + public ICollection? RemoteCluster { get; set; } + + /// + /// + /// A list of indices permissions for remote clusters. + /// + /// + public ICollection? RemoteIndices { get; set; } + + /// + /// + /// Restriction for when the role descriptor is allowed to be effective. + /// + /// + public Elastic.Clients.Elasticsearch.Security.Restriction? Restriction { get; set; } + /// /// /// A list of users that the API keys can impersonate. Note: in Serverless, the run-as feature is disabled. For API compatibility, you can still specify an empty run_as field, but a non-empty list will be rejected. @@ -224,6 +281,17 @@ public RoleDescriptorDescriptor() : base() private Action> IndicesDescriptorAction { get; set; } private Action>[] IndicesDescriptorActions { get; set; } private IDictionary? MetadataValue { get; set; } + private ICollection? RemoteClusterValue { get; set; } + private Elastic.Clients.Elasticsearch.Security.RemoteClusterPrivilegesDescriptor RemoteClusterDescriptor { get; set; } + private Action RemoteClusterDescriptorAction { get; set; } + private Action[] RemoteClusterDescriptorActions { get; set; } + private ICollection? RemoteIndicesValue { get; set; } + private Elastic.Clients.Elasticsearch.Security.RemoteIndicesPrivilegesDescriptor RemoteIndicesDescriptor { get; set; } + private Action> RemoteIndicesDescriptorAction { get; set; } + private Action>[] RemoteIndicesDescriptorActions { get; set; } + private Elastic.Clients.Elasticsearch.Security.Restriction? RestrictionValue { get; set; } + private Elastic.Clients.Elasticsearch.Security.RestrictionDescriptor RestrictionDescriptor { get; set; } + private Action RestrictionDescriptorAction { get; set; } private ICollection? RunAsValue { get; set; } private IDictionary? TransientMetadataValue { get; set; } @@ -383,6 +451,117 @@ public RoleDescriptorDescriptor Metadata(Func + /// + /// A list of cluster permissions for remote clusters. Note - this is limited a subset of the cluster permissions. + /// + /// + public RoleDescriptorDescriptor RemoteCluster(ICollection? remoteCluster) + { + RemoteClusterDescriptor = null; + RemoteClusterDescriptorAction = null; + RemoteClusterDescriptorActions = null; + RemoteClusterValue = remoteCluster; + return Self; + } + + public RoleDescriptorDescriptor RemoteCluster(Elastic.Clients.Elasticsearch.Security.RemoteClusterPrivilegesDescriptor descriptor) + { + RemoteClusterValue = null; + RemoteClusterDescriptorAction = null; + RemoteClusterDescriptorActions = null; + RemoteClusterDescriptor = descriptor; + return Self; + } + + public RoleDescriptorDescriptor RemoteCluster(Action configure) + { + RemoteClusterValue = null; + RemoteClusterDescriptor = null; + RemoteClusterDescriptorActions = null; + RemoteClusterDescriptorAction = configure; + return Self; + } + + public RoleDescriptorDescriptor RemoteCluster(params Action[] configure) + { + RemoteClusterValue = null; + RemoteClusterDescriptor = null; + RemoteClusterDescriptorAction = null; + RemoteClusterDescriptorActions = configure; + return Self; + } + + /// + /// + /// A list of indices permissions for remote clusters. + /// + /// + public RoleDescriptorDescriptor RemoteIndices(ICollection? remoteIndices) + { + RemoteIndicesDescriptor = null; + RemoteIndicesDescriptorAction = null; + RemoteIndicesDescriptorActions = null; + RemoteIndicesValue = remoteIndices; + return Self; + } + + public RoleDescriptorDescriptor RemoteIndices(Elastic.Clients.Elasticsearch.Security.RemoteIndicesPrivilegesDescriptor descriptor) + { + RemoteIndicesValue = null; + RemoteIndicesDescriptorAction = null; + RemoteIndicesDescriptorActions = null; + RemoteIndicesDescriptor = descriptor; + return Self; + } + + public RoleDescriptorDescriptor RemoteIndices(Action> configure) + { + RemoteIndicesValue = null; + RemoteIndicesDescriptor = null; + RemoteIndicesDescriptorActions = null; + RemoteIndicesDescriptorAction = configure; + return Self; + } + + public RoleDescriptorDescriptor RemoteIndices(params Action>[] configure) + { + RemoteIndicesValue = null; + RemoteIndicesDescriptor = null; + RemoteIndicesDescriptorAction = null; + RemoteIndicesDescriptorActions = configure; + return Self; + } + + /// + /// + /// Restriction for when the role descriptor is allowed to be effective. + /// + /// + public RoleDescriptorDescriptor Restriction(Elastic.Clients.Elasticsearch.Security.Restriction? restriction) + { + RestrictionDescriptor = null; + RestrictionDescriptorAction = null; + RestrictionValue = restriction; + return Self; + } + + public RoleDescriptorDescriptor Restriction(Elastic.Clients.Elasticsearch.Security.RestrictionDescriptor descriptor) + { + RestrictionValue = null; + RestrictionDescriptorAction = null; + RestrictionDescriptor = descriptor; + return Self; + } + + public RoleDescriptorDescriptor Restriction(Action configure) + { + RestrictionValue = null; + RestrictionDescriptor = null; + RestrictionDescriptorAction = configure; + return Self; + } + /// /// /// A list of users that the API keys can impersonate. Note: in Serverless, the run-as feature is disabled. For API compatibility, you can still specify an empty run_as field, but a non-empty list will be rejected. @@ -512,6 +691,84 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o JsonSerializer.Serialize(writer, MetadataValue, options); } + if (RemoteClusterDescriptor is not null) + { + writer.WritePropertyName("remote_cluster"); + writer.WriteStartArray(); + JsonSerializer.Serialize(writer, RemoteClusterDescriptor, options); + writer.WriteEndArray(); + } + else if (RemoteClusterDescriptorAction is not null) + { + writer.WritePropertyName("remote_cluster"); + writer.WriteStartArray(); + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.Security.RemoteClusterPrivilegesDescriptor(RemoteClusterDescriptorAction), options); + writer.WriteEndArray(); + } + else if (RemoteClusterDescriptorActions is not null) + { + writer.WritePropertyName("remote_cluster"); + writer.WriteStartArray(); + foreach (var action in RemoteClusterDescriptorActions) + { + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.Security.RemoteClusterPrivilegesDescriptor(action), options); + } + + writer.WriteEndArray(); + } + else if (RemoteClusterValue is not null) + { + writer.WritePropertyName("remote_cluster"); + JsonSerializer.Serialize(writer, RemoteClusterValue, options); + } + + if (RemoteIndicesDescriptor is not null) + { + writer.WritePropertyName("remote_indices"); + writer.WriteStartArray(); + JsonSerializer.Serialize(writer, RemoteIndicesDescriptor, options); + writer.WriteEndArray(); + } + else if (RemoteIndicesDescriptorAction is not null) + { + writer.WritePropertyName("remote_indices"); + writer.WriteStartArray(); + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.Security.RemoteIndicesPrivilegesDescriptor(RemoteIndicesDescriptorAction), options); + writer.WriteEndArray(); + } + else if (RemoteIndicesDescriptorActions is not null) + { + writer.WritePropertyName("remote_indices"); + writer.WriteStartArray(); + foreach (var action in RemoteIndicesDescriptorActions) + { + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.Security.RemoteIndicesPrivilegesDescriptor(action), options); + } + + writer.WriteEndArray(); + } + else if (RemoteIndicesValue is not null) + { + writer.WritePropertyName("remote_indices"); + JsonSerializer.Serialize(writer, RemoteIndicesValue, options); + } + + if (RestrictionDescriptor is not null) + { + writer.WritePropertyName("restriction"); + JsonSerializer.Serialize(writer, RestrictionDescriptor, options); + } + else if (RestrictionDescriptorAction is not null) + { + writer.WritePropertyName("restriction"); + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.Security.RestrictionDescriptor(RestrictionDescriptorAction), options); + } + else if (RestrictionValue is not null) + { + writer.WritePropertyName("restriction"); + JsonSerializer.Serialize(writer, RestrictionValue, options); + } + if (RunAsValue is not null) { writer.WritePropertyName("run_as"); @@ -551,6 +808,17 @@ public RoleDescriptorDescriptor() : base() private Action IndicesDescriptorAction { get; set; } private Action[] IndicesDescriptorActions { get; set; } private IDictionary? MetadataValue { get; set; } + private ICollection? RemoteClusterValue { get; set; } + private Elastic.Clients.Elasticsearch.Security.RemoteClusterPrivilegesDescriptor RemoteClusterDescriptor { get; set; } + private Action RemoteClusterDescriptorAction { get; set; } + private Action[] RemoteClusterDescriptorActions { get; set; } + private ICollection? RemoteIndicesValue { get; set; } + private Elastic.Clients.Elasticsearch.Security.RemoteIndicesPrivilegesDescriptor RemoteIndicesDescriptor { get; set; } + private Action RemoteIndicesDescriptorAction { get; set; } + private Action[] RemoteIndicesDescriptorActions { get; set; } + private Elastic.Clients.Elasticsearch.Security.Restriction? RestrictionValue { get; set; } + private Elastic.Clients.Elasticsearch.Security.RestrictionDescriptor RestrictionDescriptor { get; set; } + private Action RestrictionDescriptorAction { get; set; } private ICollection? RunAsValue { get; set; } private IDictionary? TransientMetadataValue { get; set; } @@ -710,6 +978,117 @@ public RoleDescriptorDescriptor Metadata(Func, return Self; } + /// + /// + /// A list of cluster permissions for remote clusters. Note - this is limited a subset of the cluster permissions. + /// + /// + public RoleDescriptorDescriptor RemoteCluster(ICollection? remoteCluster) + { + RemoteClusterDescriptor = null; + RemoteClusterDescriptorAction = null; + RemoteClusterDescriptorActions = null; + RemoteClusterValue = remoteCluster; + return Self; + } + + public RoleDescriptorDescriptor RemoteCluster(Elastic.Clients.Elasticsearch.Security.RemoteClusterPrivilegesDescriptor descriptor) + { + RemoteClusterValue = null; + RemoteClusterDescriptorAction = null; + RemoteClusterDescriptorActions = null; + RemoteClusterDescriptor = descriptor; + return Self; + } + + public RoleDescriptorDescriptor RemoteCluster(Action configure) + { + RemoteClusterValue = null; + RemoteClusterDescriptor = null; + RemoteClusterDescriptorActions = null; + RemoteClusterDescriptorAction = configure; + return Self; + } + + public RoleDescriptorDescriptor RemoteCluster(params Action[] configure) + { + RemoteClusterValue = null; + RemoteClusterDescriptor = null; + RemoteClusterDescriptorAction = null; + RemoteClusterDescriptorActions = configure; + return Self; + } + + /// + /// + /// A list of indices permissions for remote clusters. + /// + /// + public RoleDescriptorDescriptor RemoteIndices(ICollection? remoteIndices) + { + RemoteIndicesDescriptor = null; + RemoteIndicesDescriptorAction = null; + RemoteIndicesDescriptorActions = null; + RemoteIndicesValue = remoteIndices; + return Self; + } + + public RoleDescriptorDescriptor RemoteIndices(Elastic.Clients.Elasticsearch.Security.RemoteIndicesPrivilegesDescriptor descriptor) + { + RemoteIndicesValue = null; + RemoteIndicesDescriptorAction = null; + RemoteIndicesDescriptorActions = null; + RemoteIndicesDescriptor = descriptor; + return Self; + } + + public RoleDescriptorDescriptor RemoteIndices(Action configure) + { + RemoteIndicesValue = null; + RemoteIndicesDescriptor = null; + RemoteIndicesDescriptorActions = null; + RemoteIndicesDescriptorAction = configure; + return Self; + } + + public RoleDescriptorDescriptor RemoteIndices(params Action[] configure) + { + RemoteIndicesValue = null; + RemoteIndicesDescriptor = null; + RemoteIndicesDescriptorAction = null; + RemoteIndicesDescriptorActions = configure; + return Self; + } + + /// + /// + /// Restriction for when the role descriptor is allowed to be effective. + /// + /// + public RoleDescriptorDescriptor Restriction(Elastic.Clients.Elasticsearch.Security.Restriction? restriction) + { + RestrictionDescriptor = null; + RestrictionDescriptorAction = null; + RestrictionValue = restriction; + return Self; + } + + public RoleDescriptorDescriptor Restriction(Elastic.Clients.Elasticsearch.Security.RestrictionDescriptor descriptor) + { + RestrictionValue = null; + RestrictionDescriptorAction = null; + RestrictionDescriptor = descriptor; + return Self; + } + + public RoleDescriptorDescriptor Restriction(Action configure) + { + RestrictionValue = null; + RestrictionDescriptor = null; + RestrictionDescriptorAction = configure; + return Self; + } + /// /// /// A list of users that the API keys can impersonate. Note: in Serverless, the run-as feature is disabled. For API compatibility, you can still specify an empty run_as field, but a non-empty list will be rejected. @@ -839,6 +1218,84 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o JsonSerializer.Serialize(writer, MetadataValue, options); } + if (RemoteClusterDescriptor is not null) + { + writer.WritePropertyName("remote_cluster"); + writer.WriteStartArray(); + JsonSerializer.Serialize(writer, RemoteClusterDescriptor, options); + writer.WriteEndArray(); + } + else if (RemoteClusterDescriptorAction is not null) + { + writer.WritePropertyName("remote_cluster"); + writer.WriteStartArray(); + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.Security.RemoteClusterPrivilegesDescriptor(RemoteClusterDescriptorAction), options); + writer.WriteEndArray(); + } + else if (RemoteClusterDescriptorActions is not null) + { + writer.WritePropertyName("remote_cluster"); + writer.WriteStartArray(); + foreach (var action in RemoteClusterDescriptorActions) + { + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.Security.RemoteClusterPrivilegesDescriptor(action), options); + } + + writer.WriteEndArray(); + } + else if (RemoteClusterValue is not null) + { + writer.WritePropertyName("remote_cluster"); + JsonSerializer.Serialize(writer, RemoteClusterValue, options); + } + + if (RemoteIndicesDescriptor is not null) + { + writer.WritePropertyName("remote_indices"); + writer.WriteStartArray(); + JsonSerializer.Serialize(writer, RemoteIndicesDescriptor, options); + writer.WriteEndArray(); + } + else if (RemoteIndicesDescriptorAction is not null) + { + writer.WritePropertyName("remote_indices"); + writer.WriteStartArray(); + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.Security.RemoteIndicesPrivilegesDescriptor(RemoteIndicesDescriptorAction), options); + writer.WriteEndArray(); + } + else if (RemoteIndicesDescriptorActions is not null) + { + writer.WritePropertyName("remote_indices"); + writer.WriteStartArray(); + foreach (var action in RemoteIndicesDescriptorActions) + { + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.Security.RemoteIndicesPrivilegesDescriptor(action), options); + } + + writer.WriteEndArray(); + } + else if (RemoteIndicesValue is not null) + { + writer.WritePropertyName("remote_indices"); + JsonSerializer.Serialize(writer, RemoteIndicesValue, options); + } + + if (RestrictionDescriptor is not null) + { + writer.WritePropertyName("restriction"); + JsonSerializer.Serialize(writer, RestrictionDescriptor, options); + } + else if (RestrictionDescriptorAction is not null) + { + writer.WritePropertyName("restriction"); + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.Security.RestrictionDescriptor(RestrictionDescriptorAction), options); + } + else if (RestrictionValue is not null) + { + writer.WritePropertyName("restriction"); + JsonSerializer.Serialize(writer, RestrictionValue, options); + } + if (RunAsValue is not null) { writer.WritePropertyName("run_as"); diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Security/RoleDescriptorRead.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Security/RoleDescriptorRead.g.cs index 6df0ea3d1de..0cbba91ee67 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Security/RoleDescriptorRead.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Security/RoleDescriptorRead.g.cs @@ -39,6 +39,9 @@ public override RoleDescriptorRead Read(ref Utf8JsonReader reader, Type typeToCo IReadOnlyCollection? global = default; IReadOnlyCollection indices = default; IReadOnlyDictionary? metadata = default; + IReadOnlyCollection? remoteCluster = default; + IReadOnlyCollection? remoteIndices = default; + Elastic.Clients.Elasticsearch.Security.Restriction? restriction = default; IReadOnlyCollection? runAs = default; IReadOnlyDictionary? transientMetadata = default; while (reader.Read() && reader.TokenType != JsonTokenType.EndObject) @@ -82,6 +85,24 @@ public override RoleDescriptorRead Read(ref Utf8JsonReader reader, Type typeToCo continue; } + if (property == "remote_cluster") + { + remoteCluster = JsonSerializer.Deserialize?>(ref reader, options); + continue; + } + + if (property == "remote_indices") + { + remoteIndices = JsonSerializer.Deserialize?>(ref reader, options); + continue; + } + + if (property == "restriction") + { + restriction = JsonSerializer.Deserialize(ref reader, options); + continue; + } + if (property == "run_as") { runAs = JsonSerializer.Deserialize?>(ref reader, options); @@ -96,7 +117,7 @@ public override RoleDescriptorRead Read(ref Utf8JsonReader reader, Type typeToCo } } - return new RoleDescriptorRead { Applications = applications, Cluster = cluster, Description = description, Global = global, Indices = indices, Metadata = metadata, RunAs = runAs, TransientMetadata = transientMetadata }; + return new RoleDescriptorRead { Applications = applications, Cluster = cluster, Description = description, Global = global, Indices = indices, Metadata = metadata, RemoteCluster = remoteCluster, RemoteIndices = remoteIndices, Restriction = restriction, RunAs = runAs, TransientMetadata = transientMetadata }; } public override void Write(Utf8JsonWriter writer, RoleDescriptorRead value, JsonSerializerOptions options) @@ -150,6 +171,27 @@ public sealed partial class RoleDescriptorRead /// public IReadOnlyDictionary? Metadata { get; init; } + /// + /// + /// A list of cluster permissions for remote clusters. Note - this is limited a subset of the cluster permissions. + /// + /// + public IReadOnlyCollection? RemoteCluster { get; init; } + + /// + /// + /// A list of indices permissions for remote clusters. + /// + /// + public IReadOnlyCollection? RemoteIndices { get; init; } + + /// + /// + /// Restriction for when the role descriptor is allowed to be effective. + /// + /// + public Elastic.Clients.Elasticsearch.Security.Restriction? Restriction { get; init; } + /// /// /// A list of users that the API keys can impersonate. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Security/SearchAccess.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Security/SearchAccess.g.cs new file mode 100644 index 00000000000..04a4ac7ddc5 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Security/SearchAccess.g.cs @@ -0,0 +1,292 @@ +// 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 Elastic.Clients.Elasticsearch.Fluent; +using Elastic.Clients.Elasticsearch.Serialization; +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +namespace Elastic.Clients.Elasticsearch.Security; + +public sealed partial class SearchAccess +{ + /// + /// + /// Set to true if using wildcard or regular expressions for patterns that cover restricted indices. Implicitly, restricted indices have limited privileges that can cause pattern tests to fail. If restricted indices are explicitly included in the names list, Elasticsearch checks privileges against these indices regardless of the value set for allow_restricted_indices. + /// + /// + [JsonInclude, JsonPropertyName("allow_restricted_indices")] + public bool? AllowRestrictedIndices { get; set; } + + /// + /// + /// The document fields that the owners of the role have read access to. + /// + /// + [JsonInclude, JsonPropertyName("field_security")] + public Elastic.Clients.Elasticsearch.Security.FieldSecurity? FieldSecurity { get; set; } + + /// + /// + /// A list of indices (or index name patterns) to which the permissions in this entry apply. + /// + /// + [JsonInclude, JsonPropertyName("names")] + [SingleOrManyCollectionConverter(typeof(Elastic.Clients.Elasticsearch.IndexName))] + public ICollection Names { get; set; } + + /// + /// + /// A search query that defines the documents the owners of the role have access to. A document within the specified indices must match this query for it to be accessible by the owners of the role. + /// + /// + [JsonInclude, JsonPropertyName("query")] + public object? Query { get; set; } +} + +public sealed partial class SearchAccessDescriptor : SerializableDescriptor> +{ + internal SearchAccessDescriptor(Action> configure) => configure.Invoke(this); + + public SearchAccessDescriptor() : base() + { + } + + private bool? AllowRestrictedIndicesValue { get; set; } + private Elastic.Clients.Elasticsearch.Security.FieldSecurity? FieldSecurityValue { get; set; } + private Elastic.Clients.Elasticsearch.Security.FieldSecurityDescriptor FieldSecurityDescriptor { get; set; } + private Action> FieldSecurityDescriptorAction { get; set; } + private ICollection NamesValue { get; set; } + private object? QueryValue { get; set; } + + /// + /// + /// Set to true if using wildcard or regular expressions for patterns that cover restricted indices. Implicitly, restricted indices have limited privileges that can cause pattern tests to fail. If restricted indices are explicitly included in the names list, Elasticsearch checks privileges against these indices regardless of the value set for allow_restricted_indices. + /// + /// + public SearchAccessDescriptor AllowRestrictedIndices(bool? allowRestrictedIndices = true) + { + AllowRestrictedIndicesValue = allowRestrictedIndices; + return Self; + } + + /// + /// + /// The document fields that the owners of the role have read access to. + /// + /// + public SearchAccessDescriptor FieldSecurity(Elastic.Clients.Elasticsearch.Security.FieldSecurity? fieldSecurity) + { + FieldSecurityDescriptor = null; + FieldSecurityDescriptorAction = null; + FieldSecurityValue = fieldSecurity; + return Self; + } + + public SearchAccessDescriptor FieldSecurity(Elastic.Clients.Elasticsearch.Security.FieldSecurityDescriptor descriptor) + { + FieldSecurityValue = null; + FieldSecurityDescriptorAction = null; + FieldSecurityDescriptor = descriptor; + return Self; + } + + public SearchAccessDescriptor FieldSecurity(Action> configure) + { + FieldSecurityValue = null; + FieldSecurityDescriptor = null; + FieldSecurityDescriptorAction = configure; + return Self; + } + + /// + /// + /// A list of indices (or index name patterns) to which the permissions in this entry apply. + /// + /// + public SearchAccessDescriptor Names(ICollection names) + { + NamesValue = names; + return Self; + } + + /// + /// + /// A search query that defines the documents the owners of the role have access to. A document within the specified indices must match this query for it to be accessible by the owners of the role. + /// + /// + public SearchAccessDescriptor Query(object? query) + { + QueryValue = query; + return Self; + } + + protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) + { + writer.WriteStartObject(); + if (AllowRestrictedIndicesValue.HasValue) + { + writer.WritePropertyName("allow_restricted_indices"); + writer.WriteBooleanValue(AllowRestrictedIndicesValue.Value); + } + + if (FieldSecurityDescriptor is not null) + { + writer.WritePropertyName("field_security"); + JsonSerializer.Serialize(writer, FieldSecurityDescriptor, options); + } + else if (FieldSecurityDescriptorAction is not null) + { + writer.WritePropertyName("field_security"); + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.Security.FieldSecurityDescriptor(FieldSecurityDescriptorAction), options); + } + else if (FieldSecurityValue is not null) + { + writer.WritePropertyName("field_security"); + JsonSerializer.Serialize(writer, FieldSecurityValue, options); + } + + writer.WritePropertyName("names"); + SingleOrManySerializationHelper.Serialize(NamesValue, writer, options); + if (QueryValue is not null) + { + writer.WritePropertyName("query"); + JsonSerializer.Serialize(writer, QueryValue, options); + } + + writer.WriteEndObject(); + } +} + +public sealed partial class SearchAccessDescriptor : SerializableDescriptor +{ + internal SearchAccessDescriptor(Action configure) => configure.Invoke(this); + + public SearchAccessDescriptor() : base() + { + } + + private bool? AllowRestrictedIndicesValue { get; set; } + private Elastic.Clients.Elasticsearch.Security.FieldSecurity? FieldSecurityValue { get; set; } + private Elastic.Clients.Elasticsearch.Security.FieldSecurityDescriptor FieldSecurityDescriptor { get; set; } + private Action FieldSecurityDescriptorAction { get; set; } + private ICollection NamesValue { get; set; } + private object? QueryValue { get; set; } + + /// + /// + /// Set to true if using wildcard or regular expressions for patterns that cover restricted indices. Implicitly, restricted indices have limited privileges that can cause pattern tests to fail. If restricted indices are explicitly included in the names list, Elasticsearch checks privileges against these indices regardless of the value set for allow_restricted_indices. + /// + /// + public SearchAccessDescriptor AllowRestrictedIndices(bool? allowRestrictedIndices = true) + { + AllowRestrictedIndicesValue = allowRestrictedIndices; + return Self; + } + + /// + /// + /// The document fields that the owners of the role have read access to. + /// + /// + public SearchAccessDescriptor FieldSecurity(Elastic.Clients.Elasticsearch.Security.FieldSecurity? fieldSecurity) + { + FieldSecurityDescriptor = null; + FieldSecurityDescriptorAction = null; + FieldSecurityValue = fieldSecurity; + return Self; + } + + public SearchAccessDescriptor FieldSecurity(Elastic.Clients.Elasticsearch.Security.FieldSecurityDescriptor descriptor) + { + FieldSecurityValue = null; + FieldSecurityDescriptorAction = null; + FieldSecurityDescriptor = descriptor; + return Self; + } + + public SearchAccessDescriptor FieldSecurity(Action configure) + { + FieldSecurityValue = null; + FieldSecurityDescriptor = null; + FieldSecurityDescriptorAction = configure; + return Self; + } + + /// + /// + /// A list of indices (or index name patterns) to which the permissions in this entry apply. + /// + /// + public SearchAccessDescriptor Names(ICollection names) + { + NamesValue = names; + return Self; + } + + /// + /// + /// A search query that defines the documents the owners of the role have access to. A document within the specified indices must match this query for it to be accessible by the owners of the role. + /// + /// + public SearchAccessDescriptor Query(object? query) + { + QueryValue = query; + return Self; + } + + protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) + { + writer.WriteStartObject(); + if (AllowRestrictedIndicesValue.HasValue) + { + writer.WritePropertyName("allow_restricted_indices"); + writer.WriteBooleanValue(AllowRestrictedIndicesValue.Value); + } + + if (FieldSecurityDescriptor is not null) + { + writer.WritePropertyName("field_security"); + JsonSerializer.Serialize(writer, FieldSecurityDescriptor, options); + } + else if (FieldSecurityDescriptorAction is not null) + { + writer.WritePropertyName("field_security"); + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.Security.FieldSecurityDescriptor(FieldSecurityDescriptorAction), options); + } + else if (FieldSecurityValue is not null) + { + writer.WritePropertyName("field_security"); + JsonSerializer.Serialize(writer, FieldSecurityValue, options); + } + + writer.WritePropertyName("names"); + SingleOrManySerializationHelper.Serialize(NamesValue, writer, options); + if (QueryValue is not null) + { + writer.WritePropertyName("query"); + JsonSerializer.Serialize(writer, QueryValue, options); + } + + writer.WriteEndObject(); + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Security/UserIndicesPrivileges.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Security/UserIndicesPrivileges.g.cs index 00564aac314..5bacdaccaa6 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Security/UserIndicesPrivileges.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Security/UserIndicesPrivileges.g.cs @@ -51,6 +51,7 @@ public sealed partial class UserIndicesPrivileges /// /// [JsonInclude, JsonPropertyName("names")] + [SingleOrManyCollectionConverter(typeof(string))] public IReadOnlyCollection Names { get; init; } /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/TextSimilarityReranker.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/TextSimilarityReranker.g.cs new file mode 100644 index 00000000000..95ea8843489 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/TextSimilarityReranker.g.cs @@ -0,0 +1,546 @@ +// 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 Elastic.Clients.Elasticsearch.Fluent; +using Elastic.Clients.Elasticsearch.Serialization; +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +namespace Elastic.Clients.Elasticsearch; + +public sealed partial class TextSimilarityReranker +{ + /// + /// + /// The document field to be used for text similarity comparisons. This field should contain the text that will be evaluated against the inference_text + /// + /// + [JsonInclude, JsonPropertyName("field")] + public string? Field { get; set; } + + /// + /// + /// Query to filter the documents that can match. + /// + /// + [JsonInclude, JsonPropertyName("filter")] + [SingleOrManyCollectionConverter(typeof(Elastic.Clients.Elasticsearch.QueryDsl.Query))] + public ICollection? Filter { get; set; } + + /// + /// + /// Unique identifier of the inference endpoint created using the inference API. + /// + /// + [JsonInclude, JsonPropertyName("inference_id")] + public string? InferenceId { get; set; } + + /// + /// + /// The text snippet used as the basis for similarity comparison + /// + /// + [JsonInclude, JsonPropertyName("inference_text")] + public string? InferenceText { get; set; } + + /// + /// + /// Minimum _score for matching documents. Documents with a lower _score are not included in the top documents. + /// + /// + [JsonInclude, JsonPropertyName("min_score")] + public float? MinScore { get; set; } + + /// + /// + /// This value determines how many documents we will consider from the nested retriever. + /// + /// + [JsonInclude, JsonPropertyName("rank_window_size")] + public int? RankWindowSize { get; set; } + + /// + /// + /// The nested retriever which will produce the first-level results, that will later be used for reranking. + /// + /// + [JsonInclude, JsonPropertyName("retriever")] + public Elastic.Clients.Elasticsearch.Retriever Retriever { get; set; } + + public static implicit operator Elastic.Clients.Elasticsearch.Retriever(TextSimilarityReranker textSimilarityReranker) => Elastic.Clients.Elasticsearch.Retriever.TextSimilarityReranker(textSimilarityReranker); +} + +public sealed partial class TextSimilarityRerankerDescriptor : SerializableDescriptor> +{ + internal TextSimilarityRerankerDescriptor(Action> configure) => configure.Invoke(this); + + public TextSimilarityRerankerDescriptor() : base() + { + } + + private string? FieldValue { get; set; } + private ICollection? FilterValue { get; set; } + private Elastic.Clients.Elasticsearch.QueryDsl.QueryDescriptor FilterDescriptor { get; set; } + private Action> FilterDescriptorAction { get; set; } + private Action>[] FilterDescriptorActions { get; set; } + private string? InferenceIdValue { get; set; } + private string? InferenceTextValue { get; set; } + private float? MinScoreValue { get; set; } + private int? RankWindowSizeValue { get; set; } + private Elastic.Clients.Elasticsearch.Retriever RetrieverValue { get; set; } + private Elastic.Clients.Elasticsearch.RetrieverDescriptor RetrieverDescriptor { get; set; } + private Action> RetrieverDescriptorAction { get; set; } + + /// + /// + /// The document field to be used for text similarity comparisons. This field should contain the text that will be evaluated against the inference_text + /// + /// + public TextSimilarityRerankerDescriptor Field(string? field) + { + FieldValue = field; + return Self; + } + + /// + /// + /// Query to filter the documents that can match. + /// + /// + public TextSimilarityRerankerDescriptor Filter(ICollection? filter) + { + FilterDescriptor = null; + FilterDescriptorAction = null; + FilterDescriptorActions = null; + FilterValue = filter; + return Self; + } + + public TextSimilarityRerankerDescriptor Filter(Elastic.Clients.Elasticsearch.QueryDsl.QueryDescriptor descriptor) + { + FilterValue = null; + FilterDescriptorAction = null; + FilterDescriptorActions = null; + FilterDescriptor = descriptor; + return Self; + } + + public TextSimilarityRerankerDescriptor Filter(Action> configure) + { + FilterValue = null; + FilterDescriptor = null; + FilterDescriptorActions = null; + FilterDescriptorAction = configure; + return Self; + } + + public TextSimilarityRerankerDescriptor Filter(params Action>[] configure) + { + FilterValue = null; + FilterDescriptor = null; + FilterDescriptorAction = null; + FilterDescriptorActions = configure; + return Self; + } + + /// + /// + /// Unique identifier of the inference endpoint created using the inference API. + /// + /// + public TextSimilarityRerankerDescriptor InferenceId(string? inferenceId) + { + InferenceIdValue = inferenceId; + return Self; + } + + /// + /// + /// The text snippet used as the basis for similarity comparison + /// + /// + public TextSimilarityRerankerDescriptor InferenceText(string? inferenceText) + { + InferenceTextValue = inferenceText; + return Self; + } + + /// + /// + /// Minimum _score for matching documents. Documents with a lower _score are not included in the top documents. + /// + /// + public TextSimilarityRerankerDescriptor MinScore(float? minScore) + { + MinScoreValue = minScore; + return Self; + } + + /// + /// + /// This value determines how many documents we will consider from the nested retriever. + /// + /// + public TextSimilarityRerankerDescriptor RankWindowSize(int? rankWindowSize) + { + RankWindowSizeValue = rankWindowSize; + return Self; + } + + /// + /// + /// The nested retriever which will produce the first-level results, that will later be used for reranking. + /// + /// + public TextSimilarityRerankerDescriptor Retriever(Elastic.Clients.Elasticsearch.Retriever retriever) + { + RetrieverDescriptor = null; + RetrieverDescriptorAction = null; + RetrieverValue = retriever; + return Self; + } + + public TextSimilarityRerankerDescriptor Retriever(Elastic.Clients.Elasticsearch.RetrieverDescriptor descriptor) + { + RetrieverValue = null; + RetrieverDescriptorAction = null; + RetrieverDescriptor = descriptor; + return Self; + } + + public TextSimilarityRerankerDescriptor Retriever(Action> configure) + { + RetrieverValue = null; + RetrieverDescriptor = null; + RetrieverDescriptorAction = configure; + return Self; + } + + protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) + { + writer.WriteStartObject(); + if (!string.IsNullOrEmpty(FieldValue)) + { + writer.WritePropertyName("field"); + writer.WriteStringValue(FieldValue); + } + + if (FilterDescriptor is not null) + { + writer.WritePropertyName("filter"); + JsonSerializer.Serialize(writer, FilterDescriptor, options); + } + else if (FilterDescriptorAction is not null) + { + writer.WritePropertyName("filter"); + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.QueryDsl.QueryDescriptor(FilterDescriptorAction), options); + } + else if (FilterDescriptorActions is not null) + { + writer.WritePropertyName("filter"); + if (FilterDescriptorActions.Length != 1) + writer.WriteStartArray(); + foreach (var action in FilterDescriptorActions) + { + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.QueryDsl.QueryDescriptor(action), options); + } + + if (FilterDescriptorActions.Length != 1) + writer.WriteEndArray(); + } + else if (FilterValue is not null) + { + writer.WritePropertyName("filter"); + SingleOrManySerializationHelper.Serialize(FilterValue, writer, options); + } + + if (!string.IsNullOrEmpty(InferenceIdValue)) + { + writer.WritePropertyName("inference_id"); + writer.WriteStringValue(InferenceIdValue); + } + + if (!string.IsNullOrEmpty(InferenceTextValue)) + { + writer.WritePropertyName("inference_text"); + writer.WriteStringValue(InferenceTextValue); + } + + if (MinScoreValue.HasValue) + { + writer.WritePropertyName("min_score"); + writer.WriteNumberValue(MinScoreValue.Value); + } + + if (RankWindowSizeValue.HasValue) + { + writer.WritePropertyName("rank_window_size"); + writer.WriteNumberValue(RankWindowSizeValue.Value); + } + + if (RetrieverDescriptor is not null) + { + writer.WritePropertyName("retriever"); + JsonSerializer.Serialize(writer, RetrieverDescriptor, options); + } + else if (RetrieverDescriptorAction is not null) + { + writer.WritePropertyName("retriever"); + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.RetrieverDescriptor(RetrieverDescriptorAction), options); + } + else + { + writer.WritePropertyName("retriever"); + JsonSerializer.Serialize(writer, RetrieverValue, options); + } + + writer.WriteEndObject(); + } +} + +public sealed partial class TextSimilarityRerankerDescriptor : SerializableDescriptor +{ + internal TextSimilarityRerankerDescriptor(Action configure) => configure.Invoke(this); + + public TextSimilarityRerankerDescriptor() : base() + { + } + + private string? FieldValue { get; set; } + private ICollection? FilterValue { get; set; } + private Elastic.Clients.Elasticsearch.QueryDsl.QueryDescriptor FilterDescriptor { get; set; } + private Action FilterDescriptorAction { get; set; } + private Action[] FilterDescriptorActions { get; set; } + private string? InferenceIdValue { get; set; } + private string? InferenceTextValue { get; set; } + private float? MinScoreValue { get; set; } + private int? RankWindowSizeValue { get; set; } + private Elastic.Clients.Elasticsearch.Retriever RetrieverValue { get; set; } + private Elastic.Clients.Elasticsearch.RetrieverDescriptor RetrieverDescriptor { get; set; } + private Action RetrieverDescriptorAction { get; set; } + + /// + /// + /// The document field to be used for text similarity comparisons. This field should contain the text that will be evaluated against the inference_text + /// + /// + public TextSimilarityRerankerDescriptor Field(string? field) + { + FieldValue = field; + return Self; + } + + /// + /// + /// Query to filter the documents that can match. + /// + /// + public TextSimilarityRerankerDescriptor Filter(ICollection? filter) + { + FilterDescriptor = null; + FilterDescriptorAction = null; + FilterDescriptorActions = null; + FilterValue = filter; + return Self; + } + + public TextSimilarityRerankerDescriptor Filter(Elastic.Clients.Elasticsearch.QueryDsl.QueryDescriptor descriptor) + { + FilterValue = null; + FilterDescriptorAction = null; + FilterDescriptorActions = null; + FilterDescriptor = descriptor; + return Self; + } + + public TextSimilarityRerankerDescriptor Filter(Action configure) + { + FilterValue = null; + FilterDescriptor = null; + FilterDescriptorActions = null; + FilterDescriptorAction = configure; + return Self; + } + + public TextSimilarityRerankerDescriptor Filter(params Action[] configure) + { + FilterValue = null; + FilterDescriptor = null; + FilterDescriptorAction = null; + FilterDescriptorActions = configure; + return Self; + } + + /// + /// + /// Unique identifier of the inference endpoint created using the inference API. + /// + /// + public TextSimilarityRerankerDescriptor InferenceId(string? inferenceId) + { + InferenceIdValue = inferenceId; + return Self; + } + + /// + /// + /// The text snippet used as the basis for similarity comparison + /// + /// + public TextSimilarityRerankerDescriptor InferenceText(string? inferenceText) + { + InferenceTextValue = inferenceText; + return Self; + } + + /// + /// + /// Minimum _score for matching documents. Documents with a lower _score are not included in the top documents. + /// + /// + public TextSimilarityRerankerDescriptor MinScore(float? minScore) + { + MinScoreValue = minScore; + return Self; + } + + /// + /// + /// This value determines how many documents we will consider from the nested retriever. + /// + /// + public TextSimilarityRerankerDescriptor RankWindowSize(int? rankWindowSize) + { + RankWindowSizeValue = rankWindowSize; + return Self; + } + + /// + /// + /// The nested retriever which will produce the first-level results, that will later be used for reranking. + /// + /// + public TextSimilarityRerankerDescriptor Retriever(Elastic.Clients.Elasticsearch.Retriever retriever) + { + RetrieverDescriptor = null; + RetrieverDescriptorAction = null; + RetrieverValue = retriever; + return Self; + } + + public TextSimilarityRerankerDescriptor Retriever(Elastic.Clients.Elasticsearch.RetrieverDescriptor descriptor) + { + RetrieverValue = null; + RetrieverDescriptorAction = null; + RetrieverDescriptor = descriptor; + return Self; + } + + public TextSimilarityRerankerDescriptor Retriever(Action configure) + { + RetrieverValue = null; + RetrieverDescriptor = null; + RetrieverDescriptorAction = configure; + return Self; + } + + protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) + { + writer.WriteStartObject(); + if (!string.IsNullOrEmpty(FieldValue)) + { + writer.WritePropertyName("field"); + writer.WriteStringValue(FieldValue); + } + + if (FilterDescriptor is not null) + { + writer.WritePropertyName("filter"); + JsonSerializer.Serialize(writer, FilterDescriptor, options); + } + else if (FilterDescriptorAction is not null) + { + writer.WritePropertyName("filter"); + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.QueryDsl.QueryDescriptor(FilterDescriptorAction), options); + } + else if (FilterDescriptorActions is not null) + { + writer.WritePropertyName("filter"); + if (FilterDescriptorActions.Length != 1) + writer.WriteStartArray(); + foreach (var action in FilterDescriptorActions) + { + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.QueryDsl.QueryDescriptor(action), options); + } + + if (FilterDescriptorActions.Length != 1) + writer.WriteEndArray(); + } + else if (FilterValue is not null) + { + writer.WritePropertyName("filter"); + SingleOrManySerializationHelper.Serialize(FilterValue, writer, options); + } + + if (!string.IsNullOrEmpty(InferenceIdValue)) + { + writer.WritePropertyName("inference_id"); + writer.WriteStringValue(InferenceIdValue); + } + + if (!string.IsNullOrEmpty(InferenceTextValue)) + { + writer.WritePropertyName("inference_text"); + writer.WriteStringValue(InferenceTextValue); + } + + if (MinScoreValue.HasValue) + { + writer.WritePropertyName("min_score"); + writer.WriteNumberValue(MinScoreValue.Value); + } + + if (RankWindowSizeValue.HasValue) + { + writer.WritePropertyName("rank_window_size"); + writer.WriteNumberValue(RankWindowSizeValue.Value); + } + + if (RetrieverDescriptor is not null) + { + writer.WritePropertyName("retriever"); + JsonSerializer.Serialize(writer, RetrieverDescriptor, options); + } + else if (RetrieverDescriptorAction is not null) + { + writer.WritePropertyName("retriever"); + JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.RetrieverDescriptor(RetrieverDescriptorAction), options); + } + else + { + writer.WritePropertyName("retriever"); + JsonSerializer.Serialize(writer, RetrieverValue, options); + } + + writer.WriteEndObject(); + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/Features.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/Features.g.cs index ce73c0c79b2..8648694b682 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/Features.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/Features.g.cs @@ -55,6 +55,8 @@ public sealed partial class Features public Elastic.Clients.Elasticsearch.Xpack.Feature Graph { get; init; } [JsonInclude, JsonPropertyName("ilm")] public Elastic.Clients.Elasticsearch.Xpack.Feature Ilm { get; init; } + [JsonInclude, JsonPropertyName("logsdb")] + public Elastic.Clients.Elasticsearch.Xpack.Feature Logsdb { get; init; } [JsonInclude, JsonPropertyName("logstash")] public Elastic.Clients.Elasticsearch.Xpack.Feature Logstash { get; init; } [JsonInclude, JsonPropertyName("ml")] From 98fa1986505f64f26b7c29b6f7fbb5268a7eecef Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 8 Apr 2025 15:35:08 +0200 Subject: [PATCH 17/25] Fix serialization of `Names` (#8486) (#8488) Co-authored-by: Florian Bernd --- .../_Shared/Core/UrlParameters/Name/Names.cs | 49 ++++++++++++++++++- 1 file changed, 48 insertions(+), 1 deletion(-) diff --git a/src/Elastic.Clients.Elasticsearch/_Shared/Core/UrlParameters/Name/Names.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Core/UrlParameters/Name/Names.cs index 19f7e64c788..9e525c6e8f1 100644 --- a/src/Elastic.Clients.Elasticsearch/_Shared/Core/UrlParameters/Name/Names.cs +++ b/src/Elastic.Clients.Elasticsearch/_Shared/Core/UrlParameters/Name/Names.cs @@ -6,6 +6,9 @@ using System.Collections.Generic; using System.Diagnostics; using System.Linq; +using System.Text.Json; +using System.Text.Json.Serialization; + using Elastic.Transport; #if ELASTICSEARCH_SERVERLESS @@ -15,9 +18,12 @@ namespace Elastic.Clients.Elasticsearch; #endif [DebuggerDisplay("{DebugDisplay,nq}")] +[JsonConverter(typeof(NamesConverter))] public sealed class Names : IEquatable, IUrlParameter { - public Names(IEnumerable names) : this(names?.Select(n => (Name)n).ToList()) { } + public Names(IEnumerable names) : this(names?.Select(n => (Name)n).ToList()) + { + } public Names(IEnumerable names) { @@ -65,3 +71,44 @@ private static bool EqualsAllIds(ICollection thisIds, ICollection ot public override int GetHashCode() => Value.GetHashCode(); } + +internal sealed class NamesConverter : + JsonConverter +{ + public override Names? Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) + { + switch (reader.TokenType) + { + case JsonTokenType.Null: + return null; + + case JsonTokenType.String: + var name = JsonSerializer.Deserialize(ref reader, options); + return new Names([name]); + + case JsonTokenType.StartArray: + var names = JsonSerializer.Deserialize>(ref reader, options); + return new Names(names); + + default: + throw new JsonException("Unexpected token."); + } + } + + public override void Write(Utf8JsonWriter writer, Names value, JsonSerializerOptions options) + { + if (value is null) + { + writer.WriteNullValue(); + return; + } + + if (value.Value.Count == 1) + { + JsonSerializer.Serialize(writer, value.Value[0], options); + return; + } + + JsonSerializer.Serialize(writer, value.Value, options); + } +} From 61ff828451e0a7062843130693cffaa5f22f28b7 Mon Sep 17 00:00:00 2001 From: Florian Bernd Date: Thu, 22 May 2025 13:57:57 +0200 Subject: [PATCH 18/25] Regenerate client --- .../AsyncSearch/SubmitAsyncSearchRequest.g.cs | 22 +- .../Api/Cluster/HealthResponse.g.cs | 8 - .../Api/Esql/AsyncQueryRequest.g.cs | 52 + .../_Generated/Api/Esql/EsqlQueryRequest.g.cs | 52 + .../_Generated/Api/GetSourceResponse.g.cs | 6 +- .../GetLifecycleResponse.g.cs | 6 +- .../MigrateToDataTiersRequest.g.cs | 31 - .../IndexManagement/CreateIndexRequest.g.cs | 114 --- .../IndexManagement/DiskUsageResponse.g.cs | 6 +- .../IndexManagement/DownsampleResponse.g.cs | 6 +- .../IndexManagement/ExistsAliasRequest.g.cs | 28 +- .../Api/IndexManagement/GetAliasRequest.g.cs | 28 +- .../Api/IndexManagement/GetAliasResponse.g.cs | 6 +- .../GetFieldMappingResponse.g.cs | 6 +- .../Api/IndexManagement/GetIndexResponse.g.cs | 6 +- .../GetIndicesSettingsResponse.g.cs | 6 +- .../IndexManagement/GetMappingResponse.g.cs | 6 +- .../IndexManagement/GetTemplateResponse.g.cs | 6 +- .../PromoteDataStreamResponse.g.cs | 6 +- .../Api/IndexManagement/RecoveryResponse.g.cs | 6 +- .../ResolveClusterResponse.g.cs | 6 +- .../Api/IndexManagement/SegmentsRequest.g.cs | 36 + .../Api/Inference/InferenceResponse.g.cs | 6 +- .../Api/Inference/TextEmbeddingResponse.g.cs | 6 +- .../Api/Ingest/GetPipelineResponse.g.cs | 6 +- .../ExplainDataFrameAnalyticsRequest.g.cs | 34 +- .../GetTrainedModelsRequest.g.cs | 28 + .../PutDataFrameAnalyticsRequest.g.cs | 80 +- .../_Generated/Api/MultiSearchRequest.g.cs | 20 +- .../GetRepositoriesMeteringInfoRequest.g.cs | 2 + .../Api/Rollup/GetRollupCapsResponse.g.cs | 6 +- .../Rollup/GetRollupIndexCapsResponse.g.cs | 6 +- .../GetBehavioralAnalyticsResponse.g.cs | 6 +- .../_Generated/Api/SearchRequest.g.cs | 88 +- .../ClearCacheResponse.g.cs | 6 +- .../Security/DeletePrivilegesResponse.g.cs | 6 +- .../Api/Security/GetPrivilegesResponse.g.cs | 6 +- .../Api/Security/GetRoleMappingResponse.g.cs | 6 +- .../Api/Security/GetRoleResponse.g.cs | 6 +- .../Security/GetServiceAccountsResponse.g.cs | 6 +- .../Api/Security/GetUserResponse.g.cs | 6 +- .../Api/Security/PutPrivilegesResponse.g.cs | 6 +- .../Api/Security/PutRoleMappingRequest.g.cs | 304 ------ .../Api/Security/PutRoleRequest.g.cs | 6 +- .../Snapshot/CleanupRepositoryRequest.g.cs | 28 +- .../Api/Snapshot/CloneSnapshotRequest.g.cs | 37 +- .../Api/Snapshot/CreateRepositoryRequest.g.cs | 48 +- .../Api/Snapshot/CreateSnapshotRequest.g.cs | 169 +-- .../Api/Snapshot/DeleteRepositoryRequest.g.cs | 30 +- .../Api/Snapshot/DeleteSnapshotRequest.g.cs | 22 +- .../Api/Snapshot/GetRepositoryRequest.g.cs | 33 +- .../Api/Snapshot/GetRepositoryResponse.g.cs | 6 +- .../Api/Snapshot/GetSnapshotRequest.g.cs | 153 +-- .../Api/Snapshot/GetSnapshotResponse.g.cs | 21 +- .../RepositoryVerifyIntegrityRequest.g.cs | 87 +- .../RepositoryVerifyIntegrityResponse.g.cs | 6 +- .../Api/Snapshot/RestoreRequest.g.cs | 538 +--------- .../Api/Snapshot/SnapshotStatusRequest.g.cs | 49 +- .../Api/Snapshot/VerifyRepositoryRequest.g.cs | 28 +- .../Snapshot/VerifyRepositoryResponse.g.cs | 10 +- .../GetLifecycleResponse.g.cs | 6 +- .../Api/Synonyms/GetSynonymRuleResponse.g.cs | 2 +- .../Api/Xpack/XpackUsageResponse.g.cs | 14 + .../ElasticsearchClient.QueryRules.g.cs | 106 -- ...ElasticsearchClient.SearchApplication.g.cs | 20 - .../Client/ElasticsearchClient.Security.g.cs | 18 - .../CategorizeTextAggregation.g.cs | 20 +- .../_Generated/Types/Analysis/Analyzers.g.cs | 16 +- .../Types/Analysis/FingerprintAnalyzer.g.cs | 113 +- .../Types/Analysis/KeywordAnalyzer.g.cs | 9 +- .../Types/Analysis/NoriAnalyzer.g.cs | 9 +- .../Types/Analysis/PatternAnalyzer.g.cs | 108 +- .../Types/Analysis/SimpleAnalyzer.g.cs | 9 +- .../Types/Analysis/SnowballAnalyzer.g.cs | 9 +- .../Types/Analysis/StandardAnalyzer.g.cs | 54 +- .../Types/Analysis/StopAnalyzer.g.cs | 32 +- .../Types/Analysis/WhitespaceAnalyzer.g.cs | 9 +- .../_Generated/Types/ByteSize.g.cs | 2 +- .../_Generated/Types/Core/Context.g.cs | 2 +- .../HealthReport/FileSettingsIndicator.g.cs | 145 --- .../Types/Core/HealthReport/Indicators.g.cs | 10 - .../Types/Core/MSearch/MultisearchBody.g.cs | 967 ++++-------------- ...ankEvalMetricDiscountedCumulativeGain.g.cs | 4 +- .../RankEvalMetricExpectedReciprocalRank.g.cs | 4 +- .../RankEvalMetricMeanReciprocalRank.g.cs | 4 +- .../RankEval/RankEvalMetricPrecision.g.cs | 4 +- .../Core/RankEval/RankEvalMetricRecall.g.cs | 4 +- .../_Generated/Types/Core/Search/Hit.g.cs | 8 +- .../Types/Enums/Enums.Snapshot.g.cs | 10 +- .../_Generated/Types/Fuzziness.g.cs | 2 +- .../_Generated/Types/Graph/Hop.g.cs | 15 +- .../_Generated/Types/Graph/VertexInclude.g.cs | 22 +- .../DataStreamLifecycleWithRollover.g.cs | 9 - .../Types/IndexManagement/IndexSettings.g.cs | 6 +- .../Types/IndexManagement/IndexTemplate.g.cs | 19 - .../IndexManagement/MappingLimitSettings.g.cs | 4 +- .../Types/Ingest/AppendProcessor.g.cs | 52 +- .../Types/Ingest/AttachmentProcessor.g.cs | 52 +- .../Types/Ingest/BytesProcessor.g.cs | 52 +- .../Types/Ingest/CircleProcessor.g.cs | 52 +- .../Types/Ingest/CommunityIDProcessor.g.cs | 52 +- .../Types/Ingest/ConvertProcessor.g.cs | 52 +- .../_Generated/Types/Ingest/CsvProcessor.g.cs | 52 +- .../Types/Ingest/DateIndexNameProcessor.g.cs | 71 +- .../Types/Ingest/DateProcessor.g.cs | 52 +- .../Types/Ingest/DissectProcessor.g.cs | 52 +- .../Types/Ingest/DotExpanderProcessor.g.cs | 52 +- .../Types/Ingest/DropProcessor.g.cs | 52 +- .../Types/Ingest/EnrichProcessor.g.cs | 52 +- .../Types/Ingest/FailProcessor.g.cs | 52 +- .../Types/Ingest/FingerprintProcessor.g.cs | 52 +- .../Types/Ingest/ForeachProcessor.g.cs | 52 +- .../Types/Ingest/GeoGridProcessor.g.cs | 52 +- .../Types/Ingest/GeoIpProcessor.g.cs | 52 +- .../Types/Ingest/GrokProcessor.g.cs | 52 +- .../Types/Ingest/GsubProcessor.g.cs | 52 +- .../Types/Ingest/HtmlStripProcessor.g.cs | 52 +- .../Types/Ingest/InferenceProcessor.g.cs | 52 +- .../Types/Ingest/IpLocationProcessor.g.cs | 52 +- .../Types/Ingest/JoinProcessor.g.cs | 52 +- .../Types/Ingest/JsonProcessor.g.cs | 52 +- .../Types/Ingest/KeyValueProcessor.g.cs | 52 +- .../Types/Ingest/LowercaseProcessor.g.cs | 52 +- .../Ingest/NetworkDirectionProcessor.g.cs | 52 +- .../Types/Ingest/PipelineProcessor.g.cs | 52 +- .../Types/Ingest/RedactProcessor.g.cs | 52 +- .../Ingest/RegisteredDomainProcessor.g.cs | 52 +- .../Types/Ingest/RemoveProcessor.g.cs | 52 +- .../Types/Ingest/RenameProcessor.g.cs | 52 +- .../Types/Ingest/RerouteProcessor.g.cs | 52 +- .../Types/Ingest/ScriptProcessor.g.cs | 60 +- .../_Generated/Types/Ingest/SetProcessor.g.cs | 52 +- .../Ingest/SetSecurityUserProcessor.g.cs | 52 +- .../Types/Ingest/SortProcessor.g.cs | 52 +- .../Types/Ingest/SplitProcessor.g.cs | 52 +- .../Types/Ingest/TerminateProcessor.g.cs | 52 +- .../Types/Ingest/TrimProcessor.g.cs | 52 +- .../Types/Ingest/UppercaseProcessor.g.cs | 52 +- .../Types/Ingest/UriPartsProcessor.g.cs | 52 +- .../Types/Ingest/UrlDecodeProcessor.g.cs | 52 +- .../Types/Ingest/UserAgentProcessor.g.cs | 52 +- .../Types/MachineLearning/CalendarEvent.g.cs | 81 -- .../DataframeAnalysisAnalyzedFields.g.cs | 44 +- .../DataframeAnalyticsSource.g.cs | 26 +- .../DataframePreviewConfig.g.cs | 16 +- .../Types/Mapping/ChunkingSettings.g.cs | 235 +++++ .../Types/Mapping/GeoShapeProperty.g.cs | 6 +- .../Types/Mapping/SemanticTextProperty.g.cs | 70 ++ .../Types/Mapping/ShapeProperty.g.cs | 6 +- .../_Generated/Types/Nodes/Http.g.cs | 8 - .../_Generated/Types/QueryDsl/Like.g.cs | 2 +- .../_Generated/Types/QueryDsl/PinnedDoc.g.cs | 13 +- .../Types/QueryDsl/SpanTermQuery.g.cs | 15 +- .../_Generated/Types/QueryDsl/TermQuery.g.cs | 29 +- .../Types/QueryDsl/TermsSetQuery.g.cs | 18 +- .../_Generated/Types/Security/FieldRule.g.cs | 192 ++++ .../Types/Security/IndicesPrivileges.g.cs | 4 +- .../Security/RemoteIndicesPrivileges.g.cs | 4 +- .../Types/Security/RoleMappingRule.g.cs | 180 +--- .../Types/Security/UserIndicesPrivileges.g.cs | 10 +- .../Types/Snapshot/AzureRepository.g.cs | 50 +- .../Snapshot/AzureRepositorySettings.g.cs | 231 ----- .../Snapshot/CleanupRepositoryResults.g.cs | 5 +- .../Types/Snapshot/CompactNodeInfo.g.cs | 7 - .../Types/Snapshot/GcsRepository.g.cs | 20 - .../Types/Snapshot/GcsRepositorySettings.g.cs | 185 +--- .../Types/Snapshot/ReadOnlyUrlRepository.g.cs | 20 - .../ReadOnlyUrlRepositorySettings.g.cs | 204 ---- .../_Generated/Types/Snapshot/Repository.g.cs | 7 +- .../Types/Snapshot/S3Repository.g.cs | 35 - .../Types/Snapshot/S3RepositorySettings.g.cs | 444 +------- .../Types/Snapshot/ShardsStats.g.cs | 35 - .../Snapshot/SharedFileSystemRepository.g.cs | 20 - .../SharedFileSystemRepositorySettings.g.cs | 147 --- .../Types/Snapshot/SnapshotStats.g.cs | 24 - .../Types/Snapshot/SourceOnlyRepository.g.cs | 25 - .../SourceOnlyRepositorySettings.g.cs | 145 --- .../_Generated/Types/Snapshot/Status.g.cs | 58 -- .../_Generated/Types/StoredScript.g.cs | 4 +- .../Types/Synonyms/SynonymRuleRead.g.cs | 2 +- .../_Generated/Types/Xpack/Features.g.cs | 17 +- .../FrozenIndices.g.cs} | 65 +- .../_Shared/Api/GetSourceResponse.cs | 4 +- .../Api/IndexManagement/GetAliasResponse.cs | 2 +- .../GetFieldMappingResponse.cs | 2 +- .../Api/IndexManagement/GetMappingResponse.cs | 2 +- 186 files changed, 1773 insertions(+), 7468 deletions(-) delete mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/HealthReport/FileSettingsIndicator.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Mapping/ChunkingSettings.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Security/FieldRule.g.cs rename src/Elastic.Clients.Elasticsearch/_Generated/Types/{Core/HealthReport/FileSettingsIndicatorDetails.g.cs => Xpack/FrozenIndices.g.cs} (52%) diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/SubmitAsyncSearchRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/SubmitAsyncSearchRequest.g.cs index 983f2108868..d06fa6147d7 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/SubmitAsyncSearchRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/SubmitAsyncSearchRequest.g.cs @@ -130,7 +130,8 @@ public sealed partial class SubmitAsyncSearchRequestParameters : Elastic.Transpo /// The number of concurrent shard requests per node this search executes concurrently. This value should be used to limit the impact of the search on the cluster in order to limit the number of concurrent shard requests /// /// - public int? MaxConcurrentShardRequests { get => Q("max_concurrent_shard_requests"); set => Q("max_concurrent_shard_requests", value); } + public long? MaxConcurrentShardRequests { get => Q("max_concurrent_shard_requests"); set => Q("max_concurrent_shard_requests", value); } + public string? MinCompatibleShardNode { get => Q("min_compatible_shard_node"); set => Q("min_compatible_shard_node", value); } /// /// @@ -708,7 +709,8 @@ internal SubmitAsyncSearchRequest(Elastic.Clients.Elasticsearch.Serialization.Js /// The number of concurrent shard requests per node this search executes concurrently. This value should be used to limit the impact of the search on the cluster in order to limit the number of concurrent shard requests /// /// - public int? MaxConcurrentShardRequests { get => Q("max_concurrent_shard_requests"); set => Q("max_concurrent_shard_requests", value); } + public long? MaxConcurrentShardRequests { get => Q("max_concurrent_shard_requests"); set => Q("max_concurrent_shard_requests", value); } + public string? MinCompatibleShardNode { get => Q("min_compatible_shard_node"); set => Q("min_compatible_shard_node", value); } /// /// @@ -1218,12 +1220,18 @@ public Elastic.Clients.Elasticsearch.AsyncSearch.SubmitAsyncSearchRequestDescrip /// The number of concurrent shard requests per node this search executes concurrently. This value should be used to limit the impact of the search on the cluster in order to limit the number of concurrent shard requests /// /// - public Elastic.Clients.Elasticsearch.AsyncSearch.SubmitAsyncSearchRequestDescriptor MaxConcurrentShardRequests(int? value) + public Elastic.Clients.Elasticsearch.AsyncSearch.SubmitAsyncSearchRequestDescriptor MaxConcurrentShardRequests(long? value) { Instance.MaxConcurrentShardRequests = value; return this; } + public Elastic.Clients.Elasticsearch.AsyncSearch.SubmitAsyncSearchRequestDescriptor MinCompatibleShardNode(string? value) + { + Instance.MinCompatibleShardNode = value; + return this; + } + /// /// /// Specify the node or shard the operation should be performed on (default: random) @@ -2597,12 +2605,18 @@ public Elastic.Clients.Elasticsearch.AsyncSearch.SubmitAsyncSearchRequestDescrip /// The number of concurrent shard requests per node this search executes concurrently. This value should be used to limit the impact of the search on the cluster in order to limit the number of concurrent shard requests /// /// - public Elastic.Clients.Elasticsearch.AsyncSearch.SubmitAsyncSearchRequestDescriptor MaxConcurrentShardRequests(int? value) + public Elastic.Clients.Elasticsearch.AsyncSearch.SubmitAsyncSearchRequestDescriptor MaxConcurrentShardRequests(long? value) { Instance.MaxConcurrentShardRequests = value; return this; } + public Elastic.Clients.Elasticsearch.AsyncSearch.SubmitAsyncSearchRequestDescriptor MinCompatibleShardNode(string? value) + { + Instance.MinCompatibleShardNode = value; + return this; + } + /// /// /// Specify the node or shard the operation should be performed on (default: random) diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/HealthResponse.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/HealthResponse.g.cs index 5b2162b7562..bdc87c8804b 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/HealthResponse.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/HealthResponse.g.cs @@ -412,14 +412,6 @@ internal HealthResponse(Elastic.Clients.Elasticsearch.Serialization.JsonConstruc #endif int UnassignedPrimaryShards { get; set; } - /// - /// - /// The number of primary shards that are not allocated. - /// - /// - [JsonInclude, JsonPropertyName("unassigned_primary_shards")] - public int UnassignedPrimaryShards { get; init; } - /// /// /// The number of shards that are not allocated. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Esql/AsyncQueryRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Esql/AsyncQueryRequest.g.cs index d3b14129965..b72397bf0d4 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Esql/AsyncQueryRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Esql/AsyncQueryRequest.g.cs @@ -25,6 +25,17 @@ namespace Elastic.Clients.Elasticsearch.Esql; public sealed partial class AsyncQueryRequestParameters : Elastic.Transport.RequestParameters { + /// + /// + /// If true, partial results will be returned if there are shard failures, but the query can continue to execute on other clusters and shards. + /// If false, the query will fail if there are any failures. + /// + /// + /// To override the default behavior, you can set the esql.query.allow_partial_results cluster setting to false. + /// + /// + public bool? AllowPartialResults { get => Q("allow_partial_results"); set => Q("allow_partial_results", value); } + /// /// /// The character to use between values within a CSV row. @@ -211,6 +222,17 @@ internal AsyncQueryRequest(Elastic.Clients.Elasticsearch.Serialization.JsonConst internal override string OperationName => "esql.async_query"; + /// + /// + /// If true, partial results will be returned if there are shard failures, but the query can continue to execute on other clusters and shards. + /// If false, the query will fail if there are any failures. + /// + /// + /// To override the default behavior, you can set the esql.query.allow_partial_results cluster setting to false. + /// + /// + public bool? AllowPartialResults { get => Q("allow_partial_results"); set => Q("allow_partial_results", value); } + /// /// /// The character to use between values within a CSV row. @@ -342,6 +364,21 @@ public AsyncQueryRequestDescriptor() public static explicit operator Elastic.Clients.Elasticsearch.Esql.AsyncQueryRequestDescriptor(Elastic.Clients.Elasticsearch.Esql.AsyncQueryRequest instance) => new Elastic.Clients.Elasticsearch.Esql.AsyncQueryRequestDescriptor(instance); public static implicit operator Elastic.Clients.Elasticsearch.Esql.AsyncQueryRequest(Elastic.Clients.Elasticsearch.Esql.AsyncQueryRequestDescriptor descriptor) => descriptor.Instance; + /// + /// + /// If true, partial results will be returned if there are shard failures, but the query can continue to execute on other clusters and shards. + /// If false, the query will fail if there are any failures. + /// + /// + /// To override the default behavior, you can set the esql.query.allow_partial_results cluster setting to false. + /// + /// + public Elastic.Clients.Elasticsearch.Esql.AsyncQueryRequestDescriptor AllowPartialResults(bool? value = true) + { + Instance.AllowPartialResults = value; + return this; + } + /// /// /// The character to use between values within a CSV row. @@ -605,6 +642,21 @@ public AsyncQueryRequestDescriptor() public static explicit operator Elastic.Clients.Elasticsearch.Esql.AsyncQueryRequestDescriptor(Elastic.Clients.Elasticsearch.Esql.AsyncQueryRequest instance) => new Elastic.Clients.Elasticsearch.Esql.AsyncQueryRequestDescriptor(instance); public static implicit operator Elastic.Clients.Elasticsearch.Esql.AsyncQueryRequest(Elastic.Clients.Elasticsearch.Esql.AsyncQueryRequestDescriptor descriptor) => descriptor.Instance; + /// + /// + /// If true, partial results will be returned if there are shard failures, but the query can continue to execute on other clusters and shards. + /// If false, the query will fail if there are any failures. + /// + /// + /// To override the default behavior, you can set the esql.query.allow_partial_results cluster setting to false. + /// + /// + public Elastic.Clients.Elasticsearch.Esql.AsyncQueryRequestDescriptor AllowPartialResults(bool? value = true) + { + Instance.AllowPartialResults = value; + return this; + } + /// /// /// The character to use between values within a CSV row. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Esql/EsqlQueryRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Esql/EsqlQueryRequest.g.cs index 68a186e87bc..bc2fb1af2f4 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Esql/EsqlQueryRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Esql/EsqlQueryRequest.g.cs @@ -25,6 +25,17 @@ namespace Elastic.Clients.Elasticsearch.Esql; public sealed partial class EsqlQueryRequestParameters : Elastic.Transport.RequestParameters { + /// + /// + /// If true, partial results will be returned if there are shard failures, but the query can continue to execute on other clusters and shards. + /// If false, the query will fail if there are any failures. + /// + /// + /// To override the default behavior, you can set the esql.query.allow_partial_results cluster setting to false. + /// + /// + public bool? AllowPartialResults { get => Q("allow_partial_results"); set => Q("allow_partial_results", value); } + /// /// /// The character to use between values within a CSV row. Only valid for the CSV format. @@ -180,6 +191,17 @@ internal EsqlQueryRequest(Elastic.Clients.Elasticsearch.Serialization.JsonConstr internal override string OperationName => "esql.query"; + /// + /// + /// If true, partial results will be returned if there are shard failures, but the query can continue to execute on other clusters and shards. + /// If false, the query will fail if there are any failures. + /// + /// + /// To override the default behavior, you can set the esql.query.allow_partial_results cluster setting to false. + /// + /// + public bool? AllowPartialResults { get => Q("allow_partial_results"); set => Q("allow_partial_results", value); } + /// /// /// The character to use between values within a CSV row. Only valid for the CSV format. @@ -279,6 +301,21 @@ public EsqlQueryRequestDescriptor() public static explicit operator Elastic.Clients.Elasticsearch.Esql.EsqlQueryRequestDescriptor(Elastic.Clients.Elasticsearch.Esql.EsqlQueryRequest instance) => new Elastic.Clients.Elasticsearch.Esql.EsqlQueryRequestDescriptor(instance); public static implicit operator Elastic.Clients.Elasticsearch.Esql.EsqlQueryRequest(Elastic.Clients.Elasticsearch.Esql.EsqlQueryRequestDescriptor descriptor) => descriptor.Instance; + /// + /// + /// If true, partial results will be returned if there are shard failures, but the query can continue to execute on other clusters and shards. + /// If false, the query will fail if there are any failures. + /// + /// + /// To override the default behavior, you can set the esql.query.allow_partial_results cluster setting to false. + /// + /// + public Elastic.Clients.Elasticsearch.Esql.EsqlQueryRequestDescriptor AllowPartialResults(bool? value = true) + { + Instance.AllowPartialResults = value; + return this; + } + /// /// /// The character to use between values within a CSV row. Only valid for the CSV format. @@ -498,6 +535,21 @@ public EsqlQueryRequestDescriptor() public static explicit operator Elastic.Clients.Elasticsearch.Esql.EsqlQueryRequestDescriptor(Elastic.Clients.Elasticsearch.Esql.EsqlQueryRequest instance) => new Elastic.Clients.Elasticsearch.Esql.EsqlQueryRequestDescriptor(instance); public static implicit operator Elastic.Clients.Elasticsearch.Esql.EsqlQueryRequest(Elastic.Clients.Elasticsearch.Esql.EsqlQueryRequestDescriptor descriptor) => descriptor.Instance; + /// + /// + /// If true, partial results will be returned if there are shard failures, but the query can continue to execute on other clusters and shards. + /// If false, the query will fail if there are any failures. + /// + /// + /// To override the default behavior, you can set the esql.query.allow_partial_results cluster setting to false. + /// + /// + public Elastic.Clients.Elasticsearch.Esql.EsqlQueryRequestDescriptor AllowPartialResults(bool? value = true) + { + Instance.AllowPartialResults = value; + return this; + } + /// /// /// The character to use between values within a CSV row. Only valid for the CSV format. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/GetSourceResponse.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/GetSourceResponse.g.cs index 1ab09ffae6b..2e56e2a2a4e 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/GetSourceResponse.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/GetSourceResponse.g.cs @@ -27,12 +27,12 @@ internal sealed partial class GetSourceResponseConverter : System.Tex { public override Elastic.Clients.Elasticsearch.GetSourceResponse Read(ref System.Text.Json.Utf8JsonReader reader, System.Type typeToConvert, System.Text.Json.JsonSerializerOptions options) { - return new Elastic.Clients.Elasticsearch.GetSourceResponse(Elastic.Clients.Elasticsearch.Serialization.JsonConstructorSentinel.Instance) { Source = reader.ReadValue(options, static TDocument (ref System.Text.Json.Utf8JsonReader r, System.Text.Json.JsonSerializerOptions o) => r.ReadValueEx(o, typeof(Elastic.Clients.Elasticsearch.Serialization.SourceMarker))!) }; + return new Elastic.Clients.Elasticsearch.GetSourceResponse(Elastic.Clients.Elasticsearch.Serialization.JsonConstructorSentinel.Instance) { Document = reader.ReadValue(options, static TDocument (ref System.Text.Json.Utf8JsonReader r, System.Text.Json.JsonSerializerOptions o) => r.ReadValueEx(o, typeof(Elastic.Clients.Elasticsearch.Serialization.SourceMarker))!) }; } public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clients.Elasticsearch.GetSourceResponse value, System.Text.Json.JsonSerializerOptions options) { - writer.WriteValue(options, value.Source, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, TDocument v) => w.WriteValueEx(o, v, typeof(Elastic.Clients.Elasticsearch.Serialization.SourceMarker))); + writer.WriteValue(options, value.Document, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, TDocument v) => w.WriteValueEx(o, v, typeof(Elastic.Clients.Elasticsearch.Serialization.SourceMarker))); } } @@ -71,5 +71,5 @@ internal GetSourceResponse(Elastic.Clients.Elasticsearch.Serialization.JsonConst #if NET7_0_OR_GREATER required #endif -TDocument Source { get; set; } +TDocument Document { get; set; } } \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexLifecycleManagement/GetLifecycleResponse.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexLifecycleManagement/GetLifecycleResponse.g.cs index aad43ef2238..b688438f80d 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexLifecycleManagement/GetLifecycleResponse.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexLifecycleManagement/GetLifecycleResponse.g.cs @@ -27,12 +27,12 @@ internal sealed partial class GetLifecycleResponseConverter : System.Text.Json.S { public override Elastic.Clients.Elasticsearch.IndexLifecycleManagement.GetLifecycleResponse Read(ref System.Text.Json.Utf8JsonReader reader, System.Type typeToConvert, System.Text.Json.JsonSerializerOptions options) { - return new Elastic.Clients.Elasticsearch.IndexLifecycleManagement.GetLifecycleResponse(Elastic.Clients.Elasticsearch.Serialization.JsonConstructorSentinel.Instance) { Lifecycles = reader.ReadValue>(options, static System.Collections.Generic.IReadOnlyDictionary (ref System.Text.Json.Utf8JsonReader r, System.Text.Json.JsonSerializerOptions o) => r.ReadDictionaryValue(o, null, null)!) }; + return new Elastic.Clients.Elasticsearch.IndexLifecycleManagement.GetLifecycleResponse(Elastic.Clients.Elasticsearch.Serialization.JsonConstructorSentinel.Instance) { Values = reader.ReadValue>(options, static System.Collections.Generic.IReadOnlyDictionary (ref System.Text.Json.Utf8JsonReader r, System.Text.Json.JsonSerializerOptions o) => r.ReadDictionaryValue(o, null, null)!) }; } public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clients.Elasticsearch.IndexLifecycleManagement.GetLifecycleResponse value, System.Text.Json.JsonSerializerOptions options) { - writer.WriteValue(options, value.Lifecycles, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, System.Collections.Generic.IReadOnlyDictionary v) => w.WriteDictionaryValue(o, v, null, null)); + writer.WriteValue(options, value.Values, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, System.Collections.Generic.IReadOnlyDictionary v) => w.WriteDictionaryValue(o, v, null, null)); } } @@ -54,5 +54,5 @@ internal GetLifecycleResponse(Elastic.Clients.Elasticsearch.Serialization.JsonCo #if NET7_0_OR_GREATER required #endif -System.Collections.Generic.IReadOnlyDictionary Lifecycles { get; set; } +System.Collections.Generic.IReadOnlyDictionary Values { get; set; } } \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexLifecycleManagement/MigrateToDataTiersRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexLifecycleManagement/MigrateToDataTiersRequest.g.cs index 15b79526383..71ed4429c68 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexLifecycleManagement/MigrateToDataTiersRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexLifecycleManagement/MigrateToDataTiersRequest.g.cs @@ -32,15 +32,6 @@ public sealed partial class MigrateToDataTiersRequestParameters : Elastic.Transp /// /// public bool? DryRun { get => Q("dry_run"); set => Q("dry_run", value); } - - /// - /// - /// The period to wait for a connection to the master node. - /// If no response is received before the timeout expires, the request fails and returns an error. - /// It can also be set to -1 to indicate that the request should never timeout. - /// - /// - public Elastic.Clients.Elasticsearch.Duration? MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); } } internal sealed partial class MigrateToDataTiersRequestConverter : System.Text.Json.Serialization.JsonConverter @@ -158,15 +149,6 @@ internal MigrateToDataTiersRequest(Elastic.Clients.Elasticsearch.Serialization.J /// /// public bool? DryRun { get => Q("dry_run"); set => Q("dry_run", value); } - - /// - /// - /// The period to wait for a connection to the master node. - /// If no response is received before the timeout expires, the request fails and returns an error. - /// It can also be set to -1 to indicate that the request should never timeout. - /// - /// - public Elastic.Clients.Elasticsearch.Duration? MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); } public string? LegacyTemplateToDelete { get; set; } public string? NodeAttribute { get; set; } } @@ -234,19 +216,6 @@ public Elastic.Clients.Elasticsearch.IndexLifecycleManagement.MigrateToDataTiers return this; } - /// - /// - /// The period to wait for a connection to the master node. - /// If no response is received before the timeout expires, the request fails and returns an error. - /// It can also be set to -1 to indicate that the request should never timeout. - /// - /// - public Elastic.Clients.Elasticsearch.IndexLifecycleManagement.MigrateToDataTiersRequestDescriptor MasterTimeout(Elastic.Clients.Elasticsearch.Duration? value) - { - Instance.MasterTimeout = value; - return this; - } - public Elastic.Clients.Elasticsearch.IndexLifecycleManagement.MigrateToDataTiersRequestDescriptor LegacyTemplateToDelete(string? value) { Instance.LegacyTemplateToDelete = value; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/CreateIndexRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/CreateIndexRequest.g.cs index 97b8b97663d..efb3c6b30c9 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/CreateIndexRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/CreateIndexRequest.g.cs @@ -176,45 +176,7 @@ internal CreateIndexRequest(Elastic.Clients.Elasticsearch.Serialization.JsonCons /// /// /// Name of the index you wish to create. - /// Index names must meet the following criteria: /// - /// - /// - /// - /// Lowercase only - /// - /// - /// - /// - /// Cannot include \, /, *, ?, ", <, >, |, (space character), ,, or # - /// - /// - /// - /// - /// Indices prior to 7.0 could contain a colon (:), but that has been deprecated and will not be supported in later versions - /// - /// - /// - /// - /// Cannot start with -, _, or + - /// - /// - /// - /// - /// Cannot be . or .. - /// - /// - /// - /// - /// Cannot be longer than 255 bytes (note thtat it is bytes, so multi-byte characters will reach the limit faster) - /// - /// - /// - /// - /// Names starting with . are deprecated, except for hidden indices and internal indices managed by plugins - /// - /// - /// /// public #if NET7_0_OR_GREATER @@ -352,45 +314,7 @@ public CreateIndexRequestDescriptor() /// /// /// Name of the index you wish to create. - /// Index names must meet the following criteria: - /// - /// - /// - /// - /// Lowercase only - /// - /// - /// - /// - /// Cannot include \, /, *, ?, ", <, >, |, (space character), ,, or # - /// - /// - /// - /// - /// Indices prior to 7.0 could contain a colon (:), but that has been deprecated and will not be supported in later versions - /// - /// - /// - /// - /// Cannot start with -, _, or + - /// - /// - /// - /// - /// Cannot be . or .. - /// - /// - /// - /// - /// Cannot be longer than 255 bytes (note thtat it is bytes, so multi-byte characters will reach the limit faster) /// - /// - /// - /// - /// Names starting with . are deprecated, except for hidden indices and internal indices managed by plugins - /// - /// - /// /// public Elastic.Clients.Elasticsearch.IndexManagement.CreateIndexRequestDescriptor Index(Elastic.Clients.Elasticsearch.IndexName value) { @@ -807,45 +731,7 @@ public CreateIndexRequestDescriptor() /// /// /// Name of the index you wish to create. - /// Index names must meet the following criteria: - /// - /// - /// - /// - /// Lowercase only - /// - /// - /// - /// - /// Cannot include \, /, *, ?, ", <, >, |, (space character), ,, or # /// - /// - /// - /// - /// Indices prior to 7.0 could contain a colon (:), but that has been deprecated and will not be supported in later versions - /// - /// - /// - /// - /// Cannot start with -, _, or + - /// - /// - /// - /// - /// Cannot be . or .. - /// - /// - /// - /// - /// Cannot be longer than 255 bytes (note thtat it is bytes, so multi-byte characters will reach the limit faster) - /// - /// - /// - /// - /// Names starting with . are deprecated, except for hidden indices and internal indices managed by plugins - /// - /// - /// /// public Elastic.Clients.Elasticsearch.IndexManagement.CreateIndexRequestDescriptor Index(Elastic.Clients.Elasticsearch.IndexName value) { diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DiskUsageResponse.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DiskUsageResponse.g.cs index 13d6ae3e918..bc875fa8a37 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DiskUsageResponse.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DiskUsageResponse.g.cs @@ -27,12 +27,12 @@ internal sealed partial class DiskUsageResponseConverter : System.Text.Json.Seri { public override Elastic.Clients.Elasticsearch.IndexManagement.DiskUsageResponse Read(ref System.Text.Json.Utf8JsonReader reader, System.Type typeToConvert, System.Text.Json.JsonSerializerOptions options) { - return new Elastic.Clients.Elasticsearch.IndexManagement.DiskUsageResponse(Elastic.Clients.Elasticsearch.Serialization.JsonConstructorSentinel.Instance) { DiskUsage = reader.ReadValue(options, null) }; + return new Elastic.Clients.Elasticsearch.IndexManagement.DiskUsageResponse(Elastic.Clients.Elasticsearch.Serialization.JsonConstructorSentinel.Instance) { Value = reader.ReadValue(options, null) }; } public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clients.Elasticsearch.IndexManagement.DiskUsageResponse value, System.Text.Json.JsonSerializerOptions options) { - writer.WriteValue(options, value.DiskUsage, null); + writer.WriteValue(options, value.Value, null); } } @@ -54,5 +54,5 @@ internal DiskUsageResponse(Elastic.Clients.Elasticsearch.Serialization.JsonConst #if NET7_0_OR_GREATER required #endif -object DiskUsage { get; set; } +object Value { get; set; } } \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DownsampleResponse.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DownsampleResponse.g.cs index b99be66c11f..dab4cc8d7cc 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DownsampleResponse.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/DownsampleResponse.g.cs @@ -27,12 +27,12 @@ internal sealed partial class DownsampleResponseConverter : System.Text.Json.Ser { public override Elastic.Clients.Elasticsearch.IndexManagement.DownsampleResponse Read(ref System.Text.Json.Utf8JsonReader reader, System.Type typeToConvert, System.Text.Json.JsonSerializerOptions options) { - return new Elastic.Clients.Elasticsearch.IndexManagement.DownsampleResponse(Elastic.Clients.Elasticsearch.Serialization.JsonConstructorSentinel.Instance) { Result = reader.ReadValue(options, null) }; + return new Elastic.Clients.Elasticsearch.IndexManagement.DownsampleResponse(Elastic.Clients.Elasticsearch.Serialization.JsonConstructorSentinel.Instance) { Value = reader.ReadValue(options, null) }; } public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clients.Elasticsearch.IndexManagement.DownsampleResponse value, System.Text.Json.JsonSerializerOptions options) { - writer.WriteValue(options, value.Result, null); + writer.WriteValue(options, value.Value, null); } } @@ -54,5 +54,5 @@ internal DownsampleResponse(Elastic.Clients.Elasticsearch.Serialization.JsonCons #if NET7_0_OR_GREATER required #endif -object Result { get; set; } +object Value { get; set; } } \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ExistsAliasRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ExistsAliasRequest.g.cs index 36523580b09..8707a7ac094 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ExistsAliasRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ExistsAliasRequest.g.cs @@ -52,11 +52,11 @@ public sealed partial class ExistsAliasRequestParameters : Elastic.Transport.Req /// /// - /// Period to wait for a connection to the master node. - /// If no response is received before the timeout expires, the request fails and returns an error. + /// If true, the request retrieves information from the local node only. /// /// - public Elastic.Clients.Elasticsearch.Duration? MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); } + [System.Obsolete("Deprecated in '8.12.0'.")] + public bool? Local { get => Q("local"); set => Q("local", value); } } internal sealed partial class ExistsAliasRequestConverter : System.Text.Json.Serialization.JsonConverter @@ -173,11 +173,11 @@ internal ExistsAliasRequest(Elastic.Clients.Elasticsearch.Serialization.JsonCons /// /// - /// Period to wait for a connection to the master node. - /// If no response is received before the timeout expires, the request fails and returns an error. + /// If true, the request retrieves information from the local node only. /// /// - public Elastic.Clients.Elasticsearch.Duration? MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); } + [System.Obsolete("Deprecated in '8.12.0'.")] + public bool? Local { get => Q("local"); set => Q("local", value); } } /// @@ -291,15 +291,15 @@ public Elastic.Clients.Elasticsearch.IndexManagement.ExistsAliasRequestDescripto return this; } + [System.Obsolete("Deprecated in '8.12.0'.")] /// /// - /// Period to wait for a connection to the master node. - /// If no response is received before the timeout expires, the request fails and returns an error. + /// If true, the request retrieves information from the local node only. /// /// - public Elastic.Clients.Elasticsearch.IndexManagement.ExistsAliasRequestDescriptor MasterTimeout(Elastic.Clients.Elasticsearch.Duration? value) + public Elastic.Clients.Elasticsearch.IndexManagement.ExistsAliasRequestDescriptor Local(bool? value = true) { - Instance.MasterTimeout = value; + Instance.Local = value; return this; } @@ -465,15 +465,15 @@ public Elastic.Clients.Elasticsearch.IndexManagement.ExistsAliasRequestDescripto return this; } + [System.Obsolete("Deprecated in '8.12.0'.")] /// /// - /// Period to wait for a connection to the master node. - /// If no response is received before the timeout expires, the request fails and returns an error. + /// If true, the request retrieves information from the local node only. /// /// - public Elastic.Clients.Elasticsearch.IndexManagement.ExistsAliasRequestDescriptor MasterTimeout(Elastic.Clients.Elasticsearch.Duration? value) + public Elastic.Clients.Elasticsearch.IndexManagement.ExistsAliasRequestDescriptor Local(bool? value = true) { - Instance.MasterTimeout = value; + Instance.Local = value; return this; } diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetAliasRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetAliasRequest.g.cs index 179d8a53f9d..b9eebad9495 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetAliasRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetAliasRequest.g.cs @@ -52,11 +52,11 @@ public sealed partial class GetAliasRequestParameters : Elastic.Transport.Reques /// /// - /// Period to wait for a connection to the master node. - /// If no response is received before the timeout expires, the request fails and returns an error. + /// If true, the request retrieves information from the local node only. /// /// - public Elastic.Clients.Elasticsearch.Duration? MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); } + [System.Obsolete("Deprecated in '8.12.0'.")] + public bool? Local { get => Q("local"); set => Q("local", value); } } internal sealed partial class GetAliasRequestConverter : System.Text.Json.Serialization.JsonConverter @@ -177,11 +177,11 @@ internal GetAliasRequest(Elastic.Clients.Elasticsearch.Serialization.JsonConstru /// /// - /// Period to wait for a connection to the master node. - /// If no response is received before the timeout expires, the request fails and returns an error. + /// If true, the request retrieves information from the local node only. /// /// - public Elastic.Clients.Elasticsearch.Duration? MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); } + [System.Obsolete("Deprecated in '8.12.0'.")] + public bool? Local { get => Q("local"); set => Q("local", value); } } /// @@ -300,15 +300,15 @@ public Elastic.Clients.Elasticsearch.IndexManagement.GetAliasRequestDescriptor I return this; } + [System.Obsolete("Deprecated in '8.12.0'.")] /// /// - /// Period to wait for a connection to the master node. - /// If no response is received before the timeout expires, the request fails and returns an error. + /// If true, the request retrieves information from the local node only. /// /// - public Elastic.Clients.Elasticsearch.IndexManagement.GetAliasRequestDescriptor MasterTimeout(Elastic.Clients.Elasticsearch.Duration? value) + public Elastic.Clients.Elasticsearch.IndexManagement.GetAliasRequestDescriptor Local(bool? value = true) { - Instance.MasterTimeout = value; + Instance.Local = value; return this; } @@ -484,15 +484,15 @@ public Elastic.Clients.Elasticsearch.IndexManagement.GetAliasRequestDescriptor /// - /// Period to wait for a connection to the master node. - /// If no response is received before the timeout expires, the request fails and returns an error. + /// If true, the request retrieves information from the local node only. /// /// - public Elastic.Clients.Elasticsearch.IndexManagement.GetAliasRequestDescriptor MasterTimeout(Elastic.Clients.Elasticsearch.Duration? value) + public Elastic.Clients.Elasticsearch.IndexManagement.GetAliasRequestDescriptor Local(bool? value = true) { - Instance.MasterTimeout = value; + Instance.Local = value; return this; } diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetAliasResponse.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetAliasResponse.g.cs index 0767eea0c1f..3a7a95f942e 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetAliasResponse.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetAliasResponse.g.cs @@ -27,12 +27,12 @@ internal sealed partial class GetAliasResponseConverter : System.Text.Json.Seria { public override Elastic.Clients.Elasticsearch.IndexManagement.GetAliasResponse Read(ref System.Text.Json.Utf8JsonReader reader, System.Type typeToConvert, System.Text.Json.JsonSerializerOptions options) { - return new Elastic.Clients.Elasticsearch.IndexManagement.GetAliasResponse(Elastic.Clients.Elasticsearch.Serialization.JsonConstructorSentinel.Instance) { Aliases = reader.ReadValue>(options, static System.Collections.Generic.IReadOnlyDictionary (ref System.Text.Json.Utf8JsonReader r, System.Text.Json.JsonSerializerOptions o) => r.ReadDictionaryValue(o, null, null)!) }; + return new Elastic.Clients.Elasticsearch.IndexManagement.GetAliasResponse(Elastic.Clients.Elasticsearch.Serialization.JsonConstructorSentinel.Instance) { Values = reader.ReadValue>(options, static System.Collections.Generic.IReadOnlyDictionary (ref System.Text.Json.Utf8JsonReader r, System.Text.Json.JsonSerializerOptions o) => r.ReadDictionaryValue(o, null, null)!) }; } public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clients.Elasticsearch.IndexManagement.GetAliasResponse value, System.Text.Json.JsonSerializerOptions options) { - writer.WriteValue(options, value.Aliases, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, System.Collections.Generic.IReadOnlyDictionary v) => w.WriteDictionaryValue(o, v, null, null)); + writer.WriteValue(options, value.Values, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, System.Collections.Generic.IReadOnlyDictionary v) => w.WriteDictionaryValue(o, v, null, null)); } } @@ -54,5 +54,5 @@ internal GetAliasResponse(Elastic.Clients.Elasticsearch.Serialization.JsonConstr #if NET7_0_OR_GREATER required #endif -System.Collections.Generic.IReadOnlyDictionary Aliases { get; set; } +System.Collections.Generic.IReadOnlyDictionary Values { get; set; } } \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetFieldMappingResponse.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetFieldMappingResponse.g.cs index f29f9b60078..0c0d10ec0f0 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetFieldMappingResponse.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetFieldMappingResponse.g.cs @@ -27,12 +27,12 @@ internal sealed partial class GetFieldMappingResponseConverter : System.Text.Jso { public override Elastic.Clients.Elasticsearch.IndexManagement.GetFieldMappingResponse Read(ref System.Text.Json.Utf8JsonReader reader, System.Type typeToConvert, System.Text.Json.JsonSerializerOptions options) { - return new Elastic.Clients.Elasticsearch.IndexManagement.GetFieldMappingResponse(Elastic.Clients.Elasticsearch.Serialization.JsonConstructorSentinel.Instance) { FieldMappings = reader.ReadValue>(options, static System.Collections.Generic.IReadOnlyDictionary (ref System.Text.Json.Utf8JsonReader r, System.Text.Json.JsonSerializerOptions o) => r.ReadDictionaryValue(o, null, null)!) }; + return new Elastic.Clients.Elasticsearch.IndexManagement.GetFieldMappingResponse(Elastic.Clients.Elasticsearch.Serialization.JsonConstructorSentinel.Instance) { Values = reader.ReadValue>(options, static System.Collections.Generic.IReadOnlyDictionary (ref System.Text.Json.Utf8JsonReader r, System.Text.Json.JsonSerializerOptions o) => r.ReadDictionaryValue(o, null, null)!) }; } public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clients.Elasticsearch.IndexManagement.GetFieldMappingResponse value, System.Text.Json.JsonSerializerOptions options) { - writer.WriteValue(options, value.FieldMappings, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, System.Collections.Generic.IReadOnlyDictionary v) => w.WriteDictionaryValue(o, v, null, null)); + writer.WriteValue(options, value.Values, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, System.Collections.Generic.IReadOnlyDictionary v) => w.WriteDictionaryValue(o, v, null, null)); } } @@ -54,5 +54,5 @@ internal GetFieldMappingResponse(Elastic.Clients.Elasticsearch.Serialization.Jso #if NET7_0_OR_GREATER required #endif -System.Collections.Generic.IReadOnlyDictionary FieldMappings { get; set; } +System.Collections.Generic.IReadOnlyDictionary Values { get; set; } } \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetIndexResponse.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetIndexResponse.g.cs index 48d5f69c5d5..3808d461051 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetIndexResponse.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetIndexResponse.g.cs @@ -27,12 +27,12 @@ internal sealed partial class GetIndexResponseConverter : System.Text.Json.Seria { public override Elastic.Clients.Elasticsearch.IndexManagement.GetIndexResponse Read(ref System.Text.Json.Utf8JsonReader reader, System.Type typeToConvert, System.Text.Json.JsonSerializerOptions options) { - return new Elastic.Clients.Elasticsearch.IndexManagement.GetIndexResponse(Elastic.Clients.Elasticsearch.Serialization.JsonConstructorSentinel.Instance) { Indices = reader.ReadValue>(options, static System.Collections.Generic.IReadOnlyDictionary (ref System.Text.Json.Utf8JsonReader r, System.Text.Json.JsonSerializerOptions o) => r.ReadDictionaryValue(o, null, null)!) }; + return new Elastic.Clients.Elasticsearch.IndexManagement.GetIndexResponse(Elastic.Clients.Elasticsearch.Serialization.JsonConstructorSentinel.Instance) { Values = reader.ReadValue>(options, static System.Collections.Generic.IReadOnlyDictionary (ref System.Text.Json.Utf8JsonReader r, System.Text.Json.JsonSerializerOptions o) => r.ReadDictionaryValue(o, null, null)!) }; } public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clients.Elasticsearch.IndexManagement.GetIndexResponse value, System.Text.Json.JsonSerializerOptions options) { - writer.WriteValue(options, value.Indices, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, System.Collections.Generic.IReadOnlyDictionary v) => w.WriteDictionaryValue(o, v, null, null)); + writer.WriteValue(options, value.Values, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, System.Collections.Generic.IReadOnlyDictionary v) => w.WriteDictionaryValue(o, v, null, null)); } } @@ -54,5 +54,5 @@ internal GetIndexResponse(Elastic.Clients.Elasticsearch.Serialization.JsonConstr #if NET7_0_OR_GREATER required #endif -System.Collections.Generic.IReadOnlyDictionary Indices { get; set; } +System.Collections.Generic.IReadOnlyDictionary Values { get; set; } } \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetIndicesSettingsResponse.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetIndicesSettingsResponse.g.cs index a4a6b6ac40b..ca8c380f770 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetIndicesSettingsResponse.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetIndicesSettingsResponse.g.cs @@ -27,12 +27,12 @@ internal sealed partial class GetIndicesSettingsResponseConverter : System.Text. { public override Elastic.Clients.Elasticsearch.IndexManagement.GetIndicesSettingsResponse Read(ref System.Text.Json.Utf8JsonReader reader, System.Type typeToConvert, System.Text.Json.JsonSerializerOptions options) { - return new Elastic.Clients.Elasticsearch.IndexManagement.GetIndicesSettingsResponse(Elastic.Clients.Elasticsearch.Serialization.JsonConstructorSentinel.Instance) { Settings = reader.ReadValue>(options, static System.Collections.Generic.IReadOnlyDictionary (ref System.Text.Json.Utf8JsonReader r, System.Text.Json.JsonSerializerOptions o) => r.ReadDictionaryValue(o, null, null)!) }; + return new Elastic.Clients.Elasticsearch.IndexManagement.GetIndicesSettingsResponse(Elastic.Clients.Elasticsearch.Serialization.JsonConstructorSentinel.Instance) { Values = reader.ReadValue>(options, static System.Collections.Generic.IReadOnlyDictionary (ref System.Text.Json.Utf8JsonReader r, System.Text.Json.JsonSerializerOptions o) => r.ReadDictionaryValue(o, null, null)!) }; } public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clients.Elasticsearch.IndexManagement.GetIndicesSettingsResponse value, System.Text.Json.JsonSerializerOptions options) { - writer.WriteValue(options, value.Settings, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, System.Collections.Generic.IReadOnlyDictionary v) => w.WriteDictionaryValue(o, v, null, null)); + writer.WriteValue(options, value.Values, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, System.Collections.Generic.IReadOnlyDictionary v) => w.WriteDictionaryValue(o, v, null, null)); } } @@ -54,5 +54,5 @@ internal GetIndicesSettingsResponse(Elastic.Clients.Elasticsearch.Serialization. #if NET7_0_OR_GREATER required #endif -System.Collections.Generic.IReadOnlyDictionary Settings { get; set; } +System.Collections.Generic.IReadOnlyDictionary Values { get; set; } } \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetMappingResponse.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetMappingResponse.g.cs index b5f25c00ec3..a91c6ffc4fc 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetMappingResponse.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetMappingResponse.g.cs @@ -27,12 +27,12 @@ internal sealed partial class GetMappingResponseConverter : System.Text.Json.Ser { public override Elastic.Clients.Elasticsearch.IndexManagement.GetMappingResponse Read(ref System.Text.Json.Utf8JsonReader reader, System.Type typeToConvert, System.Text.Json.JsonSerializerOptions options) { - return new Elastic.Clients.Elasticsearch.IndexManagement.GetMappingResponse(Elastic.Clients.Elasticsearch.Serialization.JsonConstructorSentinel.Instance) { Mappings = reader.ReadValue>(options, static System.Collections.Generic.IReadOnlyDictionary (ref System.Text.Json.Utf8JsonReader r, System.Text.Json.JsonSerializerOptions o) => r.ReadDictionaryValue(o, null, null)!) }; + return new Elastic.Clients.Elasticsearch.IndexManagement.GetMappingResponse(Elastic.Clients.Elasticsearch.Serialization.JsonConstructorSentinel.Instance) { Values = reader.ReadValue>(options, static System.Collections.Generic.IReadOnlyDictionary (ref System.Text.Json.Utf8JsonReader r, System.Text.Json.JsonSerializerOptions o) => r.ReadDictionaryValue(o, null, null)!) }; } public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clients.Elasticsearch.IndexManagement.GetMappingResponse value, System.Text.Json.JsonSerializerOptions options) { - writer.WriteValue(options, value.Mappings, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, System.Collections.Generic.IReadOnlyDictionary v) => w.WriteDictionaryValue(o, v, null, null)); + writer.WriteValue(options, value.Values, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, System.Collections.Generic.IReadOnlyDictionary v) => w.WriteDictionaryValue(o, v, null, null)); } } @@ -54,5 +54,5 @@ internal GetMappingResponse(Elastic.Clients.Elasticsearch.Serialization.JsonCons #if NET7_0_OR_GREATER required #endif -System.Collections.Generic.IReadOnlyDictionary Mappings { get; set; } +System.Collections.Generic.IReadOnlyDictionary Values { get; set; } } \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetTemplateResponse.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetTemplateResponse.g.cs index 195c4a5d6e4..afa5b8f4d53 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetTemplateResponse.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetTemplateResponse.g.cs @@ -27,12 +27,12 @@ internal sealed partial class GetTemplateResponseConverter : System.Text.Json.Se { public override Elastic.Clients.Elasticsearch.IndexManagement.GetTemplateResponse Read(ref System.Text.Json.Utf8JsonReader reader, System.Type typeToConvert, System.Text.Json.JsonSerializerOptions options) { - return new Elastic.Clients.Elasticsearch.IndexManagement.GetTemplateResponse(Elastic.Clients.Elasticsearch.Serialization.JsonConstructorSentinel.Instance) { Templates = reader.ReadValue>(options, static System.Collections.Generic.IReadOnlyDictionary (ref System.Text.Json.Utf8JsonReader r, System.Text.Json.JsonSerializerOptions o) => r.ReadDictionaryValue(o, null, null)!) }; + return new Elastic.Clients.Elasticsearch.IndexManagement.GetTemplateResponse(Elastic.Clients.Elasticsearch.Serialization.JsonConstructorSentinel.Instance) { Values = reader.ReadValue>(options, static System.Collections.Generic.IReadOnlyDictionary (ref System.Text.Json.Utf8JsonReader r, System.Text.Json.JsonSerializerOptions o) => r.ReadDictionaryValue(o, null, null)!) }; } public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clients.Elasticsearch.IndexManagement.GetTemplateResponse value, System.Text.Json.JsonSerializerOptions options) { - writer.WriteValue(options, value.Templates, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, System.Collections.Generic.IReadOnlyDictionary v) => w.WriteDictionaryValue(o, v, null, null)); + writer.WriteValue(options, value.Values, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, System.Collections.Generic.IReadOnlyDictionary v) => w.WriteDictionaryValue(o, v, null, null)); } } @@ -54,5 +54,5 @@ internal GetTemplateResponse(Elastic.Clients.Elasticsearch.Serialization.JsonCon #if NET7_0_OR_GREATER required #endif -System.Collections.Generic.IReadOnlyDictionary Templates { get; set; } +System.Collections.Generic.IReadOnlyDictionary Values { get; set; } } \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/PromoteDataStreamResponse.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/PromoteDataStreamResponse.g.cs index cff35bbd6b8..acd28e0d731 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/PromoteDataStreamResponse.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/PromoteDataStreamResponse.g.cs @@ -27,12 +27,12 @@ internal sealed partial class PromoteDataStreamResponseConverter : System.Text.J { public override Elastic.Clients.Elasticsearch.IndexManagement.PromoteDataStreamResponse Read(ref System.Text.Json.Utf8JsonReader reader, System.Type typeToConvert, System.Text.Json.JsonSerializerOptions options) { - return new Elastic.Clients.Elasticsearch.IndexManagement.PromoteDataStreamResponse(Elastic.Clients.Elasticsearch.Serialization.JsonConstructorSentinel.Instance) { Result = reader.ReadValue(options, null) }; + return new Elastic.Clients.Elasticsearch.IndexManagement.PromoteDataStreamResponse(Elastic.Clients.Elasticsearch.Serialization.JsonConstructorSentinel.Instance) { Value = reader.ReadValue(options, null) }; } public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clients.Elasticsearch.IndexManagement.PromoteDataStreamResponse value, System.Text.Json.JsonSerializerOptions options) { - writer.WriteValue(options, value.Result, null); + writer.WriteValue(options, value.Value, null); } } @@ -54,5 +54,5 @@ internal PromoteDataStreamResponse(Elastic.Clients.Elasticsearch.Serialization.J #if NET7_0_OR_GREATER required #endif -object Result { get; set; } +object Value { get; set; } } \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/RecoveryResponse.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/RecoveryResponse.g.cs index 04306e39437..6a2fba24435 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/RecoveryResponse.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/RecoveryResponse.g.cs @@ -27,12 +27,12 @@ internal sealed partial class RecoveryResponseConverter : System.Text.Json.Seria { public override Elastic.Clients.Elasticsearch.IndexManagement.RecoveryResponse Read(ref System.Text.Json.Utf8JsonReader reader, System.Type typeToConvert, System.Text.Json.JsonSerializerOptions options) { - return new Elastic.Clients.Elasticsearch.IndexManagement.RecoveryResponse(Elastic.Clients.Elasticsearch.Serialization.JsonConstructorSentinel.Instance) { Statuses = reader.ReadValue>(options, static System.Collections.Generic.IReadOnlyDictionary (ref System.Text.Json.Utf8JsonReader r, System.Text.Json.JsonSerializerOptions o) => r.ReadDictionaryValue(o, null, null)!) }; + return new Elastic.Clients.Elasticsearch.IndexManagement.RecoveryResponse(Elastic.Clients.Elasticsearch.Serialization.JsonConstructorSentinel.Instance) { Values = reader.ReadValue>(options, static System.Collections.Generic.IReadOnlyDictionary (ref System.Text.Json.Utf8JsonReader r, System.Text.Json.JsonSerializerOptions o) => r.ReadDictionaryValue(o, null, null)!) }; } public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clients.Elasticsearch.IndexManagement.RecoveryResponse value, System.Text.Json.JsonSerializerOptions options) { - writer.WriteValue(options, value.Statuses, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, System.Collections.Generic.IReadOnlyDictionary v) => w.WriteDictionaryValue(o, v, null, null)); + writer.WriteValue(options, value.Values, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, System.Collections.Generic.IReadOnlyDictionary v) => w.WriteDictionaryValue(o, v, null, null)); } } @@ -54,5 +54,5 @@ internal RecoveryResponse(Elastic.Clients.Elasticsearch.Serialization.JsonConstr #if NET7_0_OR_GREATER required #endif -System.Collections.Generic.IReadOnlyDictionary Statuses { get; set; } +System.Collections.Generic.IReadOnlyDictionary Values { get; set; } } \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ResolveClusterResponse.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ResolveClusterResponse.g.cs index 099c67650f9..7f511c12b02 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ResolveClusterResponse.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ResolveClusterResponse.g.cs @@ -27,12 +27,12 @@ internal sealed partial class ResolveClusterResponseConverter : System.Text.Json { public override Elastic.Clients.Elasticsearch.IndexManagement.ResolveClusterResponse Read(ref System.Text.Json.Utf8JsonReader reader, System.Type typeToConvert, System.Text.Json.JsonSerializerOptions options) { - return new Elastic.Clients.Elasticsearch.IndexManagement.ResolveClusterResponse(Elastic.Clients.Elasticsearch.Serialization.JsonConstructorSentinel.Instance) { Infos = reader.ReadValue>(options, static System.Collections.Generic.IReadOnlyDictionary (ref System.Text.Json.Utf8JsonReader r, System.Text.Json.JsonSerializerOptions o) => r.ReadDictionaryValue(o, null, null)!) }; + return new Elastic.Clients.Elasticsearch.IndexManagement.ResolveClusterResponse(Elastic.Clients.Elasticsearch.Serialization.JsonConstructorSentinel.Instance) { Values = reader.ReadValue>(options, static System.Collections.Generic.IReadOnlyDictionary (ref System.Text.Json.Utf8JsonReader r, System.Text.Json.JsonSerializerOptions o) => r.ReadDictionaryValue(o, null, null)!) }; } public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clients.Elasticsearch.IndexManagement.ResolveClusterResponse value, System.Text.Json.JsonSerializerOptions options) { - writer.WriteValue(options, value.Infos, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, System.Collections.Generic.IReadOnlyDictionary v) => w.WriteDictionaryValue(o, v, null, null)); + writer.WriteValue(options, value.Values, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, System.Collections.Generic.IReadOnlyDictionary v) => w.WriteDictionaryValue(o, v, null, null)); } } @@ -54,5 +54,5 @@ internal ResolveClusterResponse(Elastic.Clients.Elasticsearch.Serialization.Json #if NET7_0_OR_GREATER required #endif -System.Collections.Generic.IReadOnlyDictionary Infos { get; set; } +System.Collections.Generic.IReadOnlyDictionary Values { get; set; } } \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/SegmentsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/SegmentsRequest.g.cs index 0fdf45bdbab..b85f0c4bcb4 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/SegmentsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/SegmentsRequest.g.cs @@ -49,6 +49,13 @@ public sealed partial class SegmentsRequestParameters : Elastic.Transport.Reques /// /// public bool? IgnoreUnavailable { get => Q("ignore_unavailable"); set => Q("ignore_unavailable", value); } + + /// + /// + /// If true, the request returns a verbose response. + /// + /// + public bool? Verbose { get => Q("verbose"); set => Q("verbose", value); } } internal sealed partial class SegmentsRequestConverter : System.Text.Json.Serialization.JsonConverter @@ -150,6 +157,13 @@ internal SegmentsRequest(Elastic.Clients.Elasticsearch.Serialization.JsonConstru /// /// public bool? IgnoreUnavailable { get => Q("ignore_unavailable"); set => Q("ignore_unavailable", value); } + + /// + /// + /// If true, the request returns a verbose response. + /// + /// + public bool? Verbose { get => Q("verbose"); set => Q("verbose", value); } } /// @@ -246,6 +260,17 @@ public Elastic.Clients.Elasticsearch.IndexManagement.SegmentsRequestDescriptor I return this; } + /// + /// + /// If true, the request returns a verbose response. + /// + /// + public Elastic.Clients.Elasticsearch.IndexManagement.SegmentsRequestDescriptor Verbose(bool? value = true) + { + Instance.Verbose = value; + return this; + } + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] internal static Elastic.Clients.Elasticsearch.IndexManagement.SegmentsRequest Build(System.Action? action) { @@ -396,6 +421,17 @@ public Elastic.Clients.Elasticsearch.IndexManagement.SegmentsRequestDescriptor + /// + /// If true, the request returns a verbose response. + /// + /// + public Elastic.Clients.Elasticsearch.IndexManagement.SegmentsRequestDescriptor Verbose(bool? value = true) + { + Instance.Verbose = value; + return this; + } + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] internal static Elastic.Clients.Elasticsearch.IndexManagement.SegmentsRequest Build(System.Action>? action) { diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/InferenceResponse.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/InferenceResponse.g.cs index 7f0395c7216..dacaf290698 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/InferenceResponse.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/InferenceResponse.g.cs @@ -27,12 +27,12 @@ internal sealed partial class InferenceResponseConverter : System.Text.Json.Seri { public override Elastic.Clients.Elasticsearch.Inference.InferenceResponse Read(ref System.Text.Json.Utf8JsonReader reader, System.Type typeToConvert, System.Text.Json.JsonSerializerOptions options) { - return new Elastic.Clients.Elasticsearch.Inference.InferenceResponse(Elastic.Clients.Elasticsearch.Serialization.JsonConstructorSentinel.Instance) { Result = reader.ReadValue(options, null) }; + return new Elastic.Clients.Elasticsearch.Inference.InferenceResponse(Elastic.Clients.Elasticsearch.Serialization.JsonConstructorSentinel.Instance) { Value = reader.ReadValue(options, null) }; } public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clients.Elasticsearch.Inference.InferenceResponse value, System.Text.Json.JsonSerializerOptions options) { - writer.WriteValue(options, value.Result, null); + writer.WriteValue(options, value.Value, null); } } @@ -54,5 +54,5 @@ internal InferenceResponse(Elastic.Clients.Elasticsearch.Serialization.JsonConst #if NET7_0_OR_GREATER required #endif -Elastic.Clients.Elasticsearch.Inference.InferenceResult Result { get; set; } +Elastic.Clients.Elasticsearch.Inference.InferenceResult Value { get; set; } } \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/TextEmbeddingResponse.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/TextEmbeddingResponse.g.cs index a659ad8e878..5cb7417d6c8 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/TextEmbeddingResponse.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/TextEmbeddingResponse.g.cs @@ -27,12 +27,12 @@ internal sealed partial class TextEmbeddingResponseConverter : System.Text.Json. { public override Elastic.Clients.Elasticsearch.Inference.TextEmbeddingResponse Read(ref System.Text.Json.Utf8JsonReader reader, System.Type typeToConvert, System.Text.Json.JsonSerializerOptions options) { - return new Elastic.Clients.Elasticsearch.Inference.TextEmbeddingResponse(Elastic.Clients.Elasticsearch.Serialization.JsonConstructorSentinel.Instance) { InferenceResult = reader.ReadValue(options, null) }; + return new Elastic.Clients.Elasticsearch.Inference.TextEmbeddingResponse(Elastic.Clients.Elasticsearch.Serialization.JsonConstructorSentinel.Instance) { Value = reader.ReadValue(options, null) }; } public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clients.Elasticsearch.Inference.TextEmbeddingResponse value, System.Text.Json.JsonSerializerOptions options) { - writer.WriteValue(options, value.InferenceResult, null); + writer.WriteValue(options, value.Value, null); } } @@ -54,5 +54,5 @@ internal TextEmbeddingResponse(Elastic.Clients.Elasticsearch.Serialization.JsonC #if NET7_0_OR_GREATER required #endif -Elastic.Clients.Elasticsearch.Inference.TextEmbeddingInferenceResult InferenceResult { get; set; } +Elastic.Clients.Elasticsearch.Inference.TextEmbeddingInferenceResult Value { get; set; } } \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Ingest/GetPipelineResponse.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Ingest/GetPipelineResponse.g.cs index 7e194ae0645..74b5e710add 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Ingest/GetPipelineResponse.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Ingest/GetPipelineResponse.g.cs @@ -27,12 +27,12 @@ internal sealed partial class GetPipelineResponseConverter : System.Text.Json.Se { public override Elastic.Clients.Elasticsearch.Ingest.GetPipelineResponse Read(ref System.Text.Json.Utf8JsonReader reader, System.Type typeToConvert, System.Text.Json.JsonSerializerOptions options) { - return new Elastic.Clients.Elasticsearch.Ingest.GetPipelineResponse(Elastic.Clients.Elasticsearch.Serialization.JsonConstructorSentinel.Instance) { Pipelines = reader.ReadValue>(options, static System.Collections.Generic.IReadOnlyDictionary (ref System.Text.Json.Utf8JsonReader r, System.Text.Json.JsonSerializerOptions o) => r.ReadDictionaryValue(o, null, null)!) }; + return new Elastic.Clients.Elasticsearch.Ingest.GetPipelineResponse(Elastic.Clients.Elasticsearch.Serialization.JsonConstructorSentinel.Instance) { Values = reader.ReadValue>(options, static System.Collections.Generic.IReadOnlyDictionary (ref System.Text.Json.Utf8JsonReader r, System.Text.Json.JsonSerializerOptions o) => r.ReadDictionaryValue(o, null, null)!) }; } public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clients.Elasticsearch.Ingest.GetPipelineResponse value, System.Text.Json.JsonSerializerOptions options) { - writer.WriteValue(options, value.Pipelines, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, System.Collections.Generic.IReadOnlyDictionary v) => w.WriteDictionaryValue(o, v, null, null)); + writer.WriteValue(options, value.Values, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, System.Collections.Generic.IReadOnlyDictionary v) => w.WriteDictionaryValue(o, v, null, null)); } } @@ -54,5 +54,5 @@ internal GetPipelineResponse(Elastic.Clients.Elasticsearch.Serialization.JsonCon #if NET7_0_OR_GREATER required #endif -System.Collections.Generic.IReadOnlyDictionary Pipelines { get; set; } +System.Collections.Generic.IReadOnlyDictionary Values { get; set; } } \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/ExplainDataFrameAnalyticsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/ExplainDataFrameAnalyticsRequest.g.cs index f1cb6cf3eb4..a5e17a0ad1f 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/ExplainDataFrameAnalyticsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/ExplainDataFrameAnalyticsRequest.g.cs @@ -398,22 +398,7 @@ public Elastic.Clients.Elasticsearch.MachineLearning.ExplainDataFrameAnalyticsRe /// be included in the analysis. /// /// - public Elastic.Clients.Elasticsearch.MachineLearning.ExplainDataFrameAnalyticsRequestDescriptor AnalyzedFields() - { - Instance.AnalyzedFields = Elastic.Clients.Elasticsearch.MachineLearning.DataframeAnalysisAnalyzedFieldsDescriptor.Build(null); - return this; - } - - /// - /// - /// Specify includes and/or excludes patterns to select which fields will be - /// included in the analysis. The patterns specified in excludes are applied - /// last, therefore excludes takes precedence. In other words, if the same - /// field is specified in both includes and excludes, then the field will not - /// be included in the analysis. - /// - /// - public Elastic.Clients.Elasticsearch.MachineLearning.ExplainDataFrameAnalyticsRequestDescriptor AnalyzedFields(System.Action? action) + public Elastic.Clients.Elasticsearch.MachineLearning.ExplainDataFrameAnalyticsRequestDescriptor AnalyzedFields(System.Action action) { Instance.AnalyzedFields = Elastic.Clients.Elasticsearch.MachineLearning.DataframeAnalysisAnalyzedFieldsDescriptor.Build(action); return this; @@ -708,22 +693,7 @@ public Elastic.Clients.Elasticsearch.MachineLearning.ExplainDataFrameAnalyticsRe /// be included in the analysis. /// /// - public Elastic.Clients.Elasticsearch.MachineLearning.ExplainDataFrameAnalyticsRequestDescriptor AnalyzedFields() - { - Instance.AnalyzedFields = Elastic.Clients.Elasticsearch.MachineLearning.DataframeAnalysisAnalyzedFieldsDescriptor.Build(null); - return this; - } - - /// - /// - /// Specify includes and/or excludes patterns to select which fields will be - /// included in the analysis. The patterns specified in excludes are applied - /// last, therefore excludes takes precedence. In other words, if the same - /// field is specified in both includes and excludes, then the field will not - /// be included in the analysis. - /// - /// - public Elastic.Clients.Elasticsearch.MachineLearning.ExplainDataFrameAnalyticsRequestDescriptor AnalyzedFields(System.Action? action) + public Elastic.Clients.Elasticsearch.MachineLearning.ExplainDataFrameAnalyticsRequestDescriptor AnalyzedFields(System.Action action) { Instance.AnalyzedFields = Elastic.Clients.Elasticsearch.MachineLearning.DataframeAnalysisAnalyzedFieldsDescriptor.Build(action); return this; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetTrainedModelsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetTrainedModelsRequest.g.cs index 0e2b73612cb..a4eb15f388b 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetTrainedModelsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/GetTrainedModelsRequest.g.cs @@ -85,6 +85,14 @@ public sealed partial class GetTrainedModelsRequestParameters : Elastic.Transpor /// public Elastic.Clients.Elasticsearch.MachineLearning.Include? Include { get => Q("include"); set => Q("include", value); } + /// + /// + /// parameter is deprecated! Use [include=definition] instead + /// + /// + [System.Obsolete("Deprecated in '7.10.0'.")] + public bool? IncludeModelDefinition { get => Q("include_model_definition"); set => Q("include_model_definition", value); } + /// /// /// Specifies the maximum number of models to obtain. @@ -238,6 +246,14 @@ internal GetTrainedModelsRequest(Elastic.Clients.Elasticsearch.Serialization.Jso /// public Elastic.Clients.Elasticsearch.MachineLearning.Include? Include { get => Q("include"); set => Q("include", value); } + /// + /// + /// parameter is deprecated! Use [include=definition] instead + /// + /// + [System.Obsolete("Deprecated in '7.10.0'.")] + public bool? IncludeModelDefinition { get => Q("include_model_definition"); set => Q("include_model_definition", value); } + /// /// /// Specifies the maximum number of models to obtain. @@ -379,6 +395,18 @@ public Elastic.Clients.Elasticsearch.MachineLearning.GetTrainedModelsRequestDesc return this; } + [System.Obsolete("Deprecated in '7.10.0'.")] + /// + /// + /// parameter is deprecated! Use [include=definition] instead + /// + /// + public Elastic.Clients.Elasticsearch.MachineLearning.GetTrainedModelsRequestDescriptor IncludeModelDefinition(bool? value = true) + { + Instance.IncludeModelDefinition = value; + return this; + } + /// /// /// Specifies the maximum number of models to obtain. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PutDataFrameAnalyticsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PutDataFrameAnalyticsRequest.g.cs index 9b2a1656266..ae691d5b03f 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PutDataFrameAnalyticsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MachineLearning/PutDataFrameAnalyticsRequest.g.cs @@ -513,45 +513,7 @@ public Elastic.Clients.Elasticsearch.MachineLearning.PutDataFrameAnalyticsReques /// model the values as 0-14 = 0, 15-24 = 1, 25-34 = 2, and so on. /// /// - public Elastic.Clients.Elasticsearch.MachineLearning.PutDataFrameAnalyticsRequestDescriptor AnalyzedFields() - { - Instance.AnalyzedFields = Elastic.Clients.Elasticsearch.MachineLearning.DataframeAnalysisAnalyzedFieldsDescriptor.Build(null); - return this; - } - - /// - /// - /// Specifies includes and/or excludes patterns to select which fields - /// will be included in the analysis. The patterns specified in excludes - /// are applied last, therefore excludes takes precedence. In other words, - /// if the same field is specified in both includes and excludes, then - /// the field will not be included in the analysis. If analyzed_fields is - /// not set, only the relevant fields will be included. For example, all the - /// numeric fields for outlier detection. - /// The supported fields vary for each type of analysis. Outlier detection - /// requires numeric or boolean data to analyze. The algorithms don’t - /// support missing values therefore fields that have data types other than - /// numeric or boolean are ignored. Documents where included fields contain - /// missing values, null values, or an array are also ignored. Therefore the - /// dest index may contain documents that don’t have an outlier score. - /// Regression supports fields that are numeric, boolean, text, - /// keyword, and ip data types. It is also tolerant of missing values. - /// Fields that are supported are included in the analysis, other fields are - /// ignored. Documents where included fields contain an array with two or - /// more values are also ignored. Documents in the dest index that don’t - /// contain a results field are not included in the regression analysis. - /// Classification supports fields that are numeric, boolean, text, - /// keyword, and ip data types. It is also tolerant of missing values. - /// Fields that are supported are included in the analysis, other fields are - /// ignored. Documents where included fields contain an array with two or - /// more values are also ignored. Documents in the dest index that don’t - /// contain a results field are not included in the classification analysis. - /// Classification analysis can be improved by mapping ordinal variable - /// values to a single number. For example, in case of age ranges, you can - /// model the values as 0-14 = 0, 15-24 = 1, 25-34 = 2, and so on. - /// - /// - public Elastic.Clients.Elasticsearch.MachineLearning.PutDataFrameAnalyticsRequestDescriptor AnalyzedFields(System.Action? action) + public Elastic.Clients.Elasticsearch.MachineLearning.PutDataFrameAnalyticsRequestDescriptor AnalyzedFields(System.Action action) { Instance.AnalyzedFields = Elastic.Clients.Elasticsearch.MachineLearning.DataframeAnalysisAnalyzedFieldsDescriptor.Build(action); return this; @@ -944,45 +906,7 @@ public Elastic.Clients.Elasticsearch.MachineLearning.PutDataFrameAnalyticsReques /// model the values as 0-14 = 0, 15-24 = 1, 25-34 = 2, and so on. /// /// - public Elastic.Clients.Elasticsearch.MachineLearning.PutDataFrameAnalyticsRequestDescriptor AnalyzedFields() - { - Instance.AnalyzedFields = Elastic.Clients.Elasticsearch.MachineLearning.DataframeAnalysisAnalyzedFieldsDescriptor.Build(null); - return this; - } - - /// - /// - /// Specifies includes and/or excludes patterns to select which fields - /// will be included in the analysis. The patterns specified in excludes - /// are applied last, therefore excludes takes precedence. In other words, - /// if the same field is specified in both includes and excludes, then - /// the field will not be included in the analysis. If analyzed_fields is - /// not set, only the relevant fields will be included. For example, all the - /// numeric fields for outlier detection. - /// The supported fields vary for each type of analysis. Outlier detection - /// requires numeric or boolean data to analyze. The algorithms don’t - /// support missing values therefore fields that have data types other than - /// numeric or boolean are ignored. Documents where included fields contain - /// missing values, null values, or an array are also ignored. Therefore the - /// dest index may contain documents that don’t have an outlier score. - /// Regression supports fields that are numeric, boolean, text, - /// keyword, and ip data types. It is also tolerant of missing values. - /// Fields that are supported are included in the analysis, other fields are - /// ignored. Documents where included fields contain an array with two or - /// more values are also ignored. Documents in the dest index that don’t - /// contain a results field are not included in the regression analysis. - /// Classification supports fields that are numeric, boolean, text, - /// keyword, and ip data types. It is also tolerant of missing values. - /// Fields that are supported are included in the analysis, other fields are - /// ignored. Documents where included fields contain an array with two or - /// more values are also ignored. Documents in the dest index that don’t - /// contain a results field are not included in the classification analysis. - /// Classification analysis can be improved by mapping ordinal variable - /// values to a single number. For example, in case of age ranges, you can - /// model the values as 0-14 = 0, 15-24 = 1, 25-34 = 2, and so on. - /// - /// - public Elastic.Clients.Elasticsearch.MachineLearning.PutDataFrameAnalyticsRequestDescriptor AnalyzedFields(System.Action? action) + public Elastic.Clients.Elasticsearch.MachineLearning.PutDataFrameAnalyticsRequestDescriptor AnalyzedFields(System.Action action) { Instance.AnalyzedFields = Elastic.Clients.Elasticsearch.MachineLearning.DataframeAnalysisAnalyzedFieldsDescriptor.Build(action); return this; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MultiSearchRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MultiSearchRequest.g.cs index 806a161caaa..b4974e0cfc7 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/MultiSearchRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/MultiSearchRequest.g.cs @@ -75,17 +75,16 @@ public sealed partial class MultiSearchRequestParameters : Elastic.Transport.Req /// /// /// Maximum number of concurrent searches the multi search API can execute. - /// Defaults to max(1, (# of data nodes * min(search thread pool size, 10))). /// /// - public int? MaxConcurrentSearches { get => Q("max_concurrent_searches"); set => Q("max_concurrent_searches", value); } + public long? MaxConcurrentSearches { get => Q("max_concurrent_searches"); set => Q("max_concurrent_searches", value); } /// /// /// Maximum number of concurrent shard requests that each sub-search request executes per node. /// /// - public int? MaxConcurrentShardRequests { get => Q("max_concurrent_shard_requests"); set => Q("max_concurrent_shard_requests", value); } + public long? MaxConcurrentShardRequests { get => Q("max_concurrent_shard_requests"); set => Q("max_concurrent_shard_requests", value); } /// /// @@ -261,17 +260,16 @@ internal MultiSearchRequest(Elastic.Clients.Elasticsearch.Serialization.JsonCons /// /// /// Maximum number of concurrent searches the multi search API can execute. - /// Defaults to max(1, (# of data nodes * min(search thread pool size, 10))). /// /// - public int? MaxConcurrentSearches { get => Q("max_concurrent_searches"); set => Q("max_concurrent_searches", value); } + public long? MaxConcurrentSearches { get => Q("max_concurrent_searches"); set => Q("max_concurrent_searches", value); } /// /// /// Maximum number of concurrent shard requests that each sub-search request executes per node. /// /// - public int? MaxConcurrentShardRequests { get => Q("max_concurrent_shard_requests"); set => Q("max_concurrent_shard_requests", value); } + public long? MaxConcurrentShardRequests { get => Q("max_concurrent_shard_requests"); set => Q("max_concurrent_shard_requests", value); } /// /// @@ -458,10 +456,9 @@ public Elastic.Clients.Elasticsearch.MultiSearchRequestDescriptor IncludeNamedQu /// /// /// Maximum number of concurrent searches the multi search API can execute. - /// Defaults to max(1, (# of data nodes * min(search thread pool size, 10))). /// /// - public Elastic.Clients.Elasticsearch.MultiSearchRequestDescriptor MaxConcurrentSearches(int? value) + public Elastic.Clients.Elasticsearch.MultiSearchRequestDescriptor MaxConcurrentSearches(long? value) { Instance.MaxConcurrentSearches = value; return this; @@ -472,7 +469,7 @@ public Elastic.Clients.Elasticsearch.MultiSearchRequestDescriptor MaxConcurrentS /// Maximum number of concurrent shard requests that each sub-search request executes per node. /// /// - public Elastic.Clients.Elasticsearch.MultiSearchRequestDescriptor MaxConcurrentShardRequests(int? value) + public Elastic.Clients.Elasticsearch.MultiSearchRequestDescriptor MaxConcurrentShardRequests(long? value) { Instance.MaxConcurrentShardRequests = value; return this; @@ -740,10 +737,9 @@ public Elastic.Clients.Elasticsearch.MultiSearchRequestDescriptor Inc /// /// /// Maximum number of concurrent searches the multi search API can execute. - /// Defaults to max(1, (# of data nodes * min(search thread pool size, 10))). /// /// - public Elastic.Clients.Elasticsearch.MultiSearchRequestDescriptor MaxConcurrentSearches(int? value) + public Elastic.Clients.Elasticsearch.MultiSearchRequestDescriptor MaxConcurrentSearches(long? value) { Instance.MaxConcurrentSearches = value; return this; @@ -754,7 +750,7 @@ public Elastic.Clients.Elasticsearch.MultiSearchRequestDescriptor Max /// Maximum number of concurrent shard requests that each sub-search request executes per node. /// /// - public Elastic.Clients.Elasticsearch.MultiSearchRequestDescriptor MaxConcurrentShardRequests(int? value) + public Elastic.Clients.Elasticsearch.MultiSearchRequestDescriptor MaxConcurrentShardRequests(long? value) { Instance.MaxConcurrentShardRequests = value; return this; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Nodes/GetRepositoriesMeteringInfoRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Nodes/GetRepositoriesMeteringInfoRequest.g.cs index d4ea3754aad..4aee0864f67 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Nodes/GetRepositoriesMeteringInfoRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Nodes/GetRepositoriesMeteringInfoRequest.g.cs @@ -93,6 +93,7 @@ internal GetRepositoriesMeteringInfoRequest(Elastic.Clients.Elasticsearch.Serial /// /// /// Comma-separated list of node IDs or names used to limit returned information. + /// All the nodes selective options are explained here. /// /// public @@ -137,6 +138,7 @@ public GetRepositoriesMeteringInfoRequestDescriptor() /// /// /// Comma-separated list of node IDs or names used to limit returned information. + /// All the nodes selective options are explained here. /// /// public Elastic.Clients.Elasticsearch.Nodes.GetRepositoriesMeteringInfoRequestDescriptor NodeId(Elastic.Clients.Elasticsearch.NodeIds value) diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Rollup/GetRollupCapsResponse.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Rollup/GetRollupCapsResponse.g.cs index 5bae50396f4..446369da764 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Rollup/GetRollupCapsResponse.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Rollup/GetRollupCapsResponse.g.cs @@ -27,12 +27,12 @@ internal sealed partial class GetRollupCapsResponseConverter : System.Text.Json. { public override Elastic.Clients.Elasticsearch.Rollup.GetRollupCapsResponse Read(ref System.Text.Json.Utf8JsonReader reader, System.Type typeToConvert, System.Text.Json.JsonSerializerOptions options) { - return new Elastic.Clients.Elasticsearch.Rollup.GetRollupCapsResponse(Elastic.Clients.Elasticsearch.Serialization.JsonConstructorSentinel.Instance) { Capabilities = reader.ReadValue>(options, static System.Collections.Generic.IReadOnlyDictionary (ref System.Text.Json.Utf8JsonReader r, System.Text.Json.JsonSerializerOptions o) => r.ReadDictionaryValue(o, null, null)!) }; + return new Elastic.Clients.Elasticsearch.Rollup.GetRollupCapsResponse(Elastic.Clients.Elasticsearch.Serialization.JsonConstructorSentinel.Instance) { Values = reader.ReadValue>(options, static System.Collections.Generic.IReadOnlyDictionary (ref System.Text.Json.Utf8JsonReader r, System.Text.Json.JsonSerializerOptions o) => r.ReadDictionaryValue(o, null, null)!) }; } public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clients.Elasticsearch.Rollup.GetRollupCapsResponse value, System.Text.Json.JsonSerializerOptions options) { - writer.WriteValue(options, value.Capabilities, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, System.Collections.Generic.IReadOnlyDictionary v) => w.WriteDictionaryValue(o, v, null, null)); + writer.WriteValue(options, value.Values, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, System.Collections.Generic.IReadOnlyDictionary v) => w.WriteDictionaryValue(o, v, null, null)); } } @@ -54,5 +54,5 @@ internal GetRollupCapsResponse(Elastic.Clients.Elasticsearch.Serialization.JsonC #if NET7_0_OR_GREATER required #endif -System.Collections.Generic.IReadOnlyDictionary Capabilities { get; set; } +System.Collections.Generic.IReadOnlyDictionary Values { get; set; } } \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Rollup/GetRollupIndexCapsResponse.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Rollup/GetRollupIndexCapsResponse.g.cs index 3f5336c51c8..ee373a57084 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Rollup/GetRollupIndexCapsResponse.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Rollup/GetRollupIndexCapsResponse.g.cs @@ -27,12 +27,12 @@ internal sealed partial class GetRollupIndexCapsResponseConverter : System.Text. { public override Elastic.Clients.Elasticsearch.Rollup.GetRollupIndexCapsResponse Read(ref System.Text.Json.Utf8JsonReader reader, System.Type typeToConvert, System.Text.Json.JsonSerializerOptions options) { - return new Elastic.Clients.Elasticsearch.Rollup.GetRollupIndexCapsResponse(Elastic.Clients.Elasticsearch.Serialization.JsonConstructorSentinel.Instance) { Capabilities = reader.ReadValue>(options, static System.Collections.Generic.IReadOnlyDictionary (ref System.Text.Json.Utf8JsonReader r, System.Text.Json.JsonSerializerOptions o) => r.ReadDictionaryValue(o, null, null)!) }; + return new Elastic.Clients.Elasticsearch.Rollup.GetRollupIndexCapsResponse(Elastic.Clients.Elasticsearch.Serialization.JsonConstructorSentinel.Instance) { Values = reader.ReadValue>(options, static System.Collections.Generic.IReadOnlyDictionary (ref System.Text.Json.Utf8JsonReader r, System.Text.Json.JsonSerializerOptions o) => r.ReadDictionaryValue(o, null, null)!) }; } public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clients.Elasticsearch.Rollup.GetRollupIndexCapsResponse value, System.Text.Json.JsonSerializerOptions options) { - writer.WriteValue(options, value.Capabilities, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, System.Collections.Generic.IReadOnlyDictionary v) => w.WriteDictionaryValue(o, v, null, null)); + writer.WriteValue(options, value.Values, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, System.Collections.Generic.IReadOnlyDictionary v) => w.WriteDictionaryValue(o, v, null, null)); } } @@ -54,5 +54,5 @@ internal GetRollupIndexCapsResponse(Elastic.Clients.Elasticsearch.Serialization. #if NET7_0_OR_GREATER required #endif -System.Collections.Generic.IReadOnlyDictionary Capabilities { get; set; } +System.Collections.Generic.IReadOnlyDictionary Values { get; set; } } \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchApplication/GetBehavioralAnalyticsResponse.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchApplication/GetBehavioralAnalyticsResponse.g.cs index 8915534a97e..aa475701643 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchApplication/GetBehavioralAnalyticsResponse.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchApplication/GetBehavioralAnalyticsResponse.g.cs @@ -27,12 +27,12 @@ internal sealed partial class GetBehavioralAnalyticsResponseConverter : System.T { public override Elastic.Clients.Elasticsearch.SearchApplication.GetBehavioralAnalyticsResponse Read(ref System.Text.Json.Utf8JsonReader reader, System.Type typeToConvert, System.Text.Json.JsonSerializerOptions options) { - return new Elastic.Clients.Elasticsearch.SearchApplication.GetBehavioralAnalyticsResponse(Elastic.Clients.Elasticsearch.Serialization.JsonConstructorSentinel.Instance) { Analytics = reader.ReadValue>(options, static System.Collections.Generic.IReadOnlyDictionary (ref System.Text.Json.Utf8JsonReader r, System.Text.Json.JsonSerializerOptions o) => r.ReadDictionaryValue(o, null, null)!) }; + return new Elastic.Clients.Elasticsearch.SearchApplication.GetBehavioralAnalyticsResponse(Elastic.Clients.Elasticsearch.Serialization.JsonConstructorSentinel.Instance) { Values = reader.ReadValue>(options, static System.Collections.Generic.IReadOnlyDictionary (ref System.Text.Json.Utf8JsonReader r, System.Text.Json.JsonSerializerOptions o) => r.ReadDictionaryValue(o, null, null)!) }; } public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clients.Elasticsearch.SearchApplication.GetBehavioralAnalyticsResponse value, System.Text.Json.JsonSerializerOptions options) { - writer.WriteValue(options, value.Analytics, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, System.Collections.Generic.IReadOnlyDictionary v) => w.WriteDictionaryValue(o, v, null, null)); + writer.WriteValue(options, value.Values, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, System.Collections.Generic.IReadOnlyDictionary v) => w.WriteDictionaryValue(o, v, null, null)); } } @@ -54,5 +54,5 @@ internal GetBehavioralAnalyticsResponse(Elastic.Clients.Elasticsearch.Serializat #if NET7_0_OR_GREATER required #endif -System.Collections.Generic.IReadOnlyDictionary Analytics { get; set; } +System.Collections.Generic.IReadOnlyDictionary Values { get; set; } } \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchRequest.g.cs index 29c824eb9fe..449fc07e97a 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchRequest.g.cs @@ -151,7 +151,15 @@ public sealed partial class SearchRequestParameters : Elastic.Transport.RequestP /// This value should be used to limit the impact of the search on the cluster in order to limit the number of concurrent shard requests. /// /// - public int? MaxConcurrentShardRequests { get => Q("max_concurrent_shard_requests"); set => Q("max_concurrent_shard_requests", value); } + public long? MaxConcurrentShardRequests { get => Q("max_concurrent_shard_requests"); set => Q("max_concurrent_shard_requests", value); } + + /// + /// + /// The minimum version of the node that can handle the request + /// Any handling node with a lower version will fail the request. + /// + /// + public string? MinCompatibleShardNode { get => Q("min_compatible_shard_node"); set => Q("min_compatible_shard_node", value); } /// /// @@ -162,27 +170,27 @@ public sealed partial class SearchRequestParameters : Elastic.Transport.RequestP /// /// /// - /// _only_local to run the search only on shards on the local node. + /// _only_local to run the search only on shards on the local node; /// /// /// /// - /// _local to, if possible, run the search on shards on the local node, or if not, select shards using the default method. + /// _local to, if possible, run the search on shards on the local node, or if not, select shards using the default method; /// /// /// /// - /// _only_nodes:<node-id>,<node-id> to run the search on only the specified nodes IDs. If suitable shards exist on more than one selected node, use shards on those nodes using the default method. If none of the specified nodes are available, select shards from any available node using the default method. + /// _only_nodes:<node-id>,<node-id> to run the search on only the specified nodes IDs, where, if suitable shards exist on more than one selected node, use shards on those nodes using the default method, or if none of the specified nodes are available, select shards from any available node using the default method; /// /// /// /// - /// _prefer_nodes:<node-id>,<node-id> to if possible, run the search on the specified nodes IDs. If not, select shards using the default method. + /// _prefer_nodes:<node-id>,<node-id> to if possible, run the search on the specified nodes IDs, or if not, select shards using the default method; /// /// /// /// - /// _shards:<shard>,<shard> to run the search only on the specified shards. You can combine this value with other preference values. However, the _shards value must come first. For example: _shards:2,3|_local. + /// _shards:<shard>,<shard> to run the search only on the specified shards; /// /// /// @@ -860,7 +868,15 @@ internal SearchRequest(Elastic.Clients.Elasticsearch.Serialization.JsonConstruct /// This value should be used to limit the impact of the search on the cluster in order to limit the number of concurrent shard requests. /// /// - public int? MaxConcurrentShardRequests { get => Q("max_concurrent_shard_requests"); set => Q("max_concurrent_shard_requests", value); } + public long? MaxConcurrentShardRequests { get => Q("max_concurrent_shard_requests"); set => Q("max_concurrent_shard_requests", value); } + + /// + /// + /// The minimum version of the node that can handle the request + /// Any handling node with a lower version will fail the request. + /// + /// + public string? MinCompatibleShardNode { get => Q("min_compatible_shard_node"); set => Q("min_compatible_shard_node", value); } /// /// @@ -871,27 +887,27 @@ internal SearchRequest(Elastic.Clients.Elasticsearch.Serialization.JsonConstruct /// /// /// - /// _only_local to run the search only on shards on the local node. + /// _only_local to run the search only on shards on the local node; /// /// /// /// - /// _local to, if possible, run the search on shards on the local node, or if not, select shards using the default method. + /// _local to, if possible, run the search on shards on the local node, or if not, select shards using the default method; /// /// /// /// - /// _only_nodes:<node-id>,<node-id> to run the search on only the specified nodes IDs. If suitable shards exist on more than one selected node, use shards on those nodes using the default method. If none of the specified nodes are available, select shards from any available node using the default method. + /// _only_nodes:<node-id>,<node-id> to run the search on only the specified nodes IDs, where, if suitable shards exist on more than one selected node, use shards on those nodes using the default method, or if none of the specified nodes are available, select shards from any available node using the default method; /// /// /// /// - /// _prefer_nodes:<node-id>,<node-id> to if possible, run the search on the specified nodes IDs. If not, select shards using the default method. + /// _prefer_nodes:<node-id>,<node-id> to if possible, run the search on the specified nodes IDs, or if not, select shards using the default method; /// /// /// /// - /// _shards:<shard>,<shard> to run the search only on the specified shards. You can combine this value with other preference values. However, the _shards value must come first. For example: _shards:2,3|_local. + /// _shards:<shard>,<shard> to run the search only on the specified shards; /// /// /// @@ -1575,12 +1591,24 @@ public Elastic.Clients.Elasticsearch.SearchRequestDescriptor Lenient(bool? value /// This value should be used to limit the impact of the search on the cluster in order to limit the number of concurrent shard requests. /// /// - public Elastic.Clients.Elasticsearch.SearchRequestDescriptor MaxConcurrentShardRequests(int? value) + public Elastic.Clients.Elasticsearch.SearchRequestDescriptor MaxConcurrentShardRequests(long? value) { Instance.MaxConcurrentShardRequests = value; return this; } + /// + /// + /// The minimum version of the node that can handle the request + /// Any handling node with a lower version will fail the request. + /// + /// + public Elastic.Clients.Elasticsearch.SearchRequestDescriptor MinCompatibleShardNode(string? value) + { + Instance.MinCompatibleShardNode = value; + return this; + } + /// /// /// The nodes and shards used for the search. @@ -1590,27 +1618,27 @@ public Elastic.Clients.Elasticsearch.SearchRequestDescriptor MaxConcurrentShardR /// /// /// - /// _only_local to run the search only on shards on the local node. + /// _only_local to run the search only on shards on the local node; /// /// /// /// - /// _local to, if possible, run the search on shards on the local node, or if not, select shards using the default method. + /// _local to, if possible, run the search on shards on the local node, or if not, select shards using the default method; /// /// /// /// - /// _only_nodes:<node-id>,<node-id> to run the search on only the specified nodes IDs. If suitable shards exist on more than one selected node, use shards on those nodes using the default method. If none of the specified nodes are available, select shards from any available node using the default method. + /// _only_nodes:<node-id>,<node-id> to run the search on only the specified nodes IDs, where, if suitable shards exist on more than one selected node, use shards on those nodes using the default method, or if none of the specified nodes are available, select shards from any available node using the default method; /// /// /// /// - /// _prefer_nodes:<node-id>,<node-id> to if possible, run the search on the specified nodes IDs. If not, select shards using the default method. + /// _prefer_nodes:<node-id>,<node-id> to if possible, run the search on the specified nodes IDs, or if not, select shards using the default method; /// /// /// /// - /// _shards:<shard>,<shard> to run the search only on the specified shards. You can combine this value with other preference values. However, the _shards value must come first. For example: _shards:2,3|_local. + /// _shards:<shard>,<shard> to run the search only on the specified shards; /// /// /// @@ -3319,12 +3347,24 @@ public Elastic.Clients.Elasticsearch.SearchRequestDescriptor Lenient( /// This value should be used to limit the impact of the search on the cluster in order to limit the number of concurrent shard requests. /// /// - public Elastic.Clients.Elasticsearch.SearchRequestDescriptor MaxConcurrentShardRequests(int? value) + public Elastic.Clients.Elasticsearch.SearchRequestDescriptor MaxConcurrentShardRequests(long? value) { Instance.MaxConcurrentShardRequests = value; return this; } + /// + /// + /// The minimum version of the node that can handle the request + /// Any handling node with a lower version will fail the request. + /// + /// + public Elastic.Clients.Elasticsearch.SearchRequestDescriptor MinCompatibleShardNode(string? value) + { + Instance.MinCompatibleShardNode = value; + return this; + } + /// /// /// The nodes and shards used for the search. @@ -3334,27 +3374,27 @@ public Elastic.Clients.Elasticsearch.SearchRequestDescriptor MaxConcu /// /// /// - /// _only_local to run the search only on shards on the local node. + /// _only_local to run the search only on shards on the local node; /// /// /// /// - /// _local to, if possible, run the search on shards on the local node, or if not, select shards using the default method. + /// _local to, if possible, run the search on shards on the local node, or if not, select shards using the default method; /// /// /// /// - /// _only_nodes:<node-id>,<node-id> to run the search on only the specified nodes IDs. If suitable shards exist on more than one selected node, use shards on those nodes using the default method. If none of the specified nodes are available, select shards from any available node using the default method. + /// _only_nodes:<node-id>,<node-id> to run the search on only the specified nodes IDs, where, if suitable shards exist on more than one selected node, use shards on those nodes using the default method, or if none of the specified nodes are available, select shards from any available node using the default method; /// /// /// /// - /// _prefer_nodes:<node-id>,<node-id> to if possible, run the search on the specified nodes IDs. If not, select shards using the default method. + /// _prefer_nodes:<node-id>,<node-id> to if possible, run the search on the specified nodes IDs, or if not, select shards using the default method; /// /// /// /// - /// _shards:<shard>,<shard> to run the search only on the specified shards. You can combine this value with other preference values. However, the _shards value must come first. For example: _shards:2,3|_local. + /// _shards:<shard>,<shard> to run the search only on the specified shards; /// /// /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchableSnapshots/ClearCacheResponse.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchableSnapshots/ClearCacheResponse.g.cs index dbfcc8a5d5f..32eeb83ee7c 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchableSnapshots/ClearCacheResponse.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SearchableSnapshots/ClearCacheResponse.g.cs @@ -27,12 +27,12 @@ internal sealed partial class ClearCacheResponseConverter : System.Text.Json.Ser { public override Elastic.Clients.Elasticsearch.SearchableSnapshots.ClearCacheResponse Read(ref System.Text.Json.Utf8JsonReader reader, System.Type typeToConvert, System.Text.Json.JsonSerializerOptions options) { - return new Elastic.Clients.Elasticsearch.SearchableSnapshots.ClearCacheResponse(Elastic.Clients.Elasticsearch.Serialization.JsonConstructorSentinel.Instance) { Result = reader.ReadValue(options, null) }; + return new Elastic.Clients.Elasticsearch.SearchableSnapshots.ClearCacheResponse(Elastic.Clients.Elasticsearch.Serialization.JsonConstructorSentinel.Instance) { Value = reader.ReadValue(options, null) }; } public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clients.Elasticsearch.SearchableSnapshots.ClearCacheResponse value, System.Text.Json.JsonSerializerOptions options) { - writer.WriteValue(options, value.Result, null); + writer.WriteValue(options, value.Value, null); } } @@ -54,5 +54,5 @@ internal ClearCacheResponse(Elastic.Clients.Elasticsearch.Serialization.JsonCons #if NET7_0_OR_GREATER required #endif -object Result { get; set; } +object Value { get; set; } } \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/DeletePrivilegesResponse.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/DeletePrivilegesResponse.g.cs index 0f98e2e795b..b70ab7c8247 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/DeletePrivilegesResponse.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/DeletePrivilegesResponse.g.cs @@ -27,12 +27,12 @@ internal sealed partial class DeletePrivilegesResponseConverter : System.Text.Js { public override Elastic.Clients.Elasticsearch.Security.DeletePrivilegesResponse Read(ref System.Text.Json.Utf8JsonReader reader, System.Type typeToConvert, System.Text.Json.JsonSerializerOptions options) { - return new Elastic.Clients.Elasticsearch.Security.DeletePrivilegesResponse(Elastic.Clients.Elasticsearch.Serialization.JsonConstructorSentinel.Instance) { Result = reader.ReadValue>>(options, static System.Collections.Generic.IReadOnlyDictionary> (ref System.Text.Json.Utf8JsonReader r, System.Text.Json.JsonSerializerOptions o) => r.ReadDictionaryValue>(o, null, static System.Collections.Generic.IReadOnlyDictionary (ref System.Text.Json.Utf8JsonReader r, System.Text.Json.JsonSerializerOptions o) => r.ReadDictionaryValue(o, null, null)!)!) }; + return new Elastic.Clients.Elasticsearch.Security.DeletePrivilegesResponse(Elastic.Clients.Elasticsearch.Serialization.JsonConstructorSentinel.Instance) { Values = reader.ReadValue>>(options, static System.Collections.Generic.IReadOnlyDictionary> (ref System.Text.Json.Utf8JsonReader r, System.Text.Json.JsonSerializerOptions o) => r.ReadDictionaryValue>(o, null, static System.Collections.Generic.IReadOnlyDictionary (ref System.Text.Json.Utf8JsonReader r, System.Text.Json.JsonSerializerOptions o) => r.ReadDictionaryValue(o, null, null)!)!) }; } public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clients.Elasticsearch.Security.DeletePrivilegesResponse value, System.Text.Json.JsonSerializerOptions options) { - writer.WriteValue(options, value.Result, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, System.Collections.Generic.IReadOnlyDictionary> v) => w.WriteDictionaryValue>(o, v, null, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, System.Collections.Generic.IReadOnlyDictionary v) => w.WriteDictionaryValue(o, v, null, null))); + writer.WriteValue(options, value.Values, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, System.Collections.Generic.IReadOnlyDictionary> v) => w.WriteDictionaryValue>(o, v, null, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, System.Collections.Generic.IReadOnlyDictionary v) => w.WriteDictionaryValue(o, v, null, null))); } } @@ -54,5 +54,5 @@ internal DeletePrivilegesResponse(Elastic.Clients.Elasticsearch.Serialization.Js #if NET7_0_OR_GREATER required #endif -System.Collections.Generic.IReadOnlyDictionary> Result { get; set; } +System.Collections.Generic.IReadOnlyDictionary> Values { get; set; } } \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetPrivilegesResponse.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetPrivilegesResponse.g.cs index 8b9b60ed4d7..782c9654622 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetPrivilegesResponse.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetPrivilegesResponse.g.cs @@ -27,12 +27,12 @@ internal sealed partial class GetPrivilegesResponseConverter : System.Text.Json. { public override Elastic.Clients.Elasticsearch.Security.GetPrivilegesResponse Read(ref System.Text.Json.Utf8JsonReader reader, System.Type typeToConvert, System.Text.Json.JsonSerializerOptions options) { - return new Elastic.Clients.Elasticsearch.Security.GetPrivilegesResponse(Elastic.Clients.Elasticsearch.Serialization.JsonConstructorSentinel.Instance) { Privileges = reader.ReadValue>>(options, static System.Collections.Generic.IReadOnlyDictionary> (ref System.Text.Json.Utf8JsonReader r, System.Text.Json.JsonSerializerOptions o) => r.ReadDictionaryValue>(o, null, static System.Collections.Generic.IReadOnlyDictionary (ref System.Text.Json.Utf8JsonReader r, System.Text.Json.JsonSerializerOptions o) => r.ReadDictionaryValue(o, null, null)!)!) }; + return new Elastic.Clients.Elasticsearch.Security.GetPrivilegesResponse(Elastic.Clients.Elasticsearch.Serialization.JsonConstructorSentinel.Instance) { Values = reader.ReadValue>>(options, static System.Collections.Generic.IReadOnlyDictionary> (ref System.Text.Json.Utf8JsonReader r, System.Text.Json.JsonSerializerOptions o) => r.ReadDictionaryValue>(o, null, static System.Collections.Generic.IReadOnlyDictionary (ref System.Text.Json.Utf8JsonReader r, System.Text.Json.JsonSerializerOptions o) => r.ReadDictionaryValue(o, null, null)!)!) }; } public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clients.Elasticsearch.Security.GetPrivilegesResponse value, System.Text.Json.JsonSerializerOptions options) { - writer.WriteValue(options, value.Privileges, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, System.Collections.Generic.IReadOnlyDictionary> v) => w.WriteDictionaryValue>(o, v, null, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, System.Collections.Generic.IReadOnlyDictionary v) => w.WriteDictionaryValue(o, v, null, null))); + writer.WriteValue(options, value.Values, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, System.Collections.Generic.IReadOnlyDictionary> v) => w.WriteDictionaryValue>(o, v, null, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, System.Collections.Generic.IReadOnlyDictionary v) => w.WriteDictionaryValue(o, v, null, null))); } } @@ -54,5 +54,5 @@ internal GetPrivilegesResponse(Elastic.Clients.Elasticsearch.Serialization.JsonC #if NET7_0_OR_GREATER required #endif -System.Collections.Generic.IReadOnlyDictionary> Privileges { get; set; } +System.Collections.Generic.IReadOnlyDictionary> Values { get; set; } } \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetRoleMappingResponse.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetRoleMappingResponse.g.cs index 5535cb646a1..9f0c86ac2a7 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetRoleMappingResponse.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetRoleMappingResponse.g.cs @@ -27,12 +27,12 @@ internal sealed partial class GetRoleMappingResponseConverter : System.Text.Json { public override Elastic.Clients.Elasticsearch.Security.GetRoleMappingResponse Read(ref System.Text.Json.Utf8JsonReader reader, System.Type typeToConvert, System.Text.Json.JsonSerializerOptions options) { - return new Elastic.Clients.Elasticsearch.Security.GetRoleMappingResponse(Elastic.Clients.Elasticsearch.Serialization.JsonConstructorSentinel.Instance) { RoleMappings = reader.ReadValue>(options, static System.Collections.Generic.IReadOnlyDictionary (ref System.Text.Json.Utf8JsonReader r, System.Text.Json.JsonSerializerOptions o) => r.ReadDictionaryValue(o, null, null)!) }; + return new Elastic.Clients.Elasticsearch.Security.GetRoleMappingResponse(Elastic.Clients.Elasticsearch.Serialization.JsonConstructorSentinel.Instance) { Values = reader.ReadValue>(options, static System.Collections.Generic.IReadOnlyDictionary (ref System.Text.Json.Utf8JsonReader r, System.Text.Json.JsonSerializerOptions o) => r.ReadDictionaryValue(o, null, null)!) }; } public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clients.Elasticsearch.Security.GetRoleMappingResponse value, System.Text.Json.JsonSerializerOptions options) { - writer.WriteValue(options, value.RoleMappings, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, System.Collections.Generic.IReadOnlyDictionary v) => w.WriteDictionaryValue(o, v, null, null)); + writer.WriteValue(options, value.Values, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, System.Collections.Generic.IReadOnlyDictionary v) => w.WriteDictionaryValue(o, v, null, null)); } } @@ -54,5 +54,5 @@ internal GetRoleMappingResponse(Elastic.Clients.Elasticsearch.Serialization.Json #if NET7_0_OR_GREATER required #endif -System.Collections.Generic.IReadOnlyDictionary RoleMappings { get; set; } +System.Collections.Generic.IReadOnlyDictionary Values { get; set; } } \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetRoleResponse.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetRoleResponse.g.cs index 1ff6146ab3e..fb7bfa917e9 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetRoleResponse.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetRoleResponse.g.cs @@ -27,12 +27,12 @@ internal sealed partial class GetRoleResponseConverter : System.Text.Json.Serial { public override Elastic.Clients.Elasticsearch.Security.GetRoleResponse Read(ref System.Text.Json.Utf8JsonReader reader, System.Type typeToConvert, System.Text.Json.JsonSerializerOptions options) { - return new Elastic.Clients.Elasticsearch.Security.GetRoleResponse(Elastic.Clients.Elasticsearch.Serialization.JsonConstructorSentinel.Instance) { Roles = reader.ReadValue>(options, static System.Collections.Generic.IReadOnlyDictionary (ref System.Text.Json.Utf8JsonReader r, System.Text.Json.JsonSerializerOptions o) => r.ReadDictionaryValue(o, null, null)!) }; + return new Elastic.Clients.Elasticsearch.Security.GetRoleResponse(Elastic.Clients.Elasticsearch.Serialization.JsonConstructorSentinel.Instance) { Values = reader.ReadValue>(options, static System.Collections.Generic.IReadOnlyDictionary (ref System.Text.Json.Utf8JsonReader r, System.Text.Json.JsonSerializerOptions o) => r.ReadDictionaryValue(o, null, null)!) }; } public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clients.Elasticsearch.Security.GetRoleResponse value, System.Text.Json.JsonSerializerOptions options) { - writer.WriteValue(options, value.Roles, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, System.Collections.Generic.IReadOnlyDictionary v) => w.WriteDictionaryValue(o, v, null, null)); + writer.WriteValue(options, value.Values, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, System.Collections.Generic.IReadOnlyDictionary v) => w.WriteDictionaryValue(o, v, null, null)); } } @@ -54,5 +54,5 @@ internal GetRoleResponse(Elastic.Clients.Elasticsearch.Serialization.JsonConstru #if NET7_0_OR_GREATER required #endif -System.Collections.Generic.IReadOnlyDictionary Roles { get; set; } +System.Collections.Generic.IReadOnlyDictionary Values { get; set; } } \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetServiceAccountsResponse.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetServiceAccountsResponse.g.cs index e5215ea21fb..e0133f703cb 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetServiceAccountsResponse.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetServiceAccountsResponse.g.cs @@ -27,12 +27,12 @@ internal sealed partial class GetServiceAccountsResponseConverter : System.Text. { public override Elastic.Clients.Elasticsearch.Security.GetServiceAccountsResponse Read(ref System.Text.Json.Utf8JsonReader reader, System.Type typeToConvert, System.Text.Json.JsonSerializerOptions options) { - return new Elastic.Clients.Elasticsearch.Security.GetServiceAccountsResponse(Elastic.Clients.Elasticsearch.Serialization.JsonConstructorSentinel.Instance) { ServiceAccoutns = reader.ReadValue>(options, static System.Collections.Generic.IReadOnlyDictionary (ref System.Text.Json.Utf8JsonReader r, System.Text.Json.JsonSerializerOptions o) => r.ReadDictionaryValue(o, null, null)!) }; + return new Elastic.Clients.Elasticsearch.Security.GetServiceAccountsResponse(Elastic.Clients.Elasticsearch.Serialization.JsonConstructorSentinel.Instance) { Values = reader.ReadValue>(options, static System.Collections.Generic.IReadOnlyDictionary (ref System.Text.Json.Utf8JsonReader r, System.Text.Json.JsonSerializerOptions o) => r.ReadDictionaryValue(o, null, null)!) }; } public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clients.Elasticsearch.Security.GetServiceAccountsResponse value, System.Text.Json.JsonSerializerOptions options) { - writer.WriteValue(options, value.ServiceAccoutns, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, System.Collections.Generic.IReadOnlyDictionary v) => w.WriteDictionaryValue(o, v, null, null)); + writer.WriteValue(options, value.Values, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, System.Collections.Generic.IReadOnlyDictionary v) => w.WriteDictionaryValue(o, v, null, null)); } } @@ -54,5 +54,5 @@ internal GetServiceAccountsResponse(Elastic.Clients.Elasticsearch.Serialization. #if NET7_0_OR_GREATER required #endif -System.Collections.Generic.IReadOnlyDictionary ServiceAccoutns { get; set; } +System.Collections.Generic.IReadOnlyDictionary Values { get; set; } } \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetUserResponse.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetUserResponse.g.cs index 44737da4592..d2fba9a0e57 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetUserResponse.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/GetUserResponse.g.cs @@ -27,12 +27,12 @@ internal sealed partial class GetUserResponseConverter : System.Text.Json.Serial { public override Elastic.Clients.Elasticsearch.Security.GetUserResponse Read(ref System.Text.Json.Utf8JsonReader reader, System.Type typeToConvert, System.Text.Json.JsonSerializerOptions options) { - return new Elastic.Clients.Elasticsearch.Security.GetUserResponse(Elastic.Clients.Elasticsearch.Serialization.JsonConstructorSentinel.Instance) { Users = reader.ReadValue>(options, static System.Collections.Generic.IReadOnlyDictionary (ref System.Text.Json.Utf8JsonReader r, System.Text.Json.JsonSerializerOptions o) => r.ReadDictionaryValue(o, null, null)!) }; + return new Elastic.Clients.Elasticsearch.Security.GetUserResponse(Elastic.Clients.Elasticsearch.Serialization.JsonConstructorSentinel.Instance) { Values = reader.ReadValue>(options, static System.Collections.Generic.IReadOnlyDictionary (ref System.Text.Json.Utf8JsonReader r, System.Text.Json.JsonSerializerOptions o) => r.ReadDictionaryValue(o, null, null)!) }; } public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clients.Elasticsearch.Security.GetUserResponse value, System.Text.Json.JsonSerializerOptions options) { - writer.WriteValue(options, value.Users, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, System.Collections.Generic.IReadOnlyDictionary v) => w.WriteDictionaryValue(o, v, null, null)); + writer.WriteValue(options, value.Values, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, System.Collections.Generic.IReadOnlyDictionary v) => w.WriteDictionaryValue(o, v, null, null)); } } @@ -54,5 +54,5 @@ internal GetUserResponse(Elastic.Clients.Elasticsearch.Serialization.JsonConstru #if NET7_0_OR_GREATER required #endif -System.Collections.Generic.IReadOnlyDictionary Users { get; set; } +System.Collections.Generic.IReadOnlyDictionary Values { get; set; } } \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/PutPrivilegesResponse.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/PutPrivilegesResponse.g.cs index 7f74f2a6212..b3af86edc16 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/PutPrivilegesResponse.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/PutPrivilegesResponse.g.cs @@ -27,12 +27,12 @@ internal sealed partial class PutPrivilegesResponseConverter : System.Text.Json. { public override Elastic.Clients.Elasticsearch.Security.PutPrivilegesResponse Read(ref System.Text.Json.Utf8JsonReader reader, System.Type typeToConvert, System.Text.Json.JsonSerializerOptions options) { - return new Elastic.Clients.Elasticsearch.Security.PutPrivilegesResponse(Elastic.Clients.Elasticsearch.Serialization.JsonConstructorSentinel.Instance) { Result = reader.ReadValue>>(options, static System.Collections.Generic.IReadOnlyDictionary> (ref System.Text.Json.Utf8JsonReader r, System.Text.Json.JsonSerializerOptions o) => r.ReadDictionaryValue>(o, null, static System.Collections.Generic.IReadOnlyDictionary (ref System.Text.Json.Utf8JsonReader r, System.Text.Json.JsonSerializerOptions o) => r.ReadDictionaryValue(o, null, null)!)!) }; + return new Elastic.Clients.Elasticsearch.Security.PutPrivilegesResponse(Elastic.Clients.Elasticsearch.Serialization.JsonConstructorSentinel.Instance) { Values = reader.ReadValue>>(options, static System.Collections.Generic.IReadOnlyDictionary> (ref System.Text.Json.Utf8JsonReader r, System.Text.Json.JsonSerializerOptions o) => r.ReadDictionaryValue>(o, null, static System.Collections.Generic.IReadOnlyDictionary (ref System.Text.Json.Utf8JsonReader r, System.Text.Json.JsonSerializerOptions o) => r.ReadDictionaryValue(o, null, null)!)!) }; } public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clients.Elasticsearch.Security.PutPrivilegesResponse value, System.Text.Json.JsonSerializerOptions options) { - writer.WriteValue(options, value.Result, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, System.Collections.Generic.IReadOnlyDictionary> v) => w.WriteDictionaryValue>(o, v, null, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, System.Collections.Generic.IReadOnlyDictionary v) => w.WriteDictionaryValue(o, v, null, null))); + writer.WriteValue(options, value.Values, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, System.Collections.Generic.IReadOnlyDictionary> v) => w.WriteDictionaryValue>(o, v, null, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, System.Collections.Generic.IReadOnlyDictionary v) => w.WriteDictionaryValue(o, v, null, null))); } } @@ -54,5 +54,5 @@ internal PutPrivilegesResponse(Elastic.Clients.Elasticsearch.Serialization.JsonC #if NET7_0_OR_GREATER required #endif -System.Collections.Generic.IReadOnlyDictionary> Result { get; set; } +System.Collections.Generic.IReadOnlyDictionary> Values { get; set; } } \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/PutRoleMappingRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/PutRoleMappingRequest.g.cs index b3742d58d37..e52a2c49b9d 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/PutRoleMappingRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/PutRoleMappingRequest.g.cs @@ -470,18 +470,6 @@ public Elastic.Clients.Elasticsearch.Security.PutRoleMappingRequestDescriptor Ru return this; } - /// - /// - /// The rules that determine which users should be matched by the mapping. - /// A rule is a logical condition that is expressed by using a JSON DSL. - /// - /// - public Elastic.Clients.Elasticsearch.Security.PutRoleMappingRequestDescriptor Rules(System.Action> action) - { - Instance.Rules = Elastic.Clients.Elasticsearch.Security.RoleMappingRuleDescriptor.Build(action); - return this; - } - public Elastic.Clients.Elasticsearch.Security.PutRoleMappingRequestDescriptor RunAs(System.Collections.Generic.ICollection? value) { Instance.RunAs = value; @@ -543,296 +531,4 @@ public Elastic.Clients.Elasticsearch.Security.PutRoleMappingRequestDescriptor Re Instance.RequestConfiguration = configurationSelector.Invoke(Instance.RequestConfiguration is null ? new Elastic.Transport.RequestConfigurationDescriptor() : new Elastic.Transport.RequestConfigurationDescriptor(Instance.RequestConfiguration)) ?? Instance.RequestConfiguration; return this; } -} - -/// -/// -/// Create or update role mappings. -/// -/// -/// Role mappings define which roles are assigned to each user. -/// Each mapping has rules that identify users and a list of roles that are granted to those users. -/// The role mapping APIs are generally the preferred way to manage role mappings rather than using role mapping files. The create or update role mappings API cannot update role mappings that are defined in role mapping files. -/// -/// -/// NOTE: This API does not create roles. Rather, it maps users to existing roles. -/// Roles can be created by using the create or update roles API or roles files. -/// -/// -/// Role templates -/// -/// -/// The most common use for role mappings is to create a mapping from a known value on the user to a fixed role name. -/// For example, all users in the cn=admin,dc=example,dc=com LDAP group should be given the superuser role in Elasticsearch. -/// The roles field is used for this purpose. -/// -/// -/// For more complex needs, it is possible to use Mustache templates to dynamically determine the names of the roles that should be granted to the user. -/// The role_templates field is used for this purpose. -/// -/// -/// NOTE: To use role templates successfully, the relevant scripting feature must be enabled. -/// Otherwise, all attempts to create a role mapping with role templates fail. -/// -/// -/// All of the user fields that are available in the role mapping rules are also available in the role templates. -/// Thus it is possible to assign a user to a role that reflects their username, their groups, or the name of the realm to which they authenticated. -/// -/// -/// By default a template is evaluated to produce a single string that is the name of the role which should be assigned to the user. -/// If the format of the template is set to "json" then the template is expected to produce a JSON string or an array of JSON strings for the role names. -/// -/// -public readonly partial struct PutRoleMappingRequestDescriptor -{ - internal Elastic.Clients.Elasticsearch.Security.PutRoleMappingRequest Instance { get; init; } - - [System.Diagnostics.CodeAnalysis.SetsRequiredMembers] - public PutRoleMappingRequestDescriptor(Elastic.Clients.Elasticsearch.Security.PutRoleMappingRequest instance) - { - Instance = instance; - } - - public PutRoleMappingRequestDescriptor(Elastic.Clients.Elasticsearch.Name name) - { - Instance = new Elastic.Clients.Elasticsearch.Security.PutRoleMappingRequest(name); - } - - [System.Obsolete("The use of the parameterless constructor is not permitted for this type.")] - public PutRoleMappingRequestDescriptor() - { - throw new System.InvalidOperationException("The use of the parameterless constructor is not permitted for this type."); - } - - public static explicit operator Elastic.Clients.Elasticsearch.Security.PutRoleMappingRequestDescriptor(Elastic.Clients.Elasticsearch.Security.PutRoleMappingRequest instance) => new Elastic.Clients.Elasticsearch.Security.PutRoleMappingRequestDescriptor(instance); - public static implicit operator Elastic.Clients.Elasticsearch.Security.PutRoleMappingRequest(Elastic.Clients.Elasticsearch.Security.PutRoleMappingRequestDescriptor descriptor) => descriptor.Instance; - - /// - /// - /// The distinct name that identifies the role mapping. - /// The name is used solely as an identifier to facilitate interaction via the API; it does not affect the behavior of the mapping in any way. - /// - /// - public Elastic.Clients.Elasticsearch.Security.PutRoleMappingRequestDescriptor Name(Elastic.Clients.Elasticsearch.Name value) - { - Instance.Name = value; - return this; - } - - /// - /// - /// If true (the default) then refresh the affected shards to make this operation visible to search, if wait_for then wait for a refresh to make this operation visible to search, if false then do nothing with refreshes. - /// - /// - public Elastic.Clients.Elasticsearch.Security.PutRoleMappingRequestDescriptor Refresh(Elastic.Clients.Elasticsearch.Refresh? value) - { - Instance.Refresh = value; - return this; - } - - /// - /// - /// Mappings that have enabled set to false are ignored when role mapping is performed. - /// - /// - public Elastic.Clients.Elasticsearch.Security.PutRoleMappingRequestDescriptor Enabled(bool? value = true) - { - Instance.Enabled = value; - return this; - } - - /// - /// - /// Additional metadata that helps define which roles are assigned to each user. - /// Within the metadata object, keys beginning with _ are reserved for system usage. - /// - /// - public Elastic.Clients.Elasticsearch.Security.PutRoleMappingRequestDescriptor Metadata(System.Collections.Generic.IDictionary? value) - { - Instance.Metadata = value; - return this; - } - - /// - /// - /// Additional metadata that helps define which roles are assigned to each user. - /// Within the metadata object, keys beginning with _ are reserved for system usage. - /// - /// - public Elastic.Clients.Elasticsearch.Security.PutRoleMappingRequestDescriptor Metadata() - { - Instance.Metadata = Elastic.Clients.Elasticsearch.Fluent.FluentDictionaryOfStringObject.Build(null); - return this; - } - - /// - /// - /// Additional metadata that helps define which roles are assigned to each user. - /// Within the metadata object, keys beginning with _ are reserved for system usage. - /// - /// - public Elastic.Clients.Elasticsearch.Security.PutRoleMappingRequestDescriptor Metadata(System.Action? action) - { - Instance.Metadata = Elastic.Clients.Elasticsearch.Fluent.FluentDictionaryOfStringObject.Build(action); - return this; - } - - public Elastic.Clients.Elasticsearch.Security.PutRoleMappingRequestDescriptor AddMetadatum(string key, object value) - { - Instance.Metadata ??= new System.Collections.Generic.Dictionary(); - Instance.Metadata.Add(key, value); - return this; - } - - /// - /// - /// A list of role names that are granted to the users that match the role mapping rules. - /// Exactly one of roles or role_templates must be specified. - /// - /// - public Elastic.Clients.Elasticsearch.Security.PutRoleMappingRequestDescriptor Roles(System.Collections.Generic.ICollection? value) - { - Instance.Roles = value; - return this; - } - - /// - /// - /// A list of role names that are granted to the users that match the role mapping rules. - /// Exactly one of roles or role_templates must be specified. - /// - /// - public Elastic.Clients.Elasticsearch.Security.PutRoleMappingRequestDescriptor Roles(params string[] values) - { - Instance.Roles = [.. values]; - return this; - } - - /// - /// - /// A list of Mustache templates that will be evaluated to determine the roles names that should granted to the users that match the role mapping rules. - /// Exactly one of roles or role_templates must be specified. - /// - /// - public Elastic.Clients.Elasticsearch.Security.PutRoleMappingRequestDescriptor RoleTemplates(System.Collections.Generic.ICollection? value) - { - Instance.RoleTemplates = value; - return this; - } - - /// - /// - /// A list of Mustache templates that will be evaluated to determine the roles names that should granted to the users that match the role mapping rules. - /// Exactly one of roles or role_templates must be specified. - /// - /// - public Elastic.Clients.Elasticsearch.Security.PutRoleMappingRequestDescriptor RoleTemplates(params Elastic.Clients.Elasticsearch.Security.RoleTemplate[] values) - { - Instance.RoleTemplates = [.. values]; - return this; - } - - /// - /// - /// A list of Mustache templates that will be evaluated to determine the roles names that should granted to the users that match the role mapping rules. - /// Exactly one of roles or role_templates must be specified. - /// - /// - public Elastic.Clients.Elasticsearch.Security.PutRoleMappingRequestDescriptor RoleTemplates(params System.Action[] actions) - { - var items = new System.Collections.Generic.List(); - foreach (var action in actions) - { - items.Add(Elastic.Clients.Elasticsearch.Security.RoleTemplateDescriptor.Build(action)); - } - - Instance.RoleTemplates = items; - return this; - } - - /// - /// - /// The rules that determine which users should be matched by the mapping. - /// A rule is a logical condition that is expressed by using a JSON DSL. - /// - /// - public Elastic.Clients.Elasticsearch.Security.PutRoleMappingRequestDescriptor Rules(Elastic.Clients.Elasticsearch.Security.RoleMappingRule? value) - { - Instance.Rules = value; - return this; - } - - /// - /// - /// The rules that determine which users should be matched by the mapping. - /// A rule is a logical condition that is expressed by using a JSON DSL. - /// - /// - public Elastic.Clients.Elasticsearch.Security.PutRoleMappingRequestDescriptor Rules(System.Action> action) - { - Instance.Rules = Elastic.Clients.Elasticsearch.Security.RoleMappingRuleDescriptor.Build(action); - return this; - } - - public Elastic.Clients.Elasticsearch.Security.PutRoleMappingRequestDescriptor RunAs(System.Collections.Generic.ICollection? value) - { - Instance.RunAs = value; - return this; - } - - public Elastic.Clients.Elasticsearch.Security.PutRoleMappingRequestDescriptor RunAs(params string[] values) - { - Instance.RunAs = [.. values]; - return this; - } - - [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] - internal static Elastic.Clients.Elasticsearch.Security.PutRoleMappingRequest Build(System.Action> action) - { - var builder = new Elastic.Clients.Elasticsearch.Security.PutRoleMappingRequestDescriptor(new Elastic.Clients.Elasticsearch.Security.PutRoleMappingRequest(Elastic.Clients.Elasticsearch.Serialization.JsonConstructorSentinel.Instance)); - action.Invoke(builder); - return builder.Instance; - } - - public Elastic.Clients.Elasticsearch.Security.PutRoleMappingRequestDescriptor ErrorTrace(bool? value) - { - Instance.ErrorTrace = value; - return this; - } - - public Elastic.Clients.Elasticsearch.Security.PutRoleMappingRequestDescriptor FilterPath(params string[]? value) - { - Instance.FilterPath = value; - return this; - } - - public Elastic.Clients.Elasticsearch.Security.PutRoleMappingRequestDescriptor Human(bool? value) - { - Instance.Human = value; - return this; - } - - public Elastic.Clients.Elasticsearch.Security.PutRoleMappingRequestDescriptor Pretty(bool? value) - { - Instance.Pretty = value; - return this; - } - - public Elastic.Clients.Elasticsearch.Security.PutRoleMappingRequestDescriptor SourceQueryString(string? value) - { - Instance.SourceQueryString = value; - return this; - } - - public Elastic.Clients.Elasticsearch.Security.PutRoleMappingRequestDescriptor RequestConfiguration(Elastic.Transport.IRequestConfiguration? value) - { - Instance.RequestConfiguration = value; - return this; - } - - public Elastic.Clients.Elasticsearch.Security.PutRoleMappingRequestDescriptor RequestConfiguration(System.Func? configurationSelector) - { - Instance.RequestConfiguration = configurationSelector.Invoke(Instance.RequestConfiguration is null ? new Elastic.Transport.RequestConfigurationDescriptor() : new Elastic.Transport.RequestConfigurationDescriptor(Instance.RequestConfiguration)) ?? Instance.RequestConfiguration; - return this; - } } \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/PutRoleRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/PutRoleRequest.g.cs index 72cb89142ec..99305c55bf8 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/PutRoleRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Security/PutRoleRequest.g.cs @@ -191,7 +191,7 @@ internal PutRoleRequest(Elastic.Clients.Elasticsearch.Serialization.JsonConstruc /// /// - /// The name of the role that is being created or updated. On Elasticsearch Serverless, the role name must begin with a letter or digit and can only contain letters, digits and the characters '_', '-', and '.'. Each role must have a unique name, as this will serve as the identifier for that role. + /// The name of the role. /// /// public @@ -318,7 +318,7 @@ public PutRoleRequestDescriptor() /// /// - /// The name of the role that is being created or updated. On Elasticsearch Serverless, the role name must begin with a letter or digit and can only contain letters, digits and the characters '_', '-', and '.'. Each role must have a unique name, as this will serve as the identifier for that role. + /// The name of the role. /// /// public Elastic.Clients.Elasticsearch.Security.PutRoleRequestDescriptor Name(Elastic.Clients.Elasticsearch.Name value) @@ -806,7 +806,7 @@ public PutRoleRequestDescriptor() /// /// - /// The name of the role that is being created or updated. On Elasticsearch Serverless, the role name must begin with a letter or digit and can only contain letters, digits and the characters '_', '-', and '.'. Each role must have a unique name, as this will serve as the identifier for that role. + /// The name of the role. /// /// public Elastic.Clients.Elasticsearch.Security.PutRoleRequestDescriptor Name(Elastic.Clients.Elasticsearch.Name value) diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/CleanupRepositoryRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/CleanupRepositoryRequest.g.cs index f0d61779324..fb4629fed07 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/CleanupRepositoryRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/CleanupRepositoryRequest.g.cs @@ -27,18 +27,14 @@ public sealed partial class CleanupRepositoryRequestParameters : Elastic.Transpo { /// /// - /// The period to wait for a connection to the master node. - /// If the master node is not available before the timeout expires, the request fails and returns an error. - /// To indicate that the request should never timeout, set it to -1 + /// Period to wait for a connection to the master node. /// /// public Elastic.Clients.Elasticsearch.Duration? MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); } /// /// - /// The period to wait for a response from all relevant nodes in the cluster after updating the cluster metadata. - /// If no response is received before the timeout expires, the cluster metadata update still applies but the response will indicate that it was not completely acknowledged. - /// To indicate that the request should never timeout, set it to -1. + /// Period to wait for a response. /// /// public Elastic.Clients.Elasticsearch.Duration? Timeout { get => Q("timeout"); set => Q("timeout", value); } @@ -107,7 +103,7 @@ internal CleanupRepositoryRequest(Elastic.Clients.Elasticsearch.Serialization.Js /// /// - /// The name of the snapshot repository to clean up. + /// Snapshot repository to clean up. /// /// public @@ -118,18 +114,14 @@ internal CleanupRepositoryRequest(Elastic.Clients.Elasticsearch.Serialization.Js /// /// - /// The period to wait for a connection to the master node. - /// If the master node is not available before the timeout expires, the request fails and returns an error. - /// To indicate that the request should never timeout, set it to -1 + /// Period to wait for a connection to the master node. /// /// public Elastic.Clients.Elasticsearch.Duration? MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); } /// /// - /// The period to wait for a response from all relevant nodes in the cluster after updating the cluster metadata. - /// If no response is received before the timeout expires, the cluster metadata update still applies but the response will indicate that it was not completely acknowledged. - /// To indicate that the request should never timeout, set it to -1. + /// Period to wait for a response. /// /// public Elastic.Clients.Elasticsearch.Duration? Timeout { get => Q("timeout"); set => Q("timeout", value); } @@ -167,7 +159,7 @@ public CleanupRepositoryRequestDescriptor() /// /// - /// The name of the snapshot repository to clean up. + /// Snapshot repository to clean up. /// /// public Elastic.Clients.Elasticsearch.Snapshot.CleanupRepositoryRequestDescriptor Name(Elastic.Clients.Elasticsearch.Name value) @@ -178,9 +170,7 @@ public Elastic.Clients.Elasticsearch.Snapshot.CleanupRepositoryRequestDescriptor /// /// - /// The period to wait for a connection to the master node. - /// If the master node is not available before the timeout expires, the request fails and returns an error. - /// To indicate that the request should never timeout, set it to -1 + /// Period to wait for a connection to the master node. /// /// public Elastic.Clients.Elasticsearch.Snapshot.CleanupRepositoryRequestDescriptor MasterTimeout(Elastic.Clients.Elasticsearch.Duration? value) @@ -191,9 +181,7 @@ public Elastic.Clients.Elasticsearch.Snapshot.CleanupRepositoryRequestDescriptor /// /// - /// The period to wait for a response from all relevant nodes in the cluster after updating the cluster metadata. - /// If no response is received before the timeout expires, the cluster metadata update still applies but the response will indicate that it was not completely acknowledged. - /// To indicate that the request should never timeout, set it to -1. + /// Period to wait for a response. /// /// public Elastic.Clients.Elasticsearch.Snapshot.CleanupRepositoryRequestDescriptor Timeout(Elastic.Clients.Elasticsearch.Duration? value) diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/CloneSnapshotRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/CloneSnapshotRequest.g.cs index a233ae0251c..863d5da7241 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/CloneSnapshotRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/CloneSnapshotRequest.g.cs @@ -27,9 +27,7 @@ public sealed partial class CloneSnapshotRequestParameters : Elastic.Transport.R { /// /// - /// The period to wait for the master node. - /// If the master node is not available before the timeout expires, the request fails and returns an error. - /// To indicate that the request should never timeout, set it to -1. + /// Explicit operation timeout for connection to master node /// /// public Elastic.Clients.Elasticsearch.Duration? MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); } @@ -115,7 +113,7 @@ internal CloneSnapshotRequest(Elastic.Clients.Elasticsearch.Serialization.JsonCo /// /// - /// The name of the snapshot repository that both source and target snapshot belong to. + /// A repository name /// /// public @@ -126,7 +124,7 @@ internal CloneSnapshotRequest(Elastic.Clients.Elasticsearch.Serialization.JsonCo /// /// - /// The source snapshot name. + /// The name of the snapshot to clone from /// /// public @@ -137,7 +135,7 @@ internal CloneSnapshotRequest(Elastic.Clients.Elasticsearch.Serialization.JsonCo /// /// - /// The target snapshot name. + /// The name of the cloned snapshot to create /// /// public @@ -148,19 +146,10 @@ internal CloneSnapshotRequest(Elastic.Clients.Elasticsearch.Serialization.JsonCo /// /// - /// The period to wait for the master node. - /// If the master node is not available before the timeout expires, the request fails and returns an error. - /// To indicate that the request should never timeout, set it to -1. + /// Explicit operation timeout for connection to master node /// /// public Elastic.Clients.Elasticsearch.Duration? MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); } - - /// - /// - /// A comma-separated list of indices to include in the snapshot. - /// Multi-target syntax is supported. - /// - /// public #if NET7_0_OR_GREATER required @@ -202,7 +191,7 @@ public CloneSnapshotRequestDescriptor() /// /// - /// The name of the snapshot repository that both source and target snapshot belong to. + /// A repository name /// /// public Elastic.Clients.Elasticsearch.Snapshot.CloneSnapshotRequestDescriptor Repository(Elastic.Clients.Elasticsearch.Name value) @@ -213,7 +202,7 @@ public Elastic.Clients.Elasticsearch.Snapshot.CloneSnapshotRequestDescriptor Rep /// /// - /// The source snapshot name. + /// The name of the snapshot to clone from /// /// public Elastic.Clients.Elasticsearch.Snapshot.CloneSnapshotRequestDescriptor Snapshot(Elastic.Clients.Elasticsearch.Name value) @@ -224,7 +213,7 @@ public Elastic.Clients.Elasticsearch.Snapshot.CloneSnapshotRequestDescriptor Sna /// /// - /// The target snapshot name. + /// The name of the cloned snapshot to create /// /// public Elastic.Clients.Elasticsearch.Snapshot.CloneSnapshotRequestDescriptor TargetSnapshot(Elastic.Clients.Elasticsearch.Name value) @@ -235,9 +224,7 @@ public Elastic.Clients.Elasticsearch.Snapshot.CloneSnapshotRequestDescriptor Tar /// /// - /// The period to wait for the master node. - /// If the master node is not available before the timeout expires, the request fails and returns an error. - /// To indicate that the request should never timeout, set it to -1. + /// Explicit operation timeout for connection to master node /// /// public Elastic.Clients.Elasticsearch.Snapshot.CloneSnapshotRequestDescriptor MasterTimeout(Elastic.Clients.Elasticsearch.Duration? value) @@ -246,12 +233,6 @@ public Elastic.Clients.Elasticsearch.Snapshot.CloneSnapshotRequestDescriptor Mas return this; } - /// - /// - /// A comma-separated list of indices to include in the snapshot. - /// Multi-target syntax is supported. - /// - /// public Elastic.Clients.Elasticsearch.Snapshot.CloneSnapshotRequestDescriptor Indices(string value) { Instance.Indices = value; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/CreateRepositoryRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/CreateRepositoryRequest.g.cs index d6c38ee0690..221c1f1b942 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/CreateRepositoryRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/CreateRepositoryRequest.g.cs @@ -27,27 +27,21 @@ public sealed partial class CreateRepositoryRequestParameters : Elastic.Transpor { /// /// - /// The period to wait for the master node. - /// If the master node is not available before the timeout expires, the request fails and returns an error. - /// To indicate that the request should never timeout, set it to -1. + /// Explicit operation timeout for connection to master node /// /// public Elastic.Clients.Elasticsearch.Duration? MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); } /// /// - /// The period to wait for a response from all relevant nodes in the cluster after updating the cluster metadata. - /// If no response is received before the timeout expires, the cluster metadata update still applies but the response will indicate that it was not completely acknowledged. - /// To indicate that the request should never timeout, set it to -1. + /// Explicit operation timeout /// /// public Elastic.Clients.Elasticsearch.Duration? Timeout { get => Q("timeout"); set => Q("timeout", value); } /// /// - /// If true, the request verifies the repository is functional on all master and data nodes in the cluster. - /// If false, this verification is skipped. - /// You can also perform this verification with the verify snapshot repository API. + /// Whether to verify the repository after creation /// /// public bool? Verify { get => Q("verify"); set => Q("verify", value); } @@ -73,10 +67,6 @@ public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clien /// To register a snapshot repository, the cluster's global metadata must be writeable. /// Ensure there are no cluster blocks (for example, cluster.blocks.read_only and clsuter.blocks.read_only_allow_delete settings) that prevent write access. /// -/// -/// Several options for this API can be specified using a query parameter or a request body parameter. -/// If both parameters are specified, only the query parameter is used. -/// /// [System.Text.Json.Serialization.JsonConverter(typeof(Elastic.Clients.Elasticsearch.Snapshot.CreateRepositoryRequestConverter))] public sealed partial class CreateRepositoryRequest : Elastic.Clients.Elasticsearch.Requests.PlainRequest @@ -113,7 +103,7 @@ internal CreateRepositoryRequest(Elastic.Clients.Elasticsearch.Serialization.Jso /// /// - /// The name of the snapshot repository to register or update. + /// A repository name /// /// public @@ -124,27 +114,21 @@ internal CreateRepositoryRequest(Elastic.Clients.Elasticsearch.Serialization.Jso /// /// - /// The period to wait for the master node. - /// If the master node is not available before the timeout expires, the request fails and returns an error. - /// To indicate that the request should never timeout, set it to -1. + /// Explicit operation timeout for connection to master node /// /// public Elastic.Clients.Elasticsearch.Duration? MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); } /// /// - /// The period to wait for a response from all relevant nodes in the cluster after updating the cluster metadata. - /// If no response is received before the timeout expires, the cluster metadata update still applies but the response will indicate that it was not completely acknowledged. - /// To indicate that the request should never timeout, set it to -1. + /// Explicit operation timeout /// /// public Elastic.Clients.Elasticsearch.Duration? Timeout { get => Q("timeout"); set => Q("timeout", value); } /// /// - /// If true, the request verifies the repository is functional on all master and data nodes in the cluster. - /// If false, this verification is skipped. - /// You can also perform this verification with the verify snapshot repository API. + /// Whether to verify the repository after creation /// /// public bool? Verify { get => Q("verify"); set => Q("verify", value); } @@ -162,10 +146,6 @@ internal CreateRepositoryRequest(Elastic.Clients.Elasticsearch.Serialization.Jso /// To register a snapshot repository, the cluster's global metadata must be writeable. /// Ensure there are no cluster blocks (for example, cluster.blocks.read_only and clsuter.blocks.read_only_allow_delete settings) that prevent write access. /// -/// -/// Several options for this API can be specified using a query parameter or a request body parameter. -/// If both parameters are specified, only the query parameter is used. -/// /// public readonly partial struct CreateRepositoryRequestDescriptor { @@ -195,7 +175,7 @@ public CreateRepositoryRequestDescriptor() /// /// - /// The name of the snapshot repository to register or update. + /// A repository name /// /// public Elastic.Clients.Elasticsearch.Snapshot.CreateRepositoryRequestDescriptor Name(Elastic.Clients.Elasticsearch.Name value) @@ -206,9 +186,7 @@ public Elastic.Clients.Elasticsearch.Snapshot.CreateRepositoryRequestDescriptor /// /// - /// The period to wait for the master node. - /// If the master node is not available before the timeout expires, the request fails and returns an error. - /// To indicate that the request should never timeout, set it to -1. + /// Explicit operation timeout for connection to master node /// /// public Elastic.Clients.Elasticsearch.Snapshot.CreateRepositoryRequestDescriptor MasterTimeout(Elastic.Clients.Elasticsearch.Duration? value) @@ -219,9 +197,7 @@ public Elastic.Clients.Elasticsearch.Snapshot.CreateRepositoryRequestDescriptor /// /// - /// The period to wait for a response from all relevant nodes in the cluster after updating the cluster metadata. - /// If no response is received before the timeout expires, the cluster metadata update still applies but the response will indicate that it was not completely acknowledged. - /// To indicate that the request should never timeout, set it to -1. + /// Explicit operation timeout /// /// public Elastic.Clients.Elasticsearch.Snapshot.CreateRepositoryRequestDescriptor Timeout(Elastic.Clients.Elasticsearch.Duration? value) @@ -232,9 +208,7 @@ public Elastic.Clients.Elasticsearch.Snapshot.CreateRepositoryRequestDescriptor /// /// - /// If true, the request verifies the repository is functional on all master and data nodes in the cluster. - /// If false, this verification is skipped. - /// You can also perform this verification with the verify snapshot repository API. + /// Whether to verify the repository after creation /// /// public Elastic.Clients.Elasticsearch.Snapshot.CreateRepositoryRequestDescriptor Verify(bool? value = true) diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/CreateSnapshotRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/CreateSnapshotRequest.g.cs index ccd1c8aa349..6db739899bc 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/CreateSnapshotRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/CreateSnapshotRequest.g.cs @@ -27,16 +27,14 @@ public sealed partial class CreateSnapshotRequestParameters : Elastic.Transport. { /// /// - /// The period to wait for a connection to the master node. - /// If no response is received before the timeout expires, the request fails and returns an error. + /// Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error. /// /// public Elastic.Clients.Elasticsearch.Duration? MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); } /// /// - /// If true, the request returns a response when the snapshot is complete. - /// If false, the request returns a response when the snapshot initializes. + /// If true, the request returns a response when the snapshot is complete. If false, the request returns a response when the snapshot initializes. /// /// public bool? WaitForCompletion { get => Q("wait_for_completion"); set => Q("wait_for_completion", value); } @@ -44,7 +42,6 @@ public sealed partial class CreateSnapshotRequestParameters : Elastic.Transport. internal sealed partial class CreateSnapshotRequestConverter : System.Text.Json.Serialization.JsonConverter { - private static readonly System.Text.Json.JsonEncodedText PropExpandWildcards = System.Text.Json.JsonEncodedText.Encode("expand_wildcards"); private static readonly System.Text.Json.JsonEncodedText PropFeatureStates = System.Text.Json.JsonEncodedText.Encode("feature_states"); private static readonly System.Text.Json.JsonEncodedText PropIgnoreUnavailable = System.Text.Json.JsonEncodedText.Encode("ignore_unavailable"); private static readonly System.Text.Json.JsonEncodedText PropIncludeGlobalState = System.Text.Json.JsonEncodedText.Encode("include_global_state"); @@ -55,7 +52,6 @@ internal sealed partial class CreateSnapshotRequestConverter : System.Text.Json. public override Elastic.Clients.Elasticsearch.Snapshot.CreateSnapshotRequest Read(ref System.Text.Json.Utf8JsonReader reader, System.Type typeToConvert, System.Text.Json.JsonSerializerOptions options) { reader.ValidateToken(System.Text.Json.JsonTokenType.StartObject); - LocalJsonValue?> propExpandWildcards = default; LocalJsonValue?> propFeatureStates = default; LocalJsonValue propIgnoreUnavailable = default; LocalJsonValue propIncludeGlobalState = default; @@ -64,11 +60,6 @@ public override Elastic.Clients.Elasticsearch.Snapshot.CreateSnapshotRequest Rea LocalJsonValue propPartial = default; while (reader.Read() && reader.TokenType is System.Text.Json.JsonTokenType.PropertyName) { - if (propExpandWildcards.TryReadProperty(ref reader, options, PropExpandWildcards, static System.Collections.Generic.ICollection? (ref System.Text.Json.Utf8JsonReader r, System.Text.Json.JsonSerializerOptions o) => r.ReadSingleOrManyCollectionValue(o, null))) - { - continue; - } - if (propFeatureStates.TryReadProperty(ref reader, options, PropFeatureStates, static System.Collections.Generic.ICollection? (ref System.Text.Json.Utf8JsonReader r, System.Text.Json.JsonSerializerOptions o) => r.ReadCollectionValue(o, null))) { continue; @@ -111,7 +102,6 @@ public override Elastic.Clients.Elasticsearch.Snapshot.CreateSnapshotRequest Rea reader.ValidateToken(System.Text.Json.JsonTokenType.EndObject); return new Elastic.Clients.Elasticsearch.Snapshot.CreateSnapshotRequest(Elastic.Clients.Elasticsearch.Serialization.JsonConstructorSentinel.Instance) { - ExpandWildcards = propExpandWildcards.Value, FeatureStates = propFeatureStates.Value, IgnoreUnavailable = propIgnoreUnavailable.Value, IncludeGlobalState = propIncludeGlobalState.Value, @@ -124,7 +114,6 @@ public override Elastic.Clients.Elasticsearch.Snapshot.CreateSnapshotRequest Rea public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clients.Elasticsearch.Snapshot.CreateSnapshotRequest value, System.Text.Json.JsonSerializerOptions options) { writer.WriteStartObject(); - writer.WriteProperty(options, PropExpandWildcards, value.ExpandWildcards, null, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, System.Collections.Generic.ICollection? v) => w.WriteSingleOrManyCollectionValue(o, v, null)); writer.WriteProperty(options, PropFeatureStates, value.FeatureStates, null, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, System.Collections.Generic.ICollection? v) => w.WriteCollectionValue(o, v, null)); writer.WriteProperty(options, PropIgnoreUnavailable, value.IgnoreUnavailable, null, null); writer.WriteProperty(options, PropIncludeGlobalState, value.IncludeGlobalState, null, null); @@ -169,7 +158,7 @@ internal CreateSnapshotRequest(Elastic.Clients.Elasticsearch.Serialization.JsonC /// /// - /// The name of the repository for the snapshot. + /// Repository for the snapshot. /// /// public @@ -180,9 +169,7 @@ internal CreateSnapshotRequest(Elastic.Clients.Elasticsearch.Serialization.JsonC /// /// - /// The name of the snapshot. - /// It supportes date math. - /// It must be unique in the repository. + /// Name of the snapshot. Must be unique in the repository. /// /// public @@ -193,93 +180,56 @@ internal CreateSnapshotRequest(Elastic.Clients.Elasticsearch.Serialization.JsonC /// /// - /// The period to wait for a connection to the master node. - /// If no response is received before the timeout expires, the request fails and returns an error. + /// Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error. /// /// public Elastic.Clients.Elasticsearch.Duration? MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); } /// /// - /// If true, the request returns a response when the snapshot is complete. - /// If false, the request returns a response when the snapshot initializes. + /// If true, the request returns a response when the snapshot is complete. If false, the request returns a response when the snapshot initializes. /// /// public bool? WaitForCompletion { get => Q("wait_for_completion"); set => Q("wait_for_completion", value); } /// /// - /// Determines how wildcard patterns in the indices parameter match data streams and indices. - /// It supports comma-separated values such as open,hidden. - /// - /// - public System.Collections.Generic.ICollection? ExpandWildcards { get; set; } - - /// - /// - /// The feature states to include in the snapshot. - /// Each feature state includes one or more system indices containing related data. - /// You can view a list of eligible features using the get features API. - /// - /// - /// If include_global_state is true, all current feature states are included by default. - /// If include_global_state is false, no feature states are included by default. - /// - /// - /// Note that specifying an empty array will result in the default behavior. - /// To exclude all feature states, regardless of the include_global_state value, specify an array with only the value none (["none"]). + /// Feature states to include in the snapshot. Each feature state includes one or more system indices containing related data. You can view a list of eligible features using the get features API. If include_global_state is true, all current feature states are included by default. If include_global_state is false, no feature states are included by default. /// /// public System.Collections.Generic.ICollection? FeatureStates { get; set; } /// /// - /// If true, the request ignores data streams and indices in indices that are missing or closed. - /// If false, the request returns an error for any data stream or index that is missing or closed. + /// If true, the request ignores data streams and indices in indices that are missing or closed. If false, the request returns an error for any data stream or index that is missing or closed. /// /// public bool? IgnoreUnavailable { get; set; } /// /// - /// If true, the current cluster state is included in the snapshot. - /// The cluster state includes persistent cluster settings, composable index templates, legacy index templates, ingest pipelines, and ILM policies. - /// It also includes data stored in system indices, such as Watches and task records (configurable via feature_states). + /// If true, the current cluster state is included in the snapshot. The cluster state includes persistent cluster settings, composable index templates, legacy index templates, ingest pipelines, and ILM policies. It also includes data stored in system indices, such as Watches and task records (configurable via feature_states). /// /// public bool? IncludeGlobalState { get; set; } /// /// - /// A comma-separated list of data streams and indices to include in the snapshot. - /// It supports a multi-target syntax. - /// The default is an empty array ([]), which includes all regular data streams and regular indices. - /// To exclude all data streams and indices, use -*. - /// - /// - /// You can't use this parameter to include or exclude system indices or system data streams from a snapshot. - /// Use feature_states instead. + /// Data streams and indices to include in the snapshot. Supports multi-target syntax. Includes all data streams and indices by default. /// /// public Elastic.Clients.Elasticsearch.Indices? Indices { get; set; } /// /// - /// Arbitrary metadata to the snapshot, such as a record of who took the snapshot, why it was taken, or any other useful data. - /// It can have any contents but it must be less than 1024 bytes. - /// This information is not automatically generated by Elasticsearch. + /// Optional metadata for the snapshot. May have any contents. Must be less than 1024 bytes. This map is not automatically generated by Elasticsearch. /// /// public System.Collections.Generic.IDictionary? Metadata { get; set; } /// /// - /// If true, it enables you to restore a partial snapshot of indices with unavailable shards. - /// Only shards that were successfully included in the snapshot will be restored. - /// All missing shards will be recreated as empty. - /// - /// - /// If false, the entire restore operation will fail if one or more indices included in the snapshot do not have all primary shards available. + /// If true, allows restoring a partial snapshot of indices with unavailable shards. Only shards that were successfully included in the snapshot will be restored. All missing shards will be recreated as empty. If false, the entire restore operation will fail if one or more indices included in the snapshot do not have all primary shards available. /// /// public bool? Partial { get; set; } @@ -317,7 +267,7 @@ public CreateSnapshotRequestDescriptor() /// /// - /// The name of the repository for the snapshot. + /// Repository for the snapshot. /// /// public Elastic.Clients.Elasticsearch.Snapshot.CreateSnapshotRequestDescriptor Repository(Elastic.Clients.Elasticsearch.Name value) @@ -328,9 +278,7 @@ public Elastic.Clients.Elasticsearch.Snapshot.CreateSnapshotRequestDescriptor Re /// /// - /// The name of the snapshot. - /// It supportes date math. - /// It must be unique in the repository. + /// Name of the snapshot. Must be unique in the repository. /// /// public Elastic.Clients.Elasticsearch.Snapshot.CreateSnapshotRequestDescriptor Snapshot(Elastic.Clients.Elasticsearch.Name value) @@ -341,8 +289,7 @@ public Elastic.Clients.Elasticsearch.Snapshot.CreateSnapshotRequestDescriptor Sn /// /// - /// The period to wait for a connection to the master node. - /// If no response is received before the timeout expires, the request fails and returns an error. + /// Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error. /// /// public Elastic.Clients.Elasticsearch.Snapshot.CreateSnapshotRequestDescriptor MasterTimeout(Elastic.Clients.Elasticsearch.Duration? value) @@ -353,8 +300,7 @@ public Elastic.Clients.Elasticsearch.Snapshot.CreateSnapshotRequestDescriptor Ma /// /// - /// If true, the request returns a response when the snapshot is complete. - /// If false, the request returns a response when the snapshot initializes. + /// If true, the request returns a response when the snapshot is complete. If false, the request returns a response when the snapshot initializes. /// /// public Elastic.Clients.Elasticsearch.Snapshot.CreateSnapshotRequestDescriptor WaitForCompletion(bool? value = true) @@ -365,41 +311,7 @@ public Elastic.Clients.Elasticsearch.Snapshot.CreateSnapshotRequestDescriptor Wa /// /// - /// Determines how wildcard patterns in the indices parameter match data streams and indices. - /// It supports comma-separated values such as open,hidden. - /// - /// - public Elastic.Clients.Elasticsearch.Snapshot.CreateSnapshotRequestDescriptor ExpandWildcards(System.Collections.Generic.ICollection? value) - { - Instance.ExpandWildcards = value; - return this; - } - - /// - /// - /// Determines how wildcard patterns in the indices parameter match data streams and indices. - /// It supports comma-separated values such as open,hidden. - /// - /// - public Elastic.Clients.Elasticsearch.Snapshot.CreateSnapshotRequestDescriptor ExpandWildcards(params Elastic.Clients.Elasticsearch.ExpandWildcard[] values) - { - Instance.ExpandWildcards = [.. values]; - return this; - } - - /// - /// - /// The feature states to include in the snapshot. - /// Each feature state includes one or more system indices containing related data. - /// You can view a list of eligible features using the get features API. - /// - /// - /// If include_global_state is true, all current feature states are included by default. - /// If include_global_state is false, no feature states are included by default. - /// - /// - /// Note that specifying an empty array will result in the default behavior. - /// To exclude all feature states, regardless of the include_global_state value, specify an array with only the value none (["none"]). + /// Feature states to include in the snapshot. Each feature state includes one or more system indices containing related data. You can view a list of eligible features using the get features API. If include_global_state is true, all current feature states are included by default. If include_global_state is false, no feature states are included by default. /// /// public Elastic.Clients.Elasticsearch.Snapshot.CreateSnapshotRequestDescriptor FeatureStates(System.Collections.Generic.ICollection? value) @@ -410,17 +322,7 @@ public Elastic.Clients.Elasticsearch.Snapshot.CreateSnapshotRequestDescriptor Fe /// /// - /// The feature states to include in the snapshot. - /// Each feature state includes one or more system indices containing related data. - /// You can view a list of eligible features using the get features API. - /// - /// - /// If include_global_state is true, all current feature states are included by default. - /// If include_global_state is false, no feature states are included by default. - /// - /// - /// Note that specifying an empty array will result in the default behavior. - /// To exclude all feature states, regardless of the include_global_state value, specify an array with only the value none (["none"]). + /// Feature states to include in the snapshot. Each feature state includes one or more system indices containing related data. You can view a list of eligible features using the get features API. If include_global_state is true, all current feature states are included by default. If include_global_state is false, no feature states are included by default. /// /// public Elastic.Clients.Elasticsearch.Snapshot.CreateSnapshotRequestDescriptor FeatureStates(params string[] values) @@ -431,8 +333,7 @@ public Elastic.Clients.Elasticsearch.Snapshot.CreateSnapshotRequestDescriptor Fe /// /// - /// If true, the request ignores data streams and indices in indices that are missing or closed. - /// If false, the request returns an error for any data stream or index that is missing or closed. + /// If true, the request ignores data streams and indices in indices that are missing or closed. If false, the request returns an error for any data stream or index that is missing or closed. /// /// public Elastic.Clients.Elasticsearch.Snapshot.CreateSnapshotRequestDescriptor IgnoreUnavailable(bool? value = true) @@ -443,9 +344,7 @@ public Elastic.Clients.Elasticsearch.Snapshot.CreateSnapshotRequestDescriptor Ig /// /// - /// If true, the current cluster state is included in the snapshot. - /// The cluster state includes persistent cluster settings, composable index templates, legacy index templates, ingest pipelines, and ILM policies. - /// It also includes data stored in system indices, such as Watches and task records (configurable via feature_states). + /// If true, the current cluster state is included in the snapshot. The cluster state includes persistent cluster settings, composable index templates, legacy index templates, ingest pipelines, and ILM policies. It also includes data stored in system indices, such as Watches and task records (configurable via feature_states). /// /// public Elastic.Clients.Elasticsearch.Snapshot.CreateSnapshotRequestDescriptor IncludeGlobalState(bool? value = true) @@ -456,14 +355,7 @@ public Elastic.Clients.Elasticsearch.Snapshot.CreateSnapshotRequestDescriptor In /// /// - /// A comma-separated list of data streams and indices to include in the snapshot. - /// It supports a multi-target syntax. - /// The default is an empty array ([]), which includes all regular data streams and regular indices. - /// To exclude all data streams and indices, use -*. - /// - /// - /// You can't use this parameter to include or exclude system indices or system data streams from a snapshot. - /// Use feature_states instead. + /// Data streams and indices to include in the snapshot. Supports multi-target syntax. Includes all data streams and indices by default. /// /// public Elastic.Clients.Elasticsearch.Snapshot.CreateSnapshotRequestDescriptor Indices(Elastic.Clients.Elasticsearch.Indices? value) @@ -474,9 +366,7 @@ public Elastic.Clients.Elasticsearch.Snapshot.CreateSnapshotRequestDescriptor In /// /// - /// Arbitrary metadata to the snapshot, such as a record of who took the snapshot, why it was taken, or any other useful data. - /// It can have any contents but it must be less than 1024 bytes. - /// This information is not automatically generated by Elasticsearch. + /// Optional metadata for the snapshot. May have any contents. Must be less than 1024 bytes. This map is not automatically generated by Elasticsearch. /// /// public Elastic.Clients.Elasticsearch.Snapshot.CreateSnapshotRequestDescriptor Metadata(System.Collections.Generic.IDictionary? value) @@ -487,9 +377,7 @@ public Elastic.Clients.Elasticsearch.Snapshot.CreateSnapshotRequestDescriptor Me /// /// - /// Arbitrary metadata to the snapshot, such as a record of who took the snapshot, why it was taken, or any other useful data. - /// It can have any contents but it must be less than 1024 bytes. - /// This information is not automatically generated by Elasticsearch. + /// Optional metadata for the snapshot. May have any contents. Must be less than 1024 bytes. This map is not automatically generated by Elasticsearch. /// /// public Elastic.Clients.Elasticsearch.Snapshot.CreateSnapshotRequestDescriptor Metadata() @@ -500,9 +388,7 @@ public Elastic.Clients.Elasticsearch.Snapshot.CreateSnapshotRequestDescriptor Me /// /// - /// Arbitrary metadata to the snapshot, such as a record of who took the snapshot, why it was taken, or any other useful data. - /// It can have any contents but it must be less than 1024 bytes. - /// This information is not automatically generated by Elasticsearch. + /// Optional metadata for the snapshot. May have any contents. Must be less than 1024 bytes. This map is not automatically generated by Elasticsearch. /// /// public Elastic.Clients.Elasticsearch.Snapshot.CreateSnapshotRequestDescriptor Metadata(System.Action? action) @@ -520,12 +406,7 @@ public Elastic.Clients.Elasticsearch.Snapshot.CreateSnapshotRequestDescriptor Ad /// /// - /// If true, it enables you to restore a partial snapshot of indices with unavailable shards. - /// Only shards that were successfully included in the snapshot will be restored. - /// All missing shards will be recreated as empty. - /// - /// - /// If false, the entire restore operation will fail if one or more indices included in the snapshot do not have all primary shards available. + /// If true, allows restoring a partial snapshot of indices with unavailable shards. Only shards that were successfully included in the snapshot will be restored. All missing shards will be recreated as empty. If false, the entire restore operation will fail if one or more indices included in the snapshot do not have all primary shards available. /// /// public Elastic.Clients.Elasticsearch.Snapshot.CreateSnapshotRequestDescriptor Partial(bool? value = true) diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/DeleteRepositoryRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/DeleteRepositoryRequest.g.cs index f08c12b81a6..a6a3c2c516b 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/DeleteRepositoryRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/DeleteRepositoryRequest.g.cs @@ -27,18 +27,14 @@ public sealed partial class DeleteRepositoryRequestParameters : Elastic.Transpor { /// /// - /// The period to wait for the master node. - /// If the master node is not available before the timeout expires, the request fails and returns an error. - /// To indicate that the request should never timeout, set it to -1. + /// Explicit operation timeout for connection to master node /// /// public Elastic.Clients.Elasticsearch.Duration? MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); } /// /// - /// The period to wait for a response from all relevant nodes in the cluster after updating the cluster metadata. - /// If no response is received before the timeout expires, the cluster metadata update still applies but the response will indicate that it was not completely acknowledged. - /// To indicate that the request should never timeout, set it to -1. + /// Explicit operation timeout /// /// public Elastic.Clients.Elasticsearch.Duration? Timeout { get => Q("timeout"); set => Q("timeout", value); } @@ -108,8 +104,7 @@ internal DeleteRepositoryRequest(Elastic.Clients.Elasticsearch.Serialization.Jso /// /// - /// The ame of the snapshot repositories to unregister. - /// Wildcard (*) patterns are supported. + /// Name of the snapshot repository to unregister. Wildcard (*) patterns are supported. /// /// public @@ -120,18 +115,14 @@ internal DeleteRepositoryRequest(Elastic.Clients.Elasticsearch.Serialization.Jso /// /// - /// The period to wait for the master node. - /// If the master node is not available before the timeout expires, the request fails and returns an error. - /// To indicate that the request should never timeout, set it to -1. + /// Explicit operation timeout for connection to master node /// /// public Elastic.Clients.Elasticsearch.Duration? MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); } /// /// - /// The period to wait for a response from all relevant nodes in the cluster after updating the cluster metadata. - /// If no response is received before the timeout expires, the cluster metadata update still applies but the response will indicate that it was not completely acknowledged. - /// To indicate that the request should never timeout, set it to -1. + /// Explicit operation timeout /// /// public Elastic.Clients.Elasticsearch.Duration? Timeout { get => Q("timeout"); set => Q("timeout", value); } @@ -170,8 +161,7 @@ public DeleteRepositoryRequestDescriptor() /// /// - /// The ame of the snapshot repositories to unregister. - /// Wildcard (*) patterns are supported. + /// Name of the snapshot repository to unregister. Wildcard (*) patterns are supported. /// /// public Elastic.Clients.Elasticsearch.Snapshot.DeleteRepositoryRequestDescriptor Name(Elastic.Clients.Elasticsearch.Names value) @@ -182,9 +172,7 @@ public Elastic.Clients.Elasticsearch.Snapshot.DeleteRepositoryRequestDescriptor /// /// - /// The period to wait for the master node. - /// If the master node is not available before the timeout expires, the request fails and returns an error. - /// To indicate that the request should never timeout, set it to -1. + /// Explicit operation timeout for connection to master node /// /// public Elastic.Clients.Elasticsearch.Snapshot.DeleteRepositoryRequestDescriptor MasterTimeout(Elastic.Clients.Elasticsearch.Duration? value) @@ -195,9 +183,7 @@ public Elastic.Clients.Elasticsearch.Snapshot.DeleteRepositoryRequestDescriptor /// /// - /// The period to wait for a response from all relevant nodes in the cluster after updating the cluster metadata. - /// If no response is received before the timeout expires, the cluster metadata update still applies but the response will indicate that it was not completely acknowledged. - /// To indicate that the request should never timeout, set it to -1. + /// Explicit operation timeout /// /// public Elastic.Clients.Elasticsearch.Snapshot.DeleteRepositoryRequestDescriptor Timeout(Elastic.Clients.Elasticsearch.Duration? value) diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/DeleteSnapshotRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/DeleteSnapshotRequest.g.cs index 17b6bbdb543..afec2b79baa 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/DeleteSnapshotRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/DeleteSnapshotRequest.g.cs @@ -27,9 +27,7 @@ public sealed partial class DeleteSnapshotRequestParameters : Elastic.Transport. { /// /// - /// The period to wait for the master node. - /// If the master node is not available before the timeout expires, the request fails and returns an error. - /// To indicate that the request should never timeout, set it to -1. + /// Explicit operation timeout for connection to master node /// /// public Elastic.Clients.Elasticsearch.Duration? MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); } @@ -97,7 +95,7 @@ internal DeleteSnapshotRequest(Elastic.Clients.Elasticsearch.Serialization.JsonC /// /// - /// The name of the repository to delete a snapshot from. + /// A repository name /// /// public @@ -108,8 +106,7 @@ internal DeleteSnapshotRequest(Elastic.Clients.Elasticsearch.Serialization.JsonC /// /// - /// A comma-separated list of snapshot names to delete. - /// It also accepts wildcards (*). + /// A comma-separated list of snapshot names /// /// public @@ -120,9 +117,7 @@ internal DeleteSnapshotRequest(Elastic.Clients.Elasticsearch.Serialization.JsonC /// /// - /// The period to wait for the master node. - /// If the master node is not available before the timeout expires, the request fails and returns an error. - /// To indicate that the request should never timeout, set it to -1. + /// Explicit operation timeout for connection to master node /// /// public Elastic.Clients.Elasticsearch.Duration? MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); } @@ -159,7 +154,7 @@ public DeleteSnapshotRequestDescriptor() /// /// - /// The name of the repository to delete a snapshot from. + /// A repository name /// /// public Elastic.Clients.Elasticsearch.Snapshot.DeleteSnapshotRequestDescriptor Repository(Elastic.Clients.Elasticsearch.Name value) @@ -170,8 +165,7 @@ public Elastic.Clients.Elasticsearch.Snapshot.DeleteSnapshotRequestDescriptor Re /// /// - /// A comma-separated list of snapshot names to delete. - /// It also accepts wildcards (*). + /// A comma-separated list of snapshot names /// /// public Elastic.Clients.Elasticsearch.Snapshot.DeleteSnapshotRequestDescriptor Snapshot(Elastic.Clients.Elasticsearch.Name value) @@ -182,9 +176,7 @@ public Elastic.Clients.Elasticsearch.Snapshot.DeleteSnapshotRequestDescriptor Sn /// /// - /// The period to wait for the master node. - /// If the master node is not available before the timeout expires, the request fails and returns an error. - /// To indicate that the request should never timeout, set it to -1. + /// Explicit operation timeout for connection to master node /// /// public Elastic.Clients.Elasticsearch.Snapshot.DeleteSnapshotRequestDescriptor MasterTimeout(Elastic.Clients.Elasticsearch.Duration? value) diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/GetRepositoryRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/GetRepositoryRequest.g.cs index dd3a91c2b9f..18cf6dcaf63 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/GetRepositoryRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/GetRepositoryRequest.g.cs @@ -27,17 +27,14 @@ public sealed partial class GetRepositoryRequestParameters : Elastic.Transport.R { /// /// - /// If true, the request gets information from the local node only. - /// If false, the request gets information from the master node. + /// Return local information, do not retrieve the state from master node (default: false) /// /// public bool? Local { get => Q("local"); set => Q("local", value); } /// /// - /// The period to wait for the master node. - /// If the master node is not available before the timeout expires, the request fails and returns an error. - /// To indicate that the request should never timeout, set it to -1. + /// Explicit operation timeout for connection to master node /// /// public Elastic.Clients.Elasticsearch.Duration? MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); } @@ -109,28 +106,21 @@ internal GetRepositoryRequest(Elastic.Clients.Elasticsearch.Serialization.JsonCo /// /// - /// A comma-separated list of snapshot repository names used to limit the request. - /// Wildcard (*) expressions are supported including combining wildcards with exclude patterns starting with -. - /// - /// - /// To get information about all snapshot repositories registered in the cluster, omit this parameter or use * or _all. + /// A comma-separated list of repository names /// /// public Elastic.Clients.Elasticsearch.Names? Name { get => P("repository"); set => PO("repository", value); } /// /// - /// If true, the request gets information from the local node only. - /// If false, the request gets information from the master node. + /// Return local information, do not retrieve the state from master node (default: false) /// /// public bool? Local { get => Q("local"); set => Q("local", value); } /// /// - /// The period to wait for the master node. - /// If the master node is not available before the timeout expires, the request fails and returns an error. - /// To indicate that the request should never timeout, set it to -1. + /// Explicit operation timeout for connection to master node /// /// public Elastic.Clients.Elasticsearch.Duration? MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); } @@ -166,11 +156,7 @@ public GetRepositoryRequestDescriptor() /// /// - /// A comma-separated list of snapshot repository names used to limit the request. - /// Wildcard (*) expressions are supported including combining wildcards with exclude patterns starting with -. - /// - /// - /// To get information about all snapshot repositories registered in the cluster, omit this parameter or use * or _all. + /// A comma-separated list of repository names /// /// public Elastic.Clients.Elasticsearch.Snapshot.GetRepositoryRequestDescriptor Name(Elastic.Clients.Elasticsearch.Names? value) @@ -181,8 +167,7 @@ public Elastic.Clients.Elasticsearch.Snapshot.GetRepositoryRequestDescriptor Nam /// /// - /// If true, the request gets information from the local node only. - /// If false, the request gets information from the master node. + /// Return local information, do not retrieve the state from master node (default: false) /// /// public Elastic.Clients.Elasticsearch.Snapshot.GetRepositoryRequestDescriptor Local(bool? value = true) @@ -193,9 +178,7 @@ public Elastic.Clients.Elasticsearch.Snapshot.GetRepositoryRequestDescriptor Loc /// /// - /// The period to wait for the master node. - /// If the master node is not available before the timeout expires, the request fails and returns an error. - /// To indicate that the request should never timeout, set it to -1. + /// Explicit operation timeout for connection to master node /// /// public Elastic.Clients.Elasticsearch.Snapshot.GetRepositoryRequestDescriptor MasterTimeout(Elastic.Clients.Elasticsearch.Duration? value) diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/GetRepositoryResponse.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/GetRepositoryResponse.g.cs index d905bdabc2c..75a100c62fb 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/GetRepositoryResponse.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/GetRepositoryResponse.g.cs @@ -27,12 +27,12 @@ internal sealed partial class GetRepositoryResponseConverter : System.Text.Json. { public override Elastic.Clients.Elasticsearch.Snapshot.GetRepositoryResponse Read(ref System.Text.Json.Utf8JsonReader reader, System.Type typeToConvert, System.Text.Json.JsonSerializerOptions options) { - return new Elastic.Clients.Elasticsearch.Snapshot.GetRepositoryResponse(Elastic.Clients.Elasticsearch.Serialization.JsonConstructorSentinel.Instance) { Repositories = reader.ReadValue(options, null) }; + return new Elastic.Clients.Elasticsearch.Snapshot.GetRepositoryResponse(Elastic.Clients.Elasticsearch.Serialization.JsonConstructorSentinel.Instance) { Values = reader.ReadValue(options, null) }; } public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clients.Elasticsearch.Snapshot.GetRepositoryResponse value, System.Text.Json.JsonSerializerOptions options) { - writer.WriteValue(options, value.Repositories, null); + writer.WriteValue(options, value.Values, null); } } @@ -54,5 +54,5 @@ internal GetRepositoryResponse(Elastic.Clients.Elasticsearch.Serialization.JsonC #if NET7_0_OR_GREATER required #endif -Elastic.Clients.Elasticsearch.Snapshot.Repositories Repositories { get; set; } +Elastic.Clients.Elasticsearch.Snapshot.Repositories Values { get; set; } } \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/GetSnapshotRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/GetSnapshotRequest.g.cs index 798a4877fdd..d7b11edd633 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/GetSnapshotRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/GetSnapshotRequest.g.cs @@ -27,53 +27,49 @@ public sealed partial class GetSnapshotRequestParameters : Elastic.Transport.Req { /// /// - /// An offset identifier to start pagination from as returned by the next field in the response body. + /// Offset identifier to start pagination from as returned by the next field in the response body. /// /// public string? After { get => Q("after"); set => Q("after", value); } /// /// - /// The value of the current sort column at which to start retrieval. - /// It can be a string snapshot- or a repository name when sorting by snapshot or repository name. - /// It can be a millisecond time value or a number when sorting by index- or shard count. + /// Value of the current sort column at which to start retrieval. Can either be a string snapshot- or repository name when sorting by snapshot or repository name, a millisecond time value or a number when sorting by index- or shard count. /// /// public string? FromSortValue { get => Q("from_sort_value"); set => Q("from_sort_value", value); } /// /// - /// If false, the request returns an error for any snapshots that are unavailable. + /// If false, the request returns an error for any snapshots that are unavailable. /// /// public bool? IgnoreUnavailable { get => Q("ignore_unavailable"); set => Q("ignore_unavailable", value); } /// /// - /// If true, the response includes the repository name in each snapshot. + /// If true, returns the repository name in each snapshot. /// /// public bool? IncludeRepository { get => Q("include_repository"); set => Q("include_repository", value); } /// /// - /// If true, the response includes additional information about each index in the snapshot comprising the number of shards in the index, the total size of the index in bytes, and the maximum number of segments per shard in the index. - /// The default is false, meaning that this information is omitted. + /// If true, returns additional information about each index in the snapshot comprising the number of shards in the index, the total size of the index in bytes, and the maximum number of segments per shard in the index. Defaults to false, meaning that this information is omitted. /// /// public bool? IndexDetails { get => Q("index_details"); set => Q("index_details", value); } /// /// - /// If true, the response includes the name of each index in each snapshot. + /// If true, returns the name of each index in each snapshot. /// /// public bool? IndexNames { get => Q("index_names"); set => Q("index_names", value); } /// /// - /// The period to wait for a connection to the master node. - /// If no response is received before the timeout expires, the request fails and returns an error. + /// Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error. /// /// public Elastic.Clients.Elasticsearch.Duration? MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); } @@ -87,48 +83,35 @@ public sealed partial class GetSnapshotRequestParameters : Elastic.Transport.Req /// /// - /// The sort order. - /// Valid values are asc for ascending and desc for descending order. - /// The default behavior is ascending order. + /// Sort order. Valid values are asc for ascending and desc for descending order. Defaults to asc, meaning ascending order. /// /// public Elastic.Clients.Elasticsearch.SortOrder? Order { get => Q("order"); set => Q("order", value); } /// /// - /// The maximum number of snapshots to return. - /// The default is 0, which means to return all that match the request without limit. + /// Maximum number of snapshots to return. Defaults to 0 which means return all that match the request without limit. /// /// public int? Size { get => Q("size"); set => Q("size", value); } /// /// - /// Filter snapshots by a comma-separated list of snapshot lifecycle management (SLM) policy names that snapshots belong to. - /// - /// - /// You can use wildcards (*) and combinations of wildcards followed by exclude patterns starting with -. - /// For example, the pattern *,-policy-a-\* will return all snapshots except for those that were created by an SLM policy with a name starting with policy-a-. - /// Note that the wildcard pattern * matches all snapshots created by an SLM policy but not those snapshots that were not created by an SLM policy. - /// To include snapshots that were not created by an SLM policy, you can use the special pattern _none that will match all snapshots without an SLM policy. + /// Filter snapshots by a comma-separated list of SLM policy names that snapshots belong to. Also accepts wildcards (*) and combinations of wildcards followed by exclude patterns starting with -. To include snapshots not created by an SLM policy you can use the special pattern _none that will match all snapshots without an SLM policy. /// /// public Elastic.Clients.Elasticsearch.Name? SlmPolicyFilter { get => Q("slm_policy_filter"); set => Q("slm_policy_filter", value); } /// /// - /// The sort order for the result. - /// The default behavior is sorting by snapshot start time stamp. + /// Allows setting a sort order for the result. Defaults to start_time, i.e. sorting by snapshot start time stamp. /// /// public Elastic.Clients.Elasticsearch.Snapshot.SnapshotSort? Sort { get => Q("sort"); set => Q("sort", value); } /// /// - /// If true, returns additional information about each snapshot such as the version of Elasticsearch which took the snapshot, the start and end times of the snapshot, and the number of shards snapshotted. - /// - /// - /// NOTE: The parameters size, order, after, from_sort_value, offset, slm_policy_filter, and sort are not supported when you set verbose=false and the sort order for requests with verbose=false is undefined. + /// If true, returns additional information about each snapshot such as the version of Elasticsearch which took the snapshot, the start and end times of the snapshot, and the number of shards snapshotted. /// /// public bool? Verbose { get => Q("verbose"); set => Q("verbose", value); } @@ -167,11 +150,6 @@ public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clien /// /// Get snapshot information. /// -/// -/// NOTE: The after parameter and next field enable you to iterate through snapshots with some consistency guarantees regarding concurrent creation or deletion of snapshots. -/// It is guaranteed that any snapshot that exists at the beginning of the iteration and is not concurrently deleted will be seen during the iteration. -/// Snapshots concurrently created may be seen during an iteration. -/// /// [System.Text.Json.Serialization.JsonConverter(typeof(Elastic.Clients.Elasticsearch.Snapshot.GetSnapshotRequestConverter))] public sealed partial class GetSnapshotRequest : Elastic.Clients.Elasticsearch.Requests.PlainRequest @@ -201,8 +179,7 @@ internal GetSnapshotRequest(Elastic.Clients.Elasticsearch.Serialization.JsonCons /// /// - /// A comma-separated list of snapshot repository names used to limit the request. - /// Wildcard (*) expressions are supported. + /// Comma-separated list of snapshot repository names used to limit the request. Wildcard (*) expressions are supported. /// /// public @@ -213,18 +190,17 @@ internal GetSnapshotRequest(Elastic.Clients.Elasticsearch.Serialization.JsonCons /// /// - /// A comma-separated list of snapshot names to retrieve - /// Wildcards (*) are supported. + /// Comma-separated list of snapshot names to retrieve. Also accepts wildcards (*). /// /// /// /// - /// To get information about all snapshots in a registered repository, use a wildcard (*) or _all. + /// To get information about all snapshots in a registered repository, use a wildcard (*) or _all. /// /// /// /// - /// To get information about any snapshots that are currently running, use _current. + /// To get information about any snapshots that are currently running, use _current. /// /// /// @@ -237,53 +213,49 @@ internal GetSnapshotRequest(Elastic.Clients.Elasticsearch.Serialization.JsonCons /// /// - /// An offset identifier to start pagination from as returned by the next field in the response body. + /// Offset identifier to start pagination from as returned by the next field in the response body. /// /// public string? After { get => Q("after"); set => Q("after", value); } /// /// - /// The value of the current sort column at which to start retrieval. - /// It can be a string snapshot- or a repository name when sorting by snapshot or repository name. - /// It can be a millisecond time value or a number when sorting by index- or shard count. + /// Value of the current sort column at which to start retrieval. Can either be a string snapshot- or repository name when sorting by snapshot or repository name, a millisecond time value or a number when sorting by index- or shard count. /// /// public string? FromSortValue { get => Q("from_sort_value"); set => Q("from_sort_value", value); } /// /// - /// If false, the request returns an error for any snapshots that are unavailable. + /// If false, the request returns an error for any snapshots that are unavailable. /// /// public bool? IgnoreUnavailable { get => Q("ignore_unavailable"); set => Q("ignore_unavailable", value); } /// /// - /// If true, the response includes the repository name in each snapshot. + /// If true, returns the repository name in each snapshot. /// /// public bool? IncludeRepository { get => Q("include_repository"); set => Q("include_repository", value); } /// /// - /// If true, the response includes additional information about each index in the snapshot comprising the number of shards in the index, the total size of the index in bytes, and the maximum number of segments per shard in the index. - /// The default is false, meaning that this information is omitted. + /// If true, returns additional information about each index in the snapshot comprising the number of shards in the index, the total size of the index in bytes, and the maximum number of segments per shard in the index. Defaults to false, meaning that this information is omitted. /// /// public bool? IndexDetails { get => Q("index_details"); set => Q("index_details", value); } /// /// - /// If true, the response includes the name of each index in each snapshot. + /// If true, returns the name of each index in each snapshot. /// /// public bool? IndexNames { get => Q("index_names"); set => Q("index_names", value); } /// /// - /// The period to wait for a connection to the master node. - /// If no response is received before the timeout expires, the request fails and returns an error. + /// Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error. /// /// public Elastic.Clients.Elasticsearch.Duration? MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); } @@ -297,48 +269,35 @@ internal GetSnapshotRequest(Elastic.Clients.Elasticsearch.Serialization.JsonCons /// /// - /// The sort order. - /// Valid values are asc for ascending and desc for descending order. - /// The default behavior is ascending order. + /// Sort order. Valid values are asc for ascending and desc for descending order. Defaults to asc, meaning ascending order. /// /// public Elastic.Clients.Elasticsearch.SortOrder? Order { get => Q("order"); set => Q("order", value); } /// /// - /// The maximum number of snapshots to return. - /// The default is 0, which means to return all that match the request without limit. + /// Maximum number of snapshots to return. Defaults to 0 which means return all that match the request without limit. /// /// public int? Size { get => Q("size"); set => Q("size", value); } /// /// - /// Filter snapshots by a comma-separated list of snapshot lifecycle management (SLM) policy names that snapshots belong to. - /// - /// - /// You can use wildcards (*) and combinations of wildcards followed by exclude patterns starting with -. - /// For example, the pattern *,-policy-a-\* will return all snapshots except for those that were created by an SLM policy with a name starting with policy-a-. - /// Note that the wildcard pattern * matches all snapshots created by an SLM policy but not those snapshots that were not created by an SLM policy. - /// To include snapshots that were not created by an SLM policy, you can use the special pattern _none that will match all snapshots without an SLM policy. + /// Filter snapshots by a comma-separated list of SLM policy names that snapshots belong to. Also accepts wildcards (*) and combinations of wildcards followed by exclude patterns starting with -. To include snapshots not created by an SLM policy you can use the special pattern _none that will match all snapshots without an SLM policy. /// /// public Elastic.Clients.Elasticsearch.Name? SlmPolicyFilter { get => Q("slm_policy_filter"); set => Q("slm_policy_filter", value); } /// /// - /// The sort order for the result. - /// The default behavior is sorting by snapshot start time stamp. + /// Allows setting a sort order for the result. Defaults to start_time, i.e. sorting by snapshot start time stamp. /// /// public Elastic.Clients.Elasticsearch.Snapshot.SnapshotSort? Sort { get => Q("sort"); set => Q("sort", value); } /// /// - /// If true, returns additional information about each snapshot such as the version of Elasticsearch which took the snapshot, the start and end times of the snapshot, and the number of shards snapshotted. - /// - /// - /// NOTE: The parameters size, order, after, from_sort_value, offset, slm_policy_filter, and sort are not supported when you set verbose=false and the sort order for requests with verbose=false is undefined. + /// If true, returns additional information about each snapshot such as the version of Elasticsearch which took the snapshot, the start and end times of the snapshot, and the number of shards snapshotted. /// /// public bool? Verbose { get => Q("verbose"); set => Q("verbose", value); } @@ -348,11 +307,6 @@ internal GetSnapshotRequest(Elastic.Clients.Elasticsearch.Serialization.JsonCons /// /// Get snapshot information. /// -/// -/// NOTE: The after parameter and next field enable you to iterate through snapshots with some consistency guarantees regarding concurrent creation or deletion of snapshots. -/// It is guaranteed that any snapshot that exists at the beginning of the iteration and is not concurrently deleted will be seen during the iteration. -/// Snapshots concurrently created may be seen during an iteration. -/// /// public readonly partial struct GetSnapshotRequestDescriptor { @@ -380,8 +334,7 @@ public GetSnapshotRequestDescriptor() /// /// - /// A comma-separated list of snapshot repository names used to limit the request. - /// Wildcard (*) expressions are supported. + /// Comma-separated list of snapshot repository names used to limit the request. Wildcard (*) expressions are supported. /// /// public Elastic.Clients.Elasticsearch.Snapshot.GetSnapshotRequestDescriptor Repository(Elastic.Clients.Elasticsearch.Name value) @@ -392,18 +345,17 @@ public Elastic.Clients.Elasticsearch.Snapshot.GetSnapshotRequestDescriptor Repos /// /// - /// A comma-separated list of snapshot names to retrieve - /// Wildcards (*) are supported. + /// Comma-separated list of snapshot names to retrieve. Also accepts wildcards (*). /// /// /// /// - /// To get information about all snapshots in a registered repository, use a wildcard (*) or _all. + /// To get information about all snapshots in a registered repository, use a wildcard (*) or _all. /// /// /// /// - /// To get information about any snapshots that are currently running, use _current. + /// To get information about any snapshots that are currently running, use _current. /// /// /// @@ -416,7 +368,7 @@ public Elastic.Clients.Elasticsearch.Snapshot.GetSnapshotRequestDescriptor Snaps /// /// - /// An offset identifier to start pagination from as returned by the next field in the response body. + /// Offset identifier to start pagination from as returned by the next field in the response body. /// /// public Elastic.Clients.Elasticsearch.Snapshot.GetSnapshotRequestDescriptor After(string? value) @@ -427,9 +379,7 @@ public Elastic.Clients.Elasticsearch.Snapshot.GetSnapshotRequestDescriptor After /// /// - /// The value of the current sort column at which to start retrieval. - /// It can be a string snapshot- or a repository name when sorting by snapshot or repository name. - /// It can be a millisecond time value or a number when sorting by index- or shard count. + /// Value of the current sort column at which to start retrieval. Can either be a string snapshot- or repository name when sorting by snapshot or repository name, a millisecond time value or a number when sorting by index- or shard count. /// /// public Elastic.Clients.Elasticsearch.Snapshot.GetSnapshotRequestDescriptor FromSortValue(string? value) @@ -440,7 +390,7 @@ public Elastic.Clients.Elasticsearch.Snapshot.GetSnapshotRequestDescriptor FromS /// /// - /// If false, the request returns an error for any snapshots that are unavailable. + /// If false, the request returns an error for any snapshots that are unavailable. /// /// public Elastic.Clients.Elasticsearch.Snapshot.GetSnapshotRequestDescriptor IgnoreUnavailable(bool? value = true) @@ -451,7 +401,7 @@ public Elastic.Clients.Elasticsearch.Snapshot.GetSnapshotRequestDescriptor Ignor /// /// - /// If true, the response includes the repository name in each snapshot. + /// If true, returns the repository name in each snapshot. /// /// public Elastic.Clients.Elasticsearch.Snapshot.GetSnapshotRequestDescriptor IncludeRepository(bool? value = true) @@ -462,8 +412,7 @@ public Elastic.Clients.Elasticsearch.Snapshot.GetSnapshotRequestDescriptor Inclu /// /// - /// If true, the response includes additional information about each index in the snapshot comprising the number of shards in the index, the total size of the index in bytes, and the maximum number of segments per shard in the index. - /// The default is false, meaning that this information is omitted. + /// If true, returns additional information about each index in the snapshot comprising the number of shards in the index, the total size of the index in bytes, and the maximum number of segments per shard in the index. Defaults to false, meaning that this information is omitted. /// /// public Elastic.Clients.Elasticsearch.Snapshot.GetSnapshotRequestDescriptor IndexDetails(bool? value = true) @@ -474,7 +423,7 @@ public Elastic.Clients.Elasticsearch.Snapshot.GetSnapshotRequestDescriptor Index /// /// - /// If true, the response includes the name of each index in each snapshot. + /// If true, returns the name of each index in each snapshot. /// /// public Elastic.Clients.Elasticsearch.Snapshot.GetSnapshotRequestDescriptor IndexNames(bool? value = true) @@ -485,8 +434,7 @@ public Elastic.Clients.Elasticsearch.Snapshot.GetSnapshotRequestDescriptor Index /// /// - /// The period to wait for a connection to the master node. - /// If no response is received before the timeout expires, the request fails and returns an error. + /// Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error. /// /// public Elastic.Clients.Elasticsearch.Snapshot.GetSnapshotRequestDescriptor MasterTimeout(Elastic.Clients.Elasticsearch.Duration? value) @@ -508,9 +456,7 @@ public Elastic.Clients.Elasticsearch.Snapshot.GetSnapshotRequestDescriptor Offse /// /// - /// The sort order. - /// Valid values are asc for ascending and desc for descending order. - /// The default behavior is ascending order. + /// Sort order. Valid values are asc for ascending and desc for descending order. Defaults to asc, meaning ascending order. /// /// public Elastic.Clients.Elasticsearch.Snapshot.GetSnapshotRequestDescriptor Order(Elastic.Clients.Elasticsearch.SortOrder? value) @@ -521,8 +467,7 @@ public Elastic.Clients.Elasticsearch.Snapshot.GetSnapshotRequestDescriptor Order /// /// - /// The maximum number of snapshots to return. - /// The default is 0, which means to return all that match the request without limit. + /// Maximum number of snapshots to return. Defaults to 0 which means return all that match the request without limit. /// /// public Elastic.Clients.Elasticsearch.Snapshot.GetSnapshotRequestDescriptor Size(int? value) @@ -533,13 +478,7 @@ public Elastic.Clients.Elasticsearch.Snapshot.GetSnapshotRequestDescriptor Size( /// /// - /// Filter snapshots by a comma-separated list of snapshot lifecycle management (SLM) policy names that snapshots belong to. - /// - /// - /// You can use wildcards (*) and combinations of wildcards followed by exclude patterns starting with -. - /// For example, the pattern *,-policy-a-\* will return all snapshots except for those that were created by an SLM policy with a name starting with policy-a-. - /// Note that the wildcard pattern * matches all snapshots created by an SLM policy but not those snapshots that were not created by an SLM policy. - /// To include snapshots that were not created by an SLM policy, you can use the special pattern _none that will match all snapshots without an SLM policy. + /// Filter snapshots by a comma-separated list of SLM policy names that snapshots belong to. Also accepts wildcards (*) and combinations of wildcards followed by exclude patterns starting with -. To include snapshots not created by an SLM policy you can use the special pattern _none that will match all snapshots without an SLM policy. /// /// public Elastic.Clients.Elasticsearch.Snapshot.GetSnapshotRequestDescriptor SlmPolicyFilter(Elastic.Clients.Elasticsearch.Name? value) @@ -550,8 +489,7 @@ public Elastic.Clients.Elasticsearch.Snapshot.GetSnapshotRequestDescriptor SlmPo /// /// - /// The sort order for the result. - /// The default behavior is sorting by snapshot start time stamp. + /// Allows setting a sort order for the result. Defaults to start_time, i.e. sorting by snapshot start time stamp. /// /// public Elastic.Clients.Elasticsearch.Snapshot.GetSnapshotRequestDescriptor Sort(Elastic.Clients.Elasticsearch.Snapshot.SnapshotSort? value) @@ -562,10 +500,7 @@ public Elastic.Clients.Elasticsearch.Snapshot.GetSnapshotRequestDescriptor Sort( /// /// - /// If true, returns additional information about each snapshot such as the version of Elasticsearch which took the snapshot, the start and end times of the snapshot, and the number of shards snapshotted. - /// - /// - /// NOTE: The parameters size, order, after, from_sort_value, offset, slm_policy_filter, and sort are not supported when you set verbose=false and the sort order for requests with verbose=false is undefined. + /// If true, returns additional information about each snapshot such as the version of Elasticsearch which took the snapshot, the start and end times of the snapshot, and the number of shards snapshotted. /// /// public Elastic.Clients.Elasticsearch.Snapshot.GetSnapshotRequestDescriptor Verbose(bool? value = true) diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/GetSnapshotResponse.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/GetSnapshotResponse.g.cs index c9e57a752f0..1c39de2c3e1 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/GetSnapshotResponse.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/GetSnapshotResponse.g.cs @@ -25,7 +25,6 @@ namespace Elastic.Clients.Elasticsearch.Snapshot; internal sealed partial class GetSnapshotResponseConverter : System.Text.Json.Serialization.JsonConverter { - private static readonly System.Text.Json.JsonEncodedText PropNext = System.Text.Json.JsonEncodedText.Encode("next"); private static readonly System.Text.Json.JsonEncodedText PropRemaining = System.Text.Json.JsonEncodedText.Encode("remaining"); private static readonly System.Text.Json.JsonEncodedText PropResponses = System.Text.Json.JsonEncodedText.Encode("responses"); private static readonly System.Text.Json.JsonEncodedText PropSnapshots = System.Text.Json.JsonEncodedText.Encode("snapshots"); @@ -34,18 +33,12 @@ internal sealed partial class GetSnapshotResponseConverter : System.Text.Json.Se public override Elastic.Clients.Elasticsearch.Snapshot.GetSnapshotResponse Read(ref System.Text.Json.Utf8JsonReader reader, System.Type typeToConvert, System.Text.Json.JsonSerializerOptions options) { reader.ValidateToken(System.Text.Json.JsonTokenType.StartObject); - LocalJsonValue propNext = default; LocalJsonValue propRemaining = default; LocalJsonValue?> propResponses = default; LocalJsonValue?> propSnapshots = default; LocalJsonValue propTotal = default; while (reader.Read() && reader.TokenType is System.Text.Json.JsonTokenType.PropertyName) { - if (propNext.TryReadProperty(ref reader, options, PropNext, null)) - { - continue; - } - if (propRemaining.TryReadProperty(ref reader, options, PropRemaining, null)) { continue; @@ -78,7 +71,6 @@ public override Elastic.Clients.Elasticsearch.Snapshot.GetSnapshotResponse Read( reader.ValidateToken(System.Text.Json.JsonTokenType.EndObject); return new Elastic.Clients.Elasticsearch.Snapshot.GetSnapshotResponse(Elastic.Clients.Elasticsearch.Serialization.JsonConstructorSentinel.Instance) { - Next = propNext.Value, Remaining = propRemaining.Value, Responses = propResponses.Value, Snapshots = propSnapshots.Value, @@ -89,7 +81,6 @@ public override Elastic.Clients.Elasticsearch.Snapshot.GetSnapshotResponse Read( public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clients.Elasticsearch.Snapshot.GetSnapshotResponse value, System.Text.Json.JsonSerializerOptions options) { writer.WriteStartObject(); - writer.WriteProperty(options, PropNext, value.Next, null, null); writer.WriteProperty(options, PropRemaining, value.Remaining, null, null); writer.WriteProperty(options, PropResponses, value.Responses, null, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, System.Collections.Generic.IReadOnlyCollection? v) => w.WriteCollectionValue(o, v, null)); writer.WriteProperty(options, PropSnapshots, value.Snapshots, null, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, System.Collections.Generic.IReadOnlyCollection? v) => w.WriteCollectionValue(o, v, null)); @@ -114,15 +105,7 @@ internal GetSnapshotResponse(Elastic.Clients.Elasticsearch.Serialization.JsonCon /// /// - /// If the request contained a size limit and there might be more results, a next field will be added to the response. - /// It can be used as the after query parameter to fetch additional results. - /// - /// - public string? Next { get; set; } - - /// - /// - /// The number of remaining snapshots that were not returned due to size limits and that can be fetched by additional requests using the next field value. + /// The number of remaining snapshots that were not returned due to size limits and that can be fetched by additional requests using the next field value. /// /// public @@ -135,7 +118,7 @@ internal GetSnapshotResponse(Elastic.Clients.Elasticsearch.Serialization.JsonCon /// /// - /// The total number of snapshots that match the request when ignoring the size limit or after query parameter. + /// The total number of snapshots that match the request when ignoring size limit or after query parameter. /// /// public diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/RepositoryVerifyIntegrityRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/RepositoryVerifyIntegrityRequest.g.cs index c9ed0d9ba55..3e2ac73a102 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/RepositoryVerifyIntegrityRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/RepositoryVerifyIntegrityRequest.g.cs @@ -27,61 +27,56 @@ public sealed partial class RepositoryVerifyIntegrityRequestParameters : Elastic { /// /// - /// If verify_blob_contents is true, this parameter specifies how many blobs to verify at once. + /// Number of threads to use for reading blob contents /// /// public int? BlobThreadPoolConcurrency { get => Q("blob_thread_pool_concurrency"); set => Q("blob_thread_pool_concurrency", value); } /// /// - /// The maximum number of index snapshots to verify concurrently within each index verification. + /// Number of snapshots to verify concurrently within each index /// /// public int? IndexSnapshotVerificationConcurrency { get => Q("index_snapshot_verification_concurrency"); set => Q("index_snapshot_verification_concurrency", value); } /// /// - /// The number of indices to verify concurrently. - /// The default behavior is to use the entire snapshot_meta thread pool. + /// Number of indices to verify concurrently /// /// public int? IndexVerificationConcurrency { get => Q("index_verification_concurrency"); set => Q("index_verification_concurrency", value); } /// /// - /// If verify_blob_contents is true, this parameter specifies the maximum amount of data that Elasticsearch will read from the repository every second. + /// Rate limit for individual blob verification /// /// public string? MaxBytesPerSec { get => Q("max_bytes_per_sec"); set => Q("max_bytes_per_sec", value); } /// /// - /// The number of shard snapshot failures to track during integrity verification, in order to avoid excessive resource usage. - /// If your repository contains more than this number of shard snapshot failures, the verification will fail. + /// Maximum permitted number of failed shard snapshots /// /// public int? MaxFailedShardSnapshots { get => Q("max_failed_shard_snapshots"); set => Q("max_failed_shard_snapshots", value); } /// /// - /// The maximum number of snapshot metadata operations to run concurrently. - /// The default behavior is to use at most half of the snapshot_meta thread pool at once. + /// Number of threads to use for reading metadata /// /// public int? MetaThreadPoolConcurrency { get => Q("meta_thread_pool_concurrency"); set => Q("meta_thread_pool_concurrency", value); } /// /// - /// The number of snapshots to verify concurrently. - /// The default behavior is to use at most half of the snapshot_meta thread pool at once. + /// Number of snapshots to verify concurrently /// /// public int? SnapshotVerificationConcurrency { get => Q("snapshot_verification_concurrency"); set => Q("snapshot_verification_concurrency", value); } /// /// - /// Indicates whether to verify the checksum of every data blob in the repository. - /// If this feature is enabled, Elasticsearch will read the entire repository contents, which may be extremely slow and expensive. + /// Whether to verify the contents of individual blobs /// /// public bool? VerifyBlobContents { get => Q("verify_blob_contents"); set => Q("verify_blob_contents", value); } @@ -175,16 +170,6 @@ public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clien /// /// NOTE: This API may not work correctly in a mixed-version cluster. /// -/// -/// The default values for the parameters of this API are designed to limit the impact of the integrity verification on other activities in your cluster. -/// For instance, by default it will only use at most half of the snapshot_meta threads to verify the integrity of each snapshot, allowing other snapshot operations to use the other half of this thread pool. -/// If you modify these parameters to speed up the verification process, you risk disrupting other snapshot-related operations in your cluster. -/// For large repositories, consider setting up a separate single-node Elasticsearch cluster just for running the integrity verification API. -/// -/// -/// The response exposes implementation details of the analysis which may change from version to version. -/// The response body format is therefore not considered stable and may be different in newer versions. -/// /// [System.Text.Json.Serialization.JsonConverter(typeof(Elastic.Clients.Elasticsearch.Snapshot.RepositoryVerifyIntegrityRequestConverter))] public sealed partial class RepositoryVerifyIntegrityRequest : Elastic.Clients.Elasticsearch.Requests.PlainRequest @@ -214,7 +199,7 @@ internal RepositoryVerifyIntegrityRequest(Elastic.Clients.Elasticsearch.Serializ /// /// - /// The name of the snapshot repository. + /// A repository name /// /// public @@ -225,61 +210,56 @@ internal RepositoryVerifyIntegrityRequest(Elastic.Clients.Elasticsearch.Serializ /// /// - /// If verify_blob_contents is true, this parameter specifies how many blobs to verify at once. + /// Number of threads to use for reading blob contents /// /// public int? BlobThreadPoolConcurrency { get => Q("blob_thread_pool_concurrency"); set => Q("blob_thread_pool_concurrency", value); } /// /// - /// The maximum number of index snapshots to verify concurrently within each index verification. + /// Number of snapshots to verify concurrently within each index /// /// public int? IndexSnapshotVerificationConcurrency { get => Q("index_snapshot_verification_concurrency"); set => Q("index_snapshot_verification_concurrency", value); } /// /// - /// The number of indices to verify concurrently. - /// The default behavior is to use the entire snapshot_meta thread pool. + /// Number of indices to verify concurrently /// /// public int? IndexVerificationConcurrency { get => Q("index_verification_concurrency"); set => Q("index_verification_concurrency", value); } /// /// - /// If verify_blob_contents is true, this parameter specifies the maximum amount of data that Elasticsearch will read from the repository every second. + /// Rate limit for individual blob verification /// /// public string? MaxBytesPerSec { get => Q("max_bytes_per_sec"); set => Q("max_bytes_per_sec", value); } /// /// - /// The number of shard snapshot failures to track during integrity verification, in order to avoid excessive resource usage. - /// If your repository contains more than this number of shard snapshot failures, the verification will fail. + /// Maximum permitted number of failed shard snapshots /// /// public int? MaxFailedShardSnapshots { get => Q("max_failed_shard_snapshots"); set => Q("max_failed_shard_snapshots", value); } /// /// - /// The maximum number of snapshot metadata operations to run concurrently. - /// The default behavior is to use at most half of the snapshot_meta thread pool at once. + /// Number of threads to use for reading metadata /// /// public int? MetaThreadPoolConcurrency { get => Q("meta_thread_pool_concurrency"); set => Q("meta_thread_pool_concurrency", value); } /// /// - /// The number of snapshots to verify concurrently. - /// The default behavior is to use at most half of the snapshot_meta thread pool at once. + /// Number of snapshots to verify concurrently /// /// public int? SnapshotVerificationConcurrency { get => Q("snapshot_verification_concurrency"); set => Q("snapshot_verification_concurrency", value); } /// /// - /// Indicates whether to verify the checksum of every data blob in the repository. - /// If this feature is enabled, Elasticsearch will read the entire repository contents, which may be extremely slow and expensive. + /// Whether to verify the contents of individual blobs /// /// public bool? VerifyBlobContents { get => Q("verify_blob_contents"); set => Q("verify_blob_contents", value); } @@ -344,16 +324,6 @@ internal RepositoryVerifyIntegrityRequest(Elastic.Clients.Elasticsearch.Serializ /// /// NOTE: This API may not work correctly in a mixed-version cluster. /// -/// -/// The default values for the parameters of this API are designed to limit the impact of the integrity verification on other activities in your cluster. -/// For instance, by default it will only use at most half of the snapshot_meta threads to verify the integrity of each snapshot, allowing other snapshot operations to use the other half of this thread pool. -/// If you modify these parameters to speed up the verification process, you risk disrupting other snapshot-related operations in your cluster. -/// For large repositories, consider setting up a separate single-node Elasticsearch cluster just for running the integrity verification API. -/// -/// -/// The response exposes implementation details of the analysis which may change from version to version. -/// The response body format is therefore not considered stable and may be different in newer versions. -/// /// public readonly partial struct RepositoryVerifyIntegrityRequestDescriptor { @@ -381,7 +351,7 @@ public RepositoryVerifyIntegrityRequestDescriptor() /// /// - /// The name of the snapshot repository. + /// A repository name /// /// public Elastic.Clients.Elasticsearch.Snapshot.RepositoryVerifyIntegrityRequestDescriptor Name(Elastic.Clients.Elasticsearch.Names value) @@ -392,7 +362,7 @@ public Elastic.Clients.Elasticsearch.Snapshot.RepositoryVerifyIntegrityRequestDe /// /// - /// If verify_blob_contents is true, this parameter specifies how many blobs to verify at once. + /// Number of threads to use for reading blob contents /// /// public Elastic.Clients.Elasticsearch.Snapshot.RepositoryVerifyIntegrityRequestDescriptor BlobThreadPoolConcurrency(int? value) @@ -403,7 +373,7 @@ public Elastic.Clients.Elasticsearch.Snapshot.RepositoryVerifyIntegrityRequestDe /// /// - /// The maximum number of index snapshots to verify concurrently within each index verification. + /// Number of snapshots to verify concurrently within each index /// /// public Elastic.Clients.Elasticsearch.Snapshot.RepositoryVerifyIntegrityRequestDescriptor IndexSnapshotVerificationConcurrency(int? value) @@ -414,8 +384,7 @@ public Elastic.Clients.Elasticsearch.Snapshot.RepositoryVerifyIntegrityRequestDe /// /// - /// The number of indices to verify concurrently. - /// The default behavior is to use the entire snapshot_meta thread pool. + /// Number of indices to verify concurrently /// /// public Elastic.Clients.Elasticsearch.Snapshot.RepositoryVerifyIntegrityRequestDescriptor IndexVerificationConcurrency(int? value) @@ -426,7 +395,7 @@ public Elastic.Clients.Elasticsearch.Snapshot.RepositoryVerifyIntegrityRequestDe /// /// - /// If verify_blob_contents is true, this parameter specifies the maximum amount of data that Elasticsearch will read from the repository every second. + /// Rate limit for individual blob verification /// /// public Elastic.Clients.Elasticsearch.Snapshot.RepositoryVerifyIntegrityRequestDescriptor MaxBytesPerSec(string? value) @@ -437,8 +406,7 @@ public Elastic.Clients.Elasticsearch.Snapshot.RepositoryVerifyIntegrityRequestDe /// /// - /// The number of shard snapshot failures to track during integrity verification, in order to avoid excessive resource usage. - /// If your repository contains more than this number of shard snapshot failures, the verification will fail. + /// Maximum permitted number of failed shard snapshots /// /// public Elastic.Clients.Elasticsearch.Snapshot.RepositoryVerifyIntegrityRequestDescriptor MaxFailedShardSnapshots(int? value) @@ -449,8 +417,7 @@ public Elastic.Clients.Elasticsearch.Snapshot.RepositoryVerifyIntegrityRequestDe /// /// - /// The maximum number of snapshot metadata operations to run concurrently. - /// The default behavior is to use at most half of the snapshot_meta thread pool at once. + /// Number of threads to use for reading metadata /// /// public Elastic.Clients.Elasticsearch.Snapshot.RepositoryVerifyIntegrityRequestDescriptor MetaThreadPoolConcurrency(int? value) @@ -461,8 +428,7 @@ public Elastic.Clients.Elasticsearch.Snapshot.RepositoryVerifyIntegrityRequestDe /// /// - /// The number of snapshots to verify concurrently. - /// The default behavior is to use at most half of the snapshot_meta thread pool at once. + /// Number of snapshots to verify concurrently /// /// public Elastic.Clients.Elasticsearch.Snapshot.RepositoryVerifyIntegrityRequestDescriptor SnapshotVerificationConcurrency(int? value) @@ -473,8 +439,7 @@ public Elastic.Clients.Elasticsearch.Snapshot.RepositoryVerifyIntegrityRequestDe /// /// - /// Indicates whether to verify the checksum of every data blob in the repository. - /// If this feature is enabled, Elasticsearch will read the entire repository contents, which may be extremely slow and expensive. + /// Whether to verify the contents of individual blobs /// /// public Elastic.Clients.Elasticsearch.Snapshot.RepositoryVerifyIntegrityRequestDescriptor VerifyBlobContents(bool? value = true) diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/RepositoryVerifyIntegrityResponse.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/RepositoryVerifyIntegrityResponse.g.cs index abeb6c2c325..d1c9acd68f5 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/RepositoryVerifyIntegrityResponse.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/RepositoryVerifyIntegrityResponse.g.cs @@ -27,12 +27,12 @@ internal sealed partial class RepositoryVerifyIntegrityResponseConverter : Syste { public override Elastic.Clients.Elasticsearch.Snapshot.RepositoryVerifyIntegrityResponse Read(ref System.Text.Json.Utf8JsonReader reader, System.Type typeToConvert, System.Text.Json.JsonSerializerOptions options) { - return new Elastic.Clients.Elasticsearch.Snapshot.RepositoryVerifyIntegrityResponse(Elastic.Clients.Elasticsearch.Serialization.JsonConstructorSentinel.Instance) { Result = reader.ReadValue(options, null) }; + return new Elastic.Clients.Elasticsearch.Snapshot.RepositoryVerifyIntegrityResponse(Elastic.Clients.Elasticsearch.Serialization.JsonConstructorSentinel.Instance) { Value = reader.ReadValue(options, null) }; } public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clients.Elasticsearch.Snapshot.RepositoryVerifyIntegrityResponse value, System.Text.Json.JsonSerializerOptions options) { - writer.WriteValue(options, value.Result, null); + writer.WriteValue(options, value.Value, null); } } @@ -54,5 +54,5 @@ internal RepositoryVerifyIntegrityResponse(Elastic.Clients.Elasticsearch.Seriali #if NET7_0_OR_GREATER required #endif -object Result { get; set; } +object Value { get; set; } } \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/RestoreRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/RestoreRequest.g.cs index 41ff80d2630..9497f3cc8f4 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/RestoreRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/RestoreRequest.g.cs @@ -27,21 +27,14 @@ public sealed partial class RestoreRequestParameters : Elastic.Transport.Request { /// /// - /// The period to wait for the master node. - /// If the master node is not available before the timeout expires, the request fails and returns an error. - /// To indicate that the request should never timeout, set it to -1. + /// Explicit operation timeout for connection to master node /// /// public Elastic.Clients.Elasticsearch.Duration? MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); } /// /// - /// If true, the request returns a response when the restore operation completes. - /// The operation is complete when it finishes all attempts to recover primary shards for restored indices. - /// This applies even if one or more of the recovery attempts fail. - /// - /// - /// If false, the request returns a response when the restore operation initializes. + /// Should this request wait until the operation has completed before returning /// /// public bool? WaitForCompletion { get => Q("wait_for_completion"); set => Q("wait_for_completion", value); } @@ -221,7 +214,7 @@ internal RestoreRequest(Elastic.Clients.Elasticsearch.Serialization.JsonConstruc /// /// - /// The name of the repository to restore a snapshot from. + /// A repository name /// /// public @@ -232,7 +225,7 @@ internal RestoreRequest(Elastic.Clients.Elasticsearch.Serialization.JsonConstruc /// /// - /// The name of the snapshot to restore. + /// A snapshot name /// /// public @@ -243,171 +236,26 @@ internal RestoreRequest(Elastic.Clients.Elasticsearch.Serialization.JsonConstruc /// /// - /// The period to wait for the master node. - /// If the master node is not available before the timeout expires, the request fails and returns an error. - /// To indicate that the request should never timeout, set it to -1. + /// Explicit operation timeout for connection to master node /// /// public Elastic.Clients.Elasticsearch.Duration? MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); } /// /// - /// If true, the request returns a response when the restore operation completes. - /// The operation is complete when it finishes all attempts to recover primary shards for restored indices. - /// This applies even if one or more of the recovery attempts fail. - /// - /// - /// If false, the request returns a response when the restore operation initializes. + /// Should this request wait until the operation has completed before returning /// /// public bool? WaitForCompletion { get => Q("wait_for_completion"); set => Q("wait_for_completion", value); } - - /// - /// - /// The feature states to restore. - /// If include_global_state is true, the request restores all feature states in the snapshot by default. - /// If include_global_state is false, the request restores no feature states by default. - /// Note that specifying an empty array will result in the default behavior. - /// To restore no feature states, regardless of the include_global_state value, specify an array containing only the value none (["none"]). - /// - /// public System.Collections.Generic.ICollection? FeatureStates { get; set; } - - /// - /// - /// The index settings to not restore from the snapshot. - /// You can't use this option to ignore index.number_of_shards. - /// - /// - /// For data streams, this option applies only to restored backing indices. - /// New backing indices are configured using the data stream's matching index template. - /// - /// public System.Collections.Generic.ICollection? IgnoreIndexSettings { get; set; } - - /// - /// - /// If true, the request ignores any index or data stream in indices that's missing from the snapshot. - /// If false, the request returns an error for any missing index or data stream. - /// - /// public bool? IgnoreUnavailable { get; set; } - - /// - /// - /// If true, the request restores aliases for any restored data streams and indices. - /// If false, the request doesn’t restore aliases. - /// - /// public bool? IncludeAliases { get; set; } - - /// - /// - /// If true, restore the cluster state. The cluster state includes: - /// - /// - /// - /// - /// Persistent cluster settings - /// - /// - /// - /// - /// Index templates - /// - /// - /// - /// - /// Legacy index templates - /// - /// - /// - /// - /// Ingest pipelines - /// - /// - /// - /// - /// Index lifecycle management (ILM) policies - /// - /// - /// - /// - /// Stored scripts - /// - /// - /// - /// - /// For snapshots taken after 7.12.0, feature states - /// - /// - /// - /// - /// If include_global_state is true, the restore operation merges the legacy index templates in your cluster with the templates contained in the snapshot, replacing any existing ones whose name matches one in the snapshot. - /// It completely removes all persistent settings, non-legacy index templates, ingest pipelines, and ILM lifecycle policies that exist in your cluster and replaces them with the corresponding items from the snapshot. - /// - /// - /// Use the feature_states parameter to configure how feature states are restored. - /// - /// - /// If include_global_state is true and a snapshot was created without a global state then the restore request will fail. - /// - /// public bool? IncludeGlobalState { get; set; } - - /// - /// - /// Index settings to add or change in restored indices, including backing indices. - /// You can't use this option to change index.number_of_shards. - /// - /// - /// For data streams, this option applies only to restored backing indices. - /// New backing indices are configured using the data stream's matching index template. - /// - /// public Elastic.Clients.Elasticsearch.IndexManagement.IndexSettings? IndexSettings { get; set; } - - /// - /// - /// A comma-separated list of indices and data streams to restore. - /// It supports a multi-target syntax. - /// The default behavior is all regular indices and regular data streams in the snapshot. - /// - /// - /// You can't use this parameter to restore system indices or system data streams. - /// Use feature_states instead. - /// - /// public Elastic.Clients.Elasticsearch.Indices? Indices { get; set; } - - /// - /// - /// If false, the entire restore operation will fail if one or more indices included in the snapshot do not have all primary shards available. - /// - /// - /// If true, it allows restoring a partial snapshot of indices with unavailable shards. - /// Only shards that were successfully included in the snapshot will be restored. - /// All missing shards will be recreated as empty. - /// - /// public bool? Partial { get; set; } - - /// - /// - /// A rename pattern to apply to restored data streams and indices. - /// Data streams and indices matching the rename pattern will be renamed according to rename_replacement. - /// - /// - /// The rename pattern is applied as defined by the regular expression that supports referencing the original text, according to the appendReplacement logic. - /// - /// public string? RenamePattern { get; set; } - - /// - /// - /// The rename replacement string that is used with the rename_pattern. - /// - /// public string? RenameReplacement { get; set; } } @@ -463,7 +311,7 @@ public RestoreRequestDescriptor() /// /// - /// The name of the repository to restore a snapshot from. + /// A repository name /// /// public Elastic.Clients.Elasticsearch.Snapshot.RestoreRequestDescriptor Repository(Elastic.Clients.Elasticsearch.Name value) @@ -474,7 +322,7 @@ public Elastic.Clients.Elasticsearch.Snapshot.RestoreRequestDescriptor Repositor /// /// - /// The name of the snapshot to restore. + /// A snapshot name /// /// public Elastic.Clients.Elasticsearch.Snapshot.RestoreRequestDescriptor Snapshot(Elastic.Clients.Elasticsearch.Name value) @@ -485,9 +333,7 @@ public Elastic.Clients.Elasticsearch.Snapshot.RestoreRequestDescriptor Snapshot( /// /// - /// The period to wait for the master node. - /// If the master node is not available before the timeout expires, the request fails and returns an error. - /// To indicate that the request should never timeout, set it to -1. + /// Explicit operation timeout for connection to master node /// /// public Elastic.Clients.Elasticsearch.Snapshot.RestoreRequestDescriptor MasterTimeout(Elastic.Clients.Elasticsearch.Duration? value) @@ -498,12 +344,7 @@ public Elastic.Clients.Elasticsearch.Snapshot.RestoreRequestDescriptor MasterTim /// /// - /// If true, the request returns a response when the restore operation completes. - /// The operation is complete when it finishes all attempts to recover primary shards for restored indices. - /// This applies even if one or more of the recovery attempts fail. - /// - /// - /// If false, the request returns a response when the restore operation initializes. + /// Should this request wait until the operation has completed before returning /// /// public Elastic.Clients.Elasticsearch.Snapshot.RestoreRequestDescriptor WaitForCompletion(bool? value = true) @@ -512,267 +353,90 @@ public Elastic.Clients.Elasticsearch.Snapshot.RestoreRequestDescriptor WaitForCo return this; } - /// - /// - /// The feature states to restore. - /// If include_global_state is true, the request restores all feature states in the snapshot by default. - /// If include_global_state is false, the request restores no feature states by default. - /// Note that specifying an empty array will result in the default behavior. - /// To restore no feature states, regardless of the include_global_state value, specify an array containing only the value none (["none"]). - /// - /// public Elastic.Clients.Elasticsearch.Snapshot.RestoreRequestDescriptor FeatureStates(System.Collections.Generic.ICollection? value) { Instance.FeatureStates = value; return this; } - /// - /// - /// The feature states to restore. - /// If include_global_state is true, the request restores all feature states in the snapshot by default. - /// If include_global_state is false, the request restores no feature states by default. - /// Note that specifying an empty array will result in the default behavior. - /// To restore no feature states, regardless of the include_global_state value, specify an array containing only the value none (["none"]). - /// - /// public Elastic.Clients.Elasticsearch.Snapshot.RestoreRequestDescriptor FeatureStates(params string[] values) { Instance.FeatureStates = [.. values]; return this; } - /// - /// - /// The index settings to not restore from the snapshot. - /// You can't use this option to ignore index.number_of_shards. - /// - /// - /// For data streams, this option applies only to restored backing indices. - /// New backing indices are configured using the data stream's matching index template. - /// - /// public Elastic.Clients.Elasticsearch.Snapshot.RestoreRequestDescriptor IgnoreIndexSettings(System.Collections.Generic.ICollection? value) { Instance.IgnoreIndexSettings = value; return this; } - /// - /// - /// The index settings to not restore from the snapshot. - /// You can't use this option to ignore index.number_of_shards. - /// - /// - /// For data streams, this option applies only to restored backing indices. - /// New backing indices are configured using the data stream's matching index template. - /// - /// public Elastic.Clients.Elasticsearch.Snapshot.RestoreRequestDescriptor IgnoreIndexSettings(params string[] values) { Instance.IgnoreIndexSettings = [.. values]; return this; } - /// - /// - /// If true, the request ignores any index or data stream in indices that's missing from the snapshot. - /// If false, the request returns an error for any missing index or data stream. - /// - /// public Elastic.Clients.Elasticsearch.Snapshot.RestoreRequestDescriptor IgnoreUnavailable(bool? value = true) { Instance.IgnoreUnavailable = value; return this; } - /// - /// - /// If true, the request restores aliases for any restored data streams and indices. - /// If false, the request doesn’t restore aliases. - /// - /// public Elastic.Clients.Elasticsearch.Snapshot.RestoreRequestDescriptor IncludeAliases(bool? value = true) { Instance.IncludeAliases = value; return this; } - /// - /// - /// If true, restore the cluster state. The cluster state includes: - /// - /// - /// - /// - /// Persistent cluster settings - /// - /// - /// - /// - /// Index templates - /// - /// - /// - /// - /// Legacy index templates - /// - /// - /// - /// - /// Ingest pipelines - /// - /// - /// - /// - /// Index lifecycle management (ILM) policies - /// - /// - /// - /// - /// Stored scripts - /// - /// - /// - /// - /// For snapshots taken after 7.12.0, feature states - /// - /// - /// - /// - /// If include_global_state is true, the restore operation merges the legacy index templates in your cluster with the templates contained in the snapshot, replacing any existing ones whose name matches one in the snapshot. - /// It completely removes all persistent settings, non-legacy index templates, ingest pipelines, and ILM lifecycle policies that exist in your cluster and replaces them with the corresponding items from the snapshot. - /// - /// - /// Use the feature_states parameter to configure how feature states are restored. - /// - /// - /// If include_global_state is true and a snapshot was created without a global state then the restore request will fail. - /// - /// public Elastic.Clients.Elasticsearch.Snapshot.RestoreRequestDescriptor IncludeGlobalState(bool? value = true) { Instance.IncludeGlobalState = value; return this; } - /// - /// - /// Index settings to add or change in restored indices, including backing indices. - /// You can't use this option to change index.number_of_shards. - /// - /// - /// For data streams, this option applies only to restored backing indices. - /// New backing indices are configured using the data stream's matching index template. - /// - /// public Elastic.Clients.Elasticsearch.Snapshot.RestoreRequestDescriptor IndexSettings(Elastic.Clients.Elasticsearch.IndexManagement.IndexSettings? value) { Instance.IndexSettings = value; return this; } - /// - /// - /// Index settings to add or change in restored indices, including backing indices. - /// You can't use this option to change index.number_of_shards. - /// - /// - /// For data streams, this option applies only to restored backing indices. - /// New backing indices are configured using the data stream's matching index template. - /// - /// public Elastic.Clients.Elasticsearch.Snapshot.RestoreRequestDescriptor IndexSettings() { Instance.IndexSettings = Elastic.Clients.Elasticsearch.IndexManagement.IndexSettingsDescriptor.Build(null); return this; } - /// - /// - /// Index settings to add or change in restored indices, including backing indices. - /// You can't use this option to change index.number_of_shards. - /// - /// - /// For data streams, this option applies only to restored backing indices. - /// New backing indices are configured using the data stream's matching index template. - /// - /// public Elastic.Clients.Elasticsearch.Snapshot.RestoreRequestDescriptor IndexSettings(System.Action? action) { Instance.IndexSettings = Elastic.Clients.Elasticsearch.IndexManagement.IndexSettingsDescriptor.Build(action); return this; } - /// - /// - /// Index settings to add or change in restored indices, including backing indices. - /// You can't use this option to change index.number_of_shards. - /// - /// - /// For data streams, this option applies only to restored backing indices. - /// New backing indices are configured using the data stream's matching index template. - /// - /// public Elastic.Clients.Elasticsearch.Snapshot.RestoreRequestDescriptor IndexSettings(System.Action>? action) { Instance.IndexSettings = Elastic.Clients.Elasticsearch.IndexManagement.IndexSettingsDescriptor.Build(action); return this; } - /// - /// - /// A comma-separated list of indices and data streams to restore. - /// It supports a multi-target syntax. - /// The default behavior is all regular indices and regular data streams in the snapshot. - /// - /// - /// You can't use this parameter to restore system indices or system data streams. - /// Use feature_states instead. - /// - /// public Elastic.Clients.Elasticsearch.Snapshot.RestoreRequestDescriptor Indices(Elastic.Clients.Elasticsearch.Indices? value) { Instance.Indices = value; return this; } - /// - /// - /// If false, the entire restore operation will fail if one or more indices included in the snapshot do not have all primary shards available. - /// - /// - /// If true, it allows restoring a partial snapshot of indices with unavailable shards. - /// Only shards that were successfully included in the snapshot will be restored. - /// All missing shards will be recreated as empty. - /// - /// public Elastic.Clients.Elasticsearch.Snapshot.RestoreRequestDescriptor Partial(bool? value = true) { Instance.Partial = value; return this; } - /// - /// - /// A rename pattern to apply to restored data streams and indices. - /// Data streams and indices matching the rename pattern will be renamed according to rename_replacement. - /// - /// - /// The rename pattern is applied as defined by the regular expression that supports referencing the original text, according to the appendReplacement logic. - /// - /// public Elastic.Clients.Elasticsearch.Snapshot.RestoreRequestDescriptor RenamePattern(string? value) { Instance.RenamePattern = value; return this; } - /// - /// - /// The rename replacement string that is used with the rename_pattern. - /// - /// public Elastic.Clients.Elasticsearch.Snapshot.RestoreRequestDescriptor RenameReplacement(string? value) { Instance.RenameReplacement = value; @@ -882,7 +546,7 @@ public RestoreRequestDescriptor() /// /// - /// The name of the repository to restore a snapshot from. + /// A repository name /// /// public Elastic.Clients.Elasticsearch.Snapshot.RestoreRequestDescriptor Repository(Elastic.Clients.Elasticsearch.Name value) @@ -893,7 +557,7 @@ public Elastic.Clients.Elasticsearch.Snapshot.RestoreRequestDescriptor /// - /// The name of the snapshot to restore. + /// A snapshot name /// /// public Elastic.Clients.Elasticsearch.Snapshot.RestoreRequestDescriptor Snapshot(Elastic.Clients.Elasticsearch.Name value) @@ -904,9 +568,7 @@ public Elastic.Clients.Elasticsearch.Snapshot.RestoreRequestDescriptor /// - /// The period to wait for the master node. - /// If the master node is not available before the timeout expires, the request fails and returns an error. - /// To indicate that the request should never timeout, set it to -1. + /// Explicit operation timeout for connection to master node /// /// public Elastic.Clients.Elasticsearch.Snapshot.RestoreRequestDescriptor MasterTimeout(Elastic.Clients.Elasticsearch.Duration? value) @@ -917,12 +579,7 @@ public Elastic.Clients.Elasticsearch.Snapshot.RestoreRequestDescriptor /// - /// If true, the request returns a response when the restore operation completes. - /// The operation is complete when it finishes all attempts to recover primary shards for restored indices. - /// This applies even if one or more of the recovery attempts fail. - /// - /// - /// If false, the request returns a response when the restore operation initializes. + /// Should this request wait until the operation has completed before returning /// /// public Elastic.Clients.Elasticsearch.Snapshot.RestoreRequestDescriptor WaitForCompletion(bool? value = true) @@ -931,251 +588,84 @@ public Elastic.Clients.Elasticsearch.Snapshot.RestoreRequestDescriptor - /// - /// The feature states to restore. - /// If include_global_state is true, the request restores all feature states in the snapshot by default. - /// If include_global_state is false, the request restores no feature states by default. - /// Note that specifying an empty array will result in the default behavior. - /// To restore no feature states, regardless of the include_global_state value, specify an array containing only the value none (["none"]). - /// - /// public Elastic.Clients.Elasticsearch.Snapshot.RestoreRequestDescriptor FeatureStates(System.Collections.Generic.ICollection? value) { Instance.FeatureStates = value; return this; } - /// - /// - /// The feature states to restore. - /// If include_global_state is true, the request restores all feature states in the snapshot by default. - /// If include_global_state is false, the request restores no feature states by default. - /// Note that specifying an empty array will result in the default behavior. - /// To restore no feature states, regardless of the include_global_state value, specify an array containing only the value none (["none"]). - /// - /// public Elastic.Clients.Elasticsearch.Snapshot.RestoreRequestDescriptor FeatureStates(params string[] values) { Instance.FeatureStates = [.. values]; return this; } - /// - /// - /// The index settings to not restore from the snapshot. - /// You can't use this option to ignore index.number_of_shards. - /// - /// - /// For data streams, this option applies only to restored backing indices. - /// New backing indices are configured using the data stream's matching index template. - /// - /// public Elastic.Clients.Elasticsearch.Snapshot.RestoreRequestDescriptor IgnoreIndexSettings(System.Collections.Generic.ICollection? value) { Instance.IgnoreIndexSettings = value; return this; } - /// - /// - /// The index settings to not restore from the snapshot. - /// You can't use this option to ignore index.number_of_shards. - /// - /// - /// For data streams, this option applies only to restored backing indices. - /// New backing indices are configured using the data stream's matching index template. - /// - /// public Elastic.Clients.Elasticsearch.Snapshot.RestoreRequestDescriptor IgnoreIndexSettings(params string[] values) { Instance.IgnoreIndexSettings = [.. values]; return this; } - /// - /// - /// If true, the request ignores any index or data stream in indices that's missing from the snapshot. - /// If false, the request returns an error for any missing index or data stream. - /// - /// public Elastic.Clients.Elasticsearch.Snapshot.RestoreRequestDescriptor IgnoreUnavailable(bool? value = true) { Instance.IgnoreUnavailable = value; return this; } - /// - /// - /// If true, the request restores aliases for any restored data streams and indices. - /// If false, the request doesn’t restore aliases. - /// - /// public Elastic.Clients.Elasticsearch.Snapshot.RestoreRequestDescriptor IncludeAliases(bool? value = true) { Instance.IncludeAliases = value; return this; } - /// - /// - /// If true, restore the cluster state. The cluster state includes: - /// - /// - /// - /// - /// Persistent cluster settings - /// - /// - /// - /// - /// Index templates - /// - /// - /// - /// - /// Legacy index templates - /// - /// - /// - /// - /// Ingest pipelines - /// - /// - /// - /// - /// Index lifecycle management (ILM) policies - /// - /// - /// - /// - /// Stored scripts - /// - /// - /// - /// - /// For snapshots taken after 7.12.0, feature states - /// - /// - /// - /// - /// If include_global_state is true, the restore operation merges the legacy index templates in your cluster with the templates contained in the snapshot, replacing any existing ones whose name matches one in the snapshot. - /// It completely removes all persistent settings, non-legacy index templates, ingest pipelines, and ILM lifecycle policies that exist in your cluster and replaces them with the corresponding items from the snapshot. - /// - /// - /// Use the feature_states parameter to configure how feature states are restored. - /// - /// - /// If include_global_state is true and a snapshot was created without a global state then the restore request will fail. - /// - /// public Elastic.Clients.Elasticsearch.Snapshot.RestoreRequestDescriptor IncludeGlobalState(bool? value = true) { Instance.IncludeGlobalState = value; return this; } - /// - /// - /// Index settings to add or change in restored indices, including backing indices. - /// You can't use this option to change index.number_of_shards. - /// - /// - /// For data streams, this option applies only to restored backing indices. - /// New backing indices are configured using the data stream's matching index template. - /// - /// public Elastic.Clients.Elasticsearch.Snapshot.RestoreRequestDescriptor IndexSettings(Elastic.Clients.Elasticsearch.IndexManagement.IndexSettings? value) { Instance.IndexSettings = value; return this; } - /// - /// - /// Index settings to add or change in restored indices, including backing indices. - /// You can't use this option to change index.number_of_shards. - /// - /// - /// For data streams, this option applies only to restored backing indices. - /// New backing indices are configured using the data stream's matching index template. - /// - /// public Elastic.Clients.Elasticsearch.Snapshot.RestoreRequestDescriptor IndexSettings() { Instance.IndexSettings = Elastic.Clients.Elasticsearch.IndexManagement.IndexSettingsDescriptor.Build(null); return this; } - /// - /// - /// Index settings to add or change in restored indices, including backing indices. - /// You can't use this option to change index.number_of_shards. - /// - /// - /// For data streams, this option applies only to restored backing indices. - /// New backing indices are configured using the data stream's matching index template. - /// - /// public Elastic.Clients.Elasticsearch.Snapshot.RestoreRequestDescriptor IndexSettings(System.Action>? action) { Instance.IndexSettings = Elastic.Clients.Elasticsearch.IndexManagement.IndexSettingsDescriptor.Build(action); return this; } - /// - /// - /// A comma-separated list of indices and data streams to restore. - /// It supports a multi-target syntax. - /// The default behavior is all regular indices and regular data streams in the snapshot. - /// - /// - /// You can't use this parameter to restore system indices or system data streams. - /// Use feature_states instead. - /// - /// public Elastic.Clients.Elasticsearch.Snapshot.RestoreRequestDescriptor Indices(Elastic.Clients.Elasticsearch.Indices? value) { Instance.Indices = value; return this; } - /// - /// - /// If false, the entire restore operation will fail if one or more indices included in the snapshot do not have all primary shards available. - /// - /// - /// If true, it allows restoring a partial snapshot of indices with unavailable shards. - /// Only shards that were successfully included in the snapshot will be restored. - /// All missing shards will be recreated as empty. - /// - /// public Elastic.Clients.Elasticsearch.Snapshot.RestoreRequestDescriptor Partial(bool? value = true) { Instance.Partial = value; return this; } - /// - /// - /// A rename pattern to apply to restored data streams and indices. - /// Data streams and indices matching the rename pattern will be renamed according to rename_replacement. - /// - /// - /// The rename pattern is applied as defined by the regular expression that supports referencing the original text, according to the appendReplacement logic. - /// - /// public Elastic.Clients.Elasticsearch.Snapshot.RestoreRequestDescriptor RenamePattern(string? value) { Instance.RenamePattern = value; return this; } - /// - /// - /// The rename replacement string that is used with the rename_pattern. - /// - /// public Elastic.Clients.Elasticsearch.Snapshot.RestoreRequestDescriptor RenameReplacement(string? value) { Instance.RenameReplacement = value; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/SnapshotStatusRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/SnapshotStatusRequest.g.cs index 392a7167536..c2bdcf2453c 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/SnapshotStatusRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/SnapshotStatusRequest.g.cs @@ -27,17 +27,14 @@ public sealed partial class SnapshotStatusRequestParameters : Elastic.Transport. { /// /// - /// If false, the request returns an error for any snapshots that are unavailable. - /// If true, the request ignores snapshots that are unavailable, such as those that are corrupted or temporarily cannot be returned. + /// Whether to ignore unavailable snapshots, defaults to false which means a SnapshotMissingException is thrown /// /// public bool? IgnoreUnavailable { get => Q("ignore_unavailable"); set => Q("ignore_unavailable", value); } /// /// - /// The period to wait for the master node. - /// If the master node is not available before the timeout expires, the request fails and returns an error. - /// To indicate that the request should never timeout, set it to -1. + /// Explicit operation timeout for connection to master node /// /// public Elastic.Clients.Elasticsearch.Duration? MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); } @@ -76,17 +73,10 @@ public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clien /// /// Get the snapshot status. /// Get a detailed description of the current state for each shard participating in the snapshot. -/// -/// /// Note that this API should be used only to obtain detailed shard-level information for ongoing snapshots. /// If this detail is not needed or you want to obtain information about one or more existing snapshots, use the get snapshot API. /// /// -/// If you omit the <snapshot> request path parameter, the request retrieves information only for currently running snapshots. -/// This usage is preferred. -/// If needed, you can specify <repository> and <snapshot> to retrieve information for specific snapshots, even if they're not currently running. -/// -/// /// WARNING: Using the API to return the status of any snapshots other than currently running snapshots can be expensive. /// The API requires a read from the repository for each shard in each snapshot. /// For example, if you have 100 snapshots with 1,000 shards each, an API request that includes all snapshots will require 100,000 reads (100 snapshots x 1,000 shards). @@ -132,34 +122,28 @@ internal SnapshotStatusRequest(Elastic.Clients.Elasticsearch.Serialization.JsonC /// /// - /// The snapshot repository name used to limit the request. - /// It supports wildcards (*) if <snapshot> isn't specified. + /// A repository name /// /// public Elastic.Clients.Elasticsearch.Name? Repository { get => P("repository"); set => PO("repository", value); } /// /// - /// A comma-separated list of snapshots to retrieve status for. - /// The default is currently running snapshots. - /// Wildcards (*) are not supported. + /// A comma-separated list of snapshot names /// /// public Elastic.Clients.Elasticsearch.Names? Snapshot { get => P("snapshot"); set => PO("snapshot", value); } /// /// - /// If false, the request returns an error for any snapshots that are unavailable. - /// If true, the request ignores snapshots that are unavailable, such as those that are corrupted or temporarily cannot be returned. + /// Whether to ignore unavailable snapshots, defaults to false which means a SnapshotMissingException is thrown /// /// public bool? IgnoreUnavailable { get => Q("ignore_unavailable"); set => Q("ignore_unavailable", value); } /// /// - /// The period to wait for the master node. - /// If the master node is not available before the timeout expires, the request fails and returns an error. - /// To indicate that the request should never timeout, set it to -1. + /// Explicit operation timeout for connection to master node /// /// public Elastic.Clients.Elasticsearch.Duration? MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); } @@ -169,17 +153,10 @@ internal SnapshotStatusRequest(Elastic.Clients.Elasticsearch.Serialization.JsonC /// /// Get the snapshot status. /// Get a detailed description of the current state for each shard participating in the snapshot. -/// -/// /// Note that this API should be used only to obtain detailed shard-level information for ongoing snapshots. /// If this detail is not needed or you want to obtain information about one or more existing snapshots, use the get snapshot API. /// /// -/// If you omit the <snapshot> request path parameter, the request retrieves information only for currently running snapshots. -/// This usage is preferred. -/// If needed, you can specify <repository> and <snapshot> to retrieve information for specific snapshots, even if they're not currently running. -/// -/// /// WARNING: Using the API to return the status of any snapshots other than currently running snapshots can be expensive. /// The API requires a read from the repository for each shard in each snapshot. /// For example, if you have 100 snapshots with 1,000 shards each, an API request that includes all snapshots will require 100,000 reads (100 snapshots x 1,000 shards). @@ -219,8 +196,7 @@ public SnapshotStatusRequestDescriptor() /// /// - /// The snapshot repository name used to limit the request. - /// It supports wildcards (*) if <snapshot> isn't specified. + /// A repository name /// /// public Elastic.Clients.Elasticsearch.Snapshot.SnapshotStatusRequestDescriptor Repository(Elastic.Clients.Elasticsearch.Name? value) @@ -231,9 +207,7 @@ public Elastic.Clients.Elasticsearch.Snapshot.SnapshotStatusRequestDescriptor Re /// /// - /// A comma-separated list of snapshots to retrieve status for. - /// The default is currently running snapshots. - /// Wildcards (*) are not supported. + /// A comma-separated list of snapshot names /// /// public Elastic.Clients.Elasticsearch.Snapshot.SnapshotStatusRequestDescriptor Snapshot(Elastic.Clients.Elasticsearch.Names? value) @@ -244,8 +218,7 @@ public Elastic.Clients.Elasticsearch.Snapshot.SnapshotStatusRequestDescriptor Sn /// /// - /// If false, the request returns an error for any snapshots that are unavailable. - /// If true, the request ignores snapshots that are unavailable, such as those that are corrupted or temporarily cannot be returned. + /// Whether to ignore unavailable snapshots, defaults to false which means a SnapshotMissingException is thrown /// /// public Elastic.Clients.Elasticsearch.Snapshot.SnapshotStatusRequestDescriptor IgnoreUnavailable(bool? value = true) @@ -256,9 +229,7 @@ public Elastic.Clients.Elasticsearch.Snapshot.SnapshotStatusRequestDescriptor Ig /// /// - /// The period to wait for the master node. - /// If the master node is not available before the timeout expires, the request fails and returns an error. - /// To indicate that the request should never timeout, set it to -1. + /// Explicit operation timeout for connection to master node /// /// public Elastic.Clients.Elasticsearch.Snapshot.SnapshotStatusRequestDescriptor MasterTimeout(Elastic.Clients.Elasticsearch.Duration? value) diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/VerifyRepositoryRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/VerifyRepositoryRequest.g.cs index 5a7fdeede4c..dce453d3d27 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/VerifyRepositoryRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/VerifyRepositoryRequest.g.cs @@ -27,18 +27,14 @@ public sealed partial class VerifyRepositoryRequestParameters : Elastic.Transpor { /// /// - /// The period to wait for the master node. - /// If the master node is not available before the timeout expires, the request fails and returns an error. - /// To indicate that the request should never timeout, set it to -1. + /// Explicit operation timeout for connection to master node /// /// public Elastic.Clients.Elasticsearch.Duration? MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); } /// /// - /// The period to wait for a response from all relevant nodes in the cluster after updating the cluster metadata. - /// If no response is received before the timeout expires, the cluster metadata update still applies but the response will indicate that it was not completely acknowledged. - /// To indicate that the request should never timeout, set it to -1. + /// Explicit operation timeout /// /// public Elastic.Clients.Elasticsearch.Duration? Timeout { get => Q("timeout"); set => Q("timeout", value); } @@ -107,7 +103,7 @@ internal VerifyRepositoryRequest(Elastic.Clients.Elasticsearch.Serialization.Jso /// /// - /// The name of the snapshot repository to verify. + /// A repository name /// /// public @@ -118,18 +114,14 @@ internal VerifyRepositoryRequest(Elastic.Clients.Elasticsearch.Serialization.Jso /// /// - /// The period to wait for the master node. - /// If the master node is not available before the timeout expires, the request fails and returns an error. - /// To indicate that the request should never timeout, set it to -1. + /// Explicit operation timeout for connection to master node /// /// public Elastic.Clients.Elasticsearch.Duration? MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); } /// /// - /// The period to wait for a response from all relevant nodes in the cluster after updating the cluster metadata. - /// If no response is received before the timeout expires, the cluster metadata update still applies but the response will indicate that it was not completely acknowledged. - /// To indicate that the request should never timeout, set it to -1. + /// Explicit operation timeout /// /// public Elastic.Clients.Elasticsearch.Duration? Timeout { get => Q("timeout"); set => Q("timeout", value); } @@ -167,7 +159,7 @@ public VerifyRepositoryRequestDescriptor() /// /// - /// The name of the snapshot repository to verify. + /// A repository name /// /// public Elastic.Clients.Elasticsearch.Snapshot.VerifyRepositoryRequestDescriptor Name(Elastic.Clients.Elasticsearch.Name value) @@ -178,9 +170,7 @@ public Elastic.Clients.Elasticsearch.Snapshot.VerifyRepositoryRequestDescriptor /// /// - /// The period to wait for the master node. - /// If the master node is not available before the timeout expires, the request fails and returns an error. - /// To indicate that the request should never timeout, set it to -1. + /// Explicit operation timeout for connection to master node /// /// public Elastic.Clients.Elasticsearch.Snapshot.VerifyRepositoryRequestDescriptor MasterTimeout(Elastic.Clients.Elasticsearch.Duration? value) @@ -191,9 +181,7 @@ public Elastic.Clients.Elasticsearch.Snapshot.VerifyRepositoryRequestDescriptor /// /// - /// The period to wait for a response from all relevant nodes in the cluster after updating the cluster metadata. - /// If no response is received before the timeout expires, the cluster metadata update still applies but the response will indicate that it was not completely acknowledged. - /// To indicate that the request should never timeout, set it to -1. + /// Explicit operation timeout /// /// public Elastic.Clients.Elasticsearch.Snapshot.VerifyRepositoryRequestDescriptor Timeout(Elastic.Clients.Elasticsearch.Duration? value) diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/VerifyRepositoryResponse.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/VerifyRepositoryResponse.g.cs index 66540df4d6c..dcce46731de 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/VerifyRepositoryResponse.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/VerifyRepositoryResponse.g.cs @@ -76,15 +76,9 @@ internal VerifyRepositoryResponse(Elastic.Clients.Elasticsearch.Serialization.Js _ = sentinel; } - /// - /// - /// Information about the nodes connected to the snapshot repository. - /// The key is the ID of the node. - /// - /// public #if NET7_0_OR_GREATER - required + required #endif - System.Collections.Generic.IReadOnlyDictionary Nodes { get; set; } + System.Collections.Generic.IReadOnlyDictionary Nodes { get; set; } } \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SnapshotLifecycleManagement/GetLifecycleResponse.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SnapshotLifecycleManagement/GetLifecycleResponse.g.cs index 3144b29fc1a..1a4fedc1575 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/SnapshotLifecycleManagement/GetLifecycleResponse.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/SnapshotLifecycleManagement/GetLifecycleResponse.g.cs @@ -27,12 +27,12 @@ internal sealed partial class GetLifecycleResponseConverter : System.Text.Json.S { public override Elastic.Clients.Elasticsearch.SnapshotLifecycleManagement.GetLifecycleResponse Read(ref System.Text.Json.Utf8JsonReader reader, System.Type typeToConvert, System.Text.Json.JsonSerializerOptions options) { - return new Elastic.Clients.Elasticsearch.SnapshotLifecycleManagement.GetLifecycleResponse(Elastic.Clients.Elasticsearch.Serialization.JsonConstructorSentinel.Instance) { Lifecycles = reader.ReadValue>(options, static System.Collections.Generic.IReadOnlyDictionary (ref System.Text.Json.Utf8JsonReader r, System.Text.Json.JsonSerializerOptions o) => r.ReadDictionaryValue(o, null, null)!) }; + return new Elastic.Clients.Elasticsearch.SnapshotLifecycleManagement.GetLifecycleResponse(Elastic.Clients.Elasticsearch.Serialization.JsonConstructorSentinel.Instance) { Values = reader.ReadValue>(options, static System.Collections.Generic.IReadOnlyDictionary (ref System.Text.Json.Utf8JsonReader r, System.Text.Json.JsonSerializerOptions o) => r.ReadDictionaryValue(o, null, null)!) }; } public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clients.Elasticsearch.SnapshotLifecycleManagement.GetLifecycleResponse value, System.Text.Json.JsonSerializerOptions options) { - writer.WriteValue(options, value.Lifecycles, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, System.Collections.Generic.IReadOnlyDictionary v) => w.WriteDictionaryValue(o, v, null, null)); + writer.WriteValue(options, value.Values, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, System.Collections.Generic.IReadOnlyDictionary v) => w.WriteDictionaryValue(o, v, null, null)); } } @@ -54,5 +54,5 @@ internal GetLifecycleResponse(Elastic.Clients.Elasticsearch.Serialization.JsonCo #if NET7_0_OR_GREATER required #endif -System.Collections.Generic.IReadOnlyDictionary Lifecycles { get; set; } +System.Collections.Generic.IReadOnlyDictionary Values { get; set; } } \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Synonyms/GetSynonymRuleResponse.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Synonyms/GetSynonymRuleResponse.g.cs index de9e48a3108..705c6f224de 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Synonyms/GetSynonymRuleResponse.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Synonyms/GetSynonymRuleResponse.g.cs @@ -98,7 +98,7 @@ internal GetSynonymRuleResponse(Elastic.Clients.Elasticsearch.Serialization.Json /// /// - /// Synonyms, in Solr format, that conform the synonym rule. + /// Synonyms, in Solr format, that conform the synonym rule. See https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis-synonym-graph-tokenfilter.html#_solr_synonyms_2 /// /// public diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Xpack/XpackUsageResponse.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Xpack/XpackUsageResponse.g.cs index 8d340e38601..d16223029f2 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Xpack/XpackUsageResponse.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Xpack/XpackUsageResponse.g.cs @@ -36,6 +36,7 @@ internal sealed partial class XpackUsageResponseConverter : System.Text.Json.Ser private static readonly System.Text.Json.JsonEncodedText PropEnrich = System.Text.Json.JsonEncodedText.Encode("enrich"); private static readonly System.Text.Json.JsonEncodedText PropEql = System.Text.Json.JsonEncodedText.Encode("eql"); private static readonly System.Text.Json.JsonEncodedText PropFlattened = System.Text.Json.JsonEncodedText.Encode("flattened"); + private static readonly System.Text.Json.JsonEncodedText PropFrozenIndices = System.Text.Json.JsonEncodedText.Encode("frozen_indices"); private static readonly System.Text.Json.JsonEncodedText PropGraph = System.Text.Json.JsonEncodedText.Encode("graph"); private static readonly System.Text.Json.JsonEncodedText PropHealthApi = System.Text.Json.JsonEncodedText.Encode("health_api"); private static readonly System.Text.Json.JsonEncodedText PropIlm = System.Text.Json.JsonEncodedText.Encode("ilm"); @@ -68,6 +69,7 @@ public override Elastic.Clients.Elasticsearch.Xpack.XpackUsageResponse Read(ref LocalJsonValue propEnrich = default; LocalJsonValue propEql = default; LocalJsonValue propFlattened = default; + LocalJsonValue propFrozenIndices = default; LocalJsonValue propGraph = default; LocalJsonValue propHealthApi = default; LocalJsonValue propIlm = default; @@ -142,6 +144,11 @@ public override Elastic.Clients.Elasticsearch.Xpack.XpackUsageResponse Read(ref continue; } + if (propFrozenIndices.TryReadProperty(ref reader, options, PropFrozenIndices, null)) + { + continue; + } + if (propGraph.TryReadProperty(ref reader, options, PropGraph, null)) { continue; @@ -250,6 +257,7 @@ public override Elastic.Clients.Elasticsearch.Xpack.XpackUsageResponse Read(ref Enrich = propEnrich.Value, Eql = propEql.Value, Flattened = propFlattened.Value, + FrozenIndices = propFrozenIndices.Value, Graph = propGraph.Value, HealthApi = propHealthApi.Value, Ilm = propIlm.Value, @@ -284,6 +292,7 @@ public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clien writer.WriteProperty(options, PropEnrich, value.Enrich, null, null); writer.WriteProperty(options, PropEql, value.Eql, null, null); writer.WriteProperty(options, PropFlattened, value.Flattened, null, null); + writer.WriteProperty(options, PropFrozenIndices, value.FrozenIndices, null, null); writer.WriteProperty(options, PropGraph, value.Graph, null, null); writer.WriteProperty(options, PropHealthApi, value.HealthApi, null, null); writer.WriteProperty(options, PropIlm, value.Ilm, null, null); @@ -357,6 +366,11 @@ internal XpackUsageResponse(Elastic.Clients.Elasticsearch.Serialization.JsonCons public #if NET7_0_OR_GREATER required +#endif + Elastic.Clients.Elasticsearch.Xpack.FrozenIndices FrozenIndices { get; set; } + public +#if NET7_0_OR_GREATER + required #endif Elastic.Clients.Elasticsearch.Xpack.Base Graph { get; set; } public Elastic.Clients.Elasticsearch.Xpack.HealthStatistics? HealthApi { get; set; } diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.QueryRules.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.QueryRules.g.cs index 229ffccaa90..b1d32afc9c2 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.QueryRules.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.QueryRules.g.cs @@ -405,110 +405,4 @@ public virtual Elastic.Clients.Elasticsearch.QueryRules.TestResponse Test(Elasti request.BeforeRequest(); return DoRequestAsync(request, cancellationToken); } - - /// - /// - /// Creates or updates a query ruleset. - /// - /// Learn more about this API in the Elasticsearch documentation. - /// - [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] - public virtual TestResponse Test(TestRequest request) - { - request.BeforeRequest(); - return DoRequest(request); - } - - /// - /// - /// Creates or updates a query ruleset. - /// - /// Learn more about this API in the Elasticsearch documentation. - /// - public virtual Task TestAsync(TestRequest request, CancellationToken cancellationToken = default) - { - request.BeforeRequest(); - return DoRequestAsync(request, cancellationToken); - } - - /// - /// - /// Creates or updates a query ruleset. - /// - /// Learn more about this API in the Elasticsearch documentation. - /// - [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] - public virtual TestResponse Test(TestRequestDescriptor descriptor) - { - descriptor.BeforeRequest(); - return DoRequest(descriptor); - } - - /// - /// - /// Creates or updates a query ruleset. - /// - /// Learn more about this API in the Elasticsearch documentation. - /// - [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] - public virtual TestResponse Test(Elastic.Clients.Elasticsearch.Id rulesetId) - { - var descriptor = new TestRequestDescriptor(rulesetId); - descriptor.BeforeRequest(); - return DoRequest(descriptor); - } - - /// - /// - /// Creates or updates a query ruleset. - /// - /// Learn more about this API in the Elasticsearch documentation. - /// - [Obsolete("Synchronous methods are deprecated and could be removed in the future.")] - public virtual TestResponse Test(Elastic.Clients.Elasticsearch.Id rulesetId, Action configureRequest) - { - var descriptor = new TestRequestDescriptor(rulesetId); - configureRequest?.Invoke(descriptor); - descriptor.BeforeRequest(); - return DoRequest(descriptor); - } - - /// - /// - /// Creates or updates a query ruleset. - /// - /// Learn more about this API in the Elasticsearch documentation. - /// - public virtual Task TestAsync(TestRequestDescriptor descriptor, CancellationToken cancellationToken = default) - { - descriptor.BeforeRequest(); - return DoRequestAsync(descriptor, cancellationToken); - } - - /// - /// - /// Creates or updates a query ruleset. - /// - /// Learn more about this API in the Elasticsearch documentation. - /// - public virtual Task TestAsync(Elastic.Clients.Elasticsearch.Id rulesetId, CancellationToken cancellationToken = default) - { - var descriptor = new TestRequestDescriptor(rulesetId); - descriptor.BeforeRequest(); - return DoRequestAsync(descriptor, cancellationToken); - } - - /// - /// - /// Creates or updates a query ruleset. - /// - /// Learn more about this API in the Elasticsearch documentation. - /// - public virtual Task TestAsync(Elastic.Clients.Elasticsearch.Id rulesetId, Action configureRequest, CancellationToken cancellationToken = default) - { - var descriptor = new TestRequestDescriptor(rulesetId); - configureRequest?.Invoke(descriptor); - descriptor.BeforeRequest(); - return DoRequestAsync(descriptor, cancellationToken); - } } \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.SearchApplication.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.SearchApplication.g.cs index 8b67b7ef108..46343765197 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.SearchApplication.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.SearchApplication.g.cs @@ -90,7 +90,6 @@ public virtual Elastic.Clients.Elasticsearch.SearchApplication.DeleteBehavioralA return DoRequest(request); } - [System.Obsolete("Deprecated in '9.0.0'.")] public virtual Elastic.Clients.Elasticsearch.SearchApplication.DeleteBehavioralAnalyticsResponse DeleteBehavioralAnalytics(Elastic.Clients.Elasticsearch.Name name) { var builder = new Elastic.Clients.Elasticsearch.SearchApplication.DeleteBehavioralAnalyticsRequestDescriptor(name); @@ -99,7 +98,6 @@ public virtual Elastic.Clients.Elasticsearch.SearchApplication.DeleteBehavioralA return DoRequest(request); } - [System.Obsolete("Deprecated in '9.0.0'.")] public virtual Elastic.Clients.Elasticsearch.SearchApplication.DeleteBehavioralAnalyticsResponse DeleteBehavioralAnalytics(Elastic.Clients.Elasticsearch.Name name, System.Action action) { var builder = new Elastic.Clients.Elasticsearch.SearchApplication.DeleteBehavioralAnalyticsRequestDescriptor(name); @@ -115,7 +113,6 @@ public virtual Elastic.Clients.Elasticsearch.SearchApplication.DeleteBehavioralA return DoRequestAsync(request, cancellationToken); } - [System.Obsolete("Deprecated in '9.0.0'.")] public virtual System.Threading.Tasks.Task DeleteBehavioralAnalyticsAsync(Elastic.Clients.Elasticsearch.Name name, System.Threading.CancellationToken cancellationToken = default) { var builder = new Elastic.Clients.Elasticsearch.SearchApplication.DeleteBehavioralAnalyticsRequestDescriptor(name); @@ -124,7 +121,6 @@ public virtual Elastic.Clients.Elasticsearch.SearchApplication.DeleteBehavioralA return DoRequestAsync(request, cancellationToken); } - [System.Obsolete("Deprecated in '9.0.0'.")] public virtual System.Threading.Tasks.Task DeleteBehavioralAnalyticsAsync(Elastic.Clients.Elasticsearch.Name name, System.Action action, System.Threading.CancellationToken cancellationToken = default) { var builder = new Elastic.Clients.Elasticsearch.SearchApplication.DeleteBehavioralAnalyticsRequestDescriptor(name); @@ -186,7 +182,6 @@ public virtual Elastic.Clients.Elasticsearch.SearchApplication.GetBehavioralAnal return DoRequest(request); } - [System.Obsolete("Deprecated in '9.0.0'.")] public virtual Elastic.Clients.Elasticsearch.SearchApplication.GetBehavioralAnalyticsResponse GetBehavioralAnalytics() { var builder = new Elastic.Clients.Elasticsearch.SearchApplication.GetBehavioralAnalyticsRequestDescriptor(); @@ -195,7 +190,6 @@ public virtual Elastic.Clients.Elasticsearch.SearchApplication.GetBehavioralAnal return DoRequest(request); } - [System.Obsolete("Deprecated in '9.0.0'.")] public virtual Elastic.Clients.Elasticsearch.SearchApplication.GetBehavioralAnalyticsResponse GetBehavioralAnalytics(System.Action action) { var builder = new Elastic.Clients.Elasticsearch.SearchApplication.GetBehavioralAnalyticsRequestDescriptor(); @@ -205,7 +199,6 @@ public virtual Elastic.Clients.Elasticsearch.SearchApplication.GetBehavioralAnal return DoRequest(request); } - [System.Obsolete("Deprecated in '9.0.0'.")] public virtual Elastic.Clients.Elasticsearch.SearchApplication.GetBehavioralAnalyticsResponse GetBehavioralAnalytics(System.Collections.Generic.ICollection? name) { var builder = new Elastic.Clients.Elasticsearch.SearchApplication.GetBehavioralAnalyticsRequestDescriptor(name); @@ -214,7 +207,6 @@ public virtual Elastic.Clients.Elasticsearch.SearchApplication.GetBehavioralAnal return DoRequest(request); } - [System.Obsolete("Deprecated in '9.0.0'.")] public virtual Elastic.Clients.Elasticsearch.SearchApplication.GetBehavioralAnalyticsResponse GetBehavioralAnalytics(System.Collections.Generic.ICollection? name, System.Action action) { var builder = new Elastic.Clients.Elasticsearch.SearchApplication.GetBehavioralAnalyticsRequestDescriptor(name); @@ -230,7 +222,6 @@ public virtual Elastic.Clients.Elasticsearch.SearchApplication.GetBehavioralAnal return DoRequestAsync(request, cancellationToken); } - [System.Obsolete("Deprecated in '9.0.0'.")] public virtual System.Threading.Tasks.Task GetBehavioralAnalyticsAsync(System.Threading.CancellationToken cancellationToken = default) { var builder = new Elastic.Clients.Elasticsearch.SearchApplication.GetBehavioralAnalyticsRequestDescriptor(); @@ -239,7 +230,6 @@ public virtual Elastic.Clients.Elasticsearch.SearchApplication.GetBehavioralAnal return DoRequestAsync(request, cancellationToken); } - [System.Obsolete("Deprecated in '9.0.0'.")] public virtual System.Threading.Tasks.Task GetBehavioralAnalyticsAsync(System.Action action, System.Threading.CancellationToken cancellationToken = default) { var builder = new Elastic.Clients.Elasticsearch.SearchApplication.GetBehavioralAnalyticsRequestDescriptor(); @@ -249,7 +239,6 @@ public virtual Elastic.Clients.Elasticsearch.SearchApplication.GetBehavioralAnal return DoRequestAsync(request, cancellationToken); } - [System.Obsolete("Deprecated in '9.0.0'.")] public virtual System.Threading.Tasks.Task GetBehavioralAnalyticsAsync(System.Collections.Generic.ICollection? name, System.Threading.CancellationToken cancellationToken = default) { var builder = new Elastic.Clients.Elasticsearch.SearchApplication.GetBehavioralAnalyticsRequestDescriptor(name); @@ -258,7 +247,6 @@ public virtual Elastic.Clients.Elasticsearch.SearchApplication.GetBehavioralAnal return DoRequestAsync(request, cancellationToken); } - [System.Obsolete("Deprecated in '9.0.0'.")] public virtual System.Threading.Tasks.Task GetBehavioralAnalyticsAsync(System.Collections.Generic.ICollection? name, System.Action action, System.Threading.CancellationToken cancellationToken = default) { var builder = new Elastic.Clients.Elasticsearch.SearchApplication.GetBehavioralAnalyticsRequestDescriptor(name); @@ -320,7 +308,6 @@ public virtual Elastic.Clients.Elasticsearch.SearchApplication.PostBehavioralAna return DoRequest(request); } - [System.Obsolete("Deprecated in '9.0.0'.")] public virtual Elastic.Clients.Elasticsearch.SearchApplication.PostBehavioralAnalyticsEventResponse PostBehavioralAnalyticsEvent(Elastic.Clients.Elasticsearch.Name collectionName, Elastic.Clients.Elasticsearch.SearchApplication.EventType eventType) { var builder = new Elastic.Clients.Elasticsearch.SearchApplication.PostBehavioralAnalyticsEventRequestDescriptor(collectionName, eventType); @@ -329,7 +316,6 @@ public virtual Elastic.Clients.Elasticsearch.SearchApplication.PostBehavioralAna return DoRequest(request); } - [System.Obsolete("Deprecated in '9.0.0'.")] public virtual Elastic.Clients.Elasticsearch.SearchApplication.PostBehavioralAnalyticsEventResponse PostBehavioralAnalyticsEvent(Elastic.Clients.Elasticsearch.Name collectionName, Elastic.Clients.Elasticsearch.SearchApplication.EventType eventType, System.Action action) { var builder = new Elastic.Clients.Elasticsearch.SearchApplication.PostBehavioralAnalyticsEventRequestDescriptor(collectionName, eventType); @@ -345,7 +331,6 @@ public virtual Elastic.Clients.Elasticsearch.SearchApplication.PostBehavioralAna return DoRequestAsync(request, cancellationToken); } - [System.Obsolete("Deprecated in '9.0.0'.")] public virtual System.Threading.Tasks.Task PostBehavioralAnalyticsEventAsync(Elastic.Clients.Elasticsearch.Name collectionName, Elastic.Clients.Elasticsearch.SearchApplication.EventType eventType, System.Threading.CancellationToken cancellationToken = default) { var builder = new Elastic.Clients.Elasticsearch.SearchApplication.PostBehavioralAnalyticsEventRequestDescriptor(collectionName, eventType); @@ -354,7 +339,6 @@ public virtual Elastic.Clients.Elasticsearch.SearchApplication.PostBehavioralAna return DoRequestAsync(request, cancellationToken); } - [System.Obsolete("Deprecated in '9.0.0'.")] public virtual System.Threading.Tasks.Task PostBehavioralAnalyticsEventAsync(Elastic.Clients.Elasticsearch.Name collectionName, Elastic.Clients.Elasticsearch.SearchApplication.EventType eventType, System.Action action, System.Threading.CancellationToken cancellationToken = default) { var builder = new Elastic.Clients.Elasticsearch.SearchApplication.PostBehavioralAnalyticsEventRequestDescriptor(collectionName, eventType); @@ -416,7 +400,6 @@ public virtual Elastic.Clients.Elasticsearch.SearchApplication.PutBehavioralAnal return DoRequest(request); } - [System.Obsolete("Deprecated in '9.0.0'.")] public virtual Elastic.Clients.Elasticsearch.SearchApplication.PutBehavioralAnalyticsResponse PutBehavioralAnalytics(Elastic.Clients.Elasticsearch.Name name) { var builder = new Elastic.Clients.Elasticsearch.SearchApplication.PutBehavioralAnalyticsRequestDescriptor(name); @@ -425,7 +408,6 @@ public virtual Elastic.Clients.Elasticsearch.SearchApplication.PutBehavioralAnal return DoRequest(request); } - [System.Obsolete("Deprecated in '9.0.0'.")] public virtual Elastic.Clients.Elasticsearch.SearchApplication.PutBehavioralAnalyticsResponse PutBehavioralAnalytics(Elastic.Clients.Elasticsearch.Name name, System.Action action) { var builder = new Elastic.Clients.Elasticsearch.SearchApplication.PutBehavioralAnalyticsRequestDescriptor(name); @@ -441,7 +423,6 @@ public virtual Elastic.Clients.Elasticsearch.SearchApplication.PutBehavioralAnal return DoRequestAsync(request, cancellationToken); } - [System.Obsolete("Deprecated in '9.0.0'.")] public virtual System.Threading.Tasks.Task PutBehavioralAnalyticsAsync(Elastic.Clients.Elasticsearch.Name name, System.Threading.CancellationToken cancellationToken = default) { var builder = new Elastic.Clients.Elasticsearch.SearchApplication.PutBehavioralAnalyticsRequestDescriptor(name); @@ -450,7 +431,6 @@ public virtual Elastic.Clients.Elasticsearch.SearchApplication.PutBehavioralAnal return DoRequestAsync(request, cancellationToken); } - [System.Obsolete("Deprecated in '9.0.0'.")] public virtual System.Threading.Tasks.Task PutBehavioralAnalyticsAsync(Elastic.Clients.Elasticsearch.Name name, System.Action action, System.Threading.CancellationToken cancellationToken = default) { var builder = new Elastic.Clients.Elasticsearch.SearchApplication.PutBehavioralAnalyticsRequestDescriptor(name); diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.Security.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.Security.g.cs index 1b093b831a1..096a324cce7 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.Security.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.Security.g.cs @@ -2557,15 +2557,6 @@ public virtual Elastic.Clients.Elasticsearch.Security.PutRoleMappingResponse Put return DoRequest(request); } - public virtual Elastic.Clients.Elasticsearch.Security.PutRoleMappingResponse PutRoleMapping(Elastic.Clients.Elasticsearch.Name name, System.Action> action) - { - var builder = new Elastic.Clients.Elasticsearch.Security.PutRoleMappingRequestDescriptor(name); - action.Invoke(builder); - var request = builder.Instance; - request.BeforeRequest(); - return DoRequest(request); - } - public virtual System.Threading.Tasks.Task PutRoleMappingAsync(Elastic.Clients.Elasticsearch.Security.PutRoleMappingRequest request, System.Threading.CancellationToken cancellationToken = default) { request.BeforeRequest(); @@ -2589,15 +2580,6 @@ public virtual Elastic.Clients.Elasticsearch.Security.PutRoleMappingResponse Put return DoRequestAsync(request, cancellationToken); } - public virtual System.Threading.Tasks.Task PutRoleMappingAsync(Elastic.Clients.Elasticsearch.Name name, System.Action> action, System.Threading.CancellationToken cancellationToken = default) - { - var builder = new Elastic.Clients.Elasticsearch.Security.PutRoleMappingRequestDescriptor(name); - action.Invoke(builder); - var request = builder.Instance; - request.BeforeRequest(); - return DoRequestAsync(request, cancellationToken); - } - public virtual Elastic.Clients.Elasticsearch.Security.PutUserResponse PutUser(Elastic.Clients.Elasticsearch.Security.PutUserRequest request) { request.BeforeRequest(); diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/CategorizeTextAggregation.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/CategorizeTextAggregation.g.cs index 57f4e1db906..53270d68ce2 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/CategorizeTextAggregation.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/CategorizeTextAggregation.g.cs @@ -179,8 +179,8 @@ internal CategorizeTextAggregation(Elastic.Clients.Elasticsearch.Serialization.J /// /// /// The categorization analyzer specifies how the text is analyzed and tokenized before being categorized. - /// The syntax is very similar to that used to define the analyzer in the analyze API. This property - /// cannot be used at the same time as categorization_filters. + /// The syntax is very similar to that used to define the analyzer in the Analyze endpoint. This property + /// cannot be used at the same time as categorization_filters. /// /// public Elastic.Clients.Elasticsearch.Aggregations.CategorizeTextAnalyzer? CategorizationAnalyzer { get; set; } @@ -294,8 +294,8 @@ public CategorizeTextAggregationDescriptor() /// /// /// The categorization analyzer specifies how the text is analyzed and tokenized before being categorized. - /// The syntax is very similar to that used to define the analyzer in the analyze API. This property - /// cannot be used at the same time as categorization_filters. + /// The syntax is very similar to that used to define the analyzer in the Analyze endpoint. This property + /// cannot be used at the same time as categorization_filters. /// /// public Elastic.Clients.Elasticsearch.Aggregations.CategorizeTextAggregationDescriptor CategorizationAnalyzer(Elastic.Clients.Elasticsearch.Aggregations.CategorizeTextAnalyzer? value) @@ -307,8 +307,8 @@ public Elastic.Clients.Elasticsearch.Aggregations.CategorizeTextAggregationDescr /// /// /// The categorization analyzer specifies how the text is analyzed and tokenized before being categorized. - /// The syntax is very similar to that used to define the analyzer in the analyze API. This property - /// cannot be used at the same time as categorization_filters. + /// The syntax is very similar to that used to define the analyzer in the Analyze endpoint. This property + /// cannot be used at the same time as categorization_filters. /// /// public Elastic.Clients.Elasticsearch.Aggregations.CategorizeTextAggregationDescriptor CategorizationAnalyzer(System.Func action) @@ -494,8 +494,8 @@ public CategorizeTextAggregationDescriptor() /// /// /// The categorization analyzer specifies how the text is analyzed and tokenized before being categorized. - /// The syntax is very similar to that used to define the analyzer in the analyze API. This property - /// cannot be used at the same time as categorization_filters. + /// The syntax is very similar to that used to define the analyzer in the Analyze endpoint. This property + /// cannot be used at the same time as categorization_filters. /// /// public Elastic.Clients.Elasticsearch.Aggregations.CategorizeTextAggregationDescriptor CategorizationAnalyzer(Elastic.Clients.Elasticsearch.Aggregations.CategorizeTextAnalyzer? value) @@ -507,8 +507,8 @@ public Elastic.Clients.Elasticsearch.Aggregations.CategorizeTextAggregationDescr /// /// /// The categorization analyzer specifies how the text is analyzed and tokenized before being categorized. - /// The syntax is very similar to that used to define the analyzer in the analyze API. This property - /// cannot be used at the same time as categorization_filters. + /// The syntax is very similar to that used to define the analyzer in the Analyze endpoint. This property + /// cannot be used at the same time as categorization_filters. /// /// public Elastic.Clients.Elasticsearch.Aggregations.CategorizeTextAggregationDescriptor CategorizationAnalyzer(System.Func action) diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Analysis/Analyzers.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Analysis/Analyzers.g.cs index db904fdeee7..5c8760b4c06 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Analysis/Analyzers.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Analysis/Analyzers.g.cs @@ -343,13 +343,7 @@ public Elastic.Clients.Elasticsearch.Analysis.AnalyzersDescriptor Fingerprint(st return this; } - public Elastic.Clients.Elasticsearch.Analysis.AnalyzersDescriptor Fingerprint(string key) - { - _items.Add(key, Elastic.Clients.Elasticsearch.Analysis.FingerprintAnalyzerDescriptor.Build(null)); - return this; - } - - public Elastic.Clients.Elasticsearch.Analysis.AnalyzersDescriptor Fingerprint(string key, System.Action? action) + public Elastic.Clients.Elasticsearch.Analysis.AnalyzersDescriptor Fingerprint(string key, System.Action action) { _items.Add(key, Elastic.Clients.Elasticsearch.Analysis.FingerprintAnalyzerDescriptor.Build(action)); return this; @@ -655,13 +649,7 @@ public Elastic.Clients.Elasticsearch.Analysis.AnalyzersDescriptor Pattern(string return this; } - public Elastic.Clients.Elasticsearch.Analysis.AnalyzersDescriptor Pattern(string key) - { - _items.Add(key, Elastic.Clients.Elasticsearch.Analysis.PatternAnalyzerDescriptor.Build(null)); - return this; - } - - public Elastic.Clients.Elasticsearch.Analysis.AnalyzersDescriptor Pattern(string key, System.Action? action) + public Elastic.Clients.Elasticsearch.Analysis.AnalyzersDescriptor Pattern(string key, System.Action action) { _items.Add(key, Elastic.Clients.Elasticsearch.Analysis.PatternAnalyzerDescriptor.Build(action)); return this; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Analysis/FingerprintAnalyzer.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Analysis/FingerprintAnalyzer.g.cs index 46b8c9ec3a9..84dca002529 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Analysis/FingerprintAnalyzer.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Analysis/FingerprintAnalyzer.g.cs @@ -26,6 +26,7 @@ namespace Elastic.Clients.Elasticsearch.Analysis; internal sealed partial class FingerprintAnalyzerConverter : System.Text.Json.Serialization.JsonConverter { private static readonly System.Text.Json.JsonEncodedText PropMaxOutputSize = System.Text.Json.JsonEncodedText.Encode("max_output_size"); + private static readonly System.Text.Json.JsonEncodedText PropPreserveOriginal = System.Text.Json.JsonEncodedText.Encode("preserve_original"); private static readonly System.Text.Json.JsonEncodedText PropSeparator = System.Text.Json.JsonEncodedText.Encode("separator"); private static readonly System.Text.Json.JsonEncodedText PropStopwords = System.Text.Json.JsonEncodedText.Encode("stopwords"); private static readonly System.Text.Json.JsonEncodedText PropStopwordsPath = System.Text.Json.JsonEncodedText.Encode("stopwords_path"); @@ -35,8 +36,9 @@ internal sealed partial class FingerprintAnalyzerConverter : System.Text.Json.Se public override Elastic.Clients.Elasticsearch.Analysis.FingerprintAnalyzer Read(ref System.Text.Json.Utf8JsonReader reader, System.Type typeToConvert, System.Text.Json.JsonSerializerOptions options) { reader.ValidateToken(System.Text.Json.JsonTokenType.StartObject); - LocalJsonValue propMaxOutputSize = default; - LocalJsonValue propSeparator = default; + LocalJsonValue propMaxOutputSize = default; + LocalJsonValue propPreserveOriginal = default; + LocalJsonValue propSeparator = default; LocalJsonValue>?> propStopwords = default; LocalJsonValue propStopwordsPath = default; LocalJsonValue propVersion = default; @@ -47,6 +49,11 @@ public override Elastic.Clients.Elasticsearch.Analysis.FingerprintAnalyzer Read( continue; } + if (propPreserveOriginal.TryReadProperty(ref reader, options, PropPreserveOriginal, null)) + { + continue; + } + if (propSeparator.TryReadProperty(ref reader, options, PropSeparator, null)) { continue; @@ -86,12 +93,11 @@ public override Elastic.Clients.Elasticsearch.Analysis.FingerprintAnalyzer Read( return new Elastic.Clients.Elasticsearch.Analysis.FingerprintAnalyzer(Elastic.Clients.Elasticsearch.Serialization.JsonConstructorSentinel.Instance) { MaxOutputSize = propMaxOutputSize.Value, + PreserveOriginal = propPreserveOriginal.Value, Separator = propSeparator.Value, Stopwords = propStopwords.Value, StopwordsPath = propStopwordsPath.Value, -#pragma warning disable CS0618 Version = propVersion.Value -#pragma warning restore CS0618 }; } @@ -99,14 +105,12 @@ public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clien { writer.WriteStartObject(); writer.WriteProperty(options, PropMaxOutputSize, value.MaxOutputSize, null, null); + writer.WriteProperty(options, PropPreserveOriginal, value.PreserveOriginal, null, null); writer.WriteProperty(options, PropSeparator, value.Separator, null, null); writer.WriteProperty(options, PropStopwords, value.Stopwords, null, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, Elastic.Clients.Elasticsearch.Union>? v) => w.WriteUnionValue>(o, v, null, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, System.Collections.Generic.ICollection v) => w.WriteCollectionValue(o, v, null))); writer.WriteProperty(options, PropStopwordsPath, value.StopwordsPath, null, null); writer.WriteProperty(options, PropType, value.Type, null, null); -#pragma warning disable CS0618 - writer.WriteProperty(options, PropVersion, value.Version, null, null) -#pragma warning restore CS0618 - ; + writer.WriteProperty(options, PropVersion, value.Version, null, null); writer.WriteEndObject(); } } @@ -114,12 +118,20 @@ public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clien [System.Text.Json.Serialization.JsonConverter(typeof(Elastic.Clients.Elasticsearch.Analysis.FingerprintAnalyzerConverter))] public sealed partial class FingerprintAnalyzer : Elastic.Clients.Elasticsearch.Analysis.IAnalyzer { + [System.Diagnostics.CodeAnalysis.SetsRequiredMembers] + public FingerprintAnalyzer(int maxOutputSize, bool preserveOriginal, string separator) + { + MaxOutputSize = maxOutputSize; + PreserveOriginal = preserveOriginal; + Separator = separator; + } #if NET7_0_OR_GREATER public FingerprintAnalyzer() { } #endif #if !NET7_0_OR_GREATER + [System.Obsolete("The type contains required properties that must be initialized. Please use an alternative constructor to ensure all required values are properly set.")] public FingerprintAnalyzer() { } @@ -130,40 +142,26 @@ internal FingerprintAnalyzer(Elastic.Clients.Elasticsearch.Serialization.JsonCon _ = sentinel; } - /// - /// - /// The maximum token size to emit. Tokens larger than this size will be discarded. - /// Defaults to 255 - /// - /// - public int? MaxOutputSize { get; set; } - - /// - /// - /// The character to use to concatenate the terms. - /// Defaults to a space. - /// - /// - public string? Separator { get; set; } - - /// - /// - /// A pre-defined stop words list like _english_ or an array containing a list of stop words. - /// Defaults to _none_. - /// - /// + public +#if NET7_0_OR_GREATER + required +#endif + int MaxOutputSize { get; set; } + public +#if NET7_0_OR_GREATER + required +#endif + bool PreserveOriginal { get; set; } + public +#if NET7_0_OR_GREATER + required +#endif + string Separator { get; set; } public Elastic.Clients.Elasticsearch.Union>? Stopwords { get; set; } - - /// - /// - /// The path to a file containing stop words. - /// - /// public string? StopwordsPath { get; set; } public string Type => "fingerprint"; - [System.Obsolete("Deprecated in '7.14.0'.")] public string? Version { get; set; } } @@ -186,54 +184,36 @@ public FingerprintAnalyzerDescriptor() public static explicit operator Elastic.Clients.Elasticsearch.Analysis.FingerprintAnalyzerDescriptor(Elastic.Clients.Elasticsearch.Analysis.FingerprintAnalyzer instance) => new Elastic.Clients.Elasticsearch.Analysis.FingerprintAnalyzerDescriptor(instance); public static implicit operator Elastic.Clients.Elasticsearch.Analysis.FingerprintAnalyzer(Elastic.Clients.Elasticsearch.Analysis.FingerprintAnalyzerDescriptor descriptor) => descriptor.Instance; - /// - /// - /// The maximum token size to emit. Tokens larger than this size will be discarded. - /// Defaults to 255 - /// - /// - public Elastic.Clients.Elasticsearch.Analysis.FingerprintAnalyzerDescriptor MaxOutputSize(int? value) + public Elastic.Clients.Elasticsearch.Analysis.FingerprintAnalyzerDescriptor MaxOutputSize(int value) { Instance.MaxOutputSize = value; return this; } - /// - /// - /// The character to use to concatenate the terms. - /// Defaults to a space. - /// - /// - public Elastic.Clients.Elasticsearch.Analysis.FingerprintAnalyzerDescriptor Separator(string? value) + public Elastic.Clients.Elasticsearch.Analysis.FingerprintAnalyzerDescriptor PreserveOriginal(bool value = true) + { + Instance.PreserveOriginal = value; + return this; + } + + public Elastic.Clients.Elasticsearch.Analysis.FingerprintAnalyzerDescriptor Separator(string value) { Instance.Separator = value; return this; } - /// - /// - /// A pre-defined stop words list like _english_ or an array containing a list of stop words. - /// Defaults to _none_. - /// - /// public Elastic.Clients.Elasticsearch.Analysis.FingerprintAnalyzerDescriptor Stopwords(Elastic.Clients.Elasticsearch.Union>? value) { Instance.Stopwords = value; return this; } - /// - /// - /// The path to a file containing stop words. - /// - /// public Elastic.Clients.Elasticsearch.Analysis.FingerprintAnalyzerDescriptor StopwordsPath(string? value) { Instance.StopwordsPath = value; return this; } - [System.Obsolete("Deprecated in '7.14.0'.")] public Elastic.Clients.Elasticsearch.Analysis.FingerprintAnalyzerDescriptor Version(string? value) { Instance.Version = value; @@ -241,13 +221,8 @@ public Elastic.Clients.Elasticsearch.Analysis.FingerprintAnalyzerDescriptor Vers } [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] - internal static Elastic.Clients.Elasticsearch.Analysis.FingerprintAnalyzer Build(System.Action? action) + internal static Elastic.Clients.Elasticsearch.Analysis.FingerprintAnalyzer Build(System.Action action) { - if (action is null) - { - return new Elastic.Clients.Elasticsearch.Analysis.FingerprintAnalyzer(Elastic.Clients.Elasticsearch.Serialization.JsonConstructorSentinel.Instance); - } - var builder = new Elastic.Clients.Elasticsearch.Analysis.FingerprintAnalyzerDescriptor(new Elastic.Clients.Elasticsearch.Analysis.FingerprintAnalyzer(Elastic.Clients.Elasticsearch.Serialization.JsonConstructorSentinel.Instance)); action.Invoke(builder); return builder.Instance; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Analysis/KeywordAnalyzer.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Analysis/KeywordAnalyzer.g.cs index 24c4a82743c..73751bfe131 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Analysis/KeywordAnalyzer.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Analysis/KeywordAnalyzer.g.cs @@ -57,9 +57,7 @@ public override Elastic.Clients.Elasticsearch.Analysis.KeywordAnalyzer Read(ref reader.ValidateToken(System.Text.Json.JsonTokenType.EndObject); return new Elastic.Clients.Elasticsearch.Analysis.KeywordAnalyzer(Elastic.Clients.Elasticsearch.Serialization.JsonConstructorSentinel.Instance) { -#pragma warning disable CS0618 Version = propVersion.Value -#pragma warning restore CS0618 }; } @@ -67,10 +65,7 @@ public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clien { writer.WriteStartObject(); writer.WriteProperty(options, PropType, value.Type, null, null); -#pragma warning disable CS0618 - writer.WriteProperty(options, PropVersion, value.Version, null, null) -#pragma warning restore CS0618 - ; + writer.WriteProperty(options, PropVersion, value.Version, null, null); writer.WriteEndObject(); } } @@ -96,7 +91,6 @@ internal KeywordAnalyzer(Elastic.Clients.Elasticsearch.Serialization.JsonConstru public string Type => "keyword"; - [System.Obsolete("Deprecated in '7.14.0'.")] public string? Version { get; set; } } @@ -119,7 +113,6 @@ public KeywordAnalyzerDescriptor() public static explicit operator Elastic.Clients.Elasticsearch.Analysis.KeywordAnalyzerDescriptor(Elastic.Clients.Elasticsearch.Analysis.KeywordAnalyzer instance) => new Elastic.Clients.Elasticsearch.Analysis.KeywordAnalyzerDescriptor(instance); public static implicit operator Elastic.Clients.Elasticsearch.Analysis.KeywordAnalyzer(Elastic.Clients.Elasticsearch.Analysis.KeywordAnalyzerDescriptor descriptor) => descriptor.Instance; - [System.Obsolete("Deprecated in '7.14.0'.")] public Elastic.Clients.Elasticsearch.Analysis.KeywordAnalyzerDescriptor Version(string? value) { Instance.Version = value; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Analysis/NoriAnalyzer.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Analysis/NoriAnalyzer.g.cs index 81c4aae682e..ffe8c1b6acf 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Analysis/NoriAnalyzer.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Analysis/NoriAnalyzer.g.cs @@ -81,9 +81,7 @@ public override Elastic.Clients.Elasticsearch.Analysis.NoriAnalyzer Read(ref Sys DecompoundMode = propDecompoundMode.Value, Stoptags = propStoptags.Value, UserDictionary = propUserDictionary.Value, -#pragma warning disable CS0618 Version = propVersion.Value -#pragma warning restore CS0618 }; } @@ -94,10 +92,7 @@ public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clien writer.WriteProperty(options, PropStoptags, value.Stoptags, null, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, System.Collections.Generic.ICollection? v) => w.WriteCollectionValue(o, v, null)); writer.WriteProperty(options, PropType, value.Type, null, null); writer.WriteProperty(options, PropUserDictionary, value.UserDictionary, null, null); -#pragma warning disable CS0618 - writer.WriteProperty(options, PropVersion, value.Version, null, null) -#pragma warning restore CS0618 - ; + writer.WriteProperty(options, PropVersion, value.Version, null, null); writer.WriteEndObject(); } } @@ -127,7 +122,6 @@ internal NoriAnalyzer(Elastic.Clients.Elasticsearch.Serialization.JsonConstructo public string Type => "nori"; public string? UserDictionary { get; set; } - [System.Obsolete("Deprecated in '7.14.0'.")] public string? Version { get; set; } } @@ -174,7 +168,6 @@ public Elastic.Clients.Elasticsearch.Analysis.NoriAnalyzerDescriptor UserDiction return this; } - [System.Obsolete("Deprecated in '7.14.0'.")] public Elastic.Clients.Elasticsearch.Analysis.NoriAnalyzerDescriptor Version(string? value) { Instance.Version = value; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Analysis/PatternAnalyzer.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Analysis/PatternAnalyzer.g.cs index 019ba4d03bd..a2fb9759109 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Analysis/PatternAnalyzer.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Analysis/PatternAnalyzer.g.cs @@ -29,7 +29,6 @@ internal sealed partial class PatternAnalyzerConverter : System.Text.Json.Serial private static readonly System.Text.Json.JsonEncodedText PropLowercase = System.Text.Json.JsonEncodedText.Encode("lowercase"); private static readonly System.Text.Json.JsonEncodedText PropPattern = System.Text.Json.JsonEncodedText.Encode("pattern"); private static readonly System.Text.Json.JsonEncodedText PropStopwords = System.Text.Json.JsonEncodedText.Encode("stopwords"); - private static readonly System.Text.Json.JsonEncodedText PropStopwordsPath = System.Text.Json.JsonEncodedText.Encode("stopwords_path"); private static readonly System.Text.Json.JsonEncodedText PropType = System.Text.Json.JsonEncodedText.Encode("type"); private static readonly System.Text.Json.JsonEncodedText PropVersion = System.Text.Json.JsonEncodedText.Encode("version"); @@ -38,9 +37,8 @@ public override Elastic.Clients.Elasticsearch.Analysis.PatternAnalyzer Read(ref reader.ValidateToken(System.Text.Json.JsonTokenType.StartObject); LocalJsonValue propFlags = default; LocalJsonValue propLowercase = default; - LocalJsonValue propPattern = default; + LocalJsonValue propPattern = default; LocalJsonValue>?> propStopwords = default; - LocalJsonValue propStopwordsPath = default; LocalJsonValue propVersion = default; while (reader.Read() && reader.TokenType is System.Text.Json.JsonTokenType.PropertyName) { @@ -64,11 +62,6 @@ public override Elastic.Clients.Elasticsearch.Analysis.PatternAnalyzer Read(ref continue; } - if (propStopwordsPath.TryReadProperty(ref reader, options, PropStopwordsPath, null)) - { - continue; - } - if (reader.ValueTextEquals(PropType)) { reader.Skip(); @@ -96,10 +89,7 @@ public override Elastic.Clients.Elasticsearch.Analysis.PatternAnalyzer Read(ref Lowercase = propLowercase.Value, Pattern = propPattern.Value, Stopwords = propStopwords.Value, - StopwordsPath = propStopwordsPath.Value, -#pragma warning disable CS0618 Version = propVersion.Value -#pragma warning restore CS0618 }; } @@ -110,12 +100,8 @@ public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clien writer.WriteProperty(options, PropLowercase, value.Lowercase, null, null); writer.WriteProperty(options, PropPattern, value.Pattern, null, null); writer.WriteProperty(options, PropStopwords, value.Stopwords, null, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, Elastic.Clients.Elasticsearch.Union>? v) => w.WriteUnionValue>(o, v, null, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, System.Collections.Generic.ICollection v) => w.WriteCollectionValue(o, v, null))); - writer.WriteProperty(options, PropStopwordsPath, value.StopwordsPath, null, null); writer.WriteProperty(options, PropType, value.Type, null, null); -#pragma warning disable CS0618 - writer.WriteProperty(options, PropVersion, value.Version, null, null) -#pragma warning restore CS0618 - ; + writer.WriteProperty(options, PropVersion, value.Version, null, null); writer.WriteEndObject(); } } @@ -123,12 +109,18 @@ public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clien [System.Text.Json.Serialization.JsonConverter(typeof(Elastic.Clients.Elasticsearch.Analysis.PatternAnalyzerConverter))] public sealed partial class PatternAnalyzer : Elastic.Clients.Elasticsearch.Analysis.IAnalyzer { + [System.Diagnostics.CodeAnalysis.SetsRequiredMembers] + public PatternAnalyzer(string pattern) + { + Pattern = pattern; + } #if NET7_0_OR_GREATER public PatternAnalyzer() { } #endif #if !NET7_0_OR_GREATER + [System.Obsolete("The type contains required properties that must be initialized. Please use an alternative constructor to ensure all required values are properly set.")] public PatternAnalyzer() { } @@ -139,47 +131,17 @@ internal PatternAnalyzer(Elastic.Clients.Elasticsearch.Serialization.JsonConstru _ = sentinel; } - /// - /// - /// Java regular expression flags. Flags should be pipe-separated, eg "CASE_INSENSITIVE|COMMENTS". - /// - /// public string? Flags { get; set; } - - /// - /// - /// Should terms be lowercased or not. - /// Defaults to true. - /// - /// public bool? Lowercase { get; set; } - - /// - /// - /// A Java regular expression. - /// Defaults to \W+. - /// - /// - public string? Pattern { get; set; } - - /// - /// - /// A pre-defined stop words list like _english_ or an array containing a list of stop words. - /// Defaults to _none_. - /// - /// + public +#if NET7_0_OR_GREATER + required +#endif + string Pattern { get; set; } public Elastic.Clients.Elasticsearch.Union>? Stopwords { get; set; } - /// - /// - /// The path to a file containing stop words. - /// - /// - public string? StopwordsPath { get; set; } - public string Type => "pattern"; - [System.Obsolete("Deprecated in '7.14.0'.")] public string? Version { get; set; } } @@ -202,65 +164,30 @@ public PatternAnalyzerDescriptor() public static explicit operator Elastic.Clients.Elasticsearch.Analysis.PatternAnalyzerDescriptor(Elastic.Clients.Elasticsearch.Analysis.PatternAnalyzer instance) => new Elastic.Clients.Elasticsearch.Analysis.PatternAnalyzerDescriptor(instance); public static implicit operator Elastic.Clients.Elasticsearch.Analysis.PatternAnalyzer(Elastic.Clients.Elasticsearch.Analysis.PatternAnalyzerDescriptor descriptor) => descriptor.Instance; - /// - /// - /// Java regular expression flags. Flags should be pipe-separated, eg "CASE_INSENSITIVE|COMMENTS". - /// - /// public Elastic.Clients.Elasticsearch.Analysis.PatternAnalyzerDescriptor Flags(string? value) { Instance.Flags = value; return this; } - /// - /// - /// Should terms be lowercased or not. - /// Defaults to true. - /// - /// public Elastic.Clients.Elasticsearch.Analysis.PatternAnalyzerDescriptor Lowercase(bool? value = true) { Instance.Lowercase = value; return this; } - /// - /// - /// A Java regular expression. - /// Defaults to \W+. - /// - /// - public Elastic.Clients.Elasticsearch.Analysis.PatternAnalyzerDescriptor Pattern(string? value) + public Elastic.Clients.Elasticsearch.Analysis.PatternAnalyzerDescriptor Pattern(string value) { Instance.Pattern = value; return this; } - /// - /// - /// A pre-defined stop words list like _english_ or an array containing a list of stop words. - /// Defaults to _none_. - /// - /// public Elastic.Clients.Elasticsearch.Analysis.PatternAnalyzerDescriptor Stopwords(Elastic.Clients.Elasticsearch.Union>? value) { Instance.Stopwords = value; return this; } - /// - /// - /// The path to a file containing stop words. - /// - /// - public Elastic.Clients.Elasticsearch.Analysis.PatternAnalyzerDescriptor StopwordsPath(string? value) - { - Instance.StopwordsPath = value; - return this; - } - - [System.Obsolete("Deprecated in '7.14.0'.")] public Elastic.Clients.Elasticsearch.Analysis.PatternAnalyzerDescriptor Version(string? value) { Instance.Version = value; @@ -268,13 +195,8 @@ public Elastic.Clients.Elasticsearch.Analysis.PatternAnalyzerDescriptor Version( } [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] - internal static Elastic.Clients.Elasticsearch.Analysis.PatternAnalyzer Build(System.Action? action) + internal static Elastic.Clients.Elasticsearch.Analysis.PatternAnalyzer Build(System.Action action) { - if (action is null) - { - return new Elastic.Clients.Elasticsearch.Analysis.PatternAnalyzer(Elastic.Clients.Elasticsearch.Serialization.JsonConstructorSentinel.Instance); - } - var builder = new Elastic.Clients.Elasticsearch.Analysis.PatternAnalyzerDescriptor(new Elastic.Clients.Elasticsearch.Analysis.PatternAnalyzer(Elastic.Clients.Elasticsearch.Serialization.JsonConstructorSentinel.Instance)); action.Invoke(builder); return builder.Instance; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Analysis/SimpleAnalyzer.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Analysis/SimpleAnalyzer.g.cs index a6db86ae336..4c58e42fce9 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Analysis/SimpleAnalyzer.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Analysis/SimpleAnalyzer.g.cs @@ -57,9 +57,7 @@ public override Elastic.Clients.Elasticsearch.Analysis.SimpleAnalyzer Read(ref S reader.ValidateToken(System.Text.Json.JsonTokenType.EndObject); return new Elastic.Clients.Elasticsearch.Analysis.SimpleAnalyzer(Elastic.Clients.Elasticsearch.Serialization.JsonConstructorSentinel.Instance) { -#pragma warning disable CS0618 Version = propVersion.Value -#pragma warning restore CS0618 }; } @@ -67,10 +65,7 @@ public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clien { writer.WriteStartObject(); writer.WriteProperty(options, PropType, value.Type, null, null); -#pragma warning disable CS0618 - writer.WriteProperty(options, PropVersion, value.Version, null, null) -#pragma warning restore CS0618 - ; + writer.WriteProperty(options, PropVersion, value.Version, null, null); writer.WriteEndObject(); } } @@ -96,7 +91,6 @@ internal SimpleAnalyzer(Elastic.Clients.Elasticsearch.Serialization.JsonConstruc public string Type => "simple"; - [System.Obsolete("Deprecated in '7.14.0'.")] public string? Version { get; set; } } @@ -119,7 +113,6 @@ public SimpleAnalyzerDescriptor() public static explicit operator Elastic.Clients.Elasticsearch.Analysis.SimpleAnalyzerDescriptor(Elastic.Clients.Elasticsearch.Analysis.SimpleAnalyzer instance) => new Elastic.Clients.Elasticsearch.Analysis.SimpleAnalyzerDescriptor(instance); public static implicit operator Elastic.Clients.Elasticsearch.Analysis.SimpleAnalyzer(Elastic.Clients.Elasticsearch.Analysis.SimpleAnalyzerDescriptor descriptor) => descriptor.Instance; - [System.Obsolete("Deprecated in '7.14.0'.")] public Elastic.Clients.Elasticsearch.Analysis.SimpleAnalyzerDescriptor Version(string? value) { Instance.Version = value; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Analysis/SnowballAnalyzer.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Analysis/SnowballAnalyzer.g.cs index e867ad9845f..9550935ff8d 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Analysis/SnowballAnalyzer.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Analysis/SnowballAnalyzer.g.cs @@ -73,9 +73,7 @@ public override Elastic.Clients.Elasticsearch.Analysis.SnowballAnalyzer Read(ref { Language = propLanguage.Value, Stopwords = propStopwords.Value, -#pragma warning disable CS0618 Version = propVersion.Value -#pragma warning restore CS0618 }; } @@ -85,10 +83,7 @@ public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clien writer.WriteProperty(options, PropLanguage, value.Language, null, null); writer.WriteProperty(options, PropStopwords, value.Stopwords, null, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, Elastic.Clients.Elasticsearch.Union>? v) => w.WriteUnionValue>(o, v, null, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, System.Collections.Generic.ICollection v) => w.WriteCollectionValue(o, v, null))); writer.WriteProperty(options, PropType, value.Type, null, null); -#pragma warning disable CS0618 - writer.WriteProperty(options, PropVersion, value.Version, null, null) -#pragma warning restore CS0618 - ; + writer.WriteProperty(options, PropVersion, value.Version, null, null); writer.WriteEndObject(); } } @@ -127,7 +122,6 @@ internal SnowballAnalyzer(Elastic.Clients.Elasticsearch.Serialization.JsonConstr public string Type => "snowball"; - [System.Obsolete("Deprecated in '7.14.0'.")] public string? Version { get; set; } } @@ -162,7 +156,6 @@ public Elastic.Clients.Elasticsearch.Analysis.SnowballAnalyzerDescriptor Stopwor return this; } - [System.Obsolete("Deprecated in '7.14.0'.")] public Elastic.Clients.Elasticsearch.Analysis.SnowballAnalyzerDescriptor Version(string? value) { Instance.Version = value; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Analysis/StandardAnalyzer.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Analysis/StandardAnalyzer.g.cs index b7827128653..40293e736a5 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Analysis/StandardAnalyzer.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Analysis/StandardAnalyzer.g.cs @@ -27,7 +27,6 @@ internal sealed partial class StandardAnalyzerConverter : System.Text.Json.Seria { private static readonly System.Text.Json.JsonEncodedText PropMaxTokenLength = System.Text.Json.JsonEncodedText.Encode("max_token_length"); private static readonly System.Text.Json.JsonEncodedText PropStopwords = System.Text.Json.JsonEncodedText.Encode("stopwords"); - private static readonly System.Text.Json.JsonEncodedText PropStopwordsPath = System.Text.Json.JsonEncodedText.Encode("stopwords_path"); private static readonly System.Text.Json.JsonEncodedText PropType = System.Text.Json.JsonEncodedText.Encode("type"); public override Elastic.Clients.Elasticsearch.Analysis.StandardAnalyzer Read(ref System.Text.Json.Utf8JsonReader reader, System.Type typeToConvert, System.Text.Json.JsonSerializerOptions options) @@ -35,7 +34,6 @@ public override Elastic.Clients.Elasticsearch.Analysis.StandardAnalyzer Read(ref reader.ValidateToken(System.Text.Json.JsonTokenType.StartObject); LocalJsonValue propMaxTokenLength = default; LocalJsonValue>?> propStopwords = default; - LocalJsonValue propStopwordsPath = default; while (reader.Read() && reader.TokenType is System.Text.Json.JsonTokenType.PropertyName) { if (propMaxTokenLength.TryReadProperty(ref reader, options, PropMaxTokenLength, null)) @@ -48,11 +46,6 @@ public override Elastic.Clients.Elasticsearch.Analysis.StandardAnalyzer Read(ref continue; } - if (propStopwordsPath.TryReadProperty(ref reader, options, PropStopwordsPath, null)) - { - continue; - } - if (reader.ValueTextEquals(PropType)) { reader.Skip(); @@ -72,8 +65,7 @@ public override Elastic.Clients.Elasticsearch.Analysis.StandardAnalyzer Read(ref return new Elastic.Clients.Elasticsearch.Analysis.StandardAnalyzer(Elastic.Clients.Elasticsearch.Serialization.JsonConstructorSentinel.Instance) { MaxTokenLength = propMaxTokenLength.Value, - Stopwords = propStopwords.Value, - StopwordsPath = propStopwordsPath.Value + Stopwords = propStopwords.Value }; } @@ -82,7 +74,6 @@ public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clien writer.WriteStartObject(); writer.WriteProperty(options, PropMaxTokenLength, value.MaxTokenLength, null, null); writer.WriteProperty(options, PropStopwords, value.Stopwords, null, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, Elastic.Clients.Elasticsearch.Union>? v) => w.WriteUnionValue>(o, v, null, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, System.Collections.Generic.ICollection v) => w.WriteCollectionValue(o, v, null))); - writer.WriteProperty(options, PropStopwordsPath, value.StopwordsPath, null, null); writer.WriteProperty(options, PropType, value.Type, null, null); writer.WriteEndObject(); } @@ -107,29 +98,9 @@ internal StandardAnalyzer(Elastic.Clients.Elasticsearch.Serialization.JsonConstr _ = sentinel; } - /// - /// - /// The maximum token length. If a token is seen that exceeds this length then it is split at max_token_length intervals. - /// Defaults to 255. - /// - /// public int? MaxTokenLength { get; set; } - - /// - /// - /// A pre-defined stop words list like _english_ or an array containing a list of stop words. - /// Defaults to _none_. - /// - /// public Elastic.Clients.Elasticsearch.Union>? Stopwords { get; set; } - /// - /// - /// The path to a file containing stop words. - /// - /// - public string? StopwordsPath { get; set; } - public string Type => "standard"; } @@ -152,41 +123,18 @@ public StandardAnalyzerDescriptor() public static explicit operator Elastic.Clients.Elasticsearch.Analysis.StandardAnalyzerDescriptor(Elastic.Clients.Elasticsearch.Analysis.StandardAnalyzer instance) => new Elastic.Clients.Elasticsearch.Analysis.StandardAnalyzerDescriptor(instance); public static implicit operator Elastic.Clients.Elasticsearch.Analysis.StandardAnalyzer(Elastic.Clients.Elasticsearch.Analysis.StandardAnalyzerDescriptor descriptor) => descriptor.Instance; - /// - /// - /// The maximum token length. If a token is seen that exceeds this length then it is split at max_token_length intervals. - /// Defaults to 255. - /// - /// public Elastic.Clients.Elasticsearch.Analysis.StandardAnalyzerDescriptor MaxTokenLength(int? value) { Instance.MaxTokenLength = value; return this; } - /// - /// - /// A pre-defined stop words list like _english_ or an array containing a list of stop words. - /// Defaults to _none_. - /// - /// public Elastic.Clients.Elasticsearch.Analysis.StandardAnalyzerDescriptor Stopwords(Elastic.Clients.Elasticsearch.Union>? value) { Instance.Stopwords = value; return this; } - /// - /// - /// The path to a file containing stop words. - /// - /// - public Elastic.Clients.Elasticsearch.Analysis.StandardAnalyzerDescriptor StopwordsPath(string? value) - { - Instance.StopwordsPath = value; - return this; - } - [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] internal static Elastic.Clients.Elasticsearch.Analysis.StandardAnalyzer Build(System.Action? action) { diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Analysis/StopAnalyzer.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Analysis/StopAnalyzer.g.cs index 155fcaa4ab5..2201f75b68b 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Analysis/StopAnalyzer.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Analysis/StopAnalyzer.g.cs @@ -73,9 +73,7 @@ public override Elastic.Clients.Elasticsearch.Analysis.StopAnalyzer Read(ref Sys { Stopwords = propStopwords.Value, StopwordsPath = propStopwordsPath.Value, -#pragma warning disable CS0618 Version = propVersion.Value -#pragma warning restore CS0618 }; } @@ -85,10 +83,7 @@ public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clien writer.WriteProperty(options, PropStopwords, value.Stopwords, null, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, Elastic.Clients.Elasticsearch.Union>? v) => w.WriteUnionValue>(o, v, null, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, System.Collections.Generic.ICollection v) => w.WriteCollectionValue(o, v, null))); writer.WriteProperty(options, PropStopwordsPath, value.StopwordsPath, null, null); writer.WriteProperty(options, PropType, value.Type, null, null); -#pragma warning disable CS0618 - writer.WriteProperty(options, PropVersion, value.Version, null, null) -#pragma warning restore CS0618 - ; + writer.WriteProperty(options, PropVersion, value.Version, null, null); writer.WriteEndObject(); } } @@ -112,24 +107,11 @@ internal StopAnalyzer(Elastic.Clients.Elasticsearch.Serialization.JsonConstructo _ = sentinel; } - /// - /// - /// A pre-defined stop words list like _english_ or an array containing a list of stop words. - /// Defaults to _none_. - /// - /// public Elastic.Clients.Elasticsearch.Union>? Stopwords { get; set; } - - /// - /// - /// The path to a file containing stop words. - /// - /// public string? StopwordsPath { get; set; } public string Type => "stop"; - [System.Obsolete("Deprecated in '7.14.0'.")] public string? Version { get; set; } } @@ -152,30 +134,18 @@ public StopAnalyzerDescriptor() public static explicit operator Elastic.Clients.Elasticsearch.Analysis.StopAnalyzerDescriptor(Elastic.Clients.Elasticsearch.Analysis.StopAnalyzer instance) => new Elastic.Clients.Elasticsearch.Analysis.StopAnalyzerDescriptor(instance); public static implicit operator Elastic.Clients.Elasticsearch.Analysis.StopAnalyzer(Elastic.Clients.Elasticsearch.Analysis.StopAnalyzerDescriptor descriptor) => descriptor.Instance; - /// - /// - /// A pre-defined stop words list like _english_ or an array containing a list of stop words. - /// Defaults to _none_. - /// - /// public Elastic.Clients.Elasticsearch.Analysis.StopAnalyzerDescriptor Stopwords(Elastic.Clients.Elasticsearch.Union>? value) { Instance.Stopwords = value; return this; } - /// - /// - /// The path to a file containing stop words. - /// - /// public Elastic.Clients.Elasticsearch.Analysis.StopAnalyzerDescriptor StopwordsPath(string? value) { Instance.StopwordsPath = value; return this; } - [System.Obsolete("Deprecated in '7.14.0'.")] public Elastic.Clients.Elasticsearch.Analysis.StopAnalyzerDescriptor Version(string? value) { Instance.Version = value; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Analysis/WhitespaceAnalyzer.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Analysis/WhitespaceAnalyzer.g.cs index 6f06290ca9c..a086167b653 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Analysis/WhitespaceAnalyzer.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Analysis/WhitespaceAnalyzer.g.cs @@ -57,9 +57,7 @@ public override Elastic.Clients.Elasticsearch.Analysis.WhitespaceAnalyzer Read(r reader.ValidateToken(System.Text.Json.JsonTokenType.EndObject); return new Elastic.Clients.Elasticsearch.Analysis.WhitespaceAnalyzer(Elastic.Clients.Elasticsearch.Serialization.JsonConstructorSentinel.Instance) { -#pragma warning disable CS0618 Version = propVersion.Value -#pragma warning restore CS0618 }; } @@ -67,10 +65,7 @@ public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clien { writer.WriteStartObject(); writer.WriteProperty(options, PropType, value.Type, null, null); -#pragma warning disable CS0618 - writer.WriteProperty(options, PropVersion, value.Version, null, null) -#pragma warning restore CS0618 - ; + writer.WriteProperty(options, PropVersion, value.Version, null, null); writer.WriteEndObject(); } } @@ -96,7 +91,6 @@ internal WhitespaceAnalyzer(Elastic.Clients.Elasticsearch.Serialization.JsonCons public string Type => "whitespace"; - [System.Obsolete("Deprecated in '7.14.0'.")] public string? Version { get; set; } } @@ -119,7 +113,6 @@ public WhitespaceAnalyzerDescriptor() public static explicit operator Elastic.Clients.Elasticsearch.Analysis.WhitespaceAnalyzerDescriptor(Elastic.Clients.Elasticsearch.Analysis.WhitespaceAnalyzer instance) => new Elastic.Clients.Elasticsearch.Analysis.WhitespaceAnalyzerDescriptor(instance); public static implicit operator Elastic.Clients.Elasticsearch.Analysis.WhitespaceAnalyzer(Elastic.Clients.Elasticsearch.Analysis.WhitespaceAnalyzerDescriptor descriptor) => descriptor.Instance; - [System.Obsolete("Deprecated in '7.14.0'.")] public Elastic.Clients.Elasticsearch.Analysis.WhitespaceAnalyzerDescriptor Version(string? value) { Instance.Version = value; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/ByteSize.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/ByteSize.g.cs index 4ebc1a8d7b5..d0fec696449 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/ByteSize.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/ByteSize.g.cs @@ -59,7 +59,7 @@ public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clien } /// -/// Learn more about this API in the Elasticsearch documentation. +/// Learn more about this API in the Elasticsearch documentation. /// [System.Text.Json.Serialization.JsonConverter(typeof(Elastic.Clients.Elasticsearch.ByteSizeConverter))] public sealed partial class ByteSize : Elastic.Clients.Elasticsearch.Union diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/Context.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/Context.g.cs index 9e64566295b..55b14a322b0 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/Context.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/Context.g.cs @@ -62,7 +62,7 @@ public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clien /// /// Text or location that we want similar documents for or a lookup to a document's field for the text. /// -/// Learn more about this API in the Elasticsearch documentation. +/// Learn more about this API in the Elasticsearch documentation. /// [System.Text.Json.Serialization.JsonConverter(typeof(Elastic.Clients.Elasticsearch.Core.Search.ContextConverter))] public sealed partial class Context : Elastic.Clients.Elasticsearch.Union diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/HealthReport/FileSettingsIndicator.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/HealthReport/FileSettingsIndicator.g.cs deleted file mode 100644 index 140a2cc94c5..00000000000 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/HealthReport/FileSettingsIndicator.g.cs +++ /dev/null @@ -1,145 +0,0 @@ -// 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.Linq; -using Elastic.Clients.Elasticsearch.Serialization; - -namespace Elastic.Clients.Elasticsearch.Core.HealthReport; - -internal sealed partial class FileSettingsIndicatorConverter : System.Text.Json.Serialization.JsonConverter -{ - private static readonly System.Text.Json.JsonEncodedText PropDetails = System.Text.Json.JsonEncodedText.Encode("details"); - private static readonly System.Text.Json.JsonEncodedText PropDiagnosis = System.Text.Json.JsonEncodedText.Encode("diagnosis"); - private static readonly System.Text.Json.JsonEncodedText PropImpacts = System.Text.Json.JsonEncodedText.Encode("impacts"); - private static readonly System.Text.Json.JsonEncodedText PropStatus = System.Text.Json.JsonEncodedText.Encode("status"); - private static readonly System.Text.Json.JsonEncodedText PropSymptom = System.Text.Json.JsonEncodedText.Encode("symptom"); - - public override Elastic.Clients.Elasticsearch.Core.HealthReport.FileSettingsIndicator Read(ref System.Text.Json.Utf8JsonReader reader, System.Type typeToConvert, System.Text.Json.JsonSerializerOptions options) - { - reader.ValidateToken(System.Text.Json.JsonTokenType.StartObject); - LocalJsonValue propDetails = default; - LocalJsonValue?> propDiagnosis = default; - LocalJsonValue?> propImpacts = default; - LocalJsonValue propStatus = default; - LocalJsonValue propSymptom = default; - while (reader.Read() && reader.TokenType is System.Text.Json.JsonTokenType.PropertyName) - { - if (propDetails.TryReadProperty(ref reader, options, PropDetails, null)) - { - continue; - } - - if (propDiagnosis.TryReadProperty(ref reader, options, PropDiagnosis, static System.Collections.Generic.IReadOnlyCollection? (ref System.Text.Json.Utf8JsonReader r, System.Text.Json.JsonSerializerOptions o) => r.ReadCollectionValue(o, null))) - { - continue; - } - - if (propImpacts.TryReadProperty(ref reader, options, PropImpacts, static System.Collections.Generic.IReadOnlyCollection? (ref System.Text.Json.Utf8JsonReader r, System.Text.Json.JsonSerializerOptions o) => r.ReadCollectionValue(o, null))) - { - continue; - } - - if (propStatus.TryReadProperty(ref reader, options, PropStatus, null)) - { - continue; - } - - if (propSymptom.TryReadProperty(ref reader, options, PropSymptom, null)) - { - continue; - } - - if (options.UnmappedMemberHandling is System.Text.Json.Serialization.JsonUnmappedMemberHandling.Skip) - { - reader.Skip(); - continue; - } - - throw new System.Text.Json.JsonException($"Unknown JSON property '{reader.GetString()}' for type '{typeToConvert.Name}'."); - } - - reader.ValidateToken(System.Text.Json.JsonTokenType.EndObject); - return new Elastic.Clients.Elasticsearch.Core.HealthReport.FileSettingsIndicator(Elastic.Clients.Elasticsearch.Serialization.JsonConstructorSentinel.Instance) - { - Details = propDetails.Value, - Diagnosis = propDiagnosis.Value, - Impacts = propImpacts.Value, - Status = propStatus.Value, - Symptom = propSymptom.Value - }; - } - - public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clients.Elasticsearch.Core.HealthReport.FileSettingsIndicator value, System.Text.Json.JsonSerializerOptions options) - { - writer.WriteStartObject(); - writer.WriteProperty(options, PropDetails, value.Details, null, null); - writer.WriteProperty(options, PropDiagnosis, value.Diagnosis, null, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, System.Collections.Generic.IReadOnlyCollection? v) => w.WriteCollectionValue(o, v, null)); - writer.WriteProperty(options, PropImpacts, value.Impacts, null, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, System.Collections.Generic.IReadOnlyCollection? v) => w.WriteCollectionValue(o, v, null)); - writer.WriteProperty(options, PropStatus, value.Status, null, null); - writer.WriteProperty(options, PropSymptom, value.Symptom, null, null); - writer.WriteEndObject(); - } -} - -/// -/// -/// FILE_SETTINGS -/// -/// -[System.Text.Json.Serialization.JsonConverter(typeof(Elastic.Clients.Elasticsearch.Core.HealthReport.FileSettingsIndicatorConverter))] -public sealed partial class FileSettingsIndicator -{ - [System.Diagnostics.CodeAnalysis.SetsRequiredMembers] - public FileSettingsIndicator(Elastic.Clients.Elasticsearch.Core.HealthReport.IndicatorHealthStatus status, string symptom) - { - Status = status; - Symptom = symptom; - } -#if NET7_0_OR_GREATER - public FileSettingsIndicator() - { - } -#endif -#if !NET7_0_OR_GREATER - [System.Obsolete("The type contains required properties that must be initialized. Please use an alternative constructor to ensure all required values are properly set.")] - public FileSettingsIndicator() - { - } -#endif - [System.Diagnostics.CodeAnalysis.SetsRequiredMembers] - internal FileSettingsIndicator(Elastic.Clients.Elasticsearch.Serialization.JsonConstructorSentinel sentinel) - { - _ = sentinel; - } - - public Elastic.Clients.Elasticsearch.Core.HealthReport.FileSettingsIndicatorDetails? Details { get; set; } - public System.Collections.Generic.IReadOnlyCollection? Diagnosis { get; set; } - public System.Collections.Generic.IReadOnlyCollection? Impacts { get; set; } - public -#if NET7_0_OR_GREATER - required -#endif - Elastic.Clients.Elasticsearch.Core.HealthReport.IndicatorHealthStatus Status { get; set; } - public -#if NET7_0_OR_GREATER - required -#endif - string Symptom { get; set; } -} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/HealthReport/Indicators.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/HealthReport/Indicators.g.cs index 64d7278cad7..77428b0c876 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/HealthReport/Indicators.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/HealthReport/Indicators.g.cs @@ -27,7 +27,6 @@ internal sealed partial class IndicatorsConverter : System.Text.Json.Serializati { private static readonly System.Text.Json.JsonEncodedText PropDataStreamLifecycle = System.Text.Json.JsonEncodedText.Encode("data_stream_lifecycle"); private static readonly System.Text.Json.JsonEncodedText PropDisk = System.Text.Json.JsonEncodedText.Encode("disk"); - private static readonly System.Text.Json.JsonEncodedText PropFileSettings = System.Text.Json.JsonEncodedText.Encode("file_settings"); private static readonly System.Text.Json.JsonEncodedText PropIlm = System.Text.Json.JsonEncodedText.Encode("ilm"); private static readonly System.Text.Json.JsonEncodedText PropMasterIsStable = System.Text.Json.JsonEncodedText.Encode("master_is_stable"); private static readonly System.Text.Json.JsonEncodedText PropRepositoryIntegrity = System.Text.Json.JsonEncodedText.Encode("repository_integrity"); @@ -40,7 +39,6 @@ public override Elastic.Clients.Elasticsearch.Core.HealthReport.Indicators Read( reader.ValidateToken(System.Text.Json.JsonTokenType.StartObject); LocalJsonValue propDataStreamLifecycle = default; LocalJsonValue propDisk = default; - LocalJsonValue propFileSettings = default; LocalJsonValue propIlm = default; LocalJsonValue propMasterIsStable = default; LocalJsonValue propRepositoryIntegrity = default; @@ -59,11 +57,6 @@ public override Elastic.Clients.Elasticsearch.Core.HealthReport.Indicators Read( continue; } - if (propFileSettings.TryReadProperty(ref reader, options, PropFileSettings, null)) - { - continue; - } - if (propIlm.TryReadProperty(ref reader, options, PropIlm, null)) { continue; @@ -108,7 +101,6 @@ public override Elastic.Clients.Elasticsearch.Core.HealthReport.Indicators Read( { DataStreamLifecycle = propDataStreamLifecycle.Value, Disk = propDisk.Value, - FileSettings = propFileSettings.Value, Ilm = propIlm.Value, MasterIsStable = propMasterIsStable.Value, RepositoryIntegrity = propRepositoryIntegrity.Value, @@ -123,7 +115,6 @@ public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clien writer.WriteStartObject(); writer.WriteProperty(options, PropDataStreamLifecycle, value.DataStreamLifecycle, null, null); writer.WriteProperty(options, PropDisk, value.Disk, null, null); - writer.WriteProperty(options, PropFileSettings, value.FileSettings, null, null); writer.WriteProperty(options, PropIlm, value.Ilm, null, null); writer.WriteProperty(options, PropMasterIsStable, value.MasterIsStable, null, null); writer.WriteProperty(options, PropRepositoryIntegrity, value.RepositoryIntegrity, null, null); @@ -155,7 +146,6 @@ internal Indicators(Elastic.Clients.Elasticsearch.Serialization.JsonConstructorS public Elastic.Clients.Elasticsearch.Core.HealthReport.DataStreamLifecycleIndicator? DataStreamLifecycle { get; set; } public Elastic.Clients.Elasticsearch.Core.HealthReport.DiskIndicator? Disk { get; set; } - public Elastic.Clients.Elasticsearch.Core.HealthReport.FileSettingsIndicator? FileSettings { get; set; } public Elastic.Clients.Elasticsearch.Core.HealthReport.IlmIndicator? Ilm { get; set; } public Elastic.Clients.Elasticsearch.Core.HealthReport.MasterIsStableIndicator? MasterIsStable { get; set; } public Elastic.Clients.Elasticsearch.Core.HealthReport.RepositoryIntegrityIndicator? RepositoryIntegrity { get; set; } diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/MSearch/MultisearchBody.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/MSearch/MultisearchBody.g.cs index 0ed76599cd6..ed517b76b82 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/MSearch/MultisearchBody.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/MSearch/MultisearchBody.g.cs @@ -41,15 +41,12 @@ internal sealed partial class MultisearchBodyConverter : System.Text.Json.Serial private static readonly System.Text.Json.JsonEncodedText PropPostFilter = System.Text.Json.JsonEncodedText.Encode("post_filter"); private static readonly System.Text.Json.JsonEncodedText PropProfile = System.Text.Json.JsonEncodedText.Encode("profile"); private static readonly System.Text.Json.JsonEncodedText PropQuery = System.Text.Json.JsonEncodedText.Encode("query"); - private static readonly System.Text.Json.JsonEncodedText PropRank = System.Text.Json.JsonEncodedText.Encode("rank"); private static readonly System.Text.Json.JsonEncodedText PropRescore = System.Text.Json.JsonEncodedText.Encode("rescore"); - private static readonly System.Text.Json.JsonEncodedText PropRetriever = System.Text.Json.JsonEncodedText.Encode("retriever"); private static readonly System.Text.Json.JsonEncodedText PropRuntimeMappings = System.Text.Json.JsonEncodedText.Encode("runtime_mappings"); private static readonly System.Text.Json.JsonEncodedText PropScriptFields = System.Text.Json.JsonEncodedText.Encode("script_fields"); private static readonly System.Text.Json.JsonEncodedText PropSearchAfter = System.Text.Json.JsonEncodedText.Encode("search_after"); private static readonly System.Text.Json.JsonEncodedText PropSeqNoPrimaryTerm = System.Text.Json.JsonEncodedText.Encode("seq_no_primary_term"); private static readonly System.Text.Json.JsonEncodedText PropSize = System.Text.Json.JsonEncodedText.Encode("size"); - private static readonly System.Text.Json.JsonEncodedText PropSlice = System.Text.Json.JsonEncodedText.Encode("slice"); private static readonly System.Text.Json.JsonEncodedText PropSort = System.Text.Json.JsonEncodedText.Encode("sort"); private static readonly System.Text.Json.JsonEncodedText PropSource = System.Text.Json.JsonEncodedText.Encode("_source"); private static readonly System.Text.Json.JsonEncodedText PropStats = System.Text.Json.JsonEncodedText.Encode("stats"); @@ -79,15 +76,12 @@ public override Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBody Read( LocalJsonValue propPostFilter = default; LocalJsonValue propProfile = default; LocalJsonValue propQuery = default; - LocalJsonValue propRank = default; LocalJsonValue?> propRescore = default; - LocalJsonValue propRetriever = default; LocalJsonValue?> propRuntimeMappings = default; LocalJsonValue?> propScriptFields = default; LocalJsonValue?> propSearchAfter = default; LocalJsonValue propSeqNoPrimaryTerm = default; LocalJsonValue propSize = default; - LocalJsonValue propSlice = default; LocalJsonValue?> propSort = default; LocalJsonValue propSource = default; LocalJsonValue?> propStats = default; @@ -175,21 +169,11 @@ public override Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBody Read( continue; } - if (propRank.TryReadProperty(ref reader, options, PropRank, null)) - { - continue; - } - if (propRescore.TryReadProperty(ref reader, options, PropRescore, static System.Collections.Generic.ICollection? (ref System.Text.Json.Utf8JsonReader r, System.Text.Json.JsonSerializerOptions o) => r.ReadSingleOrManyCollectionValue(o, null))) { continue; } - if (propRetriever.TryReadProperty(ref reader, options, PropRetriever, null)) - { - continue; - } - if (propRuntimeMappings.TryReadProperty(ref reader, options, PropRuntimeMappings, static System.Collections.Generic.IDictionary? (ref System.Text.Json.Utf8JsonReader r, System.Text.Json.JsonSerializerOptions o) => r.ReadDictionaryValue(o, null, null))) { continue; @@ -215,11 +199,6 @@ public override Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBody Read( continue; } - if (propSlice.TryReadProperty(ref reader, options, PropSlice, null)) - { - continue; - } - if (propSort.TryReadProperty(ref reader, options, PropSort, static System.Collections.Generic.ICollection? (ref System.Text.Json.Utf8JsonReader r, System.Text.Json.JsonSerializerOptions o) => r.ReadSingleOrManyCollectionValue(o, null))) { continue; @@ -297,15 +276,12 @@ public override Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBody Read( PostFilter = propPostFilter.Value, Profile = propProfile.Value, Query = propQuery.Value, - Rank = propRank.Value, Rescore = propRescore.Value, - Retriever = propRetriever.Value, RuntimeMappings = propRuntimeMappings.Value, ScriptFields = propScriptFields.Value, SearchAfter = propSearchAfter.Value, SeqNoPrimaryTerm = propSeqNoPrimaryTerm.Value, Size = propSize.Value, - Slice = propSlice.Value, Sort = propSort.Value, Source = propSource.Value, Stats = propStats.Value, @@ -337,15 +313,12 @@ public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clien writer.WriteProperty(options, PropPostFilter, value.PostFilter, null, null); writer.WriteProperty(options, PropProfile, value.Profile, null, null); writer.WriteProperty(options, PropQuery, value.Query, null, null); - writer.WriteProperty(options, PropRank, value.Rank, null, null); writer.WriteProperty(options, PropRescore, value.Rescore, null, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, System.Collections.Generic.ICollection? v) => w.WriteSingleOrManyCollectionValue(o, v, null)); - writer.WriteProperty(options, PropRetriever, value.Retriever, null, null); writer.WriteProperty(options, PropRuntimeMappings, value.RuntimeMappings, null, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, System.Collections.Generic.IDictionary? v) => w.WriteDictionaryValue(o, v, null, null)); writer.WriteProperty(options, PropScriptFields, value.ScriptFields, null, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, System.Collections.Generic.IDictionary? v) => w.WriteDictionaryValue(o, v, null, null)); writer.WriteProperty(options, PropSearchAfter, value.SearchAfter, null, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, System.Collections.Generic.ICollection? v) => w.WriteCollectionValue(o, v, null)); writer.WriteProperty(options, PropSeqNoPrimaryTerm, value.SeqNoPrimaryTerm, null, null); writer.WriteProperty(options, PropSize, value.Size, null, null); - writer.WriteProperty(options, PropSlice, value.Slice, null, null); writer.WriteProperty(options, PropSort, value.Sort, null, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, System.Collections.Generic.ICollection? v) => w.WriteSingleOrManyCollectionValue(o, v, null)); writer.WriteProperty(options, PropSource, value.Source, null, null); writer.WriteProperty(options, PropStats, value.Stats, null, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, System.Collections.Generic.ICollection? v) => w.WriteCollectionValue(o, v, null)); @@ -379,31 +352,20 @@ internal MultisearchBody(Elastic.Clients.Elasticsearch.Serialization.JsonConstru _ = sentinel; } - /// - /// - /// Defines the aggregations that are run as part of the search request. - /// - /// public System.Collections.Generic.IDictionary? Aggregations { get; set; } - - /// - /// - /// Collapses search results the values of the specified field. - /// - /// public Elastic.Clients.Elasticsearch.Core.Search.FieldCollapse? Collapse { get; set; } /// /// - /// An array of wildcard (*) field patterns. - /// The request returns doc values for field names matching these patterns in the hits.fields property of the response. + /// Array of wildcard (*) patterns. The request returns doc values for field + /// names matching these patterns in the hits.fields property of the response. /// /// public System.Collections.Generic.ICollection? DocvalueFields { get; set; } /// /// - /// If true, the request returns detailed information about score computation as part of a hit. + /// If true, returns detailed information about score computation as part of a hit. /// /// public bool? Explain { get; set; } @@ -417,41 +379,32 @@ internal MultisearchBody(Elastic.Clients.Elasticsearch.Serialization.JsonConstru /// /// - /// An array of wildcard (*) field patterns. - /// The request returns values for field names matching these patterns in the hits.fields property of the response. + /// Array of wildcard (*) patterns. The request returns values for field names + /// matching these patterns in the hits.fields property of the response. /// /// public System.Collections.Generic.ICollection? Fields { get; set; } /// /// - /// The starting document offset, which must be non-negative. - /// By default, you cannot page through more than 10,000 hits using the from and size parameters. - /// To page through more hits, use the search_after parameter. + /// Starting document offset. By default, you cannot page through more than 10,000 + /// hits using the from and size parameters. To page through more hits, use the + /// search_after parameter. /// /// public int? From { get; set; } - - /// - /// - /// Specifies the highlighter to use for retrieving highlighted snippets from one or more fields in your search results. - /// - /// public Elastic.Clients.Elasticsearch.Core.Search.Highlight? Highlight { get; set; } /// /// - /// Boost the _score of documents from specified indices. - /// The boost value is the factor by which scores are multiplied. - /// A boost value greater than 1.0 increases the score. - /// A boost value between 0 and 1.0 decreases the score. + /// Boosts the _score of documents from specified indices. /// /// public System.Collections.Generic.ICollection>? IndicesBoost { get; set; } /// /// - /// The approximate kNN search to run. + /// Defines the approximate kNN search to run. /// /// public System.Collections.Generic.ICollection? Knn { get; set; } @@ -459,69 +412,33 @@ internal MultisearchBody(Elastic.Clients.Elasticsearch.Serialization.JsonConstru /// /// /// The minimum _score for matching documents. - /// Documents with a lower _score are not included in search results or results collected by aggregations. + /// Documents with a lower _score are not included in search results and results collected by aggregations. /// /// public double? MinScore { get; set; } /// /// - /// Limit the search to a point in time (PIT). - /// If you provide a PIT, you cannot specify an <index> in the request path. + /// Limits the search to a point in time (PIT). If you provide a PIT, you + /// cannot specify an <index> in the request path. /// /// public Elastic.Clients.Elasticsearch.Core.Search.PointInTimeReference? Pit { get; set; } - - /// - /// - /// Use the post_filter parameter to filter search results. - /// The search hits are filtered after the aggregations are calculated. - /// A post filter has no impact on the aggregation results. - /// - /// public Elastic.Clients.Elasticsearch.QueryDsl.Query? PostFilter { get; set; } - - /// - /// - /// Set to true to return detailed timing information about the execution of individual components in a search request. - /// NOTE: This is a debugging tool and adds significant overhead to search execution. - /// - /// public bool? Profile { get; set; } /// /// - /// The search definition using the Query DSL. + /// Defines the search definition using the Query DSL. /// /// public Elastic.Clients.Elasticsearch.QueryDsl.Query? Query { get; set; } - - /// - /// - /// The Reciprocal Rank Fusion (RRF) to use. - /// - /// - public Elastic.Clients.Elasticsearch.Rank? Rank { get; set; } - - /// - /// - /// Can be used to improve precision by reordering just the top (for example 100 - 500) documents returned by the query and post_filter phases. - /// - /// public System.Collections.Generic.ICollection? Rescore { get; set; } /// /// - /// A retriever is a specification to describe top documents returned from a search. - /// A retriever replaces other elements of the search API that also return top documents such as query and knn. - /// - /// - public Elastic.Clients.Elasticsearch.Retriever? Retriever { get; set; } - - /// - /// - /// One or more runtime fields in the search request. - /// These fields take precedence over mapped fields with the same name. + /// Defines one or more runtime fields in the search request. These fields take + /// precedence over mapped fields with the same name. /// /// public System.Collections.Generic.IDictionary? RuntimeMappings { get; set; } @@ -532,102 +449,67 @@ internal MultisearchBody(Elastic.Clients.Elasticsearch.Serialization.JsonConstru /// /// public System.Collections.Generic.IDictionary? ScriptFields { get; set; } - - /// - /// - /// Used to retrieve the next page of hits using a set of sort values from the previous page. - /// - /// public System.Collections.Generic.ICollection? SearchAfter { get; set; } /// /// - /// If true, the request returns sequence number and primary term of the last modification of each hit. + /// If true, returns sequence number and primary term of the last modification + /// of each hit. See Optimistic concurrency control. /// /// public bool? SeqNoPrimaryTerm { get; set; } /// /// - /// The number of hits to return, which must not be negative. - /// By default, you cannot page through more than 10,000 hits using the from and size parameters. - /// To page through more hits, use the search_after property. + /// The number of hits to return. By default, you cannot page through more + /// than 10,000 hits using the from and size parameters. To page through more + /// hits, use the search_after parameter. /// /// public int? Size { get; set; } - - /// - /// - /// Split a scrolled search into multiple slices that can be consumed independently. - /// - /// - public Elastic.Clients.Elasticsearch.SlicedScroll? Slice { get; set; } - - /// - /// - /// A comma-separated list of <field>:<direction> pairs. - /// - /// public System.Collections.Generic.ICollection? Sort { get; set; } /// /// - /// The source fields that are returned for matching documents. - /// These fields are returned in the hits._source property of the search response. - /// If the stored_fields property is specified, the _source property defaults to false. - /// Otherwise, it defaults to true. + /// Indicates which source fields are returned for matching documents. These + /// fields are returned in the hits._source property of the search response. /// /// public Elastic.Clients.Elasticsearch.Core.Search.SourceConfig? Source { get; set; } /// /// - /// The stats groups to associate with the search. - /// Each group maintains a statistics aggregation for its associated searches. - /// You can retrieve these stats using the indices stats API. + /// Stats groups to associate with the search. Each group maintains a statistics + /// aggregation for its associated searches. You can retrieve these stats using + /// the indices stats API. /// /// public System.Collections.Generic.ICollection? Stats { get; set; } /// /// - /// A comma-separated list of stored fields to return as part of a hit. - /// If no fields are specified, no stored fields are included in the response. - /// If this field is specified, the _source property defaults to false. - /// You can pass _source: true to return both source fields and stored fields in the search response. + /// List of stored fields to return as part of a hit. If no fields are specified, + /// no stored fields are included in the response. If this field is specified, the _source + /// parameter defaults to false. You can pass _source: true to return both source fields + /// and stored fields in the search response. /// /// public Elastic.Clients.Elasticsearch.Fields? StoredFields { get; set; } - - /// - /// - /// Defines a suggester that provides similar looking terms based on a provided text. - /// - /// public Elastic.Clients.Elasticsearch.Core.Search.Suggester? Suggest { get; set; } /// /// - /// The maximum number of documents to collect for each shard. - /// If a query reaches this limit, Elasticsearch terminates the query early. - /// Elasticsearch collects documents before sorting. - /// - /// - /// IMPORTANT: Use with caution. - /// Elasticsearch applies this property to each shard handling the request. - /// When possible, let Elasticsearch perform early termination automatically. - /// Avoid specifying this property for requests that target data streams with backing indices across multiple data tiers. - /// - /// - /// If set to 0 (default), the query does not terminate early. + /// Maximum number of documents to collect for each shard. If a query reaches this + /// limit, Elasticsearch terminates the query early. Elasticsearch collects documents + /// before sorting. Defaults to 0, which does not terminate query execution early. /// /// public long? TerminateAfter { get; set; } /// /// - /// The period of time to wait for a response from each shard. - /// If no response is received before the timeout expires, the request fails and returns an error. + /// Specifies the period of time to wait for a response from each shard. If no response + /// is received before the timeout expires, the request fails and returns an error. /// Defaults to no timeout. /// /// @@ -635,23 +517,24 @@ internal MultisearchBody(Elastic.Clients.Elasticsearch.Serialization.JsonConstru /// /// - /// If true, calculate and return document scores, even if the scores are not used for sorting. + /// If true, calculate and return document scores, even if the scores are not used for sorting. /// /// public bool? TrackScores { get; set; } /// /// - /// Number of hits matching the query to count accurately. - /// If true, the exact number of hits is returned at the cost of some performance. - /// If false, the response does not include the total number of hits matching the query. + /// Number of hits matching the query to count accurately. If true, the exact + /// number of hits is returned at the cost of some performance. If false, the + /// response does not include the total number of hits matching the query. + /// Defaults to 10,000 hits. /// /// public Elastic.Clients.Elasticsearch.Core.Search.TrackHits? TrackTotalHits { get; set; } /// /// - /// If true, the request returns the document version as part of a hit. + /// If true, returns document version as part of a hit. /// /// public bool? Version { get; set; } @@ -676,33 +559,18 @@ public MultisearchBodyDescriptor() public static explicit operator Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor(Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBody instance) => new Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor(instance); public static implicit operator Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBody(Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor descriptor) => descriptor.Instance; - /// - /// - /// Defines the aggregations that are run as part of the search request. - /// - /// public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor Aggregations(System.Collections.Generic.IDictionary? value) { Instance.Aggregations = value; return this; } - /// - /// - /// Defines the aggregations that are run as part of the search request. - /// - /// public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor Aggregations() { Instance.Aggregations = Elastic.Clients.Elasticsearch.Fluent.FluentDictionaryOfStringAggregation.Build(null); return this; } - /// - /// - /// Defines the aggregations that are run as part of the search request. - /// - /// public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor Aggregations(System.Action>? action) { Instance.Aggregations = Elastic.Clients.Elasticsearch.Fluent.FluentDictionaryOfStringAggregation.Build(action); @@ -723,22 +591,12 @@ public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor - /// - /// Collapses search results the values of the specified field. - /// - /// public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor Collapse(Elastic.Clients.Elasticsearch.Core.Search.FieldCollapse? value) { Instance.Collapse = value; return this; } - /// - /// - /// Collapses search results the values of the specified field. - /// - /// public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor Collapse(System.Action> action) { Instance.Collapse = Elastic.Clients.Elasticsearch.Core.Search.FieldCollapseDescriptor.Build(action); @@ -747,8 +605,8 @@ public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor /// - /// An array of wildcard (*) field patterns. - /// The request returns doc values for field names matching these patterns in the hits.fields property of the response. + /// Array of wildcard (*) patterns. The request returns doc values for field + /// names matching these patterns in the hits.fields property of the response. /// /// public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor DocvalueFields(System.Collections.Generic.ICollection? value) @@ -759,8 +617,8 @@ public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor /// - /// An array of wildcard (*) field patterns. - /// The request returns doc values for field names matching these patterns in the hits.fields property of the response. + /// Array of wildcard (*) patterns. The request returns doc values for field + /// names matching these patterns in the hits.fields property of the response. /// /// public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor DocvalueFields(params Elastic.Clients.Elasticsearch.QueryDsl.FieldAndFormat[] values) @@ -771,8 +629,8 @@ public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor /// - /// An array of wildcard (*) field patterns. - /// The request returns doc values for field names matching these patterns in the hits.fields property of the response. + /// Array of wildcard (*) patterns. The request returns doc values for field + /// names matching these patterns in the hits.fields property of the response. /// /// public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor DocvalueFields(params System.Action>[] actions) @@ -789,7 +647,7 @@ public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor /// - /// If true, the request returns detailed information about score computation as part of a hit. + /// If true, returns detailed information about score computation as part of a hit. /// /// public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor Explain(bool? value = true) @@ -840,8 +698,8 @@ public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor /// - /// An array of wildcard (*) field patterns. - /// The request returns values for field names matching these patterns in the hits.fields property of the response. + /// Array of wildcard (*) patterns. The request returns values for field names + /// matching these patterns in the hits.fields property of the response. /// /// public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor Fields(System.Collections.Generic.ICollection? value) @@ -852,8 +710,8 @@ public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor /// - /// An array of wildcard (*) field patterns. - /// The request returns values for field names matching these patterns in the hits.fields property of the response. + /// Array of wildcard (*) patterns. The request returns values for field names + /// matching these patterns in the hits.fields property of the response. /// /// public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor Fields(params Elastic.Clients.Elasticsearch.QueryDsl.FieldAndFormat[] values) @@ -864,8 +722,8 @@ public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor /// - /// An array of wildcard (*) field patterns. - /// The request returns values for field names matching these patterns in the hits.fields property of the response. + /// Array of wildcard (*) patterns. The request returns values for field names + /// matching these patterns in the hits.fields property of the response. /// /// public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor Fields(params System.Action>[] actions) @@ -882,9 +740,9 @@ public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor /// - /// The starting document offset, which must be non-negative. - /// By default, you cannot page through more than 10,000 hits using the from and size parameters. - /// To page through more hits, use the search_after parameter. + /// Starting document offset. By default, you cannot page through more than 10,000 + /// hits using the from and size parameters. To page through more hits, use the + /// search_after parameter. /// /// public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor From(int? value) @@ -893,22 +751,12 @@ public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor - /// - /// Specifies the highlighter to use for retrieving highlighted snippets from one or more fields in your search results. - /// - /// public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor Highlight(Elastic.Clients.Elasticsearch.Core.Search.Highlight? value) { Instance.Highlight = value; return this; } - /// - /// - /// Specifies the highlighter to use for retrieving highlighted snippets from one or more fields in your search results. - /// - /// public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor Highlight(System.Action> action) { Instance.Highlight = Elastic.Clients.Elasticsearch.Core.Search.HighlightDescriptor.Build(action); @@ -917,10 +765,7 @@ public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor /// - /// Boost the _score of documents from specified indices. - /// The boost value is the factor by which scores are multiplied. - /// A boost value greater than 1.0 increases the score. - /// A boost value between 0 and 1.0 decreases the score. + /// Boosts the _score of documents from specified indices. /// /// public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor IndicesBoost(System.Collections.Generic.ICollection>? value) @@ -931,10 +776,7 @@ public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor /// - /// Boost the _score of documents from specified indices. - /// The boost value is the factor by which scores are multiplied. - /// A boost value greater than 1.0 increases the score. - /// A boost value between 0 and 1.0 decreases the score. + /// Boosts the _score of documents from specified indices. /// /// public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor IndicesBoost() @@ -945,10 +787,7 @@ public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor /// - /// Boost the _score of documents from specified indices. - /// The boost value is the factor by which scores are multiplied. - /// A boost value greater than 1.0 increases the score. - /// A boost value between 0 and 1.0 decreases the score. + /// Boosts the _score of documents from specified indices. /// /// public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor IndicesBoost(System.Action? action) @@ -966,7 +805,7 @@ public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor /// - /// The approximate kNN search to run. + /// Defines the approximate kNN search to run. /// /// public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor Knn(System.Collections.Generic.ICollection? value) @@ -977,7 +816,7 @@ public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor /// - /// The approximate kNN search to run. + /// Defines the approximate kNN search to run. /// /// public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor Knn(params Elastic.Clients.Elasticsearch.KnnSearch[] values) @@ -988,7 +827,7 @@ public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor /// - /// The approximate kNN search to run. + /// Defines the approximate kNN search to run. /// /// public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor Knn(params System.Action>[] actions) @@ -1006,7 +845,7 @@ public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor /// /// The minimum _score for matching documents. - /// Documents with a lower _score are not included in search results or results collected by aggregations. + /// Documents with a lower _score are not included in search results and results collected by aggregations. /// /// public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor MinScore(double? value) @@ -1017,8 +856,8 @@ public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor /// - /// Limit the search to a point in time (PIT). - /// If you provide a PIT, you cannot specify an <index> in the request path. + /// Limits the search to a point in time (PIT). If you provide a PIT, you + /// cannot specify an <index> in the request path. /// /// public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor Pit(Elastic.Clients.Elasticsearch.Core.Search.PointInTimeReference? value) @@ -1029,8 +868,8 @@ public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor /// - /// Limit the search to a point in time (PIT). - /// If you provide a PIT, you cannot specify an <index> in the request path. + /// Limits the search to a point in time (PIT). If you provide a PIT, you + /// cannot specify an <index> in the request path. /// /// public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor Pit(System.Action action) @@ -1039,38 +878,18 @@ public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor - /// - /// Use the post_filter parameter to filter search results. - /// The search hits are filtered after the aggregations are calculated. - /// A post filter has no impact on the aggregation results. - /// - /// public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor PostFilter(Elastic.Clients.Elasticsearch.QueryDsl.Query? value) { Instance.PostFilter = value; return this; } - /// - /// - /// Use the post_filter parameter to filter search results. - /// The search hits are filtered after the aggregations are calculated. - /// A post filter has no impact on the aggregation results. - /// - /// public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor PostFilter(System.Action> action) { Instance.PostFilter = Elastic.Clients.Elasticsearch.QueryDsl.QueryDescriptor.Build(action); return this; } - /// - /// - /// Set to true to return detailed timing information about the execution of individual components in a search request. - /// NOTE: This is a debugging tool and adds significant overhead to search execution. - /// - /// public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor Profile(bool? value = true) { Instance.Profile = value; @@ -1079,7 +898,7 @@ public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor /// - /// The search definition using the Query DSL. + /// Defines the search definition using the Query DSL. /// /// public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor Query(Elastic.Clients.Elasticsearch.QueryDsl.Query? value) @@ -1090,7 +909,7 @@ public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor /// - /// The search definition using the Query DSL. + /// Defines the search definition using the Query DSL. /// /// public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor Query(System.Action> action) @@ -1099,55 +918,18 @@ public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor - /// - /// The Reciprocal Rank Fusion (RRF) to use. - /// - /// - public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor Rank(Elastic.Clients.Elasticsearch.Rank? value) - { - Instance.Rank = value; - return this; - } - - /// - /// - /// The Reciprocal Rank Fusion (RRF) to use. - /// - /// - public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor Rank(System.Action action) - { - Instance.Rank = Elastic.Clients.Elasticsearch.RankDescriptor.Build(action); - return this; - } - - /// - /// - /// Can be used to improve precision by reordering just the top (for example 100 - 500) documents returned by the query and post_filter phases. - /// - /// public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor Rescore(System.Collections.Generic.ICollection? value) { Instance.Rescore = value; return this; } - /// - /// - /// Can be used to improve precision by reordering just the top (for example 100 - 500) documents returned by the query and post_filter phases. - /// - /// public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor Rescore(params Elastic.Clients.Elasticsearch.Core.Search.Rescore[] values) { Instance.Rescore = [.. values]; return this; } - /// - /// - /// Can be used to improve precision by reordering just the top (for example 100 - 500) documents returned by the query and post_filter phases. - /// - /// public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor Rescore(params System.Action>[] actions) { var items = new System.Collections.Generic.List(); @@ -1162,32 +944,8 @@ public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor /// - /// A retriever is a specification to describe top documents returned from a search. - /// A retriever replaces other elements of the search API that also return top documents such as query and knn. - /// - /// - public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor Retriever(Elastic.Clients.Elasticsearch.Retriever? value) - { - Instance.Retriever = value; - return this; - } - - /// - /// - /// A retriever is a specification to describe top documents returned from a search. - /// A retriever replaces other elements of the search API that also return top documents such as query and knn. - /// - /// - public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor Retriever(System.Action> action) - { - Instance.Retriever = Elastic.Clients.Elasticsearch.RetrieverDescriptor.Build(action); - return this; - } - - /// - /// - /// One or more runtime fields in the search request. - /// These fields take precedence over mapped fields with the same name. + /// Defines one or more runtime fields in the search request. These fields take + /// precedence over mapped fields with the same name. /// /// public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor RuntimeMappings(System.Collections.Generic.IDictionary? value) @@ -1198,8 +956,8 @@ public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor /// - /// One or more runtime fields in the search request. - /// These fields take precedence over mapped fields with the same name. + /// Defines one or more runtime fields in the search request. These fields take + /// precedence over mapped fields with the same name. /// /// public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor RuntimeMappings() @@ -1210,8 +968,8 @@ public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor /// - /// One or more runtime fields in the search request. - /// These fields take precedence over mapped fields with the same name. + /// Defines one or more runtime fields in the search request. These fields take + /// precedence over mapped fields with the same name. /// /// public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor RuntimeMappings(System.Action>? action) @@ -1295,22 +1053,12 @@ public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor - /// - /// Used to retrieve the next page of hits using a set of sort values from the previous page. - /// - /// public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor SearchAfter(System.Collections.Generic.ICollection? value) { Instance.SearchAfter = value; return this; } - /// - /// - /// Used to retrieve the next page of hits using a set of sort values from the previous page. - /// - /// public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor SearchAfter(params Elastic.Clients.Elasticsearch.FieldValue[] values) { Instance.SearchAfter = [.. values]; @@ -1319,7 +1067,8 @@ public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor /// - /// If true, the request returns sequence number and primary term of the last modification of each hit. + /// If true, returns sequence number and primary term of the last modification + /// of each hit. See Optimistic concurrency control. /// /// public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor SeqNoPrimaryTerm(bool? value = true) @@ -1330,9 +1079,9 @@ public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor /// - /// The number of hits to return, which must not be negative. - /// By default, you cannot page through more than 10,000 hits using the from and size parameters. - /// To page through more hits, use the search_after property. + /// The number of hits to return. By default, you cannot page through more + /// than 10,000 hits using the from and size parameters. To page through more + /// hits, use the search_after parameter. /// /// public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor Size(int? value) @@ -1341,55 +1090,18 @@ public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor - /// - /// Split a scrolled search into multiple slices that can be consumed independently. - /// - /// - public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor Slice(Elastic.Clients.Elasticsearch.SlicedScroll? value) - { - Instance.Slice = value; - return this; - } - - /// - /// - /// Split a scrolled search into multiple slices that can be consumed independently. - /// - /// - public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor Slice(System.Action> action) - { - Instance.Slice = Elastic.Clients.Elasticsearch.SlicedScrollDescriptor.Build(action); - return this; - } - - /// - /// - /// A comma-separated list of <field>:<direction> pairs. - /// - /// public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor Sort(System.Collections.Generic.ICollection? value) { Instance.Sort = value; return this; } - /// - /// - /// A comma-separated list of <field>:<direction> pairs. - /// - /// public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor Sort(params Elastic.Clients.Elasticsearch.SortOptions[] values) { Instance.Sort = [.. values]; return this; } - /// - /// - /// A comma-separated list of <field>:<direction> pairs. - /// - /// public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor Sort(params System.Action>[] actions) { var items = new System.Collections.Generic.List(); @@ -1404,10 +1116,8 @@ public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor /// - /// The source fields that are returned for matching documents. - /// These fields are returned in the hits._source property of the search response. - /// If the stored_fields property is specified, the _source property defaults to false. - /// Otherwise, it defaults to true. + /// Indicates which source fields are returned for matching documents. These + /// fields are returned in the hits._source property of the search response. /// /// public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor Source(Elastic.Clients.Elasticsearch.Core.Search.SourceConfig? value) @@ -1418,10 +1128,8 @@ public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor /// - /// The source fields that are returned for matching documents. - /// These fields are returned in the hits._source property of the search response. - /// If the stored_fields property is specified, the _source property defaults to false. - /// Otherwise, it defaults to true. + /// Indicates which source fields are returned for matching documents. These + /// fields are returned in the hits._source property of the search response. /// /// public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor Source(System.Func, Elastic.Clients.Elasticsearch.Core.Search.SourceConfig> action) @@ -1432,9 +1140,9 @@ public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor /// - /// The stats groups to associate with the search. - /// Each group maintains a statistics aggregation for its associated searches. - /// You can retrieve these stats using the indices stats API. + /// Stats groups to associate with the search. Each group maintains a statistics + /// aggregation for its associated searches. You can retrieve these stats using + /// the indices stats API. /// /// public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor Stats(System.Collections.Generic.ICollection? value) @@ -1445,9 +1153,9 @@ public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor /// - /// The stats groups to associate with the search. - /// Each group maintains a statistics aggregation for its associated searches. - /// You can retrieve these stats using the indices stats API. + /// Stats groups to associate with the search. Each group maintains a statistics + /// aggregation for its associated searches. You can retrieve these stats using + /// the indices stats API. /// /// public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor Stats(params string[] values) @@ -1458,10 +1166,10 @@ public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor /// - /// A comma-separated list of stored fields to return as part of a hit. - /// If no fields are specified, no stored fields are included in the response. - /// If this field is specified, the _source property defaults to false. - /// You can pass _source: true to return both source fields and stored fields in the search response. + /// List of stored fields to return as part of a hit. If no fields are specified, + /// no stored fields are included in the response. If this field is specified, the _source + /// parameter defaults to false. You can pass _source: true to return both source fields + /// and stored fields in the search response. /// /// public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor StoredFields(Elastic.Clients.Elasticsearch.Fields? value) @@ -1472,10 +1180,10 @@ public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor /// - /// A comma-separated list of stored fields to return as part of a hit. - /// If no fields are specified, no stored fields are included in the response. - /// If this field is specified, the _source property defaults to false. - /// You can pass _source: true to return both source fields and stored fields in the search response. + /// List of stored fields to return as part of a hit. If no fields are specified, + /// no stored fields are included in the response. If this field is specified, the _source + /// parameter defaults to false. You can pass _source: true to return both source fields + /// and stored fields in the search response. /// /// public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor StoredFields(params System.Linq.Expressions.Expression>[] value) @@ -1484,33 +1192,18 @@ public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor - /// - /// Defines a suggester that provides similar looking terms based on a provided text. - /// - /// public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor Suggest(Elastic.Clients.Elasticsearch.Core.Search.Suggester? value) { Instance.Suggest = value; return this; } - /// - /// - /// Defines a suggester that provides similar looking terms based on a provided text. - /// - /// public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor Suggest() { Instance.Suggest = Elastic.Clients.Elasticsearch.Core.Search.SuggesterDescriptor.Build(null); return this; } - /// - /// - /// Defines a suggester that provides similar looking terms based on a provided text. - /// - /// public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor Suggest(System.Action>? action) { Instance.Suggest = Elastic.Clients.Elasticsearch.Core.Search.SuggesterDescriptor.Build(action); @@ -1519,18 +1212,9 @@ public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor /// - /// The maximum number of documents to collect for each shard. - /// If a query reaches this limit, Elasticsearch terminates the query early. - /// Elasticsearch collects documents before sorting. - /// - /// - /// IMPORTANT: Use with caution. - /// Elasticsearch applies this property to each shard handling the request. - /// When possible, let Elasticsearch perform early termination automatically. - /// Avoid specifying this property for requests that target data streams with backing indices across multiple data tiers. - /// - /// - /// If set to 0 (default), the query does not terminate early. + /// Maximum number of documents to collect for each shard. If a query reaches this + /// limit, Elasticsearch terminates the query early. Elasticsearch collects documents + /// before sorting. Defaults to 0, which does not terminate query execution early. /// /// public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor TerminateAfter(long? value) @@ -1541,8 +1225,8 @@ public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor /// - /// The period of time to wait for a response from each shard. - /// If no response is received before the timeout expires, the request fails and returns an error. + /// Specifies the period of time to wait for a response from each shard. If no response + /// is received before the timeout expires, the request fails and returns an error. /// Defaults to no timeout. /// /// @@ -1554,7 +1238,7 @@ public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor /// - /// If true, calculate and return document scores, even if the scores are not used for sorting. + /// If true, calculate and return document scores, even if the scores are not used for sorting. /// /// public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor TrackScores(bool? value = true) @@ -1565,9 +1249,10 @@ public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor /// - /// Number of hits matching the query to count accurately. - /// If true, the exact number of hits is returned at the cost of some performance. - /// If false, the response does not include the total number of hits matching the query. + /// Number of hits matching the query to count accurately. If true, the exact + /// number of hits is returned at the cost of some performance. If false, the + /// response does not include the total number of hits matching the query. + /// Defaults to 10,000 hits. /// /// public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor TrackTotalHits(Elastic.Clients.Elasticsearch.Core.Search.TrackHits? value) @@ -1578,9 +1263,10 @@ public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor /// - /// Number of hits matching the query to count accurately. - /// If true, the exact number of hits is returned at the cost of some performance. - /// If false, the response does not include the total number of hits matching the query. + /// Number of hits matching the query to count accurately. If true, the exact + /// number of hits is returned at the cost of some performance. If false, the + /// response does not include the total number of hits matching the query. + /// Defaults to 10,000 hits. /// /// public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor TrackTotalHits(System.Func action) @@ -1591,7 +1277,7 @@ public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor /// - /// If true, the request returns the document version as part of a hit. + /// If true, returns document version as part of a hit. /// /// public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor Version(bool? value = true) @@ -1633,44 +1319,24 @@ public MultisearchBodyDescriptor() public static explicit operator Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor(Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBody instance) => new Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor(instance); public static implicit operator Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBody(Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor descriptor) => descriptor.Instance; - /// - /// - /// Defines the aggregations that are run as part of the search request. - /// - /// public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor Aggregations(System.Collections.Generic.IDictionary? value) { Instance.Aggregations = value; return this; } - /// - /// - /// Defines the aggregations that are run as part of the search request. - /// - /// public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor Aggregations() { Instance.Aggregations = Elastic.Clients.Elasticsearch.Fluent.FluentDictionaryOfStringAggregation.Build(null); return this; } - /// - /// - /// Defines the aggregations that are run as part of the search request. - /// - /// public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor Aggregations(System.Action? action) { Instance.Aggregations = Elastic.Clients.Elasticsearch.Fluent.FluentDictionaryOfStringAggregation.Build(action); return this; } - /// - /// - /// Defines the aggregations that are run as part of the search request. - /// - /// public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor Aggregations(System.Action>? action) { Instance.Aggregations = Elastic.Clients.Elasticsearch.Fluent.FluentDictionaryOfStringAggregation.Build(action); @@ -1698,33 +1364,18 @@ public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor AddA return this; } - /// - /// - /// Collapses search results the values of the specified field. - /// - /// public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor Collapse(Elastic.Clients.Elasticsearch.Core.Search.FieldCollapse? value) { Instance.Collapse = value; return this; } - /// - /// - /// Collapses search results the values of the specified field. - /// - /// public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor Collapse(System.Action action) { Instance.Collapse = Elastic.Clients.Elasticsearch.Core.Search.FieldCollapseDescriptor.Build(action); return this; } - /// - /// - /// Collapses search results the values of the specified field. - /// - /// public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor Collapse(System.Action> action) { Instance.Collapse = Elastic.Clients.Elasticsearch.Core.Search.FieldCollapseDescriptor.Build(action); @@ -1733,8 +1384,8 @@ public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor Coll /// /// - /// An array of wildcard (*) field patterns. - /// The request returns doc values for field names matching these patterns in the hits.fields property of the response. + /// Array of wildcard (*) patterns. The request returns doc values for field + /// names matching these patterns in the hits.fields property of the response. /// /// public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor DocvalueFields(System.Collections.Generic.ICollection? value) @@ -1745,8 +1396,8 @@ public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor Docv /// /// - /// An array of wildcard (*) field patterns. - /// The request returns doc values for field names matching these patterns in the hits.fields property of the response. + /// Array of wildcard (*) patterns. The request returns doc values for field + /// names matching these patterns in the hits.fields property of the response. /// /// public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor DocvalueFields(params Elastic.Clients.Elasticsearch.QueryDsl.FieldAndFormat[] values) @@ -1757,8 +1408,8 @@ public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor Docv /// /// - /// An array of wildcard (*) field patterns. - /// The request returns doc values for field names matching these patterns in the hits.fields property of the response. + /// Array of wildcard (*) patterns. The request returns doc values for field + /// names matching these patterns in the hits.fields property of the response. /// /// public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor DocvalueFields(params System.Action[] actions) @@ -1775,8 +1426,8 @@ public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor Docv /// /// - /// An array of wildcard (*) field patterns. - /// The request returns doc values for field names matching these patterns in the hits.fields property of the response. + /// Array of wildcard (*) patterns. The request returns doc values for field + /// names matching these patterns in the hits.fields property of the response. /// /// public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor DocvalueFields(params System.Action>[] actions) @@ -1793,7 +1444,7 @@ public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor Docv /// /// - /// If true, the request returns detailed information about score computation as part of a hit. + /// If true, returns detailed information about score computation as part of a hit. /// /// public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor Explain(bool? value = true) @@ -1844,8 +1495,8 @@ public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor AddE /// /// - /// An array of wildcard (*) field patterns. - /// The request returns values for field names matching these patterns in the hits.fields property of the response. + /// Array of wildcard (*) patterns. The request returns values for field names + /// matching these patterns in the hits.fields property of the response. /// /// public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor Fields(System.Collections.Generic.ICollection? value) @@ -1856,8 +1507,8 @@ public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor Fiel /// /// - /// An array of wildcard (*) field patterns. - /// The request returns values for field names matching these patterns in the hits.fields property of the response. + /// Array of wildcard (*) patterns. The request returns values for field names + /// matching these patterns in the hits.fields property of the response. /// /// public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor Fields(params Elastic.Clients.Elasticsearch.QueryDsl.FieldAndFormat[] values) @@ -1868,8 +1519,8 @@ public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor Fiel /// /// - /// An array of wildcard (*) field patterns. - /// The request returns values for field names matching these patterns in the hits.fields property of the response. + /// Array of wildcard (*) patterns. The request returns values for field names + /// matching these patterns in the hits.fields property of the response. /// /// public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor Fields(params System.Action[] actions) @@ -1886,8 +1537,8 @@ public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor Fiel /// /// - /// An array of wildcard (*) field patterns. - /// The request returns values for field names matching these patterns in the hits.fields property of the response. + /// Array of wildcard (*) patterns. The request returns values for field names + /// matching these patterns in the hits.fields property of the response. /// /// public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor Fields(params System.Action>[] actions) @@ -1904,9 +1555,9 @@ public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor Fiel /// /// - /// The starting document offset, which must be non-negative. - /// By default, you cannot page through more than 10,000 hits using the from and size parameters. - /// To page through more hits, use the search_after parameter. + /// Starting document offset. By default, you cannot page through more than 10,000 + /// hits using the from and size parameters. To page through more hits, use the + /// search_after parameter. /// /// public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor From(int? value) @@ -1915,33 +1566,18 @@ public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor From return this; } - /// - /// - /// Specifies the highlighter to use for retrieving highlighted snippets from one or more fields in your search results. - /// - /// public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor Highlight(Elastic.Clients.Elasticsearch.Core.Search.Highlight? value) { Instance.Highlight = value; return this; } - /// - /// - /// Specifies the highlighter to use for retrieving highlighted snippets from one or more fields in your search results. - /// - /// public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor Highlight(System.Action action) { Instance.Highlight = Elastic.Clients.Elasticsearch.Core.Search.HighlightDescriptor.Build(action); return this; } - /// - /// - /// Specifies the highlighter to use for retrieving highlighted snippets from one or more fields in your search results. - /// - /// public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor Highlight(System.Action> action) { Instance.Highlight = Elastic.Clients.Elasticsearch.Core.Search.HighlightDescriptor.Build(action); @@ -1950,10 +1586,7 @@ public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor High /// /// - /// Boost the _score of documents from specified indices. - /// The boost value is the factor by which scores are multiplied. - /// A boost value greater than 1.0 increases the score. - /// A boost value between 0 and 1.0 decreases the score. + /// Boosts the _score of documents from specified indices. /// /// public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor IndicesBoost(System.Collections.Generic.ICollection>? value) @@ -1964,10 +1597,7 @@ public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor Indi /// /// - /// Boost the _score of documents from specified indices. - /// The boost value is the factor by which scores are multiplied. - /// A boost value greater than 1.0 increases the score. - /// A boost value between 0 and 1.0 decreases the score. + /// Boosts the _score of documents from specified indices. /// /// public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor IndicesBoost() @@ -1978,10 +1608,7 @@ public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor Indi /// /// - /// Boost the _score of documents from specified indices. - /// The boost value is the factor by which scores are multiplied. - /// A boost value greater than 1.0 increases the score. - /// A boost value between 0 and 1.0 decreases the score. + /// Boosts the _score of documents from specified indices. /// /// public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor IndicesBoost(System.Action? action) @@ -1999,7 +1626,7 @@ public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor AddI /// /// - /// The approximate kNN search to run. + /// Defines the approximate kNN search to run. /// /// public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor Knn(System.Collections.Generic.ICollection? value) @@ -2010,7 +1637,7 @@ public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor Knn( /// /// - /// The approximate kNN search to run. + /// Defines the approximate kNN search to run. /// /// public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor Knn(params Elastic.Clients.Elasticsearch.KnnSearch[] values) @@ -2021,7 +1648,7 @@ public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor Knn( /// /// - /// The approximate kNN search to run. + /// Defines the approximate kNN search to run. /// /// public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor Knn(params System.Action[] actions) @@ -2038,7 +1665,7 @@ public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor Knn( /// /// - /// The approximate kNN search to run. + /// Defines the approximate kNN search to run. /// /// public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor Knn(params System.Action>[] actions) @@ -2056,7 +1683,7 @@ public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor Knn< /// /// /// The minimum _score for matching documents. - /// Documents with a lower _score are not included in search results or results collected by aggregations. + /// Documents with a lower _score are not included in search results and results collected by aggregations. /// /// public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor MinScore(double? value) @@ -2067,8 +1694,8 @@ public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor MinS /// /// - /// Limit the search to a point in time (PIT). - /// If you provide a PIT, you cannot specify an <index> in the request path. + /// Limits the search to a point in time (PIT). If you provide a PIT, you + /// cannot specify an <index> in the request path. /// /// public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor Pit(Elastic.Clients.Elasticsearch.Core.Search.PointInTimeReference? value) @@ -2079,8 +1706,8 @@ public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor Pit( /// /// - /// Limit the search to a point in time (PIT). - /// If you provide a PIT, you cannot specify an <index> in the request path. + /// Limits the search to a point in time (PIT). If you provide a PIT, you + /// cannot specify an <index> in the request path. /// /// public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor Pit(System.Action action) @@ -2089,51 +1716,24 @@ public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor Pit( return this; } - /// - /// - /// Use the post_filter parameter to filter search results. - /// The search hits are filtered after the aggregations are calculated. - /// A post filter has no impact on the aggregation results. - /// - /// public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor PostFilter(Elastic.Clients.Elasticsearch.QueryDsl.Query? value) { Instance.PostFilter = value; return this; } - /// - /// - /// Use the post_filter parameter to filter search results. - /// The search hits are filtered after the aggregations are calculated. - /// A post filter has no impact on the aggregation results. - /// - /// public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor PostFilter(System.Action action) { Instance.PostFilter = Elastic.Clients.Elasticsearch.QueryDsl.QueryDescriptor.Build(action); return this; } - /// - /// - /// Use the post_filter parameter to filter search results. - /// The search hits are filtered after the aggregations are calculated. - /// A post filter has no impact on the aggregation results. - /// - /// public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor PostFilter(System.Action> action) { Instance.PostFilter = Elastic.Clients.Elasticsearch.QueryDsl.QueryDescriptor.Build(action); return this; } - /// - /// - /// Set to true to return detailed timing information about the execution of individual components in a search request. - /// NOTE: This is a debugging tool and adds significant overhead to search execution. - /// - /// public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor Profile(bool? value = true) { Instance.Profile = value; @@ -2142,7 +1742,7 @@ public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor Prof /// /// - /// The search definition using the Query DSL. + /// Defines the search definition using the Query DSL. /// /// public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor Query(Elastic.Clients.Elasticsearch.QueryDsl.Query? value) @@ -2153,7 +1753,7 @@ public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor Quer /// /// - /// The search definition using the Query DSL. + /// Defines the search definition using the Query DSL. /// /// public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor Query(System.Action action) @@ -2164,7 +1764,7 @@ public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor Quer /// /// - /// The search definition using the Query DSL. + /// Defines the search definition using the Query DSL. /// /// public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor Query(System.Action> action) @@ -2173,55 +1773,18 @@ public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor Quer return this; } - /// - /// - /// The Reciprocal Rank Fusion (RRF) to use. - /// - /// - public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor Rank(Elastic.Clients.Elasticsearch.Rank? value) - { - Instance.Rank = value; - return this; - } - - /// - /// - /// The Reciprocal Rank Fusion (RRF) to use. - /// - /// - public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor Rank(System.Action action) - { - Instance.Rank = Elastic.Clients.Elasticsearch.RankDescriptor.Build(action); - return this; - } - - /// - /// - /// Can be used to improve precision by reordering just the top (for example 100 - 500) documents returned by the query and post_filter phases. - /// - /// public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor Rescore(System.Collections.Generic.ICollection? value) { Instance.Rescore = value; return this; } - /// - /// - /// Can be used to improve precision by reordering just the top (for example 100 - 500) documents returned by the query and post_filter phases. - /// - /// public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor Rescore(params Elastic.Clients.Elasticsearch.Core.Search.Rescore[] values) { Instance.Rescore = [.. values]; return this; } - /// - /// - /// Can be used to improve precision by reordering just the top (for example 100 - 500) documents returned by the query and post_filter phases. - /// - /// public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor Rescore(params System.Action[] actions) { var items = new System.Collections.Generic.List(); @@ -2234,11 +1797,6 @@ public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor Resc return this; } - /// - /// - /// Can be used to improve precision by reordering just the top (for example 100 - 500) documents returned by the query and post_filter phases. - /// - /// public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor Rescore(params System.Action>[] actions) { var items = new System.Collections.Generic.List(); @@ -2253,44 +1811,8 @@ public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor Resc /// /// - /// A retriever is a specification to describe top documents returned from a search. - /// A retriever replaces other elements of the search API that also return top documents such as query and knn. - /// - /// - public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor Retriever(Elastic.Clients.Elasticsearch.Retriever? value) - { - Instance.Retriever = value; - return this; - } - - /// - /// - /// A retriever is a specification to describe top documents returned from a search. - /// A retriever replaces other elements of the search API that also return top documents such as query and knn. - /// - /// - public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor Retriever(System.Action action) - { - Instance.Retriever = Elastic.Clients.Elasticsearch.RetrieverDescriptor.Build(action); - return this; - } - - /// - /// - /// A retriever is a specification to describe top documents returned from a search. - /// A retriever replaces other elements of the search API that also return top documents such as query and knn. - /// - /// - public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor Retriever(System.Action> action) - { - Instance.Retriever = Elastic.Clients.Elasticsearch.RetrieverDescriptor.Build(action); - return this; - } - - /// - /// - /// One or more runtime fields in the search request. - /// These fields take precedence over mapped fields with the same name. + /// Defines one or more runtime fields in the search request. These fields take + /// precedence over mapped fields with the same name. /// /// public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor RuntimeMappings(System.Collections.Generic.IDictionary? value) @@ -2301,8 +1823,8 @@ public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor Runt /// /// - /// One or more runtime fields in the search request. - /// These fields take precedence over mapped fields with the same name. + /// Defines one or more runtime fields in the search request. These fields take + /// precedence over mapped fields with the same name. /// /// public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor RuntimeMappings() @@ -2313,8 +1835,8 @@ public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor Runt /// /// - /// One or more runtime fields in the search request. - /// These fields take precedence over mapped fields with the same name. + /// Defines one or more runtime fields in the search request. These fields take + /// precedence over mapped fields with the same name. /// /// public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor RuntimeMappings(System.Action? action) @@ -2325,8 +1847,8 @@ public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor Runt /// /// - /// One or more runtime fields in the search request. - /// These fields take precedence over mapped fields with the same name. + /// Defines one or more runtime fields in the search request. These fields take + /// precedence over mapped fields with the same name. /// /// public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor RuntimeMappings(System.Action>? action) @@ -2424,22 +1946,12 @@ public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor AddS return this; } - /// - /// - /// Used to retrieve the next page of hits using a set of sort values from the previous page. - /// - /// public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor SearchAfter(System.Collections.Generic.ICollection? value) { Instance.SearchAfter = value; return this; } - /// - /// - /// Used to retrieve the next page of hits using a set of sort values from the previous page. - /// - /// public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor SearchAfter(params Elastic.Clients.Elasticsearch.FieldValue[] values) { Instance.SearchAfter = [.. values]; @@ -2448,7 +1960,8 @@ public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor Sear /// /// - /// If true, the request returns sequence number and primary term of the last modification of each hit. + /// If true, returns sequence number and primary term of the last modification + /// of each hit. See Optimistic concurrency control. /// /// public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor SeqNoPrimaryTerm(bool? value = true) @@ -2459,9 +1972,9 @@ public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor SeqN /// /// - /// The number of hits to return, which must not be negative. - /// By default, you cannot page through more than 10,000 hits using the from and size parameters. - /// To page through more hits, use the search_after property. + /// The number of hits to return. By default, you cannot page through more + /// than 10,000 hits using the from and size parameters. To page through more + /// hits, use the search_after parameter. /// /// public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor Size(int? value) @@ -2470,66 +1983,18 @@ public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor Size return this; } - /// - /// - /// Split a scrolled search into multiple slices that can be consumed independently. - /// - /// - public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor Slice(Elastic.Clients.Elasticsearch.SlicedScroll? value) - { - Instance.Slice = value; - return this; - } - - /// - /// - /// Split a scrolled search into multiple slices that can be consumed independently. - /// - /// - public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor Slice(System.Action action) - { - Instance.Slice = Elastic.Clients.Elasticsearch.SlicedScrollDescriptor.Build(action); - return this; - } - - /// - /// - /// Split a scrolled search into multiple slices that can be consumed independently. - /// - /// - public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor Slice(System.Action> action) - { - Instance.Slice = Elastic.Clients.Elasticsearch.SlicedScrollDescriptor.Build(action); - return this; - } - - /// - /// - /// A comma-separated list of <field>:<direction> pairs. - /// - /// public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor Sort(System.Collections.Generic.ICollection? value) { Instance.Sort = value; return this; } - /// - /// - /// A comma-separated list of <field>:<direction> pairs. - /// - /// public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor Sort(params Elastic.Clients.Elasticsearch.SortOptions[] values) { Instance.Sort = [.. values]; return this; } - /// - /// - /// A comma-separated list of <field>:<direction> pairs. - /// - /// public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor Sort(params System.Action[] actions) { var items = new System.Collections.Generic.List(); @@ -2542,11 +2007,6 @@ public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor Sort return this; } - /// - /// - /// A comma-separated list of <field>:<direction> pairs. - /// - /// public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor Sort(params System.Action>[] actions) { var items = new System.Collections.Generic.List(); @@ -2561,10 +2021,8 @@ public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor Sort /// /// - /// The source fields that are returned for matching documents. - /// These fields are returned in the hits._source property of the search response. - /// If the stored_fields property is specified, the _source property defaults to false. - /// Otherwise, it defaults to true. + /// Indicates which source fields are returned for matching documents. These + /// fields are returned in the hits._source property of the search response. /// /// public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor Source(Elastic.Clients.Elasticsearch.Core.Search.SourceConfig? value) @@ -2575,10 +2033,8 @@ public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor Sour /// /// - /// The source fields that are returned for matching documents. - /// These fields are returned in the hits._source property of the search response. - /// If the stored_fields property is specified, the _source property defaults to false. - /// Otherwise, it defaults to true. + /// Indicates which source fields are returned for matching documents. These + /// fields are returned in the hits._source property of the search response. /// /// public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor Source(System.Func action) @@ -2589,10 +2045,8 @@ public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor Sour /// /// - /// The source fields that are returned for matching documents. - /// These fields are returned in the hits._source property of the search response. - /// If the stored_fields property is specified, the _source property defaults to false. - /// Otherwise, it defaults to true. + /// Indicates which source fields are returned for matching documents. These + /// fields are returned in the hits._source property of the search response. /// /// public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor Source(System.Func, Elastic.Clients.Elasticsearch.Core.Search.SourceConfig> action) @@ -2603,9 +2057,9 @@ public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor Sour /// /// - /// The stats groups to associate with the search. - /// Each group maintains a statistics aggregation for its associated searches. - /// You can retrieve these stats using the indices stats API. + /// Stats groups to associate with the search. Each group maintains a statistics + /// aggregation for its associated searches. You can retrieve these stats using + /// the indices stats API. /// /// public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor Stats(System.Collections.Generic.ICollection? value) @@ -2616,9 +2070,9 @@ public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor Stat /// /// - /// The stats groups to associate with the search. - /// Each group maintains a statistics aggregation for its associated searches. - /// You can retrieve these stats using the indices stats API. + /// Stats groups to associate with the search. Each group maintains a statistics + /// aggregation for its associated searches. You can retrieve these stats using + /// the indices stats API. /// /// public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor Stats(params string[] values) @@ -2629,10 +2083,10 @@ public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor Stat /// /// - /// A comma-separated list of stored fields to return as part of a hit. - /// If no fields are specified, no stored fields are included in the response. - /// If this field is specified, the _source property defaults to false. - /// You can pass _source: true to return both source fields and stored fields in the search response. + /// List of stored fields to return as part of a hit. If no fields are specified, + /// no stored fields are included in the response. If this field is specified, the _source + /// parameter defaults to false. You can pass _source: true to return both source fields + /// and stored fields in the search response. /// /// public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor StoredFields(Elastic.Clients.Elasticsearch.Fields? value) @@ -2643,10 +2097,10 @@ public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor Stor /// /// - /// A comma-separated list of stored fields to return as part of a hit. - /// If no fields are specified, no stored fields are included in the response. - /// If this field is specified, the _source property defaults to false. - /// You can pass _source: true to return both source fields and stored fields in the search response. + /// List of stored fields to return as part of a hit. If no fields are specified, + /// no stored fields are included in the response. If this field is specified, the _source + /// parameter defaults to false. You can pass _source: true to return both source fields + /// and stored fields in the search response. /// /// public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor StoredFields(params System.Linq.Expressions.Expression>[] value) @@ -2655,44 +2109,24 @@ public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor Stor return this; } - /// - /// - /// Defines a suggester that provides similar looking terms based on a provided text. - /// - /// public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor Suggest(Elastic.Clients.Elasticsearch.Core.Search.Suggester? value) { Instance.Suggest = value; return this; } - /// - /// - /// Defines a suggester that provides similar looking terms based on a provided text. - /// - /// public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor Suggest() { Instance.Suggest = Elastic.Clients.Elasticsearch.Core.Search.SuggesterDescriptor.Build(null); return this; } - /// - /// - /// Defines a suggester that provides similar looking terms based on a provided text. - /// - /// public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor Suggest(System.Action? action) { Instance.Suggest = Elastic.Clients.Elasticsearch.Core.Search.SuggesterDescriptor.Build(action); return this; } - /// - /// - /// Defines a suggester that provides similar looking terms based on a provided text. - /// - /// public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor Suggest(System.Action>? action) { Instance.Suggest = Elastic.Clients.Elasticsearch.Core.Search.SuggesterDescriptor.Build(action); @@ -2701,18 +2135,9 @@ public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor Sugg /// /// - /// The maximum number of documents to collect for each shard. - /// If a query reaches this limit, Elasticsearch terminates the query early. - /// Elasticsearch collects documents before sorting. - /// - /// - /// IMPORTANT: Use with caution. - /// Elasticsearch applies this property to each shard handling the request. - /// When possible, let Elasticsearch perform early termination automatically. - /// Avoid specifying this property for requests that target data streams with backing indices across multiple data tiers. - /// - /// - /// If set to 0 (default), the query does not terminate early. + /// Maximum number of documents to collect for each shard. If a query reaches this + /// limit, Elasticsearch terminates the query early. Elasticsearch collects documents + /// before sorting. Defaults to 0, which does not terminate query execution early. /// /// public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor TerminateAfter(long? value) @@ -2723,8 +2148,8 @@ public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor Term /// /// - /// The period of time to wait for a response from each shard. - /// If no response is received before the timeout expires, the request fails and returns an error. + /// Specifies the period of time to wait for a response from each shard. If no response + /// is received before the timeout expires, the request fails and returns an error. /// Defaults to no timeout. /// /// @@ -2736,7 +2161,7 @@ public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor Time /// /// - /// If true, calculate and return document scores, even if the scores are not used for sorting. + /// If true, calculate and return document scores, even if the scores are not used for sorting. /// /// public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor TrackScores(bool? value = true) @@ -2747,9 +2172,10 @@ public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor Trac /// /// - /// Number of hits matching the query to count accurately. - /// If true, the exact number of hits is returned at the cost of some performance. - /// If false, the response does not include the total number of hits matching the query. + /// Number of hits matching the query to count accurately. If true, the exact + /// number of hits is returned at the cost of some performance. If false, the + /// response does not include the total number of hits matching the query. + /// Defaults to 10,000 hits. /// /// public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor TrackTotalHits(Elastic.Clients.Elasticsearch.Core.Search.TrackHits? value) @@ -2760,9 +2186,10 @@ public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor Trac /// /// - /// Number of hits matching the query to count accurately. - /// If true, the exact number of hits is returned at the cost of some performance. - /// If false, the response does not include the total number of hits matching the query. + /// Number of hits matching the query to count accurately. If true, the exact + /// number of hits is returned at the cost of some performance. If false, the + /// response does not include the total number of hits matching the query. + /// Defaults to 10,000 hits. /// /// public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor TrackTotalHits(System.Func action) @@ -2773,7 +2200,7 @@ public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor Trac /// /// - /// If true, the request returns the document version as part of a hit. + /// If true, returns document version as part of a hit. /// /// public Elastic.Clients.Elasticsearch.Core.MSearch.MultisearchBodyDescriptor Version(bool? value = true) diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/RankEval/RankEvalMetricDiscountedCumulativeGain.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/RankEval/RankEvalMetricDiscountedCumulativeGain.g.cs index 5e66df57943..d196fd82b8d 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/RankEval/RankEvalMetricDiscountedCumulativeGain.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/RankEval/RankEvalMetricDiscountedCumulativeGain.g.cs @@ -75,7 +75,7 @@ public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clien /// /// Discounted cumulative gain (DCG) /// -/// Learn more about this API in the Elasticsearch documentation. +/// Learn more about this API in the Elasticsearch documentation. /// [System.Text.Json.Serialization.JsonConverter(typeof(Elastic.Clients.Elasticsearch.Core.RankEval.RankEvalMetricDiscountedCumulativeGainConverter))] public sealed partial class RankEvalMetricDiscountedCumulativeGain @@ -115,7 +115,7 @@ internal RankEvalMetricDiscountedCumulativeGain(Elastic.Clients.Elasticsearch.Se /// /// Discounted cumulative gain (DCG) /// -/// Learn more about this API in the Elasticsearch documentation. +/// Learn more about this API in the Elasticsearch documentation. /// public readonly partial struct RankEvalMetricDiscountedCumulativeGainDescriptor { diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/RankEval/RankEvalMetricExpectedReciprocalRank.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/RankEval/RankEvalMetricExpectedReciprocalRank.g.cs index 31bbb03877d..7868a2caa14 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/RankEval/RankEvalMetricExpectedReciprocalRank.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/RankEval/RankEvalMetricExpectedReciprocalRank.g.cs @@ -75,7 +75,7 @@ public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clien /// /// Expected Reciprocal Rank (ERR) /// -/// Learn more about this API in the Elasticsearch documentation. +/// Learn more about this API in the Elasticsearch documentation. /// [System.Text.Json.Serialization.JsonConverter(typeof(Elastic.Clients.Elasticsearch.Core.RankEval.RankEvalMetricExpectedReciprocalRankConverter))] public sealed partial class RankEvalMetricExpectedReciprocalRank @@ -125,7 +125,7 @@ internal RankEvalMetricExpectedReciprocalRank(Elastic.Clients.Elasticsearch.Seri /// /// Expected Reciprocal Rank (ERR) /// -/// Learn more about this API in the Elasticsearch documentation. +/// Learn more about this API in the Elasticsearch documentation. /// public readonly partial struct RankEvalMetricExpectedReciprocalRankDescriptor { diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/RankEval/RankEvalMetricMeanReciprocalRank.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/RankEval/RankEvalMetricMeanReciprocalRank.g.cs index c54c6362ee0..218a75874c0 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/RankEval/RankEvalMetricMeanReciprocalRank.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/RankEval/RankEvalMetricMeanReciprocalRank.g.cs @@ -75,7 +75,7 @@ public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clien /// /// Mean Reciprocal Rank /// -/// Learn more about this API in the Elasticsearch documentation. +/// Learn more about this API in the Elasticsearch documentation. /// [System.Text.Json.Serialization.JsonConverter(typeof(Elastic.Clients.Elasticsearch.Core.RankEval.RankEvalMetricMeanReciprocalRankConverter))] public sealed partial class RankEvalMetricMeanReciprocalRank @@ -115,7 +115,7 @@ internal RankEvalMetricMeanReciprocalRank(Elastic.Clients.Elasticsearch.Serializ /// /// Mean Reciprocal Rank /// -/// Learn more about this API in the Elasticsearch documentation. +/// Learn more about this API in the Elasticsearch documentation. /// public readonly partial struct RankEvalMetricMeanReciprocalRankDescriptor { diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/RankEval/RankEvalMetricPrecision.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/RankEval/RankEvalMetricPrecision.g.cs index 17b06a7e66e..db1c60584e0 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/RankEval/RankEvalMetricPrecision.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/RankEval/RankEvalMetricPrecision.g.cs @@ -84,7 +84,7 @@ public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clien /// /// Precision at K (P@k) /// -/// Learn more about this API in the Elasticsearch documentation. +/// Learn more about this API in the Elasticsearch documentation. /// [System.Text.Json.Serialization.JsonConverter(typeof(Elastic.Clients.Elasticsearch.Core.RankEval.RankEvalMetricPrecisionConverter))] public sealed partial class RankEvalMetricPrecision @@ -131,7 +131,7 @@ internal RankEvalMetricPrecision(Elastic.Clients.Elasticsearch.Serialization.Jso /// /// Precision at K (P@k) /// -/// Learn more about this API in the Elasticsearch documentation. +/// Learn more about this API in the Elasticsearch documentation. /// public readonly partial struct RankEvalMetricPrecisionDescriptor { diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/RankEval/RankEvalMetricRecall.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/RankEval/RankEvalMetricRecall.g.cs index 4fb0493c985..3453d3e77dc 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/RankEval/RankEvalMetricRecall.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/RankEval/RankEvalMetricRecall.g.cs @@ -75,7 +75,7 @@ public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clien /// /// Recall at K (R@k) /// -/// Learn more about this API in the Elasticsearch documentation. +/// Learn more about this API in the Elasticsearch documentation. /// [System.Text.Json.Serialization.JsonConverter(typeof(Elastic.Clients.Elasticsearch.Core.RankEval.RankEvalMetricRecallConverter))] public sealed partial class RankEvalMetricRecall @@ -115,7 +115,7 @@ internal RankEvalMetricRecall(Elastic.Clients.Elasticsearch.Serialization.JsonCo /// /// Recall at K (R@k) /// -/// Learn more about this API in the Elasticsearch documentation. +/// Learn more about this API in the Elasticsearch documentation. /// public readonly partial struct RankEvalMetricRecallDescriptor { diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/Search/Hit.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/Search/Hit.g.cs index 4c6a804bcf6..fedc1cab7b7 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/Search/Hit.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/Search/Hit.g.cs @@ -54,7 +54,7 @@ public override Elastic.Clients.Elasticsearch.Core.Search.Hit Read(re LocalJsonValue>?> propHighlight = default; LocalJsonValue propId = default; LocalJsonValue?> propIgnored = default; - LocalJsonValue>?> propIgnoredFieldValues = default; + LocalJsonValue>?> propIgnoredFieldValues = default; LocalJsonValue propIndex = default; LocalJsonValue?> propInnerHits = default; LocalJsonValue, System.Collections.Generic.IReadOnlyDictionary>?> propMatchedQueries = default; @@ -96,7 +96,7 @@ public override Elastic.Clients.Elasticsearch.Core.Search.Hit Read(re continue; } - if (propIgnoredFieldValues.TryReadProperty(ref reader, options, PropIgnoredFieldValues, static System.Collections.Generic.IReadOnlyDictionary>? (ref System.Text.Json.Utf8JsonReader r, System.Text.Json.JsonSerializerOptions o) => r.ReadDictionaryValue>(o, null, static System.Collections.Generic.IReadOnlyCollection (ref System.Text.Json.Utf8JsonReader r, System.Text.Json.JsonSerializerOptions o) => r.ReadCollectionValue(o, null)!))) + if (propIgnoredFieldValues.TryReadProperty(ref reader, options, PropIgnoredFieldValues, static System.Collections.Generic.IReadOnlyDictionary>? (ref System.Text.Json.Utf8JsonReader r, System.Text.Json.JsonSerializerOptions o) => r.ReadDictionaryValue>(o, null, static System.Collections.Generic.IReadOnlyCollection (ref System.Text.Json.Utf8JsonReader r, System.Text.Json.JsonSerializerOptions o) => r.ReadCollectionValue(o, null)!))) { continue; } @@ -214,7 +214,7 @@ public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clien writer.WriteProperty(options, PropHighlight, value.Highlight, null, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, System.Collections.Generic.IReadOnlyDictionary>? v) => w.WriteDictionaryValue>(o, v, null, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, System.Collections.Generic.IReadOnlyCollection v) => w.WriteCollectionValue(o, v, null))); writer.WriteProperty(options, PropId, value.Id, null, null); writer.WriteProperty(options, PropIgnored, value.Ignored, null, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, System.Collections.Generic.IReadOnlyCollection? v) => w.WriteCollectionValue(o, v, null)); - writer.WriteProperty(options, PropIgnoredFieldValues, value.IgnoredFieldValues, null, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, System.Collections.Generic.IReadOnlyDictionary>? v) => w.WriteDictionaryValue>(o, v, null, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, System.Collections.Generic.IReadOnlyCollection v) => w.WriteCollectionValue(o, v, null))); + writer.WriteProperty(options, PropIgnoredFieldValues, value.IgnoredFieldValues, null, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, System.Collections.Generic.IReadOnlyDictionary>? v) => w.WriteDictionaryValue>(o, v, null, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, System.Collections.Generic.IReadOnlyCollection v) => w.WriteCollectionValue(o, v, null))); writer.WriteProperty(options, PropIndex, value.Index, null, null); writer.WriteProperty(options, PropInnerHits, value.InnerHits, null, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, System.Collections.Generic.IReadOnlyDictionary? v) => w.WriteDictionaryValue(o, v, null, null)); writer.WriteProperty(options, PropMatchedQueries, value.MatchedQueries, null, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, Elastic.Clients.Elasticsearch.Union, System.Collections.Generic.IReadOnlyDictionary>? v) => w.WriteUnionValue, System.Collections.Generic.IReadOnlyDictionary>(o, v, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, System.Collections.Generic.IReadOnlyCollection v) => w.WriteCollectionValue(o, v, null), static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, System.Collections.Generic.IReadOnlyDictionary v) => w.WriteDictionaryValue(o, v, null, null))); @@ -285,7 +285,7 @@ internal Hit(Elastic.Clients.Elasticsearch.Serialization.JsonConstructorSentinel #endif string Id { get; set; } public System.Collections.Generic.IReadOnlyCollection? Ignored { get; set; } - public System.Collections.Generic.IReadOnlyDictionary>? IgnoredFieldValues { get; set; } + public System.Collections.Generic.IReadOnlyDictionary>? IgnoredFieldValues { get; set; } public #if NET7_0_OR_GREATER required diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Enums/Enums.Snapshot.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Enums/Enums.Snapshot.g.cs index 5c3e74013c5..7037f3e938b 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Enums/Enums.Snapshot.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Enums/Enums.Snapshot.g.cs @@ -273,35 +273,35 @@ public enum ShardsStatsStage { /// /// - /// The number of shards in the snapshot that were successfully stored in the repository. + /// Number of shards in the snapshot that were successfully stored in the repository. /// /// [System.Runtime.Serialization.EnumMember(Value = "DONE")] Done, /// /// - /// The number of shards in the snapshot that were not successfully stored in the repository. + /// Number of shards in the snapshot that were not successfully stored in the repository. /// /// [System.Runtime.Serialization.EnumMember(Value = "FAILURE")] Failure, /// /// - /// The number of shards in the snapshot that are in the finalizing stage of being stored in the repository. + /// Number of shards in the snapshot that are in the finalizing stage of being stored in the repository. /// /// [System.Runtime.Serialization.EnumMember(Value = "FINALIZE")] Finalize, /// /// - /// The number of shards in the snapshot that are in the initializing stage of being stored in the repository. + /// Number of shards in the snapshot that are in the initializing stage of being stored in the repository. /// /// [System.Runtime.Serialization.EnumMember(Value = "INIT")] Init, /// /// - /// The number of shards in the snapshot that are in the started stage of being stored in the repository. + /// Number of shards in the snapshot that are in the started stage of being stored in the repository. /// /// [System.Runtime.Serialization.EnumMember(Value = "STARTED")] diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Fuzziness.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Fuzziness.g.cs index 63fd3c97ca3..5cd85fd50e7 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Fuzziness.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Fuzziness.g.cs @@ -59,7 +59,7 @@ public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clien } /// -/// Learn more about this API in the Elasticsearch documentation. +/// Learn more about this API in the Elasticsearch documentation. /// [System.Text.Json.Serialization.JsonConverter(typeof(Elastic.Clients.Elasticsearch.FuzzinessConverter))] public sealed partial class Fuzziness : Elastic.Clients.Elasticsearch.Union diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Graph/Hop.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Graph/Hop.g.cs index e29e7074a25..013b0ff2bb9 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Graph/Hop.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Graph/Hop.g.cs @@ -33,7 +33,7 @@ public override Elastic.Clients.Elasticsearch.Graph.Hop Read(ref System.Text.Jso { reader.ValidateToken(System.Text.Json.JsonTokenType.StartObject); LocalJsonValue propConnections = default; - LocalJsonValue propQuery = default; + LocalJsonValue propQuery = default; LocalJsonValue> propVertices = default; while (reader.Read() && reader.TokenType is System.Text.Json.JsonTokenType.PropertyName) { @@ -84,8 +84,9 @@ public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clien public sealed partial class Hop { [System.Diagnostics.CodeAnalysis.SetsRequiredMembers] - public Hop(System.Collections.Generic.ICollection vertices) + public Hop(Elastic.Clients.Elasticsearch.QueryDsl.Query query, System.Collections.Generic.ICollection vertices) { + Query = query; Vertices = vertices; } #if NET7_0_OR_GREATER @@ -117,7 +118,11 @@ internal Hop(Elastic.Clients.Elasticsearch.Serialization.JsonConstructorSentinel /// An optional guiding query that constrains the Graph API as it explores connected terms. /// /// - public Elastic.Clients.Elasticsearch.QueryDsl.Query? Query { get; set; } + public +#if NET7_0_OR_GREATER + required +#endif + Elastic.Clients.Elasticsearch.QueryDsl.Query Query { get; set; } /// /// @@ -177,7 +182,7 @@ public Elastic.Clients.Elasticsearch.Graph.HopDescriptor Connections( /// An optional guiding query that constrains the Graph API as it explores connected terms. /// /// - public Elastic.Clients.Elasticsearch.Graph.HopDescriptor Query(Elastic.Clients.Elasticsearch.QueryDsl.Query? value) + public Elastic.Clients.Elasticsearch.Graph.HopDescriptor Query(Elastic.Clients.Elasticsearch.QueryDsl.Query value) { Instance.Query = value; return this; @@ -299,7 +304,7 @@ public Elastic.Clients.Elasticsearch.Graph.HopDescriptor Connections(System.A /// An optional guiding query that constrains the Graph API as it explores connected terms. /// /// - public Elastic.Clients.Elasticsearch.Graph.HopDescriptor Query(Elastic.Clients.Elasticsearch.QueryDsl.Query? value) + public Elastic.Clients.Elasticsearch.Graph.HopDescriptor Query(Elastic.Clients.Elasticsearch.QueryDsl.Query value) { Instance.Query = value; return this; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Graph/VertexInclude.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Graph/VertexInclude.g.cs index 4180eeec4dc..4e3ced37dae 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Graph/VertexInclude.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Graph/VertexInclude.g.cs @@ -30,17 +30,8 @@ internal sealed partial class VertexIncludeConverter : System.Text.Json.Serializ public override Elastic.Clients.Elasticsearch.Graph.VertexInclude Read(ref System.Text.Json.Utf8JsonReader reader, System.Type typeToConvert, System.Text.Json.JsonSerializerOptions options) { - if (reader.TokenType is not System.Text.Json.JsonTokenType.StartObject) - { - var value = reader.ReadValue(options, null); - return new Elastic.Clients.Elasticsearch.Graph.VertexInclude(Elastic.Clients.Elasticsearch.Serialization.JsonConstructorSentinel.Instance) - { - Term = value - }; - } - reader.ValidateToken(System.Text.Json.JsonTokenType.StartObject); - LocalJsonValue propBoost = default; + LocalJsonValue propBoost = default; LocalJsonValue propTerm = default; while (reader.Read() && reader.TokenType is System.Text.Json.JsonTokenType.PropertyName) { @@ -84,8 +75,9 @@ public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clien public sealed partial class VertexInclude { [System.Diagnostics.CodeAnalysis.SetsRequiredMembers] - public VertexInclude(string term) + public VertexInclude(double boost, string term) { + Boost = boost; Term = term; } #if NET7_0_OR_GREATER @@ -105,7 +97,11 @@ internal VertexInclude(Elastic.Clients.Elasticsearch.Serialization.JsonConstruct _ = sentinel; } - public double? Boost { get; set; } + public +#if NET7_0_OR_GREATER + required +#endif + double Boost { get; set; } public #if NET7_0_OR_GREATER required @@ -132,7 +128,7 @@ public VertexIncludeDescriptor() public static explicit operator Elastic.Clients.Elasticsearch.Graph.VertexIncludeDescriptor(Elastic.Clients.Elasticsearch.Graph.VertexInclude instance) => new Elastic.Clients.Elasticsearch.Graph.VertexIncludeDescriptor(instance); public static implicit operator Elastic.Clients.Elasticsearch.Graph.VertexInclude(Elastic.Clients.Elasticsearch.Graph.VertexIncludeDescriptor descriptor) => descriptor.Instance; - public Elastic.Clients.Elasticsearch.Graph.VertexIncludeDescriptor Boost(double? value) + public Elastic.Clients.Elasticsearch.Graph.VertexIncludeDescriptor Boost(double value) { Instance.Boost = value; return this; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/DataStreamLifecycleWithRollover.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/DataStreamLifecycleWithRollover.g.cs index e78a8d42b57..88201c7df55 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/DataStreamLifecycleWithRollover.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/DataStreamLifecycleWithRollover.g.cs @@ -138,15 +138,6 @@ internal DataStreamLifecycleWithRollover(Elastic.Clients.Elasticsearch.Serializa /// public bool? Enabled { get; set; } - /// - /// - /// If defined, it turns data stream lifecycle on/off (true/false) for this data stream. A data stream lifecycle - /// that's disabled (enabled: false) will have no effect on the data stream. - /// - /// - [JsonInclude, JsonPropertyName("enabled")] - public bool? Enabled { get; init; } - /// /// /// The conditions which will trigger the rollover of a backing index as configured by the cluster setting cluster.lifecycle.default.rollover. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/IndexSettings.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/IndexSettings.g.cs index 944037bd921..6f2f8183a9d 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/IndexSettings.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/IndexSettings.g.cs @@ -564,7 +564,7 @@ public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clien } /// -/// Learn more about this API in the Elasticsearch documentation. +/// Learn more about this API in the Elasticsearch documentation. /// [System.Text.Json.Serialization.JsonConverter(typeof(Elastic.Clients.Elasticsearch.IndexManagement.IndexSettingsConverter))] public sealed partial class IndexSettings @@ -681,7 +681,7 @@ internal IndexSettings(Elastic.Clients.Elasticsearch.Serialization.JsonConstruct } /// -/// Learn more about this API in the Elasticsearch documentation. +/// Learn more about this API in the Elasticsearch documentation. /// public readonly partial struct IndexSettingsDescriptor { @@ -1399,7 +1399,7 @@ internal static Elastic.Clients.Elasticsearch.IndexManagement.IndexSettings Buil } /// -/// Learn more about this API in the Elasticsearch documentation. +/// Learn more about this API in the Elasticsearch documentation. /// public readonly partial struct IndexSettingsDescriptor { diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/IndexTemplate.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/IndexTemplate.g.cs index 6655fb3eac0..79084ca62d9 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/IndexTemplate.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/IndexTemplate.g.cs @@ -208,25 +208,6 @@ internal IndexTemplate(Elastic.Clients.Elasticsearch.Serialization.JsonConstruct /// public Elastic.Clients.Elasticsearch.Names? IgnoreMissingComponentTemplates { get; set; } - /// - /// - /// Marks this index template as deprecated. - /// When creating or updating a non-deprecated index template that uses deprecated components, - /// Elasticsearch will emit a deprecation warning. - /// - /// - [JsonInclude, JsonPropertyName("deprecated")] - public bool? Deprecated { get; init; } - - /// - /// - /// A list of component template names that are allowed to be absent. - /// - /// - [JsonInclude, JsonPropertyName("ignore_missing_component_templates")] - [SingleOrManyCollectionConverter(typeof(string))] - public IReadOnlyCollection? IgnoreMissingComponentTemplates { get; init; } - /// /// /// Name of the index template. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/MappingLimitSettings.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/MappingLimitSettings.g.cs index b8993d26f4f..e0dc5fadaaa 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/MappingLimitSettings.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/MappingLimitSettings.g.cs @@ -138,7 +138,7 @@ public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clien /// /// Mapping Limit Settings /// -/// Learn more about this API in the Elasticsearch documentation. +/// Learn more about this API in the Elasticsearch documentation. /// [System.Text.Json.Serialization.JsonConverter(typeof(Elastic.Clients.Elasticsearch.IndexManagement.MappingLimitSettingsConverter))] public sealed partial class MappingLimitSettings @@ -174,7 +174,7 @@ internal MappingLimitSettings(Elastic.Clients.Elasticsearch.Serialization.JsonCo /// /// Mapping Limit Settings /// -/// Learn more about this API in the Elasticsearch documentation. +/// Learn more about this API in the Elasticsearch documentation. /// public readonly partial struct MappingLimitSettingsDescriptor { diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/AppendProcessor.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/AppendProcessor.g.cs index c0236eabc3e..dd90aa5321e 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/AppendProcessor.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/AppendProcessor.g.cs @@ -40,7 +40,7 @@ public override Elastic.Clients.Elasticsearch.Ingest.AppendProcessor Read(ref Sy LocalJsonValue propAllowDuplicates = default; LocalJsonValue propDescription = default; LocalJsonValue propField = default; - LocalJsonValue propIf = default; + LocalJsonValue propIf = default; LocalJsonValue propIgnoreFailure = default; LocalJsonValue?> propOnFailure = default; LocalJsonValue propTag = default; @@ -183,7 +183,7 @@ internal AppendProcessor(Elastic.Clients.Elasticsearch.Serialization.JsonConstru /// Conditionally execute the processor. /// /// - public Elastic.Clients.Elasticsearch.Script? If { get; set; } + public string? If { get; set; } /// /// @@ -290,34 +290,12 @@ public Elastic.Clients.Elasticsearch.Ingest.AppendProcessorDescriptor /// Conditionally execute the processor. /// /// - public Elastic.Clients.Elasticsearch.Ingest.AppendProcessorDescriptor If(Elastic.Clients.Elasticsearch.Script? value) + public Elastic.Clients.Elasticsearch.Ingest.AppendProcessorDescriptor If(string? value) { Instance.If = value; return this; } - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.AppendProcessorDescriptor If() - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(null); - return this; - } - - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.AppendProcessorDescriptor If(System.Action? action) - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(action); - return this; - } - /// /// /// Ignore failures for the processor. @@ -482,34 +460,12 @@ public Elastic.Clients.Elasticsearch.Ingest.AppendProcessorDescriptor Field(S /// Conditionally execute the processor. /// /// - public Elastic.Clients.Elasticsearch.Ingest.AppendProcessorDescriptor If(Elastic.Clients.Elasticsearch.Script? value) + public Elastic.Clients.Elasticsearch.Ingest.AppendProcessorDescriptor If(string? value) { Instance.If = value; return this; } - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.AppendProcessorDescriptor If() - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(null); - return this; - } - - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.AppendProcessorDescriptor If(System.Action? action) - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(action); - return this; - } - /// /// /// Ignore failures for the processor. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/AttachmentProcessor.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/AttachmentProcessor.g.cs index 8a7ccd7b303..054b5b2d0ea 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/AttachmentProcessor.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/AttachmentProcessor.g.cs @@ -44,7 +44,7 @@ public override Elastic.Clients.Elasticsearch.Ingest.AttachmentProcessor Read(re reader.ValidateToken(System.Text.Json.JsonTokenType.StartObject); LocalJsonValue propDescription = default; LocalJsonValue propField = default; - LocalJsonValue propIf = default; + LocalJsonValue propIf = default; LocalJsonValue propIgnoreFailure = default; LocalJsonValue propIgnoreMissing = default; LocalJsonValue propIndexedChars = default; @@ -219,7 +219,7 @@ internal AttachmentProcessor(Elastic.Clients.Elasticsearch.Serialization.JsonCon /// Conditionally execute the processor. /// /// - public Elastic.Clients.Elasticsearch.Script? If { get; set; } + public string? If { get; set; } /// /// @@ -354,34 +354,12 @@ public Elastic.Clients.Elasticsearch.Ingest.AttachmentProcessorDescriptor /// - public Elastic.Clients.Elasticsearch.Ingest.AttachmentProcessorDescriptor If(Elastic.Clients.Elasticsearch.Script? value) + public Elastic.Clients.Elasticsearch.Ingest.AttachmentProcessorDescriptor If(string? value) { Instance.If = value; return this; } - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.AttachmentProcessorDescriptor If() - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(null); - return this; - } - - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.AttachmentProcessorDescriptor If(System.Action? action) - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(action); - return this; - } - /// /// /// Ignore failures for the processor. @@ -625,34 +603,12 @@ public Elastic.Clients.Elasticsearch.Ingest.AttachmentProcessorDescriptor Field< /// Conditionally execute the processor. /// /// - public Elastic.Clients.Elasticsearch.Ingest.AttachmentProcessorDescriptor If(Elastic.Clients.Elasticsearch.Script? value) + public Elastic.Clients.Elasticsearch.Ingest.AttachmentProcessorDescriptor If(string? value) { Instance.If = value; return this; } - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.AttachmentProcessorDescriptor If() - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(null); - return this; - } - - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.AttachmentProcessorDescriptor If(System.Action? action) - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(action); - return this; - } - /// /// /// Ignore failures for the processor. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/BytesProcessor.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/BytesProcessor.g.cs index 59bc1c66bb9..f6c63e974da 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/BytesProcessor.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/BytesProcessor.g.cs @@ -39,7 +39,7 @@ public override Elastic.Clients.Elasticsearch.Ingest.BytesProcessor Read(ref Sys reader.ValidateToken(System.Text.Json.JsonTokenType.StartObject); LocalJsonValue propDescription = default; LocalJsonValue propField = default; - LocalJsonValue propIf = default; + LocalJsonValue propIf = default; LocalJsonValue propIgnoreFailure = default; LocalJsonValue propIgnoreMissing = default; LocalJsonValue?> propOnFailure = default; @@ -174,7 +174,7 @@ internal BytesProcessor(Elastic.Clients.Elasticsearch.Serialization.JsonConstruc /// Conditionally execute the processor. /// /// - public Elastic.Clients.Elasticsearch.Script? If { get; set; } + public string? If { get; set; } /// /// @@ -272,34 +272,12 @@ public Elastic.Clients.Elasticsearch.Ingest.BytesProcessorDescriptor /// Conditionally execute the processor. /// /// - public Elastic.Clients.Elasticsearch.Ingest.BytesProcessorDescriptor If(Elastic.Clients.Elasticsearch.Script? value) + public Elastic.Clients.Elasticsearch.Ingest.BytesProcessorDescriptor If(string? value) { Instance.If = value; return this; } - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.BytesProcessorDescriptor If() - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(null); - return this; - } - - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.BytesProcessorDescriptor If(System.Action? action) - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(action); - return this; - } - /// /// /// Ignore failures for the processor. @@ -464,34 +442,12 @@ public Elastic.Clients.Elasticsearch.Ingest.BytesProcessorDescriptor Field(Sy /// Conditionally execute the processor. /// /// - public Elastic.Clients.Elasticsearch.Ingest.BytesProcessorDescriptor If(Elastic.Clients.Elasticsearch.Script? value) + public Elastic.Clients.Elasticsearch.Ingest.BytesProcessorDescriptor If(string? value) { Instance.If = value; return this; } - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.BytesProcessorDescriptor If() - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(null); - return this; - } - - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.BytesProcessorDescriptor If(System.Action? action) - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(action); - return this; - } - /// /// /// Ignore failures for the processor. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/CircleProcessor.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/CircleProcessor.g.cs index 940a2538649..77198c053e6 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/CircleProcessor.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/CircleProcessor.g.cs @@ -42,7 +42,7 @@ public override Elastic.Clients.Elasticsearch.Ingest.CircleProcessor Read(ref Sy LocalJsonValue propDescription = default; LocalJsonValue propErrorDistance = default; LocalJsonValue propField = default; - LocalJsonValue propIf = default; + LocalJsonValue propIf = default; LocalJsonValue propIgnoreFailure = default; LocalJsonValue propIgnoreMissing = default; LocalJsonValue?> propOnFailure = default; @@ -205,7 +205,7 @@ internal CircleProcessor(Elastic.Clients.Elasticsearch.Serialization.JsonConstru /// Conditionally execute the processor. /// /// - public Elastic.Clients.Elasticsearch.Script? If { get; set; } + public string? If { get; set; } /// /// @@ -325,34 +325,12 @@ public Elastic.Clients.Elasticsearch.Ingest.CircleProcessorDescriptor /// Conditionally execute the processor. /// /// - public Elastic.Clients.Elasticsearch.Ingest.CircleProcessorDescriptor If(Elastic.Clients.Elasticsearch.Script? value) + public Elastic.Clients.Elasticsearch.Ingest.CircleProcessorDescriptor If(string? value) { Instance.If = value; return this; } - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.CircleProcessorDescriptor If() - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(null); - return this; - } - - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.CircleProcessorDescriptor If(System.Action? action) - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(action); - return this; - } - /// /// /// Ignore failures for the processor. @@ -539,34 +517,12 @@ public Elastic.Clients.Elasticsearch.Ingest.CircleProcessorDescriptor Field(S /// Conditionally execute the processor. /// /// - public Elastic.Clients.Elasticsearch.Ingest.CircleProcessorDescriptor If(Elastic.Clients.Elasticsearch.Script? value) + public Elastic.Clients.Elasticsearch.Ingest.CircleProcessorDescriptor If(string? value) { Instance.If = value; return this; } - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.CircleProcessorDescriptor If() - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(null); - return this; - } - - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.CircleProcessorDescriptor If(System.Action? action) - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(action); - return this; - } - /// /// /// Ignore failures for the processor. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/CommunityIDProcessor.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/CommunityIDProcessor.g.cs index 1c8cce666d7..d255bcec4c7 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/CommunityIDProcessor.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/CommunityIDProcessor.g.cs @@ -51,7 +51,7 @@ public override Elastic.Clients.Elasticsearch.Ingest.CommunityIDProcessor Read(r LocalJsonValue propIanaNumber = default; LocalJsonValue propIcmpCode = default; LocalJsonValue propIcmpType = default; - LocalJsonValue propIf = default; + LocalJsonValue propIf = default; LocalJsonValue propIgnoreFailure = default; LocalJsonValue propIgnoreMissing = default; LocalJsonValue?> propOnFailure = default; @@ -264,7 +264,7 @@ internal CommunityIDProcessor(Elastic.Clients.Elasticsearch.Serialization.JsonCo /// Conditionally execute the processor. /// /// - public Elastic.Clients.Elasticsearch.Script? If { get; set; } + public string? If { get; set; } /// /// @@ -482,34 +482,12 @@ public Elastic.Clients.Elasticsearch.Ingest.CommunityIdProcessorDescriptor /// - public Elastic.Clients.Elasticsearch.Ingest.CommunityIdProcessorDescriptor If(Elastic.Clients.Elasticsearch.Script? value) + public Elastic.Clients.Elasticsearch.Ingest.CommunityIdProcessorDescriptor If(string? value) { Instance.If = value; return this; } - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.CommunityIdProcessorDescriptor If() - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(null); - return this; - } - - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.CommunityIdProcessorDescriptor If(System.Action? action) - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(action); - return this; - } - /// /// /// Ignore failures for the processor. @@ -849,34 +827,12 @@ public Elastic.Clients.Elasticsearch.Ingest.CommunityIdProcessorDescriptor IcmpT /// Conditionally execute the processor. /// /// - public Elastic.Clients.Elasticsearch.Ingest.CommunityIdProcessorDescriptor If(Elastic.Clients.Elasticsearch.Script? value) + public Elastic.Clients.Elasticsearch.Ingest.CommunityIdProcessorDescriptor If(string? value) { Instance.If = value; return this; } - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.CommunityIdProcessorDescriptor If() - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(null); - return this; - } - - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.CommunityIdProcessorDescriptor If(System.Action? action) - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(action); - return this; - } - /// /// /// Ignore failures for the processor. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/ConvertProcessor.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/ConvertProcessor.g.cs index 3a0aeda7c5d..149f6ad5ae6 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/ConvertProcessor.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/ConvertProcessor.g.cs @@ -40,7 +40,7 @@ public override Elastic.Clients.Elasticsearch.Ingest.ConvertProcessor Read(ref S reader.ValidateToken(System.Text.Json.JsonTokenType.StartObject); LocalJsonValue propDescription = default; LocalJsonValue propField = default; - LocalJsonValue propIf = default; + LocalJsonValue propIf = default; LocalJsonValue propIgnoreFailure = default; LocalJsonValue propIgnoreMissing = default; LocalJsonValue?> propOnFailure = default; @@ -184,7 +184,7 @@ internal ConvertProcessor(Elastic.Clients.Elasticsearch.Serialization.JsonConstr /// Conditionally execute the processor. /// /// - public Elastic.Clients.Elasticsearch.Script? If { get; set; } + public string? If { get; set; } /// /// @@ -293,34 +293,12 @@ public Elastic.Clients.Elasticsearch.Ingest.ConvertProcessorDescriptor /// - public Elastic.Clients.Elasticsearch.Ingest.ConvertProcessorDescriptor If(Elastic.Clients.Elasticsearch.Script? value) + public Elastic.Clients.Elasticsearch.Ingest.ConvertProcessorDescriptor If(string? value) { Instance.If = value; return this; } - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.ConvertProcessorDescriptor If() - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(null); - return this; - } - - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.ConvertProcessorDescriptor If(System.Action? action) - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(action); - return this; - } - /// /// /// Ignore failures for the processor. @@ -496,34 +474,12 @@ public Elastic.Clients.Elasticsearch.Ingest.ConvertProcessorDescriptor Field( /// Conditionally execute the processor. /// /// - public Elastic.Clients.Elasticsearch.Ingest.ConvertProcessorDescriptor If(Elastic.Clients.Elasticsearch.Script? value) + public Elastic.Clients.Elasticsearch.Ingest.ConvertProcessorDescriptor If(string? value) { Instance.If = value; return this; } - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.ConvertProcessorDescriptor If() - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(null); - return this; - } - - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.ConvertProcessorDescriptor If(System.Action? action) - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(action); - return this; - } - /// /// /// Ignore failures for the processor. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/CsvProcessor.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/CsvProcessor.g.cs index f04323329d9..3ca031e4d14 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/CsvProcessor.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/CsvProcessor.g.cs @@ -44,7 +44,7 @@ public override Elastic.Clients.Elasticsearch.Ingest.CsvProcessor Read(ref Syste LocalJsonValue propDescription = default; LocalJsonValue propEmptyValue = default; LocalJsonValue propField = default; - LocalJsonValue propIf = default; + LocalJsonValue propIf = default; LocalJsonValue propIgnoreFailure = default; LocalJsonValue propIgnoreMissing = default; LocalJsonValue?> propOnFailure = default; @@ -220,7 +220,7 @@ internal CsvProcessor(Elastic.Clients.Elasticsearch.Serialization.JsonConstructo /// Conditionally execute the processor. /// /// - public Elastic.Clients.Elasticsearch.Script? If { get; set; } + public string? If { get; set; } /// /// @@ -355,34 +355,12 @@ public Elastic.Clients.Elasticsearch.Ingest.CsvProcessorDescriptor Fi /// Conditionally execute the processor. /// /// - public Elastic.Clients.Elasticsearch.Ingest.CsvProcessorDescriptor If(Elastic.Clients.Elasticsearch.Script? value) + public Elastic.Clients.Elasticsearch.Ingest.CsvProcessorDescriptor If(string? value) { Instance.If = value; return this; } - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.CsvProcessorDescriptor If() - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(null); - return this; - } - - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.CsvProcessorDescriptor If(System.Action? action) - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(action); - return this; - } - /// /// /// Ignore failures for the processor. @@ -591,34 +569,12 @@ public Elastic.Clients.Elasticsearch.Ingest.CsvProcessorDescriptor Field(Syst /// Conditionally execute the processor. /// /// - public Elastic.Clients.Elasticsearch.Ingest.CsvProcessorDescriptor If(Elastic.Clients.Elasticsearch.Script? value) + public Elastic.Clients.Elasticsearch.Ingest.CsvProcessorDescriptor If(string? value) { Instance.If = value; return this; } - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.CsvProcessorDescriptor If() - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(null); - return this; - } - - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.CsvProcessorDescriptor If(System.Action? action) - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(action); - return this; - } - /// /// /// Ignore failures for the processor. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/DateIndexNameProcessor.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/DateIndexNameProcessor.g.cs index 2daec74e2d0..cb20c262792 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/DateIndexNameProcessor.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/DateIndexNameProcessor.g.cs @@ -41,11 +41,11 @@ internal sealed partial class DateIndexNameProcessorConverter : System.Text.Json public override Elastic.Clients.Elasticsearch.Ingest.DateIndexNameProcessor Read(ref System.Text.Json.Utf8JsonReader reader, System.Type typeToConvert, System.Text.Json.JsonSerializerOptions options) { reader.ValidateToken(System.Text.Json.JsonTokenType.StartObject); - LocalJsonValue?> propDateFormats = default; + LocalJsonValue> propDateFormats = default; LocalJsonValue propDateRounding = default; LocalJsonValue propDescription = default; LocalJsonValue propField = default; - LocalJsonValue propIf = default; + LocalJsonValue propIf = default; LocalJsonValue propIgnoreFailure = default; LocalJsonValue propIndexNameFormat = default; LocalJsonValue propIndexNamePrefix = default; @@ -55,7 +55,7 @@ public override Elastic.Clients.Elasticsearch.Ingest.DateIndexNameProcessor Read LocalJsonValue propTimezone = default; while (reader.Read() && reader.TokenType is System.Text.Json.JsonTokenType.PropertyName) { - if (propDateFormats.TryReadProperty(ref reader, options, PropDateFormats, static System.Collections.Generic.ICollection? (ref System.Text.Json.Utf8JsonReader r, System.Text.Json.JsonSerializerOptions o) => r.ReadCollectionValue(o, null))) + if (propDateFormats.TryReadProperty(ref reader, options, PropDateFormats, static System.Collections.Generic.ICollection (ref System.Text.Json.Utf8JsonReader r, System.Text.Json.JsonSerializerOptions o) => r.ReadCollectionValue(o, null)!)) { continue; } @@ -145,7 +145,7 @@ public override Elastic.Clients.Elasticsearch.Ingest.DateIndexNameProcessor Read public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clients.Elasticsearch.Ingest.DateIndexNameProcessor value, System.Text.Json.JsonSerializerOptions options) { writer.WriteStartObject(); - writer.WriteProperty(options, PropDateFormats, value.DateFormats, null, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, System.Collections.Generic.ICollection? v) => w.WriteCollectionValue(o, v, null)); + writer.WriteProperty(options, PropDateFormats, value.DateFormats, null, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, System.Collections.Generic.ICollection v) => w.WriteCollectionValue(o, v, null)); writer.WriteProperty(options, PropDateRounding, value.DateRounding, null, null); writer.WriteProperty(options, PropDescription, value.Description, null, null); writer.WriteProperty(options, PropField, value.Field, null, null); @@ -165,8 +165,9 @@ public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clien public sealed partial class DateIndexNameProcessor { [System.Diagnostics.CodeAnalysis.SetsRequiredMembers] - public DateIndexNameProcessor(string dateRounding, Elastic.Clients.Elasticsearch.Field field) + public DateIndexNameProcessor(System.Collections.Generic.ICollection dateFormats, string dateRounding, Elastic.Clients.Elasticsearch.Field field) { + DateFormats = dateFormats; DateRounding = dateRounding; Field = field; } @@ -193,7 +194,11 @@ internal DateIndexNameProcessor(Elastic.Clients.Elasticsearch.Serialization.Json /// Can be a java time pattern or one of the following formats: ISO8601, UNIX, UNIX_MS, or TAI64N. /// /// - public System.Collections.Generic.ICollection? DateFormats { get; set; } + public +#if NET7_0_OR_GREATER + required +#endif + System.Collections.Generic.ICollection DateFormats { get; set; } /// /// @@ -232,7 +237,7 @@ internal DateIndexNameProcessor(Elastic.Clients.Elasticsearch.Serialization.Json /// Conditionally execute the processor. /// /// - public Elastic.Clients.Elasticsearch.Script? If { get; set; } + public string? If { get; set; } /// /// @@ -313,7 +318,7 @@ public DateIndexNameProcessorDescriptor() /// Can be a java time pattern or one of the following formats: ISO8601, UNIX, UNIX_MS, or TAI64N. /// /// - public Elastic.Clients.Elasticsearch.Ingest.DateIndexNameProcessorDescriptor DateFormats(System.Collections.Generic.ICollection? value) + public Elastic.Clients.Elasticsearch.Ingest.DateIndexNameProcessorDescriptor DateFormats(System.Collections.Generic.ICollection value) { Instance.DateFormats = value; return this; @@ -383,34 +388,12 @@ public Elastic.Clients.Elasticsearch.Ingest.DateIndexNameProcessorDescriptor /// - public Elastic.Clients.Elasticsearch.Ingest.DateIndexNameProcessorDescriptor If(Elastic.Clients.Elasticsearch.Script? value) + public Elastic.Clients.Elasticsearch.Ingest.DateIndexNameProcessorDescriptor If(string? value) { Instance.If = value; return this; } - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.DateIndexNameProcessorDescriptor If() - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(null); - return this; - } - - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.DateIndexNameProcessorDescriptor If(System.Action? action) - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(action); - return this; - } - /// /// /// Ignore failures for the processor. @@ -554,7 +537,7 @@ public DateIndexNameProcessorDescriptor() /// Can be a java time pattern or one of the following formats: ISO8601, UNIX, UNIX_MS, or TAI64N. /// /// - public Elastic.Clients.Elasticsearch.Ingest.DateIndexNameProcessorDescriptor DateFormats(System.Collections.Generic.ICollection? value) + public Elastic.Clients.Elasticsearch.Ingest.DateIndexNameProcessorDescriptor DateFormats(System.Collections.Generic.ICollection value) { Instance.DateFormats = value; return this; @@ -624,34 +607,12 @@ public Elastic.Clients.Elasticsearch.Ingest.DateIndexNameProcessorDescriptor Fie /// Conditionally execute the processor. /// /// - public Elastic.Clients.Elasticsearch.Ingest.DateIndexNameProcessorDescriptor If(Elastic.Clients.Elasticsearch.Script? value) + public Elastic.Clients.Elasticsearch.Ingest.DateIndexNameProcessorDescriptor If(string? value) { Instance.If = value; return this; } - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.DateIndexNameProcessorDescriptor If() - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(null); - return this; - } - - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.DateIndexNameProcessorDescriptor If(System.Action? action) - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(action); - return this; - } - /// /// /// Ignore failures for the processor. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/DateProcessor.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/DateProcessor.g.cs index edc1bf52ca5..d0ef55f5dc3 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/DateProcessor.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/DateProcessor.g.cs @@ -43,7 +43,7 @@ public override Elastic.Clients.Elasticsearch.Ingest.DateProcessor Read(ref Syst LocalJsonValue propDescription = default; LocalJsonValue propField = default; LocalJsonValue> propFormats = default; - LocalJsonValue propIf = default; + LocalJsonValue propIf = default; LocalJsonValue propIgnoreFailure = default; LocalJsonValue propLocale = default; LocalJsonValue?> propOnFailure = default; @@ -214,7 +214,7 @@ internal DateProcessor(Elastic.Clients.Elasticsearch.Serialization.JsonConstruct /// Conditionally execute the processor. /// /// - public Elastic.Clients.Elasticsearch.Script? If { get; set; } + public string? If { get; set; } /// /// @@ -352,34 +352,12 @@ public Elastic.Clients.Elasticsearch.Ingest.DateProcessorDescriptor F /// Conditionally execute the processor. /// /// - public Elastic.Clients.Elasticsearch.Ingest.DateProcessorDescriptor If(Elastic.Clients.Elasticsearch.Script? value) + public Elastic.Clients.Elasticsearch.Ingest.DateProcessorDescriptor If(string? value) { Instance.If = value; return this; } - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.DateProcessorDescriptor If() - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(null); - return this; - } - - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.DateProcessorDescriptor If(System.Action? action) - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(action); - return this; - } - /// /// /// Ignore failures for the processor. @@ -591,34 +569,12 @@ public Elastic.Clients.Elasticsearch.Ingest.DateProcessorDescriptor Formats(para /// Conditionally execute the processor. /// /// - public Elastic.Clients.Elasticsearch.Ingest.DateProcessorDescriptor If(Elastic.Clients.Elasticsearch.Script? value) + public Elastic.Clients.Elasticsearch.Ingest.DateProcessorDescriptor If(string? value) { Instance.If = value; return this; } - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.DateProcessorDescriptor If() - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(null); - return this; - } - - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.DateProcessorDescriptor If(System.Action? action) - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(action); - return this; - } - /// /// /// Ignore failures for the processor. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/DissectProcessor.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/DissectProcessor.g.cs index fbe7b4eb0a4..7bff7b622dc 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/DissectProcessor.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/DissectProcessor.g.cs @@ -41,7 +41,7 @@ public override Elastic.Clients.Elasticsearch.Ingest.DissectProcessor Read(ref S LocalJsonValue propAppendSeparator = default; LocalJsonValue propDescription = default; LocalJsonValue propField = default; - LocalJsonValue propIf = default; + LocalJsonValue propIf = default; LocalJsonValue propIgnoreFailure = default; LocalJsonValue propIgnoreMissing = default; LocalJsonValue?> propOnFailure = default; @@ -191,7 +191,7 @@ internal DissectProcessor(Elastic.Clients.Elasticsearch.Serialization.JsonConstr /// Conditionally execute the processor. /// /// - public Elastic.Clients.Elasticsearch.Script? If { get; set; } + public string? If { get; set; } /// /// @@ -303,34 +303,12 @@ public Elastic.Clients.Elasticsearch.Ingest.DissectProcessorDescriptor /// - public Elastic.Clients.Elasticsearch.Ingest.DissectProcessorDescriptor If(Elastic.Clients.Elasticsearch.Script? value) + public Elastic.Clients.Elasticsearch.Ingest.DissectProcessorDescriptor If(string? value) { Instance.If = value; return this; } - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.DissectProcessorDescriptor If() - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(null); - return this; - } - - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.DissectProcessorDescriptor If(System.Action? action) - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(action); - return this; - } - /// /// /// Ignore failures for the processor. @@ -493,34 +471,12 @@ public Elastic.Clients.Elasticsearch.Ingest.DissectProcessorDescriptor Field( /// Conditionally execute the processor. /// /// - public Elastic.Clients.Elasticsearch.Ingest.DissectProcessorDescriptor If(Elastic.Clients.Elasticsearch.Script? value) + public Elastic.Clients.Elasticsearch.Ingest.DissectProcessorDescriptor If(string? value) { Instance.If = value; return this; } - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.DissectProcessorDescriptor If() - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(null); - return this; - } - - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.DissectProcessorDescriptor If(System.Action? action) - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(action); - return this; - } - /// /// /// Ignore failures for the processor. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/DotExpanderProcessor.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/DotExpanderProcessor.g.cs index 5d28d340aec..6a26eafe8fd 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/DotExpanderProcessor.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/DotExpanderProcessor.g.cs @@ -39,7 +39,7 @@ public override Elastic.Clients.Elasticsearch.Ingest.DotExpanderProcessor Read(r reader.ValidateToken(System.Text.Json.JsonTokenType.StartObject); LocalJsonValue propDescription = default; LocalJsonValue propField = default; - LocalJsonValue propIf = default; + LocalJsonValue propIf = default; LocalJsonValue propIgnoreFailure = default; LocalJsonValue?> propOnFailure = default; LocalJsonValue propOverride = default; @@ -175,7 +175,7 @@ internal DotExpanderProcessor(Elastic.Clients.Elasticsearch.Serialization.JsonCo /// Conditionally execute the processor. /// /// - public Elastic.Clients.Elasticsearch.Script? If { get; set; } + public string? If { get; set; } /// /// @@ -277,34 +277,12 @@ public Elastic.Clients.Elasticsearch.Ingest.DotExpanderProcessorDescriptor /// - public Elastic.Clients.Elasticsearch.Ingest.DotExpanderProcessorDescriptor If(Elastic.Clients.Elasticsearch.Script? value) + public Elastic.Clients.Elasticsearch.Ingest.DotExpanderProcessorDescriptor If(string? value) { Instance.If = value; return this; } - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.DotExpanderProcessorDescriptor If() - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(null); - return this; - } - - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.DotExpanderProcessorDescriptor If(System.Action? action) - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(action); - return this; - } - /// /// /// Ignore failures for the processor. @@ -461,34 +439,12 @@ public Elastic.Clients.Elasticsearch.Ingest.DotExpanderProcessorDescriptor Field /// Conditionally execute the processor. /// /// - public Elastic.Clients.Elasticsearch.Ingest.DotExpanderProcessorDescriptor If(Elastic.Clients.Elasticsearch.Script? value) + public Elastic.Clients.Elasticsearch.Ingest.DotExpanderProcessorDescriptor If(string? value) { Instance.If = value; return this; } - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.DotExpanderProcessorDescriptor If() - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(null); - return this; - } - - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.DotExpanderProcessorDescriptor If(System.Action? action) - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(action); - return this; - } - /// /// /// Ignore failures for the processor. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/DropProcessor.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/DropProcessor.g.cs index 9ecc53e205a..b5427bdcec0 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/DropProcessor.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/DropProcessor.g.cs @@ -35,7 +35,7 @@ public override Elastic.Clients.Elasticsearch.Ingest.DropProcessor Read(ref Syst { reader.ValidateToken(System.Text.Json.JsonTokenType.StartObject); LocalJsonValue propDescription = default; - LocalJsonValue propIf = default; + LocalJsonValue propIf = default; LocalJsonValue propIgnoreFailure = default; LocalJsonValue?> propOnFailure = default; LocalJsonValue propTag = default; @@ -130,7 +130,7 @@ internal DropProcessor(Elastic.Clients.Elasticsearch.Serialization.JsonConstruct /// Conditionally execute the processor. /// /// - public Elastic.Clients.Elasticsearch.Script? If { get; set; } + public string? If { get; set; } /// /// @@ -191,34 +191,12 @@ public Elastic.Clients.Elasticsearch.Ingest.DropProcessorDescriptor D /// Conditionally execute the processor. /// /// - public Elastic.Clients.Elasticsearch.Ingest.DropProcessorDescriptor If(Elastic.Clients.Elasticsearch.Script? value) + public Elastic.Clients.Elasticsearch.Ingest.DropProcessorDescriptor If(string? value) { Instance.If = value; return this; } - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.DropProcessorDescriptor If() - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(null); - return this; - } - - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.DropProcessorDescriptor If(System.Action? action) - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(action); - return this; - } - /// /// /// Ignore failures for the processor. @@ -331,34 +309,12 @@ public Elastic.Clients.Elasticsearch.Ingest.DropProcessorDescriptor Description( /// Conditionally execute the processor. /// /// - public Elastic.Clients.Elasticsearch.Ingest.DropProcessorDescriptor If(Elastic.Clients.Elasticsearch.Script? value) + public Elastic.Clients.Elasticsearch.Ingest.DropProcessorDescriptor If(string? value) { Instance.If = value; return this; } - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.DropProcessorDescriptor If() - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(null); - return this; - } - - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.DropProcessorDescriptor If(System.Action? action) - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(action); - return this; - } - /// /// /// Ignore failures for the processor. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/EnrichProcessor.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/EnrichProcessor.g.cs index 90f74247a4f..e6b7a3be7dc 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/EnrichProcessor.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/EnrichProcessor.g.cs @@ -43,7 +43,7 @@ public override Elastic.Clients.Elasticsearch.Ingest.EnrichProcessor Read(ref Sy reader.ValidateToken(System.Text.Json.JsonTokenType.StartObject); LocalJsonValue propDescription = default; LocalJsonValue propField = default; - LocalJsonValue propIf = default; + LocalJsonValue propIf = default; LocalJsonValue propIgnoreFailure = default; LocalJsonValue propIgnoreMissing = default; LocalJsonValue propMaxMatches = default; @@ -213,7 +213,7 @@ internal EnrichProcessor(Elastic.Clients.Elasticsearch.Serialization.JsonConstru /// Conditionally execute the processor. /// /// - public Elastic.Clients.Elasticsearch.Script? If { get; set; } + public string? If { get; set; } /// /// @@ -353,34 +353,12 @@ public Elastic.Clients.Elasticsearch.Ingest.EnrichProcessorDescriptor /// Conditionally execute the processor. /// /// - public Elastic.Clients.Elasticsearch.Ingest.EnrichProcessorDescriptor If(Elastic.Clients.Elasticsearch.Script? value) + public Elastic.Clients.Elasticsearch.Ingest.EnrichProcessorDescriptor If(string? value) { Instance.If = value; return this; } - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.EnrichProcessorDescriptor If() - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(null); - return this; - } - - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.EnrichProcessorDescriptor If(System.Action? action) - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(action); - return this; - } - /// /// /// Ignore failures for the processor. @@ -595,34 +573,12 @@ public Elastic.Clients.Elasticsearch.Ingest.EnrichProcessorDescriptor Field(S /// Conditionally execute the processor. /// /// - public Elastic.Clients.Elasticsearch.Ingest.EnrichProcessorDescriptor If(Elastic.Clients.Elasticsearch.Script? value) + public Elastic.Clients.Elasticsearch.Ingest.EnrichProcessorDescriptor If(string? value) { Instance.If = value; return this; } - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.EnrichProcessorDescriptor If() - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(null); - return this; - } - - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.EnrichProcessorDescriptor If(System.Action? action) - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(action); - return this; - } - /// /// /// Ignore failures for the processor. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/FailProcessor.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/FailProcessor.g.cs index 88e8bea5953..6900bc95afa 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/FailProcessor.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/FailProcessor.g.cs @@ -36,7 +36,7 @@ public override Elastic.Clients.Elasticsearch.Ingest.FailProcessor Read(ref Syst { reader.ValidateToken(System.Text.Json.JsonTokenType.StartObject); LocalJsonValue propDescription = default; - LocalJsonValue propIf = default; + LocalJsonValue propIf = default; LocalJsonValue propIgnoreFailure = default; LocalJsonValue propMessage = default; LocalJsonValue?> propOnFailure = default; @@ -145,7 +145,7 @@ internal FailProcessor(Elastic.Clients.Elasticsearch.Serialization.JsonConstruct /// Conditionally execute the processor. /// /// - public Elastic.Clients.Elasticsearch.Script? If { get; set; } + public string? If { get; set; } /// /// @@ -218,34 +218,12 @@ public Elastic.Clients.Elasticsearch.Ingest.FailProcessorDescriptor D /// Conditionally execute the processor. /// /// - public Elastic.Clients.Elasticsearch.Ingest.FailProcessorDescriptor If(Elastic.Clients.Elasticsearch.Script? value) + public Elastic.Clients.Elasticsearch.Ingest.FailProcessorDescriptor If(string? value) { Instance.If = value; return this; } - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.FailProcessorDescriptor If() - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(null); - return this; - } - - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.FailProcessorDescriptor If(System.Action? action) - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(action); - return this; - } - /// /// /// Ignore failures for the processor. @@ -365,34 +343,12 @@ public Elastic.Clients.Elasticsearch.Ingest.FailProcessorDescriptor Description( /// Conditionally execute the processor. /// /// - public Elastic.Clients.Elasticsearch.Ingest.FailProcessorDescriptor If(Elastic.Clients.Elasticsearch.Script? value) + public Elastic.Clients.Elasticsearch.Ingest.FailProcessorDescriptor If(string? value) { Instance.If = value; return this; } - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.FailProcessorDescriptor If() - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(null); - return this; - } - - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.FailProcessorDescriptor If(System.Action? action) - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(action); - return this; - } - /// /// /// Ignore failures for the processor. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/FingerprintProcessor.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/FingerprintProcessor.g.cs index 35e8a4fc6d3..74571f5abbb 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/FingerprintProcessor.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/FingerprintProcessor.g.cs @@ -41,7 +41,7 @@ public override Elastic.Clients.Elasticsearch.Ingest.FingerprintProcessor Read(r reader.ValidateToken(System.Text.Json.JsonTokenType.StartObject); LocalJsonValue propDescription = default; LocalJsonValue propFields = default; - LocalJsonValue propIf = default; + LocalJsonValue propIf = default; LocalJsonValue propIgnoreFailure = default; LocalJsonValue propIgnoreMissing = default; LocalJsonValue propMethod = default; @@ -194,7 +194,7 @@ internal FingerprintProcessor(Elastic.Clients.Elasticsearch.Serialization.JsonCo /// Conditionally execute the processor. /// /// - public Elastic.Clients.Elasticsearch.Script? If { get; set; } + public string? If { get; set; } /// /// @@ -311,34 +311,12 @@ public Elastic.Clients.Elasticsearch.Ingest.FingerprintProcessorDescriptor /// - public Elastic.Clients.Elasticsearch.Ingest.FingerprintProcessorDescriptor If(Elastic.Clients.Elasticsearch.Script? value) + public Elastic.Clients.Elasticsearch.Ingest.FingerprintProcessorDescriptor If(string? value) { Instance.If = value; return this; } - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.FingerprintProcessorDescriptor If() - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(null); - return this; - } - - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.FingerprintProcessorDescriptor If(System.Action? action) - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(action); - return this; - } - /// /// /// Ignore failures for the processor. @@ -529,34 +507,12 @@ public Elastic.Clients.Elasticsearch.Ingest.FingerprintProcessorDescriptor Field /// Conditionally execute the processor. /// /// - public Elastic.Clients.Elasticsearch.Ingest.FingerprintProcessorDescriptor If(Elastic.Clients.Elasticsearch.Script? value) + public Elastic.Clients.Elasticsearch.Ingest.FingerprintProcessorDescriptor If(string? value) { Instance.If = value; return this; } - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.FingerprintProcessorDescriptor If() - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(null); - return this; - } - - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.FingerprintProcessorDescriptor If(System.Action? action) - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(action); - return this; - } - /// /// /// Ignore failures for the processor. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/ForeachProcessor.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/ForeachProcessor.g.cs index 3b38cf1cc87..efda8a26177 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/ForeachProcessor.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/ForeachProcessor.g.cs @@ -39,7 +39,7 @@ public override Elastic.Clients.Elasticsearch.Ingest.ForeachProcessor Read(ref S reader.ValidateToken(System.Text.Json.JsonTokenType.StartObject); LocalJsonValue propDescription = default; LocalJsonValue propField = default; - LocalJsonValue propIf = default; + LocalJsonValue propIf = default; LocalJsonValue propIgnoreFailure = default; LocalJsonValue propIgnoreMissing = default; LocalJsonValue?> propOnFailure = default; @@ -175,7 +175,7 @@ internal ForeachProcessor(Elastic.Clients.Elasticsearch.Serialization.JsonConstr /// Conditionally execute the processor. /// /// - public Elastic.Clients.Elasticsearch.Script? If { get; set; } + public string? If { get; set; } /// /// @@ -276,34 +276,12 @@ public Elastic.Clients.Elasticsearch.Ingest.ForeachProcessorDescriptor /// - public Elastic.Clients.Elasticsearch.Ingest.ForeachProcessorDescriptor If(Elastic.Clients.Elasticsearch.Script? value) + public Elastic.Clients.Elasticsearch.Ingest.ForeachProcessorDescriptor If(string? value) { Instance.If = value; return this; } - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.ForeachProcessorDescriptor If() - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(null); - return this; - } - - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.ForeachProcessorDescriptor If(System.Action? action) - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(action); - return this; - } - /// /// /// Ignore failures for the processor. @@ -466,34 +444,12 @@ public Elastic.Clients.Elasticsearch.Ingest.ForeachProcessorDescriptor Field( /// Conditionally execute the processor. /// /// - public Elastic.Clients.Elasticsearch.Ingest.ForeachProcessorDescriptor If(Elastic.Clients.Elasticsearch.Script? value) + public Elastic.Clients.Elasticsearch.Ingest.ForeachProcessorDescriptor If(string? value) { Instance.If = value; return this; } - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.ForeachProcessorDescriptor If() - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(null); - return this; - } - - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.ForeachProcessorDescriptor If(System.Action? action) - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(action); - return this; - } - /// /// /// Ignore failures for the processor. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/GeoGridProcessor.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/GeoGridProcessor.g.cs index 2615af4e7f9..12e573c142d 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/GeoGridProcessor.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/GeoGridProcessor.g.cs @@ -46,7 +46,7 @@ public override Elastic.Clients.Elasticsearch.Ingest.GeoGridProcessor Read(ref S LocalJsonValue propChildrenField = default; LocalJsonValue propDescription = default; LocalJsonValue propField = default; - LocalJsonValue propIf = default; + LocalJsonValue propIf = default; LocalJsonValue propIgnoreFailure = default; LocalJsonValue propIgnoreMissing = default; LocalJsonValue propNonChildrenField = default; @@ -237,7 +237,7 @@ internal GeoGridProcessor(Elastic.Clients.Elasticsearch.Serialization.JsonConstr /// Conditionally execute the processor. /// /// - public Elastic.Clients.Elasticsearch.Script? If { get; set; } + public string? If { get; set; } /// /// @@ -385,34 +385,12 @@ public Elastic.Clients.Elasticsearch.Ingest.GeoGridProcessorDescriptor /// - public Elastic.Clients.Elasticsearch.Ingest.GeoGridProcessorDescriptor If(Elastic.Clients.Elasticsearch.Script? value) + public Elastic.Clients.Elasticsearch.Ingest.GeoGridProcessorDescriptor If(string? value) { Instance.If = value; return this; } - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.GeoGridProcessorDescriptor If() - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(null); - return this; - } - - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.GeoGridProcessorDescriptor If(System.Action? action) - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(action); - return this; - } - /// /// /// Ignore failures for the processor. @@ -675,34 +653,12 @@ public Elastic.Clients.Elasticsearch.Ingest.GeoGridProcessorDescriptor Field(str /// Conditionally execute the processor. /// /// - public Elastic.Clients.Elasticsearch.Ingest.GeoGridProcessorDescriptor If(Elastic.Clients.Elasticsearch.Script? value) + public Elastic.Clients.Elasticsearch.Ingest.GeoGridProcessorDescriptor If(string? value) { Instance.If = value; return this; } - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.GeoGridProcessorDescriptor If() - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(null); - return this; - } - - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.GeoGridProcessorDescriptor If(System.Action? action) - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(action); - return this; - } - /// /// /// Ignore failures for the processor. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/GeoIpProcessor.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/GeoIpProcessor.g.cs index f57710930a1..e0dbe167af5 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/GeoIpProcessor.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/GeoIpProcessor.g.cs @@ -46,7 +46,7 @@ public override Elastic.Clients.Elasticsearch.Ingest.GeoIpProcessor Read(ref Sys LocalJsonValue propDownloadDatabaseOnPipelineCreation = default; LocalJsonValue propField = default; LocalJsonValue propFirstOnly = default; - LocalJsonValue propIf = default; + LocalJsonValue propIf = default; LocalJsonValue propIgnoreFailure = default; LocalJsonValue propIgnoreMissing = default; LocalJsonValue?> propOnFailure = default; @@ -232,7 +232,7 @@ internal GeoIpProcessor(Elastic.Clients.Elasticsearch.Serialization.JsonConstruc /// Conditionally execute the processor. /// /// - public Elastic.Clients.Elasticsearch.Script? If { get; set; } + public string? If { get; set; } /// /// @@ -370,34 +370,12 @@ public Elastic.Clients.Elasticsearch.Ingest.GeoIpProcessorDescriptor /// Conditionally execute the processor. /// /// - public Elastic.Clients.Elasticsearch.Ingest.GeoIpProcessorDescriptor If(Elastic.Clients.Elasticsearch.Script? value) + public Elastic.Clients.Elasticsearch.Ingest.GeoIpProcessorDescriptor If(string? value) { Instance.If = value; return this; } - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.GeoIpProcessorDescriptor If() - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(null); - return this; - } - - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.GeoIpProcessorDescriptor If(System.Action? action) - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(action); - return this; - } - /// /// /// Ignore failures for the processor. @@ -616,34 +594,12 @@ public Elastic.Clients.Elasticsearch.Ingest.GeoIpProcessorDescriptor FirstOnly(b /// Conditionally execute the processor. /// /// - public Elastic.Clients.Elasticsearch.Ingest.GeoIpProcessorDescriptor If(Elastic.Clients.Elasticsearch.Script? value) + public Elastic.Clients.Elasticsearch.Ingest.GeoIpProcessorDescriptor If(string? value) { Instance.If = value; return this; } - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.GeoIpProcessorDescriptor If() - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(null); - return this; - } - - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.GeoIpProcessorDescriptor If(System.Action? action) - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(action); - return this; - } - /// /// /// Ignore failures for the processor. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/GrokProcessor.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/GrokProcessor.g.cs index 824896503e6..275d4e99078 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/GrokProcessor.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/GrokProcessor.g.cs @@ -43,7 +43,7 @@ public override Elastic.Clients.Elasticsearch.Ingest.GrokProcessor Read(ref Syst LocalJsonValue propDescription = default; LocalJsonValue propEcsCompatibility = default; LocalJsonValue propField = default; - LocalJsonValue propIf = default; + LocalJsonValue propIf = default; LocalJsonValue propIgnoreFailure = default; LocalJsonValue propIgnoreMissing = default; LocalJsonValue?> propOnFailure = default; @@ -210,7 +210,7 @@ internal GrokProcessor(Elastic.Clients.Elasticsearch.Serialization.JsonConstruct /// Conditionally execute the processor. /// /// - public Elastic.Clients.Elasticsearch.Script? If { get; set; } + public string? If { get; set; } /// /// @@ -339,34 +339,12 @@ public Elastic.Clients.Elasticsearch.Ingest.GrokProcessorDescriptor F /// Conditionally execute the processor. /// /// - public Elastic.Clients.Elasticsearch.Ingest.GrokProcessorDescriptor If(Elastic.Clients.Elasticsearch.Script? value) + public Elastic.Clients.Elasticsearch.Ingest.GrokProcessorDescriptor If(string? value) { Instance.If = value; return this; } - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.GrokProcessorDescriptor If() - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(null); - return this; - } - - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.GrokProcessorDescriptor If(System.Action? action) - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(action); - return this; - } - /// /// /// Ignore failures for the processor. @@ -597,34 +575,12 @@ public Elastic.Clients.Elasticsearch.Ingest.GrokProcessorDescriptor Field(Sys /// Conditionally execute the processor. /// /// - public Elastic.Clients.Elasticsearch.Ingest.GrokProcessorDescriptor If(Elastic.Clients.Elasticsearch.Script? value) + public Elastic.Clients.Elasticsearch.Ingest.GrokProcessorDescriptor If(string? value) { Instance.If = value; return this; } - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.GrokProcessorDescriptor If() - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(null); - return this; - } - - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.GrokProcessorDescriptor If(System.Action? action) - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(action); - return this; - } - /// /// /// Ignore failures for the processor. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/GsubProcessor.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/GsubProcessor.g.cs index adf190f45a3..e874da4b47b 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/GsubProcessor.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/GsubProcessor.g.cs @@ -41,7 +41,7 @@ public override Elastic.Clients.Elasticsearch.Ingest.GsubProcessor Read(ref Syst reader.ValidateToken(System.Text.Json.JsonTokenType.StartObject); LocalJsonValue propDescription = default; LocalJsonValue propField = default; - LocalJsonValue propIf = default; + LocalJsonValue propIf = default; LocalJsonValue propIgnoreFailure = default; LocalJsonValue propIgnoreMissing = default; LocalJsonValue?> propOnFailure = default; @@ -194,7 +194,7 @@ internal GsubProcessor(Elastic.Clients.Elasticsearch.Serialization.JsonConstruct /// Conditionally execute the processor. /// /// - public Elastic.Clients.Elasticsearch.Script? If { get; set; } + public string? If { get; set; } /// /// @@ -314,34 +314,12 @@ public Elastic.Clients.Elasticsearch.Ingest.GsubProcessorDescriptor F /// Conditionally execute the processor. /// /// - public Elastic.Clients.Elasticsearch.Ingest.GsubProcessorDescriptor If(Elastic.Clients.Elasticsearch.Script? value) + public Elastic.Clients.Elasticsearch.Ingest.GsubProcessorDescriptor If(string? value) { Instance.If = value; return this; } - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.GsubProcessorDescriptor If() - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(null); - return this; - } - - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.GsubProcessorDescriptor If(System.Action? action) - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(action); - return this; - } - /// /// /// Ignore failures for the processor. @@ -528,34 +506,12 @@ public Elastic.Clients.Elasticsearch.Ingest.GsubProcessorDescriptor Field(Sys /// Conditionally execute the processor. /// /// - public Elastic.Clients.Elasticsearch.Ingest.GsubProcessorDescriptor If(Elastic.Clients.Elasticsearch.Script? value) + public Elastic.Clients.Elasticsearch.Ingest.GsubProcessorDescriptor If(string? value) { Instance.If = value; return this; } - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.GsubProcessorDescriptor If() - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(null); - return this; - } - - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.GsubProcessorDescriptor If(System.Action? action) - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(action); - return this; - } - /// /// /// Ignore failures for the processor. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/HtmlStripProcessor.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/HtmlStripProcessor.g.cs index d7b4e21b32d..978103a10ff 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/HtmlStripProcessor.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/HtmlStripProcessor.g.cs @@ -39,7 +39,7 @@ public override Elastic.Clients.Elasticsearch.Ingest.HtmlStripProcessor Read(ref reader.ValidateToken(System.Text.Json.JsonTokenType.StartObject); LocalJsonValue propDescription = default; LocalJsonValue propField = default; - LocalJsonValue propIf = default; + LocalJsonValue propIf = default; LocalJsonValue propIgnoreFailure = default; LocalJsonValue propIgnoreMissing = default; LocalJsonValue?> propOnFailure = default; @@ -174,7 +174,7 @@ internal HtmlStripProcessor(Elastic.Clients.Elasticsearch.Serialization.JsonCons /// Conditionally execute the processor. /// /// - public Elastic.Clients.Elasticsearch.Script? If { get; set; } + public string? If { get; set; } /// /// @@ -272,34 +272,12 @@ public Elastic.Clients.Elasticsearch.Ingest.HtmlStripProcessorDescriptor /// - public Elastic.Clients.Elasticsearch.Ingest.HtmlStripProcessorDescriptor If(Elastic.Clients.Elasticsearch.Script? value) + public Elastic.Clients.Elasticsearch.Ingest.HtmlStripProcessorDescriptor If(string? value) { Instance.If = value; return this; } - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.HtmlStripProcessorDescriptor If() - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(null); - return this; - } - - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.HtmlStripProcessorDescriptor If(System.Action? action) - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(action); - return this; - } - /// /// /// Ignore failures for the processor. @@ -464,34 +442,12 @@ public Elastic.Clients.Elasticsearch.Ingest.HtmlStripProcessorDescriptor Field /// - public Elastic.Clients.Elasticsearch.Ingest.HtmlStripProcessorDescriptor If(Elastic.Clients.Elasticsearch.Script? value) + public Elastic.Clients.Elasticsearch.Ingest.HtmlStripProcessorDescriptor If(string? value) { Instance.If = value; return this; } - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.HtmlStripProcessorDescriptor If() - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(null); - return this; - } - - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.HtmlStripProcessorDescriptor If(System.Action? action) - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(action); - return this; - } - /// /// /// Ignore failures for the processor. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/InferenceProcessor.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/InferenceProcessor.g.cs index 6d4639e637a..04408ae115b 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/InferenceProcessor.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/InferenceProcessor.g.cs @@ -42,7 +42,7 @@ public override Elastic.Clients.Elasticsearch.Ingest.InferenceProcessor Read(ref reader.ValidateToken(System.Text.Json.JsonTokenType.StartObject); LocalJsonValue propDescription = default; LocalJsonValue?> propFieldMap = default; - LocalJsonValue propIf = default; + LocalJsonValue propIf = default; LocalJsonValue propIgnoreFailure = default; LocalJsonValue propIgnoreMissing = default; LocalJsonValue propInferenceConfig = default; @@ -198,7 +198,7 @@ internal InferenceProcessor(Elastic.Clients.Elasticsearch.Serialization.JsonCons /// Conditionally execute the processor. /// /// - public Elastic.Clients.Elasticsearch.Script? If { get; set; } + public string? If { get; set; } /// /// @@ -351,34 +351,12 @@ public Elastic.Clients.Elasticsearch.Ingest.InferenceProcessorDescriptor /// - public Elastic.Clients.Elasticsearch.Ingest.InferenceProcessorDescriptor If(Elastic.Clients.Elasticsearch.Script? value) + public Elastic.Clients.Elasticsearch.Ingest.InferenceProcessorDescriptor If(string? value) { Instance.If = value; return this; } - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.InferenceProcessorDescriptor If() - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(null); - return this; - } - - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.InferenceProcessorDescriptor If(System.Action? action) - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(action); - return this; - } - /// /// /// Ignore failures for the processor. @@ -658,34 +636,12 @@ public Elastic.Clients.Elasticsearch.Ingest.InferenceProcessorDescriptor AddFiel /// Conditionally execute the processor. /// /// - public Elastic.Clients.Elasticsearch.Ingest.InferenceProcessorDescriptor If(Elastic.Clients.Elasticsearch.Script? value) + public Elastic.Clients.Elasticsearch.Ingest.InferenceProcessorDescriptor If(string? value) { Instance.If = value; return this; } - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.InferenceProcessorDescriptor If() - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(null); - return this; - } - - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.InferenceProcessorDescriptor If(System.Action? action) - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(action); - return this; - } - /// /// /// Ignore failures for the processor. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/IpLocationProcessor.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/IpLocationProcessor.g.cs index af7afb63e3d..16ad2cc4e7d 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/IpLocationProcessor.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/IpLocationProcessor.g.cs @@ -46,7 +46,7 @@ public override Elastic.Clients.Elasticsearch.Ingest.IpLocationProcessor Read(re LocalJsonValue propDownloadDatabaseOnPipelineCreation = default; LocalJsonValue propField = default; LocalJsonValue propFirstOnly = default; - LocalJsonValue propIf = default; + LocalJsonValue propIf = default; LocalJsonValue propIgnoreFailure = default; LocalJsonValue propIgnoreMissing = default; LocalJsonValue?> propOnFailure = default; @@ -232,7 +232,7 @@ internal IpLocationProcessor(Elastic.Clients.Elasticsearch.Serialization.JsonCon /// Conditionally execute the processor. /// /// - public Elastic.Clients.Elasticsearch.Script? If { get; set; } + public string? If { get; set; } /// /// @@ -370,34 +370,12 @@ public Elastic.Clients.Elasticsearch.Ingest.IpLocationProcessorDescriptor /// - public Elastic.Clients.Elasticsearch.Ingest.IpLocationProcessorDescriptor If(Elastic.Clients.Elasticsearch.Script? value) + public Elastic.Clients.Elasticsearch.Ingest.IpLocationProcessorDescriptor If(string? value) { Instance.If = value; return this; } - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.IpLocationProcessorDescriptor If() - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(null); - return this; - } - - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.IpLocationProcessorDescriptor If(System.Action? action) - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(action); - return this; - } - /// /// /// Ignore failures for the processor. @@ -616,34 +594,12 @@ public Elastic.Clients.Elasticsearch.Ingest.IpLocationProcessorDescriptor FirstO /// Conditionally execute the processor. /// /// - public Elastic.Clients.Elasticsearch.Ingest.IpLocationProcessorDescriptor If(Elastic.Clients.Elasticsearch.Script? value) + public Elastic.Clients.Elasticsearch.Ingest.IpLocationProcessorDescriptor If(string? value) { Instance.If = value; return this; } - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.IpLocationProcessorDescriptor If() - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(null); - return this; - } - - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.IpLocationProcessorDescriptor If(System.Action? action) - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(action); - return this; - } - /// /// /// Ignore failures for the processor. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/JoinProcessor.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/JoinProcessor.g.cs index c11e7dcf51d..3c14eada421 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/JoinProcessor.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/JoinProcessor.g.cs @@ -39,7 +39,7 @@ public override Elastic.Clients.Elasticsearch.Ingest.JoinProcessor Read(ref Syst reader.ValidateToken(System.Text.Json.JsonTokenType.StartObject); LocalJsonValue propDescription = default; LocalJsonValue propField = default; - LocalJsonValue propIf = default; + LocalJsonValue propIf = default; LocalJsonValue propIgnoreFailure = default; LocalJsonValue?> propOnFailure = default; LocalJsonValue propSeparator = default; @@ -175,7 +175,7 @@ internal JoinProcessor(Elastic.Clients.Elasticsearch.Serialization.JsonConstruct /// Conditionally execute the processor. /// /// - public Elastic.Clients.Elasticsearch.Script? If { get; set; } + public string? If { get; set; } /// /// @@ -277,34 +277,12 @@ public Elastic.Clients.Elasticsearch.Ingest.JoinProcessorDescriptor F /// Conditionally execute the processor. /// /// - public Elastic.Clients.Elasticsearch.Ingest.JoinProcessorDescriptor If(Elastic.Clients.Elasticsearch.Script? value) + public Elastic.Clients.Elasticsearch.Ingest.JoinProcessorDescriptor If(string? value) { Instance.If = value; return this; } - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.JoinProcessorDescriptor If() - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(null); - return this; - } - - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.JoinProcessorDescriptor If(System.Action? action) - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(action); - return this; - } - /// /// /// Ignore failures for the processor. @@ -469,34 +447,12 @@ public Elastic.Clients.Elasticsearch.Ingest.JoinProcessorDescriptor Field(Sys /// Conditionally execute the processor. /// /// - public Elastic.Clients.Elasticsearch.Ingest.JoinProcessorDescriptor If(Elastic.Clients.Elasticsearch.Script? value) + public Elastic.Clients.Elasticsearch.Ingest.JoinProcessorDescriptor If(string? value) { Instance.If = value; return this; } - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.JoinProcessorDescriptor If() - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(null); - return this; - } - - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.JoinProcessorDescriptor If(System.Action? action) - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(action); - return this; - } - /// /// /// Ignore failures for the processor. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/JsonProcessor.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/JsonProcessor.g.cs index b103ce95d56..450babb55cc 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/JsonProcessor.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/JsonProcessor.g.cs @@ -44,7 +44,7 @@ public override Elastic.Clients.Elasticsearch.Ingest.JsonProcessor Read(ref Syst LocalJsonValue propAllowDuplicateKeys = default; LocalJsonValue propDescription = default; LocalJsonValue propField = default; - LocalJsonValue propIf = default; + LocalJsonValue propIf = default; LocalJsonValue propIgnoreFailure = default; LocalJsonValue?> propOnFailure = default; LocalJsonValue propTag = default; @@ -217,7 +217,7 @@ internal JsonProcessor(Elastic.Clients.Elasticsearch.Serialization.JsonConstruct /// Conditionally execute the processor. /// /// - public Elastic.Clients.Elasticsearch.Script? If { get; set; } + public string? If { get; set; } /// /// @@ -345,34 +345,12 @@ public Elastic.Clients.Elasticsearch.Ingest.JsonProcessorDescriptor F /// Conditionally execute the processor. /// /// - public Elastic.Clients.Elasticsearch.Ingest.JsonProcessorDescriptor If(Elastic.Clients.Elasticsearch.Script? value) + public Elastic.Clients.Elasticsearch.Ingest.JsonProcessorDescriptor If(string? value) { Instance.If = value; return this; } - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.JsonProcessorDescriptor If() - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(null); - return this; - } - - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.JsonProcessorDescriptor If(System.Action? action) - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(action); - return this; - } - /// /// /// Ignore failures for the processor. @@ -563,34 +541,12 @@ public Elastic.Clients.Elasticsearch.Ingest.JsonProcessorDescriptor Field(Sys /// Conditionally execute the processor. /// /// - public Elastic.Clients.Elasticsearch.Ingest.JsonProcessorDescriptor If(Elastic.Clients.Elasticsearch.Script? value) + public Elastic.Clients.Elasticsearch.Ingest.JsonProcessorDescriptor If(string? value) { Instance.If = value; return this; } - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.JsonProcessorDescriptor If() - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(null); - return this; - } - - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.JsonProcessorDescriptor If(System.Action? action) - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(action); - return this; - } - /// /// /// Ignore failures for the processor. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/KeyValueProcessor.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/KeyValueProcessor.g.cs index 73b76a45501..96cd3cba9cf 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/KeyValueProcessor.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/KeyValueProcessor.g.cs @@ -49,7 +49,7 @@ public override Elastic.Clients.Elasticsearch.Ingest.KeyValueProcessor Read(ref LocalJsonValue?> propExcludeKeys = default; LocalJsonValue propField = default; LocalJsonValue propFieldSplit = default; - LocalJsonValue propIf = default; + LocalJsonValue propIf = default; LocalJsonValue propIgnoreFailure = default; LocalJsonValue propIgnoreMissing = default; LocalJsonValue?> propIncludeKeys = default; @@ -267,7 +267,7 @@ internal KeyValueProcessor(Elastic.Clients.Elasticsearch.Serialization.JsonConst /// Conditionally execute the processor. /// /// - public Elastic.Clients.Elasticsearch.Script? If { get; set; } + public string? If { get; set; } /// /// @@ -448,34 +448,12 @@ public Elastic.Clients.Elasticsearch.Ingest.KeyValueProcessorDescriptor /// - public Elastic.Clients.Elasticsearch.Ingest.KeyValueProcessorDescriptor If(Elastic.Clients.Elasticsearch.Script? value) + public Elastic.Clients.Elasticsearch.Ingest.KeyValueProcessorDescriptor If(string? value) { Instance.If = value; return this; } - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.KeyValueProcessorDescriptor If() - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(null); - return this; - } - - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.KeyValueProcessorDescriptor If(System.Action? action) - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(action); - return this; - } - /// /// /// Ignore failures for the processor. @@ -756,34 +734,12 @@ public Elastic.Clients.Elasticsearch.Ingest.KeyValueProcessorDescriptor FieldSpl /// Conditionally execute the processor. /// /// - public Elastic.Clients.Elasticsearch.Ingest.KeyValueProcessorDescriptor If(Elastic.Clients.Elasticsearch.Script? value) + public Elastic.Clients.Elasticsearch.Ingest.KeyValueProcessorDescriptor If(string? value) { Instance.If = value; return this; } - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.KeyValueProcessorDescriptor If() - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(null); - return this; - } - - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.KeyValueProcessorDescriptor If(System.Action? action) - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(action); - return this; - } - /// /// /// Ignore failures for the processor. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/LowercaseProcessor.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/LowercaseProcessor.g.cs index 5c0f1ad8083..a14af5c4d22 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/LowercaseProcessor.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/LowercaseProcessor.g.cs @@ -39,7 +39,7 @@ public override Elastic.Clients.Elasticsearch.Ingest.LowercaseProcessor Read(ref reader.ValidateToken(System.Text.Json.JsonTokenType.StartObject); LocalJsonValue propDescription = default; LocalJsonValue propField = default; - LocalJsonValue propIf = default; + LocalJsonValue propIf = default; LocalJsonValue propIgnoreFailure = default; LocalJsonValue propIgnoreMissing = default; LocalJsonValue?> propOnFailure = default; @@ -174,7 +174,7 @@ internal LowercaseProcessor(Elastic.Clients.Elasticsearch.Serialization.JsonCons /// Conditionally execute the processor. /// /// - public Elastic.Clients.Elasticsearch.Script? If { get; set; } + public string? If { get; set; } /// /// @@ -272,34 +272,12 @@ public Elastic.Clients.Elasticsearch.Ingest.LowercaseProcessorDescriptor /// - public Elastic.Clients.Elasticsearch.Ingest.LowercaseProcessorDescriptor If(Elastic.Clients.Elasticsearch.Script? value) + public Elastic.Clients.Elasticsearch.Ingest.LowercaseProcessorDescriptor If(string? value) { Instance.If = value; return this; } - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.LowercaseProcessorDescriptor If() - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(null); - return this; - } - - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.LowercaseProcessorDescriptor If(System.Action? action) - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(action); - return this; - } - /// /// /// Ignore failures for the processor. @@ -464,34 +442,12 @@ public Elastic.Clients.Elasticsearch.Ingest.LowercaseProcessorDescriptor Field /// - public Elastic.Clients.Elasticsearch.Ingest.LowercaseProcessorDescriptor If(Elastic.Clients.Elasticsearch.Script? value) + public Elastic.Clients.Elasticsearch.Ingest.LowercaseProcessorDescriptor If(string? value) { Instance.If = value; return this; } - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.LowercaseProcessorDescriptor If() - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(null); - return this; - } - - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.LowercaseProcessorDescriptor If(System.Action? action) - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(action); - return this; - } - /// /// /// Ignore failures for the processor. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/NetworkDirectionProcessor.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/NetworkDirectionProcessor.g.cs index 5fd983c86aa..4e201d1039c 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/NetworkDirectionProcessor.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/NetworkDirectionProcessor.g.cs @@ -42,7 +42,7 @@ public override Elastic.Clients.Elasticsearch.Ingest.NetworkDirectionProcessor R reader.ValidateToken(System.Text.Json.JsonTokenType.StartObject); LocalJsonValue propDescription = default; LocalJsonValue propDestinationIp = default; - LocalJsonValue propIf = default; + LocalJsonValue propIf = default; LocalJsonValue propIgnoreFailure = default; LocalJsonValue propIgnoreMissing = default; LocalJsonValue?> propInternalNetworks = default; @@ -191,7 +191,7 @@ internal NetworkDirectionProcessor(Elastic.Clients.Elasticsearch.Serialization.J /// Conditionally execute the processor. /// /// - public Elastic.Clients.Elasticsearch.Script? If { get; set; } + public string? If { get; set; } /// /// @@ -314,34 +314,12 @@ public Elastic.Clients.Elasticsearch.Ingest.NetworkDirectionProcessorDescriptor< /// Conditionally execute the processor. /// /// - public Elastic.Clients.Elasticsearch.Ingest.NetworkDirectionProcessorDescriptor If(Elastic.Clients.Elasticsearch.Script? value) + public Elastic.Clients.Elasticsearch.Ingest.NetworkDirectionProcessorDescriptor If(string? value) { Instance.If = value; return this; } - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.NetworkDirectionProcessorDescriptor If() - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(null); - return this; - } - - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.NetworkDirectionProcessorDescriptor If(System.Action? action) - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(action); - return this; - } - /// /// /// Ignore failures for the processor. @@ -584,34 +562,12 @@ public Elastic.Clients.Elasticsearch.Ingest.NetworkDirectionProcessorDescriptor /// Conditionally execute the processor. /// /// - public Elastic.Clients.Elasticsearch.Ingest.NetworkDirectionProcessorDescriptor If(Elastic.Clients.Elasticsearch.Script? value) + public Elastic.Clients.Elasticsearch.Ingest.NetworkDirectionProcessorDescriptor If(string? value) { Instance.If = value; return this; } - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.NetworkDirectionProcessorDescriptor If() - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(null); - return this; - } - - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.NetworkDirectionProcessorDescriptor If(System.Action? action) - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(action); - return this; - } - /// /// /// Ignore failures for the processor. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/PipelineProcessor.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/PipelineProcessor.g.cs index 807f9d09d75..affe4717256 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/PipelineProcessor.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/PipelineProcessor.g.cs @@ -37,7 +37,7 @@ public override Elastic.Clients.Elasticsearch.Ingest.PipelineProcessor Read(ref { reader.ValidateToken(System.Text.Json.JsonTokenType.StartObject); LocalJsonValue propDescription = default; - LocalJsonValue propIf = default; + LocalJsonValue propIf = default; LocalJsonValue propIgnoreFailure = default; LocalJsonValue propIgnoreMissingPipeline = default; LocalJsonValue propName = default; @@ -154,7 +154,7 @@ internal PipelineProcessor(Elastic.Clients.Elasticsearch.Serialization.JsonConst /// Conditionally execute the processor. /// /// - public Elastic.Clients.Elasticsearch.Script? If { get; set; } + public string? If { get; set; } /// /// @@ -234,34 +234,12 @@ public Elastic.Clients.Elasticsearch.Ingest.PipelineProcessorDescriptor /// - public Elastic.Clients.Elasticsearch.Ingest.PipelineProcessorDescriptor If(Elastic.Clients.Elasticsearch.Script? value) + public Elastic.Clients.Elasticsearch.Ingest.PipelineProcessorDescriptor If(string? value) { Instance.If = value; return this; } - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.PipelineProcessorDescriptor If() - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(null); - return this; - } - - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.PipelineProcessorDescriptor If(System.Action? action) - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(action); - return this; - } - /// /// /// Ignore failures for the processor. @@ -392,34 +370,12 @@ public Elastic.Clients.Elasticsearch.Ingest.PipelineProcessorDescriptor Descript /// Conditionally execute the processor. /// /// - public Elastic.Clients.Elasticsearch.Ingest.PipelineProcessorDescriptor If(Elastic.Clients.Elasticsearch.Script? value) + public Elastic.Clients.Elasticsearch.Ingest.PipelineProcessorDescriptor If(string? value) { Instance.If = value; return this; } - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.PipelineProcessorDescriptor If() - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(null); - return this; - } - - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.PipelineProcessorDescriptor If(System.Action? action) - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(action); - return this; - } - /// /// /// Ignore failures for the processor. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/RedactProcessor.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/RedactProcessor.g.cs index 9f0894415ae..ca802c579d9 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/RedactProcessor.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/RedactProcessor.g.cs @@ -44,7 +44,7 @@ public override Elastic.Clients.Elasticsearch.Ingest.RedactProcessor Read(ref Sy reader.ValidateToken(System.Text.Json.JsonTokenType.StartObject); LocalJsonValue propDescription = default; LocalJsonValue propField = default; - LocalJsonValue propIf = default; + LocalJsonValue propIf = default; LocalJsonValue propIgnoreFailure = default; LocalJsonValue propIgnoreMissing = default; LocalJsonValue?> propOnFailure = default; @@ -220,7 +220,7 @@ internal RedactProcessor(Elastic.Clients.Elasticsearch.Serialization.JsonConstru /// Conditionally execute the processor. /// /// - public Elastic.Clients.Elasticsearch.Script? If { get; set; } + public string? If { get; set; } /// /// @@ -350,34 +350,12 @@ public Elastic.Clients.Elasticsearch.Ingest.RedactProcessorDescriptor /// Conditionally execute the processor. /// /// - public Elastic.Clients.Elasticsearch.Ingest.RedactProcessorDescriptor If(Elastic.Clients.Elasticsearch.Script? value) + public Elastic.Clients.Elasticsearch.Ingest.RedactProcessorDescriptor If(string? value) { Instance.If = value; return this; } - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.RedactProcessorDescriptor If() - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(null); - return this; - } - - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.RedactProcessorDescriptor If(System.Action? action) - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(action); - return this; - } - /// /// /// Ignore failures for the processor. @@ -609,34 +587,12 @@ public Elastic.Clients.Elasticsearch.Ingest.RedactProcessorDescriptor Field(S /// Conditionally execute the processor. /// /// - public Elastic.Clients.Elasticsearch.Ingest.RedactProcessorDescriptor If(Elastic.Clients.Elasticsearch.Script? value) + public Elastic.Clients.Elasticsearch.Ingest.RedactProcessorDescriptor If(string? value) { Instance.If = value; return this; } - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.RedactProcessorDescriptor If() - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(null); - return this; - } - - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.RedactProcessorDescriptor If(System.Action? action) - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(action); - return this; - } - /// /// /// Ignore failures for the processor. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/RegisteredDomainProcessor.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/RegisteredDomainProcessor.g.cs index 98668d9fd25..d7cff04172b 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/RegisteredDomainProcessor.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/RegisteredDomainProcessor.g.cs @@ -39,7 +39,7 @@ public override Elastic.Clients.Elasticsearch.Ingest.RegisteredDomainProcessor R reader.ValidateToken(System.Text.Json.JsonTokenType.StartObject); LocalJsonValue propDescription = default; LocalJsonValue propField = default; - LocalJsonValue propIf = default; + LocalJsonValue propIf = default; LocalJsonValue propIgnoreFailure = default; LocalJsonValue propIgnoreMissing = default; LocalJsonValue?> propOnFailure = default; @@ -174,7 +174,7 @@ internal RegisteredDomainProcessor(Elastic.Clients.Elasticsearch.Serialization.J /// Conditionally execute the processor. /// /// - public Elastic.Clients.Elasticsearch.Script? If { get; set; } + public string? If { get; set; } /// /// @@ -273,34 +273,12 @@ public Elastic.Clients.Elasticsearch.Ingest.RegisteredDomainProcessorDescriptor< /// Conditionally execute the processor. /// /// - public Elastic.Clients.Elasticsearch.Ingest.RegisteredDomainProcessorDescriptor If(Elastic.Clients.Elasticsearch.Script? value) + public Elastic.Clients.Elasticsearch.Ingest.RegisteredDomainProcessorDescriptor If(string? value) { Instance.If = value; return this; } - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.RegisteredDomainProcessorDescriptor If() - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(null); - return this; - } - - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.RegisteredDomainProcessorDescriptor If(System.Action? action) - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(action); - return this; - } - /// /// /// Ignore failures for the processor. @@ -466,34 +444,12 @@ public Elastic.Clients.Elasticsearch.Ingest.RegisteredDomainProcessorDescriptor /// Conditionally execute the processor. /// /// - public Elastic.Clients.Elasticsearch.Ingest.RegisteredDomainProcessorDescriptor If(Elastic.Clients.Elasticsearch.Script? value) + public Elastic.Clients.Elasticsearch.Ingest.RegisteredDomainProcessorDescriptor If(string? value) { Instance.If = value; return this; } - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.RegisteredDomainProcessorDescriptor If() - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(null); - return this; - } - - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.RegisteredDomainProcessorDescriptor If(System.Action? action) - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(action); - return this; - } - /// /// /// Ignore failures for the processor. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/RemoveProcessor.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/RemoveProcessor.g.cs index ee01e3bf6f0..0436405bfb5 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/RemoveProcessor.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/RemoveProcessor.g.cs @@ -39,7 +39,7 @@ public override Elastic.Clients.Elasticsearch.Ingest.RemoveProcessor Read(ref Sy reader.ValidateToken(System.Text.Json.JsonTokenType.StartObject); LocalJsonValue propDescription = default; LocalJsonValue propField = default; - LocalJsonValue propIf = default; + LocalJsonValue propIf = default; LocalJsonValue propIgnoreFailure = default; LocalJsonValue propIgnoreMissing = default; LocalJsonValue propKeep = default; @@ -174,7 +174,7 @@ internal RemoveProcessor(Elastic.Clients.Elasticsearch.Serialization.JsonConstru /// Conditionally execute the processor. /// /// - public Elastic.Clients.Elasticsearch.Script? If { get; set; } + public string? If { get; set; } /// /// @@ -271,34 +271,12 @@ public Elastic.Clients.Elasticsearch.Ingest.RemoveProcessorDescriptor /// Conditionally execute the processor. /// /// - public Elastic.Clients.Elasticsearch.Ingest.RemoveProcessorDescriptor If(Elastic.Clients.Elasticsearch.Script? value) + public Elastic.Clients.Elasticsearch.Ingest.RemoveProcessorDescriptor If(string? value) { Instance.If = value; return this; } - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.RemoveProcessorDescriptor If() - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(null); - return this; - } - - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.RemoveProcessorDescriptor If(System.Action? action) - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(action); - return this; - } - /// /// /// Ignore failures for the processor. @@ -461,34 +439,12 @@ public Elastic.Clients.Elasticsearch.Ingest.RemoveProcessorDescriptor Field(p /// Conditionally execute the processor. /// /// - public Elastic.Clients.Elasticsearch.Ingest.RemoveProcessorDescriptor If(Elastic.Clients.Elasticsearch.Script? value) + public Elastic.Clients.Elasticsearch.Ingest.RemoveProcessorDescriptor If(string? value) { Instance.If = value; return this; } - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.RemoveProcessorDescriptor If() - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(null); - return this; - } - - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.RemoveProcessorDescriptor If(System.Action? action) - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(action); - return this; - } - /// /// /// Ignore failures for the processor. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/RenameProcessor.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/RenameProcessor.g.cs index e10084b3a11..1771f2e359c 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/RenameProcessor.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/RenameProcessor.g.cs @@ -39,7 +39,7 @@ public override Elastic.Clients.Elasticsearch.Ingest.RenameProcessor Read(ref Sy reader.ValidateToken(System.Text.Json.JsonTokenType.StartObject); LocalJsonValue propDescription = default; LocalJsonValue propField = default; - LocalJsonValue propIf = default; + LocalJsonValue propIf = default; LocalJsonValue propIgnoreFailure = default; LocalJsonValue propIgnoreMissing = default; LocalJsonValue?> propOnFailure = default; @@ -176,7 +176,7 @@ internal RenameProcessor(Elastic.Clients.Elasticsearch.Serialization.JsonConstru /// Conditionally execute the processor. /// /// - public Elastic.Clients.Elasticsearch.Script? If { get; set; } + public string? If { get; set; } /// /// @@ -280,34 +280,12 @@ public Elastic.Clients.Elasticsearch.Ingest.RenameProcessorDescriptor /// Conditionally execute the processor. /// /// - public Elastic.Clients.Elasticsearch.Ingest.RenameProcessorDescriptor If(Elastic.Clients.Elasticsearch.Script? value) + public Elastic.Clients.Elasticsearch.Ingest.RenameProcessorDescriptor If(string? value) { Instance.If = value; return this; } - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.RenameProcessorDescriptor If() - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(null); - return this; - } - - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.RenameProcessorDescriptor If(System.Action? action) - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(action); - return this; - } - /// /// /// Ignore failures for the processor. @@ -474,34 +452,12 @@ public Elastic.Clients.Elasticsearch.Ingest.RenameProcessorDescriptor Field(S /// Conditionally execute the processor. /// /// - public Elastic.Clients.Elasticsearch.Ingest.RenameProcessorDescriptor If(Elastic.Clients.Elasticsearch.Script? value) + public Elastic.Clients.Elasticsearch.Ingest.RenameProcessorDescriptor If(string? value) { Instance.If = value; return this; } - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.RenameProcessorDescriptor If() - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(null); - return this; - } - - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.RenameProcessorDescriptor If(System.Action? action) - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(action); - return this; - } - /// /// /// Ignore failures for the processor. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/RerouteProcessor.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/RerouteProcessor.g.cs index b8d0e553338..87fd4a3f866 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/RerouteProcessor.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/RerouteProcessor.g.cs @@ -40,7 +40,7 @@ public override Elastic.Clients.Elasticsearch.Ingest.RerouteProcessor Read(ref S LocalJsonValue?> propDataset = default; LocalJsonValue propDescription = default; LocalJsonValue propDestination = default; - LocalJsonValue propIf = default; + LocalJsonValue propIf = default; LocalJsonValue propIgnoreFailure = default; LocalJsonValue?> propNamespace = default; LocalJsonValue?> propOnFailure = default; @@ -181,7 +181,7 @@ internal RerouteProcessor(Elastic.Clients.Elasticsearch.Serialization.JsonConstr /// Conditionally execute the processor. /// /// - public Elastic.Clients.Elasticsearch.Script? If { get; set; } + public string? If { get; set; } /// /// @@ -311,34 +311,12 @@ public Elastic.Clients.Elasticsearch.Ingest.RerouteProcessorDescriptor /// - public Elastic.Clients.Elasticsearch.Ingest.RerouteProcessorDescriptor If(Elastic.Clients.Elasticsearch.Script? value) + public Elastic.Clients.Elasticsearch.Ingest.RerouteProcessorDescriptor If(string? value) { Instance.If = value; return this; } - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.RerouteProcessorDescriptor If() - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(null); - return this; - } - - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.RerouteProcessorDescriptor If(System.Action? action) - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(action); - return this; - } - /// /// /// Ignore failures for the processor. @@ -544,34 +522,12 @@ public Elastic.Clients.Elasticsearch.Ingest.RerouteProcessorDescriptor Destinati /// Conditionally execute the processor. /// /// - public Elastic.Clients.Elasticsearch.Ingest.RerouteProcessorDescriptor If(Elastic.Clients.Elasticsearch.Script? value) + public Elastic.Clients.Elasticsearch.Ingest.RerouteProcessorDescriptor If(string? value) { Instance.If = value; return this; } - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.RerouteProcessorDescriptor If() - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(null); - return this; - } - - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.RerouteProcessorDescriptor If(System.Action? action) - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(action); - return this; - } - /// /// /// Ignore failures for the processor. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/ScriptProcessor.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/ScriptProcessor.g.cs index d295f8a2fad..c0c0b4d47c8 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/ScriptProcessor.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/ScriptProcessor.g.cs @@ -40,9 +40,9 @@ public override Elastic.Clients.Elasticsearch.Ingest.ScriptProcessor Read(ref Sy reader.ValidateToken(System.Text.Json.JsonTokenType.StartObject); LocalJsonValue propDescription = default; LocalJsonValue propId = default; - LocalJsonValue propIf = default; + LocalJsonValue propIf = default; LocalJsonValue propIgnoreFailure = default; - LocalJsonValue propLang = default; + LocalJsonValue propLang = default; LocalJsonValue?> propOnFailure = default; LocalJsonValue?> propParams = default; LocalJsonValue propSource = default; @@ -174,7 +174,7 @@ internal ScriptProcessor(Elastic.Clients.Elasticsearch.Serialization.JsonConstru /// Conditionally execute the processor. /// /// - public Elastic.Clients.Elasticsearch.Script? If { get; set; } + public string? If { get; set; } /// /// @@ -188,7 +188,7 @@ internal ScriptProcessor(Elastic.Clients.Elasticsearch.Serialization.JsonConstru /// Script language. /// /// - public Elastic.Clients.Elasticsearch.ScriptLanguage? Lang { get; set; } + public string? Lang { get; set; } /// /// @@ -269,34 +269,12 @@ public Elastic.Clients.Elasticsearch.Ingest.ScriptProcessorDescriptor /// Conditionally execute the processor. /// /// - public Elastic.Clients.Elasticsearch.Ingest.ScriptProcessorDescriptor If(Elastic.Clients.Elasticsearch.Script? value) + public Elastic.Clients.Elasticsearch.Ingest.ScriptProcessorDescriptor If(string? value) { Instance.If = value; return this; } - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.ScriptProcessorDescriptor If() - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(null); - return this; - } - - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.ScriptProcessorDescriptor If(System.Action? action) - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(action); - return this; - } - /// /// /// Ignore failures for the processor. @@ -313,7 +291,7 @@ public Elastic.Clients.Elasticsearch.Ingest.ScriptProcessorDescriptor /// Script language. /// /// - public Elastic.Clients.Elasticsearch.Ingest.ScriptProcessorDescriptor Lang(Elastic.Clients.Elasticsearch.ScriptLanguage? value) + public Elastic.Clients.Elasticsearch.Ingest.ScriptProcessorDescriptor Lang(string? value) { Instance.Lang = value; return this; @@ -484,34 +462,12 @@ public Elastic.Clients.Elasticsearch.Ingest.ScriptProcessorDescriptor Id(Elastic /// Conditionally execute the processor. /// /// - public Elastic.Clients.Elasticsearch.Ingest.ScriptProcessorDescriptor If(Elastic.Clients.Elasticsearch.Script? value) + public Elastic.Clients.Elasticsearch.Ingest.ScriptProcessorDescriptor If(string? value) { Instance.If = value; return this; } - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.ScriptProcessorDescriptor If() - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(null); - return this; - } - - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.ScriptProcessorDescriptor If(System.Action? action) - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(action); - return this; - } - /// /// /// Ignore failures for the processor. @@ -528,7 +484,7 @@ public Elastic.Clients.Elasticsearch.Ingest.ScriptProcessorDescriptor IgnoreFail /// Script language. /// /// - public Elastic.Clients.Elasticsearch.Ingest.ScriptProcessorDescriptor Lang(Elastic.Clients.Elasticsearch.ScriptLanguage? value) + public Elastic.Clients.Elasticsearch.Ingest.ScriptProcessorDescriptor Lang(string? value) { Instance.Lang = value; return this; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/SetProcessor.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/SetProcessor.g.cs index 03d476eabda..f38988de349 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/SetProcessor.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/SetProcessor.g.cs @@ -43,7 +43,7 @@ public override Elastic.Clients.Elasticsearch.Ingest.SetProcessor Read(ref Syste LocalJsonValue propCopyFrom = default; LocalJsonValue propDescription = default; LocalJsonValue propField = default; - LocalJsonValue propIf = default; + LocalJsonValue propIf = default; LocalJsonValue propIgnoreEmptyValue = default; LocalJsonValue propIgnoreFailure = default; LocalJsonValue propMediaType = default; @@ -210,7 +210,7 @@ internal SetProcessor(Elastic.Clients.Elasticsearch.Serialization.JsonConstructo /// Conditionally execute the processor. /// /// - public Elastic.Clients.Elasticsearch.Script? If { get; set; } + public string? If { get; set; } /// /// @@ -352,34 +352,12 @@ public Elastic.Clients.Elasticsearch.Ingest.SetProcessorDescriptor Fi /// Conditionally execute the processor. /// /// - public Elastic.Clients.Elasticsearch.Ingest.SetProcessorDescriptor If(Elastic.Clients.Elasticsearch.Script? value) + public Elastic.Clients.Elasticsearch.Ingest.SetProcessorDescriptor If(string? value) { Instance.If = value; return this; } - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.SetProcessorDescriptor If() - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(null); - return this; - } - - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.SetProcessorDescriptor If(System.Action? action) - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(action); - return this; - } - /// /// /// If true and value is a template snippet that evaluates to null or the empty string, the processor quietly exits without modifying the document. @@ -584,34 +562,12 @@ public Elastic.Clients.Elasticsearch.Ingest.SetProcessorDescriptor Field(Syst /// Conditionally execute the processor. /// /// - public Elastic.Clients.Elasticsearch.Ingest.SetProcessorDescriptor If(Elastic.Clients.Elasticsearch.Script? value) + public Elastic.Clients.Elasticsearch.Ingest.SetProcessorDescriptor If(string? value) { Instance.If = value; return this; } - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.SetProcessorDescriptor If() - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(null); - return this; - } - - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.SetProcessorDescriptor If(System.Action? action) - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(action); - return this; - } - /// /// /// If true and value is a template snippet that evaluates to null or the empty string, the processor quietly exits without modifying the document. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/SetSecurityUserProcessor.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/SetSecurityUserProcessor.g.cs index aa8f9e687e7..9bf3c177e40 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/SetSecurityUserProcessor.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/SetSecurityUserProcessor.g.cs @@ -38,7 +38,7 @@ public override Elastic.Clients.Elasticsearch.Ingest.SetSecurityUserProcessor Re reader.ValidateToken(System.Text.Json.JsonTokenType.StartObject); LocalJsonValue propDescription = default; LocalJsonValue propField = default; - LocalJsonValue propIf = default; + LocalJsonValue propIf = default; LocalJsonValue propIgnoreFailure = default; LocalJsonValue?> propOnFailure = default; LocalJsonValue?> propProperties = default; @@ -165,7 +165,7 @@ internal SetSecurityUserProcessor(Elastic.Clients.Elasticsearch.Serialization.Js /// Conditionally execute the processor. /// /// - public Elastic.Clients.Elasticsearch.Script? If { get; set; } + public string? If { get; set; } /// /// @@ -255,34 +255,12 @@ public Elastic.Clients.Elasticsearch.Ingest.SetSecurityUserProcessorDescriptor /// - public Elastic.Clients.Elasticsearch.Ingest.SetSecurityUserProcessorDescriptor If(Elastic.Clients.Elasticsearch.Script? value) + public Elastic.Clients.Elasticsearch.Ingest.SetSecurityUserProcessorDescriptor If(string? value) { Instance.If = value; return this; } - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.SetSecurityUserProcessorDescriptor If() - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(null); - return this; - } - - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.SetSecurityUserProcessorDescriptor If(System.Action? action) - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(action); - return this; - } - /// /// /// Ignore failures for the processor. @@ -434,34 +412,12 @@ public Elastic.Clients.Elasticsearch.Ingest.SetSecurityUserProcessorDescriptor F /// Conditionally execute the processor. /// /// - public Elastic.Clients.Elasticsearch.Ingest.SetSecurityUserProcessorDescriptor If(Elastic.Clients.Elasticsearch.Script? value) + public Elastic.Clients.Elasticsearch.Ingest.SetSecurityUserProcessorDescriptor If(string? value) { Instance.If = value; return this; } - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.SetSecurityUserProcessorDescriptor If() - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(null); - return this; - } - - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.SetSecurityUserProcessorDescriptor If(System.Action? action) - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(action); - return this; - } - /// /// /// Ignore failures for the processor. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/SortProcessor.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/SortProcessor.g.cs index 4e68a7fce1c..62764d5d776 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/SortProcessor.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/SortProcessor.g.cs @@ -39,7 +39,7 @@ public override Elastic.Clients.Elasticsearch.Ingest.SortProcessor Read(ref Syst reader.ValidateToken(System.Text.Json.JsonTokenType.StartObject); LocalJsonValue propDescription = default; LocalJsonValue propField = default; - LocalJsonValue propIf = default; + LocalJsonValue propIf = default; LocalJsonValue propIgnoreFailure = default; LocalJsonValue?> propOnFailure = default; LocalJsonValue propOrder = default; @@ -174,7 +174,7 @@ internal SortProcessor(Elastic.Clients.Elasticsearch.Serialization.JsonConstruct /// Conditionally execute the processor. /// /// - public Elastic.Clients.Elasticsearch.Script? If { get; set; } + public string? If { get; set; } /// /// @@ -273,34 +273,12 @@ public Elastic.Clients.Elasticsearch.Ingest.SortProcessorDescriptor F /// Conditionally execute the processor. /// /// - public Elastic.Clients.Elasticsearch.Ingest.SortProcessorDescriptor If(Elastic.Clients.Elasticsearch.Script? value) + public Elastic.Clients.Elasticsearch.Ingest.SortProcessorDescriptor If(string? value) { Instance.If = value; return this; } - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.SortProcessorDescriptor If() - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(null); - return this; - } - - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.SortProcessorDescriptor If(System.Action? action) - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(action); - return this; - } - /// /// /// Ignore failures for the processor. @@ -466,34 +444,12 @@ public Elastic.Clients.Elasticsearch.Ingest.SortProcessorDescriptor Field(Sys /// Conditionally execute the processor. /// /// - public Elastic.Clients.Elasticsearch.Ingest.SortProcessorDescriptor If(Elastic.Clients.Elasticsearch.Script? value) + public Elastic.Clients.Elasticsearch.Ingest.SortProcessorDescriptor If(string? value) { Instance.If = value; return this; } - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.SortProcessorDescriptor If() - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(null); - return this; - } - - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.SortProcessorDescriptor If(System.Action? action) - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(action); - return this; - } - /// /// /// Ignore failures for the processor. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/SplitProcessor.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/SplitProcessor.g.cs index 3414e2f7b58..c7d64030d9a 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/SplitProcessor.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/SplitProcessor.g.cs @@ -41,7 +41,7 @@ public override Elastic.Clients.Elasticsearch.Ingest.SplitProcessor Read(ref Sys reader.ValidateToken(System.Text.Json.JsonTokenType.StartObject); LocalJsonValue propDescription = default; LocalJsonValue propField = default; - LocalJsonValue propIf = default; + LocalJsonValue propIf = default; LocalJsonValue propIgnoreFailure = default; LocalJsonValue propIgnoreMissing = default; LocalJsonValue?> propOnFailure = default; @@ -193,7 +193,7 @@ internal SplitProcessor(Elastic.Clients.Elasticsearch.Serialization.JsonConstruc /// Conditionally execute the processor. /// /// - public Elastic.Clients.Elasticsearch.Script? If { get; set; } + public string? If { get; set; } /// /// @@ -309,34 +309,12 @@ public Elastic.Clients.Elasticsearch.Ingest.SplitProcessorDescriptor /// Conditionally execute the processor. /// /// - public Elastic.Clients.Elasticsearch.Ingest.SplitProcessorDescriptor If(Elastic.Clients.Elasticsearch.Script? value) + public Elastic.Clients.Elasticsearch.Ingest.SplitProcessorDescriptor If(string? value) { Instance.If = value; return this; } - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.SplitProcessorDescriptor If() - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(null); - return this; - } - - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.SplitProcessorDescriptor If(System.Action? action) - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(action); - return this; - } - /// /// /// Ignore failures for the processor. @@ -523,34 +501,12 @@ public Elastic.Clients.Elasticsearch.Ingest.SplitProcessorDescriptor Field(Sy /// Conditionally execute the processor. /// /// - public Elastic.Clients.Elasticsearch.Ingest.SplitProcessorDescriptor If(Elastic.Clients.Elasticsearch.Script? value) + public Elastic.Clients.Elasticsearch.Ingest.SplitProcessorDescriptor If(string? value) { Instance.If = value; return this; } - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.SplitProcessorDescriptor If() - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(null); - return this; - } - - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.SplitProcessorDescriptor If(System.Action? action) - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(action); - return this; - } - /// /// /// Ignore failures for the processor. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/TerminateProcessor.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/TerminateProcessor.g.cs index 2e103a3a538..8b5fb526e0f 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/TerminateProcessor.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/TerminateProcessor.g.cs @@ -35,7 +35,7 @@ public override Elastic.Clients.Elasticsearch.Ingest.TerminateProcessor Read(ref { reader.ValidateToken(System.Text.Json.JsonTokenType.StartObject); LocalJsonValue propDescription = default; - LocalJsonValue propIf = default; + LocalJsonValue propIf = default; LocalJsonValue propIgnoreFailure = default; LocalJsonValue?> propOnFailure = default; LocalJsonValue propTag = default; @@ -130,7 +130,7 @@ internal TerminateProcessor(Elastic.Clients.Elasticsearch.Serialization.JsonCons /// Conditionally execute the processor. /// /// - public Elastic.Clients.Elasticsearch.Script? If { get; set; } + public string? If { get; set; } /// /// @@ -191,34 +191,12 @@ public Elastic.Clients.Elasticsearch.Ingest.TerminateProcessorDescriptor /// - public Elastic.Clients.Elasticsearch.Ingest.TerminateProcessorDescriptor If(Elastic.Clients.Elasticsearch.Script? value) + public Elastic.Clients.Elasticsearch.Ingest.TerminateProcessorDescriptor If(string? value) { Instance.If = value; return this; } - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.TerminateProcessorDescriptor If() - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(null); - return this; - } - - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.TerminateProcessorDescriptor If(System.Action? action) - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(action); - return this; - } - /// /// /// Ignore failures for the processor. @@ -331,34 +309,12 @@ public Elastic.Clients.Elasticsearch.Ingest.TerminateProcessorDescriptor Descrip /// Conditionally execute the processor. /// /// - public Elastic.Clients.Elasticsearch.Ingest.TerminateProcessorDescriptor If(Elastic.Clients.Elasticsearch.Script? value) + public Elastic.Clients.Elasticsearch.Ingest.TerminateProcessorDescriptor If(string? value) { Instance.If = value; return this; } - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.TerminateProcessorDescriptor If() - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(null); - return this; - } - - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.TerminateProcessorDescriptor If(System.Action? action) - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(action); - return this; - } - /// /// /// Ignore failures for the processor. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/TrimProcessor.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/TrimProcessor.g.cs index ae620133de2..42e9c1745f5 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/TrimProcessor.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/TrimProcessor.g.cs @@ -39,7 +39,7 @@ public override Elastic.Clients.Elasticsearch.Ingest.TrimProcessor Read(ref Syst reader.ValidateToken(System.Text.Json.JsonTokenType.StartObject); LocalJsonValue propDescription = default; LocalJsonValue propField = default; - LocalJsonValue propIf = default; + LocalJsonValue propIf = default; LocalJsonValue propIgnoreFailure = default; LocalJsonValue propIgnoreMissing = default; LocalJsonValue?> propOnFailure = default; @@ -174,7 +174,7 @@ internal TrimProcessor(Elastic.Clients.Elasticsearch.Serialization.JsonConstruct /// Conditionally execute the processor. /// /// - public Elastic.Clients.Elasticsearch.Script? If { get; set; } + public string? If { get; set; } /// /// @@ -272,34 +272,12 @@ public Elastic.Clients.Elasticsearch.Ingest.TrimProcessorDescriptor F /// Conditionally execute the processor. /// /// - public Elastic.Clients.Elasticsearch.Ingest.TrimProcessorDescriptor If(Elastic.Clients.Elasticsearch.Script? value) + public Elastic.Clients.Elasticsearch.Ingest.TrimProcessorDescriptor If(string? value) { Instance.If = value; return this; } - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.TrimProcessorDescriptor If() - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(null); - return this; - } - - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.TrimProcessorDescriptor If(System.Action? action) - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(action); - return this; - } - /// /// /// Ignore failures for the processor. @@ -464,34 +442,12 @@ public Elastic.Clients.Elasticsearch.Ingest.TrimProcessorDescriptor Field(Sys /// Conditionally execute the processor. /// /// - public Elastic.Clients.Elasticsearch.Ingest.TrimProcessorDescriptor If(Elastic.Clients.Elasticsearch.Script? value) + public Elastic.Clients.Elasticsearch.Ingest.TrimProcessorDescriptor If(string? value) { Instance.If = value; return this; } - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.TrimProcessorDescriptor If() - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(null); - return this; - } - - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.TrimProcessorDescriptor If(System.Action? action) - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(action); - return this; - } - /// /// /// Ignore failures for the processor. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/UppercaseProcessor.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/UppercaseProcessor.g.cs index c41b363e571..582c95b6dd8 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/UppercaseProcessor.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/UppercaseProcessor.g.cs @@ -39,7 +39,7 @@ public override Elastic.Clients.Elasticsearch.Ingest.UppercaseProcessor Read(ref reader.ValidateToken(System.Text.Json.JsonTokenType.StartObject); LocalJsonValue propDescription = default; LocalJsonValue propField = default; - LocalJsonValue propIf = default; + LocalJsonValue propIf = default; LocalJsonValue propIgnoreFailure = default; LocalJsonValue propIgnoreMissing = default; LocalJsonValue?> propOnFailure = default; @@ -174,7 +174,7 @@ internal UppercaseProcessor(Elastic.Clients.Elasticsearch.Serialization.JsonCons /// Conditionally execute the processor. /// /// - public Elastic.Clients.Elasticsearch.Script? If { get; set; } + public string? If { get; set; } /// /// @@ -272,34 +272,12 @@ public Elastic.Clients.Elasticsearch.Ingest.UppercaseProcessorDescriptor /// - public Elastic.Clients.Elasticsearch.Ingest.UppercaseProcessorDescriptor If(Elastic.Clients.Elasticsearch.Script? value) + public Elastic.Clients.Elasticsearch.Ingest.UppercaseProcessorDescriptor If(string? value) { Instance.If = value; return this; } - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.UppercaseProcessorDescriptor If() - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(null); - return this; - } - - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.UppercaseProcessorDescriptor If(System.Action? action) - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(action); - return this; - } - /// /// /// Ignore failures for the processor. @@ -464,34 +442,12 @@ public Elastic.Clients.Elasticsearch.Ingest.UppercaseProcessorDescriptor Field /// - public Elastic.Clients.Elasticsearch.Ingest.UppercaseProcessorDescriptor If(Elastic.Clients.Elasticsearch.Script? value) + public Elastic.Clients.Elasticsearch.Ingest.UppercaseProcessorDescriptor If(string? value) { Instance.If = value; return this; } - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.UppercaseProcessorDescriptor If() - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(null); - return this; - } - - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.UppercaseProcessorDescriptor If(System.Action? action) - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(action); - return this; - } - /// /// /// Ignore failures for the processor. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/UriPartsProcessor.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/UriPartsProcessor.g.cs index cc92a66dd15..5e9c36cfcfa 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/UriPartsProcessor.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/UriPartsProcessor.g.cs @@ -41,7 +41,7 @@ public override Elastic.Clients.Elasticsearch.Ingest.UriPartsProcessor Read(ref reader.ValidateToken(System.Text.Json.JsonTokenType.StartObject); LocalJsonValue propDescription = default; LocalJsonValue propField = default; - LocalJsonValue propIf = default; + LocalJsonValue propIf = default; LocalJsonValue propIgnoreFailure = default; LocalJsonValue propIgnoreMissing = default; LocalJsonValue propKeepOriginal = default; @@ -192,7 +192,7 @@ internal UriPartsProcessor(Elastic.Clients.Elasticsearch.Serialization.JsonConst /// Conditionally execute the processor. /// /// - public Elastic.Clients.Elasticsearch.Script? If { get; set; } + public string? If { get; set; } /// /// @@ -304,34 +304,12 @@ public Elastic.Clients.Elasticsearch.Ingest.UriPartsProcessorDescriptor /// - public Elastic.Clients.Elasticsearch.Ingest.UriPartsProcessorDescriptor If(Elastic.Clients.Elasticsearch.Script? value) + public Elastic.Clients.Elasticsearch.Ingest.UriPartsProcessorDescriptor If(string? value) { Instance.If = value; return this; } - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.UriPartsProcessorDescriptor If() - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(null); - return this; - } - - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.UriPartsProcessorDescriptor If(System.Action? action) - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(action); - return this; - } - /// /// /// Ignore failures for the processor. @@ -517,34 +495,12 @@ public Elastic.Clients.Elasticsearch.Ingest.UriPartsProcessorDescriptor Field /// Conditionally execute the processor. /// /// - public Elastic.Clients.Elasticsearch.Ingest.UriPartsProcessorDescriptor If(Elastic.Clients.Elasticsearch.Script? value) + public Elastic.Clients.Elasticsearch.Ingest.UriPartsProcessorDescriptor If(string? value) { Instance.If = value; return this; } - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.UriPartsProcessorDescriptor If() - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(null); - return this; - } - - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.UriPartsProcessorDescriptor If(System.Action? action) - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(action); - return this; - } - /// /// /// Ignore failures for the processor. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/UrlDecodeProcessor.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/UrlDecodeProcessor.g.cs index 5cd7f35f782..a1f5a48328f 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/UrlDecodeProcessor.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/UrlDecodeProcessor.g.cs @@ -39,7 +39,7 @@ public override Elastic.Clients.Elasticsearch.Ingest.UrlDecodeProcessor Read(ref reader.ValidateToken(System.Text.Json.JsonTokenType.StartObject); LocalJsonValue propDescription = default; LocalJsonValue propField = default; - LocalJsonValue propIf = default; + LocalJsonValue propIf = default; LocalJsonValue propIgnoreFailure = default; LocalJsonValue propIgnoreMissing = default; LocalJsonValue?> propOnFailure = default; @@ -174,7 +174,7 @@ internal UrlDecodeProcessor(Elastic.Clients.Elasticsearch.Serialization.JsonCons /// Conditionally execute the processor. /// /// - public Elastic.Clients.Elasticsearch.Script? If { get; set; } + public string? If { get; set; } /// /// @@ -272,34 +272,12 @@ public Elastic.Clients.Elasticsearch.Ingest.UrlDecodeProcessorDescriptor /// - public Elastic.Clients.Elasticsearch.Ingest.UrlDecodeProcessorDescriptor If(Elastic.Clients.Elasticsearch.Script? value) + public Elastic.Clients.Elasticsearch.Ingest.UrlDecodeProcessorDescriptor If(string? value) { Instance.If = value; return this; } - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.UrlDecodeProcessorDescriptor If() - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(null); - return this; - } - - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.UrlDecodeProcessorDescriptor If(System.Action? action) - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(action); - return this; - } - /// /// /// Ignore failures for the processor. @@ -464,34 +442,12 @@ public Elastic.Clients.Elasticsearch.Ingest.UrlDecodeProcessorDescriptor Field /// - public Elastic.Clients.Elasticsearch.Ingest.UrlDecodeProcessorDescriptor If(Elastic.Clients.Elasticsearch.Script? value) + public Elastic.Clients.Elasticsearch.Ingest.UrlDecodeProcessorDescriptor If(string? value) { Instance.If = value; return this; } - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.UrlDecodeProcessorDescriptor If() - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(null); - return this; - } - - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.UrlDecodeProcessorDescriptor If(System.Action? action) - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(action); - return this; - } - /// /// /// Ignore failures for the processor. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/UserAgentProcessor.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/UserAgentProcessor.g.cs index f2c89acd4bb..a067c5dfa14 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/UserAgentProcessor.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ingest/UserAgentProcessor.g.cs @@ -43,7 +43,7 @@ public override Elastic.Clients.Elasticsearch.Ingest.UserAgentProcessor Read(ref LocalJsonValue propDescription = default; LocalJsonValue propExtractDeviceType = default; LocalJsonValue propField = default; - LocalJsonValue propIf = default; + LocalJsonValue propIf = default; LocalJsonValue propIgnoreFailure = default; LocalJsonValue propIgnoreMissing = default; LocalJsonValue?> propOnFailure = default; @@ -208,7 +208,7 @@ internal UserAgentProcessor(Elastic.Clients.Elasticsearch.Serialization.JsonCons /// Conditionally execute the processor. /// /// - public Elastic.Clients.Elasticsearch.Script? If { get; set; } + public string? If { get; set; } /// /// @@ -330,34 +330,12 @@ public Elastic.Clients.Elasticsearch.Ingest.UserAgentProcessorDescriptor /// - public Elastic.Clients.Elasticsearch.Ingest.UserAgentProcessorDescriptor If(Elastic.Clients.Elasticsearch.Script? value) + public Elastic.Clients.Elasticsearch.Ingest.UserAgentProcessorDescriptor If(string? value) { Instance.If = value; return this; } - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.UserAgentProcessorDescriptor If() - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(null); - return this; - } - - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.UserAgentProcessorDescriptor If(System.Action? action) - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(action); - return this; - } - /// /// /// Ignore failures for the processor. @@ -564,34 +542,12 @@ public Elastic.Clients.Elasticsearch.Ingest.UserAgentProcessorDescriptor Field /// - public Elastic.Clients.Elasticsearch.Ingest.UserAgentProcessorDescriptor If(Elastic.Clients.Elasticsearch.Script? value) + public Elastic.Clients.Elasticsearch.Ingest.UserAgentProcessorDescriptor If(string? value) { Instance.If = value; return this; } - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.UserAgentProcessorDescriptor If() - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(null); - return this; - } - - /// - /// - /// Conditionally execute the processor. - /// - /// - public Elastic.Clients.Elasticsearch.Ingest.UserAgentProcessorDescriptor If(System.Action? action) - { - Instance.If = Elastic.Clients.Elasticsearch.ScriptDescriptor.Build(action); - return this; - } - /// /// /// Ignore failures for the processor. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/MachineLearning/CalendarEvent.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/MachineLearning/CalendarEvent.g.cs index 63058c73929..ae0d4537b72 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/MachineLearning/CalendarEvent.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/MachineLearning/CalendarEvent.g.cs @@ -29,9 +29,6 @@ internal sealed partial class CalendarEventConverter : System.Text.Json.Serializ private static readonly System.Text.Json.JsonEncodedText PropDescription = System.Text.Json.JsonEncodedText.Encode("description"); private static readonly System.Text.Json.JsonEncodedText PropEndTime = System.Text.Json.JsonEncodedText.Encode("end_time"); private static readonly System.Text.Json.JsonEncodedText PropEventId = System.Text.Json.JsonEncodedText.Encode("event_id"); - private static readonly System.Text.Json.JsonEncodedText PropForceTimeShift = System.Text.Json.JsonEncodedText.Encode("force_time_shift"); - private static readonly System.Text.Json.JsonEncodedText PropSkipModelUpdate = System.Text.Json.JsonEncodedText.Encode("skip_model_update"); - private static readonly System.Text.Json.JsonEncodedText PropSkipResult = System.Text.Json.JsonEncodedText.Encode("skip_result"); private static readonly System.Text.Json.JsonEncodedText PropStartTime = System.Text.Json.JsonEncodedText.Encode("start_time"); public override Elastic.Clients.Elasticsearch.MachineLearning.CalendarEvent Read(ref System.Text.Json.Utf8JsonReader reader, System.Type typeToConvert, System.Text.Json.JsonSerializerOptions options) @@ -41,9 +38,6 @@ public override Elastic.Clients.Elasticsearch.MachineLearning.CalendarEvent Read LocalJsonValue propDescription = default; LocalJsonValue propEndTime = default; LocalJsonValue propEventId = default; - LocalJsonValue propForceTimeShift = default; - LocalJsonValue propSkipModelUpdate = default; - LocalJsonValue propSkipResult = default; LocalJsonValue propStartTime = default; while (reader.Read() && reader.TokenType is System.Text.Json.JsonTokenType.PropertyName) { @@ -67,21 +61,6 @@ public override Elastic.Clients.Elasticsearch.MachineLearning.CalendarEvent Read continue; } - if (propForceTimeShift.TryReadProperty(ref reader, options, PropForceTimeShift, null)) - { - continue; - } - - if (propSkipModelUpdate.TryReadProperty(ref reader, options, PropSkipModelUpdate, null)) - { - continue; - } - - if (propSkipResult.TryReadProperty(ref reader, options, PropSkipResult, null)) - { - continue; - } - if (propStartTime.TryReadProperty(ref reader, options, PropStartTime, static System.DateTimeOffset (ref System.Text.Json.Utf8JsonReader r, System.Text.Json.JsonSerializerOptions o) => r.ReadValueEx(o, typeof(Elastic.Clients.Elasticsearch.Serialization.DateTimeMarker)))) { continue; @@ -103,9 +82,6 @@ public override Elastic.Clients.Elasticsearch.MachineLearning.CalendarEvent Read Description = propDescription.Value, EndTime = propEndTime.Value, EventId = propEventId.Value, - ForceTimeShift = propForceTimeShift.Value, - SkipModelUpdate = propSkipModelUpdate.Value, - SkipResult = propSkipResult.Value, StartTime = propStartTime.Value }; } @@ -117,9 +93,6 @@ public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clien writer.WriteProperty(options, PropDescription, value.Description, null, null); writer.WriteProperty(options, PropEndTime, value.EndTime, null, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, System.DateTimeOffset v) => w.WriteValueEx(o, v, typeof(Elastic.Clients.Elasticsearch.Serialization.DateTimeMarker))); writer.WriteProperty(options, PropEventId, value.EventId, null, null); - writer.WriteProperty(options, PropForceTimeShift, value.ForceTimeShift, null, null); - writer.WriteProperty(options, PropSkipModelUpdate, value.SkipModelUpdate, null, null); - writer.WriteProperty(options, PropSkipResult, value.SkipResult, null, null); writer.WriteProperty(options, PropStartTime, value.StartTime, null, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, System.DateTimeOffset v) => w.WriteValueEx(o, v, typeof(Elastic.Clients.Elasticsearch.Serialization.DateTimeMarker))); writer.WriteEndObject(); } @@ -182,27 +155,6 @@ internal CalendarEvent(Elastic.Clients.Elasticsearch.Serialization.JsonConstruct System.DateTimeOffset EndTime { get; set; } public Elastic.Clients.Elasticsearch.Id? EventId { get; set; } - /// - /// - /// Shift time by this many seconds. For example adjust time for daylight savings changes - /// - /// - public int? ForceTimeShift { get; set; } - - /// - /// - /// When true the model will not be updated for this calendar period. - /// - /// - public bool? SkipModelUpdate { get; set; } - - /// - /// - /// When true the model will not create results for this calendar period. - /// - /// - public bool? SkipResult { get; set; } - /// /// /// The timestamp for the beginning of the scheduled event in milliseconds since the epoch or ISO 8601 format. @@ -273,39 +225,6 @@ public Elastic.Clients.Elasticsearch.MachineLearning.CalendarEventDescriptor Eve return this; } - /// - /// - /// Shift time by this many seconds. For example adjust time for daylight savings changes - /// - /// - public Elastic.Clients.Elasticsearch.MachineLearning.CalendarEventDescriptor ForceTimeShift(int? value) - { - Instance.ForceTimeShift = value; - return this; - } - - /// - /// - /// When true the model will not be updated for this calendar period. - /// - /// - public Elastic.Clients.Elasticsearch.MachineLearning.CalendarEventDescriptor SkipModelUpdate(bool? value = true) - { - Instance.SkipModelUpdate = value; - return this; - } - - /// - /// - /// When true the model will not create results for this calendar period. - /// - /// - public Elastic.Clients.Elasticsearch.MachineLearning.CalendarEventDescriptor SkipResult(bool? value = true) - { - Instance.SkipResult = value; - return this; - } - /// /// /// The timestamp for the beginning of the scheduled event in milliseconds since the epoch or ISO 8601 format. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/MachineLearning/DataframeAnalysisAnalyzedFields.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/MachineLearning/DataframeAnalysisAnalyzedFields.g.cs index 321ef230cea..ae341ce4ea7 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/MachineLearning/DataframeAnalysisAnalyzedFields.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/MachineLearning/DataframeAnalysisAnalyzedFields.g.cs @@ -32,7 +32,7 @@ public override Elastic.Clients.Elasticsearch.MachineLearning.DataframeAnalysisA { if (reader.TokenType is not System.Text.Json.JsonTokenType.StartObject) { - var value = reader.ReadValue?>(options, static System.Collections.Generic.ICollection? (ref System.Text.Json.Utf8JsonReader r, System.Text.Json.JsonSerializerOptions o) => r.ReadCollectionValue(o, null)); + var value = reader.ReadValue>(options, static System.Collections.Generic.ICollection (ref System.Text.Json.Utf8JsonReader r, System.Text.Json.JsonSerializerOptions o) => r.ReadCollectionValue(o, null)!); return new Elastic.Clients.Elasticsearch.MachineLearning.DataframeAnalysisAnalyzedFields(Elastic.Clients.Elasticsearch.Serialization.JsonConstructorSentinel.Instance) { Includes = value @@ -40,16 +40,16 @@ public override Elastic.Clients.Elasticsearch.MachineLearning.DataframeAnalysisA } reader.ValidateToken(System.Text.Json.JsonTokenType.StartObject); - LocalJsonValue?> propExcludes = default; - LocalJsonValue?> propIncludes = default; + LocalJsonValue> propExcludes = default; + LocalJsonValue> propIncludes = default; while (reader.Read() && reader.TokenType is System.Text.Json.JsonTokenType.PropertyName) { - if (propExcludes.TryReadProperty(ref reader, options, PropExcludes, static System.Collections.Generic.ICollection? (ref System.Text.Json.Utf8JsonReader r, System.Text.Json.JsonSerializerOptions o) => r.ReadCollectionValue(o, null))) + if (propExcludes.TryReadProperty(ref reader, options, PropExcludes, static System.Collections.Generic.ICollection (ref System.Text.Json.Utf8JsonReader r, System.Text.Json.JsonSerializerOptions o) => r.ReadCollectionValue(o, null)!)) { continue; } - if (propIncludes.TryReadProperty(ref reader, options, PropIncludes, static System.Collections.Generic.ICollection? (ref System.Text.Json.Utf8JsonReader r, System.Text.Json.JsonSerializerOptions o) => r.ReadCollectionValue(o, null))) + if (propIncludes.TryReadProperty(ref reader, options, PropIncludes, static System.Collections.Generic.ICollection (ref System.Text.Json.Utf8JsonReader r, System.Text.Json.JsonSerializerOptions o) => r.ReadCollectionValue(o, null)!)) { continue; } @@ -74,8 +74,8 @@ public override Elastic.Clients.Elasticsearch.MachineLearning.DataframeAnalysisA public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clients.Elasticsearch.MachineLearning.DataframeAnalysisAnalyzedFields value, System.Text.Json.JsonSerializerOptions options) { writer.WriteStartObject(); - writer.WriteProperty(options, PropExcludes, value.Excludes, null, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, System.Collections.Generic.ICollection? v) => w.WriteCollectionValue(o, v, null)); - writer.WriteProperty(options, PropIncludes, value.Includes, null, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, System.Collections.Generic.ICollection? v) => w.WriteCollectionValue(o, v, null)); + writer.WriteProperty(options, PropExcludes, value.Excludes, null, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, System.Collections.Generic.ICollection v) => w.WriteCollectionValue(o, v, null)); + writer.WriteProperty(options, PropIncludes, value.Includes, null, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, System.Collections.Generic.ICollection v) => w.WriteCollectionValue(o, v, null)); writer.WriteEndObject(); } } @@ -83,12 +83,19 @@ public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clien [System.Text.Json.Serialization.JsonConverter(typeof(Elastic.Clients.Elasticsearch.MachineLearning.DataframeAnalysisAnalyzedFieldsConverter))] public sealed partial class DataframeAnalysisAnalyzedFields { + [System.Diagnostics.CodeAnalysis.SetsRequiredMembers] + public DataframeAnalysisAnalyzedFields(System.Collections.Generic.ICollection excludes, System.Collections.Generic.ICollection includes) + { + Excludes = excludes; + Includes = includes; + } #if NET7_0_OR_GREATER public DataframeAnalysisAnalyzedFields() { } #endif #if !NET7_0_OR_GREATER + [System.Obsolete("The type contains required properties that must be initialized. Please use an alternative constructor to ensure all required values are properly set.")] public DataframeAnalysisAnalyzedFields() { } @@ -104,14 +111,22 @@ internal DataframeAnalysisAnalyzedFields(Elastic.Clients.Elasticsearch.Serializa /// An array of strings that defines the fields that will be included in the analysis. /// /// - public System.Collections.Generic.ICollection? Excludes { get; set; } + public +#if NET7_0_OR_GREATER + required +#endif + System.Collections.Generic.ICollection Excludes { get; set; } /// /// /// An array of strings that defines the fields that will be excluded from the analysis. You do not need to add fields with unsupported data types to excludes, these fields are excluded from the analysis automatically. /// /// - public System.Collections.Generic.ICollection? Includes { get; set; } + public +#if NET7_0_OR_GREATER + required +#endif + System.Collections.Generic.ICollection Includes { get; set; } } public readonly partial struct DataframeAnalysisAnalyzedFieldsDescriptor @@ -138,7 +153,7 @@ public DataframeAnalysisAnalyzedFieldsDescriptor() /// An array of strings that defines the fields that will be included in the analysis. /// /// - public Elastic.Clients.Elasticsearch.MachineLearning.DataframeAnalysisAnalyzedFieldsDescriptor Excludes(System.Collections.Generic.ICollection? value) + public Elastic.Clients.Elasticsearch.MachineLearning.DataframeAnalysisAnalyzedFieldsDescriptor Excludes(System.Collections.Generic.ICollection value) { Instance.Excludes = value; return this; @@ -160,7 +175,7 @@ public Elastic.Clients.Elasticsearch.MachineLearning.DataframeAnalysisAnalyzedFi /// An array of strings that defines the fields that will be excluded from the analysis. You do not need to add fields with unsupported data types to excludes, these fields are excluded from the analysis automatically. /// /// - public Elastic.Clients.Elasticsearch.MachineLearning.DataframeAnalysisAnalyzedFieldsDescriptor Includes(System.Collections.Generic.ICollection? value) + public Elastic.Clients.Elasticsearch.MachineLearning.DataframeAnalysisAnalyzedFieldsDescriptor Includes(System.Collections.Generic.ICollection value) { Instance.Includes = value; return this; @@ -178,13 +193,8 @@ public Elastic.Clients.Elasticsearch.MachineLearning.DataframeAnalysisAnalyzedFi } [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] - internal static Elastic.Clients.Elasticsearch.MachineLearning.DataframeAnalysisAnalyzedFields Build(System.Action? action) + internal static Elastic.Clients.Elasticsearch.MachineLearning.DataframeAnalysisAnalyzedFields Build(System.Action action) { - if (action is null) - { - return new Elastic.Clients.Elasticsearch.MachineLearning.DataframeAnalysisAnalyzedFields(Elastic.Clients.Elasticsearch.Serialization.JsonConstructorSentinel.Instance); - } - var builder = new Elastic.Clients.Elasticsearch.MachineLearning.DataframeAnalysisAnalyzedFieldsDescriptor(new Elastic.Clients.Elasticsearch.MachineLearning.DataframeAnalysisAnalyzedFields(Elastic.Clients.Elasticsearch.Serialization.JsonConstructorSentinel.Instance)); action.Invoke(builder); return builder.Instance; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/MachineLearning/DataframeAnalyticsSource.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/MachineLearning/DataframeAnalyticsSource.g.cs index 8406c123a9a..b82a938dfc6 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/MachineLearning/DataframeAnalyticsSource.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/MachineLearning/DataframeAnalyticsSource.g.cs @@ -276,18 +276,7 @@ public Elastic.Clients.Elasticsearch.MachineLearning.DataframeAnalyticsSourceDes /// Specify includes and/or `excludes patterns to select which fields will be present in the destination. Fields that are excluded cannot be included in the analysis. /// /// - public Elastic.Clients.Elasticsearch.MachineLearning.DataframeAnalyticsSourceDescriptor Source() - { - Instance.Source = Elastic.Clients.Elasticsearch.MachineLearning.DataframeAnalysisAnalyzedFieldsDescriptor.Build(null); - return this; - } - - /// - /// - /// Specify includes and/or `excludes patterns to select which fields will be present in the destination. Fields that are excluded cannot be included in the analysis. - /// - /// - public Elastic.Clients.Elasticsearch.MachineLearning.DataframeAnalyticsSourceDescriptor Source(System.Action? action) + public Elastic.Clients.Elasticsearch.MachineLearning.DataframeAnalyticsSourceDescriptor Source(System.Action action) { Instance.Source = Elastic.Clients.Elasticsearch.MachineLearning.DataframeAnalysisAnalyzedFieldsDescriptor.Build(action); return this; @@ -467,18 +456,7 @@ public Elastic.Clients.Elasticsearch.MachineLearning.DataframeAnalyticsSourceDes /// Specify includes and/or `excludes patterns to select which fields will be present in the destination. Fields that are excluded cannot be included in the analysis. /// /// - public Elastic.Clients.Elasticsearch.MachineLearning.DataframeAnalyticsSourceDescriptor Source() - { - Instance.Source = Elastic.Clients.Elasticsearch.MachineLearning.DataframeAnalysisAnalyzedFieldsDescriptor.Build(null); - return this; - } - - /// - /// - /// Specify includes and/or `excludes patterns to select which fields will be present in the destination. Fields that are excluded cannot be included in the analysis. - /// - /// - public Elastic.Clients.Elasticsearch.MachineLearning.DataframeAnalyticsSourceDescriptor Source(System.Action? action) + public Elastic.Clients.Elasticsearch.MachineLearning.DataframeAnalyticsSourceDescriptor Source(System.Action action) { Instance.Source = Elastic.Clients.Elasticsearch.MachineLearning.DataframeAnalysisAnalyzedFieldsDescriptor.Build(action); return this; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/MachineLearning/DataframePreviewConfig.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/MachineLearning/DataframePreviewConfig.g.cs index d2c74fbf910..32cec9c2511 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/MachineLearning/DataframePreviewConfig.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/MachineLearning/DataframePreviewConfig.g.cs @@ -176,13 +176,7 @@ public Elastic.Clients.Elasticsearch.MachineLearning.DataframePreviewConfigDescr return this; } - public Elastic.Clients.Elasticsearch.MachineLearning.DataframePreviewConfigDescriptor AnalyzedFields() - { - Instance.AnalyzedFields = Elastic.Clients.Elasticsearch.MachineLearning.DataframeAnalysisAnalyzedFieldsDescriptor.Build(null); - return this; - } - - public Elastic.Clients.Elasticsearch.MachineLearning.DataframePreviewConfigDescriptor AnalyzedFields(System.Action? action) + public Elastic.Clients.Elasticsearch.MachineLearning.DataframePreviewConfigDescriptor AnalyzedFields(System.Action action) { Instance.AnalyzedFields = Elastic.Clients.Elasticsearch.MachineLearning.DataframeAnalysisAnalyzedFieldsDescriptor.Build(action); return this; @@ -264,13 +258,7 @@ public Elastic.Clients.Elasticsearch.MachineLearning.DataframePreviewConfigDescr return this; } - public Elastic.Clients.Elasticsearch.MachineLearning.DataframePreviewConfigDescriptor AnalyzedFields() - { - Instance.AnalyzedFields = Elastic.Clients.Elasticsearch.MachineLearning.DataframeAnalysisAnalyzedFieldsDescriptor.Build(null); - return this; - } - - public Elastic.Clients.Elasticsearch.MachineLearning.DataframePreviewConfigDescriptor AnalyzedFields(System.Action? action) + public Elastic.Clients.Elasticsearch.MachineLearning.DataframePreviewConfigDescriptor AnalyzedFields(System.Action action) { Instance.AnalyzedFields = Elastic.Clients.Elasticsearch.MachineLearning.DataframeAnalysisAnalyzedFieldsDescriptor.Build(action); return this; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Mapping/ChunkingSettings.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Mapping/ChunkingSettings.g.cs new file mode 100644 index 00000000000..c55deb46921 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Mapping/ChunkingSettings.g.cs @@ -0,0 +1,235 @@ +// 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.Linq; +using Elastic.Clients.Elasticsearch.Serialization; + +namespace Elastic.Clients.Elasticsearch.Mapping; + +internal sealed partial class ChunkingSettingsConverter : System.Text.Json.Serialization.JsonConverter +{ + private static readonly System.Text.Json.JsonEncodedText PropMaxChunkSize = System.Text.Json.JsonEncodedText.Encode("max_chunk_size"); + private static readonly System.Text.Json.JsonEncodedText PropOverlap = System.Text.Json.JsonEncodedText.Encode("overlap"); + private static readonly System.Text.Json.JsonEncodedText PropSentenceOverlap = System.Text.Json.JsonEncodedText.Encode("sentence_overlap"); + private static readonly System.Text.Json.JsonEncodedText PropStrategy = System.Text.Json.JsonEncodedText.Encode("strategy"); + + public override Elastic.Clients.Elasticsearch.Mapping.ChunkingSettings Read(ref System.Text.Json.Utf8JsonReader reader, System.Type typeToConvert, System.Text.Json.JsonSerializerOptions options) + { + reader.ValidateToken(System.Text.Json.JsonTokenType.StartObject); + LocalJsonValue propMaxChunkSize = default; + LocalJsonValue propOverlap = default; + LocalJsonValue propSentenceOverlap = default; + LocalJsonValue propStrategy = default; + while (reader.Read() && reader.TokenType is System.Text.Json.JsonTokenType.PropertyName) + { + if (propMaxChunkSize.TryReadProperty(ref reader, options, PropMaxChunkSize, null)) + { + continue; + } + + if (propOverlap.TryReadProperty(ref reader, options, PropOverlap, null)) + { + continue; + } + + if (propSentenceOverlap.TryReadProperty(ref reader, options, PropSentenceOverlap, null)) + { + continue; + } + + if (propStrategy.TryReadProperty(ref reader, options, PropStrategy, null)) + { + continue; + } + + if (options.UnmappedMemberHandling is System.Text.Json.Serialization.JsonUnmappedMemberHandling.Skip) + { + reader.Skip(); + continue; + } + + throw new System.Text.Json.JsonException($"Unknown JSON property '{reader.GetString()}' for type '{typeToConvert.Name}'."); + } + + reader.ValidateToken(System.Text.Json.JsonTokenType.EndObject); + return new Elastic.Clients.Elasticsearch.Mapping.ChunkingSettings(Elastic.Clients.Elasticsearch.Serialization.JsonConstructorSentinel.Instance) + { + MaxChunkSize = propMaxChunkSize.Value, + Overlap = propOverlap.Value, + SentenceOverlap = propSentenceOverlap.Value, + Strategy = propStrategy.Value + }; + } + + public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clients.Elasticsearch.Mapping.ChunkingSettings value, System.Text.Json.JsonSerializerOptions options) + { + writer.WriteStartObject(); + writer.WriteProperty(options, PropMaxChunkSize, value.MaxChunkSize, null, null); + writer.WriteProperty(options, PropOverlap, value.Overlap, null, null); + writer.WriteProperty(options, PropSentenceOverlap, value.SentenceOverlap, null, null); + writer.WriteProperty(options, PropStrategy, value.Strategy, null, null); + writer.WriteEndObject(); + } +} + +[System.Text.Json.Serialization.JsonConverter(typeof(Elastic.Clients.Elasticsearch.Mapping.ChunkingSettingsConverter))] +public sealed partial class ChunkingSettings +{ + [System.Diagnostics.CodeAnalysis.SetsRequiredMembers] + public ChunkingSettings(int maxChunkSize, string strategy) + { + MaxChunkSize = maxChunkSize; + Strategy = strategy; + } +#if NET7_0_OR_GREATER + public ChunkingSettings() + { + } +#endif +#if !NET7_0_OR_GREATER + [System.Obsolete("The type contains required properties that must be initialized. Please use an alternative constructor to ensure all required values are properly set.")] + public ChunkingSettings() + { + } +#endif + [System.Diagnostics.CodeAnalysis.SetsRequiredMembers] + internal ChunkingSettings(Elastic.Clients.Elasticsearch.Serialization.JsonConstructorSentinel sentinel) + { + _ = sentinel; + } + + /// + /// + /// The maximum size of a chunk in words. + /// This value cannot be higher than 300 or lower than 20 (for sentence strategy) or 10 (for word strategy). + /// + /// + public +#if NET7_0_OR_GREATER + required +#endif + int MaxChunkSize { get; set; } + + /// + /// + /// The number of overlapping words for chunks. + /// It is applicable only to a word chunking strategy. + /// This value cannot be higher than half the max_chunk_size value. + /// + /// + public int? Overlap { get; set; } + + /// + /// + /// The number of overlapping sentences for chunks. + /// It is applicable only for a sentence chunking strategy. + /// It can be either 1 or 0. + /// + /// + public int? SentenceOverlap { get; set; } + + /// + /// + /// The chunking strategy: sentence or word. + /// + /// + public +#if NET7_0_OR_GREATER + required +#endif + string Strategy { get; set; } +} + +public readonly partial struct ChunkingSettingsDescriptor +{ + internal Elastic.Clients.Elasticsearch.Mapping.ChunkingSettings Instance { get; init; } + + [System.Diagnostics.CodeAnalysis.SetsRequiredMembers] + public ChunkingSettingsDescriptor(Elastic.Clients.Elasticsearch.Mapping.ChunkingSettings instance) + { + Instance = instance; + } + + [System.Diagnostics.CodeAnalysis.SetsRequiredMembers] + public ChunkingSettingsDescriptor() + { + Instance = new Elastic.Clients.Elasticsearch.Mapping.ChunkingSettings(Elastic.Clients.Elasticsearch.Serialization.JsonConstructorSentinel.Instance); + } + + public static explicit operator Elastic.Clients.Elasticsearch.Mapping.ChunkingSettingsDescriptor(Elastic.Clients.Elasticsearch.Mapping.ChunkingSettings instance) => new Elastic.Clients.Elasticsearch.Mapping.ChunkingSettingsDescriptor(instance); + public static implicit operator Elastic.Clients.Elasticsearch.Mapping.ChunkingSettings(Elastic.Clients.Elasticsearch.Mapping.ChunkingSettingsDescriptor descriptor) => descriptor.Instance; + + /// + /// + /// The maximum size of a chunk in words. + /// This value cannot be higher than 300 or lower than 20 (for sentence strategy) or 10 (for word strategy). + /// + /// + public Elastic.Clients.Elasticsearch.Mapping.ChunkingSettingsDescriptor MaxChunkSize(int value) + { + Instance.MaxChunkSize = value; + return this; + } + + /// + /// + /// The number of overlapping words for chunks. + /// It is applicable only to a word chunking strategy. + /// This value cannot be higher than half the max_chunk_size value. + /// + /// + public Elastic.Clients.Elasticsearch.Mapping.ChunkingSettingsDescriptor Overlap(int? value) + { + Instance.Overlap = value; + return this; + } + + /// + /// + /// The number of overlapping sentences for chunks. + /// It is applicable only for a sentence chunking strategy. + /// It can be either 1 or 0. + /// + /// + public Elastic.Clients.Elasticsearch.Mapping.ChunkingSettingsDescriptor SentenceOverlap(int? value) + { + Instance.SentenceOverlap = value; + return this; + } + + /// + /// + /// The chunking strategy: sentence or word. + /// + /// + public Elastic.Clients.Elasticsearch.Mapping.ChunkingSettingsDescriptor Strategy(string value) + { + Instance.Strategy = value; + return this; + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + internal static Elastic.Clients.Elasticsearch.Mapping.ChunkingSettings Build(System.Action action) + { + var builder = new Elastic.Clients.Elasticsearch.Mapping.ChunkingSettingsDescriptor(new Elastic.Clients.Elasticsearch.Mapping.ChunkingSettings(Elastic.Clients.Elasticsearch.Serialization.JsonConstructorSentinel.Instance)); + action.Invoke(builder); + return builder.Instance; + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Mapping/GeoShapeProperty.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Mapping/GeoShapeProperty.g.cs index 5463cc871cc..db7d6ab5529 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Mapping/GeoShapeProperty.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Mapping/GeoShapeProperty.g.cs @@ -201,7 +201,7 @@ public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clien /// The geo_shape data type facilitates the indexing of and searching with arbitrary geo shapes such as rectangles /// and polygons. /// -/// Learn more about this API in the Elasticsearch documentation. +/// Learn more about this API in the Elasticsearch documentation. /// [System.Text.Json.Serialization.JsonConverter(typeof(Elastic.Clients.Elasticsearch.Mapping.GeoShapePropertyConverter))] public sealed partial class GeoShapeProperty : Elastic.Clients.Elasticsearch.Mapping.IProperty @@ -252,7 +252,7 @@ internal GeoShapeProperty(Elastic.Clients.Elasticsearch.Serialization.JsonConstr /// The geo_shape data type facilitates the indexing of and searching with arbitrary geo shapes such as rectangles /// and polygons. /// -/// Learn more about this API in the Elasticsearch documentation. +/// Learn more about this API in the Elasticsearch documentation. /// public readonly partial struct GeoShapePropertyDescriptor { @@ -434,7 +434,7 @@ internal static Elastic.Clients.Elasticsearch.Mapping.GeoShapeProperty Build(Sys /// The geo_shape data type facilitates the indexing of and searching with arbitrary geo shapes such as rectangles /// and polygons. /// -/// Learn more about this API in the Elasticsearch documentation. +/// Learn more about this API in the Elasticsearch documentation. /// public readonly partial struct GeoShapePropertyDescriptor { diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Mapping/SemanticTextProperty.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Mapping/SemanticTextProperty.g.cs index 23dcca746c5..0a95317203e 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Mapping/SemanticTextProperty.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Mapping/SemanticTextProperty.g.cs @@ -25,6 +25,7 @@ namespace Elastic.Clients.Elasticsearch.Mapping; internal sealed partial class SemanticTextPropertyConverter : System.Text.Json.Serialization.JsonConverter { + private static readonly System.Text.Json.JsonEncodedText PropChunkingSettings = System.Text.Json.JsonEncodedText.Encode("chunking_settings"); private static readonly System.Text.Json.JsonEncodedText PropInferenceId = System.Text.Json.JsonEncodedText.Encode("inference_id"); private static readonly System.Text.Json.JsonEncodedText PropMeta = System.Text.Json.JsonEncodedText.Encode("meta"); private static readonly System.Text.Json.JsonEncodedText PropSearchInferenceId = System.Text.Json.JsonEncodedText.Encode("search_inference_id"); @@ -33,11 +34,17 @@ internal sealed partial class SemanticTextPropertyConverter : System.Text.Json.S public override Elastic.Clients.Elasticsearch.Mapping.SemanticTextProperty Read(ref System.Text.Json.Utf8JsonReader reader, System.Type typeToConvert, System.Text.Json.JsonSerializerOptions options) { reader.ValidateToken(System.Text.Json.JsonTokenType.StartObject); + LocalJsonValue propChunkingSettings = default; LocalJsonValue propInferenceId = default; LocalJsonValue?> propMeta = default; LocalJsonValue propSearchInferenceId = default; while (reader.Read() && reader.TokenType is System.Text.Json.JsonTokenType.PropertyName) { + if (propChunkingSettings.TryReadProperty(ref reader, options, PropChunkingSettings, null)) + { + continue; + } + if (propInferenceId.TryReadProperty(ref reader, options, PropInferenceId, null)) { continue; @@ -71,6 +78,7 @@ public override Elastic.Clients.Elasticsearch.Mapping.SemanticTextProperty Read( reader.ValidateToken(System.Text.Json.JsonTokenType.EndObject); return new Elastic.Clients.Elasticsearch.Mapping.SemanticTextProperty(Elastic.Clients.Elasticsearch.Serialization.JsonConstructorSentinel.Instance) { + ChunkingSettings = propChunkingSettings.Value, InferenceId = propInferenceId.Value, Meta = propMeta.Value, SearchInferenceId = propSearchInferenceId.Value @@ -80,6 +88,7 @@ public override Elastic.Clients.Elasticsearch.Mapping.SemanticTextProperty Read( public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clients.Elasticsearch.Mapping.SemanticTextProperty value, System.Text.Json.JsonSerializerOptions options) { writer.WriteStartObject(); + writer.WriteProperty(options, PropChunkingSettings, value.ChunkingSettings, null, null); writer.WriteProperty(options, PropInferenceId, value.InferenceId, null, null); writer.WriteProperty(options, PropMeta, value.Meta, null, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, System.Collections.Generic.IDictionary? v) => w.WriteDictionaryValue(o, v, null, null)); writer.WriteProperty(options, PropSearchInferenceId, value.SearchInferenceId, null, null); @@ -107,6 +116,15 @@ internal SemanticTextProperty(Elastic.Clients.Elasticsearch.Serialization.JsonCo _ = sentinel; } + /// + /// + /// Settings for chunking text into smaller passages. If specified, these will override the + /// chunking settings sent in the inference endpoint associated with inference_id. If chunking settings are updated, + /// they will not be applied to existing documents until they are reindexed. + /// + /// + public Elastic.Clients.Elasticsearch.Mapping.ChunkingSettings? ChunkingSettings { get; set; } + /// /// /// Inference endpoint that will be used to generate embeddings for the field. @@ -148,6 +166,32 @@ public SemanticTextPropertyDescriptor() public static explicit operator Elastic.Clients.Elasticsearch.Mapping.SemanticTextPropertyDescriptor(Elastic.Clients.Elasticsearch.Mapping.SemanticTextProperty instance) => new Elastic.Clients.Elasticsearch.Mapping.SemanticTextPropertyDescriptor(instance); public static implicit operator Elastic.Clients.Elasticsearch.Mapping.SemanticTextProperty(Elastic.Clients.Elasticsearch.Mapping.SemanticTextPropertyDescriptor descriptor) => descriptor.Instance; + /// + /// + /// Settings for chunking text into smaller passages. If specified, these will override the + /// chunking settings sent in the inference endpoint associated with inference_id. If chunking settings are updated, + /// they will not be applied to existing documents until they are reindexed. + /// + /// + public Elastic.Clients.Elasticsearch.Mapping.SemanticTextPropertyDescriptor ChunkingSettings(Elastic.Clients.Elasticsearch.Mapping.ChunkingSettings? value) + { + Instance.ChunkingSettings = value; + return this; + } + + /// + /// + /// Settings for chunking text into smaller passages. If specified, these will override the + /// chunking settings sent in the inference endpoint associated with inference_id. If chunking settings are updated, + /// they will not be applied to existing documents until they are reindexed. + /// + /// + public Elastic.Clients.Elasticsearch.Mapping.SemanticTextPropertyDescriptor ChunkingSettings(System.Action action) + { + Instance.ChunkingSettings = Elastic.Clients.Elasticsearch.Mapping.ChunkingSettingsDescriptor.Build(action); + return this; + } + /// /// /// Inference endpoint that will be used to generate embeddings for the field. @@ -232,6 +276,32 @@ public SemanticTextPropertyDescriptor() public static explicit operator Elastic.Clients.Elasticsearch.Mapping.SemanticTextPropertyDescriptor(Elastic.Clients.Elasticsearch.Mapping.SemanticTextProperty instance) => new Elastic.Clients.Elasticsearch.Mapping.SemanticTextPropertyDescriptor(instance); public static implicit operator Elastic.Clients.Elasticsearch.Mapping.SemanticTextProperty(Elastic.Clients.Elasticsearch.Mapping.SemanticTextPropertyDescriptor descriptor) => descriptor.Instance; + /// + /// + /// Settings for chunking text into smaller passages. If specified, these will override the + /// chunking settings sent in the inference endpoint associated with inference_id. If chunking settings are updated, + /// they will not be applied to existing documents until they are reindexed. + /// + /// + public Elastic.Clients.Elasticsearch.Mapping.SemanticTextPropertyDescriptor ChunkingSettings(Elastic.Clients.Elasticsearch.Mapping.ChunkingSettings? value) + { + Instance.ChunkingSettings = value; + return this; + } + + /// + /// + /// Settings for chunking text into smaller passages. If specified, these will override the + /// chunking settings sent in the inference endpoint associated with inference_id. If chunking settings are updated, + /// they will not be applied to existing documents until they are reindexed. + /// + /// + public Elastic.Clients.Elasticsearch.Mapping.SemanticTextPropertyDescriptor ChunkingSettings(System.Action action) + { + Instance.ChunkingSettings = Elastic.Clients.Elasticsearch.Mapping.ChunkingSettingsDescriptor.Build(action); + return this; + } + /// /// /// Inference endpoint that will be used to generate embeddings for the field. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Mapping/ShapeProperty.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Mapping/ShapeProperty.g.cs index 60577dcb307..02a708eaa1a 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Mapping/ShapeProperty.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Mapping/ShapeProperty.g.cs @@ -183,7 +183,7 @@ public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clien /// The shape data type facilitates the indexing of and searching with arbitrary x, y cartesian shapes such as /// rectangles and polygons. /// -/// Learn more about this API in the Elasticsearch documentation. +/// Learn more about this API in the Elasticsearch documentation. /// [System.Text.Json.Serialization.JsonConverter(typeof(Elastic.Clients.Elasticsearch.Mapping.ShapePropertyConverter))] public sealed partial class ShapeProperty : Elastic.Clients.Elasticsearch.Mapping.IProperty @@ -232,7 +232,7 @@ internal ShapeProperty(Elastic.Clients.Elasticsearch.Serialization.JsonConstruct /// The shape data type facilitates the indexing of and searching with arbitrary x, y cartesian shapes such as /// rectangles and polygons. /// -/// Learn more about this API in the Elasticsearch documentation. +/// Learn more about this API in the Elasticsearch documentation. /// public readonly partial struct ShapePropertyDescriptor { @@ -402,7 +402,7 @@ internal static Elastic.Clients.Elasticsearch.Mapping.ShapeProperty Build(System /// The shape data type facilitates the indexing of and searching with arbitrary x, y cartesian shapes such as /// rectangles and polygons. /// -/// Learn more about this API in the Elasticsearch documentation. +/// Learn more about this API in the Elasticsearch documentation. /// public readonly partial struct ShapePropertyDescriptor { diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/Http.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/Http.g.cs index 7f1b4ea952c..cd2b2b9a767 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/Http.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/Http.g.cs @@ -140,14 +140,6 @@ internal Http(Elastic.Clients.Elasticsearch.Serialization.JsonConstructorSentine #endif System.Collections.Generic.IReadOnlyDictionary Routes { get; set; } - /// - /// - /// Detailed HTTP stats broken down by route - /// - /// - [JsonInclude, JsonPropertyName("routes")] - public IReadOnlyDictionary Routes { get; init; } - /// /// /// Total number of HTTP connections opened for the node. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/Like.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/Like.g.cs index ad70553788e..8a3d4fe9388 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/Like.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/Like.g.cs @@ -62,7 +62,7 @@ public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clien /// /// Text that we want similar documents for or a lookup to a document's field for the text. /// -/// Learn more about this API in the Elasticsearch documentation. +/// Learn more about this API in the Elasticsearch documentation. /// [System.Text.Json.Serialization.JsonConverter(typeof(Elastic.Clients.Elasticsearch.QueryDsl.LikeConverter))] public sealed partial class Like : Elastic.Clients.Elasticsearch.Union diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/PinnedDoc.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/PinnedDoc.g.cs index a068e6c3a29..36a73082192 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/PinnedDoc.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/PinnedDoc.g.cs @@ -32,7 +32,7 @@ public override Elastic.Clients.Elasticsearch.QueryDsl.PinnedDoc Read(ref System { reader.ValidateToken(System.Text.Json.JsonTokenType.StartObject); LocalJsonValue propId = default; - LocalJsonValue propIndex = default; + LocalJsonValue propIndex = default; while (reader.Read() && reader.TokenType is System.Text.Json.JsonTokenType.PropertyName) { if (propId.TryReadProperty(ref reader, options, PropId, null)) @@ -75,9 +75,10 @@ public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clien public sealed partial class PinnedDoc { [System.Diagnostics.CodeAnalysis.SetsRequiredMembers] - public PinnedDoc(Elastic.Clients.Elasticsearch.Id id) + public PinnedDoc(Elastic.Clients.Elasticsearch.Id id, Elastic.Clients.Elasticsearch.IndexName index) { Id = id; + Index = index; } #if NET7_0_OR_GREATER public PinnedDoc() @@ -112,7 +113,11 @@ internal PinnedDoc(Elastic.Clients.Elasticsearch.Serialization.JsonConstructorSe /// The index that contains the document. /// /// - public Elastic.Clients.Elasticsearch.IndexName? Index { get; set; } + public +#if NET7_0_OR_GREATER + required +#endif + Elastic.Clients.Elasticsearch.IndexName Index { get; set; } } public readonly partial struct PinnedDocDescriptor @@ -150,7 +155,7 @@ public Elastic.Clients.Elasticsearch.QueryDsl.PinnedDocDescriptor Id(Elastic.Cli /// The index that contains the document. /// /// - public Elastic.Clients.Elasticsearch.QueryDsl.PinnedDocDescriptor Index(Elastic.Clients.Elasticsearch.IndexName? value) + public Elastic.Clients.Elasticsearch.QueryDsl.PinnedDocDescriptor Index(Elastic.Clients.Elasticsearch.IndexName value) { Instance.Index = value; return this; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/SpanTermQuery.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/SpanTermQuery.g.cs index 64a6d292c43..e759f926982 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/SpanTermQuery.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/SpanTermQuery.g.cs @@ -28,7 +28,6 @@ internal sealed partial class SpanTermQueryConverter : System.Text.Json.Serializ private static readonly System.Text.Json.JsonEncodedText PropBoost = System.Text.Json.JsonEncodedText.Encode("boost"); private static readonly System.Text.Json.JsonEncodedText PropQueryName = System.Text.Json.JsonEncodedText.Encode("_name"); private static readonly System.Text.Json.JsonEncodedText PropValue = System.Text.Json.JsonEncodedText.Encode("value"); - private static readonly System.Text.Json.JsonEncodedText PropValue1 = System.Text.Json.JsonEncodedText.Encode("term"); public override Elastic.Clients.Elasticsearch.QueryDsl.SpanTermQuery Read(ref System.Text.Json.Utf8JsonReader reader, System.Type typeToConvert, System.Text.Json.JsonSerializerOptions options) { @@ -39,7 +38,7 @@ public override Elastic.Clients.Elasticsearch.QueryDsl.SpanTermQuery Read(ref Sy reader.Read(); if (reader.TokenType is not System.Text.Json.JsonTokenType.StartObject) { - var value = reader.ReadValue(options, null); + var value = reader.ReadValue(options, null); reader.Read(); return new Elastic.Clients.Elasticsearch.QueryDsl.SpanTermQuery(Elastic.Clients.Elasticsearch.Serialization.JsonConstructorSentinel.Instance) { @@ -51,7 +50,7 @@ public override Elastic.Clients.Elasticsearch.QueryDsl.SpanTermQuery Read(ref Sy reader.ValidateToken(System.Text.Json.JsonTokenType.StartObject); LocalJsonValue propBoost = default; LocalJsonValue propQueryName = default; - LocalJsonValue propValue = default; + LocalJsonValue propValue = default; while (reader.Read() && reader.TokenType is System.Text.Json.JsonTokenType.PropertyName) { if (propBoost.TryReadProperty(ref reader, options, PropBoost, null)) @@ -64,7 +63,7 @@ public override Elastic.Clients.Elasticsearch.QueryDsl.SpanTermQuery Read(ref Sy continue; } - if (propValue.TryReadProperty(ref reader, options, PropValue, null) || propValue.TryReadProperty(ref reader, options, PropValue1, null)) + if (propValue.TryReadProperty(ref reader, options, PropValue, null)) { continue; } @@ -113,7 +112,7 @@ public SpanTermQuery(Elastic.Clients.Elasticsearch.Field field) } [System.Diagnostics.CodeAnalysis.SetsRequiredMembers] - public SpanTermQuery(Elastic.Clients.Elasticsearch.Field field, Elastic.Clients.Elasticsearch.FieldValue value) + public SpanTermQuery(Elastic.Clients.Elasticsearch.Field field, string value) { Field = field; Value = value; @@ -148,7 +147,7 @@ internal SpanTermQuery(Elastic.Clients.Elasticsearch.Serialization.JsonConstruct #if NET7_0_OR_GREATER required #endif - Elastic.Clients.Elasticsearch.FieldValue Value { get; set; } + string Value { get; set; } } public readonly partial struct SpanTermQueryDescriptor @@ -202,7 +201,7 @@ public Elastic.Clients.Elasticsearch.QueryDsl.SpanTermQueryDescriptor return this; } - public Elastic.Clients.Elasticsearch.QueryDsl.SpanTermQueryDescriptor Value(Elastic.Clients.Elasticsearch.FieldValue value) + public Elastic.Clients.Elasticsearch.QueryDsl.SpanTermQueryDescriptor Value(string value) { Instance.Value = value; return this; @@ -268,7 +267,7 @@ public Elastic.Clients.Elasticsearch.QueryDsl.SpanTermQueryDescriptor QueryName( return this; } - public Elastic.Clients.Elasticsearch.QueryDsl.SpanTermQueryDescriptor Value(Elastic.Clients.Elasticsearch.FieldValue value) + public Elastic.Clients.Elasticsearch.QueryDsl.SpanTermQueryDescriptor Value(string value) { Instance.Value = value; return this; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/TermQuery.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/TermQuery.g.cs index 90c9e99c82b..dc3ff1bd66f 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/TermQuery.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/TermQuery.g.cs @@ -37,17 +37,7 @@ public override Elastic.Clients.Elasticsearch.QueryDsl.TermQuery Read(ref System reader.Read(); propField.ReadPropertyName(ref reader, options, null); reader.Read(); - if (reader.TokenType is not System.Text.Json.JsonTokenType.StartObject) - { - var value = reader.ReadValue(options, null); - reader.Read(); - return new Elastic.Clients.Elasticsearch.QueryDsl.TermQuery(Elastic.Clients.Elasticsearch.Serialization.JsonConstructorSentinel.Instance) - { - Field = propField.Value, - Value = value - }; - } - + var readerSnapshot = reader; reader.ValidateToken(System.Text.Json.JsonTokenType.StartObject); LocalJsonValue propBoost = default; LocalJsonValue propCaseInsensitive = default; @@ -75,13 +65,20 @@ public override Elastic.Clients.Elasticsearch.QueryDsl.TermQuery Read(ref System continue; } - if (options.UnmappedMemberHandling is System.Text.Json.Serialization.JsonUnmappedMemberHandling.Skip) + try { - reader.Skip(); - continue; + reader = readerSnapshot; + var result = reader.ReadValue(options, null); + return new Elastic.Clients.Elasticsearch.QueryDsl.TermQuery(Elastic.Clients.Elasticsearch.Serialization.JsonConstructorSentinel.Instance) + { + Field = propField.Value, + Value = result + }; + } + catch (System.Text.Json.JsonException) + { + throw; } - - throw new System.Text.Json.JsonException($"Unknown JSON property '{reader.GetString()}' for type '{typeToConvert.Name}'."); } reader.ValidateToken(System.Text.Json.JsonTokenType.EndObject); diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/TermsSetQuery.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/TermsSetQuery.g.cs index 765975ada69..3728b1b7e06 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/TermsSetQuery.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/TermsSetQuery.g.cs @@ -45,7 +45,7 @@ public override Elastic.Clients.Elasticsearch.QueryDsl.TermsSetQuery Read(ref Sy LocalJsonValue propMinimumShouldMatchField = default; LocalJsonValue propMinimumShouldMatchScript = default; LocalJsonValue propQueryName = default; - LocalJsonValue> propTerms = default; + LocalJsonValue> propTerms = default; while (reader.Read() && reader.TokenType is System.Text.Json.JsonTokenType.PropertyName) { if (propBoost.TryReadProperty(ref reader, options, PropBoost, null)) @@ -73,7 +73,7 @@ public override Elastic.Clients.Elasticsearch.QueryDsl.TermsSetQuery Read(ref Sy continue; } - if (propTerms.TryReadProperty(ref reader, options, PropTerms, static System.Collections.Generic.ICollection (ref System.Text.Json.Utf8JsonReader r, System.Text.Json.JsonSerializerOptions o) => r.ReadCollectionValue(o, null)!)) + if (propTerms.TryReadProperty(ref reader, options, PropTerms, static System.Collections.Generic.ICollection (ref System.Text.Json.Utf8JsonReader r, System.Text.Json.JsonSerializerOptions o) => r.ReadCollectionValue(o, null)!)) { continue; } @@ -112,7 +112,7 @@ public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clien writer.WriteProperty(options, PropMinimumShouldMatchField, value.MinimumShouldMatchField, null, null); writer.WriteProperty(options, PropMinimumShouldMatchScript, value.MinimumShouldMatchScript, null, null); writer.WriteProperty(options, PropQueryName, value.QueryName, null, null); - writer.WriteProperty(options, PropTerms, value.Terms, null, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, System.Collections.Generic.ICollection v) => w.WriteCollectionValue(o, v, null)); + writer.WriteProperty(options, PropTerms, value.Terms, null, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, System.Collections.Generic.ICollection v) => w.WriteCollectionValue(o, v, null)); writer.WriteEndObject(); writer.WriteEndObject(); } @@ -128,7 +128,7 @@ public TermsSetQuery(Elastic.Clients.Elasticsearch.Field field) } [System.Diagnostics.CodeAnalysis.SetsRequiredMembers] - public TermsSetQuery(Elastic.Clients.Elasticsearch.Field field, System.Collections.Generic.ICollection terms) + public TermsSetQuery(Elastic.Clients.Elasticsearch.Field field, System.Collections.Generic.ICollection terms) { Field = field; Terms = terms; @@ -190,7 +190,7 @@ internal TermsSetQuery(Elastic.Clients.Elasticsearch.Serialization.JsonConstruct #if NET7_0_OR_GREATER required #endif - System.Collections.Generic.ICollection Terms { get; set; } + System.Collections.Generic.ICollection Terms { get; set; } } public readonly partial struct TermsSetQueryDescriptor @@ -315,7 +315,7 @@ public Elastic.Clients.Elasticsearch.QueryDsl.TermsSetQueryDescriptor /// Array of terms you wish to find in the provided field. /// /// - public Elastic.Clients.Elasticsearch.QueryDsl.TermsSetQueryDescriptor Terms(System.Collections.Generic.ICollection value) + public Elastic.Clients.Elasticsearch.QueryDsl.TermsSetQueryDescriptor Terms(System.Collections.Generic.ICollection value) { Instance.Terms = value; return this; @@ -326,7 +326,7 @@ public Elastic.Clients.Elasticsearch.QueryDsl.TermsSetQueryDescriptor /// Array of terms you wish to find in the provided field. /// /// - public Elastic.Clients.Elasticsearch.QueryDsl.TermsSetQueryDescriptor Terms(params Elastic.Clients.Elasticsearch.FieldValue[] values) + public Elastic.Clients.Elasticsearch.QueryDsl.TermsSetQueryDescriptor Terms(params string[] values) { Instance.Terms = [.. values]; return this; @@ -463,7 +463,7 @@ public Elastic.Clients.Elasticsearch.QueryDsl.TermsSetQueryDescriptor QueryName( /// Array of terms you wish to find in the provided field. /// /// - public Elastic.Clients.Elasticsearch.QueryDsl.TermsSetQueryDescriptor Terms(System.Collections.Generic.ICollection value) + public Elastic.Clients.Elasticsearch.QueryDsl.TermsSetQueryDescriptor Terms(System.Collections.Generic.ICollection value) { Instance.Terms = value; return this; @@ -474,7 +474,7 @@ public Elastic.Clients.Elasticsearch.QueryDsl.TermsSetQueryDescriptor Terms(Syst /// Array of terms you wish to find in the provided field. /// /// - public Elastic.Clients.Elasticsearch.QueryDsl.TermsSetQueryDescriptor Terms(params Elastic.Clients.Elasticsearch.FieldValue[] values) + public Elastic.Clients.Elasticsearch.QueryDsl.TermsSetQueryDescriptor Terms(params string[] values) { Instance.Terms = [.. values]; return this; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Security/FieldRule.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Security/FieldRule.g.cs new file mode 100644 index 00000000000..744490a5b25 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Security/FieldRule.g.cs @@ -0,0 +1,192 @@ +// 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.Linq; +using Elastic.Clients.Elasticsearch.Serialization; + +namespace Elastic.Clients.Elasticsearch.Security; + +internal sealed partial class FieldRuleConverter : System.Text.Json.Serialization.JsonConverter +{ + private static readonly System.Text.Json.JsonEncodedText VariantDn = System.Text.Json.JsonEncodedText.Encode("dn"); + private static readonly System.Text.Json.JsonEncodedText VariantGroups = System.Text.Json.JsonEncodedText.Encode("groups"); + private static readonly System.Text.Json.JsonEncodedText VariantUsername = System.Text.Json.JsonEncodedText.Encode("username"); + + public override Elastic.Clients.Elasticsearch.Security.FieldRule Read(ref System.Text.Json.Utf8JsonReader reader, System.Type typeToConvert, System.Text.Json.JsonSerializerOptions options) + { + reader.ValidateToken(System.Text.Json.JsonTokenType.StartObject); + string? variantType = null; + object? variant = null; + while (reader.Read() && reader.TokenType is System.Text.Json.JsonTokenType.PropertyName) + { + if (reader.ValueTextEquals(VariantDn)) + { + variantType = VariantDn.Value; + reader.Read(); + variant = reader.ReadValue(options, null); + continue; + } + + if (reader.ValueTextEquals(VariantGroups)) + { + variantType = VariantGroups.Value; + reader.Read(); + variant = reader.ReadValue(options, null); + continue; + } + + if (reader.ValueTextEquals(VariantUsername)) + { + variantType = VariantUsername.Value; + reader.Read(); + variant = reader.ReadValue(options, null); + continue; + } + + if (options.UnmappedMemberHandling is System.Text.Json.Serialization.JsonUnmappedMemberHandling.Skip) + { + reader.Skip(); + continue; + } + + throw new System.Text.Json.JsonException($"Unknown JSON property '{reader.GetString()}' for type '{typeToConvert.Name}'."); + } + + reader.ValidateToken(System.Text.Json.JsonTokenType.EndObject); + return new Elastic.Clients.Elasticsearch.Security.FieldRule(Elastic.Clients.Elasticsearch.Serialization.JsonConstructorSentinel.Instance) + { + VariantType = variantType, + Variant = variant + }; + } + + public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clients.Elasticsearch.Security.FieldRule value, System.Text.Json.JsonSerializerOptions options) + { + writer.WriteStartObject(); + switch (value.VariantType) + { + case null: + break; + case "dn": + writer.WriteProperty(options, value.VariantType, (Elastic.Clients.Elasticsearch.Names)value.Variant, null, null); + break; + case "groups": + writer.WriteProperty(options, value.VariantType, (Elastic.Clients.Elasticsearch.Names)value.Variant, null, null); + break; + case "username": + writer.WriteProperty(options, value.VariantType, (Elastic.Clients.Elasticsearch.Names)value.Variant, null, null); + break; + default: + throw new System.Text.Json.JsonException($"Variant '{value.VariantType}' is not supported for type '{nameof(Elastic.Clients.Elasticsearch.Security.FieldRule)}'."); + } + + writer.WriteEndObject(); + } +} + +[System.Text.Json.Serialization.JsonConverter(typeof(Elastic.Clients.Elasticsearch.Security.FieldRuleConverter))] +public sealed partial class FieldRule +{ + internal string? VariantType { get; set; } + internal object? Variant { get; set; } +#if NET7_0_OR_GREATER + public FieldRule() + { + } +#endif +#if !NET7_0_OR_GREATER + public FieldRule() + { + } +#endif + [System.Diagnostics.CodeAnalysis.SetsRequiredMembers] + internal FieldRule(Elastic.Clients.Elasticsearch.Serialization.JsonConstructorSentinel sentinel) + { + _ = sentinel; + } + + public Elastic.Clients.Elasticsearch.Names? Dn { get => GetVariant("dn"); set => SetVariant("dn", value); } + public Elastic.Clients.Elasticsearch.Names? Groups { get => GetVariant("groups"); set => SetVariant("groups", value); } + public Elastic.Clients.Elasticsearch.Names? Username { get => GetVariant("username"); set => SetVariant("username", value); } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private T? GetVariant(string type) + { + if (string.Equals(VariantType, type, System.StringComparison.Ordinal) && Variant is T result) + { + return result; + } + + return default; + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private void SetVariant(string type, T? value) + { + VariantType = type; + Variant = value; + } +} + +public readonly partial struct FieldRuleDescriptor +{ + internal Elastic.Clients.Elasticsearch.Security.FieldRule Instance { get; init; } + + [System.Diagnostics.CodeAnalysis.SetsRequiredMembers] + public FieldRuleDescriptor(Elastic.Clients.Elasticsearch.Security.FieldRule instance) + { + Instance = instance; + } + + [System.Diagnostics.CodeAnalysis.SetsRequiredMembers] + public FieldRuleDescriptor() + { + Instance = new Elastic.Clients.Elasticsearch.Security.FieldRule(Elastic.Clients.Elasticsearch.Serialization.JsonConstructorSentinel.Instance); + } + + public static explicit operator Elastic.Clients.Elasticsearch.Security.FieldRuleDescriptor(Elastic.Clients.Elasticsearch.Security.FieldRule instance) => new Elastic.Clients.Elasticsearch.Security.FieldRuleDescriptor(instance); + public static implicit operator Elastic.Clients.Elasticsearch.Security.FieldRule(Elastic.Clients.Elasticsearch.Security.FieldRuleDescriptor descriptor) => descriptor.Instance; + + public Elastic.Clients.Elasticsearch.Security.FieldRuleDescriptor Dn(Elastic.Clients.Elasticsearch.Names? value) + { + Instance.Dn = value; + return this; + } + + public Elastic.Clients.Elasticsearch.Security.FieldRuleDescriptor Groups(Elastic.Clients.Elasticsearch.Names? value) + { + Instance.Groups = value; + return this; + } + + public Elastic.Clients.Elasticsearch.Security.FieldRuleDescriptor Username(Elastic.Clients.Elasticsearch.Names? value) + { + Instance.Username = value; + return this; + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + internal static Elastic.Clients.Elasticsearch.Security.FieldRule Build(System.Action action) + { + var builder = new Elastic.Clients.Elasticsearch.Security.FieldRuleDescriptor(new Elastic.Clients.Elasticsearch.Security.FieldRule(Elastic.Clients.Elasticsearch.Serialization.JsonConstructorSentinel.Instance)); + action.Invoke(builder); + return builder.Instance; + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Security/IndicesPrivileges.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Security/IndicesPrivileges.g.cs index 9cf65ee4b44..069359f83a7 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Security/IndicesPrivileges.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Security/IndicesPrivileges.g.cs @@ -51,7 +51,7 @@ public override Elastic.Clients.Elasticsearch.Security.IndicesPrivileges Read(re continue; } - if (propNames.TryReadProperty(ref reader, options, PropNames, static System.Collections.Generic.ICollection (ref System.Text.Json.Utf8JsonReader r, System.Text.Json.JsonSerializerOptions o) => r.ReadSingleOrManyCollectionValue(o, null)!)) + if (propNames.TryReadProperty(ref reader, options, PropNames, static System.Collections.Generic.ICollection (ref System.Text.Json.Utf8JsonReader r, System.Text.Json.JsonSerializerOptions o) => r.ReadCollectionValue(o, null)!)) { continue; } @@ -91,7 +91,7 @@ public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clien writer.WriteStartObject(); writer.WriteProperty(options, PropAllowRestrictedIndices, value.AllowRestrictedIndices, null, null); writer.WriteProperty(options, PropFieldSecurity, value.FieldSecurity, null, null); - writer.WriteProperty(options, PropNames, value.Names, null, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, System.Collections.Generic.ICollection v) => w.WriteSingleOrManyCollectionValue(o, v, null)); + writer.WriteProperty(options, PropNames, value.Names, null, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, System.Collections.Generic.ICollection v) => w.WriteCollectionValue(o, v, null)); writer.WriteProperty(options, PropPrivileges, value.Privileges, null, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, System.Collections.Generic.ICollection v) => w.WriteCollectionValue(o, v, null)); writer.WriteProperty(options, PropQuery, value.Query, null, null); writer.WriteEndObject(); diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Security/RemoteIndicesPrivileges.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Security/RemoteIndicesPrivileges.g.cs index 5fb8b33d475..391a0a3509f 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Security/RemoteIndicesPrivileges.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Security/RemoteIndicesPrivileges.g.cs @@ -58,7 +58,7 @@ public override Elastic.Clients.Elasticsearch.Security.RemoteIndicesPrivileges R continue; } - if (propNames.TryReadProperty(ref reader, options, PropNames, static System.Collections.Generic.ICollection (ref System.Text.Json.Utf8JsonReader r, System.Text.Json.JsonSerializerOptions o) => r.ReadSingleOrManyCollectionValue(o, null)!)) + if (propNames.TryReadProperty(ref reader, options, PropNames, static System.Collections.Generic.ICollection (ref System.Text.Json.Utf8JsonReader r, System.Text.Json.JsonSerializerOptions o) => r.ReadCollectionValue(o, null)!)) { continue; } @@ -100,7 +100,7 @@ public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clien writer.WriteProperty(options, PropAllowRestrictedIndices, value.AllowRestrictedIndices, null, null); writer.WriteProperty(options, PropClusters, value.Clusters, null, null); writer.WriteProperty(options, PropFieldSecurity, value.FieldSecurity, null, null); - writer.WriteProperty(options, PropNames, value.Names, null, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, System.Collections.Generic.ICollection v) => w.WriteSingleOrManyCollectionValue(o, v, null)); + writer.WriteProperty(options, PropNames, value.Names, null, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, System.Collections.Generic.ICollection v) => w.WriteCollectionValue(o, v, null)); writer.WriteProperty(options, PropPrivileges, value.Privileges, null, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, System.Collections.Generic.ICollection v) => w.WriteCollectionValue(o, v, null)); writer.WriteProperty(options, PropQuery, value.Query, null, null); writer.WriteEndObject(); diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Security/RoleMappingRule.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Security/RoleMappingRule.g.cs index 8b591a871b7..3286e471500 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Security/RoleMappingRule.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Security/RoleMappingRule.g.cs @@ -65,7 +65,7 @@ public override Elastic.Clients.Elasticsearch.Security.RoleMappingRule Read(ref { variantType = VariantField.Value; reader.Read(); - variant = reader.ReadValue>>(options, static System.Collections.Generic.KeyValuePair> (ref System.Text.Json.Utf8JsonReader r, System.Text.Json.JsonSerializerOptions o) => r.ReadKeyValuePairValue>(o, null, static System.Collections.Generic.ICollection (ref System.Text.Json.Utf8JsonReader r, System.Text.Json.JsonSerializerOptions o) => r.ReadSingleOrManyCollectionValue(o, null)!)); + variant = reader.ReadValue(options, null); continue; } @@ -103,7 +103,7 @@ public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clien writer.WriteProperty(options, value.VariantType, (Elastic.Clients.Elasticsearch.Security.RoleMappingRule)value.Variant, null, null); break; case "field": - writer.WriteProperty(options, value.VariantType, (System.Collections.Generic.KeyValuePair>)value.Variant, null, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, System.Collections.Generic.KeyValuePair> v) => w.WriteKeyValuePairValue>(o, v, null, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, System.Collections.Generic.ICollection v) => w.WriteSingleOrManyCollectionValue(o, v, null))); + writer.WriteProperty(options, value.VariantType, (Elastic.Clients.Elasticsearch.Security.FieldRule)value.Variant, null, null); break; default: throw new System.Text.Json.JsonException($"Variant '{value.VariantType}' is not supported for type '{nameof(Elastic.Clients.Elasticsearch.Security.RoleMappingRule)}'."); @@ -137,9 +137,9 @@ internal RoleMappingRule(Elastic.Clients.Elasticsearch.Serialization.JsonConstru public System.Collections.Generic.ICollection? All { get => GetVariant>("all"); set => SetVariant("all", value); } public System.Collections.Generic.ICollection? Any { get => GetVariant>("any"); set => SetVariant("any", value); } public Elastic.Clients.Elasticsearch.Security.RoleMappingRule? Except { get => GetVariant("except"); set => SetVariant("except", value); } - public System.Collections.Generic.KeyValuePair>? Field { get => GetVariant>>("field"); set => SetVariant("field", value); } + public Elastic.Clients.Elasticsearch.Security.FieldRule? Field { get => GetVariant("field"); set => SetVariant("field", value); } - public static implicit operator Elastic.Clients.Elasticsearch.Security.RoleMappingRule(System.Collections.Generic.KeyValuePair> value) => new Elastic.Clients.Elasticsearch.Security.RoleMappingRule { Field = value }; + public static implicit operator Elastic.Clients.Elasticsearch.Security.RoleMappingRule(Elastic.Clients.Elasticsearch.Security.FieldRule value) => new Elastic.Clients.Elasticsearch.Security.RoleMappingRule { Field = value }; [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] private T? GetVariant(string type) @@ -160,124 +160,6 @@ private void SetVariant(string type, T? value) } } -public readonly partial struct RoleMappingRuleDescriptor -{ - internal Elastic.Clients.Elasticsearch.Security.RoleMappingRule Instance { get; init; } - - [System.Diagnostics.CodeAnalysis.SetsRequiredMembers] - public RoleMappingRuleDescriptor(Elastic.Clients.Elasticsearch.Security.RoleMappingRule instance) - { - Instance = instance; - } - - [System.Diagnostics.CodeAnalysis.SetsRequiredMembers] - public RoleMappingRuleDescriptor() - { - Instance = new Elastic.Clients.Elasticsearch.Security.RoleMappingRule(Elastic.Clients.Elasticsearch.Serialization.JsonConstructorSentinel.Instance); - } - - public static explicit operator Elastic.Clients.Elasticsearch.Security.RoleMappingRuleDescriptor(Elastic.Clients.Elasticsearch.Security.RoleMappingRule instance) => new Elastic.Clients.Elasticsearch.Security.RoleMappingRuleDescriptor(instance); - public static implicit operator Elastic.Clients.Elasticsearch.Security.RoleMappingRule(Elastic.Clients.Elasticsearch.Security.RoleMappingRuleDescriptor descriptor) => descriptor.Instance; - - public Elastic.Clients.Elasticsearch.Security.RoleMappingRuleDescriptor All(System.Collections.Generic.ICollection? value) - { - Instance.All = value; - return this; - } - - public Elastic.Clients.Elasticsearch.Security.RoleMappingRuleDescriptor All(params Elastic.Clients.Elasticsearch.Security.RoleMappingRule[] values) - { - Instance.All = [.. values]; - return this; - } - - public Elastic.Clients.Elasticsearch.Security.RoleMappingRuleDescriptor All(params System.Action>[] actions) - { - var items = new System.Collections.Generic.List(); - foreach (var action in actions) - { - items.Add(Elastic.Clients.Elasticsearch.Security.RoleMappingRuleDescriptor.Build(action)); - } - - Instance.All = items; - return this; - } - - public Elastic.Clients.Elasticsearch.Security.RoleMappingRuleDescriptor Any(System.Collections.Generic.ICollection? value) - { - Instance.Any = value; - return this; - } - - public Elastic.Clients.Elasticsearch.Security.RoleMappingRuleDescriptor Any(params Elastic.Clients.Elasticsearch.Security.RoleMappingRule[] values) - { - Instance.Any = [.. values]; - return this; - } - - public Elastic.Clients.Elasticsearch.Security.RoleMappingRuleDescriptor Any(params System.Action>[] actions) - { - var items = new System.Collections.Generic.List(); - foreach (var action in actions) - { - items.Add(Elastic.Clients.Elasticsearch.Security.RoleMappingRuleDescriptor.Build(action)); - } - - Instance.Any = items; - return this; - } - - public Elastic.Clients.Elasticsearch.Security.RoleMappingRuleDescriptor Except(Elastic.Clients.Elasticsearch.Security.RoleMappingRule? value) - { - Instance.Except = value; - return this; - } - - public Elastic.Clients.Elasticsearch.Security.RoleMappingRuleDescriptor Except(System.Action> action) - { - Instance.Except = Elastic.Clients.Elasticsearch.Security.RoleMappingRuleDescriptor.Build(action); - return this; - } - - public Elastic.Clients.Elasticsearch.Security.RoleMappingRuleDescriptor Field(System.Collections.Generic.KeyValuePair>? value) - { - Instance.Field = value; - return this; - } - - public Elastic.Clients.Elasticsearch.Security.RoleMappingRuleDescriptor Field(Elastic.Clients.Elasticsearch.Field key, System.Collections.Generic.ICollection value) - { - Instance.Field = new System.Collections.Generic.KeyValuePair>(key, value); - return this; - } - - public Elastic.Clients.Elasticsearch.Security.RoleMappingRuleDescriptor Field(System.Linq.Expressions.Expression> key, System.Collections.Generic.ICollection value) - { - Instance.Field = new System.Collections.Generic.KeyValuePair>(key, value); - return this; - } - - public Elastic.Clients.Elasticsearch.Security.RoleMappingRuleDescriptor Field(Elastic.Clients.Elasticsearch.Field key, params Elastic.Clients.Elasticsearch.FieldValue[] values) - { - Instance.Field = new System.Collections.Generic.KeyValuePair>(key, [.. values]); - return this; - } - - public Elastic.Clients.Elasticsearch.Security.RoleMappingRuleDescriptor Field(System.Linq.Expressions.Expression> key, params Elastic.Clients.Elasticsearch.FieldValue[] values) - { - Instance.Field = new System.Collections.Generic.KeyValuePair>(key, [.. values]); - return this; - } - - [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] - internal static Elastic.Clients.Elasticsearch.Security.RoleMappingRule Build(System.Action> action) - { - var builder = new Elastic.Clients.Elasticsearch.Security.RoleMappingRuleDescriptor(new Elastic.Clients.Elasticsearch.Security.RoleMappingRule(Elastic.Clients.Elasticsearch.Serialization.JsonConstructorSentinel.Instance)); - action.Invoke(builder); - return builder.Instance; - } -} - public readonly partial struct RoleMappingRuleDescriptor { internal Elastic.Clients.Elasticsearch.Security.RoleMappingRule Instance { get; init; } @@ -321,18 +203,6 @@ public Elastic.Clients.Elasticsearch.Security.RoleMappingRuleDescriptor All(para return this; } - public Elastic.Clients.Elasticsearch.Security.RoleMappingRuleDescriptor All(params System.Action>[] actions) - { - var items = new System.Collections.Generic.List(); - foreach (var action in actions) - { - items.Add(Elastic.Clients.Elasticsearch.Security.RoleMappingRuleDescriptor.Build(action)); - } - - Instance.All = items; - return this; - } - public Elastic.Clients.Elasticsearch.Security.RoleMappingRuleDescriptor Any(System.Collections.Generic.ICollection? value) { Instance.Any = value; @@ -357,18 +227,6 @@ public Elastic.Clients.Elasticsearch.Security.RoleMappingRuleDescriptor Any(para return this; } - public Elastic.Clients.Elasticsearch.Security.RoleMappingRuleDescriptor Any(params System.Action>[] actions) - { - var items = new System.Collections.Generic.List(); - foreach (var action in actions) - { - items.Add(Elastic.Clients.Elasticsearch.Security.RoleMappingRuleDescriptor.Build(action)); - } - - Instance.Any = items; - return this; - } - public Elastic.Clients.Elasticsearch.Security.RoleMappingRuleDescriptor Except(Elastic.Clients.Elasticsearch.Security.RoleMappingRule? value) { Instance.Except = value; @@ -381,39 +239,15 @@ public Elastic.Clients.Elasticsearch.Security.RoleMappingRuleDescriptor Except(S return this; } - public Elastic.Clients.Elasticsearch.Security.RoleMappingRuleDescriptor Except(System.Action> action) - { - Instance.Except = Elastic.Clients.Elasticsearch.Security.RoleMappingRuleDescriptor.Build(action); - return this; - } - - public Elastic.Clients.Elasticsearch.Security.RoleMappingRuleDescriptor Field(System.Collections.Generic.KeyValuePair>? value) + public Elastic.Clients.Elasticsearch.Security.RoleMappingRuleDescriptor Field(Elastic.Clients.Elasticsearch.Security.FieldRule? value) { Instance.Field = value; return this; } - public Elastic.Clients.Elasticsearch.Security.RoleMappingRuleDescriptor Field(Elastic.Clients.Elasticsearch.Field key, System.Collections.Generic.ICollection value) - { - Instance.Field = new System.Collections.Generic.KeyValuePair>(key, value); - return this; - } - - public Elastic.Clients.Elasticsearch.Security.RoleMappingRuleDescriptor Field(System.Linq.Expressions.Expression> key, System.Collections.Generic.ICollection value) - { - Instance.Field = new System.Collections.Generic.KeyValuePair>(key, value); - return this; - } - - public Elastic.Clients.Elasticsearch.Security.RoleMappingRuleDescriptor Field(Elastic.Clients.Elasticsearch.Field key, params Elastic.Clients.Elasticsearch.FieldValue[] values) - { - Instance.Field = new System.Collections.Generic.KeyValuePair>(key, [.. values]); - return this; - } - - public Elastic.Clients.Elasticsearch.Security.RoleMappingRuleDescriptor Field(System.Linq.Expressions.Expression> key, params Elastic.Clients.Elasticsearch.FieldValue[] values) + public Elastic.Clients.Elasticsearch.Security.RoleMappingRuleDescriptor Field(System.Action action) { - Instance.Field = new System.Collections.Generic.KeyValuePair>(key, [.. values]); + Instance.Field = Elastic.Clients.Elasticsearch.Security.FieldRuleDescriptor.Build(action); return this; } diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Security/UserIndicesPrivileges.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Security/UserIndicesPrivileges.g.cs index d71618c851c..9090abb421d 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Security/UserIndicesPrivileges.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Security/UserIndicesPrivileges.g.cs @@ -36,7 +36,7 @@ public override Elastic.Clients.Elasticsearch.Security.UserIndicesPrivileges Rea reader.ValidateToken(System.Text.Json.JsonTokenType.StartObject); LocalJsonValue propAllowRestrictedIndices = default; LocalJsonValue?> propFieldSecurity = default; - LocalJsonValue> propNames = default; + LocalJsonValue> propNames = default; LocalJsonValue> propPrivileges = default; LocalJsonValue propQuery = default; while (reader.Read() && reader.TokenType is System.Text.Json.JsonTokenType.PropertyName) @@ -51,7 +51,7 @@ public override Elastic.Clients.Elasticsearch.Security.UserIndicesPrivileges Rea continue; } - if (propNames.TryReadProperty(ref reader, options, PropNames, static System.Collections.Generic.ICollection (ref System.Text.Json.Utf8JsonReader r, System.Text.Json.JsonSerializerOptions o) => r.ReadSingleOrManyCollectionValue(o, null)!)) + if (propNames.TryReadProperty(ref reader, options, PropNames, static System.Collections.Generic.IReadOnlyCollection (ref System.Text.Json.Utf8JsonReader r, System.Text.Json.JsonSerializerOptions o) => r.ReadCollectionValue(o, null)!)) { continue; } @@ -91,7 +91,7 @@ public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clien writer.WriteStartObject(); writer.WriteProperty(options, PropAllowRestrictedIndices, value.AllowRestrictedIndices, null, null); writer.WriteProperty(options, PropFieldSecurity, value.FieldSecurity, null, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, System.Collections.Generic.IReadOnlyCollection? v) => w.WriteCollectionValue(o, v, null)); - writer.WriteProperty(options, PropNames, value.Names, null, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, System.Collections.Generic.ICollection v) => w.WriteSingleOrManyCollectionValue(o, v, null)); + writer.WriteProperty(options, PropNames, value.Names, null, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, System.Collections.Generic.IReadOnlyCollection v) => w.WriteCollectionValue(o, v, null)); writer.WriteProperty(options, PropPrivileges, value.Privileges, null, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, System.Collections.Generic.IReadOnlyCollection v) => w.WriteCollectionValue(o, v, null)); writer.WriteProperty(options, PropQuery, value.Query, null, null); writer.WriteEndObject(); @@ -102,7 +102,7 @@ public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clien public sealed partial class UserIndicesPrivileges { [System.Diagnostics.CodeAnalysis.SetsRequiredMembers] - public UserIndicesPrivileges(bool allowRestrictedIndices, System.Collections.Generic.ICollection names, System.Collections.Generic.IReadOnlyCollection privileges) + public UserIndicesPrivileges(bool allowRestrictedIndices, System.Collections.Generic.IReadOnlyCollection names, System.Collections.Generic.IReadOnlyCollection privileges) { AllowRestrictedIndices = allowRestrictedIndices; Names = names; @@ -152,7 +152,7 @@ internal UserIndicesPrivileges(Elastic.Clients.Elasticsearch.Serialization.JsonC #if NET7_0_OR_GREATER required #endif - System.Collections.Generic.ICollection Names { get; set; } + System.Collections.Generic.IReadOnlyCollection Names { get; set; } /// /// diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Snapshot/AzureRepository.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Snapshot/AzureRepository.g.cs index 6cf9b18bcc7..b2ac5bab484 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Snapshot/AzureRepository.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Snapshot/AzureRepository.g.cs @@ -32,7 +32,7 @@ internal sealed partial class AzureRepositoryConverter : System.Text.Json.Serial public override Elastic.Clients.Elasticsearch.Snapshot.AzureRepository Read(ref System.Text.Json.Utf8JsonReader reader, System.Type typeToConvert, System.Text.Json.JsonSerializerOptions options) { reader.ValidateToken(System.Text.Json.JsonTokenType.StartObject); - LocalJsonValue propSettings = default; + LocalJsonValue propSettings = default; LocalJsonValue propUuid = default; while (reader.Read() && reader.TokenType is System.Text.Json.JsonTokenType.PropertyName) { @@ -82,12 +82,18 @@ public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clien [System.Text.Json.Serialization.JsonConverter(typeof(Elastic.Clients.Elasticsearch.Snapshot.AzureRepositoryConverter))] public sealed partial class AzureRepository : Elastic.Clients.Elasticsearch.Snapshot.IRepository { + [System.Diagnostics.CodeAnalysis.SetsRequiredMembers] + public AzureRepository(Elastic.Clients.Elasticsearch.Snapshot.AzureRepositorySettings settings) + { + Settings = settings; + } #if NET7_0_OR_GREATER public AzureRepository() { } #endif #if !NET7_0_OR_GREATER + [System.Obsolete("The type contains required properties that must be initialized. Please use an alternative constructor to ensure all required values are properly set.")] public AzureRepository() { } @@ -98,18 +104,12 @@ internal AzureRepository(Elastic.Clients.Elasticsearch.Serialization.JsonConstru _ = sentinel; } - /// - /// - /// The repository settings. - /// - /// - public Elastic.Clients.Elasticsearch.Snapshot.AzureRepositorySettings? Settings { get; set; } - - /// - /// - /// The Azure repository type. - /// - /// + public +#if NET7_0_OR_GREATER + required +#endif + Elastic.Clients.Elasticsearch.Snapshot.AzureRepositorySettings Settings { get; set; } + public string Type => "azure"; public string? Uuid { get; set; } @@ -134,33 +134,18 @@ public AzureRepositoryDescriptor() public static explicit operator Elastic.Clients.Elasticsearch.Snapshot.AzureRepositoryDescriptor(Elastic.Clients.Elasticsearch.Snapshot.AzureRepository instance) => new Elastic.Clients.Elasticsearch.Snapshot.AzureRepositoryDescriptor(instance); public static implicit operator Elastic.Clients.Elasticsearch.Snapshot.AzureRepository(Elastic.Clients.Elasticsearch.Snapshot.AzureRepositoryDescriptor descriptor) => descriptor.Instance; - /// - /// - /// The repository settings. - /// - /// - public Elastic.Clients.Elasticsearch.Snapshot.AzureRepositoryDescriptor Settings(Elastic.Clients.Elasticsearch.Snapshot.AzureRepositorySettings? value) + public Elastic.Clients.Elasticsearch.Snapshot.AzureRepositoryDescriptor Settings(Elastic.Clients.Elasticsearch.Snapshot.AzureRepositorySettings value) { Instance.Settings = value; return this; } - /// - /// - /// The repository settings. - /// - /// public Elastic.Clients.Elasticsearch.Snapshot.AzureRepositoryDescriptor Settings() { Instance.Settings = Elastic.Clients.Elasticsearch.Snapshot.AzureRepositorySettingsDescriptor.Build(null); return this; } - /// - /// - /// The repository settings. - /// - /// public Elastic.Clients.Elasticsearch.Snapshot.AzureRepositoryDescriptor Settings(System.Action? action) { Instance.Settings = Elastic.Clients.Elasticsearch.Snapshot.AzureRepositorySettingsDescriptor.Build(action); @@ -174,13 +159,8 @@ public Elastic.Clients.Elasticsearch.Snapshot.AzureRepositoryDescriptor Uuid(str } [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] - internal static Elastic.Clients.Elasticsearch.Snapshot.AzureRepository Build(System.Action? action) + internal static Elastic.Clients.Elasticsearch.Snapshot.AzureRepository Build(System.Action action) { - if (action is null) - { - return new Elastic.Clients.Elasticsearch.Snapshot.AzureRepository(Elastic.Clients.Elasticsearch.Serialization.JsonConstructorSentinel.Instance); - } - var builder = new Elastic.Clients.Elasticsearch.Snapshot.AzureRepositoryDescriptor(new Elastic.Clients.Elasticsearch.Snapshot.AzureRepository(Elastic.Clients.Elasticsearch.Serialization.JsonConstructorSentinel.Instance)); action.Invoke(builder); return builder.Instance; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Snapshot/AzureRepositorySettings.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Snapshot/AzureRepositorySettings.g.cs index 2c314c0390e..b5b138d5519 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Snapshot/AzureRepositorySettings.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Snapshot/AzureRepositorySettings.g.cs @@ -30,9 +30,7 @@ internal sealed partial class AzureRepositorySettingsConverter : System.Text.Jso private static readonly System.Text.Json.JsonEncodedText PropClient = System.Text.Json.JsonEncodedText.Encode("client"); private static readonly System.Text.Json.JsonEncodedText PropCompress = System.Text.Json.JsonEncodedText.Encode("compress"); private static readonly System.Text.Json.JsonEncodedText PropContainer = System.Text.Json.JsonEncodedText.Encode("container"); - private static readonly System.Text.Json.JsonEncodedText PropDeleteObjectsMaxSize = System.Text.Json.JsonEncodedText.Encode("delete_objects_max_size"); private static readonly System.Text.Json.JsonEncodedText PropLocationMode = System.Text.Json.JsonEncodedText.Encode("location_mode"); - private static readonly System.Text.Json.JsonEncodedText PropMaxConcurrentBatchDeletes = System.Text.Json.JsonEncodedText.Encode("max_concurrent_batch_deletes"); private static readonly System.Text.Json.JsonEncodedText PropMaxRestoreBytesPerSec = System.Text.Json.JsonEncodedText.Encode("max_restore_bytes_per_sec"); private static readonly System.Text.Json.JsonEncodedText PropMaxSnapshotBytesPerSec = System.Text.Json.JsonEncodedText.Encode("max_snapshot_bytes_per_sec"); private static readonly System.Text.Json.JsonEncodedText PropReadonly = System.Text.Json.JsonEncodedText.Encode("readonly"); @@ -45,9 +43,7 @@ public override Elastic.Clients.Elasticsearch.Snapshot.AzureRepositorySettings R LocalJsonValue propClient = default; LocalJsonValue propCompress = default; LocalJsonValue propContainer = default; - LocalJsonValue propDeleteObjectsMaxSize = default; LocalJsonValue propLocationMode = default; - LocalJsonValue propMaxConcurrentBatchDeletes = default; LocalJsonValue propMaxRestoreBytesPerSec = default; LocalJsonValue propMaxSnapshotBytesPerSec = default; LocalJsonValue propReadonly = default; @@ -78,21 +74,11 @@ public override Elastic.Clients.Elasticsearch.Snapshot.AzureRepositorySettings R continue; } - if (propDeleteObjectsMaxSize.TryReadProperty(ref reader, options, PropDeleteObjectsMaxSize, null)) - { - continue; - } - if (propLocationMode.TryReadProperty(ref reader, options, PropLocationMode, null)) { continue; } - if (propMaxConcurrentBatchDeletes.TryReadProperty(ref reader, options, PropMaxConcurrentBatchDeletes, null)) - { - continue; - } - if (propMaxRestoreBytesPerSec.TryReadProperty(ref reader, options, PropMaxRestoreBytesPerSec, null)) { continue; @@ -125,9 +111,7 @@ public override Elastic.Clients.Elasticsearch.Snapshot.AzureRepositorySettings R Client = propClient.Value, Compress = propCompress.Value, Container = propContainer.Value, - DeleteObjectsMaxSize = propDeleteObjectsMaxSize.Value, LocationMode = propLocationMode.Value, - MaxConcurrentBatchDeletes = propMaxConcurrentBatchDeletes.Value, MaxRestoreBytesPerSec = propMaxRestoreBytesPerSec.Value, MaxSnapshotBytesPerSec = propMaxSnapshotBytesPerSec.Value, Readonly = propReadonly.Value @@ -142,9 +126,7 @@ public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clien writer.WriteProperty(options, PropClient, value.Client, null, null); writer.WriteProperty(options, PropCompress, value.Compress, null, null); writer.WriteProperty(options, PropContainer, value.Container, null, null); - writer.WriteProperty(options, PropDeleteObjectsMaxSize, value.DeleteObjectsMaxSize, null, null); writer.WriteProperty(options, PropLocationMode, value.LocationMode, null, null); - writer.WriteProperty(options, PropMaxConcurrentBatchDeletes, value.MaxConcurrentBatchDeletes, null, null); writer.WriteProperty(options, PropMaxRestoreBytesPerSec, value.MaxRestoreBytesPerSec, null, null); writer.WriteProperty(options, PropMaxSnapshotBytesPerSec, value.MaxSnapshotBytesPerSec, null, null); writer.WriteProperty(options, PropReadonly, value.Readonly, null, null); @@ -171,109 +153,14 @@ internal AzureRepositorySettings(Elastic.Clients.Elasticsearch.Serialization.Jso _ = sentinel; } - /// - /// - /// The path to the repository data within the container. - /// It defaults to the root directory. - /// - /// - /// NOTE: Don't set base_path when configuring a snapshot repository for Elastic Cloud Enterprise. - /// Elastic Cloud Enterprise automatically generates the base_path for each deployment so that multiple deployments can share the same bucket. - /// - /// public string? BasePath { get; set; } - - /// - /// - /// Big files can be broken down into multiple smaller blobs in the blob store during snapshotting. - /// It is not recommended to change this value from its default unless there is an explicit reason for limiting the size of blobs in the repository. - /// Setting a value lower than the default can result in an increased number of API calls to the blob store during snapshot create and restore operations compared to using the default value and thus make both operations slower and more costly. - /// Specify the chunk size as a byte unit, for example: 10MB, 5KB, 500B. - /// The default varies by repository type. - /// - /// public Elastic.Clients.Elasticsearch.ByteSize? ChunkSize { get; set; } - - /// - /// - /// The name of the Azure repository client to use. - /// - /// public string? Client { get; set; } - - /// - /// - /// When set to true, metadata files are stored in compressed format. - /// This setting doesn't affect index files that are already compressed by default. - /// - /// public bool? Compress { get; set; } - - /// - /// - /// The Azure container. - /// - /// public string? Container { get; set; } - - /// - /// - /// The maxmimum batch size, between 1 and 256, used for BlobBatch requests. - /// Defaults to 256 which is the maximum number supported by the Azure blob batch API. - /// - /// - public int? DeleteObjectsMaxSize { get; set; } - - /// - /// - /// Either primary_only or secondary_only. - /// Note that if you set it to secondary_only, it will force readonly to true. - /// - /// public string? LocationMode { get; set; } - - /// - /// - /// The maximum number of concurrent batch delete requests that will be submitted for any individual bulk delete with BlobBatch. - /// Note that the effective number of concurrent deletes is further limited by the Azure client connection and event loop thread limits. - /// Defaults to 10, minimum is 1, maximum is 100. - /// - /// - public int? MaxConcurrentBatchDeletes { get; set; } - - /// - /// - /// The maximum snapshot restore rate per node. - /// It defaults to unlimited. - /// Note that restores are also throttled through recovery settings. - /// - /// public Elastic.Clients.Elasticsearch.ByteSize? MaxRestoreBytesPerSec { get; set; } - - /// - /// - /// The maximum snapshot creation rate per node. - /// It defaults to 40mb per second. - /// Note that if the recovery settings for managed services are set, then it defaults to unlimited, and the rate is additionally throttled through recovery settings. - /// - /// public Elastic.Clients.Elasticsearch.ByteSize? MaxSnapshotBytesPerSec { get; set; } - - /// - /// - /// If true, the repository is read-only. - /// The cluster can retrieve and restore snapshots from the repository but not write to the repository or create snapshots in it. - /// - /// - /// Only a cluster with write access can create snapshots in the repository. - /// All other clusters connected to the repository should have the readonly parameter set to true. - /// If false, the cluster can write to the repository and create snapshots in it. - /// - /// - /// IMPORTANT: If you register the same snapshot repository with multiple clusters, only one cluster should have write access to the repository. - /// Having multiple clusters write to the repository at the same time risks corrupting the contents of the repository. - /// - /// public bool? Readonly { get; set; } } @@ -296,190 +183,72 @@ public AzureRepositorySettingsDescriptor() public static explicit operator Elastic.Clients.Elasticsearch.Snapshot.AzureRepositorySettingsDescriptor(Elastic.Clients.Elasticsearch.Snapshot.AzureRepositorySettings instance) => new Elastic.Clients.Elasticsearch.Snapshot.AzureRepositorySettingsDescriptor(instance); public static implicit operator Elastic.Clients.Elasticsearch.Snapshot.AzureRepositorySettings(Elastic.Clients.Elasticsearch.Snapshot.AzureRepositorySettingsDescriptor descriptor) => descriptor.Instance; - /// - /// - /// The path to the repository data within the container. - /// It defaults to the root directory. - /// - /// - /// NOTE: Don't set base_path when configuring a snapshot repository for Elastic Cloud Enterprise. - /// Elastic Cloud Enterprise automatically generates the base_path for each deployment so that multiple deployments can share the same bucket. - /// - /// public Elastic.Clients.Elasticsearch.Snapshot.AzureRepositorySettingsDescriptor BasePath(string? value) { Instance.BasePath = value; return this; } - /// - /// - /// Big files can be broken down into multiple smaller blobs in the blob store during snapshotting. - /// It is not recommended to change this value from its default unless there is an explicit reason for limiting the size of blobs in the repository. - /// Setting a value lower than the default can result in an increased number of API calls to the blob store during snapshot create and restore operations compared to using the default value and thus make both operations slower and more costly. - /// Specify the chunk size as a byte unit, for example: 10MB, 5KB, 500B. - /// The default varies by repository type. - /// - /// public Elastic.Clients.Elasticsearch.Snapshot.AzureRepositorySettingsDescriptor ChunkSize(Elastic.Clients.Elasticsearch.ByteSize? value) { Instance.ChunkSize = value; return this; } - /// - /// - /// Big files can be broken down into multiple smaller blobs in the blob store during snapshotting. - /// It is not recommended to change this value from its default unless there is an explicit reason for limiting the size of blobs in the repository. - /// Setting a value lower than the default can result in an increased number of API calls to the blob store during snapshot create and restore operations compared to using the default value and thus make both operations slower and more costly. - /// Specify the chunk size as a byte unit, for example: 10MB, 5KB, 500B. - /// The default varies by repository type. - /// - /// public Elastic.Clients.Elasticsearch.Snapshot.AzureRepositorySettingsDescriptor ChunkSize(System.Func action) { Instance.ChunkSize = Elastic.Clients.Elasticsearch.ByteSizeFactory.Build(action); return this; } - /// - /// - /// The name of the Azure repository client to use. - /// - /// public Elastic.Clients.Elasticsearch.Snapshot.AzureRepositorySettingsDescriptor Client(string? value) { Instance.Client = value; return this; } - /// - /// - /// When set to true, metadata files are stored in compressed format. - /// This setting doesn't affect index files that are already compressed by default. - /// - /// public Elastic.Clients.Elasticsearch.Snapshot.AzureRepositorySettingsDescriptor Compress(bool? value = true) { Instance.Compress = value; return this; } - /// - /// - /// The Azure container. - /// - /// public Elastic.Clients.Elasticsearch.Snapshot.AzureRepositorySettingsDescriptor Container(string? value) { Instance.Container = value; return this; } - /// - /// - /// The maxmimum batch size, between 1 and 256, used for BlobBatch requests. - /// Defaults to 256 which is the maximum number supported by the Azure blob batch API. - /// - /// - public Elastic.Clients.Elasticsearch.Snapshot.AzureRepositorySettingsDescriptor DeleteObjectsMaxSize(int? value) - { - Instance.DeleteObjectsMaxSize = value; - return this; - } - - /// - /// - /// Either primary_only or secondary_only. - /// Note that if you set it to secondary_only, it will force readonly to true. - /// - /// public Elastic.Clients.Elasticsearch.Snapshot.AzureRepositorySettingsDescriptor LocationMode(string? value) { Instance.LocationMode = value; return this; } - /// - /// - /// The maximum number of concurrent batch delete requests that will be submitted for any individual bulk delete with BlobBatch. - /// Note that the effective number of concurrent deletes is further limited by the Azure client connection and event loop thread limits. - /// Defaults to 10, minimum is 1, maximum is 100. - /// - /// - public Elastic.Clients.Elasticsearch.Snapshot.AzureRepositorySettingsDescriptor MaxConcurrentBatchDeletes(int? value) - { - Instance.MaxConcurrentBatchDeletes = value; - return this; - } - - /// - /// - /// The maximum snapshot restore rate per node. - /// It defaults to unlimited. - /// Note that restores are also throttled through recovery settings. - /// - /// public Elastic.Clients.Elasticsearch.Snapshot.AzureRepositorySettingsDescriptor MaxRestoreBytesPerSec(Elastic.Clients.Elasticsearch.ByteSize? value) { Instance.MaxRestoreBytesPerSec = value; return this; } - /// - /// - /// The maximum snapshot restore rate per node. - /// It defaults to unlimited. - /// Note that restores are also throttled through recovery settings. - /// - /// public Elastic.Clients.Elasticsearch.Snapshot.AzureRepositorySettingsDescriptor MaxRestoreBytesPerSec(System.Func action) { Instance.MaxRestoreBytesPerSec = Elastic.Clients.Elasticsearch.ByteSizeFactory.Build(action); return this; } - /// - /// - /// The maximum snapshot creation rate per node. - /// It defaults to 40mb per second. - /// Note that if the recovery settings for managed services are set, then it defaults to unlimited, and the rate is additionally throttled through recovery settings. - /// - /// public Elastic.Clients.Elasticsearch.Snapshot.AzureRepositorySettingsDescriptor MaxSnapshotBytesPerSec(Elastic.Clients.Elasticsearch.ByteSize? value) { Instance.MaxSnapshotBytesPerSec = value; return this; } - /// - /// - /// The maximum snapshot creation rate per node. - /// It defaults to 40mb per second. - /// Note that if the recovery settings for managed services are set, then it defaults to unlimited, and the rate is additionally throttled through recovery settings. - /// - /// public Elastic.Clients.Elasticsearch.Snapshot.AzureRepositorySettingsDescriptor MaxSnapshotBytesPerSec(System.Func action) { Instance.MaxSnapshotBytesPerSec = Elastic.Clients.Elasticsearch.ByteSizeFactory.Build(action); return this; } - /// - /// - /// If true, the repository is read-only. - /// The cluster can retrieve and restore snapshots from the repository but not write to the repository or create snapshots in it. - /// - /// - /// Only a cluster with write access can create snapshots in the repository. - /// All other clusters connected to the repository should have the readonly parameter set to true. - /// If false, the cluster can write to the repository and create snapshots in it. - /// - /// - /// IMPORTANT: If you register the same snapshot repository with multiple clusters, only one cluster should have write access to the repository. - /// Having multiple clusters write to the repository at the same time risks corrupting the contents of the repository. - /// - /// public Elastic.Clients.Elasticsearch.Snapshot.AzureRepositorySettingsDescriptor Readonly(bool? value = true) { Instance.Readonly = value; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Snapshot/CleanupRepositoryResults.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Snapshot/CleanupRepositoryResults.g.cs index c4a4c4f8259..e39b1f04762 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Snapshot/CleanupRepositoryResults.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Snapshot/CleanupRepositoryResults.g.cs @@ -99,8 +99,7 @@ internal CleanupRepositoryResults(Elastic.Clients.Elasticsearch.Serialization.Js /// /// - /// The number of binary large objects (blobs) removed from the snapshot repository during cleanup operations. - /// A non-zero value indicates that unreferenced blobs were found and subsequently cleaned up. + /// Number of binary large objects (blobs) removed during cleanup. /// /// public @@ -111,7 +110,7 @@ internal CleanupRepositoryResults(Elastic.Clients.Elasticsearch.Serialization.Js /// /// - /// The number of bytes freed by cleanup operations. + /// Number of bytes freed by cleanup operations. /// /// public diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Snapshot/CompactNodeInfo.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Snapshot/CompactNodeInfo.g.cs index 1857a0795b8..8d768a100ef 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Snapshot/CompactNodeInfo.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Snapshot/CompactNodeInfo.g.cs @@ -87,13 +87,6 @@ internal CompactNodeInfo(Elastic.Clients.Elasticsearch.Serialization.JsonConstru _ = sentinel; } - /// - /// - /// A human-readable name for the node. - /// You can set this name using the node.name property in elasticsearch.yml. - /// The default value is the machine's hostname. - /// - /// public #if NET7_0_OR_GREATER required diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Snapshot/GcsRepository.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Snapshot/GcsRepository.g.cs index 64480c2e6bf..e823351ead1 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Snapshot/GcsRepository.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Snapshot/GcsRepository.g.cs @@ -104,22 +104,12 @@ internal GcsRepository(Elastic.Clients.Elasticsearch.Serialization.JsonConstruct _ = sentinel; } - /// - /// - /// The repository settings. - /// - /// public #if NET7_0_OR_GREATER required #endif Elastic.Clients.Elasticsearch.Snapshot.GcsRepositorySettings Settings { get; set; } - /// - /// - /// The Google Cloud Storage repository type. - /// - /// public string Type => "gcs"; public string? Uuid { get; set; } @@ -144,22 +134,12 @@ public GcsRepositoryDescriptor() public static explicit operator Elastic.Clients.Elasticsearch.Snapshot.GcsRepositoryDescriptor(Elastic.Clients.Elasticsearch.Snapshot.GcsRepository instance) => new Elastic.Clients.Elasticsearch.Snapshot.GcsRepositoryDescriptor(instance); public static implicit operator Elastic.Clients.Elasticsearch.Snapshot.GcsRepository(Elastic.Clients.Elasticsearch.Snapshot.GcsRepositoryDescriptor descriptor) => descriptor.Instance; - /// - /// - /// The repository settings. - /// - /// public Elastic.Clients.Elasticsearch.Snapshot.GcsRepositoryDescriptor Settings(Elastic.Clients.Elasticsearch.Snapshot.GcsRepositorySettings value) { Instance.Settings = value; return this; } - /// - /// - /// The repository settings. - /// - /// public Elastic.Clients.Elasticsearch.Snapshot.GcsRepositoryDescriptor Settings(System.Action action) { Instance.Settings = Elastic.Clients.Elasticsearch.Snapshot.GcsRepositorySettingsDescriptor.Build(action); diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Snapshot/GcsRepositorySettings.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Snapshot/GcsRepositorySettings.g.cs index 0c74d9ee65b..896382221ac 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Snapshot/GcsRepositorySettings.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Snapshot/GcsRepositorySettings.g.cs @@ -106,10 +106,7 @@ public override Elastic.Clients.Elasticsearch.Snapshot.GcsRepositorySettings Rea reader.ValidateToken(System.Text.Json.JsonTokenType.EndObject); return new Elastic.Clients.Elasticsearch.Snapshot.GcsRepositorySettings(Elastic.Clients.Elasticsearch.Serialization.JsonConstructorSentinel.Instance) { -#pragma warning disable CS0618 - ApplicationName = propApplicationName.Value -#pragma warning restore CS0618 -, + ApplicationName = propApplicationName.Value, BasePath = propBasePath.Value, Bucket = propBucket.Value, ChunkSize = propChunkSize.Value, @@ -124,10 +121,7 @@ public override Elastic.Clients.Elasticsearch.Snapshot.GcsRepositorySettings Rea public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clients.Elasticsearch.Snapshot.GcsRepositorySettings value, System.Text.Json.JsonSerializerOptions options) { writer.WriteStartObject(); -#pragma warning disable CS0618 - writer.WriteProperty(options, PropApplicationName, value.ApplicationName, null, null) -#pragma warning restore CS0618 - ; + writer.WriteProperty(options, PropApplicationName, value.ApplicationName, null, null); writer.WriteProperty(options, PropBasePath, value.BasePath, null, null); writer.WriteProperty(options, PropBucket, value.Bucket, null, null); writer.WriteProperty(options, PropChunkSize, value.ChunkSize, null, null); @@ -165,98 +159,18 @@ internal GcsRepositorySettings(Elastic.Clients.Elasticsearch.Serialization.JsonC _ = sentinel; } - /// - /// - /// The name used by the client when it uses the Google Cloud Storage service. - /// - /// - [System.Obsolete("Deprecated in '6.3.0'.")] public string? ApplicationName { get; set; } - - /// - /// - /// The path to the repository data within the bucket. - /// It defaults to the root of the bucket. - /// - /// - /// NOTE: Don't set base_path when configuring a snapshot repository for Elastic Cloud Enterprise. - /// Elastic Cloud Enterprise automatically generates the base_path for each deployment so that multiple deployments can share the same bucket. - /// - /// public string? BasePath { get; set; } - - /// - /// - /// The name of the bucket to be used for snapshots. - /// - /// public #if NET7_0_OR_GREATER required #endif string Bucket { get; set; } - - /// - /// - /// Big files can be broken down into multiple smaller blobs in the blob store during snapshotting. - /// It is not recommended to change this value from its default unless there is an explicit reason for limiting the size of blobs in the repository. - /// Setting a value lower than the default can result in an increased number of API calls to the blob store during snapshot create and restore operations compared to using the default value and thus make both operations slower and more costly. - /// Specify the chunk size as a byte unit, for example: 10MB, 5KB, 500B. - /// The default varies by repository type. - /// - /// public Elastic.Clients.Elasticsearch.ByteSize? ChunkSize { get; set; } - - /// - /// - /// The name of the client to use to connect to Google Cloud Storage. - /// - /// public string? Client { get; set; } - - /// - /// - /// When set to true, metadata files are stored in compressed format. - /// This setting doesn't affect index files that are already compressed by default. - /// - /// public bool? Compress { get; set; } - - /// - /// - /// The maximum snapshot restore rate per node. - /// It defaults to unlimited. - /// Note that restores are also throttled through recovery settings. - /// - /// public Elastic.Clients.Elasticsearch.ByteSize? MaxRestoreBytesPerSec { get; set; } - - /// - /// - /// The maximum snapshot creation rate per node. - /// It defaults to 40mb per second. - /// Note that if the recovery settings for managed services are set, then it defaults to unlimited, and the rate is additionally throttled through recovery settings. - /// - /// public Elastic.Clients.Elasticsearch.ByteSize? MaxSnapshotBytesPerSec { get; set; } - - /// - /// - /// If true, the repository is read-only. - /// The cluster can retrieve and restore snapshots from the repository but not write to the repository or create snapshots in it. - /// - /// - /// Only a cluster with write access can create snapshots in the repository. - /// All other clusters connected to the repository should have the readonly parameter set to true. - /// - /// - /// If false, the cluster can write to the repository and create snapshots in it. - /// - /// - /// IMPORTANT: If you register the same snapshot repository with multiple clusters, only one cluster should have write access to the repository. - /// Having multiple clusters write to the repository at the same time risks corrupting the contents of the repository. - /// - /// public bool? Readonly { get; set; } } @@ -279,167 +193,72 @@ public GcsRepositorySettingsDescriptor() public static explicit operator Elastic.Clients.Elasticsearch.Snapshot.GcsRepositorySettingsDescriptor(Elastic.Clients.Elasticsearch.Snapshot.GcsRepositorySettings instance) => new Elastic.Clients.Elasticsearch.Snapshot.GcsRepositorySettingsDescriptor(instance); public static implicit operator Elastic.Clients.Elasticsearch.Snapshot.GcsRepositorySettings(Elastic.Clients.Elasticsearch.Snapshot.GcsRepositorySettingsDescriptor descriptor) => descriptor.Instance; - [System.Obsolete("Deprecated in '6.3.0'.")] - /// - /// - /// The name used by the client when it uses the Google Cloud Storage service. - /// - /// public Elastic.Clients.Elasticsearch.Snapshot.GcsRepositorySettingsDescriptor ApplicationName(string? value) { Instance.ApplicationName = value; return this; } - /// - /// - /// The path to the repository data within the bucket. - /// It defaults to the root of the bucket. - /// - /// - /// NOTE: Don't set base_path when configuring a snapshot repository for Elastic Cloud Enterprise. - /// Elastic Cloud Enterprise automatically generates the base_path for each deployment so that multiple deployments can share the same bucket. - /// - /// public Elastic.Clients.Elasticsearch.Snapshot.GcsRepositorySettingsDescriptor BasePath(string? value) { Instance.BasePath = value; return this; } - /// - /// - /// The name of the bucket to be used for snapshots. - /// - /// public Elastic.Clients.Elasticsearch.Snapshot.GcsRepositorySettingsDescriptor Bucket(string value) { Instance.Bucket = value; return this; } - /// - /// - /// Big files can be broken down into multiple smaller blobs in the blob store during snapshotting. - /// It is not recommended to change this value from its default unless there is an explicit reason for limiting the size of blobs in the repository. - /// Setting a value lower than the default can result in an increased number of API calls to the blob store during snapshot create and restore operations compared to using the default value and thus make both operations slower and more costly. - /// Specify the chunk size as a byte unit, for example: 10MB, 5KB, 500B. - /// The default varies by repository type. - /// - /// public Elastic.Clients.Elasticsearch.Snapshot.GcsRepositorySettingsDescriptor ChunkSize(Elastic.Clients.Elasticsearch.ByteSize? value) { Instance.ChunkSize = value; return this; } - /// - /// - /// Big files can be broken down into multiple smaller blobs in the blob store during snapshotting. - /// It is not recommended to change this value from its default unless there is an explicit reason for limiting the size of blobs in the repository. - /// Setting a value lower than the default can result in an increased number of API calls to the blob store during snapshot create and restore operations compared to using the default value and thus make both operations slower and more costly. - /// Specify the chunk size as a byte unit, for example: 10MB, 5KB, 500B. - /// The default varies by repository type. - /// - /// public Elastic.Clients.Elasticsearch.Snapshot.GcsRepositorySettingsDescriptor ChunkSize(System.Func action) { Instance.ChunkSize = Elastic.Clients.Elasticsearch.ByteSizeFactory.Build(action); return this; } - /// - /// - /// The name of the client to use to connect to Google Cloud Storage. - /// - /// public Elastic.Clients.Elasticsearch.Snapshot.GcsRepositorySettingsDescriptor Client(string? value) { Instance.Client = value; return this; } - /// - /// - /// When set to true, metadata files are stored in compressed format. - /// This setting doesn't affect index files that are already compressed by default. - /// - /// public Elastic.Clients.Elasticsearch.Snapshot.GcsRepositorySettingsDescriptor Compress(bool? value = true) { Instance.Compress = value; return this; } - /// - /// - /// The maximum snapshot restore rate per node. - /// It defaults to unlimited. - /// Note that restores are also throttled through recovery settings. - /// - /// public Elastic.Clients.Elasticsearch.Snapshot.GcsRepositorySettingsDescriptor MaxRestoreBytesPerSec(Elastic.Clients.Elasticsearch.ByteSize? value) { Instance.MaxRestoreBytesPerSec = value; return this; } - /// - /// - /// The maximum snapshot restore rate per node. - /// It defaults to unlimited. - /// Note that restores are also throttled through recovery settings. - /// - /// public Elastic.Clients.Elasticsearch.Snapshot.GcsRepositorySettingsDescriptor MaxRestoreBytesPerSec(System.Func action) { Instance.MaxRestoreBytesPerSec = Elastic.Clients.Elasticsearch.ByteSizeFactory.Build(action); return this; } - /// - /// - /// The maximum snapshot creation rate per node. - /// It defaults to 40mb per second. - /// Note that if the recovery settings for managed services are set, then it defaults to unlimited, and the rate is additionally throttled through recovery settings. - /// - /// public Elastic.Clients.Elasticsearch.Snapshot.GcsRepositorySettingsDescriptor MaxSnapshotBytesPerSec(Elastic.Clients.Elasticsearch.ByteSize? value) { Instance.MaxSnapshotBytesPerSec = value; return this; } - /// - /// - /// The maximum snapshot creation rate per node. - /// It defaults to 40mb per second. - /// Note that if the recovery settings for managed services are set, then it defaults to unlimited, and the rate is additionally throttled through recovery settings. - /// - /// public Elastic.Clients.Elasticsearch.Snapshot.GcsRepositorySettingsDescriptor MaxSnapshotBytesPerSec(System.Func action) { Instance.MaxSnapshotBytesPerSec = Elastic.Clients.Elasticsearch.ByteSizeFactory.Build(action); return this; } - /// - /// - /// If true, the repository is read-only. - /// The cluster can retrieve and restore snapshots from the repository but not write to the repository or create snapshots in it. - /// - /// - /// Only a cluster with write access can create snapshots in the repository. - /// All other clusters connected to the repository should have the readonly parameter set to true. - /// - /// - /// If false, the cluster can write to the repository and create snapshots in it. - /// - /// - /// IMPORTANT: If you register the same snapshot repository with multiple clusters, only one cluster should have write access to the repository. - /// Having multiple clusters write to the repository at the same time risks corrupting the contents of the repository. - /// - /// public Elastic.Clients.Elasticsearch.Snapshot.GcsRepositorySettingsDescriptor Readonly(bool? value = true) { Instance.Readonly = value; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Snapshot/ReadOnlyUrlRepository.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Snapshot/ReadOnlyUrlRepository.g.cs index e8f41f8f1f3..ded9ab4bbaf 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Snapshot/ReadOnlyUrlRepository.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Snapshot/ReadOnlyUrlRepository.g.cs @@ -104,22 +104,12 @@ internal ReadOnlyUrlRepository(Elastic.Clients.Elasticsearch.Serialization.JsonC _ = sentinel; } - /// - /// - /// The repository settings. - /// - /// public #if NET7_0_OR_GREATER required #endif Elastic.Clients.Elasticsearch.Snapshot.ReadOnlyUrlRepositorySettings Settings { get; set; } - /// - /// - /// The read-only URL repository type. - /// - /// public string Type => "url"; public string? Uuid { get; set; } @@ -144,22 +134,12 @@ public ReadOnlyUrlRepositoryDescriptor() public static explicit operator Elastic.Clients.Elasticsearch.Snapshot.ReadOnlyUrlRepositoryDescriptor(Elastic.Clients.Elasticsearch.Snapshot.ReadOnlyUrlRepository instance) => new Elastic.Clients.Elasticsearch.Snapshot.ReadOnlyUrlRepositoryDescriptor(instance); public static implicit operator Elastic.Clients.Elasticsearch.Snapshot.ReadOnlyUrlRepository(Elastic.Clients.Elasticsearch.Snapshot.ReadOnlyUrlRepositoryDescriptor descriptor) => descriptor.Instance; - /// - /// - /// The repository settings. - /// - /// public Elastic.Clients.Elasticsearch.Snapshot.ReadOnlyUrlRepositoryDescriptor Settings(Elastic.Clients.Elasticsearch.Snapshot.ReadOnlyUrlRepositorySettings value) { Instance.Settings = value; return this; } - /// - /// - /// The repository settings. - /// - /// public Elastic.Clients.Elasticsearch.Snapshot.ReadOnlyUrlRepositoryDescriptor Settings(System.Action action) { Instance.Settings = Elastic.Clients.Elasticsearch.Snapshot.ReadOnlyUrlRepositorySettingsDescriptor.Build(action); diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Snapshot/ReadOnlyUrlRepositorySettings.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Snapshot/ReadOnlyUrlRepositorySettings.g.cs index 49768335a28..803585f7d0a 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Snapshot/ReadOnlyUrlRepositorySettings.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Snapshot/ReadOnlyUrlRepositorySettings.g.cs @@ -150,107 +150,13 @@ internal ReadOnlyUrlRepositorySettings(Elastic.Clients.Elasticsearch.Serializati _ = sentinel; } - /// - /// - /// Big files can be broken down into multiple smaller blobs in the blob store during snapshotting. - /// It is not recommended to change this value from its default unless there is an explicit reason for limiting the size of blobs in the repository. - /// Setting a value lower than the default can result in an increased number of API calls to the blob store during snapshot create and restore operations compared to using the default value and thus make both operations slower and more costly. - /// Specify the chunk size as a byte unit, for example: 10MB, 5KB, 500B. - /// The default varies by repository type. - /// - /// public Elastic.Clients.Elasticsearch.ByteSize? ChunkSize { get; set; } - - /// - /// - /// When set to true, metadata files are stored in compressed format. - /// This setting doesn't affect index files that are already compressed by default. - /// - /// public bool? Compress { get; set; } - - /// - /// - /// The maximum number of retries for HTTP and HTTPS URLs. - /// - /// public int? HttpMaxRetries { get; set; } - - /// - /// - /// The maximum wait time for data transfers over a connection. - /// - /// public Elastic.Clients.Elasticsearch.Duration? HttpSocketTimeout { get; set; } - - /// - /// - /// The maximum number of snapshots the repository can contain. - /// The default is Integer.MAX_VALUE, which is 2^31-1 or 2147483647. - /// - /// public int? MaxNumberOfSnapshots { get; set; } - - /// - /// - /// The maximum snapshot restore rate per node. - /// It defaults to unlimited. - /// Note that restores are also throttled through recovery settings. - /// - /// public Elastic.Clients.Elasticsearch.ByteSize? MaxRestoreBytesPerSec { get; set; } - - /// - /// - /// The maximum snapshot creation rate per node. - /// It defaults to 40mb per second. - /// Note that if the recovery settings for managed services are set, then it defaults to unlimited, and the rate is additionally throttled through recovery settings. - /// - /// public Elastic.Clients.Elasticsearch.ByteSize? MaxSnapshotBytesPerSec { get; set; } - - /// - /// - /// The URL location of the root of the shared filesystem repository. - /// The following protocols are supported: - /// - /// - /// - /// - /// file - /// - /// - /// - /// - /// ftp - /// - /// - /// - /// - /// http - /// - /// - /// - /// - /// https - /// - /// - /// - /// - /// jar - /// - /// - /// - /// - /// URLs using the HTTP, HTTPS, or FTP protocols must be explicitly allowed with the repositories.url.allowed_urls cluster setting. - /// This setting supports wildcards in the place of a host, path, query, or fragment in the URL. - /// - /// - /// URLs using the file protocol must point to the location of a shared filesystem accessible to all master and data nodes in the cluster. - /// This location must be registered in the path.repo setting. - /// You don't need to register URLs using the FTP, HTTP, HTTPS, or JAR protocols in the path.repo setting. - /// - /// public #if NET7_0_OR_GREATER required @@ -277,176 +183,66 @@ public ReadOnlyUrlRepositorySettingsDescriptor() public static explicit operator Elastic.Clients.Elasticsearch.Snapshot.ReadOnlyUrlRepositorySettingsDescriptor(Elastic.Clients.Elasticsearch.Snapshot.ReadOnlyUrlRepositorySettings instance) => new Elastic.Clients.Elasticsearch.Snapshot.ReadOnlyUrlRepositorySettingsDescriptor(instance); public static implicit operator Elastic.Clients.Elasticsearch.Snapshot.ReadOnlyUrlRepositorySettings(Elastic.Clients.Elasticsearch.Snapshot.ReadOnlyUrlRepositorySettingsDescriptor descriptor) => descriptor.Instance; - /// - /// - /// Big files can be broken down into multiple smaller blobs in the blob store during snapshotting. - /// It is not recommended to change this value from its default unless there is an explicit reason for limiting the size of blobs in the repository. - /// Setting a value lower than the default can result in an increased number of API calls to the blob store during snapshot create and restore operations compared to using the default value and thus make both operations slower and more costly. - /// Specify the chunk size as a byte unit, for example: 10MB, 5KB, 500B. - /// The default varies by repository type. - /// - /// public Elastic.Clients.Elasticsearch.Snapshot.ReadOnlyUrlRepositorySettingsDescriptor ChunkSize(Elastic.Clients.Elasticsearch.ByteSize? value) { Instance.ChunkSize = value; return this; } - /// - /// - /// Big files can be broken down into multiple smaller blobs in the blob store during snapshotting. - /// It is not recommended to change this value from its default unless there is an explicit reason for limiting the size of blobs in the repository. - /// Setting a value lower than the default can result in an increased number of API calls to the blob store during snapshot create and restore operations compared to using the default value and thus make both operations slower and more costly. - /// Specify the chunk size as a byte unit, for example: 10MB, 5KB, 500B. - /// The default varies by repository type. - /// - /// public Elastic.Clients.Elasticsearch.Snapshot.ReadOnlyUrlRepositorySettingsDescriptor ChunkSize(System.Func action) { Instance.ChunkSize = Elastic.Clients.Elasticsearch.ByteSizeFactory.Build(action); return this; } - /// - /// - /// When set to true, metadata files are stored in compressed format. - /// This setting doesn't affect index files that are already compressed by default. - /// - /// public Elastic.Clients.Elasticsearch.Snapshot.ReadOnlyUrlRepositorySettingsDescriptor Compress(bool? value = true) { Instance.Compress = value; return this; } - /// - /// - /// The maximum number of retries for HTTP and HTTPS URLs. - /// - /// public Elastic.Clients.Elasticsearch.Snapshot.ReadOnlyUrlRepositorySettingsDescriptor HttpMaxRetries(int? value) { Instance.HttpMaxRetries = value; return this; } - /// - /// - /// The maximum wait time for data transfers over a connection. - /// - /// public Elastic.Clients.Elasticsearch.Snapshot.ReadOnlyUrlRepositorySettingsDescriptor HttpSocketTimeout(Elastic.Clients.Elasticsearch.Duration? value) { Instance.HttpSocketTimeout = value; return this; } - /// - /// - /// The maximum number of snapshots the repository can contain. - /// The default is Integer.MAX_VALUE, which is 2^31-1 or 2147483647. - /// - /// public Elastic.Clients.Elasticsearch.Snapshot.ReadOnlyUrlRepositorySettingsDescriptor MaxNumberOfSnapshots(int? value) { Instance.MaxNumberOfSnapshots = value; return this; } - /// - /// - /// The maximum snapshot restore rate per node. - /// It defaults to unlimited. - /// Note that restores are also throttled through recovery settings. - /// - /// public Elastic.Clients.Elasticsearch.Snapshot.ReadOnlyUrlRepositorySettingsDescriptor MaxRestoreBytesPerSec(Elastic.Clients.Elasticsearch.ByteSize? value) { Instance.MaxRestoreBytesPerSec = value; return this; } - /// - /// - /// The maximum snapshot restore rate per node. - /// It defaults to unlimited. - /// Note that restores are also throttled through recovery settings. - /// - /// public Elastic.Clients.Elasticsearch.Snapshot.ReadOnlyUrlRepositorySettingsDescriptor MaxRestoreBytesPerSec(System.Func action) { Instance.MaxRestoreBytesPerSec = Elastic.Clients.Elasticsearch.ByteSizeFactory.Build(action); return this; } - /// - /// - /// The maximum snapshot creation rate per node. - /// It defaults to 40mb per second. - /// Note that if the recovery settings for managed services are set, then it defaults to unlimited, and the rate is additionally throttled through recovery settings. - /// - /// public Elastic.Clients.Elasticsearch.Snapshot.ReadOnlyUrlRepositorySettingsDescriptor MaxSnapshotBytesPerSec(Elastic.Clients.Elasticsearch.ByteSize? value) { Instance.MaxSnapshotBytesPerSec = value; return this; } - /// - /// - /// The maximum snapshot creation rate per node. - /// It defaults to 40mb per second. - /// Note that if the recovery settings for managed services are set, then it defaults to unlimited, and the rate is additionally throttled through recovery settings. - /// - /// public Elastic.Clients.Elasticsearch.Snapshot.ReadOnlyUrlRepositorySettingsDescriptor MaxSnapshotBytesPerSec(System.Func action) { Instance.MaxSnapshotBytesPerSec = Elastic.Clients.Elasticsearch.ByteSizeFactory.Build(action); return this; } - /// - /// - /// The URL location of the root of the shared filesystem repository. - /// The following protocols are supported: - /// - /// - /// - /// - /// file - /// - /// - /// - /// - /// ftp - /// - /// - /// - /// - /// http - /// - /// - /// - /// - /// https - /// - /// - /// - /// - /// jar - /// - /// - /// - /// - /// URLs using the HTTP, HTTPS, or FTP protocols must be explicitly allowed with the repositories.url.allowed_urls cluster setting. - /// This setting supports wildcards in the place of a host, path, query, or fragment in the URL. - /// - /// - /// URLs using the file protocol must point to the location of a shared filesystem accessible to all master and data nodes in the cluster. - /// This location must be registered in the path.repo setting. - /// You don't need to register URLs using the FTP, HTTP, HTTPS, or JAR protocols in the path.repo setting. - /// - /// public Elastic.Clients.Elasticsearch.Snapshot.ReadOnlyUrlRepositorySettingsDescriptor Url(string value) { Instance.Url = value; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Snapshot/Repository.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Snapshot/Repository.g.cs index 7aa9a5f6df3..ac13ffd3cf4 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Snapshot/Repository.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Snapshot/Repository.g.cs @@ -96,12 +96,7 @@ public Elastic.Clients.Elasticsearch.Snapshot.IRepository Azure(Elastic.Clients. return value; } - public Elastic.Clients.Elasticsearch.Snapshot.IRepository Azure() - { - return Elastic.Clients.Elasticsearch.Snapshot.AzureRepositoryDescriptor.Build(null); - } - - public Elastic.Clients.Elasticsearch.Snapshot.IRepository Azure(System.Action? action) + public Elastic.Clients.Elasticsearch.Snapshot.IRepository Azure(System.Action action) { return Elastic.Clients.Elasticsearch.Snapshot.AzureRepositoryDescriptor.Build(action); } diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Snapshot/S3Repository.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Snapshot/S3Repository.g.cs index 971a5957cc6..2e6b17b298e 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Snapshot/S3Repository.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Snapshot/S3Repository.g.cs @@ -104,27 +104,12 @@ internal S3Repository(Elastic.Clients.Elasticsearch.Serialization.JsonConstructo _ = sentinel; } - /// - /// - /// The repository settings. - /// - /// - /// NOTE: In addition to the specified settings, you can also use all non-secure client settings in the repository settings. - /// In this case, the client settings found in the repository settings will be merged with those of the named client used by the repository. - /// Conflicts between client and repository settings are resolved by the repository settings taking precedence over client settings. - /// - /// public #if NET7_0_OR_GREATER required #endif Elastic.Clients.Elasticsearch.Snapshot.S3RepositorySettings Settings { get; set; } - /// - /// - /// The S3 repository type. - /// - /// public string Type => "s3"; public string? Uuid { get; set; } @@ -149,32 +134,12 @@ public S3RepositoryDescriptor() public static explicit operator Elastic.Clients.Elasticsearch.Snapshot.S3RepositoryDescriptor(Elastic.Clients.Elasticsearch.Snapshot.S3Repository instance) => new Elastic.Clients.Elasticsearch.Snapshot.S3RepositoryDescriptor(instance); public static implicit operator Elastic.Clients.Elasticsearch.Snapshot.S3Repository(Elastic.Clients.Elasticsearch.Snapshot.S3RepositoryDescriptor descriptor) => descriptor.Instance; - /// - /// - /// The repository settings. - /// - /// - /// NOTE: In addition to the specified settings, you can also use all non-secure client settings in the repository settings. - /// In this case, the client settings found in the repository settings will be merged with those of the named client used by the repository. - /// Conflicts between client and repository settings are resolved by the repository settings taking precedence over client settings. - /// - /// public Elastic.Clients.Elasticsearch.Snapshot.S3RepositoryDescriptor Settings(Elastic.Clients.Elasticsearch.Snapshot.S3RepositorySettings value) { Instance.Settings = value; return this; } - /// - /// - /// The repository settings. - /// - /// - /// NOTE: In addition to the specified settings, you can also use all non-secure client settings in the repository settings. - /// In this case, the client settings found in the repository settings will be merged with those of the named client used by the repository. - /// Conflicts between client and repository settings are resolved by the repository settings taking precedence over client settings. - /// - /// public Elastic.Clients.Elasticsearch.Snapshot.S3RepositoryDescriptor Settings(System.Action action) { Instance.Settings = Elastic.Clients.Elasticsearch.Snapshot.S3RepositorySettingsDescriptor.Build(action); diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Snapshot/S3RepositorySettings.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Snapshot/S3RepositorySettings.g.cs index 156f20f0959..e524b08f955 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Snapshot/S3RepositorySettings.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Snapshot/S3RepositorySettings.g.cs @@ -32,18 +32,11 @@ internal sealed partial class S3RepositorySettingsConverter : System.Text.Json.S private static readonly System.Text.Json.JsonEncodedText PropChunkSize = System.Text.Json.JsonEncodedText.Encode("chunk_size"); private static readonly System.Text.Json.JsonEncodedText PropClient = System.Text.Json.JsonEncodedText.Encode("client"); private static readonly System.Text.Json.JsonEncodedText PropCompress = System.Text.Json.JsonEncodedText.Encode("compress"); - private static readonly System.Text.Json.JsonEncodedText PropDeleteObjectsMaxSize = System.Text.Json.JsonEncodedText.Encode("delete_objects_max_size"); - private static readonly System.Text.Json.JsonEncodedText PropGetRegisterRetryDelay = System.Text.Json.JsonEncodedText.Encode("get_register_retry_delay"); - private static readonly System.Text.Json.JsonEncodedText PropMaxMultipartParts = System.Text.Json.JsonEncodedText.Encode("max_multipart_parts"); - private static readonly System.Text.Json.JsonEncodedText PropMaxMultipartUploadCleanupSize = System.Text.Json.JsonEncodedText.Encode("max_multipart_upload_cleanup_size"); private static readonly System.Text.Json.JsonEncodedText PropMaxRestoreBytesPerSec = System.Text.Json.JsonEncodedText.Encode("max_restore_bytes_per_sec"); private static readonly System.Text.Json.JsonEncodedText PropMaxSnapshotBytesPerSec = System.Text.Json.JsonEncodedText.Encode("max_snapshot_bytes_per_sec"); private static readonly System.Text.Json.JsonEncodedText PropReadonly = System.Text.Json.JsonEncodedText.Encode("readonly"); private static readonly System.Text.Json.JsonEncodedText PropServerSideEncryption = System.Text.Json.JsonEncodedText.Encode("server_side_encryption"); private static readonly System.Text.Json.JsonEncodedText PropStorageClass = System.Text.Json.JsonEncodedText.Encode("storage_class"); - private static readonly System.Text.Json.JsonEncodedText PropThrottledDeleteRetryDelayIncrement = System.Text.Json.JsonEncodedText.Encode("throttled_delete_retry.delay_increment"); - private static readonly System.Text.Json.JsonEncodedText PropThrottledDeleteRetryMaximumDelay = System.Text.Json.JsonEncodedText.Encode("throttled_delete_retry.maximum_delay"); - private static readonly System.Text.Json.JsonEncodedText PropThrottledDeleteRetryMaximumNumberOfRetries = System.Text.Json.JsonEncodedText.Encode("throttled_delete_retry.maximum_number_of_retries"); public override Elastic.Clients.Elasticsearch.Snapshot.S3RepositorySettings Read(ref System.Text.Json.Utf8JsonReader reader, System.Type typeToConvert, System.Text.Json.JsonSerializerOptions options) { @@ -55,18 +48,11 @@ public override Elastic.Clients.Elasticsearch.Snapshot.S3RepositorySettings Read LocalJsonValue propChunkSize = default; LocalJsonValue propClient = default; LocalJsonValue propCompress = default; - LocalJsonValue propDeleteObjectsMaxSize = default; - LocalJsonValue propGetRegisterRetryDelay = default; - LocalJsonValue propMaxMultipartParts = default; - LocalJsonValue propMaxMultipartUploadCleanupSize = default; LocalJsonValue propMaxRestoreBytesPerSec = default; LocalJsonValue propMaxSnapshotBytesPerSec = default; LocalJsonValue propReadonly = default; LocalJsonValue propServerSideEncryption = default; LocalJsonValue propStorageClass = default; - LocalJsonValue propThrottledDeleteRetryDelayIncrement = default; - LocalJsonValue propThrottledDeleteRetryMaximumDelay = default; - LocalJsonValue propThrottledDeleteRetryMaximumNumberOfRetries = default; while (reader.Read() && reader.TokenType is System.Text.Json.JsonTokenType.PropertyName) { if (propBasePath.TryReadProperty(ref reader, options, PropBasePath, null)) @@ -104,26 +90,6 @@ public override Elastic.Clients.Elasticsearch.Snapshot.S3RepositorySettings Read continue; } - if (propDeleteObjectsMaxSize.TryReadProperty(ref reader, options, PropDeleteObjectsMaxSize, null)) - { - continue; - } - - if (propGetRegisterRetryDelay.TryReadProperty(ref reader, options, PropGetRegisterRetryDelay, null)) - { - continue; - } - - if (propMaxMultipartParts.TryReadProperty(ref reader, options, PropMaxMultipartParts, null)) - { - continue; - } - - if (propMaxMultipartUploadCleanupSize.TryReadProperty(ref reader, options, PropMaxMultipartUploadCleanupSize, null)) - { - continue; - } - if (propMaxRestoreBytesPerSec.TryReadProperty(ref reader, options, PropMaxRestoreBytesPerSec, null)) { continue; @@ -149,21 +115,6 @@ public override Elastic.Clients.Elasticsearch.Snapshot.S3RepositorySettings Read continue; } - if (propThrottledDeleteRetryDelayIncrement.TryReadProperty(ref reader, options, PropThrottledDeleteRetryDelayIncrement, null)) - { - continue; - } - - if (propThrottledDeleteRetryMaximumDelay.TryReadProperty(ref reader, options, PropThrottledDeleteRetryMaximumDelay, null)) - { - continue; - } - - if (propThrottledDeleteRetryMaximumNumberOfRetries.TryReadProperty(ref reader, options, PropThrottledDeleteRetryMaximumNumberOfRetries, null)) - { - continue; - } - if (options.UnmappedMemberHandling is System.Text.Json.Serialization.JsonUnmappedMemberHandling.Skip) { reader.Skip(); @@ -183,18 +134,11 @@ public override Elastic.Clients.Elasticsearch.Snapshot.S3RepositorySettings Read ChunkSize = propChunkSize.Value, Client = propClient.Value, Compress = propCompress.Value, - DeleteObjectsMaxSize = propDeleteObjectsMaxSize.Value, - GetRegisterRetryDelay = propGetRegisterRetryDelay.Value, - MaxMultipartParts = propMaxMultipartParts.Value, - MaxMultipartUploadCleanupSize = propMaxMultipartUploadCleanupSize.Value, MaxRestoreBytesPerSec = propMaxRestoreBytesPerSec.Value, MaxSnapshotBytesPerSec = propMaxSnapshotBytesPerSec.Value, Readonly = propReadonly.Value, ServerSideEncryption = propServerSideEncryption.Value, - StorageClass = propStorageClass.Value, - ThrottledDeleteRetryDelayIncrement = propThrottledDeleteRetryDelayIncrement.Value, - ThrottledDeleteRetryMaximumDelay = propThrottledDeleteRetryMaximumDelay.Value, - ThrottledDeleteRetryMaximumNumberOfRetries = propThrottledDeleteRetryMaximumNumberOfRetries.Value + StorageClass = propStorageClass.Value }; } @@ -208,18 +152,11 @@ public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clien writer.WriteProperty(options, PropChunkSize, value.ChunkSize, null, null); writer.WriteProperty(options, PropClient, value.Client, null, null); writer.WriteProperty(options, PropCompress, value.Compress, null, null); - writer.WriteProperty(options, PropDeleteObjectsMaxSize, value.DeleteObjectsMaxSize, null, null); - writer.WriteProperty(options, PropGetRegisterRetryDelay, value.GetRegisterRetryDelay, null, null); - writer.WriteProperty(options, PropMaxMultipartParts, value.MaxMultipartParts, null, null); - writer.WriteProperty(options, PropMaxMultipartUploadCleanupSize, value.MaxMultipartUploadCleanupSize, null, null); writer.WriteProperty(options, PropMaxRestoreBytesPerSec, value.MaxRestoreBytesPerSec, null, null); writer.WriteProperty(options, PropMaxSnapshotBytesPerSec, value.MaxSnapshotBytesPerSec, null, null); writer.WriteProperty(options, PropReadonly, value.Readonly, null, null); writer.WriteProperty(options, PropServerSideEncryption, value.ServerSideEncryption, null, null); writer.WriteProperty(options, PropStorageClass, value.StorageClass, null, null); - writer.WriteProperty(options, PropThrottledDeleteRetryDelayIncrement, value.ThrottledDeleteRetryDelayIncrement, null, null); - writer.WriteProperty(options, PropThrottledDeleteRetryMaximumDelay, value.ThrottledDeleteRetryMaximumDelay, null, null); - writer.WriteProperty(options, PropThrottledDeleteRetryMaximumNumberOfRetries, value.ThrottledDeleteRetryMaximumNumberOfRetries, null, null); writer.WriteEndObject(); } } @@ -249,187 +186,22 @@ internal S3RepositorySettings(Elastic.Clients.Elasticsearch.Serialization.JsonCo _ = sentinel; } - /// - /// - /// The path to the repository data within its bucket. - /// It defaults to an empty string, meaning that the repository is at the root of the bucket. - /// The value of this setting should not start or end with a forward slash (/). - /// - /// - /// NOTE: Don't set base_path when configuring a snapshot repository for Elastic Cloud Enterprise. - /// Elastic Cloud Enterprise automatically generates the base_path for each deployment so that multiple deployments may share the same bucket. - /// - /// public string? BasePath { get; set; } - - /// - /// - /// The name of the S3 bucket to use for snapshots. - /// The bucket name must adhere to Amazon's S3 bucket naming rules. - /// - /// public #if NET7_0_OR_GREATER required #endif string Bucket { get; set; } - - /// - /// - /// The minimum threshold below which the chunk is uploaded using a single request. - /// Beyond this threshold, the S3 repository will use the AWS Multipart Upload API to split the chunk into several parts, each of buffer_size length, and to upload each part in its own request. - /// Note that setting a buffer size lower than 5mb is not allowed since it will prevent the use of the Multipart API and may result in upload errors. - /// It is also not possible to set a buffer size greater than 5gb as it is the maximum upload size allowed by S3. - /// Defaults to 100mb or 5% of JVM heap, whichever is smaller. - /// - /// public Elastic.Clients.Elasticsearch.ByteSize? BufferSize { get; set; } - - /// - /// - /// The S3 repository supports all S3 canned ACLs: private, public-read, public-read-write, authenticated-read, log-delivery-write, bucket-owner-read, bucket-owner-full-control. - /// You could specify a canned ACL using the canned_acl setting. - /// When the S3 repository creates buckets and objects, it adds the canned ACL into the buckets and objects. - /// - /// public string? CannedAcl { get; set; } - - /// - /// - /// Big files can be broken down into multiple smaller blobs in the blob store during snapshotting. - /// It is not recommended to change this value from its default unless there is an explicit reason for limiting the size of blobs in the repository. - /// Setting a value lower than the default can result in an increased number of API calls to the blob store during snapshot create and restore operations compared to using the default value and thus make both operations slower and more costly. - /// Specify the chunk size as a byte unit, for example: 10MB, 5KB, 500B. - /// The default varies by repository type. - /// - /// public Elastic.Clients.Elasticsearch.ByteSize? ChunkSize { get; set; } - - /// - /// - /// The name of the S3 client to use to connect to S3. - /// - /// public string? Client { get; set; } - - /// - /// - /// When set to true, metadata files are stored in compressed format. - /// This setting doesn't affect index files that are already compressed by default. - /// - /// public bool? Compress { get; set; } - - /// - /// - /// The maxmimum batch size, between 1 and 1000, used for DeleteObjects requests. - /// Defaults to 1000 which is the maximum number supported by the AWS DeleteObjects API. - /// - /// - public int? DeleteObjectsMaxSize { get; set; } - - /// - /// - /// The time to wait before trying again if an attempt to read a linearizable register fails. - /// - /// - public Elastic.Clients.Elasticsearch.Duration? GetRegisterRetryDelay { get; set; } - - /// - /// - /// The maximum number of parts that Elasticsearch will write during a multipart upload of a single object. - /// Files which are larger than buffer_size × max_multipart_parts will be chunked into several smaller objects. - /// Elasticsearch may also split a file across multiple objects to satisfy other constraints such as the chunk_size limit. - /// Defaults to 10000 which is the maximum number of parts in a multipart upload in AWS S3. - /// - /// - public int? MaxMultipartParts { get; set; } - - /// - /// - /// The maximum number of possibly-dangling multipart uploads to clean up in each batch of snapshot deletions. - /// Defaults to 1000 which is the maximum number supported by the AWS ListMultipartUploads API. - /// If set to 0, Elasticsearch will not attempt to clean up dangling multipart uploads. - /// - /// - public int? MaxMultipartUploadCleanupSize { get; set; } - - /// - /// - /// The maximum snapshot restore rate per node. - /// It defaults to unlimited. - /// Note that restores are also throttled through recovery settings. - /// - /// public Elastic.Clients.Elasticsearch.ByteSize? MaxRestoreBytesPerSec { get; set; } - - /// - /// - /// The maximum snapshot creation rate per node. - /// It defaults to 40mb per second. - /// Note that if the recovery settings for managed services are set, then it defaults to unlimited, and the rate is additionally throttled through recovery settings. - /// - /// public Elastic.Clients.Elasticsearch.ByteSize? MaxSnapshotBytesPerSec { get; set; } - - /// - /// - /// If true, the repository is read-only. - /// The cluster can retrieve and restore snapshots from the repository but not write to the repository or create snapshots in it. - /// - /// - /// Only a cluster with write access can create snapshots in the repository. - /// All other clusters connected to the repository should have the readonly parameter set to true. - /// - /// - /// If false, the cluster can write to the repository and create snapshots in it. - /// - /// - /// IMPORTANT: If you register the same snapshot repository with multiple clusters, only one cluster should have write access to the repository. - /// Having multiple clusters write to the repository at the same time risks corrupting the contents of the repository. - /// - /// public bool? Readonly { get; set; } - - /// - /// - /// When set to true, files are encrypted on server side using an AES256 algorithm. - /// - /// public bool? ServerSideEncryption { get; set; } - - /// - /// - /// The S3 storage class for objects written to the repository. - /// Values may be standard, reduced_redundancy, standard_ia, onezone_ia, and intelligent_tiering. - /// - /// public string? StorageClass { get; set; } - - /// - /// - /// The delay before the first retry and the amount the delay is incremented by on each subsequent retry. - /// The default is 50ms and the minimum is 0ms. - /// - /// - public Elastic.Clients.Elasticsearch.Duration? ThrottledDeleteRetryDelayIncrement { get; set; } - - /// - /// - /// The upper bound on how long the delays between retries will grow to. - /// The default is 5s and the minimum is 0ms. - /// - /// - public Elastic.Clients.Elasticsearch.Duration? ThrottledDeleteRetryMaximumDelay { get; set; } - - /// - /// - /// The number times to retry a throttled snapshot deletion. - /// The default is 10 and the minimum value is 0 which will disable retries altogether. - /// Note that if retries are enabled in the Azure client, each of these retries comprises that many client-level retries. - /// - /// - public int? ThrottledDeleteRetryMaximumNumberOfRetries { get; set; } } public readonly partial struct S3RepositorySettingsDescriptor @@ -451,316 +223,102 @@ public S3RepositorySettingsDescriptor() public static explicit operator Elastic.Clients.Elasticsearch.Snapshot.S3RepositorySettingsDescriptor(Elastic.Clients.Elasticsearch.Snapshot.S3RepositorySettings instance) => new Elastic.Clients.Elasticsearch.Snapshot.S3RepositorySettingsDescriptor(instance); public static implicit operator Elastic.Clients.Elasticsearch.Snapshot.S3RepositorySettings(Elastic.Clients.Elasticsearch.Snapshot.S3RepositorySettingsDescriptor descriptor) => descriptor.Instance; - /// - /// - /// The path to the repository data within its bucket. - /// It defaults to an empty string, meaning that the repository is at the root of the bucket. - /// The value of this setting should not start or end with a forward slash (/). - /// - /// - /// NOTE: Don't set base_path when configuring a snapshot repository for Elastic Cloud Enterprise. - /// Elastic Cloud Enterprise automatically generates the base_path for each deployment so that multiple deployments may share the same bucket. - /// - /// public Elastic.Clients.Elasticsearch.Snapshot.S3RepositorySettingsDescriptor BasePath(string? value) { Instance.BasePath = value; return this; } - /// - /// - /// The name of the S3 bucket to use for snapshots. - /// The bucket name must adhere to Amazon's S3 bucket naming rules. - /// - /// public Elastic.Clients.Elasticsearch.Snapshot.S3RepositorySettingsDescriptor Bucket(string value) { Instance.Bucket = value; return this; } - /// - /// - /// The minimum threshold below which the chunk is uploaded using a single request. - /// Beyond this threshold, the S3 repository will use the AWS Multipart Upload API to split the chunk into several parts, each of buffer_size length, and to upload each part in its own request. - /// Note that setting a buffer size lower than 5mb is not allowed since it will prevent the use of the Multipart API and may result in upload errors. - /// It is also not possible to set a buffer size greater than 5gb as it is the maximum upload size allowed by S3. - /// Defaults to 100mb or 5% of JVM heap, whichever is smaller. - /// - /// public Elastic.Clients.Elasticsearch.Snapshot.S3RepositorySettingsDescriptor BufferSize(Elastic.Clients.Elasticsearch.ByteSize? value) { Instance.BufferSize = value; return this; } - /// - /// - /// The minimum threshold below which the chunk is uploaded using a single request. - /// Beyond this threshold, the S3 repository will use the AWS Multipart Upload API to split the chunk into several parts, each of buffer_size length, and to upload each part in its own request. - /// Note that setting a buffer size lower than 5mb is not allowed since it will prevent the use of the Multipart API and may result in upload errors. - /// It is also not possible to set a buffer size greater than 5gb as it is the maximum upload size allowed by S3. - /// Defaults to 100mb or 5% of JVM heap, whichever is smaller. - /// - /// public Elastic.Clients.Elasticsearch.Snapshot.S3RepositorySettingsDescriptor BufferSize(System.Func action) { Instance.BufferSize = Elastic.Clients.Elasticsearch.ByteSizeFactory.Build(action); return this; } - /// - /// - /// The S3 repository supports all S3 canned ACLs: private, public-read, public-read-write, authenticated-read, log-delivery-write, bucket-owner-read, bucket-owner-full-control. - /// You could specify a canned ACL using the canned_acl setting. - /// When the S3 repository creates buckets and objects, it adds the canned ACL into the buckets and objects. - /// - /// public Elastic.Clients.Elasticsearch.Snapshot.S3RepositorySettingsDescriptor CannedAcl(string? value) { Instance.CannedAcl = value; return this; } - /// - /// - /// Big files can be broken down into multiple smaller blobs in the blob store during snapshotting. - /// It is not recommended to change this value from its default unless there is an explicit reason for limiting the size of blobs in the repository. - /// Setting a value lower than the default can result in an increased number of API calls to the blob store during snapshot create and restore operations compared to using the default value and thus make both operations slower and more costly. - /// Specify the chunk size as a byte unit, for example: 10MB, 5KB, 500B. - /// The default varies by repository type. - /// - /// public Elastic.Clients.Elasticsearch.Snapshot.S3RepositorySettingsDescriptor ChunkSize(Elastic.Clients.Elasticsearch.ByteSize? value) { Instance.ChunkSize = value; return this; } - /// - /// - /// Big files can be broken down into multiple smaller blobs in the blob store during snapshotting. - /// It is not recommended to change this value from its default unless there is an explicit reason for limiting the size of blobs in the repository. - /// Setting a value lower than the default can result in an increased number of API calls to the blob store during snapshot create and restore operations compared to using the default value and thus make both operations slower and more costly. - /// Specify the chunk size as a byte unit, for example: 10MB, 5KB, 500B. - /// The default varies by repository type. - /// - /// public Elastic.Clients.Elasticsearch.Snapshot.S3RepositorySettingsDescriptor ChunkSize(System.Func action) { Instance.ChunkSize = Elastic.Clients.Elasticsearch.ByteSizeFactory.Build(action); return this; } - /// - /// - /// The name of the S3 client to use to connect to S3. - /// - /// public Elastic.Clients.Elasticsearch.Snapshot.S3RepositorySettingsDescriptor Client(string? value) { Instance.Client = value; return this; } - /// - /// - /// When set to true, metadata files are stored in compressed format. - /// This setting doesn't affect index files that are already compressed by default. - /// - /// public Elastic.Clients.Elasticsearch.Snapshot.S3RepositorySettingsDescriptor Compress(bool? value = true) { Instance.Compress = value; return this; } - /// - /// - /// The maxmimum batch size, between 1 and 1000, used for DeleteObjects requests. - /// Defaults to 1000 which is the maximum number supported by the AWS DeleteObjects API. - /// - /// - public Elastic.Clients.Elasticsearch.Snapshot.S3RepositorySettingsDescriptor DeleteObjectsMaxSize(int? value) - { - Instance.DeleteObjectsMaxSize = value; - return this; - } - - /// - /// - /// The time to wait before trying again if an attempt to read a linearizable register fails. - /// - /// - public Elastic.Clients.Elasticsearch.Snapshot.S3RepositorySettingsDescriptor GetRegisterRetryDelay(Elastic.Clients.Elasticsearch.Duration? value) - { - Instance.GetRegisterRetryDelay = value; - return this; - } - - /// - /// - /// The maximum number of parts that Elasticsearch will write during a multipart upload of a single object. - /// Files which are larger than buffer_size × max_multipart_parts will be chunked into several smaller objects. - /// Elasticsearch may also split a file across multiple objects to satisfy other constraints such as the chunk_size limit. - /// Defaults to 10000 which is the maximum number of parts in a multipart upload in AWS S3. - /// - /// - public Elastic.Clients.Elasticsearch.Snapshot.S3RepositorySettingsDescriptor MaxMultipartParts(int? value) - { - Instance.MaxMultipartParts = value; - return this; - } - - /// - /// - /// The maximum number of possibly-dangling multipart uploads to clean up in each batch of snapshot deletions. - /// Defaults to 1000 which is the maximum number supported by the AWS ListMultipartUploads API. - /// If set to 0, Elasticsearch will not attempt to clean up dangling multipart uploads. - /// - /// - public Elastic.Clients.Elasticsearch.Snapshot.S3RepositorySettingsDescriptor MaxMultipartUploadCleanupSize(int? value) - { - Instance.MaxMultipartUploadCleanupSize = value; - return this; - } - - /// - /// - /// The maximum snapshot restore rate per node. - /// It defaults to unlimited. - /// Note that restores are also throttled through recovery settings. - /// - /// public Elastic.Clients.Elasticsearch.Snapshot.S3RepositorySettingsDescriptor MaxRestoreBytesPerSec(Elastic.Clients.Elasticsearch.ByteSize? value) { Instance.MaxRestoreBytesPerSec = value; return this; } - /// - /// - /// The maximum snapshot restore rate per node. - /// It defaults to unlimited. - /// Note that restores are also throttled through recovery settings. - /// - /// public Elastic.Clients.Elasticsearch.Snapshot.S3RepositorySettingsDescriptor MaxRestoreBytesPerSec(System.Func action) { Instance.MaxRestoreBytesPerSec = Elastic.Clients.Elasticsearch.ByteSizeFactory.Build(action); return this; } - /// - /// - /// The maximum snapshot creation rate per node. - /// It defaults to 40mb per second. - /// Note that if the recovery settings for managed services are set, then it defaults to unlimited, and the rate is additionally throttled through recovery settings. - /// - /// public Elastic.Clients.Elasticsearch.Snapshot.S3RepositorySettingsDescriptor MaxSnapshotBytesPerSec(Elastic.Clients.Elasticsearch.ByteSize? value) { Instance.MaxSnapshotBytesPerSec = value; return this; } - /// - /// - /// The maximum snapshot creation rate per node. - /// It defaults to 40mb per second. - /// Note that if the recovery settings for managed services are set, then it defaults to unlimited, and the rate is additionally throttled through recovery settings. - /// - /// public Elastic.Clients.Elasticsearch.Snapshot.S3RepositorySettingsDescriptor MaxSnapshotBytesPerSec(System.Func action) { Instance.MaxSnapshotBytesPerSec = Elastic.Clients.Elasticsearch.ByteSizeFactory.Build(action); return this; } - /// - /// - /// If true, the repository is read-only. - /// The cluster can retrieve and restore snapshots from the repository but not write to the repository or create snapshots in it. - /// - /// - /// Only a cluster with write access can create snapshots in the repository. - /// All other clusters connected to the repository should have the readonly parameter set to true. - /// - /// - /// If false, the cluster can write to the repository and create snapshots in it. - /// - /// - /// IMPORTANT: If you register the same snapshot repository with multiple clusters, only one cluster should have write access to the repository. - /// Having multiple clusters write to the repository at the same time risks corrupting the contents of the repository. - /// - /// public Elastic.Clients.Elasticsearch.Snapshot.S3RepositorySettingsDescriptor Readonly(bool? value = true) { Instance.Readonly = value; return this; } - /// - /// - /// When set to true, files are encrypted on server side using an AES256 algorithm. - /// - /// public Elastic.Clients.Elasticsearch.Snapshot.S3RepositorySettingsDescriptor ServerSideEncryption(bool? value = true) { Instance.ServerSideEncryption = value; return this; } - /// - /// - /// The S3 storage class for objects written to the repository. - /// Values may be standard, reduced_redundancy, standard_ia, onezone_ia, and intelligent_tiering. - /// - /// public Elastic.Clients.Elasticsearch.Snapshot.S3RepositorySettingsDescriptor StorageClass(string? value) { Instance.StorageClass = value; return this; } - /// - /// - /// The delay before the first retry and the amount the delay is incremented by on each subsequent retry. - /// The default is 50ms and the minimum is 0ms. - /// - /// - public Elastic.Clients.Elasticsearch.Snapshot.S3RepositorySettingsDescriptor ThrottledDeleteRetryDelayIncrement(Elastic.Clients.Elasticsearch.Duration? value) - { - Instance.ThrottledDeleteRetryDelayIncrement = value; - return this; - } - - /// - /// - /// The upper bound on how long the delays between retries will grow to. - /// The default is 5s and the minimum is 0ms. - /// - /// - public Elastic.Clients.Elasticsearch.Snapshot.S3RepositorySettingsDescriptor ThrottledDeleteRetryMaximumDelay(Elastic.Clients.Elasticsearch.Duration? value) - { - Instance.ThrottledDeleteRetryMaximumDelay = value; - return this; - } - - /// - /// - /// The number times to retry a throttled snapshot deletion. - /// The default is 10 and the minimum value is 0 which will disable retries altogether. - /// Note that if retries are enabled in the Azure client, each of these retries comprises that many client-level retries. - /// - /// - public Elastic.Clients.Elasticsearch.Snapshot.S3RepositorySettingsDescriptor ThrottledDeleteRetryMaximumNumberOfRetries(int? value) - { - Instance.ThrottledDeleteRetryMaximumNumberOfRetries = value; - return this; - } - [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] internal static Elastic.Clients.Elasticsearch.Snapshot.S3RepositorySettings Build(System.Action action) { diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Snapshot/ShardsStats.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Snapshot/ShardsStats.g.cs index 3f7d6582972..a272b0660d8 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Snapshot/ShardsStats.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Snapshot/ShardsStats.g.cs @@ -137,66 +137,31 @@ internal ShardsStats(Elastic.Clients.Elasticsearch.Serialization.JsonConstructor _ = sentinel; } - /// - /// - /// The number of shards that initialized, started, and finalized successfully. - /// - /// public #if NET7_0_OR_GREATER required #endif long Done { get; set; } - - /// - /// - /// The number of shards that failed to be included in the snapshot. - /// - /// public #if NET7_0_OR_GREATER required #endif long Failed { get; set; } - - /// - /// - /// The number of shards that are finalizing but are not done. - /// - /// public #if NET7_0_OR_GREATER required #endif long Finalizing { get; set; } - - /// - /// - /// The number of shards that are still initializing. - /// - /// public #if NET7_0_OR_GREATER required #endif long Initializing { get; set; } - - /// - /// - /// The number of shards that have started but are not finalized. - /// - /// public #if NET7_0_OR_GREATER required #endif long Started { get; set; } - - /// - /// - /// The total number of shards included in the snapshot. - /// - /// public #if NET7_0_OR_GREATER required diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Snapshot/SharedFileSystemRepository.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Snapshot/SharedFileSystemRepository.g.cs index 05ae927b64b..6bbbc03fedd 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Snapshot/SharedFileSystemRepository.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Snapshot/SharedFileSystemRepository.g.cs @@ -104,22 +104,12 @@ internal SharedFileSystemRepository(Elastic.Clients.Elasticsearch.Serialization. _ = sentinel; } - /// - /// - /// The repository settings. - /// - /// public #if NET7_0_OR_GREATER required #endif Elastic.Clients.Elasticsearch.Snapshot.SharedFileSystemRepositorySettings Settings { get; set; } - /// - /// - /// The shared file system repository type. - /// - /// public string Type => "fs"; public string? Uuid { get; set; } @@ -144,22 +134,12 @@ public SharedFileSystemRepositoryDescriptor() public static explicit operator Elastic.Clients.Elasticsearch.Snapshot.SharedFileSystemRepositoryDescriptor(Elastic.Clients.Elasticsearch.Snapshot.SharedFileSystemRepository instance) => new Elastic.Clients.Elasticsearch.Snapshot.SharedFileSystemRepositoryDescriptor(instance); public static implicit operator Elastic.Clients.Elasticsearch.Snapshot.SharedFileSystemRepository(Elastic.Clients.Elasticsearch.Snapshot.SharedFileSystemRepositoryDescriptor descriptor) => descriptor.Instance; - /// - /// - /// The repository settings. - /// - /// public Elastic.Clients.Elasticsearch.Snapshot.SharedFileSystemRepositoryDescriptor Settings(Elastic.Clients.Elasticsearch.Snapshot.SharedFileSystemRepositorySettings value) { Instance.Settings = value; return this; } - /// - /// - /// The repository settings. - /// - /// public Elastic.Clients.Elasticsearch.Snapshot.SharedFileSystemRepositoryDescriptor Settings(System.Action action) { Instance.Settings = Elastic.Clients.Elasticsearch.Snapshot.SharedFileSystemRepositorySettingsDescriptor.Build(action); diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Snapshot/SharedFileSystemRepositorySettings.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Snapshot/SharedFileSystemRepositorySettings.g.cs index 04bf0fa089f..11f8bea286d 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Snapshot/SharedFileSystemRepositorySettings.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Snapshot/SharedFileSystemRepositorySettings.g.cs @@ -141,81 +141,16 @@ internal SharedFileSystemRepositorySettings(Elastic.Clients.Elasticsearch.Serial _ = sentinel; } - /// - /// - /// Big files can be broken down into multiple smaller blobs in the blob store during snapshotting. - /// It is not recommended to change this value from its default unless there is an explicit reason for limiting the size of blobs in the repository. - /// Setting a value lower than the default can result in an increased number of API calls to the blob store during snapshot create and restore operations compared to using the default value and thus make both operations slower and more costly. - /// Specify the chunk size as a byte unit, for example: 10MB, 5KB, 500B. - /// The default varies by repository type. - /// - /// public Elastic.Clients.Elasticsearch.ByteSize? ChunkSize { get; set; } - - /// - /// - /// When set to true, metadata files are stored in compressed format. - /// This setting doesn't affect index files that are already compressed by default. - /// - /// public bool? Compress { get; set; } - - /// - /// - /// The location of the shared filesystem used to store and retrieve snapshots. - /// This location must be registered in the path.repo setting on all master and data nodes in the cluster. - /// Unlike path.repo, this setting supports only a single file path. - /// - /// public #if NET7_0_OR_GREATER required #endif string Location { get; set; } - - /// - /// - /// The maximum number of snapshots the repository can contain. - /// The default is Integer.MAX_VALUE, which is 2^31-1 or 2147483647. - /// - /// public int? MaxNumberOfSnapshots { get; set; } - - /// - /// - /// The maximum snapshot restore rate per node. - /// It defaults to unlimited. - /// Note that restores are also throttled through recovery settings. - /// - /// public Elastic.Clients.Elasticsearch.ByteSize? MaxRestoreBytesPerSec { get; set; } - - /// - /// - /// The maximum snapshot creation rate per node. - /// It defaults to 40mb per second. - /// Note that if the recovery settings for managed services are set, then it defaults to unlimited, and the rate is additionally throttled through recovery settings. - /// - /// public Elastic.Clients.Elasticsearch.ByteSize? MaxSnapshotBytesPerSec { get; set; } - - /// - /// - /// If true, the repository is read-only. - /// The cluster can retrieve and restore snapshots from the repository but not write to the repository or create snapshots in it. - /// - /// - /// Only a cluster with write access can create snapshots in the repository. - /// All other clusters connected to the repository should have the readonly parameter set to true. - /// - /// - /// If false, the cluster can write to the repository and create snapshots in it. - /// - /// - /// IMPORTANT: If you register the same snapshot repository with multiple clusters, only one cluster should have write access to the repository. - /// Having multiple clusters write to the repository at the same time risks corrupting the contents of the repository. - /// - /// public bool? Readonly { get; set; } } @@ -238,142 +173,60 @@ public SharedFileSystemRepositorySettingsDescriptor() public static explicit operator Elastic.Clients.Elasticsearch.Snapshot.SharedFileSystemRepositorySettingsDescriptor(Elastic.Clients.Elasticsearch.Snapshot.SharedFileSystemRepositorySettings instance) => new Elastic.Clients.Elasticsearch.Snapshot.SharedFileSystemRepositorySettingsDescriptor(instance); public static implicit operator Elastic.Clients.Elasticsearch.Snapshot.SharedFileSystemRepositorySettings(Elastic.Clients.Elasticsearch.Snapshot.SharedFileSystemRepositorySettingsDescriptor descriptor) => descriptor.Instance; - /// - /// - /// Big files can be broken down into multiple smaller blobs in the blob store during snapshotting. - /// It is not recommended to change this value from its default unless there is an explicit reason for limiting the size of blobs in the repository. - /// Setting a value lower than the default can result in an increased number of API calls to the blob store during snapshot create and restore operations compared to using the default value and thus make both operations slower and more costly. - /// Specify the chunk size as a byte unit, for example: 10MB, 5KB, 500B. - /// The default varies by repository type. - /// - /// public Elastic.Clients.Elasticsearch.Snapshot.SharedFileSystemRepositorySettingsDescriptor ChunkSize(Elastic.Clients.Elasticsearch.ByteSize? value) { Instance.ChunkSize = value; return this; } - /// - /// - /// Big files can be broken down into multiple smaller blobs in the blob store during snapshotting. - /// It is not recommended to change this value from its default unless there is an explicit reason for limiting the size of blobs in the repository. - /// Setting a value lower than the default can result in an increased number of API calls to the blob store during snapshot create and restore operations compared to using the default value and thus make both operations slower and more costly. - /// Specify the chunk size as a byte unit, for example: 10MB, 5KB, 500B. - /// The default varies by repository type. - /// - /// public Elastic.Clients.Elasticsearch.Snapshot.SharedFileSystemRepositorySettingsDescriptor ChunkSize(System.Func action) { Instance.ChunkSize = Elastic.Clients.Elasticsearch.ByteSizeFactory.Build(action); return this; } - /// - /// - /// When set to true, metadata files are stored in compressed format. - /// This setting doesn't affect index files that are already compressed by default. - /// - /// public Elastic.Clients.Elasticsearch.Snapshot.SharedFileSystemRepositorySettingsDescriptor Compress(bool? value = true) { Instance.Compress = value; return this; } - /// - /// - /// The location of the shared filesystem used to store and retrieve snapshots. - /// This location must be registered in the path.repo setting on all master and data nodes in the cluster. - /// Unlike path.repo, this setting supports only a single file path. - /// - /// public Elastic.Clients.Elasticsearch.Snapshot.SharedFileSystemRepositorySettingsDescriptor Location(string value) { Instance.Location = value; return this; } - /// - /// - /// The maximum number of snapshots the repository can contain. - /// The default is Integer.MAX_VALUE, which is 2^31-1 or 2147483647. - /// - /// public Elastic.Clients.Elasticsearch.Snapshot.SharedFileSystemRepositorySettingsDescriptor MaxNumberOfSnapshots(int? value) { Instance.MaxNumberOfSnapshots = value; return this; } - /// - /// - /// The maximum snapshot restore rate per node. - /// It defaults to unlimited. - /// Note that restores are also throttled through recovery settings. - /// - /// public Elastic.Clients.Elasticsearch.Snapshot.SharedFileSystemRepositorySettingsDescriptor MaxRestoreBytesPerSec(Elastic.Clients.Elasticsearch.ByteSize? value) { Instance.MaxRestoreBytesPerSec = value; return this; } - /// - /// - /// The maximum snapshot restore rate per node. - /// It defaults to unlimited. - /// Note that restores are also throttled through recovery settings. - /// - /// public Elastic.Clients.Elasticsearch.Snapshot.SharedFileSystemRepositorySettingsDescriptor MaxRestoreBytesPerSec(System.Func action) { Instance.MaxRestoreBytesPerSec = Elastic.Clients.Elasticsearch.ByteSizeFactory.Build(action); return this; } - /// - /// - /// The maximum snapshot creation rate per node. - /// It defaults to 40mb per second. - /// Note that if the recovery settings for managed services are set, then it defaults to unlimited, and the rate is additionally throttled through recovery settings. - /// - /// public Elastic.Clients.Elasticsearch.Snapshot.SharedFileSystemRepositorySettingsDescriptor MaxSnapshotBytesPerSec(Elastic.Clients.Elasticsearch.ByteSize? value) { Instance.MaxSnapshotBytesPerSec = value; return this; } - /// - /// - /// The maximum snapshot creation rate per node. - /// It defaults to 40mb per second. - /// Note that if the recovery settings for managed services are set, then it defaults to unlimited, and the rate is additionally throttled through recovery settings. - /// - /// public Elastic.Clients.Elasticsearch.Snapshot.SharedFileSystemRepositorySettingsDescriptor MaxSnapshotBytesPerSec(System.Func action) { Instance.MaxSnapshotBytesPerSec = Elastic.Clients.Elasticsearch.ByteSizeFactory.Build(action); return this; } - /// - /// - /// If true, the repository is read-only. - /// The cluster can retrieve and restore snapshots from the repository but not write to the repository or create snapshots in it. - /// - /// - /// Only a cluster with write access can create snapshots in the repository. - /// All other clusters connected to the repository should have the readonly parameter set to true. - /// - /// - /// If false, the cluster can write to the repository and create snapshots in it. - /// - /// - /// IMPORTANT: If you register the same snapshot repository with multiple clusters, only one cluster should have write access to the repository. - /// Having multiple clusters write to the repository at the same time risks corrupting the contents of the repository. - /// - /// public Elastic.Clients.Elasticsearch.Snapshot.SharedFileSystemRepositorySettingsDescriptor Readonly(bool? value = true) { Instance.Readonly = value; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Snapshot/SnapshotStats.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Snapshot/SnapshotStats.g.cs index 38c2ea0e401..d90c7e693ee 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Snapshot/SnapshotStats.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Snapshot/SnapshotStats.g.cs @@ -126,46 +126,22 @@ internal SnapshotStats(Elastic.Clients.Elasticsearch.Serialization.JsonConstruct _ = sentinel; } - /// - /// - /// The number and size of files that still need to be copied as part of the incremental snapshot. - /// For completed snapshots, this property indicates the number and size of files that were not already in the repository and were copied as part of the incremental snapshot. - /// - /// public #if NET7_0_OR_GREATER required #endif Elastic.Clients.Elasticsearch.Snapshot.FileCountSnapshotStats Incremental { get; set; } - - /// - /// - /// The time, in milliseconds, when the snapshot creation process started. - /// - /// public #if NET7_0_OR_GREATER required #endif System.DateTimeOffset StartTimeInMillis { get; set; } public Elastic.Clients.Elasticsearch.Duration? Time { get; set; } - - /// - /// - /// The total time, in milliseconds, that it took for the snapshot process to complete. - /// - /// public #if NET7_0_OR_GREATER required #endif System.TimeSpan TimeInMillis { get; set; } - - /// - /// - /// The total number and size of files that are referenced by the snapshot. - /// - /// public #if NET7_0_OR_GREATER required diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Snapshot/SourceOnlyRepository.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Snapshot/SourceOnlyRepository.g.cs index e658bdab278..90b06e16022 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Snapshot/SourceOnlyRepository.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Snapshot/SourceOnlyRepository.g.cs @@ -104,22 +104,12 @@ internal SourceOnlyRepository(Elastic.Clients.Elasticsearch.Serialization.JsonCo _ = sentinel; } - /// - /// - /// The repository settings. - /// - /// public #if NET7_0_OR_GREATER required #endif Elastic.Clients.Elasticsearch.Snapshot.SourceOnlyRepositorySettings Settings { get; set; } - /// - /// - /// The source-only repository type. - /// - /// public string Type => "source"; public string? Uuid { get; set; } @@ -144,33 +134,18 @@ public SourceOnlyRepositoryDescriptor() public static explicit operator Elastic.Clients.Elasticsearch.Snapshot.SourceOnlyRepositoryDescriptor(Elastic.Clients.Elasticsearch.Snapshot.SourceOnlyRepository instance) => new Elastic.Clients.Elasticsearch.Snapshot.SourceOnlyRepositoryDescriptor(instance); public static implicit operator Elastic.Clients.Elasticsearch.Snapshot.SourceOnlyRepository(Elastic.Clients.Elasticsearch.Snapshot.SourceOnlyRepositoryDescriptor descriptor) => descriptor.Instance; - /// - /// - /// The repository settings. - /// - /// public Elastic.Clients.Elasticsearch.Snapshot.SourceOnlyRepositoryDescriptor Settings(Elastic.Clients.Elasticsearch.Snapshot.SourceOnlyRepositorySettings value) { Instance.Settings = value; return this; } - /// - /// - /// The repository settings. - /// - /// public Elastic.Clients.Elasticsearch.Snapshot.SourceOnlyRepositoryDescriptor Settings() { Instance.Settings = Elastic.Clients.Elasticsearch.Snapshot.SourceOnlyRepositorySettingsDescriptor.Build(null); return this; } - /// - /// - /// The repository settings. - /// - /// public Elastic.Clients.Elasticsearch.Snapshot.SourceOnlyRepositoryDescriptor Settings(System.Action? action) { Instance.Settings = Elastic.Clients.Elasticsearch.Snapshot.SourceOnlyRepositorySettingsDescriptor.Build(action); diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Snapshot/SourceOnlyRepositorySettings.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Snapshot/SourceOnlyRepositorySettings.g.cs index b53950ba72b..40baa6befab 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Snapshot/SourceOnlyRepositorySettings.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Snapshot/SourceOnlyRepositorySettings.g.cs @@ -136,76 +136,12 @@ internal SourceOnlyRepositorySettings(Elastic.Clients.Elasticsearch.Serializatio _ = sentinel; } - /// - /// - /// Big files can be broken down into multiple smaller blobs in the blob store during snapshotting. - /// It is not recommended to change this value from its default unless there is an explicit reason for limiting the size of blobs in the repository. - /// Setting a value lower than the default can result in an increased number of API calls to the blob store during snapshot create and restore operations compared to using the default value and thus make both operations slower and more costly. - /// Specify the chunk size as a byte unit, for example: 10MB, 5KB, 500B. - /// The default varies by repository type. - /// - /// public Elastic.Clients.Elasticsearch.ByteSize? ChunkSize { get; set; } - - /// - /// - /// When set to true, metadata files are stored in compressed format. - /// This setting doesn't affect index files that are already compressed by default. - /// - /// public bool? Compress { get; set; } - - /// - /// - /// The delegated repository type. For valid values, refer to the type parameter. - /// Source repositories can use settings properties for its delegated repository type. - /// - /// public string? DelegateType { get; set; } - - /// - /// - /// The maximum number of snapshots the repository can contain. - /// The default is Integer.MAX_VALUE, which is 2^31-1 or 2147483647. - /// - /// public int? MaxNumberOfSnapshots { get; set; } - - /// - /// - /// The maximum snapshot restore rate per node. - /// It defaults to unlimited. - /// Note that restores are also throttled through recovery settings. - /// - /// public Elastic.Clients.Elasticsearch.ByteSize? MaxRestoreBytesPerSec { get; set; } - - /// - /// - /// The maximum snapshot creation rate per node. - /// It defaults to 40mb per second. - /// Note that if the recovery settings for managed services are set, then it defaults to unlimited, and the rate is additionally throttled through recovery settings. - /// - /// public Elastic.Clients.Elasticsearch.ByteSize? MaxSnapshotBytesPerSec { get; set; } - - /// - /// - /// If true, the repository is read-only. - /// The cluster can retrieve and restore snapshots from the repository but not write to the repository or create snapshots in it. - /// - /// - /// Only a cluster with write access can create snapshots in the repository. - /// All other clusters connected to the repository should have the readonly parameter set to true. - /// - /// - /// If false, the cluster can write to the repository and create snapshots in it. - /// - /// - /// IMPORTANT: If you register the same snapshot repository with multiple clusters, only one cluster should have write access to the repository. - /// Having multiple clusters write to the repository at the same time risks corrupting the contents of the repository. - /// - /// public bool? ReadOnly { get; set; } } @@ -228,141 +164,60 @@ public SourceOnlyRepositorySettingsDescriptor() public static explicit operator Elastic.Clients.Elasticsearch.Snapshot.SourceOnlyRepositorySettingsDescriptor(Elastic.Clients.Elasticsearch.Snapshot.SourceOnlyRepositorySettings instance) => new Elastic.Clients.Elasticsearch.Snapshot.SourceOnlyRepositorySettingsDescriptor(instance); public static implicit operator Elastic.Clients.Elasticsearch.Snapshot.SourceOnlyRepositorySettings(Elastic.Clients.Elasticsearch.Snapshot.SourceOnlyRepositorySettingsDescriptor descriptor) => descriptor.Instance; - /// - /// - /// Big files can be broken down into multiple smaller blobs in the blob store during snapshotting. - /// It is not recommended to change this value from its default unless there is an explicit reason for limiting the size of blobs in the repository. - /// Setting a value lower than the default can result in an increased number of API calls to the blob store during snapshot create and restore operations compared to using the default value and thus make both operations slower and more costly. - /// Specify the chunk size as a byte unit, for example: 10MB, 5KB, 500B. - /// The default varies by repository type. - /// - /// public Elastic.Clients.Elasticsearch.Snapshot.SourceOnlyRepositorySettingsDescriptor ChunkSize(Elastic.Clients.Elasticsearch.ByteSize? value) { Instance.ChunkSize = value; return this; } - /// - /// - /// Big files can be broken down into multiple smaller blobs in the blob store during snapshotting. - /// It is not recommended to change this value from its default unless there is an explicit reason for limiting the size of blobs in the repository. - /// Setting a value lower than the default can result in an increased number of API calls to the blob store during snapshot create and restore operations compared to using the default value and thus make both operations slower and more costly. - /// Specify the chunk size as a byte unit, for example: 10MB, 5KB, 500B. - /// The default varies by repository type. - /// - /// public Elastic.Clients.Elasticsearch.Snapshot.SourceOnlyRepositorySettingsDescriptor ChunkSize(System.Func action) { Instance.ChunkSize = Elastic.Clients.Elasticsearch.ByteSizeFactory.Build(action); return this; } - /// - /// - /// When set to true, metadata files are stored in compressed format. - /// This setting doesn't affect index files that are already compressed by default. - /// - /// public Elastic.Clients.Elasticsearch.Snapshot.SourceOnlyRepositorySettingsDescriptor Compress(bool? value = true) { Instance.Compress = value; return this; } - /// - /// - /// The delegated repository type. For valid values, refer to the type parameter. - /// Source repositories can use settings properties for its delegated repository type. - /// - /// public Elastic.Clients.Elasticsearch.Snapshot.SourceOnlyRepositorySettingsDescriptor DelegateType(string? value) { Instance.DelegateType = value; return this; } - /// - /// - /// The maximum number of snapshots the repository can contain. - /// The default is Integer.MAX_VALUE, which is 2^31-1 or 2147483647. - /// - /// public Elastic.Clients.Elasticsearch.Snapshot.SourceOnlyRepositorySettingsDescriptor MaxNumberOfSnapshots(int? value) { Instance.MaxNumberOfSnapshots = value; return this; } - /// - /// - /// The maximum snapshot restore rate per node. - /// It defaults to unlimited. - /// Note that restores are also throttled through recovery settings. - /// - /// public Elastic.Clients.Elasticsearch.Snapshot.SourceOnlyRepositorySettingsDescriptor MaxRestoreBytesPerSec(Elastic.Clients.Elasticsearch.ByteSize? value) { Instance.MaxRestoreBytesPerSec = value; return this; } - /// - /// - /// The maximum snapshot restore rate per node. - /// It defaults to unlimited. - /// Note that restores are also throttled through recovery settings. - /// - /// public Elastic.Clients.Elasticsearch.Snapshot.SourceOnlyRepositorySettingsDescriptor MaxRestoreBytesPerSec(System.Func action) { Instance.MaxRestoreBytesPerSec = Elastic.Clients.Elasticsearch.ByteSizeFactory.Build(action); return this; } - /// - /// - /// The maximum snapshot creation rate per node. - /// It defaults to 40mb per second. - /// Note that if the recovery settings for managed services are set, then it defaults to unlimited, and the rate is additionally throttled through recovery settings. - /// - /// public Elastic.Clients.Elasticsearch.Snapshot.SourceOnlyRepositorySettingsDescriptor MaxSnapshotBytesPerSec(Elastic.Clients.Elasticsearch.ByteSize? value) { Instance.MaxSnapshotBytesPerSec = value; return this; } - /// - /// - /// The maximum snapshot creation rate per node. - /// It defaults to 40mb per second. - /// Note that if the recovery settings for managed services are set, then it defaults to unlimited, and the rate is additionally throttled through recovery settings. - /// - /// public Elastic.Clients.Elasticsearch.Snapshot.SourceOnlyRepositorySettingsDescriptor MaxSnapshotBytesPerSec(System.Func action) { Instance.MaxSnapshotBytesPerSec = Elastic.Clients.Elasticsearch.ByteSizeFactory.Build(action); return this; } - /// - /// - /// If true, the repository is read-only. - /// The cluster can retrieve and restore snapshots from the repository but not write to the repository or create snapshots in it. - /// - /// - /// Only a cluster with write access can create snapshots in the repository. - /// All other clusters connected to the repository should have the readonly parameter set to true. - /// - /// - /// If false, the cluster can write to the repository and create snapshots in it. - /// - /// - /// IMPORTANT: If you register the same snapshot repository with multiple clusters, only one cluster should have write access to the repository. - /// Having multiple clusters write to the repository at the same time risks corrupting the contents of the repository. - /// - /// public Elastic.Clients.Elasticsearch.Snapshot.SourceOnlyRepositorySettingsDescriptor ReadOnly(bool? value = true) { Instance.ReadOnly = value; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Snapshot/Status.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Snapshot/Status.g.cs index 8ab6ad5b3ae..ceffefadde1 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Snapshot/Status.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Snapshot/Status.g.cs @@ -157,11 +157,6 @@ internal Status(Elastic.Clients.Elasticsearch.Serialization.JsonConstructorSenti _ = sentinel; } - /// - /// - /// Indicates whether the current cluster state is included in the snapshot. - /// - /// public #if NET7_0_OR_GREATER required @@ -172,84 +167,31 @@ internal Status(Elastic.Clients.Elasticsearch.Serialization.JsonConstructorSenti required #endif System.Collections.Generic.IReadOnlyDictionary Indices { get; set; } - - /// - /// - /// The name of the repository that includes the snapshot. - /// - /// public #if NET7_0_OR_GREATER required #endif string Repository { get; set; } - - /// - /// - /// Statistics for the shards in the snapshot. - /// - /// public #if NET7_0_OR_GREATER required #endif Elastic.Clients.Elasticsearch.Snapshot.ShardsStats ShardsStats { get; set; } - - /// - /// - /// The name of the snapshot. - /// - /// public #if NET7_0_OR_GREATER required #endif string Snapshot { get; set; } - - /// - /// - /// The current snapshot state: - /// - /// - /// - /// - /// FAILED: The snapshot finished with an error and failed to store any data. - /// - /// - /// - /// - /// STARTED: The snapshot is currently running. - /// - /// - /// - /// - /// SUCCESS: The snapshot completed. - /// - /// - /// - /// public #if NET7_0_OR_GREATER required #endif string State { get; set; } - - /// - /// - /// Details about the number (file_count) and size (size_in_bytes) of files included in the snapshot. - /// - /// public #if NET7_0_OR_GREATER required #endif Elastic.Clients.Elasticsearch.Snapshot.SnapshotStats Stats { get; set; } - - /// - /// - /// The universally unique identifier (UUID) for the snapshot. - /// - /// public #if NET7_0_OR_GREATER required diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/StoredScript.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/StoredScript.g.cs index 757643f3610..b1fcee131f0 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/StoredScript.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/StoredScript.g.cs @@ -109,7 +109,7 @@ internal StoredScript(Elastic.Clients.Elasticsearch.Serialization.JsonConstructo /// /// /// The language the script is written in. - /// For search templates, use mustache. + /// For serach templates, use mustache. /// /// public @@ -154,7 +154,7 @@ public StoredScriptDescriptor() /// /// /// The language the script is written in. - /// For search templates, use mustache. + /// For serach templates, use mustache. /// /// public Elastic.Clients.Elasticsearch.StoredScriptDescriptor Language(Elastic.Clients.Elasticsearch.ScriptLanguage value) diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Synonyms/SynonymRuleRead.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Synonyms/SynonymRuleRead.g.cs index 3cab7540eba..4f722a08dca 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Synonyms/SynonymRuleRead.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Synonyms/SynonymRuleRead.g.cs @@ -110,7 +110,7 @@ internal SynonymRuleRead(Elastic.Clients.Elasticsearch.Serialization.JsonConstru /// /// - /// Synonyms, in Solr format, that conform the synonym rule. + /// Synonyms, in Solr format, that conform the synonym rule. See https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis-synonym-graph-tokenfilter.html#_solr_synonyms_2 /// /// public diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/Features.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/Features.g.cs index 00d2b91c2f5..479937515d1 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/Features.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/Features.g.cs @@ -35,6 +35,7 @@ internal sealed partial class FeaturesConverter : System.Text.Json.Serialization private static readonly System.Text.Json.JsonEncodedText PropEnterpriseSearch = System.Text.Json.JsonEncodedText.Encode("enterprise_search"); private static readonly System.Text.Json.JsonEncodedText PropEql = System.Text.Json.JsonEncodedText.Encode("eql"); private static readonly System.Text.Json.JsonEncodedText PropEsql = System.Text.Json.JsonEncodedText.Encode("esql"); + private static readonly System.Text.Json.JsonEncodedText PropFrozenIndices = System.Text.Json.JsonEncodedText.Encode("frozen_indices"); private static readonly System.Text.Json.JsonEncodedText PropGraph = System.Text.Json.JsonEncodedText.Encode("graph"); private static readonly System.Text.Json.JsonEncodedText PropIlm = System.Text.Json.JsonEncodedText.Encode("ilm"); private static readonly System.Text.Json.JsonEncodedText PropLogsdb = System.Text.Json.JsonEncodedText.Encode("logsdb"); @@ -66,6 +67,7 @@ public override Elastic.Clients.Elasticsearch.Xpack.Features Read(ref System.Tex LocalJsonValue propEnterpriseSearch = default; LocalJsonValue propEql = default; LocalJsonValue propEsql = default; + LocalJsonValue propFrozenIndices = default; LocalJsonValue propGraph = default; LocalJsonValue propIlm = default; LocalJsonValue propLogsdb = default; @@ -135,6 +137,11 @@ public override Elastic.Clients.Elasticsearch.Xpack.Features Read(ref System.Tex continue; } + if (propFrozenIndices.TryReadProperty(ref reader, options, PropFrozenIndices, null)) + { + continue; + } + if (propGraph.TryReadProperty(ref reader, options, PropGraph, null)) { continue; @@ -242,6 +249,7 @@ public override Elastic.Clients.Elasticsearch.Xpack.Features Read(ref System.Tex EnterpriseSearch = propEnterpriseSearch.Value, Eql = propEql.Value, Esql = propEsql.Value, + FrozenIndices = propFrozenIndices.Value, Graph = propGraph.Value, Ilm = propIlm.Value, Logsdb = propLogsdb.Value, @@ -275,6 +283,7 @@ public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clien writer.WriteProperty(options, PropEnterpriseSearch, value.EnterpriseSearch, null, null); writer.WriteProperty(options, PropEql, value.Eql, null, null); writer.WriteProperty(options, PropEsql, value.Esql, null, null); + writer.WriteProperty(options, PropFrozenIndices, value.FrozenIndices, null, null); writer.WriteProperty(options, PropGraph, value.Graph, null, null); writer.WriteProperty(options, PropIlm, value.Ilm, null, null); writer.WriteProperty(options, PropLogsdb, value.Logsdb, null, null); @@ -300,7 +309,7 @@ public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clien public sealed partial class Features { [System.Diagnostics.CodeAnalysis.SetsRequiredMembers] - public Features(Elastic.Clients.Elasticsearch.Xpack.Feature aggregateMetric, Elastic.Clients.Elasticsearch.Xpack.Feature analytics, Elastic.Clients.Elasticsearch.Xpack.Feature archive, Elastic.Clients.Elasticsearch.Xpack.Feature ccr, Elastic.Clients.Elasticsearch.Xpack.Feature dataStreams, Elastic.Clients.Elasticsearch.Xpack.Feature dataTiers, Elastic.Clients.Elasticsearch.Xpack.Feature enrich, Elastic.Clients.Elasticsearch.Xpack.Feature enterpriseSearch, Elastic.Clients.Elasticsearch.Xpack.Feature eql, Elastic.Clients.Elasticsearch.Xpack.Feature esql, Elastic.Clients.Elasticsearch.Xpack.Feature graph, Elastic.Clients.Elasticsearch.Xpack.Feature ilm, Elastic.Clients.Elasticsearch.Xpack.Feature logsdb, Elastic.Clients.Elasticsearch.Xpack.Feature logstash, Elastic.Clients.Elasticsearch.Xpack.Feature ml, Elastic.Clients.Elasticsearch.Xpack.Feature monitoring, Elastic.Clients.Elasticsearch.Xpack.Feature rollup, Elastic.Clients.Elasticsearch.Xpack.Feature searchableSnapshots, Elastic.Clients.Elasticsearch.Xpack.Feature security, Elastic.Clients.Elasticsearch.Xpack.Feature slm, Elastic.Clients.Elasticsearch.Xpack.Feature spatial, Elastic.Clients.Elasticsearch.Xpack.Feature sql, Elastic.Clients.Elasticsearch.Xpack.Feature transform, Elastic.Clients.Elasticsearch.Xpack.Feature universalProfiling, Elastic.Clients.Elasticsearch.Xpack.Feature votingOnly, Elastic.Clients.Elasticsearch.Xpack.Feature watcher) + public Features(Elastic.Clients.Elasticsearch.Xpack.Feature aggregateMetric, Elastic.Clients.Elasticsearch.Xpack.Feature analytics, Elastic.Clients.Elasticsearch.Xpack.Feature archive, Elastic.Clients.Elasticsearch.Xpack.Feature ccr, Elastic.Clients.Elasticsearch.Xpack.Feature dataStreams, Elastic.Clients.Elasticsearch.Xpack.Feature dataTiers, Elastic.Clients.Elasticsearch.Xpack.Feature enrich, Elastic.Clients.Elasticsearch.Xpack.Feature enterpriseSearch, Elastic.Clients.Elasticsearch.Xpack.Feature eql, Elastic.Clients.Elasticsearch.Xpack.Feature esql, Elastic.Clients.Elasticsearch.Xpack.Feature frozenIndices, Elastic.Clients.Elasticsearch.Xpack.Feature graph, Elastic.Clients.Elasticsearch.Xpack.Feature ilm, Elastic.Clients.Elasticsearch.Xpack.Feature logsdb, Elastic.Clients.Elasticsearch.Xpack.Feature logstash, Elastic.Clients.Elasticsearch.Xpack.Feature ml, Elastic.Clients.Elasticsearch.Xpack.Feature monitoring, Elastic.Clients.Elasticsearch.Xpack.Feature rollup, Elastic.Clients.Elasticsearch.Xpack.Feature searchableSnapshots, Elastic.Clients.Elasticsearch.Xpack.Feature security, Elastic.Clients.Elasticsearch.Xpack.Feature slm, Elastic.Clients.Elasticsearch.Xpack.Feature spatial, Elastic.Clients.Elasticsearch.Xpack.Feature sql, Elastic.Clients.Elasticsearch.Xpack.Feature transform, Elastic.Clients.Elasticsearch.Xpack.Feature universalProfiling, Elastic.Clients.Elasticsearch.Xpack.Feature votingOnly, Elastic.Clients.Elasticsearch.Xpack.Feature watcher) { AggregateMetric = aggregateMetric; Analytics = analytics; @@ -312,6 +321,7 @@ public Features(Elastic.Clients.Elasticsearch.Xpack.Feature aggregateMetric, Ela EnterpriseSearch = enterpriseSearch; Eql = eql; Esql = esql; + FrozenIndices = frozenIndices; Graph = graph; Ilm = ilm; Logsdb = logsdb; @@ -399,6 +409,11 @@ internal Features(Elastic.Clients.Elasticsearch.Serialization.JsonConstructorSen public #if NET7_0_OR_GREATER required +#endif + Elastic.Clients.Elasticsearch.Xpack.Feature FrozenIndices { get; set; } + public +#if NET7_0_OR_GREATER + required #endif Elastic.Clients.Elasticsearch.Xpack.Feature Graph { get; set; } public diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/HealthReport/FileSettingsIndicatorDetails.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/FrozenIndices.g.cs similarity index 52% rename from src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/HealthReport/FileSettingsIndicatorDetails.g.cs rename to src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/FrozenIndices.g.cs index d113cb95709..9cabf500dba 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Core/HealthReport/FileSettingsIndicatorDetails.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/FrozenIndices.g.cs @@ -21,26 +21,33 @@ using System.Linq; using Elastic.Clients.Elasticsearch.Serialization; -namespace Elastic.Clients.Elasticsearch.Core.HealthReport; +namespace Elastic.Clients.Elasticsearch.Xpack; -internal sealed partial class FileSettingsIndicatorDetailsConverter : System.Text.Json.Serialization.JsonConverter +internal sealed partial class FrozenIndicesConverter : System.Text.Json.Serialization.JsonConverter { - private static readonly System.Text.Json.JsonEncodedText PropFailureStreak = System.Text.Json.JsonEncodedText.Encode("failure_streak"); - private static readonly System.Text.Json.JsonEncodedText PropMostRecentFailure = System.Text.Json.JsonEncodedText.Encode("most_recent_failure"); + private static readonly System.Text.Json.JsonEncodedText PropAvailable = System.Text.Json.JsonEncodedText.Encode("available"); + private static readonly System.Text.Json.JsonEncodedText PropEnabled = System.Text.Json.JsonEncodedText.Encode("enabled"); + private static readonly System.Text.Json.JsonEncodedText PropIndicesCount = System.Text.Json.JsonEncodedText.Encode("indices_count"); - public override Elastic.Clients.Elasticsearch.Core.HealthReport.FileSettingsIndicatorDetails Read(ref System.Text.Json.Utf8JsonReader reader, System.Type typeToConvert, System.Text.Json.JsonSerializerOptions options) + public override Elastic.Clients.Elasticsearch.Xpack.FrozenIndices Read(ref System.Text.Json.Utf8JsonReader reader, System.Type typeToConvert, System.Text.Json.JsonSerializerOptions options) { reader.ValidateToken(System.Text.Json.JsonTokenType.StartObject); - LocalJsonValue propFailureStreak = default; - LocalJsonValue propMostRecentFailure = default; + LocalJsonValue propAvailable = default; + LocalJsonValue propEnabled = default; + LocalJsonValue propIndicesCount = default; while (reader.Read() && reader.TokenType is System.Text.Json.JsonTokenType.PropertyName) { - if (propFailureStreak.TryReadProperty(ref reader, options, PropFailureStreak, null)) + if (propAvailable.TryReadProperty(ref reader, options, PropAvailable, null)) { continue; } - if (propMostRecentFailure.TryReadProperty(ref reader, options, PropMostRecentFailure, null)) + if (propEnabled.TryReadProperty(ref reader, options, PropEnabled, null)) + { + continue; + } + + if (propIndicesCount.TryReadProperty(ref reader, options, PropIndicesCount, null)) { continue; } @@ -55,44 +62,47 @@ public override Elastic.Clients.Elasticsearch.Core.HealthReport.FileSettingsIndi } reader.ValidateToken(System.Text.Json.JsonTokenType.EndObject); - return new Elastic.Clients.Elasticsearch.Core.HealthReport.FileSettingsIndicatorDetails(Elastic.Clients.Elasticsearch.Serialization.JsonConstructorSentinel.Instance) + return new Elastic.Clients.Elasticsearch.Xpack.FrozenIndices(Elastic.Clients.Elasticsearch.Serialization.JsonConstructorSentinel.Instance) { - FailureStreak = propFailureStreak.Value, - MostRecentFailure = propMostRecentFailure.Value + Available = propAvailable.Value, + Enabled = propEnabled.Value, + IndicesCount = propIndicesCount.Value }; } - public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clients.Elasticsearch.Core.HealthReport.FileSettingsIndicatorDetails value, System.Text.Json.JsonSerializerOptions options) + public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clients.Elasticsearch.Xpack.FrozenIndices value, System.Text.Json.JsonSerializerOptions options) { writer.WriteStartObject(); - writer.WriteProperty(options, PropFailureStreak, value.FailureStreak, null, null); - writer.WriteProperty(options, PropMostRecentFailure, value.MostRecentFailure, null, null); + writer.WriteProperty(options, PropAvailable, value.Available, null, null); + writer.WriteProperty(options, PropEnabled, value.Enabled, null, null); + writer.WriteProperty(options, PropIndicesCount, value.IndicesCount, null, null); writer.WriteEndObject(); } } -[System.Text.Json.Serialization.JsonConverter(typeof(Elastic.Clients.Elasticsearch.Core.HealthReport.FileSettingsIndicatorDetailsConverter))] -public sealed partial class FileSettingsIndicatorDetails +[System.Text.Json.Serialization.JsonConverter(typeof(Elastic.Clients.Elasticsearch.Xpack.FrozenIndicesConverter))] +public sealed partial class FrozenIndices { [System.Diagnostics.CodeAnalysis.SetsRequiredMembers] - public FileSettingsIndicatorDetails(long failureStreak, string mostRecentFailure) + public FrozenIndices(bool available, bool enabled, long indicesCount) { - FailureStreak = failureStreak; - MostRecentFailure = mostRecentFailure; + Available = available; + Enabled = enabled; + IndicesCount = indicesCount; } #if NET7_0_OR_GREATER - public FileSettingsIndicatorDetails() + public FrozenIndices() { } #endif #if !NET7_0_OR_GREATER [System.Obsolete("The type contains required properties that must be initialized. Please use an alternative constructor to ensure all required values are properly set.")] - public FileSettingsIndicatorDetails() + public FrozenIndices() { } #endif [System.Diagnostics.CodeAnalysis.SetsRequiredMembers] - internal FileSettingsIndicatorDetails(Elastic.Clients.Elasticsearch.Serialization.JsonConstructorSentinel sentinel) + internal FrozenIndices(Elastic.Clients.Elasticsearch.Serialization.JsonConstructorSentinel sentinel) { _ = sentinel; } @@ -101,10 +111,15 @@ internal FileSettingsIndicatorDetails(Elastic.Clients.Elasticsearch.Serializatio #if NET7_0_OR_GREATER required #endif - long FailureStreak { get; set; } + bool Available { get; set; } + public +#if NET7_0_OR_GREATER + required +#endif + bool Enabled { get; set; } public #if NET7_0_OR_GREATER required #endif - string MostRecentFailure { get; set; } + long IndicesCount { get; set; } } \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Shared/Api/GetSourceResponse.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Api/GetSourceResponse.cs index 19db7764bbb..0d76799059c 100644 --- a/src/Elastic.Clients.Elasticsearch/_Shared/Api/GetSourceResponse.cs +++ b/src/Elastic.Clients.Elasticsearch/_Shared/Api/GetSourceResponse.cs @@ -8,6 +8,6 @@ namespace Elastic.Clients.Elasticsearch; public partial class GetSourceResponse { - [Obsolete($"Use '{nameof(Source)}' instead.")] - public TDocument Body { get => Source; set => Source = value; } + [Obsolete($"Use '{nameof(Document)}' instead.")] + public TDocument Body { get => Document; set => Document = value; } } diff --git a/src/Elastic.Clients.Elasticsearch/_Shared/Api/IndexManagement/GetAliasResponse.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Api/IndexManagement/GetAliasResponse.cs index 0a36644731a..aec50dbf2b4 100644 --- a/src/Elastic.Clients.Elasticsearch/_Shared/Api/IndexManagement/GetAliasResponse.cs +++ b/src/Elastic.Clients.Elasticsearch/_Shared/Api/IndexManagement/GetAliasResponse.cs @@ -14,5 +14,5 @@ public partial class GetAliasResponse /// the client considers the response to be valid. /// /// - public override bool IsValidResponse => base.IsValidResponse || Aliases?.Count > 0; + public override bool IsValidResponse => base.IsValidResponse || Values?.Count > 0; } diff --git a/src/Elastic.Clients.Elasticsearch/_Shared/Api/IndexManagement/GetFieldMappingResponse.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Api/IndexManagement/GetFieldMappingResponse.cs index 2afdf7cbcfb..d9dc6a8adb6 100644 --- a/src/Elastic.Clients.Elasticsearch/_Shared/Api/IndexManagement/GetFieldMappingResponse.cs +++ b/src/Elastic.Clients.Elasticsearch/_Shared/Api/IndexManagement/GetFieldMappingResponse.cs @@ -60,7 +60,7 @@ public bool TryGetProperty(string index, string field, [NotNullWhen(true)] out I private IReadOnlyDictionary? MappingsFor(string index) { - if (FieldMappings!.TryGetValue(index, out var indexMapping)) + if (Values!.TryGetValue(index, out var indexMapping)) return null; return indexMapping.Mappings; diff --git a/src/Elastic.Clients.Elasticsearch/_Shared/Api/IndexManagement/GetMappingResponse.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Api/IndexManagement/GetMappingResponse.cs index c47b62cc243..6fff3748cb1 100644 --- a/src/Elastic.Clients.Elasticsearch/_Shared/Api/IndexManagement/GetMappingResponse.cs +++ b/src/Elastic.Clients.Elasticsearch/_Shared/Api/IndexManagement/GetMappingResponse.cs @@ -13,6 +13,6 @@ public static class GetMappingResponseExtensions if (index.IsNullOrEmpty()) return null; - return response.Mappings.TryGetValue(index, out var indexMappings) ? indexMappings.Mappings : null; + return response.Values.TryGetValue(index, out var indexMappings) ? indexMappings.Mappings : null; } } From 6e5b19eb6108a853f6f73f3997e2ce8a1634344f Mon Sep 17 00:00:00 2001 From: Florian Bernd Date: Thu, 22 May 2025 21:55:20 +0200 Subject: [PATCH 19/25] Update README --- README.md | 29 +++++++++++++++-------------- 1 file changed, 15 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index 217074fd379..75a59504858 100644 --- a/README.md +++ b/README.md @@ -17,20 +17,21 @@ The .NET client for Elasticsearch provides strongly typed requests and responses ## Compatibility -Language clients are forward compatible; meaning that the clients support -communicating with greater or equal minor versions of Elasticsearch without -breaking. It does not mean that the clients automatically support new features -of newer Elasticsearch versions; it is only possible after a release of a new -client version. For example, a 8.12 client version won't automatically support -the new features of the 8.13 version of Elasticsearch, the 8.13 client version -is required for that. Elasticsearch language clients are only backwards -compatible with default distributions and without guarantees made. - -| Elasticsearch Version | Elasticsearch-NET Branch | Supported | -| --------------------- | ------------------------- | --------- | -| main | main | | -| 8.x | 8.x | 8.x | -| 7.x | 7.x | 7.17 | +Language clients are **forward compatible**: + +Given a constant major version of the client, each related minor version is compatible with its equivalent- and all later Elasticsearch minor versions of the **same or next higher** major version. + +For example: + +| Client Version | Compatible with Elasticsearch `7.x` | Compatible with Elasticsearch `8.x` | Compatible with Elasticsearch `9.x` | +| ---: | :-- | :-- | :-- | +| 8.x | ❌ no | ✅ yes | ✅ yes | +| 7.x | ✅ yes | ✅ yes | ❌ no | + +Language clients are also **backward compatible** across minor versions within the **same** major version (without strong guarantees), but **never** backward compatible with earlier Elasticsearch major versions. + +> [!NOTE] +> Compatibility does not imply feature parity. For example, an `8.12` client is compatible with `8.13`, but does not support any of the new features introduced in Elasticsearch `8.13`. ## Installation From 214de0f3ae7430868970c828a44285c0fb6bb139 Mon Sep 17 00:00:00 2001 From: Florian Bernd Date: Fri, 23 May 2025 10:11:10 +0200 Subject: [PATCH 20/25] Fix docs build (#8540) --- docs/client-concepts/client-concepts.asciidoc | 26 + .../custom-serialization.asciidoc | 232 ++++++++ .../modeling-documents-with-types.asciidoc | 37 ++ .../troubleshooting/audit-trail.asciidoc} | 56 +- .../capture-requests-localhost.png} | Bin .../capture-requests-remotehost.png} | Bin .../debug-information.asciidoc | 180 ++++++ .../troubleshooting/debug-mode.asciidoc | 65 +++ .../deprecation-logging.asciidoc | 40 ++ .../diagnostic-source.asciidoc | 121 ++++ .../troubleshooting/inspect-requests.png} | Bin .../logging-with-fiddler.asciidoc | 48 ++ ...ogging-with-on-request-completed.asciidoc} | 114 ++-- docs/configuration.asciidoc | 247 +++++++++ docs/connecting.asciidoc | 173 ++++++ docs/docset.yml | 12 - docs/getting-started.asciidoc | 160 ++++++ .../{reference => }/images/create-api-key.png | Bin docs/images/es-cloudid.jpg | Bin 0 -> 331102 bytes docs/{reference => }/images/es-endpoint.jpg | Bin docs/index.asciidoc | 33 ++ docs/install.asciidoc | 95 ++++ docs/intro.asciidoc | 54 ++ docs/migration-guide.asciidoc | 334 +++++++++++ docs/redirects.asciidoc | 24 + ..._options_on_elasticsearchclientsettings.md | 175 ------ docs/reference/aggregations.md | 130 ----- docs/reference/client-concepts.md | 9 - docs/reference/configuration.md | 10 - docs/reference/connecting.md | 123 ---- docs/reference/esql.md | 50 -- docs/reference/examples.md | 164 ------ docs/reference/getting-started.md | 140 ----- docs/reference/index.md | 44 -- docs/reference/installation.md | 67 --- docs/reference/mappings.md | 37 -- docs/reference/migration-guide.md | 222 -------- docs/reference/query.md | 51 -- docs/reference/recommendations.md | 25 - docs/reference/serialization.md | 12 - docs/reference/source-serialization.md | 524 ------------------ docs/reference/toc.yml | 34 -- .../troubleshoot/debug-information.md | 165 ------ docs/reference/troubleshoot/debug-mode.md | 50 -- docs/reference/troubleshoot/debugging.md | 14 - docs/reference/troubleshoot/index.md | 13 - .../troubleshoot/logging-with-fiddler.md | 44 -- docs/reference/troubleshoot/logging.md | 14 - docs/reference/using-net-client.md | 24 - .../breaking-change-policy.asciidoc | 32 ++ docs/release-notes/breaking-changes.md | 235 -------- docs/release-notes/deprecations.md | 21 - docs/release-notes/index.md | 406 -------------- docs/release-notes/known-issues.md | 24 - .../release-notes-8.0.0.asciidoc | 511 +++++++++++++++++ .../release-notes-8.0.1.asciidoc | 71 +++ .../release-notes-8.0.10.asciidoc | 11 + .../release-notes-8.0.2.asciidoc | 82 +++ .../release-notes-8.0.3.asciidoc | 17 + .../release-notes-8.0.4.asciidoc | 138 +++++ .../release-notes-8.0.5.asciidoc | 98 ++++ .../release-notes-8.0.6.asciidoc | 110 ++++ .../release-notes-8.0.7.asciidoc | 7 + .../release-notes-8.0.8.asciidoc | 7 + .../release-notes-8.0.9.asciidoc | 34 ++ .../release-notes-8.1.0.asciidoc | 90 +++ .../release-notes-8.1.1.asciidoc | 72 +++ .../release-notes-8.1.2.asciidoc | 17 + .../release-notes-8.1.3.asciidoc | 19 + .../release-notes-8.10.0.asciidoc | 13 + .../release-notes-8.11.0.asciidoc | 13 + .../release-notes-8.9.0.asciidoc | 15 + .../release-notes-8.9.1.asciidoc | 7 + .../release-notes-8.9.2.asciidoc | 14 + .../release-notes-8.9.3.asciidoc | 10 + docs/release-notes/release-notes.asciidoc | 68 +++ docs/release-notes/toc.yml | 5 - docs/troubleshooting.asciidoc | 45 ++ docs/usage/esql.asciidoc | 69 +++ docs/usage/examples.asciidoc | 122 ++++ docs/usage/index.asciidoc | 25 + docs/usage/recommendations.asciidoc | 37 ++ .../transport.md => usage/transport.asciidoc} | 18 +- 83 files changed, 3727 insertions(+), 2928 deletions(-) create mode 100644 docs/client-concepts/client-concepts.asciidoc create mode 100644 docs/client-concepts/serialization/custom-serialization.asciidoc create mode 100644 docs/client-concepts/serialization/modeling-documents-with-types.asciidoc rename docs/{reference/troubleshoot/audit-trail.md => client-concepts/troubleshooting/audit-trail.asciidoc} (71%) rename docs/{reference/images/elasticsearch-client-net-api-capture-requests-localhost.png => client-concepts/troubleshooting/capture-requests-localhost.png} (100%) rename docs/{reference/images/elasticsearch-client-net-api-capture-requests-remotehost.png => client-concepts/troubleshooting/capture-requests-remotehost.png} (100%) create mode 100644 docs/client-concepts/troubleshooting/debug-information.asciidoc create mode 100644 docs/client-concepts/troubleshooting/debug-mode.asciidoc create mode 100644 docs/client-concepts/troubleshooting/deprecation-logging.asciidoc create mode 100644 docs/client-concepts/troubleshooting/diagnostic-source.asciidoc rename docs/{reference/images/elasticsearch-client-net-api-inspect-requests.png => client-concepts/troubleshooting/inspect-requests.png} (100%) create mode 100644 docs/client-concepts/troubleshooting/logging-with-fiddler.asciidoc rename docs/{reference/troubleshoot/logging-with-onrequestcompleted.md => client-concepts/troubleshooting/logging-with-on-request-completed.asciidoc} (65%) create mode 100644 docs/configuration.asciidoc create mode 100644 docs/connecting.asciidoc delete mode 100644 docs/docset.yml create mode 100644 docs/getting-started.asciidoc rename docs/{reference => }/images/create-api-key.png (100%) create mode 100644 docs/images/es-cloudid.jpg rename docs/{reference => }/images/es-endpoint.jpg (100%) create mode 100644 docs/index.asciidoc create mode 100644 docs/install.asciidoc create mode 100644 docs/intro.asciidoc create mode 100644 docs/migration-guide.asciidoc create mode 100644 docs/redirects.asciidoc delete mode 100644 docs/reference/_options_on_elasticsearchclientsettings.md delete mode 100644 docs/reference/aggregations.md delete mode 100644 docs/reference/client-concepts.md delete mode 100644 docs/reference/configuration.md delete mode 100644 docs/reference/connecting.md delete mode 100644 docs/reference/esql.md delete mode 100644 docs/reference/examples.md delete mode 100644 docs/reference/getting-started.md delete mode 100644 docs/reference/index.md delete mode 100644 docs/reference/installation.md delete mode 100644 docs/reference/mappings.md delete mode 100644 docs/reference/migration-guide.md delete mode 100644 docs/reference/query.md delete mode 100644 docs/reference/recommendations.md delete mode 100644 docs/reference/serialization.md delete mode 100644 docs/reference/source-serialization.md delete mode 100644 docs/reference/toc.yml delete mode 100644 docs/reference/troubleshoot/debug-information.md delete mode 100644 docs/reference/troubleshoot/debug-mode.md delete mode 100644 docs/reference/troubleshoot/debugging.md delete mode 100644 docs/reference/troubleshoot/index.md delete mode 100644 docs/reference/troubleshoot/logging-with-fiddler.md delete mode 100644 docs/reference/troubleshoot/logging.md delete mode 100644 docs/reference/using-net-client.md create mode 100644 docs/release-notes/breaking-change-policy.asciidoc delete mode 100644 docs/release-notes/breaking-changes.md delete mode 100644 docs/release-notes/deprecations.md delete mode 100644 docs/release-notes/index.md delete mode 100644 docs/release-notes/known-issues.md create mode 100644 docs/release-notes/release-notes-8.0.0.asciidoc create mode 100644 docs/release-notes/release-notes-8.0.1.asciidoc create mode 100644 docs/release-notes/release-notes-8.0.10.asciidoc create mode 100644 docs/release-notes/release-notes-8.0.2.asciidoc create mode 100644 docs/release-notes/release-notes-8.0.3.asciidoc create mode 100644 docs/release-notes/release-notes-8.0.4.asciidoc create mode 100644 docs/release-notes/release-notes-8.0.5.asciidoc create mode 100644 docs/release-notes/release-notes-8.0.6.asciidoc create mode 100644 docs/release-notes/release-notes-8.0.7.asciidoc create mode 100644 docs/release-notes/release-notes-8.0.8.asciidoc create mode 100644 docs/release-notes/release-notes-8.0.9.asciidoc create mode 100644 docs/release-notes/release-notes-8.1.0.asciidoc create mode 100644 docs/release-notes/release-notes-8.1.1.asciidoc create mode 100644 docs/release-notes/release-notes-8.1.2.asciidoc create mode 100644 docs/release-notes/release-notes-8.1.3.asciidoc create mode 100644 docs/release-notes/release-notes-8.10.0.asciidoc create mode 100644 docs/release-notes/release-notes-8.11.0.asciidoc create mode 100644 docs/release-notes/release-notes-8.9.0.asciidoc create mode 100644 docs/release-notes/release-notes-8.9.1.asciidoc create mode 100644 docs/release-notes/release-notes-8.9.2.asciidoc create mode 100644 docs/release-notes/release-notes-8.9.3.asciidoc create mode 100644 docs/release-notes/release-notes.asciidoc delete mode 100644 docs/release-notes/toc.yml create mode 100644 docs/troubleshooting.asciidoc create mode 100644 docs/usage/esql.asciidoc create mode 100644 docs/usage/examples.asciidoc create mode 100644 docs/usage/index.asciidoc create mode 100644 docs/usage/recommendations.asciidoc rename docs/{reference/transport.md => usage/transport.asciidoc} (79%) diff --git a/docs/client-concepts/client-concepts.asciidoc b/docs/client-concepts/client-concepts.asciidoc new file mode 100644 index 00000000000..6b333b44615 --- /dev/null +++ b/docs/client-concepts/client-concepts.asciidoc @@ -0,0 +1,26 @@ +[[client-concepts]] += Client concepts + +The .NET client for {es} maps closely to the original {es} API. All +requests and responses are exposed through types, making it ideal for getting up and running quickly. + +[[serialization]] +== Serialization + +By default, the .NET client for {es} uses the Microsoft System.Text.Json library for serialization. The client understands how to serialize and +deserialize the request and response types correctly. It also handles (de)serialization of user POCO types representing documents read or written to {es}. + +The client has two distinct serialization responsibilities - serialization of the types owned by the `Elastic.Clients.Elasticsearch` library and serialization of source documents, modeled in application code. The first responsibility is entirely internal; the second is configurable. + +[[source-serialization]] +=== Source serialization + +Source serialization refers to the process of (de)serializing POCO types in consumer applications as source documents indexed and retrieved from {es}. A source serializer implementation handles serialization, with the default implementation using the `System.Text.Json` library. As a result, you may use `System.Text.Json` attributes and converters to control the serialization behavior. + +* <> + +* <> + +include::serialization/modeling-documents-with-types.asciidoc[] + +include::serialization/custom-serialization.asciidoc[] diff --git a/docs/client-concepts/serialization/custom-serialization.asciidoc b/docs/client-concepts/serialization/custom-serialization.asciidoc new file mode 100644 index 00000000000..3ca00988e20 --- /dev/null +++ b/docs/client-concepts/serialization/custom-serialization.asciidoc @@ -0,0 +1,232 @@ +[[customizing-source-serialization]] +==== Customizing source serialization + +The built-in source serializer handles most POCO document models correctly. Sometimes, you may need further control over how your types are serialized. + +NOTE: The built-in source serializer uses the https://learn.microsoft.com/en-us/dotnet/standard/serialization/system-text-json/overview[Microsoft `System.Text.Json` library] internally. You can apply `System.Text.Json` attributes and converters to control the serialization of your document types. + +[discrete] +[[system-text-json-attributes]] +===== Using `System.Text.Json` attributes + +`System.Text.Json` includes attributes that can be applied to types and properties to control their serialization. These can be applied to your POCO document types to perform actions such as controlling the name of a property or ignoring a property entirely. Visit the https://learn.microsoft.com/en-us/dotnet/standard/serialization/system-text-json/overview[Microsoft documentation for further examples]. + +We can model a document to represent data about a person using a regular class (POCO), applying `System.Text.Json` attributes as necessary. + +[source,csharp] +---- +include::{doc-tests-src}/ClientConcepts/Serialization/CustomSerializationTests.cs[tag=usings-serialization] +include::{doc-tests-src}/ClientConcepts/Serialization/CustomSerializationTests.cs[tag=person-class-with-attributes] +---- +<1> The `JsonPropertyName` attribute ensures the `FirstName` property uses the JSON name `forename` when serialized. +<2> The `JsonIgnore` attribute prevents the `Age` property from appearing in the serialized JSON. + +We can then index an instance of the document into {es}. + +[source,csharp] +---- +include::{doc-tests-src}/ClientConcepts/Serialization/CustomSerializationTests.cs[tag=usings] +include::{doc-tests-src}/ClientConcepts/Serialization/CustomSerializationTests.cs[tag=index-person-with-attributes] +---- + +The index request is serialized, with the source serializer handling the `Person` type, serializing the POCO property named `FirstName` to the JSON object member named `forename`. The `Age` property is ignored and does not appear in the JSON. + +[source,javascript] +---- +{ + "forename": "Steve" +} +---- + +[discrete] +[[configuring-custom-jsonserializeroptions]] +===== Configuring custom `JsonSerializerOptions` + +The default source serializer applies a set of standard `JsonSerializerOptions` when serializing source document types. In some circumstances, you may need to override some of our defaults. This is achievable by creating an instance of `DefaultSourceSerializer` and passing an `Action`, which is applied after our defaults have been set. This mechanism allows you to apply additional settings or change the value of our defaults. + +The `DefaultSourceSerializer` includes a constructor that accepts the current `IElasticsearchClientSettings` and a `configureOptions` `Action`. + +[source,csharp] +---- +public DefaultSourceSerializer(IElasticsearchClientSettings settings, Action configureOptions); +---- + +Our application defines the following `Person` class, which models a document we will index to {es}. + +[source,csharp] +---- +include::{doc-tests-src}/ClientConcepts/Serialization/CustomSerializationTests.cs[tag=person-class] +---- + +We want to serialize our source document using Pascal Casing for the JSON properties. Since the options applied in the `DefaultSouceSerializer` set the `PropertyNamingPolicy` to `JsonNamingPolicy.CamelCase`, we must override this setting. After configuring the `ElasticsearchClientSettings`, we index our document to {es}. + +[source,csharp] +---- +include::{doc-tests-src}/ClientConcepts/Serialization/CustomSerializationTests.cs[tag=usings] +include::{doc-tests-src}/ClientConcepts/Serialization/CustomSerializationTests.cs[tag=custom-options-local-function] +include::{doc-tests-src}/ClientConcepts/Serialization/CustomSerializationTests.cs[tag=create-client] +include::{doc-tests-src}/ClientConcepts/Serialization/CustomSerializationTests.cs[tag=index-person] +---- +<1> A local function can be defined, accepting a `JsonSerializerOptions` parameter. Here, we set `PropertyNamingPolicy` to `null`. This returns to the default behavior for `System.Text.Json`, which uses Pascal Case. +<2> When creating the `ElasticsearchClientSettings`, we supply a `SourceSerializerFactory` using a lambda. The factory function creates a new instance of `DefaultSourceSerializer`, passing in the `settings` and our `ConfigureOptions` local function. We have now configured the settings with a custom instance of the source serializer. + +The `Person` instance is serialized, with the source serializer serializing the POCO property named `FirstName` using Pascal Case. + +[source,javascript] +---- +{ + "FirstName": "Steve" +} +---- + +As an alternative to using a local function, we could store an `Action` into a variable instead, which can be passed to the `DefaultSouceSerializer` constructor. + +[source,csharp] +---- +include::{doc-tests-src}/ClientConcepts/Serialization/CustomSerializationTests.cs[tag=custom-options-action] +---- + +[discrete] +[[registering-custom-converters]] +===== Registering custom `System.Text.Json` converters + +In certain more advanced situations, you may have types which require further customization during serialization than is possible using `System.Text.Json` property attributes. In these cases, the recommendation from Microsoft is to leverage a custom `JsonConverter`. Source document types serialized using the `DefaultSourceSerializer` can leverage the power of custom converters. + +For this example, our application has a document class that should use a legacy JSON structure to continue operating with existing indexed documents. Several options are available, but we'll apply a custom converter in this case. + +Our class is defined, and the `JsonConverter` attribute is applied to the class type, specifying the type of a custom converter. + +[source,csharp] +---- +include::{doc-tests-src}/ClientConcepts/Serialization/CustomSerializationTests.cs[tag=usings-serialization] +include::{doc-tests-src}/ClientConcepts/Serialization/CustomSerializationTests.cs[tag=customer-with-jsonconverter-attribute] +---- +<1> The `JsonConverter` attribute signals to `System.Text.Json` that it should use a converter of type `CustomerConverter` when serializing instances of this class. + +When serializing this class, rather than include a string value representing the value of the `CustomerType` property, we must send a boolean property named `isStandard`. This requirement can be achieved with a custom JsonConverter implementation. + +[source,csharp] +---- +include::{doc-tests-src}/ClientConcepts/Serialization/CustomSerializationTests.cs[tag=converter-usings] +include::{doc-tests-src}/ClientConcepts/Serialization/CustomSerializationTests.cs[tag=customer-converter] +---- +<1> When reading, this converter reads the `isStandard` boolean and translate this to the correct `CustomerType` enum value. +<2> When writing, this converter translates the `CustomerType` enum value to an `isStandard` boolean property. + +We can then index a customer document into {es}. + +[source,csharp] +---- +include::{doc-tests-src}/ClientConcepts/Serialization/CustomSerializationTests.cs[tag=usings] +include::{doc-tests-src}/ClientConcepts/Serialization/CustomSerializationTests.cs[tag=index-customer-with-converter] +---- + +The `Customer` instance is serialized using the custom converter, creating the following JSON document. + +[source,javascript] +---- +{ + "customerName": "Customer Ltd", + "isStandard": false +} +---- + +[discrete] +[[creating-custom-system-text-json-serializer]] +===== Creating a custom `SystemTextJsonSerializer` + +The built-in `DefaultSourceSerializer` includes the registration of `JsonConverter` instances which apply during source serialization. In most cases, these provide the proper behavior for serializing source documents, including those which use `Elastic.Clients.Elasticsearch` types on their properties. + +An example of a situation where you may require more control over the converter registration order is for serializing `enum` types. The `DefaultSourceSerializer` registers the `System.Text.Json.Serialization.JsonStringEnumConverter`, so enum values are serialized using their string representation. Generally, this is the preferred option for types used to index documents to {es}. + +In some scenarios, you may need to control the string value sent for an enumeration value. That is not directly supported in `System.Text.Json` but can be achieved by creating a custom `JsonConverter` for the `enum` type you wish to customize. In this situation, it is not sufficient to use the `JsonConverterAttribute` on the `enum` type to register the converter. `System.Text.Json` will prefer the converters added to the `Converters` collection on the `JsonSerializerOptions` over an attribute applied to an `enum` type. It is, therefore, necessary to either remove the `JsonStringEnumConverter` from the `Converters` collection or register a specialized converter for your `enum` type before the `JsonStringEnumConverter`. + +The latter is possible via several techniques. When using the {es} .NET library, we can achieve this by deriving from the abstract `SystemTextJsonSerializer` class. + +Here we have a POCO which uses the `CustomerType` enum as the type for a property. + +[source,csharp] +---- +include::{doc-tests-src}/ClientConcepts/Serialization/CustomSerializationTests.cs[tag=usings-serialization] +include::{doc-tests-src}/ClientConcepts/Serialization/CustomSerializationTests.cs[tag=customer-without-jsonconverter-attribute] +---- + +To customize the strings used during serialization of the `CustomerType`, we define a custom `JsonConverter` specific to our `enum` type. + +[source,csharp] +---- +include::{doc-tests-src}/ClientConcepts/Serialization/CustomSerializationTests.cs[tag=usings-serialization] +include::{doc-tests-src}/ClientConcepts/Serialization/CustomSerializationTests.cs[tag=customer-type-converter] +---- +<1> When reading, this converter translates the string used in the JSON to the matching enum value. +<2> When writing, this converter translates the `CustomerType` enum value to a custom string value written to the JSON. + +We create a serializer derived from `SystemTextJsonSerializer` to give us complete control of converter registration order. + +[source,csharp] +---- +include::{doc-tests-src}/ClientConcepts/Serialization/CustomSerializationTests.cs[tag=derived-converter-usings] +include::{doc-tests-src}/ClientConcepts/Serialization/CustomSerializationTests.cs[tag=my-custom-serializer] +---- +<1> Inherit from `SystemTextJsonSerializer`. +<2> In the constructor, use the factory method `DefaultSourceSerializer.CreateDefaultJsonSerializerOptions` to create default options for serialization. No default converters are registered at this stage because we pass `false` as an argument. +<3> Register our `CustomerTypeConverter` as the first converter. +<4> To apply any default converters, call the `DefaultSourceSerializer.AddDefaultConverters` helper method, passing the options to modify. +<5> Implement the `CreateJsonSerializerOptions` method returning the stored `JsonSerializerOptions`. + +Because we have registered our `CustomerTypeConverter` before the default converters (which include the `JsonStringEnumConverter`), our converter takes precedence when serializing `CustomerType` instances on source documents. + +The base `SystemTextJsonSerializer` class handles the implementation details of binding, which is required to ensure that the built-in converters can access the `IElasticsearchClientSettings` where needed. + +We can then index a customer document into {es}. + +[source,csharp] +---- +include::{doc-tests-src}/ClientConcepts/Serialization/CustomSerializationTests.cs[tag=usings] +include::{doc-tests-src}/ClientConcepts/Serialization/CustomSerializationTests.cs[tag=index-customer-without-jsonconverter-attribute] +---- + +The `Customer` instance is serialized using the custom `enum` converter, creating the following JSON document. + +[source,javascript] +---- +{ + "customerName": "Customer Ltd", + "customerType": "premium" // <1> +} +---- +<1> The string value applied during serialization is provided by our custom converter. + +[discrete] +[[creating-custom-serializers]] +===== Creating a custom `Serializer` + +Suppose you prefer using an alternative JSON serialization library for your source types. In that case, you can inject an isolated serializer only to be called for the serialization of `_source`, `_fields`, or wherever a user-provided value is expected to be written and returned. + +Implementing `Elastic.Transport.Serializer` is technically enough to create a custom source serializer. + +[source,csharp] +---- +include::{doc-tests-src}/ClientConcepts/Serialization/CustomSerializationTests.cs[tag=vanilla-serializer-using-directives] +include::{doc-tests-src}/ClientConcepts/Serialization/CustomSerializationTests.cs[tag=vanilla-serializer] +---- + +Registering up the serializer is performed in the `ConnectionSettings` constructor. + +[source,csharp] +---- +include::{doc-tests-src}/ClientConcepts/Serialization/CustomSerializationTests.cs[tag=usings] +include::{doc-tests-src}/ClientConcepts/Serialization/CustomSerializationTests.cs[tag=register-vanilla-serializer] +---- +<1> If implementing `Serializer` is enough, why must we provide an instance wrapped in a factory `Func`? + +There are various cases where you might have a POCO type that contains an `Elastic.Clients.Elasticsearch` type as one of its properties. The `SourceSerializerFactory` delegate provides access to the default built-in serializer so you can access it when necessary. For example, consider if you want to use percolation; you need to store {es} queries as part of the `_source` of your document, which means you need to have a POCO that looks like this. + +[source,csharp] +---- +include::{doc-tests-src}/ClientConcepts/Serialization/CustomSerializationTests.cs[tag=querydsl-using-directives] +include::{doc-tests-src}/ClientConcepts/Serialization/CustomSerializationTests.cs[tag=percolation-document] +---- + +A custom serializer would not know how to serialize `Query` or other `Elastic.Clients.Elasticsearch` types that could appear as part of +the `_source` of a document. Therefore, your custom `Serializer` would need to store a reference to our built-in serializer and delegate serialization of Elastic types back to it. \ No newline at end of file diff --git a/docs/client-concepts/serialization/modeling-documents-with-types.asciidoc b/docs/client-concepts/serialization/modeling-documents-with-types.asciidoc new file mode 100644 index 00000000000..d4e57b6d575 --- /dev/null +++ b/docs/client-concepts/serialization/modeling-documents-with-types.asciidoc @@ -0,0 +1,37 @@ +[[modeling-documents-with-types]] +==== Modeling documents with types + +{es} provides search and aggregation capabilities on the documents that it is sent and indexes. These documents are sent as +JSON objects within the request body of a HTTP request. It is natural to model documents within the {es} .NET client using +https://en.wikipedia.org/wiki/Plain_Old_CLR_Object[POCOs (__Plain Old CLR Objects__)]. + +This section provides an overview of how types and type hierarchies can be used to model documents. + +[[default-behaviour]] +===== Default behaviour + +The default behaviour is to serialize type property names as camelcase JSON object members. + +We can model documents using a regular class (POCO). + +[source,csharp] +---- +include-tagged::{doc-tests-src}/ClientConcepts/Serialization/ModellingDocumentsWithTypesTests.cs[my-document-poco] +---- + +We can then index the an instance of the document into {es}. + +[source,csharp] +---- +include-tagged::{doc-tests-src}/ClientConcepts/Serialization/ModellingDocumentsWithTypesTests.cs[usings] +include-tagged::{doc-tests-src}/ClientConcepts/Serialization/ModellingDocumentsWithTypesTests.cs[index-my-document] +---- + +The index request is serialized, with the source serializer handling the `MyDocument` type, serializing the POCO property named `StringProperty` to the JSON object member named `stringProperty`. + +[source,javascript] +---- +{ + "stringProperty": "value" +} +---- \ No newline at end of file diff --git a/docs/reference/troubleshoot/audit-trail.md b/docs/client-concepts/troubleshooting/audit-trail.asciidoc similarity index 71% rename from docs/reference/troubleshoot/audit-trail.md rename to docs/client-concepts/troubleshooting/audit-trail.asciidoc index 96d3008aaf2..7622c09e41c 100644 --- a/docs/reference/troubleshoot/audit-trail.md +++ b/docs/client-concepts/troubleshooting/audit-trail.asciidoc @@ -1,15 +1,22 @@ ---- -mapped_pages: - - https://www.elastic.co/guide/en/elasticsearch/client/net-api/current/audit-trail.html ---- -# Audit trail [audit-trail] -Elasticsearch.Net and NEST provide an audit trail for the events within the request pipeline that occur when a request is made. This audit trail is available on the response as demonstrated in the following example. +:github: https://github.com/elastic/elasticsearch-net -We’ll use a Sniffing connection pool here since it sniffs on startup and pings before first usage, so we can get an audit trail with a few events out +:nuget: https://www.nuget.org/packages -```csharp + +[[audit-trail]] +=== Audit trail + +Elasticsearch.Net and NEST provide an audit trail for the events within the request pipeline that +occur when a request is made. This audit trail is available on the response as demonstrated in the +following example. + +We'll use a Sniffing connection pool here since it sniffs on startup and pings before +first usage, so we can get an audit trail with a few events out + +[source,csharp] +---- var pool = new SniffingConnectionPool(new []{ TestConnectionSettings.CreateUri() }); var connectionSettings = new ConnectionSettings(pool) .DefaultMappingFor(i => i @@ -17,19 +24,21 @@ var connectionSettings = new ConnectionSettings(pool) ); var client = new ElasticClient(connectionSettings); -``` +---- After issuing the following request -```csharp +[source,csharp] +---- var response = client.Search(s => s .MatchAll() ); -``` +---- -The audit trail is provided in the [Debug information](debug-information.md) in a human readable fashion, similar to +The audit trail is provided in the <> in a human +readable fashion, similar to -``` +.... Valid NEST response built from a successful low level call on POST: /project/doc/_search # Audit trail of this API call: - [1] SniffOnStartup: Took: 00:00:00.0360264 @@ -40,27 +49,32 @@ Valid NEST response built from a successful low level call on POST: /project/doc # Response: -``` +.... + to help with troubleshootin -```csharp +[source,csharp] +---- var debug = response.DebugInformation; -``` +---- But can also be accessed manually: -```csharp +[source,csharp] +---- response.ApiCall.AuditTrail.Count.Should().Be(4, "{0}", debug); response.ApiCall.AuditTrail[0].Event.Should().Be(SniffOnStartup, "{0}", debug); response.ApiCall.AuditTrail[1].Event.Should().Be(SniffSuccess, "{0}", debug); response.ApiCall.AuditTrail[2].Event.Should().Be(PingSuccess, "{0}", debug); response.ApiCall.AuditTrail[3].Event.Should().Be(HealthyResponse, "{0}", debug); -``` +---- -Each audit has a started and ended `DateTime` on it that will provide some understanding of how long it took +Each audit has a started and ended `DateTime` on it that will provide +some understanding of how long it took -```csharp +[source,csharp] +---- response.ApiCall.AuditTrail .Should().OnlyContain(a => a.Ended - a.Started >= TimeSpan.Zero); -``` +---- diff --git a/docs/reference/images/elasticsearch-client-net-api-capture-requests-localhost.png b/docs/client-concepts/troubleshooting/capture-requests-localhost.png similarity index 100% rename from docs/reference/images/elasticsearch-client-net-api-capture-requests-localhost.png rename to docs/client-concepts/troubleshooting/capture-requests-localhost.png diff --git a/docs/reference/images/elasticsearch-client-net-api-capture-requests-remotehost.png b/docs/client-concepts/troubleshooting/capture-requests-remotehost.png similarity index 100% rename from docs/reference/images/elasticsearch-client-net-api-capture-requests-remotehost.png rename to docs/client-concepts/troubleshooting/capture-requests-remotehost.png diff --git a/docs/client-concepts/troubleshooting/debug-information.asciidoc b/docs/client-concepts/troubleshooting/debug-information.asciidoc new file mode 100644 index 00000000000..a7504312d2d --- /dev/null +++ b/docs/client-concepts/troubleshooting/debug-information.asciidoc @@ -0,0 +1,180 @@ + + +:github: https://github.com/elastic/elasticsearch-net + +:nuget: https://www.nuget.org/packages + +[[debug-information]] +=== Debug information + +Every response from Elasticsearch.Net and NEST contains a `DebugInformation` property +that provides a human readable description of what happened during the request for both successful and +failed requests + +[source,csharp] +---- +var response = client.Search(s => s + .Query(q => q + .MatchAll() + ) +); + +response.DebugInformation.Should().Contain("Valid NEST response"); +---- + +This can be useful in tracking down numerous problems and can also be useful when filing an +{github}/issues[issue] on the GitHub repository. + +==== Request and response bytes + +By default, the request and response bytes are not available within the debug information, but +can be enabled globally on Connection Settings by setting `DisableDirectStreaming`. This +disables direct streaming of + +. the serialized request type to the request stream + +. the response stream to a deserialized response type + +[source,csharp] +---- +var connectionPool = new SingleNodeConnectionPool(new Uri("http://localhost:9200")); + +var settings = new ConnectionSettings(connectionPool) + .DisableDirectStreaming(); <1> + +var client = new ElasticClient(settings); +---- +<1> disable direct streaming for *all* requests + +or on a _per request_ basis + +[source,csharp] +---- +var response = client.Search(s => s + .RequestConfiguration(r => r + .DisableDirectStreaming() <1> + ) + .Query(q => q + .MatchAll() + ) +); +---- +<1> disable direct streaming for *this* request only + +Configuring `DisableDirectStreaming` on an individual request takes precedence over +any global configuration. + +There is typically a performance and allocation cost associated with disabling direct streaming +since both the request and response bytes must be buffered in memory, to allow them to be +exposed on the response call details. + +==== TCP statistics + +It can often be useful to see the statistics for active TCP connections, particularly when +trying to diagnose issues with the client. The client can collect the states of active TCP +connections just before making a request, and expose these on the response and in the debug +information. + +Similarly to `DisableDirectStreaming`, TCP statistics can be collected for every request +by configuring on `ConnectionSettings` + +[source,csharp] +---- +var connectionPool = new SingleNodeConnectionPool(new Uri("http://localhost:9200")); + +var settings = new ConnectionSettings(connectionPool) + .EnableTcpStats(); <1> + +var client = new ElasticClient(settings); +---- +<1> collect TCP statistics for *all* requests + +or on a _per request_ basis + +[source,csharp] +---- +var response = client.Search(s => s + .RequestConfiguration(r => r + .EnableTcpStats() <1> + ) + .Query(q => q + .MatchAll() + ) +); + +var debugInformation = response.DebugInformation; +---- +<1> collect TCP statistics for *this* request only + +With `EnableTcpStats` set, the states of active TCP connections will now be included +on the response and in the debug information. + +The client includes a `TcpStats` +class to help with retrieving more detail about active TCP connections should it be +required + +[source,csharp] +---- +var tcpStatistics = TcpStats.GetActiveTcpConnections(); <1> +var ipv4Stats = TcpStats.GetTcpStatistics(NetworkInterfaceComponent.IPv4); <2> +var ipv6Stats = TcpStats.GetTcpStatistics(NetworkInterfaceComponent.IPv6); <3> + +var response = client.Search(s => s + .Query(q => q + .MatchAll() + ) +); +---- +<1> Retrieve details about active TCP connections, including local and remote addresses and ports +<2> Retrieve statistics about IPv4 +<3> Retrieve statistics about IPv6 + +[NOTE] +-- +Collecting TCP statistics may not be accessible in all environments, for example, Azure App Services. +When this is the case, `TcpStats.GetActiveTcpConnections()` returns `null`. + +-- + +==== ThreadPool statistics + +It can often be useful to see the statistics for thread pool threads, particularly when +trying to diagnose issues with the client. The client can collect statistics for both +worker threads and asynchronous I/O threads, and expose these on the response and +in debug information. + +Similar to collecting TCP statistics, ThreadPool statistics can be collected for all requests +by configuring `EnableThreadPoolStats` on `ConnectionSettings` + +[source,csharp] +---- +var connectionPool = new SingleNodeConnectionPool(new Uri("http://localhost:9200")); + +var settings = new ConnectionSettings(connectionPool) + .EnableThreadPoolStats(); <1> + +var client = new ElasticClient(settings); +---- +<1> collect thread pool statistics for *all* requests + +or on a _per request_ basis + +[source,csharp] +---- +var response = client.Search(s => s + .RequestConfiguration(r => r + .EnableThreadPoolStats() <1> + ) + .Query(q => q + .MatchAll() + ) + ); + +var debugInformation = response.DebugInformation; <2> +---- +<1> collect thread pool statistics for *this* request only +<2> contains thread pool statistics + +With `EnableThreadPoolStats` set, the statistics of thread pool threads will now be included +on the response and in the debug information. + diff --git a/docs/client-concepts/troubleshooting/debug-mode.asciidoc b/docs/client-concepts/troubleshooting/debug-mode.asciidoc new file mode 100644 index 00000000000..05d84092f3e --- /dev/null +++ b/docs/client-concepts/troubleshooting/debug-mode.asciidoc @@ -0,0 +1,65 @@ + + +:github: https://github.com/elastic/elasticsearch-net + +:nuget: https://www.nuget.org/packages + +[[debug-mode]] +=== Debug mode + +The <> explains that every response from Elasticsearch.Net +and NEST contains a `DebugInformation` property, and properties on `ConnectionSettings` and +`RequestConfiguration` can control which additional information is included in debug information, +for all requests or on a per request basis, respectively. + +During development, it can be useful to enable the most verbose debug information, to help +identify and troubleshoot problems, or simply ensure that the client is behaving as expected. +The `EnableDebugMode` setting on `ConnectionSettings` is a convenient shorthand for enabling +verbose debug information, configuring a number of settings like + +* disabling direct streaming to capture request and response bytes + +* prettyfying JSON responses from Elasticsearch + +* collecting TCP statistics when a request is made + +* collecting thread pool statistics when a request is made + +* including the Elasticsearch stack trace in the response if there is a an error on the server side + +[source,csharp] +---- +IConnectionPool pool = new SingleNodeConnectionPool(new Uri("http://localhost:9200")); + +var settings = new ConnectionSettings(pool) + .EnableDebugMode(); <1> + +var client = new ElasticClient(settings); + +var response = client.Search(s => s + .Query(q => q + .MatchAll() + ) +); + +var debugInformation = response.DebugInformation; <2> +---- +<1> configure debug mode +<2> verbose debug information + +In addition to exposing debug information on the response, debug mode will also cause the debug +information to be written to the trace listeners in the `System.Diagnostics.Debug.Listeners` collection +by default, when the request has completed. A delegate can be passed when enabling debug mode to perform +a different action when a request has completed, using <> + +[source,csharp] +---- +var pool = new SingleNodeConnectionPool(new Uri("http://localhost:9200")); +var client = new ElasticClient(new ConnectionSettings(pool) + .EnableDebugMode(apiCallDetails => + { + // do something with the call details e.g. send with logging framework + }) +); +---- + diff --git a/docs/client-concepts/troubleshooting/deprecation-logging.asciidoc b/docs/client-concepts/troubleshooting/deprecation-logging.asciidoc new file mode 100644 index 00000000000..c69a0fc1ee1 --- /dev/null +++ b/docs/client-concepts/troubleshooting/deprecation-logging.asciidoc @@ -0,0 +1,40 @@ + + +:github: https://github.com/elastic/elasticsearch-net + +:nuget: https://www.nuget.org/packages + +[[deprecation-logging]] +=== Deprecation logging + +Elasticsearch will send back `Warn` HTTP Headers when you are using an API feature that is +deprecated and will be removed or rewritten in a future release. + +Elasticsearch.NET and NEST report these back to you so you can log and watch out for them. + +[source,csharp] +---- +var request = new SearchRequest +{ + Size = 0, + Aggregations = new CompositeAggregation("test") + { + Sources = new [] + { + new DateHistogramCompositeAggregationSource("date") + { + Field = Field(f => f.LastActivity), + Interval = new Time("7d"), + Format = "yyyy-MM-dd" + } + } + } +}; +var response = this.Client.Search(request); + +response.ApiCall.DeprecationWarnings.Should().NotBeNullOrEmpty(); +response.ApiCall.DeprecationWarnings.Should().HaveCountGreaterOrEqualTo(1); +response.DebugInformation.Should().Contain("deprecated"); <1> +---- +<1> `DebugInformation` also contains the deprecation warnings + diff --git a/docs/client-concepts/troubleshooting/diagnostic-source.asciidoc b/docs/client-concepts/troubleshooting/diagnostic-source.asciidoc new file mode 100644 index 00000000000..2f8e189cd60 --- /dev/null +++ b/docs/client-concepts/troubleshooting/diagnostic-source.asciidoc @@ -0,0 +1,121 @@ + + +:github: https://github.com/elastic/elasticsearch-net + +:nuget: https://www.nuget.org/packages + +[[diagnostic-source]] +=== Diagnostic Source + +Elasticsearch.Net and NEST support capturing diagnostics information using `DiagnosticSource` and `Activity` from the +`System.Diagnostics` namespace. + +To aid with the discoverability of the topics you can subscribe to and the event names they emit, +both topics and event names are exposed as strongly typed strings under `Elasticsearch.Net.Diagnostics.DiagnosticSources` + +Subscribing to DiagnosticSources means implementing `IObserver` +or using `.Subscribe(observer, filter)` to opt in to the correct topic. + +Here we choose the more verbose `IObserver<>` implementation + +[source,csharp] +---- +public class ListenerObserver : IObserver, IDisposable +{ + private long _messagesWrittenToConsole = 0; + public long MessagesWrittenToConsole => _messagesWrittenToConsole; + + public Exception SeenException { get; private set; } + + public void OnError(Exception error) => SeenException = error; + public bool Completed { get; private set; } + public void OnCompleted() => Completed = true; + + private void WriteToConsole(string eventName, T data) + { + var a = Activity.Current; + Interlocked.Increment(ref _messagesWrittenToConsole); + } + + private List Disposables { get; } = new List(); + + public void OnNext(DiagnosticListener value) + { + void TrySubscribe(string sourceName, Func>> listener) <1> + { + if (value.Name != sourceName) return; + + var subscription = value.Subscribe(listener()); + Disposables.Add(subscription); + } + + TrySubscribe(DiagnosticSources.AuditTrailEvents.SourceName, + () => new AuditDiagnosticObserver(v => WriteToConsole(v.Key, v.Value))); + + TrySubscribe(DiagnosticSources.Serializer.SourceName, + () => new SerializerDiagnosticObserver(v => WriteToConsole(v.Key, v.Value))); + + TrySubscribe(DiagnosticSources.RequestPipeline.SourceName, + () => new RequestPipelineDiagnosticObserver( + v => WriteToConsole(v.Key, v.Value), + v => WriteToConsole(v.Key, v.Value) + )); + + TrySubscribe(DiagnosticSources.HttpConnection.SourceName, + () => new HttpConnectionDiagnosticObserver( + v => WriteToConsole(v.Key, v.Value), + v => WriteToConsole(v.Key, v.Value) + )); + } + + public void Dispose() + { + foreach(var d in Disposables) d.Dispose(); + } +} +---- +<1> By inspecting the name, we can selectively subscribe only to the topics `Elasticsearch.Net` emit + +Thanks to `DiagnosticSources`, you do not have to guess the topics emitted. + +The `DiagnosticListener.Subscribe` method expects an `IObserver>` +which is a rather generic message contract. As a subscriber, it's useful to know what `object` is in each case. +To help with this, each topic within the client has a dedicated `Observer` implementation that +takes an `onNext` delegate typed to the context object actually emitted. + +The RequestPipeline diagnostic source emits a different context objects the start and end of the `Activity` +For this reason, `RequestPipelineDiagnosticObserver` accepts two `onNext` delegates, +one for the `.Start` events and one for the `.Stop` events. + +[[subscribing-to-topics]] +==== Subscribing to topics + +As a concrete example of subscribing to topics, let's hook into all diagnostic sources and use +`ListenerObserver` to only listen to the ones from `Elasticsearch.Net` + +[source,csharp] +---- +using(var listenerObserver = new ListenerObserver()) +using (var subscription = DiagnosticListener.AllListeners.Subscribe(listenerObserver)) +{ + var pool = new SniffingConnectionPool(new []{ TestConnectionSettings.CreateUri() }); <1> + var connectionSettings = new ConnectionSettings(pool) + .DefaultMappingFor(i => i + .IndexName("project") + ); + + var client = new ElasticClient(connectionSettings); + + var response = client.Search(s => s <2> + .MatchAll() + ); + + listenerObserver.SeenException.Should().BeNull(); <3> + listenerObserver.Completed.Should().BeFalse(); + listenerObserver.MessagesWrittenToConsole.Should().BeGreaterThan(0); +} +---- +<1> use a sniffing connection pool that sniffs on startup and pings before first usage, so our diagnostics will emit most topics. +<2> make a search API call +<3> verify that the listener is picking up events + diff --git a/docs/reference/images/elasticsearch-client-net-api-inspect-requests.png b/docs/client-concepts/troubleshooting/inspect-requests.png similarity index 100% rename from docs/reference/images/elasticsearch-client-net-api-inspect-requests.png rename to docs/client-concepts/troubleshooting/inspect-requests.png diff --git a/docs/client-concepts/troubleshooting/logging-with-fiddler.asciidoc b/docs/client-concepts/troubleshooting/logging-with-fiddler.asciidoc new file mode 100644 index 00000000000..527f4bc53db --- /dev/null +++ b/docs/client-concepts/troubleshooting/logging-with-fiddler.asciidoc @@ -0,0 +1,48 @@ + + +:github: https://github.com/elastic/elasticsearch-net + +:nuget: https://www.nuget.org/packages + +[[logging-with-fiddler]] +=== Logging with Fiddler + +A web debugging proxy such as http://www.telerik.com/fiddler[Fiddler] is a useful way to capture HTTP traffic +from a machine, particularly whilst developing against a local Elasticsearch cluster. + +==== Capturing traffic to a remote cluster + +To capture traffic against a remote cluster is as simple as launching Fiddler! You may want to also +filter traffic to only show requests to the remote cluster by using the filters tab + +image::capture-requests-remotehost.png[Capturing requests to a remote host] + +==== Capturing traffic to a local cluster + +The .NET Framework is hardcoded not to send requests for `localhost` through any proxies and as a proxy +Fiddler will not receive such traffic. + +This is easily circumvented by using `ipv4.fiddler` as the hostname instead of `localhost` + +[source,csharp] +---- +var isFiddlerRunning = Process.GetProcessesByName("fiddler").Any(); +var host = isFiddlerRunning ? "ipv4.fiddler" : "localhost"; + +var connectionSettings = new ConnectionSettings(new Uri($"http://{host}:9200")) + .PrettyJson(); <1> + +var client = new ElasticClient(connectionSettings); +---- +<1> prettify json requests and responses to make them easier to read in Fiddler + +With Fiddler running, the requests and responses will now be captured and can be inspected in the +Inspectors tab + +image::inspect-requests.png[Inspecting requests and responses] + +As before, you may also want to filter traffic to only show requests to `ipv4.fiddler` on the port +on which you are running Elasticsearch. + +image::capture-requests-localhost.png[Capturing requests to localhost] + diff --git a/docs/reference/troubleshoot/logging-with-onrequestcompleted.md b/docs/client-concepts/troubleshooting/logging-with-on-request-completed.asciidoc similarity index 65% rename from docs/reference/troubleshoot/logging-with-onrequestcompleted.md rename to docs/client-concepts/troubleshooting/logging-with-on-request-completed.asciidoc index f1c365ffaf6..a21c9ce67a0 100644 --- a/docs/reference/troubleshoot/logging-with-onrequestcompleted.md +++ b/docs/client-concepts/troubleshooting/logging-with-on-request-completed.asciidoc @@ -1,17 +1,24 @@ ---- -mapped_pages: - - https://www.elastic.co/guide/en/elasticsearch/client/net-api/current/logging-with-on-request-completed.html ---- -# Logging with OnRequestCompleted [logging-with-on-request-completed] -When constructing the connection settings to pass to the client, you can pass a callback of type `Action` to the `OnRequestCompleted` method that can eavesdrop every time a response(good or bad) is received. +:github: https://github.com/elastic/elasticsearch-net -If you have complex logging needs this is a good place to add that in since you have access to both the request and response details. +:nuget: https://www.nuget.org/packages -In this example, we’ll use `OnRequestCompleted` on connection settings to increment a counter each time it’s called. +[[logging-with-on-request-completed]] +=== Logging with OnRequestCompleted -```csharp +When constructing the connection settings to pass to the client, you can pass a callback of type +`Action` to the `OnRequestCompleted` method that can eavesdrop every time a +response(good or bad) is received. + +If you have complex logging needs this is a good place to add that in +since you have access to both the request and response details. + +In this example, we'll use `OnRequestCompleted` on connection settings to increment a counter each time +it's called. + +[source,csharp] +---- var counter = 0; var client = new ElasticClient(new AlwaysInMemoryConnectionSettings().OnRequestCompleted(r => counter++)); <1> @@ -20,16 +27,16 @@ counter.Should().Be(1); await client.RootNodeInfoAsync(); <3> counter.Should().Be(2); -``` - -1. Construct a client -2. Make a synchronous call and assert the counter is incremented -3. Make an asynchronous call and assert the counter is incremented +---- +<1> Construct a client +<2> Make a synchronous call and assert the counter is incremented +<3> Make an asynchronous call and assert the counter is incremented +`OnRequestCompleted` is called even when an exception is thrown, so it can be used even if the client is +configured to throw exceptions -`OnRequestCompleted` is called even when an exception is thrown, so it can be used even if the client is configured to throw exceptions - -```csharp +[source,csharp] +---- var counter = 0; var client = FixedResponseClient.Create( <1> new { }, @@ -44,24 +51,25 @@ counter.Should().Be(1); await Assert.ThrowsAsync(async () => await client.RootNodeInfoAsync()); counter.Should().Be(2); -``` - -1. Configure a client with a connection that **always returns a HTTP 500 response -2. Always throw exceptions when a call results in an exception -3. Assert an exception is thrown and the counter is incremented - - -Here’s an example using `OnRequestCompleted()` for more complex logging +---- +<1> Configure a client with a connection that **always returns a HTTP 500 response +<2> Always throw exceptions when a call results in an exception +<3> Assert an exception is thrown and the counter is incremented -::::{note} -By default, the client writes directly to the request stream and deserializes directly from the response stream. +Here's an example using `OnRequestCompleted()` for more complex logging -If you would also like to capture the request and/or response bytes, you also need to set `.DisableDirectStreaming()` to `true`. +[NOTE] +-- +By default, the client writes directly to the request stream and deserializes directly from the +response stream. -:::: +If you would also like to capture the request and/or response bytes, +you also need to set `.DisableDirectStreaming()` to `true`. +-- -```csharp +[source,csharp] +---- var list = new List(); var connectionPool = new SingleNodeConnectionPool(new Uri("http://localhost:9200")); @@ -122,21 +130,25 @@ list.Should().BeEquivalentTo(new[] <6> @"POST http://localhost:9200/_all/_search?typed_keys=true&scroll=10m {""sort"":[{""_doc"":{""order"":""asc""}}]}", @"Status: 200" }); -``` - -1. Here we use `InMemoryConnection` but in a real application, you’d use an `IConnection` that *actually* sends the request, such as `HttpConnection` -2. Disable direct streaming so we can capture the request and response bytes -3. Perform some action when a request completes. Here, we’re just adding to a list, but in your application you may be logging to a file. -4. Make a synchronous call -5. Make an asynchronous call -6. Assert the list contains the contents written in the delegate passed to `OnRequestCompleted` - - -When running an application in production, you probably don’t want to disable direct streaming for *all* requests, since doing so will incur a performance overhead, due to buffering request and response bytes in memory. It can however be useful to capture requests and responses in an ad-hoc fashion, perhaps to troubleshoot an issue in production. - -`DisableDirectStreaming` can be enabled on a *per-request* basis for this purpose. In using this feature, it is possible to configure a general logging mechanism in `OnRequestCompleted` and log out request and responses only when necessary - -```csharp +---- +<1> Here we use `InMemoryConnection` but in a real application, you'd use an `IConnection` that _actually_ sends the request, such as `HttpConnection` +<2> Disable direct streaming so we can capture the request and response bytes +<3> Perform some action when a request completes. Here, we're just adding to a list, but in your application you may be logging to a file. +<4> Make a synchronous call +<5> Make an asynchronous call +<6> Assert the list contains the contents written in the delegate passed to `OnRequestCompleted` + +When running an application in production, you probably don't want to disable direct streaming for _all_ +requests, since doing so will incur a performance overhead, due to buffering request and +response bytes in memory. It can however be useful to capture requests and responses in an ad-hoc fashion, +perhaps to troubleshoot an issue in production. + +`DisableDirectStreaming` can be enabled on a _per-request_ basis for this purpose. In using this feature, +it is possible to configure a general logging mechanism in `OnRequestCompleted` and log out +request and responses only when necessary + +[source,csharp] +---- var list = new List(); var connectionPool = new SingleNodeConnectionPool(new Uri("http://localhost:9200")); @@ -199,11 +211,9 @@ list.Should().BeEquivalentTo(new[] @"POST http://localhost:9200/_all/_search?typed_keys=true&scroll=10m {""sort"":[{""_doc"":{""order"":""asc""}}]}", <4> @"Status: 200" }); -``` - -1. Make a synchronous call where the request and response bytes will not be buffered -2. Make an asynchronous call where `DisableDirectStreaming()` is enabled -3. Only the method and url for the first request is captured -4. the body of the second request is captured - +---- +<1> Make a synchronous call where the request and response bytes will not be buffered +<2> Make an asynchronous call where `DisableDirectStreaming()` is enabled +<3> Only the method and url for the first request is captured +<4> the body of the second request is captured diff --git a/docs/configuration.asciidoc b/docs/configuration.asciidoc new file mode 100644 index 00000000000..a577b3e40b6 --- /dev/null +++ b/docs/configuration.asciidoc @@ -0,0 +1,247 @@ +[[configuration]] +== Configuration + +Connecting to {es} with the client is easy, but it's possible that you'd like to +change the default connection behaviour. There are a number of configuration +options available on `ElasticsearchClientSettings` that can be used to control how the +client interact with {es}. + +=== Options on ElasticsearchClientSettings + +The following is a list of available connection configuration options on +`ElasticsearchClientSettings`: + +`Authentication`:: + +An implementation of `IAuthenticationHeader` describing what http header to use +to authenticate with the product. ++ + `BasicAuthentication` for basic authentication ++ + `ApiKey` for simple secret token ++ + `Base64ApiKey` for Elastic Cloud style encoded api keys + +`ClientCertificate`:: + +Use the following certificates to authenticate all HTTP requests. You can also +set them on individual request using `ClientCertificates`. + +`ClientCertificates`:: + +Use the following certificates to authenticate all HTTP requests. You can also +set them on individual request using `ClientCertificates`. + +`ConnectionLimit`:: + +Limits the number of concurrent connections that can be opened to an endpoint. +Defaults to 80 (see `DefaultConnectionLimit`). ++ +For Desktop CLR, this setting applies to the `DefaultConnectionLimit` property +on the `ServicePointManager` object when creating `ServicePoint` objects, +affecting the default `IConnection` implementation. ++ +For Core CLR, this setting applies to the `MaxConnectionsPerServer` property on +the `HttpClientHandler` instances used by the `HttpClient` inside the default +`IConnection` implementation. + +`DeadTimeout`:: + +The time to put dead nodes out of rotation (this will be multiplied by the +number of times they've been dead). + +`DefaultDisableIdInference`:: + +Disables automatic Id inference for given CLR types. ++ +The client by default will use the value of a property named `Id` on a CLR type +as the `_id` to send to {es}. Adding a type will disable this behaviour for that +CLR type. If `Id` inference should be disabled for all CLR types, use +`DefaultDisableIdInference`. + +`DefaultFieldNameInferrer`:: + +Specifies how field names are inferred from CLR property names. ++ +By default, the client camel cases property names. For example, CLR property +`EmailAddress` will be inferred as "emailAddress" {es} document field name. + +`DefaultIndex`:: + +The default index to use for a request when no index has been explicitly +specified and no default indices are specified for the given CLR type specified +for the request. + +`DefaultMappingFor`:: + +Specify how the mapping is inferred for a given CLR type. The mapping can infer +the index, id and relation name for a given CLR type, as well as control +serialization behaviour for CLR properties. + +`DisableAutomaticProxyDetection`:: + +Disabled proxy detection on the webrequest, in some cases this may speed up the +first connection your appdomain makes, in other cases it will actually increase +the time for the first connection. No silver bullet! Use with care! + +`DisableDirectStreaming`:: + +When set to true will disable (de)serializing directly to the request and +response stream and return a byte[] copy of the raw request and response. +Defaults to false. + +`DisablePing`:: + +This signals that we do not want to send initial pings to unknown/previously +dead nodes and just send the call straightaway. + +`DnsRefreshTimeout`:: + +DnsRefreshTimeout for the connections. Defaults to 5 minutes. + +`EnableDebugMode`:: + +Turns on settings that aid in debugging like `DisableDirectStreaming()` and +`PrettyJson()` so that the original request and response JSON can be inspected. +It also always asks the server for the full stack trace on errors. + +`EnableHttpCompression`:: + +Enable gzip compressed requests and responses. + +`EnableHttpPipelining`:: + +Whether HTTP pipelining is enabled. The default is `true`. + +`EnableTcpKeepAlive`:: + +Sets the keep-alive option on a TCP connection. ++ +For Desktop CLR, sets `ServicePointManager`.`SetTcpKeepAlive`. + +`EnableTcpStats`:: + +Enable statistics about TCP connections to be collected when making a request. + +`GlobalHeaders`:: + +Try to send these headers for every request. + +`GlobalQueryStringParameters`:: + +Append these query string parameters automatically to every request. + +`MaxDeadTimeout`:: + +The maximum amount of time a node is allowed to marked dead. + +`MaximumRetries`:: + +When a retryable exception occurs or status code is returned this controls the +maximum amount of times we should retry the call to {es}. + +`MaxRetryTimeout`:: + +Limits the total runtime including retries separately from `RequestTimeout`. +When not specified defaults to `RequestTimeout` which itself defaults to 60 +seconds. + +`MemoryStreamFactory`:: + +Provides a memory stream factory. + +`NodePredicate`:: + +Register a predicate to select which nodes that you want to execute API calls +on. Note that sniffing requests omit this predicate and always execute on all +nodes. When using an `IConnectionPool` implementation that supports reseeding of +nodes, this will default to omitting master only node from regular API calls. +When using static or single node connection pooling it is assumed the list of +node you instantiate the client with should be taken verbatim. + +`OnRequestCompleted`:: + +Allows you to register a callback every time a an API call is returned. + +`OnRequestDataCreated`:: + +An action to run when the `RequestData` for a request has been created. + +`PingTimeout`:: + +The timeout in milliseconds to use for ping requests, which are issued to +determine whether a node is alive. + +`PrettyJson`:: + +Provide hints to serializer and products to produce pretty, non minified json. ++ +Note: this is not a guarantee you will always get prettified json. + +`Proxy`:: + +If your connection has to go through proxy, use this method to specify the +proxy url. + +`RequestTimeout`:: + +The timeout in milliseconds for each request to {es}. + +`ServerCertificateValidationCallback`:: + +Register a `ServerCertificateValidationCallback` per request. + +`SkipDeserializationForStatusCodes`:: + +Configure the client to skip deserialization of certain status codes, for +example, you run {es} behind a proxy that returns an unexpected json format. + +`SniffLifeSpan`:: + +Force a new sniff for the cluster when the cluster state information is older +than the specified timespan. + +`SniffOnConnectionFault`:: + +Force a new sniff for the cluster state every time a connection dies. + +`SniffOnStartup`:: + +Sniff the cluster state immediately on startup. + +`ThrowExceptions`:: + +Instead of following a c/go like error checking on response. `IsValid` do throw +an exception (except when `SuccessOrKnownError` is false) on the client when a +call resulted in an exception on either the client or the {es} server. ++ +Reasons for such exceptions could be search parser errors, index missing +exceptions, and so on. + +`TransferEncodingChunked`:: + +Whether the request should be sent with chunked Transfer-Encoding. + +`UserAgent`:: + +The user agent string to send with requests. Useful for debugging purposes to +understand client and framework versions that initiate requests to {es}. + + +==== ElasticsearchClientSettings with ElasticsearchClient + +Here's an example to demonstrate setting configuration options using the client. + +[source,csharp] +---- +var settings= new ElasticsearchClientSettings() + .DefaultMappingFor(i => i + .IndexName("my-projects") + .IdProperty(p => p.Name) + ) + .EnableDebugMode() + .PrettyJson() + .RequestTimeout(TimeSpan.FromMinutes(2)); + +var client = new ElasticsearchClient(settings); +---- diff --git a/docs/connecting.asciidoc b/docs/connecting.asciidoc new file mode 100644 index 00000000000..13d706ba04d --- /dev/null +++ b/docs/connecting.asciidoc @@ -0,0 +1,173 @@ +[[connecting]] +== Connecting + +This page contains the information you need to create an instance of the .NET +Client for {es} that connects to your {es} cluster. + +It's possible to connect to your {es} cluster via a single node, or by +specifying multiple nodes using a node pool. Using a node pool has a few +advantages over a single node, such as load balancing and cluster failover +support. The client provides convenient configuration options to connect to an +Elastic Cloud deployment. + +IMPORTANT: Client applications should create a single instance of +`ElasticsearchClient` that is used throughout your application for its entire +lifetime. Internally the client manages and maintains HTTP connections to nodes, +reusing them to optimize performance. If you use a dependency injection +container for your application, the client instance should be registered with a +singleton lifetime. + +[discrete] +[[cloud-deployment]] +=== Connecting to a cloud deployment + +https://www.elastic.co/guide/en/cloud/current/ec-getting-started.html[Elastic Cloud] +is the easiest way to get started with {es}. When connecting to Elastic Cloud +with the .NET {es} client you should always use the Cloud ID. You can find this +value within the "Manage Deployment" page after you've created a cluster +(look in the top-left if you're in Kibana). + +We recommend using a Cloud ID whenever possible because your client will be +automatically configured for optimal use with Elastic Cloud, including HTTPS and +HTTP compression. + +Connecting to an Elasticsearch Service deployment is achieved by providing the +unique Cloud ID for your deployment when configuring the `ElasticsearchClient` +instance. You also require suitable credentials, either a username and password or +an API key that your application uses to authenticate with your deployment. + +As a security best practice, it is recommended to create a dedicated API key per +application, with permissions limited to only those required for any API calls +the application is authorized to make. + +The following snippet demonstrates how to create a client instance that connects to +an {es} deployment in the cloud. + +[source,csharp] +---- +using Elastic.Clients.Elasticsearch; +using Elastic.Transport; + +var client = new ElasticsearchClient("", new ApiKey("")); <1> +---- +<1> Replace the placeholder string values above with your cloud ID and the API key +configured for your application to access your deployment. + + +[discrete] +[[single-node]] +=== Connecting to a single node + +Single node configuration is best suited to connections to a multi-node cluster +running behind a load balancer or reverse proxy, which is exposed via a single +URL. It may also be convenient to use a single node during local application +development. If the URL represents a single {es} node, be aware that this offers +no resiliency should the server be unreachable or unresponsive. + +By default, security features such as authentication and TLS are enabled on {es} +clusters. When you start {es} for the first time, TLS is configured +automatically for the HTTP layer. A CA certificate is generated and stored on +disk which is used to sign the certificates for the HTTP layer of the {es} +cluster. + +In order for the client to establish a connection with the cluster over HTTPS, +the CA certificate must be trusted by the client application. The simplest +choice is to use the hex-encoded SHA-256 fingerprint of the CA certificate. The +CA fingerprint is output to the terminal when you start {es} for the first time. +You'll see a distinct block like the one below in the output from {es} (you may +have to scroll up if it's been a while): + +```sh +---------------------------------------------------------------- +-> Elasticsearch security features have been automatically configured! +-> Authentication is enabled and cluster connections are encrypted. + +-> Password for the elastic user (reset with `bin/elasticsearch-reset-password -u elastic`): + lhQpLELkjkrawaBoaz0Q + +-> HTTP CA certificate SHA-256 fingerprint: + a52dd93511e8c6045e21f16654b77c9ee0f34aea26d9f40320b531c474676228 +... +---------------------------------------------------------------- +``` + +Note down the `elastic` user password and HTTP CA fingerprint for the next +sections. + +The CA fingerprint can also be retrieved at any time from a running cluster using +the following command: + +[source,shell] +---- +openssl x509 -fingerprint -sha256 -in config/certs/http_ca.crt +---- + +The command returns the security certificate, including the fingerprint. The +`issuer` should be `Elasticsearch security auto-configuration HTTP CA`. + +[source,shell] +---- +issuer= /CN=Elasticsearch security auto-configuration HTTP CA +SHA256 Fingerprint= +---- + +Visit the +{ref}/configuring-stack-security.html[Start the Elastic Stack with security enabled automatically] +documentation for more information. + +The following snippet shows you how to create a client instance that connects to +your {es} cluster via a single node, using the CA fingerprint: + +[source,csharp] +---- +using Elastic.Clients.Elasticsearch; +using Elastic.Transport; + +var settings = new ElasticsearchClientSettings(new Uri("https://localhost:9200")) + .CertificateFingerprint("") + .Authentication(new BasicAuthentication("", "")); + +var client = new ElasticsearchClient(settings); +---- + +The preceding snippet demonstrates configuring the client to authenticate by +providing a username and password with basic authentication. If preferred, you +may also use `ApiKey` authentication as shown in the cloud connection example. + +[discrete] +[[multiple-nodes]] +=== Connecting to multiple nodes using a node pool + +To provide resiliency, you should configure multiple nodes for your cluster to +which the client attempts to communicate. By default, the client cycles through +nodes for each request in a round robin fashion. The client also tracks +unhealthy nodes and avoids sending requests to them until they become healthy. + +This configuration is best suited to connect to a known small sized cluster, +where you do not require sniffing to detect the cluster topology. + +The following snippet shows you how to connect to multiple nodes by using a +static node pool: + +[source,csharp] +---- +using Elastic.Clients.Elasticsearch; +using Elastic.Transport; + +var nodes = new Uri[] +{ + new Uri("https://myserver1:9200"), + new Uri("https://myserver2:9200"), + new Uri("https://myserver3:9200") +}; + +var pool = new StaticNodePool(nodes); + +var settings = new ElasticsearchClientSettings(pool) + .CertificateFingerprint("") + .Authentication(new ApiKey("")); + +var client = new ElasticsearchClient(settings); +---- + + diff --git a/docs/docset.yml b/docs/docset.yml deleted file mode 100644 index ba5567217f7..00000000000 --- a/docs/docset.yml +++ /dev/null @@ -1,12 +0,0 @@ -project: '.NET client' -products: - - id: elasticsearch-client -cross_links: - - apm-agent-dotnet - - docs-content - - elasticsearch -toc: - - toc: reference - - toc: release-notes -subs: - es: "Elasticsearch" diff --git a/docs/getting-started.asciidoc b/docs/getting-started.asciidoc new file mode 100644 index 00000000000..21d320236c0 --- /dev/null +++ b/docs/getting-started.asciidoc @@ -0,0 +1,160 @@ +[[getting-started-net]] +== Getting started + +This page guides you through the installation process of the .NET client, shows +you how to instantiate the client, and how to perform basic Elasticsearch +operations with it. + +[discrete] +=== Requirements + +* .NET Core, .NET 5+ or .NET Framework (4.6.1 and higher). + +[discrete] +=== Installation + +To install the latest version of the client for SDK style projects, run the following command: + +[source,shell] +-------------------------- +dotnet add package Elastic.Clients.Elasticsearch +-------------------------- + +Refer to the <> page to learn more. + + +[discrete] +=== Connecting + +You can connect to the Elastic Cloud using an API key and your Elasticsearch +Cloud ID. + +[source,net] +---- +var client = new ElasticsearchClient("", new ApiKey("")); +---- + +You can find your Elasticsearch Cloud ID on the deployment page: + +image::images/es-cloudid.jpg[alt="Cloud ID on the deployment page",align="center"] + +To generate an API key, use the +https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-create-api-key.html[Elasticsearch Create API key API] +or https://www.elastic.co/guide/en/kibana/current/api-keys.html#create-api-key[Kibana Stack Management]. + +For other connection options, refer to the <> section. + + +[discrete] +=== Operations + +Time to use Elasticsearch! This section walks you through the basic, and most +important, operations of Elasticsearch. For more operations and more advanced +examples, refer to the <> page. + + +[discrete] +==== Creating an index + +This is how you create the `my_index` index: + +[source,net] +---- +var response = await client.Indices.CreateAsync("my_index"); +---- + + +[discrete] +==== Indexing documents + +This is a simple way of indexing a document: + +[source,net] +---- +var doc = new MyDoc +{ + Id = 1, + User = "flobernd", + Message = "Trying out the client, so far so good?" +}; + +var response = await client.IndexAsync(doc, "my_index"); +---- + + +[discrete] +==== Getting documents + +You can get documents by using the following code: + +[source,net] +---- +var response = await client.GetAsync(id, idx => idx.Index("my_index")); + +if (response.IsValidResponse) +{ + var doc = response.Source; +} +---- + + +[discrete] +==== Searching documents + +This is how you can create a single match query with the .NET client: + +[source,net] +---- +var response = await client.SearchAsync(s => s + .Index("my_index") + .From(0) + .Size(10) + .Query(q => q + .Term(t => t.User, "flobernd") + ) +); + +if (response.IsValidResponse) +{ + var doc = response.Documents.FirstOrDefault(); +} +---- + + +[discrete] +==== Updating documents + +This is how you can update a document, for example to add a new field: + +[source,net] +---- +doc.Message = "This is a new message"; + +var response = await client.UpdateAsync("my_index", 1, u => u + .Doc(doc)); +---- + + +[discrete] +==== Deleting documents + +[source,net] +---- +var response = await client.DeleteAsync("my_index", 1); +---- + + +[discrete] +==== Deleting an index + +[source,net] +---- +var response = await client.Indices.DeleteAsync("my_index"); +---- + + +[discrete] +== Further reading + +* Refer to the <> page to learn more about how to use the +client the most efficiently. diff --git a/docs/reference/images/create-api-key.png b/docs/images/create-api-key.png similarity index 100% rename from docs/reference/images/create-api-key.png rename to docs/images/create-api-key.png diff --git a/docs/images/es-cloudid.jpg b/docs/images/es-cloudid.jpg new file mode 100644 index 0000000000000000000000000000000000000000..face79aa148842908cdd976ce2b9d0d9c05acd52 GIT binary patch literal 331102 zcmeFa2_Tf+`#*dO*~&z=BGW@s;4$u5<2lK8MxEA_7y| zelCsxaNzo#%NdU{@8udw?KA1@=_)4R#uz20% zaHoIryI;SxUhcYEul*K>8zz^bH$U`904Bg8Km|Alr~=0Us0RN*+`~WPY5^XAC*Tiw z0WN?O;0*WxyMa?sh$nCzaDe=Jzzx72H~{R2{3^gf=sCPjV<;`;{z1Ecgx!Az0BUp4 zA2t3FcFr0A3b#VlO!-Hc%me@kYzBaai=MV#wm-95|G`G(@OC_;^7D5#K0E+$#^X0Dk^IbxDTe|JAqZ`#BG{pZ=tx%uzmf7!$O3h{Crs|pa{=6K8F%+4kSY!YB&7hq%6 zv86(7;`~`bw!bwJswY%2E^Z!PzHPuJHg@(+9PFG>eW92^>!QRVz$y5f@~O?+4Q;uk zZVIUcKThG6KAm4JY}8KPbI8ssgojr|RBXr2z58Tj<>U{m9yxmK_zA5u+B&*t_0C;3 zHZe7W$ZUVj!O_Xt#ns#A)@@%u|2y~YhlYhec!+uO^jS=7-18UlscEm%-( zDlWm7zAvk(t*dWnZ2H*T(b?7A)7#fSKqQTgPfUKBn*L5%SX^4Bu7Im+kUan19O&oo zE&8YS2te)G#KFPN!L{BVwoSg!!!E$V`J3`)!Bd7@wl}v+sRVNioqn8>U(F+Z$cQX# z=heGD&!%-?3$W*a1p;{HI^x^&G^T(! zY;{thTeDe1b|cXSAvQQ-Lo_yY#D=om7&SJA&kd7c!#3J55;v^njcLQi{Apt%`TsPd z9w)~*&v5%PI|`1`og5C6V7=&OU>o4!jRh{Z4}?P@0V)# z=~07W~Qkb>yFEMdq9`5u+;%w z(+m2u0K~}ZW&@^F<&hb^;Ax~Azi?X1{8147ctM2}pD3u=%mPAjwiV_n zG}L-ks6Ol+*k#jjUyy698>&-xXXPG0xbcUGi}@e69&U7%i|Uo>+bB*nh1{ zDdD>E*3YM7tJY*?mT+xd`;PD@%h{ZguotExYjGmAV_UhJKMdSRk-X9z5d8_OgM%Gy zLghRg%b%I>@5~w6du?sYpGZr9YP5?5tXJvjI++qHr9s6C>D*_*27Qw)HN#2SEP#z^ zj?<`G!d>R61zn4}M!!}f$302j-SbkEQ*}A7%}ulFzQ*F=S?a`2i6TovZqvVAKC>+t+zW zm|0}F(!Y*+CB=26enuP+9e=XY@2muVGe) z#`gNT9iz*XKm8^-Oo^R@IzuU(1uU`vNaP(Ld31(YJ)O(~m}nNTu!TUs5ZFQ**>c6t z%;M?!=Yq+1WEw}bzOVqTD?ME4eyG+J7>)%HT>=r1xI(ge4-)b1kP`VdPq*;gGyTsZPbQfQJyz{+d{IVKY}clzG5GO~RiE2>(-J+#^WcL3#HFFGF(;uQC~r}$7@U)h`z8=^KkbLoe|)Q1R*;LFWI{-<+iEsrPy#tWg6m$Cyyq9RTT ztEcEblOL{6v-`qnAZs|mi_drND`MM-yg`i(-q?_o|6ZyfuuQ$I_@{njwKM57cul1~ zIB7uN`-OkR!GN)KX69le8TS-*0^LO9V%)(o?=Sx#&(j8$)UU7rMt_o`wvgGh(>EC` z-3Oc@_fl_y?g5m`q~eu6pKQgOXepy5w)g5>7D1GVQn zdQ%0G>#l|ADV)1nVC=N)W!~C%k+zlXMM;ND(4%jAOf^**X)M4Ac3)D7t>REF7_Czg zVz6wsztG}Lz6vcTGFk5!u0MhSKiBQ^Vrkd8;p4M;wr>7cZ*4yMu-7Fr<3hS$V|q}i zy!m-e$;5MAtM3UMMIFQ8;d0&CCN&8KQDy!p-9~~i+MNZ2C2=vHh*PV{hcA$lVUMrd zVs>bLp8qzam}$B{!~RUGmYfamW26ZPucP=4R$C$>NAC~5$#w9!lfS+6RnlJ1_hZLC zD=f$`dD&?ifr^Y5EMW9Su<|jH5Wg|lH3vtT7q12i&|Sxs_8Z#`)qLM z8^Rg=a6~lFh)~D^W-pVS>bCn`MDLm^iL=bhcE0^p*Pb&q@!h*xr52&c+Xb=m*^kl- zy9!RIPHT6xThpIdM@~HNO5c}t+fu1qYlRm>-v*YCdO)*D@_8%<4MXh#*-2av)D1@o zLT<{=Wz-mwIIfu9>HY1@>4sOUw*6->H8-<4n(hwb86}8-1s>pjWJJY|n_1SCSXfAE zyxR6d3D=$;L8{ay?>{Q@=+Gz6ZX(Wipd)6?EmzIOO{Wi9VM=gRj3z?EYzd*|ev+Y17G`_1JY33j~m z9;FOJa4*et8og6fjjjudyQJyaB5KPY?2etAoa!(sUp26!oGw}rvyB&o6yygx?6WAp3$AhFICl9+e`JK7SJDe z#+b#p9(`n{PgD{d0?jNVF5^EME;Qc*J4>Ny@14oFxCGp3Rr}eA{O^WY(;v^t44q(N z)9I(kB~9kSFE}3QK~^)@ngCL0#A3(=|73c_Wujug;WKJ|Kw}jP5d50knj{)yF*-Pz z!p^XmPd<0Qx6aUGTV`*Zj2lOsA5_N}!B9V2

gdr<%@9GdI3^_`(5K`0|_*GeUL6+!eKU9-LN_rgT<~ zkWJ?$>AGYJ1skln$uHZgJ?(Kyz=y-dUFSYV)hb(Ejp4ZFgrO0r#*8B7R%WlI_EIuz z=VYyEhuFT9*RF;SJlxB#y>;C3LTo7GUNx^D4vQFl$j&@i!~*(I>!$Fju=nsCF1JyT zH>4lbG+;lYm{8B$Ui$RPS)KOZ%yCD`$D%JJ5+t)=myx$HE$?FFjcYH5D`3h{i90o2 z!&EA4c{^gU`W7e=gzH<}M2k7&Z6!ad6TL&-EsxpF0(Q`~p~=Omj%A+x>PKIJH$4PU zZ9KcLv{I>Y0?NnWejZ3aoFpE2=~;-yY2_f7+8ljQnx*_D#7>Sg}$cHzJ= znmOuA54?a-^}%ZFc6$29?Aq5K3dGO8-d4zX<2Nd1m$Uikw+vT$0OJM0t}T)U6wAz} zqy#!qd>dfGF2j4{KO;fil)?|rvvY!6e#Aq;w2zWHMxUh0-fiJhQ@~J0=0wK~2K1TS z^`yiA()l;vkYr}QQ>x9-Ble3uDZTCT{UEWPgQ5`Hwxi*uwFycr&>MVA@gN<= zFxgQxNS;7lZz2Z;8FqbH!|iguU7TIBxT&qg#Zu)7cZVq*k}*7P_XId!gAjzYT09!g z6nE3)qYQr_5!k?QCKtAwb*gLKqQ1dcSSo+3JDqheZ2yr|{Ew0+%|mve%~8CH*@g6R z0)N=!PqUTqTNWs5*zgGj$_mww;)FqQqN~qV?n8Y}I??^(N0EV;h0?@)Tr8qHpx^L2q zU0Hxgg^5eHpJk&7p*?2~Hy+);yYqG8#A1`CeVa7TrjHfE28#YBV&7E>p(AjV3aUDT zxAm#AqAJdYbg_gwi4vT?W359^0LY^VS zi1WF$l!`46s_eMI&bpBzLbXA^Z=KB!Fq^iQ?nTj!p1*tvgAj1Ovo>;AwC6g{6Ya&h zs}IjMeBp5t4>n!B=$%p>BP0G{S^vV}&NmOT-Y-e5-f@{&kzOlFCGcvhLz6`jrZT$P zNVgic8JsaECxxPkvTq3P2Z&EjU4LB|^h}~rsN-N%V3mqcQrbP4swgg!?raJR;Di>h z!t^8$^;8&)wuymW*5~?F1ComjZj7Gy4XZMFq*`%LHfx8ugC6i8aQ`#ac!J{GjZn0^ z+l>oH-mevpCJ!Kp;dQXcN?DML_%Q>$4b+f&Y8XY76U?bTH;0O<<&T+HrH`VTlMA@Q zt(d&Z6nHg){M;``dsOal3wS{16~U!T%wNUd^4=lCDh8;n$u7l4*P2=BUMR7;KdWs1AK9V<3i*lOuWn^Eltp){ew$Pf&-QvFW z9{yN^=gn!Gr^rL70r-LoT7WQ%tYiW0`(loLe_T{@kOkPc4fNI`isx%v+QgmX1Dsb* z+#0hO>ia1B;_3KS@gKbJ&A717yk6hVK@1+HekS8*y@`q9X5Bs|J@d=uabd&F$M17B zhkEZX#~^quM8%j&uJm|ltUx1eP_6Kt>YE1c=Ol@Ny|1zql9<@lj$-U1Gcpk#vJ``*ngW84qQZ^E)$rY%< zc*z1>Jzyil+OM6dCo~iCEVUF?RR&sIqj~P{dcQzl9@4!Ge}%ikNTnN+45H!q##&_m zeAPhir%Ehw5DlJHZOl(h)04K_YyM`TskxwD5W5EEFmWsB$N1xGo!Sm=@x{3CCH+rc zD-ZU+dg8Cl=r%3HGyU$>;@T!3Vh=LKk(zE1lugU2tE6rLZJGA2*jKfaUPQ-^?@>sai3Rph#ysrB4gMMr>rsIWe3!6fdODBv=- zcAMFUItuD~lNe?-BQWN!EK7a2)K66ZA9*iVua#fD7pJGW@Xq90!&X0H2e^N6{hbkt0?-^^1|YEsblmfi^15<^LJp{?9+zJHr1a| zJ?+TP9(4&Y44M}joMVRJl%!nTcfuf3u6M3j?||fjy~^MfZJEbnL4y?~p@J7a997PX zqZWdl}62|2u& zsD#W(>agyTxHd#wFVKpjMU?}K$>pTjV2X5|ru2J?NTElDo9Fkqedc+-Vk@CGTu++K z<&Th(U|<(%Db%wujfP-Al3;H#wq*`9io@k(7|lrXrnc2u+)_uxcwolGS6XEp6 z`uVU+deW$@lP4Im*I?PaS|-vxE0%u{J3vJQwQzUkPjUL8XITL4bl`DDIvu7|rxYf5 zMK43^Hud}sy9MN@D0};b#fDw}xK?Cetu7c$@veq!Q-Zxggy#P4ABurHvaKuzzEgeo zX`B)`Ak$p0_K-K_h<@m9qV=<@_F_n~u2RU_g~nQ1a&)+PckIH5QAMZDb3EV@87A&M zStMz5e&onej|N~2vo~Dt4wq)*j|)PES9CH`17&5H+h^EVfHivQvRQu&C9Vd$3eQ2z z;g}d#+L8R&Q6WR^vz$VPCpVt|{b>Mabuj5=D3b-JMrEw%DHdP@OYZ4WB;%GAiIv%i`i zc-fwCT-_93@;yQvrZlI(J9GptL4WsB@=^3XY9(fE3w+zTn7tP-Md-Wbeo$PMv<@u3 zuqfl9MJXit&a#gsZ(;$}D$9s|BvArQe&$!eBzDGMG9QeA_@?J>We_ODK75bk@a2?%`&?=yKP@^A} zX=bNi8PdMqcV)|@?tS;)?Bq=znqD+>N7b~ONy^4Q8OIpvZy~yT;U|vW~Esa=%u2 zVoLCOn{hxsYkW0LRD7?SivxaW?~~ICdTt+Bz-turb);GiVvXbht5JNTM+9OU!8yTv z%dm3n=kIDXmlVGPPKxUIO|mfqXU@i7%AS<>+{~3R6Dnl(G=B0)eHXP*PeUZZC1q-q zjET}bJ1aDYSH6JZtJLeZl^PQ=$g_ZE(uzrs;{`5CsgdQq;~!FNqEdVXboX( zaNvW-7#x~F7rJwW7Io5QLK)MuQpd$nx%A57g}FfHsbKG?^(L#5lfDs`Fg5M{oDOa! zoi@&KvA0{^kB6K&)w%cCT?JFj+V{&7zPin&)Ap-B7>_HYA;ZX+@sufmu8AijYZN6X zk1IJ=Sk3907TAiP7uwc-%8$nok5{F(%?8kR1zsU%H0<)GmNIgd6RbT*BIR8DigUB! zYX@GqRV|RzH{H&9J3x@-n)I4=TOwiB0?mYsvr*=<_;P);l2&utv(rZ^^3n>XD#s|> z&w}DKB&rTARAHyd=Erv)OdB;2b5(KeDOvb>%E|Z5(5D_1M``8Y(9whP81EfTnh{xk zXliZ|BOIj)W>a%cSVu8&ufBV^3>5LX(iq8=ED$Xs`XZVHH1Zhsp_3h6Vu5&!19BayUSKZ+(H8-tp;VHHVGo4$G+Uy~R zxu8AW?t_5#b6g{cK=bhm7;TrIZ`H`AiXCr2oNmwTo47N*JJ-bhi>hz#Ng&1V7{~gD zt{grSSi0LgDs3oGp9OHNf+=JglgA^I*;2`dkEoMW?ZznVM;hRP1O? zxm}3xm3;A%asHFI9z+O|yF!_~ooE_CzE}NZ=tBC`B{9X}xtK|Lb9}44v5{AREY3Jr zdB{Y`^{dz(Tu>!RcKq@9Igj)Y8ix_P3C;%naB8rg<~CFZy0A;+N#GgK<+ar`{?3K* zw~vRd9;oAk9fzcvM&#j%TKivY;f-9hA8ng^L35^~$V$;Hz-5Hjf_{Q*Ry$aorS+yh zKzQyGpA#RfFcCd230M%CsaYeA^r`YU(`Ap>_#>NP5UbTIOk8sIRNk+6g#RBl6kHY0GM zZDr9;pEiHJ*25K+mph^DfIMpSA$Y*{{R6Q>O(*x<72O5A`Hp@kT7}rg>_CvaB$b%$ zJr$>R)%o70_Tr`V`CLdQ(J~m|o;ZiAvB+*=t{s~y2lHM!Z9^9r)pq($bWeL|Peqbf zU8x0`s%}%*=8^stsyo;|iUs#3<#aW- zc3?V+y8Yt;8N`hJ#3h`D-!X=K>igj!)0G0yAEnc>KZCqFM88`Bs?sdz+|bPR9vCr( zt1;lU^ee9>2oMTKyRIF5G-!~aEBaL8Q;At*zM*(QsOc8&9bA|ZkTgQR1mmHbQg%g3 zaBoD>0~bPD`UW%;8kJl3MV-H=h?i;Q6uvn1@haL}HW%G<+(yOIa__Ek%RzUy z9W8QLg-9!;@9K4wJ*3zV5gd>YM+!ae2ioESFBe0jUWHTE*3%m729NaJ)9cDh>T=TK z5Sl{@2e}{98}ZZiLS|7f?9(4)&FK5GfGxL)?VBP7mD@^aHrd(EE4ND? zd6?5bUVD(0_f0ChvEud-Q@InF2zKNdhe1QwG z&Ghbns@z)&n^0=1u7*W5RdjJt_kjsS4{+Z_99g_}z`TMo|KLqY7j7=Jj@NQ(#HzV{ z^)m@RG*}~)NYj_=e~Dp4rsCIHRH(|D;?Ug3PDv15jgSHLD16PGc|IfDgFNvrqAevA zo$f}LEV^O_o}NA`d`uy!dx48C$WELjWP?t1=%S41@qk=?OWKied-d9HG?5p)XFLNk z6@+ZwhY(JpT|D{~h>de*E@{&QL8W4SH|w2x*UlcE2@N?OS!r{oIyI=T@5mU(wcavt zdlgd{bQ+yITBXTVsJ~T4FW7zV)x`%9Km7MBJF4f8FPhAueVY-EK4v{f%3_|CxqtTv zBOSqLFPn-<&AIhX=@Nl#r4{zFwLXu&Wf9Mv|mHGvvH?ya>Jt((hu=)ROJ7?EIdCiJ6x z+m_b!NdHx>`=fwKIdjm^GRR^1OqK?=MhTRIg=xxwW>j{vO#~&`u((^@fCcbq6pk1; zahQ@l0`y73MtdHjZW~fvca*~;C85>okeI+A5DlNrClUBuEK!O3A6b1*lGkr) zHH)Qw-r*qNu_)@V?PL;hQ{6pEPk2q2rq66;vN5tMc$~;9B*jn5xlyqxlCPsOJ_>p5 zu*00ayU+Z!`0XYyfGb0F=>j6xLXooxWgY0qcviVvrhdME0wp?~`_|8cn4<4S!^d;S z%l<}_Z6@)4i#WLd^^FGVWyyoxYi-&N%VCIX*j8kJ_$XK7hyb(WMDN@^nxUoTRD1;$-Cw2? z;U@oCarfvAr>I2K)EK|sf$`8$vuZ-gd{v@u9f5pF5kZ6nD-DP%VcMsAEx)F}-=ST6 zTd=u>*=jm@^ZQ`-noR7W{fdJ57pkIKx|~Ya%o@>!_*q4=8r6kjG9OJBXQX7#_~wgk zrRE+hjXm}}#8e}{A??_XV~W9%V^T$7`&uOq=YNBf4L$C{x1kQBT6>UuOm62Hw7*kk z|Hoaa`kV#nMFM*8&Au4*1IBDG*Lc@gkhg<86#Fq;6^_^MDA6>Ak@agkRp=YSk3@fIiQtWO4=?fxSm-9YOnaXe{5#UgtS7 z!env>Cfpi~Wh}m#wND+VnX%KfnQh2jbROCznYjSkk*OX{g@ntUy%&3Z6ndlgy^!Wk zA^M+tyDAltGL(}jp=`L8sIB_IwaMlaJdsdXjGs#%Lq-YGPk}8dE;ejr_u~BM!PCL+ z2X16M4`EMuaPMsC$FGYrUrhwOKIzl8(s{v5asY{|e$Jb8B#x2jM#2hwU_NIC3a(No z^~1J4ux|F8sSQsLvo}@iu*;LHrVGS5jmyYd$Q=#2x+NwbbNO&MT|H)Xx zqoG%;?oV`N-Zejif3B>~aVUjW4vg5eg)VJ8|NGN`i`B_wc=8h6o>O$gd>|8b`a%Yh zA0}Iyg|}09L)@wsRoU$`N$PyKJ>&EhAubHcUD40<>Vz@#yS5p_yy zT*i%4ox=Y3Um|>=P3jaSx;**;atVf5S%4~m1&tv?lQ1QTo*zfhO@fNG;WHPd z3t-ER&=%YOPhzA0DQ~6awC&@FW!K;HM#YgM8jc<%4}KRRIO6y4zysZj1IS{@=|QIZ zKZm|bu;w2++e2{=+aJmiT=lVv?v|z@mvsWOnExWzlKQRRM?*ry;#^1(EOHqZHX^91 zzj{ldd{@W$iRY{Nx2UUYcT5b)$t0fXjK9(D`sf{_-V}bBIvw@=v&3Zn_Sjs)%=r4$ z>#vYp8u6c`i4*KA6aH7S*Iny;Fnf<-QM-Z;Uxhei@s)!P#3qGZm z`o9iB?!7;h)3cf38imBUc0Rmq09NBB=@OE{D-0 zMAtQuW4rDl_A#YjL!lnS!qIKvOzj9rdEpA3(_REq;(iH)G@34!@U4~wNY$@1bAORx zYZch?YbbO&L<_<*gx!w*aCWAHQkDyvf=G75~2Y@TMq zI+>r`7n|uHfBSCmYH3sX9obAE6(hUx{P&;%JFAPyl*K{2wZbrD^Jxd@^aF|nt-%(} zgU&ck=)^)IwAGUa$wYKdQnPiaPr#h;D3aW6!v_fzw5m*7fkbLo8gr*YHG1*e-xCMO z-R4UhamH=>nJtpOIs%RIr37#e{x3=U_1{@b(zN|V>4(iippzP(p*^AuNWL1K|D0B` z**auuWk8{dKuoQGiq-UG0V_Y0m}-BZUZ%7tMDjcbrCvKLAZ&gK-*6K zl(Zo3YMBNVLst58bD@JGzb4gqR?gWzUt|`HuGRKaVg}B$fcYUL{WkVrQqHFL9l!>q zR`C6qEPqbvaG-jFpc@4JU!Ox4=jn%$A#vFJ5iHFK5kJi)Sh>Yr$M^qzsq` zlHbMIdP@&G<2FM>JcEc_;_UJFf!rJbh)U9Z@ftHr| zXf=c-SQmP}8BOs)*D%RA2KzFcwvbG>maI9|iuF&e5NC?6grcY5kjXLf3^F~Y{!{~v z`}bZ*E^7N7r7O)t`y{>~pfQ>N8GQBYXTknC`v4v;6^%&@*#krl3qw;8R2rlVAWnn4YPT}Y~C=N*VlCZo2hDi9+5xlueE^F z>QtArTf0^6Z~we=l^2&;_aHnv@%`e$8*zb8W?x!yj{jizn%+WKu98w_c;A#0EV+E61K8ggS?`*$}>Y-q?0 z4Y@vF+0c+18gfHJ{(B7>Cv!hXmtH6YAt9fcMSpvayC{O$tgH{+_Le$|X7w;Xm7xY|IfusH)~02$+lXDYKOCWnLnVTjZ6HV{}T@+Y&w4IqQVJ}_hyr{ z;uqfQBSg>O%K4zEfH(+GcHH_M3&1%Ome_0r^3d7ReZA#=ZcObK*xCxTW&Wgan|a3z zJOsjX{FR}$5U}z5A47xnyLf^Nb?`;>c&kZVBRorY(hnq^bpf7*nReYNrYpF;x}g!cY7=B%)% zhJ*D^G)=l7MX4d`bp5id`q7M*J3aZOQRxC(=C+(-N1UUJM=<#hf!-g^jBF|1YhXgS z|41YJnZnF5^gZwW%?a5d8J~nRv{#G#j^l+!Jr5b@3l^e~&H>tgca!jHez+1<-q89aRN@i0=kWmm*TG9!RL>B&_jbze>e$}) zq$Dool!tG!EdQ{_oB<61dXIgM zdGj%CaE8)6?X*9{EaGF**@NbsT$(m__=}e`9FTlQQF?}Nb4atjjzx!SNw%ghU3DGv zK0p$a=OzjbJ@OwCW<^hF3mNwvfUx&O_(FvYbrl4k@G6WML?+`KXFrl*V@Dp7`ACk% zs&NmCi;LaVt`(NPkgz#_HC#n^hjvS*#N%kXS^vq%Yd(3iI!K$y-%dPs(Q`@9tBCaM zTQd<4J-%=3O(JJ1M&V&Y!!(q=(ZRns;BESof`D1G0Am&q70?!j7`N(V0W$;ZbD4W? zgzw1|oIkmd9&rcF2+)SU!0~>|aoZZTt{++;%HQ31{?DNS0zw`9T|an}3_v*<`g3%> z0ZsG<3s~Ao$FYEW=!zXgm@ulv=8%Dq%k4XNp^vaH#-t`W5+-QEIQT*J0JHDmbfKrr z^9WJ~BLa_J+lp32ll9S{yl6GN&we!H0cschY`f}*%a^)ug>|`qej%KFQu+wFws^qp z!3!&8$p^J!xFJwisgC4lwq1X7GD6)4DZP-lubw#N?U^B3TlP^UrFM+PWR7KVfB6*U9`Y5nN`m3uWR^eMJ>@(|K$RMi)U-SK2G3 zb&1nONH)-aF89aY-7TC+iO!Rw^?Uk^-Ll`euW2h-y>ec2+Ji0YqrE)B$7dxPT4icFJP#+b>_|x*wjo(K7Dhw@8Hm5<;TT)yFGri8u(&A52RRG$b>N zm94&N@)6OJm$#4wDSLXxGxzO~T2&z&Z2Zyo0RoG%C%9vyAkea9WN76+#>+q?`jvB~ z{1><}pEC(@e6RB1{k2?)QOHg7ixfCr5O%)HM-es(t8EhknUGy^Q>bLju&i@f4(?jN zcD z^?{JFJgme9a2G>$Wdqd8m(aahv$$}0N$AQfq;)y0KyM0H?U8nCFx=EFS4j`!X~~(S zKbYa-06-v7XX^le_p}sM3f&9pPN!m}{(OSR1LmIdW$LD%GNX>2jqtoKP;diPqgYu# z9x6_KT3UAq|0+9qCyE2?CE@7XR*0g}>cVb&r^(jc6O1M0O|2zL-u^;QId+{|BpE9F9{gDlcH>+%cnWUb?NpJ;(DcU;B7{J4ur=1Xk&Q`wM zS87yZ^Ktg&F($7xIp8cK87e1opshMcbTf>9dKg}?C}iInt6|jG`c%SuPr^%D{3?OT z107VBJp(4NfU9jHEMS`5?D73i?;@14pBtrc-J$1~S!%^tj!2hp52;f>?^*b^I}@qf zwW=_RpMxMgIGrK1C0-k60%wJ;NK!IvZZXUC=COjx?#bunr+6!F3QXz>y4U!hDm_sD z+^in~!5V|IzV%2!7J4)VO*TS2 zNZQ-O6r$^QFopcAbZ^lVb9(O?T#~>)7Fp6QjXy1_lF#Uy1qO<#^K`*-Dji%MQ;Hsz zVnm=_-F3F2ue960cSo4ruR9-gt>*YEm)&eKMudv6D>tgt9yX7W3#mrr##ux1VuR#< z&;cTw_?P0Z(x#nzjf(=bRQv_COD}k+AEXaro9zOHrPYHYnR)1H+20tCE2Wq{E5pAr z;+euT@#>O7_;MeL@DJSHx=lN(@ei*RErjIs^48^`+}zn7$hiC53^Tl&b{}^!5%%?M zqXUk*k9JkpjFTq+XCul;bessx56&#f1B+R}$vO7M~rm3r6YY@K}HwjQ3ch?M_Gy*+;4 zjIXa4mCGDN6!p&GAqBe3z|c9#Gj)}F!Y#mXlGRrowfXI5wszFIbA+57doXnRUhB0N zLL%4+?m->T+6g$QXw7J=g}8RU78h}1?q%ESewRDi0~Ky{BmHZU3m1g05q;kdHuw#_ zAH~ozn7o`cPv++lVT64f5B+jCO85fh5Cl=5cOzB*#evUpnok29ehc;bxTWLtf-P0$ z-IiCGP1hv@9TiE=4l0?aE+!j4GtG1^E?D(9FB1xi%#VFLb|5J!VmuH@&Z9AT`-XRs z35^E*G}0$*{R`Dw7}CnAaHEi!S(M$4gI`a1k7seh_as>kWz8^dDbJp{-GB!= zsc+f|8J@b#!|Q1g|40kLW-P}CwRcW1WLwtEAfDjKxX%Kn6kH(KDd@=lP6Y8VIhn!f zj+kFUkLf}PA8Vg9r=}N}&m0&E&mm)`vj)8+Tm*ptK!+is;N*Be17=7`^2!>5k_MrX z1UV-A_^ke;(*IQOFO_bGU_LYp4a!ag64G~|&rSYXDt%wlc4!uzo55gW>CO-y3EU#% z>n=@XMr1RzB%!1w6t!1oUMF*z#%(~Y|hVhO72r*yvj!I zmOShjBHe`ot3vY^Jd^~B77U9y{Kgr zLadeinAW~*^PkEA-Us4Vsmw|E;4y>MRrm+E3Gst-?VaA{WbzOpKaL@s%mvvwi_kQ7 ztP5T1#cV(>nFhk4x%DT={=phDuo$RVj~})h0R`uGjU`6a{OwDcetL-s+g2%WDq)zWa8)(`ALa zQ`Vg>cg#y2{Tx?~dxx>tQXdIx$hk%S_~%tY1cWsC$Ewk!$3S@v3y`dEA{R0Rko{|o zH9HgM7|per7T|!wi=y{MlbBOd{-$?h9}(j2jyZnn|0cX@5d))gJYGsWZdO;b-2<))kH+?ya-+sE7@yhU4gc5tSj>wucP~K#eUYPG=HF#|9mwV?;UBjYivFY zK{jc_3~67~1H!eWz74QwN)V ztiv&;AFx(xcVC4+Mr|jX(S=)xD`AQi+efWsMjfNl`m+^3MBU#xQCxJcE?=N_oAD*{ zC!SpUDzpi9EMV{*_#AAn+=2ScW$e3np^d8Z_L|D}L>BP9lIj1ohv4@%E2B;|6W{ct zlB$wf)8!=ehC0|nMjVGOs~Umki#7B8&?Q0&y@5xGXrVx(khMMSMe}^Rch`>Nq%19`n}y99VXGD@4JBdvij@k z@v`opdq;j7Iw!MVUx0DO$bOeXS2NgC!nf5llzY#2=LvWB{@XfY!`sszJVzV3rAAW>i%4#!dc38H?bP|+|!ME z4nvXqrV{BdWD@td-zVVMdRbNILvFqDFzUW3*Uv4KuqcHK-xP=*>v5gz9&P>VWU zYf&0wMoSqt8VoAL%vbP{q1A?urNUnCc*exZChEprb$Y^u3aS z&~?H0?dOnJX$VPE&3@V^hVSiZ47FJy`QT@HJJETw<-srCTfF4W^=uM4@di!Mjt2_% zD)bZhD^JLcm;~ye&vh4SI(cOqKo5eqUA0GI3^Q-qWJ8SK|ps!qBHGls=tT2up zfY#v#87~l5v0<@DF@$Rybf1bM@spNOgf6~J#Mifc-Z9K#ETXv}#DB9L{@D+CA@>Ha zldoX8Q@EOB@SzryyBspMf}z8Qi4@2NQgBAi$d zr34bd5J+*(Gizqnn)|+Y=F8kKv+jrFLm>H|bM`s=?EU-gV%+uv^kKGv>!fLatEsPa z+n6(4bjuL={vaJ?WcE@vl=qZ1Z^`d}R{)y|^)#J?P`#MpEPllf{6un_I}yRHy`bS6 zV8Y%$s69l?P)`yu{FMIMdK_n|ZY4R($>{sb7L@{>jlu6&1B>e@fe*b^6LWxGs)r1r zi=w8X6}_bGS#AT+yXgHKf_BSS`y68>AOPanSiZH9Dzl`t7f^O>dH3nru0jW&51|}m z%Ku4Z2g-vr1|{DEy$C>SXKspkD-lA1&*u`+d>*!spI29Z9;nuwratXf=2A>|cGq&c zeEl5hqR8T}OL}amw`TAZNTnh}V32h*o&EsnHh^};j*re=A7#KxOIxkS#2~QBZM{6+ zXR1;S6%og4gvQJ4U4=v`@Zz2SWGKJ~gug+H<7ewJWMk+!dXCxv7)jT**4)5?RtqjK z{U5&fT^4j@_1-9EdO2N`-zuYjxwhi4LKgx+@Ll{vEKNqd_Di5ERi9D_>cK~lh+l`! zv3iCcYrQLQO#DEwvy1p)e(BYG6HM;l&bjFSzdq>yTW!>XDHI1hNBE9xwY&a2-yV$q zGw>jTij7h!4X~uJuMDZU$9|cH*5~#cJcJuFe5Y`yYR$f>$v`Qc*p%W88k_?lLw5>V zDN+|42FFX^0EpvHs=-e{h(})xCF-3rdn5?#v6wS;0QRt92WK|t`@e*==;#0Xo(-64 znTmhOX}vf9(^ryCFIT6#*7(QYT(r4!WdFEXzj2c0siG_Eyx}^^Y3&-GHXhb$_v(%j zW-R)c!NPyYmz3a=49@SA$19WTrJel)xEcBKN4|Pp=1cYeI!TQwjEX-}ah20Pw9WULsR!!_OM`)?HPDR$ zx7OyM9byh%c6aMsWWKar_d318-3a#=>U1{Sc>2_HAJq8^3srEfVa6k`A`bG~FyJon z92A*y{9}{{FA?6Ely&(zY!}h*`ig8SUzk1=xp}n|^}|kYa(^8y7f8T3imR&2;Qb`m zr3UpoKJ~*#@b~f=1+%z`kj}>*sw%3{I;F;Yx|61Lq_}_oZZKSkmI-#>6)XQdHZ&o# zU#+;v>!mYaqaq^wUJnAknoTO0^6$uXvT(~?9m1z*SJC6gh8}x(oeHr{+ls8g_)H4N z#hK(J6q~c|QU^CQoy^J$tIYm*z`Ml%_m7-#{~!O_wp{J`TbR{AG;x`1a}aF8nBXgX z&Nuax#2xEb|J~pC=yKxfk&+C#3w50QXS>zqgj-LluckAzdr zB|TWcc#W-qdEw?&TM|Gkd@2dFjs-{VgHzpI}6e>moWWr3gF?A_DHfE#Q5lRIYLWyEv89J{E= z;$i${OL3<`SY0mQ3jgHgQY7+{<-^ak0}Eb&uK7%pr$1VQR~STpK{oNuRmaoWowlT^ z^NV}Lw=9+_uw|e$897Y4l>2NyDtQbygsasUGQk~ zobT;GpJw%=MYL=vYjYQ8P+#Y{Z8u>}kCSrjzTS>d-yTrkt`^Ms46L;up7lx<f55AJn7k)#5`lrsJUp~`si05>9-dCITcGg3t{jB z!#NTB!dYe=i6wxvrU<0@%tCqH1v7r(5f1I)^H?C=) z^$6_+w5Q8mGq@;fk^qPp1WmegeXj`B52@n$I8tvCBi~e7S|8bfZ+vr-J2THlBtO}G z^+rzUhSjM=#$nVDhU^DtoI=knM|+D<1CnpiOo@wcn5i=ZT?8wflE0v!#;Yqgdp5Zn zg;pk|az$d&AuE3HY!&hPA32S%E!*V?(lJ(77yQ`Fxz+HCbxV=s$Ggjt0;#v%}^Ok3a+@Y%;3`=G_r zNSAD>^a1Y@#fKv*54AH}Vqab~7+iF|uzIT^xm4XIX(mz@aDl^M0In=P^eB`MxR21! zu>Hc(y?f~9YV_8>W-{bYZyR(!VU?d%JL`JNbo}|y+Yl+=J@_Hymy+oGJKyq9DQ0j^bn`8oI`SG5%>6+^ zG+rEaa!SvA4$2vbS_0z9a7%R?2&7cKd%yTV`$#)Fi@?z11rG}WJwm&00+I29!zG+A z1b{YjWS5b~|-> zm#Fs)b&ewNa+bjB5Lny}d$LmRkd8RtGd@zsG}~DZ0zWh81mg- znx;9Nn^wO|OkkX>ZB^AM&3sjQFtD~wR!;X>ZRm*Vk-oCqTS-%DKcR~+W=AhNJ+q)k z=HR>H=`0=tpt!ncR_85a=6=^$d37TM!m^K8LWs>}k_o%7b^h#jt^)>~!;>`$;b}DU zbf;SeB5nfayrrx5vduN+OmpSmwt|tWaW8vQ`?%W`tQr5t5^dHOmObqae&PDSjo8MECC z-r~wQuFK-#U{-_v=xCaZbU5B+bAsS7=m+7Z;YRkm2G{q!s+09Tw;%Xgi@3~h9uOpd z#34LS^obn3GRLfpou2_n{^oYjIni{&iFK4j!GD7sKtJ-bZM{9TvE%-yDR6qMHMm~x zH6uo7^w%MMgYgZn13!*smctVhk zk9gk)UjnFOx5%R;QyRC9iGso-bj~zC1KeiK9l+f*H=U?t9c?Dh6VXwiMo!4RUZV!e zo&3*}aFyv4wd~xQh{LfLe~Wxb`b(+_}ebpkS)5QDElv?3zV;tbaugV{JIyV@}O zXL;jxhsu7rI$b`a6n@RfOuNT*!I-@+BV3k6%5}_ z_!HMbl{l%cafi#OhobwBRV($!h(@kf(5;^@qw$VEmJIe^fi~diHYiPflL{rH87IT^ zm|wM^&MF&CbDlAABBo@wbiE1BR3C|{$*J3dTwdN4H%L$TmaaOs1%EihGWfSEM>9}s z_pqlIc7# zIVL+!EO564!jELnVcez#p#_RR(n323W`o$XSL5dfmXt1DE--!D|5B9GJT6+ZNNyQD z;Yr2NBtTbIp<$LbsxMd2BRsxS=w->tjT76dK88Ok~lg>OKFLKKTXbEkT<8j~qvfb2>V-)Vd zX;k&lSE7eQo6_!)-igky5{|_>Psa@kB3`j7>Tu+>0vU*IQK-T^+24ZcmzHgr_vBf zH8)Wsx`yW@j&w6Q36{g>W1w>OKb|K~M#v?k3bEPGKYO6!zHXxhE=eN~ImS1gf51-a zhmftXuUN8S=CtHFZMix9H+e^Wr=4z9R(H8#6y{AL2CR@F1MNcr=IYqZ7}n8$uaxsN zG4QUz%p%eT$;l|pXKM|cwSBSXo{lsmEFjg6&6q18<7f)o+K@zXN1}}Nxs4FQyk~I? z?_rPHkvmSQT(S#sX+;$sw-R@-TNa>&@-!HT4f=OuAmD@l0R`*hMt6XqIe=x;>_vS!a9jV}l^kEu&1P}HK8ll?xM9Fj$dbV(;^l^Fhm?aFN4k6c}q^xrQB5SE`7tj zli=DQ+hC5a%*a*&aL~;(0vvgEh>$13zLOnd^KSA47md9eH?+A!ctj$~-?|6i zdNR03Q{2*8O|KC@LG@Zi4foq*sFvr^VhpQCtGM1_A0r%%NE>G!P>fH#;CCB)Vj0V4 zAXKVB&NnG=>RSQ=v$TE)P@4x}%o#CFFJ!Q<@lM!DT|Fi?pW>^b6Q=t5-{MeP)<2eS zR|d83GFm;p^l5#``m;;`8+ta!;WXKm1Svp)(o{#auK3Mw3fPy$Z)l#Lj}VdN)pSlN z=1tOSEO;rj`s|H%;KDnM$I8?7>PbCB-8`!=w<|wHJc=otgOg?EfewnMu~2r_dD_8m z1YVX1A+V*l9p=cbzdzWcWUa81kSu!fd$^1Vbo|AH#12=S$5+K zfx5f{4n#WWI+n^JvAP&euFTM?c zPy+n_B2=wl@^4@K3uIH#FVS0SrXaSb6qv91A>KL^Y?2N;Xdg8VWj?QEMZEn}NAJL2 zorCYD{Z8nA%Dd~U5iNtw)UE`i2@kl1l6A7hzDHlk-EAt zx}Fw_o{dMJY;>oe=AEdAo{(=^ufMoIT^q^z_9)3Su+^Bew54~q;HB;vK1`$F3|{0H ze9;W9)QWUZa~UW$Jz!=$u45B~f}}<^Wsq5lhqEu<46=MXnk@z%r@yKvey%{uaD1BH zb$gca_74Y%pMHk%gqiA#KIRD#x>&kSV!#pd9UmTKU5%0CIvUb^bmCf;4zAG`>qHBq zOCyhw(d)V(%+lD9mge-ChKFUIfb+CDUVIrZ%=fZ!ICY9`;L2y+H-|5Wv+fm$E=Hen z7XHv*s9;!ET+FDcE*%$NB{Hm*dqmWWt9Ax;x0k?rmMq8ZnI35001^@((6qk_c>rL; z<+ycGEWi&h`~c!ga`Ol8G2x-nGM~=mJ5;6Qe*W}=364z|3cawy(EH2g=(o&DTN!4? z7ffU4V_4jKKsbXGLFVgG%s#vTM%BRh<9}lETp4ezm=b%C2^V>WweutjQ?SaB? zp*pBh)OngN{n784)0B?#XU{&;#-ZiXf)-V;#eTMlTxD~7f}AZ|j=dOxHzfA*6fdPa zBfDPV!>L|PX?sBskxZX(EdhHBQg11{N0=-NcA~mDN$-p7qk# zt9nzYtZ#=JOG-T9C$(f2d%R}qasrg8%J5AeQviV?%4ACyr z0n~iN*zUEoyA71sfC~4GHxu49Hl=fyd(vxtUt86RKCz76gSFCz&3!Y~0*kA?(tekO zocl%oqLh?T*^f@r*~`f=)cf&UZVTNBC)*;%6u&v>q!Is&Mk)M(R2n|08}ePds_^)n z^DIW`YNEkzwgHEzOL^Cp{T-#chlOA5Dw?7@UB(_?aF{WIdq=JvUi>xThd%$8tqj{1 zLl8zcdumxd%kxZH)!^R9pEDw9HAJM27>e|`r60bY2aod1UN@7Fm3X7n6C&mJZLCD$LKaWbvy_kdk81G7 zLE;J)?KF>_^HG_(r}hHYLpJr0y7UX^<{QBF@0}E1o!6ylmMV=rp4(m;z~-pdI`Unc zDSBEVBl(Y$%Vc81Y5wJzOJD?rtnUzB*45R&Y?aG#)pn&Eu)gHbW3_CLy}47Hy$?0HSUeid zXrze%gXabFHA@?5P(!mK_Bd`E4{a_9P&q8CRr~ID5&YHjrn*X|PZ^b!x5Or~qx8|u zfsL>^FJ1sHJ@d?7h21kV%I&Z@lRkeB>gDs@oZ}XC%i*8)Ii>z@qj%oBH^FW;xCPl1 z2ogUN9WI2K8|7y+?akoo0H&)B_y!-p(p*OCp3iC$NJczGHdy;t)v77feGfg-959(! z_p%ct=b%V(48qUSlXtp@ia~&*@)W5G|$0t(nw&!V$AnwS4h0D>o-Vr(yD;% zOi4|W-S?XJrMCl;gq)s95yN>(gy!Q42AWK%#Y`+fkve7$R?s3TIdg#}Dk6)6q>%xL z&b_xeLFnO7oxA0tSz#}y?s=Z=fV%RV(EqaWyx#}w>P0+}yzH>SG8nRiE!DPxv?J^~ zmRw9UeTlmi*tR+{VcI5ybs1nQmvRyd%k%#A9(N7dF3ViJ`bDB0Pqu}Q88@SkN4AC- z*yGX@N95veO!RyzuYG#hYWmK0Wp0q$ET4hLMt1XFrs1~5#~Hf91hl~^32F8sBDs*i z)_VfQvBu87=R|qW;u4|rFiue@w4fr-0Nb7g&3j8;;*%uRn#C9D?zI_^VNkl=5RA^!9h z=PR^Lj&-gc#{TvtZcm+enZM({wUMSfEQ9SNd9t_?=m*?ba=<}$k%wC})!H2M`fTSu zP@OY7uSH5vtCKtaeFYv6m`g3EL5TSAu6b%v&9HvyY;mw<1Ks5V&L=Q)1oBqL;;TLB zk-GDl&;vrHK1juc?C(YWNlX3rZ8vj3B8zKeFWFCVeO20fq#t6`4^Mi&%n+!g3iaW{ zS8&i|iy>*@yySL7fv#))rq@@_fkx-hyqh1+x{7?)yguQx19^#_&B0d?+OXqmZIG&h zFqPL>Wkt?Tyw!_q_qK*8;latzQRU1f@-j(n&Lo(Mq4?()GBmPg_I%%~mw1iOC2r(+-neO&%cvm^ zEhfyvM=!tmcIiu&{OtNYlY7cO#(w!VJA0?eyC;a-GFQ!3@~ifEK)&Tdg73e!$^Yv0 zf0kg!r)<(Rw^?QdvuL_(hAS(*I)hc>xd-sqFg$co7zG@diu6zDmG?G95wqwlwU*Bh z>uA};2KPQKM3GIg+_BJOT}LDaaNw|oHn2LLvRa_zyQWd_1CPDpY9rez!$|FyuQc>? z>2xc&8JpA?X0v6OT-yTOyD$UT-m>a6R>CdTCUka#FxI5yO4e+K)GCHw+zy#7P9&22 zZ<-~4^5CuiWy8DcwXrRnU{|z?`(*zT;I^+>6EXAfQ1L6w@J3ib!(FoFa+~lm?^bDJ z{F7QAeP{zB@Mh%9Y6CA#6G0t-97DT6Ia%%ECmP0!kOqyyS>?jwFoS_9WwWw%1w~{< z!6*3-Fv=)!elwVr-slJT$u;6G>8RF{Jm(D4m%t|@?di7rm#wZ*^1yb`g&Cyh^qj+6 zfE@#M<;6=wfXoF%0#4O!6z)MD&L5>hA~`dGC;ez8uk{!}}I-d?+g7WkWSsCSbds| z^EajGA+|62d8C88A)0jo>b|*m6%mD|UhyF8+sJ#KKJG-H0aDjS zFSMY5NioJ$V`WtBGqS;Fz&Ux8K!XvgVWD`>OiUW|A#!z>aT<6_QYR@8R_6+SXSiVWH-RAvp-b{kbhD27%}+xOtGEAb{&SAjdaGr_ zYu~)`{)Lx6E?ZZ(T!=4$MK^02j%G7Xf|Uh$n7bm)1qxEGTYC8%rh2j7Vp< zKX2(;A_>lRmEH?GB63U%+(m{Fxw9D&4lJ>z`Kx-k1ft1>Z5Zwi`NTxW;VcW07{8= z%gif;vU{g*r`v7*suJ3*MbS^jP%Mcnh=eI~>CCs%D_8E_E}>OZq}$M^aTjRs=l-(A z+UsEFn(l2|;~w@+5$+6rM{gFWu)@(~cl3HH{s`U?!p9mCX4a+^F|39Y#!p8=$2G17 z2l`~a|B~_h!xKyW5IM#c?leP-V%ko4Ee@fX&IalXm(noiRRg}X=Rs+(%8Pv1xpfWz zN4sv0SI!26qg~)H#6jp%BM+V;M|OyF&Yi5e^vKTeo`eLt`Yij{uA@h>_Qg}Z&w!3e z0j9GGhNjU##f{>WLAF~m)urq!f@Yv|Vr7InH*LN5)Fb1Al7sy(gWFLKN1)?MwT1k& zmvjzRJDMLl`wdK#RZ*;kut{Pgz8c1cg= zlP%V=N+w*nU#_XEpE({4ww%UaHgyP1v-1X^WN0$GVbvk(IWrz`-V(`%IQ^qatG2Ob z-#c+uHxeFwF1TCE)7cIud%+o>&_oXAGYT&&7x;XEz`4Hyn)Xl z(6l^ZLuZ&7DDFVi8PpG-InTWX)@C~UJ44$3En1P!ZlB^S)}i&1KY0GNM0cu@JS(^G zPI*U|;>E$+V{8E~F3{K59VuowdUgmt4rzgK`1U-bE~c4NBIEr;+?JZkDw=}1HBFLk z9-6%AWtik2m02pA?3B3G!2#bM=~u~gYPD@Ih-$nVpo&2k^oaG84p&9Ue#|&0eAUtK zZ0@56oE2}bi^8Tchj$qI{0Ml4bEXmyL2DMQ?fS5umb3~ zAOl3z^ALn4mTwPN7f*H@-Bvgs)p*6Qzoyg5`TOh(gIjyTg^B@hW59`UFr~>O7&&3{ zz07DBhAxkOGmS1yVDKkcVC=zAl#uo#-tmtb$y~oc8&;!ZkI|XvBtKVuRlVD+cR*$A8YrevmNZMPc>RzA^h_1Z9-uJBXtKF z4Ty9C&sup&joQeTovFyn>YT(|^@)S*cjTnCZ!H?okg)xq=;kA6&mJ@tEJmmc5=u*) z4~}S}D7;Dz^t8^5U&>fE)-k_L8fqNrI4UVk8)JGh-hXk55J^8*ll&{r`qdNF4YR)4 zo!)$OjvC`MDcB!e@36KI`ObYU9i0qI?OLOJcOw3#?L=*h$(6k`;2|66uKOqr^jHvj zCyA2@V5KlXvMn?sy}&mQzx~UWZvi6$7Umhte2p^5YVH2ZmiGp>0b`s7+WGwaJc9W` z8Oywo@d0;SzPAQFOF~b+Z^IvDaRzEq&(faxQ?DR(xBU=&Ke*QY2OhtZ6o?ev3s5`l zveJ&5v3dt1dyxZ(&^VSR!!o)#K>h}2vXkqRBk`@@_HXh%4{}+eI%wBw!g_%Gy$m9Et9aYwB{D`~$y zZm&G_=-AVXUM>8`&(iU3CsI2M+4h`hKfrnceR`SU3T~zvW?>#pv1paUo;*_N$t)!{ zS$^uQD{~iCyzu03|FeS%8>TXw8Uwue24B z4eidKD)Qad`(b?rRJvbATu=Dj&Eg?4lcB^%sLq)a%u;2!2Y$Q}&+%h^M>!yr3nS6G zsei_wr*^&A*|q~|nav67wM8D!1xYI8HQRo*kc!^6{hL&}Izmjs@PYnLK>4Tjt-T`C~(WreSt<2~OAsJy+%c{Ij*9>D;VE@djt(YYACUADxszLj9OXUD+7U<$@?!OjE;0h`?d=`xje>$Cj3rC% zPybqS@ivnDBZVIUF|aChNzB+b>*#CpT629qcD$N!Y7*T7D+z6YkZj9r91R?L*+164 zj4VNiYh>I!gOWryFW|Qf{slzGoNNKd?dicf<{KhmK3W}o|Df*64J_i5ad6-{ku0M} zXPvAL7D~QgM+XteL5hsT-j`^q&IX`T83FacoMv^QPq;>JT9U(8o2j1y!1Do&x(%bStro?q=Km*O)KT=Zo(_1W|7s%5U#Lfz`IPcS~ z+<>PTT75QmyirZ~Q*mKemhW@F@VZzN^{}T1f2U(IA7dL746hlo3ea9qnsVAK0PqRp zmG-nqx+HD8?Ri2R^6Ep?TxKRVB--x&Z9Dy6RI*5*e8z;q!Ck!xtLbocj;9P`F!2yw zUWOLeoalPkQ>1pi)#IlJJ?dSqQPm-Dusg;>{pSZ=jo6%()H@xO^o)X=`LkJKR;-VB zvgc;Im(v`KaRS~dtW)iCekhA?$(s02})q$Z~qA~fP<|cj|?7Gxj%!%@G)+4mjAexk>65+ z*1LNum~%_?Hh4SmD&l+(L8RO&5Vpph*;iy?RYL z#oV{(^?c|YNIXzpLz}eool!X9ZXk_A&2y$aYoP+xDhtDsUo)LMy9OqI>ik^8G` zG$j$IoDS%rE~1-fp<9V~;24dom4O6zTGj%`kjQu52J;AJ6 zZ+_(p3_w%=F~Z7~8cmnpRwK*JV%roa)aH33PzM=O6>2OAic9w4^n&L8+m&T^?dKPx zm9{l~Ee~a}qkXdufy)_K#;!6f0bN&$+FWncBBl76)?|~y%rET=vfmfvOZv68&V4xc zKC1h`2dO8}4|tmDwn@bh5K1M6<6Pslwd13othCiSKdv4tVEuDVVhXljHZ=6M=7HgKpEq-Tebc2^6 z>`G~EgYbgi&$CTyu2ZzthIFz{H$?|SXHz$Cj|X@u()({JSfR%g@!W8lX3MXUQ5L5& z@#=$XaX#dEQyYMmFmjO{5LNQ{g2iax&~6xIEtZ0)HE$0lOM|RopD$~XOh)K%h%<| zfb-A;v7wd*;Bfn6LFVh^=uV}L$<754z-!#S`+sR#`T-(d4833utU)Y*?)$`XX4qmJ z*rng|5r5g>MqnAVk-6~PC$;p#z0DJ7$O2%Hu%GfhvkpQrAYw)u5>b^faS~ij(||Z( zDHVF?h!5*@=Y`}QreC%<@j0bu8C$H2@OYCw&uNGq!A|VX*1powLjA&BAPdHnI%V3K z)@2RcJLuOmrIZ@s_5&h&@1XkXSBqv9S|d(v1UmbcP@5L(M~KSs8t!a`L_e#Zf>9}v zTY2unJ};D#JqC?M^mb!!s&l*u>7~{Homhe7rkFM}jfv>>N}u4lO+nh1>8b|3+VZ+s zyZ8B9F^+DDStcbnjZW0SPtV~^I%mtR%2SFT;v=1Few?RS?+L5?9?aJ8L&^JUIZ;h% z6pElJ_*M15NjQ0<(8sAbP<(6o&LCC-G1D%-W*5#m6GKfk``yUHR;oC@{S8kx$4*Mm zO1-5#9i5w}X$%MnbDx`*K&Y7oyC^laFZ7chh+ngOGVehV*V)bWfL4C0re8)k3pZNL znhHw4Eu9$?gPBDh+`TewdSL6$WiCD8998ux9`$xd5Ltkp&4X43w7|!u4QO7JT8re? zdP4Yvw*oW9Hd8Z`h9u<^lY4I8Heg(#1`^PK!%Y{WcZ#f9EXUYS+m3)_4XRSG4%lL{v2T< zsh65aTN+8ob0?f44pqgS>Dh`K#k;w#H1qAfDSY_G?#a3y@+JK&17Jp>Pi<&+FyO%X zTHgcojPWyvK5Xzy?-8~3r-YFZ7xm5VK7`|_;afITAaR%HPs=;`ky|3N#&*6&@` z(E|l{1^op1N49C*n`kTbqGI*eYZDd9?u)y2tndcSVWE#4n^Nu@yeMjUw4L4FTctfg-fD^ z;T(AH`*u`g8k&M=28G6sr?uncN2oT_Zx3q16oejLnL{9Y*25-Dl5=gfqDAG{opvRUD|n4^YwlLKh@<~m2-3iy9iKE;rs z*MDzA$gfFt^+YP=^_^2kCZAZR<4nkVk4s>S9X|UibOWS5vydf&>cI(7BG;uK9wg9O zxa>xo8d4{&UVQBBXmdSYGnDVgHrteHUun2}EhGyRSTd!_aC}ot0O)!&s~5c2*h`Cl#@SxsrSkPLXf?j7D3bL8@i!l$O#K1oC9h>9oN=Yekn!k8}h)x1BgYZnxlmVHKnC zX)-)@TEoo=)t@E7tb@*C{DlSEWB#(mU!qZsIN1rojZHNvjcf+T3c70iE+d)a&38!M4=;O4b>)FvAf902yiAQT2M z&cUjmM9WJx!HfEra?Q;)YK(7I^^1Bm>78!5JZMrc0QHFDU~#(Ar2~a0sYRnY3ZELi zyyZu&`m<|~kJ-JRx{%YR|08?mre0%R9&pnV2Cy*%e!K_oYjpW$Bu)y|X)9mFlB0NM zIz1Pdb33_yX?pT?W{%+bheL+&QJs+PP^-vy{tJgM9KiB&3(dO^U@lrL zd3ws7uddR*kg&S(#AE`1A+7!wQ2k1*8A3Va#bcbhCsdqB5&x3rzk()Cz7*-C|0+K9 zw0xUST;$Q+H~32(>P!Yrp2Ce%Kte#Ut7O#6cNt!L$3CunpHpZiqC;#&K_7ArU zs{B(|6Auhc&GR#AQA31^hz4>ub$JBpj5&HO5$(QKX8YS?&l=ZTq~+3X{N|~I%{}Rd zm~^`V{9Qj&ngU2BLTFjfC_)Y@r*Dqv1!7%rrqwQ5LAT-S=fh+U3VADa-l77yIu>^< ztpi?J0Q6mJzg9gbe1-cnN#qm#OroFMU5VeKGIjdWLS8W|35z_(B0O7YW5Ktf(zT!F z>yg6(g)7z6a(ck=Zua*N3FjRUuIC3vBBBX$qM+8$Zz#9`$i`91yf3pZ(3~OdyaMoX zgWw_uLg%3`W#2oXYHA1OCTA*X*k^oFY9RKB?xO>-EJtu`%A~_V?gIK)Ak=hN%cFid zwwm^HG{atXHPN7}o+UC7VI`dJU|X+1uNi+l-Gtk2!nTc0!#C#_8G2qxna z^wXNV`->k3i5mUMxZ@!dSajEC@oiGgWB?R_p2b3|q?@5^NOrP*_&hu!Ra~Nh@+GWT zH~YTnqMVz;NKLe4m@m)MV-(1nPF7y9)3(Jtz8Uh$mVW~=_i z&$@Kp?rUNmj@{uwL;91LX7xRTkJvKwY!PtYa8j&6LIt*&5Dz_AB4|qn!be^WDD=1^ z6(Jb$YwlN`r&L7taDoY3Mhwe@uJ${;MB$=dY@S_dMOVXsPuzovW{eWAD^2LzZ@X_&LC|E&p0JL3;P$=C_q;hv|uI_ zspb)4PrY;|d>aPB+b(rOCIt?jb1^V{m0EG5|NHxjr<@C%3likRSg?~OfEl1ioBRe5 zU8=37pxc6DzL)OQO`msLz=w)J<&e&~PTY+qSL!p1-@Hh!)fN(+L)Ibvv~FkVSbcTA zvq{8FHOS;Iek>Ofn)xJdnKqoFknh~|7BD!vP~vC{WXzNZXopGSG6_o84LrwfyVUZ` z=iFGkDC~Ll&ose%eUtVk^qN4yCvQ{ggkAwDMweys+j$A-uFMzZc8ARnwN1Nz8~BAmo3+i6Bx;d zI`+`BX_zX2fqZrWll|mc0ONffaTpg^Y&tR6R)-DR%K!QHtA9;XV~r9u<$jz7u1 zG(sDqzjai+D-#T0rAi1Dc7h8GREm&e-NJtJc=$-POs zCo4KocTb5jis_C>aF2x|kWZOeXrdC$ortDcVFZ1;5A4 z7q;eVfOKkiEUXV+CfEXU+x%<*2v(n7WwXe^tBGKPt8bvaM|>ed&ds=1m4--%kqf*Hu&@Y}hmnJQd2_VZnr z@@hg78Ob1-oB1nYiHZVXG>H6GNA;jiHG%S0pps5&O#to$WlPUXs>%^wy^@r@C-Upy z^X3Lmv4Y*l*=71f`$*C#ogI_~R-|}Ux0rxaxU+Ktx2yx0~X5p0hAC@xt{qB?+NFHM8Ubda~?(f%zHXL_966;xM$A0 zl!cEoaa_b4zYe)A9+@B8w<|@r8#9A%l1Q@fU^xf1e&zbd{k!8jY8=t67kM>BBk5zpy}ht>emK_pW7e za#0$n?i7=bm*kUFQ}XcJv{#MnOReHHg)ybKg8nJ_0uQB}coFf$CPBhu7M8;r2e~;+ z$Q-=24(d!87rX`zF$eK}^pU(!WovImvXPE!%1;3)V!H8_?|bgn%LliNC4CEt_88@# zl>T3pzAK;6Ja1WI@J;h|_;I#>U;p;s`fnAJ{zIK@mMY^4U1xd?Ae?vJCrl)_ zc=UUq4pW9|MlJNV>MH6h2N`KoSDEeKW2KZ5lrva8c*JLk^qGTFWe(cD>Q; zp+cfl@Eq6o9Xh1CS47#T3OiM#)KaW^>Ww<~$L5&sH+Ti%8)2-slTd*t9i`+FJ3iu6 znws9=66ZvWa^h!JyJp7kxY9L`CeA5bsuMEjd5&5n{$&&Bl<)fB$lP?xOqvm>Wbpn7 z96cY{h(tX4Dj%X8!uu;h2!uqv>5Q3jgz;yIr`Ar>RPP6N-#gC;HN(I&f74MR&on~ zf|!cUb?6-a6hoKxmC``Om6oph_q*>uTghPNmIyR7{@6WzTiQ3ajC_Di+943&ouQAA zY-DgBO?I~9PxZEABC}*ng{(mkpm!RP>7(c;6&y3B*sRJje`LVkkT%v+3z_}_F~v~4 zk3J~3@#na8LFw*bKyddCJt3oO>lSV%LaN~oEMQXaQId`!Geyhf6S`R$I{O(EoZ+Wc z=(-bwlt~s{r&~gjjzFs)+esIPWJw$WaSY$F55ZV?7#Bx$$Gp)E8?h#6!Ls!^2#JW$&mwCN9;gfg&u;4 z&dI>}PPCAg+NZ$xRxxHK3hI7B5?}4?;FWpVb8*c_2CkIN940O@@}9x#vy_=7=m&%- z2kv1c`&@5y*3tTbKgC8R-m_i-rjwF_M;!eCdN^&w&**Z4R;X5zIp!RSFclb*^Q_p( zR*l{bDd6Y7$`a8WbQ2<-yngt1mSIX}?3c!6@q3>0GzoqaXQ2-`Kke9sxuFv3eTBpw z(fh6mxzT18uPp8jnkIsq=g=S-9-$+GZg%qPjm$c%Sru}4x2--T-Uz)Dj8K({nBOfc zI=n&aLH5vfXfboWZP>~89fT9>D1k}FL(1{@=1pn(!$QjU^1mc%%_Sk@79Qyezp)B9 zcA(m4pPhb;)k9#%KT4RiM0yY5v>7VHNC|f_28d;+nA>IEvHTj9XQHfkk8f)6TguC^ z4ATi?sxQrqxH)lamzu|X33Z436KG*Iyp+1M(XrVkaQC8lZ?ezAkCV3(j`c)bG7=cp z=28936ffX^;GmOd`St7P7ETl8FIZoa3pSg)CR_Z+u-nrFXXRB=>YZUtMDe3~&^5qN zYrfGa2w+ykYz#wXpac6rMb1P%$4?^%QYIz#l`5Hr9_=Nwg~OGIX>A^-$`=M2PM9%u_Vas z=4o2l{cp-W5(cBBFAmh*#poXUWZo%9tzx&cniy|hOQ-+>sQ zsC{0wt)5EN$gH`UTI+A?bl21vEu zi;iT6UT%}m2s0g+m+yL#ao>Mo?>)nsY_oP@6chxhf^?#y(m^SLQlcWFARr)Jh=@p& zrXnpQ2m;at5fs!27*Se8dJPbY^xlyW5RslxLLkNOa^81l&oj^L_uc!L`F`wu>>q?k z%zaQXz#TeNKTJW!Jwi1+-nGhSFON>dI-}58^5R> z%wQJ>dL@FUQMi#~-HZVSp9UK1T#QWr+UiU8b+0a$4`2KAZQbkaZ#;bZ1D2zXlQD`C zsSzeI6S!N}BC5Pz5xSH$g>MbQ^}P?ix;lPgPM+i33j29sxy|Ol3NFb;$J|?=ZsheW z&uX@JPp$VU=)fd%4yE15GvT%5x&FhqVmzDVMtC|ZR4R{lMRR9)t!F>G%e=Zg;ST;v=BA1i?E70YY#ZI?Rj_+p4xRrP&LIZM_P7CTq&dKVy=7WytBL6N3{w z065_d8~S<7~xX=G2eoeH0CsTg%+^DOo5 zBJ_)P;X7{Jwg?OYx*S=kR6a%R+~?gA@g0cI_DKBZR~-e7Of4>J7Gj(K=z!eqsy&zC$on zyQWm)D%E973nRBYGpj+>^y;3x zX}X@`c_2-GxKPp+KGNp4=jOW|eT@YNiL1>B9A}#Oyhrl=2e!+2Skl<5@0*Jj%_Yxk z%o4uwO|0tZP%@}T7(Kg!G@gxXl!Y8hP@k5QKppCn_|41vCTht!0yR(9AE!RmJu_q+ z?y4P#;T?h_XCYjGEmh*leJR}n0QBC9FZ_x=@5@vnlxJ zR-O8|QKn{L$;Z!IgGg_n)5unQlmzP_)CC!VEzQ9_q=dkoO-|I9?yES}!zhAhiuJHP zmx5paY8riZ(PIt9NfQBD^dM2LK@09el@5@aoqt^FEf~=3lsaoR=(nUH-}LGDiQAX1 zo_rW4-5WuOzHP!p2+>-5`cdY@0lh{GNd^9lFCJF@u48U@5)NYIL(Gj&`Tl&d;&D7} z(g#Ys3>nQJds4Qkl9b{Wm>^uqxzN4pLy;f4ptS|yuKmcx9gHnwV zRTI&SEPk=p2#tY>AjBOO)kV5m-hFX%I98gvhrhQzM&<0|a%SPL6LC%`lNZ?OG$<#6 zm(dIprr7~y7;GyfVtd$j^$l6`VSkMw%a=TQ=ADk{)P2mZtt=bkHCp}xRO=r;uP4ms z$ibT-nr=?RxI3h%!8!gkS@^`GMK~aFu)L>SB^I}0iDsy$QwK=c$jvvf%b&jtza4HQ zw;x!!I`1)m!-4)_+H4xFjmFb-5EnHb!F69U)^j!5k ze#owiKUYLOQg6pz_=+qp?35lH6;sh}-Ki%J(*N3;F9Tb;v^R_G z6}(!8K=NHOD*Jch-GBA-Z&qfvS_eyu6@hG5rE!D2ER|~jMmQwqx zAGSXCnq^7OS#>d`|2%O(7Fm*oZAl|QXfM1EB1dgI0ACD^ELU^0%6y|jyHqDdQz!X1 z^hE0%q3F+2&7BJ=Fw?4jKMvp{%NOR)x!#2}q{MU*^}_)(N3bPGAJ?|RPrLTp+s;1} zc^Kdad9XclBq4rp&@gRkrLA0-&V;<}Jr<6G7DX**Ohd-P8!w1VG>l(5Y}O&NA}AQJ zp}2aw<={5w@tkjYv=HPUvkZ`>rN|iXmCNyhE2l|^rS{ptP4dFHS$G3aIO^a3fDDEa zT`;tlCQV2x( zA)n4eWJt8>AYZiG7X6;({mEVc@c|jZoaLfGDnDZa%Ll!CHTzBpv944#$ZOqD=ap}4 zymp(mp>5j%ot-?GFxC?(N^_=zs&gQ?QJb z4afkLCb5rt{1;QBHc6LIzEVJ#@GP4;R`R^Dsx#(P)@p}ebF6w^7jrjibs~nLxKwy9 zn*-ACLKB&wo z)U>~Z0b~w{Kqte9Qm5iETxVQKdSLq8_I^j%g%7qr22A31KOInLLM~5QZI<3Fo*e!Q z*Ta-y2_@c#)N4CUyU+ykX2j`3)p{Q&KQtkS7QR4sJOm~=1R7{cw<=)o1m=;%i-6;f zi3A6E2C`f`s;MU$BO7q2iF_yk*<`|U*QLDdO|rGu@X?MyLEcL@r4_!Xv2!?bZ-euC zUmw^oFODG_t~2&pFG9H9;*9{y9eK`k?+;|M=;#TiuAG}tVt#~0=7S{u@Gmtl7*2S= zwR3?c;J<7qdg%xqP!^9@y{@s51n;O0p#%2Pypk-H8npHV(L)tZ$R_MP_51y~XCK*u6+ zWes@0`$Xt9T1F&lW2`)azbumT5H4v_f38!tlFi7Fp zZcT-8Fb)KGo04Ep{g`7zpoV3^uSR`1JkR^YqFyBk=pTO!^G7yZLr!PB1yP1DmqpY; zgfQ)TtsP1@Ag3`KHli@?mps)H=4 zsnbI{@{6euar76{Ao4n9DV)JoOn+U9kAo47JdiO6;m{6WVr!FSdh>Wzs`v8J```ma z*6llQ4+w4ExGeQJiIxcF(Vrx$-XqkA`cD{=0qT~N;MoElag$3U_kIklE$7(xPTEek z+)kHrSo~>_v|!Wo?e4Qt;AbgCOlc3*@x!kX*P0dfS*+EleHvRVYyZXcu){^UOGsno zg#e=gRm8fINmW7Me=#wuV&d^kTcVbF6*;6``~(G%Cg8Rwva^-XWC~0 zhM)@32}DLsm`3rG5A7q(Q>sH=$6`7fQ~j?`Oo=||EH^JtQ%Yj-*fx|}6N_+AS4L>l zv_QKmKt7m=M-?){3$c&#(*4|PlC7QH!uDZ7@8bif5;R7TW9v3gnbAlVga9$B2^puO z7T!3;*1x61Pf4^$yLTq_lu=0V1DWNbOA`9t?@nUNkdz~MnrJP_gJ9KSbcozXuYH)( z=RzEe4JM!twDV^DngWm44J)gPZ{Ws{=n`7H6h{pLSl{{h{jgy}`RWKq>Kb$}#3{ zXqeKt5`&FSy#iOHC)bG}CZX&lv1>wrEZrJe;OA)&EPZXm)&DLOU+~>m(Q@eNH_jG- z7)(5CFl6YNlYO~-Fq>Oo4D1n1?%)9cPbx@1+V7{t`25Vt+K-f1W)~t4FCQIP`3ji~ z$bS;OSjeplYlYJIOc-o7)N7!ep3ZSsh7##VEOL4+oIG%R_ib%3Z@I@${xHvnr9LA5 zFX44T;VhEJlN)Y(Z;27r!{AbY;BTvs!|t`lp!85ZaRF))*snc50UQhHe>+pO(_7#jG)w2RaQn?W0P%f-{ESv2QDBEJ2+A?qG zoeYzT_yX^&#N(W6ZmPLYUhh9LvOA0z13)mgA#nmn_8&ps#UzluA7pu4DG=-BNjqa@ z`e5I;;%66)IPNR6e{Me|-I+tHf=*|lh?mzU^ce?wW<4)Mo=S++jLcV=M@4N%)mTOOc_GX?;^2@-#l zf~2YjKyHxys9zRja8r)X(|BV6lix5gQhn+) zB|@#Nn&i>^SziK!^itUu@eUV%rYnP`MQnfiHKp{$8qau-?Yhse3vW6((dwYn^Gah< z3}Fye@XV)O>|LpeXPv1{aX48nTM_5*y5VE%+f|p?6;1#w?!_u0#26C}XDNQveQ*PM z#OCx$HtiDWa72N@Sd*_lI{(LvmcQE%yZz#!LQsMB^^w%Fk zd(cZFP3B8X%#YF5;eH{>I;%?o4r)^I%h?qI3>@(SXNior*JH`^0v4B5|? zpa-Z)(op3M+*Aln?H5yyq5E&cW_sNjO8kJ>&!fQ@AJ%6WPFRsDfkOj0W6#MHa4tH5 z90}~^f~TD+F3;r7}4spbao3LKKEFraHB zG-A6PUnIqxY7paHfGwDSTcse|6}Mni3Bd1={9NDxKRy5ju^EaI@aYM;0G%aTU}Mt# zx+)`aEmokv(%kwVrHi|$bmGRmb@~K{I73L_B6VP+L$EQvLLs221%wk5Px^eRVyjuUiZre%vy*?^+TT=u8gcKX0$VsQdxVG+wGvfZz=x zy8Y^0v#&4Lk{l}7?(4Q)ca2|k_c<}%m>XO1;RNW|8S-pHkV7Qn_~6@iyiugm+12-_ z-*fN?PuF>_${u%|Y)pipD=$K(u9#Z$v6Pw6k1lIeS{K&WyD~ctQVI z0-+oEUWvvR&fpLy0yOngJ_Tz)(F3QS9WjfdINohXEzn<%_p;qWTRX1F8+K44BahVDeuZ z@!M*piIaq36d739gcu~U>K1FcNF4@nC>y@?{dO~~*COM>kIMV4kBYOBwZV1wSk~~uZ}dS=LtXQM__EIq*n#vr@#1^Uh}{^HiOCPbMzl!8ty*`X>I^hLFLXA-d==LTtyMW|FIo{d;<#Q)> za1Li=A{~|6(RLkuKc1UBjtt6cVDWnIbAjI?$}C$BRk&%YckBNV=Kqc`pQUx^ElK~0 zmdtECm-oSdk!vMGn-fXVo=T1hGprKvqG35Cfq5M!0Pi!wWd@Cli31JiB*KFpFrGU( zvK+caiYK**3Td?XI`rs0(iOEl^*wf=DCOft+OUomy^bb2gL(=r!Y9y#r{i@z%`LE> ztyc;Zp2NR1nSL_WV`M4O)Uz~ZO8Ljue2`9aHx@J1xEI~Lm7-$6|ImIJT}E{g zSl+Zk9lSZcleOHPc9HY`gzg(+&J(!Iv=KY^!2pP1N#Ev#<5N%h%!DbnR_f^{0sUz? z(R$=T9TB*~7nBjjnea^ompWn=IG~3f*S(v3HO|X9;>O|n788xa)tH_oHMQzVw1Mof zK8F(#ODIg6jm1WfyF@+gK=Q$wzfUgq*VRdh`jjzbT!>#RgVb!_P`EwSZ z7iT8D_$1Qbp;2q8xCzt#&ad4I?r#LC8X-R8flM5eV_OyQ)SKkvE$4w#0uCrE+j zT$&lNENRBn3A>CRFFWNBsB>365b@Bn{88U)Ck=@gKL;&i1*}l%yHQ0^N+(J*l=$HC z6#H3ildHotM?$TVMNRL`s~=1PT@J2~X~;Gdj19iLBAp|Xa3hG_-ihFXgYX7a4b1Gv z61o(r4g)i%Y!|H#`*irT=s$9bd1OYybmL{8={PNV)MS-dwCaQM5+n}XM`vy@o>OHIowkrDMflMVG;QMdAp7NL zwdTwL1zVZ-v6{j|&mv`>mqY!vZddp4(2i1!X7I~MiUAGCa{>bPtp%9JmoV?oN#zjd zsi?Nr)R$w4Rdr#td@*L7a_WIspZN3|v`MCu{KLRz%Zl5en6y?Iy)8%ITvoBcH;8xD zytUhJ-*-jWc$g_JfsMsN6BUKzUZe5rh{9Zh;8S9D4@*SMCoT5^{|rxHH~AayB$gs<{`w_=06R6ESY8(U_s^jk>l z%6l=(z7+^P!t5}S<(jS@SrQE6qCDyshnf^cA1NyAFW6~J*eQj;ZLC7dumjGg%^QhWNfiB zv^kMkNImS1lruwpM{l;l8iBE zSCO0ya@Uz|a)A6Q{5wzEkBRK3c(?&?xlDT~_uiUsMQ>$l$b~n(>~s%tyF3j`KIdxn zM*G&Xw6K>)|0?1%4Fo}1A&u2*0!xPiZi{Cr95Y;)FgYJz`)E9EJyP_CkOQ~ck7>m6 zV1P!Kyn|I#LC4Awl;V^_I6C^Z($|&V-9w;|w-wb8F5C+PUJeJ`KmVt#ofqh*vTDC_ zdwgJatfrIGw-n|z2mKk$VM<=>?&g#nsXH&Qz&%YvWeV20taay$_Sm40vK(Vg~M1D({Q1KIYx_t%P&zMvD zlG^tkC+2v(s%3Lc3RLrct`2ESZ61f=ul3OI`LS1-oRld#MOC2gM*r|z>F8eZfL8}e z;E37eaLOD}Ht+)lI`hpOcl*AG>$0MQ^!p>X1fN0_zKW~MG(SM`fKaUwrM5unDMN-5 zWl9oXmr8lQsIGjoN3-bJAt0}l#FP7 zvrb;vmI(g{x1fB=rSJ_9J`~K@Th8MwxgA7E!j z^bfBw%3V08_!%Qkk9aXjCYKu?N0`g^wzMbj*DZ-;5tu~>{t)#pW#V}yE~lS-i~bzF zoZV5^f%qPRDA=hiotPWlGKoNn)t#ns4}KV`;|V~S5hn*C4guJ5Qj6o1N!1Cxqc;x{ zg?MD}{B@de7s^C1@aUS?1l-?BCXW_{x(g~BKU-^of1G>~CwA}&lT`|a8O{1`Rv?V9 zT)hObCCiQbf5A>!k>7YbF9+h4JQlV&fga1aRxgk|{96qdw7A|0{v*(b$Z0%kM;pqE z9DNfAv=DavkWQbrJt#9^1^qMK!wtCwVGyXWKwe?!lQH4g_2W@_;$RsQq85SZ=U=2+ zS$~cEmHySkI0l!cIFbDIVsS`;nzLw1nsJzOMZ$yc7#$xGP%6lX; zF(SYj69c8Ge-KSlOmVgkz5 zfHb}U3US@8LheVj!$9x^m&j)a_(f|t)InFVsbt!ZcFNOo|;*U#aQh@Y_ZSMvQi}^)nN~C`pzP7 zQ+p{XDE{}o7`1|nqNp-`iBG{NhAL2xR#pV}8V5FIw0^`?>KtWsfm@C=e{)yjrCAcC zqG(1)77kDG?mYCkgTXU76}A`i(JznOz0EJS_iC%!imH`^(zzBZ-xu!jV>W?GlJYu+ zPu{{4O_igFZy6BM8_jzblB)A^wLk<(GY4V)F&QV{6aTKvV- zwUb7F6UETmmYl;-9D7E~8PSk%Al{J!C^<1uLKO5ie)l-yxB1V70`zgYMO*1zy7vzV z*$c8GI0^rji2%gdFVG0TYA7GYo8bTCAzj}jT{FWj&+~Aj%#rkyoMK5@KKtYQLS@@8 zuuQqV)4IbHgI`S7vFU~xd3o`N z8*OsZEl+$;8sFQw+?0CzzR5{2#Q*GJR2 z%O0vGH!XHmzX4}o%5dqSo(|U;8`kwM*1X)E(|sRS1?ZN|9Jw180tY+*zui^ zu?pmOnD77U9ODl`ly7iQRsPaT|Emo&-P*->LYF6@>q-^>xn?07fBy{qA`($q6qsHy zaU@E9dSG)!hi#?6(=*%pT^L)+abGxSKG3|*N%KGvt`t{KJu7&9ZptY5j z1>{;Q<1hZLhMV-ez5nDr+sOr+a_Ie%4}bX;s-f*qH)p7==?DSy!W*m~j4O6?j{|4n zFQ!~%OYJ-kvaSHOldTm&MyTA|qWm-JAeUuc{(q*FC$~;zumg6aW`e+jBo*&y z#2%27K3R1*lVGxMLGV;zhW|%V&9xQLvEm2Pd`$|SMhDNd=X7(vxEFdlBaC^64!*h! zv@_wrh}ox2REl6QF?tXpKnQQz^DxcBYG5hPTbw?(dy#lPOVp-NGDgVEjeB=kS%ph- zy=ARYX-t#sNt$1IOua%;Av;s`#|o`xBwn*316zy*^hTHnoE^N{j5-7? zE&=rG$?S|n5mQ;^$cHk!faR5L4m)ez%FZjT5_ckE+a7NVelOTbv3znL@&(C(5T%$; z&*QkcXp+Pe6(xOeg%7rF=itomAC+Ct=gEQeFznC zI}_BLboR{lXMNwp$jN5{bh-SjP>r<%0j%{?d%v9Xe*Dmm^Dv$fXl#}K63txt;`i;N+wh3dPKT&ff$4dP;Ay}%0TH*Ib;L0j*rGk!QN8E914Kp%7#T=WOeY*2+wxUZQOE+E?Ugj3t6&O zZv5-|dGdq7aN70pmj-ijWeOYd}~10HFaB1$HSO4#iq%Q=QZc349#m{H-u4u-2Vc7;Y9OL zQ!M|fCiM4YeGMRem~70%^Z?d75`~=}##7`HO2IzA=pfvy`m{K)fhxiiul9_N0q7Y&%1yv8&*e6Ycnlwgc#T}U!!uq$70oEB2qAD_ zpT&QZw53aA#muRJeK7P7KkY-R1uC{hA?ns;F{|SjqGIlF#c2(59Z}5*A{8vK* z&{?5cO*A2j*7ykRco#uiXi=Bp&=r9NmId;R7u};uUH3jkuu$;_K-h3LNmHr5z-mHXaP-` zmo7~F<42%eKw8W%rk{fTznBoBH0j@ueql=%)&3yGO8*}}1gDK*Gjfxo8tj9d4E~Uy zsEs4LFHGjnw##Mz!)M4p_L)wt?#{E2e|Lvo|6lCTkALV;xXs@N-ZtF?hZ1&w{`7WH z0IUC-YX(pqLQ<*~F+C=pCSWt7N9uOslZM3fX`zI!AhCHDb%RqJyVDj4PyL_hD zi6J@RC668V;3YRCH#>rZ_KaHj;2&XCx{6E-?7KA~nR5YFm&3xvua2k2Y?z#hpJ?r1RKpDH5>1o4q6Icql!@B`b;* zY44ze>+W3M_)T1Iif`N}#$g9x>-+h8#N{a6^ju&&Bp^$@>%IBDwGlh?Gg=XcT~2nd zT{BT8IWhPvN?=p0%yCWmQNmxl`{<}mH#!jP9Hv1PpS85P8hDB%b*!r&eNUF zaD!IDY-j%Sa>Kw!(Bt>(Qk+BN7GRXy0L>9)MC->PiTWRrzg?a<=soY<6B4JvIUXJK0&8(P@jCFf_>q`ECHg)bz^pDX3TKh?10aFs%U_$|#Qop202q7@>#$vpC_531P6#oI-!#y20>h%M3(S5~M(ua(rXV-%0PAiwXe`QP zRmZ)3*Az4#jr`LSgZo9Eq8DL*rUbMCBP1vac+}Z{>jUnsU|>D!peEr%FE+D59|Fhg z&o=~ag(KAo*(Xg(WUy^<1E*qlI~gooK)gB*SzJ|Tgg`5H^5hmSTlLqy_-FTH2;s=! zQL{{EK}ysjgmyb|YYlKp-c=x{uRw<;y=l8h-wjKv{x}Re1Z;8tc(*@~%F>kKFQyAV zznJQuA@eHmJDZHzANd%xFw9`r>d!Z${Nt#M)TA-O2)~#f19FsA(Z4nYFi!u{6mamA4dVq zRF-FQa%FrkhS)4ZE5Z!EwH}!a5PRH=e8rF_*^4b{7bM`|Tx~%ooTyOTa@Ys^7Xvs8 zy#L(Xx>VLPvypk$iN8{KA-{V6T0;YXTFl*b#~${AxVMrAfL^S!M&7_LEr10->M#Pr z5*WRL9Af4X0D*}f{11~OufgB#K1e*3z0zCOw)dIAnLQ1yx?vidS@qW7YJY>s{)PAd z=3=e?XyE<7fB(_o{a5?rnpxlZ1CJLjv!WIFSNGluGJU*Ys3*ARl(uyJCORuN^rb|~ ztspaC%3k9(IHfJ)nl*ir6)gl@BvYS5%>8lP2DZ`_fBpVVmioN=G6!dp-LvuQ`3j-`5p!TEM5Pg3A8quMqy5X9XSK-b8+bypZ_I zt4@rfSnTH>Md)f`d*WYSQF?-0dZR9BkZt`r{lC1LWW`1uTmIw4^>9g#gy&l6eLJRq zc{Tr;Mfh5MaDA5XllJj1ub(zeeZJdA2KoZ3CgR3_{@RtUxc{#<>ii|~eZQNX_Zf)B z#r(bV0{zwZ_ba=TaiWd0=G=*(qfg<_1D$!pw7#ceI6;%HZb@8;LzZ+s4ftr zcb{oigB9%ygj;lRxV;^BB)o!0AN{CIge&5MAvs>Tox?@a%{BXm#^yAa zM&T>Fq&?rUC7m0#zd>6bFVEMl#{q`&O4yh^$>k*5@9a;&UjtAJOAAO{RC zq*o5iQH2`|bw29>0iub=EarDfGS&+`9iBejAdlxU&5h-4|k+51>zYs&j z#{r&&6=ZZ^8kJaBC*mIThEe%(Az8?~JKlr*Qo&w_5@>iir{gEXlAbfC6~=0p1y`Xg zfp}#b^iU~8m}W4DIKD)#y8J13p?v$9XrO00-o%OjbU5I%wq!j1`h61v0&QW+a806q zB-9aP%MDy8i=|pMo5SqgM*{ZS%tfvT2MlEtj%LR()$VD71PrcY;ukeH^+Or0C=r?r zsfWQnOVVvca;g>QQ($I9i#W1z+>D}R|BI-U(bH9Bpm?sZ-I34-4nkB~io5SEiTueoVgHn7|LuMhE2pfeD7O3Ko2te(%4xG{;{t zpa1v!pW?@R|1aqm?qB_XzpwuH7SlT|{H#=XsnSyz8{C2jYQP3$)r_bHujsJ8OyX;M zz}$pxk30(E7khnst!7#4O#m^KeS@k_Qy4&S!4*k4xUZ^4(w)N#8a3$`$kFNk9pX@_ z`3H#?nh_g)25R#8CbBvT^p_x8+ZE?BV=qUZ9M)2rk<+BSi!zS7m~cH)=$c~cw2?Q{ z(T1neqE+g~z~iDwk!8U0ibAxe7Zy(|jbd7K#Oo-?Jo~GD&Tcb~G8F?3#ue*?TRx|h z4_HoAG#xlg@63Abp7;Wii2A%uJ2WzjT<)P-QS!)P6!c67L?9>T;pMQ!g==}iC(#eI zOPg^**W~!>MWk*_9Myb8%iFg4$vuiAn*p)qb8t(_z$`}8!EMA6#S1q*Q~m)Rm#md! z*QVY1*ozs*W7X8rC@9SO_Qfu%o{Z(an;&VR6c4KK@8S@}E-Nk=%EmM#dQ&tp(m|8N z=W%ZJ)hGGb;Dh%&dwj~Mw|pxt#vFBSuQo<8i{@=HVq{O4zx>$xJHYY&U!8yd{`iOc z>%PWBgUdeIYAuxTRvm8QN7g3WH|S8w#1bR1o55bk3i&6?&XR{ilolZZ7v$6!R}8sMB`#sLxc1W35Lk z_8%WB@z0l9d;v}Q|MNK)poDiitl;dK$Og!TCl;_;^oL}T(#U)b$PN`!E74G@Z)=46 zj5!KR#Ipn`#expv{M|uI)qQX)LL%=(NFHuCqIOd^et7+O?9QiSDW5kIevT)2Kl!-h zXbQcYkQH-Y_h5`|{pQ90OE$=Vb)o&A_ntA~-$Tw1 zd0^KMS3{fRFFiolqD$^xz4IXAl4+Y-=^LED4!{HV?WJHJoXG*TIWDK&;gy}luP{z( z;dsfW8%e!$A#zy7hN>+ARk*)|ucua;;#+0+71uQXJ_&!IUOz#KidVYZt0QQ5GCsS| zyvHPU#&JNis~GoMMoD_s=<- zC$*!Ewt*5e(uGKzgd8y^zU0YBjo>F+_hBv@vzhjXZx2iRoDYaL4{w-{ne*e0L$ax& z4ka=#B4qmtO0$pqa2)XV?4R#~2fBS10I)asOsk?wVVHTF3-cmGulCQIm(8s}-exLZL!MbNT% zSbkXdKzgI={L^!x2CH#jzVFr8Jcg!j_tu=q>muO!0|qV* zC>1=l@$@R?a6KOPjO}0oAuWts5`9|<)V@(IZ^!b~fO!z^p~N_ALp8APrrgn4ur!$b}AlV+gWr$`m&_L9aZ3^LSdhkIA@F@7k) zpQ%2Jrh#RN3iJ{;Et?jKp$1pwtXz^ql3$>kquYtC%}*>mN0YCLMO@MoKK{I($xoXJ zEo`n>cSzVIE&YswWy14(P%vcI-B!G_%!>DZa{Ui=ShgY?MuX_mgo=Xl^39k;?UFMJ z3JM!!1`0DPdA+;8F$~X4u4r_tB%HJIG)aA(F710AJKUv@u>^%(t z!{h@6b_XQhGg&^}ln4-021!w@;v0jAFAZAe^~HA2+Rw}CU(|FO$ENPmqv?+krzRTVwv;T-`qmC0dqxodIb4$yxfa>3E$cv@Jz)~iYfQ)2t3^9%b43o9h^?L8+3@WYun9&Tjv+gW5pfH4H z%~}(}LN!I?NGbpZ4tvk&M~W02YDE@FEn{bp(Gq*p6g+1*O{@lJr_w&R_-t5@hnphZgTs#_XZ9BnSz9CoM|6bXro>I?y&7U#v?I?q?dT)=fo{hR z2{f_Z53@R0K+^=d`$x6D(vN~#!R+kPn74?th(TyEet95g!W}9Gw{j#5RevJ~6pFq2 zaUi}$T9Q*P;%l45kvqZW2Gl*9Y69z!delS?S)cyC6h_fUuv6wuhPD*YsZG%eif?Y* zNhzLAcod~;Tf&Dr&M!mwuSP{Jh* z=Rk#{sj9L8M?N>q)Rj;?NQQ*g76{t}Wu9PJ?u>CA5$63i+F7h$8T3hR+XflUB^<;f zQ=uxC-7k%aU;sS0;mU8l>?epbgCMAOiL~+|t-y_MNAMBG`_T&jOIEkj^&Pzlk+mw* zX)7Vr(~Q2fWH%&BjoSy05g)0SK#}WJ% zni(0vnr@0Yx00IBFUjoLQk(BMQmhha0+c0U2Kg!R77#9i*~HrSU0b`S=%}x^al2)% zDJH%}-<>Qgzvpj7-vu`CEo`jLixp}Mya<|7p|1}{IIfrN|1LW!+#CYEn)e$jKmV6i zX;uIB6lhrnqY=qnW0xDi(F~xn0(mvh!>b;@kCtjD&gSZu@8eQJKgqW1vjE9&1_xsZ zRvfj$laJk}<$?}~3`h%}uruD*e&mRk$D;}5LLYVhy_m7O#wwjSu%h<=$89ozB1-l& zG^~z!5FrIO9+d1?<&-g9E&OgN$5)+i*tp**)tQ;O)|;Z+jF2GVBOdmM1Q^eGtJXU7 zi%!V&@_dP*;tE?>hQsxnxW1SV}{N}60bY z9h#Dl>76L?kbf7=Yd3e2`DJ8W0ui)iwD$hi;4f6Beh)8oGpCyhA* zYQFp~Gqb!hEsBbPh-qDQBzSX=t=K5}9Y_@_SO0dYM{y*;$y|DTsG)NHBK zAX?!}*kJ*)GlvUYGF{VeUJkCN?j(`Sz3I)#3j#H9t?ap9_?kk`HmioxwX)vby>h+yS#I|8 zUM9JXLrowt+?#Te`w1L@IJ|@sR#h9yemPMTyK=}T`_s5CUYEnBklW0e3BjMwx+owJ zoxM12S^0j#!&aclD%C3KIC-PK@yh#{^THD9H}m9V_FVy)Smi+9#p(wPltq?TryYV4 zl$zXh_$l)TvQL~Q&?STZUgZi$BV^+4X0x5CUM^Wi+PR-%S~(9nbM7`a9s3v}0-er>9z?n%iqp*d zm+!qNDm`9P3!boM$Y03A&2q#aYvB!eb^2bI*{vOcwuyPxo6Dw&cuXj$M}{Rlg!2;p zn@OHzD8=BR5!8~Z^I$HdY)oqGE!BUPSa@(iD!_$wvaEOWOa7t|%1^I(;%-%-L^Gg& zKMOwkPnX-@FTMYB-?RQ2{IA@kS2V+9Q4n;9ewv`M<#G3}Q|LRdHl0u_Pe+VvP|64V zwc0SkpqCtf%=bMlKHLW5NOor17!vomd*BN4?%Gqq!-Y=CP)_&GxSV}gil4La4v6Ow zVGK5Hs$M{}ni3DFR{*VeGhi9c;M3l>YK=N|8Gon7dMxosidk+Avslh>F26TN% zzgA$Kdxb#NZKf(B+8J_`B5&E&Ts`-Do9}#6u~qaz7Uq$5sZK|FliH3q05=YynmY*4 zm~{Pk=SmMM=k0Fc?CM8u$6iRjvNxXb(LD%38)UCOVBZ~OJpPF3!Y2OCC?2Jf14+#z zI8UT`?TBB&**O2Q@e}3a5qUXyo0}!R`>(+lg}ykkFgJ%7QqTQPr)L4u92gdqIGk_T z+@d(*iTY`N*Fpt!3%oMZN7y8@Ww^EdO7@s4#&JUu{}a;@4+jv}w7oZ55HstFJ?Jsq%<1=$>Cp_h1L70%E5N(I;?j z2}yVx`%AZ~O5HA;UQ0|W4SSOxkun{6pN(U*1as?${y?w&_|2LmJA-6Zg)isd^Tmhy z`1VdGXv;Puv>6?BlJrEZi?}&ChJqnBE;a2wsZs=r7{pZFpgiBXZ@Rws&y40qDC_@F zMX5fiysjJq7yRE06XcP(VMnT<$d8zKsJqfc57~qM>_bUELeYcEFP1`^2$3^+IyqGn z!u+y@#r;ZSn)AU69IwSp>8YS9E~*&15*Xq~z()kVCwi2bzPj75CT&zY9c|2!JD2Ul z%~>>x5e@yCPme3;@?_4)BzIX>RFxJVAV>2Zm1G<7ed5XYo8(=q_ex= zqa8pB8p*`GYG4b=Y181Z9D92SI)3T0v?uv>O~zf8I41tn$M>nNyR7Ju%*pcfFLnFj z(v)VBt@q)dRf_1DVwbEFPh+NjPUV%H@VX)V;`T|gDBT~@RP=p4tD@UK^jG2q)|FZ@ z6T##V`YXm!S3H-Fvb*wvmB>)UaJE2OtY3+bP0Q-UsQ5&Nqji$StI-JN<5pq6wQIu4 z5Uo&Qgp3VbvQLc@)PnZ2G2=YrY1}zs=g_9aD{oR6lcpv0@>9h$*A)Ssh6yl>Hv3}$ zTAc`Z{N4@tF=V|72{LP3B$4zXil>Q9*+{FaU;1d=;Yan|Ow)Uf`T2C%dZE)L_@e!# z+3w@$E^@&KoiwJ3gkf?=NBa7)#aAV`60ghC6NYl0ERUaPXvYSFk+b<(Xj1Q>+=q~) zi0VnhJW51uTCtWK0CW1n4s^~FV<{sO9^d+VIDHFPHBH2YpVg)GI0g-BRB z?()K{8u3jo8&>^}*yV9KG$0Koir@8YiMTr{eaEvkM!?Re9#adA=Ke9y;JTRcm10Az z)AM}iUQXB6`slG{ug_pNp|TrNwYmr|87EzT?9`ka&f@IBcAt3*ON)Qw?+XL_Lc`bV zuMmgfN{L=pR7*g|`Nee85mW5PO*sJ$a5DE88OGmCoEe2lMWwIYrP`C%G;F;&e=$LX zx>tj&+J?w@o4jSuFZf#}EaTA3iT*Kn}hr`Bf51s=Ii8 z;ANgVS%7i~Y)R>)wPjLHKoq%%)R_*AM^{wYWx&cy_8hy)7P`z+A$*?OwwE4R0IZZN zCgbjW74$6>B+lX$l|7(`!A2l}xZb=;5&g5OdJSo`vQpjbY3Z5$hh*0Gd%phvxcl>H zDE~iv99I$9v&%9SQiSZXO)4a5lCoz=vV~+DjG40UqEN&nqOy#gkg*dXTXwT(u}x-F zV>HX_`|N$r_xyh6{64=wzW;vzaB`0Bnftz<+v9OPuE%wm_aW9yJ7yEC^OqKho6SGS zk#T-fIL~pk4=yoZzYBNZZ#pYiM`*r~7R7q9`o;8sA32ipb3kU?&~fQ#EML4c8#u3-s*0`C3!nh%%5I)JcJ3@ zU$O2$T#ISRkQk(l^!)RJC|316IG4S{=2;=Ph3D&ghAL;d03 zb7(IbeJjh_0>15->i2f&XszAWK7DW6%N~jAnAoYnj?(S~?G&gJkrXSIGy z_AI8!MiKjSUbiLtuM*fC|Ftl)f zoPgkFr=m#N&>Cg(haxY&2g?{+7~_Ov$16lAE(!X0jz0>Tmi@8@lV2>*ur=Q?ZpzWvI3$gaufd*SY=3%-T zg`1d=#FRZ$g|Jw>lI>F)P;j8_twmpwq3HzLH*Vfxss01#3 zG=K5pY@bxrTza6)nTk)flevz_;+6d7q-_nRs6WlLk(B|xD*z#~{vIIRvObd8uFoCz zbr||Urp@K0W4^4&>qPw{3|dZJXS^tb~!c&1zU%7*ql14b*hisXSfQ6#i1EZia0cx zLvm>6Q+()My!IaEL;g2>6UsJ~u~BIKk_)8`rcMZ??*L7{Wn#hUH1qH~1g`gssmX_U z&1e{(brde(8PD(~hfl(aX)-064FcUE@CNZ87*SJcy3s1oOo|}F`c!p0KQk>og3IwP zEmmqjJvA?N4*C)@ld`X>e-erXz7&`RK3Ws2@HaX!99;_#ZXcAw`ofnAxx@;&S`Wd( z3YETNntTu5ifH9X*niUG{OX>%7s2Lrs`7D@1=AoIH5l<9hrqEM2I&P`rL&$P-Xg

N8T5VT$aW7WwBg%Csn%8{~(sz2Lnr@y~})mZ8+2@#IES&&i%e& zmV@R{-TMk|-=96Ua+uZLVMYQq(~}xxuh%a0a-i_^MY-Yg?;cQ_Zov<_VfSk=bh{(UtK!qk^nYuCTQrqUd1v7Tvn``VuoDiCj@*jtI<2D!KKtH68 zyDyS7$qXZ?J@^A{_!=f)(%v%mg|PbR@TdB~1s>js7K@s9hGuiaE~RtOfGoOFL@z*y z4G$Kr!sm@(lcusrYYOYzhc88M=8sJUxGFxZec{wI7X~rDo@||X?fu-iLlE`0baxjJX*idr>MEo;RiSk|k)OCCd` z(?h7*MCjI8h5<8jnjEOngpJF07N9le)cqo9h`-N|3`Ddgp0qOlmh{1wXG?#YWkd%> zY0fED2AdD5(?E{~O$G8PBjLsR;23D1WF#5Pb1+mFE0 z&a>)}=BwC81qlh5ZoK$hRudx1B`q$*AN8Vialpf8SarWxBOyLJpWDx2EeR<20{1|+ z0n%s^6d2A-6K5K2?8OTX5#58chYcVPE<#mHx-B?`d9Y8BTnq$VgH%B-tYi=2_!>*A zFAzVR-PR2fc3CQEY<|xBwwYIK+x=(u3xnQ3Db{?|jn{AOogu}LdUy{!0VDp;x}mWN z)33q5ZmN_zMjEZ2x=|lXy?s|vB=(Mb*+cF0&>B0?x=4W%2Dd&?JqcL@*m;aaEd`x* zg6b*}?Bp{s=q2~3+2NB~0FUFCbdKaPi*FeJpEBouK{(i-*k@T~XhJ!pQ7@l>PU$>G z_glF6t$jp4>3a@$o5+0;xQb)FsI>IBGfR{HF9LW=cc3(^awP#0dg_WARkB}5+V_}E z!gh*!`g*`|?>pH85Bi@dmhVa5U=Ei&RHz%)%w1e>8A_0;bY$HG4fU85_8FuS#iD|h zvI-SjKVrUi4kRugI%8LERe#>fo+i)?ur}Cawh_A92y|Fs7hDFtN!|nagEcMHg$Ocg zinhrJTE2i$3wLq7_~Op57TxcvM=-VsOOoL#}hX1<{yN~q(=ea#ULc3z)JWE4TelQh2)<_+p^Ho-2bQZY} zqX$1t1uTBoUmkRecEBNUZ1Y<%_JZUgkvagJ;4iX7D{tb3i9dvIQUJj(v{{ z%24hzoZYgaT3(_QG`Niri!Q1h|LJXZKw9CNVP3k{Llb|$i4WGIka*_y1W@DqkD~=n zR$`T`;^*QBuREIvHm2VQNp`au3eCk#^WMF~Iy3^Q97(|MWjv7^yuep8Lhcb`WzAB>03s!$f5MA^fKgo;})h!em`(>fo&b4tkESd zbyVxa7y@5yJvHIy$+U+XrkmOr?c#UDHevr&*c=*8X-Njm1TceU`*B=LW{}u>#D?bf zHYpd2wghqS{86G_Qp@|>%REL6aRn1oS2w=Y=AZuoBCP*C2#l<&j$IuG5Aq#TMd!QJ zUNEM1!Ku?RFld3}(9Uh`#jVp-W$KCtN&=RICN<{9X)n+VBZSv2{e0uVrP=yg=64sF zWi6K66$fF@h^IfZBkLab@{75DyEI(Dd_nhRh#}o50f|^DoPFpNb!Em_?j0VcvL?Bf zU*NZ7aem~;75h-`Z#>nsF!X85=Z+qg+rZL2f}FhyT~r_>z9tE!M0qtAlHhzBlWT1$ z^@R+%)Ea#cn_4VLxz}J- z#uTKyXr}GQf49zvF!gO2yjx&)nw$M00eunLm^2U|LyMpbkZ>6V-^Z1EqwdZ6$`rkF z>gp5z@x?dQ!ejwg48+}Ay2t4%*mzSxSEM`rNGCt&3>Q@|guj1JJ=|)TK5+ixJ@$1n z4_>D(6Y<1^!mm~T;1CV!g(E!2H!3rATDH6i+w$=7AAU3m{M_FX+R|Xs&ggkwS81ByYqAE#a%a*#KDkHNk)>W)JPrKMoEeybcf{U0;a@O~!=t{2KFAjEf)8sqd?F_J*y3Igio&zlw zHqT8nq#UIuPlf#3RZ!n-|NlK2CGSFA+io;sKF)-zLCM^`gwawtY};nq^W%mJn9rcv_4 zip2s;pqD@o8p=h`IRs>M6>AU^L?D)ZI6 z$-m7{Zk1)WTdq{zc)3Lm;Et&K;~kGCyn;4Cx-n^N>360qFX4mHK!mk-*=C#h zf~!;i{jVzK!6`Lj54yA?lW!nboUUYNG0uUcG!(_<$xe{72BnifQ55XL51In~8!3oy z&6J-7fD+B%#*DMRb#mrSxg=$urF~zkqp^cjV3ZQk^%A{i zJB|B|ad?}qFjZ$ew+mT_rv0TqB8+EJQA2?C3we~)2T%TZSK|*?jPy`^4Zs$sH2pX20`pgpV=sz>V(mS*E8)f{u8PR z&~^FCeeVTwOt0NHhkDtlMv8{Vm@_V;R?xCKK?_%d<~C{C6n=SqYR&VC!M7U?8M!lD<97O8^`AXEeD~;mFp_uR3s_n!C5xOA&ERIw*RPu@e1X z(i^Iq8YO@_%vMdm+4vJ>nN?oloZg3s@%e4qXI9m5)+-%6xaK3>xmbF-iE%baXVm3F zcFpha!m(FE#C_w@p*7q3DvSHF?xp^*qmftzo&2at0JtF)$`RV6ET$?Z(^=qY&RV_W z5H_5q5SotN-*Mej-s5@=?pVIc`eS1kfM+N%9-xNN&D^nQFO5Y}rwR5^AG|PU_PX;I zjBv|`M^h@r_iW9D74GvAOO5r2nsXyob{SRqW^lV*zfLPwGfE$M0n{XeRD+NGEkB(a$mzotSzo4D$joWM1w6`y;CgX+@j+iPdGqg@meYSASV1 z&x{2NU%Q;ypW*RQe7ba)t%X`%fc0YO%A+`PUCI37(vqK{MNx!z#n6ut{fO_1XGG4x za>f>^V+y*Etr14VI$9d-&KO@j(4Uw0H)bHt>m97paZyvVU+?*M{ima6s|Dk~%VmVK?4d$`JRv@)34|(} z*B+?}qVK=8tfv1se3m5y3|F06^YB&^znk56GkzHBQ7eiOT9GgX`E$vE92B8ML>jPZ z080kAMG)Vxjgj~1`vN>DOFXaJGAEgO)!sp;r1E^216~V4Dzphg`q`{EJ3tQs+cScV zgYE|rdC(!c-3@jRWj6NDqMX_vix$a4-il`~=I!R3M>*_#k-np{bau$ZA9z8tKLY&k zJ>95g10n_WSG_^8`Ch0K^sqN1~OM`#$TodOw#L7HQN{U)?$QG3y=O zVL;83%?sco&Q^*|ejho6q+UpkAP(e)1$hN~Rrb>FojKOfBkQGIG>VzxLV6;^6I33EGKMhn98RLJ>j(W;ARX zIKpb(PE8qGQz8hKS!xkx9_ZB!`MoQ>9+%2na%^$X(1Z=6+qnC>F`gEbm5eZwKsZTN zhVP_X zy>e`)V=HsHtByc;qT?))%-zj~)KMxDs*g|oUe@Cw2dKGU%f7&WS;SxhG|Qjk5R850 ztnSdd8kj`FFhv}py)XbSJ!L)L>PoVp;L}j}@^c-hgKvH4b3E{}?~F^P2{=qbvAr<5 z5(Afs4$xT0U*)PDD+(q#hPGQJE$44F+)7knbJRgfd08WJD#38bpSfeTjkfT8>@hG| zz9n@*79vOv9u+==PSA8_qoMG&k;)MK^!{Lx@{NNy0I1Ng< z4A}!m-pxf0<$iD`~tim3}d1o2S<&R-+;i+%C&sSaDThd|qkq`AcG zV;fCH3o{Yr+{U+1)jRUJztq7%aDfU{Y?>?mJZ!rY!(&T)7RJ3hAZMYp_u_$^8))1U?36*k`ooJ2rgT8IW)aX-$sw__aW=EU zV5eu~sJt5x31|MuC4WYnFX;C}<0k=WpWg0;_7#dn*Uj3xls*b9KqR3qt%-XQY77Q6 z7hX+RIk`q*p23^9$%hDF@&ZGJRY(S2kU!35W~(YW(Vg?lFY~vHinW&yp1TvKkjVq| z#ogM=*fTf)+jv6hCt$shbd0dQ_0y~#Q~AdFx`*#ZBO}x?LizmBowhv<@7Yo_$(#=> zs4akk^A;GjaIw$$O?A;|M=Fwww{09`W1ikxzt5~_6)`_fT{^N0T|Dj&7hn%z>fn7a zX-iypl=xu6>o46l)IGFELvU-z;1jV`sqZZ`TbweCz8?oySd;T-^Maew6 zX*5)G13ggW?9c08m}tKR7prt@9h9dbnftW-7n9cBXMeL^qJ78dCxI&9DWKyC9`jzui*R0|>zEi)x94+;K5j3<82cp#UWw6C^DNO*?CC~=n>0~;?${Bq_pBIGv z47K?}*$x~xsk$zTS#8b4S>Onb&7YwOC|;*F)r)xH#;+$WM_NXL)1z+J=tSNr(NXuu zhWSANk zfE(xF);<8Z&3Rt|Qg(?S;A~zQS&%z$exR0_ox4d{F6NNsH|d0`*nXRW9S#0vf?nMw z_fpUV$*mSohW!RR>}NK}L13>I%;Q^ePp&1~1c)3Y9?JR=GB#~*pvZwXVFDbD3uMBv zkCBR$X|z1b0Ljr@OAq9{zV!MvJ-~Tv<+|qSiM{lZM){lM(r&2`h%MmNbbFHw(C+X# zM!!T`1x+Hm0_~yprTjDBv#q<)d?7&(CLpc5zacy)6jX+UUU zc*a;XqI^`o!el(@Ue5ehpy$q#w1in-D#K#xNp{PNo0Aosxj>Ar)%DX~7!4d8u?c1r zNt!7INA{w)4NvtsN2F?09dB{z8G5y_bLg&O^3d^%JI%Su-|odtcDmESwOrERs)q8+Oj=F|mM&*$BcOY+M{1HlsmAtThm=NH-BNW0+i0KE9(O1BSnG+@6YaWxcNKMII zf0{j=)s+r;eRe@-@A}4hXH2xi|IXIiK(*eB38qwSXFITUuQX&QRqlbvE>;sgti@IW zQxAR%R9J5oc_z_O#19hyW$Bg!xXe7Bl(YqTwF$U###}_au%GD0k@N?*{0wis{ zEH8ik#nA*=K?K>&pW%uWrHnI0WoWtdAO@U0dKl~wM#LZye_J}b-%wUdYu;L}>ok9G zC`Vs?t=-O`VsO2NEgZls-GaDp@_)Hm@qb{flYV=fY~IRMyZ~w%F3lDLe}$S#+DN>w z9w#O1-U?Q8HJBokZ)Zz;D89l zY>~D}2Vn*09-S|eiXlBIEPQ*YX(H4|im&=QGi!OV=WN%u0wHm;glO7QZI-pCE-&_29tE8#gdIxUmJLcY4*+URA|1xg^5zSyK-f6B;(~))7UO7X}D=RQfDD#~ds%;t}b1W@Y1=iL$-4vDi=9#eX z<_dI7Lm1s{4|0BV9UBL#-J@UYiHlj^U3V5(N6Lf zOOD^*KIdL3Yt`U;02T$`nqk~!%CIsUaZ>DgeB;u89EZ1cO;D435Z*-}TAR(2v189) zzlbTC9TPrr{|c{I?b@a4Q{6t#tmfDlG@%4vD*=uJE`EwoLg!)nRKI>3cS2)KINo8V zk#X`D3oG7w)Y=c zujp4*PwBSX*s5Pwkj@;ECLR!MC~L*XwrY{Z8Cb?8)Dom&eCts){Xh?1{?FOpAyg5j zui?$v`Q@!IU!@!*wI6+3#BM+R`8Z)g>bG6i2%3IsmnnjyiBQJ3SX2$#M@m8(QX!L zEB0u?b_%2iDiQ`-f7g$gR=;yquu*FoaWRvBS)aV@^!kp-z!rA*qlp3bOaqt(A?R*H z+#MK5*MIavvrL64-)0j*MlhwE@@FKC$NuLI=_GVg!@T!^;ga!-MRLr<6WL%-Ue#HU z6y-x3v$EKFV14PC%A>%k*;u`0-_}2t6%tapq3?F9BY-QTk5awW7m%r`)}d;I$+aNe z=R#fdpT!);5ePvG(j5@ua}A^k;~3LudT{aQR7@jVbGmxyxWPF8Q5X@jGb;3K?)fXn zi^ak}dgxRe}S8vpE7TMDxnAd+NHQ_C^5?_OVO3-i<9HCxp1;t)?Ge z*UNq+PD3*#pu`V9!TG?MNUx^s68ht#0-95Zo8~PI4QcnT`9_6}HY}OT`aZ0C{Z!q6 z2o&{q(ex9LK4_wwKKQ`V7l4f`O@(*1;i)QwQ@- zlB9PYqLFwp+0yLNdOOp~%=dT- z{BXy;TMt?l3V;UYN2(|Z&Xmle#ka9?(caOF3`wAJug3HoK&dqE2_@GMj(r*U*rpT1 z8+J}J_$YL3Xw0Pff@uQi6$^m$<)C^{$4<8R6R`BFVHo-a(*>(13>jf}b=b0`{C()} z*-zLtD>m`31BR(h_ay|yb?%?<AiC9h)?UzH~PC^zaJQls$9)(P7JwuCFh0B9(RV zxFv(%RZBG={f3y}^~E}H2$6+NOm*p4khA#Wn)1oF7*`N3G=M?+vIEJ0ol<)4@t5wh@gjH>=)=CKiJO$vE{aD{o~KwM!waX8ivW*PQ%@?#|J#25Z|47-mOg5#bb+6;mbc3z zuRl|ro119HegA0IW%4~8Ile3Ti4)u%5A={^1T8AL_q2l9sF(KPqBYf}|u z?9z%&QRZT7#WD>m+m4uqzdEbU@j{2*lE~R<&D956^#X2DfBTH7s z=}r}=q9qox1+icU{f{@0A#tCXD z^0wy$^Gbc*RQY4B6DKlHEQxU(2$be6DZQ~`e9R@W6y>y)&NN3Bu#pEI5LqnYzhOVIhRH;C_^b{=DoVZ=Li z=$iwx1z|H4eQ+_G>h-stidl;GJFt+WE)OYv;#4h4!hqS2*9ZtGJ&n+CV9ofOpa(G= zOxVjMq!tyQ{KRQCbkypO%baK4-ROjt#RD0`H6w?9NrsCVNG)F|h~TmKVvMJ8eQpd& zMN@3y3l~-;`*{V1Lwj%9P~?1cz17y<&eKDQL}{HzEQ;d?Lp&ScOD^5%g>Xh&IP#*qxGb$C+*nMjIJ zb(ukGNW+DEoR33kF@>NU>pXA+_S|ZTL(rP*gsVlRONeFkZ-pmzgPjn%LQgSRVX<4t z^Ej$fx_3rTz5fl@ z^j~=ICL{@rRv{hMuUD{)r^V+C$ggm8=V_dfu4hsNCw{8xI~$LDZudd@GVaqQ!Db`^ zCA`Bo%!0;qUpZQlQqi}*yqz~b%hkq=Yw_;EE<~7jOuhPSEZ`j- z6cc2eQ~fm~M2w2fKGHKG%pYe|=BAw*$L4imC^60dAuXGb1So${=%RqdtV{EBfz5TR zSMmM)+5_j#^lArwiaQW^#&DWp{xeDa#}K?(BCV9^1n#UA$wxm+)f4+bX{t$ysJ!4E z{L5t&$+by*%B(0fdSE8yuJ>Da6GCyuB^7g0HMUM+5xsqSwM8zy`g)@4`kebtKX7$3 z3p(u=MMm6eIZ7a3w;a}-MR%J+y+H_smkERIL;E1jTIc~(!(moZ+#k`SPUSDicjJba zWwd_YSm?^gJSVO3t>rslW7~m#k6N9qd54?SU2+{YXS`2%?TK^wqmp&|+6D8-H!$O1 z$!Ap(Y)|uhUcpip3Y@Vo&jcK!UCR5!`onq*Jb|XzQs}wYuh8q9y1z{j8e7#BZfgKF z`x4km-Y;Nx9-LJ7!`l}!$zz3`!}}c;z$42Q2M`)@_$|B|Nno?^e>OT zXXL*A-#<_Hb#LM}FjQr0h!`ZvE6a0y-1L z=kI-mYSSDbT^A53#rjk_N4pnxVd$^>Y}RcYtkhXFOGghnc4hHIpZmKG(-X4Qp~jme zp&m#)UZR?OkFAP;TTxHzT^S9Muk;E+)Hd)-m>0>OI_jRCsoD~weI@41TF&Cdd!O9Q z9=_b^s0skVrDq@jlrvTSh`SA&qT9c|S)vb#^&Sxio9XP0ess_TA!q7mT^~(C6Z;LNLXtUrp6OJ+0vv!Je z)m2ANtz5&ZA?FFZnEJu3!8dF6rV`VpvUIl?jVqCN>KkL^KXnKGB5O6CdDd)k=Vbfv zqjsNhGq=@%fFSQ6xuP-`eqPqFrYXME&V+1;HL!p}UJJjd=_B?Wct zrJad??fpjuIvl0b+OD0{?FNrFh!G+N^+NdQD)7Y4Bb1f=3Pd>RtjCkf%?+_Kl9|X9 z+v*8Ub9lrjUSfU7bvidNP(vpeUMz-ysX*564Hx+oD8G2QF?LMydG56#&xFI)x#rjB z#>50cBVnp4ta57W{>?E>yZBO-%*mx+F5__!?k1>wFV(@8Qk(%z4d~f3>}b~8MoZm1 zxqs>DFG;>!sX%Ty)sO)|Iql%4YMTY|A}uFQ>$23A75&vL7Gx@8CNNK*dD)-8u_I_e zz7?b7P*=e$GoBKAeJBJMLEQPhP-#$Zg)3eI`xu*SXD+V^?c<)S^Fej2ld(YA576+V$lR{2Bm_xY!=42 zHySXO5_6Lntv9(hj2wpH9Jsq!Y2^JGQl3Ha;Drp_q{jUHGq`R+6oa;!ussJ^5#mNb z&r>uKtC**VLl-6NHLGloZgKw^hdS?>9vdy)V#Vu2E0A22*~7*+LhjuN;9){3#@TZd z=He7@+G8L{`A?K{AKeV(vH@U64P#GW8V8egvXXIi;Y~t`NOMw#7A%RapJ(Yfx!O|@ z|M7Ir8H1I8%dIDI9f)!-w}%c}mfh%hw}bS3l&oH0?k&B*N;^j>FA6Gm?CtgtsOOn} z&k-0t@B``fEYG;$Pt+;A^}nxtsQL>_17~Th7wQu@nv-8qchdu~p+e#p-^960oRFBk zT8FL_NwPZr#D}11Lp*n_i-UXZwYY6zW*6!j^ANZY${xXRqZFK&ZdBcs_p5l}^{pJ| zague}`_x0FXRSO_4PK2XQ}z;iiqCQGhr*1_h%CN-Lvefp)5c4%q#WNzo7HRKQA~6! zlX2F!;MA%$IGTRDP36@4X2mMhDSr^IUx3U%h>6<8t#F8_c})v`SO68HLUPzVe*fR(tBaO{K3vT*SJYnLB7s;npKF@_F@$hammob zI*fq+j!FRTi!DVJ)y?fIRwZxGYtW8UAX_LT7;2uR6s8TygQVN!l;0Oo=f-1RQP?na zxLa^^B^dwW2j7%9tzW#d`b71E8`q(7OmG--y0eOO;gTDj$LRs2AaN$Nb~eQ@FPk{> zyQS`_h}F%Mk|%y4ecqvd1{ZDnV|E#OsF8ox!d{TX!@!|dvpgov#zEWFc=Y>tn9)hg z0^;~eI4?JF$>X~AlJ~FPpTM}X@r3n_jKOKRpb_Re5_Gd*oHpC>4#@sir3MN`^F2onFnbKq$~&<33C`V#Vo)`St33CwpZb^tK$IsmDLQG%Bx{ zeLq8bQ6XgN2%Z~y2b+ZEG}Wd9)%A*mAYGXZIO!s7_s9$V2j{;`=;EH&x}3gWdXhyP z+eO7mVJlBojFCMalz!coWDmgwjlCK6bQldcjSZ7xS`)~IFq~6jW2(EOwV0bBlRebig z$X?wsWg#7Ng~x^&NqH;^7E0aj!6)LxL(4vQDkCDUP{q>&J_P)+z7%v^U_->qizu^yi(Yoo<|0HF9$abFUm_WjWk~?l&%FXfdrrH_#J6Uozwyw@+y9N)d{b6KR+i;qes`l;_6=Qu zRuA4Ug2~OQ2^-ZPM4gPe&|9oFF>UFMU9(Gb`DT9BaXGcV?d{l7#>kVV{1dJ4`APr^ zQWR)W^a_AH&Dzd1;pOPVI;Vo(Au`u)nKYZ7|NJoRm$+i!gResEsVvP`nC5&9jdR~D ze+ZFHz~cN&KgFG-GQJkb#MT$DIwt5nTPKp+&p!72aAUF)sdg86S=ujstK0 z@dF6OxC4Nph!yq29X8euc}LIhUs#BAD4^jUsBb$TzwvA$SK+3;${~Z(_xIiAII!(^ zlD6~h+nVefRVt2FO7~vHJ;GD2fyvN}?acsmZs&!)nFQ33t*x}9cQ>fcSTaR_5G=_p^4ZZ;Rq|i^hL=Ajj?_HS>JB@ix%^G< zclHsJt~0|w?TTJMn5RGvqPu0#URhj-xSme^mT9JCGzr4z-^@PBo@sB7^{<>KJ1Zy3 zl>6TnXp>5mI40x%qRv3!Pg`p1mmK?xJEcU(!YU9ora)e(a2 zM?cAZ~0)TxEK2c;juY(7E{rfw3)UQ;Sa zHNc9l#IJ6vc;!m^;bFrwy$U59l|V9tgj0D1<|G6)KFKQVZ37*T%;0wji(y+eTvCm$ z0lV+n+4+Qr9?{4`8AyMzKdm|S*v&!rdQ%tr2jDQzL7%0_<7xiXyf~mjGhiUnv+()Z zk)cKPA^GL}T%YOeCy&jJJ>pEI1O5cX9QQE%@4ypiKSY{7I9QKf)fVtqW5q}++I5pkfF59bHa?vg2@op>@ zwm<8BPpeX;L7g{uq3>|&9>W4W$pfT*Eh`%!Q&aZTh}1Bsp#Q8@h!VN~tH7Ic*&o`g z8%1P7j&v6W=W0SaSX!EYHOw!+nXKo7q%1(0!c(+x%AZ(YLvBEX{-T%deMj%_hZnXr zt54!xI1a*0R5vk6_y)-oDCp#D?_c3!JrA?-9FSL-zOviqi75Xoo$5Bqf8UZZA$Ia; z+K7nQ08GI+J%(z2qf)>1y)6aD6dkA8qUV0mye3hS8@iO;E&y(dwqaC)Uz&_CMFOl@ZOH}j;ar^8ZnN2SF zE&y|Vaci6}B1ehmaT(_Kgr}h4{(WbGmr`@sH-FLLEM?Y>Wa#@lzxW$~N$v0~r<;ENx}u*DpsRSq`H~B2ZWZAeKmJzT z$bf`%HufOEIgw_Qvlpm8GrX!D71LA}@r#2Y!l6V*%j5Mwr40;*YKAKpb#l&svmC~Y z;O@ZVK=sOtfteSSiDa4(*2w`|rD>P%WcnO$ey$8xE4Q++w$RtEl=!Ipq+oU$?S+qH zE3gWypk7cJN4cOLXH>R#sbWMr|EPGn6~9(~@`?HU5qlviSN)@cxxaJ8F-9kuE|WL{ zsLZ76>qS|nA-z`N!U#K?7chTNdbU9~%tCfPRb4CP8icfIHbYZ!=h<4wa8@zyHZH;0 z?LGDCUkES4ZRX{~Z#tp5;D-Gr$KD`*y}Gm4j>nVt&OdBjP5pbfbsV(xcgq{qWnHFz z$?~dpxybgrfDRJx^CP&QaRT1NvUhj`U+;?8&oOnt3)f|WQ_-3V0nEAyuUDpNWeB`O zM7w?J=d4EpZT+4IzE3>kk{*l5B zP6t_2PCsQPr<~`T@!o;Zc?uf`gp@ntG-~qR}}PL z!>6JJLt$xXexy02qVM{sU?J(2`nFYD^zBNm3z2+g$CB&olXwSxRnD21$vTuy*nJv6 zeghHgUEp+;LN7b)-~RCk#BJZUo5YEIBVrYFlb19J6b^G_v!G3Wu^kLMc~+ z;_-D^nSbCCOl7K2as_DdahvmLOIWh=r7^x)A%{vGJp(qsk?l`koeX&r3%%e|L6)jI zq1}(X#n58+;(5_t&_`_m)2D1+n+g1VD~h!7opkHGqx`zt&We%mew{NHr1l->3X$&q zBkQnm<3@!CCi$;7Q#g(0F&T>6;uDfbo=dxWFR#JIe)QFxlJ~IV&=VR0)V~c z*;=DW*C0}Z-rTAg$+%1%9sQj$`0OmROULFe6&3eveD<3 zUkAy5z#fKV6$7dQUX*#3>aePjYJ982PhPx^A%TG;Vb#=1V0dZfmaCI%ZDH_%2lbS+ zLGfP@=7nAc*kLAu>0lE~&;>D+s{h{uuin~Ja}8&W!xoL$hpGV%vJB<#(4{a|HK)nj zNU4z%30U6<)u2kpAqm~PsUb2YzmR3>M~?HU)b7i@#H7yR2uq;pmjp`;yk}~Nyhu+2 z$P4ogIqZXjQ)={xj87(N+)uf=KsP4KJ+J^R=ES9a3JQtWZ$7$i#(e%6Z2Ev9F|Tets&SQG zLFFS^W-?V@4P|)~tAkwar^K(hTU_Tu+_`z+(bo<|K|_b%GUkU1&4#nUj_(^ZhbQWj zwHc@UFm+=MO1lY6xi<^*j$D-0UT@u|>iEwiV#1M+M@7t&B~I8KK6usAC%7%yOVR3+YUY@~~&-4b;k|D?L zMGO6-OU4(BcV`LF^ZQT+lYd6mu{B=QjIV|-=*2wM3rk|LoQ$)Va5GPh8$#k9?Y&*q zpzFKPtY*SS@8XG=%nme#(c`9&TRzQHC6aF)pY*!B!KrPgKawth?cm^$;^1XJTC0$5 zRKI~#2C4>wwBQN!?IIYBiyrA4NrdkATL@hU>-Duu=u~|WVq8uNEkxGu$d%c1U0n+3 zf;=mh0PyWSoEPMP?}76act1X^%_R9YX$2(eEy>zprmoJ;H87OwU*%W%Mi3R#!>nYe zJDwBO<0dz)36pqW`F`oUu*n97=CckuT z6a_>;L_~TC2ucS*iqaw?A|hg=mncXtQ2{{-iGcJbpr9f|K}DoVjUo_wQRzLj5JW@> zB%tBN6wh+z%-*y2%(t(Zede5RpYQtp0f`7%?^^GApY@dcx$kLza$7KO~@#im~kJ77($x~3W?}WY!zq~TcV9M+TPwm-!`72yESH{ z1|46uk*%x6en!1ih+Dp)c(LfY%b+*Qt993RW@0hO3wU)%3sCzQ`!`hf+ZlTy4O%Q@LSzcI;Qc$X%(TKu`>pr4k#s|!_fl1kZb6BH(H4Gwa=T#sHiZ|| ztsI;vMu~}v<=Mtv|EE=~|9U>ZM*q5c{SOEd0Dlm0PZvA8Iy!7&{2uJza6XyS< zNp8RNKop`kBPiw?6V|Pb>O=KT^8uD^Gy1G<*;3Vdi&v#R&pl4bZJul1vB0sbU~lpf z54l7pBEKfZPUxz&@*aQ?OWxLhVZiL_x&J$h_;2z)|HZ$zaZIb|F0R_%|I^DkF0Qh_ zr$yXcGyB6D8mougS!NAzRs)D#`Z%wHxiD<%rGIggT^Oa?-j`YsC2 zHL;?SCOLpq4BNOpg5O-K|_owV9rhNRTuoa(dFdX;v)1I=~O<)xygP+A3 zxYfNPeKRHAG*q38S!djQSa<%x`xk}Jwl)Dmeeri<)Fi;2#RAy7bt4#M6%+l7?YrV;8z?O3X8Ar7e%d9)w(5(KaS(k8~kNrJ=k-zTZTFu($oAd|BujZR1YezJcGzCHi;JhLjEb@>-t zyvsdIzp8Z~5(4G{HGcI?TCM#;eQwrENdE=p%8%0{MEAB zy@35*R(>dEf{VGmjj;vLZofz5`Sy$L&qFQ`qGaiU3{J}Z?%<#9zL^TsdgWir=S6u1 z80W^uWUbFzPrdgO`|{v($>-oJhDW--cAw1?*ZY3B#9#IMa!74e!j(iFp4WGjU#H&L z*0jC+?vEE|cld-R&IK+KE*6TKXYq7J>^pzz=|4eh_Sa1Bf4u(>{KWqy9o+vLYsLO+ z?7v}i{{eZur+>E1|C-tTYl-l{mHlhQ;{N!&|B>qn|7Rs3|Fmb>|GyEKTPLu3ehbX0 z{f)rfd^sdHO{NuqFmIEhGg@%CPsQSO)VikUk>RpqpU1}GH6n~0y*4;qSO>$D%fPe4 ziFt^MG_ol*h<1w7nbs(Y?iZhp3=SV_+~Zw)^Q3nGqj(}ephV+JFYUtOXHm7Z+pkU< ze@ZPJ$5ZS}FJ2f@L-Sxfr!0|Q!oCb3KHSKO<>C@0;m@)RSp6X1=!s?PrYg)ER|%)Q z=pf0f^LA^O7~4NfFu5gp=j@0in?*~M`39DL6Tog^Xm-C@?vTDDyjTq)AuGG_P-PUa z0sUfN*5D4?jY~O?)=x=XkNi=N0!fBP%QHq}aAE;w2TKYNI9SJD^SQ14vnM;YOx?W( z*HG_SH{-Cd1;0_7e#$0tmq_5DjvAU$ha#$ro=L4a&Eoc8?*SGg|3XiI;x1>FcM7W>_VAZqDhzX~r`OaT#;y>;WmORhw#wDv* z8nwOc%ig6K_38TXyl<*~Bq9+}`w~mX04V;>vENlf&+366yao>gtEU}}Zg=>sJWq)Q z9d{l_G7O)&GzAB~R#{4$m6^BSZa4CjL*0gB|3>UT;XzgrF{5PSM z@?p};57d67=k1r}V2(M=*lLUfKet7(Z_vaoa$v|qf2r^NUvEA!Ms=PayK&-!xm>c{ zH`@oVmmaS^2q^Q$2~0c8oXBi8JR^N{|Ggcywvs|JQ9I{_s0!pB3U-cwZi4MGWcMo| zG#7j|7JZMku1?jlFU4Bl`RMN^x`nDub{7H!q~_=AN8p#&Vny`Iu7(U`?6KaI4NcU9 zlp`TK)p-dQadY=oU&Z`4qW^_w|M$HAf33Iw7q9=1*S{P3{jWm8|G)hl_8&!2|G`-K zAMxA%36VdLRe7VZLY=psK+tR`vrV({BD!{uYg0E%wd;cFvp%UK559FNRXvB}Axb`7 zEEJ-d3FR_p&cO}wAYz(OA;HLYT&=HI(lb7_<}JntqV4Nh0~y|%lkFo{)~{r0e3kIt zEQaG0R_uydL;Q1T33zTpQ-I6Bw54tD9TPwJ+AjEn=7q~o*eueNcW&A5dZYQqP38Mu zP}TIE0Tm6BUi_b$T_I&0S?<>JFg;o%l=LhN-clC=h(?1TvsKyQz+@wy+Ad0j*0;oQ zq*7ue!sIuDQU$VoHlYzt5h3%^)u7ZN6DX3xQc_dH+Rti>*k%-6sO+xvnqohN*Q%w; zc3;?5K6G1&?x}tPV+^ZCtndQ^rNgY&R#V2LHfm8)A_p|wvieLb=x1#0m0SECdDzRl zUo*BzIORd;i58IsyrOvTHGpo0wa*gPh>M-Ge6BwI-n0B3^${l}9vyIcWY%;J?`1#d zJt=W(YKe?^s(qgP@P^z5oVLnLMQfn~scVsNZ;gqZHeG2Lb@7htbtLm;azL337N(>m zIj*vyzU%6tpp3UdeP}?f<3&D7cR+uH@uOj3Rp%)T>7)H96OWSRiwO#;EoQZ`-wx7` zI^7KD>@}^~Cf6iX{_bomm6nT~s#)%}P(kz6wSUPJQC zNzo9K@8vHQOSY=tv?MCN`e#F&e{o>2PG5tZVF5Yx!*q$2$;s{w6qDtOc9{(8)t^uN z!K2hZ&ac?l39|yX_@MV+-uR7tE&RlF-)lbYW!x{eOzpqC(fRiM{2xDO%lu;<{=6~% zScgB>;Sc-phn@Vx4*X#U{;&go*n$7)b^y~({SE*Z>z)m+iAV1c8KC)}SCEXS+5%R; zh#a3u8r%TQNcO@=T*nT+|Dag(*SK_!2eqk*?+UQ z|63Yy6u`{q>l1(hB5``Uz3yQQonkGmCqnys&+IWjW7i3A3hyV$pqpTg=vR8uE6+C5 zhV!%Ar|U(|k=-v=n3G9XX+w@mKtoudI^)m@lMHLNZHW6U0}!A0uv!~;Qc;b9xDg$- zn+6uBoD|d3RU0dAM>|lY?uMX&XLhzM$>d9PUDiH>b!>64-4liqR6$vskGr#Ce2}3q z@@%x)$imVjXveW5#9|e;fyz8F(H$3?w>NHsKrx>)f|+Ez7osiCE%X+>^2>G%j#ZiX z9&TMtnAD<7zEq8j%HvK7<4P^qSHNv_?_K)O1T$15MS?aDz@I+I1aW+;MzrJox|-gU zLc+Hj)2dDZuDq{E9_!<|lVhKFz77=2ZGXO9r4_A*X$C#7SNS7BZ3PK{#UhWh<8>kq zxUr04YV&sQl(DPK8s#nc-jPT}+(A@pw7?0-xhdE_<6XYp z#XeeH{YMD{A33Ozbz=FK#r4jaG)orkdUt`FCh`8Gk?seVR_hFK$?F}cs84Vn^a--IaJ6a>7m7m^Whq>HIX zeKE%mATn7>;MVn_+t8wwK+(BzB;;Z^lJisd6^}1D@^9H*y>nX@f5Q=Y!qdah-O%o9 zVe?utY&Y7FVKCIFj8YoTwCVq$t;X?{=SdOa!-pnq|B{^^GJDK4+{TX88EGXls-YBc zg6js6R^q|5XiK-KBVGyBkHLv{?=c#74WE(mckliCs@3UJ-iw6vo@QTnl z?eLFVYc&>Ysy`$ew3psEAnQFVcX~WLDdF3^ai?r0C$YBw<`XaRfR)2P^b;8q!vG6d zGFu@P*TOU)r4%L{7#6wo*vT(KeQ@IQFykwmdZ}M?8e5szhi6>`tMI~=0=f@l2eYys zjwxk`HRiq?bkuHq(~#6vSGy6kkmX$YAfRwpa%+@+BD$wTufnkF=Z8c{kaizTEDQZ% zwsI^9Kj#9?UaT82JegRoo?YO?EF$Qw-Sh@jV-7GDzjKN@>SKlQS4Xuh(9NX3-$E>Y)oX`FqQ@j=N2rA z58#*d%~PwV@{P4hlKIz zZwXqM;W=D5SRTTs?&5ls5k({ItZ%Na%$;$6csgG>@RTZqei;JWEq|V4n z!Y+%=M_o3s3t>WTcwxME8X=md&U_2M(zh>cwzD#<(2}AXT{b~*w)Wa}4q?=#De5RX z@zOlzZY$G`PUc`o6aexeA>*CDxp1q>(&w#3mk|@j0t40WkEoTEPd|T~aUk*pce2Ri zo9B#eI3F%1KDyw2H2u4a(AITIAB&e8KvK?7Ysw?%M?(0x*Iumq15Hxv%8B0T9S5hH zcZ7Y41j67IaPL_{5)r#nK)g#`>u9j|$;!0&>~tc2$l3YB4%Az>=hWlBIIZ{xKHz^OKHy*NNWuSWQP^D6iKS-%@a#JFi_Np#thA8wXS~6` zoTUfl1)u|+FW-qqm1R3^MpeaSH?}f>JG>5nVD|(Gv-H5bpds5*cT7IPry8Yo7+xZ3{=we#zgO%a&)aRUOTPjSss=QY+_I$7+nrM=(=xE2au8ybKunnA1Jht&Ck7^ z;G3>@j2=H-T6=0Ph_9tWQtHFy-8=myWA#4e4hX~~&Ax%%LGe*qSv&<)aG=0<%O*~q ztgcF!i((U2bi5_=*xvnoOUVU;{jZwN9XcY^3;Ns<50xJh|yl1&s`}qK_0NsDaflY?s}+Z{Sr@nGP@7&VVwlu4O$=evU;RN zz}?qf`k{vu@Y!p&V9iPY%osm##tW+wD0FPH=6ZF67j>fz!^@DRTx^$?gGR)y<_uhP ziQg*pZzZV}T__jHGNxX;8MAs;WdT1fNIOjBUnzJRR@{ac4Ef5in8(7t!3lLg$n|I! zTyFLiNmJhpy&gH?@ki5<;*khzbU%KFwgy3t2w3-dphVBwYARn6;n9F;wMMI%;>A0t zLZ0!iUd{F!XQx;vUooyj3Uo8nEh@aZ90Et?8~jRj7M5RQuSYc&G3=VHdIuc^a{33#!9KFP|~G=GD9=cM2JGwyV}QdCHGt%O*qhgI(1!#+z!;Xjf-~NwzJk>(ERL$ z1KUZnQ3Mh^!MtNAkniMkvoC<8rn&kVB`tySla2ekIZHPy(inI7K z)FCjU8*6|9$u1;(m-1@cGhXd~BI}!f0BNRlSTuW)BUny{o(bq}SM zQ`1{GH?3=6@W_86Z%1(NX^|As@)7gFMmJ^x;FQM*pm+dhsluFI$Ch@FCupCfy$Bny zx6n?niD7VWOGN03p1Q%lecv7~Q-{|dFEl&~WpVpZ@N9zjVIoon@&ktU;?B=i9_h7^JYc!b!CRn(EzDuFgDt>Vd)pGRlebk!8~$v(B$Z?ZD?Tfoc;w zRByX(w`_-2&~e|v;hW>kE9I?e(Eh@xdd=OL)NqnG!JJtUG;h$Ovw9j#%_Gu1-Hoeq z?Lh*2xfl>Uk;cO@MC_lqh9>lyS-Kz$X|wFnry=%+<*zx_=m%$X6(RLcye|LJx?A#= zm&|tkAcy0w^JZ84`pC8hM}WjXlh|t^9aa#tIuX-SulRcWt+T(Eq_nvhvK2p} zK~lI2IG^$indLRS(?#%9hH2 zi^GXe;J{k=@#({0K)S+)auOa-m`z}q1?#}~SQQf{oKMi*9*)O<;f(6II&+$+ON1{x z>>S5bS-0{NzHG2~j^V32lNy21Z>jD#G%axU`T2A5n{D>Bo+B4kLw8kZ)h2XexCJ3i&1&t6Z!9NScC`dl~lJUvP+Bb zgvL0BTdzdZ)zBko0jRYU(2CTIwF#Cj*VVkL!u5Z@RcIwm&`j2hk3XM#tYw?ooNV^FrqFnGtUF(N|t3xeW!9tU*MN!P&X;7N#P zW;AX`9g|?lzUt6eC0~Vq-OOy|kaoUMesT^~hP`=HYWe$b9TK`OG*7EwX4j-eVRo05 z_}91`C-r(S47=KsTPAxmY8^#iUTLA;HT-GENq1zmnA09YO2k?ICC7fsY??7>iO=PA zyd!)n@L8(Nw=lc)-29Wf-g;b3d2{VjyK;j3ZmF~vXk*qV7zY5pVdFGWD$x6a1FLBP zsu!K)&s+`QIuh2 z67z&f*OB%8XY!ivoB8YAZ$DOEhVjErz~-$}-6-%B_*J|(Jepxfp`wZbKN-D~x=8LOY48!kkWF^oMUFnw z5~;S~#Sb4jZT4ufz5b#zWs3Xwz;?$Vo^JosmkQO320AFBR$0Jhp;+^$2G9)|=(x7D@-i&))uQDP=^bu8FmxyD=G*wi z&qpP~p7IlXRRAm&9C%Tim}YHE03u!&=(mW4HO`-)+CC?#!7ayDW|~(gCFKQCv`>rq z?TcLQEk)%7{Q!F~=JRc4LR)0IBCv?3K-L>E$vZ#R4!95Iw)+;7G@=Q~k6jyR^h;4w zeL}-Dua!a7)T;=si7n-N_tYl#?+5?w!vAdoeT@ehXDA}g<#9i8?XZNO&&3tuswF(% z;~VP?uHd5J^{e6Aj!8$G-O^}Aq`-JE-pJU;ULDp^`sDHiltu|Ry0yqb_p8F5GZc$A z#E1#^tA-(tKVJVIM`QZed+48kfA5}t|Mr1XJB^gQ|GFmeKm9%XeRaUxtuoQg9JlR0uO$Kp25=IlR*)i0+t52k49^q8YA)uK!dnT+H)+TW z3u)*6GsoAjMMf#kUD~bkBQNo7&+qnKAjyTCFd(L_q!1Gfc_|kybMV6h+gpd^9$Rx+kekw)JwShV!QN< zEhW4!7XH}@v^g&mG?;95M(+0hfq(?C*ZwcaTsvwz-DJtp6SRVIg)(FYfB1Qqk)KnN z>7+;O1p)m!`C8B2qqYe#Q^%-Q;G{FGVOD^ceGSssybDKSBe85K4=To#k`|MH$LyI; zU9_XKWk}&SVLp*bvOiMpWE@%c!e-BF-*)+-!7?t}N|XNSVADfqN{ z{*tA_eBerjJNOq6V9h;4A}w@gZ5`M;u?Z9jE$(FcLW`0xQ& zKmp8PV;H4IH-t8cHGM1d6t}($aWjp+a(!zt}bwtbyH zfSjc}i~BrPqdiXo;-t>g%qXgG0X1W`_JHTEVbZ~LQ{US{IZie8`_-$S+KY>kj$OT) zt(kUzv^f7V%K9ZRm|)@j(jWzMvI*rqOK^?Q+Ki|{v?5{Ot}o@uR}PeEPm~9HW}UEo zo9uY_RASWe{#=rnu6Dpaua8$&FrXp$w~OHcy#U|me}Cs7GgFP_%;v~@1GL%$5Ep8r z!r}acT)8t1@9{CHtk5S_hUbd|C05~a+X~h}gS(?K4&WRIj5(kP`XNlS9%yR+*xDT; z5r#uRDRb}dMh)&6cx09NbSV2%jOhwuroO~(^ZXr)^*)gE7RCD@01TA18v_kc3utZ> z$yvb=etvIT!DVT&s)%gdPXlj#ZN2S%0$n|ZXDOdvy=srzv#p0MVva72o`6#>XpCF4 zc;@pl&470sup}GcprWTJ(;@Wi965Z2+HR<}-&vSD zpi!736&jiAo2a4z$1W<1)$gj7Xz?A-;U_-xE@;=0y_Qn3rKM-x&Jd9i@9hk)Caz#S ztYbh<0uUz(S+aP|<`9q)Kj?C}`?#|i9|z<9-t6_l9*W|A`mWB~c6o(*Qhh(})>S<{ z~AVE?N2;*3%{~J!a_$BSUll$11OHgBSs0I_rwCpGN+tP zN_NyrFtkggsBmxjo{UrSTW4PNKdU>Oo$eHxEv=LXsF|XwSfCRWa31aH-JnfC>?DhN zUaAIhGf`#;TsjB(2dtADs{crMaK%JRU5sV^Ea z4^#<&BN3Iz0#7>-wU{WNLCoym@$AGJ2|fv^=K467MjhY#rkgOam~!Wy5HI7xU}345 zOJ^D}*&-6|JbS*wGw>8Mjfvv<&`t~xi2W_7n5qRHj=O+r;Qg$CD>L`vAydqbSI{N@ z`JitlndPsKT|06Re;e$=0+6O3>nxYVG&f-@%R7)9VREh`45_&u-BBYumx`gl!XbYL zByzlTWa|1u8CjRJQrWT6`EedkVOT;r8I%Y)$;?a;f`Q^Wo8~ z6xlb`K0ZD5NbJXvXO@@U{lZpOvsX$gCqM5Hz?uF4Y96yRus@?7p~0#-g691Lv*bxC zk4B7=HA|HB4|Wg)jlH`MCg8TIXH+>KuBNO{3w6}34(|{&3wqQjDB~g z&+VvFxZM!^4M;&Q0ur!3V7bQ-yvFKbxYJ`SWpp2F-x%^cLNY9v@X_bB8E5WST*KWK zyk|~#-n5In{e!D1^V8DAcD%9n+IT@5mU0?HC?;XS{q;^82X(=qxx%Cxg<(TjxsSdV z?FsF?NP2#4MApWZLHg)X_iJ|z!}Djw$_M%;Oo<9)xp|OkK$2ak?Cr41z8Eye6x7$$ zC^Kj%F$c)>y>YrT3d2uxtm`zJBetbak88#%UUD*#uMFHTB*DIW^q>K37m6J!0*lAN z0!Hmjc;BS^++qjai0d?EpLorun;4I~zO4N&>K0{Xg&9|?gH6RT`ID0=MGEN~F}<|S zwM1<78X4rAI86c3#I+wt!ftxUKp4W6678Ecqes`dk47Z;S3@7RBrf_+ij8{9-|N`E zW=nYWT$vRK4iFhM7wBL5oy*=e0vIDsQf}hFb&GUA5BnhB|3l4~G<3nM&aY3_?0Hwl z7nhF0BcBpmLbtf#n7y&=Fv46ZfK)z9ZC;wfFUY#PQT5w2vF;J zwZ3M%H^HFrex>dn>7YB_b&8uHQQReO#kvKzHns%~x zrqi-sQIG~9a$1idZ;sldyVkVi63US5qcgdQ++!A`WOPaGphh~w7*ZGM#*ACcXYi}AIAc+08!;ukQ$Hmwi8XZH zXO679cri~DUbT9$Cqw1bbC0y^yl?Ml9V?<={cg+-p28S(KbC?3iXJxDNH`LcJS!Az zg=}?I7@4bXq@2Zi>|G-GXKQxflFlMd?g*=ocZJoc&V+f;J7eKE3^00$2+Fyhpt;c2 z9#fhW6%%7D03B}2=LJOhvu&F++sdWUO%riNqUGGeoSXW(&<@*{611x*mJRHIr^Xx% zKM15PIKEPFk;dBr+X=O-20343kV;RN1J#7>44wSb7di;{i0RJR%ZUH+Y(FyXGN`_xvy6T7zYjht(} zHa3lYpWkcj8~s}FiW!9=zQosHn$sW^kV(4CpMa^Bj-;Pu7*eNmRME17?$ww#t~ue4 z(%s)y_c~i{f1X}H_%zYXgD_>Q*E&nkVDT!^y)eyZ@ILtQ0vZBp^_%14ZPD*|I{GuO z*o(81W|fk=l0|Wt*gsh@d+qA6!9xe+;vZZd=bOWTY=Rdog{2MFehS?OG&tf~)+Xd! zAudW@$Mluhoz>_vSPG-oj+e)8O_WQoZ;+CQtF>XV@-JyJD zMWYhR6j-sRVP0)NQ|7-C8Vg=dJC6JA{8`-fviFO9mRPg(L(z#w*W2gw**7|A;>?#A zVj~8((AS0>S7^ZqYs0z2vWbm_px+8!fwV&*3U_pW4J%PES6p zC%#jhH;C{4u?ERvKuw6cI0s|wv!+c_aqZR|%Pi3Wz%3~JZb0LQi|&^XV;7?7cJ`S) zm5;;H)#WBs1M2p-`aSzWsbu$pE-m+XU@tO^SinNky2*oU>Z<3i)R~HFb$}iuJa9pYZxQHr_498 zlyRvWHiN8vyeZ;Ju7e{vOo7rbs>_BS;#T_4R&^0O#BDqcFl9h~Y?j;{4*s5xdADAS zZnd0sXzB5n{HpO~;o6Bk2bjq{96dV^BzCF~C@aaoetY5UVMHekJjuMM6U;2US2W0H zBfta#@ooGmj}>ySyo6r6Z2KXl{EH2he7UavF=2;bydH-;UzdZxNspu_7%vP^mAyN= zr*SvBBTtyJ*4`J#+6TFil4cFgjTq_>KL!Q781K3Ex#Y^3F){21?!^b`*`K;DT-xq= zvqE#6$(5g|vN!5)k_~@JI{eRl<KR6u@Q*mAl#5Bfm!E03YT*5ddG zZg2r(H~9X5^=S~@@5&z!IWC@fOXrFY&e^(`tF^NKEt4hZ5b)V{hf;0Xs)>z<2dv;G z>mX%e6gVl|I%UrS4nEw|O{;mZOG0o>@8RyLU6N0TZulo@llT^JK3J{sVwzPkzT=q7 zVut&Wo&)a2%4sbkw%MxL`{(M@YG0J3E$E`CqL&*)cR#shx6%mWg|-7f)4MtuDjFgh z^R(O(?i-|R8Q5@ETDdn`X6T|_zdEtL3PsN27Cx0avs(}VbepCdcbLIIrm>@9aDd>G~ zE3Iso?My=o{q)`?-?HOZ%_*JBJE1&R8bJPV)IvluZl#IU%mNfB%`S~x=spbP+*%y? zAZw$b(~s9|s0+!Vg-(g96RO(eb(i)9=h%Se&hc)!R4Kn7HafWy^aCLSAv@n_a@)?| z-ZDNfwi~uemb({}Y)1j!Am{IV;7!&?M-VhgdQh^7frSNAxH#j(t@DOxbuj*YQD?zH1j%Z|hUA*I;MuFOyyHeaDbH6c zT}%s`Z@Q;i$WJL~IxJl`3mn`rq4NIne`E) zhQ6(k<%v@qw=ddtp!r=+FPn*%VhP`&Pq;(3s9X0=YG$Pe-9Mk+&2~ctif5L>J@DM% z0)RYh5xmMe4Tw%!+6>mKP{S{Zi^QXjUJq59vfE>F%L93B_x!uIbVTf3<27aPO$C_Z z0vYdyh{NMH8Imu6lp8pUM0H#oKQ_;svW7=is&fi_LynN$2ZSXorr7BZ-eyQ7V{UUU znOCvX^WIPkqigv2FfAU1zO_N#^j+A%)G)%B8^x)I%X7!kqfMnoTy5f9iQ2D1@VqmV z--Iuw3^+S>RUMyyY198e?yDaIur?EOXDO%q;xH0;;&Vi`0%I?o5;;rg75pyQkR z;gt@rs;DnY3h}{PBwJN{yb$9%SWmDTHGS=U6Cmxe;8B1Q8ZOf|vLx}xU#2iepLzG} zqbz|W&D*-%E01<+8g_`1kuVNsG-I6N_{BW+WF>$l~q;Ja)+xWG9wu+QFrh zRC>`g%fM-3kK5d%fK@O0(Qp0nvh1+;5ltE5cVJ6N7*ZPVl6Y=e%xhoa+A$o;X|h{c zzLLfy?B%_EO_@)wBX9Ruh*KZ`SN)pYY1ZT8)00kpk{M0bCdx{xSa9K5m}b{2P#WD8 zJvsa406wAYhejOhAoOUiR7l5REOgW$;I22oEOP4baoWT zFGZ<>i92Gh0`0-JpB+^%mhgKRCIK&fb?ve--fDXh;}bLOc(+W>k%k#DiJPMwFOAO? zg5A(Tg(adiiPLH|<-)$YbuJl~wKp@K3v9o=ef4-E<07;P9L57_#M3aFfJ#gITisxXG63kfk^OiLZp zQ8X4}$n@`BA2X}UEv^5>rastVQ88lcuv)&pp}gkjoptCWJHK!ZGr>>{nB-r-eM}Hh zgOK44hF2%T^a9XgbQu1wVs!TNw8eA6v`GoFBBjsx+&hOwlVsNBlP49vJNZ{D8f73J zK~%=_O>SleuWNMB9{M3Jj-Czl3VUZy;uxr(#Mc{^!^R?wg%|s(un|@hok$0WPq$9@9x%0KQuHUup zja!Grq|c~>lS3mNaT=_@e*NKBnC63cV*RWD25?UEgp^v^LYC#wjd_W2RY!6|dF}SF4@o0{hIeJOtV1wlp&JYK~hNISEWq9*W$WDnL>dKV$ad zDW}RIh2QGt8l2enwaGCSk6OvHwEUPxy{UTiOGgJpL-lR95&>7wZ5sl+_AklR++{6n z*R|=M2Z@1csvT+b4oGQeK#FM$!O%`|W@n<|QBaDMR;{4?m~K|ToG20C*b;Ux<9O4T ziGzu<>(4Y&>m~1C>|hk@--+nzFI99{Sa>Iva;_V7^jX;YtyQ-MR(E}kpG=ge@Z5{2 zTc!0IqFZfRmCW78=$;5kNO{(^hVrDYA;UMcVyl+sNzyc|h|C>m&;9gvb%zS$8(IzX z;U$(Av+~Lr^Ofw{kjdf!TZAJFLeMoZ&06&WV6Tc%ypmBC;nY|qlu?l%p@&Spe#`iU z_+HxFC8H`ruNz%6)jC6z5~@2Y)OCkd4h&flmSSst7l@^=?Fd7(BLuWn@Pa+0fMesG z?k}gD+6{RswDV9&ntcz}$sD_Dex^Nxl8#Xi+!-;{3rAvnEzYY|C#l|YEx57wNcjc} z?Almku`n2^d_{$>f@wa^F!xbmoPjduX89eK9pj$R58$#-iqKDpt=rUZO|9B+Jqa!+ zPtuMv)6nd!R@jaJ78|Qq-lf{%kQ;6GeC0#WqvWd&`BzvUWtA~J zEZ~n58$)4~vui@=aSVUG9^H>|f;yHcaiYRP1~MZi3EUXlfzb~QD2}OqQ=VF972qt4cW{i_??|iiL>I|Pw~-Rz#2 z`%kIXRb7^EaM^(yndS!p$axjM0*2>wViw^88q8_+P{^FdF38=2s?gMZ@C_yDqdb-1 z>MAnw45y!Ip)PDRDj=-vChECxawqdJ81#DBB&`981VESYb{I~rHqL{(*GE0;r`q-~ zbv0Z0M_GJ*emd>=+=a+`QxzH7QT8ohM52J_->m~)-vO|miZfu) zoz3F|0NTZuur4_u^RDmKLf3C$>gIjaM&se?zH&pTrX1KXm zRa0Z+;T;u51>QFTNi%0YHdF!pw^`t_5MlhJvB(-c@3-q)jmFe~_YO;S!ymb?>XLV@ zn|Wm$@ zVR5I}_dck5J-imYPMmKqCw_<(3Y+{=xRUV2oOXS#Z*Q1iJK==m+TC(;jRAMi!j$9b z%;V!ka#;7p)Fg;?Y`^YRA!su8VVeiE}oovLYGc z>)edxNW(XE?)xt)o6FjM0HvcHRrmeRQxRk=-QJXbka1+_hZXO!cht}%L#tQj1z|z0 zG;=`&;&e%qVAO@3BbJs22lrhL71|O2%26bR){jzhwqWeXtl>O4%E|YnI4%1y_qo?b z*a`QRtwibG(Jx=TNrb~HF9&Ky96nxUmQ%M`C&GzUc>eGFd(ysZ@Gx{nLUI*C*SIFv zkb@ncm7m0?P2Bl(XM5}C-XrBM%$gbyl~vY8mZE2`Lt^!IRDSb8B8By2|1GPw3YTf+ z&VW5k(usTv%lGn5v^92vH|S3FYXvJ`J4Aw9?N%}Z9Mtr1pHZ zvlFp=3_Ipa7GMFbWtIY;0-1P$HHh6gk2G)?{1JXB&8eyqz-rpSn5w+IZ^@h zRK2D*o*gX%2_8$i*uoNnGD#5{tuGI81iUc2Q7UN8a0;!z6R0{B(!uue$R*{WB1K1v z&%q44v&;-fC(8ptg~}mHr+J)oaDF$}LGE`3kd~$!Km12)xGM8&lYX?pKLON!u|ez+ z^i!x%OB!Vr8{+4qI3(kgl%}=RcAlgg)^T|33(;;|hp~of1`*+Ue3}quJQO4v2iu?S zMzp{vA#ldtptjpn;wOuW!U~Q>o#YwI{&`qiAk9`d!`U*D^~n>DVF{sZAtV(yN6Vx- z&F!x70ceNiYo$H01@1B#-1&wc_MsemK3uyLwUfgQe;DHqn-Br2*e~G3%vttE7$cCP zn?#a2>;PSv3w|eJd#(EY^8s>@YEZz&{`;^;S5NLP*~TG&0DdK7k16eG4s92tK@ULb zQv-VX;td7qM&EAu{=90E9XwdztDAA6yhZ7~enewGn@f9+l03J|K@i0ue8yox4!aBWaNR{TRpE&E^Obb7db{7!tzJcSD(aZ|r z?;HazZ8k$Vj`rlYTLfhF@-9HM=*jK8pWENrCfkdi~-rW4`;TqYnU8#NJPHXFu2Y%}&N8fE^XLa7zU$H6)K9TZ4m73d)|RFNde;+M{>__tyw49UncnsWr(WBGdG^{bM%W zSI9HiKi#VaA;yknZ1o~TWRT9{zB1PbDgQ|8Se826k|(`BMBl3-VT*6XiKh=qoNv%_ z)V@%iZIxC<6`y=v$u`mFM8AL@M^Iet;ciGiaKY}?Yl-3-cMbWArY0-{hynY16`U+3 z;)L&6Ukg;5CGY>@v8!wSo!NuaLSK%I$pp#K+w<}FVUSWGL-_rCb}ME=kLEjs_na&h zY=-ZJ`$&mcjx3J;h>HpC+wC}G;`il)>)N5Gf>ZOoxl(dbViqowr=U2Hq>0L5jR8Lc zw4%&~G8ATO;-c`r_}Cfv@cfXWg$DrNRk?ocQH?LXE?VuGF2oV@%%Dxn-Jhs2N5IUlT|Eow~E3#xX^tv^>DS2pR;yr?+tRXl*`#xwS&v3Rzqsmm~LU zppyo&QdJ8b`D6K8R}x7ks(j2Gq*hyz=uLcV`1#1R`*xqOJaA$O0tZ_G>&v0}i!FAY z`3z+aPi>TAI8dFwvbbH`cG}KbSEa~XS6lAl-LU|ujq1|FHND{rc|oq9@~&e1gY75+ zzuCO`!Cb|e2`q^)FIoq@7T1bRbu5^g!0u&eSG*rs^oU)Q$dB}Yv%3F?L*D3-U5GGb zvQ7j@xp8`d`|=1q`PhrBM^|vdG#l2R`sq^G$D(zw!ZIp{%kc!>n(FW18*Z#563$vIn5?gp3aoP-mgsd27k$D_jW$6(@21 z+RLR!pL@hk&z-W2$REj4qui3~r9UM*e!*O}PQX$wSq04lZB;20KeL!2K(`LFY}+r! zK+Yv4td!{R?VnEeMDE{iJYLz6%sM}@J?o4m=rW{TMlXkf>bMONE{18gFth;+I8q6e z9!qQbxW88TX)O;qKqlb;zIT9BYHKj#ccxmtvcD%4wZx-VwL1T&xjNyuNYg)v?pewVS`6rY&`~PLjtD| zBZ1Wcqu9bHH9D~si{xm!5qb#shQPSVe1g&-DUs_h*|pWO7!HEMTfuhoKofG3wg5cATe#`QNnq{x3Rz z-u(Neb<3yjBv^>yrcZ`8V_QVW(BO z?0^W)w*TfAhhT8YB=()-#Xr3qlazkXDgvySo7i2LE*vmIW7UYCY~?%tE>^S8epEu@ z{&};Ytp6;cDzwE-nFLUX01BPOGd7Qfl*6bWr$5dci5tnW1h6Y};*l%YleA1c z%P=&6uFqt6EiC?6{j&2|E%y27Tl7}(w#Ops zHEFJ#u}6W$`x}-pfo;dUd09a>^%jQhaOE@kUMg~S1BY-uB^~Zv_A%dotD=sRsLNLTKEXAUnP)>Wv zd~Ga(oAX!sR*eyhrRT^!KU7#R3<^x?Ap`#=l26SyhIf?^Ae9fgyn#v zISo=kfczuz_UNhN_ z7m@{68iZ-?fD1D8=F%oUlE%nN{}+4j9o1y?t_z}obm<^9N)e@6C<;hKq$nayL5f5` znt%~$0b(K`MXHE^f`Wh)1q?_D(jpy2M0zI#RB9jr34s)6`#bl}oO{pQv(Eh1S#xLB zI{)}7k}vz)-@EsI%kw-hutaVIM|-G%YVHxzo3Tp7(_f>*{*NSFtE-=ya6P=fE^zXf z?Qsd{Xt0Qh9qaBMqZSHkOnlyl4dQ7Mz9ZX-3Y&ANv~Xt%@$_OxHJ*OkJf4*H z0VGfQq z{i8ICk5itNj#pEdH*=EANJ-BYCFFNf{yumg2MAf1oZB=fY9oa-1f44eWwI+Uh>r^= z^|`-W&1i)d?u4UD*a@DKhgH}I&qUmM@|o=kkulhCA{+#Cphw|F9Q7D6jxH)sK+{DM zDaF(hLaOu~-79L)1UsdMx~Ed9a+E=-b8@qKY*_7kt%@xYlQS>Ac67fKXI3wje6v)B z_LouosT_b||MyuYQDZK;jE6{c36*DF=MmDdOyAuhx_@w6PpZ$lu)g}E?3JG;Hpc~< zvf2;RN)F0jd@z^6i6Vbv+GK)87f60d0~LN}?ae`!&=Brmq*c>6&f zf~NLdDDnx-we{0kB`pe3j0FK3F!I&rUpsUR{}7J#Ve^-Ml|t< zOwUGMc4Wl$#pFjV9#^cl`og9jbE=&7B?V2<0)sU`;qlzyt(8{-Z~AW+smHS7xyXbzZQF;CLv<2F7*mhA|8TveL0xX$kniXAu zltt_Z$P>HQ4czXB?Cyy{5>3WK0qv6w#juotwp^ zgx_Bv5aMoeDUogt7xcOs! zw56wxyTF?h<+5hUMTfgkb_}qcM@6C90MvLx0vSm1B3=SBx=Nj63Xe4Dlyth5B2IVc zV7uFPT5Nh^e>irjtI@|U>DSrUNlZR1PwV*zZMtT&$hr&Ck5M7OfDQu~?LKfd)B<|n zAOmu`3nep(l3NkG@940cD->(C=Dy|cUcFWF)J*N8dGN_cH*yp6_ci_KWBw zD0p&CdIa?>M-+hiISiuqA*~bkhF3;ibRXWBUM}Or2i_sC2<)ov90DA*xu+xh`AK!G z%eAY`*1uxspzfutJ~o4rM5cblB;!ceEDurvRGcY+XL5~6qlKAAR|XzMt$c+KXqHaj zo|&DMzF?>ILoPkD?WOc_8kVBRc&Uk>Fr|c&@U7;TT4o|jK6#F4d~?_cR*7D8nXcCP zHtYAbGxYX5|10!@=Jr-Re-jUB%R*A=VUVxP!OtjSOCDUN#^@=+EW`e-Qi+Xk4R<(q zyG-hvxl+PHFXWsPal#?UWc&*6aC3!M=!d$;a-Aa9E`}>H|53sO>Tm7_VB=7#NH};U z&WJ3+Mk|{4&aB2*$!L&|`%sYiamjRxnflM$77i9v7a7ULH=t_{8wS8QpyO zknKZIII0yKJQp@3=~CcMH|e(-IW1>atuB$B7G_?3Z5Vz1p?0P@qvtV5Gr0Mj;ALKX zKlp87L$C6}c{}LPD-m#R>tQ09`>Am>aXNb=BMt4%PgT;yiL|IMJ)L#(o>jZawS7*{ zigxiE$s+VzZS~^?tg6T%FRA(KHm-+j9~gp@G>mFUR+-zNOD)XJXe=nTqq&er$p%$q zp>Eq@q}E)cUCj_t)>rRGVxLLwqR!Dn3tN|au1O!G)iMUhegao1k;&EV5AI{kcwPbZ zoWhCgM6uU3`cxzvsvan~R2z#xVifxQcbe$y_^#R9?7;LdslSvc$&7Nq#m=kg20-U_ zfN&rxQC!F;$tI0&yc^Epll_Ivlg0k9T&fe>Gz{gPpYfZc*(jhQKHnFTt~_#MUIXO$ zqFw-o0?r%#2we?ZlcAkK9wWupE|jIlO1{C7(wspX>4sr7qEhYy-T8SRizdq-pFFoH z`Z@RCS-PjLLJ6J5$y*2GeXGH(nUqKw1vjcfx8C|k{Zx#)P0G1JJxQu29L#;sN07sSu!Qn0OyurF?Ah;5Bq!99q6PF@osDCY6$uywi6V^v8b7(~N*n)iEFnHHYUzQ{9viC z?VuDBEj~Vwb zc@CYsLl+Zfa@Ep8{sKZ($fpU|HJ`Z$XgjJe?aC`5(2@J&Ant41em?tYv_F>UxTyM90HC9bo~PXHe2JMCN6=A6wChg zb{@z3Emz7?)j!)>DZ@?9A%0fU{B;%ov#@DN1`l|8&=C9&3xuC8%1;p(Hjts8ZEhfq zwb$1;ox8KqmTf#mjW7`l{SHskEl>3F6?%J8wLjw#Z|-T>nA%_e?idhp*~1WDy=HzE z4`g=X`1Cc%Ar5!-^8^vL9h1n0>{%Z^DRJ$(s_Ci6zb=VF?_Z30Mo;{B9@;âlE z!cUB9lmMcd$u&h&pbk-BqxyR9j3eeBL|hZ6I9}sTKR-pFT?;T4pBT8kdxU#uA7xkH ze($99WSr!jIs3mPg63Q2DaQ*1GN8Xni6UXFzJ+t=LkG~ z^7EENE&@cjvjA~{Cp62}xVg5u{v^-snG-&XPYo<@BoZ&l1TI=D ztCnRnRIo{=f{O0k^pQRF7y!d8>uZKztY>faSo@q(_?UHn*B#!MmQsLw)9^PDfPl_T zz@u;y0J7Ywtw2)h*5L9r;2G^t3^q?I@vRe=3?55YuxnM=RJT?bpEBc1l9mp_ETMoe z^&hR2{;z)TpKIs!|FGqeL-SD3%vC}7+o|pV$yco&=jQ~w?it%veh*SR1*`GNv~oHt zWo|5)-(A8I(CObN>$L9&uIB5OBeU;s$0PrL)A5L8L;>DslsjF9QHu89=cC^vFD4>k z?iF`7kP4C^g(CM#CNM{%plY|VPf|0FysTO*R@tehoDQdcrf8)4rXI?Kn8RE5`u9TgArooJe0$?`UEz{YgIf)4TpSy6d^e%v-) zvz)g~hE!V;`{vQ({PU1R4ShHvtxz5N+GR!cc4M94Pt=bp)eA&Vn~xLEqfM$dRA3HF z5X6vdF%w1#5JFq2<2?yGA7I0lI=bQYQLTL(MojEd!cwlrsDD!o)|lKr9$z3*XW7P5B81u z3=Y&+d~Nq9^yFe&IzSDiRBDWNKGmDLWYr$(y?&~|+v$lEhp)PI<%O!rfX(g>eyU2= zS|Dl6imVZbG=A__2G%aw*%hb#ioKZjV%^`N@YyGwn3D&bIYQ1O_P2O3p0tQCM<`$p ztQc@gGP%1AO|{FFB6}vPy)T2qODAtmHP44#t~r+kiK$5xW^*|*+;rX}vRK0Ty}1j&x=FiFjMJ`_&lN-yr9jmZV2Q_V z@SR5IB{MOKaXCNg-e>z2cUm%^xl5DxE!3hOBDN^eAR`2c49%2> zvsg$87!5WDf-s9+8(jTCV+~%h+ki_q_)Ec`rm-hNbq+aYwy_=FJ7M%1skF)wiJp6h z{s8ajPhg5ubx4#|n~`m}NX5tG3Zm%*QSz6dZfD@}d#t5;&c-E{DlV%6f=%gT_*r z!c_@9cfw_Ii-O#(Bz?>3GaVEIN1mrYv@~Wp$RbMWrVA~$=1S&K8X2Wc=yNY^?u;_E znyR9HK9i7(GGARpES$S`_WDdpqxj%k6UkkE+vO=VRmFboTmb1EG~qiU_rlX@MvP{f z-{N&0*&7cEz6WA`AT9mrd0D7+l`)(L|5P_6obkb=$cyxJb4AA1Y~T9tJ`?`xnQkeW zd`eVLZ|=b^y{oM5^3Yt^2c7m*Rv$d+20Uel;&`*k#wP?MFZ`4C@nTo~cK8o0U|y2AFFwn6H6i((#-t18OZ}no?u;A9LM)d;_DWv%$(%%4S~yI;hp5 zKWR*{8n+BHdGFk}3@AFKwjDEVGP^#73du|&U9Y^?<8c4v%Ov|>8Caq*P&Q!>qXmFR zdW(NzZ=u^oo#sA4&FOf2Pm^X8lF~VBuH1A>GZHKFJ*>R3<(_ESH=OGO^94~5=-}rK z3dz`ZZ5KYWSlJxD)@4~2NuD;6*s5t2KHagNEU)pkL$>_E9XpBp<7fMunm}fa-Hnl| z&;AyXbDn&luvEQ*@W5^1Le|xU@1KJMgYSI(kmEi4vV-?F{C?v1P>e6*8SXA@VvEvK ziA$eb&xcO^eq9k(jBlqz)LT>SrZVlElRUL=@pDLs?k)qTsDT8HS%>;*Oh(Tuj=Z#4 zp|k*Nz}9=P6aHF5hWoi|X4iGx-?utWYR9~x$}@S=K@FO-hRajmbk4J3SnRNf#qnVF zc#3ER0G)W8YUi1wuWBy~{5SbSnjcPIq$D%T#Q-D1(Ammkx*6ijI+lXWAAI) z`k|B@@Cc~@A@CvVvG6CfK&^SQQHNimypQfhh;Ku(^Zpj^FWrJ3hu<~Esze>&)WS1+ z^Xf|0c4@bkvK+HoAKWZy7^-7nuQnu2%{s->iVE~a&*|jf?w9BnrJkm7(Qh!`27zb@ zFWPbz2;L~?3271G9b+LodwpFPU$1l7Z)a8AQ|>uf-DP{$R>_^W+2g)~iOl2u!{P@Q zLbsZ0LMIbDahx3O=lE>~-`DgD=J;R!wysyac@$Cd?BbWsT#q`N{g7?L)bJ6);00S~ z_)ZR(6rw;f+^)d%pVp5JJ9-f8Qqr50;8G*@$WLCnM@5T@K(4EM*d-eR-*AB zjFhxo1KJSC3eZe=5U3?U#wEq+yH0;t@I|2Vq4{6W_FwPqzije<(|WV7c<-++{NPQZ z++IE#D#PesuW*M@lvovXS@Jwhv@JDle%JJS>0E*)Yem6FB8SaW=GVlS34K+!4Ab+y z%WDz#MmGN}M&!Rf_s`>N{_p0F89f0+59LvYLNOp&l?kIv+JM z&?BtOdn0_vyhQJ_U)!%u-MJT(`Qy>`-4f~B3eukjQwUwwD@9)yz5 zc!iXp*&zi+TR0Ivb9ruF7tL>oXH~4|P?eP^?BBV;o1&v`|Il|y`4}bD^2q%{(w8yH zZQyi$8b|5?l%wAVAQ)swKoGlLLESOwOH$8qwGlI}M59VBWSYo$AXN)va9>`D1z^rTgk$Utg5K4C*Ss@|2Dz^G}oz z-ZzqbDd8l`Hn?yv+g@tyZznbFU*>k6kwtYe?(TvfCMs!N*RSev?_ww?7|&XcFu&!A zwrEmUyT-DEM@l+iA{G_PZ`~DA73?-G0}nerBz1_APmyA}3>S+~kptG>tarD8GN~ms zj)bSIQs2@neM13&l_N!Utzu1W?x}5?^4YRmZ-XO5MJDa_|itw4)S8x0(!5 zaN-T2ba`_Ee9f{t>?xy>C{^9qyNSf8$k2gPT@9L1UZ;5i0Dv$NNYLa>;VI5k?1BZF za+J&;v)*)MA=$>l(c*Lmm-1(iz_V^s`lTuEse0EQpS9YTDz8+=NCr+7Xlda!ha;xW zLniY8QZ`8wBQ}l5Yv1q)JBNKG(>>*pIY22t${z1zB!heQ=)@TwT9GvWxTA8*hxRl` z9{RsoQZTTj!fu0qu_SrKzgUvuzgW_Re{D&}$ABl@aU4k5gy3rTW|#4#WFvxmfmYR1 zOYDQfK$$kE(wEIjQv*-*1m?T4@`Gxbv|TQ876rm6YLR9RHsFX(09%x0KBxr|l}i=y zmYmcXSN|d7X)C0oia*QY&Y^y>K2RnIQq8gEPP>F5Dk_0oj}M}*+lg#Zlr!$V=aSrX z!@*eY`RCoI>K7VItx7UgonN|d-%W6th*O5j==;-zn4{2rD1Bx&K~CK#h!_wF0VW@ooQ(ascPiWd|(ueogT| zE)UO~3uV|cwKfa@WFid?_6dwP?)N?yzW0Av-l4mi7uzA5Y9O53CWh*%xz$=U z>7kMd2$a8x%*o=R3ciV02Y}AWxE58#TzkK^i@@M+Vll zq)zgbmj%i^!zS{G@n#my?Dl+B5IuaWRsibhjrlP&houWT5p=pS<2ixZI_k>9|y%Qt)V$=W$3?<#{`MFJX6?K(qG^KZjJ z0!_+Py9xx8RHg2e-!Snz_SwswVeGGUB$Z=e7N5d5{c8ca9*fOj4b zAbU(W*=Dsf&rx?UGD7EEST1HtI=fs8ecH7e8?zN4z9G(ArCP*YZwKLKj>1T08p2>U z&q2MKEh*EC*cKJU0O}}GFD97iY2mng*FU(|$-3e9^m%#fO{0%(AJcfv+-_YGQvSiZ z*ILkW8)&t8%ji%l7+LyUG-ID9JlDvc$^K}?`epWZ^{IH%(gcqnj(XAGGykvj?f&Qb zXa6TJw`2dweMT1OiaWK?J&+*Yvv+kyKWd=>I5%tyefa^)8rVF~199US7|A|01_uPE z3`rZ5K)`I8$|-}%6g55dwVpN=k@Pz~lVhYh@Zo2sKHTrbuBj-E9oF4X7k8q-J~BQ) z=StCBP_LV+8N;>xaV~OM7VZ9gr8k`J*w=Y?e>m46Scd*!f%*=tL=x&-O}hd9V$h_t z0F`iF=$I8qrk|d-g#Jv^2r9ZkpTN5FY2niKe(;`7n`}_DxL+KDidCYE=rFlgNucJq zLoOj~eDa62XBiwHYYMqOsp1q*WVZS%wmG(H=BFicz1i9ynYyh;gjI?%gK@RBzpylK zr0ocF?rnDA7yWak$UCH+hx&(->*bflw0CST9kV&WmTOT){`BIPOxfOF|L)b_k;i&g(?3gShMxb}n9Vd-@vfL$nOn~c6kzD@vxm)NPtmrg~Jn6g+NezlaW6IthD)Ctc&8?5317GKx`u ztCpHL*PB=Qc@bOlS~U$_74v%W7x5F4s(gpHj@a=w=BoPKvKp(-)RRI>+ zU*_8dMl8}0zL1w`{kW$R!CiXYZ<2z<5c0#Vf+j zK7%JDZqqLAJ9y&iKtkgJY&?s}VO@1OL#G3YT$L@L2W+s6%$#rzWLm)>Xe zq0(7m-|}Sh={cQF9%u@bO<#)qzOAqPFc}qB;u|p8$l)z)RhL3=Q)OX${ou{ReVu57 zyc#SK*d*T;K%uN47Ac9%)rnU}Fq-v#wGn3f1UgF{R_X>Ue%`JUY+;M%QoR02;fZe( zb%u5iY0F5(&1K-LHKG9Jc04={&z&;m`C1QoGSt$yx1x}f}Z`=;ZR zQcfse!ETblMZ2z^!(l9piI_@dJaLGIMh1}~bm6TzB>=Lbc#hQa37;RT%{fl@A*^09 ztZS&rCiuhEid754+aLIi#^aC6A<13h)qqbon?Uyi@4b~dorSB8qYI~Of%Ei}zeQFD z3aT5DPT*;TX4_|7+wZE$vOhFYGi~7$jpj>8r5?BJ+?c{qP5}@bSnHff1M;i&BJycF zvh1tk)#Tu#Zlkpl@{fPiGB#DEPfeUJcl>yHXgC1w!#Cp+k7WTi)H(Aw<{o;x8{$+9coro*rS zQ{9VC*a8mF(hTKG6(x^;dh<46aogM&t%W092dr0kCkL2yL*yAo9nSNW+eYhTTw?Ie zgFXhIk50&^%+LOO@7L>|A=F)&mPC9nPAO%)gw9o=xuKp6U&=-v>Z zS09Mzh*r39{VO84?ZfzB>4K0vGPfKIVm3!V*R}1qCq^Qp z>8DTJjy+y*|M~R2ajk8@|4^a?0}dvJa)ku#lQ>$AiRU7Q%;Q1+f7JQQI zPmJ%hj#plHJ=7z8?A;G%EGuO+;aK^<8@v3_gzrjj=g~s{unYu`jr|WHNaN%~0~>I- z`dH`z&}B}OIn8)w&$*!w6UYA6_n3@Z7z*@AD{Zd?TfNcWt^P?1XciZ>io8H}N%WuB z;6?Sx>I~PccJQ;06!dDI%3m62aL907Kd7<>p{gwc)+AdiHM_ZP83b*u%^4^dsuMzT z?jIim71C!-TqN6WUHIeMBTZUGM(#nQncABdZeLk+*BTVUU58v|=)`VvYuztN+{4yp zLDkal^kx{uwR*kiyc`zQ{_cz5&z8@t5s;66SgLf0*XJ!K@r3t93pin)4iOaLBX<3xEU-XIvXJ{e%0Q~_?fSO8KAjxFxlGdYr z(Q;ETQ<>(DAqQlEs(jDuOGk%o8*!KE;f&`^;1FPsU^KVL=nzv&=yzdp19xnudkKBq zQqbQLHe9^7%*D8iT7Dm^P$I^IcCs24Mi0{!pump5 z;b&B|oMjHC79-RuJlmP2<6y zVk@Egv-fwA0tO2~n6;Ca^zFZri;YdyyUlsx@=n3xGP}Ru>+-dgcy#?vS3hZ22;>?z zz4yOTMfuV7+~=v9GLpS*c9Z^l ztnQ^Vvq~8OYLo829{1-3sNUlH!xE^{D8IPz_rTz%TM*z>m63j8b71+h4f1&OjYhId z4uPQdxhWCWgtb;Jp8lkk#y)yibkHB)_&8)PV2?(-&+MMv&u9St1XKtGvVnq1*=_xf zDcaa(?7pJvMr?pu(@IG!_lk~^)RT;!Zzja9l__Bnv^E4F&F5xPC$V;n6sJ#P&>Dkk zLPSOQFdiDYmQA8Ma@{q3>Gvz%W!|u!=z~m;{?^@PxeBKX^ioo>z?YGL#O%z94ADj3 zBae){*Oz*`91au9^?zU6@21! zw+oQx6=oD(%jwe1ZcuIL>wbn&AE3lVL606068v=vGD~=#{kE~pS;P&x(HIyG#hGxh9rV^wKh%bfgA5`sF3Ejfrow4 zSD4on<+dcXye8_CvZ)J9&Yv_6B&f_rg){qd6{%;*IW~h@=Pd2X!Au-)wrX|X{;8Xe zlZKKf>#*K5h^|dP_}(iwwZ0(hsocd5O0^ii| zQGV2C0xuKEeP(})49Su%yt4oSjF>Xn!(fPyP(zZr$)!szkipnQ(yH0e&-(0}24cKV zr*A&4Af%jq;o{lhe{AL+URy3HFCQq)12+}`2>@*iRy}OM#fU)$`;fM}RLUHu`$})> zSC(fAmPg$X^LBkTulUt6O=4Og|C77L+LQi1AU3hhD2c+&RpwP$rZid06{iKGD}1cs z^IAuw+3)wsR$UZ~5& z7UzT?5Itr+yGAmnGHxG&|kcuXjVJ`vR{qN3wo{RM8H z@x@0D=1Z?ihqT=O#h)$rsP1GgCuSh0@;5cV#}|u|iq2|rln0?M zu=lgpN~bo$UgcG0fqS;&v0}|+jtk%EX9HeC;`WllgDUiwPt>2%T#>n;Ol0lRm)^z< z7$dn)Qn~BzvK;Sgn}2rigm16GDWp*y)rgeW@rOlZy(0OCfy5wO%N~0{u*m6{WZ)qM0Uowb zXXf9%(m7i2_?0o|%v$Od+fS~xr7S_6NLLy+bF9IV*i3^uAS1s2b_n8BU%%^b{Bl$E zTk)i&>Z_i2XZHeN9{ckvN9vTgbhTuZ6Z(AIl@C3?7WI~+a6A{ZdH{z?z_Cd{Niw@!4v;?}HAjPIYyk~e%ja8ls7(Jef4MwRL#ub4$~&{Z`tsm&Ob%`? z#YLlb5I2`wm#aapdvmyYXrmU$Txuw`8L_E5yqNhWdfiYV{h{)M+$8WP56SD>24&B1Fa2&%*|ZsA^4QZ30( z%9*K`y9+7zZhh0U0};GEWgXiW%W*w-Qj_-~ux&{@lZ1!U4+gn3nTT?-> zrbNAaC5Mx2lf{F|#i6be86u5OSftaxbH`5pn%taGU;E+UmS!ZM&+cG(fpbB0HxdM^ z)pM4_LYf%zJQ}2$;Z93?kl33@ivWtNPmpzauET79x>TLq{R7&v`)o=?iFsAhe^^*h zQp`@-L!$Z>d(`Y}XuJN|d_3A4kAKYbK)JtYKYSo|@5* z6O8|v{KLA5R78pT`#qPL1L!)~C;WshjD(G2YQijvQ^j(seD2HP;Q}87C6fA{Tyyj2 zVio?*jd53T1dY1wjgi(gO~93}-XYrh%ro2x9bWqw-0~l`kVZEk8uu zP){AbtU}IX@`#dIFOh+u!H9k^32$#+p=Uc1^w}To=lS)1+s}Aqa;_=W-n|^%dK>Bn z+rJvZ16)OuB)?TXg>P{E5F{6H`2i|(t|KDv1OqRTPXl zl2^mAwn|bludfIBabGpL$&L2MzG;+mF3iQXtX2NQ906LBk+R$`)FRZ--jbL${umJ4 zT4>BuJ`x@r-RjJiKIP=oFio+#RO--v%;TwEM6r?Pv6XcR>xW0;&skh2V_G$$VM6-G zuMyqz8josjM%a_ef303@9`;jPU)P-IHDUU{9FjlRxSnvjL9XOj3Drc~ruK0F^f`>G z3|(t104xfUIc5S*xjR6wL-WzEl7>U8O-@w9dVNa!!cI^k;zD4?pNOzpD9NsW;v#As z2gGILp`4mi@EYGIH)Px|a-RaA16}yu#gpAjUfiR9Sk`-diTLQtFmg)KotQr zMlFh8gvsW69l&_7uZ8S9iM_Ed=P=L_c-WIi?%@|MmMxeF&}xPHY)lSO5Tx1U0#py= zKrnv-sK3O|x5VFcnpPDH*B{`FY05fZ7?wbk7s#1E6d$!9mv#Dk2o%V7KfwvngF!mO zhS8$QKgBWs>LqR>kHrA8oGVl3^U*0!(4~#+?6U96FKbH4xnWK&AW>17O)mm3Ngvg& z`&TqyW}L21ef(1=Mc*_68n1tuRGDVCw|Xa@74zkyK)1A)SC8}At9+>P=(Nja7E8z0 z(5E4wIh7RuxG9roAIXWyEkjlxg;THZ^~aWw3~Ec;dA?{)z1p#P^TD5kB{6>dnAD3S zIo=9xO*%}TRWMQm#xsMHU=3!iEdy>%L2vgS_VHa!TI0^Zr3UQa?$ zPuNJSCll!}@9}S2FTnOumF8gp4lL1srm@#=yRI1{mkF?O zC5k-B^3gWXD77W5n<)P_*Uby>fA6-giu+Qv;*Cv#~oAOSg-<LCU9IJPdMlbeI_n}T?El5BsZLI0c z#1Yd3Wb0Pqlgo$%JG14@&}i zt{LFAk|7kEk5onxwQGQG$jIK{ePnZiLbHdt6QX;D5i~wjmt$7P z5IN79YD+jyzp)+uqJzCXN1;YED6r$JQ1>gx5&j zxJ*s;IQpUtk*z^B%l&3$XXe^Gyp}nANKNY3fBei@(HYeAtT-SgY>eAdgc!|q zjY3O|4|>0vzQ)_ty3DfXu`3NjHDj3%a6#H2UMWm>PDn~3fKgr#+jd1X`+Z6d+N!BGJbJt zR+psAx14-$u_Hf*Ww)#zwhPqPP5p8zH{Lq@Ok-y9quajU=yAX%-z^2XYBsw8v@1LX zWaV!SBh3k~jN$XoJl5{kK3;5zQ%O;*4qNEy7BZe~*(E{N6loXZ|SEYc!DcBY@tV?gHfPJ-fZl}_(Q1;{^jr~TgoHq1Wl8Ew3b}*i9bd%tCJYAXr0ncle$tb zR>5n@`~L2m^v^jvW&;HR!e;}%bK5V)x$pkX8{c1rh=aaAlR1k{RSU?YO!5J*ju)@6J^~;Rp=)rT?f6Hu5G)1JVJoHHSs(4C^ zAo3XXRqz`a-GbDWJ}-ehhsci2I9lStJ~cjTVrZUdd+KDY$6L=AC=; zWA35Z?(>7e#9J#vO~CqyZyHSMR9<3pKn>;b)ewZlqnp=P`AJL`q3(5<6PNQ9MY}B6yid0hqM|2Hdz*u8a4u>7^ zE6hHQUVL*!jxhxy)OszKF>~Rb)I}VV=g1r`7PSvph74VewAhN{xs%HY2wDo^GNXC< zzE}E7Zy1M)68qBwTYSdNcuSOTE25UWPCx*`SlXyaQ(3m!$HQdp^CjjXLQ-QSRP~B=xsDZX|*)ANTr> z)B!M=WYVg2hFg-y#I0PPJeJ@i0#7(xqFQFa1E~VkO7&tld_08ZEauQ$ zK6bjZnT=0>eKAKES8d7PGO!`PDhDk;MfXbPQuk5i30X0IK)PeWq>99hD^beuDezN8L4IlQ0I_=jbwVRiM%0PctHD4K}> z!(u!JI}dpZ{4}T6K-f8&eCA+IP#!~X!oCw)X$mxUfp7)Mi=qc&79fM2TrkvRn7>4F z#5q zXCQBm5IN83^#WX!WZU1Pcj%?w2@*#Jx&w#fr8AS_X9UeZbZo^LFXG5CB0tvHl4er zzYQE>v#!L)3fA1c9{pB<{TD7D9Rp4o13{$F;8D^}Yd`n0tVrd@tZ$ik(+}9Hgi9yH zBNQ9tGACI+OMKejwABf%+E^ST$F*22|1Dyb&2j0aJ+C&r~8WuEmifY;=`Uwa{YvA!5RYCxt)rqAsR!37wWarGL>4NZR`M z!&fGoRIW3!0q!Ss{wB7|BJk5B-&msGj6$44*44U*-%nLJ$DN;T=^Q=K-l#Gqx?Y%@ zK_HvJO(6+;GiU1SGDb67Cc|XE8E0K~|0etWzxU()-*Dac8By5f z!bj51&c-EcnV*yGn{ji%c&5yrmVYqJcf`7WA#yCC2O`=c_J^g-3%sTg!=?|%nh><(3<_!1C!-#HB;-4!^B%38$PNXPyHJD{9BReWwWxH z$d_wx%ML?J8KDbGZBQP>yP;1gMY2h1iEk*?$zOMVkMr&?rPm1u0_0KqvB4N=s!F?V zR~}(QaAj0me6Q^Jn*aN|@(I3~huB?Bj=VWsdB`d}f$7)+f}hqSxZA0J(R^~-_{qj@ zZJo*fE-BnTTnDg^Lo;{8ZD7u;99Nk`S@&ylO`mk1c(hrc%CV6=(#;%Y9-l+p4s+NwngNDeiY1Hi-RY)X)x;EZHUPU^Bs~_kp?POUTh*gBLT! zS%`WvT((i1a}>;?5tB!l=5~oZ#N^5+^?!m?lehE@X*M%U4K8VSFpt@5$I=7tKT2Ki zajkvko~oGuvSjnPZVU?;t~|)h<6~i5ni_E}C&=sRuI{pNez}4}nS0(Xt!%C(AB_|u zkn`qVFYE4{Wqkp87u<>HpNBj&kX%{>9fRNdFd;+3bJHvKCmk>F7w^8X-^P61m=I@j zHxh7@3kxEU1Hb1`Mm-OKV(RJjFI?a;AA3GaJ}zFBtm5(g+xlX%Xfwa<*%4HF?XJJNA$nC)CjAk~!Y zP4T7o17Qv(Uu^JX6kWxqv8BF7mhIT0bGs+$xJcRq?fdO-+SO1iu+P{*bUr!MEX#p- zY)nhbX0y>`N7gRi;J3$J28aXwBE}0cC9+Vt1?J}1D_X`r5Y9R0ygtuB^#2kZ?zymD z;n9c&dW=kJuuC6vb2Bf#PWdSFGF0BV)u9}~V-B_rC}-i;;GiwLOgRHe=&ED2kf%sa zjf>%wa)}#`6V9G4Er}BG`Hd9TbDxsJV-)a55|c~5dYq~ydC$CZ`btOZG7@bULc2}R z)bYeh%Z^Zu0`AkDs@H8_xXAj^CcMNV^?K_3sh;?4^{&i$PR#iI?cd>Fv%|y1z z=b3e`2Wk}rM)<$vX(Hu#xo|&oJ!HCfn|-iWRs-wR8?5pF_K`dHC0v9L~qNhZ^`MznW9 z;VIF&_<&xG)8*{YVrMIxky>RfGnhj|;^4%wIoTSW=NcAsZ$2~pnH0mTCL!4oXRZc9 zJ0SwzdM8b_rZ0MjzHnj98K%bi6+e%YQar@b>fvIK!Aep9H;P#UMDEb|3w0}%9p-T^ z0@7+k=`=UpOdNL7T**YzO7|W-X?5lpUDirFv;UhI+=|YgL}7wMz)(x_#g4zC17!J> zSM!XMRJO7y?56lV5wyD9Mx*-@tBcsng`ZG$)}=eFHijN2zggd*y`19NNbK#QvyD-$ zg7LZ9c2x}%LHqnp>qMt(2e%6RI!##h?jHT}!1!p|#%ZE?3Y8BJ$b*{wN~gVkIQ7fK znr_B#r!C8*iN9fwnqpyi^b|G-1t#8;avaQ{E1dz^t`FD6xD(=fr7pqw7VY&r4u2J1 z>9@~GzNcCGgsH|qqm=Rxi|hp1oObV4z|)k8Sw{$x)$h^uh)!-h5$|4w8+*9K?O;{7 z^-MpMEDH^-#cuYtGL6<1|*+6HrfJj$hU3_jQr+cm*6@KhnJq;5sd87Mc1YQw6uIZBd0Ge1#DRrLZ9xyO_xf|IefJ;C$;%6KXwb% ztW^nN0i#7ctrkq(4-2Lt2c?hfiTw4zL>y z8fy-js7oqn<#Sa)c=p)cN9xA^Z$(dXVI<7$ZIqI740bP=q8W-FY9)Y}?$aPnd%j(Jlv#+l= zI8qPqrMqm$D7n$E^0-P5sZwBHAwMKXjHjx3uGd(@_PW<;~)>dnQCN%NMdpI#Su z=6eNdjAlxN4rySAN`d#!2y-K`!WgiQfZFlW#7Q`Tia04m~KlYbD?ymDGb4K3~BrgbjVUG55vjfMr%V(`_bXWw+ z#=YLo6KQ80x!NGf`6P=fX+lw^9vKg=jKYblQZ*9|Lz@VJu#4$*6XvS z`0M1NZ9K*kLzZRPn)E=hP|pyVix*12Ke$Yb!#5d@RTMNd#hQq(Eag40k#v0KG1n<5 z`m-5H3IO-tMYbX(k;mV``9G5(MAMGF&FW^wPrgqiLmGq8SpueSeu{8a-TYp#qWeNo zn@c4Y4g_s$NT4Jd6-A%Gp;=OpK<4b!%Fh^lg#3b&@KU#n+NAQtZ~9Eo7t?TKu~RqC z_8-0SaM;*XA%<(5-V3RRZMOggr)6{UDL`%|7`PAP-J~BME}DePEw-?$`3b-0!n_{6 zs>^u%)}qcmsFLxmp3D4-im6jPiAY{L0QrGBzY%e0(cpV(Z0#kLqmN5{l#--ZQg?Q+ z+Sixsr^ejhyjF<1sYrPAS8#7A@o!Ea^f=W6f=doYqOWmQr^_({JvVTnGFIHWS46-; zE&I%GG5w{V_MTSBv5(nH1)rK~?9b>!-{Zu>cH4mFxrPlIa=_sVF&akIgKK%p{* zyvV*Y){xw*cvL)&2O+lxJ^-MRe}BIS`#gxNT}P`qcfR$MSnzPk`%NVv+b#6~MZ{S@ zm@dov0jwOqnj3 zZv`&k$SRP|Z3#MC9CPJ6pch2lwShBuquEzL^X7eR|*3fu@ zSPaztz3x{Uiq?p^Z$1-lMJtE@bqD~qKPt?t(XTjBRikpdJiL2eCZ=$-w)C8_b%MUT zcbN0^bMxP6pL!3np?S4PEQZbw76{WmtyE7G4l0aMvE;Z;oB$m{bs3w~A8j@$wC^o; zUeA78DSoBKNKlI?ioX6XTCCqgAK&8^fJ;pl!3peFKBJ!;(_@*M-f%gK9`(OBtn`~% z4Qmds5(p675@YWf@#DOz!V(DkitdKR&xwZRqMXz$z=%D6m_85Nq0+rM<>&y4k$ z(!0Ek0jOuD@pxf;UaKQt#vscL+h6jO2)NB8u*tyu)qby}@;8xe8@v(HWGhSbSnFwW zHIB!R-Qml0v18wXeOF>&a#n*yvH?@iE9EJ~AkSS+MR(e2*C+QWx2E{`z01>3xI9fy7bc=|1$&26AfizG9CE69 z6aPIm4pjY(cM)Q6!ymHs4I{dqT-(39H)gN&JD5yvvlf13l<7FJ2V+)F)Drp{8-WBi z^){`U>P_K>OA%Hu?J3Nv0&o*@QiUVgv!gM%ml~ck^IUgY-)lhO&D{~L8EKmLn z?b%I25u8=Y@}Zp|$?A*4N^~PQ$;EhQ1xFhqG&X2Ps3xxmyLkIqj%ob%yHM<)NVxj8 ztbl-w4n47%4WH}4!$5X3B{ylJ65uBJ_So`?56ahkHTNyvW&ad?`z7vMT4A33u7(k?gEh8(y6iVb=^>EA}0O+H|K>dkw<2Rvr~&bM^(mFq~;AAGAA z^%4Qs0gIECCR^jDno}U17yLe?yNR7Y4XFpGrI4Mqg%1F1EJhc*m4dAhveFcJn+pm(l4MpWEwS&TH<@ z+{-8rhrC@CP5NnBeBLy}z}|??NC~H$^hVV&rxI)i2S{zLqpH;VDk@xEfAl$g?)-v2 zVBqUIC%^z`fL&XasS46cAb}R9Yf_XF$|4?s#ZzF?FZ_S$^d9)`#gUe1pOD_*Xe5}> zj23shQnYxEQ7y+^lT5R*9cF#5m$oNgIIx|}bh?23dCm1WmVBuSCWq*U5U!?9cP@%- zJzc;g=;^hN$8}+Zy=}1j2pM!s=6Q|HriRR)5CyptT6?Ca_7>i}<}bsj=(5|Nl75h> zDy4UArT>-nM9z%+y>OwLC!b$-F1Ur{=d@-A8I3{+H!5d1NEx(pswQ!8s5kq2l#dJF z7%-R|>AsR@u`4P}emcoq8_DsGm!4LJ(GuaF!~;BTt9+41jE=}D(RXX&#{bM9ca4y&>^_K zkzev)z%$#E%CAm}AX`(6!77o{eT0W5KXDxo%7F=OI3zzP`{lT}IC`_z%Q1*Y0$xmh z6g_J@O5`?*ElTJz)VjT-;CrpoQ#!|v@UR(M`_VG9!l`=mL!QwlP$dNd584a6GeZl` zy-9TgQqT^EtqU!KZ@7~iqnw6xA2@afuAZpALOx+A%Bs(LGXiSUphn z3ZnMWh$UEP6#a5fuO^0=v58-@<@0TwODM@tJbbiv zHMBQDsZp&WO}-qMq*ldYINQ(eJxp5Z4TFBgw`BRY%_*L}T1Iw#Bt)w(;^cH6&E**^+hM;pb@-Gi^ys=*f8m3m4cGaR&^;_J zc0O*<_BOpn$HuWJz+f1ec8CLq^&}9$Iz)mzwN%(HNp#dd2syp3aeBWrYVT$c&8q8% z(;01tpipkuKcn`1!Ad}h!xr@|55-dNnP=(D&E>e2oFq-NU`YU5v56*|~3&l6&2?LRLx21!2 zDDc-h9BwrBBoOF-bn3ho*Lf2+&M$C3fY&xK8^gc3I(lvN^NhNHJYduxWcwxH$E1gi zc3zkxl~&~3{ow_fKDad}ky60hr*1&H&G163>s!O%+*CIrEwwLDXI7Xy%=o;Vw5@wh z6RwKz`hNd&34w%^kb;?_@yy35l0+@4XAT)%}-*ifIerbcD?5 z?3#obXTo3-@#SuZo)m$eKjIvgX#9P!Aox)r=iQ5<*I&Om{?zSU{j>mcV4A#y-rr-5 z8!kXj1HsR9%_2`PXf2#L=RFA#s1rbX3x0C*R=)H6h7;?M!plC59QA{Yt2{40Li3P> zE0v(fsSP%LbpewIr0s{bw-?HxHsjpIMLsVbzsr^Fl{cTAoe_?K`1X`?REi!awqqrB z)qarDzbP(wpBYricG(E2uBqNbyRED>^oU*$US43%{f#bm+t(&B&_4Zzenvyl(skh0 zrfBtbg+%w=sd-8#_UG`=!L%-wBUw`)jF%&gr_;|F$@)pJI{EGS1uP-A!P7aWL93<9 zz}aaTx=(QIbSb#%7cG(Ol(O&&j|}&)qts^?Ye(A8Brv_m@4#peP38ieHqs9a;{j7K zZA!7F%GBfnS50d+Bo}?7Q5S9NV zX_q`sh$dCnHjn6PFMT)m!RpmW)uQ=C`NOl&aKoZGxx^*k*PVx!J#HsIN^0({8P;xC z6hX?uPwSZ~p3&ZQxah3t6*SsoHkzzpMv?ZYT+U1yeP8?$4z3Ec%@5)T7Q4~VYMx$H z{6pXD+kaweP8Hlkd7Al}HNGtoNn2tzcF+d(RAIH3vugW8*xe;S4SHA#tiFRP^d4r~ zyobd!$??Z_LDa?OOV6{V$IKsv*ZA_N@i}@}w|a<*b;HrbBvK~;{yAA8KSv%QgbIzI^_iEyv{88=)36uWde8a5gzWK474h?t&Nx>529mP<$>>;Q>ij zthO_)sGMqDuDtST!$qXgI9qi-&yscJ(ds*>;^D2fc0Ko=b9z_+#fxl}gF6#=+IEk4 z(FG;~s8BpD)P({`*xm0KxG=NDeERt}0SO+>M1RJ9g}0L+|Jj6xl1~nGLZ^+_F;&0k za4GcT8&G$z-?m>`GEF56-f&Ke1ZJRX<1xI)&a%wObUd#cY7cXF5d5@wBKxC!(8uBr z*p~bz+2?t3UE${kbI)ktGwRT@nX9`-+rafZrcFe)!^rZhk*$~DCqEm*-H9GUH|bwv zMu$x0TWTHOpa!6u4!qX_qgc@Aqk9Yk*D@AI!K4<4}qNK-sPF8VGQUsz%fT34AcBMCfoDzs=NKXmMNx0P5Y@3Ae z$Kq#Pg=+sqw8{rV_WJHcX}V28KLq|pZ-WZsvDdU0dJ6Q;Jh>kT-VIxEObXm@VYB5F zuCvecd{b>UY5M)^!5c0&XWTvRTEBq>45W=pHXT(sTR=k@-2C-2GhzBv8Oq&tvFdsy zbYepX%hp?b6P5AYiq4ixF-mQ5u zu0-)V?JBYGQMBM}#NusGmSNuC#BsMuIoAEGMIU6xl$Yt(I7vY*Op9YRUF_#|rmnqv zNHKtqQdHJpgey{yNZzBmrj+ZBb8C6J!&}|0=;FT6(!*c#`dYR1#5Q>Tsgn;3+TwG| z1UVBhPa?E>sI$d)0dTBrCFJ?kXo? zE%Sg?T6?@aBO~@Q%LAFz>)ZD=q&RM5ZHv3V5*{=h88$2lTyK*Mbc*Y`nGK=EY$HiN z`wmzn`_WFQ59ClQARa|h^7)71kC7bW7}&157&ldH9FSW~TS%3r>d@W=V~(sHRKjJ3 z?{6jlm^rkqxi(|x(wVzeH1zeXqx5eY5A_})q=?9|z?0YtS*sMZ&HkAhQQY>6|Af8D zov>G5ZgrhjQjffOft~6~W~0a<+g&goxR}O(_Mw=04f12=gd(x*IeC$EW4&SZn}=@2 z%ha8~HJ$R0rgPPDy;l1$d}tfco?)bOl1n>rB8ZbXs%dkxV^VxT0A6c1KxCS9sKEJa z`JV8gkxRxQury3GuvyI+k?jyob0NgAu$u+JuWmkHlfx{}wSnKMEbz)FcIvL0f%zN# zyKD-~M(Y6ei65HDS7zx3`2Fz8FgH72irvC6<}?32K6Ry1D5@39&Fwl9ImdJJ9|le8 zabVv4!!mp6Y~7#eT`-Z~;iA8l4Hv^-|K?JS=;AdcJ^O;bbILU2{yB!tnEvIX^Vu&Q z4+Y`9MN~MgkQz!+gi*CXQ=*4x5KpZ7+T>YBC*Q_b7FQ+&u5`^tA)FgKo^w z_b)ZsH~>{*^M%!EQ~45Mkyu22W5mR#Kgq&YeQA;puYQzh7$-%+KV&>0Gi|%IuRF_O zwm>%eSO8JJqYj*pu%$|t^;UjI#-i_KcD=gUuO<|EUdf0>sr54?&sbEYH{`W$5}+hT za>4?HEFaUm6}SWu;u7c*FbP(A(i>OYFwM~yxZ2$(Jh)~keEaxiOZ`i%!+j6eJl??# z5m0zA?KRTV7dl-`qR~(i_T+#kN9gT!myBEHYZLMo3LA2V)WcS?_ToNhbaVv4UAP?Iz)ZqGXVeLZQ`-AJgQOe;7{B5JPF{ zrvEU|)LRf|K+C>M3rNBphj!2)MsLc2+~>!c^~s%)qe0~QHE zbK$m7fY2?FR`46gwSjhsi~UIexIWhZ1ea=5@jPe*$FhyIUn`uUpy4n^uJRx`p#E zNu%~A9!cAwIe8|nqmqDEK=!#kvt4IAu|b8CddX-{PZnI2o9_klSPj)@FoJc!^!EM` z*VRz}(y}R@I`3PvUF=;0f)~fHe0Z4V)Fe2|bYIT_q|uIDo`jn$rp}zi1NB)J@=Ykj zo7aA*%r5NlPC;GG*s7R9*)Ao&%IHYFC~yA_WRJlUqps9x0XlmG5Qg*U#b<4s0Jtmb zx(i3*hFI{$6#g?Vbh3Wv8TKD#`pbc-vPb)Ddax88QaderTTd@cq`jPw>Y&F>M0FY_ znsfR@1{goPB6IvTW4hShEkI~ubcN&0Xx^Fp^J0fMihCy|0s%5uOvU7@i_qyjDV3m1 zvHfkc;5og=_hl2tsuB?97+$aVS!RhTTMPo=9t7w-aBZ?2!RRWj3?VrSs@j#8GIG41 zFu__I=;N^*0rdfyCpLy_7lg9z=Ub)DRYw_$BqBXvWJT?55$+tq>Jq98%1t)!AZ76m zM1(Iq3Y0DgU6zb$NK|?BRpPzAzMg%X&^~M%MG=6Tk!wn*7s)lCn=w;LpcluPWK=xs zYp`>o`RTY|(woF@D?OdRg#0Kop|WR-b=G3s_CP%>gBVKsN=8$3y~P2=3oJSW#SPak z_SG7-hnao6{J5m3vs=c_+D*-rSMlZHvxwnQArcNK=ykYA0|6s@dVd}-F{UgO>rqe% z>kal(h<)z$4QuZ;ZGOyA)O9w{b84M^(mq&0V2)ypwvapE>Wt!*DdDx;;ho}dQN-nTNt?Fkt>IRPK2=f+h6f{k~U zGvqVRXMZcH3IQS4C@Q&Zs8ky$E=n8OE5uj1=dDCg}FL*h2+zJd5@jf~IXcOvD!oim6_i*G+? zlKa!V*=c9+ak)8G8~>M4#2XX!XSH1w65xE%@tJ&%uF%E%n|r%9B-=GbfqYsDW-3g{pLmMN2SUJ{i$&nd}K0@crZmylCGBc2b{D|Z>qWhk za|{N0k-_^G1~UIziuS+i_w!s5bi)=;`rJPZ`_93?d)H)4D}1ujXgx1=;wI$UD?0uS zm!E)O?Z4l4^B-x=`LB2l1Z)lhShrxWCqaNEaph8NM=`@yKarcPle+&{4_6J}FUB<3 zolIQT_#hD!!deumoXnYc@E3B;(wPdO+JQCiNVOn`5{j>k>6%n-uoWaZYn#?(?(HBI z?W;1VB{DW?^*zbGK7>!^mto}^)*rW*Syqa>D&y!ETfkt|O(^?Tt?8kznQHr++S(C* ztYNF~(!wv+I^lMBCp3qGIjypdQ&I1}4D9zeGNc5cW|9^Twho9(os&=8=E)9A#uK#> zH|Mtf`4#K)&bwxcWk|6l{5kiW3-J+jAJ=0#hh{hyZ9BqYob;}|3!@0BFcjsAcH?-k zqHL?xo#PqzVow*wy4!Qcp5j7BJ`2n~-$u8A;**gzV6+6X-ADqz+f&*--YiEENBVm^ z=rOy|N5<+nVq#L|vuM=KQO`8~r9}Fi@2?y>8=AtfhWyOZo@>-TnY}-+N<=0Go7Ca> z$*~K%UsQKjH?Cxc@V#6AlAvTi$Z-deJX)$)WnibzASy&{^m#!a15d*!b!KRBvU``6 zszPMxMn*v;>i8Dfayke(->({vJLj21>zD3*%=TvBs@IC|PS7^&gN?Zhotg67JGNv7 z*llQN41na+z_wwFuqe>JY}7&HvHMapvRzr`89t!%ZZB`uVtm|f#!YI*I3eICub5w- z)6)i8I^`i%fc62f3V>&Ox&_!m9-x_u)b2)dl2bd^7ci1xp5`!ht7~zdS&zL%ZB?H| z;TSFA)z0OXsw~q}PM4DMt^ozNF@o*(Ate~`H>#A6g7Z-1=|kc`tC-2rrLYy;P?w+7 zcKVi6!1ECeuge*?_1Yz$fBSi<<8-IMUNKc@)Ry*MR~{JDY8ndeNl{v>BB%E>iab*d zRy31Z23ZO(M{Irm!9>z=7T=+Jr&4q%U3UbY!Y1kvj_^CQ7~N1JK)k&nph){8zjIi1 zp#+f9dY&3uY%E8)w>N(^f?vZ9rg%r&H1``%e;_vgwp8j@M8Z;gLR4M7i?I$jvY1a#eTq9=vN`$i>qe_XSLjR3Eo8g#U+-7i z8z&BWC|KYEg!;v^ELD%J2Ars8DE8PY-%sR$u2$7L`cTGpxw%$- z;MbyickHU4DSekoeUPZ}5Ludi+FJPs&(~eDvg%gL2l_CCV1|?;dzxIUAA<|r)3wU) z>xjsU;N$Ev48yvNnK7If#leJtsb~glaw$ZsHYnd;h&@XBtxMR@l3~qq=c5`BpL%#h z)|UDq9kEN_lKjmF0w9_s7OG%0NuJj54})KdtDYc`aR6AQ1N=_a2Lrc7WtB_k{eu;I ze-(Q7o7agN$ez-nzQ1q=8|rSCNRuUt5Ip~$J;m)9E;u{c-QTYk!tPD*t~c&|^csJw z>20L;#kV!}%y#LvLtYQl2g--Oa+xkby1k+J1!e7}YkDH%=Fx6s8*I35M?Z3_yNPl; zZmZ{)=ZjPAECX{*QlC_3!twtwbRz}9je(W#4oRR35n9Vj$ZnnW*u{;;x}sOV?54#0 zmiahxo+WoP@98^leOXgH$V?o18)Ae%08Og=-jw)^ zde>Xc^}2dx33pehI0(8jofb?#xqXYp;n&|SX4Hnk`jR|pt)fkID_G-_&K7GLNQ(2&S$j9Zbt$X^PzOl_VNG8(O@>9Lk z0e*wy7a@AFw+Avkv~V+q5Z8GDowyscn|MKrHeR3Verf-+eYa;l_DI)0{XvziZWAZBK&6Dpz)u7^5h_HA)v9L)qqQ$V^VcrgQ{FI^HE%@Lyz30^`SC=`ld$!PQ)llyF z34#{w(?Vc|YdaH9RY`s!&k`^Q5kM@imG%+ppM;Esh#);d5`JEmmWL4cdHL8uJ66M4 zzjx8MDImlDXS1Ddef^^}NaoGsgCpXW0~9`r60+TlehN70xeMlzCKP#~l^*ckna@?a z_>)(Sz4wKCyjS2Yt6S@m77R}XA290+QQQrD2g`jKsqf$cgvu_+6!6w@M0HXx097A# zB+ub1<1?QGWpg*ZTOTN$TT6GCX=kbuWfyu{Ba&J6?O9LNmRptu3a`pbpMlivQiTWb z&~5i6+*A5#aLA4tjnw5rulrr^v78{`rnBQIh95TaoL^tPIt?9yn&lfpqNdR4~3#v~Mr^yzCCKKYZik3xH0doJ;)D6q|^R9bk zi+7p^``$8gT&#IDx7;I&+Pt24QlpWR$_XsfHvI<-Z40bi)F0cn)Tw|rz0;GG)L^MG zhu(O&_6HXq{&gF*`-ZV6y(J!NiyZ%IFZ%Je%^v-(G&Bi$muJTIHtlKak#!tnD;uH< zDsIWDruDwW^xbSksb%vWCbTxE@)wUDA;gx~5fug@+TCHJ3w32I3))m6b<$ljAe{F^ zd`GeV!{CFO&N9q00yw(PTcgx~!Z4%_Okwq$0Vs$EeLU5MRx=emZ=}GMkgubp_RG8r zLRJKI!$(V5PyGJ5V+xz7!&j#OFh6vbHQ1AhD>LfLP6;c#L4P^<9ncpgDkyS;N*c`T4_ttz0YbGM7;+nJsEOy&20 zXyvKl;IL%v31ykSs6{Pyn`>*Aj|y$pTG%sy<_1Rc-vEA+3?s@fPHq8n#G2ZHhppX(ShL50D<=lNP)meze3tJm9cjHxwgN+}X~0qrV%{xlfAnfR5wCTdErLrfwXgt%e2#F+Pn3D zhbhV*vt`vw)kNJ{&P&(rUXO4{PAS1=-03(BjV-%Wv0ki?lv3y;4K=OEW*#VD;N1}nH`4W2kBdC%{Xmp)Pp zTHQc566X^lvtxcX~Po-=$UbiGjCI0`OWG%x$)@Q z`lVWouEWT(2ixtGYt#^;Z8y&}4{7l8=jg@C_M91C=c~6ywaP1s{epk8R`6>wTF1Q- z-M(#EZ500_)}lFgA}X;O`W8o)1=vH0C6O&p%9Tw$8S>%d$H4@7p!lc>;V}C&e`EA& z!6qs1_V5i;f#sebvnRfC{}?{91ob$9DTI+#E2=(%DvJpu5jzy;zf#i>@1=K}H0T!0 zRq5Tf?Jkr2u~({eZ{{yempuF|tsaTb2A(-&Yl-Nhw2sAf(Y!7{NaU>74xF}=2yajy zF@~{7iMsQA?XvB`)$(k+f_sM&uA8S~2-gE<6s!V>Rtw^5YF-DAvhC z$|W~aF0B&kLZ%1flD;7yeAY2R!wgqg+%v+-S?>R(05-jn!x zR!4^(*Lof?ev+gC9`MO^h-A=VOlzetVfAX&usL%3B2908V)#|)UM_V4GJ6#^6tG1j z4qPWdKpoiujCc|jNAe-peB5YN{ye5q8Jq;;Zkh(CFf`Xa?91^t%HM1nE@U;86iWm0|UDoA`fjBo?_43v<8kr&WY zfj=UmpWhF5hV)`967Dyu)R4RkYH!WlEG&Fs_G>5i%ivjtULgwTmS8$U`v7dN7s%&l zKE-21vdjhHDh*j3;)McdOwyDd+(#SY&TZFv<)5ePpgx@aOSAVv`tLp0l6^r#3Ww?x zq@8|*$ntEN9P_DVr8m)|@%hfBYwbSLI$hc!8?LZN9dQp z!Unn$pP<~xyK4wpUko3eo9aGV$&K<`^hMR-ytP4)fNOej`j+;Iqbo|rn`h>v*P_L7 zwbBVo81fkuRfy7q15_1>DBe00BV3j2_TJuyckP1EZLB>nm)xZoKn2AcxnZ| zhV!T7Z=D+f(~5MqIf{GOC~3MHTz))|WTRT=`ydnuEzcT5pHa0Jo}L~J>S{>He`(`= z#l8N!&J=vnzVi(xR9v-*js??;n;N3C%P+lOf^M%jYZHyy7nFPBo8==o9dh4XftT#^ zg?hRvGR^W^x3h2Plr%OR22~N6!Q3(>)80Yv@FdQ&lSjc{MMRGlWUZVO^!?ro@itEUR0FFN}p@ZKgs_qZFHj1v-AT5Zeu?tn8IXRcw4bN(zMk=UQE zZl?J8wvKY3LY2e~iyhF2jsMbmgc#S2A)l7t3dciYT@+C54uf^!Wu0!7_T8)B?`};n znG1$5&g!peCwdk9$*Wv7r?bv2LU}i#Xx#RIdnwMzx!rYXGiv8v@kD!<2kbPiO4n^F!n!bh4kYvGa`>O zIh3MKy)a%#pyzlm^a^KXZ!cRcdQ0CGGe72`_wYimWSU`>|G5?qI+%Nc86*WsFgA}v zgKP{{019|-ckb(o+5#!pX!zxa=z8(kw=wX8y#>=CMb7YS{k3~+Ulud9^m&HC*!vYt zMeCreo+n9<9d=@xT-vUuIaXfRq_r6I@^;+7O9S1=8v(3eH;;0U|0xHTs7k~|>xqM< zeu=J5M)f|tDh<-3tRYpN)sN~?C$3JY%00s54&|E2`B;mSj(q_uQD+&slA~cyTfqq! zWeb-e{zW!*10~c;tIu`Abot(gNvrZXUeBIT{XV0anBm==s??nndwA{6{%RsU8j6q2 zJKFa~Z99>SS%6W?W{4;0eb*p=)UW3& zm(ILHUHxrJI!=qC3((sU!V}b!1e7CDxGtd5*(mfPIrcE1$S4u2#QNrLlFw2}`_I;u z{KTLCm%s_2Df?d(oGV!F9D}nEm*{LY6eaj$;!`pzyl9SW+g)JvZ0klu;w>xmdlZW~59PKhU3{uV>iLtY3)ad*g4@e?Hnj%-NX?ahqJHO4C^@iX z5Tb&JqFoduNkeLZ)~E@gmo!ZFTSw2~2)V zG=t^RO2>Ys5esVKeQch1-rMgNf7@&YE>=IWF1=Dl@2_hN`iJ4|efeAN=WVE0Ss@@ z-Y3?1b%ikbtViw=Ct9VkvJW!>vAQ&r|M{2=^xZbj%o z5|IHCK&)%hLiL1GaYb1Bwff8fcWx9Dn^alI*F1-|7bSdUm-TK%`f>EAxkvySpk9&* z;Z$AtB7~W$LFmZ}FX>jU>zcrt6$Z!(RP^P`-TjBb_5@-5!0v%T#I^J7g?G%4Sp1zw>St8(#DXsv6mLt*N(pls70Fg`y5>V7Kr1b&UA6_5I9H za<((+Kj%Yt`xsp$TX4EmCG*^Vx%`bE`%@Yz{8+_{rnl|hMKSU9il1(?HUP|*kqm9+ z*{93o6gR$)m|g=Amg6!1C-oQPpRs=pV;O8c5%l99hAmZJ5K`IZPv*j}t-lAV(k>v? z>rrV?UQBog3Mo|#`K3-S4)%vg-;5K#oD6fmIuAZMJ!BcqUi0sAjQyLS;y=ij{9nyW zruK0?%VS$J;&{i+XkW#MK7k*9+^Q<_5*e1E3$iWfuFyv39|3>v4jf_$*iLFf4)c=y3c_D0;o{h6X?Rf`eSqL9rx9LJL13JfMN2#=iq7Ustel(W1JdyifD<{eLA0g-c|LbdDrw~|V zwR|UXCW+)n6xkXlUS6#m4IWD>(pm|gxrf=z3b}JFM zkKnjy*ZB>dax*5PQt3+MYI6wOikurEU9cDtJpNKXthwhoE8p{wlV-TcG#hk9%FqyTo?k8Mos}+t)e2i~JeCsOMz6d*np^vs(;D8Mq^Fk6Au!80y7L zUj+EJKFS$TZ$)S#e(3R!?OPF27ncKl%nJ+A93N*ky#`L2F4It3bW;<}g|Da(S@W!w za=<2Uv~`B)OJXKpS{jN&iE2tgESiZ%DRn&j4q7QndtI4XHl!cDk|-}U`oyg}_hW3F z+&IG#^%mxDok|o5JftKr1Fnck2p8r)K&paBBgz%7KLS@=R26?Gtw2~!SbD6Ha`}hq zE^jC2x1z*dnG*Mh-KTDcT&GdcYdLbOAmcs`Bhd=^o{`(gw@4x;Sc>UjL`p%-}L!E;|2ZSjrlM3jQ&61 zKKfgd`0ua(y>r0$&%}Rbaet%B^>H;{kn8F)l6+EEqpsF=OZy&5U$Or4WbLKvRskPe z+8=Ca3ndynWLVN+DGG$~zmE+IG7W#mBe5~j-`^<{-N0*96jCqF9rMAIlya`0!}FxK zSHW$aeLS~L#T&;o#%|EQ3EGr8&7OkGaM>k>&@ z(7+KxVIv#S*_8<%K&qGYi5$JiBM=tt(%5ulqUZPVXwyCUuuML_=jO_vb-S%u6Q4Jv zLe%I9nlw}W5e>)OtKI4|*!AJ}lxtZxKC-{Z@2bWeMeEuwO(r1muk^T6T~JFrTdG8D z8!{}o3|aX2$qk(Mh^N?Wsd%@nQQwe(s_b6>BPTakGzSD*8clxZKJ-rreBZ$J>{8Zaa6 z%jMbi#OAeTget6xLwtV5Lv5wmC+$c`>+M5hqgU90Ygz{;m;ne7&9WqPZC*9D^}kZ^5)@G4Q&{4*c;y0ALVl;qzk`PE#1 z5#_b?NNCplp~;5Xqk3GONHiQuv7qXsX^~LR%~YwdrtMVE#Q=V}w$W`a>_rg^rBB4j z5$4&@%Rj4k4%=)BOG?uR5t;M>Og*wqb>^r+>lmHW=b?FE(K+ScF|&sAJ2Qxo%w&S~ z=LcWyAF91gwjI*b0Z*Zp-izd}gq!AvrQaH3E?tQ5iC}iVplEhrt8Ftl-0wH0#d+O! z_siuU!7{cT$j_|>#6$|6eU~U;1Mr9xKEW2=c^8y^1ZRwD%0=j+j#U)G|ZiWTm z>c4e!49ofIp@7q#p7c)ohOe%*V;?Ipyufn) zj|4>pF#}J5vv+Mx?ieZ&KAk#1d^ud)W z3O-2j$t9Pn$Cu~@OEhC|tb1X=`1I4+S?LMWqt@qAgszkOS;4Z>x`OS_I z!GwvW1$58YXV`YBv*D@#!QOjEH5t9#f=Ceok={!bP*l1!1tcOOA_6wL5E1E3qy>qI zqS7G(3Ia+;M1)9<)X+gtk={uN3epqQ_+pB4{O-E5zFG6l{mT6A%$+sAe+(-U^1kOi z=RD7O_I~!JUl>215**r?Y`OF<{%SnS7_#1KtRrfT7j+xfAU>#>F8*^r(c^5d7RvUnZ~eq6@i!6d#5kP0#MfL!3Z+X=W~tLPX(qc$7Ez8 zl3trNDSC%r?tH9;5Qhv;4I7Doh15f3hg|1WC%TMx(`~oA3hXShNVAi&9!Yx~fQN#W z9hj+hP?Q;TpSrd9YlCO;c*a_f8hP!7n(Lylm4}Cn@noU$lgnD-yLu)?L&ctyb)xUx zWztnybMPAM#-pGJiS`!9Po<^#X=|1(aWnIsQii5GUPr0RY_%8qi|^e!C$?inb!YK@ zbR%s+hxM{brip%4485V+feL-6;VU*t1A670nZY|lN0^IdU6LNRG+PWN%2^ZgQbVm` zn08zAE|d)v#5=u~s~t6Gcr9g;lWtY(o67U@;_k(-7dnIA|CRJJ>M?*N{9)UEj*EfO zY&PLP)SMa*oR@2qyha}+V?mY-M~OnP0tOm-@%nx7w|S*HeB;RVG;#eJ=1U=?V711t z_(zK9Td&YmF*2d17x3I^mzhPZ{mv*g%Gh{Op&x#&v17uimaZ|gn@8TX-00@xWBJt? zEWtbW++c{0GM}Q4qkPBEGK|~I-2EdzF~SVZQ4d0_*%)tP)YqpQM2<)Yyoz&DH1(^^ zJ}J9qk+YyhoR2C)i-j;0u;}?I#>;K zbKz52xpYX;FJs^za=GI_&{6-7wKo5^D*yj{@BfU3{C|B+{!IK=vbg_1Y43*X%*n?i%mtajXz6c~Me-_1Qvycay^5dtF)&ZKsRUY(nUK=zfGC!BfqKe0Lce zq_b8>#U%uWH3^lzSB)`@OcZl$p1jfdz0aj{o^Z;$(AJqV4G!0VO<9t~Gr_`_9Vhth zY=tf^R9JSrFEsbBwxliGs@OH_zKz1E2+5zxTG^iH2Rm%l;KmkR9py}YNuY}$V>^Di z3Q~K@4pkh=B6B{yS>5owDj@f&xmNFs*Jqx;V(U#!r@NWSPbH?pu!t(cI*fjSAptfF zQ~DJKh8pvfJb)E}?ylpM>%SMhqx)A+8;?C~tK#!^$8SH5;ogM_ExNx$2k0t{`5MI3 z>180L-c46P=2;KxGDUi&OCBv{Rw(M_y_&u@KX-huyPXFzSGAJOi1}5DpJ_Vr3C02U zAjA-AmJ=Cai$UxbcYXo9K2o>hqRaVeh1ql4Cj=iQhrjgnXLneX9UsEIYY?Jp0KWu5 z^yfyxhL*raJpDE@{lWz5Qn6Ex75Dj}vDVJ(DaGOgy%HY^h`eI0p7YlpYw7o3rm(bC ziok|U1^P3wYA|_SLzQ78Yw-#h)O~E$(ueQNZvHYEO2cgX)y|sWOHbQiZ$j-{r?7xq zNvMXeJ5vWc@@icPba$ZGsx$(`Vg1BmQyKMlRQ>Dq!imafk>nfgHylO-NP!2R*V_*R zay58p66@V%44Y=^#?p)MR$Z#qC;Sbaor8~igS2jx>*wrsKu7Yui<T` zX_ujB0_DO$u~1T4%F#-1Os&PF5D(O^CW@DfPHp=Juy4y~YNfd>7u;s$Es&7!Lrh?hgE1a4Kp5)_3rw`LU zEq*m$GT%_7Yk;DaI75T7NY3oU$h9xzC7^lglW`S`8KiFp$s=b9QQb*LH|Is4?fZgJ zd&h?5vzct7EihjhYe9;=d3fcxW__Op!Y;(25}#sZ;0edg${QX*M4dkN@@Esl`-tkc z?ny5?X_X0zw)tO8fHJu0f22)je@=<#EVF<3zrC=LeiDD$KoiZ7JIkyE&T1+A!}ggA zsn^6R0~+kV^7dl-@TCAksYU!|tGv_mc5=2bLFM^d;G^|_)hqPR_y4hD!>-F-j5`L6 z=!^rMU&j#No)d~gxG5=X-qb*7f6Bvf92r5o37OGd&=d0eN1L@MUM|fIjl%)stE6kI zY0md$^xC5b-w*mS22z^OQ270|S2qk0< zGI>CIA%eE@Tc2@$kQ+1P_J|HPa5Z@4Yn2@_U|Zk-TFHSZz2YCXr;C8je+f`v-h#|H z56n07KWr+!Ko+csrSLN358LTGgb8LNjH+TJ2gGS&BsLL@T2|vL+!uS6oEwM<@IP$% zSe89lnPTP)18@|={9!YJ0X-PjQS86El5d!A^*?YYaPm7}=fDZpXf7revft=%2Oy?Uo2`rEwfGW}t zumbWc;N4U99Nbhc?&lx2z}SBd#yaE|8=9uLQr=uXf1_%;-=kA zAPZ`cYipuy0^K_M+`_0wE?hnGBJP6>x8f_@W?F0cz2iH}fh{K%=8jzU(V6>2NUM8; zc3dRhyG43-UFCCcub7RP)cIo%BW;TY{Gx^%QPU3K%+8c#g~9)P{-1RA{cp6Ue@x=_ z4{mlpT=;+JDgPg)=tqtn(bq6ByB8+ZAv%Qr9+crZX zfKi&2=^r+WTtW^8+ON#WzyV3uNnruz5izC`>ee5&G!-%+hq3#@eqZ>>0GfI2yWn5y zkiS@Mk1;FfaGlUH>-=mfi^#xk3~~^@j0AfzL2-TNTCNwsO{a_}QbuIw@N5z@1AOKk~W$^FPBL=_?OsDi7b2Gdtrf*RAn! z_3$pB{tA0^$fkrX?>t-Be~^IpZ$Z!h)_br%&`J(xUB-ac@>%Yk5{!#21JrukL8ALr z`F9Yr4U=vEa|{s+*#jEv^F>xGj`@x?_xti6w)b-FpuHJTRgQw=r~M{3Rp`&qKVpUd zmn@l8b^u}%O+Y4+V>h^f3*aBNYJs+umvo?#qh{Xy`yD>~TCLvZ=hLWG)AiG@48$9- z`QKg*FMqb0WW|5OrC_fAZJ`+^RNFs5E6-ak`v!Tc)*U;iMq7i=Uig@j>xR%2*nEfU z+e(DhOx?S>rWn-yuHbGd zS^xcAE)hY=qd4O~Y~a`npkHS78N7@&qK!8a;g^BDl}`#6JrgCSn)DTZ06a9+Rz2Oz52V^12LM8(O&`s#cm%v zYvv~T<816usQof<;bA_IYHGY`((-Dd#Tz&{Vz#f zp|Y}3HXHhM55UK-mXGx-XZVjldNO@q;Zx7t-d_^{tx-q~PPxCML!pk|vA&pXn- zb7DURH#F#uKu|c%=m2*TT5pv&MRjd5^$HLT(ET_XcdSG5$<0TSv%Py7q!bkuN|ZLP zHyWoF5>8^gz;SqRy@q}PqQM`v3N?=E1PNX%NE_~Ts-vsSDO4_gIabrt>pd%R>qhgv zQ^$YiO=D=2%ohZAror&?qIDh3Z-8X=@`az&yXGwW@;#ZGy{XBYwjn(s-RkCl&4}N4 z;~rov#a}X4tT!j7B#@w}c9tD$~o`Y0g=~S{Yi`o2{?jw!QX_?ZrDO+%xoH z-#bqb6z9BH=?f9U6>oCcUStb?IqQrrd+(Y>3SU3+`hq&T?-D`=J&M3%*Qe+QKKc|h zoX5TxbpMX5pSI2uYG^@zzqh1yUph^%Ec{}ZU_*Pi4Uqf<=YG(-;x{wX!m(giY9#&j zA=>}<*%E=NAo2a-nYIIG0lFD!J#$RoT~TGqFvQv9d#Ld!C>m-04$no`@;HRp=_YuSLWn|pm zZ~Ehnb~Uf2r{-MWT6%kCDW-Y$$++9?uX@kH79qw8g$aV<0kD7_Tps`{(v6t|I;4Xj zWuO5=sB4y5_{eQeiAWq<*Qh1ehl6l-(;`fNW`FD_wNiuQJ?j?!e1hk6e}j@Lw+;lq z24U$Kz*pEs3B+r}>Z(QA-!<-as1K-~vDmTrf2uW<0 zKQM+fI=R4f?fFf&G7PM!*i=aK3mFmad02~ne&5c6Y9FH(Hpx&iF7lBtIU1Dm@nw>A z->wrvUcr)=Z|~L=D8cL|P#kd3pA_E-x7(sgENTr zt=k80b9xPAT~CvFWxiSL$hPOfi61cN2(j%I+;d#?YfWoX`^3+;`f=Xm@9D5?^Ez8Mq-P{mvh=1TQVx--sE1b@GuIA zo5gTMp4l+&AxOc!aL`fZ?!hD?#et9nr&vV+|A}w3c{wO-VMR9pel@vNBKdshLlcZmZ5Q-UW(jMZgOS?;zFl<4%tKpvkz=W_CM+APt@ z(dB@VPP|ftkCMuvjZC3H?tBDjdUC_=IOWhvz;u*f1{E&KhWy|uco3YFkta+bVRcQ`ero|f2r-&F z-uwZ)-XBv(+oW?(E6}Zp2xUVmWWTeDX;%mHMI#4iEb~_^u7P(;ah_fi5=^4yu0Y0)0YX z(vWPt%SJ~Qv7FHKv}GQbFU_F&qF!&5Ox&i}p7jf7?%gfl0l7x>05WI+aqnOBZF%5c zMCeGw27je@#Ako}Xl6(Fp;dZMjn8{wi8LumK_T8|tacHmp!kbcv^JVJvLpMz=jvehM%DcJ_yQcH*I2a_dT3hk(YxaOII?qv@?$ccb4%) z8Jx-9#QH@kKlfKg`Ul-OdRELP74`X=n60qE*)DdiOMTowK_(|^EZvoC4|p*G41<)?|HqwDM`n8Q`liCvO^n3uV;)5uZlNbYzf&Duqe5lqSA!ho`O_J zdC;MVPHe2JEM!Ozha!Ng!xr_I&6w-zGMU{ZSV`IA{eEWhywt*s$kEN{sTU4G-<=I@ ze*2-MM}N!(EeJdcd!g86Nv2y?DD-%Tec7h1rZ(@f`w@v~>Tc^IC=YxO?!K^a{iL$w zak+Ahi-fmBKX&R|>>M^KDvErR($4ZopM9YEp%-))Ddnv*LK!=;PZ5QMj`(b5Xz$K`M_&RlSAMA#BrLvTp3UF$WptJ!N(Oh<8j?P;q|lB=)G*G784j` z2ng+qv!;o7Goa?%c*b=f6iGMol_owy>9Q-DN4#;h*i+N^oTSiuJ#~Fs$YlBGokna; zhx@DZA|p>t41Ht*3L~uQ=U=FzG88#%&+q%y(#W!_wot>qBHVz_D0d@d>VkwAyO;%` z-bM$hn6}FDH!F5cA4|GxpKWWbOAUzEKha!_Iu@KB7V;n!VjETv zsSe{lH~?()>XNJ3@6@ zOH*j|_K1z*x9!*8eXo`_yAb&K02La!{OVs5qW{12Gg=wb9*iNqgo_eL8JHTIN3FW3 z!xUO3*%0WlRC(WaUY)=7=s=WVPV(9pBd_r59O+3S-RN$}+%6MAsm!YEkJf9cjk%pT zbRn+d{<=1zKb9fS|A*}mH)WaC&qZKmhe;DD5g^!*Rv%Gfo-}gDpv9OE9ouQQx7D{) z2IO5a!;Kp~e)a-kyMAdf1c@x(yuZpkFDOmD^Cy4>af@fyd&SDeo3qEp`9g#mE^Y1GSlq@fl(YDUsTz-(4}eXn zn)%wugeuefouN8>gAlKQviH`%w&J6f`NR{?CLDNdX1`E0%UvTw-yhefF|FK=pjcUn z&~!$dBj}Ql%_1zZbw3ngi*Ly!FO^&$mu9a)DCFsMhXCJ@HQ9qj7U<9J2e-qA*87&t zf2aBxt566r^Ya>lzIyd);WPUsgo|C>gF6BhgTLH5dQzi1SA4wAa8BUNXho1lX#JUH zeDuvUXU|*b<5PLG(ss37*G^G^B*Bi*!!QA!t>&zD48;Z}?>9X=gzW92+_3U^20-#@ ze(`jH8HXg115YA9oHY)7h65ln=`Fn43#8wW0uag3u%%$uUEV;^Lo!Re~CF5U!L|XQo1Z*=ZRoywPQe;M z5CwO8{lef#wDOAx>2$fq{_ZJL*~4FGxW!)J8VMc>(3*l@2iyG%;szhZzU$7ctL8{W zs3At|+^HCIBhIxA+av3QvPU zc?`MOQ@hO;{q=8|hHx~%I>qLaj<&|Q8jRgm5yc=4ViOo@MZOu+`^w6krim^j=b3?H zO4VOTk-=$vA-(Kr-@DNw!*z*3+{Y=oq`n}OJ2gPHFZ~=(+xDW8_HC`U4a72lMY-+* zr4>aMu-XAYsvxHQG~DZ0BlZE@(+|de%`{y05r0&$*w0G6=-q2;nekY<+}h6(l6*@( z$d1m#Ny~Dki(9d>zG!X;MryJj-b8vAr}^m$mi=%Gd+l=WUc>|AG1-UT6@OEy5?Ejp zwU*n5yeH9-Y&>RsVbZR*F*{O9tv{+4|=QM;Y*hT+|} zE!Bm)qz#^r!6qjb?Yn~F5fs0z4Q&!k&NqEE!1WV(EZ0L$$#I$t4JXQ-^ zDt!axEt)@S-c{*$ho`wg?WIFccGyy$yQdoa*Zc(bCOrJw(`hy_D4l)+(x90zi-Fv* zFv^~ZYZYZ+pfYM+?-gGOEoiZG+HF*)DRL}ZCS>o+O|7uH$9Ic9#*vl|cf_@q^d-PY zof-hw-Bn`fr%Hf;?Px$iP#}cIXWX>#ScWy7HVH(M>_H02kSV8{(_TXHVE(SwQYJQn zU#?}yD^ctkBJ!Oq$SQt`erqp|9agJUyBSpbx;YUxEj@>zzr8p|IahFZWx z@?xf;g^_+P4V0GUguT)RzBHS!vr~K^}llU4$2FM(76du!eSMszs%om?Y-!Zb-wCHCVi6^kd)T<(O4~IuC>N zXGnG}Z;r#U_I@K|w>_(+nm zN#08W#dZ)dL2bPdwOqbYYw-7kB!e=5GGGkLXuWh7??f26UpFb_%i~Iq=uVFJNO0!qZDT zHivb>>n+K94qRTh)N=T|H$8p6{OPXWi*!y*`$g7K);NZ82|F!9)1pSihQ81~1D%Wv z4k$%9X0gUX-x786wRcj6zPw)kV!J#|aMvZsLjoO*C6$lJR-TYgzDu2nx zy4gnfRK-#~=iK2)PWA7nlZS3NEW*MG1&+t#7Kdx<>qWxt;rj{R@M&dQ0W;s&&<|cU zxPIUZ@{SE(q+)lg5h3oHlTU@tX|t-T*u6FL0Um0(iu=oW&who3Q0DX#u*77_3Mhxg z74;^+QcpiP@ocfP;_e~T0CHp<0hB9iYM9Et?5~P97Ju-u_6!BU;xIQdphxBGjl|?; zOR^fmxl@k(+vTh`OdFehc6$N)t0^&5isZf=G@VYv3>hn|-9Z3-GaAqmFMYt^33dbe zJ(nuiGiv%$V0kZr#t8=GycrtS z3*WZ;3I{dVFPK0iNCOV#B*HhjSx+#ROPRh*fgd0q^xG7J>87vItusxx>Sn>J^ zwO2=5DooFV0%STL7kbgk7b9{Ki$!UG)i4MaQ3q?>DX@UrMB`#U$scbO_xYvIBewL~ zD|efw5>mS(Z`=L)y{00+Ty2D*vsQGMC*dN2^a4B_P?m2$1^2+k5rt|o{DguS32>)#m8;w zT=FZ4>=8IR&F5qLhYj^Bir@ z@1zRj7u*9eO(5s3gCM=T6G`lb?bek^mOxO=yXaVcvoa^~6!IsP0hJTV8B*^1yOt!S z4?ezLfU1=7ft^DS!zm`jsYO}@xM_n)^c;L|vw5Wtpk<=8^L<=(-ck2DJ$Mr#A>n#v zq+MFws3hq;`lFJW$9!sr=X=o|LD-yl9hty~^vFjD`RX-Bz6*Gqm~~lgqnGbpQtoqJ zm#A*EB&GP$EHdwM-AK{X`m+;Pln!9?)z8|z#gVjGyry&uXqi^WOaxUqSgmsR5hJ3Y zpTSp#Q*x(9MxeS5eT`2_J&ujdOOF-Y#`hhSzt{fT7DMh^KLKa~D{*4_mXB~uI%cPs zTw~$Gwgi!wj_hlV%ke?^BmVhPX;C0XJ&vk*Tu2Zm1Q4O4gIIzm7CMYrU!yBB^oMF) zFd#*c+EgoS8oQZhpUs&IIR(~v-xPd)q;FQzlORtZl@J7e0=sJghAcM;3mwYq-iW$5 zVk`<7p26C_8}TpMHXeb~P}vWwdmmr@c-Xt5`Ge>2r;KK~sU1ri(7}nm%g_h^f+I$I z2q>iy9%0z)?ph<*{S0WSuU8uNO2Q{FQ~Cn0_f)1$<)m`<=%hb?@pWg#zApxouZGcp zRpl`x%om9ppeE1xjadMKWS%gj-}xI|M+pK=R>@@zbhYtGBjS(b5s9_lzJYGc#hL2maY=tI;C>LZFsQaDxC7Pd-K@X=H;TE^--dC2*4~C2%$o_J)lnzf zWpMjY`LDo(U*>h{hJ2pV0AhfnADqXnbe4 zEs4;XkT7%qWT&L9*T(z&aG+#5!s-g_bm)Q0#ppwsYH5x2^%m;R{&k}}lcd)@wTs-< zE%b1g`t8qjd}lTdOMbC?uxnoKUCMUnrD(%MN3vm>L&?Q&t5M}gIHT-MvAF~tpiL+} zkr1{89op&uP?Gq81hSgiM$u(aOp&vT6<68LDM>wQkGWL)m-LV5Om&M-ev8_B;Z?Y! zDkT$h1wY?Ov&NHr0}7P@j`w)w-vjdgGye|EdNUvjxGg! zTALq4`n^AFI=Hph1OW<;WqzWUc^5$sW;Xo*NJ^R^2#V`stgF!phjFt4WW_(j{{`*= zJMcewxq2({uJycO+~_9XQEs*r?dYR*F%JrS(wIdTs-vg+rkxIt?K^p#BSpn2A%edD z;+XD9_?Z!P-50JN_}ZHIrEL4-4vR^Fp2~08JP8>BlXTh`VF>QMl|ZNiY+z#vsIw;o z+WzLWqJKv(H&CH&B>%SYr(sG-w3+|IeYsW`6JkB0QvkR-fGtoAr3k4+x|RCnD%441 zrge`fCCsULUdQi$=9X1W2|A_shfSg`fYlFY_y4PBGBwcw=Tvh#q4e2bSf$KuFjMVI zR>qQTAGhD9PXmwl?Ws(-eJNgDA1*;4r4S{^6wC%UklMb{Fcb#kT`?H@(0YWjlwRHz z5ExKE{AzSaZ?%VGw^q*q_aALg$s6>jfdE6?yceHWZH+DRb3JG*T5FL%A(b}iDCw_X z{cP#p);KeksqQUmG;Zi#vaQFqm+pCbgE1zsH513u_iMk8vT%7E|l3jM&e~k#6ZW-j<>1L&M3ft zgnv12qlmT6^OGU=4Q3Wle?ps7<%)~Rfbs?rooT2T%bL@lL`FSV^I^iKgpyc zs>AMw9Zl~R@iav|>Duc9*ysCWW@w$v)PRanrC_Mu)>am%B|c_@oo5nop9nK5G&2B{ znt~2SDe9GW`^JFE7nA{)^ebbEEonEi9h{=1*y@B#6>4sb^~gQGi8~oQc)q?dW3dD~ zbe;hp|G_V^Xu}YnLY<_Z7Hb}1aFM=@>Zn*gH{uU<5?PAF_B&d2zCGUOeHC!Yb$d6t z&|c_i#M?h?*j5dO6*#+_(zT#8*dE43%JZ|+e2FD$UXi{LtfjlJzqo%0`_!{H=_n;afT8PP5 z5V8``Mm~A<0_%}vKO0`gnW{Q*iO;KhtYS+2n|Enl4QU$K*>m%HyL)?5k2L;4edagr z`$vh)uJpIXV5t~pd$#pq;NB@o?$qwf%vu6aTTmg#CN-;2 z2{e1^d&*z}LrKY`6!BhbIH)k4b*HOo(Vq8H@eY5pCMPbV*o!xh7p7o*k>a)S05mUQ zH%^ccoai|OmwGFVVOF2_o>E_SM|x@8vP@c&^Vm-C-4(sKxbK%_nO_gRpc_FLGYIT^ zTo~x%A|h@`ZN7-)$H#Y)eSTS(&ms5llR-9k=+FI0?i>8GOVf^FE77J z+YwqH?Av;nCyepVgOHiMgaqQ=R^eW%4Pq!Py~s2;xXk3nZ?oset~qxc5P6VSYZ_Q| z`=0GZ?BWSpP98gJ77h-Qfm@G=wV$de$5HU~(~aVHHkkD|k1$$=G3vCFhh0*hg81WG zQd#F<9nr1D(095pddOIWS*$BCy+{+K>b)p{9&~9c8L$%H6c~UkIYX3N-pN>UgOgGk z?r?mzZ4%<6tFdO$O3WgExR1b$1ew3lywJH>8WYp3q1&Y=u*C6)4W=lx`=T|u^n<$H z$&Yp6Ikbdn=Nl*Pz}^60D)MFfzauclDH8f-Ca=Ni%D=pvl9m6ry3%mFCop61Mc3~O z*d6g7pf~5QUeqbEL5Fb}nJ1UbLNfk41}4T>MJ}`UFsV7TIIxh$0oE@=D{7$R5-53{ zcN|8VPb^eVNMznL^LBd_q!y@}F>$@&T|?uJCkmdS8L9YNr7%03@GD`f1c48Mmd?qw_CTE2otROfReoKsr;%3Iak zlDf>F6Mb+wf*Wqip7spFk!(_6GR=n?mlM!Z^WeN2gL7Kl7I=G2i85Orm!EsMxa;ki z$t+payPji57Y#-FvCE3xM9P^#=qPSufx6XJ%HqXS(>q;NAQ#H^+NYS#Q}N`6F;P*C zrFOaGCr1tr?@w`bob5Pvz|{hN6kN6)dM_}M`UN;eDkwDwK~e7BAi*RDNqsn-lVOU& ziH6K$BlfL$q7bLfv6JsoJdU>Ye9*(s!DpE$pz<>5OtYh!Z@3qtXYVXO5)Mj0%T@;% zT2G)SkQH1tW=6ZU0&5bl(95$j)p+3guDiK3fj0)eO#o5^HV@j1SfHoc{)Y{3!w|!h zy<$-gM1E-=)QLjK$79=g$m>A%R6>sB;rui2y4w%jOtZ7Ko6O%u<6b9%C)En=P@-6T zm#8@`UVX9^qVqchBWuJS9M+kUaolvaP4LmDhF+y6f^oz zv;$6J(YG<}yBS^-XBJNb^#N@cv-W4Q#AQ5?Ibb%b5coa@-%@3~QhQX}Ht*!b`puW) zk!tUDnT->Wki$Sxh4b&0y)}tq#{!M*m*~%~q7O({McxF@E6g6MY`p#9kocY)YMds_y+}O>>25+au1FO`TB7=l65}%@#{W&CgSIa8Qi<`DeNP_8N`BE zJR0;Htk3ZJ!OlGBFqR>**6Rd&$Wnk{R#pcKCdRrO5|kS}vJW}?b>Da&p?d5L<0PaI zRHFde*>~?S240B)b^Qj-K<9H;hJJij$BDDsYb)TK%*_y1CYP>1pazizHVS~=`TPV~ zxfd26+*0?G8QnNJHDjSLpn9vOdsm2xnE<1y<885}=sA%S%%6oRp4@;LB) zJi&A$WbcA0)VAM$|F+D z{!%{uAuhTFN|ySoD=~=2H&62CxiA3%D6tJcv4$zG6}C~mZ73P~i#sGANlq6wZ#~u~ z&B}UJly#rs%di9Y3s}JIAiee(yr1p0u0gj%`B4txDFo|Lh39J%mXR1TPyYRZ4wt2B z3#AOB6#fr4v2$5d0G_lX)?nJU_Od?Y0bnMY;Dy+2b8sUT|~guCODduSvubRY)%H7td! zEp_wPwJ+g|!!7=#y_fLMht8KOJt-=wSE$fEzTJZDgin>z2&07SbNgVEK!Zd0J2Dal zo~1BxFLK)154#=^WfO0KzjCWw!6a-iuNXPv8{4P#zy?Ypi`SeIOS=WZD}0G{5kTYz zb&1MPs|k)Mc1D`NZ+d6R_c+hv?Kw3e>z`qdmjaq1-uOd&h??xJ*ig9eO0{>cVs$jD z-=)=~rOQv%rZz_EESL2j&fs?T=JGaTjrls2(rcIQ0tJ!a0!Z}sY0FukMwgN|Zyd^n zT_s1;&X@hZ|4rrF*KAVhmhH>UUp00k_1TfdNDcMw)BR7zG7_ya2k?E6K1~IRq~aFw zy;jbk?C{bE4uV1RuisbiC`TI^Y6rd>{$c-k)-pIeFHA%IJvN-ZQQ_Gn+bLKD-w1o5 z>v7VJ-12NH6(R%}`#Gu!J1fI#77y*WMfL~CtqtDQMWOnJ~regNA-05#V)LJ{r;zzr4uI3p!`%0PD zSsxF-{<}5z|6$wE2AjJH^EFGGH9)K)w!`?K2OZ(RaqF~xl$qMt*!Ilqy>WBa!6icp zFL289{KIzbahN>B3WFs$xWj>jW=hX9UE-9-`Ci2Darr1t6>C9Hc(o ze5#zVVZ`rIXnF^$PrI=ueWP3V`MldbYqjoCp^P9!^as{@UIxL_yYv(H_9FPq-)4kp zZsaoU@4dL8BAF@1$5(UZMp41k_&`PMrQza+92>l|pP4lL+4mU}E&9oowD2yY-8;Aa z=D}_l4X2oI#bYSvLCQiDtYDq=b&{_l56Z5JCoUt=QCS=57v4U4c-VDmdT88Kt?O%a zZ*n30S+2xyk;0T)@W;5RDApd3HE~5U@1sl>3HJz9L4csh>5bWg3VD?iJ07&YoY!Ti zDYhNa&OMcc@J)d|HEGaHYif^=7sJuDG3}ffKLof43j!9n0i10iBlgT8%gGt#9+5?^ zGjj-xS2zEg41e_a#`Wr+F6VmAi+#t;jq}ETiiV{3V?V(r7ikJP3pNaqzZmvg^9^x- z-KwAkKkVK$!c_J7@l3%v)v6B%A`4@zUY^k8Nj`V7oRYq<%nvMS+uO)1fk^_f+2$yG4~B#zP|j`1vgYOwQ@BA}iW<}}5KE9T7Vm?Zjj2CPF6p{7 zK#OyGv6x~W*KX{pEOhQ&q*&qgw$fentcBof%QnAD81iK^`h-di#$Y|0xdU;=kQKS7Gh z=SB%)@tQ0oJD=x^V;fWOk)p4af|S`?+VoB{*$)EC zGc--`-R6udkQV(8Yc#J`xi@ie-&!sk^jlZP&*fN8RG9|X3+8N^h1mM-=}zImXscKt zFn1^TBTA7n!Qz2|Yi$S12~NgLb+UMRshu4`l%g*E2nmA__;tz698M2^B*#1ZL`JQQ#l=q7o?agk~N?_!=zXBSVn3 zUwO;@yaS6fuGT-g$i>y_sS3HwNNh##lJW6=#Rq#x`<(}>TBN7&TK%Ljg4oJ*N&^rS zGan5!vM?@p571qNu3XK@A=H`e$uRZM?>}=N?JCM{GB=OJ&{&X`7yT@hxCk_1yop?c zlsi`ZY5?;zH-b%HT)p@tGBC@iDzwx0!|TL%#y@3lmm{hJIl^#xHtQvHOMlXQL4E7IgGi4}o{hRrGUU=-|{un{@M?+3c7y8Ru)rJlpECdcp01vpIVX zhNUvbX4L0O_i7RvOiu6TnSM3nC^y8Un zVGH=T%>5DvDQ`j$uMiY#ETp&(OJ`?&z=$*-3?V;QgeSrzbk<&lZ3)lsl<`^Vh$w0H zzI(5nmTtYJ^fAlRbGFS*(PnP-=+1k1md2C}YmXM$MgY@(00rim!Zp{jp@qpsu9B)Pv8Uy^8nLuk%H|xa|H!?0RFuiT7X4zyGbC zfd-CfQDg+I47_3(+RSvgXR;@;V|uXt@qB{dxAyN;`LgZ%ODjHec>aWRiPky_G z)!^S|U1yD8C?+sSbz-B2LhJyApgIh&tVi~C=ZX@}yd9}@jdD3UV6DYsGG?rfxGw#+ zOJQ>)N!t4N??|#HzZG2dK5>ch1tbc#7!nAPwLu%Z=#EH0eFCXF=Qgz`k7SdC7Oc0_ zmwx3@+mvwNXz$^$m@nMho>7sCX}eP#&RxF39nmKar@xZ?nNa5Zexq(j>U1vqYRjqlr zc4&bpjm=WDM>Ov*S!3PBTWgq6Zd)yM3yWq9V?T= zPXs?Rvy;sU--e5#6~Hx}F%|;iyAqunQ6%o(!MzNlVFvsS-=LI_@xiNAqk(VSJREDk z#<2Fg=X}l3XM1cY4At|{1*t<>Xhs}w%6z4VpCqkfPI#JH-(6AqUh{?~in|J|Q~^bZNF z#O-vZK8pnZsPcRDuNo0=9w-mPM=+ZljA26MYX-c7up_$+`}q^I(M#JJ&Sah26aYD* z{mx|oi4tzXPlAF~Wqpf-u^4^r+2#$T_|Xl~=N zAIC2gj5n6@O`&&R9bH9nub-lx&4)+B`~I*cYcLM#16>g8HhdA0LIf_S<*vIa{~L2} z9uD;%_l+tQk!0UZ*_RNJ-BdynO7?9kWGAv_nkj2pLx_rONtVgJX6!;CvW;aJTVj}@ z#xP6g)9-oi?K$^-J@7j^VvV|<@J8OjPP%~DWY~{>m`fKN8Y9*SgYhM z)o0S*Pso|4uW(*ryD%XXdo73NTF8;EWvtmdY5(wKxjU=lI&x9&JGuq3jOf479E4|{E4r;aeBMgJkgbXj(+~2P$dhW8!P@UWj=8s8YV6|D5N$E^ z%8yE{z3Nq{tpvKv)jI`PN$9G`&ReA?FZ_KUY5)Wuhw&S@yqPQ`qF+8h{9`;67Msd( ziS`3K&yEfZn1wz`40m*yK%147aAZUXXa(9A8b2s;0idGjG7I|VKVuk5m3$btC;qnu z$_5Ymj*Ip>e|sZCG$rs)|IhXZpKx*g=U)Nr>@#_cNLh%B45|nvMG&~il$*_;D7s&Z zB6g36-co->d22p@=#eHW8@=!vM!10%LSX2iP%uu%eK7)dvVZYug(GXY({#?gR6AP@ z{+X4@{1ZvdW*3duKpN&>2ILz6*;yCU{^_>b*PG7Baq+1&QsRF#wtA(a zU2Cbp^6j)LMTYz{r4Yi4pU{7X*>Rk^4Sc@(zkdEN(*QoFmx^}&*KbE!rtBnO&I9~b zbOA8Q{~4MrI_DdGN-Eum>b*-LrO`g=ok9#Exv8>*guVm6s?gG~_TID0V~Y)G%+&sF z#vzs2%U!F`&WgSjnAZ^9l3fnT0^orTCJHy=)00zNob8H|Yv`O6CX}kbuT;ND9PdqK z$PIf@>Wh}6AX|0i`&w<5bZ=cI%x$6Eg-s=E4Zdq=2kPE8fUmd_$9fR5-+gPnDG^tm zVI_K#g&se0Oc|}~atp}&1u`eJFYR4}%*_EUc_o zD>p8Gu+-j&ON)m=Lu2{LRQ%3+J=L&xb{B*qt|J@4#5jeVeHS&&vAK~~fFv}C|6$1e zACDVR6~G2sOQCE3VVJgQuZQx&^>tzdS$z&o1DthyMGNxj!7}P&4?{bB14#s4bJcs& zdD=c{kE#INn}2)Bzx@GY^MY{xo>9HUeM9(lUhC*J=wToX2p)v|`>w%`leclPpB8=Zs8X1H=LAphr`o9J5m40{5cG!%f<%qgNNckG)El>acW20;JkXaMe@fA?xQqc`zEclt$< zh5920@}L*jkcqj{@fHb3E14+3>+AtJ%)2)?Jq6WD^h8nz0uDGFGa7nQ zIIe}X^3I+dz*4PPW%8#KEGbKLUL5k@X6#>oM?DE%^zcKfBOH|&YEM+Aq zTnG;#xoiGRnV~b8X)5ql%Y*E0H zgGSZ=_wqc;=-Mwk82VRGC+es0x=#WjIG+8NKGaU=OnnOUj`oHg*6Fpncl64Q zSWJvYqh0oOT01Qoea}A$$=fE`PkBV29&=QB`upZ;*n_T^Ty0;ukw~$S$FGm=3~$}l zd3PO^{b~UZ7m&lg4>z6f%eJOk`DB~ znR!nNg~J!Q$8n3f0eKm#zlxmBBjEs3gA|~ndZ$F!^yUlH-Ak!FJz6{C=3Q3W+A>J! zwFniaB7qd3pv=lRYizgbX|4{woW z{7ttKGSC&#wa^G!_N?g4z`A2W4QBQi+{S(;&6N^ATr#6FE)NE+^eBnbv5-uT&^QTEE#2bU=m>Ho6mv&h|@)S{_ZR;?)Y zZJGV3t~ME3p^iC-lqHajaoZT_b`q5R_ah_2?|0${2Daq;a!0jA^u1?ISgSMVb`l?7 ze!ukOmLN;#8uS+ZEKsdSx+y&Y=mPjHAnkasEV#s5lr#BTr8q@79nTiQZPCT^HZe1m z+Qi*3a5!;!!3sScN@vleoJUN|%Qpj+5Zn%_tDCo~6+PWthn_A;lNk~y=+e3{uhPKiR2QORi#yNUP}Ez`nkfNG^;Fe*Emy;A# z?%vZoL=Fv)C<#lR5ZCs!|5R1m5JUknA2QjH({-hP2Xs80Kw2}`+q1B zcj(BR{DrkG>lgq0xWU9!`G?^HviH+k7i33a{SU)$JRkkBd`I1XLR|k~LM^s;1xSyt z#QbX5{92UNmv6uU=2MhWI8M{Y|1V zIfO5Bph`Inswmao{f)K>d1)1KfoX=@`d;??X)jE0TiLtM67@|M} zhlHWER58lKUa)imb-ISVGke*#qwgI~zUQy*BgSM=eY2P#Z$~SjpM$+JXZ1MMqt;E3 zem%T4@VqlsjJBF-%wZ$^;QL9Bj}ZNvFlj^|P&epMnkigJD(S;M&Qj;{$WrH=ZVi1- z%Uzwvod|zEC~E7+P`YpTBJ!N~hTz%%+{K0ml+x$1)x0qjW9iLDAIS3qkY`G&7dGC$ z$Q$03Zg6;?bw6QX|E*iVZjc&D_diu){2P3*`J9N$bwx3eXDC;xM`*8pJq^Yt>&cC^ zs`=ly^QBM97`=Eq$XqB8+TI&d+9x``3}XaIKtNGYm4z2VNk_M_1Jl#&`)}j(E4KZs z)3e46@8gAvo?#i>nc0PZp$v1)<1_f2RrADtrZ=p(#D>2UJa1X7n&%4@$A6GLrre_t z-gp21wgin$E}lB{WaQBGpXWTkbO{Fm`Y1clyp!bNC3a3Klng`7{A})vQq=1&$8=T- zj{5ExRPBjH?RIYLr0Kzmz0DHW_+%7#X<7RM1Fhncyqoh_0{h$d1@WIpWZAFT%N+i2 z0#&CGwAywZTA#PMimp?k_abLr68EO5AQa3j321Rd0epLhI@bovCi&0fhvxutrJ9kE z=NpXGB1@^(y4loothhDtJ?@P5j@rBAIfaoLgVTLp{aKcyZ`)GLGI0`(0U1xL;t9Rb@yFah?3gi92-%#F zeucbFWb7t2!=kAMB>zqPHG}klMv9|U#H0Kh4clidy5ux?CQTUa3!I18um*1EG|it& zGGooJ)2esAL9WTNUc3J=hq^lg7WxM$!8|GCKv%I3mzyMpLw;^kf5V0 zk@{1VC6Wy>+p`ySDWJF=n9e>+Z}RAjFpMNZ7%>EDdFc`${?Y-{Qv^p;k2BBrd_rYe z!R#gfQYYIl&5s7pd!k#CL(L`oIT{9zQ%XiAe^8ZE4r*RgjHtD0gI+RHSQjGeqHfkR zom&)3xF8U~yQf?VHzLP3XV0VxB&j7>>DlTsydEl?zKDmFW0?^O@Y}R3uxKiB`Zj4q zSkJ>=)FOmGyuZ-s1J=>8g9RX~il+ImY)#4h^r==(Gkplq!|V$s-3k$;722C%fVHA? ze)q2xVY01GJ6JRQm}z1n;bb;%=$Xqc%Mx?6|L(CvYHL`6Gc5YK{sQ(0V)Wn$uFGy@ zyEl2Xmu|T&+)?Q}&422Fzl5TVzxWsF2GQ+FS=@)qoS2&pB`)8r#4luJ&AQXO^LP>G z5L2L_3o8P@Sw%Gas3#m|T9P(n8ha2t=4Qc`oLk`~Y(V**v}HaxSfYvg@enNoT}b-F zz<^vdq4zxuO;FR&`Q*@dOT_DL*9isN@DT6ZpLaw955nJ}Z8nx`)*$797G#%#eNi)I z%7IUda2g}BlRMYwCKHWPs^t2QsDI2hyE#0Z(Szb zyTSrkn3pkVNZJ=)#VuYX-SW)Ys~<1hmt{O-!k zMhM>p&gbXr6z_UG>-*@JL9M2LvCpG&vy!B1h}g}9#grJq%$5jT_?xq8-0^NTwT)r) zA%E)t)=R2KFF>-FtmM==1|}=IzFm8D&`PHv(15hj4lAxMYXP%LVH`LbkxAKEI3|>o_8+4=q6D!9kLdARq1Nd#jVKR_pyt z70uqQ#vrZSEpWx$ik zS__`@HJWtiU5uij`th?~b}m`>@Sm6#Vdvo@-&*}C(m%5Dn4uo9>2uUe4b)ygr{_HTNUl_W#wuWZE(9~^{o~;^%Pq?Kj5ow7Oqw)H9wwsb z#|4PuJs46$uVZgVWFj3Ln*3-# zEI2j6LCi;0Saf(J-TP3mEnhvhcItfb|e*mr3Y zM!j)#q-=gtv^nXi9WH&PKZdTyF-ntUi%^MQB$Csl! zJ5ku(?Dr)bdS3o1ncwl}=YKh#*FWd%31g>AhQ)Q|u*d3%sae)0 z)3>g=nra)?HtoRCx|g$;8R4&UZJ$q{rnW4kB%zGqbWIgH zxih4$smYfU!xJkI=@Wh;{)S;u)onu+d7Kb-x`dR7oZ4O}iRA(t?b*q~cVTF&=GIz4 ztF=7eBPrf1gR0KfKbCw;yw5Q#EEPZGha0fF^SAi4goIL4$B*l0C|sbig9|<~jt&;k zDTEju6NnhJMsif@@rJQp466UG=4}pDf=*NSMelglhaa=O_}p*0@tDR>P1MvYQY*0! zI7JT(X?e9N@itJNHj%I#k05g8_R-G$2aZNh?fJJ7j2R`S3=Ld_N{5|V9x;*dv@|_= z_!(M*E3F)Up70fMmMrfqt42z!{~E~Y;=gPvTy>@TYAY&Fn10jXE_d>|2=uf=HJiw$L)h6z3P7>B|@6d~;a=0y;Yo>h5v;69s1}pd_KdD4R zljut;DyR5&6Qh19Q8}4#lf8IxQYty0A_=!7N@AblTUD|QW&Ncxm--vWPzEpB^skzn zweV+hH-B;J(9lEn>8yoG090cKvw4SphI)OXRkqxg?Dt#EyyoZF)UZfm+nuPvoh^YQ zrY%hTegQp7RIW+z#P(6}fN9%>FiNi|_xP_jtd@@=Hnoyg5=o>i(U2PMs_^q#a(d(r zH;kF3Yk=)tBKN20(seif8Q(7-282_5Q}r1Fr8Jbrlk0qH$?k#ZG~5C*{SkWI_r%8z(E&-+UiDf0N|gsowh z6A~QY;m#IoM~SWO!tUwHJwuf&=?T^w4TI)8DrHs!uaOI)sHKEgnS|K472+Jrxqw_} zzos2HebM#Z>ZWV^f?IEM?22uR11)ne=~%rY7sP*^mt=0gf3bsS<(qZV)0OHKEwo5C zdrYN@#sKoi<+k7q3yqz}vLsxyf*EdcbK2feJo$K~ki}hvlk5QwBPG79ah;)bMuR+? zpqKulHy3tiZQO7_TxzP5Dl8367BZF^>caA(C0}@%)&T=_?5BJ&QMDQ{+&59^ZQsrE z&VJGRmR&aI6mGoR0JC4~`8u*LjtK4v>-DsrXDIJl)jg@rvV?bkb;RF)sJYNc-=j!gSWExfBm$5Em!ly!{Fi?2lv5S!+QoW!e=`lfp_~uyMqs=tSIllxndX? zd15gF*LZc7Y(t}Nge^*PyD;3>V#yr8@?8Gotog&;ZGjr;r}tQ&>%nM8Y?RinX`IBq z3GNkLN9#|&GW&Sf?rmZ^{WI$3Sd~aLbDj+I+e5t?s5j*+S({bVzOCfnMOl1jE!c2?BhfYR(fA7~jsT<5h{SmLqTaa=i<` zeN&dYhtyLXj)B$`KM^Bpp?!^c2Pnw;}*t!LWkXN!19v9@EQI&i)6C z-Ngg3XD;1&eK=smW*GfZeRF$BY1*4)L0D@?J#Dz4o>TdJvNv3HFI?fJ*%(hL?g#MvM@ysCuZZH(HMN#N?>jqSu?qLiJ}im7HWGM@KKZpWS}RjV_YyJ z-XllCCn|Dn?P=^iO8a9CYz*Y14L)BT-?4z2Q3p0oa#ZE) z`VD7&q`TW%_gP%p#42lqH_y%yf5Gg%s*tD44fD|R2+U2BnHF13j{SWC3dqF9Eg;D< z>fKmOmu2f%5n(&=*DE1bc@NhY^L>)#yaCEN=UKYBUxoBe^DiVbxzP%tZeXtY(B8nj zfl$>VN-h;rb<>Ey`Tblo{9O4CU8cQpiAk+W4%LdV`N6{@`Yri0^(lFsB7&I6WucX; zrC@eR62xP1NB82(@6=AJK6)gqFWX>SX#KQD=zb@U^vmq48u!?0!_iTIICdtY2Uf52 z7zxG`quuK)I$l}JmkqRzA$l^K_|_&~W}mp!`s=kZMT$3~<~B(5`1g|`d~yI3TJ?X7 zQjPS>c=cdU{@Oo3WEi9V(<1l<%=SSE)q5TelJ8>k0Ill$4f*46(}rM|OCV4=5Byh^ zbM#{+vQk?XVb2yASrcJO2IT5>_87&@R;81*+h=0<%p&?63Pxp*GQ@@0p0W&-r_fLf z>~z+RMHC~si_Yq>fMSMUZ*)*%`&sYIS2OM>>egWE5htqc~l@LcM`{vJDiKMOCYro_Cz2 zAKI`N>9z^6vA@@%);e-7P4;eTEy*Y;OKxD`(vkZ{*GAL#q9@`u0TG7-os|hJE-9Oi zytp==QK}9cwuI*TK^j{>faQ@qPS;({gw{H0*!ZaCoxS;CWuW0pi}!BfW$;x=z|Mb+ z<^jAYpzT-m7-qxRyXH?Hw%xkZ&{p*+{`>P2#2M^i#c0U5k;V{zy$!azxDfch*t-Qg; zqX`bMC~Td3$1o3EXAJ3sOwP>XYjulodvqV;n+bn&@~|(dI`N9~!oFcfIxJsn`Z9l;P%Vk)SzZ`lROCB2!$5$`bB^snx0X}*VlhF{h`)$=%6 zjWI;%>`MXa_rHNkoH?d%fvFpN(&H~9=QMq(9l=k$xT}DwSZu9rGJ(H8Z^X8>(zFw* z^hU7OFaJsJ{R&_JAB`fbQ4Ucbkd+C5ee^f+p;Gi82CkstW9t<~YV+9WZV6Q! zcJh}J(~oA}Hz>@!{vDjtg;j6uGa=VILXX_y{y`9C!dw!z0mVxlLv7lycz{W9-^3El zSf$5sMCPXNJ+)En{-hZp*>2PJE*T#VJnS}NF7FieIFX6Ymc0uf_sn%oP%o5?0X-?%$w<>!=y*f;u3ZPRq)xD|tpeQv{bM z7)4e7<~K`yd(0yxL+prcD``&h>zC1Jr|n(s6S=?lpM`^JL1o00s8Yj(o+6x^_C^rE zKT_hhMCI{j<_)vuEaz_F)h7rECN|2?d-yM?oV&VAH7y|{dk)s9g8L7G7lYjE#`MG< zp)8qOs@&JkUVI&NcyR%ERZ3*>NqjoxI29Z%kunBF)O(YvR~4x8zLhiNn#;|Zvvc!8 zWi8p69G>#>j&&>LsXZ)9Cy_zyp95aS+k^b*-m`IO??Qs35nSKh;6**J4$CCPVnpQi!dsZw4>ZgK~G;zwZTbqFCffUrrD_Udj6 zm}E*E7=DYdw9%O(EZruLSR~|J3~!y;x&I{gKJ)MdsLe*GAv**>;0#a?OWX9W!&w); z>M!(lYL}i>MRI#76m|JveL}3Ob7VFlH)ct@s#o}~A9LkDJ-Imf1i^@yKmt+paU3|| zM-0V;JWHJSf!$lYo_m+=!}LvZ zcmU|BAbkeQwONNv02=7ho6~w#gs!gh#w5I%E4szwZKB_oJ>I7Z_*tX4)PU1ZMU7!E zsk=l7X_*Yn)}#DjZW!UWCUhPY%@|aMv3KXF)mH=;VIJkOUG5rccyWECXGfw+(>m`q zGmpN{#rrxSU{^>eBfTeXZwkZj5MGhGzR`KYw7b@B3Zi5E#S=vo;OiooN8P**Plt0V zBANZq1{NJDEjsxq<);Hl8hl&z-#`!Ge+tDZVHVTOSscQ6k1rFgv+v_PgT{QBFvkt8 zV0yA*0#71k16lAVm?5#4II8d?iVxg2p&QK!{N~~5QB#*iY;;2ZdoLShEUfNRt#{+6 z?-SQDNncm!zq1s@uBY`F{@fiVOYv3^ko4ol6fwjowhp#QBtnhJxE#OKg6yCTQ|Vh{ z1r48ew@z29U*3_p_q1-1*Rq2-X@Fpq2B92xnWZB>lD#=Ce44aF^nN74Zkve?@Pi+X zdQh134m~0IXJTBZ68lfBccqIP*{vH7)asIYR`Qb=`3kuu4MTm~Caa<@eH&Zk>s8{csJ%;faxtk3Cnc@&FJz~lr;QBtiT>I@ zBlN=}edGW|B7z>%?GOWkDba{yR7HY#*b;7{so2vd=UryC&IOFyMCoA@o~+CSg)fuW zT^$`B7m1gAvBjh0XfL1(I3-aSVpPj$vjvPDE7?4NP-ZjvuA#QBWv3F47!C-*Y5UjP zVr6ndLRju!+Z!OJBD*gl8{~|PgOt3gq7S()5hy_IL!2wdZtUI zpFdB{=lj|q)X$QK6!%3eAm;zZ896>dy_Jr`<;g1xwup1oi#giz+CnszVYBg=D9724 z^|hHRs58m~68`6|winB}eXlh?WOTS=_+lisv^J$^WRj4DF82S2IDL}+_Uy!ws1 zt$w_G^PLZCs>rgJV#Yc7F%3Fe zJd9Tv*crP~9lz6Qka;}SHEA-#_0DsnDiQh1tw<6QFdnikWd1~cRK?OHlRrhaPI&yU zX+9ncoMl6Ur|TIjBLu_YiV5eEJKkV~*Bj)UWpN%aAC@VyuiKc-4lG-eol;i(Nr%XX z76JEaAN~xHi!@0qJ)?z<`!#1AG{UDRIb#uU9zW9#TX6CHS(wj5Z%H2an-s&C*g>rjFg z(`E~i9cRADPHg@u!qrWBxH~(=n#ExhE+;lK^gOd&+Vx!jso`yL9~3LB64uZM@>h%Q zo3ey{xE1QG)&x5I>`hP1iBJ>&fIwDumCGSlUE(GB6>pUKmX60DCcCqfef71Igqx`e z8JFc31FF|+oQ4OheWaXpn#OzW53tRl^zy`%WJtX*`lJ75_*<$e?E|mwtzLO=?~*~! z;>O;>vT$gt@_C6nV%ma6zAp_HWVJ2np&L*@yFRnGC>?tip$iYC&!;WLVCdBoki323E!KuW`gljm;Df5 z{9=*@90uS;v$%Qr$2PZ@&vl?ChsiST-RPJQkPk*a&6S>16Vj|r^6%WsJn$J5(+NF4 zKciw7e#BMNQ$T=a?Mchq$`hhaG5JR9a#O(;R>cx~dp`TVLfYYPG+saQ{9ayawVWhV z=217cv+j~kD+6c7+lTI*&?)Ol(lA-T+ZU%TVzkNTCh{#TwXo%dVMix?fcUyh>E4kL zR3v(F1KCj04T&oyZZDX(pD(5AeQYpl{qFbfjzZVvD13@1OLhOU(dl3t%e5*J7aC!i+9j6;VbZx4gpnHjJs%@HWQ z^*O~El`;8Y7DH^;?giQUx_zv>y477$@FGrwTt48cVpeCuB+de zT8;I5)`R1AayHofUS5HotJ-A(Z(Jy|&w7Sl$WuYgz-rL3Z`&G2elwqKy;Sg%v&maz zD%liu?8IZ8k1BfO$D|};PQRygb)xHrqw26z)ib32CaaWdzzp}<*gGZeKIrjQ#ng{I z#F(c*v|OIZMQ1K0WL+k&P;>xq6Cb+XLx*e0$--1+^z^GM#*(cq)V9Z}0p`b)_pYUQ zQKw;;^Em0hzTn^EM`6{1u9ec)zep}$8c4spn_ZMF-uvLaLG7<&noUb6Uo(b|$?oxv z+Y_}P4FBSpDv$)e{Ai6DF2fhfJoD)Z)%2YydJ%LX2VIBkQJPU-V5Qy%j079dlU>2@ z&As0l+}qK}nV<2}=| zSR{|+r8J{6mYfVfuQH@6ZO#!~3}|oYjAWCAk~q>UB-?r>$@y+#c(oY&1q+Q;J9W)H zFY0S>entiPb9*5__GFNv6DJ;qKC9jTtxyW-aXONiLB$ee9-z zqc6&{_CN-H8b=IEl(PIeX!o9;m%rjpX8}m6qpU6Da3Hp)UIe_8KMX7%G?La{@0Ba% ze11TB@~vB2&tKJEH3H$Yx!N{H1~$`CS;7|ZS&wWq(pvS7u7CSkl~OI|xwqVVH^*VB zd@UAvc3D+2`P}`fBk&@d?p!vY;o=MGV!uqlxX%KJjfu8D!*IUB;8hIU%esb-r{F*F zt-c&aFYe#BjATA?w=EC^hD|!4htUghP);3X!Um2ftNV@UZg+_KM=ve76mz~p_`5;} z9u?zQ>y+?*2(lQFVsm;xZlc7D!}!C83n{v4A5E|J>#j*7WhUQNrHzaw^>D2KoN zwc!Z+7!b@N?UBuigCuSL8K#@oBdSSS6RS?n7;8?o7Zdt>#AAoxUlRF0zHM~d*B2=i zB3XO{S4^BsnCRF5OwK&6-XL9A2>?4jpdNn?{M*>A{i`OUH^zcg7PHUri{~RZwhy@wz8<1rAtgHswdyd5o^R z*6RHt0QR*g(kgk{9Z8HMA!&JT6Lf*~^y^95bH3=tSgu|Ei;G39duhy-hZ_dd;}`y# zE09yFsCZcI8eW!YbSe32Iozns;b%SZ3q!`8mX`1LE-r8~9=*+cByn;bLgg&MnRmXq zML#~XU~1Bpl^HT&e=KvN`JI!vgUKrktk-$>!#b}AOk7p~p_KP7jLz(dV`mMk0mQS# z@S6*_3$J|tZQ@;_BZt4~t*}}|c-+V@#Jt4Fv++GvP~+@SjIdUm^jZJPQj-drQvO=R zwPB8^3a!@3miipe(LooJg)AzsKdG8l^y{mB2ef9pwM($U1qr{oFc)TMv@`Hm)1>eg?MhV|6dH#|n4U$lA7Ot_2eM zMMRzDhn}RjAYV6(tfAiSvUp3fyN!Qjxnc5Nz0j!UQq6bPXLcG#40KKj(~N_P`EbWf$@w(Ne}m#Lv&uu6NM4Sut)JQWr<%-tL8h%#VjE zEd^B3|6w>}Oq9l*P(JQI_I0Ox^U1|Urz`=v;_ETF5~c$!37mYaBsZ{(3gFkiBRw|E zr`bt!viCt7Kt0DWVRCW# znR>#nIbTI3-dX>&`FZadzIxBgJBOc2r!xuNQW#lnJ%B?WlL!NILe6>WwJq4pJ-lCL z)ws?Q&*r?QCC0He)4G0QriyeJF(S%gPCm;8KV%-)%sh@u~+I^RGls&iCF+7_v3r-coW)SMK6A zNq%|srJ|Aj5)S0FqhcNCJuq5dJlI@Ec552a>8!^o#`9W-iO+7@CSU$Ed*#VyNXo#6 zaKmFsO8)kFP(@Kr>0r$IaG>k)0-M@(w*5VZ_qJC=msFV{i zU(;XMalEm05sp>c)Hyov{dE5N80H;52G!|ps@WvzubA+e_Aom9c45TSBS{6GV{wa6 zDxdyRUrHMUevB~Ot`xKT%G3du{645JY_{m#5Jc(gGv?*v5}Di}ORO`fsOPl@dyFL* zVW-j;VVx%CjO3P%dQtiD+-aMeqQ;1+pBv_BAKofTDU^5N|J8#ieu{e5MWFMBM+8^|uC9z(PRfPsOi>TG zJ*>W#opq}<$2qCifoelJ`thapW5y{qQT!8>p(yxUh9S z^1~Ik`m4idFS*jD`ca-_E^xP=B{bk=DXw90BxkbbA{L**PQEw3)|!;qW@!-F^Fd>b7E#^DIcItsn%5hXr1m8mBjF zJ{~jd6R~>ni)YfD)uINK^0idfvV<9?QAjgk%AiNEx>`bCCpb0Xdby zC1gWpem?vX=*l2s81NZ7Nr1%1#R$*f%!Wf4ZQCuu$`K&o40@WX?M zV<9=K8j@BG!qQ&~JTd3;u*$F9@AQG)bMzy@tcH+hPd1?-$fAr=C4^nOhPv<9U5+^z zr4L76jkqFVCniqMRd&?yNl@x}WbfR6*=k8Ov)&@5bFy+m>%;2Q086=*nVWIX{Gjcp zi8m=Is9)a9b}zODFgeCTYhWF|hx@vnrHHh?EQ!#xs|lVb(v6OA;uJ$_!i&;7%Z&&$ zn-do%cl{~c^PXrB2;fQY!`6$Ws^@Z$AGm<3ihX`~teuN@7)FO+`M%{9q|+^t*n>2d zP@J{t4)C+mKm21Mt@gVOv}^(^>H5f>?Veh|wRe)}fEJ^=)O|+EU1WzT)qs$&^eJyM zg>p7b3ib@b=_h9A=bH(W!}L4pblY9qfem)2qzj6vq)`_hz-o-B+#9%|e2R%Jq7PY* z>Ozria#bd7b9p{+FsqrKeUsc_{$){r->0hD$)yq@ z^QR|qFFl3>qE$MF{R5xt=ax^jIWTCI8;zo!5i;~qSQRz~=?OVbJw;AZNSf^SwHfpk z#8Pxoif49(H}xJ~#?53X>}uU+o6|()e^sGM@xDHHqjOi?)Fj(^&uh;~(|V$6aY6ZI z{BGE@$(3uSfz$SbCdkx%2Z|;fO}KB~8zR!Gh(3@uK!IZ&HG=}Xtq#`rmv-y8jzRwP zdI|X}uBEqq%V3B%MX;^YN-nZyB>TJlv`i;a7CVgyYQ z$LUOO(pS}FCK7MeIvJN7K;B}8@sl{3G?3jXLUg8jgt!}i56b-RV4)<9v6`6htdFL= z{BrRT8+@NwMrV0Ixx4|gmVHl=ZpbO4MYyxpgpQ~{a0G>t@9!=A;c}~&z`_lVp)a-V zHHUf5H9^ny5ZOBbwj8>!_*D+ZSImy}HvBY<7J?q$&6B?4NzCJ;>jcz*S zb)%>DIssA*aXAT}KtNDYnZgmLfC%5z6%WW7gtjQVgJxxVx7N^yi@5TpDMba5%k8+)`(U1sDKIrCP{m)cp4<@BMH>d zx~4lqU-M0>93t-@m;`L>?EWHEei0E26L85ttK+jSmF8RKtTJ;)?>DU(x=;`ToQ%+?t(t^ei^v#1olxTWp0{eTabA=o0bCzVly3~j%60JA zJWn=}am>r23V@TxgjS4Tqq-6%J5gjA^Ujx4#u9R8fd4yhYjrVi+oF3c2^U1eJ|E5c zB4*{$al)m~{2AJpods?Ue8ou2dQNCeYe*hjoe1(uL(0WTsoLaK)nn6(=i~-1-}AJv z?fAU^Qf7J5iQigELDPGESBjI?VVt$BHF>zMFHQv#9Z| zSx2M$n_7af@(UyOxL7f4YutHq6AIOtR-ZX#+e$eX{9z!8)*o10U~NsW)mx#pq8Cb? zzIz9j(LeUM(pPy-yHLX!BEu(YtqDsSY*kU9R4hAyT>ju5{F=S5Z!1# z&s#ZN@a0Lc>t=XqBo<0JGIj%Pm*4 zc4$cGs;A8Ovq=Pcxg)gUUE-tYqI2b^4z>5dl{hRq?^IKDWGx)Wl4k3+fHrc~Z%wxA z25=|O@2^%8s*^LPkyokyVCc4i)QZmU#Xk%;O_cy%i5IPnTquF;fOOsT25p!H`4jp8 zRsaK>uKPxrAohFbzy2?~4s?4va&j7RQx6G(GbzBJIbuGJIsq(3XqT#3JG5m*EK-EksYdjI{p-1AZdyKo@>X2I$irEYeL-g zjMa$X`pyV7)lsVb@Ou@9FIOmsOEb^D7oOaTi$a_U<60bU2Xwx#`X2UVCY9KE)CZab zgsX-S#Uz_KO*9!8Kw4Rgp|1YFMy2uM) z_%537D>&!O-6T$V(7wH|I%@|k5$LbNgKU%raj3+tMCfK1 zMSXjwL-)b~%ddy~+kG)xI{KBQyaEUz-6L;z25<%V6HvWMNqGblya_3RJRGouN<<2& zCBZt=ymq}#h51%U?cfzw0`+pf#P~sm02k?dCyy!m+(3(FC*j@mI z$IvGykZY?j3cgIMmR8n+Ors{gzIT9X1XaWT>CB*Y>)20`V-)8&4;Bt3AE{XX{r)yl z`YA{_LH0z@D`m(ecW`96|F+LH8p*2zqrnBFEc0{>2w=fb*eQ<`#_(7-?>ykQ4~rC`2X&L1yfSpi5gm$Vq*=>I+9tiV&rR9@{olA}u+d(uiD? z`UYKVple|lji?eB>Ay}+p958Xt<0`cbWSLOt1cq%k~1sOrdx~j3e|P;)uVvJ{D)?Q z6ALwUpOnkqxjUDbArKA$nVElEqA6tKTJwE8Ab)5e+pN@~6LqXdeSIyq>0orplNc;Z zarzAcPs|EMUvOnjoD;5i$1S87TY)Q^2yx))uyvQmtSp(}Yg9~sH) z*+kVQIM}V#x6OBFX1g@kTML=Zm6xBB$0A+x9_O*5U6ms1A;+lfL6hE$pT5p5S8b+k zZ8`d9XBhIuSX!-l$tAvaU4aLH3ZRtD;my+Jx?P>Q`CHsWI<4;f>(1JXd7NSK$Wxe0 zy0orBJ(k+?OOWf6Z&6w-Z)oFV<~!=k6`%8iU4H5R=X2lY#}^9ryDjz&yrqQVk_ z!=YFl^r5b9;}#AiGB4FW7(4h-2X0{}*d-9u8$3zY7y0lI**w zkg`VBEK|vzP#9~I>|`rD%@mP+q7cPYNU}_pu`~9uMfQCsS%w+Q7-s1_{m%KF_ndQ` z>%GqVUgr;7m}j16p6C1dezyB_--*z_bjYc{bh|6?WFNTq7I=SOfl3@xY`p_(GXPBg zf7k-bo^{eL4*kaG7Wtj6bFa#>^wGZSE?T^lquZf#(WK^1b1j|oOPTQJo*A&q6RGVc zVOnu4y~@c^+F&8f_CZ35kUoE0-Usrz)l1dE0WTkFIPo6Mh|i`u|MA}JgA0^YNDDt0 zq$&etEN|CHQz6wA-+P*XVQ*Q#+j=TvgG)kWNyaWc)-b?|CO;GUrv>6p`MwYujB4~% zCLNk6@=GVti=#dhQS5}DotRjKx2B3&?VsL=&M5W>{CO@Du3nZQlrxxFWwXOHbnFn> z9NT~s(`Y1~Ej@ZJQxV-UUVyL8htHVNx@w+iIr(|2^|;;J0guCpD*0OrpXyT6^KWWl z_aFS&MC%m$MnB?A`AgUC_%T;Hp2XJ?4%-J3^0M&tPLtnZPiNfy@_>NDwIt7i$TGVO zNHV>cO3}W0F{XFz{K}+d^Cd!>ZI7^InJz;Y4N1cJgbFVsPoCJZlmp&BOXn}$hojJg z8JwfgH1SHu-f!r;tDqQR*8{)arpo&Rh3X$8-#a*?%zDd9fvEGxMf6?`PAX@Tmi}|_ zYx{cj>yPbX&c_qT0DE)$Xf7P$Ab%p#oQr}K-@O8k061nH4WhNosAw<|@^&pOAY-mU zo8v2UsfJo#IoIUAN&a6tBY%DYDYXB@8`JeZw6HM3>m-fb?lf(W(HtuWd==_pWIb_= zZ7mo(4?Gzw3)B?PI=62dADIy(rDGRNE8faKHq`K0?+c%4|PsHknf7$m&{XLTucI z-5J?a2gL?YfV>;_EojRt7fvP$9~wwR!0v<3S{5#2iDr~qzj^R_nIeMhZkvhZ24F;& z>Z4}1AKp{C{@WKw$>_!2ZR(qSzCP(`4#SsiEy+HLv>Y~c2vGAod3=Z!UYvbG^&Y34 z@@((Wxr}_sz6wA+e1sJn`u8*Rwz_7We~qgsM=KTWv?BATdHeZqIKYesGrqr0dh|lQ z^kkU=gvb}_n5in@9`7pDpm*1BIZrbq{1OIl`Iqk4i1q;pH$cDBsX>rE86c4``%Cu@ zxq&&Nr+GprtYExLP)f=(#K{SUxI&KJF!@U-5dsu-CS@o^fB*ut7Sv(zcjEseocJGj z^ZzV1`#+Bf|1T4BQf#O|ZvyDSR6u}4eWj41u$z>7k>HkD0&F+-8_oCPL!8-b(x2FT zo(XXBCpSMsB1HjB+mRtt%_q$J;=rH{Fe0ag`SbLj#C$Y6@P~JYMbIfQ@%>eYJ zz$}p}cxY!%NT*OxVcVQ!mCx0K#NsP1*{4(HWoNUt-OrM$?>TcOy~W;zwOBxK0(BP0 zGUO0=s}S(;0W_~z&QcBON05)WBR=Oya2tk2fk+YE;_&gfRMY2q!6!jhKG7MV}PmFX9TS6o}+fWnwSOI_~KDZC< zSZ{K>=^-)&Q&X*d2t9R{Op{@#Io7LJt4ee%Be}^^@K#NX`{0x?(YBGA(s-?=SsH&Y zPi||jby?RZ_~;CbF8iw1hltQ5m$US1G?imHfV*7f1MSSlGDxs*S&qSxkP%(bPX;pg zlHF2?*o)L|*SgAVf6U>~svq2J1D4>GcYDnM3ugmL3R7l_N89ac+s_tvS?mz6Yu=bJ z?R?PiY@YN5PnZPAfE3rBG7mP$#GI*;en~;HIUi9l$NWegL zOfoQULVP_v;oAPNY9{Ho)$zTZQ}jYH$yNpcL=S;k97mF*P>GH1fTG;>GE#fnNl?4* z4XYSj{+m1C2DZ6rvuhyWL!mYvC-CY=r-PU%96%=QL&Gjq0zSLFnAQzrz<+dag-OJE z1by?(_w)@C_s?}mbC^9<26a2dD=pr#7xf6TR`?QFAOILr$}C#vl0tHjCNS6JJ(zxr#x$g0fyC(GG)9$qWJ-|YC%<$VJF5@YfCX&#}Scpo^UB&~M=@Re;Gi5Mmw z!7Z9}({S_kKgh`&qxCssNtt}a1^0&PIX9>B7%tPyijUoC^0y;v89_kQ9u*2?$Jb$u zz<1?F@nr?3NY=3+ob^P0nNx+OtP1e`h(5O&}s4k~Bm!syVS-AV@D5VNnKbG<)TR6!G zKt~GqXw6`?Ch?zyQ>6l+-ty@Uywxzs)VpJd^n0GzMzU#t=BE7iGSZzr>1NxLB=TMJ zqDS(~KR-SSa0Du^0A}RYKLD9&K0Xp77KGsR1mR=Y4$EmRwN*6>)I1_wZGdcAFdj_J zQuUch`naA1`!r;dlb9}&8QrMhw1_z431c4?oS!hPitXjTDBK@RDDkp+aoRsmoh|}m zug5D1IDwo0>lf%FvRaD5%}unWqIWM56guW~w#*1;72~*Vh70(P+$8>_F&kZcbM8f> z-aG$%)?@O2$aIU+x}bECe(nUW!yu@@=8eEal`mV*ZWDj?2==N+u{c3wCXF22PPX5Cybrb;6vR7_=N=V6W{k7zmf<2adWtMHuUTjzQi9Z( zk1h7dT=b2Pw>G$U-!R92sQdL!#hZvg3CJoY7QFZpR3VnQ%x1E{8bg#D#57gX!6fMB&Z(Mb5EtqMP2L8yUkWj zP&|M%FJ;ijXHvM$?&GnqeIA#OY%3@yMtFzvNSL?tbjQWz#aNlsF}z?3Wp0C$E9%G8;BHE`p5|rzd!CbcOa98zH zCK2z)Z9bl2nN4E-c%I`@9{wm+OJhk}Nt?f|T6NmzqwN`{5|gtg2Y2WV)-2KjoLhgD zEq^GsQs0N($w3u9XYH>IfD{`!O8a|G&sFak{-MM6rni&GOS{pqE2Qh@q=*&j4N-{R z*duT629xwTk#aS213zPuoGW}$p zgpyz)t@q8+vK@K{M`}K=fPg^}5_AdMGAFgj_gcHZUMKlW`{#D${@BHtR=OH%H%lAJ z&*+aA0JJ8H2qd1?z3^kVjbn0UvAGB@-0}eGZO4a-(8l#{nKHF^`#wsTH;jvA5myvg zV(`=*U0r!e%=ORXDUQ-fUxRy0R3cQ97k&e!XLpPG$Oah&$w`Xx7<}<1vb=L5c_;E# zzE`f~@PYl5wS6+{Fj2C?zqD32~!WW{R=_sn9*w)2XaFll7*p#Bvc z|KX>|1fQDH&GBGwp0`FKssWvhrXoh`>GX30V-~q*z~S845Yd=$QnNyTIS(~C{AbsA z&FA%@rH|}apACO~y9Z7IlO(|u?vX_VAjzQ68IDD`j|OT-+$3DbI+u7qO#Bcc(^({PtAcB?q zlIVZ-_66CSv-Vyq+W=aeqK#*6Z}2RMr2jnW@x}q1B^&;{D!6+$$=5aBlKW*+_BQrz z!eMP5qI@dGs4PUtZ<|tmu&4f1?0nne26pbANhxALVFpm`gOgQhQzwUo2rajo6OM!@ zsp1IRp#uAeuZFbcUQr2y8H!xhjT8p@PIp*0Am+3%l}7{ja+ zK0@{@&J~n46)yf&!&+3wm8ps5-T^eBff6_T6~O%oz`_A|_oUdR<}oLNR8*;6PBOaj zhg?!>v?ha+GW%7HTE7PAbIf9mgE$lr6R%N`KukQtE~z6!t#7~ot0Ug^+r~2q$Qhnm z1@1HA8B$4a&at|{&p3Rfl5@3-ZnZAwoZaO&HZQv8qh2f%=onx8&guJYbARjb$}X_` zZnPa_`w$;;i=?nbCePi&wvV?Bv*qXwn`9&#$^2IKUSJsKQjjw#ElwF}XF7BQsk=yy_*$C;cgfh~LZWAZ0Gg%}O zZ1M$M0=3TT!Nfx`H1=(3LZseuRuG0`vsn^PP5Sxv>y%>){sL{==b4Xk3mhXpu`7Tj zJeZ*ihoI8~&Z*G{MSok_sF^EY`>i3y&ohEz#Fg)1x6xz}g_)W{IXBNh63&CW>-zT| zWh#|tZ|>X?;86bAgVnTT((9Ql&OUxitOddfbJ|Z38k6Eosw_4tBH4F#bGnRGT}_*} z?Qnhq3vYZXu2e=B#CDnP{>)8=Lym91vl}^#lfdU!JRgfm=jeYudfrxM@+yb-b-GG# zwe`$M`SB207}&^_fWZqO&nvWTB80SeqtFPhP3a-ik}Ynz&V`KC>jt2VR0E-M!N=SY zfo>OADUZg$0Lm!_iU!28D_0P$$RxfB)31F?wZ0d#r_H2)k1tMV?vHHY@(o20024ba(qwNvGV}<0t zuo4osBRIKvVC7-%)r|35dnKv)=ABu*p=Z~s56$z>hA~t4AjBbRP9!t_dgnp~Br(I$ zzDq}PXfX|In!=~pHDX3X`0uSeelHRI^UP7o*a~|pIjxQ+w2bC>twT4~Xuy%AV#?LF zVqHD6_OQ=~+u`#32UnR|=V}h#pRbm`zs2ebBYYz>s;g(LM)dx8#xG6EO8lr*{!-A4 z6yGnVonau$c>%!FZTBypV)7N<9Gs+VBbCzof{-WW+TB)B{LJZ!_W8!$0qCQ%kjtV3}?eo{RsBS z(eLYop8wo9L@_D6ggsrEZ}`LU*ds(*XEjyA3LNru$04WSnZxVt*T4ZEso7u`5U7vf zcPsM&0h}o6VmYSLGaM#IS&F}VhR5PkWeVF5_tp#77^6>KC&`<6-9CLDV_Oppj-Op(WdUyJ+_Ranylj( zyb0|Lm@Eey1dBGR5%!lXMi1t6+i!Sp{ID(gC2aJn+=%DxECch${n~eF^By8sSb1+x zTqgq%=hh2gx4~)g{YnV(wUA6X54%cn%?6oGG^P=A*AQU!8z5#2G|KLKSTNCY`9{0^yp1$)THBDg1lBHu^O;*U0Oc|jp_6wIp$t&9FJ66 zw!MF4XXn8F{bRCW45Q(23H~laiSaiv3wxQQm&Fd6jJO7!Nn-jzUA;;KbPDKbqU^~+1&5%buT4hGGLnx zfCG4paS0}56a>+Smj0kvyubemKe~xN*LQ&1Qz~tLe|3yF{1rvB2XRFjQDbP_k>=Er z#*1X9t&`Xyj(9D8w`yzaA10?J8@+r51XDkGnz*esZ+};Rcw-&+NwH=7YF>f^EPZvN zbF7G0upz&sF?C}JU$vpSSo-WYXu6$fMS_zbQ~2vhq6F0)8rHa>wx%{Lu;)_3qDo~v z&*|)|Zv{mtIX50RI%3lwJ zRHuo*pUs@%S}RXFCvyNIl~2DBZKNNrY5)B`L0bA9uJ8MvyNk1OD8RS>Xv3A6prxiC0`BTy--V-is3NoEFg-FyxbU0 zB+x_c(0=s)vxUk44DenB;n1G}QYWy>PdM?-Xy5`aaYi*3Ycg_l?EMTL7<{{IF3*Ag zt;n`+N&qyY-t1rMzKY@}UE)Y4kbrt7F}ld{X3Y?Z{a|$R`=WYP2Cj59@IA*{ke4*a zX{V#tTkg1HGCv7Kq*611di4|v%b&Jkv8jJ`8_mM$k~Tn`s%gEZzmy40jp@S85r$Auw#K1dpwMO2ET9+K7VqL8&CGYbPW*TJ zpp?xv^M)FQ8%1MfSHMBY@(w^H@6$mXOo)`(Hl5!LB8V1{sVM`Re@?;nPS-uUqqIwJ z^*-HyXve1^MUBEWLu2(>QUG+CTe_Psc?Z`+UPYS77ljmJm;M|Y?(F1h+6+TAEYbuG zr8^c4Uhr#RO%X5PKuOLSMUvy+eyP2K`lMRC6pykVbinVF)(dWOE*wDw!q`sY!Cp2ZAMv!9>+AhfRvkP?4jqCqD?+--{{rBsq6J6d-(! zXO7nr{x-dt9n?L?{_|at7T38fTX9Ll6CoM|^O$4m!BXKrxA&U#lk82KxeXT}J!^j` z*MNsdN2*SQT=OLIRm<>vHIwI0N*gkvZ@DO>D^p)CQ&~mw!@J)F_96pdTXcqjBAKW; z@?|(34%n}7S3n6qlb_4%9P;}HzCrevV4}v_Me~6*V(+FAn*iHX=?mIh1(*y)ez;)F z=TL#m(|Y}um5-5Y<4g9m+TIT@Y{D+2d>~|FmIlQ_`8#18ud%s2<0V0Ir#zB|yi_we zP2C8WZw2L?iTl*r!_2@-$q5A!xk!5CK;TlI0+Xp2Hrg-KkZ&Y~cKBp{OxH`lAnk(Y zyzudBdR|9zzJxmapzG4C_oS7cMVgTo9TObMj9VjM0oRYO zY;Qh80_=e?v3e{J8ZUNgqGacRb$K)->gVhC{2#lKAotUfh1d``z_cg0*Blu(> zK7e;Febig|ddsq5esY&pYUagvN#_k1A$vg2fGG%A2P(84Q041w$>l)=rhFdpY!L`w z^t;q|b$Y(d_wf}MIQ-;o8Y^9%HNEDSPHE9UH&#L9`}_p@B^# z0VZ1Ry}(XN(0m>VH7mAL$YRbNz9TnkrtDRaq28e}$Df%%tHLb41%Pr80EgqXOOh%C zU~MVQnjdgC=8L`>`M~}4&mP_I=^y9nZzm6<>w>#Zo6()UpROsBpaj<2>UjcFqwtJ2 zx&vc6EB6SncyL^-0nx!Ort%?Sf+_;e>H;@RV=loL8;=%5MWtrOMaD30Ik zJ;Q^V7gRU*fO(#yA9`~VF;-7IuJml)ECV@^aCmTA{ZB+}qtS{e$GuS%J^c!F{ixjM z>?Id~Kg}umJG+MIXUK0Bg8uovn}Lw2CO6x;I`C-Qw*F4OIUENwS8*Gt&meTYz4sM&236RiRi&8IJdN%@FNFo2hfNjlt#l%}?_r zl-^jyw;<@`pQRv?NW3BDjORau$ifQW1t$j*41 zcT44P^t{LTwf+z`!^I30Th}^IH}?yNboBea8W0QQgh2xAa-=$*KQ^;-USpzaj@$48 zZ&P!9?DS-m5=(})Wvi%0X%2sfkXoX$0D9r{Cf@`R60locUmcV?hrQW7lv9GyN3HDB zSbhSQze?gHJCfX&<#WhRq9)7MiTLP_8ro@mZ2EWToMdj6J9pN4hCu0B+!=WxtDZlf zPt&!n;08$-Lt^cL`KfOJ><>Iy+!iu%JydvUH$i!W0``1%@!hl>!0mr0LEy08|7QNt z)!h7F8wGokhE%{sM}?V^%}Jm|zXTQJOyTlEO!LJB`>mR%_FFeZ-bkjWzc4Ik+{3b$ z81|BpPIo&>PVZgg-{v3z>tU*pmH>){<9z^=#(Lv{=|*~dUJFN&iM`DYY z200`32uvxT-G;Spdq`A{M9Y(GMW1b!u;8HF@Ky`VB60zLZ{amf4PUs;MrMw@P}M}* zC-50kiZEz&*k?TL{kaW=vh-bvB(CqByuV`N?e425J3f_}4EaUFHYzUfvW3nVn4Krd z+^-tjmXs|Da8+`+-Fc1$l9aBlB^Fv{q@zaR&Fsos%7@7h*>|`sdfukZ&aVcO0VIK1 z&5`#p0DzA|*gL>mh2e|IFuwn23_XXfn_?zZy#3hCmU-Pxz9pZ`LcKzM9lKQ7Q!O z{&QP8hFoBO^ln9ewGK3o4s)#OLPXazU-ye0e<(9lK;T-xVHq-x3s+qS|5>8UUxU9! z!>`N(t>>usuwU5#HBHl!UwrV5)h&Si^hR&w4WZt?OAq;M3#p_Jnw|X_s$@Hdo%ybt zy3U|asvx{?;kF8}txwI*w9X4vVk$@lPF|U+&04Q58dGR;PcMjRb|kx=m-SX>ymLw5 z-s_*#HM2|h=`idsI9`uq8c>~q<4Va_ychU%z|dRpl1Wm-{o#vg)6<%kd>OxHlugz; z=(?3^v`t|h6Z_FXJm16ypueM@ZNVO)MfO-C*h*52#UhS3Qg$s@B>S8S(5Q~gi-a}0myV1T!FNHbHc zAJYA$!vG!jZk4@t3g0t(Qr;4VbhWTWE@Uw!{dC>(jHXS&a3DG340~tqf@*h8QYxJQ zA!iF=cY@KS7J?TWD>sS3CpFvDr8wDnk8w{v+Nt|WHy<+-i~eXAA8v-4xo0}9>F0<# zqf}50yS}e~BX|dsOIcIGl{4jgY=gl;fknH@7&g1P&|Z(c`lxBurg!Jd&+sz8pHioP zhP(&Rp%ag&KlqoR+a?6&6|?QZ<>yl76BGqeWTs?E^-+)SKJ=Dvo8f3ZBK0F(J8BrC zj#;b%9Q{iIhL}VGERzw3&n=ga&kNn#(JT%4^te=(Jzy34Mm;Fzei);{n&&C*y3M8f()^q z`U!~T(&x{T3hPmjhI zG^69moKCgi0h!UZ)lj45&&EwnABxqde2>{-S=bwn2Q6|2TZ3--@Fx+g-EcGbe$ z>RIg^c&V=$I%L@*YfEwI@uvDGfUqMZH{^e92mY_Wi#Zb7X@;moz$u;i2H&_2jH>`k zgAoA2j;$<^Pu==US8xfF5AY4_=|uvdv`418030b7^8rq}AVtYQi2+qfE)MEdUJ@Lj zz3Q=l2kiKN=~Ah6iy@S3U)jHOwV)FV>RlIi-aV;~<25sp`R_V(d$r88EV<`_wVS{y zUV+9RifS(V7P$IyKMqsxK8#_9-*z=QLW+|R=}ib8(vVE~$WgiaemL^TyPv{kMv)Ab zhOd94S^YVwj)blOQDG#;ePBTW(S$%1xVA2l<<9AimGlY94Xm+`TxuT9eRs@Gj6wL* z0k8%+uhcFTP2@XxDQy05BN}Vhg6-j_?!mhnGd6c@eI?Rc`pTum4s%$2#XnghS1(90 zOxL66zx0*zzCSHyAGBVJ(jN8un&AJPd9HMjX^Y={v;Pl2)fRV9w$9-{Mv?mUc4~%2 z*(EaL_Enazx4IAW&~>3aEv;!Z1?d%uI@yjOk#BL&4S6K6EdV| zqTddl5G3r~{af#D(MrNLc*)5dGnYs^2Cq2mw<}5BJ;@gQy=Q*fH@YdTCh0}yeO34_6k4> zxnXwNL_$ZXCV}rt9_$oehk)Xu_0&{Q5AM7j$=(cH;Mu$plxBOA+sj>0tWYII+-fI_ zEQL>RRyN)aq;B8SnlGeI?}HhEApVSF0`hnhoF1-IisV0rPa_qk_G|i9cAd92Z2d!F zeY&YZ-b!62&+2poyUP;7AFQg9oSbLr1VtcycKHFx_tw`yThN-O@JEF4ABuZ=fG``9 zfRe0l$gq!>^jF$8!Zx|z{t#y_ZMJuw`z6j1@?yw!JfWX~L#`fR6V2UJ8_`p@V%Qm9 zk2*~J7UUMlMk^tnKtd{y*r9FD&uHiTcsZDn#~Q&(pbrQ@G%w_YJP1vrv~8hvHgLFy zH&h}%210x5JUTz7CbwJUuHX>+HNLblfOZPBKU5qu-e?B*`)&ka~NqW+~DN8{4%m?T^#GLm6rfi{}eQw2UR3w?1b1Ou={lLPle?`Pz0 zY?ylc$ZK_vu6(^&JguFRAO2BJ#4uls#a!_rAls7$$p2-Z_vyMO<23_qhzd&QeToLn zT{FsEu{jt2TaBUAAA`@{T=);cMr(KtO8DDD@65?c0CF2xUaTuvCunhG;8nh~y5|?4 zxTeXnf-v4g@shAs6{F(<8CqeF_Be`;3h=08wC5q8z71h57dsj;@wuCtRin_*`~1B7 z2T!H}#Vs4!UC{ndxbzBU>B^{LauJ}U`5i#$F8rkn0!!~x6E&W{RYf@^;>`9qdef$| z&mJ?o!5cas!##cmkh|!(H*B&8;}n!zL2tf=tbaQw`-c6Tf3>ovsjkl3+B!AvWJ2S& z33bJxGcy5o$d+H3ZZ31!a!^+I==-}TJ_3{PH0hJZOJn9nui;|#Z{@yNu7g$^msrwc zLFqo86@s568-&t)zXVNN?$6GKLGBI9&n~6t1#;Qj$IWn}7=Bqx#eB9sRJeNbL>tVy z>l^roZ~pd~C9}OU4U-4w0>e5V&%Rt2lOCQkO1b&<_>9y*c=n%HPwuD*dopq{{JvDJ ztp`n*o)WbcH#hk55~AF|;==JU>2apRt%42i`I$X}JVg6S1IfV6v|O7h0 z2mm0RPA6a}m+Mf0cVLp}n1EvxGDOaXzdb!)3{wXIo?t%@oSOj?n9 zY;S4xpjGrVgnx1Hn5pM4og>Gd9ZqJSV$dZGJq1pMlBD4jpfCpHm$e-G#nKm$vC4kZUrTMr5VucHaXb=$l&%cz7a|3sX{|Ni=a z!!u@4Owxoy15M)NQq&K<-Q1jCeDdwlc>(cpLV1M0`?_$qDQaodSB58HmA=cL!+09b z%3zm3;Fxyv#KD1vTAUhRnR6PL-K#&Tkjb#}EhFcMXz@P49o9-f-XsAPW5&W?I?5E2 z+}}QGx~6u^xRukMz4Ar=c^(ojdvt=|%!ij?ueU{ck8dpxl4Osz4VLsq`a@32iiv&R z_E|q;5ZToxAzXbzvx-4UH)83BFRj_|YDF;*W4JLsKq7mdn)!wLtx9++$GiQ;7nTy= zz=mhav9=-lb@A2j_U4RhAF*;qUGD@t>$KJD^nUrr$g&7HSiFU2vnI*igd{^qAX|@9 z;Lo%V7W^WvjQ7uUXpKEkzG!*=Q_6!f=7Q%h$;N=37}(Ws%DZy`UqUNdrUK#&2L*`9~z=y|NwP#Da&Pn?vgYfrvr_6}YN$Ja=R|`Ccnx$X}e(WRv zvn$o|mDKz@k7E}+`+BM$8Me^ta@~AjHf7??G<0;xOHfS)DrKjrA5dU7d+0Q_V>$*K zOSu{mAeYZp)Ly-3w3NQQmlt*VeS>0rLd;;dnh0IM5}XaV=|3>#sE!4pjd^DBJ=D?$ zI?S3)IOlQSHnFndO>w+<*r}*{YC2=0-38kPlk$ks=>*Tu)h`Qk#?@DtvfeLQp3Bc| zfvosZcxQ;K6JR&Q>+uD48sIfk5?7Kk-*w+y zy>B4vtt>0Z!eqS1qOE9#dJA{Y2?5Hf3zG|N53k^fDDBJ_fla5TH)qTzT-lVS8l6_W zW0!PATYSvv)NO#xd(}sc#^y+7^%9dow3ilnjgKo~GU^+rpOvO89b68WDG?VGZ23m? z`@%bPGNBi0)`gtDzVx~U`LYI6WsoSJyWd8%up1;MtIG|3;9VWkWz&si-RyGJU=|KT z#ZsJrXOKmWi@aFU3TzObUfKDkYl(?{Y}_iP#YO^t@{rj&SLU-9Iigr_RzjxRQ5&FQ zOGwrRAn5?(_ky!>ucT+xdChZ1a2K(gH%~HsbL{LW! zb-nQm`c~Brp6aSPaZY5Ps~gN!Uq5|z1laQ6+nvVW!3>G}UCt*#nrH{ySU zt|iKD$^sJ zVlkM;b4}1n7IKy+{*~`G_!ZUk3x;Ec#!`TfU2i+Hj5$NmCqO7tD7xAjg4#@a`cB+z z8cuIvHDi?t2?Hk`q5x^@Z1A+V0X6r4%1^{3s8j6od*rGzA4XpPP;7&D$~A~d*qsh8 z2P@9h?s?nZH*sU02!yPurC=5-!9M`g(}IFu;SNnr98(6Mm)9+ZpCl0#MR0>3ZPm)c zm8F+3(c-*Ea!7#b0d7xXiXh)5nOQlyxAEO@94|Yv)_o=*yX@&^!R_O8>6P^3MZjo{Jo(K6D4c=>Q+>?lnH~=2$juH|?79>W=BJ z+QFLILTM#OhAfcD5cE1}hKM3rESgP&+Cdfb`F`?Rj>~=Sja5<8ASLz1TNf3suZB6F zHw+i!Yb+!Jh3_Z?tPft18ULUKejaU-tlRMxJ(Pu`*Go zS(NoZ)?cXC+4<6JPR#`Sm`wrP&qMNPg{YGTv!FsBvTsh1U`=BU`;p0=Q0Z{L+daA0 zb7j^C<1lz@Tir5-HMH1#6av9#d<~2*xm2~F{j)8TooLZ;HsSGw1|D)vF%= z&tSoSAME_^FZp-ezbm`F<-v9N# zQvqcDjiT`KFS+9i2vS53;ITYH@|r9m9FO4ooX;|})$$d#4w?8$Y^~0f}-mfj= zX8yM)hyfC2v3db*ja-}r43~xlbDMR1rhDMzSLgtD>A5BxIa;?TZlqf)sCZy(ofqAlxiXkIFI7jlmzQsM-f863u?!#Q97Bft z<8N56cekGwg1F$Ve23s^cj6fW&_cuC^-F=CrkGcUh)Is^9_)(QO>1SJsUpjhraf1Z zI=(#cJ;ixh_ik#v{;k17Ha(F=xNI&xhWZ_|m;kCmc7i!(BE<>(orsrkF7#BSMIJO% ze|CO;1Cj~e@>zdr0J>sRvBnd(;_}$`O*j_N&DkZE0hSa4Sh;Z|Fb&Iep86RE@`9gf z7Ny7x`&R8Tdk8Iu+2!EYR-fw0jpA>}bTwR-y~q3XO-Ten26FIP5A3-rZwWh3YX^{z zG?`En8k;B?5@|*-h&lAR-u_U$`WL^^SXoJ7Y!{{7E6T##|Ieiled6rpDI={YdEnI3 zv;ia^1rXd`1mOafps^5;P$LN6{FlyL>>}Q$3hJ3{gVGsr&Xu{DCfMb4JmGv6d){@g zkC&GCrx2%7`!tV~2fRxm44BAVr|>uvjVnnSWNBF6ye1y?@<7gbc;6yoj(52s*CTy7 zY8ZR3Iyvj}?atM7dNwpeSmfz{)KO7oG%U1gH-+*X|CacN8dr)#gX1x$%Us3v8d4vd zLQLyfFTc31ba_#&$nlSzhRgI!$0OSBiFIZQk1kP@G)0DxuD3&wm4%&-kR`t)Enc7~ z?zNH0SMsyav6t?YCOPPWaUSU6qs`Cn1#)Z>yuP;fB3d~}R|j!Gy@g4RS_XGg5GH{; zpq12xRuI#MwFTgQ#}27?OeIHyM>>XVHVDsi=X$ai4KmxW-n7IG{yc8O;C<8a<0f$uW1sP^Nx0|V4g4#AU_zK_6;f-*u-GS>ir*}+8F}(ZB(Ajdv5gbZj;=^xdXSU$qt0xdp%Ylj)(bPj zz|V6FOYW`E$=$Aczb?&pd|_kCu{YS0d)lgi5Wpp||JBn6KlhwBvRDskF99FX=a*y+ zXKYjiVMzzyBE5+$AM6r!lfR6tG&t28EwRgD+tg%Q5BP z4$O=K(WauBM6YBYd4~iqohB8xJIy)U?v$jD&g=%1+m7vvZ7aM_jg_twUqlH2OCAVr z{RRO$WmbTlid3b(YkZy`=`rR5GECe1-DX(D##WTs zbQPb}1zT#!>hM-GxDRFuO0>jhZtoL>iS7hcN~C8V3D!H&9*%h}=h8H!62bWd^C;Us z?y*~ZhGWicP|~8{^DE9rh(VVhecGBU$Y=Z1fSWSe9!QA9iEo#^wm_tc5eyeYCvsA%a|F1vip?64!i3vXv!R&~%t&LHx5u8x<&o`%70<$y z>s;}swJdkC*p>7*1ew93a=cn=purFdcj97A7Y74u0$c-*qj)ZvI_r-#+ApiS|0+X0 zaj%Jf5C`|75X~gKYFM?pkCT2JXO2S3;H?-qn~oF(c$`t*q>vU2KSk|(=mYzjF*M}u zy|L}zKkDzKt-f<++)UwpEgcYb1A;5%RZ4H6042*PehP?GiAS`hj{Iad-1<-PaZoe6^aM}*Z5$Gxf4$JPpJ6`Qk1mPc2b@EnS`|c zwKjxi+q#OwsR%6dlcxtfIqwIV_SJUS$m<8BLK~GItn*8Q-vgxGlFFc}iERM3!B|I{ zS`kLYG>bP9I$tNFf12syI|s7Dn0E5k?LF}`TGm|`wchYEX2jpK687u{1`|k9ARIf{ z2-c$`N2tMxl5fL$!2*Ejkq0R;Lbkpp4*MDaeqtxdmJmT>12S^PX&*@2JmUn6n{o#~7?(GprSXMS&FvI?lx^c8+%Z%( zxpOhs;*3*eKZ{KaBjPj$xM4N4$pDJHUraEjd?DGHG(m)y!@EWE@q6{&XZD{jIyiqYUdOLAe~#=pKjX1Q^tqvJ zJT{BY%(`k+sOg085f9Vvc7T^YM&S>Ze6VJ1Xu2WttPs#CqJ^i+pDYU`%uYB|E{^b9HYGnW)_3uJ{q&&*a3uX9b;x}q$bhT^kj-X%M?DSth~fR)ufySYyH zC;^C_N2o=Z#ZOQ?(9D=}wjrr3f~U4RV4Nd9Y2!y7O7pjZWNVOaxvD9HW-q1z&ZS%~ zeOAG!!i$!C;Blz00nf{u!Z(-eD|VEKoL>v|mD1IA)P{mbA_BKvlb8Iw*1b}sO)Tp- z{4%>~Pr#mtmq?+*LDB_mG>qd9jAI-XY3u3vIe%J0=z04l=le4HH!5E~r$?6eooYOX z-T_s+Z+|AdU8$jP=CvYOv^eq{z=@6EB>=PYP!(}0OifNQCg13p-&)U)_*4_x_EMsJ zi`sdaqogY`2;-2x8gGc&$&Bs2>lTotS(@*3xQ8FDWOyy0IYk;Q0keU(%3(Zqlb}M) z=iqG^(jdOZp5#{)db<7YFy*H;TioN(gquUk)yvEC>SYg>hv zF%Q3EJVYV;6%|XZtvs>mI*FfgkACbV3k<()YQ6(#?FNWC>G7EV@1o29{2Oy-q(4x- zl3D&sM?U2RI=OpD0hUWEJ$MxzdPHk^1K%)2ZHTYDrldlFg*eF#JfLBB)b9lv%NaoK zwHS*bG6ID!V?7uM3*NI{0~7z!t-^gnMgP)W{*VaXVWz!3=!z$ zk~CEg)xV1vGG5?Ual0b{&pQAev`N!m_h90v9LpZY*u=R|lrbJ}@$C#a;wV@iw!18& z;}@4J+88%|TXJ@V;R+oss3&x%-TdQpKHr|I8g*1^Jg^bmmm=9_{W!Nbm~41H2B~J z;!vU9Bkbbt>e#OcJ`p>ut^K`_B7-_V1uwfsnY%WRjCoG~wOwiIQq>a{Tteyhc6o7n zVT_kW2~qm`cBnB)6Y}D?bZrSf{cm_4Lo(RahEQm{8=2?(FM=;pim$sM=cqEa#+_E_ zv9}v8-2u0Kg59pCa@bam_#~;(SJ-QvQ%qK#0ObY>eaBl6aJA#uB<8?Z9R4AjbFv7S$jsKfd(DTwpQ?x9c$GS-`cnvuRUL zc$mJlm}kxfJKEWHpe}S+M=o$`X@+rDy)vomI&Dr**-9hK#eUX68_KOd@gsjTEBsU@ z)@L|oy$3$9jpd;1`{7GHhOGJ4zrmkO!O_PM^@$%DQn>)ZfN$Or?56@14{xhrFX+wr z$`80qm+?_&P8|My_I#1I=x{W$UegN2Mv6AA89nnhWLEs;LD{noJ~dQmvx5?66&zTu ztfhIAP`REtwwEcJ@U{lo(q1DR`*O0}=%( z{-rB=3pA#d9G)e_cKku8j_QbcpX978Ouvt;=~9~1IvXBgWk!NLya?>>4o=7QPEBCe z69&^**9tw4NzNHwd#hLn{ZneN(LCF2OZQ29IzAXhzi;2y1|(QO^P(7zN6d$#jwv!D z@)zIVhUp$#yY+w@POK}^6N+Wd#suGqgU8&Y!~~s)Rl0wj5%6VjsSXu!=8aM&<37bn zY*5?pdTV|gn7R~nQpB5-dD~gu=iE4)+jAI;)}>jc2Nm0yc}tx6Sivh2p0J)ay@(fg zKH$Aj(a20SfiGOHBzlZYi4XF(3DpzG81fcC>F_`yN~MNAvlmNVpn4t575<`Gl`?Wy z8Mg`x9F$6$W0Bo^4SwuiH{4(&mFpW->xD}I50GTNAW{Hoyn_yPh05}1b9ntmJ$gUY z%_~6o#ajAv9ILMIc!xb)M2LyBdla{Dr2RMuXhW?*8`222~)LD{s9m9au=HmbAzHXkZtY=2pfCB!h2*ryb=6r zqU3olykV_o%~r=!rDz~)1x;-af*P-D-QEhmw1;`E4QHJhl`AAWQ<7(D&`$HyvuU-- z80lffTLbPM8Qb;wQYo0>CQYX@VMBCIkU)HLIdTVSd;pgB+d=kLW|>c}&g|BV*NX~M zb>U4^8Qw)?Sex2|>6*ZA`6loz!{a8I>q2k-1dE9_Mzx#o7Y@w5^4Ce9co|+9CE{*a#xvzlB2Cg z%j9wt0J6XOC8wE6CV`#ShsJwg@G6k}UwC`-cqsp{ZCFvtl4M_}LX;3$5*cMD3E7v) z9vVx+2s0u3G9eT(MM9Rzz8gDPL$(>)Sdx8)8pABT*Y9_Kp8I+3_q{*Q^S=MQf6d1S zbIojQ{I#8l)SxsW99CQ7P5S{mA@Y36kh2 z2ozY33-BI3Y|3l;wY>4;Q%xy0BYA>9X}eak(C!(|ugr(w&?4cf->YxnOLqVQA&r2< zkK|HLkU2UMKiL_4h9!1=ckuEv;CF3KH+^-d<1Gl&9JKI4iscrA6)>=<^KKW6f7Rmq zsU;de(PC6)r^!L+y$%I|4kx(C)0=zS6NG7d@=d_2P7<#YzZMy;*Y!doGbccz#66<0 zF51O~(@j@8wb$Z-8p}}t{p>f&CDB-O-C-2xQlzHfEOGu%7LlP*n@gINMZcH8XHjaqu2BruB z(j5KD*ro4bp3i)1!EEGc(Ds-^qj+m${5ihsekYKu(Q2I)ipknWcB1|iMd}S&g)eyN zlQht4uE%pwrHvW8Z!7hp(B*A~p22Jr(F%HggIv-+sml@ioS?TplIeCBf}Sz!J>ut5 zVmc|BXnz%)QVZr^n3*?L77Y#6Ijhk9X+O0lr9HY`!w`AoF8>>~9R-XKO~N_JUFGyK zRPA&(SH)ISZEA{F(_GEY6TIBj^0LFJ2j?0o*I+#eFF6oZ2UtK} zVNb@xfRbeE4WPNy)s)Sh z2A+R_#)U0MuKJjf!|vNMJES7vYkWfuyf5Bd4q_zdx-jHXZcf#;fykiFJUQSh+hO-G zM42R&s$Y&5YJOa28{ohD{L;ilE~z^LW_k>yQJ#a?NDX%K3LZt}mBd3)JsiTAZaERh zjqI4BWueJr=g5g5R46wuQ44gwxAM#D21wf(9X9DdF72Qy-);yiqC*cbI)CiN*W^w1 z?rsx`)vK*bF-YDw0nI2l-aHd0d35cGC=#LQ|<$KL8n1k=tlU$t)1f|$_t>e#))`>Lo z@|B%(+KO*x=)9nw%luo{?Bf7B3lKM@eiGMdiGX|H!)afNE&UsmVhaDJ0~5?;DKh@QASqkM}o(WZ(wjKqC*Mn&JnE=tT6M-QKpG7 zpI5F9{Tlw>2AR>!nf{Y4>2#84C+0a^lFCF@TSm{WJR)Bhh^+{FqyD)DGlP5|5{20Loj4pGdo$DuC)IMzxaGODz!yHn-%u3NJdC``FCc2*z*5|TGxzqDhCuAu|0Q4P8{Opbnb z2SE`fPxlz*Z%qgDS)Jb!70p}v#4g_Xq*40moaXo0BJ~?MpGG{HzU2^)ozyQbF*GYY4t(!-a)K~Z!S_E0-OPJiW z1_#W;iY!$r`Km$@7d(D}NxnBTMt)5y`K5F%?3(5^T@J%_#1rsIDl@rp$&#!}1n$M* zX7~L|k=XsfNE=BrYwi-27O`dkplXSXP3;MU6*V=sBs+%`*f+e&?~N3`VCDQi^IJuR*`51yYM>lc zl}R@mCy6iGuE!%{F{~Ij${k1--?27V?dbpE~XoxoB89X&VE#f_) z&PS0&bXXzW(JYwu#o6_~Jf10a5g*4pmnrrM7MQOQ@t1<)Tp?NNj6aKieKcp$_(-;( z@K8<3;S?_N!4h)<)jwc`gP*);H2E?8;iRmO=m=~1y|JZ~TUtjcucejOALqQ!gkl19 z_lsLzSeqWbA@a}MkBp{0e=q+&U#1b?nIuRVcJ2gn&U$=AX zN(vSo46e)fT!!yHbc+^GyW#9SSZgwp`g>E=#WbL;r(wfo6+FYsLH6Rnp;jb!I)dq` z1)jkmLOjgNq*Wk+A>YQCz9FwCLKQ#L?#ze-0Sg}^J28u z^B0C(Bl30IuMf2|a@wb+HJE<#=WNyuO9DP)1PYiCdFl%Qfkw~4SY!|840G2V4zux! zno-UisNu-2+UNZ%u%b8G13h_eb!I0)f9@h*OatE@lq}Zyq6mmorm#KJ%9wD79`Ryb zRb$|(rIg*D)Dbao7v`I${x;Bb%%-ISIUj>v(Iu~xz{gQ_%-uYbN}-A1ud}}dxhMKQ zX@NAyyS3#TA3m7ek7Mf@cP)yKL7jj^46VT znmJu*PXlN~r23iwr;;a_-zOZ|0YLH#qPKOu3$!n@@sG0oH&`1yaM$szc6T!tvXbdv!R~zm_^$~)P-7b{SFc0 zHcfy4;i7?fIvU7SWI2;A4qo!-O&Re0aa_lAaIpDT{ST4s+AV3#q9^ks4Yp5t8=`Jj z%FNKQ8n?oN$#;OlR<)U2OPqkz0CGat1r@VN#5m3UulnCl0aTy&ryiQroq~ZP0M&3r zWj#8DBO<;X3k-Fc>-ImOfZ6k>=b)NFwvMUXxqDn-6Zk)&S!p&?0b+Ur))xb&kiVQPPK)OZ5kcBY=9U#n7ts^gRqge}^e;HWSJ@7vW2;^^} zyKpFU{h(}bJL2j_2-`G@pS&s^AxmZ;0QrIqkhphM^*)Y4G=qS&c~btFQoyske!Ge zorRgmYD0V9CJR$-VJ3pK>a(}DD_hcR=XIc$d;C5amddmcsu{j(?7g`l6j^Z42W*C@ zthSpRNeg$#VxW#+VR{uCR(wq!(KR&oil0qC0$IJs&Tw5WD-*MG%XH`b=-ki!_`(1! zu{G))Xhw#IiUu?f5leXAI1mV!&kFr_CpVG(nIme;pKTi7?p^*qr#V%>c{XL7G;*L& zk}kv;!=!IHp*?q)qN#loYhX- zbJu-8p?OEDG79;2mlN}N@9|H)-<~=MIRJ{K@*OVgrC_`rz$7VJOB)ZS3(V)O;{aEt9oWy5nd5+%DvbTM$!KShLU&=m(F7)Xazcgln4rV~hXqUazW|P1?nq zEzJLX#`Dla@+CtNPx$$qszzXI1N{L{j+cmPcneR5 zxC@XOFiGt@{0jZYmT1w+B~R}nBai>|gXGok)DBWi!QDt~Hw!AE?o1(;N>TNDohEG7 z)E8vpKZ9xRRE4&EgNDdoi8$Ej-o6a$%KNKOuDcA*_jZ{Qj#`={D`$!i@Z)Q(nI(>k zgF)#1JMVqDo&5GP3-_Q;>l}k@L1X%2L0AM_%^&g(@{czcpD|#*!ixQ;T4XGjp&B@q zghy&O0)%=efV2Oub66Bda;k5_W*poKtB18$;H`IW|PtY1rwUNb`OiTBTop z{*RMAe;#kIsS)09P}Bn$3(~->xP2+LCcZ z4fjNYu}kO7&a+MEcZ)x~_o-M;?Ddzk41wYd`pf7yRz(TNiO9CxvSyOnRrg13vDTk< zSRr+>%}f^RW|80+OfHcBPyJKz#mrIF!8N-X6!lBwN2x*>Wuqy+VOLd(=C5TDluEXY z;2n%|&;i7gY6txB8yErzMUl_#;R|3!#b1A{V`n+9E1h)N|C~vZR>kKGsqoeGUWHpTuoT#y=OoxF%k&i{VMU6uXa`I9{wD5Q(we)EG2apTO z5%tXRZNLf{1E1Dl3a@U*2EJ0cU55_7$&{x5(HsuFXlVl<_PvqHM9v8M=#GnI-dNn; zpoCH-$?Fu5%1(5NGz_6P0rhd4+$nUDwlQ`EBhEkO8(KMiT}oB}{;==Kp#0JhoHsjH zzZ8Wh-q=qt1BtU6tj6PEfEI`Dx?Xrg{XW^F(c^3DQJr4l~(mqF-hEk_ch8X&GyWa|lo z_p{wR7k-t~x^Lv&zvwr9it>%g>V)0ew;n$*K?^Lpf#Ak?qOs=7nbE?pXJJT-`blWP z+Y{Hif`f~PBHG1Iv$UT-D}WB5Us|}F!qO(j|CFWjxo2~c+D!p5t z@4&H<{4nKn4kouPgE|!kG;|_|=~IxJyez~LYL>DzBq~m9EgVX|n1C;sD8J70NKbs< zaO|gn_}oYJ{$9SM-ykn~CyHQhj37mjyUO4|zo*7G3WeY6ZoQzKv#s;C<5}uU`-_No z!qUtZLkYyN%^99`ci|K7oGx9Rj6Af!8Y^doN`{6Zwa)hP3r-|mlKE|G1F4$=KUUu1 zeme}m1)l;D%tr;tjHD=&f9gmuL5ONVj%K@Tw|Wp(s&>)k9M8at#G{he)!p%pR{qZS z@bDo(2-ze)J9Y=;Nx4MFVK^{&JMyT-zvg^y|6$IT1z4CrO1+XQ(3iFUbv@P3@i76= zY=3CE)>?rcT+9j$O9pW-P5QdP>so6t-rM2(|8PCOA-wKVfc6g*MK+-#)wV^oo53rK zJC2at`oTpKVgV3yJX~(89_2^($x}4R#)ze_zJzn&SS$yrp2Um=8+dSIA1@KOax*ojsGzX%^dv1#xkI$f4UPW~yYQ41BwmQ!`|U7T|?x?;wk z@6dXK^@e>)EtV|JY14bl+V0Tn!47mD>b4r7l^|ticHFh)=7#%7S>^LE8L0mJ<9D<7 z%8^LisHlap4bGp+Og1fx`2dbc! ztZ6s*O)j^NH=vBQ|jrHIk6hB(l8Z$n-gs)vsvJ6 zyC@Bsxx7-Yjt){<1v9qXCF=EnSQPJst|-Uz#j2YGJO!CeJkD@WnR<$vFN+%~lTXnS z{4+8yy>xA2H9Z!ph+7R$zV?31>3MKOQ6oJD9DFE|Hx7>aW_&p+MqP0jO zr9{1dC1_tzy=bwBr(oVq2%D0T4g3r_?WFUBWK+hT%1YW0GB!4QYe;#t`QQY9u)I95Z-zb&o_JIv{ zIOlocDnq}j;4vFSXuh}0XVm#n;oEt))vH>|nvU&0QXCRATRdvvx8XojmSB$N4>KUs zUaF`CKVx8$(w#=-K^8)5JBb$)Q zn{%xb*dCKaKhsa8DuqWuQ^4u@j}%tJHe{5CEJtXjv!H>?;HP)kKfp&3^+0!el?G{@V9xh0>&TPU-F}u%h7V+~Vr6X=ClcmMpX|&?5g(lMw81?p z_qL^Yey3R^`vskQX_2&E2!9BlhXC&m6ia(4Ku-tZz8EEV3Kyh2G%(+d`lt9w1D zVApY#GoUtSL_Ckj863Nbb$OyOx$Io^<%iTnxv7n@!wVVZUoU2!c4pY77n;Ck;U}Mq z{%}d4!fBO&3oBiWY(QKdCF#;K!#L%-k?}XXtLAXm^DN5KnnL2LGFCBJ@t`Y;+HMj@ z?Es0>9gvF}?FrW-y{)7n5l}=d0+{o0D{H?p{Hc9I=}6RNIZU#S#J7(#dC<4RZ`^P)Ni^ z7662s(F8yL@@@3gbX`0N+qbjHaC!op5pyooYB_kv8>nE6$Pxc&de#9{u*DelQ@~j1 zi%r4%R)S&550;PDA2!-(pFdYz>1(k-F?clR=bu2B0RvMKqHSlX7EJ&z7+@+k5a{)x z?$d(opONxSnY$t9294}F{%6&J=&j@`fP$u(@j*>rVe4$sjHL?cbiQW17^Ta8HRK(Qn6{KmmLME0opxf%&N zuGJM*5Hrub`z^?VF}OV7FGH~nvOY%ihVeHQAtm=rlD9Fi@9YSUBNlRQyqQzAr0=v; z(}+GVdt%LV^tyKsgkTB5S&;&#o+E|f(~uK5prqjlY)s?dh02BvHb16DTphgh=AyXP zWxJb?SNK={Xp!F28roRtg8+@x6tzouC&qCgub20TqqXGW$8M;RJ-BisNJ5P!YkW(**t+6k;oJ}2EVa3N!70PS90^t`8L6S!x>(ozvTmM{rX_di(2cva4H}3kP0_`;-g?uKT7gz=!c zzFz$1-3tnt>gTmN?XP{k#>%5~sMiHJ4`8C`D)f$pYqUxYo(-IDi%g-H3g3%6tM74( z)^VaEZVWP!Tq=9c(SKXW93h!UIN-ia+bfgXvg}T^DR)o1}!;9HL*f9lr)mLW|_LkzGNn8AW}ZW0xy@uOXXcN|9{M924SN~wF7<9-=VXF0o^ z@yr^XL93p;@t0wE$1n z@_2wg91{$;B3lcf`{vy@9ASN3--VL3jC5WbF&Vm;4H+_B6etjur*yV(^a3R=YDNv< zF(w9rPr?S5m7-%x3+xA7LZ1@tGh;%7u8Mm+6?d~f@8{nGx25+k?&tX;foA7N_|{(r zyE)^LJEEL} z8xM-6<{B?OP&kAlUSPcoYc<^MO%qV!PjpqD`A>VxX&tkYB`NmwAym!vQ4fN7FV-YZ z_OipMH`EW~X#whn;+}p)U~vh@P711<(nlYF82<^;aZ7`jK8!fqw^Kq9?vi`iVzOjc z>iw=@LL${E^Q^nIdjE<6IktPRlYfBa0fHZg0d~cJ=vwCbw@UF>)AEYiS9<5%x8>Dys|m()J>G7%v3kg;iTs z#;iPQ{_$o+Ec;29BJbu5=O@(}eyN~dgI~=57>0C7VV2$isx*LUZYA}6wl^de#4nL} zziC|1{mDv*BySJ=>6(mdp1?rA_p+AbRnNfi6b60kSZLdml>i!YXw(2x7x z;2|j~%bw0_@3U=v(6z_meSdDg!bM;s$@W(G!yTYVIps(!+AgO&#?gndRuQoYA6mvQ zHB=^iTjiU!jqXpCDSyZ?z*G2$?cU8(l4trDj)42=umyXeX4jX4B0jt=EPML7TF(7%*LPA z%jFNb8+J0Rh<97_)~a*EKAo*^+4EXWe%YQY));qWUc0jjO|<(T!qm^Cy%s%D{upwAlaVY)5b>*TtS}!tgveq;>p7ixuO z5_nw_3Rr$PmrEB0Wnjm@sfG7ikH~g>&nc4pQoCJeQjyE?tNFEG4T(~_j$)->B6}}S zceOGvBckSpKf$6*>VG_)&+@!s-&@t!7%K9~HAvkmU)Ux4Nbu_$alC{(varZZA>mCB zZ-P{b)c>wq`v1r8_V@meN-;F?|1(v(i@Z)ZoGYR)Qjt5OjF{C4e-BzaK$%8vy0--r zyFL(gzW0NGnn=_3_;Q;DIS24-oczl`tNP0@W(2{kjkRi#la3Ba5zhgk(uYilL0?*t zqZs}&b9`AWO_83lKy^1w2Gg-X$EJ22&I&+J6@Bz3jx~tyUHB?i-o9SrEjsnjLqx4l z!(WEXQR;Ab<=DM%S7Cg|x{hTLRz<#~5yrhcOcqD>(UHtgD zCfo_za7T|0MiJ;1W=$v;xMOUYjsE8~1}6uwArZ<*zehmiO>S9yv#_=k-FQOGc|y>e zgRDxg`zG;gT#g!C4bOcMZv5g7<~ZZn3PrA`-}9y~(QA_hLVubbnn=~@DYyWF0BC~3 zrX;~6{m@n@{`@*pcLjI4&20j_vPzR)2xA6Vg#aa?BK9xCUE3C~mZy@kKQVp55VCf8 zdmlAij-KdsuBojE&BGt`SJCs z$pen$dJdk2B?LeHUR$wmD}W#m(sk`Hhkg4zc_6=he_lqPNQx#nS2g)kYfEpVMt&@_ZN7j;6TX0ztO8Z8R`B# z8@!$4r;nHJhbx}fMXepstBa_oo9sa3-^dMnWKt9EFGD+~(8*}!inMv}MH{v+H@waN zrGkI11dMrVD&7b3%nuKU&kl)6C5MPeU!nNs_NfPz#e=6+eoWOOkFyKVcs-G2zn?wI zC*kl#!`0`-pXop9PT7fi1s(G2WGK~B!}{oiaxpboK-=R*o@$SOQ_5c5H{?N2pb|2W z-Y}i_^J-qe@(sjud7yh{nA6?@%lm<01P*=QjiKHEm6S-&u+j%U3lN1yy|xot*b6wG zAATnwmw67>HY;1w8OgY#Y547gkqZ81;X3sun$YORjFrif{gtvFvZ&1#*&eq|hxl~%_ea=IZeYD&{Uj94D^3p zZ;Iwir&@o#@hLN@yi?un6RZ99Dsx2pal*dHKV;|7|NLCL(x9k&5{7-(U%dhu{`})h zru=1inXu^FYQu-x!mt$YUJIz~_v&Btc*smd81~ktm2CCDLb>50&gR*S zYX6OJ=}C--9|G?RK};tC{-S=`xDtNiKQFzpQh`kZkD0DE_| zPI(dG!+)_|Lk|PZltqG($!z*cQFlq(jZaOZQDH_fqxnU$JMn4W8m{zqi@7d8z}mZ9 z;xgzuy>W`iG~Mn5QEnRz@S5nfT!6-Z2iP@$DL51zD97m)H)g+O+tY_dJ6?I*d!xgY zo0p;P$EmL>ToK5+;`~_YmjKoGBDbl|e;ua&|M2r&6~p01N=D(oFK*L~QYNm>L-W83m*wHRmL2w?5> zwKt<*f<$(9&t<6-=I!RK75yD&?c3ot<*u2krXWvORoznpF{e)F|iE;JL~17f}z1y=&DWPi9_}F2P#%Od+l;$F$ge?rb_Q$tL*+|lAJ50v8dhHMY@({_|1nuO1za?;nHo%NBy$qAfayP~ z$_LH*;2T{~C^ymO{>bICDzn)AjRMY}9-al!CKvS@Eioma84mi{WQq*1_HMPv6#s%S zJl&I3Vt-OZN~!!Zl*M;w#CO~PP_$GR2Mn00r251MYG>tlHLC)P;alq_quF&t1zktd5jbJQABo?=CGkR>PzU$C-Xg<}7rk`Q`JhO=CfWqbH96Hks+zQEG zo(RO;e#=bDM^nZ<;8Tvx$hp!bz@ zC_6SOI6G;Z#Xm#$L@edMc#uOzN7?6!!V3Vb zExNoO`#Jo!B<23N{hZz0ebyr%ndMrY>xIt@cl{}7VmF=TN_`uBy7R+F1V6n5$m>1#Oavs-={AyQF91U!F(;`) z0K%|NZwH^F-=KoYV+8s^kF7=lVSnoZrY2HoORv7QdBRr%o4#;VXChsLe3d?!Cb2(h zCNC;|I8{}yxZ}Jc1gJGybN{~y(>z&UtnIvPU5}ytL*~6>H~v`KgT`y6zPxI57`vG~ ziTnvnbiX5dXwtIUE{EyUBIwHVTKTZNQHRhRj+(CtYTwM1>fc?Gd1;{Uly(WVpga43 z7h{j{g^;BrJAtWLd;+<&oAq2h+R=#HHYh@595-hl*){Y!H;sQeS;6S-KqfZV+7ht? zl#Wc@v`h>%vA;!+sNA`3OyuUgezt7Gth{wL{UTYraS71k0w*i&0iU(v6 z;yKDAVTor(mF zSs}D=a#jAl=;&a{FN+9at3A1G0irjakE+&(KTL)y8A&^^-X#>i7ko4H>nnEH$*XeV ztclL-W%;Ko)2(4Wz|LwW&=c_{UCuZ(tp7^udLlPx;qN@HTcn?nhSHN2vAmwCBd=~W z*g`{f8*Lr(fWj2Yu^~i)lI05MBa0_mBnjr4*zYjk`}I`|1)@*mqK4n3sHPc@gkv$1 z;H9N`zHTgPTh6Wc$(dn~B3On7G)c4tz`c@u}Yxe0@NVU4W?9 z@dDX}26=wnY?3Wyv~$4PSNvLwZ;DiV5qaa$OWiX(5=D|%1yfLGBc*~JJ&UJ$!oHnxdvf?b z_3+qgF8E(RKf`siP&E!7SleJ%)f{Wg*k#O1>>hu+(9UdSih@BHf+w6pWF(!Wp{M~A z@%nA6&vtWUj}BNpOSV@21B^$5UG9QgcR-A%`2GHoGCRrl2av*L*veU!H)|~K2Xl=J z&-8wK;WIrKb_EnIf1yZfg!eGSvduwF>^1F8+4Vju7e_lO&+N#Aa6J0VC92ujY*uvj z{q(^aMaI)n0;t!QA`n7~du+a*cp}#bp7}C%k#Z#z_2Im9`c5{zyiJrUKz zXFuotP7x}k6RQIhxH2gM8qv#pfYeY1Q7>ZBO8dtjBkxj%(psIe>Fo5*lS_}EiY2jG{Sd6D zo>w8=Y9# z1jsABsMCc%fK>l#;mOa2%7(Pl)z#K{o?mm{yFh#w3T2M5$X@`yC4Oj;KH!tI~P zu4-tp4LCQ1Z_RF%tdD>5--RK(&lHb0O;lu#*=Z5i>Fg84qL+`yHKbq+!%P|y;kpZy z!CN+Nl@_o!#hZiNIrT2PM~M@D6^YA^l^?@&fsh#0a$19@$$k)@e9kC5$lIw^EKlu@ zX1|2n5+^r7GvLtrm3op@AB12C2x_2!#uCnD$s;ikDLPvG>jgb(*(0UPYRtnf^izV7 zb>cl-0c`f>|8z5?1JD}aW;jX`bkH&*Td@Butnf-)bMQJYD^Xg}dcANj#J`8z-{(Y} z_Nh3bM5ui@v%t^UAZCRg=c~g_X|ZxLfR%++E2(avFSTpdQI0FBKr2H^XMy%S)V6O8 zP!~zJ8EZKKgqvrye4t%@x1g5zpfNm9Bb}5aJ?KHIYux`h>M%9xd-3i!?a@mL;y`L? z@@kR<4kAk*K-DT;kl1J9bh(MZnuZoT|2DhO5Z^M#*-xzfEEn_c3q$YMYh}~qXTW7MAa)U>?mU@yEV7jq53;!0#T}|bPTtDbmenxpu^~~L>(V%)j1mEx2U6$e)Km@-*MqDR`g5=?#at(|un2@i7cBEhY zVylcdwNAO$I;S169fTafSYq%obZ!pZ4f-4iD_BI8kTjtWQzUbkXVlS>{i9i{AvmBA zn*bzYyfj$pU68YMX872GDy^tRy4b5;@DK@z%hMNjtp!J}_XCeiPdh>+1k@u&bcCxU zey#qvy%I{{H^-IPA_7xd!0cAZPX-KZj0e}e#r6@T{sWnr3U&`4TSyR@WMSK z+RGvW#lr>c`1?LfPlrM99BeR3=iveiF*!*v53qKeItBYO3te~g}a2b0yZWD*zKKGp199U+5K~TnoD8OKO|87oRcK8akFAY z_KTXyse0T;V#9lkKy1$_S5!h;nw2qjSX$b%wh3fR{fEkzNwy=srd3jPD6&*RKohMm zma60}ekdv(`CF-g|CN{JEp7hC9*C>_#<46T?@S>mFhRH6MVsKe^A3<{Q6fiQwj)m+ z*sE}UA{+QztZ!~Tz)Gm^uq!_GpS0n)3#kQFt#3yV#7JrcH5luXPl_VhN5HkYF(YZ( z>REAnNTJUIRqTgrvJZOfr-v46`=}R?zyLr+OE6zgu0yRH3%Tt^;uZAA`K$6MpF<4`WaZ1!$hd?Yw16+BqiW+y3>ajD|IWw z0iIQCrQ?>U#1GE=9NVcYc8M4n!l*FZR!7*Y+bzy`XYB1uX=1E7Eep;A@DvEPdno`H z^oE^*a*j&Oazl)rr+R6Q-P;diktU2w(SdAw*B(XQWfHcUb`9x0S>x^W1JGQ%+n0@P zuKnUri>o{c`D~H!d1Kl$z%W0ol_w)@h6EztlC&jE$8W2klcnP{1q(P-tt^YLJD+dQO*z5pgzf<@^wLD~ys zJ$&mc+XoR>L6 zZ-?nE+lWv7v37H)>OMSSdB$4wQJ+uhX{}^*gEPkb1Ug}5Xdw4#&qNo3CHo=r({rk0 z(Ig?|^z*M?7Fie>$e#_Dqf%O8Z8-=2kjjf&LB_zZ4vN%a&^b5cMdvO2yme{R z(iMC@SCUH%oadUsX<0-Fo)@8_HHdJm#pOqa%>;AG{z1Ed_5v|F5@y} z4sJhYpI5CAA`Jp7%;TRHO5Id}+cGB3Z{Z1DV#3sH(PmuST9#U)mLWcul6DQ%+!!qT zV7#$Hj|AX+kq_WQ0BMK==}K-4;F}-ZR zz=3|}{_cUodw&Z_3DdiJ88WgN=@^|gmx1=Rw^a2!!S|P!=65MUl}C6A-_~upu0660 zs?UU#`Vh7gNP}NRROYR)jJJ>9efG5{uM8Si#}H_ZEHnV}dfAWPa)R^;Om%&y?@1$( zzT^qVgN%z^#?Vte!};wa1+OcJ)p9lWUs!F7?xX_++vq=&$Iu)Kh=+PF;Xs!to1Mth zR$VYqcL+DDTT4Ft6o0vd(wzQmbw^C;8~huB09<4?hh#)NA~%0B_yR-s%(x|5OnVr` zL+eZQZd?a$a;V5NhzL6!{u*yF~z~T1;O3rteT) z;d+JeFW#W9eVw@;q@i(yk5CTHRNbP$TI4pXPUeZCw@F-fYx(=?^EeNm^b@ad?U;oH z0Q0{*Vd1n7>Wma!a@${qM|D$lkpYQ`57n7WHE+uDO-Zj{A~QaWyZY~~-igX~g*!*< zgz6%z;dS1-lOpE$?15IxRU*!(c?rtadXj*G zt^b0SO!t>A>Bw`p&);QEjg-bM4IOY;ZO(Wu9{QCJ`|e%&eIyFGu*OpoYFk;~g7?jg z#exZTa-vkVF`%laON~+W{Cy5>soBp3wRI-K4$p=#9mP(&>W}EJ_=;@pgGfX|Up!SB zSSa(f^grl0UbIHkr`jS?4Z8p(9VcE#ym5zPHtkUd&vEn;l6-M`I~WM!*5vx`?ASP} zNzq1%;Dqj^EIzG=Tcq={Sfr|;#2qdebAgWl8bCXeK#XmCVWDI<1R->}BK2Geo@RK7 zJF`ML8aD(Lk`+|BcS6^UCABBy2*LaKSx;<1EWnJN`?LdH8FWRD!6hx=!o4o7<%ZvM z8j5>fcn5{8075XCzG#dosj=P>aR(SHuW?4D}kr>7D)6>mF!LoI@JY z1KbFQ@rov7m4cD!4t+G$uwL14(~9^1V(!huseb=|Uww!WD)W$)IU!}vw2}})h-Ds< zWG3^pRuLjY6pC1x$&`6sE3-)EIdf*RmSI_};dAc3-{1GQe`o*px%NJ1@3YVO!?oyg z^uC>#Do znZNXPAlK#uXS6sqwR*6yjh(LNLw@4h^IUT&AlUy$R` z>+ex!;}j2WRu|qk{^~7knMzPJb8f6~=4>u8mjI`AK&4sfYwp);nNP2x^dF|#cH9k; z?`W0lCto(to;vrg9nL&+X@)o*Krs-{stIaRX6zLSgLU%~le-db;GU2aWZvwS%b$Ifu0`9X5$@>Tno+-q{XqNC-m z-F*sGS!`1N&A6m=8^gxAgr(0ZAKCifrkp%Y!Z#B*L#ashZ~^i+6ccv69Xb=fa0gQp zeAlone8c~la0c!v@Uj<-jFwx~k(QI9{(ZPNy|QTg9K`@Wc1474Qyq|RwDm0R<3j;%!Mzg8+L4~bG)w`%T>L%DR0)xg z!@Adx6H~xWeU&RQ~=X;)t zcQUS_kR<1?lYaK*4c)%k3>8kiHtGJVo&-uxtz_SvjJVml8I>juB*p^lJ)kD{dd;GFSEZ)_o zl5%HqW~_ZP+nea!&3eV0TEUxlm3&F;aN{rPVO!bEbq?7VQI^k}!$Sv}#hT5*5u-J{ zddpv6+o=1|PTq+2_1C{Onnce^ggPIt`f(_MA;iBai0p%l$FERA@J?@hZpV$FfyLG* zv#@3pPWva1QfG`lA-oIXXNOr6)odGH@6A-zO2~DXd`Z(E%hujqSLaDmjMCENxYieV zCE=X%qt>_xxxn*|%2u%U(fZ9}-Y4E^r8aDVVdbTv(F7Lq!~#9q1wDPN4rJhZM)SIz zRgtnG(3{HJ+?}^Y5*{uVF(l_b=e*GoVfz|VyWVNQNS;Fgzs_*50##}6r~l5xbRW6| zcO8|)NWAItX6PCVnOtobsxeHZ;dMQ6SYtgh=wiZOVc*fh(sYf0KPG_d_~oaMdv6U! z%CqHiMI=_~i$nqsrf8;eBX28Ipb?J~r__P5Kx~cnAu>EzJ|!sRMNskljjYopEsdZr zHzFu6=6rU_Y+OUFCAhz{b28=*f0wB(oXeJMxMn(jR5jDnYjFKL)~oPkXZN*>wKE~J zRdpGV*U*~8IOU6rOnAxT4&(*m?JRC*wu>>P;`NC-j~?;m%3HktW`p0xi!2Dn5eA+dp__Cg{^d z{B_%CReGXv75fZZ{gNnu)|D;}_eykCi;GD@j+!g<2)NecpC#dd{-olwejYr91 zuE7cD6{TIyq(eej@D^uT_R}x+LVV$u*Z8Hf69#b#6~*7BdFmOIsilA$y`tf<(eR$T zXF>C3T~B1>*A+2wQ?@vmc%dsQ!?*q?9BhELdqe>&6zoY}grjje{w?{!G~bX6Nm0dr zc}kZpv&6E6KO{OquXvyR)fYE+N|F39Zh{pU4X+tPQkBaj0;l8Z(QJ%1R!2ABINo?!6<83lbYEK!L^wXNVUgSP>OGqafVANkwL2F`rW9_RA#-3||Od zN-(T!BeU_`5QruAfx*uUmbm*v$|eP_Hu94##w!v^npZ3~Eoyg!2OO*($z5n;c3TX6 z)mxa&Q31WS@?C!1Su^iMNS|;=%G0t$9z)jBmy9UsuGQBV;Iu3QUO8#%OTar-@G9{KviXVoB+3Cjk;_m%su^iypUad*$i&%?S>*JNSRm9i5 zHshW@%=>k?Co7?<)krQIvo(*^8Hv^XRT_vUGD}nwC_}GO{Y~+``3Y38qS>(i{A6M% zJziz0Vj7%aG|?z}ykba3rgVp?;grQU|K8CW@AIN>x|6a!t&4JJT7%$5w*l$$@JOWKQow$P+U(Z z>0V;1D`f1AweT<=zg{lTKo_6*&c6&zy#=duDIG>JrG_xMEXlT-^Ea7Xg>MwM$S#|e zRrJ5tJ~_92SU%|V+wEcEC*cV{sAx|HQRK^E1us|pZw17V=`c3*x*WaFf%kDMg07$Z zqX)F5bynisK*?Z@3)lL&t3;3I*^;Kh*F)ZM%?0am+goXekR_WKZ%m)NjZd*w;44A$ zrI#x_!2}a+RgOVBYLDT1#1}1t?q&fa>aBZgrGC3M^m(bGH~L3kkXc6&?e@#i69N>t z9z=qa``lenmTe{6$wa+20^?h93kQ>j!2fV;@SVOjlWsj$zxkI|M#M1;uT?nG6n_Qb zZkZ9Udt6>t!}~GV+a~DJPRs+uIm-R=w^|dEy7f=*YwS<=DwNAJb~gJep2%z~nH<>Z zm5s{g7H%u1BF}`67{%&)znEw^X?d7jn0iG3h!VF=nlGz)w)iN zzQmp2=AdD|dGJ%cr! zP+KKMcK=odYCF0n=h-`1rR z9e{UWD%71*rT^pgd~Lo#@2d^t@p7lc{weQ|xYLIy&M`@WiABHAi&-5bjdLL;W}(P8 z$K(`Ubu5eNX`Io?-4zv5Ns|nz4XFkE$6Q+A$A_%HU|jK=jc+B1T3?RJB=Pr`Ap5_6 zB5HvTYH79e8dAw$o;cNWf0C=v{ac({(0Z(FnLdMtk*Jq){Z zalZv0bRB&am9Y7U!maK8Au((#4oUAJp7x#KBJbuVa5{P4WZhE)8=7?QdPvxM2!2SU6*gVYH5@CoA<|iJ?e3f8uEENHv%N` zr`ik5-kxv0R_3U^+~s@ogbMK$eLAj7zI3kVUJ0)`XJ3Z0&bH|o+m_)Pf}1g7B3UH_ z7UQoaM>B+o^fkgOnhQCTqCikPTkLh@vI5u^3W|Pymf)?VH)k~*q8|pKj+Rahy zCc3m?j${2cWnUToX1ukdqM9-hc+kEdl!``OhSZNVWJvJUWV{^X>;R3um*@SKn~G=O zOsY>J>T3}vyQfT;&k_|b*{=?u;5~l>n@J7m0aI?hkrexS=-w*3m)4Jc*;-d!NE1cavI&_G>cEO zNcD{=I5B^&%ovTSxII<7TIY}6G`xU_34xUc`I$%z4fUiu8{LWZqR|-}DF~8}Ugs!v zeL=wS9u?+>Z9?ff*Ojc#vK~EUZ35@$wIkavmI(ir*Sa6gU4Yfmo9MzN>jk0^=sOKE zjlm@Dq1+jL23ONflE!%BH290&d3q0cG2@pndJ9WrL_xdu4$D_M(kQJ)Q43rr4nfw1 zSt%pg4hBx{0|VD5XhrzaawhV3Yi^k90q^t5O33r&VsK|Z$!8o_-85)IvCEC9)q5O? zA&a^k$5ci;dtz!kKsp6v&A`f)eFt4SAkwM3RP;j*lmWi=+Xo%kpTb@9?V zdac5RV54z;4~r^?v#gJSbWB_A-@?4VC@8ul{?9JSD^7J@u+me%_p=iTzzKq4-hcYN#UBX19g*ISR_ZQe&^t0qyhi z3ls`0HHQC0H+jwUbfC{{qxh<@{*5_iHZDz0#GrWtca}6Zpu6!C6McF@-emnba*4*G zNUvu}_D6fN3ba|5 zs4m>NPRl{Vp-{f0;8$Lmge^Hm-%pggWZ9#%&J*Bv+eJ#wF{la3X!-43 z?Qt_6RlDBA9)F~#WnT9s>*^hyS^Xg(%GfZ$jkyfI)yU4{Tt{Le1519B!VN}=u1Eya z_PsT^S}(P3g^DjRri&D)Wt8h!i*a!JOKhH@{bO%rMrF_O=c385*w>9Kr+ZPdn;v8N zC8Xg^lN#iC*I}!-Le(!4U5bOSYNb-AY;; z-r(v!n)R5|$`77=S#$Xj6Pxqfez(4u09wJ7=R77U$v3{bK|YkP7>o%flc}a!dUNAW zNv;Xi?{e-B7885XEn{Up%EyU50Jo%;T))s!DGnbbS4W?}N5sGVH)r5Od#AfST?jsF+alQ3x zPjcd&%oVJck40MrAL5zSU%ejPq$J?f*T8Z)Z)L#DXYubn?51_JYg znIh0DBeo#W#aZ+fbk4pz+M}ChHJiO13YE@+s>2F z)+=GV&x0o-KSPsMjZa`&)@+&JIuY0kt;bK-r+yuFUEM_|C{4t7k5bwtybH`At1O)& zH?3MA+oM}oqq=K0H_R(U$M`=k=tX*>LSXfVmd2See!=JQnx#!9^BAqYXxn4gky=|k z*0ZS8lMzvbI7a8Y+aQXek3bE^< z0s8Hscq8m4tg4>&2hZWDDO(J9ceMEN=~KFO@0z&BwaUv&kY2cwDfQ?muqJuf2yO7* zwd(RS%!)9o+zgiPAtkxdGacy?OR}(HnjX0`T65)IzN|?_h*F3SOK^I+et(=O%g}B9 zFUEThSBgGEDplWJ>Ut4n`yG}Hrq9*&VFm1kLogNVf`49k5?XC2GPVD4AVHn?W|vv3 z$W9d#&ehXoBPBu}OyL;C#nm~9MQmDyV(&SHiV}Ki1CHvD-th3I6n$guhqpZGv)QVs zjZ{4iTt>%xPI+mH$`j}cOAtM2{aa$P#=Qb!AL<_T@+GcbafkF(z%)Ya&!$C}RXh@G ziQ)AbO)1xNeB^!C(Q9abv*qjxr?8Wrs!^%-WkpDLYuZ;E7A!--i(ghVQu66NG?x{Q z%Tts!{9{@8?auqEpt*AXrno3u!pSwm@#$J&Q#}xX8}3@wRO-Nn*=qG5hBc8k%a@*i zJU>AjZcmg&E<<80cE8{JioH!8;8ix8xMzAc`t^}mfA4O7!j-Zf3V`={=(SggtX5o* zAc;+&ou={i;N28A1ss3l-d436IltJwk*)6lJO`A=?$DlPktu!X10r}n5%KBWInks@1T;-^j0`K|OUWR7zh*N+OR*%|ZB13j^i;@;iz(#%s7(zg9HJ7ENu zg$-m)K$k5jmUlwviS{eEh(W#*z8S6D2J#mzHivFOoSXxV+W714&=?3;Ffg{hDxM;3 zkY1>&f;ku+@;4g>JTgc=v$*wr)!4Ty^|PRD>Mbp&7!(=$72331N*=SVm)uz*K)Rf0 zx>X!=$7-n#Bz*g?4s`8Qh6C}QsMjSawFf^;w5cfDdVT?3(CjkNhKclvd=>s3rg%Mf z$y&ssF|7*>2KfatlnvA<5er{-&zXI->sII#hiCN@c%O1Xx+?J3V7q6qTFWwG0p)?$ zEmb7dbw5I<-I3oT^IsU83vFON-*81|VL{d??`_x%s4pP{XA9at5%2*>ZF!l`l0lSW z9K)2)NP|e;f(iAner>rK@{%eRl z!1$)g?a7j??9*!bw9Xe^98U0Co3=G5VN!}JExvkXEs~(`V&TxWV!(7~0yl{}P*%!u z48#raJQja09+&GyD7<`wX5BLix_V2M544*@k*88KnL-S{8(djwgnQ1ADs((Bqk}$2 zN#m13mctfLz+1FbO^r?ppE8vZ&uC;nbs>O%R_KI-8aTWcbeR01Su_rTl(dOBBA z-k&Uvann}WZ5>lJYLQ%BHsclvesnLvOTiC-m}g&;jm!x*5tCuYCmLXCXt&w}>R5rl z8qm%(E8H7~RL5F^tdnn93nH#Qz-^c6uy7F+ck(~wPR&WG?ZA_WuA~w&ODGjSauFE` zmmxf!Sx?-9cjQ}6tF2#NT7K=@k|=TJ1Kjg=h-gK8=p}R&qC;|)uwu|jVms)3izjGe zW)|?VBYIVv+m5&p-EgqP-8ODfT^Inu0VOc#6TGoJ6~KVYwYhs+uDV z`6D8lpkpf~s;_vt)Z^r`TxXbA04@jsw}y$KU?9c^bb3eht|KdT4fulwk?1D|c(JIo zGWgg$bVOBPetRY{Qg%SId$!$Fw@}lfSEd2dWy8y;7yAKm2JH5eQ~b@ZM=5(RDubCWtfUkpLSHO!fb2;kE|K4RC~q3`RkJS&o9BW=4`k0aI}> zbMpXI=O1Q<8Y~q5{$=~oh7#<$N<`Z&xG+&~6m>q3ez`8GI56#DtF>HTpHKs}Yk{Z4 zBdr^+VxBC)-I(M2D~7@>jlT>Xmc%dA3usp;y2B^qHC=Hnw zJS;Raz^zBKqlt;OcI3f@+Jzl7;i36YYxob8(r}BN_?_BL3%?O!5RuS{V$x{e*tj+`>%hY?mDp?2n9mB7iP2;MRpeQ)XRz9SkugkwREk%0Rw~UhCZl zbAtMKN`>2jfCwbBANsJU37dDq{xB0Q#v?s&V>mruG>_nX0&zFIcQZlM^@q}bPQXC& z_53{Jb2=x(2>mA5bESGQsLK@zyh0BC(ML zlErTOE@_`6X5s6k(5Uvbeh1zA!(@r`YW))&m=+E@tHENb`Ql!%(eQ272aaLI9fh*{ z_9QR?=_E@kPQyu)fA%Dz2G>c?)vgcXj|sMEYrFfz!D{%i2Ye6Bdh~{aqdXRG@vbo} zr*_0uKU3nDqt->*g`_eW|4om`bWv(0)B8;YDQ6FZed{j@b;Olwyt~EQKX$mgY1S>V z5zl>ZGUqLSYMwnvq^bB+u72f7dZFh`rQM1LB2W}4B8BIZzd{(5?}N=M(m5dNIbs?) zF{T&5LBck_Lm&3-8?#wrhu%3-e3GI13-+EZr z5$DOGp-Oo4l9DG+sKi8REs1xVWHR^io3da+Nh58Cq^5CrVffi#m1kowKb;7cPO9gm znEkl+V9G*NO4Nm(PE_GvNaa5{aNfUu_`_H>$p1HNveAEpBs-dIr9a6T5zbUL=Fp$K z_{F_&XeHmpxA3ZL?j_f3^GB3>zK4bGvocP*`rIyQO+PuTgZweOgIqv`{bM+J^!z`g9*{_a-1bUR5(5WWCWIdy)aL zi(v$5`0%CH!ZuHCXVoi>F#)n=we6(rhlq>y?p2YX&H6-a)6ZdO^12AEQC#D-t}dKQ zkKTC=#mcq3QJcH(3^nXr{zvBM{=fR2pnx8x6aGKb&tHVI|E9iYbFEEpJVTp(x zT7dtHB`2#YAil9;5u_KgOeEo8vO7?-JV)+Zw1fbr^*!ie9&G8)u&j`WF>qoaYvI;k zEbKcsRFfAGn_5RVlRm=wpcju^n+-VU+t}txR#ybbA0)!8UwoWwU*J$SaV!Yc9CIs( z?-zNSd^5pb-F7JGp{KEa50(=&ySZz*Gu{@QG@K~^v_mx8m@M{4EN8Gn55|~ATA925 zrofuL_T0g)l92v;(x@E=j#HQfK-q4qjbE9#ZqB9TKi?L-7z~>=9LY>btO}#L@EF$D zl=)HQVWS9i+xBF#sUlIPG;vP%gb74v~XeTxXH)TYM_zUDvog>(#LbR=RS)$!3@xidnOb;1_{Q-aD0;~L~ zQ>OMAR4#AKB`vLGO4%4cQRnw2WQo8=$&94;(SRN=Q zxrgN@Qlw9)asAfHOrs;_Zhkl^8^nnYz&^rqw6>P%CFl~oOfv^)@nkCXI}Tt{BJjeKMrR_)#XyU^y-b z5XCmqFrDF2%1fgos1RQEx8x9}zM77y5h-h?`e&%-uVmA0=L;SB^WnWgw8KECO57Ya< z*~-+@4;ttclk(6%i{n+>`hTufC~KE?1PB@qM4DdlQl#6Ek+`#G^x{{m`>G{noOhzj za)ktOwwQ;8YH>y)$IVO-r2#8M)uIu@c|fmW#qZds+;ktm_tDl?Ja%fA|S2 zz`IP)$^_1+{jfZle4h~BtjBGeXfQf5)oDq!&s64MDw(F9vQX^WRhggnfP;F(Y<<66 zP-k%e=Hgh^E$qjemb1(ra4eY*tP=qp?Bn35{Ik!WXQza(2izyKKD66`KKU`*n>foawqrmQ7}P$`C-xHx>HoKz^MTko_O z?TC86A^^HkbcdeIPuDxy4Sx!TOG?Ns#vPYy9<+^gQ18`<{z5Rg>*#ce3XIl->91Rj zl=;s7bh~F*l}mGtqKtZ2e8p(Xa+Py?(_EFQM%ZkZB`)uZ)8-57!x^_tkKLs9wiZ^jm3YRawbC}C8Nkl!Cxw5mZl(7JhbGa|Oyb!kp< zW>q9HpfB)SS*Bb&jK-PgQK<_k#1VA)XQDtm`h;g4a&&~)?K!3y zNh9C;%>*7_uoELt-$#2vUnTxM{vYch{{yBds^lXrrg# z_j;-F+e$Y6{#MVuG{WdLwB%AL4?J-nNQtV#fgqh~1Kb?T&`YRMaal>4YV+-wB5fJX z?fXyGt}4HOa+X+J4qKm5bzF~KM1bLhkd@Z7UH*kStsV7cOD3kko(Hv-DxP}d?=l!P z1uqr}mU@Pp3Z8G))G47h{edtmD#3lvdI;AHJqMy~S0)bfXu9n#;I-qM_0TBHc*~oO zV8$0M=C?;muAcPAfKu84H)&DbtF_4H@V@lxS~ zc=jsP*M4xB{}zaopL+g0>cN)x8VA1Ta>*pZV{kfx%yoc!G6_F#*6-RnaE-~Rn5Ib+n;XP=I*{}1rTIR{O$_~rjzm!dP^Y}9 zDRWD8!2;YZ3A^f;xZ(GvSMp}-2i{4LH5bjlYa-NR$I*f|Kbq?fhWL|vOvg8zWnF?~@_ey2d z#5a!}$51E29U53oEEHGp=3F3|U8UrZA9V>2irQ2gq;xQXf{aUra>J!97PcmFY+t7H zlbUW$%iNG|D$(Fzi2u>~e357WS~hGRwjm9s;}c<$atJci&!20Ig9E4ueg*9O(Bq8$L=U>c=0Q_msYELNGV z_mYAGCgMB=BSp<217YZ$18l{j+?()MtbcudS0*MUsJ>}fbx@^-&;*gP z_xgOZt=7{p@o)u$=w4uik08G6KzNDbtZt#Ui|gZ;ZuqRqb|pChQEx5%n%tq7ZKqQY zBpiaVRIw$~5()u)@DiNHVv2YZA9QZ~QA2%wJ;4t>MK!AJ-Rf!U^Cj6>c&ci4>dXKf z#C>f|wzcQ*ppii}kIy7Xy9RI{F+~+4WYc+PY$~WmyJ^a2^BaFCoB@tvj$!u_(jm!! zh-W}#UdI`eT8VmC107OPi;8e7Q&j0;+GtD3Y>5E+x~aaU0*l=kmM z&WI41rOEV!#l4r1D(YsxfV_%W83x(ibbIk)*K*mGfF{R|a;j!i<9e??@=l$N%J>1A zcyWbHdxAa29Zf2SM{_+rw=S@Y~t`)Gny-F597Uc4A*o73msN$XDF8gI-xT(%Z0DN z2Dg3X-RsffS-N1;(jzRX^1(5XUj%Pwp7Q|Ro}mQ<_jXA`u#*O`44e>;w-Hl?i+jNH z2s%L5RpLy(fNGkEJwQKfZPMOT^<1VE;}`;EZ5IEE!}uTUvQfg?`HvPAW3QI0-_H5( zmu~*O-19l@QhsZ*E+5@zB@6|tN7a!My|wOrq#kf>F<`#iF>daK&}s5tgYg%(?;ykw zUzol!F@pDJ3Uy|Bg{(vGYST^-p#@vI1smzoeaq9gt-o;>_5A+yyz3 zXAKt)H6MaHF1$iqLf9eVCm(ENiBtney02CZz%9m*ZQl1~-5DjmsC!X}Aa2J%3(_+Z z3cC0SK@YVzh|*my3$mZ6C477IT7Sr)$ui{i8?&Hf<|=g_Lt*V_k-F~srD8ag;CCMv z&Yw?LCx2OezGzDypQe}o8*cs9UTSmoN4eDG1Zfm~^!Rb87wO9?DFWdzK(p+*`=D|w z>!zipwW_6_M7Qi^OJJ-R^Fe_2;?#(eTf5{L?U}*@Gzj3s%i#-XTIHJ#*zFbc4uSLm z^8??m*VQ`Ao{H6rPrO$7=tJ*}a5zP0(F(Gul<&u7pJzMcCJ@{zwV5`{4+<6k$DXk zw`v}8L!dSkY&a%MQmg6}qKZKx;xG7_OoOGP$R?GwTt8`A4=xsnTgW|=R0IB7l%JdO zh}SJ?uA;dDk!o1R2yi-VZwzl^Yiyk-*p?@5u@qZ6`vskMqN(2B3TCy_VkPtws6%1+ zI|~?nfQpr^85b|}m7s4=^>Q(m&gpQKi2SVOFQmef_iDB}(dKA8rtb!)Kf_o8WESdr z)z&(ttlp+aM*6Jj_%~$#P`ZD@Yh+4wdjFk_T(*YhLlN^J$uw0U8Lr? z%)tI2rQhs#=QH=f8;{SdzDU9q-MlF%dRA+mmz7i=dbyn3mAX);*H;=0BMLa#HoV~e zCyK}G-%vcZuK>8&;AIngkL2_UE*#TJs#aS>a&09$rzTO&@M}w~F03A&$&C%Xnb`C& z1h&>k9!6eN2ImSsnoR2{m4+RIs~RwMIq^QsVE;HE=*=sgc}Jq~)6Idw%ONga)Ql+M za(e38d?R^~GP;Aj?Ro2YzAgY{$$nLS_|ZD;IJM^pbZw}{K_f&IK8>cZU5W0jU^2)1 zbC=x-v6d2(PwJe&%^I!={Y|l1hyM!sDSOzn3nAPlDv?sj=eMEUs=|H4&WeJ3(|i;I z(v7q%7mBZ)PrgO>=?#t1ZK@c=lf4Ko$(=n6q}}!`Ao$GU|Cq%bus94PT?nd5>XG`^ zIM@vPwNB*W&JD~pCPj%?)CfMQ9&OPp94vO{k*HSprb|79JWalM#E({Lv-5ht^IIX< zHT7NoV{|iOUv-fEb*H^lp{d1y)**>W42m&<;;(|Cvq8Lbs{k(00B>U0>8ZTlY9BhG zj;vu!;F~@O${Eg`J#cc8#UZ-}@uCLNz94rNvF_Pj!bs{Tn#6@A85^L5rCCPiyPTAz zPn`I&#l0haCGU02CeIWEZ0tgYB(#n>(y%(l=MnyGu2xE#M#&=yQ!m0ue<>zKAPaX@>)AO_~b=H74xo(2Db ztVg#a5^O7H;ZusSbuaRqC+elPa3f!mN(-tW=vO!B*B;w-MV{@D?Bm$wSg1;gOd~3B z|HE^}C{(3N{QctI=)*d#M&-$aCEz*3D}<#XUXWgKjE<78!Qf-oy&{s_JxNI_gG1+7 zzu^XgE`8f4x;g4+3K^u9+WXE|x|ey*^n9vT_TWx6Djpc1pXt|3(-q1-E(}L3mO|>~ zyZe>E94E9I^rZgKi3abdKX#tqb_aAKy|^9pN_TXW*C#wjA>xpW#{p= z*14Kd{ZvaXfN@={M%1S5iWIo;(vpzy^KHup+!j{7`{&BJR1`<;oUGT! z{yokHSIOVmN97V>%kTorZ5F*B*;w`8`a2ngK+3wIq?1dD%3Vpk)Ez&~WNu|a7di>IflB@QE{lI&~+DQZW7qj-@USlLX*AgbX6nA&WPPJxk zBuXG>W>)&5RRSzkT3*lyF)P39O(WB77jM9CkwBFB1QCU164Y+7E!cMU4y;=VO~oD9 zOtn_)u)kqZQ+}^7^8wfot&c7dY3id)H)ak`TJz_L^=Mb$+JxeDj*2JPzJig}Usbhr zb#sYdm~qcBv4}Rij77Rol_AX%Fhu|+_n=E+0KwGwpAk&xKL{oVQZWi3m~8)rV4^;p z+VICo%h)_?Moc{I0<2+A@WEq;I92m@mtx%6EBjP*@DEF8O-Qo zhuGtEVmqI){$3Vja;Slu828r-cmikFAzI*rw>na2T&&+8kLZI#?4_}PUx-;~d%;L>*A z(rJLDJB_Ci3}igzQA@mY`|ZObw7YZmC}I%=t<|JC!nquGUXGO6Rigp9yll12Wb@m+ z%gxW6B643x@kgE`@5f~%)aeP=?E6ps`tI_`#nAWjL-^|5x1;V*fn(Q2|7I+-3kn!c zh!xcsNVKw{pBuz*)IP-tFq}T-^u}#75R;L>{G&EO8F#(K z$F>T2<{v=42y_j5yDKElmO=KlYZ?FA+>`ewMZDv6zXQvu|BD;Vk+?>vJ|r4b-9H=q zHckF|dO@RceQMA8Q0|>_cXJ1c9IIknU7gli;vZ2G)e$IIF~X2!7hi_R{EqFvLV`Vl!2U?**zr0IFyGo>{ z9;%{ApgUebmc%DvPi?0uaa9-rq5?jS-?=pB5~qY@IA2Pt^1AbW+he|8T69x(w~c>6 zdBB1wN3z1%;4`Qjpp3(gSqyA`P#HVV#H3~~7`}!hFVkDbS$XyITvQkTy~F;3R|MRo zfF&BQt3+A7J5vsv9noe&h7uJ?*)ovnbsQ0IgJk-Jbt`6kTRi>UvF?)2^3@50bhA16 zHx+_D@ST)74&$W5ghWCpegTZ_gr`}<+Yy(DP^Us?*lAEJhFnaK&Ilm9@XAg>J&^11 z=ImAt{KtbvLCg}f5G#)QV^ov-52KnD*_StnlQ-M0l{GA>Ix_1Iza*c;ttc@nA@LH? z;eN=Mr<3irv&UaCoU+j9^nup$90v}m8Re`{e)SnX{%;o{huGMqj>qP3v8@rD&ZP>@ zyxOXFaJE+e%5j)n_XCqhpM9?BU&mQ={jS*w3nKWE7vOTF43rY_CMlgv|CCLYA1j~u zTe(r7CHb!9y~pVaSJM8ltp)`D$+l{+uR~`brV0-9NG;$Fmu9JwzU;)bU=lkrIBJkg zy&b=#`nfH;hu6dNHGWQ!nZ=zF#7?!_cfVG=TK@St>g;fvkaJNv0#=67={^0y_1$GT z<-RU_#Xk`^Z_(g7!Dp9&f4#)i69S#)1^}wN$V+g+!At!)3+X#lf zAHMi5ZJja$SlKQX+OqjE%~*8clu5Pl%ZTXR;XNo8Ql7F12FS}&h#~|WUo7hY*qM;rntNE^3rg>st}1ufm`bQtTU||S@;!NNw5P4gTAr`CT(Q^ zxf4$i$MYJ*KrRW#JZY>m4{f#-dP?jvr`xv@p8h8RY~M=(It`plldzA#GkXMd2_Uo0 zOTBo{W!nqx*8I46Pq`m!=8U~L+gCc{tJmq@syUW)voc>qgwChbc2)&9rMd+-j|DbJvzv7sO?rR zZ^*`8;>iDFTGK+gR^*<=`L5zJ6V4;s6uMYoirYuDJw!W>`_hnwFZlnPXN|9YRcZP4 zD7J#jsxHdAbA`ScqdBvck)i#(E2b?jGo!0IeG|j}ikGFybo~S)B0ni7R20*L`+--; zI*U1u_i(5i{cYbUtmC}L~4Ts{Tmnw(? zwB;KpzR~&p)oe-J+_F}zg8NYD%jRn@nkP_C!E(fRzJ`4L#&SN9u3_zMr+oA4u2`n0g(v*;Vdk zyEH|?aUdp->CRhx!$L%Yn57cC(2>bZrkz`khjhxz?fF!ED^$z7Yb`(EmG;J(_e{Hrnj6J z?0oJml_=_@$^5j?o6hGhvGrV)>vA$H(cG zIjUFTgJO=D_SHu|-mKFAJl6l8z+>otfXD9Qy$O^v@LAh`2anbKJ9zANw3xU!C#Tw1 zM}hp{h22D~<>EMchjS(Im11|kqu)}zW&5P7^R=e;9^_e^_&2|*=}xHpm}UxGrN!bFUc*ZHt1}{5>pp)Y7^=8?BabSj%IY_ux%I!CcCt+%HpBjk6ACYg6Mb zT|vGIe+yO$V4#sD@Q>C318tR{lKJlpG^oeF5NOrB=lIW+vzoDqss4>oP9f{frO-Jwo~GzOcMzhpX80{G@2QXSoOJI4L|O!Gowx zN+$BHEWEU>J&TH2x>xfm*YZsEbZ@%TbndKBX)+tnY|7Q|Q@z~HBjiEIUw;g7$+W`+ z-7N^C>NSAy6+fC|Hf+dpms{BBcYc;0){WU-gGy1~p=O}~x~BUpSNbHcJsdNBxx$h= zSi3WpF#=GAY}T1ixbzL?yge;_EzGY++hX?qjkAWNw#QEH3}D3naMpzXaMtSoaMr^9 zaMltm)7VfC<172A!%#Li45nEyG?Zm_S^{X(%_&dadEl*T3c7DZ1LCoZDYA?qgn9KA);|!>q*- z^Yh5kqocsRT9n| zE~9g4dR#C>SQ+QKlwo+}JO4lI%`zs}=f$#VCI1I;?;X}u*R6Y_peUfAf}oVBfC!-o zN=IU&C<+2nq(z!^LX#qpsPq~E0YL$krnE>6J@n9f?}T0g31SGOc$Uwz%ln?Q&pzMY z-?_f;53iVum6c>>tvSaWW8A;H^AMAi`_qqd(T)!4AYI5@vSlOFxI0H!OdY6U?UoKro|zXTHzyzc301Oy*T~bk z=zx(L&{0zku@1K-a7R#CeO%mczOsq^(ZN(IE@0yxKWi3uGZL=H(OUORhlkcni&wqT zMY&J!0XoEoJkQ>7$MIjC-M|S^BHYo=otUi%#v^!WG5`f*2ht7;&|r*h-5+{Q#ozRr zLV#YAX0@sEH@zn3f1=m$1N0gWfL;T!-U-8;q-wxOE;E09z)o1)+ zeD19QvHp7H7N9Ts{0N8MVbi(zxp;q&{`ay`MdFaWUSc&mA66>c|FQV}JTJgR2V^^+d&NG`3`@$8j^uL196B``n1B+CZ zBPp+p5#Font5t<9OpDzXw_1TrmVYnL%RH_OBkd1&RYC%-j6*t?!)Ew5wVL#&B(tWn zo~V>g`x|BWCeR_tv;hMzUHW@p`o&EW93P=MWE^U4uy zWsxoSs#z@1h}pTgWmIf&rl#{{VBL+fRjw|>j4S;ySCDG-wh_c?kWtKrDkJgzWb|%p zZl^(()d}ofc=-;gUM3QE?BiBtAM6IuY5#Q->o$1|@I#o%ICO~3AY5F^6fJz0ysvX+ zP=$5zMBM0ORf7(Jj71}q%4MAWC7H+8SH59IxHjeprSs^!raC~Ay9-cIDH*i|lqX&O z?NsCz?VEet>MKNpleS~>c&?}fyPylRiI}@HpgZtGQ?I};^93dXJd48%wFa(OQHM9{ zD|Uy5Fj7wjm4aB(p_ji@ui4@l|H&`kT;1&*8E;w%33;g`74|DrFr>nImttg+`s?c{ zjI9EHZ69#(Mb%;_KC5+?dV(PDZ-&E>M6>$^iuSP&r+T!-b zzIQ~2!!MhzrRx=jrL3$%>ZYQtX{pPLUOs)=W!4BM){m zXxTaws^LAivGmSiW&z!NAa`hz$P{O)EL9=)nb;wPEU^}$0G4Sn-iB~_3f~p>Qdevs z86ZbGJly<(QS6D~H7HwIIey#sLcZK+vX0nSbr0=hFMTfdk4jj>q`G#-RA=9oOg*{i zJn-loT(Ql4i159v=E8OqWc(0GB|0uj-lQy7x(#sLk)46W)|N?-EHdyw(~WGW4o)`J zJGs4W@e=?}*nFzL?{klQ`rgz2Uk)>>eXiXMc$0KC!fa*ro`0d)DdhUPIh*R0GmmT`?zZsp_tq zFQJbb&Y>?9N~pTKB)8$4vt2h;pR8yodS-1vZ4>q-_8+?g;{;T(es+%)I9^>0h*rxgp_k|$l((b)H|B3tR*!;sY!8n~EvzS3)= zH9QRdRL&DQ#MRk{8*t(AbV;8>fG84=^q0p^e=?aq5))c*rR1BQwAtH$du$sS)*H8f zGXNW|@v+BOKl7KCf`GR)$?40xDqZ{rSIBBKb}3Zi%1o|wys^}Cr*qA4CZg9xT2_Mb z!*3=-n#$CSwa_O+_(4>sVhe^lSU zdUW(@Nvcxx89;ymT$L>n{;ej-QO>_^DH}vRj^FO0T(%h;6)q3ILjoyxK!qPbAuEa< zOJiHNIEM?42QDXO)3T}qm$bysU5;6FPqeXodt&VlpB3N-W(_4@-r4$2VWp}OrCK0w zErf~w@{wLng~xyD48xqWOU@@hLhg!tOFvk-Yb~H(7X8$Q4><2H&PDK%1E80fX%h$q zAJTiFghxF_t*=lGE_N-iO3C$L1=#T#PdlZr6Bi!AbtatgZaS$`XxBCANSgN7$j8&{ z9W-A0$s-h5dj#Q05^#>hXPatr&%=|G@?3iGy}(D z&2hCj`=P{k_k#hU)A9E%@gMPxy0)On^>cpoz!)@Ww{H^sv|Zc_+2e zl@R=w_#5xtnK+t?jDEbY-fz2&-9m%zXtS^op=ugYrDDE_yr$A8lVj@>-WD1Ws(g(P zQ5A`@o-K4mDkJ$BMI%7Ap8S9q^#Ex&Ak{E)?rcHqr>r=oh0Hki8QV*wHBD3pf(_Al z6k>CWyXAaxz0g>#0cx${oZsl7#ILO@-8M^Kc3p4@4m-vDhpDuYdA8Hn81hCHea>0` z@S0JPHR7p{IviSZif(uFjSwAq>kT=Fm`9r&k6Dl+Uro3=V;w05k4zI<%xysgYFI$_|bKVdX2=0 z1(jO?P;@@$qD?$t;%tKcLHh(Siswq%N}e^;^AhBPFP#!q^UIKF|6W&JThb+n)O*md zcof3`v5`7P79ss+0It+JUnHrC{PJrbbMqXlicy!R`}vmY;jiVfv(tEp`$S_E>+p$2 z=ku)y{p$UH!KuK7N<-lYdA~=k= z-#m95XpVaEg|Lr3^inE{%4--M^G*g=D_XgJj-CA+&2{O_+haZevMl=02;1fn{XR2O zW2pC&t$<+}ZG|B*6RTo}NH=f>`>2=_3XrWb1cE|&! z3`U4`6pDA69Hcp-qLsadE-64?73zImK(SZ*VwVVipl|yWS=3#Wh&N#L$ zU7ncRxc(BT>n_NrDi(>m+Po>)8Wp`7ui(5Gc_LLIp-+slCM_>hGmFaaS7w+JS$5hF6}7;;W}MD3lPG0gC%@;W7X*)cAGfi;sORZ6=lzuL^ew-P zDWHqDivpp~R9t)*U_^Ntn*Al>Y?tofie}MSQ8$aLXEnriE?nZ{Y^R^CQl#vw`0E7) zwJKehm3;q2@6)8aq2XH1IiqXMPlG?t7yPn|hWE`KFGEdi&Tj`1pw0XH)oIAE!jLR( zrKqfAiHq?@-S&gR%ARGG8lA`d_1&Z=6WlFCpC&1XJ^Z<0@P4^ZVq)&$C(C0e3eN`v zlEN3yu;iM?*$c$|P^nt(Meqq(39w!WzNk==;{j)}=Job9-%F8Hbs~bwJ3-+jN43gq z!a*YeS__m5A4MLQ)V!I$LmQu5nRIv!Xsa|(v(iXhZUw_0%1I2z=X!LLSr=b@7e=RdXUY*_>x{$adX=^PzG97+hz~N&;toJvTsDxr8 z*`FeKV4K491*nKQA^5OFJHrHh0y^s5m5zLSec{^D@V0U4FW)6~TQi1@^N$#^D_%2i zfOLCgeFYME;FsG5TT~2`Vjgc(Ld=p+DuLO>oD!W2(Ye+?GfDEmEN=V9d!bmn)E~DK z76)|#+&v7weth<~yGQ$rSct@xSXnEXmaC+-?%Q1C#yofzptZp`VaO6dcXkkjN5bag z3gze=>|Q8El=#56z2mtioS#|KYXWoDJYU&;E`A5h}(jLe3>5;UHXs(URoz) zr`oCcG3v_p@!Oho-SQO{A=`syap4;KiZ{ro*7xtve zwmO1N2OP=wjRo;IrV59&6}q51>yjp~Rz9wi>oju1Itze5o@_M`i4Bz(m_CqjajD49 ziRvFZ*Zjlyfu);+npU8y#;OtZEHlYu7}#-P#{2FMs+il13J4N!#ygp0$rMdk`M=9& zl4KXNLTe_zTXfpyL5(mr;6AhDDa^lmn&+0duzDfwk*k<*UQNdwow>_;taF#V;6`X} zw$DQLqNZ-pPo_{5;8RL5$&vM!n*B1#$=YhMr|dN1p4aU5Z$AxOzoMB3-(H@sQhvBn zB{jiHKdDH$32#@0B;&S2B){Vj=at%vH&U0@Rg&m#Ejdh)*W#XGkB#4$f5&t54()Cm zw@CSAMnyo8Mx^($7b8}1DUCZI<<6ByFiuyd^ekprg?C(VNt%>FodYzQnL4Q{&@#<{|J>X(|qt_w_ZHr#Eofl-kh4c= znE}vmjunSv%~ggjN~{l_Ydv^oa~4@9*s$H~267*Yr05n$7v6O9#Z{$yMyy0v%?vJE zXraFh&=SLz-IoksQ2~)}fGNd{4%nz*oQDZn2u|5kh7G=uCrXJQ2LHHB=%fG9WkLXu zWP#WN1c_RIn@rsNcaw>l|J7vT(B#tjA}J%X-#moF_bs+{ay!b>FK<1AxaxPSOwY`8 zpEg{Oosh8|XMtuX8U%1@_HGYEztVcguh)Q&P`TM za>K3-lq_U=UE;L8^qtS>$5QCzH49#@MkMZ$_f@wv$HGdgszq9Ct-!tDFDLJQI;%HL zy$ZD1&%cJ22xJu9kt@fsb8SqX%9^teQ>(;;xEv7?W>0jDcM*)v6kH_d@4-mnw5WOx z_yAC!{Ddf(t(L5XESMsS!><7L4mUkT+&mC1A+0%=#F zie>JwYQ-V%SvYosv*xoieVqEfOo>;=3|9fcRT{FH{XC+P5n;=3ZHh^5QWYXXL-x!c zqo>yL+=~dIt}jTg^YjEn7GHVQ!a0ShrK#^+JPkUejgtwA%vNllei_ z-BcsP1Mgi`cUltU1?m{Q1H`z8d<{Kav;*@BYj3)rk zgFo$*Y*Z1z^T2ws?_z-bzk41?W{Usid9Zs7&Cz)BX-_j@xtC!z7Cv&UcrWY1G`J_p zHaz*(G7+{qy#37OSjRTX2PPqr+fK~{7SFTnBwHdkUd@SO>g!Db8f3!1jx3C>qK70e zn<_`O=RE7G^}HjiA&>%ytg@DBuneMn54-5e~2-=i;QIEG`p4Q7*qgoPYu@yW4QgkoD+eAMoQVEvV;P z95?tsmvShl(l87*$j*1}LFOM^g|Gt|W!VO~HuYMzy9)UP(&;Qk5vGxC_;Y#>h@goY zN0BUu<|t&X;1@F|lV9PW7xkk#+&Zkt0|!1!J*IcoVQ03X3s*2YBV0y9oXb;_>ArkM z$E{Ov()y$i5mk^IHO$FRnk7v*v<8e#u6?c4{_&q=W&TZt^8eE@j9vBrC!)b#9I=_M ziHZU;J)$WvkMg&-*^haQpbG7a0)0FFN#MjBiKbS$O1}a z+3zLhWXnyvCg;wBr&Yv0*2+H*v^1fJMfRH&3?;VUTwPVUCcFC|^YP+@jZb8JoBz#l z8XTQI)pXp@SMN#|^)uKDKUp>7*i0AUM#xhu63|rzb7fmi$JSfD^utonQr21Zg!&NA z>o3v4(bjQV>_Ip4J!~mA1sTg>qDZ0V?iSzUp0)11@mlFcTGs5r#b~{}Rp#6UlXUrE zOj+%XTM1WtD2jcL0O0SdEFH4WwRB3e$9=u?>LNc3f$*;{#_OP7v!VBvSYlFWi8gmP zka_>&X?4@SwNpMN0nLLwST|o7d%xF`ys#ukqZ6#A?M(S* z2YzltV^hZE8QygE1(S;!VQ>M*V%8a%-kAYYSA4W0=n1$(wu@bELDktZ5L`ttUmq+B za?G#wi=J2?X3;($R^6Pem1a)MZBCOxl+NB^a62+7=-Eh>wr~N`*C!sDDd?V;aXTun zJ=bhfy#<;?uMpBwo>XoQR{GBfu_giKr-yl}Sq*DKgwVKrF^fslyTlTLW~*IpXc;Rw z)aWgj?fg85P&flNaZ%QZZP%#j;^}oao7v8@t%=u>x?tVr7M9bHLLH%Qqw1OX$I;Vj`s^fqu7Bul@@^j$MoxK7(=Kin;Nss43 zEd|Wf0Hdw79yB`i->fnU5r+D z+T*2j@cd?2O+^1eJ&yyC!U;CS&(10O!JjHzUy}Rdl%G$x;6NU?2@GU6`cd@HFS zS#9i!BH91E;vkexlP4SfF!A;1k+`Ds<4v$`OjtAv#rmJ#`Jcaxqwq()B-}m)^a(CS zfKC2->hB^ubN{)mwUtuF!$nEz5sv|e>PNZh>H3He_%}ooL&ndxzlQ;6J_|kqS&jL7 zh(_)yy#=ZCb)KLL%rNVDIcNydjnQNyKValuVrh&Y=``TkI`@AvA|qYOIefpAK}jZI zZ)K0yct>e{h*i2jxA4@o!6fSC;0uM{3^@{Xu0!-c{TP2f#c{~NvdeDD|Z zzVdyXnqNxb+A`7vN^mko$_J0J>*gTp6>h{Hd-7jnw4O}81hikMxcuv&o}>FtA?6^o z7%62-*jd_)C8_DwNN_0THwBp`cb2~m+osYLNj2DUW;l_clqzwqnOZ_xkk zS#D}5<_HYht!hxg{EYP1z{VKf<9!GV-kVZBQD`+Z!gc)UmWt8T9N`VnI{YtRBbm-| zf^zR)KL%v-$M&Oa{bB-pM1cI&HALx_DUagrqR7x-l^kKV5Si2lwAVO)q=NTQbPiy# zOqcunngXuce;=7lipe_*b7YTZz-8Qp-weYJV^Xm-me$C@y0Ljk*e~-_nVW5fi1ne#QcxvW@LG36i7lf{d0E%?e%m>*Ba|3E5 zkW$qD&9E$T2%|M1QjLC%Ktp|velrMuTBO&bXqEKYLp`9)g1-^CCRhN{Jb<@0+GZx6 z`91cZ6}nQWTJgL9T{9v)R^gY^ix<|fKf89QzBY2PMA^T3pELKU?(M>`E0{BK=}4O! z`@=~D3!_QoPn~GG9ER*b@NY$&DfxaKoG^%x??F`V zW0Nhjc6#g@s%vLFYMvW!N|B&i5TT88Je%AC66CuQNvq8!Ihme(=!&5r4vI)}O}84O;ry}k)kk_pj=3dZnm_?YB|4;U;D?l~dKr|C3GasZRw2%os5t!il zh5nMWCzvn2X@C#S5uWT!1d+5x=LtS7b%y>J4zo*fUNK^za`Rwk7s(^WxEbo@39Zw& zTXjkk@z1MOabN2n(vmSQeG_w}+Oj$z0Ff`aSsj|nXuh5t_t9zm>Ab77{47%FX#2A} z^Y7fiMdXtd?Eq<7W>Kwy9RcvVCwLc1Mtuv+0bL8s;R{;c^^xKeP<>zbF}&}~8Y*oM zI_bF(T0_xt1j=F|Z~j!BQTGRpo>iSXEm7ay#v#|0Zo0qTHn$8Frrrk9RaI~-j@hi!w84fAWU5s?9wHQJ5%jZx9XvZVXZ zYS3gt}(^>w1Vc#gmXMq?XRZ}FHNr)UiP)gMjEfHMdSEX36OI0yMxx8zantJjhQg6WR1^{*i(AuRwfZ0Fd`jaJ)Z%5aBFi(0!owH>Lis z_O(y{^K1XSPFD?ht@}S7_OEo!e>(i{v#Bvia0c;zxButeS3)F!>;q8s*RpU)e;2v` z4^`CvYSs0>bG%B;Vi+|J$_>Ox=biu%RXfzm9Q_2agb3$jF(jrSAVyU~JOJ@QmLka* zdP8a$J>eEY4k%jQ);W-{05&2&gg}RSU;gk zLH$A5mIU6wS!CPti8ZQxIvWVk=ip;2KG^jOsuGUvm_4BW`}GRYPL~4Toz)_ZU_-2me;sF)L(aWFe;$RN!o3#HI%W+y43k^$7VhXq{w3BzTx!bPM?CtAKt|` zY+ATTqTNKEbHRVT)c@+xDMs)|)RLcI=Yfa;W@VmI7T(Xf)C5+cg$wdSwnR)fg*^j=&U#f|-x#2~!xSQWI zjYqW$>U>vf-zj6L+?b_d6EN)I-X?8^ zh}p3z9@KmK1mVlP=D3%BwKmS1^HCr>dGu-lV&O9Syb<)u_nG&kZ@J8YY8}>ng;ZTn z*Va)X6|0H@6zFhxe(ar9)9Ik zpYzJ3`?=nbhob`Es#?C5Oc+<=1}lj_9jaV9Hd&20F`<@!=f=Z_AI6WM*B?IJTd~aY zQOw}-9o%g?R4`<<8wFXvy=W#;_7%nud2_f20G}5bNdaCi~K;m zz%JRjQ!szSkn;H_N2UuN!KBjL%{&N(O)|`D;`UWSD_CeQT`AUJn#f z&-><;Wb%tl!W(b{4(!p?6p;HBFuT|d{_iy2{y&W3!pQ#^#m)S0qPYHlh~kbWZhy?# zaEl7mo>dMX-ewhJW{ADiWWc!W5-LQ=uLAKDx(*%;d_PG9S|JlF+sz*{gC%v)2$j22)hF!LGos{@z&0~|bnl0F+b1hh3^ zUL{ml6>*wd-0cXGHAK0oNGbE$MqIL>$|A{uY)LVjMKo#}ky41TCJ@;$l{wtYDFy;H z4SYDbeIb{{CUzm|s^N@a>(O^tAlIjLu2!>?g}sBmQtyx{00}#Un5Fe{Q4qJ8CLvUL zWTm)7J@8$N&b6!~0?dSl%+IJSpt%I7isloLZTz03Xj&2dQkswXNTFIy$D(+_Y zZ-eSXG-IY%YU8M^(=60YAo9EqY}$guNUxECZsefAxHWkQ+2|X*15+G^XZ=F&f0c~) zq1ceChgwu+0Cc^w_RwD1qE0dT(oyxLsFkTimhW$>#!E|We9@5rSZ69~J`4|9)B!@I zAD9>~31u~MnAg~0`p2UDxKqOg+uff{dkgZm@w}2vjDEJplG;zSjHmMtE<#yFBB5kS zyO#G6K|Hlbj#h%2d>k~Ghu*ReR-wqkt8Z#WeJD`+FhEP&vP^zfN-W1GmJfZFxx<7; z_lUK)C!W5$jWy34tb>q%@Z;*@FBpJ-r8=Fo%|p`iR3fp+>0)8^z3oE znRRDLTzX3VlIV$NGMv}Wd|L=yC0(bzufI(1&ETrPN#1N5OMN+#3s@ICE?oa^Erb*T zlwO{fOkWdPxQH@@khVLk*-m;T<;gZuF9NzKz=p8X0%C`x9NWMgUfIYbqW~6RCmGo0 z+Rzt&Gu$1?Uk8?5&>zlRI0g-ELQVSLuO0f@uX4)HABKRb#1~G-cybP);x0A~aIgg_ zXK5=LrNSo>#koNKB^(2yf&iD(j#;50FCAWA!=}fgUq-oN3P{M+GjEF@-Jr)^Nfdp{ z!_oOf7jGE1dyFv|7=$(|c=T7s#G)qctIBZ|%(;N8Blz;J2Z=sP4d&;ak4%_9PpmtC z4yphjojY?AO1=gG%7+tEBxgd{PJklr#3kY=hJE&F>28Fv8L}EDTooKNkcEt-rMetn zHKV0}YzCDTRQsj=ye*e5k~BjyP7p>VzZxhFo;ulert(z&9;yZK&E09>*^*FkqG-%L z+V9trq6(UDb?3F4^v(p2oz9y%tG;`iar?cccEUsMtw14?;cgLPjkFnH(cs`)Md zcQhRTml^OzP0%uKDkqA>LwirZglH3IEWN6YL2dfdPS}R1ZQV~df`#u&D&&Kq7QcTqCgcc3T%Gw zVQG@`+kH87NtxX4)%Fhz+tHaq0!l1YQ6R%+i6YAa?WPy&a^8ILO=vbULJw)cU~F*d zdMTk2j^aFI#V?`P;Gd=R(`N>50x~6FxiO(Lk$p6EBnO+D;5-#?PD)fLl;hQ&+U&Y9 zY?`Qlf?0YBQrf>_H~^g@i0~}qC_uw6k2yEL`j#py5=$5MeJfO1F?c1pGjwwHfy%e^ zg*c15Kd)cm(UqBcAgn$!m!81}nO~TjWL^NZ^#H7HDkpY6u&;?G*wP(3Wxz2zajQUv z|Er$_?0w3@-Pxq{^C=MaJ^%a}>Dp(D z?3@KLnfCqKKiVv#c#B+LH1o_Kdu{%$M=&7o`i11(a~goOHWJ~4c{3|RAZ1hh=)Gg< ztOTiu>A-|1p{$$AiLd8Vu9%MOZbyo;S?iw^yR#S__j$5kF^=Z4p;UqVI>nl1vB9eu zF)m4k$g8t-!!a(L{pp#mp59DNu(mIBz zUL-)aiZJ#@h4%|kI6AQ!VN+2PDPh-Lm5fLh>b!)IqJK!xDBkybdpJ%{01U=jKL1w= zV_A4D16N@!f1i|ggFBzn8IFE3*t_f6xf%r6Vq~cvq4yl#SNhEWOah$ivlr2o;y(h5 zo*+fACaDx=U8IbS)9;aR+RwL<&+ma zSI^MPApm%a1cQEX1Jrro1%?2i6rjPO@meQG_fE;{nakfFurNB`d30NIMji4Jb|mV= ziL;tpy-M4Z1kxIC=g3h-$QkpdP)<75L^5q26mB9hQagI%SsFjy)+AakM^Xm?N9-N@l2yWKVseB<`XH zKh;zap`YgXAkGgE&w+j8&K>ecihjYXjOdW;qBM#0q{WM|g-dio%d>xmwxNOj;6Fm! zumH5}BcYShaTUkzAVn;n)h9(M!W|Npp zW7ldm2WC12p96RW-(G{{(xb{ojR?Z8zNs!?ZD3DWTx~$UwtGtUw{(uTaOBokNLv1K zhlDK)d1kXK_)ZC&r_*Hn!y|H+&eSb^lU8Q+9@dqwJK{Au=dMsM-l&^V>bl*rhRW^w zLOb`IJ@FL_T%p&Ac&`;fFsRdLnIq_Yhq$077Ml(C_m!@GIhBO@x^cG3iGMuyF^b{% zZIn10viwd&#AQt})g3}E9yX8nA%W4f64yj)AZ%ISb$Nw5=6vA7dHg})o9&J(W%oux z+^l>}FQ`d5u=-CY{lwEX3{GEedP;^)VA?6i&iH%hq<@M{JXi&$!_hyKGWx_^DTV4z zPF~oAoNj*kO~)xm?ZvJ_`s|dWN(+W2H^;+B39V0{WdgAhC@iC7tg+5%5!P~$Dj{+| zSW)x#jmLrY;bZ&iGb#if$6WRYI8rd{SWR z%v0jS6ZDI8ZyhQZAg<)~BoOFB)ka%{um!#QuG9%BW2o%ARXk&6xOc#;eVILpIx*D~ zmGUTJ{2~aMgG#9@^$N+@O z0dp1SvkDhzpvUD^$wn24!G*T6?`YIJuc0@hd47DZv^}`TpDB(Fk|vutzPwThH^1l| zcuos;mtdwJRCMtC5NcoxlPFUqOrA?`F89@Gnw!*`hy7)k(EzwF-GSw83b0jD1d5$l z+Aj{e?5Y)`#e#k|ZSKaaLbKswz9Mv%R*EOprDRxD8V*#BO1G-#nk8f$5_A2(qW3wP z{I0)g*5uw1I%9SWmMp^608AKcRR3(M9xVr;$wZoPdfc*9;UufMQDs=(htWe2q^UAZbANW#+s;-Feg5=2FRZ4ZGdjm4wX9OKOt32fyeDD>Z z@OX=`+X=evo6tr|mbv*B9E#K~`(dEVm(T&$ND)f#2>vO^V{xNDFrUJLXnYK;sgul$ zr;90I`au0@L>T7mp5`R1_`LP8PW2;hZ|F8|1^h-b;MSk{&yCVPxE;3*4$d`XoiTE_ zIcdI?hTpx#Cc^XFN&9**dceUJK4naMJyoV>ElXaY7$X{WRP5&2Cr?4Fff?yHLj#N` zg5$g%0ZZuFE!cV!tzZO>PSne}+jsWrvUzI+YY0UK7$jZQtB#ctp$HkhRqCC^PpL*X;0NUA{uGZ)m)J(IyW12*&#z?`<@w+zz^n(oQ zVh$%sgEUm}emkukVkb=d&b(zut3WJ3c2#zM0RGm11PoE`2lt+nLQMQ-@JB;@<{}UK zQ~)6g7SFfPcj{7wc$AKYr_leeH4x2I1}}o}y_L;l1}a2+L`{K+TS4!4fv} zUAY|nvOGDi=k&EN541Mf3lo!F!*<@8r$NMeKk5(SQPx8?RgsEI7c`@;dE83=zCJaG z;lkMHkj2>B*m>c@cnU9k9Lmn!0GF-}eNZ-9;cag#-7<7wBkgwYZnU2Ll8sf3+bOsi zd}8h#uyFt?;BRZlf-SmKl@bB5fwQL2lMV>ysIHN+_HEfCFi)X+?{Sm+k`HfOHm?Jt zz=RzxBThnjHjfEkm%)p|>}pe;xW3p$6V5gDx@+jXm_nz30>tyE*s|Ta@v(Q*(?sT0 z5NE)({$D%MlR_4J#9KW-0<|8$HAq!{R)X*@5mfrorpV?rrtF1!ov#zG&0jVIizD64 z^HkGJjlA|vJof|6Y!B3lfz-l)2vL*v8qV*VSbG5ni%2z@6OUod{+7C}Fry&0JJ~Aa zJ|7*>4PJziC6QPZC;&n}wUF@|!CG`GC!eULuVfal{)cw8_0#IE;?W1fq4JQQ-6e}F zsF!3`U;+-Hh11UmTrDNYM^P_W;_A%ti7zGeb@j!6YCrXhIVlvFc4Pm%M7Gfd;S!yh z=Q3>dvB!C~diBbtbfYEwC3t-X#|8wKq^sIwa>R@uu~~0tdy{q_&T6coo1qavj|pAM zS9=NzVwKI8K&V&sCHh#(=$ynFOb0I{XNorJHy*8HANNMJg2q1r1t4NRiJ$g^YWh9k z`iO)rSrDgrGU`$KhEXlLk_E}?r!EoJ0h3{veX$b$cEVBv&jpN(IysFUe*xIcf_|(v zHxmV0Q!k=P*~6s=hH~*aGXqQiLa?&@i(utGx&U*D^77~qZR(g)v!!iE6vn0o+}U#5 z@Lk*OB$aHgyN2PtMUN8GN670G5O4!(*IE)q7WXhE%y_$bBeFY@^Zww(eIXeWDAPT# zxL@zk^3nEt?Xg@x8eZpO|D>23%~i#yU|M;tCFQa&c%gyl{l%KARzTow(}QC@cv{Q( zQru#w@qFZk7e3ExPqaOZE~ySUnewovxs7E*Wh&oeU&o0{RiaTnzF;}GrA1{GB z_~vSaebhOZ0zp}DfTuKwna>`B{6Mv2uurU48_?5XD!20P@2t$i=gqF!z}}xKo>q59 zrmL{@ooRd)BC1fCYhPtQqz(2i%tSxWY*kRqwsX-dF9ht=@BK2AZ5&rRVt6Ax@!$^S zC2)56f1x#fgtGy(rpte5O>z(Tr{k|o-V^VDF=eUsj=~h;eGS6tpnQjz&lIDG$j8$F% zkeB=nEB+($QVP(hnG50i1)2n4M7L<=bbg?RqUJwfFLnMKd#P05G&T^rsggHZSA^=C zotj$mLq-tNr^caOF1M6HWtMXDEZ1Loq1xG}nCUDqoK7%C01(32Kqssl1_4*QI2A3~ zp6ae;lZkxnidef*e4|{=Qd@X*R=qYeGXAID8-#x|K=s2~Yx^s(p+*m7g_h z+OslY)^&M;)7-{Pv)SqaU$08{W!BL=K5nEhq5#-9uA4)Xt7AzA=Tt=-+t4K#Q;SKF zDJKy68w0P7qalwX9vU%M4ivAYa6n>=@?whK1?M4fQ-wFbIY^s15GItPHq-7d+j87i z`r2A&pRd z>aHBbopz4DNP77t)|Iz;y0=_mIG5=lvpaEQa@Rs#wzBJpw)WYi-oD4@@a4$05O31D z4s#Cp;MWjlz7SLnY0{Y#Y?@<3IPU~~pEqZ0LrYIN>|dWw$qwtbAM)2^Rl6RMr6c=P zeJxknGguXUOyKPB-&yG*&_p-*1Nu|+ud1VvjTN7yGlNjS0; zMT*|@jy`0v+&EGeqYbvsY<$tR;;3hyn{u?dhJo?C%?mou@Tap!)16_=i{E(E{}5Xl|`7RR@5sStvB2A+#} zkK}hA$|f1C#~WTWZlMN~lj}T~*3~w0NSeIqdVC=c`jQUB+63KO>e5Ka+QVPx2#tO=){}`dtr`W~VXX4u_gsUc)!>r(-jq zQ^1}770^e`QJ8)6NiAffT!5fZk@#)ed~HA86BcL*Tm2vuCtWSa`;70Hc(j6kB3JZ$ zbW^bYC&LXOKA-KFvR0AjdcINd_0ZhGDSMnIYru10e?b@83kA@_U>$rjP*#>q@!0G9&0rPjmDoA;>|T{{mAlijva?5H1}r)H97$vgNDm(4A)@ec6hYry z9I9dNxQ0{b|a0jUy#Fvw5432e;rw>yt?zzg-agQ5g#p!dvn(mL2kW6(0FyW3&rYM44j9 zDHLmaL|I=;7c>mQF8<5^7NYf)2YFPZHd62l*up#_`f?5wVpY3zq8T7q3S>gY`o)ZK z#ijj-OMHH(5zBSpMBznr`qisg(?cjIfOj+Yj^2PM-EY)E&JpxrlRl5h0}C`A@;MEdAYgp%NRNzSwQ#Rva-$ zXA(?uBp9{jSH`nua5%{A8%b;IpIvmFNJLDWJV_4R%HW78KE{fCB;*HAI49~@sRU=ErfPQ1=O0`z0kd(5pIBnqlZh_!?S6Eos zEho3%8VDvJ7k!#^kOG`KyaBw#Q(@s{XypLP$)qPS$f`@wRC&g{>uk5cyJI9UFr(cD zqz9)}kJtw-$_G0KJj3-^wDHF1?da(%#5!cM^_%8DSAVzq{P~xu3nHIEOin;@@+%C?A*Tn( z9nGQ@oO_ksd0_b6)Sx1)qu@8g_0L~SxliPII56hI`MsGCQ&^xI@F{D&(nL z{%sj0XnYWiBJW^vTtMvYPt8zV8(8EW)ZCH#%KeJ++le4k_X zv^<1eM#SXt5DGj%K!?c}+VV5p<)tZW(6w^r3l4C<%!ICXnM?L*`r=&0Wd~0KRJ(H@ za#65@}uR$82eJZ~N0-~de z)rL8;y2`P_X${xvq%_Y}ofkqE1iUPlj}cDpeljg)Sd5EY>>}R)MP%g-MwZqkILO16 zwa3tL6*nTUzZcnBB2{#*drw&(o?0+w^U7W%`x`B@Q#pa0h^!~&JQ=z$7F&Bc=NUOj zjhMJSk!$C1wq3~Mpx^I*F!$b3O?B(qH;Rgah)Sx$wX^`7v{=u80Zrju#eE;$%cXq8R=(Ek# zu*FxbvuB)t)S9)K#9WGkK8UC;O~4vCYKd&@@mk3@G2L-aO@BXLIjPk60+zjbyJL82 zb37d(MGnQ6MZ!<)Lc-~6?y|9StV**Fsyr=n+uiy4gcjC4V`C?XmSL_jj^7{%dci0r1aU^QHKYIAB~Cl%EvQ?@Mre)U}%dhQxX;d>~Cl>&WZ(vKuh z-*A(_p^ty?ItGbP$Izl*n2v^0btLI7`%Ypm?j{)f$yY4H5zF}(&D`ykwOQW~oY8I5 zo%F-M7{*G!dfRoz0(CbkDZMo#_!*it7>!E#YPUHqc)k_!jy7%u7Ct4$WvIe|!XoIh z1pnQ*bX6uMD)iKD$@MqA>|9oDknctUGDAm|jMl*Wm1s*@+W$EEWc%fGn@7oYiHdyf z6Y(m9KuZT#GxMUO6RG&nJdYb&0WT!jHRB(+Un=(gUaKZ1$WX+my%k%~eW~=hFOsux z-d~HN)p>35>a*FZ)ZKPYbgh@67*#CJl$^a}98ovrGcUz|!MAcHsq3Qd;J zudm0V8ON#6*6~O5QH}xZIvS z0Upu4F$p&@AQTF%-N~iD_{GrlXx49-&S)xjXJAWl0P*C#`ebxy1t$c5wdn?>MGOBE zt0iKjV|-C~!MXkygJ-?^k21Co9Xxh@atux`gyJKWJ4qkDMbApr*fx zmV(Mag4m}^JDsr8tjyWR&wPK~SCHcY{F3cIBSu7>!w??+V%XQ9rvS|xWHEu}VYK~w zdea3KcAApCpNA;#};EQWM}e2rpj^3>F>$7lrEkKccnJOky=sLH9HyFBw0J5_%2aL>_? zy{3CxA&}z;CW2j?sa+>q$c<;Fs=+y(-vL26t)M|9&N$K5R`l&3iMAqf8l~G2txnf( z0j1(UB~m<-l4mtS!%|4JrW>f2L3F%7KC zQ~#}^tqf;GXKBC*GR|dCxxrQ#3)N8MhEez#LVA+-IRz2Q&4r!Y=f~*mH8CgT%eLNQ zL{au=vT)scKSiHDf#j#vBG0TL#i~JF<*ZiR*sxARC0f@#cYqY8IFVPGXw^{fUnQxg z-QwuLzL4-SPU!^!P389k0qQ70En;_ociGVLoY}W?n=DgLeiquCo~rlWR%}&$=n4#@Qa zatACFjve;4UAj$_nM38QJg3FXOuDeSNb-LGSDGVGgTZwLLwEq0*z4Ncz{6NTO5`@m z*@ewf969KoecSb&g#+v959dyQ{Kas3;dMvM!N|)e_&jDtoox$ZO+q5|L-Qujf&Pg3z{)6w;5#irzk)i(q0WG=)wa~CySB7 zLcc-_5?rQlYjbQuGSzSRxxyE81#o3f?c#C z6UCA~kmS1*7G-J;JJBpO4W{PbEpkz1c7GUIFrHRr~(w1^AyYOZZ-7_Aj!0}02@ zcIdL2BEP}vLPKk|j;$sQ&MsHnjQSbTcccAW-e-+>;kgs%5_*%>5_S%xCX}tYkOpai zC|k_b8a@|x9QCyS6NY%KzBwEcVJiDJ36= zUxX5|q%0C)_MTkU!&Mu1j9Y7DOX5jYk|3zEu&xQT73w?3_%+J)PI2*Tc?j6Yw{8Y? zS`hLXvGpIgZ;V}6$er3l)Z1C2@2Z?!WUA#nQ4>GwCKuK7530{!;b5shab*>{Crm$T zPh@Ws0zlV5Tfmpz3zkU{RK7p>!bSLgbzS=P^VRVi*Gebn^c$~graCjq&qq+~NN;E{ zbOx};$>5B#g-7x6Y2z;n2TN=e4@_#un;kd%`1DCzaHhZ+M%&rfg?AoOfhg$^P|O4> zAsE0)Hj@Qo^s%hu6d^M|N4k;yd?wfSrQ z91o1&{3AmlXVQCPGY3=apH3e>>-P*^{$Xei8LGMP{uS^!yB0l)USy*meM_{vMN4Wu zhft>l&}F|VXM3j)Soo!|RhI+5F+G{Ow`V0@YN$VsJDV}1I;q2jF~_(7RgGB3z=SS7 zf?U+aa-y!xQj5dXGeB@?YT7)o^YiPpIG(xat6G12O2noa8=^KquQ}93OT;)uerQ%B z%62Si6FE+aA1hwbD`}YwzabJZq;AcaDRs(5;Nrnn6fGTw3q@6gwn_1uP?cLOjCyXw zq^`+iueo=TzJBEWBp-P6u@Q7a)5355jMeTs(k^x$ggo|7rr)GBWF|)EISG!&D>1UX z?0;TO&kK35V5U{MTSsNY4UolQ(K1^+WCfBXElcU5H&UCuQ*RaSG+teJtbuZ+kxTBP z%f;>C7a4XDIL?Xd$1gkn0E~BDq7+^`iON1dCl(>oqWZ;2*p$!>DmAY*Dtd8q*M3g4 zyv=*UR8{p(1I~FFy0R6MaiEoxK8RtJLY|^p4Oxv=YZ2t`P8zD}=&7eYA8dp)e!9K! zH5MMP1oYj3hv*;peS&51Af2@nq&Ts8eUVYlO)Zp|? zmX9Y9zs_&3V!6_U-7|E2)MLZ5>fu1SP~JbZ94oGpL~804<%2n2Kh{CgPX|So>6WW zhQcMCE<_2c&3`9Q4P6)9twa{>VuX9#3p&epk6dq2f$QQ&glq&8W>xCz$bNXch<#`0 za}!CvZwxD@rqc2^71UWjSZ1oSJgS9Ge5g;1k*t-w+@(+Z>?BWG4Ag{xR~sdZ7|krO=B3LE;f;X`zJZq?zEnNRNgmTmS5&e&-r=yJ^)}<3?c1wG zFB4CsM<(`t_zmM;|3R_$&LG)UlGAMdbPhW>f5$8_wwnKnqsyZ+`-4-T`R_hh5D?%z z6L^59EKTVQf}QZ&MCI&w7n+57gB)x{6jo~?3PykDi^(_^c)`okzF@2y@$sn5)4kN# zy`M(YUbBQ-uu07&JwF9DPVd&f&dO<)kim19m)I?yHvWytikPb!2o$G3g~&)cNXwwQ zQ$*_4joz6}lkM8Q>zI?3vvmO3%j_?*m%Yfn4_}JS#8P+Qd2` zt+dmhbTE?${vfC02fvxTeV~sV{36VffoF^$N=-sY0_2+%K?KjJ(jo8DW*aWI$E56< z8!hZJ)4t1HR&f!zt9mV`85#zf@Flt^ReTgM;?fyMny>rVJK1I0yEwkL8Iq}KtQB{TnruUhU5%UgR1WN+ z_A9{fEIm$@n%lzKkrIe%0i#BDM}BBI7BK)Tmg4c`_>P0PN6&<#jvI~e)lpB%k>s0* z{R3eyqV>BP4a5B}^|@za;dg6wIO~pjNgqLp)gI3awH0g~rM-dSG9ZjVR>e!6@5wll zHzEv%hMA{}^%eDTN2;of)9r;r`p*TPj}h7VRN&=a^Uy9(w<2mz;5~Rj56wl|A{rr0D_GvD?lIe_={^s4+31XPNTo$noVB&uLx;$ z8uqBJZ#HvnHS_avDYl%}anQZRENktb$ry=@M_5B`ZpG zlGxisEGm5t%4gq|RMP7mn;t1fch>UuLyr&9CN2-`fk9wC;Ah{ z5Q7h)bFfWarcXn#eEC#SFtnM7wVRc;ui+ z9|9!6uZrw2dODbM+*fy3z`C(u{?F0HK+S@6Cn@lq;V%`Sfujh z&2D4`;vOvo$&PqPD{6*N9+5%WtwCs4I&%$|r|j7Ft=g-q$3Gwc@Kri@(UVe{iE~}+ zLrwvQIMho>opVNRSvR_N!oid$R{V#cI( zqkPlp>>TSDVo6gO(n^ZffG$eg^QARlF9$6gY$>;cNFeP^uS8)Z8&_6VzEW0MwFxAJ=o3wqmzxUXZX|IqUx8?P+ zN!Uw(Obu<{0>W7dbdOXBw!3C5*2B5-6JmtTVaknYF8S|%VB-ilp6$3drDJb~nHU|# zm!42~XKc?i>8Q}fEY}b<{q{pfb7E02+ze(Szf0*tyg7khH0Q!L@p8 z1F2kE442W3tQV3QXt{u~P z@4q(v`VmU{EvmAm_s>?SR`}0>1XP9P8sOKR%1$x;i(f|=5I~x$2sm`vglTUK{_zq@ z4ArM4AvuxbaDwSp4D5)~Wit)g6uFSO`VcdF#iA6mKQadcbs2HN9>>)#Jq)~kNWf^^ z+NbAWwd3QFjH>+Gy~)_7n)enpQx!Wt?+hZ|t&H2dYi1)_I1}O~ND#8Tm?>dAd>#4Q z^eg30)2}Vr4j!cAAGid=>F1cM;rUNN$wiNATE5^Cm8-A)#(0On3tno2g7aosMX|}G z_*vZTk$vkVql{h)~FqL2A}NY@jhVPrysksW8&&g{Cr zPd7BrvAk+C1fHWrm#dj|}U8Vfz_b&frv99>rb1fzeTEMori zr?h9?!+_C{d>@_rf@+yRN{Bh~qTInC2_pgjv0}AfM2oB`VZ-lHxu)jPA;^n;g0+~k z?#qMe^G9uh(`Odt&kh(m!X;h`8Vaw#%itVfQ71LA2J$u4=wKx#glb~X+MI0RLK+|2 z`d)KG=x6uxePYMlRD#6LjYq8Cu9xzY`alb_`%Or!9m}zq!-PGbc}f=@exNsNG9+Rw zNv&2$5SfmNyOhz?;3cUu)KIEM0vX3Z9pqfS>atMpdvAEqemi}o&od9T4c&Gt?@ljvLew&N7^Cwvz`R~O zvMa?$AI4PGb+{bV66}p0w%kcL)2Z!rxVt~Q?Mu$reVhp@8yP{E2K2VyM5mfmidVMh$4WKOs0^ui2LNG zT#fhMW!)1tkp|;-TH#K0g=&|@!I%7;Z|`{=@0Rsa1Y*V7?eolGxL@?5pK)h=9M(cD zL4mYg(WxJLr8%yxpi~XI<7rWhU?-lK0jt=cP(_CG_dUIB^_pM6CL4o)t32LLnPreK zq1T&vLDZuAYWH89zL4)7A?3XtX?CQ~Lnvqd6xsttgB)YQ8!Re`2lD@jVmDjJ-d6lJ zW#=4!;I;gQ9>Sd#+RBOWr)4TKQdG&UAb(vuMi=}fI-FURc&PeKarOh!D{sLGXU0wS zRHL^-lAZoff>r!f(N)M=$IVeeeSGq#VD(9hewmg0eMmwE0nU@7PCru5_?)Qq=;!g< zbk0Q-!H|uUEY$`l=nqUz^}tT1U#QlWp6vG!pEz|VykO}Ig1{vlsubWzLX(VO5T5k6+(010`V9_j7A5Nb1rC(?cW_|ee+CCm;Xd!M z8Ldv(&+a`h>37*Wzq>C4KfSK#Lf`;tRfsMr+dDZ3uhe(z;~1oG;_;>Sa{TI$6zCBd*^2N3W!J4^9aEA@egn z3k<;w7;7l2=P{46ljJgkuTGLmgD1k>QOwwbI+~D6-$bx#ysB!wM5E>24R#7QLg=^D z-cB7*Kl`7XlTjUC{iB`c0KRbJZ}Ej!s`BsYx4E7-OQhT|wr?o2=WQx7kpQE$SA}tL zB!A>$+S3cIIuDcJop*iYI$LD>=z=C$6Gz{4Ai1Zq(2$Evs^(EfI9NxTaF_2Mm4AG` z56&ihZ|o-!VV{paGUt?usYulCz4g+?MMWPzsuWHz>i7w1)6$)s8*)q>l#mu7Y~TBw zVNVhF?D%@+QGnvCxSf(QFba=>e)tntT7>6b&mo+fC%quVTdbuEwj?i_y&8++X1&~W zKdx);!sGCqOR^gmhf5uMKFL?6b6xdpBE=?KK4|zBgMXip%GDR2u>Ulc+(h9;9HP}B zh3Ow#*@#OWFl^xL9YVG5-3KLs%bsrMQ%FxqeU2i*p|T5_*JQ6A+1%ZloX5dmwz7iD zegkFiq=xV9)|Q$JPH)L}xHh1a;zF{iZqQbm_x9L#%J#mQ93kp~H-v8V-)?9kwGUr>(0)zWa92b5fmZAw&UU_<}Zc(WZh51Fcip*+; zdeKRQcjsiI)y)zm#Qb(^BdyU1pr?i}H1!RlDkpRg z8`QNYL3%rbudBY&kt+S_xGEqu4y>0@SgE3b)cAOQfQKso@1(}k9FadsjhkH4%7;Yt z<=8rt+VEaVN0a2Hx|hL(eJ z5WHc?a+xU3x{!Y2@XWhoy%lXrsYbg`j;I1T;6=n^Fc<{W-YTk4^i1hvbRo>RqRbpm zjkiZb$!=em;g>nm#YDF)fpYcE{#f@jM$D7)j50s#b69E|Kg>UyVnz3e+X~UQqen|@ zvlE(0H-&im*6`1NF&GvnMo*T`q_Hiokz@~`aLvCMgt&)0$KgL=YB}^{T4G6Hc9WsK zXVd-D%nQ4SF+uXu+kr}6iHkn2Bu=ZO-YjsaBq#OA>RS0Yx{9+t7SOv{#m+3z_=#V( zFnaiMyW)%9E(jL}7X+&`>d}n=8yt0WQm4qZv-gQg`R?zhyB$3qmFJG@Rez~~PAD8Y z-uqO%>%?Mf2F<>0+~cuHeb0+5RzOj=O!icAp)m5Q#l6T*iJGd#-fZN_AOO=8EU4&l zc?CL9$!~wJ*1!C{%7DLDiuIcGU;bWs|H0o20{p$$fWH^YS}Jt*7*&I5vPMEo^(9>S zHKM3cE#-!_>-L9r`S}>=5@s@=evFgCiR`08tBHHBs-e-2mKBWa5Dn*tI2P0%J2FvO@0E?oB%UeoJ&vYtDnAsM-; z(s=Q(1j2rI!GlM^*9iZMfyzCA+Y4(IMRvK8b2=~k^y6A=r;M5mcpuw7NyO@9qFmoa zPYrUSZ^P>&x3HBp60)5J|I%VaD20PQHp_x>z)bEbljHH)dNW#GmBBK8uq%pd{9U)iVjkiO zSmSbE@?P!?f=5DXmb!FL(7%DYtJy%%0+o*4OWsT)^z1tLcK;{}mw4Un%Gy2RH@?sz zTKyoANyu^EYLWAYZa1j1bZ2P2J1IfS(^fhgjJ)X6i?yU$WnWq z87HZ?()lf9q{AerYk^!M^$pdnffI4w5X=jPR44hHMYA9m3m`iPSQYJcHR_;4obvgW z_iJNSE6<QZp=?!iA3?nPCPWE?7$Mq??Ys^KhxPSMTk6EdtPuorAn<&zH^Mm$6W32nWh zjfzkk%0Pm~o%DbVrI=IYT|yxIFJcRfq2ZZ{vfHH+?;Zq*oQ`==(N5C2@liNy_+H@+GN&YRnPjXH=z2XOX|@Y!}uu z&DG}diL8Sgfh4SgpZa_(x5T!_$wO}5WusubsQ9EDm0fF2K34URsfmCWUtT(N8s#uB zp@7@laB;!)!GtUvZrl?(+``@X%v52j?d<`E=rJ>&(8NQJ4r~7*xHb;6M^DbSXVgfw z(OhtB=u#>1U4Q>aTH!B9>YE&9{Q_$X)v=#~7Nc)}61oPzL9UH7=AYTk{l2>;BcY_$ zKrb1An?z_1MQD95_Qp`zC8{WlhznrH^K+9eOr)&oLEZ6jG=hbE6JIt7Mlhz(Ru=LN zzm&9VorXXQ_R;ghaJB34i?4fPvs^3+aH7xYS}j_meCm|iH{f5 zSankOG^85XAEYdZt(@jEiCm5nIuSKV%Xfo}N6*S`DzJN@W{WvF&8Rb|9_Y+L7<$Xi}NL zc$~>{?O1&A@@LJTbB!s`261Pu#gkWC(3*>Hj3)1@_IgW)t)r7;bmV)WXkyEH;tfsB z2(~Q-8mnb|*La*{M>skQ447S`XsU?p+^4ng1`3twqiOOAt7@WXr8=TYe-pRyYhnbp z9K0O9{4~}xU|7bDjd5k@wBqCur3}2jTySx9MI*0Z9r23-lCw2P`o$LKwDH#D>9h$N z)Y!Xpk>Gwhy4i@SKx)F%2eCN-cUYkc+i;Z}>c4o&>d}$eyo>t7Z$o0I7ZC>YT74|b zc;iz6XvO$7GbJ8k-nX7q^Nye;VN7N*TEN?OfTAf_`io(;r3IPr+4LS3*j3f>ze$^P zLFEtCknB5^bzl7OX*Th|geB!YbTTx{S-KjK-qAo4M?J-|gtzL))eFk!*4I-6Fm|_J z-*m82t5B?fT9SKKzpQK+a-5a_qW#S5p35VxTK;=Mo=nfi(`S3?xX~AJ@z@p?%`nNd zqrVs)8H@x*NTa1D&pKAV%6!nvIoRXQm+{#AO~zWvs$&_Nrs;q9(Gx!=(ley07o>>> z?L!V3Te+C7rgR$xPM0O7N-F#`3Nj&g&>jEC+@3%1%_wSDOsFRMl6d#+^eh+acQ4HM zII9ZHqG7tpKTgaub1_i#gR{-*lCN#M??05QV?)`Arq;7uN|0X*x?2bRrr5L8GalDA zxPSD(&+!epj_Y?Z%+1#>&Lb17U4H~XiP=l-q*GH>Tk&W70O+(IaX$Dg*$iLLoxS4e z06TiR`NX+8adELvz7jxWb>Y?n6%K}f@NwY3VpjfVvLzW6jM~2b1-7;dc687ivw2d~ z*lAGc_NZ(-7l^3Es#lkIqW%P)eTEr!X<7GRz=!+|(Z0T~88-Yozq#s}|0Y5M zYGlS>f>-A(1NBBta$nmG(U9;%TZ?@{8BUy)3iJGLpBNm%S)Fh4xW1wDVMWW}dV|Bq zR~!bf!4xM7RDFMv1&=Z?{{G(o`s?p!)*jyod@)^!%%bz#`$U>{x?|S78U3k##Hu!2 zasj=-Z}~i175**%(ENf>U{hLW-i`Oy9G}=6+B-K-sp$glBZ`bg-VqS)Ro~z4BQABH zn*ZK?q;a}>^?7O*VVOOj*Iwid!*OQQ3k4T`69{iH;PeIo&=5ckIXfL8C#X!N|*$Tc96(fqU0L6tE&q-WXVBZy}f<2J3Hc%=6{JAym;|H5D&qH3q*ycA4uvZdei++ zx7SSQe?mWy9ptY@ANDM!Alm9h9tk{}YbvRSNGLE~&$Oy}`0iWT*FQS0OtPqOJp70B zNB@Xc>7V&uAFp1v{d28S0Lye9OeVPl@O}*SBs*Qp2#s1l2B!K5dYsb##Ja~*-GS)B zS^pP<3tf%06fnDOUtdMXp;pv>T!SB_S`j!GbBL!wy3b52UVv^mepiA2*@b*2o_U_K zruT11o^|q+yABjz=libkmPbUTPlyk6Vb~>S`azRf^On)>yv_X+I@i#&Bh^`CZo9*c z0Zx9wkiID=WCqH51-`S!O#^#o==C%x-Tw(-A2X4SDrgwV&W3#ncY=#vjN$gW6tne4 z$LT*s=^!W0;GwsGsdDlC#o&Pi4?{(|>QRv~p7~&39e3U~Ymz zhH4C)`I$tE&qECq!}q|JH#4mAMcMw3 zKe594l4o4jtUb>r(>j{%aOq0#PeqX4v&k_d ztIU;sE2)hxs576NQKlwhjLL6bXxlBMPiH)_f=bib?Ukq*-J#Zkyi8l)w1`ciC20pRzP`QbsGg<6rPq9%E!aase zH))B@q$QkMWV&wBosj{^&W6}8hEwordBNqj-S_!joKIw~Z8NHpp>s`+S56IjaDGqa z_d$^(vI@XErF>%-3MwdX`)&pj_gzNoo=kZ>LT`YypD$+##+8Dzi?WCmWPG?pPs;aEV8svuh*`926(QTy5X@Mabn_lw~O)u|=yYmE@*&riZ` zc7=M8*pbPoJmUS=XJdz#HgP2}4&_sP^B*n2&Z6+9h&wK?myO7ZsNUih*j93r6Gf(< z^|KpjI;$DNjPybZstx+1>dDYcCQVq~>h1~m9fv*q`O4Z#X;X_GrQv|@4NH*C@dKb? z_4Zm+OQ-=q#owRT@kc!45HQ+9Z#0J3eSbB}(u^Qfqb5uP252|HCQjG*3Z}COL?Uf` zg3&`f-vc|aa;p3$CQt6)77Sa7*dR&Vs3&^w8)|4g1Iq{_hQA%c|F^IIuhJ8T|1ErI zW+Ua2w;oe2Bfqp>p=HTv-_SOk?clSI!9_$4YR zx!!zRwdBAVf2A*%vb1*@e~xEkpfDU*f)I?#CSB;va$W`ATKLzkgkKDi(gjG67%nQ- zP)uxlb#1Cyhxj={Gi13hHi01s{@z2e_OCDmBaXrqL+T*CE)#0F(jX!uPONjBxR_P6 zy7Jhy@%ln-Wn`bkTf_0CZ)Xpj`!4Cb6AVKjjuFSh=@$?j1aw!1z|*T_Gn4UMKZ!dO zwbaD8j=9Cdab}((7eC+A+@y#rr2JgsQ+i z;O{CRrJx$KcJkbXAO*zdBMg~rmf5Y3Y4NaUke8U+*-j`ra<-~8U$P9CL-f7VP^_&o zz1$EYpJ%hZWIT1iR>w8Qzi4IkFF@~aNbf)S2y{+Jao>Y#{`qu)G3dV}ALFoFKl7=M zGl(m{7|zWA#kl1lYWZNp8egZCTf~J@w~mMlnFs%TK=D#oP!?}QIS#OsCt-L4`d9eL z-QS^1(E6aIf5f6f2Ua+CdZiFP4NW-SW(wGpdBFAj;nzLz!c`uYT~y6~C%b6*8TISg$!bAUu#W-~|H zlb{woq}hJTz3rnsWBSDd`6@Q{$)!m}Q~pI7^%0BW8?!8-<}s6&P{Y5k6@c#8;Xys1 z7U?E=m}2cXTVD3^huKG}E55fW(20~M{;q!bquGZu8L(^ZHFY)yI>Y6)(B0$|L(rZs z{uP?TkJE?X1UybRve?E;9^Qw~dTceRK zs6qV(cE`9kVp#{M*VNE2FdY4l0<|L5dGXC5S8tslRTb;Mw+^W9ty8ouiVgTd<9ML= z?|A{vg<0-aDTEwI{4eQ~8;D*HBb5m=p?rNl{#UEin6HUHish^FUt|oJd3jScf}lIO zMS4T#r5Ji20+5|_MP(Nt1SuIwRNbDmzPp2Gwp7#%o4nsQB{1Id_1{n8_VX7*M6&|^ zDVK%srowaNva|90pqiLaM`bl6T!@({(K}J?bmzM5dK8~5>=xdgZ1CQBoUsMOTmMaS zY-nNW@`Z#;%xo#A>Iz)-xpzzWIK%wwn`$)-FW&qnR{wq&@n?EtI$JL^G*u6t-!bhD z)I9k5`iFVp*meP5e`w{q(U%vp-*+osU3hHsB=q=!W&eu@9R8*K9lhiG;N^AUgULfj zwm-!==*>4qok&E}S{l>93#WlBxNKJd!U< zBRBRC%c%Urx`&u|eHRLk-QLzPDGgP*RFV2HtGpV}y+^qIhQ|HoKN7q%H2;;fo%b*O z=y!kmR52>uuac{M!~5N3fOUN|rJL2OIkKX2-%(X${7z*T)6B|>&QxtPTL+K<%(kKU z5Y}TTI}EdT#LQNYlHjXp2R>8rK;v_8iNCGLmI4*ox~Ru&q3IGM%`6}w3ajP1QHlm7 z*$Y)_&rSIwJuiybJrl7pKKb0W+n2))VWHuspF36Qsg!#Od$uoR>qxcOs@U& zSuO5KX-6$>^@;}lOMlF5JK-)Do$O-jdi2SvY`uzPObbKVxJ=}CCRy^(-Xi$z@PD{W z$V@K}Ovoo=^LLUjt zmrp3^eH*6=L=z(CygJyXp!m>@wM_ex0&mZuah)n3<|^eA`MH*TUL4nAJ0!YvTH%Fi zyJhm=vxA-Xc5CE8@beDJR_ZA73#>{uws?BYw5Q6h(BXm{4KdF?;q_k|K9%i_h2CPVF3( zJe4HRJCzK=iYXu<=_A^au7QILsfUQ@;L;=matRUM(P%xmnjCSg3wSp=Nzitrn0L17 z!_JjYHuRmmvjGG9t^`Au$)#>oWgYbtFt{W0&(~|$*5x@E)p3&+>UbnQjxMz(p7ymp zpPJRn5F=j#Aw%;4ZknYR#3@pMK7=L&zZu7>1u3%S+y5Mo140+u$os>^d^7l$JjOw7 zA2y#eDk`^J=ze;Hy9*T#PG_n+>4j5Dp?H#mNRfj-Mo|^!vt$byM?XsBQx_BAaNFT1 zn2lm%agno@T58aCB771aok1`o5t68A_0FUlILKvRW=nyObSyv+kdzc?(JIR7|HWEgTcH4 zGbv(ue?Q9X)Z5nkhKgwzKjbv5qGlilgA0YTwTdCXWU&4~A6il38+UHjcgMG=k}Pz7 zvR>L33EtA;$$o+nm*bg`HLGxc$@(zoq~b3I6)=m0D*~sOb}-#?6Slgh*80zHp7M9f zGQ07yK-+pKnEQ(TsY(9xVKhR+jMaCwD5F7G9jpgFl|$MCx9(;)amn0>Y)d~{-%?Hv z&$3kU$wxW$@O7@cVQ-7GHj3A~@s1koU8?ATrjU>QVqoH?UieLW#wDk7kskod`fnBp z3j#9M9#7#{sF!=XE%Dm;Nn`TUci~h_Re{85{AY~RDLScj8#w7zk*aBpFkHYahtf4F zf{+&ySw;@hO{Zv<50;dkHF@E9z2u!)5NFrkX`5I2_16z%F}FSX{s97#%H#vG4-%afiK|U}zdGiN4(76t?*Ecc;*p&eKgcG6P8UKDkh)F7Fj2(scKH&3#$mVu zSanjEq8vU0{S($!q^_q`0?};2(0gmoD4nego{Rj_@W%;jNsTrUNrou@VXz(@q)&mI z@pVF^5iK-I?keKWh)1+h*NunA4|#e$7mcplY#kg(IPWwo{P=*+(rcI;U4#l&!+{FO z5sZK$*d?lgb!KoOKhrM+8u^HP1^M~vtoo6Ml>>r3$uFp;t#?xIaGEEI^!PZeGVS(* z9n?@_D3$Yx9FZGD6XXl;f=J(ldJd;_(#3ax+-e~XE`f8mzha*-Qk=NW!x3zFqW4Mw z#RuL626UD=bWA8Iowyg!%w6D+9NNKh^PG>ZS@}nM&K>g(acko`#rqc8N0Z!y5g+(P zn`?wA9>osMAj~v;^v@)=ejjsNPP4y(l92c3)0+eBYnasxVwn%2mm2AdqWOXLn8{3V z@}lX}Www-fKt$&P3Y*KGVs;Oh|A>BE(Et|4*B}4uW*)qao60?_MfNL3wL2=q?^*6{B+o~% zfqt(HvoG5U?oS{{I<@N|Y{0z;Dktj`dU16@FZxlMW72(1Plxr=ar{qT#5x{28qM2> zsN6Oai`dtbB8vbY?+TXUaH5OGCm>cUt)7`B+}IbRpZEY`M|U`xspP5GDT_%9`{ebp zom(C1c@e6^lR~oQMbL|fPPGeO!gG9o{S5tp47L%OuF;2-7>O!LU2KODOi$^jSLIlR zVv8Ij{q4?IaQItd*X$-=mmhk?BHKPLUj{C5;52=9Mx2%n`eFRcNn+?a5m!_K$7l4g zNL71>ntI!!$Z8@(HBR#FE{d;%oY4}iT8=xZ*Tgn=;M%Bm-{y<>A{X+x;OIA8_j678 z$>uA|90#0$-L24ly1K-dHHEd-~h+K<=NQn<1g*NcVs4)-2;BF zr-pkWhg${K3|;2IyBxb!Gc25Z%{Q+9Y2XaJY6;oD`NuP-k3H`2fDD2PEF`1au4{n9 z`*+e1AXyLF5U!aT7u(iXHQiovDDQCQ_+t-5T8cV~1leor+V~6B~jQ%JTzt(>CpqBlCN7s)}xIz{Z z2B-pfVul*Idp;v56wjI1@ZR1?E*T!O@uINQ(r=0^HT3P!Cobix^$vU2(_D5BqaIzc znFF`&E%vy;U~H8kQ}Bi+ADc=Qx%ur zo$$)I_uR3w^&&W3AG}5_^vp2wGMS%*N}_X0d=9tgYI)y_aygOryeK@lWVM&1PWN~o zP9ZU48+lZ%FBfBim|5oqg2)&^Q&ZHcTJNbq^AbB zjgMifx46|CzQ8+D<0jp-V~B7 z`3eyY^an(jE*M!vYyYrPk&2EB2>gThB2 zRXUJ__v+@kJ8M(peyP(#qLJ6O_Nk%Y1oB(QfAcm*LGN$Mk%Z4`p5Rz$|wiiWcYyZW8@mUqNIAr zB7?q7kGb<1!V!6RXhsbi^^_VIKj**s(fO9zlD#_M{C5(2`b=BL;&mEE_CmtYHC+<8 z#HR;)vK3;_Uh3@Q(PNq?<>h({(~p4&=rEE1560k z&MzFpH||VX^z_xapLQXjx+Ly-)opX;E7;vk-5)c6i~Q6)W@cTY zI##dxn=k8`of^lBQMr=vu#IB`zxmz}>J`dEgv0+~@6E%Z{`n~`OhrRUvs9oKzd_jO-?-1l=| zzvFnG=lA`CkD0?PpZEScU+3#QBk%&TlLkM%_{X^UV|lJ2^S#d=dTp{ixzO$tqR*0* zCOCfjW`@H-F}TxWbd#r+FBpH*)Z#h`0-Ff|l~#xdu<9#N?Y>N#Hw+t6o`O$L{Bbgt z#eAHva2v36!Z3xPKn&eCfY8E==mZJDxQospsdTdIbtBJjJ zUf37mZnx|5-WmJSB$2S|wQc~q zh?4~N7N(Qn>+m7(k-idoMm)s!V5OCVJ85Fy!;{(xwpI;|t54(=3yz+BTpPh;IvgKZ zOp+J{`|J@4Krce1_1;mOMpdpVP~<#{CP`(NYm%m>XN2=>Ung<9$jRNVSS*NdW5siz z{W!n);IUjfTC_%Zxe|ptfAvpUxk?aZI*lE;>&Gt%U_VZOv{9PQ%!K)5sZ zbI+8QXpo{=FxM=~35*goG=OMCpm#UN3~3y+E*z^O?WCKKT}iIn%*mnmm9?qH1MVNL z@^hZCDnfak)^`q+xWcMjE7e6y1yc}%CRo%9(^v!NytwZ-h!cJwZnigY@o&vc*nD#? zuc`PvmFwea$!uHn-cD`0N?KQKP3bGxcilXnWC7-3bZe|ax%)$i&<{i3MCR^G_IIAx z3|}V3y~(hqlz`r{T36V{PNvQ;y}qkv(=_+m;R@q(KGpMwcDDI$#@Mb^G6i#Pbb=&` zcynqq=Az8-(UJ}oeSzcVf)W!?nL)mf9jWb1lrV1~h0T8%Sw#M1ujA}Iah+2lla7mS zWhmZuG!Dge|6noX>)iblgB60Tt=xY+GY`uoc_>ke62hDEVYTElL8d($nv33_CaY4z2t9Hnm> zRgy3d6T(E$_$z8glh@VP@&)50p2%mS?w%KflQ>0=TCl0N7Du9lpQvK^z8?{LHF-%{ zeUnSCl^59$PRiePS8n{ST`RPMezx~0IOp+0 zL#3!^Gvoc*Y^8I`B)r(mti`tb}YEioYh9+(}SIja_%DHrPWjfT%T$&pXG`jS8Cg*=Y+!Q6rH9j&gUq}Cw5YV zh?eMi&M=|4*ax)^_33cwPk@!n7eOw7Ui;}cS^?ok=w2h;Qa`mh$zIpEW0@@>9Pw6x z6!_4H?eMx-#`84&#NIq4eWB~jDMDf8=K@`kW49d>B^cRXH}CY`c3z39n%@MrEl2w9 zjZ|=$p7|IZQ<{MCr=#RIqVGQ|;t2a-5?jh!v)^+r zQx}ofa(@I$qNJg$KPdJ@<#H^& z4QaIHOM*gI*2jdm>~BJNcNiTCeT9;r)_G5ej9Mp0_l;>?`Le_`cGvy~=VfgAK)80b@89?KC$5W(2<&HJ9=SI-ut{`m7uuOV5Oj4eumoDu9b(L`pjaD3vR73$!l` z-{yd~!Q!Jh-x%MtR~_22n5I~>?cVT%r83XA6?KC>d5@6K^XYuHi~Ycw$3n6by?gk| zC;s`1=r9MiL4t?_p*X#P5A4BV+VjStY_!BD>$?y0qfJt8SB`amANlYhjHo+r5w*RT z+N>dR_7%z|BEGT%Tl&HFk>a_pt9?f;vMD;G#|>wVqUCBG96yewm0g^!y?2jc=uX^l zBtdKwR!s`_@^Cds^^%M{1DTP(`irjPDy2UEWuM`&&KXk5rY9TFNoQobSkg(_>5VY0)HK)d81kk zr<=bsY}h^g-qUTl#;Jxh1F@%fQkK!qwW$)bpZ!RLDy}K$8*Ez=10&{b$DCD(mH@7t z&O=VHyiCr|;=}Aa)N51H-4C~h7unnuoihg!!mU2Gu69yaRmg5mgE{s!j1z+%N+GnI zMXDR7Pe&GMKy-SIZ9b4Z*L6hP%Br$0z4LA90{-|umbHw4qg`&$04Pl^^v!SuSv!l9 z-dmX#FSTV|6CVXL!NnWBkDlQsMHG-~TWX$_mU6EO1$-Il@lNgW85LaMx}h|RHWd3$6ggAFYhlt-qHz}E?ZiLsA+5$ZO)+~+!SkOm=^jw%!CB3qVXsRVvK&# zQPZup$Jz}QTPJpP9s@zQZZ+0x*3t|F5RPXO@f|qM1_p%ltU&XA_lH8F!7UAkI?o$7 zojH@2TAw~(d|||T;TK)HV=_cFsJPLKB(b?>NGP5=mGgvRJ3GnA_oLSxBnxVy0?WFU zO_#JJGq(MD4=SQv%-RjzOZEk5Y%8;9z7^CFk`?(n;_lFt0bvrZ^ne%NWz$iGcwIfG zwQ7m)y}R0>N|qr&b}=MP@+IWy5>gvs(6X{-K+$8w1(Wh*-Nth{YSwx0hCzQ~Nz9|W z*c+`Dt#c$an^t{w?gifmD|v2-nt|@9U{)2`rQxKr6Q?>e+}!S=?$cVqRtAH|!apsq zN6dG_=HhbQl$tn?UHrq^eeXv7V%?nSoR@T4`74`mkJVp)&XTo}m%)|8DSX27e(-Y7 zOtK`cC4-~46(ex}KByL|y3xC6IdLsD;PfRk@w1bX&PgXqQET@`%l|4EfUp6oV5M5R zWF@4?Uj+lsx&E9Ym9jOC#5izgTF!CVKS`s!vsV+5({R*71)-aSDr|Ycp{EkQEf~+f4gS=_epx+`i-$7_?k|EwIrg+aWHm^AYQ6PFSwhXvfmf%e+t zfFyq0%Ava7HE_U1Bedb%kg#=e(Ye=NxBiLUS-jSFi~d&Jwoyk6l&t z^4d62QQg*Yw4{mmY|lm$f;%ShxFZoe*>%0|ci`LPhy{QWGg9%z1&ZNY?edx~o5$;- z1p(|2{-bulX1Lf{!f$W5*|}nf9zJlcGQnandvLodgH>nh!1GOKUdQ8J-Us5p=n$3t zUk}w62yiS8Unqfb=6qUSs4aDwG^up6@gLjrIX-h%twpx>mg!RI#H4@Ufz(_8g%6JZ zMb}b1!E=e4j`r#eTOrV3{GHENG}7L*+t^DMiO1gCe;+#-$hu{qzVX$zKkNeJ>UWUq z>y6z;lVl!_u1OJvfVjLUCwS_kz;w2aXd?=D(ix<%~w6=KH))nEo2NKWkrG&B2Q7V zNKX2Mo20;k$%!AQl|vP>zb-dRYG)mjj|agwOt45qO)q)Ap-|~wrYteV$VSFs&TZ69 z)Xdl2k;z;(=j^-rO~(SeRg;d{=;z7{xT`x4hO6rw| z8)k@C}F%-q>_#60%h8^tMBQk+8P$2+zn$IMfrmUkXaE)-x2<_g-2WNx)qZK&Vh zErp&yyTeE_*k=t~lz=j7Jk}AzXb9|n{vgU%sdXtOdfY2YzbpSfP-$`A;A<@RaYK~% z1?=x|@FCIpI`w@4)S-9MVh)I=_8xaTbEN!pVUE?>hDpbroF(r}N~PuaspkU19PG$! zvVfbl)bFZ#Y=_cOu7GNusnw2J`nlt`l%n>;Y=R}MwX?o}^2`8vL-;WjYa-qMU!>tmz zl=p0!clmfT1R!Q1PtZ-*Rg1?0z*-WjBlMRO^hWf&sP?9!H6R0f%t#`#!>5_Q7?pk$ zu6J9)kd$JsmQaqyU;IMUr3*d`)PAx()RDnR(EkRQG_QdVi|HRQ_XcH9O;en&a8CtgwYEWZ)*=*q9 z`NFtZrc_0$-p1g!C-w@D=`m-^&_`WOj?lw?hkP~=QObpWz&@M-A_Ka9&<|DC%DqgY9oD9GX{-Rv zW;#Sd&vpSbmHCLZtx8}LVlJi5Z5toRS64kLx9p>L!S;jA{r+m82IARiE4kd; zHli0#vq-0W&o^SaW1iI3E3FX;N{vw9>N%SR zDR0Om;OC2yiI;nA`&ES_mj*p(-zt-3a;CgE8XSI}xOc+-BCs(Z>N$HfYwNwS-gy({ zYg%NxZo_&dj{+aZ@e%uX3)E5mohrTeFTOtn{$Ai+3!zn<0CjVMh@!sX4s|?p8W`|e z?;4Z~j*=O$nDlVu_`dkt8s+Mw$S3E?MLZ)lj4Y3C(g&8oj;JpUvZNe>dXrBVQMiS3 z*MP7vdhJA#|3v@U+ZUd)yup)u?2_MR&gpL$#Y(ijNm8dv4*W1#iZP(i>CO4SeK2X14 zDtbg{YwZtvc8z_o;hfNiP%U?k)9MLLk2v3>HQ7jw2f>QDDQB`9rW;6>;-=-aJkO|W`YSDe4^idN4k`GB6I;6#4{ zBk7${8m51>10)<^<9oBk;180F`nu)^q%)yCZQdAIWIfW*BT|fFkUgbWj|NbRDU@zA~a%*2`2~ZFnl>{-CDWQ`9wva3}Oj zu0l*dZcKNMqlCb-t3wJRWVHH&mkwpfC5`h9RuHB2v27wv?M~`r}K*fN&hWy@b`omgJ zy3y7&Wx|4(G9fO1PWbgvIACso>x&Z3=zg-Kv_{PafQ4PlgjK1ct2)wLe32mWD`71@#% zmEWn70APGcYtGod0qQHFfvYeG8~)=Ht3SQ|;nQxRTORB1q5E}*(F6`on(QaqG`{!X zcNN4F^zJhHAbQq-%0YyZONs3mWNuwuVw{=kx$nZaghKsnDaXF=uFwgBZv0Ct`K`1kiPN6R9Cz(uzX z@YH_MZAh(1QM7V)d4cD5B4Ac7z-j6R|M&zv6-}7s41;f9-+@yYKo}U6{hwORlekQ! z1O45IB?G39DH23nnKM#gN}>07wi9S#H-UX=|Fr@17O4Ib&i;qT#ogF{Y!%U|$ zVb*7~01rqAP6A)j6Y@jp31nLnpdGWtw0YDEbW11N9(EvO4WofX2j1@=9zWc#`X`O@ zkA1(pDTeN2SE8_i2$^$7pb>K*IuDWwzvz6RhS0f1=%*YiZz1RxaggV(`A<*$uHFAn zjq;CuPY%F9zaLKi?SwKJ@#lp2b3**@udaVih(C9TKX-_~J8t|rA^w~Y|F294$_N#! zqd-w7fiySMu>oWtA>Sg@rhhTvN|<8d&rfykPezyM2*B9>OmP#O4c)}7BLJ)mCjuhv ziL_ifm(lA}dBRue9M~e*(xw<&&h2LbiBgu7G z+kU9X{$Z+GKOIKlo|?RUWlC@{{Q8$4LHUQ|;z?!%-C1m78b7`T&8T%U3!!dOo4S5( z;`^iEhP0z)9&AhH{vV@yE6hNqflh;UhgF)cn2X@N)&N|ghM9z(K z!u1X&1Mcfy%jyaZUTRCyNzOk-JcGXlh#3b3^U{aSd$Ez6+iRFc!?YZ7tba_{t~tr2 zYJPD@pSj;_hIqs0sPpu01B&E8=Am`KnUH^Ixe=o0oWrzK3o=hBZBL8$Oe|@)FdE4F z9KL8Ec!MceTaONX@;5@5F}_J-4I-myLnH7qShH6I+Lh!uXA|v~CS^0Ga3?8f@;qu# zwR_>GyCa~IF@>MG$mkJY0w3I4qY~^|W~Rf%L`N^!y~M3qgl9_zRRe+v(?B;^7r7R2fi0C#VJu-!+=P0PjFwOlQ$ zsPt=C{MQydWBH+;SklRewL~!O4wF_u(~$8}&yZH{SE1u02VMzTwqq?Gi#Ghy z{!^B>bvEBDFL(Sw4=>-oX);Mq`2x!MWq>!8(t${WIC{3_>My!Q?ciy$GrEcYw`S=i zrWwMH6d*d=67|zu2vvq2!q!{{Up08TK#m;@fID0gjcN&lEgvCCtfqMzTz#U z75VmWIe#qZ`tdOAJrF>GYBl@04mGLXf%hSDI8t(HIb5sHSU^*Mb2?c0c5fp9l%x#S z770eXAV3Re+ES{!N!YdYQrHk5JsrE@9Ct9caa*M_-iFQ$w`VMreVRA4+NohbE9Z3# zw_V2mBI(aNT^Id@NE)kNMmyk063c7-K%sF+Oom!O<6A|Y#u5dh3yar1*DGvNFSt7x>u(5; z|DoLE$oM$&N7FR!rx$up4ZR`MfF+DlgnfQbLDKqL zATSX&JsOGBq?To^Bv&2iU;^Cuo+cl&ZXFP8t$gv7^-F8gE$_qVfW;_UG!jklnuD~3 zl>@m>z5y*`Y6f-fkl~ zc;(8aFf-G~bPOP5FEn$?dckoEDMPHK9l?@Sk@u-l9c#?&70XXiVpo#lZCc)TiCAzc zq;=Y!{;GKQGh*K?(yOgDTx*tK-jDW3*3Kgs(&eQ6^Q%5&A_lJg9g7$FhP1gZk z)qeGxDn-ZNhRf#6hQgtaj%pb{#B=h% z-2_I>1CrIeKDxa35LTlxo+RrBv2}x&Og{ptMbk~qNmz6(pHqdn6m`o4)KoskM zAxY^JKg2^r{U3#w&F7B^4exaOBQ_NARS(#7>B6N?gdJfxb$7;q>Dhc;>h1ynE;vvv zxGMEl8%zvJ3S&ki5Jt;zh5N!=olyj9sbq07&*{df;91n~?*Q5$cK|sY7W;h-4GW<)H>yYl9*Lr{(Z_x9D=h;y3PbBdrJpnTpR5iNgi7g&f`aKm;_JC1dGFx9CMKRR2WlR`yTGF5tWX$@VXRpN^1M<%|=0I1JpGtBott>$9&VO+58>4tTMM ze<732{vuz}qfDX9bEy}=$)yn#;WY9gR2Q6Qdoy~^xQMiB(Z6IA%~E$syKLO1m;0M9 zTaX)qp(foRrRVYE%ZKQTaZxh9wU)?_l&9bm!O!pY>K^bu>xhxpIgPxLU`g1Ea#u+D z@*{#1$merHaMzsRCC{yAE+VXK5%V&V5%k{QOJLyO*R?sSwjEt}2SRP=>Ve41xiCJYjc%nq4Oc z8rW)tVwAJm!1bwQuwZ>VC|cTmMnPxGZ7k-i_RB5)vnEZIU$XDh(FH1@Yxu85S-TpWmi0z&xTi4Rl?-u*`AbL=+##Kxw&>6tU`g*6d-;M zXrEe!#N^ozpXY61w}{3GmbQ9@Q&!!c@#U-De;9cx^JYRWU5h3Az8N4n^*>2okVFdm2vIduPN+49v#3g<-J@TAL zf7<1ZjV%@qhY$l{y6y7}+igK@d}oTK^G{#6td#i^yMDxrSB#-DoQv<+hN>9@9lh`@ zD^{rycC=gON^MNSgQ$ELXuD<+1$4 zDoF>wm^0s?M_*`q7H4gilNIzKrMSxpt=|4uGm|k6ZAKm*UJi#QC-h77Ls_34`Y6_T zBi2T5|K(hX|EHZ`fj>t5zWRAspH!%8VS=q-E^9ix_cXPXx{INM&}nJLyC1}^l-ubw z>`ZV{e_{q|>x1T&fiL9IwmEUJiO$33dXFFLPt78m>QNQnZ6433Szjwpi;NMk5v-cf ztKW@Pi!q@2ft)+UPqk3Tx8Cv2pWB=#hHnaf@z?lkMH-`PA!hby*|$n*GMP#p{%rQa6PHB znKwj|oGTP&y3O#!n%AuLnzeSAkc-&4B8mWEqc~5k%)!SeXUd3HwzkG+GaBO!L;9@S z!b0nq-y)8UuWvuRyEXe&F0E&5#kav#3KclCX2Q;cBGA_*AwZ9H_# zH$3e$JoQy=tNKPj@Hgqkea!9QVrG(&F~KBG#aLzm5n8r%gUzwwiGkO(HR)Vmhx7Gp zO^@Ia74^FClE6P|QkfHPhrA7eb<#0D+%Wc4#~snq_MLxE^msEkF%`*gZuyGQ|7Q9n z=3J58-D2ykFw@KjZ-MN|;or5XJ~Tx_KsYjZE_#!R)Y;5#bZsaz$SvRK=`lU|8%NJ- zh_Q%cx$A(E#Nl03n~pf~j~ZOW4*VDi)$a6l(7k9D!G-o$`&^lF2a1bd-HUM`<*q;0 zmYe9Tju3ua(=_C>J-IQq^-~1H7UeP;;ybX|xk&0@tBTu^N6iL{XSuU@3K-;Qi_)Kd)Q~ z)wa99{n~;~BP@YV#^WvhLBx=+u^sb!eaJJP@)AxylkA&84RaQ!noXiwI#U*H-~ESLdKAqy509gz?D?td707@0J`+4bOfHm2)pcC2Mg$&vb+b6iZQ zGp-qc2Gd+Tu}NdIB6iI7wzFBC9&{v3sdIIENG1BZ`S1#zi9X ze385&>*`ua#0>o)(#99RDtfG$-G2*c9Gk{XNY=i9zVrwTi9C+FGW!OZ-DgpsNNiUO zyEeRhdinfTPO$mNzMOlYRRrtxTvor6yx9UlHo@{JN7Oe6!N6-gXxD{QBGA5AH-dDS z*VM;3`xL`?yWCFfn_nG}zWeQOb~J~zLTPMret(V$M0hu(UL*uIwKL$F7zSN-Y4J2W2@M) zGO~!r%eXXgN_mnwYN^@B%n+X$+fk)sWMkuzx01E3(n?t4KW2Gb2spLC;`fKaQvZaS zQ~@3L+CA5=f)TJ%1*R0nk|`s(NAoK!(-&l$*g`vB6%L%bcYcB#F1K@$aQ@?=ytwmX ziL!4_Ap+Zhz;{%-Y|&N#$gypW?QGRGoWHGghA<%`@iTw-8`ycAP(6^!9$*nu{0ulU z1B;k=hfu5jg}++FKptIv@$VKfM!T263rtYm5a1BANUF^=%0pzd#g)oG`tVr;b_)AO zS>}m&l%%;&lmAhYUs){ak`Fz+N_B|$ zg`{Ovg1oclt{1gpM_7pu`4+ba^NxewRjU4>NIC6Ik?y9#BI^7TJy`0+=}Gr*KpcrGPjzWfaE zNUQnd@I`!uF%i2fL^37*#P2=E-p2|25Grh_AZ(bWnuH8k9vd*XV$5D=A!vS@VxIDw zZy0iSkTVt$J747dW=kza9~pxd91G==Sv0&oGp&Osjy6FEmoQ_S zEp|F3fNs76DjHH@gCg1=qVr~SPd#b%$yD~%neKOo_CkW5khzrAs(S+a> z2r2(vOCAD!s2GD-C!ucDgYO4I>0 zl9{)^_fY=vw&QW)K54FnTk8w@kccz4vhXG;hAUfZh=y2#QS*erZ}*WO13?K{6Ze%# zfv25d<-(ThVIS`{F`}HB-t5~4pn=V|BsB@h-();RmnJtxXN(Uva|RS49&EY2_T;fX zb6cgEc-e^OS!Vd@n2(d?9l(8L?T_b|2NoRqMpMdISI*1apPu;n-M>pQ`=O$3B4`6b zOIrrvB5vHka%6LnfQi(ym9MDwmKw}C&Y{7?(F)JLO`+K6P`jdYQDs8J z7&$W!{gHi-J(2S$k){F9>mL$_8*J+^Z_tjI@%$!usX-%E;5qf2h zefM>`|5RTGt9Q@EW)5XLAF>>+1$qPo2rxm?&-M)V%^jnz;%5OXA6?l#b}`1cNqT8L z@n}7B+3cJ*<$~|y3;2wROYXrkhXYuDI=;Spsy7g6v%jO6WOM03Q2z8}myydBRGI=d zP{vT8sG~N`0-x#bGgkP(3 za(mYLF>ebiTe@W%@wDq>AGS2gVy2@7%p>TX&8Hb`XtxZ0+W4cxnR(swaKUjyhd>wL z!r>tDK(#D^Rh~`Sed2@qwH8JIzi=UKz#L>peT54)$dIDvN1p*(u*qP9Hlf6kTwlJ5 z;gH4z+s?tOe{aKq^=dpWvGq>m&Zv`cr1G}&x{R62xYCPpWSlHTJ2aQWut_y2;}x{b zfO1T3SB{!oXW@q5Wch9(G*W+;dAztHH*ByOPqQ`54M9eMf2XRl>w~eO7p)*}cPmgVz^MiUbo`Sz2Vt-!$xqRZUk$+RJjFSHE z2x|Rz{`db};p=}Ynfxyl*8cPTv;Lz9<$t4Xp}$7|ZEXJ6RaK*D;teD~v%TVF4iKAi z2nA!t>h%^f(#=Q0fz`AgtY3{JD2>%^9>chS`kx*; zpFJ5{K|Xo2>&{>LPd0G}_`N%*Qu`= zKNA76V=wwemxpezUv7bHDFD!ZXI+5yST4P!KusO2hRgDQE{XqqN&J7cU4HfbEnE3d zL<>8x6mF2z+b3(Fo3wNeBa-L5+F?wfF1KN%Vr2ME^&q~??`muTmpkN&-oX!>veh(oG`s?nUBK4jy;ZMPvAz&KX2@60MUh8Ki#7 z)_VE|vbjD>&idH$(&%)GD!_zXLmnnFuL%>?cfXKSXH&b+{%or9uTe)qtOTV3nwOJ?e=L&XeDVy=e17|n=&9GhDg?BgbKyWk(*saDJM5Ia*qi2i zV=_1#)V_l9mC^{SB!pG@N~*8k(ZdD?R?W||yA%Y4p8_$K`L+m(KpW6?9o>CL&1_J$ zqMS-?UhxTH4p*!Q3f6G@QaFDs(BC}Cb$5e>I>aU)w)p(c&QuU&JhfFLAOt=8Jfr+C zLI;d{B>Q>Jr^z*MtZk!y2xv@A6jb@|svp)Q$7)Z^OttN52EFb`e-kksA|zsg2dFO| zfWeHPhtQ6k0)P;^n>18sHV?#{Y9b~x`;nR~HTD*HgYma&62_=fBww;CZ8#-| zB4Xo1R{SBRG3-csRI`-pslxv4g59r4f> z(v)JCo}&NSH~;ddF0_jJX}4rkVJ-XX-=5JqNgO}l)32P9Crt$zybux!hX!+P4Z!D2 zhX?{sQFNr1n*-Yhgrej;SeCVp!ltK5{zv_$A@+`*INoRYPlCnw3CZnVB-soKPx5SW zE8u39(O4CVTIS*F!D1u07CQm5*K78qszC27!T04)Zm>8+9yuF$Oj-Kr;ptE~sFL`t zMYffU4n^-OAOI8tJBUT?0!=hD;K4tGlvh!BGFmkRn#sp2jGbF7c2Otd+Q*H$efU0n zU$)G)vrRgl*8C))jL!Mc`?bfkKokUN3T|T%H3W#w522H(dekgGFAiPiNiRR#QME#^ zoZHiSP8*{3gCmf#C$FL|RvFj)@xWVG{m16oC2-GKq-_L-)yiH05mv%(pd3i z6vCn{LkJ}TD!2R-<_kIIFFDTUKD_Fezi!}eq;wz})mqtpdV29Pe9?tBTy77ug9S6L zn>e~Yh=+~iLE=3mlynQ>+wsV3(ng`PB7NGVw@X*F%fMNpgLg7o;^Qs&OFq*#oO7Y` zVwvETP9z*bvkeH6YDodjvJjB>EDRgG-@se-Sz{LyB$Zq<6`W;s1!0O?xHFLR;=*+b zEA1tEcC1){)}Jm%eSx%qv_+?`_A;*=)Tzzz0&5CFG*57)us?d=Ka%n`(`49JTJS`a z*~zyO2ezO9{nfvT6aG!4@V|IvBRo;6oM}&o6n(Fx`{f4ps{Q3V+8=!yn|Ly$q|1Dc99%)ae2kaECI$I@-)^)Id%z)8bgT}8-seK;dc{ctZtocX5n}j z!9X8zdvwU}I`ebNX=*y{5Rx%ucXSpWqQc44kt;YsR1rNpXkrt}f5pkvjn{tnux5bs z@$;*M|*x~hf>9>?( zpm(5SZu0`s?}^KC4V)x(ixJO^Z`HN6{qpaV0#<77_GPHxYnK{w2mE5?E)FVe8?%nc z$;nxcNGr@<5;4t+VT@CylYP=icgH;T_xnX-??A?!J7#2(JH*sU+Oypj7U}v)LA8Y( z?S@kE`wGfuXhcl@!syU}PHZ+Q;96B*9n^(AHujwxFaIvFz*J8thAB>!-t6Km-5EKP z|5?ECuVr=p3**s4f4;UqM2lu6 zmPzz|8^nvP{bN?{g=^WLYZK>eFUvq5&|KHKLN0rAqQ4h4m{9Am3++1Rfc{D3yb@LI z_RY9i^jUZrGlf5z##TkXM^T2w;L2cY9dj^Vl6{e5slX>3HSG_A!#9jaPYw^IHbT>9 z1wLx<42hnFF~i&(=BJ%nt|bxHtKv51rG;(|a_4`VCRzOa3Zjem=uT-5?3%|2dN&Nk zMtMY7rW}LeVe4+hfSbgJ%kA(9P%o!g>#Jd7G`oH#)mZ4xz}vVZ66xo(xGE*8CfO!s zPjF}FcEc6lqBFBJO2hx)GGO#;^Kl`vH8S67=u5ag*u9a=ow7A$tG6_HrQYuTo|CF* z7pQ_eg#N_2P9|TafWR`;lcw{dL5Rpi9Ht1*%fUDhp49jLsn<$IXibdqljlz~pRjTc zy8ABh!57x;L-j_@fL*8yd91-q;i8du$^CU^#n#9>SW-|h-f-txap$CwTTsqd)sdG3 z`tYdvwwZ~`HbGZg6Uz2(1)YJ`+6vqDAq_qh70#`81x@OIu_|1!lF&q)ca-!wFjtDu z0a+Mg*mQfw9D9Jtu%|p0KQE{G(HVioS&k)AeBdq2%}P(v6}Walje=bwz}Frg&PL~> zn@w}4+)_N_t8wt}K5#o~)&xsm#LL%zaP+-(is#N|9dAR{llcI$#~4G{>%fJY3z=jB z#K43!I%gCuIqX^Cr*7?E7WAqk(R=G_&CKzI%SA#XGgH|w<9)tpzk+-x{!g^H|2!!E zpL#*48$)>7pFYOBYV62W9mZO( zJQ(}Wi@MxAWKx30dXg+d1JqEiT zmQ!2aFn{@%%XMbve+nZvRp54Dq|rK(15K|UN~_NT@@!1LBdX!;i@c_{7sLKy3vEq{^RqIc44rc6zgmHFHB@-Em6o4Q-Pl zMu_r^nv9(V7?MTCm_VzTCW(#APk|HkBM1>48j;n(PPCptik<^KTnfn*{HksDPMFZ7-|5aAQAh<2IITS{7y07j6Vs?udV*FQFN6AhJ3G=|{pcZAlKT=HBp? zDuQ;!aN##M$#c5mYlwx|CUgB8x-x>mB0VIT#{Lro_*yW0Jdqvfq&9CGFYmLV^Ay4< z%QP*fvGVcB&Mjn}PZjSFIiVBt6-PQ9v1UxZOdHN1c&WE+hG#IKPOV}OBkvwG6c?@t zH6#ZF-c`IS6uSU-t|f~+|Kg!Y|3$)oK;oqYeMuQg8o)VxfB;pLK`=!NQZxw|3Lj)X z;K_y-1L5FCFErdfaVPDPO(zd>-NBVF=j!fjwvW0$1CP2LtP^nI6zD9D(~@M=Y_4`- zm;Aw|!_C>*z_*T3>RxjO z?h@&p#%LfmPcXqw)>?vruY$k>sEP?_+JzjOnpzEz+pT>)Z)0mWbKWddxz+hu+e4@6 z>+;VcPKAE5hfl%RyK-s$6P#MoB;2{aEyFk{gxw2?DnOF?guVi>-@wyc;fW~%?XfSKg+AHc>(;HeISa++^+W1>$ z;amPkFIv1Rypfbsuct*6Q35zA4y(Ep>Uu^S4|>Wk zhX_jExyImg?xQ8&s}oXP-+b=fp=eUyCDV==gEnj@y(UWFdm_+^u|7q>SZ!TF!n{TU zRqQ?LA7DiFUa4arH5mWoAQHSpnp%N&#f3o$Hn1?D2?0_Rn`Zr#h=k}@Hs zzH^$fNbHxsZ<|d5Er0hbiiF z^{&0w^*nwgyKzK$^4ZiBggw>?$+)B0I{|6K5#ZgNyDmUUWA^={j@H9{S|>c@y~O)e z@{6}qMKxw6{j1cI6ucHpB&RSZ15Z8o>go^*k)S%0eh-cE+9Bv{+(gy-G~QTtX0yXi zs0Pi}>u~JVx?;uPVsN@`<`XWJb8SAdxq>YP!TeYSw96(*(W{vgf^L$<&OPU8dDM_W zGy&*(386jTEx=v8w1U5jH$Z^CYeW3XvwfNJvt{g4iZ*E^LokrnN$c~yB=vyS8!pz` zLk%Z}DYvm)D(ec|v_YTu6HV-xE|%l+eFdZ3(#PYq>OY@ym1l&qK2#!|XWJd1rtM%! z(wr^0s246Z?4h{ZD+j9e9b@kr!do-6EXOaok8Fw<3ttYIYpK;YkYZ}sr^bST2nS^a zZoQ;ay&c^)?dmPYq!L1Y^Ioz`!OHi_rKJmn&Td9+u@|rA#LhW-KbB%`JUaWE0mb-x z=Ut=qVoP%-tqDRh_l{mUr2n2@Fp z!rh730nIi@b6=LM9d&*3O8#|m!Hy@Ni!qEIHN(& zx=W6}-n?sZL2ZLGOj2(ZD+l6fE7>Nf>re+U;xJGqtUD|;qwE^Gi zWUZgDU3TSy!LAA~4HmWd4z}u`(N!~)GZ^5qXpf9gXl2A&S+*VWl)6vvY^|u~<>B?s zyWCn9&&PFZyIRg5Fel+Lvjn;A=1)npAUM0q^tS`&fAh*^JW%F|T6FpAh0goYKQn=? z`(N#ySx{5izQ&_CfM8>oCy78iFh-Q2kxAtcWikRnAV6Y^%%g%D5E7x4Q9-bU29z{5 zgMttVLl{Cr7-f(dk(mS(kN`m-1T%Pc*RATh4_$Td>C=6y?=8i=x}4e;9SN6-a^oQA=3xK9;}KB8#%-gOe6_;GY;C4#Vr#UeB`6gAjhS>5 zlw(BCXZbXl?_b2q^v_;d^2~Q__6(G-OA`}SiZJcb{DD)?)e-=pI;2X})NK~uy!s8M zZ65BCF&KdKD&0ss5>|!8{B*C^X>l2~ZV3WB_+mlFG_j|i@l>(>)O0g^-&6qhpp9>3 z>Dg$7PMZ=bVi3C|=;T?{4xy;NyBY^R)et^dusirERDZYvj@D=6!HA^7?3jkS{pMxIq^^5-n~2_|A4c4PD;OOk+*AuL5m?x0)gQ7IKfI zO<5GbTa>xE6*JevcKs#cRA$G-r3aHs+iXCa%Ak5d#?G;GAi$|Bmn>NV+y%u266Pep z-gnb)AEgZPGv`*vw{C4iN&G?d(6AKDS%_{P4=IN*X$*o8MzIYq2lP<$xwMv&^Ru7x z`qam4({<(%6*gQ*Rk%`lDMT{`?H5YJMQc~t?v6mXl_+XK$|Xyq(u20 zZ3&T&QeoXJDeFD@RDbhrqNmoN6@S|`&v=|)*de_EE1$vb;v~}sdB#BAwc@JyBr-?7 zvMU)=P?0`F$hhn)ZwphULNgG--?eGJcy`BxL`O8P#^QH|C*#F=;w)_9%(!R=rQftV zzG!^0ugjpXe#-cgrS}-9L%wlm9a@RAw{cpMta)n&op?$=H9^m2QzWeDqw|^vvis*) zp=Q;}z#X7Z#t1h{5N3o11TW1TWv&)Z`2u0-WZ7pJgOQ7AUUjLk^4QlG7K9z4=_Tan z-|8@DLN!Ny|2SUvE82D_r@(uH-#PGK575l!?_BCJ2ES*omPNL`dN%>MxKCa^`|H5b ze+4rAI`;o&9fZCj!+#iQ{fYzsd;8V@G=Kjc8UE}3hCdl+SHF*GEQ7XB82~;vT4)I< zvOt7thnMbYo4rWRsyi1F0M3B%z*fa~m9mpm^M^dUdup9X-(#0;DrfcyfSRb895l*P1GYSPhBgFCW=?B zeF51TMm+K4R&Aq!OH3M{2(}<5)|}h95aLcBxe%@W?OOpI zW&TFm5%l>)>;8L$^?sMJGC!F9_h&yhP|ou+9DDk={4MUpl=MWQ*F5PV&D^eN!#081 zz=rDzCr)#zMmrn6CFATcX^eQk_Xld=Y6`NQCxd9AmRGg%D>!@Y`qU`Z)ovJG|4G*| zINoIcTyR!RkFJf-BWHqq=e|ze>)Sd_t=>bvHATY(d0ZPg5aUtFWhc#&dQ-C=oBCQA zxjcsz=GkJ6`{`CQAaf1gj~t+WdbcAB$om=3Y{wJhNZ+L8FDQdw8Qw&x1v#rpFA4cm z9P*q}1t>Wlku@U+x@H$}1M7&)MOuuPyEIOuPPuK;yh^p{=r}~mBd|vLF-Gg_*k9~%-;p~wy zPcG!~hiz_q=6lbZ{OMc4M!mL({eWP9A1{Jc@t5=!2(7_VOWnuAvnFL5B((&z4h*R`C(G%Y&Ze@@gBzy?5i5n#IYL!9eRP!%lMa~3z@`@4 zh(R|_OYmf05@^);NZcwRm|3PWusZjNGI%_0uDDGQxVpPSgQ_l?)<^&f*y(T0zPoR; zrC#RqX%w2Z{sf^xy%g?Ch;&Z+1auk3hGEBVnG=EPZ}WHS>_~t*_l6{x9UK;@@($Kk z2P9OEzb?$MDobdn!C&>!D*p(+`c0P#VG6=I23c-+j=3ceLEPZNc?aqPL|5hgA_F5m znj{Wao+>}1;_NP+D||oZJk3f zcbI>Wsnbyqk`bSW?L@OI@S|Ofy-XavHxXq<9*%FJO8Xg%ZD0?P8ZwOZmg;LVK8R}^ zRyFu!qr;$Q{Uq^{9JC(7IYdpqfxb)KMfF`(;M7tEBj`D_+mSXh>xYTeb?NRT$MpE@ zcfUqT1_Ox-AvAo<7=r0x$Xq0#IqS`DuPq=iRA_}+7PO1m%#GV!7n~uf2gkrRYr)pC ztA`^IyaV%W4-R!kJRYKCCNJp6DhvaB{PJ1NBN>8$+fEG+@@nEDO0yZ?u3ubv9V$E* zIpXb=*rG+17mIeOsXaqGLQxJ*3@i;2J0AX=A0WQzt2cy<)Guui2i)MFs4RGD9NfWWyZd*dLd8U{#xrTB2cvy@LTZpsw2KP81 zdWA*VuoSt-Ro8OXYP@&6U0nn2LmWH>Z7-f@Vlm9t7R-pAFbJsN$6{r$W082C zj3|;{fb*N);jgT0cC1fF2X(dbY2}h-hUnEQBGJyueqjApu!Hcf1IFbpor|6x z*5z!8!fgrvNo}uzu5-_H^Wux5OjPWOlWcO}OLMpjg2Sx04}io>G{**&-1};1xuCK( z^_mB(``*FpHEJ5?Umr>t=3xau8-fedqlyeDPr7+loLMm|F4{01!&A@KpUNysUV7Jk zqGa)-I9_SVcunug$+X^A?QH8%GiSnk5@Q(;#43YuGz9rJz+r3Bm1}=x2@iy~RNh%g zd!v$yAwtRH;}bv4rMNld9lUhv_~mGGlbQQozK$(@d1i=Xex+4*K_m<2cNL-{*7vO1 z){;jq!~<3+qW3PEIFe%GI%5vTjzScQScq7?>jQXUx3lY3#l%M+Y?A|#q3_h?AH9AE z%i8C8LK1y9SCxb3O7M>I>&^CK<^>|S8!s1~spAIKrx?BLs_I;$;2?&s3fVg=1B0^6 zlG_bYK}BKFR}{3$mNs^i?rdG(P@t-wL&{*R9- zRuK>@9L<_Zw&#Z6XmAP;31Fmu(0|FAr4)%{QwY*Ifqq`#2@j*d_wsjT7L|6DMA)er z80oKv@MNF@kwg}pZOG3l#cBz<2K*Ji!QXg}^h2(sZ&kRvpc@<}9bx6e_8G*^sL}j!B*MX`-`I8&Qy9ZTaQZ;BL}b#xELVd*QxzN#QH7 zv{(HxPola{w}ieyrss-W{@A9MUir%n3aM@>T1&q3u1dn^7R4NnN1ZEjQsUe&n&r%g z%qjybv}=F^G5_KFAsrJ@KhFXi#zHtb(X6{#252AVCoER74}UV#A=Uz{7K0LJ!GXgO zPeN!GXm6Ja@}Dj@Z+YMdlu2l7ur(9tR9R@)ts`bG7AV`Gs1G5Tfs(|!N01-K6wADkFdE>%@nFaiGJ+gik&koy*799+JEYe68KbE0xw5qV^Dmkcf5mvnZy5al zpR?V*;NguTVEPVSJmt`TTI|!{K&F36>{CnQq~@E1p9>lbo;_}Ay7I6%_t{fRAq6M6 zJ*;Iz>f^DRmsmH!^z^HdHt1LYl0|9-ieebS1uSlx*?#ZzHq&*h0(adGNBufdM!Fa= zE9!+|Tht41X7F@uloPNQ00MPv0`^_@hkHNcXclJ2{S;DTD>W<0r{HnR)%t@)T^Z(H z#7k)piHX9Gx^^*9b~sqk%8(B~1PFp$JkfKk)&5!Dg{hU^#~zW!$}%V8LpO`ndp>V0 zZb@&HYQp=&>pdiGAADb3nWz${zmV3pvpDrKNIGB5azR6yyR>26?UcPea^yBS(f3z> VtLZCZ{kKJ|cm6NeM*Pd@KLP)Xpq2mt literal 0 HcmV?d00001 diff --git a/docs/reference/images/es-endpoint.jpg b/docs/images/es-endpoint.jpg similarity index 100% rename from docs/reference/images/es-endpoint.jpg rename to docs/images/es-endpoint.jpg diff --git a/docs/index.asciidoc b/docs/index.asciidoc new file mode 100644 index 00000000000..b1202f34de2 --- /dev/null +++ b/docs/index.asciidoc @@ -0,0 +1,33 @@ +[[elasticsearch-net-reference]] += Elasticsearch .NET Client + +include::{asciidoc-dir}/../../shared/versions/stack/{source_branch}.asciidoc[] +include::{asciidoc-dir}/../../shared/attributes.asciidoc[] + +:doc-tests-src: {docdir}/../tests/Tests/Documentation +:net-client: Elasticsearch .NET Client +:latest-version: 8.15.8 + +:es-docs: https://www.elastic.co/guide/en/elasticsearch/reference/{branch} + +include::intro.asciidoc[] + +include::getting-started.asciidoc[] + +include::install.asciidoc[] + +include::connecting.asciidoc[] + +include::configuration.asciidoc[] + +include::client-concepts/client-concepts.asciidoc[] + +include::usage/index.asciidoc[] + +include::migration-guide.asciidoc[] + +include::troubleshooting.asciidoc[] + +include::redirects.asciidoc[] + +include::release-notes/release-notes.asciidoc[] \ No newline at end of file diff --git a/docs/install.asciidoc b/docs/install.asciidoc new file mode 100644 index 00000000000..09a383cda5a --- /dev/null +++ b/docs/install.asciidoc @@ -0,0 +1,95 @@ +[[installation]] +== Installation + +This page shows you how to install the .NET client for {es}. + +IMPORTANT: The v8 client for .NET does not have complete feature parity with +the v7 `NEST` client. It may not be suitable for for all applications until +additional endpoints and features are supported. We therefore recommend you thoroughly +review our <> before attempting to migrate +existing applications to the `Elastic.Clients.Elasticsearch` library. +Until the new client supports all endpoints and features your application requires, +you may continue to use the 7.17.x https://www.nuget.org/packages/NEST[NEST] client +to communicate with v8 Elasticsearch servers using compatibility mode. Refer to the +https://www.elastic.co/guide/en/elasticsearch/client/net-api/7.17/connecting-to-elasticsearch-v8.html[Connecting to Elasticsearch v8.x using the v7.17.x client documentation] +for guidance on configuring the 7.17.x client. + +[discrete] +[[dot-net-client]] +=== Installing the .NET client + +For SDK style projects, you can install the {es} client by running the following +.NET CLI command in your terminal: + +[source,text] +---- +dotnet add package Elastic.Clients.Elasticsearch +---- + +This command adds a package reference to your project (csproj) file for the +latest stable version of the client. + +If you prefer, you may also manually add a package reference inside your project +file: + +[source,shell] +---- + +---- +_NOTE: The version number should reflect the latest published version from +https://www.nuget.org/packages/Elastic.Clients.Elasticsearch[NuGet.org]. To install +a different version, modify the version as necessary._ + +For Visual Studio users, the .NET client can also be installed from the Package +Manager Console inside Visual Studio using the following command: + +[source,shell] +---- +Install-Package Elastic.Clients.Elasticsearch +---- + +Alternatively, search for `Elastic.Clients.Elasticsearch` in the NuGet Package +Manager UI. + +To learn how to connect the {es} client, refer to the <> section. + +[discrete] +[[compatibility]] +=== Compatibility + +The {es} client is compatible with currently maintained .NET runtime versions. +Compatibility with End of Life (EOL) .NET runtimes is not guaranteed or +supported. + +Language clients are forward compatible; meaning that the clients support +communicating with greater or equal minor versions of {es} without breaking. It +does not mean that the clients automatically support new features of newer +{es} versions; it is only possible after a release of a new client version. For +example, a 8.12 client version won't automatically support the new features of +the 8.13 version of {es}, the 8.13 client version is required for that. {es} +language clients are only backwards compatible with default distributions and +without guarantees made. + +|=== +| Elasticsearch Version | Elasticsearch-NET Branch | Supported + +| main | main | +| 8.x | 8.x | 8.x +| 7.x | 7.x | 7.17 +|=== + +Refer to the https://www.elastic.co/support/eol[end-of-life policy] for more +information. + +[discrete] +[[ci-feed]] +=== CI feed + +We publish CI builds of our client packages, including the latest +unreleased features. If you want to experiment with the latest bits, you +can add the CI feed to your list of NuGet package sources. + +Feed URL: https://f.feedz.io/elastic/all/nuget/index.json + +We do not recommend using CI builds for production applications as they are not +formally supported until they are released. \ No newline at end of file diff --git a/docs/intro.asciidoc b/docs/intro.asciidoc new file mode 100644 index 00000000000..d638ad6acac --- /dev/null +++ b/docs/intro.asciidoc @@ -0,0 +1,54 @@ +:github: https://github.com/elastic/elasticsearch-net + +[[introduction]] +== Introduction + +*Rapidly develop applications with the .NET client for {es}.* + +Designed for .NET application developers, the .NET language client +library provides a strongly typed API and query DSL for interacting with {es}. +The .NET client includes higher-level abstractions, such as +helpers for coordinating bulk indexing and update operations. It also comes with +built-in, configurable cluster failover retry mechanisms. + +The {es} .NET client is available as a https://www.nuget.org/packages/Elastic.Clients.Elasticsearch[NuGet] +package for use with .NET Core, .NET 5+, and .NET Framework (4.6.1 and later) +applications. + +_NOTE: This documentation covers the v8 .NET client for {es}, for use +with {es} 8.x versions. To develop applications targeting {es} v7, use the +https://www.elastic.co/guide/en/elasticsearch/client/net-api/7.17[v7 (NEST) client]._ + +[discrete] +[[features]] +=== Features + +* One-to-one mapping with the REST API. +* Strongly typed requests and responses for {es} APIs. +* Fluent API for building requests. +* Query DSL to assist with constructing search queries. +* Helpers for common tasks such as bulk indexing of documents. +* Pluggable serialization of requests and responses based on `System.Text.Json`. +* Diagnostics, auditing, and .NET activity integration. + +The .NET {es} client is built on the Elastic Transport library, which provides: + +* Connection management and load balancing across all available nodes. +* Request retries and dead connections handling. + +[discrete] +=== {es} version compatibility + +Language clients are forward compatible: clients support communicating +with current and later minor versions of {es}. {es} language clients are +backward compatible with default distributions only and without guarantees. + +[discrete] +=== Questions, bugs, comments, feature requests + +To submit a bug report or feature request, use +{github}/issues[GitHub issues]. + +For more general questions and comments, try the community forum +on https://discuss.elastic.co/c/elasticsearch[discuss.elastic.co]. +Mention `.NET` in the title to indicate the discussion topic. \ No newline at end of file diff --git a/docs/migration-guide.asciidoc b/docs/migration-guide.asciidoc new file mode 100644 index 00000000000..1d3ae76032c --- /dev/null +++ b/docs/migration-guide.asciidoc @@ -0,0 +1,334 @@ +[[migration-guide]] +== Migration guide: From NEST v7 to .NET Client v8 + +The following migration guide explains the current state of the client, missing +features, breaking changes and our rationale for some of the design choices we have introduced. + +[discrete] +=== Version 8 is a refresh + +[IMPORTANT] +-- +It is important to highlight that v8 of the {net-client} represents +a new start for the client design. It is important to review how this may affect +your code and usage. +-- + +Mature code becomes increasingly hard to maintain over time. +Major releases allow us to simplify and better align our language clients with +each other in terms of design. It is crucial to find the right balance +between uniformity across programming languages and the idiomatic concerns of +each language. For .NET, we typically compare and contrast with https://github.com/elastic/elasticsearch-java[Java] and https://github.com/elastic/go-elasticsearch[Go] +to make sure that our approach is equivalent for each of these. We also take +heavy inspiration from Microsoft framework design guidelines and the conventions +of the wider .NET community. + +[discrete] +==== New Elastic.Clients.Elasticsearch NuGet package + +We have shipped the new code-generated client as a +https://www.nuget.org/packages/Elastic.Clients.Elasticsearch/[NuGet package] +with a new root namespace, `Elastic.Clients.Elasticsearch`. +The v8 client is built upon the foundations of the v7 `NEST` client, but there +are changes. By shipping as a new package, the expectation is that migration can +be managed with a phased approach. + +While this is a new package, we have aligned the major version (v8.x.x) with the +supported {es} server version to clearly indicate the client/server compatibility. +The v8 client is designed to work with version 8 of {es}. + +The v7 `NEST` client continues to be supported but will not gain new features or +support for new {es} endpoints. It should be considered deprecated in favour of +the new client. + +[discrete] +==== Limited feature set + +[CAUTION] +-- +The version 8 {net-client} does not have feature parity with the previous v7 `NEST` +high-level client. +-- + +If a feature you depend on is missing (and not explicitly documented below as a +feature that we do not plan to reintroduce), open https://github.com/elastic/elasticsearch-net/issues/new/choose[an issue] +or comment on a relevant existing issue to highlight your need to us. This will +help us prioritise our roadmap. + +[discrete] +=== Code generation + +Given the size of the {es} API surface today, it is no longer practical +to maintain thousands of types (requests, responses, queries, aggregations, etc.) +by hand. To ensure consistent, accurate, and timely alignment between language +clients and {es}, the 8.x clients, and many of the associated types are now +automatically code-generated from a https://github.com/elastic/elasticsearch-specification[shared specification]. This is a common solution to maintaining alignment between +client and server among SDKs and libraries, such as those for Azure, AWS and the +Google Cloud Platform. + +Code-generation from a specification has inevitably led to some differences +between the existing v7 `NEST` types and those available in the new v7 {net-client}. +For version 8, we generate strictly from the specification, special +casing a few areas to improve usability or to align with language idioms. + +The base type hierarchy for concepts such as `Properties`, `Aggregations` and +`Queries` is no longer present in generated code, as these arbitrary groupings do +not align with concrete concepts of the public server API. These considerations +do not preclude adding syntactic sugar and usability enhancements to types in future +releases on a case-by-case basis. + +[discrete] +=== Elastic.Transport + +The .NET client includes a transport layer responsible for abstracting HTTP +concepts and to provide functionality such as our request pipeline. This +supports round-robin load-balancing of requests to nodes, pinging failed +nodes and sniffing the cluster for node roles. + +In v7, this layer shipped as `Elasticsearch.Net` and was considered our low-level +client which could be used to send and receive raw JSON bytes between the client +and server. + +As part of the work for 8.0.0, we have moved the transport layer out into +a https://www.nuget.org/packages/Elastic.Transport[new dedicated package] and +https://github.com/elastic/elastic-transport-net[repository], named +`Elastic.Transport`. This supports reuse across future clients and allows +consumers with extremely high-performance requirements to build upon this foundation. + +[discrete] +=== System.Text.Json for serialization + +The v7 `NEST` high-level client used an internalized and modified version of +https://github.com/neuecc/Utf8Json[Utf8Json] for request and response +serialization. This was introduced for its performance improvements +over https://www.newtonsoft.com/json[Json.NET], the more common JSON framework at +the time. + +While Utf8Json provides good value, we have identified minor bugs and +performance issues that have required maintenance over time. Some of these +are hard to change without more significant effort. This library is no longer +maintained, and any such changes cannot easily be contributed back to the +original project. + +With .NET Core 3.0, Microsoft shipped new https://devblogs.microsoft.com/dotnet/try-the-new-system-text-json-apis[System.Text.Json APIs] +that are included in-the-box with current versions of .NET. We have adopted +`System.Text.Json` for all serialization. Consumers can still define and register +their own `Serializer` implementation for their document types should they prefer +to use a different serialization library. + +By adopting `System.Text.Json`, we now depend on a well-maintained and supported +library from Microsoft. `System.Text.Json` is designed from the ground up to support +the latest performance optimizations in .NET and, as a result, provides both fast and low-allocation serialization. + +[discrete] +=== Mockability of ElasticsearchClient + +Testing code is an important part of software development. We recommend +that consumers prefer introducing an abstraction for their use of the {net-client} +as the prefered way to decouple consuming code from client types and support unit +testing. + +To support user testing scenarios, we have unsealed the `ElasticsearchClient` +type and made its methods virtual. This supports mocking the type directly for unit +testing. This is an improvement over the original `IElasticClient` interface from +`NEST` (v7) which only supported mocking of top-level client methods. + +We have also introduced a `TestableResponseFactory` in `Elastic.Transport` to +make it easier to create response instances with specific status codes and validity +that can be used during unit testing. + +These changes are in addition to our existing support for testing with an +`InMemoryConnection`, virtualized clusters and with our +https://github.com/elastic/elasticsearch-net-abstractions/blob/master/src/Elastic.Elasticsearch.Managed[`Elastic.Elasticsearch.Managed`] library for integration +testing against real {es} instances. + +[discrete] +=== Migrating to Elastic.Clients.Elasticsearch + +[WARNING] +-- +The version 8 client does not currently have full-feature parity with `NEST`. The +client primary use case is for application developers communicating with {es}. +-- + +The version 8 client focuses on core endpoints, more specifically for common CRUD +scenarios. The intention is to reduce the feature gap in subsequent versions. Review this documentation carefully to learn about the missing features and reduced API surface details before migrating from the v7 `NEST` client! + +The choice to code-generate a new evolution of the {net-client} introduces some +significant breaking changes. + +The v8 client is shipped as a new https://www.nuget.org/packages/Elastic.Clients.Elasticsearch/[NuGet package] +which can be installed alongside v7 `NEST`. Some consumers may prefer a phased migration with both +packages side-by-side for a short period of time to manage complex migrations. In addition, `NEST` 7.17.x can continue to be used in +https://www.elastic.co/guide/en/elasticsearch/client/net-api/7.17/connecting-to-elasticsearch-v8.html[compatibility mode] +with {es} 8.x servers until the v8 {net-client} features +align with application requirements. + +[discrete] +=== Breaking Changes + +[WARNING] +-- +As a result of code-generating a majority of the client types, version 8 of +the client includes multiple breaking changes. +-- + +We have strived to keep the core foundation reasonably similar, but types emitted +through code-generation are subject to change between `NEST` (v7) and the new +`Elastic.Clients.Elasticsearch` (v8) package. + +[discrete] +==== Namespaces + +The package and top-level namespace for the v8 client have been renamed to +`Elastic.Clients.Elasticsearch`. All types belong to this namespace. When +necessary, to avoid potential conflicts, types are generated into suitable +sub-namespaces based on the https://github.com/elastic/elasticsearch-specification[{es} specification]. Additional `using` directives may be required to access such types +when using the {net-client}. + +Transport layer concepts have moved to the new `Elastic.Transport` NuGet package +and related types are defined under its namespace. Some configuration and low-level transport functionality may require a `using` directive for the `Elastic.Transport` +namespace. + +[discrete] +==== Type names + +Type names may have changed from previous versions. These are not listed explicitly due to the potentially vast number of subtle differences. +Type names will now more closely align to those used in the JSON and as documented +in the {es} documentation. + +[discrete] +==== Class members + +Types may include renamed properties based on the {es} specification, +which differ from the original `NEST` property names. The types used for properties +may also have changed due to code-generation. If you identify missing or +incorrectly-typed properties, please open https://github.com/elastic/elasticsearch-net/issues/new/choose[an issue] to alert us. + +[discrete] +==== Sealing classes + +Opinions on "sealing by default" within the .NET ecosystem tend to be quite +polarized. Microsoft seal all internal types for potential performance gains +and we see a benefit in starting with that approach for the {net-client}, +even for our public API surface. + +While it prevents inheritance and, therefore, may inhibit a few consumer scenarios, +sealing by default is intended to avoid the unexpected or invalid +extension of types that could inadvertently be broken in the future. + +[discrete] +==== Removed features + +As part of the clean-slate redesign of the new client, +certain features are removed from the v8.0 client. These are listed below: + +[discrete] +===== Attribute mappings + +In previous versions of the `NEST` client, attributes could be used to configure +the mapping behaviour and inference for user types. It is recommended that +mapping be completed via the fluent API when configuring client instances. +`System.Text.Json` attributes may be used to rename +and ignore properties during source serialization. + +[discrete] +===== CAT APIs + +The https://www.elastic.co/guide/en/elasticsearch/reference/current/cat.html[CAT APIs] +of {es} are intended for human-readable usage and will no longer be supported +via the v8 {net-client}. + +[discrete] +===== Interface removal + +Several interfaces are removed to simplify the library and avoid interfaces where only a +single implementation of that interface is expected to exist, such as +`IElasticClient` in `NEST`. Abstract base classes are preferred +over interfaces across the library, as this makes it easier to add enhancements +without introducing breaking changes for derived types. + +[discrete] +==== Missing features + +The following are some of the main features which +have not been re-implemented for the v8 client. +These might be reviewed and prioritized for inclusion in +future releases. + +* Query DSL operators for combining queries. +* Scroll Helper. +* Fluent API for union types. +* `AutoMap` for field datatype inference. +* Visitor pattern support for types such as `Properties`. +* Support for `JoinField` which affects `ChildrenAggregation`. +* Conditionless queries. +* DiagnosticSources have been removed in `Elastic.Transport` to provide a clean-slate +for an improved diagnostics story. The {net-client} emits https://opentelemetry.io/[OpenTelemetry] compatible `Activity` spans which can be consumed by APM agents such as the https://www.elastic.co/guide/en/apm/agent/dotnet/current/index.html[Elastic APM Agent for .NET]. +* Documentation is a work in progress, and we will expand on the documented scenarios +in future releases. + +[discrete] +=== Reduced API surface + +In the current versions of the code-generated .NET client, supporting commonly used +endpoints is critical. Some specific queries and aggregations need further work to generate code correctly, +hence they are not included yet. +Ensure that the features you are using are currently supported before migrating. + +An up to date list of all supported and unsupported endpoints can be found on https://github.com/elastic/elasticsearch-net/issues/7890[GitHub]. + +[discrete] +=== Workarounds for missing features + +If you encounter a missing feature with the v8 client, there are several ways to temporarily work around this issue until we officially reintroduce the feature. + +`NEST` 7.17.x can continue to be used in +https://www.elastic.co/guide/en/elasticsearch/client/net-api/7.17/connecting-to-elasticsearch-v8.html[compatibility mode] +with {es} 8.x servers until the v8 {net-client} features +align with application requirements. + +As a last resort, the low-level client `Elastic.Transport` can be used to create any desired request by hand: + +[source,csharp] +---- +public class MyRequestParameters : RequestParameters +{ + public bool Pretty + { + get => Q("pretty"); + init => Q("pretty", value); + } +} + +// ... + +var body = """ + { + "name": "my-api-key", + "expiration": "1d", + "...": "..." + } + """; + +MyRequestParameters requestParameters = new() +{ + Pretty = true +}; + +var pathAndQuery = requestParameters.CreatePathWithQueryStrings("/_security/api_key", + client.ElasticsearchClientSettings); +var endpointPath = new EndpointPath(Elastic.Transport.HttpMethod.POST, pathAndQuery); + +// Or, if the path does not contain query parameters: +// new EndpointPath(Elastic.Transport.HttpMethod.POST, "my_path") + +var response = await client.Transport + .RequestAsync( + endpointPath, + PostData.String(body), + null, + null, + cancellationToken: default) + .ConfigureAwait(false); +---- \ No newline at end of file diff --git a/docs/redirects.asciidoc b/docs/redirects.asciidoc new file mode 100644 index 00000000000..cb97e146ff1 --- /dev/null +++ b/docs/redirects.asciidoc @@ -0,0 +1,24 @@ +["appendix",role="exclude",id="redirects"] += Deleted pages + +The following pages have moved or been deleted. + +[role="exclude",id="configuration-options"] +== Configuration options + +This page has moved. See <>. + +[role="exclude",id="nest"] +== NEST - High level client + +This page has been deleted. + +[role="exclude",id="indexing-documents"] +== Indexing documents + +This page has been deleted. + +[role="exclude",id="bulkall-observable"] +== Multiple documents with `BulkAllObservable` helper + +This page has been deleted. \ No newline at end of file diff --git a/docs/reference/_options_on_elasticsearchclientsettings.md b/docs/reference/_options_on_elasticsearchclientsettings.md deleted file mode 100644 index 49d5f904bd6..00000000000 --- a/docs/reference/_options_on_elasticsearchclientsettings.md +++ /dev/null @@ -1,175 +0,0 @@ ---- -mapped_pages: - - https://www.elastic.co/guide/en/elasticsearch/client/net-api/current/_options_on_elasticsearchclientsettings.html ---- - -# Options on ElasticsearchClientSettings [_options_on_elasticsearchclientsettings] - -The following is a list of available connection configuration options on `ElasticsearchClientSettings`: - -`Authentication` -: An implementation of `IAuthenticationHeader` describing what http header to use to authenticate with the product. - - ``` - `BasicAuthentication` for basic authentication - ``` - ``` - `ApiKey` for simple secret token - ``` - ``` - `Base64ApiKey` for Elastic Cloud style encoded api keys - ``` - - -`ClientCertificate` -: Use the following certificates to authenticate all HTTP requests. You can also set them on individual request using `ClientCertificates`. - -`ClientCertificates` -: Use the following certificates to authenticate all HTTP requests. You can also set them on individual request using `ClientCertificates`. - -`ConnectionLimit` -: Limits the number of concurrent connections that can be opened to an endpoint. Defaults to 80 (see `DefaultConnectionLimit`). - - For Desktop CLR, this setting applies to the `DefaultConnectionLimit` property on the `ServicePointManager` object when creating `ServicePoint` objects, affecting the default `IConnection` implementation. - - For Core CLR, this setting applies to the `MaxConnectionsPerServer` property on the `HttpClientHandler` instances used by the `HttpClient` inside the default `IConnection` implementation. - - -`DeadTimeout` -: The time to put dead nodes out of rotation (this will be multiplied by the number of times they’ve been dead). - -`DefaultDisableIdInference` -: Disables automatic Id inference for given CLR types. - - The client by default will use the value of a property named `Id` on a CLR type as the `_id` to send to {{es}}. Adding a type will disable this behaviour for that CLR type. If `Id` inference should be disabled for all CLR types, use `DefaultDisableIdInference`. - - -`DefaultFieldNameInferrer` -: Specifies how field names are inferred from CLR property names. - - By default, the client camel cases property names. For example, CLR property `EmailAddress` will be inferred as "emailAddress" {{es}} document field name. - - -`DefaultIndex` -: The default index to use for a request when no index has been explicitly specified and no default indices are specified for the given CLR type specified for the request. - -`DefaultMappingFor` -: Specify how the mapping is inferred for a given CLR type. The mapping can infer the index, id and relation name for a given CLR type, as well as control serialization behaviour for CLR properties. - -`DisableAutomaticProxyDetection` -: Disabled proxy detection on the webrequest, in some cases this may speed up the first connection your appdomain makes, in other cases it will actually increase the time for the first connection. No silver bullet! Use with care! - -`DisableDirectStreaming` -: When set to true will disable (de)serializing directly to the request and response stream and return a byte[] copy of the raw request and response. Defaults to false. - -`DisablePing` -: This signals that we do not want to send initial pings to unknown/previously dead nodes and just send the call straightaway. - -`DnsRefreshTimeout` -: DnsRefreshTimeout for the connections. Defaults to 5 minutes. - -`EnableDebugMode` -: Turns on settings that aid in debugging like `DisableDirectStreaming()` and `PrettyJson()` so that the original request and response JSON can be inspected. It also always asks the server for the full stack trace on errors. - -`EnableHttpCompression` -: Enable gzip compressed requests and responses. - -`EnableHttpPipelining` -: Whether HTTP pipelining is enabled. The default is `true`. - -`EnableTcpKeepAlive` -: Sets the keep-alive option on a TCP connection. - - For Desktop CLR, sets `ServicePointManager`.`SetTcpKeepAlive`. - - -`EnableTcpStats` -: Enable statistics about TCP connections to be collected when making a request. - -`GlobalHeaders` -: Try to send these headers for every request. - -`GlobalQueryStringParameters` -: Append these query string parameters automatically to every request. - -`MaxDeadTimeout` -: The maximum amount of time a node is allowed to marked dead. - -`MaximumRetries` -: When a retryable exception occurs or status code is returned this controls the maximum amount of times we should retry the call to {{es}}. - -`MaxRetryTimeout` -: Limits the total runtime including retries separately from `RequestTimeout`. When not specified defaults to `RequestTimeout` which itself defaults to 60 seconds. - -`MemoryStreamFactory` -: Provides a memory stream factory. - -`NodePredicate` -: Register a predicate to select which nodes that you want to execute API calls on. Note that sniffing requests omit this predicate and always execute on all nodes. When using an `IConnectionPool` implementation that supports reseeding of nodes, this will default to omitting master only node from regular API calls. When using static or single node connection pooling it is assumed the list of node you instantiate the client with should be taken verbatim. - -`OnRequestCompleted` -: Allows you to register a callback every time a an API call is returned. - -`OnRequestDataCreated` -: An action to run when the `RequestData` for a request has been created. - -`PingTimeout` -: The timeout in milliseconds to use for ping requests, which are issued to determine whether a node is alive. - -`PrettyJson` -: Provide hints to serializer and products to produce pretty, non minified json. - - Note: this is not a guarantee you will always get prettified json. - - -`Proxy` -: If your connection has to go through proxy, use this method to specify the proxy url. - -`RequestTimeout` -: The timeout in milliseconds for each request to {{es}}. - -`ServerCertificateValidationCallback` -: Register a `ServerCertificateValidationCallback` per request. - -`SkipDeserializationForStatusCodes` -: Configure the client to skip deserialization of certain status codes, for example, you run {{es}} behind a proxy that returns an unexpected json format. - -`SniffLifeSpan` -: Force a new sniff for the cluster when the cluster state information is older than the specified timespan. - -`SniffOnConnectionFault` -: Force a new sniff for the cluster state every time a connection dies. - -`SniffOnStartup` -: Sniff the cluster state immediately on startup. - -`ThrowExceptions` -: Instead of following a c/go like error checking on response. `IsValid` do throw an exception (except when `SuccessOrKnownError` is false) on the client when a call resulted in an exception on either the client or the {{es}} server. - - Reasons for such exceptions could be search parser errors, index missing exceptions, and so on. - - -`TransferEncodingChunked` -: Whether the request should be sent with chunked Transfer-Encoding. - -`UserAgent` -: The user agent string to send with requests. Useful for debugging purposes to understand client and framework versions that initiate requests to {{es}}. - -## ElasticsearchClientSettings with ElasticsearchClient [_elasticsearchclientsettings_with_elasticsearchclient] - -Here’s an example to demonstrate setting configuration options using the client. - -```csharp -var settings= new ElasticsearchClientSettings() - .DefaultMappingFor(i => i - .IndexName("my-projects") - .IdProperty(p => p.Name) - ) - .EnableDebugMode() - .PrettyJson() - .RequestTimeout(TimeSpan.FromMinutes(2)); - -var client = new ElasticsearchClient(settings); -``` - - diff --git a/docs/reference/aggregations.md b/docs/reference/aggregations.md deleted file mode 100644 index 8a3ca8e8327..00000000000 --- a/docs/reference/aggregations.md +++ /dev/null @@ -1,130 +0,0 @@ ---- -mapped_pages: - - https://www.elastic.co/guide/en/elasticsearch/client/net-api/current/aggregations.html ---- - -# Aggregation examples [aggregations] - -This page demonstrates how to use aggregations. - - -## Top-level aggreggation [_top_level_aggreggation] - - -### Fluent API [_fluent_api] - -```csharp -var response = await client - .SearchAsync(search => search - .Index("persons") - .Query(query => query - .MatchAll(_ => {}) - ) - .Aggregations(aggregations => aggregations - .Add("agg_name", aggregation => aggregation - .Max(max => max - .Field(x => x.Age) - ) - ) - ) - .Size(10) - ); -``` - - -### Object initializer API [_object_initializer_api] - -```csharp -var response = await client.SearchAsync(new SearchRequest("persons") -{ - Query = Query.MatchAll(new MatchAllQuery()), - Aggregations = new Dictionary - { - { "agg_name", Aggregation.Max(new MaxAggregation - { - Field = Infer.Field(x => x.Age) - })} - }, - Size = 10 -}); -``` - - -### Consume the response [_consume_the_response] - -```csharp -var max = response.Aggregations!.GetMax("agg_name")!; -Console.WriteLine(max.Value); -``` - - -## Sub-aggregation [_sub_aggregation] - - -### Fluent API [_fluent_api_2] - -```csharp -var response = await client - .SearchAsync(search => search - .Index("persons") - .Query(query => query - .MatchAll(_ => {}) - ) - .Aggregations(aggregations => aggregations - .Add("firstnames", aggregation => aggregation - .Terms(terms => terms - .Field(x => x.FirstName) - ) - .Aggregations(aggregations => aggregations - .Add("avg_age", aggregation => aggregation - .Max(avg => avg - .Field(x => x.Age) - ) - ) - ) - ) - ) - .Size(10) - ); -``` - - -### Object initializer API [_object_initializer_api_2] - -```csharp -var topLevelAggregation = Aggregation.Terms(new TermsAggregation -{ - Field = Infer.Field(x => x.FirstName) -}); - -topLevelAggregation.Aggregations = new Dictionary -{ - { "avg_age", new MaxAggregation - { - Field = Infer.Field(x => x.Age) - }} -}; - -var response = await client.SearchAsync(new SearchRequest("persons") -{ - Query = Query.MatchAll(new MatchAllQuery()), - Aggregations = new Dictionary - { - { "firstnames", topLevelAggregation} - }, - Size = 10 -}); -``` - - -### Consume the response [_consume_the_response_2] - -```csharp -var firstnames = response.Aggregations!.GetStringTerms("firstnames")!; -foreach (var bucket in firstnames.Buckets) -{ - var avg = bucket.Aggregations.GetAverage("avg_age")!; - Console.WriteLine($"The average age for persons named '{bucket.Key}' is {avg}"); -} -``` - diff --git a/docs/reference/client-concepts.md b/docs/reference/client-concepts.md deleted file mode 100644 index 73655604f4a..00000000000 --- a/docs/reference/client-concepts.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -mapped_pages: - - https://www.elastic.co/guide/en/elasticsearch/client/net-api/current/client-concepts.html ---- - -# Client concepts [client-concepts] - -The .NET client for {{es}} maps closely to the original {{es}} API. All -requests and responses are exposed through types, making it ideal for getting up and running quickly. diff --git a/docs/reference/configuration.md b/docs/reference/configuration.md deleted file mode 100644 index 0577876926e..00000000000 --- a/docs/reference/configuration.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -mapped_pages: - - https://www.elastic.co/guide/en/elasticsearch/client/net-api/current/configuration.html ---- - -# Configuration [configuration] - -Connecting to {{es}} with the client is easy, but it’s possible that you’d like to change the default connection behaviour. There are a number of configuration options available on `ElasticsearchClientSettings` that can be used to control how the client interact with {{es}}. - - diff --git a/docs/reference/connecting.md b/docs/reference/connecting.md deleted file mode 100644 index 5c7fc326ca2..00000000000 --- a/docs/reference/connecting.md +++ /dev/null @@ -1,123 +0,0 @@ ---- -mapped_pages: - - https://www.elastic.co/guide/en/elasticsearch/client/net-api/current/connecting.html ---- - -# Connecting [connecting] - -This page contains the information you need to create an instance of the .NET Client for {{es}} that connects to your {{es}} cluster. - -It’s possible to connect to your {{es}} cluster via a single node, or by specifying multiple nodes using a node pool. Using a node pool has a few advantages over a single node, such as load balancing and cluster failover support. The client provides convenient configuration options to connect to an Elastic Cloud deployment. - -::::{important} -Client applications should create a single instance of `ElasticsearchClient` that is used throughout your application for its entire lifetime. Internally the client manages and maintains HTTP connections to nodes, reusing them to optimize performance. If you use a dependency injection container for your application, the client instance should be registered with a singleton lifetime. -:::: - - - -## Connecting to a cloud deployment [cloud-deployment] - -[Elastic Cloud](docs-content://deploy-manage/deploy/elastic-cloud/cloud-hosted.md) is the easiest way to get started with {{es}}. When connecting to Elastic Cloud with the .NET {{es}} client you should always use the Cloud ID. You can find this value within the "Manage Deployment" page after you’ve created a cluster (look in the top-left if you’re in Kibana). - -We recommend using a Cloud ID whenever possible because your client will be automatically configured for optimal use with Elastic Cloud, including HTTPS and HTTP compression. - -Connecting to an Elasticsearch Service deployment is achieved by providing the unique Cloud ID for your deployment when configuring the `ElasticsearchClient` instance. You also require suitable credentials, either a username and password or an API key that your application uses to authenticate with your deployment. - -As a security best practice, it is recommended to create a dedicated API key per application, with permissions limited to only those required for any API calls the application is authorized to make. - -The following snippet demonstrates how to create a client instance that connects to an {{es}} deployment in the cloud. - -```csharp -using Elastic.Clients.Elasticsearch; -using Elastic.Transport; - -var client = new ElasticsearchClient("", new ApiKey("")); <1> -``` - -1. Replace the placeholder string values above with your cloud ID and the API key configured for your application to access your deployment. - - - -## Connecting to a single node [single-node] - -Single node configuration is best suited to connections to a multi-node cluster running behind a load balancer or reverse proxy, which is exposed via a single URL. It may also be convenient to use a single node during local application development. If the URL represents a single {{es}} node, be aware that this offers no resiliency should the server be unreachable or unresponsive. - -By default, security features such as authentication and TLS are enabled on {{es}} clusters. When you start {{es}} for the first time, TLS is configured automatically for the HTTP layer. A CA certificate is generated and stored on disk which is used to sign the certificates for the HTTP layer of the {{es}} cluster. - -In order for the client to establish a connection with the cluster over HTTPS, the CA certificate must be trusted by the client application. The simplest choice is to use the hex-encoded SHA-256 fingerprint of the CA certificate. The CA fingerprint is output to the terminal when you start {{es}} for the first time. You’ll see a distinct block like the one below in the output from {{es}} (you may have to scroll up if it’s been a while): - -```sh ----------------------------------------------------------------- --> Elasticsearch security features have been automatically configured! --> Authentication is enabled and cluster connections are encrypted. - --> Password for the elastic user (reset with `bin/elasticsearch-reset-password -u elastic`): - lhQpLELkjkrawaBoaz0Q - --> HTTP CA certificate SHA-256 fingerprint: - a52dd93511e8c6045e21f16654b77c9ee0f34aea26d9f40320b531c474676228 -... ----------------------------------------------------------------- -``` - -Note down the `elastic` user password and HTTP CA fingerprint for the next sections. - -The CA fingerprint can also be retrieved at any time from a running cluster using the following command: - -```shell -openssl x509 -fingerprint -sha256 -in config/certs/http_ca.crt -``` - -The command returns the security certificate, including the fingerprint. The `issuer` should be `Elasticsearch security auto-configuration HTTP CA`. - -```shell -issuer= /CN=Elasticsearch security auto-configuration HTTP CA -SHA256 Fingerprint= -``` - -Visit the [Start the Elastic Stack with security enabled automatically](docs-content://deploy-manage/deploy/self-managed/installing-elasticsearch.md) documentation for more information. - -The following snippet shows you how to create a client instance that connects to your {{es}} cluster via a single node, using the CA fingerprint: - -```csharp -using Elastic.Clients.Elasticsearch; -using Elastic.Transport; - -var settings = new ElasticsearchClientSettings(new Uri("https://localhost:9200")) - .CertificateFingerprint("") - .Authentication(new BasicAuthentication("", "")); - -var client = new ElasticsearchClient(settings); -``` - -The preceding snippet demonstrates configuring the client to authenticate by providing a username and password with basic authentication. If preferred, you may also use `ApiKey` authentication as shown in the cloud connection example. - - -## Connecting to multiple nodes using a node pool [multiple-nodes] - -To provide resiliency, you should configure multiple nodes for your cluster to which the client attempts to communicate. By default, the client cycles through nodes for each request in a round robin fashion. The client also tracks unhealthy nodes and avoids sending requests to them until they become healthy. - -This configuration is best suited to connect to a known small sized cluster, where you do not require sniffing to detect the cluster topology. - -The following snippet shows you how to connect to multiple nodes by using a static node pool: - -```csharp -using Elastic.Clients.Elasticsearch; -using Elastic.Transport; - -var nodes = new Uri[] -{ - new Uri("https://myserver1:9200"), - new Uri("https://myserver2:9200"), - new Uri("https://myserver3:9200") -}; - -var pool = new StaticNodePool(nodes); - -var settings = new ElasticsearchClientSettings(pool) - .CertificateFingerprint("") - .Authentication(new ApiKey("")); - -var client = new ElasticsearchClient(settings); -``` - diff --git a/docs/reference/esql.md b/docs/reference/esql.md deleted file mode 100644 index f1db14c16cc..00000000000 --- a/docs/reference/esql.md +++ /dev/null @@ -1,50 +0,0 @@ ---- -navigation_title: "Using ES|QL" -mapped_pages: - - https://www.elastic.co/guide/en/elasticsearch/client/net-api/current/esql.html ---- - -# ES|QL in the .NET client [esql] - - -This page helps you understand and use [ES|QL](docs-content://explore-analyze/query-filter/languages/esql.md) in the .NET client. - -There are two ways to use ES|QL in the .NET client: - -* Use the Elasticsearch [ES|QL API](https://www.elastic.co/docs/api/doc/elasticsearch/group/endpoint-esql) directly: This is the most flexible approach, but it’s also the most complex because you must handle results in their raw form. You can choose the precise format of results, such as JSON, CSV, or text. -* Use ES|QL high-level helpers: These helpers take care of parsing the raw response into something readily usable by the application. Several helpers are available for different use cases, such as object mapping, cursor traversal of results (in development), and dataframes (in development). - - -## How to use the ES|QL API [esql-how-to] - -The [ES|QL query API](https://www.elastic.co/docs/api/doc/elasticsearch/group/endpoint-esql) allows you to specify how results should be returned. You can choose a [response format](docs-content://explore-analyze/query-filter/languages/esql-rest.md#esql-rest-format) such as CSV, text, or JSON, then fine-tune it with parameters like column separators and locale. - -The following example gets ES|QL results as CSV and parses them: - -```csharp -var response = await client.Esql.QueryAsync(r => r - .Query("FROM index") - .Format("csv") -); -var csvContents = Encoding.UTF8.GetString(response.Data); -``` - - -## Consume ES|QL results [esql-consume-results] - -The previous example showed that although the raw ES|QL API offers maximum flexibility, additional work is required in order to make use of the result data. - -To simplify things, try working with these three main representations of ES|QL results (each with its own mapping helper): - -* **Objects**, where each row in the results is mapped to an object from your application domain. This is similar to what ORMs (object relational mappers) commonly do. -* **Cursors**, where you scan the results row by row and access the data using column names. This is similar to database access libraries. -* **Dataframes**, where results are organized in a column-oriented structure that allows efficient processing of column data. - -```csharp -// ObjectAPI example -var response = await client.Esql.QueryAsObjectsAsync(x => x.Query("FROM index")); -foreach (var person in response) -{ - // ... -} -``` diff --git a/docs/reference/examples.md b/docs/reference/examples.md deleted file mode 100644 index 67cc8034ae0..00000000000 --- a/docs/reference/examples.md +++ /dev/null @@ -1,164 +0,0 @@ ---- -mapped_pages: - - https://www.elastic.co/guide/en/elasticsearch/client/net-api/current/examples.html ---- - -# CRUD usage examples [examples] - -This page helps you to understand how to perform various basic {{es}} CRUD (create, read, update, delete) operations using the .NET client. It demonstrates how to create a document by indexing an object into {{es}}, read a document back, retrieving it by ID or performing a search, update one of the fields in a document and delete a specific document. - -These examples assume you have an instance of the `ElasticsearchClient` accessible via a local variable named `client` and several using directives in your C# file. - -```csharp -using System; -using Elastic.Clients.Elasticsearch; -using Elastic.Clients.Elasticsearch.QueryDsl; -var client = new ElasticsearchClient(); <1> -``` - -1. The default constructor, assumes an unsecured {{es}} server is running and exposed on *http://localhost:9200*. See [connecting](/reference/connecting.md) for examples of connecting to secured servers and [Elastic Cloud](https://www.elastic.co/cloud) deployments. - - -The examples operate on data representing tweets. Tweets are modelled in the client application using a C# class named *Tweet* containing several properties that map to the document structure being stored in {{es}}. - -```csharp -public class Tweet -{ - public int Id { get; set; } <1> - public string User { get; set; } - public DateTime PostDate { get; set; } - public string Message { get; set; } -} -``` - -1. By default, the .NET client will try to find a property called `Id` on the class. When such a property is present it will index the document into {{es}} using the ID specified by the value of this property. - - - -## Indexing a document [indexing-net] - -Documents can be indexed by creating an instance representing a tweet and indexing it via the client. In these examples, we will work with an index named *my-tweet-index*. - -```csharp -var tweet = new Tweet <1> -{ - Id = 1, - User = "stevejgordon", - PostDate = new DateTime(2009, 11, 15), - Message = "Trying out the client, so far so good?" -}; - -var response = await client.IndexAsync(tweet, "my-tweet-index"); <2> - -if (response.IsValidResponse) <3> -{ - Console.WriteLine($"Index document with ID {response.Id} succeeded."); <4> -} -``` - -1. Create an instance of the `Tweet` class with relevant properties set. -2. Prefer the async APIs, which require awaiting the response. -3. Check the `IsValid` property on the response to confirm that the request and operation succeeded. -4. Access the `IndexResponse` properties, such as the ID, if necessary. - - - -## Getting a document [getting-net] - -```csharp -var response = await client.GetAsync(1, idx => idx.Index("my-tweet-index")); <1> - -if (response.IsValidResponse) -{ - var tweet = response.Source; <2> -} -``` - -1. The `GetResponse` is mapped 1-to-1 with the Elasticsearch JSON response. -2. The original document is deserialized as an instance of the Tweet class, accessible on the response via the `Source` property. - - - -## Searching for documents [searching-net] - -The client exposes a fluent interface and a powerful query DSL for searching. - -```csharp -var response = await client.SearchAsync(s => s <1> - .Index("my-tweet-index") <2> - .From(0) - .Size(10) - .Query(q => q - .Term(t => t.User, "stevejgordon") <3> - ) -); - -if (response.IsValidResponse) -{ - var tweet = response.Documents.FirstOrDefault(); <4> -} -``` - -1. The generic type argument specifies the `Tweet` class, which is used when deserialising the hits from the response. -2. The index can be omitted if a `DefaultIndex` has been configured on `ElasticsearchClientSettings`, or a specific index was configured when mapping this type. -3. Execute a term query against the `user` field, searching for tweets authored by the user *stevejgordon*. -4. Documents matched by the query are accessible via the `Documents` collection property on the `SearchResponse`. - - -You may prefer using the object initializer syntax for requests if lambdas aren’t your thing. - -```csharp -var request = new SearchRequest("my-tweet-index") <1> -{ - From = 0, - Size = 10, - Query = new TermQuery("user") { Value = "stevejgordon" } -}; - -var response = await client.SearchAsync(request); <2> - -if (response.IsValidResponse) -{ - var tweet = response.Documents.FirstOrDefault(); -} -``` - -1. Create an instance of `SearchRequest`, setting properties to control the search operation. -2. Pass the request to the `SearchAsync` method on the client. - - - -## Updating documents [updating-net] - -Documents can be updated in several ways, including by providing a complete replacement for an existing document ID. - -```csharp -tweet.Message = "This is a new message"; <1> - -var response = await client.UpdateAsync("my-tweet-index", 1, u => u - .Doc(tweet)); <2> - -if (response.IsValidResponse) -{ - Console.WriteLine("Update document succeeded."); -} -``` - -1. Update a property on the existing tweet instance. -2. Send the updated tweet object in the update request. - - - -## Deleting documents [deleting-net] - -Documents can be deleted by providing the ID of the document to remove. - -```csharp -var response = await client.DeleteAsync("my-tweet-index", 1); - -if (response.IsValidResponse) -{ - Console.WriteLine("Delete document succeeded."); -} -``` - diff --git a/docs/reference/getting-started.md b/docs/reference/getting-started.md deleted file mode 100644 index 39f6b5f0484..00000000000 --- a/docs/reference/getting-started.md +++ /dev/null @@ -1,140 +0,0 @@ ---- -mapped_pages: - - https://www.elastic.co/guide/en/elasticsearch/client/net-api/current/getting-started-net.html - - https://www.elastic.co/guide/en/serverless/current/elasticsearch-dot-net-client-getting-started.html ---- - -# Getting started [getting-started-net] - -This page guides you through the installation process of the .NET client, shows you how to instantiate the client, and how to perform basic Elasticsearch operations with it. - - -### Requirements [_requirements] - -* .NET Core, .NET 5+ or .NET Framework (4.6.1 and higher). - - -### Installation [_installation] - -To install the latest version of the client for SDK style projects, run the following command: - -```shell -dotnet add package Elastic.Clients.Elasticsearch -``` - -Refer to the [*Installation*](/reference/installation.md) page to learn more. - - -### Connecting [_connecting] - -You can connect to the Elastic Cloud using an API key and the Elasticsearch endpoint. - -```csharp -var client = new ElasticsearchClient("", new ApiKey("")); -``` - -Your Elasticsearch endpoint can be found on the **My deployment** page of your deployment: - -![Finding Elasticsearch endpoint](images/es-endpoint.jpg) - -You can generate an API key on the **Management** page under Security. - -![Create API key](images/create-api-key.png) - -For other connection options, refer to the [*Connecting*](/reference/connecting.md) section. - - -### Operations [_operations] - -Time to use Elasticsearch! This section walks you through the basic, and most important, operations of Elasticsearch. For more operations and more advanced examples, refer to the [*CRUD usage examples*](/reference/examples.md) page. - - -#### Creating an index [_creating_an_index] - -This is how you create the `my_index` index: - -```csharp -var response = await client.Indices.CreateAsync("my_index"); -``` - - -#### Indexing documents [_indexing_documents] - -This is a simple way of indexing a document: - -```csharp -var doc = new MyDoc -{ - Id = 1, - User = "flobernd", - Message = "Trying out the client, so far so good?" -}; - -var response = await client.IndexAsync(doc, "my_index"); -``` - - -#### Getting documents [_getting_documents] - -You can get documents by using the following code: - -```csharp -var response = await client.GetAsync(id, idx => idx.Index("my_index")); - -if (response.IsValidResponse) -{ - var doc = response.Source; -} -``` - - -#### Searching documents [_searching_documents] - -This is how you can create a single match query with the .NET client: - -```csharp -var response = await client.SearchAsync(s => s - .Index("my_index") - .From(0) - .Size(10) - .Query(q => q - .Term(t => t.User, "flobernd") - ) -); - -if (response.IsValidResponse) -{ - var doc = response.Documents.FirstOrDefault(); -} -``` - - -#### Updating documents [_updating_documents] - -This is how you can update a document, for example to add a new field: - -```csharp -doc.Message = "This is a new message"; - -var response = await client.UpdateAsync("my_index", 1, u => u - .Doc(doc)); -``` - - -#### Deleting documents [_deleting_documents] - -```csharp -var response = await client.DeleteAsync("my_index", 1); -``` - - -#### Deleting an index [_deleting_an_index] - -```csharp -var response = await client.Indices.DeleteAsync("my_index"); -``` - - -## Further reading [_further_reading] - -* Refer to the [*Usage recommendations*](/reference/recommendations.md) page to learn more about how to use the client the most efficiently. diff --git a/docs/reference/index.md b/docs/reference/index.md deleted file mode 100644 index 90ef20d616f..00000000000 --- a/docs/reference/index.md +++ /dev/null @@ -1,44 +0,0 @@ ---- -mapped_pages: - - https://www.elastic.co/guide/en/elasticsearch/client/net-api/current/index.html - - https://www.elastic.co/guide/en/elasticsearch/client/net-api/current/introduction.html ---- - -# .NET [introduction] - -**Rapidly develop applications with the .NET client for {{es}}.** - -Designed for .NET application developers, the .NET language client library provides a strongly typed API and query DSL for interacting with {{es}}. The .NET client includes higher-level abstractions, such as helpers for coordinating bulk indexing and update operations. It also comes with built-in, configurable cluster failover retry mechanisms. - -The {{es}} .NET client is available as a [NuGet](https://www.nuget.org/packages/Elastic.Clients.Elasticsearch) package for use with .NET Core, .NET 5+, and .NET Framework (4.6.1 and later) applications. - -*NOTE: This documentation covers the v8 .NET client for {{es}}, for use with {{es}} 8.x versions. To develop applications targeting {{es}} v7, use the [v7 (NEST) client](https://www.elastic.co/guide/en/elasticsearch/client/net-api/7.17).* - - -## Features [features] - -* One-to-one mapping with the REST API. -* Strongly typed requests and responses for {{es}} APIs. -* Fluent API for building requests. -* Query DSL to assist with constructing search queries. -* Helpers for common tasks such as bulk indexing of documents. -* Pluggable serialization of requests and responses based on `System.Text.Json`. -* Diagnostics, auditing, and .NET activity integration. - -The .NET {{es}} client is built on the Elastic Transport library, which provides: - -* Connection management and load balancing across all available nodes. -* Request retries and dead connections handling. - - -## {{es}} version compatibility [_es_version_compatibility] - -Language clients are forward compatible: clients support communicating with current and later minor versions of {{es}}. {{es}} language clients are backward compatible with default distributions only and without guarantees. - - -## Questions, bugs, comments, feature requests [_questions_bugs_comments_feature_requests] - -To submit a bug report or feature request, use [GitHub issues](https://github.com/elastic/elasticsearch-net/issues). - -For more general questions and comments, try the community forum on [discuss.elastic.co](https://discuss.elastic.co/c/elasticsearch). Mention `.NET` in the title to indicate the discussion topic. - diff --git a/docs/reference/installation.md b/docs/reference/installation.md deleted file mode 100644 index 8fbb2dcd2e9..00000000000 --- a/docs/reference/installation.md +++ /dev/null @@ -1,67 +0,0 @@ ---- -mapped_pages: - - https://www.elastic.co/guide/en/elasticsearch/client/net-api/current/installation.html ---- - -# Installation [installation] - -This page shows you how to install the .NET client for {{es}}. - -::::{important} -The v8 client for .NET does not have complete feature parity with the v7 `NEST` client. It may not be suitable for for all applications until additional endpoints and features are supported. We therefore recommend you thoroughly review our [release notes](/release-notes/index.md) before attempting to migrate existing applications to the `Elastic.Clients.Elasticsearch` library. Until the new client supports all endpoints and features your application requires, you may continue to use the 7.17.x [NEST](https://www.nuget.org/packages/NEST) client to communicate with v8 Elasticsearch servers using compatibility mode. Refer to the [Connecting to Elasticsearch v8.x using the v7.17.x client documentation](https://www.elastic.co/guide/en/elasticsearch/client/net-api/7.17/connecting-to-elasticsearch-v8.html) for guidance on configuring the 7.17.x client. -:::: - - - -## Installing the .NET client [dot-net-client] - -For SDK style projects, you can install the {{es}} client by running the following .NET CLI command in your terminal: - -```text -dotnet add package Elastic.Clients.Elasticsearch -``` - -This command adds a package reference to your project (csproj) file for the latest stable version of the client. - -If you prefer, you may also manually add a package reference inside your project file: - -```shell - -``` - -*NOTE: The version number should reflect the latest published version from [NuGet.org](https://www.nuget.org/packages/Elastic.Clients.Elasticsearch). To install a different version, modify the version as necessary.* - -For Visual Studio users, the .NET client can also be installed from the Package Manager Console inside Visual Studio using the following command: - -```shell -Install-Package Elastic.Clients.Elasticsearch -``` - -Alternatively, search for `Elastic.Clients.Elasticsearch` in the NuGet Package Manager UI. - -To learn how to connect the {{es}} client, refer to the [Connecting](/reference/connecting.md) section. - - -## Compatibility [compatibility] - -The {{es}} client is compatible with currently maintained .NET runtime versions. Compatibility with End of Life (EOL) .NET runtimes is not guaranteed or supported. - -Language clients are forward compatible; meaning that the clients support communicating with greater or equal minor versions of {{es}} without breaking. It does not mean that the clients automatically support new features of newer {{es}} versions; it is only possible after a release of a new client version. For example, a 8.12 client version won’t automatically support the new features of the 8.13 version of {{es}}, the 8.13 client version is required for that. {{es}} language clients are only backwards compatible with default distributions and without guarantees made. - -| Elasticsearch Version | Elasticsearch-NET Branch | Supported | -| --- | --- | --- | -| main | main | | -| 8.x | 8.x | 8.x | -| 7.x | 7.x | 7.17 | - -Refer to the [end-of-life policy](https://www.elastic.co/support/eol) for more information. - - -## CI feed [ci-feed] - -We publish CI builds of our client packages, including the latest unreleased features. If you want to experiment with the latest bits, you can add the CI feed to your list of NuGet package sources. - -Feed URL: [https://f.feedz.io/elastic/all/nuget/index.json](https://f.feedz.io/elastic/all/nuget/index.json) - -We do not recommend using CI builds for production applications as they are not formally supported until they are released. - diff --git a/docs/reference/mappings.md b/docs/reference/mappings.md deleted file mode 100644 index b28b8ba4a5e..00000000000 --- a/docs/reference/mappings.md +++ /dev/null @@ -1,37 +0,0 @@ ---- -mapped_pages: - - https://www.elastic.co/guide/en/elasticsearch/client/net-api/current/mappings.html ---- - -# Custom mapping examples [mappings] - -This page demonstrates how to configure custom mappings on an index. - - -## Configure mappings during index creation [_configure_mappings_during_index_creation] - -```csharp -await client.Indices.CreateAsync(index => index - .Index("index") - .Mappings(mappings => mappings - .Properties(properties => properties - .IntegerNumber(x => x.Age!) - .Keyword(x => x.FirstName!, keyword => keyword.Index(false)) - ) - ) -); -``` - - -## Configure mappings after index creation [_configure_mappings_after_index_creation] - -```csharp -await client.Indices.PutMappingAsync(mappings => mappings - .Indices("index") - .Properties(properties => properties - .IntegerNumber(x => x.Age!) - .Keyword(x => x.FirstName!, keyword => keyword.Index(false)) - ) -); -``` - diff --git a/docs/reference/migration-guide.md b/docs/reference/migration-guide.md deleted file mode 100644 index 43a4bcec67d..00000000000 --- a/docs/reference/migration-guide.md +++ /dev/null @@ -1,222 +0,0 @@ ---- -mapped_pages: - - https://www.elastic.co/guide/en/elasticsearch/client/net-api/current/migration-guide.html ---- - -# Migration guide: From NEST v7 to .NET Client v8 [migration-guide] - -The following migration guide explains the current state of the client, missing features, breaking changes and our rationale for some of the design choices we have introduced. - - -## Version 8 is a refresh [_version_8_is_a_refresh] - -::::{important} -It is important to highlight that v8 of the Elasticsearch .NET Client represents a new start for the client design. It is important to review how this may affect your code and usage. - -:::: - - -Mature code becomes increasingly hard to maintain over time. Major releases allow us to simplify and better align our language clients with each other in terms of design. It is crucial to find the right balance between uniformity across programming languages and the idiomatic concerns of each language. For .NET, we typically compare and contrast with [Java](https://github.com/elastic/elasticsearch-java) and [Go](https://github.com/elastic/go-elasticsearch) to make sure that our approach is equivalent for each of these. We also take heavy inspiration from Microsoft framework design guidelines and the conventions of the wider .NET community. - - -### New Elastic.Clients.Elasticsearch NuGet package [_new_elastic_clients_elasticsearch_nuget_package] - -We have shipped the new code-generated client as a [NuGet package](https://www.nuget.org/packages/Elastic.Clients.Elasticsearch/) with a new root namespace, `Elastic.Clients.Elasticsearch`. The v8 client is built upon the foundations of the v7 `NEST` client, but there are changes. By shipping as a new package, the expectation is that migration can be managed with a phased approach. - -While this is a new package, we have aligned the major version (v8.x.x) with the supported {{es}} server version to clearly indicate the client/server compatibility. The v8 client is designed to work with version 8 of {{es}}. - -The v7 `NEST` client continues to be supported but will not gain new features or support for new {{es}} endpoints. It should be considered deprecated in favour of the new client. - - -### Limited feature set [_limited_feature_set] - -::::{warning} -The version 8 Elasticsearch .NET Client does not have feature parity with the previous v7 `NEST` high-level client. - -:::: - - -If a feature you depend on is missing (and not explicitly documented below as a feature that we do not plan to reintroduce), open [an issue](https://github.com/elastic/elasticsearch-net/issues/new/choose) or comment on a relevant existing issue to highlight your need to us. This will help us prioritise our roadmap. - - -## Code generation [_code_generation] - -Given the size of the {{es}} API surface today, it is no longer practical to maintain thousands of types (requests, responses, queries, aggregations, etc.) by hand. To ensure consistent, accurate, and timely alignment between language clients and {{es}}, the 8.x clients, and many of the associated types are now automatically code-generated from a [shared specification](https://github.com/elastic/elasticsearch-specification). This is a common solution to maintaining alignment between client and server among SDKs and libraries, such as those for Azure, AWS and the Google Cloud Platform. - -Code-generation from a specification has inevitably led to some differences between the existing v7 `NEST` types and those available in the new v7 Elasticsearch .NET Client. For version 8, we generate strictly from the specification, special casing a few areas to improve usability or to align with language idioms. - -The base type hierarchy for concepts such as `Properties`, `Aggregations` and `Queries` is no longer present in generated code, as these arbitrary groupings do not align with concrete concepts of the public server API. These considerations do not preclude adding syntactic sugar and usability enhancements to types in future releases on a case-by-case basis. - - -## Elastic.Transport [_elastic_transport] - -The .NET client includes a transport layer responsible for abstracting HTTP concepts and to provide functionality such as our request pipeline. This supports round-robin load-balancing of requests to nodes, pinging failed nodes and sniffing the cluster for node roles. - -In v7, this layer shipped as `Elasticsearch.Net` and was considered our low-level client which could be used to send and receive raw JSON bytes between the client and server. - -As part of the work for 8.0.0, we have moved the transport layer out into a [new dedicated package](https://www.nuget.org/packages/Elastic.Transport) and [repository](https://github.com/elastic/elastic-transport-net), named `Elastic.Transport`. This supports reuse across future clients and allows consumers with extremely high-performance requirements to build upon this foundation. - - -## System.Text.Json for serialization [_system_text_json_for_serialization] - -The v7 `NEST` high-level client used an internalized and modified version of [Utf8Json](https://github.com/neuecc/Utf8Json) for request and response serialization. This was introduced for its performance improvements over [Json.NET](https://www.newtonsoft.com/json), the more common JSON framework at the time. - -While Utf8Json provides good value, we have identified minor bugs and performance issues that have required maintenance over time. Some of these are hard to change without more significant effort. This library is no longer maintained, and any such changes cannot easily be contributed back to the original project. - -With .NET Core 3.0, Microsoft shipped new [System.Text.Json APIs](https://devblogs.microsoft.com/dotnet/try-the-new-system-text-json-apis) that are included in-the-box with current versions of .NET. We have adopted `System.Text.Json` for all serialization. Consumers can still define and register their own `Serializer` implementation for their document types should they prefer to use a different serialization library. - -By adopting `System.Text.Json`, we now depend on a well-maintained and supported library from Microsoft. `System.Text.Json` is designed from the ground up to support the latest performance optimizations in .NET and, as a result, provides both fast and low-allocation serialization. - - -## Mockability of ElasticsearchClient [_mockability_of_elasticsearchclient] - -Testing code is an important part of software development. We recommend that consumers prefer introducing an abstraction for their use of the Elasticsearch .NET Client as the prefered way to decouple consuming code from client types and support unit testing. - -To support user testing scenarios, we have unsealed the `ElasticsearchClient` type and made its methods virtual. This supports mocking the type directly for unit testing. This is an improvement over the original `IElasticClient` interface from `NEST` (v7) which only supported mocking of top-level client methods. - -We have also introduced a `TestableResponseFactory` in `Elastic.Transport` to make it easier to create response instances with specific status codes and validity that can be used during unit testing. - -These changes are in addition to our existing support for testing with an `InMemoryConnection`, virtualized clusters and with our [`Elastic.Elasticsearch.Managed`](https://github.com/elastic/elasticsearch-net-abstractions/blob/master/src/Elastic.Elasticsearch.Managed) library for integration testing against real {{es}} instances. - - -## Migrating to Elastic.Clients.Elasticsearch [_migrating_to_elastic_clients_elasticsearch] - -::::{warning} -The version 8 client does not currently have full-feature parity with `NEST`. The client primary use case is for application developers communicating with {{es}}. - -:::: - - -The version 8 client focuses on core endpoints, more specifically for common CRUD scenarios. The intention is to reduce the feature gap in subsequent versions. Review this documentation carefully to learn about the missing features and reduced API surface details before migrating from the v7 `NEST` client! - -The choice to code-generate a new evolution of the Elasticsearch .NET Client introduces some significant breaking changes. - -The v8 client is shipped as a new [NuGet package](https://www.nuget.org/packages/Elastic.Clients.Elasticsearch/) which can be installed alongside v7 `NEST`. Some consumers may prefer a phased migration with both packages side-by-side for a short period of time to manage complex migrations. In addition, `NEST` 7.17.x can continue to be used in [compatibility mode](https://www.elastic.co/guide/en/elasticsearch/client/net-api/7.17/connecting-to-elasticsearch-v8.html) with {{es}} 8.x servers until the v8 Elasticsearch .NET Client features align with application requirements. - - -## Breaking Changes [_breaking_changes] - -::::{warning} -As a result of code-generating a majority of the client types, version 8 of the client includes multiple breaking changes. - -:::: - - -We have strived to keep the core foundation reasonably similar, but types emitted through code-generation are subject to change between `NEST` (v7) and the new `Elastic.Clients.Elasticsearch` (v8) package. - - -### Namespaces [_namespaces] - -The package and top-level namespace for the v8 client have been renamed to `Elastic.Clients.Elasticsearch`. All types belong to this namespace. When necessary, to avoid potential conflicts, types are generated into suitable sub-namespaces based on the [{{es}} specification](https://github.com/elastic/elasticsearch-specification). Additional `using` directives may be required to access such types when using the Elasticsearch .NET Client. - -Transport layer concepts have moved to the new `Elastic.Transport` NuGet package and related types are defined under its namespace. Some configuration and low-level transport functionality may require a `using` directive for the `Elastic.Transport` namespace. - - -### Type names [_type_names] - -Type names may have changed from previous versions. These are not listed explicitly due to the potentially vast number of subtle differences. Type names will now more closely align to those used in the JSON and as documented in the {{es}} documentation. - - -### Class members [_class_members] - -Types may include renamed properties based on the {{es}} specification, which differ from the original `NEST` property names. The types used for properties may also have changed due to code-generation. If you identify missing or incorrectly-typed properties, please open [an issue](https://github.com/elastic/elasticsearch-net/issues/new/choose) to alert us. - - -### Sealing classes [_sealing_classes] - -Opinions on "sealing by default" within the .NET ecosystem tend to be quite polarized. Microsoft seal all internal types for potential performance gains and we see a benefit in starting with that approach for the Elasticsearch .NET Client, even for our public API surface. - -While it prevents inheritance and, therefore, may inhibit a few consumer scenarios, sealing by default is intended to avoid the unexpected or invalid extension of types that could inadvertently be broken in the future. - - -### Removed features [_removed_features] - -As part of the clean-slate redesign of the new client, certain features are removed from the v8.0 client. These are listed below: - - -#### Attribute mappings [_attribute_mappings] - -In previous versions of the `NEST` client, attributes could be used to configure the mapping behaviour and inference for user types. It is recommended that mapping be completed via the fluent API when configuring client instances. `System.Text.Json` attributes may be used to rename and ignore properties during source serialization. - - -#### CAT APIs [_cat_apis] - -The [CAT APIs](https://www.elastic.co/docs/api/doc/elasticsearch/group/endpoint-cat) of {{es}} are intended for human-readable usage and will no longer be supported via the v8 Elasticsearch .NET Client. - - -#### Interface removal [_interface_removal] - -Several interfaces are removed to simplify the library and avoid interfaces where only a single implementation of that interface is expected to exist, such as `IElasticClient` in `NEST`. Abstract base classes are preferred over interfaces across the library, as this makes it easier to add enhancements without introducing breaking changes for derived types. - - -### Missing features [_missing_features] - -The following are some of the main features which have not been re-implemented for the v8 client. These might be reviewed and prioritized for inclusion in future releases. - -* Query DSL operators for combining queries. -* Scroll Helper. -* Fluent API for union types. -* `AutoMap` for field datatype inference. -* Visitor pattern support for types such as `Properties`. -* Support for `JoinField` which affects `ChildrenAggregation`. -* Conditionless queries. -* DiagnosticSources have been removed in `Elastic.Transport` to provide a clean-slate for an improved diagnostics story. The Elasticsearch .NET Client emits [OpenTelemetry](https://opentelemetry.io/) compatible `Activity` spans which can be consumed by APM agents such as the [Elastic APM Agent for .NET](apm-agent-dotnet://reference/index.md). -* Documentation is a work in progress, and we will expand on the documented scenarios in future releases. - - -## Reduced API surface [_reduced_api_surface] - -In the current versions of the code-generated .NET client, supporting commonly used endpoints is critical. Some specific queries and aggregations need further work to generate code correctly, hence they are not included yet. Ensure that the features you are using are currently supported before migrating. - -An up to date list of all supported and unsupported endpoints can be found on [GitHub](https://github.com/elastic/elasticsearch-net/issues/7890). - - -## Workarounds for missing features [_workarounds_for_missing_features] - -If you encounter a missing feature with the v8 client, there are several ways to temporarily work around this issue until we officially reintroduce the feature. - -`NEST` 7.17.x can continue to be used in [compatibility mode](https://www.elastic.co/guide/en/elasticsearch/client/net-api/7.17/connecting-to-elasticsearch-v8.html) with {{es}} 8.x servers until the v8 Elasticsearch .NET Client features align with application requirements. - -As a last resort, the low-level client `Elastic.Transport` can be used to create any desired request by hand: - -```csharp -public class MyRequestParameters : RequestParameters -{ - public bool Pretty - { - get => Q("pretty"); - init => Q("pretty", value); - } -} - -// ... - -var body = """ - { - "name": "my-api-key", - "expiration": "1d", - "...": "..." - } - """; - -MyRequestParameters requestParameters = new() -{ - Pretty = true -}; - -var pathAndQuery = requestParameters.CreatePathWithQueryStrings("/_security/api_key", - client.ElasticsearchClientSettings); -var endpointPath = new EndpointPath(Elastic.Transport.HttpMethod.POST, pathAndQuery); - -// Or, if the path does not contain query parameters: -// new EndpointPath(Elastic.Transport.HttpMethod.POST, "my_path") - -var response = await client.Transport - .RequestAsync( - endpointPath, - PostData.String(body), - null, - null, - cancellationToken: default) - .ConfigureAwait(false); -``` diff --git a/docs/reference/query.md b/docs/reference/query.md deleted file mode 100644 index 11f0e1d1452..00000000000 --- a/docs/reference/query.md +++ /dev/null @@ -1,51 +0,0 @@ ---- -mapped_pages: - - https://www.elastic.co/guide/en/elasticsearch/client/net-api/current/query.html ---- - -# Query examples [query] - -This page demonstrates how to perform a search request. - - -## Fluent API [_fluent_api_3] - -```csharp -var response = await client - .SearchAsync(search => search - .Index("persons") - .Query(query => query - .Term(term => term - .Field(x => x.FirstName) - .Value("Florian") - ) - ) - .Size(10) - ); -``` - - -## Object initializer API [_object_initializer_api_3] - -```csharp -var response = await client - .SearchAsync(new SearchRequest("persons") - { - Query = Query.Term(new TermQuery(Infer.Field(x => x.FirstName)) - { - Value = "Florian" - }), - Size = 10 - }); -``` - - -## Consume the response [_consume_the_response_3] - -```csharp -foreach (var person in response.Documents) -{ - Console.WriteLine(person.FirstName); -} -``` - diff --git a/docs/reference/recommendations.md b/docs/reference/recommendations.md deleted file mode 100644 index 91a26544621..00000000000 --- a/docs/reference/recommendations.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -mapped_pages: - - https://www.elastic.co/guide/en/elasticsearch/client/net-api/current/recommendations.html ---- - -# Usage recommendations [recommendations] - -To achieve the most efficient use of the Elasticsearch .NET Client, we recommend following the guidance defined in this article. - - -## Reuse the same client instance [_reuse_the_same_client_instance] - -When working with the Elasticsearch .NET Client we recommend that consumers reuse a single instance of `ElasticsearchClient` for the entire lifetime of the application. When reusing the same instance: - -* initialization overhead is limited to the first usage. -* resources such as TCP connections can be pooled and reused to improve efficiency. -* serialization overhead is reduced, improving performance. - -The `ElasticsearchClient` type is thread-safe and can be shared and reused across multiple threads in consuming applications. Client reuse can be achieved by creating a singleton static instance or by registering the type with a singleton lifetime when using dependency injection containers. - - -## Prefer asynchronous methods [_prefer_asynchronous_methods] - -The Elasticsearch .NET Client exposes synchronous and asynchronous methods on the `ElasticsearchClient`. We recommend always preferring the asynchronous methods, which have the `Async` suffix. Using the Elasticsearch .NET Client requires sending HTTP requests to {{es}} servers. Access to {{es}} is sometimes slow or delayed, and some complex queries may take several seconds to return. If such operations are blocked by calling the synchronous methods, the thread must wait until the HTTP request is complete. In high-load scenarios, this can cause significant thread usage, potentially affecting the throughput and performance of consuming applications. By preferring the asynchronous methods, application threads can continue with other work that doesn’t depend on the web resource until the potentially blocking task completes. - diff --git a/docs/reference/serialization.md b/docs/reference/serialization.md deleted file mode 100644 index 70b9bef8866..00000000000 --- a/docs/reference/serialization.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -mapped_pages: - - https://www.elastic.co/guide/en/elasticsearch/client/net-api/current/serialization.html ---- - -# Serialization [serialization] - -By default, the .NET client for {{es}} uses the Microsoft System.Text.Json library for serialization. The client understands how to serialize and deserialize the request and response types correctly. It also handles (de)serialization of user POCO types representing documents read or written to {{es}}. - -The client has two distinct serialization responsibilities - serialization of the types owned by the `Elastic.Clients.Elasticsearch` library and serialization of source documents, modeled in application code. The first responsibility is entirely internal; the second is configurable. - - diff --git a/docs/reference/source-serialization.md b/docs/reference/source-serialization.md deleted file mode 100644 index e6b110b039f..00000000000 --- a/docs/reference/source-serialization.md +++ /dev/null @@ -1,524 +0,0 @@ ---- -mapped_pages: - - https://www.elastic.co/guide/en/elasticsearch/client/net-api/current/source-serialization.html ---- - -# Source serialization [source-serialization] - -Source serialization refers to the process of (de)serializing POCO types in consumer applications as source documents indexed and retrieved from {{es}}. A source serializer implementation handles serialization, with the default implementation using the `System.Text.Json` library. As a result, you may use `System.Text.Json` attributes and converters to control the serialization behavior. - -* [Modelling documents with types](#modeling-documents-with-types) -* [Customizing source serialization](#customizing-source-serialization) - -## Modeling documents with types [modeling-documents-with-types] - -{{es}} provides search and aggregation capabilities on the documents that it is sent and indexes. These documents are sent as JSON objects within the request body of a HTTP request. It is natural to model documents within the {{es}} .NET client using [POCOs (*Plain Old CLR Objects*)](https://en.wikipedia.org/wiki/Plain_Old_CLR_Object). - -This section provides an overview of how types and type hierarchies can be used to model documents. - -### Default behaviour [default-behaviour] - -The default behaviour is to serialize type property names as camelcase JSON object members. - -We can model documents using a regular class (POCO). - -```csharp -public class MyDocument -{ - public string StringProperty { get; set; } -} -``` - -We can then index the an instance of the document into {{es}}. - -```csharp -using System.Threading.Tasks; -using Elastic.Clients.Elasticsearch; - -var document = new MyDocument -{ - StringProperty = "value" -}; - -var indexResponse = await Client - .IndexAsync(document, "my-index-name"); -``` - -The index request is serialized, with the source serializer handling the `MyDocument` type, serializing the POCO property named `StringProperty` to the JSON object member named `stringProperty`. - -```javascript -{ - "stringProperty": "value" -} -``` - - - -## Customizing source serialization [customizing-source-serialization] - -The built-in source serializer handles most POCO document models correctly. Sometimes, you may need further control over how your types are serialized. - -::::{note} -The built-in source serializer uses the [Microsoft `System.Text.Json` library](https://learn.microsoft.com/en-us/dotnet/standard/serialization/system-text-json/overview) internally. You can apply `System.Text.Json` attributes and converters to control the serialization of your document types. -:::: - - - -#### Using `System.Text.Json` attributes [system-text-json-attributes] - -`System.Text.Json` includes attributes that can be applied to types and properties to control their serialization. These can be applied to your POCO document types to perform actions such as controlling the name of a property or ignoring a property entirely. Visit the [Microsoft documentation for further examples](https://learn.microsoft.com/en-us/dotnet/standard/serialization/system-text-json/overview). - -We can model a document to represent data about a person using a regular class (POCO), applying `System.Text.Json` attributes as necessary. - -```csharp -using System.Text.Json.Serialization; - -public class Person -{ - [JsonPropertyName("forename")] <1> - public string FirstName { get; set; } - - [JsonIgnore] <2> - public int Age { get; set; } -} -``` - -1. The `JsonPropertyName` attribute ensures the `FirstName` property uses the JSON name `forename` when serialized. -2. The `JsonIgnore` attribute prevents the `Age` property from appearing in the serialized JSON. - - -We can then index an instance of the document into {{es}}. - -```csharp -using System; -using System.Text.Json; -using System.Text.Json.Serialization; -using System.Threading.Tasks; -using Elastic.Transport; -using Elastic.Clients.Elasticsearch; -using Elastic.Clients.Elasticsearch.Serialization; - -var person = new Person { FirstName = "Steve", Age = 35 }; -var indexResponse = await Client.IndexAsync(person, "my-index-name"); -``` - -The index request is serialized, with the source serializer handling the `Person` type, serializing the POCO property named `FirstName` to the JSON object member named `forename`. The `Age` property is ignored and does not appear in the JSON. - -```javascript -{ - "forename": "Steve" -} -``` - - -#### Configuring custom `JsonSerializerOptions` [configuring-custom-jsonserializeroptions] - -The default source serializer applies a set of standard `JsonSerializerOptions` when serializing source document types. In some circumstances, you may need to override some of our defaults. This is achievable by creating an instance of `DefaultSourceSerializer` and passing an `Action`, which is applied after our defaults have been set. This mechanism allows you to apply additional settings or change the value of our defaults. - -The `DefaultSourceSerializer` includes a constructor that accepts the current `IElasticsearchClientSettings` and a `configureOptions` `Action`. - -```csharp -public DefaultSourceSerializer(IElasticsearchClientSettings settings, Action configureOptions); -``` - -Our application defines the following `Person` class, which models a document we will index to {{es}}. - -```csharp -public class Person -{ - public string FirstName { get; set; } -} -``` - -We want to serialize our source document using Pascal Casing for the JSON properties. Since the options applied in the `DefaultSouceSerializer` set the `PropertyNamingPolicy` to `JsonNamingPolicy.CamelCase`, we must override this setting. After configuring the `ElasticsearchClientSettings`, we index our document to {{es}}. - -```csharp -using System; -using System.Text.Json; -using System.Text.Json.Serialization; -using System.Threading.Tasks; -using Elastic.Transport; -using Elastic.Clients.Elasticsearch; -using Elastic.Clients.Elasticsearch.Serialization; - -static void ConfigureOptions(JsonSerializerOptions o) => <1> - o.PropertyNamingPolicy = null; - -var nodePool = new SingleNodePool(new Uri("http://localhost:9200")); -var settings = new ElasticsearchClientSettings( - nodePool, - sourceSerializer: (defaultSerializer, settings) => - new DefaultSourceSerializer(settings, ConfigureOptions)); <2> -var client = new ElasticsearchClient(settings); - -var person = new Person { FirstName = "Steve" }; -var indexResponse = await client.IndexAsync(person, "my-index-name"); -``` - -1. A local function can be defined, accepting a `JsonSerializerOptions` parameter. Here, we set `PropertyNamingPolicy` to `null`. This returns to the default behavior for `System.Text.Json`, which uses Pascal Case. -2. When creating the `ElasticsearchClientSettings`, we supply a `SourceSerializerFactory` using a lambda. The factory function creates a new instance of `DefaultSourceSerializer`, passing in the `settings` and our `ConfigureOptions` local function. We have now configured the settings with a custom instance of the source serializer. - - -The `Person` instance is serialized, with the source serializer serializing the POCO property named `FirstName` using Pascal Case. - -```javascript -{ - "FirstName": "Steve" -} -``` - -As an alternative to using a local function, we could store an `Action` into a variable instead, which can be passed to the `DefaultSouceSerializer` constructor. - -```csharp -Action configureOptions = o => o.PropertyNamingPolicy = null; -``` - - -#### Registering custom `System.Text.Json` converters [registering-custom-converters] - -In certain more advanced situations, you may have types which require further customization during serialization than is possible using `System.Text.Json` property attributes. In these cases, the recommendation from Microsoft is to leverage a custom `JsonConverter`. Source document types serialized using the `DefaultSourceSerializer` can leverage the power of custom converters. - -For this example, our application has a document class that should use a legacy JSON structure to continue operating with existing indexed documents. Several options are available, but we’ll apply a custom converter in this case. - -Our class is defined, and the `JsonConverter` attribute is applied to the class type, specifying the type of a custom converter. - -```csharp -using System.Text.Json.Serialization; - -[JsonConverter(typeof(CustomerConverter))] <1> -public class Customer -{ - public string CustomerName { get; set; } - public CustomerType CustomerType { get; set; } -} - -public enum CustomerType -{ - Standard, - Enhanced -} -``` - -1. The `JsonConverter` attribute signals to `System.Text.Json` that it should use a converter of type `CustomerConverter` when serializing instances of this class. - - -When serializing this class, rather than include a string value representing the value of the `CustomerType` property, we must send a boolean property named `isStandard`. This requirement can be achieved with a custom JsonConverter implementation. - -```csharp -using System; -using System.Text.Json; -using System.Text.Json.Serialization; - -public class CustomerConverter : JsonConverter -{ - public override Customer Read(ref Utf8JsonReader reader, - Type typeToConvert, JsonSerializerOptions options) - { - var customer = new Customer(); - - while (reader.Read() && reader.TokenType != JsonTokenType.EndObject) - { - if (reader.TokenType == JsonTokenType.PropertyName) - { - if (reader.ValueTextEquals("customerName")) - { - reader.Read(); - customer.CustomerName = reader.GetString(); - continue; - } - - if (reader.ValueTextEquals("isStandard")) <1> - { - reader.Read(); - var isStandard = reader.GetBoolean(); - - if (isStandard) - { - customer.CustomerType = CustomerType.Standard; - } - else - { - customer.CustomerType = CustomerType.Enhanced; - } - - continue; - } - } - } - - return customer; - } - - public override void Write(Utf8JsonWriter writer, - Customer value, JsonSerializerOptions options) - { - if (value is null) - { - writer.WriteNullValue(); - return; - } - - writer.WriteStartObject(); - - if (!string.IsNullOrEmpty(value.CustomerName)) - { - writer.WritePropertyName("customerName"); - writer.WriteStringValue(value.CustomerName); - } - - writer.WritePropertyName("isStandard"); - - if (value.CustomerType == CustomerType.Standard) <2> - { - writer.WriteBooleanValue(true); - } - else - { - writer.WriteBooleanValue(false); - } - - writer.WriteEndObject(); - } -} -``` - -1. When reading, this converter reads the `isStandard` boolean and translate this to the correct `CustomerType` enum value. -2. When writing, this converter translates the `CustomerType` enum value to an `isStandard` boolean property. - - -We can then index a customer document into {{es}}. - -```csharp -using System; -using System.Text.Json; -using System.Text.Json.Serialization; -using System.Threading.Tasks; -using Elastic.Transport; -using Elastic.Clients.Elasticsearch; -using Elastic.Clients.Elasticsearch.Serialization; - -var customer = new Customer -{ - CustomerName = "Customer Ltd", - CustomerType = CustomerType.Enhanced -}; -var indexResponse = await Client.IndexAsync(customer, "my-index-name"); -``` - -The `Customer` instance is serialized using the custom converter, creating the following JSON document. - -```javascript -{ - "customerName": "Customer Ltd", - "isStandard": false -} -``` - - -#### Creating a custom `SystemTextJsonSerializer` [creating-custom-system-text-json-serializer] - -The built-in `DefaultSourceSerializer` includes the registration of `JsonConverter` instances which apply during source serialization. In most cases, these provide the proper behavior for serializing source documents, including those which use `Elastic.Clients.Elasticsearch` types on their properties. - -An example of a situation where you may require more control over the converter registration order is for serializing `enum` types. The `DefaultSourceSerializer` registers the `System.Text.Json.Serialization.JsonStringEnumConverter`, so enum values are serialized using their string representation. Generally, this is the preferred option for types used to index documents to {{es}}. - -In some scenarios, you may need to control the string value sent for an enumeration value. That is not directly supported in `System.Text.Json` but can be achieved by creating a custom `JsonConverter` for the `enum` type you wish to customize. In this situation, it is not sufficient to use the `JsonConverterAttribute` on the `enum` type to register the converter. `System.Text.Json` will prefer the converters added to the `Converters` collection on the `JsonSerializerOptions` over an attribute applied to an `enum` type. It is, therefore, necessary to either remove the `JsonStringEnumConverter` from the `Converters` collection or register a specialized converter for your `enum` type before the `JsonStringEnumConverter`. - -The latter is possible via several techniques. When using the {{es}} .NET library, we can achieve this by deriving from the abstract `SystemTextJsonSerializer` class. - -Here we have a POCO which uses the `CustomerType` enum as the type for a property. - -```csharp -using System.Text.Json.Serialization; - -public class Customer -{ - public string CustomerName { get; set; } - public CustomerType CustomerType { get; set; } -} - -public enum CustomerType -{ - Standard, - Enhanced -} -``` - -To customize the strings used during serialization of the `CustomerType`, we define a custom `JsonConverter` specific to our `enum` type. - -```csharp -using System.Text.Json.Serialization; - -public class CustomerTypeConverter : JsonConverter -{ - public override CustomerType Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) - { - return reader.GetString() switch <1> - { - "basic" => CustomerType.Standard, - "premium" => CustomerType.Enhanced, - _ => throw new JsonException( - $"Unknown value read when deserializing {nameof(CustomerType)}."), - }; - } - - public override void Write(Utf8JsonWriter writer, CustomerType value, JsonSerializerOptions options) - { - switch (value) <2> - { - case CustomerType.Standard: - writer.WriteStringValue("basic"); - return; - case CustomerType.Enhanced: - writer.WriteStringValue("premium"); - return; - } - - writer.WriteNullValue(); - } -} -``` - -1. When reading, this converter translates the string used in the JSON to the matching enum value. -2. When writing, this converter translates the `CustomerType` enum value to a custom string value written to the JSON. - - -We create a serializer derived from `SystemTextJsonSerializer` to give us complete control of converter registration order. - -```csharp -using System.Text.Json; -using Elastic.Clients.Elasticsearch.Serialization; - -public class MyCustomSerializer : SystemTextJsonSerializer <1> -{ - private readonly JsonSerializerOptions _options; - - public MyCustomSerializer(IElasticsearchClientSettings settings) : base(settings) - { - var options = DefaultSourceSerializer.CreateDefaultJsonSerializerOptions(false); <2> - - options.Converters.Add(new CustomerTypeConverter()); <3> - - _options = DefaultSourceSerializer.AddDefaultConverters(options); <4> - } - - protected override JsonSerializerOptions CreateJsonSerializerOptions() => _options; <5> -} -``` - -1. Inherit from `SystemTextJsonSerializer`. -2. In the constructor, use the factory method `DefaultSourceSerializer.CreateDefaultJsonSerializerOptions` to create default options for serialization. No default converters are registered at this stage because we pass `false` as an argument. -3. Register our `CustomerTypeConverter` as the first converter. -4. To apply any default converters, call the `DefaultSourceSerializer.AddDefaultConverters` helper method, passing the options to modify. -5. Implement the `CreateJsonSerializerOptions` method returning the stored `JsonSerializerOptions`. - - -Because we have registered our `CustomerTypeConverter` before the default converters (which include the `JsonStringEnumConverter`), our converter takes precedence when serializing `CustomerType` instances on source documents. - -The base `SystemTextJsonSerializer` class handles the implementation details of binding, which is required to ensure that the built-in converters can access the `IElasticsearchClientSettings` where needed. - -We can then index a customer document into {{es}}. - -```csharp -using System; -using System.Text.Json; -using System.Text.Json.Serialization; -using System.Threading.Tasks; -using Elastic.Transport; -using Elastic.Clients.Elasticsearch; -using Elastic.Clients.Elasticsearch.Serialization; - -var customer = new Customer -{ - CustomerName = "Customer Ltd", - CustomerType = CustomerType.Enhanced -}; - -var indexResponse = await client.IndexAsync(customer, "my-index-name"); -``` - -The `Customer` instance is serialized using the custom `enum` converter, creating the following JSON document. - -```javascript -{ - "customerName": "Customer Ltd", - "customerType": "premium" <1> -} -``` - -1. The string value applied during serialization is provided by our custom converter. - - - -#### Creating a custom `Serializer` [creating-custom-serializers] - -Suppose you prefer using an alternative JSON serialization library for your source types. In that case, you can inject an isolated serializer only to be called for the serialization of `_source`, `_fields`, or wherever a user-provided value is expected to be written and returned. - -Implementing `Elastic.Transport.Serializer` is technically enough to create a custom source serializer. - -```csharp -using System; -using System.IO; -using System.Threading; -using System.Threading.Tasks; -using Elastic.Transport; - -public class VanillaSerializer : Serializer -{ - public override object Deserialize(Type type, Stream stream) => - throw new NotImplementedException(); - - public override T Deserialize(Stream stream) => - throw new NotImplementedException(); - - public override ValueTask DeserializeAsync(Type type, Stream stream, CancellationToken cancellationToken = default) => - throw new NotImplementedException(); - - public override ValueTask DeserializeAsync(Stream stream, CancellationToken cancellationToken = default) => - throw new NotImplementedException(); - - public override void Serialize(T data, Stream stream, SerializationFormatting formatting = SerializationFormatting.None) => - throw new NotImplementedException(); - - public override Task SerializeAsync(T data, Stream stream, - SerializationFormatting formatting = SerializationFormatting.None, CancellationToken cancellationToken = default) => - throw new NotImplementedException(); -} -``` - -Registering up the serializer is performed in the `ConnectionSettings` constructor. - -```csharp -using System; -using System.Text.Json; -using System.Text.Json.Serialization; -using System.Threading.Tasks; -using Elastic.Transport; -using Elastic.Clients.Elasticsearch; -using Elastic.Clients.Elasticsearch.Serialization; - -var nodePool = new SingleNodePool(new Uri("http://localhost:9200")); -var settings = new ElasticsearchClientSettings( - nodePool, - sourceSerializer: (defaultSerializer, settings) => - new VanillaSerializer()); <1> -var client = new ElasticsearchClient(settings); -``` - -1. If implementing `Serializer` is enough, why must we provide an instance wrapped in a factory `Func`? - - -There are various cases where you might have a POCO type that contains an `Elastic.Clients.Elasticsearch` type as one of its properties. The `SourceSerializerFactory` delegate provides access to the default built-in serializer so you can access it when necessary. For example, consider if you want to use percolation; you need to store {{es}} queries as part of the `_source` of your document, which means you need to have a POCO that looks like this. - -```csharp -using Elastic.Clients.Elasticsearch.QueryDsl; - -public class MyPercolationDocument -{ - public Query Query { get; set; } - public string Category { get; set; } -} -``` - -A custom serializer would not know how to serialize `Query` or other `Elastic.Clients.Elasticsearch` types that could appear as part of the `_source` of a document. Therefore, your custom `Serializer` would need to store a reference to our built-in serializer and delegate serialization of Elastic types back to it. - - diff --git a/docs/reference/toc.yml b/docs/reference/toc.yml deleted file mode 100644 index 828400800c0..00000000000 --- a/docs/reference/toc.yml +++ /dev/null @@ -1,34 +0,0 @@ -toc: - - file: index.md - - file: getting-started.md - - file: installation.md - - file: connecting.md - - file: configuration.md - children: - - file: _options_on_elasticsearchclientsettings.md - - file: client-concepts.md - children: - - file: serialization.md - children: - - file: source-serialization.md - - file: using-net-client.md - children: - - file: aggregations.md - - file: esql.md - - file: examples.md - - file: mappings.md - - file: query.md - - file: recommendations.md - - file: transport.md - - file: migration-guide.md - - file: troubleshoot/index.md - children: - - file: troubleshoot/logging.md - children: - - file: troubleshoot/logging-with-onrequestcompleted.md - - file: troubleshoot/logging-with-fiddler.md - - file: troubleshoot/debugging.md - children: - - file: troubleshoot/audit-trail.md - - file: troubleshoot/debug-information.md - - file: troubleshoot/debug-mode.md \ No newline at end of file diff --git a/docs/reference/troubleshoot/debug-information.md b/docs/reference/troubleshoot/debug-information.md deleted file mode 100644 index f682179a044..00000000000 --- a/docs/reference/troubleshoot/debug-information.md +++ /dev/null @@ -1,165 +0,0 @@ ---- -mapped_pages: - - https://www.elastic.co/guide/en/elasticsearch/client/net-api/current/debug-information.html ---- - -# Debug information [debug-information] - -Every response from Elasticsearch.Net and NEST contains a `DebugInformation` property that provides a human readable description of what happened during the request for both successful and failed requests - -```csharp -var response = client.Search(s => s - .Query(q => q - .MatchAll() - ) -); - -response.DebugInformation.Should().Contain("Valid NEST response"); -``` - -This can be useful in tracking down numerous problems and can also be useful when filing an [issue](https://github.com/elastic/elasticsearch-net/issues) on the GitHub repository. - -## Request and response bytes [_request_and_response_bytes] - -By default, the request and response bytes are not available within the debug information, but can be enabled globally on Connection Settings by setting `DisableDirectStreaming`. This disables direct streaming of - -1. the serialized request type to the request stream -2. the response stream to a deserialized response type - -```csharp -var connectionPool = new SingleNodeConnectionPool(new Uri("http://localhost:9200")); - -var settings = new ConnectionSettings(connectionPool) - .DisableDirectStreaming(); <1> - -var client = new ElasticClient(settings); -``` - -1. disable direct streaming for **all** requests - - -or on a *per request* basis - -```csharp -var response = client.Search(s => s - .RequestConfiguration(r => r - .DisableDirectStreaming() <1> - ) - .Query(q => q - .MatchAll() - ) -); -``` - -1. disable direct streaming for **this** request only - - -Configuring `DisableDirectStreaming` on an individual request takes precedence over any global configuration. - -There is typically a performance and allocation cost associated with disabling direct streaming since both the request and response bytes must be buffered in memory, to allow them to be exposed on the response call details. - - -## TCP statistics [_tcp_statistics] - -It can often be useful to see the statistics for active TCP connections, particularly when trying to diagnose issues with the client. The client can collect the states of active TCP connections just before making a request, and expose these on the response and in the debug information. - -Similarly to `DisableDirectStreaming`, TCP statistics can be collected for every request by configuring on `ConnectionSettings` - -```csharp -var connectionPool = new SingleNodeConnectionPool(new Uri("http://localhost:9200")); - -var settings = new ConnectionSettings(connectionPool) - .EnableTcpStats(); <1> - -var client = new ElasticClient(settings); -``` - -1. collect TCP statistics for **all** requests - - -or on a *per request* basis - -```csharp -var response = client.Search(s => s - .RequestConfiguration(r => r - .EnableTcpStats() <1> - ) - .Query(q => q - .MatchAll() - ) -); - -var debugInformation = response.DebugInformation; -``` - -1. collect TCP statistics for **this** request only - - -With `EnableTcpStats` set, the states of active TCP connections will now be included on the response and in the debug information. - -The client includes a `TcpStats` class to help with retrieving more detail about active TCP connections should it be required - -```csharp -var tcpStatistics = TcpStats.GetActiveTcpConnections(); <1> -var ipv4Stats = TcpStats.GetTcpStatistics(NetworkInterfaceComponent.IPv4); <2> -var ipv6Stats = TcpStats.GetTcpStatistics(NetworkInterfaceComponent.IPv6); <3> - -var response = client.Search(s => s - .Query(q => q - .MatchAll() - ) -); -``` - -1. Retrieve details about active TCP connections, including local and remote addresses and ports -2. Retrieve statistics about IPv4 -3. Retrieve statistics about IPv6 - - -::::{note} -Collecting TCP statistics may not be accessible in all environments, for example, Azure App Services. When this is the case, `TcpStats.GetActiveTcpConnections()` returns `null`. - -:::: - - - -## ThreadPool statistics [_threadpool_statistics] - -It can often be useful to see the statistics for thread pool threads, particularly when trying to diagnose issues with the client. The client can collect statistics for both worker threads and asynchronous I/O threads, and expose these on the response and in debug information. - -Similar to collecting TCP statistics, ThreadPool statistics can be collected for all requests by configuring `EnableThreadPoolStats` on `ConnectionSettings` - -```csharp -var connectionPool = new SingleNodeConnectionPool(new Uri("http://localhost:9200")); - -var settings = new ConnectionSettings(connectionPool) - .EnableThreadPoolStats(); <1> - -var client = new ElasticClient(settings); -``` - -1. collect thread pool statistics for **all** requests - - -or on a *per request* basis - -```csharp -var response = client.Search(s => s - .RequestConfiguration(r => r - .EnableThreadPoolStats() <1> - ) - .Query(q => q - .MatchAll() - ) - ); - -var debugInformation = response.DebugInformation; <2> -``` - -1. collect thread pool statistics for **this** request only -2. contains thread pool statistics - - -With `EnableThreadPoolStats` set, the statistics of thread pool threads will now be included on the response and in the debug information. - - diff --git a/docs/reference/troubleshoot/debug-mode.md b/docs/reference/troubleshoot/debug-mode.md deleted file mode 100644 index fce96b34be4..00000000000 --- a/docs/reference/troubleshoot/debug-mode.md +++ /dev/null @@ -1,50 +0,0 @@ ---- -mapped_pages: - - https://www.elastic.co/guide/en/elasticsearch/client/net-api/current/debug-mode.html ---- - -# Debug mode [debug-mode] - -The [Debug information](debug-information.md) explains that every response from Elasticsearch.Net and NEST contains a `DebugInformation` property, and properties on `ConnectionSettings` and `RequestConfiguration` can control which additional information is included in debug information, for all requests or on a per request basis, respectively. - -During development, it can be useful to enable the most verbose debug information, to help identify and troubleshoot problems, or simply ensure that the client is behaving as expected. The `EnableDebugMode` setting on `ConnectionSettings` is a convenient shorthand for enabling verbose debug information, configuring a number of settings like - -* disabling direct streaming to capture request and response bytes -* prettyfying JSON responses from Elasticsearch -* collecting TCP statistics when a request is made -* collecting thread pool statistics when a request is made -* including the Elasticsearch stack trace in the response if there is a an error on the server side - -```csharp -IConnectionPool pool = new SingleNodeConnectionPool(new Uri("http://localhost:9200")); - -var settings = new ConnectionSettings(pool) - .EnableDebugMode(); <1> - -var client = new ElasticClient(settings); - -var response = client.Search(s => s - .Query(q => q - .MatchAll() - ) -); - -var debugInformation = response.DebugInformation; <2> -``` - -1. configure debug mode -2. verbose debug information - - -In addition to exposing debug information on the response, debug mode will also cause the debug information to be written to the trace listeners in the `System.Diagnostics.Debug.Listeners` collection by default, when the request has completed. A delegate can be passed when enabling debug mode to perform a different action when a request has completed, using [`OnRequestCompleted`](logging-with-onrequestcompleted.md) - -```csharp -var pool = new SingleNodeConnectionPool(new Uri("http://localhost:9200")); -var client = new ElasticClient(new ConnectionSettings(pool) - .EnableDebugMode(apiCallDetails => - { - // do something with the call details e.g. send with logging framework - }) -); -``` - diff --git a/docs/reference/troubleshoot/debugging.md b/docs/reference/troubleshoot/debugging.md deleted file mode 100644 index 2514e064b48..00000000000 --- a/docs/reference/troubleshoot/debugging.md +++ /dev/null @@ -1,14 +0,0 @@ ---- -mapped_pages: - - https://www.elastic.co/guide/en/elasticsearch/client/net-api/current/debugging.html ---- - -# Debugging [debugging] - -Elasticsearch.Net and NEST provide an audit trail and debug information to help you resolve issues: - -* [](audit-trail.md) -* [](debug-information.md) -* [](debug-mode.md) - - diff --git a/docs/reference/troubleshoot/index.md b/docs/reference/troubleshoot/index.md deleted file mode 100644 index b1163f89ecc..00000000000 --- a/docs/reference/troubleshoot/index.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -navigation_title: Troubleshoot -mapped_pages: - - https://www.elastic.co/guide/en/elasticsearch/client/net-api/current/troubleshooting.html ---- - -# Troubleshoot: {{es}} .NET client [troubleshooting] - -The client can provide rich details about what occurred in the request pipeline during the process of making a request, and can also provide the raw request and response JSON. - -* [Logging](logging.md) -* [Debugging](debugging.md) - diff --git a/docs/reference/troubleshoot/logging-with-fiddler.md b/docs/reference/troubleshoot/logging-with-fiddler.md deleted file mode 100644 index 04e8c590501..00000000000 --- a/docs/reference/troubleshoot/logging-with-fiddler.md +++ /dev/null @@ -1,44 +0,0 @@ ---- -mapped_pages: - - https://www.elastic.co/guide/en/elasticsearch/client/net-api/current/logging-with-fiddler.html ---- - -# Logging with Fiddler [logging-with-fiddler] - -A web debugging proxy such as [Fiddler](http://www.telerik.com/fiddler) is a useful way to capture HTTP traffic from a machine, particularly whilst developing against a local Elasticsearch cluster. - -## Capturing traffic to a remote cluster [_capturing_traffic_to_a_remote_cluster] - -To capture traffic against a remote cluster is as simple as launching Fiddler! You may want to also filter traffic to only show requests to the remote cluster by using the filters tab - -![Capturing requests to a remote host](../images/elasticsearch-client-net-api-capture-requests-remotehost.png) - - -## Capturing traffic to a local cluster [_capturing_traffic_to_a_local_cluster] - -The .NET Framework is hardcoded not to send requests for `localhost` through any proxies and as a proxy Fiddler will not receive such traffic. - -This is easily circumvented by using `ipv4.fiddler` as the hostname instead of `localhost` - -```csharp -var isFiddlerRunning = Process.GetProcessesByName("fiddler").Any(); -var host = isFiddlerRunning ? "ipv4.fiddler" : "localhost"; - -var connectionSettings = new ConnectionSettings(new Uri($"http://{host}:9200")) - .PrettyJson(); <1> - -var client = new ElasticClient(connectionSettings); -``` - -1. prettify json requests and responses to make them easier to read in Fiddler - - -With Fiddler running, the requests and responses will now be captured and can be inspected in the Inspectors tab - -![Inspecting requests and responses](../images/elasticsearch-client-net-api-inspect-requests.png) - -As before, you may also want to filter traffic to only show requests to `ipv4.fiddler` on the port on which you are running Elasticsearch. - -![Capturing requests to localhost](../images/elasticsearch-client-net-api-capture-requests-localhost.png) - - diff --git a/docs/reference/troubleshoot/logging.md b/docs/reference/troubleshoot/logging.md deleted file mode 100644 index 8efdbc997d7..00000000000 --- a/docs/reference/troubleshoot/logging.md +++ /dev/null @@ -1,14 +0,0 @@ ---- -mapped_pages: - - https://www.elastic.co/guide/en/elasticsearch/client/net-api/current/logging.html ---- - -# Logging [logging] - -While developing with Elasticsearch using NEST, it can be extremely valuable to see the requests that NEST generates and sends to Elasticsearch, as well as the responses returned. - -* [](logging-with-onrequestcompleted.md) -* [](logging-with-fiddler.md) - - - diff --git a/docs/reference/using-net-client.md b/docs/reference/using-net-client.md deleted file mode 100644 index ace92b95d1a..00000000000 --- a/docs/reference/using-net-client.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -mapped_pages: - - https://www.elastic.co/guide/en/elasticsearch/client/net-api/current/usage.html ---- - -# Using the .NET Client [usage] - -The sections below provide tutorials on the most frequently used and some less obvious features of {{es}}. - -For a full reference, see the [Elasticsearch documentation](docs-content://get-started/index.md) and in particular the [REST APIs](elasticsearch://reference/elasticsearch/rest-apis/index.md) section. The Elasticsearch .NET Client follows closely the JSON structures described there. - -A .NET API reference documentation for the Elasticsearch client package is available [here](https://elastic.github.io/elasticsearch-net). - -If you’re new to {{es}}, make sure also to read [Elasticsearch’s quick start](docs-content://solutions/search/get-started.md) that provides a good introduction. - -* [Usage recommendations](/reference/recommendations.md) -* [CRUD usage examples](/reference/examples.md) -* [Using ES|QL](/reference/esql.md) - -::::{note} -This is still a work in progress, more sections will be added in the near future. -:::: - - diff --git a/docs/release-notes/breaking-change-policy.asciidoc b/docs/release-notes/breaking-change-policy.asciidoc new file mode 100644 index 00000000000..74138bc005f --- /dev/null +++ b/docs/release-notes/breaking-change-policy.asciidoc @@ -0,0 +1,32 @@ +[[breaking-changes-policy]] +== Breaking changes policy + +The {net-client} source code is generated from a https://github.com/elastic/elasticsearch-specification[formal specification of the Elasticsearch API]. This API specification is large, and although it is tested against hundreds of Elasticsearch test files, it may have discrepancies with the actual API that result in issues in the {net-client}. + +Fixing these discrepancies in the API specification results in code changes in the {net-client}, and some of these changes can require code updates in your applications. + +This section explains how these breaking changes are considered for inclusion in {net-client} releases. + +[discrete] +==== Breaking changes in patch releases + +Some issues in the API specification are properties that have an incorrect type, such as a `long` that should be a `string`, or a required property that is actually optional. These issues can cause the {net-client} to not work properly or even throw exceptions. + +When a specification issue is discovered and resolved, it may require code updates in applications using the {net-client}. Such breaking changes are considered acceptable, _even in patch releases_ (e.g. 8.0.0 -> 8.0.1), as they introduce stability to APIs that may otherwise be unusable. + +We may also make breaking changes in patch releases to correct design flaws and code-generation issues that we deem beneficial to resolve at the earliest oppotunity. We will detail these in the relevant release notes and limit these as the client matures. + +[discrete] +==== Breaking changes in minor releases + +Along with these bug fixes, the API specification is constantly refined, more precise type definitions are introduced to improve developer comfort and remove ambiguities. The specification of often-used APIs is fairly mature, so these changes happen generally on less often used APIs. These changes can also cause breaking changes requiring code updates which are considered _acceptable in minor releases_ (e.g. 8.0 -> 8.1). + +[discrete] +==== Breaking changes in major releases + +Major releases (e.g. 7.x -> 8.x) can include larger refactorings of the API specification and the framework underlying the {net-client}. These refactorings are considered carefully and done only when they unlock new important features or new developments. + +[discrete] +==== Elasticsearch API stability guarantees + +All Elasticsearch APIs have stability indicators, which imply potential changes. If an API is `stable` only additional non-breaking changes are added. In case of `experimental` APIs, breaking changes can be introduced any time, which means that these changes, will also be reflected in the {net-client}. \ No newline at end of file diff --git a/docs/release-notes/breaking-changes.md b/docs/release-notes/breaking-changes.md deleted file mode 100644 index 3ff9b442359..00000000000 --- a/docs/release-notes/breaking-changes.md +++ /dev/null @@ -1,235 +0,0 @@ ---- -navigation_title: "Breaking changes" -mapped_pages: - - https://www.elastic.co/guide/en/elasticsearch/client/net-api/current/breaking-changes-policy.html ---- - -# Elasticsearch .NET Client breaking changes [elasticsearch-net-client-breaking-changes] - -Breaking changes can impact your Elastic applications, potentially disrupting normal operations. Before you upgrade, carefully review the Elasticsearch .NET Client breaking changes and take the necessary steps to mitigate any issues. To learn how to upgrade, check [Upgrade](docs-content://deploy-manage/upgrade.md). - -% ## Next version [elasticsearch-net-client-nextversion-breaking-changes] - -% ::::{dropdown} Title of breaking change -% -% **Impact**: High/Low. -% -% Description of the breaking change. -% For more information, check [PR #](PR link). -% -% :::: - -## 9.0.0 [elasticsearch-net-client-900-breaking-changes] - -### Overview - -- [1. Container types](#1-container-types) -- [2. Removal of certain generic request descriptors](#2-removal-of-certain-generic-request-descriptors) -- [3. Removal of certain descriptor constructors and related request APIs](#3-removal-of-certain-descriptor-constructors-and-related-request-apis) -- [4. Date / Time / Duration values](#4-date-time-duration-values) -- [5. `ExtendedBounds`](#5-extendedbounds) -- [6. `Field.Format`](#6-fieldformat) -- [7. `Field`/`Fields` semantics](#7-fieldfields-semantics) -- [8. `FieldValue`](#8-fieldvalue) -- [9. `FieldSort`](#9-fieldsort) -- [10. Descriptor types `class` -\> `struct`](#10-descriptor-types-class-struct) - -### Breaking changes - -#### 1. Container types [1-container-types] - -**Impact**: High. - -Container types now use regular properties for their variants instead of static factory methods ([read more](index.md#7-improved-container-design)). - -This change primarily affects the `Query` and `Aggregation` types. - -```csharp -// 8.x -new SearchRequest -{ - Query = Query.MatchAll( - new MatchAllQuery - { - } - ) -}; - -// 9.0 -new SearchRequest -{ - Query = new Query - { - MatchAll = new MatchAllQuery - { - } - } -}; -``` - -Previously required methods like e.g. `TryGet(out)` have been removed. - -The new recommended way of inspecting container types is to use simple pattern matching: - -```csharp -var query = new Query(); - -if (query.Nested is { } nested) -{ - // We have a nested query. -} -``` - -#### 2. Removal of certain generic request descriptors [2-removal-of-certain-generic-request-descriptors] - -**Impact**: High. - -Removed the generic version of some request descriptors for which the corresponding requests do not contain inferrable properties. - -These descriptors were generated unintentionally. - -When migrating, the generic type parameter must be removed from the type, e.g., `AsyncSearchStatusRequestDescriptor` should become just `AsyncSearchStatusRequestDescriptor`. - -List of affected descriptors: - -- `AsyncQueryDeleteRequestDescriptor` -- `AsyncQueryGetRequestDescriptor` -- `AsyncSearchStatusRequestDescriptor` -- `DatabaseConfigurationDescriptor` -- `DatabaseConfigurationFullDescriptor` -- `DeleteAsyncRequestDescriptor` -- `DeleteAsyncSearchRequestDescriptor` -- `DeleteDataFrameAnalyticsRequestDescriptor` -- `DeleteGeoipDatabaseRequestDescriptor` -- `DeleteIpLocationDatabaseRequestDescriptor` -- `DeleteJobRequestDescriptor` -- `DeletePipelineRequestDescriptor` -- `DeleteScriptRequestDescriptor` -- `DeleteSynonymRequestDescriptor` -- `EqlDeleteRequestDescriptor` -- `EqlGetRequestDescriptor` -- `GetAsyncRequestDescriptor` -- `GetAsyncSearchRequestDescriptor` -- `GetAsyncStatusRequestDescriptor` -- `GetDataFrameAnalyticsRequestDescriptor` -- `GetDataFrameAnalyticsStatsRequestDescriptor` -- `GetEqlStatusRequestDescriptor` -- `GetGeoipDatabaseRequestDescriptor` -- `GetIpLocationDatabaseRequestDescriptor` -- `GetJobsRequestDescriptor` -- `GetPipelineRequestDescriptor` -- `GetRollupCapsRequestDescriptor` -- `GetRollupIndexCapsRequestDescriptor` -- `GetScriptRequestDescriptor` -- `GetSynonymRequestDescriptor` -- `IndexModifyDataStreamActionDescriptor` -- `PreprocessorDescriptor` -- `PutGeoipDatabaseRequestDescriptor` -- `PutIpLocationDatabaseRequestDescriptor` -- `PutScriptRequestDescriptor` -- `PutSynonymRequestDescriptor` -- `QueryVectorBuilderDescriptor` -- `RankDescriptor` -- `RenderSearchTemplateRequestDescriptor` -- `SmoothingModelDescriptor` -- `StartDataFrameAnalyticsRequestDescriptor` -- `StartJobRequestDescriptor` -- `StopDataFrameAnalyticsRequestDescriptor` -- `StopJobRequestDescriptor` -- `TokenizationConfigDescriptor` -- `UpdateDataFrameAnalyticsRequestDescriptor` - -#### 3. Removal of certain descriptor constructors and related request APIs [3-removal-of-certain-descriptor-constructors-and-related-request-apis] - -**Impact**: High. - -Removed `(TDocument, IndexName)` descriptor constructors and related request APIs for all requests with `IndexName` and `Id` path parameters. - -For example: - -```csharp -// 8.x -public IndexRequestDescriptor(TDocument document, IndexName index, Id? id) { } -public IndexRequestDescriptor(TDocument document, IndexName index) { } -public IndexRequestDescriptor(TDocument document, Id? id) { } -public IndexRequestDescriptor(TDocument document) { } - -// 9.0 -public IndexRequestDescriptor(TDocument document, IndexName index, Id? id) { } -public IndexRequestDescriptor(TDocument document, Id? id) { } -public IndexRequestDescriptor(TDocument document) { } -``` - -These overloads caused invocation ambiguities since both, `IndexName` and `Id` implement implicit conversion operators from `string`. - -Alternative with same semantics: - -```csharp -// Descriptor constructor. -new IndexRequestDescriptor(document, "my_index", Id.From(document)); - -// Request API method. -await client.IndexAsync(document, "my_index", Id.From(document), ...); -``` - -#### 4. Date / Time / Duration values [4-date-time-duration-values] - -**Impact**: High. - -In places where previously `long` or `double` was used to represent a date/time/duration value, `DateTimeOffset` or `TimeSpan` is now used instead. - -#### 5. `ExtendedBounds` [5-extendedbounds] - -**Impact**: High. - -Removed `ExtendedBoundsDate`/`ExtendedBoundsDateDescriptor`, `ExtendedBoundsFloat`/`ExtendedBoundsFloatDescriptor`. - -Replaced by `ExtendedBounds`, `ExtendedBoundsOfFieldDateMathDescriptor`, and `ExtendedBoundsOfDoubleDescriptor`. - -#### 6. `Field.Format` [6-fieldformat] - -**Impact**: Low. - -Removed `Field.Format` property and corresponding constructor and inferrer overloads. - -This property has not been used for some time (replaced by the `FieldAndFormat` type). - -#### 7. `Field`/`Fields` semantics [7-fieldfields-semantics] - -**Impact**: Low. - -`Field`/`Fields` static factory methods and conversion operators no longer return nullable references but throw exceptions instead (`Field`) if the input `string`/`Expression`/`PropertyInfo` argument is `null`. - -This makes implicit conversions to `Field` more user-friendly without requiring the null-forgiveness operator (`!`) ([read more](index.md#5-field-name-inference)). - -#### 8. `FieldValue` [8-fieldvalue] - -**Impact**: Low. - -Removed `FieldValue.IsLazyDocument`, `FieldValue.IsComposite`, and the corresponding members in the `FieldValue.ValueKind` enum. - -These values have not been used for some time. - -#### 9. `FieldSort` [9-fieldsort] - -**Impact**: High. - -Removed `FieldSort` parameterless constructor. - -Please use the new constructor instead: - -```csharp -public FieldSort(Elastic.Clients.Elasticsearch.Field field) -``` - -**Impact**: Low. - -Removed static `FieldSort.Empty` member. - -Sorting got reworked which makes this member obsolete ([read more](index.md#8-sorting)). - -#### 10. Descriptor types `class` -> `struct` [10-descriptor-types-class-struct] - -**Impact**: Low. - -All descriptor types are now implemented as `struct` instead of `class`. diff --git a/docs/release-notes/deprecations.md b/docs/release-notes/deprecations.md deleted file mode 100644 index 664ef25cbe8..00000000000 --- a/docs/release-notes/deprecations.md +++ /dev/null @@ -1,21 +0,0 @@ ---- -navigation_title: "Deprecations" ---- - -# Elasticsearch .NET Client deprecations [elasticsearch-net-client-deprecations] -Over time, certain Elastic functionality becomes outdated and is replaced or removed. To help with the transition, Elastic deprecates functionality for a period before removal, giving you time to update your applications. - -Review the deprecated functionality for Elasticsearch .NET Client. While deprecations have no immediate impact, we strongly encourage you update your implementation after you upgrade. To learn how to upgrade, check out [Upgrade](docs-content://deploy-manage/upgrade.md). - -% ## Next version [elasticsearch-net-client-versionnext-deprecations] - -% ::::{dropdown} Deprecation title -% Description of the deprecation. -% For more information, check [PR #](PR link). -% **Impact**
Impact of deprecation. -% **Action**
Steps for mitigating deprecation impact. -% :::: - -## 9.0.0 [elasticsearch-net-client-900-deprecations] - -_No deprecations_ \ No newline at end of file diff --git a/docs/release-notes/index.md b/docs/release-notes/index.md deleted file mode 100644 index 7bfcc1e88b0..00000000000 --- a/docs/release-notes/index.md +++ /dev/null @@ -1,406 +0,0 @@ ---- -navigation_title: "Elasticsearch .NET Client" -mapped_pages: - - https://www.elastic.co/guide/en/elasticsearch/client/net-api/current/release-notes.html ---- - -# Elasticsearch .NET Client release notes [elasticsearch-net-client-release-notes] - -Review the changes, fixes, and more in each version of Elasticsearch .NET Client. - -To check for security updates, go to [Security announcements for the Elastic stack](https://discuss.elastic.co/c/announcements/security-announcements/31). - -% Release notes include only features, enhancements, and fixes. Add breaking changes, deprecations, and known issues to the applicable release notes sections. - -% ## version.next [felasticsearch-net-client-next-release-notes] - -% ### Features and enhancements [elasticsearch-net-client-next-features-enhancements] -% * - -% ### Fixes [elasticsearch-net-client-next-fixes] -% * - -## 9.0.0 [elasticsearch-net-client-900-release-notes] - -### Overview - -- [1. Request Method/API Changes](#1-request-methodapi-changes) - - [1.1. Synchronous Request APIs](#11-synchronous-request-apis) - - [1.2. Separate Type Arguments for Request/Response](#12-separate-type-arguments-for-requestresponse) -- [2. Improved Fluent API](#2-improved-fluent-api) - - [2.1. `ICollection`](#21-icollectione) - - [2.2. `IDictionary`](#22-idictionaryk-v) - - [2.3. `ICollection>`](#23-icollectionkeyvaluepairk-v) - - [2.4. Union Types](#24-union-types) -- [3. Improved Descriptor Design](#3-improved-descriptor-design) - - [3.1. Wrap](#31-wrap) - - [3.2. Unwrap / Inspect](#32-unwrap-inspect) - - [3.3. Removal of Side Effects](#33-removal-of-side-effects) -- [4. Request Path Parameter Properties](#4-request-path-parameter-properties) -- [5. Field Name Inference](#5-field-name-inference) -- [6. Uniform Date/Time/Duration Types](#6-uniform-datetimeduration-types) -- [7. Improved Container Design](#7-improved-container-design) -- [8. Sorting](#8-sorting) -- [9. Safer Object Creation](#9-safer-object-creation) -- [10. Serialization](#10-serialization) - -### Features and enhancements - -#### 1. Request Method/API Changes [1-request-methodapi-changes] - -##### 1.1. Synchronous Request APIs [11-synchronous-request-apis] - -Synchronous request APIs are no longer marked as `obsolete`. We received some feedback about this deprecation and decided to revert it. - -##### 1.2. Separate Type Arguments for Request/Response [12-separate-type-arguments-for-requestresponse] - -It is now possible to specify separate type arguments for requests/responses when executing request methods: - -```csharp -var response = await client.SearchAsync(x => x - .Query(x => x.Term(x => x.Field(x => x.FirstName).Value("Florian"))) -); - -var documents = response.Documents; <1> -``` - -1. `IReadOnlyCollection` - -The regular APIs with merged type arguments are still available. - -#### 2. Improved Fluent API [2-improved-fluent-api] - -The enhanced fluent API generation is likely the most notable change in the 9.0 client. - -This section describes the main syntax constructs generated based on the type of the property in the corresponding object. - -##### 2.1. `ICollection` [21-icollectione] - -Note: This syntax already existed in 8.x. - -```csharp -new SearchRequestDescriptor() - .Query(q => q - .Bool(b => b - .Must(new Query()) // Scalar: Single element. - .Must(new Query(), new Query()) // Scalar: Multiple elements (params). - .Must(m => m.MatchAll()) // Fluent: Single element. - .Must(m => m.MatchAll(), m => m.MatchNone()) // Fluent: Multiple elements (params). - ) - ); -``` - -##### 2.2. `IDictionary` [22-idictionaryk-v] - -The 9.0 client introduces full fluent API support for dictionary types. - -```csharp -new SearchRequestDescriptor() - .Aggregations(new Dictionary()) // Scalar. - .Aggregations(aggs => aggs // Fluent: Nested. - .Add("key", new MaxAggregation()) // Scalar: Key + Value. - .Add("key", x => x.Max()) // Fluent: Key + Value. - ) - .AddAggregation("key", new MaxAggregation()) // Scalar. - .AddAggregation("key", x => x.Max()); // Fluent. -``` - -:::{warning} - -The `Add{Element}` methods have different semantics compared to the standard setter methods. - -Standard fluent setters set or **replace** a value. - -In contrast, the new additive methods append new elements to the dictionary. - -::: - -For dictionaries where the value type does not contain required properties that must be initialized, another syntax is generated that allows easy addition of new entries by just specifying the key: - -```csharp -// Dictionary() - -new CreateIndexRequestDescriptor("index") - // ... all previous overloads ... - .Aliases(aliases => aliases // Fluent: Nested. - .Add("key") // Key only. - ) - .Aliases("key") // Key only: Single element. - .Aliases("first", "second") // Key only: Multiple elements (params). -``` - -If the value type in the dictionary is a collection, additional `params` overloads are generated: - -```csharp -// Dictionary> - -new CompletionSuggesterDescriptor() - // ... all previous overloads ... - .AddContext("key", - new CompletionContext{ Context = new Context("first") }, - new CompletionContext{ Context = new Context("second") } - ) - .AddContext("key", - x => x.Context(x => x.Category("first")), - x => x.Context(x => x.Category("second")) - ); -``` - -##### 2.3. `ICollection>` [23-icollectionkeyvaluepairk-v] - -Elasticsearch often uses `ICollection>` types for ordered dictionaries. - -The 9.0 client abstracts this implementation detail by providing a fluent API that can be used exactly like the one for `IDictionary` types: - -```csharp -new PutMappingRequestDescriptor("index") - .DynamicTemplates(new List>()) // Scalar. - .DynamicTemplates(x => x // Fluent: Nested. - .Add("key", new DynamicTemplate()) // Scalar: Key + Value. - .Add("key", x => x.Mapping(new TextProperty())) // Fluent: Key + Value. - ) - .AddDynamicTemplate("key", new DynamicTemplate()) // Scalar: Key + Value. - .AddDynamicTemplate("key", x => x.Runtime(x => x.Format("123"))); // Fluent: Key + Value. -``` - -##### 2.4. Union Types [24-union-types] - -Fluent syntax is now as well available for all auto-generated union- and variant-types. - -```csharp -// TermsQueryField : Union, TermsLookup> - -new TermsQueryDescriptor() - .Terms(x => x.Value("a", "b", "c")) <1> - .Terms(x => x.Lookup(x => x.Index("index").Id("id"))); <2> -``` - -1. `ICollection` -2. `TermsLookup` - -#### 3. Improved Descriptor Design [3-improved-descriptor-design] - -The 9.0 release features a completely overhauled descriptor design. - -Descriptors now wrap the object representation. This brings several internal quality-of-life improvements as well as noticeable benefits to end-users. - -##### 3.1. Wrap [31-wrap] - -Use the wrap constructor to create a new descriptor for an existing object: - -```csharp -var request = new SearchRequest(); - -// Wrap. -var descriptor = new SearchRequestDescriptor(request); -``` - -All fluent methods of the descriptor will mutate the existing `request` passed to the wrap constructor. - -:::{note} - -Descriptors are now implemented as `struct` instead of `class`, reducing allocation overhead as much as possible. - -::: - -##### 3.2. Unwrap / Inspect [32-unwrap-inspect] - -Descriptor values can now be inspected by unwrapping the object using an implicit conversion operator: - -```csharp -var descriptor = new SearchRequestDescriptor(); - -// Unwrap. -SearchRequest request = descriptor; -``` - -Unwrapping does not allocate or copy. - -##### 3.3. Removal of Side Effects [33-removal-of-side-effects] - -In 8.x, execution of (most but not all) lambda actions passed to descriptors was deferred until the actual request was made. It was never clear to the user when, and how often an action would be executed. - -In 9.0, descriptor actions are always executed immediately. This ensures no unforeseen side effects occur if the user-provided lambda action mutates external state (it is still recommended to exclusively use pure/invariant actions). Consequently, the effects of all changes performed by a descriptor method are immediately applied to the wrapped object. - -#### 4. Request Path Parameter Properties [4-request-path-parameter-properties] - -In 8.x, request path parameters like `Index`, `Id`, etc. could only be set by calling the corresponding constructor of the request. Afterwards, there was no way to read or change the current value. - -In the 9.0 client, all request path parameters are exposed as `get/set` properties, allowing for easy access: - -```csharp -// 8.x and 9.0 -var request = new SearchRequest(Indices.All); - -// 9.0 -var request = new SearchRequest { Indices = Indices.All }; -var indices = request.Indices; -request.Indices = "my_index"; -``` - -#### 5. Field Name Inference [5-field-name-inference] - -The `Field` type and especially its implicit conversion operations allowed for `null` return values. This led to a poor developer experience, as the null-forgiveness operator (`!`) had to be used frequently without good reason. - -This is no longer required in 9.0: - -```csharp -// 8.x -Field field = "field"!; - -// 9.0 -Field field = "field"; -``` - -#### 6. Uniform Date/Time/Duration Types [6-uniform-datetimeduration-types] - -The encoding of date, time and duration values in Elasticsearch often varies depending on the context. In addition to string representations in ISO 8601 and RFC 3339 format (always UTC), also Unix timestamps (in seconds, milliseconds, nanoseconds) or simply seconds, milliseconds, nanoseconds are frequently used. - -In 8.x, some date/time values are already mapped as `DateTimeOffset`, but the various non-ISO/RFC representations were not. - -9.0 now represents all date/time values uniformly as `DateTimeOffset` and also uses the native `TimeSpan` type for all durations. - -:::{note} - -There are some places where the Elasticsearch custom date/time/duration types are continued to be used. This is always the case when the type has special semantics and/or offers functionality that goes beyond that of the native date/time/duration types (e.g. `Duration`, `DateMath`). - -::: - -#### 7. Improved Container Design [7-improved-container-design] - -In 8.x, container types like `Query` or `Aggregation` had to be initialized using static factory methods. - -```csharp -// 8.x -var agg = Aggregation.Max(new MaxAggregation { Field = "my_field" }); -``` - -This made it mandatory to assign the created container to a temporary variable if additional properties of the container (not the contained variant) needed to be set: - -```csharp -// 8.x -var agg = Aggregation.Max(new MaxAggregation { Field = "my_field" }); -agg.Aggregations ??= new Dictionary(); -agg.Aggregations.Add("my_sub_agg", Aggregation.Terms(new TermsAggregation())); -``` - -Additionally, it was not possible to inspect the contained variant. - -In 9.0, each possible container variant is represented as a regular property of the container. This allows for determining and inspecting the contained variant and initializing container properties in one go when using an object initializer: - -```csharp -// 9.0 -var agg = new Aggregation -{ - Max = new MaxAggregation { Field = "my_field" }, - Aggregations = new Dictionary - { - { "my_sub_agg", new Aggregation{ Terms = new TermsAggregation() } } - } -}; -``` - -Previously required methods like e.g. `TryGet(out)` have been removed. - -The new recommended way of inspecting container types is to use simple pattern matching: - -```csharp -var query = new Query(); - -if (query.Nested is { } nested) -{ - // We have a nested query. -} -``` - -:::{warning} - -A container can still only contain a single variant. Setting multiple variants at once is invalid. - -Consecutive assignments of variant properties (e.g., first setting `Max`, then `Min`) will cause the previous variant to be replaced. - -::: - -#### 8. Sorting [8-sorting] - -Applying a sort order to a search request using the fluent API is now more convenient: - -```csharp -var search = new SearchRequestDescriptor() - .Sort( - x => x.Score(), - x => x.Score(x => x.Order(SortOrder.Desc)), - x => x.Field(x => x.FirstName), - x => x.Field(x => x.Age, x => x.Order(SortOrder.Desc)), - x => x.Field(x => x.Age, SortOrder.Desc) - // 7.x syntax - x => x.Field(x => x.Field(x => x.FirstName).Order(SortOrder.Desc)) - ); -``` - -The improvements are even more evident when specifying a sort order for aggregations: - -```csharp -new SearchRequestDescriptor() - .Aggregations(aggs => aggs - .Add("my_terms", agg => agg - .Terms(terms => terms - // 8.x syntax. - .Order(new List> - { - new KeyValuePair("_key", SortOrder.Desc) - }) - // 9.0 fluent syntax. - .Order(x => x - .Add(x => x.Age, SortOrder.Asc) - .Add("_key", SortOrder.Desc) - ) - // 9.0 fluent add syntax (valid for all dictionary-like values). - .AddOrder("_key", SortOrder.Desc) - ) - ) - ); -``` - -#### 9. Safer Object Creation [9-safer-object-creation] - -In version 9.0, users are better guided to correctly initialize objects and thus prevent invalid requests. - -For this purpose, at least one constructor is now created that enforces the initialization of all required properties. Existing parameterless constructors or constructor variants that allow the creation of incomplete objects are preserved for backwards compatibility reasons, but are marked as obsolete. - -For NET7+ TFMs, required properties are marked with the `required` keyword, and a non-deprecated parameterless constructor is unconditionally generated. - -:::{note} - -Please note that the use of descriptors still provides the chance to create incomplete objects/requests, as descriptors do not enforce the initialization of all required properties for usability reasons. - -::: - -#### 10. Serialization [10-serialization] - -Serialization in version 9.0 has been completely overhauled, with a primary focus on robustness and performance. Additionally, initial milestones have been set for future support of native AOT. - -In 9.0, round-trip serialization is now supported for all types (limited to all JSON serializable types). - -```csharp -var request = new SearchRequest{ /* ... */ }; - -var json = client.ElasticsearchClientSettings.RequestResponseSerializer.SerializeToString( - request, - SerializationFormatting.Indented -); - -var searchRequestBody = client.ElasticsearchClientSettings.RequestResponseSerializer.Deserialize(json)!; -``` - -:::{warning} - -Note that only the body is serialized for request types. Path- and query properties must be handled manually. - -::: - -:::{note} - -It is important to use the `RequestResponseSerializer` when (de-)serializing client internal types. Direct use of `JsonSerializer` will not work. - -::: diff --git a/docs/release-notes/known-issues.md b/docs/release-notes/known-issues.md deleted file mode 100644 index 004e370a72f..00000000000 --- a/docs/release-notes/known-issues.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -navigation_title: "Known issues" - ---- - -# Elasticsearch .NET Client known issues [elasticsearch-net-client-known-issues] - -Known issues are significant defects or limitations that may impact your implementation. These issues are actively being worked on and will be addressed in a future release. Review the Elasticsearch .NET Client known issues to help you make informed decisions, such as upgrading to a new version. - -% Use the following template to add entries to this page. - -% :::{dropdown} Title of known issue -% **Details** -% On [Month/Day/Year], a known issue was discovered that [description of known issue]. - -% **Workaround** -% Workaround description. - -% **Resolved** -% On [Month/Day/Year], this issue was resolved. - -::: - -Known issues are tracked on [GitHub](https://github.com/elastic/elasticsearch-net/issues?q=is%3Aissue%20state%3Aopen%20label%3A%22Category%3A%20Bug%22). diff --git a/docs/release-notes/release-notes-8.0.0.asciidoc b/docs/release-notes/release-notes-8.0.0.asciidoc new file mode 100644 index 00000000000..5ab8ff266fc --- /dev/null +++ b/docs/release-notes/release-notes-8.0.0.asciidoc @@ -0,0 +1,511 @@ +[[release-notes-8.0.0]] +== Release notes v8.0.0 + +[TIP] +-- +Due to the extensive changes in the new {net-client}, we highly recommend +reviewing this documentation in full, before proceeding with migration to v8. +-- + +After many months of work, eleven alphas, six betas and two release candidates, +we are pleased to announce the GA release of the {net-client} v8.0.0. + +The overall themes of this release have been based around redesigning the client +for the future, standardizing serialization, performance improvements, codebase +simplification, and code-generation. + +The following release notes explain the current state of the client, missing +features, breaking changes and our rationale for some of the design choices we have introduced. + +[discrete] +=== Version 8 is a refresh + +[IMPORTANT] +-- +It is important to highlight that v8 of the {net-client} represents +a new start for the client design. It is important to review how this may affect +your code and usage. +-- + +Mature code becomes increasingly hard to maintain over time, and +our ability to make timely releases has diminished as code complexity has increased. +Major releases allow us to simplify and better align our language clients with +each other in terms of design. Here, it is crucial to find the right balance +between uniformity across programming languages and the idiomatic concerns of +each language. For .NET, we will typically compare and contrast with https://github.com/elastic/elasticsearch-java[Java] and https://github.com/elastic/go-elasticsearch[Go] +to make sure that our approach is equivalent for each of these. We also take +heavy inspiration from Microsoft framework design guidelines and the conventions +of the wider .NET community. + +[discrete] +==== New Elastic.Clients.Elasticsearch NuGet package + +We have shipped the new code-generated client as a +https://www.nuget.org/packages/Elastic.Clients.Elasticsearch/[new NuGet package] +with a new root namespace, `Elastic.Clients.Elasticsearch`. +The new v8 client is built upon the foundations of the v7 `NEST` client, but there +are changes. By shipping as a new package, the expectation is that migration can +be managed with a phased approach. + +While this is a new package, we have aligned the major version (v8.x.x) with the +supported {es} server version to clearly indicate the client/server compatibility. +The v8 client is designed to work with version 8 of {es}. + +The v7 `NEST` client continues to be supported but will not gain new features or +support for new {es} endpoints. It should be considered deprecated in favour of +the new client. + +[discrete] +==== Limited feature set + +[CAUTION] +-- +The 8.0.0 {net-client} does not have feature parity with the previous v7 `NEST` +high-level client. +-- + +For the initial 8.0.0 release we have limited the features we are shipping. +Over the course of the 8.x releases, we will reintroduce features. Therefore, +if something is missing, it may not be permanently omitted. We will endeavour to communicate our plans as and when they become available. + +If a feature you depend on is missing (and not explicitly documented below as a +feature that we do not plan to reintroduce), please open https://github.com/elastic/elasticsearch-net/issues/new/choose[an issue] +or comment on a relevant existing issue to highlight your need to us. This will +help us prioritise our roadmap. + +[discrete] +=== Code generation + +Given the size of the Elasticsearch API surface today, it is no longer practical +to maintain thousands of types (requests, responses, queries, aggregations, etc.) +by hand. To ensure consistent, accurate and timely alignment between language +clients and {es}, the 8.x clients, and many of the associated types are now +automatically code-generated from a https://github.com/elastic/elasticsearch-specification[shared specification]. This is a common solution to maintaining alignment between +client and server among SDKs and libraries, such as those for Azure, AWS and the +Google Cloud Platform. + +Code-generation from a specification has inevitably led to some differences +between the existing v7 `NEST` types and those available in the new v7 {net-client}. +For the 8.0.0 release, we generate strictly from the specification, special +casing a few areas to improve usability or to align with language idioms. + +The base type hierarchy for concepts such as `Properties`, `Aggregations` and +`Queries` is no longer present in generated code, as these arbitrary groupings do +not align with concrete concepts of the public server API. These considerations +do not preclude adding syntactic sugar and usability enhancements to types in future +releases on a case-by-case basis. + +[discrete] +=== Elastic.Transport + +The .NET client includes a transport layer responsible for abstracting HTTP +concepts and to provide functionality such as our request pipeline. This +supports round-robin load-balancing of requests to nodes, pinging failed +nodes and sniffing the cluster for node roles. + +In v7, this layer shipped as `Elasticsearch.Net` and was considered our low-level +client which could be used to send and receive raw JSON bytes between the client +and server. + +As part of the work for 8.0.0, we have moved the transport layer out into +a https://www.nuget.org/packages/Elastic.Transport[new dedicated package] and +https://github.com/elastic/elastic-transport-net[repository], named +`Elastic.Transport`. This supports reuse across future clients and allows +consumers with extremely high-performance requirements to build upon this foundation. + +[discrete] +=== System.Text.Json for serialization + +The v7 `NEST` high-level client used an internalized and modified version of +https://github.com/neuecc/Utf8Json[Utf8Json] for request and response +serialization. This was introduced for its performance improvements +over https://www.newtonsoft.com/json[Json.NET], the more common JSON framework at +the time. + +While Utf8Json provides good value, we have identified minor bugs and +performance issues that have required maintenance over time. Some of these +are hard to change without more significant effort. This library is no longer +maintained, and any such changes cannot easily be contributed back to the +original project. + +With .NET Core 3.0, Microsoft shipped new https://devblogs.microsoft.com/dotnet/try-the-new-system-text-json-apis[System.Text.Json APIs] +that are included in-the-box with current versions of .NET. We have adopted +`System.Text.Json` for all serialization. Consumers can still define and register +their own `Serializer` implementation for their document types should they prefer +to use a different serialization library. + +By adopting `System.Text.Json`, we now depend on a well-maintained and supported +library from Microsoft. `System.Text.Json` is designed from the ground up to support +the latest performance optimizations in .NET and, as a result, provides both fast and low-allocation serialization. + +[discrete] +=== Mockability of ElasticsearchClient + +Testing code is an important part of software development. We recommend +that consumers prefer introducing an abstraction for their use of the {net-client} +as the prefered way to decouple consuming code from client types and support unit +testing. + +In order to support user testing scenarios, we have unsealed the `ElasticsearchClient` +type and made its methods virtual. This supports mocking the type directly for unit +testing. This is an improvement over the original `IElasticClient` interface from +`NEST` (v7) which only supported mocking of top-level client methods. + +We have also introduced a `TestableResponseFactory` in `Elastic.Transport` to +make it easier to create response instances with specific status codes and validity +that can be used during unit testing. + +These changes are in addition to our existing support for testing with an +`InMemoryConnection`, virtualized clusters and with our +https://github.com/elastic/elasticsearch-net-abstractions/blob/master/src/Elastic.Elasticsearch.Managed[`Elastic.Elasticsearch.Managed`] library for integration +testing against real {es} instances. We will introduce more documentation on testing methodologies in the near future. + +[discrete] +=== Migrating to Elastic.Clients.Elasticsearch + +[WARNING] +-- +The 8.0.0 release does not currently have full-feature parity with `NEST`. The +client primary use case is for application developers communitating with {es}. +-- + +The 8.0.0 release focuses on core endpoints, more specifically for common CRUD +scenarios. We intend to reduce the feature gap in subsequent versions. We anticipate +that this initial release will best suit new applications and may not yet be migration-ready for all existing consumers. We recommend reviewing this documentation carefully to learn about the missing features and reduced API surface details before migrating from the v7 `NEST` client. + +The choice to code-generate a new evolution of the {net-client} introduces some +significant breaking changes. We consciously took the opportunity to refactor +and reconsider historic design choices as part of this major release, intending +to limit future breaking changes. + +The v8 client is shipped as a new https://www.nuget.org/packages/Elastic.Clients.Elasticsearch/[NuGet package] +which can be installed alongside v7 `NEST`. We +anticipate that some consumers may prefer a phased migration with both +packages side-by-side for a short period of time to manage complex migrations. In addition, `NEST` 7.17.x can continue to be used in +https://www.elastic.co/guide/en/elasticsearch/client/net-api/7.17/connecting-to-elasticsearch-v8.html[compatibility mode] +with {es} 8.x servers until the v8 {net-client} features +align with application requirements. + +We will continue to prioritize the feature roadmap and code-generation work +based on https://github.com/elastic/elasticsearch-net/issues[feedback] from consumers who may rely on features that are initially unavailable. + +[discrete] +=== Breaking Changes + +[WARNING] +-- +As a result of code-generating a majority of the client types, this version of +the client includes multiple breaking changes. +-- + +We have strived to keep the core foundation reasonably similar, but types emitted +through code-generation are subject to change between `NEST` (v7) and the new +`Elastic.Clients.Elasticsearch` (v8) package. + +[discrete] +==== Namespaces + +We have renamed the package and top-level namespace for the v8 client to +`Elastic.Clients.Elasticsearch`. All types belong to this namespace. When +necessary, to avoid potential conflicts, types are generated into suitable +sub-namespaces based on the https://github.com/elastic/elasticsearch-specification[{es} specification]. Additional `using` directives may be required to access such types +when using the {net-client}. + +Transport layer concepts have moved to the new `Elastic.Transport` NuGet package +and related types are defined under its namespace. Some configuration and low-level transport functionality may require a `using` directive for the `Elastic.Transport` +namespace. + +[discrete] +==== Type names + +Type names may have changed from previous versions. We are not listing these +explicitly due to the potentially vast number of subtle differences. +Type names will now more closely align to those used in the JSON and as documented +in the {es} documentation. + +[discrete] +==== Class members + +Types may include renamed properties based on the {es} specification, +which differ from the original `NEST` property names. The types used for properties +may also have changed due to code-generation. If you identify missing or +incorrectly-typed properties, please open https://github.com/elastic/elasticsearch-net/issues/new/choose[an issue] to alert us. + +[discrete] +==== Sealing classes + +Opinions on "sealing by default" within the .NET ecosystem tend to be quite +polarized. Microsoft seal all internal types for potential performance gains +and we see a benefit in starting with that approach for the {net-client}, +even for our public API surface. + +While it prevents inheritance and, therefore, may inhibit a few consumer scenarios, +sealing by default is intended to avoid the unexpected or invalid +extension of types that could inadvertently be broken in the future. That said, +sealing is not necessarily a final choice for all types; but it is clearly +easier for a future release to unseal a previously-sealed class than +vice versa. We can therefore choose to unseal as valid scenarios arise, +should we determine that doing so is the best solution for those scenarios, such +as with mockability of the `ElasticsearchClient`. This goes back to our clean-slate concept for this new client. + +[discrete] +==== Removed features + +As part of the clean-slate redesign of the new client, we have opted to remove +certain features from the v8.0 client. These are listed below: + +[discrete] +===== Attribute mappings + +In previous versions of the `NEST` client, attributes could be used to configure +the mapping behaviour and inference for user types. We have removed support for +these attributes and recommend that mapping be completed via the fluent API when +configuring client instances. `System.Text.Json` attributes may be used to rename +and ignore properties during source serialization. + +[discrete] +===== CAT APIs + +The https://www.elastic.co/guide/en/elasticsearch/reference/current/cat.html[CAT APIs] +of {es} are intended for human-readable usage and will no longer be supported +via the v8 {net-client}. + +[discrete] +===== Interface removal + +We have removed several interfaces that previously shipped as part of `NEST`. This +is a design decision to simplify the library and avoid interfaces where only a +single implementation of that interface is expected to exist, such as +`IElasticClient` in `NEST`. We have also switched to prefer abstract base classes +over interfaces across the library, as this allows us to add enhancements more +easily without introducing breaking changes for derived types. + +[discrete] +==== Missing features + +While not an exhaustive list, the following are some of the main features which +have not been re-implemented for this initial 8.0.0 GA release. +These remain on our roadmap and will be reviewed and prioritized for inclusion in +future releases. + +* Query DSL operators for combining queries. +* Scroll Helper. +* Fluent API for union types. +* `AutoMap` for field datatype inference. +* Visitor pattern support for types such as `Properties`. +* Support for `JoinField` which affects `ChildrenAggregation`. +* Conditionless queries. +* DiagnosticSources have been removed in `Elastic.Transport` to provide a clean-slate +for an improved diagnostics story. The {net-client} emits https://opentelemetry.io/[OpenTelemetry] compatible `Activity` spans which can be consumed by APM agents such as the https://www.elastic.co/guide/en/apm/agent/dotnet/current/index.html[Elastic APM Agent for .NET]. +* Documentation is a work in progress, and we will expand on the documented scenarios +in future releases. + +[discrete] +=== Reduced API surface + +In this first release of the code-generated .NET client, we have specifically +focused on supporting commonly used endpoints. We have also skipped specific +queries and aggregations which need further work to generate code correctly. +Before migrating, please refer to the lists below for the endpoints, +queries and aggregations currently generated and available +in the 8.0.0 GA release to ensure that the features you are using are currently +supported. + +[discrete] +==== Supported {es} endpoints + +The following are {es} endpoints currently generated and available +in the 8.0.0 {net-client}. + +* AsyncSearch.Delete +* AsyncSearch.Get +* AsyncSearch.Status +* AsyncSearch.Submit +* Bulk +* ClearScroll +* ClosePointInTime +* Cluster.Health +* Count +* Create +* Delete +* DeleteByQuery +* DeleteByQueryRethrottle +* DeleteScript +* EQL.Delete +* EQL.Get +* EQL.Search +* EQL.Status +* Exists +* ExistsSource +* Explain +* FieldCaps +* Get +* GetScript +* GetScriptContext +* GetScriptLanguages +* GetSource +* Index +* Indices.Clone +* Indices.Close +* Indices.Create +* Indices.CreateDataStream +* Indices.Delete +* Indices.DeleteAlias +* Indices.DeleteDataStream +* Indices.DeleteIndexTemplate +* Indices.DeleteTemplate +* Indices.Exists +* Indices.ExistsIndexTemplate +* Indices.ExistsTemplate +* Indices.Flush +* Indices.ForceMerge +* Indices.Get +* Indices.GetAlias +* Indices.GetDataStream +* Indices.GetFieldMapping +* Indices.GetIndexTemplate +* Indices.GetMapping +* Indices.GetTemplate +* Indices.Indices.SimulateTemplate +* Indices.MigrateToDataStream +* Indices.Open +* Indices.PutAlias +* Indices.PutIndexTemplate +* Indices.PutMapping +* Indices.PutTemplate +* Indices.Refresh +* Indices.Rollover +* Indices.Shrink +* Indices.SimulateIndexTemplate +* Indices.Split +* Indices.Unfreeze +* Info +* MGet +* MSearch +* MSearchTemplate +* OpenPointInTime +* Ping +* PutScript +* RankEval +* Reindex +* ReindexRethrottle +* Scroll +* Search +* SearchShards +* SQL.ClearCursor +* SQL.DeleteAsync +* SQL.GetAsync +* SQL.GetAsyncStatus +* SQL.Query +* TermsEnum +* Update +* UpdateByQuery +* UpdateByQueryRethrottle + +[discrete] +==== Supported queries + +The following are query types currently generated and available +in the 8.0.0 {net-client}. + +* Bool +* Boosting +* CombinedFields +* ConstantScore +* DisMax +* Exists +* FunctionScore +* Fuzzy +* HasChild +* HasParent +* Ids +* Intervals +* Match +* MatchAll +* MatchBool +* MatchNone +* MatchPhrase +* MatchPhrasePrefix +* MoreLikeThis +* MultiMatch +* Nested +* ParentId +* Percolate +* Prefix +* QueryString +* RankFeature +* Regexp +* Script +* ScriptScore +* Shape +* SimpleQueryString +* SpanContaining +* SpanFirst +* SpanMultiTerm +* SpanNear +* SpanNot +* SpanOr +* SpanTerm +* SpanWithin +* Term +* Terms +* TermsSet +* Wildcard +* Wrapper + +[discrete] +==== Supported aggregations + +The following are aggregation types currently generated and available +in the 8.0.0 {net-client}. + +* AdjacencyMatrix +* AutoDateHistogram +* Avg +* Boxplot +* Cardinality +* Children +* Composite +* CumulativeCardinality +* DateHistogram +* DateRange +* Derivative +* ExtendedStats +* Filters +* Global +* Histogram +* Inference +* IpRange +* MatrixStats +* Max +* MedianAbsoluteDeviation +* Min +* Missing +* MultiTerms +* Nested +* Parent +* PercentilesBucket +* Range +* Rate +* ReverseNested +* Sampler +* ScriptedMetric +* Stats +* StatsBucket +* StringStats +* Sum +* Terms +* TopHits +* TopMetrics +* TTest +* ValueCount +* VariableWidthHistogram +* WeightedAvg + +[discrete] +=== In closing + +Please give the new `Elastic.Clients.Elasticsearch` client a try in your .NET +applications. If you run into any problems, please open https://github.com/elastic/elasticsearch-net/issues/new/choose[an issue] to raise those +with us. Please let us know how you get on and if you have any questions, +reach out on the https://discuss.elastic.co[Discuss forums]. \ No newline at end of file diff --git a/docs/release-notes/release-notes-8.0.1.asciidoc b/docs/release-notes/release-notes-8.0.1.asciidoc new file mode 100644 index 00000000000..93d2dd8d376 --- /dev/null +++ b/docs/release-notes/release-notes-8.0.1.asciidoc @@ -0,0 +1,71 @@ +[[release-notes-8.0.1]] +== Release notes v8.0.1 + +[discrete] +=== Bug fixes + +- Fix MultiSearchTemplateRequest body serialization (issue: +https://github.com/elastic/elasticsearch-net/issues/7006[#7006]) + +[discrete] +=== Enhancements + +- Seal union types for consistency + +[discrete] +=== Breaking changes + +This release includes the following breaking changes: + +[discrete] +==== MultiSearchTemplate type changes + +The `Core.MSearchTemplate.RequestItem` type has been renamed to +`Core.MSearchTemplate.SearchTemplateRequestItem`. It no longer derives from the +`Union` type. It has been manually designed to support serialization to +NDJSON, as required by the MSearchTemplate endpoint. + +The `MultiSearchTemplateRequest.SearchTemplates` property has been updated to +use this newly defined type. + +This breaking change has been included in this patch release due to the +original code-generated type functioning incorrectly, and therefore, we have +determined that this should ship ASAP. + +[discrete] +==== MultiSearch type changes + +The `Core.MSearch.SearchRequestItem` type has been sealed for consistency with +the design choices of the rest of the client. While technically breaking, we +have decided that this should be included in this release before any potentially +derived types may exist in consuming applications. + +[discrete] +==== Sealing union types + +Code-generated types derived from `Union` were incorrectly unsealed. +While technically breaking, we have decided that these should be sealed in this +patch release before any potential derived types may exist in consuming +applications. Sealing types by default aligns with our broader design choices +and this decision is described in the <>. + +Affected types: +- `Aggregations.Buckets` +- `Aggregations.FieldDateMatch` +- `Aggregations.Percentiles` +- `Analysis.CharFilter` +- `Analysis.TokenFilter` +- `Analysis.Tokenizer` +- `ByteSize` +- `Fuzziness` +- `GeoHashPrecision` +- `MultiGetResponseItem` +- `MultiSearchResponseItem` +- `QueryDsl.Like` +- `QueryDsl.TermsQueryField` +- `Script` +- `Slices` +- `SourceConfig` +- `SourceConfigParam` +- `Tasks.TaskInfos` +- `TrackHits` \ No newline at end of file diff --git a/docs/release-notes/release-notes-8.0.10.asciidoc b/docs/release-notes/release-notes-8.0.10.asciidoc new file mode 100644 index 00000000000..8bd7bfd896e --- /dev/null +++ b/docs/release-notes/release-notes-8.0.10.asciidoc @@ -0,0 +1,11 @@ +[[release-notes-8.0.10]] +== Release notes v8.0.10 + +[discrete] +=== Bug fixes + +- https://github.com/elastic/elasticsearch-net/pull/7549[#7549] Update to latest +transport to ensure ActivitySource is static. (issue: https://github.com/elastic/elasticsearch-net/issues/7540[#7540]) + +This avoids undue and potentially high volume allocations of `ActivitySource` across +consuming applications and is therefore a recommended upgrade. \ No newline at end of file diff --git a/docs/release-notes/release-notes-8.0.2.asciidoc b/docs/release-notes/release-notes-8.0.2.asciidoc new file mode 100644 index 00000000000..5b53dcf4773 --- /dev/null +++ b/docs/release-notes/release-notes-8.0.2.asciidoc @@ -0,0 +1,82 @@ +[[release-notes-8.0.2]] +== Release notes v8.0.2 + +[discrete] +=== Bug fixes + +- Add missing accessor properties for dictionary responses (issue: +https://github.com/elastic/elasticsearch-net/issues/7048[#7048]) +- Fix to ensure dynamic HTTP methods are used when available (issue: +https://github.com/elastic/elasticsearch-net/issues/7057[#7057]) +- Fix resolvable dictionary properties (issue: +https://github.com/elastic/elasticsearch-net/issues/7075[#7075]) + +[discrete] +=== Breaking changes + +Some low-impact changes were made to existing types to fix the resolvable +dictionary properties. We determined it worthwhile to retype the properties to +prefer the interfaces over concrete types. + +[discrete] +==== Changes to dictionary properties on generated types + +As part of fixing the resolvable dictionary properties some low-impact changes +were made to the generated types. We determined it worthwhile to retype the +properties to prefer the interfaces over concrete types. + +Types that are immutable and only apply to server responses now use +`IReadOnlyDictionary` for relevant properties. For mutable types, we prefer +`IDictionary`. + +`HealthResponse.Indices` has changed from a bespoke `ReadOnlyIndexNameDictionary` +property to prefer `IReadOnlyDictionary` to improve ease of use and familiarity. + +[discrete] +==== Internalise ReadOnlyIndexNameDictionary + +After changes for resolvable dictionaries, the `ReadOnlyIndexNameDictionary` type +was made internal and is no longer part of the public API. Properties that +previously used this type are now typed as `IReadOnlyDictionary`. This brings +advantages in being more familiar for developers. + +[discrete] +==== Remove IndexName.GetString(ITransportConfiguration settings) method + +This method is used internally by the client and should not be exposed to +consuming applications. Instead, we prefer explicit interface implementation for +`IUrlParameter.GetString`. + +[discrete] +==== Remove Metric.GetString(ITransportConfiguration settings) method + +This method is used internally by the client and should not be exposed to +consuming applications. Instead, we prefer explicit interface implementation for +`IUrlParameter.GetString`. + +[discrete] +==== Remove TimeStamp.GetString(ITransportConfiguration settings) method + +This method is used internally by the client and should not be exposed to +consuming applications. Instead, we prefer explicit interface implementation for +`IUrlParameter.GetString`. + +[discrete] +==== Remove IndexUuid.GetString(ITransportConfiguration settings) method + +This method is used internally by the client and should not be exposed to +consuming applications. Instead, we prefer explicit interface implementation for +`IUrlParameter.GetString`. + +[discrete] +==== Remove TaskId.GetString(ITransportConfiguration settings) method + +This method is used internally by the client and should not be exposed to +consuming applications. Instead, we prefer explicit interface implementation for +`IUrlParameter.GetString`. + +[discrete] +==== The Metric type is now sealed + +This type has been sealed to align with other types for consistency. We don’t +expect consumers to derive from this type. \ No newline at end of file diff --git a/docs/release-notes/release-notes-8.0.3.asciidoc b/docs/release-notes/release-notes-8.0.3.asciidoc new file mode 100644 index 00000000000..64c8dccfedf --- /dev/null +++ b/docs/release-notes/release-notes-8.0.3.asciidoc @@ -0,0 +1,17 @@ +[[release-notes-8.0.3]] +== Release notes v8.0.3 + +[discrete] +=== Bug fixes + +- Fix field sort serialization (issue: +https://github.com/elastic/elasticsearch-net/issues/7074[#7074]) + +[discrete] +=== Enhancements + +[discrete] +==== Update to Elastic.Transport 0.4.5 + +Upgrades the client to depend on the 0.4.5 release of Elastic.Transport which +includes automatic sending of https://www.elastic.co/guide/en/elasticsearch/reference/current/rest-api-compatibility.html#rest-api-compatibility[REST API compatibility] headers for Elasticsearch requests. \ No newline at end of file diff --git a/docs/release-notes/release-notes-8.0.4.asciidoc b/docs/release-notes/release-notes-8.0.4.asciidoc new file mode 100644 index 00000000000..ac61771ebde --- /dev/null +++ b/docs/release-notes/release-notes-8.0.4.asciidoc @@ -0,0 +1,138 @@ +[[release-notes-8.0.4]] +== Release notes v8.0.4 + +[discrete] +=== Bug fixes + +- Fix code-gen for IndexSettingsAnalysis (issue: +https://github.com/elastic/elasticsearch-net/issues/7118[#7118]) +- Complete implementation of Metrics type +- Update generated code with fixes from 8.6 specification (issue: +https://github.com/elastic/elasticsearch-net/issues/7119[#7119]). Adds `Missing` +property to `MultiTermLookup`. + +[discrete] +=== Breaking changes + +In the course of fixing the code-generation of types used on `IndexSettingsAnalysis`, +several breaking changes were introduced. Some of these were necessary to make the +types usable, while others fixed the consistency of the generated code. + +[discrete] +==== IndexSettingsAnalysis + +Code-generation has been updated to apply transforms to fix the specification +of the `IndexSettingsAnalysis` type. As a result, all properties have been renamed, +and some property types have been changed. + +* The `Analyzer` property is now pluralized and renamed to `Analyzers` to align with +NEST and make it clearer that this can contain more than one analyzer definition. +* The `CharFilter` property is now pluralized and renamed to `CharFilters` to align with +NEST and make it clearer that this can contain more than one char filter definition. +Its type has changes from a `IDictionary` +to `CharFilters`, a tagged union type deriving from IsADictionary`. +* The `Filter` property is now pluralized and renamed to `TokenFilters` to align with +NEST and make it clearer that this can contain more than one token filter definition. +Its type has changes from a `IDictionary` +to `TokenFilters`, a tagged union type deriving from IsADictionary`. +* The `Normalizer` property is now pluralized and renamed to `Normalizers` to align with +NEST and make it clearer that this can contain more than one normalizer definition. +* The `Tokenizer` property is now pluralized and renamed to `Tokenizers` to align with +NEST and make it clearer that this can contain more than one tokenizer definition. +Its type has changes from a `IDictionary` +to `TokenFilters`, a tagged union type deriving from IsADictionary`. + +*_Before_* + +[source,csharp] +---- +public sealed partial class IndexSettingsAnalysis +{ + public Elastic.Clients.Elasticsearch.Analysis.Analyzers? Analyzer { get; set; } + public IDictionary? CharFilter { get; set; } + public IDictionary? Filter { get; set; } + public Elastic.Clients.Elasticsearch.Analysis.Normalizers? Normalizer { get; set; } + public IDictionary? Tokenizer { get; set; } +} +---- + +*_After_* + +[source,csharp] +---- +public sealed partial class IndexSettingsAnalysis +{ + public Elastic.Clients.Elasticsearch.Analysis.Analyzers? Analyzers { get; set; } + public Elastic.Clients.Elasticsearch.Analysis.CharFilters? CharFilters { get; set; } + public Elastic.Clients.Elasticsearch.Analysis.TokenFilters? TokenFilters { get; set; } + public Elastic.Clients.Elasticsearch.Analysis.Normalizers? Normalizers { get; set; } + public Elastic.Clients.Elasticsearch.Analysis.Tokenizers? Tokenizers { get; set; } +} +---- + +The `IndexSettingsAnalysisDescriptor` type has been updated accordingly to apply +the above changes. It now supports a more convenient syntax to easily define +the filters, normalizers and tokenizers that apply to the settings for indices. + +[discrete] +===== Example usage of updated fluent syntax: + +[source,csharp] +---- +var descriptor = new CreateIndexRequestDescriptor("test") + .Settings(s => s + .Analysis(a => a + .Analyzers(a => a + .Stop("stop-name", stop => stop.StopwordsPath("analysis/path.txt")) + .Pattern("pattern-name", pattern => pattern.Version("version")) + .Custom("my-custom-analyzer", c => c + .Filter(new[] { "stop", "synonym" }) + .Tokenizer("standard"))) + .TokenFilters(f => f + .Synonym("synonym", synonym => synonym + .SynonymsPath("analysis/synonym.txt"))))); +---- + +[discrete] +==== Token Filters + +Token filter types now implement the `ITokenFilter` interface, rather than +`ITokenFilterDefinition`. + +The `TokenFilter` union type has been renamed to `CategorizationTokenFilter` to +clearly signify it's use only within ML categorization contexts. + +A `TokenFilters` type has been introduced, which derives from `IsADictionary` and +supports convenient addition of known token filters via the fluent API. + +[discrete] +==== Character Filters + +Character filter types now implement the `ICharFilter` interface, rather than +`ICharFilterDefinition`. + +The `CharFilter` union type has been renamed to `CategorizationCharFilter` to +clearly signify it's use only within ML categorization contexts. + +A `CharFilters` type has been introduced, which derives from `IsADictionary` and +supports convenient addition of known character filters via the fluent API. + +[discrete] +==== Tokenizers + +Tokenizer types now implement the `ITokenizer` interface, rather than +`ITokenizerDefinition`. + +The `Tokenizer` union type has been renamed to `CategorizationTokenizer` to +clearly signify it's use only within ML categorization contexts. + +A `Tokenizers` type has been introduced, which derives from `IsADictionary` and +supports convenient addition of known tokenizers via the fluent API. + +[discrete] +==== IndexManagement.StorageType + +The 8.6 specification fixed this type to mark is as a non-exhaustive enum, since +it supports additional values besides those coded into the specification. As a +result the code-generation for this type causes some breaking changes. The type +is no longer generated as an `enum` and is not a custom `readonly struct`. \ No newline at end of file diff --git a/docs/release-notes/release-notes-8.0.5.asciidoc b/docs/release-notes/release-notes-8.0.5.asciidoc new file mode 100644 index 00000000000..15961356b15 --- /dev/null +++ b/docs/release-notes/release-notes-8.0.5.asciidoc @@ -0,0 +1,98 @@ +[[release-notes-8.0.5]] +== Release notes v8.0.5 + +[discrete] +=== Bug fixes + +- https://github.com/elastic/elasticsearch-net/pull/7171[#7171] Fix code-gen for IndexTemplate (issue: https://github.com/elastic/elasticsearch-net/issues/7161[#7161]) +- https://github.com/elastic/elasticsearch-net/pull/7181[#7181] Fix MultiGet response deserialization for non-matched IDs (issue: https://github.com/elastic/elasticsearch-net/issues/7169[#7169]) +- https://github.com/elastic/elasticsearch-net/pull/7182[#7182] Implement Write method on SourceConfigConverter (issue: https://github.com/elastic/elasticsearch-net/issues/7170[#7170]) +- https://github.com/elastic/elasticsearch-net/pull/7205[#7205] Update to Elastic.Transport to 0.4.6 which improves the version detection used by the REST API compatibility Accept header + +[discrete] +=== Breaking changes + +In the course of fixing the code-generation for index templates to avoid serialization failures, some breaking changes were introduced. + +[discrete] +==== IndexTemplate + +`IndexTemplate` forms part of the `IndexTemplateItem` included on `GetIndexTemplateResponse`. + +* The type for the `ComposedOf` property has changed from `IReadOnlyCollection` to `IReadOnlyCollection` +* The type for the `IndexPatterns` property has changed from `Elastic.Clients.Elasticsearch.Names` to `IReadOnlyCollection` + +*_Before_* + +[source,csharp] +---- +public sealed partial class IndexTemplate +{ + ... + public IReadOnlyCollection ComposedOf { get; init; } + public Elastic.Clients.Elasticsearch.Names IndexPatterns { get; init; } + ... +} +---- + +*_After_* + +[source,csharp] +---- +public sealed partial class IndexTemplate +{ + ... + public IReadOnlyCollection ComposedOf { get; init; } + public IReadOnlyCollection IndexPatterns { get; init; } + ... +} +---- + +[discrete] +==== SimulateIndexTemplateRequest + +* The type for the `ComposedOf` property has changed from `IReadOnlyCollection` to `IReadOnlyCollection` + +*_Before_* + +[source,csharp] +---- +public sealed partial class SimulateIndexTemplateRequest +{ + ... + public IReadOnlyCollection? ComposedOf { get; set; } + ... +} +---- + +*_After_* + +[source,csharp] +---- +public sealed partial class SimulateIndexTemplateRequest +{ + ... + public IReadOnlyCollection? ComposedOf { get; set; } + ... +} +---- + +[discrete] +==== SimulateIndexTemplateRequestDescriptor and SimulateIndexTemplateRequestDescriptor + +The `ComposedOf` method signature has changed to accept a parameter of `ICollection?` instead of +`ICollection?`. + +*_Before_* + +[source,csharp] +---- +public SimulateIndexTemplateRequestDescriptor ComposedOf(ICollection? composedOf) +---- + +*_After_* + +[source,csharp] +---- +public SimulateIndexTemplateRequestDescriptor ComposedOf(ICollection? composedOf) +---- \ No newline at end of file diff --git a/docs/release-notes/release-notes-8.0.6.asciidoc b/docs/release-notes/release-notes-8.0.6.asciidoc new file mode 100644 index 00000000000..301f18470fd --- /dev/null +++ b/docs/release-notes/release-notes-8.0.6.asciidoc @@ -0,0 +1,110 @@ +[[release-notes-8.0.6]] +== Release notes v8.0.6 + +[discrete] +=== Bug fixes + +- https://github.com/elastic/elasticsearch-net/pull/7244[#7244] Fix code-gen for +single or many types. Includes support for deserializing numbers represented as +strings in the JSON payload. (issues: https://github.com/elastic/elasticsearch-net/issues/7221[#7221], +https://github.com/elastic/elasticsearch-net/issues/7234[#7234], +https://github.com/elastic/elasticsearch-net/issues/7240[#7240]). +- https://github.com/elastic/elasticsearch-net/pull/7253[#7253] Fix code-gen for +enums with aliases (issue: https://github.com/elastic/elasticsearch-net/issues/7236[#7236]) +- https://github.com/elastic/elasticsearch-net/pull/7262[#7262] Update to +`Elastic.Transport` 0.4.7 which includes fixes for helpers used during application +testing. + +[discrete] +=== Features + +- https://github.com/elastic/elasticsearch-net/pull/7272[#7272] Support custom JsonSerializerOptions. + +[discrete] +=== Breaking changes + +[discrete] +==== DynamicTemplate + +`DynamicTemplate` forms part of the `TypeMapping` object, included on `GetIndexRespone`. + +* The type for the `Mapping` property has changed from `Elastic.Clients.Elasticsearch.Properties` +to `Elastic.Clients.Elasticsearch.IProperty`. This breaking change fixes an error +introduced by the code-generator. Before introducing this fix, the type could +not correctly deserialize responses for GET index requests and prevented dynamic +templates from being configured for indices via PUT index. + +*_Before_* + +[source,csharp] +---- +public sealed partial class DynamicTemplate +{ + ... + public Elastic.Clients.Elasticsearch.Mapping.Properties? Mapping { get; set; } + ... +} +---- + +*_After_* + +[source,csharp] +---- +public sealed partial class DynamicTemplate +{ + ... + public Elastic.Clients.Elasticsearch.Mapping.IProperty? Mapping { get; set; } + ... +} +---- + +[discrete] +==== TypeMapping + +Among other uses, `TypeMapping` forms part of the `GetIndexRespone`. + +* The `DynamicTemplates` property has been simplified to make it easier to work +with and to fix deserialization failures on certain responses. Rather than use a +`Union` to describe the fact that this property may be a single dictionary of +dynamic templates, or an array of dictionaries, this is now code-generated as a +specialised single or many collection. The API exposes this as an `ICollection` +of dictionaries and the JSON converter is able to handle either an array or +individual dictionary in responses. + +*_Before_* + +[source,csharp] +---- +public sealed partial class TypeMapping +{ + ... + public Union?, ICollection>?>? DynamicTemplates { get; set; } + ... +} +---- + +*_After_* + +[source,csharp] +---- +public sealed partial class TypeMapping +{ + ... + public ICollection>? DynamicTemplates { get; set; } + ... +} +---- + +[discrete] +==== SystemTextJsonSerializer + +The `SystemTextJsonSerializer` is used as a base type for the built-in serializers. Two breaking changes have been made after adding better support for <>. + +The public `Options` property has been made internal. + +A new public abstract method `CreateJsonSerializerOptions` has been added, which derived types must implement. + +[source,csharp] +---- +protected abstract JsonSerializerOptions CreateJsonSerializerOptions(); +---- diff --git a/docs/release-notes/release-notes-8.0.7.asciidoc b/docs/release-notes/release-notes-8.0.7.asciidoc new file mode 100644 index 00000000000..fd5c2261708 --- /dev/null +++ b/docs/release-notes/release-notes-8.0.7.asciidoc @@ -0,0 +1,7 @@ +[[release-notes-8.0.7]] +== Release notes v8.0.7 + +[discrete] +=== Bug fixes + +- https://github.com/elastic/elasticsearch-net/pull/7337[#7337] Fix code-gen for dynamic_templates. (issue: https://github.com/elastic/elasticsearch-net/issues/7234[#7234]) \ No newline at end of file diff --git a/docs/release-notes/release-notes-8.0.8.asciidoc b/docs/release-notes/release-notes-8.0.8.asciidoc new file mode 100644 index 00000000000..9952e1c6cee --- /dev/null +++ b/docs/release-notes/release-notes-8.0.8.asciidoc @@ -0,0 +1,7 @@ +[[release-notes-8.0.8]] +== Release notes v8.0.8 + +[discrete] +=== Bug fixes + +- https://github.com/elastic/elasticsearch-net/pull/7456[#7456] Fix CompletionSuggester based on spec fixes. (issue: https://github.com/elastic/elasticsearch-net/issues/7454[#7454]) diff --git a/docs/release-notes/release-notes-8.0.9.asciidoc b/docs/release-notes/release-notes-8.0.9.asciidoc new file mode 100644 index 00000000000..b9086a404b5 --- /dev/null +++ b/docs/release-notes/release-notes-8.0.9.asciidoc @@ -0,0 +1,34 @@ +[[release-notes-8.0.9]] +== Release notes v8.0.9 + +[discrete] +=== Bug fixes + +- https://github.com/elastic/elasticsearch-net/pull/7446[#7446] Fix byte properties +in index stats types. (issue: https://github.com/elastic/elasticsearch-net/issues/7445[#7445]) + +[discrete] +=== Enhancements + +- https://github.com/elastic/elasticsearch-net/pull/7467[#7467] Source serialization +always sends fractional format for double and floats. (issue: https://github.com/elastic/elasticsearch-net/issues/7051[#7051]) + +[discrete] +=== Breaking changes + +[discrete] +==== Source serialization of float and double properties + +By default, when serializing `double` and `float` properties, the `System.Text.Json` +serializer uses the "G17" format when serializing double types. This format omits +the decimal point and/or trailing zeros if they are not required for the data to +roundtrip. This is generally correct, as JSON doesn't specify a type for numbers. + +However, in the case of source serialization, mappings for numeric properties may +be incorrectly inferred if trailing zeros are omitted. In this release, we have +included a new custom converter for `float` and `double` types when serialized using +the default source serializer. These converters ensure that at least one precision +digit is included after a decimal point, even for round numbers. + +You may therefore observe changes to the serialized source document after +upgrading to this version. \ No newline at end of file diff --git a/docs/release-notes/release-notes-8.1.0.asciidoc b/docs/release-notes/release-notes-8.1.0.asciidoc new file mode 100644 index 00000000000..3fdac1643ff --- /dev/null +++ b/docs/release-notes/release-notes-8.1.0.asciidoc @@ -0,0 +1,90 @@ +[[release-notes-8.1.0]] +== Release notes v8.1.0 + +A core theme of the 8.1.0 release is the reintroduction of many features which +were missing from the 8.0 releases. The 8.x client still does NOT have full +feature parity with NEST and we continue to work on closing these gaps. + +[discrete] +=== Enhancements + +[discrete] +==== Support for additional endpoints + +Adds support for the following endpoints: + +- Cluster.AllocationExplain +- Cluster.Stats +- Cluster.PendingTasks +- DanglingIndices.List +- Enrich.DeletePolicy +- Enrich.ExecutePolicy +- Enrich.PutPolicy +- Enrich.Stats +- Graph.Explore +- IndexManagement.UpdateAliases +- Ingest.GeoIpStats +- Ingest.GetPipeline +- Ingest.ProcessorGrok +- Ingest.PutPipeline +- Ingest.Simulate +- MultiTermVectors +- RenderSearchTemplate +- SearchTemplate +- Tasks.Cancel +- Tasks.Get +- Tasks.List +- TermVectors + +[discrete] +==== Support for additional queries + +Adds support for the following queries: + +- Geo distance +- Geo bounding box +- Geo polygon +- Pinned +- Range queries (date and numeric) +- Raw (can be used as a client specific fallback for missing queries by sending raw JSON) + +[discrete] +==== Support for additional aggregations + +Adds support for the following aggregations: + +- Boxplot +- Bucket sort +- Composite +- Cumulative sum +- Geo bounds +- Geo centroid +- Geo distance +- Geo line +- Geohash grid +- Geohex grid +- Geotile grid +- IP prefix +- Multi terms +- Rare terms +- Significant terms +- Weighted average + +[discrete] +==== Other enhancements + +- *Add support for geo distance sorting.* +Adds support for specifying a `GeoDistanceSort` on `SortOptions`. +- *Add support for weight score on FunctionScore.* +Adds support for specifying a weight score value on the `FunctionScore` type. +- *Code generate XML doc comments.* +The code generator now adds XML doc comments to types and members when present in +the Elasticsearch specification. This acts as an aid when exploring the API in an +IDE such as Visual Studio. +- *Add additional client overloads.* +Adds additional overloads to the `ElasticsearchClient` and namespaced sub-clients +that allow consumers to provide a descriptor instance used when building requests. +- *Add support for bool query operators in Query DSL for object initializer syntax* +Adds support for using operators `&&``, `||`, `!` and `+` to build up bool queries +using the object initializer syntax. NOTE: Operators are not yet supported for +combining queires defined using the fluent descriptor syntax. \ No newline at end of file diff --git a/docs/release-notes/release-notes-8.1.1.asciidoc b/docs/release-notes/release-notes-8.1.1.asciidoc new file mode 100644 index 00000000000..100b6e99f12 --- /dev/null +++ b/docs/release-notes/release-notes-8.1.1.asciidoc @@ -0,0 +1,72 @@ +[[release-notes-8.1.1]] +== Release notes v8.1.1 + +[discrete] +=== Bug fixes + +- https://github.com/elastic/elasticsearch-net/pull/7667[#7667] Fix SQL missing +Rows on QueryResponse (issue: https://github.com/elastic/elasticsearch-net/issues/7663[#7663]) +- https://github.com/elastic/elasticsearch-net/pull/7676[#7676] Ensure async client +methods pass through cancellation token (issue: https://github.com/elastic/elasticsearch-net/issues/7665[#7665]) + +[discrete] +=== Enhancements + +- https://github.com/elastic/elasticsearch-net/pull/7684[#7684] Regenerated code +with latest spec fixes for 8.7 + +[discrete] +=== Breaking changes + +This release includes the following breaking changes as a result of specification fixes: + +[discrete] +==== AsyncSearch and MultisearchBody KnnQuery + +The type for the `SubmitAsyncSearchRequest.Knn` and `MultisearchBody.Knn` properties +has changed to an `ICollection` from a single `KnnQuery` since it is +possible to include more than one query in a request. + +*_Before_* + +[source,csharp] +---- +public sealed partial class SubmitAsyncSearchRequest +{ + ... + public Elastic.Clients.Elasticsearch.KnnQuery? Knn { get; set; } + ... +} +---- + +[source,csharp] +---- +public sealed partial class MultisearchBody +{ + ... + public Elastic.Clients.Elasticsearch.KnnQuery? Knn { get; set; } + ... +} +---- + +*_After_* + +[source,csharp] +---- +public sealed partial class SubmitAsyncSearchRequest +{ + ... + public ICollection? Knn { get; set; } + ... +} +---- + +[source,csharp] +---- +public sealed partial class MultisearchBody +{ + ... + public ICollection? Knn { get; set; } + ... +} +---- \ No newline at end of file diff --git a/docs/release-notes/release-notes-8.1.2.asciidoc b/docs/release-notes/release-notes-8.1.2.asciidoc new file mode 100644 index 00000000000..71c34bca8b2 --- /dev/null +++ b/docs/release-notes/release-notes-8.1.2.asciidoc @@ -0,0 +1,17 @@ +[[release-notes-8.1.2]] +== Release notes v8.1.2 + +[discrete] +=== Bug fixes + +- https://github.com/elastic/elasticsearch-net/pull/7718[#7718] Regen index setting blocks based on fixed spec (issue: https://github.com/elastic/elasticsearch-net/issues/7714[#7714]) + +[discrete] +=== Enhancements + +- https://github.com/elastic/elasticsearch-net/pull/7781[#7781] Bump dependencies (issue: https://github.com/elastic/elasticsearch-net/issues/7752[#7752]) + +[discrete] +=== Docs + +- https://github.com/elastic/elasticsearch-net/pull/7772[#7772] [Backport 8.1] [Backport 8.7][DOCS] Adds getting started content based on the template (issue: https://github.com/elastic/elasticsearch-net/pull/7770[#7770]) \ No newline at end of file diff --git a/docs/release-notes/release-notes-8.1.3.asciidoc b/docs/release-notes/release-notes-8.1.3.asciidoc new file mode 100644 index 00000000000..e436f226717 --- /dev/null +++ b/docs/release-notes/release-notes-8.1.3.asciidoc @@ -0,0 +1,19 @@ +[[release-notes-8.1.3]] +== Release notes v8.1.3 + +[discrete] +=== Bug fixes + +- https://github.com/elastic/elasticsearch-net/pull/7737[#7737] Boosted non-exhaustive enum deserialization (issue: https://github.com/elastic/elasticsearch-net/issues/7729[#7729]) +- https://github.com/elastic/elasticsearch-net/pull/7738[#7738] Complted buckets JSON converter (issue: https://github.com/elastic/elasticsearch-net/issues/7713[#7713]) +- https://github.com/elastic/elasticsearch-net/pull/7753[#7753] Number converters should not fall through and throw exceptions in non NETCore builds (issue: https://github.com/elastic/elasticsearch-net/issues/7757[#7757]) +- https://github.com/elastic/elasticsearch-net/pull/7811[#7811] Fix localization issue with floating-point deserialization from string + +[discrete] +=== Enhancements + +- https://github.com/elastic/elasticsearch-net/pull/7730[#7730] Refactoring and tiny behavior fix for Ids +- https://github.com/elastic/elasticsearch-net/pull/7731[#7731] No allocations in `ResponseItem.IsValid`` property +- https://github.com/elastic/elasticsearch-net/pull/7733[#7733] Fixed the equality contract on Metrics type +- https://github.com/elastic/elasticsearch-net/pull/7735[#7735] Removed unused `JsonIgnore` +- https://github.com/elastic/elasticsearch-net/pull/7736[#7736] Optimized `FieldConverter` \ No newline at end of file diff --git a/docs/release-notes/release-notes-8.10.0.asciidoc b/docs/release-notes/release-notes-8.10.0.asciidoc new file mode 100644 index 00000000000..9b587de7bea --- /dev/null +++ b/docs/release-notes/release-notes-8.10.0.asciidoc @@ -0,0 +1,13 @@ +[[release-notes-8.10.0]] +== Release notes v8.10.0 + +[discrete] +=== Features & Enhancements + +- https://github.com/elastic/elasticsearch-net/pull/7931[#7931] Refactor OpenTelemetry implementation with updated Transport (issue: https://github.com/elastic/elasticsearch-net/issues/7885[#7885]) +- https://github.com/elastic/elasticsearch-net/pull/7953[#7953] Add `TDigestPercentilesAggregate` (issues: https://github.com/elastic/elasticsearch-net/issues/7923[#7923], https://github.com/elastic/elasticsearch-net/issues/7879[#7879]) + +[discrete] +=== Bug fixes + +- https://github.com/elastic/elasticsearch-net/pull/7956[#7956] Add `Similarity` to `KnnQuery` (issue: https://github.com/elastic/elasticsearch-net/issues/7952[#7952]) \ No newline at end of file diff --git a/docs/release-notes/release-notes-8.11.0.asciidoc b/docs/release-notes/release-notes-8.11.0.asciidoc new file mode 100644 index 00000000000..1e002cb0b4e --- /dev/null +++ b/docs/release-notes/release-notes-8.11.0.asciidoc @@ -0,0 +1,13 @@ +[[release-notes-8.11.0]] +== Release notes v8.11.0 + +[discrete] +=== Features & Enhancements + +- https://github.com/elastic/elasticsearch-net/pull/7978[#7978] Regenerate client for 8.11 + +[discrete] +=== Bug fixes + +- https://github.com/elastic/elasticsearch-net/pull/7979[#7979] Add workaround for stringified properties which are not marked properly in specification +- https://github.com/elastic/elasticsearch-net/pull/7965[#7965] Fix `Stringified` converters \ No newline at end of file diff --git a/docs/release-notes/release-notes-8.9.0.asciidoc b/docs/release-notes/release-notes-8.9.0.asciidoc new file mode 100644 index 00000000000..0a622988037 --- /dev/null +++ b/docs/release-notes/release-notes-8.9.0.asciidoc @@ -0,0 +1,15 @@ +[[release-notes-8.9.0]] +== Release notes v8.9.0 + +[discrete] +=== Bug fixes + +- https://github.com/elastic/elasticsearch-net/pull/7839[#7839] Use `Stringified` for `preserve_original` and `indexing_complete` (issue: https://github.com/elastic/elasticsearch-net/issues/7755[#7755]) +- https://github.com/elastic/elasticsearch-net/pull/7840[#7840] Update `Elastic.*` dependencies (issue: https://github.com/elastic/elasticsearch-net/issues/7823[#7823]) +- https://github.com/elastic/elasticsearch-net/pull/7841[#7841] Fix typing of `BulkUpdateOperation.RetryOnConflict` (issue: https://github.com/elastic/elasticsearch-net/issues/7838[#7838]) +- https://github.com/elastic/elasticsearch-net/pull/7854[#7854] Fix custom floating-point JSON converters (issue: https://github.com/elastic/elasticsearch-net/issues/7757[#7757]) + +[discrete] +=== Enhancements + +- https://github.com/elastic/elasticsearch-net/pull/7836[#7836] Regenerate client using 8.9 specification \ No newline at end of file diff --git a/docs/release-notes/release-notes-8.9.1.asciidoc b/docs/release-notes/release-notes-8.9.1.asciidoc new file mode 100644 index 00000000000..ea5a4f19aeb --- /dev/null +++ b/docs/release-notes/release-notes-8.9.1.asciidoc @@ -0,0 +1,7 @@ +[[release-notes-8.9.1]] +== Release notes v8.9.1 + +[discrete] +=== Bug fixes + +- https://github.com/elastic/elasticsearch-net/pull/7864[#7864] Fix `TextExpansionQuery` definition diff --git a/docs/release-notes/release-notes-8.9.2.asciidoc b/docs/release-notes/release-notes-8.9.2.asciidoc new file mode 100644 index 00000000000..e148e5a1673 --- /dev/null +++ b/docs/release-notes/release-notes-8.9.2.asciidoc @@ -0,0 +1,14 @@ +[[release-notes-8.9.2]] +== Release notes v8.9.2 + +[discrete] +=== Bug fixes + + - https://github.com/elastic/elasticsearch-net/pull/7875[#7875] Fix `aggregations` property not being generated for `MultisearchBody` (issue https://github.com/elastic/elasticsearch-net/issues/7873[#7873]) + - https://github.com/elastic/elasticsearch-net/pull/7875[#7875] Remove invalid properties from `SlowlogTresholds` (issue https://github.com/elastic/elasticsearch-net/issues/7865[#7865]) + - https://github.com/elastic/elasticsearch-net/pull/7883[#7883] Remove leading `/` character from API urls (issue: https://github.com/elastic/elasticsearch-net/issues/7878[#7878]) + +[discrete] +=== Features & Enhancements + +- https://github.com/elastic/elasticsearch-net/pull/7869[#7869] Add support for `SimpleQueryStringQuery.flags property (issue: https://github.com/elastic/elasticsearch-net/issues/7863[#7863]) \ No newline at end of file diff --git a/docs/release-notes/release-notes-8.9.3.asciidoc b/docs/release-notes/release-notes-8.9.3.asciidoc new file mode 100644 index 00000000000..efffe9685d9 --- /dev/null +++ b/docs/release-notes/release-notes-8.9.3.asciidoc @@ -0,0 +1,10 @@ +[[release-notes-8.9.3]] +== Release notes v8.9.3 + +[discrete] +=== Features & Enhancements + +- https://github.com/elastic/elasticsearch-net/pull/7894[#7894] Reintroduce suggestion feature (issue: https://github.com/elastic/elasticsearch-net/issues/7390[#7390]) +- https://github.com/elastic/elasticsearch-net/pull/7923[#7923] Add `PercentilesAggregation` and `PercentileRanksAggregation` (issue: https://github.com/elastic/elasticsearch-net/issues/7879[#7879]) +- https://github.com/elastic/elasticsearch-net/pull/7914[#7914] Update `Elastic.Transport` dependency +- https://github.com/elastic/elasticsearch-net/pull/7920[#7920] Regenerate client using the latest specification \ No newline at end of file diff --git a/docs/release-notes/release-notes.asciidoc b/docs/release-notes/release-notes.asciidoc new file mode 100644 index 00000000000..71416f69ca9 --- /dev/null +++ b/docs/release-notes/release-notes.asciidoc @@ -0,0 +1,68 @@ +[[release-notes]] += Release notes + +* <> + +[discrete] +== Version 8.11 + +* <> + +[discrete] +== Version 8.10 + +* <> + +[discrete] +== Version 8.9 + +* <> +* <> +* <> +* <> + +[discrete] +== Version 8.1 + +* <> +* <> +* <> +* <> + +[discrete] +== Version 8.0 + +* <> +* <> +* <> +* <> +* <> +* <> +* <> +* <> +* <> +* <> +* <> + +include::breaking-change-policy.asciidoc[] +include::release-notes-8.11.0.asciidoc[] +include::release-notes-8.10.0.asciidoc[] +include::release-notes-8.9.3.asciidoc[] +include::release-notes-8.9.2.asciidoc[] +include::release-notes-8.9.1.asciidoc[] +include::release-notes-8.9.0.asciidoc[] +include::release-notes-8.1.3.asciidoc[] +include::release-notes-8.1.2.asciidoc[] +include::release-notes-8.1.1.asciidoc[] +include::release-notes-8.1.0.asciidoc[] +include::release-notes-8.0.10.asciidoc[] +include::release-notes-8.0.9.asciidoc[] +include::release-notes-8.0.8.asciidoc[] +include::release-notes-8.0.7.asciidoc[] +include::release-notes-8.0.6.asciidoc[] +include::release-notes-8.0.5.asciidoc[] +include::release-notes-8.0.4.asciidoc[] +include::release-notes-8.0.3.asciidoc[] +include::release-notes-8.0.2.asciidoc[] +include::release-notes-8.0.1.asciidoc[] +include::release-notes-8.0.0.asciidoc[] \ No newline at end of file diff --git a/docs/release-notes/toc.yml b/docs/release-notes/toc.yml deleted file mode 100644 index a4100679473..00000000000 --- a/docs/release-notes/toc.yml +++ /dev/null @@ -1,5 +0,0 @@ -toc: - - file: index.md - - file: known-issues.md - - file: breaking-changes.md - - file: deprecations.md \ No newline at end of file diff --git a/docs/troubleshooting.asciidoc b/docs/troubleshooting.asciidoc new file mode 100644 index 00000000000..c30c6bac554 --- /dev/null +++ b/docs/troubleshooting.asciidoc @@ -0,0 +1,45 @@ +[[troubleshooting]] += Troubleshooting + +[partintro] +-- +The client can provide rich details about what occurred in the request pipeline during the process +of making a request, as well as be configured to provide the raw request and response JSON + +* <> + +* <> + +-- + +[[logging]] +== Logging + +Whilst developing with Elasticsearch using NEST, it can be extremely valuable to see the requests that +NEST generates and sends to Elasticsearch, as well as the responses returned. + +There are a couple of popular ways of capturing this information + +* <> + +* <> + +include::client-concepts/troubleshooting/logging-with-on-request-completed.asciidoc[] + +include::client-concepts/troubleshooting/logging-with-fiddler.asciidoc[] + +[[debugging]] +== Debugging + +When things are going awry, you want to be provided with as much information as possible, to resolve +the issue! + +Elasticsearch.Net and NEST provide an <> and <> to +help get you back on the happy path. + +include::client-concepts/troubleshooting/audit-trail.asciidoc[] + +include::client-concepts/troubleshooting/debug-information.asciidoc[] + +include::client-concepts/troubleshooting/debug-mode.asciidoc[] + diff --git a/docs/usage/esql.asciidoc b/docs/usage/esql.asciidoc new file mode 100644 index 00000000000..7b7c1a0fe42 --- /dev/null +++ b/docs/usage/esql.asciidoc @@ -0,0 +1,69 @@ +[[esql]] +== ES|QL in the .NET client +++++ +Using ES|QL +++++ + +This page helps you understand and use {ref}/esql.html[ES|QL] in the +.NET client. + +There are two ways to use ES|QL in the .NET client: + +* Use the Elasticsearch {es-docs}/esql-apis.html[ES|QL API] directly: This +is the most flexible approach, but it's also the most complex because you must handle +results in their raw form. You can choose the precise format of results, +such as JSON, CSV, or text. +* Use ES|QL high-level helpers: These helpers take care of parsing the raw +response into something readily usable by the application. Several helpers are +available for different use cases, such as object mapping, cursor +traversal of results (in development), and dataframes (in development). + +[discrete] +[[esql-how-to]] +=== How to use the ES|QL API + +The {es-docs}/esql-query-api.html[ES|QL query API] allows you to specify how +results should be returned. You can choose a +{es-docs}/esql-rest.html#esql-rest-format[response format] such as CSV, text, or +JSON, then fine-tune it with parameters like column separators +and locale. + +The following example gets ES|QL results as CSV and parses them: + +[source,charp] +---- +var response = await client.Esql.QueryAsync(r => r + .Query("FROM index") + .Format("csv") +); +var csvContents = Encoding.UTF8.GetString(response.Data); +---- + +[discrete] +[[esql-consume-results]] +=== Consume ES|QL results + +The previous example showed that although the raw ES|QL API offers maximum +flexibility, additional work is required in order to make use of the +result data. + +To simplify things, try working with these three main representations of ES|QL +results (each with its own mapping helper): + +* **Objects**, where each row in the results is mapped to an object from your +application domain. This is similar to what ORMs (object relational mappers) +commonly do. +* **Cursors**, where you scan the results row by row and access the data using +column names. This is similar to database access libraries. +* **Dataframes**, where results are organized in a column-oriented structure that +allows efficient processing of column data. + +[source,charp] +---- +// ObjectAPI example +var response = await client.Esql.QueryAsObjectsAsync(x => x.Query("FROM index")); +foreach (var person in response) +{ + // ... +} +---- diff --git a/docs/usage/examples.asciidoc b/docs/usage/examples.asciidoc new file mode 100644 index 00000000000..501c63b89e9 --- /dev/null +++ b/docs/usage/examples.asciidoc @@ -0,0 +1,122 @@ +[[examples]] +== CRUD usage examples + +This page helps you to understand how to perform various basic {es} CRUD +(create, read, update, delete) operations using the .NET client. It demonstrates +how to create a document by indexing an object into {es}, read a document back, +retrieving it by ID or performing a search, update one of the fields in a +document and delete a specific document. + +These examples assume you have an instance of the `ElasticsearchClient` +accessible via a local variable named `client` and several using directives in +your C# file. + +[source,csharp] +---- +include::{doc-tests-src}/Usage/CrudExamplesTests.cs[tags=using-directives;create-client] +---- +<1> The default constructor, assumes an unsecured {es} server is running and +exposed on 'http://localhost:9200'. See <> for examples +of connecting to secured servers and https://www.elastic.co/cloud[Elastic Cloud] +deployments. + +The examples operate on data representing tweets. Tweets are modelled in the +client application using a C# class named 'Tweet' containing several properties +that map to the document structure being stored in {es}. + +[source,csharp] +---- +include::{doc-tests-src}/Usage/CrudExamplesTests.cs[tag=tweet-class] +---- +<1> By default, the .NET client will try to find a property called `Id` on the +class. When such a property is present it will index the document into {es} +using the ID specified by the value of this property. + + +[discrete] +[[indexing-net]] +=== Indexing a document + +Documents can be indexed by creating an instance representing a tweet and +indexing it via the client. In these examples, we will work with an index named +'my-tweet-index'. + +[source,csharp] +---- +include::{doc-tests-src}/Usage/CrudExamplesTests.cs[tag=create-tweet] +---- +<1> Create an instance of the `Tweet` class with relevant properties set. +<2> Prefer the async APIs, which require awaiting the response. +<3> Check the `IsValid` property on the response to confirm that the request and +operation succeeded. +<4> Access the `IndexResponse` properties, such as the ID, if necessary. + +[discrete] +[[getting-net]] +=== Getting a document + +[source,csharp] +---- +include::{doc-tests-src}/Usage/CrudExamplesTests.cs[tag=get-tweet] +---- +<1> The `GetResponse` is mapped 1-to-1 with the Elasticsearch JSON response. +<2> The original document is deserialized as an instance of the Tweet class, +accessible on the response via the `Source` property. + + +[discrete] +[[searching-net]] +=== Searching for documents + +The client exposes a fluent interface and a powerful query DSL for searching. + +[source,csharp] +---- +include::{doc-tests-src}/Usage/CrudExamplesTests.cs[tag=search-tweet-fluent] +---- +<1> The generic type argument specifies the `Tweet` class, which is used when +deserialising the hits from the response. +<2> The index can be omitted if a `DefaultIndex` has been configured on +`ElasticsearchClientSettings`, or a specific index was configured when mapping +this type. +<3> Execute a term query against the `user` field, searching for tweets authored +by the user 'stevejgordon'. +<4> Documents matched by the query are accessible via the `Documents` collection +property on the `SearchResponse`. + +You may prefer using the object initializer syntax for requests if lambdas +aren't your thing. + +[source,csharp] +---- +include::{doc-tests-src}/Usage/CrudExamplesTests.cs[tag=search-tweet-object-initializer] +---- +<1> Create an instance of `SearchRequest`, setting properties to control the +search operation. +<2> Pass the request to the `SearchAsync` method on the client. + +[discrete] +[[updating-net]] +=== Updating documents + +Documents can be updated in several ways, including by providing a complete +replacement for an existing document ID. + +[source,csharp] +---- +include::{doc-tests-src}/Usage/CrudExamplesTests.cs[tag=update-tweet] +---- +<1> Update a property on the existing tweet instance. +<2> Send the updated tweet object in the update request. + + +[discrete] +[[deleting-net]] +=== Deleting documents + +Documents can be deleted by providing the ID of the document to remove. + +[source,csharp] +---- +include::{doc-tests-src}/Usage/CrudExamplesTests.cs[tag=delete-tweet] +---- diff --git a/docs/usage/index.asciidoc b/docs/usage/index.asciidoc new file mode 100644 index 00000000000..f4ae4474730 --- /dev/null +++ b/docs/usage/index.asciidoc @@ -0,0 +1,25 @@ +[[usage]] += Using the .NET Client + +[partintro] +The sections below provide tutorials on the most frequently used and some less obvious features of {es}. + +For a full reference, see the {ref}/[Elasticsearch documentation] and in particular the {ref}/rest-apis.html[REST APIs] section. The {net-client} follows closely the JSON structures described there. + +A .NET API reference documentation for the Elasticsearch client package is available https://elastic.github.io/elasticsearch-net[here]. + +If you're new to {es}, make sure also to read {ref}/getting-started.html[Elasticsearch's quick start] that provides a good introduction. + +* <> +* <> +* <> + +NOTE: This is still a work in progress, more sections will be added in the near future. + +include::aggregations.asciidoc[] +include::esql.asciidoc[] +include::examples.asciidoc[] +include::mappings.asciidoc[] +include::query.asciidoc[] +include::recommendations.asciidoc[] +include::transport.asciidoc[] diff --git a/docs/usage/recommendations.asciidoc b/docs/usage/recommendations.asciidoc new file mode 100644 index 00000000000..b7f02a3589c --- /dev/null +++ b/docs/usage/recommendations.asciidoc @@ -0,0 +1,37 @@ +[[recommendations]] +== Usage recommendations + +To achieve the most efficient use of the {net-client}, we recommend following +the guidance defined in this article. + +[discrete] +=== Reuse the same client instance + +When working with the {net-client} we recommend that consumers reuse a single +instance of `ElasticsearchClient` for the entire lifetime of the application. +When reusing the same instance: + +- initialization overhead is limited to the first usage. +- resources such as TCP connections can be pooled and reused to improve +efficiency. +- serialization overhead is reduced, improving performance. + +The `ElasticsearchClient` type is thread-safe and can be shared and reused +across multiple threads in consuming applications. Client reuse can be achieved +by creating a singleton static instance or by registering the type with a +singleton lifetime when using dependency injection containers. + +[discrete] +=== Prefer asynchronous methods + +The {net-client} exposes synchronous and asynchronous methods on the +`ElasticsearchClient`. We recommend always preferring the asynchronous methods, +which have the `Async` suffix. Using the {net-client} requires sending HTTP +requests to {es} servers. Access to {es} is sometimes slow or delayed, and some +complex queries may take several seconds to return. If such operations are +blocked by calling the synchronous methods, the thread must wait until the HTTP +request is complete. In high-load scenarios, this can cause significant thread +usage, potentially affecting the throughput and performance of consuming +applications. By preferring the asynchronous methods, application threads can +continue with other work that doesn't depend on the web resource until the +potentially blocking task completes. \ No newline at end of file diff --git a/docs/reference/transport.md b/docs/usage/transport.asciidoc similarity index 79% rename from docs/reference/transport.md rename to docs/usage/transport.asciidoc index 8af799958ab..3e15fbd0b90 100644 --- a/docs/reference/transport.md +++ b/docs/usage/transport.asciidoc @@ -1,13 +1,10 @@ ---- -mapped_pages: - - https://www.elastic.co/guide/en/elasticsearch/client/net-api/current/transport.html ---- - -# Transport example [transport] +[[transport]] +== Transport example This page demonstrates how to use the low level transport to send requests. -```csharp +[source,csharp] +---- public class MyRequestParameters : RequestParameters { public bool Pretty @@ -22,7 +19,7 @@ public class MyRequestParameters : RequestParameters var body = """ { "name": "my-api-key", - "expiration": "1d", + "expiration": "1d", "...": "..." } """; @@ -36,7 +33,7 @@ var pathAndQuery = requestParameters.CreatePathWithQueryStrings("/_security/api_ client.ElasticsearchClientSettings); var endpointPath = new EndpointPath(Elastic.Transport.HttpMethod.POST, pathAndQuery); -// Or, if the path does not contain query parameters: +// Or, if the path does not contain query parameters: // new EndpointPath(Elastic.Transport.HttpMethod.POST, "my_path") var response = await client.Transport @@ -47,5 +44,4 @@ var response = await client.Transport null, cancellationToken: default) .ConfigureAwait(false); -``` - +---- From a63f648710dfee90804e1142ed7579636702a3cf Mon Sep 17 00:00:00 2001 From: Florian Bernd Date: Mon, 26 May 2025 16:42:55 +0200 Subject: [PATCH 21/25] Add `OnBeforeRequest` callback (#8541) (#8543) --- .../Elastic.Clients.Elasticsearch.csproj | 2 +- .../_Shared/Client/ElasticsearchClient.cs | 112 +++++++++--------- .../_Shared/Client/NamespacedClientProxy.cs | 39 +++--- .../ElasticsearchClientSettings.cs | 20 +++- .../IElasticsearchClientSettings.cs | 24 ++++ .../_Shared/Core/Request/Request.cs | 3 +- src/Playground/Playground.csproj | 2 +- 7 files changed, 118 insertions(+), 84 deletions(-) diff --git a/src/Elastic.Clients.Elasticsearch/Elastic.Clients.Elasticsearch.csproj b/src/Elastic.Clients.Elasticsearch/Elastic.Clients.Elasticsearch.csproj index 9945a675d3f..0b6d8e66e0a 100644 --- a/src/Elastic.Clients.Elasticsearch/Elastic.Clients.Elasticsearch.csproj +++ b/src/Elastic.Clients.Elasticsearch/Elastic.Clients.Elasticsearch.csproj @@ -31,7 +31,7 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/src/Elastic.Clients.Elasticsearch/_Shared/Client/ElasticsearchClient.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Client/ElasticsearchClient.cs index afda07d6c1a..5399abd131a 100644 --- a/src/Elastic.Clients.Elasticsearch/_Shared/Client/ElasticsearchClient.cs +++ b/src/Elastic.Clients.Elasticsearch/_Shared/Client/ElasticsearchClient.cs @@ -6,12 +6,9 @@ using System.Collections.Generic; using System.Diagnostics; using System.Linq; -using System.Runtime.CompilerServices; -using System.Text.Json; using System.Threading.Tasks; using System.Threading; using Elastic.Transport; -using Elastic.Transport.Diagnostics; using Elastic.Clients.Elasticsearch.Requests; @@ -28,18 +25,23 @@ public partial class ElasticsearchClient private const string OpenTelemetrySchemaVersion = "https://opentelemetry.io/schemas/1.21.0"; private readonly ITransport _transport; - internal static ConditionalWeakTable SettingsTable { get; } = new(); /// /// Creates a client configured to connect to http://localhost:9200. /// - public ElasticsearchClient() : this(new ElasticsearchClientSettings(new Uri("http://localhost:9200"))) { } + public ElasticsearchClient() : + this(new ElasticsearchClientSettings(new Uri("http://localhost:9200"))) + { + } /// /// Creates a client configured to connect to a node reachable at the provided . /// /// The to connect to. - public ElasticsearchClient(Uri uri) : this(new ElasticsearchClientSettings(uri)) { } + public ElasticsearchClient(Uri uri) : + this(new ElasticsearchClientSettings(uri)) + { + } /// /// Creates a client configured to communicate with Elastic Cloud using the provided . @@ -51,8 +53,8 @@ public ElasticsearchClient(Uri uri) : this(new ElasticsearchClientSettings(uri)) /// /// The Cloud ID of an Elastic Cloud deployment. /// The credentials to use for the connection. - public ElasticsearchClient(string cloudId, AuthorizationHeader credentials) : this( - new ElasticsearchClientSettings(cloudId, credentials)) + public ElasticsearchClient(string cloudId, AuthorizationHeader credentials) : + this(new ElasticsearchClientSettings(cloudId, credentials)) { } @@ -69,8 +71,7 @@ internal ElasticsearchClient(ITransport transport) { transport.ThrowIfNull(nameof(transport)); transport.Configuration.ThrowIfNull(nameof(transport.Configuration)); - transport.Configuration.RequestResponseSerializer.ThrowIfNull( - nameof(transport.Configuration.RequestResponseSerializer)); + transport.Configuration.RequestResponseSerializer.ThrowIfNull(nameof(transport.Configuration.RequestResponseSerializer)); transport.Configuration.Inferrer.ThrowIfNull(nameof(transport.Configuration.Inferrer)); _transport = transport; @@ -96,47 +97,38 @@ private enum ProductCheckStatus private partial void SetupNamespaces(); - internal TResponse DoRequest(TRequest request) - where TRequest : Request - where TResponse : TransportResponse, new() - where TRequestParameters : RequestParameters, new() => - DoRequest(request, null); - internal TResponse DoRequest( - TRequest request, - Action? forceConfiguration) + TRequest request) where TRequest : Request where TResponse : TransportResponse, new() where TRequestParameters : RequestParameters, new() - => DoRequestCoreAsync(false, request, forceConfiguration).EnsureCompleted(); - - internal Task DoRequestAsync( - TRequest request, - CancellationToken cancellationToken = default) - where TRequest : Request - where TResponse : TransportResponse, new() - where TRequestParameters : RequestParameters, new() - => DoRequestAsync(request, null, cancellationToken); + { + return DoRequestCoreAsync(false, request).EnsureCompleted(); + } internal Task DoRequestAsync( TRequest request, - Action? forceConfiguration, CancellationToken cancellationToken = default) where TRequest : Request where TResponse : TransportResponse, new() where TRequestParameters : RequestParameters, new() - => DoRequestCoreAsync(true, request, forceConfiguration, cancellationToken).AsTask(); + { + return DoRequestCoreAsync(true, request, cancellationToken).AsTask(); + } private ValueTask DoRequestCoreAsync( bool isAsync, TRequest request, - Action? forceConfiguration, CancellationToken cancellationToken = default) where TRequest : Request where TResponse : TransportResponse, new() where TRequestParameters : RequestParameters, new() { - // The product check modifies request parameters and therefore must not be executed concurrently. + if (request is null) + { + throw new ArgumentNullException(nameof(request)); + } + // We use a lockless CAS approach to make sure that only a single product check request is executed at a time. // We do not guarantee that the product check is always performed on the first request. @@ -157,12 +149,12 @@ private ValueTask DoRequestCoreAsync SendRequest() { - var (endpointPath, resolvedRouteValues, postData) = PrepareRequest(request); - var openTelemetryDataMutator = GetOpenTelemetryDataMutator(request, resolvedRouteValues); + PrepareRequest(request, out var endpointPath, out var postData, out var requestConfiguration, out var routeValues); + var openTelemetryDataMutator = GetOpenTelemetryDataMutator(request, routeValues); return isAsync - ? new ValueTask(_transport.RequestAsync(endpointPath, postData, openTelemetryDataMutator, request.RequestConfiguration, cancellationToken)) - : new ValueTask(_transport.Request(endpointPath, postData, openTelemetryDataMutator, request.RequestConfiguration)); + ? new ValueTask(_transport.RequestAsync(endpointPath, postData, openTelemetryDataMutator, requestConfiguration, cancellationToken)) + : new ValueTask(_transport.Request(endpointPath, postData, openTelemetryDataMutator, requestConfiguration)); } async ValueTask SendRequestWithProductCheck() @@ -178,7 +170,9 @@ async ValueTask SendRequestWithProductCheck() // 32-bit read/write operations are atomic and due to the initial memory barrier, we can be sure that // no other thread executes the product check at the same time. Locked access is not required here. if (_productCheckStatus is (int)ProductCheckStatus.InProgress) + { _productCheckStatus = (int)ProductCheckStatus.NotChecked; + } throw; } @@ -186,26 +180,25 @@ async ValueTask SendRequestWithProductCheck() async ValueTask SendRequestWithProductCheckCore() { + PrepareRequest(request, out var endpointPath, out var postData, out var requestConfiguration, out var routeValues); + var openTelemetryDataMutator = GetOpenTelemetryDataMutator(request, routeValues); + // Attach product check header - // TODO: The copy constructor should accept null values - var requestConfig = (request.RequestConfiguration is null) - ? new RequestConfiguration() + var requestConfig = (requestConfiguration is null) + ? new RequestConfiguration { ResponseHeadersToParse = new HeadersList("x-elastic-product") } - : new RequestConfiguration(request.RequestConfiguration) + : new RequestConfiguration(requestConfiguration) { - ResponseHeadersToParse = (request.RequestConfiguration.ResponseHeadersToParse is { Count: > 0 }) - ? new HeadersList(request.RequestConfiguration.ResponseHeadersToParse, "x-elastic-product") + ResponseHeadersToParse = (requestConfiguration.ResponseHeadersToParse is { Count: > 0 }) + ? new HeadersList(requestConfiguration.ResponseHeadersToParse, "x-elastic-product") : new HeadersList("x-elastic-product") }; // Send request - var (endpointPath, resolvedRouteValues, postData) = PrepareRequest(request); - var openTelemetryDataMutator = GetOpenTelemetryDataMutator(request, resolvedRouteValues); - TResponse response; if (isAsync) @@ -239,7 +232,9 @@ async ValueTask SendRequestWithProductCheckCore() : (int)ProductCheckStatus.Failed; if (_productCheckStatus == (int)ProductCheckStatus.Failed) + { throw new UnsupportedProductException(UnsupportedProductException.InvalidProductError); + } return response; } @@ -249,15 +244,17 @@ async ValueTask SendRequestWithProductCheckCore() where TRequest : Request where TRequestParameters : RequestParameters, new() { - // If there are no subscribed listeners, we avoid some work and allocations + // If there are no subscribed listeners, we avoid some work and allocations. if (!Elastic.Transport.Diagnostics.OpenTelemetry.ElasticTransportActivitySourceHasListeners) + { return null; + } return OpenTelemetryDataMutator; void OpenTelemetryDataMutator(Activity activity) { - // We fall back to a general operation name in cases where the derived request fails to override the property + // We fall back to a general operation name in cases where the derived request fails to override the property. var operationName = !string.IsNullOrEmpty(request.OperationName) ? request.OperationName : request.HttpMethod.GetStringValue(); // TODO: Optimisation: We should consider caching these, either for cases where resolvedRouteValues is null, or @@ -267,7 +264,7 @@ void OpenTelemetryDataMutator(Activity activity) // The latter may bloat the cache as some combinations of path parts may rarely re-occur. activity.DisplayName = operationName; - + activity.SetTag(OpenTelemetry.SemanticConventions.DbOperation, !string.IsNullOrEmpty(request.OperationName) ? request.OperationName : "unknown"); activity.SetTag($"{OpenTelemetrySpanAttributePrefix}schema_url", OpenTelemetrySchemaVersion); @@ -282,21 +279,26 @@ void OpenTelemetryDataMutator(Activity activity) } } - private (EndpointPath endpointPath, Dictionary? resolvedRouteValues, PostData data) PrepareRequest(TRequest request) + private void PrepareRequest( + TRequest request, + out EndpointPath endpointPath, + out PostData? postData, + out IRequestConfiguration? requestConfiguration, + out Dictionary? routeValues) where TRequest : Request where TRequestParameters : RequestParameters, new() { - request.ThrowIfNull(nameof(request), "A request is required."); - - var (resolvedUrl, _, routeValues) = request.GetUrl(ElasticsearchClientSettings); + var (resolvedUrl, _, resolvedRouteValues) = request.GetUrl(ElasticsearchClientSettings); var pathAndQuery = request.RequestParameters.CreatePathWithQueryStrings(resolvedUrl, ElasticsearchClientSettings); - var postData = - request.HttpMethod == HttpMethod.GET || - request.HttpMethod == HttpMethod.HEAD || !request.SupportsBody + routeValues = resolvedRouteValues; + endpointPath = new EndpointPath(request.HttpMethod, pathAndQuery); + postData = + request.HttpMethod is HttpMethod.GET or HttpMethod.HEAD || !request.SupportsBody ? null : PostData.Serializable(request); - return (new EndpointPath(request.HttpMethod, pathAndQuery), routeValues, postData); + requestConfiguration = request.RequestConfiguration; + ElasticsearchClientSettings.OnBeforeRequest?.Invoke(this, request, endpointPath, ref postData, ref requestConfiguration); } } diff --git a/src/Elastic.Clients.Elasticsearch/_Shared/Client/NamespacedClientProxy.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Client/NamespacedClientProxy.cs index 65b32e91a8a..b7aeacb4fcc 100644 --- a/src/Elastic.Clients.Elasticsearch/_Shared/Client/NamespacedClientProxy.cs +++ b/src/Elastic.Clients.Elasticsearch/_Shared/Client/NamespacedClientProxy.cs @@ -5,15 +5,16 @@ using System; using System.Threading; using System.Threading.Tasks; + using Elastic.Clients.Elasticsearch.Requests; using Elastic.Transport; -using Elastic.Transport.Products.Elasticsearch; namespace Elastic.Clients.Elasticsearch; public abstract class NamespacedClientProxy { - private const string InvalidOperation = "The client has not been initialised for proper usage as may have been partially mocked. Ensure you are using a " + + private const string InvalidOperation = + "The client has not been initialised for proper usage as may have been partially mocked. Ensure you are using a " + "new instance of ElasticsearchClient to perform requests over a network to Elasticsearch."; protected ElasticsearchClient Client { get; } @@ -21,27 +22,24 @@ public abstract class NamespacedClientProxy /// /// Initializes a new instance for mocking. /// - protected NamespacedClientProxy() { } + protected NamespacedClientProxy() + { + } internal NamespacedClientProxy(ElasticsearchClient client) => Client = client; - internal TResponse DoRequest(TRequest request) - where TRequest : Request - where TResponse : TransportResponse, new() - where TRequestParameters : RequestParameters, new() - => DoRequest(request, null); - internal TResponse DoRequest( - TRequest request, - Action? forceConfiguration) + TRequest request) where TRequest : Request where TResponse : TransportResponse, new() where TRequestParameters : RequestParameters, new() { if (Client is null) - ThrowHelper.ThrowInvalidOperationException(InvalidOperation); + { + throw new InvalidOperationException(InvalidOperation); + } - return Client.DoRequest(request, forceConfiguration); + return Client.DoRequest(request); } internal Task DoRequestAsync( @@ -49,20 +47,13 @@ internal Task DoRequestAsync CancellationToken cancellationToken = default) where TRequest : Request where TResponse : TransportResponse, new() - where TRequestParameters : RequestParameters, new() - => DoRequestAsync(request, null, cancellationToken); - - internal Task DoRequestAsync( - TRequest request, - Action? forceConfiguration, - CancellationToken cancellationToken = default) - where TRequest : Request - where TResponse : TransportResponse, new() where TRequestParameters : RequestParameters, new() { if (Client is null) - ThrowHelper.ThrowInvalidOperationException(InvalidOperation); + { + throw new InvalidOperationException(InvalidOperation); + } - return Client.DoRequestAsync(request, forceConfiguration, cancellationToken); + return Client.DoRequestAsync(request, cancellationToken); } } diff --git a/src/Elastic.Clients.Elasticsearch/_Shared/Core/Configuration/ElasticsearchClientSettings.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Core/Configuration/ElasticsearchClientSettings.cs index 4c655162fd6..9b5197a4b95 100644 --- a/src/Elastic.Clients.Elasticsearch/_Shared/Core/Configuration/ElasticsearchClientSettings.cs +++ b/src/Elastic.Clients.Elasticsearch/_Shared/Core/Configuration/ElasticsearchClientSettings.cs @@ -8,9 +8,10 @@ using System.Linq; using System.Linq.Expressions; using System.Reflection; +using System.Runtime.InteropServices; using Elastic.Clients.Elasticsearch.Esql; - +using Elastic.Clients.Elasticsearch.Requests; using Elastic.Clients.Elasticsearch.Serialization; using Elastic.Transport; @@ -110,6 +111,7 @@ public abstract class ElasticsearchClientSettingsBase : private readonly FluentDictionary _propertyMappings = new(); private readonly FluentDictionary _routeProperties = new(); private readonly Serializer _sourceSerializer; + private BeforeRequestEvent? _onBeforeRequest; private bool _experimentalEnableSerializeNullInferredValues; private ExperimentalSettings _experimentalSettings = new(); @@ -158,7 +160,7 @@ protected ElasticsearchClientSettingsBase( FluentDictionary IElasticsearchClientSettings.RouteProperties => _routeProperties; Serializer IElasticsearchClientSettings.SourceSerializer => _sourceSerializer; - + BeforeRequestEvent? IElasticsearchClientSettings.OnBeforeRequest => _onBeforeRequest; ExperimentalSettings IElasticsearchClientSettings.Experimental => _experimentalSettings; bool IElasticsearchClientSettings.ExperimentalEnableSerializeNullInferredValues => _experimentalEnableSerializeNullInferredValues; @@ -322,6 +324,20 @@ public TConnectionSettings DefaultMappingFor(IEnumerable typeMap return (TConnectionSettings)this; } + + /// + public TConnectionSettings OnBeforeRequest(BeforeRequestEvent handler) + { + return Assign(handler, static (a, v) => a._onBeforeRequest += v ?? DefaultBeforeRequestHandler); + } + + private static void DefaultBeforeRequestHandler(ElasticsearchClient client, + Request request, + EndpointPath endpointPath, + ref PostData? postData, + ref IRequestConfiguration? requestConfiguration) + { + } } /// diff --git a/src/Elastic.Clients.Elasticsearch/_Shared/Core/Configuration/IElasticsearchClientSettings.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Core/Configuration/IElasticsearchClientSettings.cs index 37bf49198a6..ffda6461b83 100644 --- a/src/Elastic.Clients.Elasticsearch/_Shared/Core/Configuration/IElasticsearchClientSettings.cs +++ b/src/Elastic.Clients.Elasticsearch/_Shared/Core/Configuration/IElasticsearchClientSettings.cs @@ -5,10 +5,26 @@ using System; using System.Collections.Generic; using System.Reflection; +using Elastic.Clients.Elasticsearch.Requests; using Elastic.Transport; namespace Elastic.Clients.Elasticsearch; +/// +/// An event that is fired before a request is sent. +/// +/// The instance used to send the request. +/// The request. +/// The endpoint path. +/// The post data. +/// The request configuration. +public delegate void BeforeRequestEvent( + ElasticsearchClient client, + Request request, + EndpointPath endpointPath, + ref PostData? postData, + ref IRequestConfiguration? requestConfiguration); + /// /// Provides the connection settings for Elastic.Clients.Elasticsearch's high level /// @@ -91,6 +107,14 @@ public interface IElasticsearchClientSettings : ITransportConfiguration /// Serializer SourceSerializer { get; } + /// + /// A callback that is invoked immediately before a request is sent. + /// + /// Allows to dynamically update the and . + /// + /// + BeforeRequestEvent? OnBeforeRequest { get; } + /// /// This is an advanced setting which controls serialization behaviour for inferred properies such as ID, routing and index name. /// When enabled, it may reduce allocations on serialisation paths where the cost can be more significant, such as in bulk operations. diff --git a/src/Elastic.Clients.Elasticsearch/_Shared/Core/Request/Request.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Core/Request/Request.cs index f748358cf9d..cb269041d2f 100644 --- a/src/Elastic.Clients.Elasticsearch/_Shared/Core/Request/Request.cs +++ b/src/Elastic.Clients.Elasticsearch/_Shared/Core/Request/Request.cs @@ -57,7 +57,8 @@ protected virtual (string ResolvedUrl, string UrlTemplate, Dictionary? resolvedRouteValues) GetUrl(IElasticsearchClientSettings settings) => ResolveUrl(RouteValues, settings); diff --git a/src/Playground/Playground.csproj b/src/Playground/Playground.csproj index 7028e3859b3..61254173cb2 100644 --- a/src/Playground/Playground.csproj +++ b/src/Playground/Playground.csproj @@ -13,7 +13,7 @@ - + From b03dbc6cae27d5fd0be16c503eca5ff45abfeea7 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 29 May 2025 21:32:54 +0200 Subject: [PATCH 22/25] Update `Elastic.Transport` (#8549) (#8550) Co-authored-by: Florian Bernd --- .../Elastic.Clients.Elasticsearch.csproj | 2 +- src/Playground/Playground.csproj | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Elastic.Clients.Elasticsearch/Elastic.Clients.Elasticsearch.csproj b/src/Elastic.Clients.Elasticsearch/Elastic.Clients.Elasticsearch.csproj index 0b6d8e66e0a..bb9197f0bc9 100644 --- a/src/Elastic.Clients.Elasticsearch/Elastic.Clients.Elasticsearch.csproj +++ b/src/Elastic.Clients.Elasticsearch/Elastic.Clients.Elasticsearch.csproj @@ -31,7 +31,7 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/src/Playground/Playground.csproj b/src/Playground/Playground.csproj index 61254173cb2..5e1fb0a86ed 100644 --- a/src/Playground/Playground.csproj +++ b/src/Playground/Playground.csproj @@ -13,7 +13,7 @@ - + From 463e34f4f5555052b35c1244b51c11f2bfeaa868 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 2 Jun 2025 12:10:01 +0200 Subject: [PATCH 23/25] Fix `IndexName` ambiguity (#8556) (#8557) Co-authored-by: Florian Bernd --- .../_Generated/Api/DeleteRequest.g.cs | 5 + .../_Generated/Api/ExistsRequest.g.cs | 5 + .../_Generated/Api/ExistsSourceRequest.g.cs | 5 + .../_Generated/Api/ExplainRequest.g.cs | 5 + .../_Generated/Api/GetRequest.g.cs | 5 + .../_Generated/Api/GetSourceRequest.g.cs | 5 + .../Client/ElasticsearchClient.g.cs | 102 ++++++++++++++++++ .../Types/QueryDsl/DateRangeQuery.g.cs | 46 +------- .../Types/QueryDsl/NumberRangeQuery.g.cs | 46 +------- .../Types/QueryDsl/TermRangeQuery.g.cs | 46 +------- .../Types/QueryDsl/UntypedRangeQuery.g.cs | 46 +------- .../_Shared/Api/BulkRequest.cs | 11 ++ 12 files changed, 147 insertions(+), 180 deletions(-) diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/DeleteRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/DeleteRequest.g.cs index 54fb28ded4f..a37c40e5f44 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/DeleteRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/DeleteRequest.g.cs @@ -611,6 +611,11 @@ public DeleteRequestDescriptor(Elastic.Clients.Elasticsearch.IndexName index, El Instance = new Elastic.Clients.Elasticsearch.DeleteRequest(index, id); } + public DeleteRequestDescriptor(string index, Elastic.Clients.Elasticsearch.Id id) + { + Instance = new Elastic.Clients.Elasticsearch.DeleteRequest((Elastic.Clients.Elasticsearch.IndexName)index, id); + } + public DeleteRequestDescriptor(TDocument document) { Instance = new Elastic.Clients.Elasticsearch.DeleteRequest(typeof(TDocument), Elastic.Clients.Elasticsearch.Id.From(document)); diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/ExistsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/ExistsRequest.g.cs index 21725210d8c..68a57ba22d8 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/ExistsRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/ExistsRequest.g.cs @@ -659,6 +659,11 @@ public ExistsRequestDescriptor(Elastic.Clients.Elasticsearch.IndexName index, El Instance = new Elastic.Clients.Elasticsearch.ExistsRequest(index, id); } + public ExistsRequestDescriptor(string index, Elastic.Clients.Elasticsearch.Id id) + { + Instance = new Elastic.Clients.Elasticsearch.ExistsRequest((Elastic.Clients.Elasticsearch.IndexName)index, id); + } + public ExistsRequestDescriptor(TDocument document) { Instance = new Elastic.Clients.Elasticsearch.ExistsRequest(typeof(TDocument), Elastic.Clients.Elasticsearch.Id.From(document)); diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/ExistsSourceRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/ExistsSourceRequest.g.cs index 30dee1597ae..69ec3b5b575 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/ExistsSourceRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/ExistsSourceRequest.g.cs @@ -541,6 +541,11 @@ public ExistsSourceRequestDescriptor(Elastic.Clients.Elasticsearch.IndexName ind Instance = new Elastic.Clients.Elasticsearch.ExistsSourceRequest(index, id); } + public ExistsSourceRequestDescriptor(string index, Elastic.Clients.Elasticsearch.Id id) + { + Instance = new Elastic.Clients.Elasticsearch.ExistsSourceRequest((Elastic.Clients.Elasticsearch.IndexName)index, id); + } + public ExistsSourceRequestDescriptor(TDocument document) { Instance = new Elastic.Clients.Elasticsearch.ExistsSourceRequest(typeof(TDocument), Elastic.Clients.Elasticsearch.Id.From(document)); diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/ExplainRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/ExplainRequest.g.cs index 3d383d1fb8d..13ff52fde28 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/ExplainRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/ExplainRequest.g.cs @@ -682,6 +682,11 @@ public ExplainRequestDescriptor(Elastic.Clients.Elasticsearch.IndexName index, E Instance = new Elastic.Clients.Elasticsearch.ExplainRequest(index, id); } + public ExplainRequestDescriptor(string index, Elastic.Clients.Elasticsearch.Id id) + { + Instance = new Elastic.Clients.Elasticsearch.ExplainRequest((Elastic.Clients.Elasticsearch.IndexName)index, id); + } + public ExplainRequestDescriptor(TDocument document) { Instance = new Elastic.Clients.Elasticsearch.ExplainRequest(typeof(TDocument), Elastic.Clients.Elasticsearch.Id.From(document)); diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/GetRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/GetRequest.g.cs index 6b5a6ed241f..1ba52d8db38 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/GetRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/GetRequest.g.cs @@ -831,6 +831,11 @@ public GetRequestDescriptor(Elastic.Clients.Elasticsearch.IndexName index, Elast Instance = new Elastic.Clients.Elasticsearch.GetRequest(index, id); } + public GetRequestDescriptor(string index, Elastic.Clients.Elasticsearch.Id id) + { + Instance = new Elastic.Clients.Elasticsearch.GetRequest((Elastic.Clients.Elasticsearch.IndexName)index, id); + } + public GetRequestDescriptor(TDocument document) { Instance = new Elastic.Clients.Elasticsearch.GetRequest(typeof(TDocument), Elastic.Clients.Elasticsearch.Id.From(document)); diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/GetSourceRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/GetSourceRequest.g.cs index 936f3dd5be1..f4c77282c86 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/GetSourceRequest.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/GetSourceRequest.g.cs @@ -584,6 +584,11 @@ public GetSourceRequestDescriptor(Elastic.Clients.Elasticsearch.IndexName index, Instance = new Elastic.Clients.Elasticsearch.GetSourceRequest(index, id); } + public GetSourceRequestDescriptor(string index, Elastic.Clients.Elasticsearch.Id id) + { + Instance = new Elastic.Clients.Elasticsearch.GetSourceRequest((Elastic.Clients.Elasticsearch.IndexName)index, id); + } + public GetSourceRequestDescriptor(TDocument document) { Instance = new Elastic.Clients.Elasticsearch.GetSourceRequest(typeof(TDocument), Elastic.Clients.Elasticsearch.Id.From(document)); diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.g.cs index 4e1c4d2df31..ad17753b7b8 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.g.cs @@ -567,6 +567,23 @@ public virtual Elastic.Clients.Elasticsearch.DeleteResponse Delete(Elastic.Clien return DoRequest(request); } + public virtual Elastic.Clients.Elasticsearch.DeleteResponse Delete(string index, Elastic.Clients.Elasticsearch.Id id) + { + var builder = new Elastic.Clients.Elasticsearch.DeleteRequestDescriptor(index, id); + var request = builder.Instance; + request.BeforeRequest(); + return DoRequest(request); + } + + public virtual Elastic.Clients.Elasticsearch.DeleteResponse Delete(string index, Elastic.Clients.Elasticsearch.Id id, System.Action action) + { + var builder = new Elastic.Clients.Elasticsearch.DeleteRequestDescriptor(index, id); + action.Invoke(builder); + var request = builder.Instance; + request.BeforeRequest(); + return DoRequest(request); + } + public virtual Elastic.Clients.Elasticsearch.DeleteResponse Delete(Elastic.Clients.Elasticsearch.IndexName index, Elastic.Clients.Elasticsearch.Id id, System.Action> action) { var builder = new Elastic.Clients.Elasticsearch.DeleteRequestDescriptor(index, id); @@ -650,6 +667,23 @@ public virtual Elastic.Clients.Elasticsearch.DeleteResponse Delete(El return DoRequestAsync(request, cancellationToken); } + public virtual System.Threading.Tasks.Task DeleteAsync(string index, Elastic.Clients.Elasticsearch.Id id, System.Threading.CancellationToken cancellationToken = default) + { + var builder = new Elastic.Clients.Elasticsearch.DeleteRequestDescriptor(index, id); + var request = builder.Instance; + request.BeforeRequest(); + return DoRequestAsync(request, cancellationToken); + } + + public virtual System.Threading.Tasks.Task DeleteAsync(string index, Elastic.Clients.Elasticsearch.Id id, System.Action action, System.Threading.CancellationToken cancellationToken = default) + { + var builder = new Elastic.Clients.Elasticsearch.DeleteRequestDescriptor(index, id); + action.Invoke(builder); + var request = builder.Instance; + request.BeforeRequest(); + return DoRequestAsync(request, cancellationToken); + } + public virtual System.Threading.Tasks.Task DeleteAsync(Elastic.Clients.Elasticsearch.IndexName index, Elastic.Clients.Elasticsearch.Id id, System.Action> action, System.Threading.CancellationToken cancellationToken = default) { var builder = new Elastic.Clients.Elasticsearch.DeleteRequestDescriptor(index, id); @@ -923,6 +957,23 @@ public virtual Elastic.Clients.Elasticsearch.ExistsResponse Exists(Elastic.Clien return DoRequest(request); } + public virtual Elastic.Clients.Elasticsearch.ExistsResponse Exists(string index, Elastic.Clients.Elasticsearch.Id id) + { + var builder = new Elastic.Clients.Elasticsearch.ExistsRequestDescriptor(index, id); + var request = builder.Instance; + request.BeforeRequest(); + return DoRequest(request); + } + + public virtual Elastic.Clients.Elasticsearch.ExistsResponse Exists(string index, Elastic.Clients.Elasticsearch.Id id, System.Action action) + { + var builder = new Elastic.Clients.Elasticsearch.ExistsRequestDescriptor(index, id); + action.Invoke(builder); + var request = builder.Instance; + request.BeforeRequest(); + return DoRequest(request); + } + public virtual Elastic.Clients.Elasticsearch.ExistsResponse Exists(Elastic.Clients.Elasticsearch.IndexName index, Elastic.Clients.Elasticsearch.Id id, System.Action> action) { var builder = new Elastic.Clients.Elasticsearch.ExistsRequestDescriptor(index, id); @@ -1006,6 +1057,23 @@ public virtual Elastic.Clients.Elasticsearch.ExistsResponse Exists(El return DoRequestAsync(request, cancellationToken); } + public virtual System.Threading.Tasks.Task ExistsAsync(string index, Elastic.Clients.Elasticsearch.Id id, System.Threading.CancellationToken cancellationToken = default) + { + var builder = new Elastic.Clients.Elasticsearch.ExistsRequestDescriptor(index, id); + var request = builder.Instance; + request.BeforeRequest(); + return DoRequestAsync(request, cancellationToken); + } + + public virtual System.Threading.Tasks.Task ExistsAsync(string index, Elastic.Clients.Elasticsearch.Id id, System.Action action, System.Threading.CancellationToken cancellationToken = default) + { + var builder = new Elastic.Clients.Elasticsearch.ExistsRequestDescriptor(index, id); + action.Invoke(builder); + var request = builder.Instance; + request.BeforeRequest(); + return DoRequestAsync(request, cancellationToken); + } + public virtual System.Threading.Tasks.Task ExistsAsync(Elastic.Clients.Elasticsearch.IndexName index, Elastic.Clients.Elasticsearch.Id id, System.Action> action, System.Threading.CancellationToken cancellationToken = default) { var builder = new Elastic.Clients.Elasticsearch.ExistsRequestDescriptor(index, id); @@ -1089,6 +1157,23 @@ public virtual Elastic.Clients.Elasticsearch.ExistsSourceResponse ExistsSource(E return DoRequest(request); } + public virtual Elastic.Clients.Elasticsearch.ExistsSourceResponse ExistsSource(string index, Elastic.Clients.Elasticsearch.Id id) + { + var builder = new Elastic.Clients.Elasticsearch.ExistsSourceRequestDescriptor(index, id); + var request = builder.Instance; + request.BeforeRequest(); + return DoRequest(request); + } + + public virtual Elastic.Clients.Elasticsearch.ExistsSourceResponse ExistsSource(string index, Elastic.Clients.Elasticsearch.Id id, System.Action action) + { + var builder = new Elastic.Clients.Elasticsearch.ExistsSourceRequestDescriptor(index, id); + action.Invoke(builder); + var request = builder.Instance; + request.BeforeRequest(); + return DoRequest(request); + } + public virtual Elastic.Clients.Elasticsearch.ExistsSourceResponse ExistsSource(Elastic.Clients.Elasticsearch.IndexName index, Elastic.Clients.Elasticsearch.Id id, System.Action> action) { var builder = new Elastic.Clients.Elasticsearch.ExistsSourceRequestDescriptor(index, id); @@ -1172,6 +1257,23 @@ public virtual Elastic.Clients.Elasticsearch.ExistsSourceResponse ExistsSource(request, cancellationToken); } + public virtual System.Threading.Tasks.Task ExistsSourceAsync(string index, Elastic.Clients.Elasticsearch.Id id, System.Threading.CancellationToken cancellationToken = default) + { + var builder = new Elastic.Clients.Elasticsearch.ExistsSourceRequestDescriptor(index, id); + var request = builder.Instance; + request.BeforeRequest(); + return DoRequestAsync(request, cancellationToken); + } + + public virtual System.Threading.Tasks.Task ExistsSourceAsync(string index, Elastic.Clients.Elasticsearch.Id id, System.Action action, System.Threading.CancellationToken cancellationToken = default) + { + var builder = new Elastic.Clients.Elasticsearch.ExistsSourceRequestDescriptor(index, id); + action.Invoke(builder); + var request = builder.Instance; + request.BeforeRequest(); + return DoRequestAsync(request, cancellationToken); + } + public virtual System.Threading.Tasks.Task ExistsSourceAsync(Elastic.Clients.Elasticsearch.IndexName index, Elastic.Clients.Elasticsearch.Id id, System.Action> action, System.Threading.CancellationToken cancellationToken = default) { var builder = new Elastic.Clients.Elasticsearch.ExistsSourceRequestDescriptor(index, id); diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/DateRangeQuery.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/DateRangeQuery.g.cs index 2a390e134a5..f0d39d66d23 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/DateRangeQuery.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/DateRangeQuery.g.cs @@ -27,7 +27,6 @@ internal sealed partial class DateRangeQueryConverter : System.Text.Json.Seriali { private static readonly System.Text.Json.JsonEncodedText PropBoost = System.Text.Json.JsonEncodedText.Encode("boost"); private static readonly System.Text.Json.JsonEncodedText PropFormat = System.Text.Json.JsonEncodedText.Encode("format"); - private static readonly System.Text.Json.JsonEncodedText PropFrom = System.Text.Json.JsonEncodedText.Encode("from"); private static readonly System.Text.Json.JsonEncodedText PropGt = System.Text.Json.JsonEncodedText.Encode("gt"); private static readonly System.Text.Json.JsonEncodedText PropGte = System.Text.Json.JsonEncodedText.Encode("gte"); private static readonly System.Text.Json.JsonEncodedText PropLt = System.Text.Json.JsonEncodedText.Encode("lt"); @@ -35,7 +34,6 @@ internal sealed partial class DateRangeQueryConverter : System.Text.Json.Seriali private static readonly System.Text.Json.JsonEncodedText PropQueryName = System.Text.Json.JsonEncodedText.Encode("_name"); private static readonly System.Text.Json.JsonEncodedText PropRelation = System.Text.Json.JsonEncodedText.Encode("relation"); private static readonly System.Text.Json.JsonEncodedText PropTimeZone = System.Text.Json.JsonEncodedText.Encode("time_zone"); - private static readonly System.Text.Json.JsonEncodedText PropTo = System.Text.Json.JsonEncodedText.Encode("to"); public override Elastic.Clients.Elasticsearch.QueryDsl.DateRangeQuery Read(ref System.Text.Json.Utf8JsonReader reader, System.Type typeToConvert, System.Text.Json.JsonSerializerOptions options) { @@ -47,7 +45,6 @@ public override Elastic.Clients.Elasticsearch.QueryDsl.DateRangeQuery Read(ref S reader.ValidateToken(System.Text.Json.JsonTokenType.StartObject); LocalJsonValue propBoost = default; LocalJsonValue propFormat = default; - LocalJsonValue propFrom = default; LocalJsonValue propGt = default; LocalJsonValue propGte = default; LocalJsonValue propLt = default; @@ -55,7 +52,6 @@ public override Elastic.Clients.Elasticsearch.QueryDsl.DateRangeQuery Read(ref S LocalJsonValue propQueryName = default; LocalJsonValue propRelation = default; LocalJsonValue propTimeZone = default; - LocalJsonValue propTo = default; while (reader.Read() && reader.TokenType is System.Text.Json.JsonTokenType.PropertyName) { if (propBoost.TryReadProperty(ref reader, options, PropBoost, null)) @@ -68,11 +64,6 @@ public override Elastic.Clients.Elasticsearch.QueryDsl.DateRangeQuery Read(ref S continue; } - if (propFrom.TryReadProperty(ref reader, options, PropFrom, null)) - { - continue; - } - if (propGt.TryReadProperty(ref reader, options, PropGt, null)) { continue; @@ -108,11 +99,6 @@ public override Elastic.Clients.Elasticsearch.QueryDsl.DateRangeQuery Read(ref S continue; } - if (propTo.TryReadProperty(ref reader, options, PropTo, null)) - { - continue; - } - if (options.UnmappedMemberHandling is System.Text.Json.Serialization.JsonUnmappedMemberHandling.Skip) { reader.Skip(); @@ -130,15 +116,13 @@ public override Elastic.Clients.Elasticsearch.QueryDsl.DateRangeQuery Read(ref S Boost = propBoost.Value, Field = propField.Value, Format = propFormat.Value, - From = propFrom.Value, Gt = propGt.Value, Gte = propGte.Value, Lt = propLt.Value, Lte = propLte.Value, QueryName = propQueryName.Value, Relation = propRelation.Value, - TimeZone = propTimeZone.Value, - To = propTo.Value + TimeZone = propTimeZone.Value }; } @@ -149,7 +133,6 @@ public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clien writer.WriteStartObject(); writer.WriteProperty(options, PropBoost, value.Boost, null, null); writer.WriteProperty(options, PropFormat, value.Format, null, null); - writer.WriteProperty(options, PropFrom, value.From, null, null); writer.WriteProperty(options, PropGt, value.Gt, null, null); writer.WriteProperty(options, PropGte, value.Gte, null, null); writer.WriteProperty(options, PropLt, value.Lt, null, null); @@ -157,7 +140,6 @@ public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clien writer.WriteProperty(options, PropQueryName, value.QueryName, null, null); writer.WriteProperty(options, PropRelation, value.Relation, null, null); writer.WriteProperty(options, PropTimeZone, value.TimeZone, null, null); - writer.WriteProperty(options, PropTo, value.To, null, null); writer.WriteEndObject(); writer.WriteEndObject(); } @@ -203,7 +185,6 @@ internal DateRangeQuery(Elastic.Clients.Elasticsearch.Serialization.JsonConstruc /// /// public string? Format { get; set; } - public Elastic.Clients.Elasticsearch.DateMath? From { get; set; } /// /// @@ -247,7 +228,6 @@ internal DateRangeQuery(Elastic.Clients.Elasticsearch.Serialization.JsonConstruc /// /// public string? TimeZone { get; set; } - public Elastic.Clients.Elasticsearch.DateMath? To { get; set; } string Elastic.Clients.Elasticsearch.QueryDsl.IRangeQuery.Type => "date"; } @@ -308,12 +288,6 @@ public Elastic.Clients.Elasticsearch.QueryDsl.DateRangeQueryDescriptor From(Elastic.Clients.Elasticsearch.DateMath? value) - { - Instance.From = value; - return this; - } - /// /// /// Greater than. @@ -386,12 +360,6 @@ public Elastic.Clients.Elasticsearch.QueryDsl.DateRangeQueryDescriptor To(Elastic.Clients.Elasticsearch.DateMath? value) - { - Instance.To = value; - return this; - } - [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] internal static Elastic.Clients.Elasticsearch.QueryDsl.DateRangeQuery Build(System.Action> action) { @@ -457,12 +425,6 @@ public Elastic.Clients.Elasticsearch.QueryDsl.DateRangeQueryDescriptor Format(st return this; } - public Elastic.Clients.Elasticsearch.QueryDsl.DateRangeQueryDescriptor From(Elastic.Clients.Elasticsearch.DateMath? value) - { - Instance.From = value; - return this; - } - /// /// /// Greater than. @@ -535,12 +497,6 @@ public Elastic.Clients.Elasticsearch.QueryDsl.DateRangeQueryDescriptor TimeZone( return this; } - public Elastic.Clients.Elasticsearch.QueryDsl.DateRangeQueryDescriptor To(Elastic.Clients.Elasticsearch.DateMath? value) - { - Instance.To = value; - return this; - } - [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] internal static Elastic.Clients.Elasticsearch.QueryDsl.DateRangeQuery Build(System.Action action) { diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/NumberRangeQuery.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/NumberRangeQuery.g.cs index 5facaf08a84..5e6e186e62f 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/NumberRangeQuery.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/NumberRangeQuery.g.cs @@ -26,14 +26,12 @@ namespace Elastic.Clients.Elasticsearch.QueryDsl; internal sealed partial class NumberRangeQueryConverter : System.Text.Json.Serialization.JsonConverter { private static readonly System.Text.Json.JsonEncodedText PropBoost = System.Text.Json.JsonEncodedText.Encode("boost"); - private static readonly System.Text.Json.JsonEncodedText PropFrom = System.Text.Json.JsonEncodedText.Encode("from"); private static readonly System.Text.Json.JsonEncodedText PropGt = System.Text.Json.JsonEncodedText.Encode("gt"); private static readonly System.Text.Json.JsonEncodedText PropGte = System.Text.Json.JsonEncodedText.Encode("gte"); private static readonly System.Text.Json.JsonEncodedText PropLt = System.Text.Json.JsonEncodedText.Encode("lt"); private static readonly System.Text.Json.JsonEncodedText PropLte = System.Text.Json.JsonEncodedText.Encode("lte"); private static readonly System.Text.Json.JsonEncodedText PropQueryName = System.Text.Json.JsonEncodedText.Encode("_name"); private static readonly System.Text.Json.JsonEncodedText PropRelation = System.Text.Json.JsonEncodedText.Encode("relation"); - private static readonly System.Text.Json.JsonEncodedText PropTo = System.Text.Json.JsonEncodedText.Encode("to"); public override Elastic.Clients.Elasticsearch.QueryDsl.NumberRangeQuery Read(ref System.Text.Json.Utf8JsonReader reader, System.Type typeToConvert, System.Text.Json.JsonSerializerOptions options) { @@ -44,14 +42,12 @@ public override Elastic.Clients.Elasticsearch.QueryDsl.NumberRangeQuery Read(ref reader.Read(); reader.ValidateToken(System.Text.Json.JsonTokenType.StartObject); LocalJsonValue propBoost = default; - LocalJsonValue propFrom = default; LocalJsonValue propGt = default; LocalJsonValue propGte = default; LocalJsonValue propLt = default; LocalJsonValue propLte = default; LocalJsonValue propQueryName = default; LocalJsonValue propRelation = default; - LocalJsonValue propTo = default; while (reader.Read() && reader.TokenType is System.Text.Json.JsonTokenType.PropertyName) { if (propBoost.TryReadProperty(ref reader, options, PropBoost, null)) @@ -59,11 +55,6 @@ public override Elastic.Clients.Elasticsearch.QueryDsl.NumberRangeQuery Read(ref continue; } - if (propFrom.TryReadProperty(ref reader, options, PropFrom, null)) - { - continue; - } - if (propGt.TryReadProperty(ref reader, options, PropGt, null)) { continue; @@ -94,11 +85,6 @@ public override Elastic.Clients.Elasticsearch.QueryDsl.NumberRangeQuery Read(ref continue; } - if (propTo.TryReadProperty(ref reader, options, PropTo, null)) - { - continue; - } - if (options.UnmappedMemberHandling is System.Text.Json.Serialization.JsonUnmappedMemberHandling.Skip) { reader.Skip(); @@ -115,14 +101,12 @@ public override Elastic.Clients.Elasticsearch.QueryDsl.NumberRangeQuery Read(ref { Boost = propBoost.Value, Field = propField.Value, - From = propFrom.Value, Gt = propGt.Value, Gte = propGte.Value, Lt = propLt.Value, Lte = propLte.Value, QueryName = propQueryName.Value, - Relation = propRelation.Value, - To = propTo.Value + Relation = propRelation.Value }; } @@ -132,14 +116,12 @@ public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clien writer.WritePropertyName(options, value.Field, null); writer.WriteStartObject(); writer.WriteProperty(options, PropBoost, value.Boost, null, null); - writer.WriteProperty(options, PropFrom, value.From, null, null); writer.WriteProperty(options, PropGt, value.Gt, null, null); writer.WriteProperty(options, PropGte, value.Gte, null, null); writer.WriteProperty(options, PropLt, value.Lt, null, null); writer.WriteProperty(options, PropLte, value.Lte, null, null); writer.WriteProperty(options, PropQueryName, value.QueryName, null, null); writer.WriteProperty(options, PropRelation, value.Relation, null, null); - writer.WriteProperty(options, PropTo, value.To, null, null); writer.WriteEndObject(); writer.WriteEndObject(); } @@ -178,7 +160,6 @@ internal NumberRangeQuery(Elastic.Clients.Elasticsearch.Serialization.JsonConstr required #endif Elastic.Clients.Elasticsearch.Field Field { get; set; } - public double? From { get; set; } /// /// @@ -215,7 +196,6 @@ internal NumberRangeQuery(Elastic.Clients.Elasticsearch.Serialization.JsonConstr /// /// public Elastic.Clients.Elasticsearch.QueryDsl.RangeRelation? Relation { get; set; } - public double? To { get; set; } string Elastic.Clients.Elasticsearch.QueryDsl.IRangeQuery.Type => "number"; } @@ -265,12 +245,6 @@ public Elastic.Clients.Elasticsearch.QueryDsl.NumberRangeQueryDescriptor From(double? value) - { - Instance.From = value; - return this; - } - /// /// /// Greater than. @@ -332,12 +306,6 @@ public Elastic.Clients.Elasticsearch.QueryDsl.NumberRangeQueryDescriptor To(double? value) - { - Instance.To = value; - return this; - } - [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] internal static Elastic.Clients.Elasticsearch.QueryDsl.NumberRangeQuery Build(System.Action> action) { @@ -392,12 +360,6 @@ public Elastic.Clients.Elasticsearch.QueryDsl.NumberRangeQueryDescriptor Field /// /// Greater than. @@ -459,12 +421,6 @@ public Elastic.Clients.Elasticsearch.QueryDsl.NumberRangeQueryDescriptor Relatio return this; } - public Elastic.Clients.Elasticsearch.QueryDsl.NumberRangeQueryDescriptor To(double? value) - { - Instance.To = value; - return this; - } - [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] internal static Elastic.Clients.Elasticsearch.QueryDsl.NumberRangeQuery Build(System.Action action) { diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/TermRangeQuery.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/TermRangeQuery.g.cs index c096df4a21a..46d01c44851 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/TermRangeQuery.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/TermRangeQuery.g.cs @@ -26,14 +26,12 @@ namespace Elastic.Clients.Elasticsearch.QueryDsl; internal sealed partial class TermRangeQueryConverter : System.Text.Json.Serialization.JsonConverter { private static readonly System.Text.Json.JsonEncodedText PropBoost = System.Text.Json.JsonEncodedText.Encode("boost"); - private static readonly System.Text.Json.JsonEncodedText PropFrom = System.Text.Json.JsonEncodedText.Encode("from"); private static readonly System.Text.Json.JsonEncodedText PropGt = System.Text.Json.JsonEncodedText.Encode("gt"); private static readonly System.Text.Json.JsonEncodedText PropGte = System.Text.Json.JsonEncodedText.Encode("gte"); private static readonly System.Text.Json.JsonEncodedText PropLt = System.Text.Json.JsonEncodedText.Encode("lt"); private static readonly System.Text.Json.JsonEncodedText PropLte = System.Text.Json.JsonEncodedText.Encode("lte"); private static readonly System.Text.Json.JsonEncodedText PropQueryName = System.Text.Json.JsonEncodedText.Encode("_name"); private static readonly System.Text.Json.JsonEncodedText PropRelation = System.Text.Json.JsonEncodedText.Encode("relation"); - private static readonly System.Text.Json.JsonEncodedText PropTo = System.Text.Json.JsonEncodedText.Encode("to"); public override Elastic.Clients.Elasticsearch.QueryDsl.TermRangeQuery Read(ref System.Text.Json.Utf8JsonReader reader, System.Type typeToConvert, System.Text.Json.JsonSerializerOptions options) { @@ -44,14 +42,12 @@ public override Elastic.Clients.Elasticsearch.QueryDsl.TermRangeQuery Read(ref S reader.Read(); reader.ValidateToken(System.Text.Json.JsonTokenType.StartObject); LocalJsonValue propBoost = default; - LocalJsonValue propFrom = default; LocalJsonValue propGt = default; LocalJsonValue propGte = default; LocalJsonValue propLt = default; LocalJsonValue propLte = default; LocalJsonValue propQueryName = default; LocalJsonValue propRelation = default; - LocalJsonValue propTo = default; while (reader.Read() && reader.TokenType is System.Text.Json.JsonTokenType.PropertyName) { if (propBoost.TryReadProperty(ref reader, options, PropBoost, null)) @@ -59,11 +55,6 @@ public override Elastic.Clients.Elasticsearch.QueryDsl.TermRangeQuery Read(ref S continue; } - if (propFrom.TryReadProperty(ref reader, options, PropFrom, null)) - { - continue; - } - if (propGt.TryReadProperty(ref reader, options, PropGt, null)) { continue; @@ -94,11 +85,6 @@ public override Elastic.Clients.Elasticsearch.QueryDsl.TermRangeQuery Read(ref S continue; } - if (propTo.TryReadProperty(ref reader, options, PropTo, null)) - { - continue; - } - if (options.UnmappedMemberHandling is System.Text.Json.Serialization.JsonUnmappedMemberHandling.Skip) { reader.Skip(); @@ -115,14 +101,12 @@ public override Elastic.Clients.Elasticsearch.QueryDsl.TermRangeQuery Read(ref S { Boost = propBoost.Value, Field = propField.Value, - From = propFrom.Value, Gt = propGt.Value, Gte = propGte.Value, Lt = propLt.Value, Lte = propLte.Value, QueryName = propQueryName.Value, - Relation = propRelation.Value, - To = propTo.Value + Relation = propRelation.Value }; } @@ -132,14 +116,12 @@ public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clien writer.WritePropertyName(options, value.Field, null); writer.WriteStartObject(); writer.WriteProperty(options, PropBoost, value.Boost, null, null); - writer.WriteProperty(options, PropFrom, value.From, null, null); writer.WriteProperty(options, PropGt, value.Gt, null, null); writer.WriteProperty(options, PropGte, value.Gte, null, null); writer.WriteProperty(options, PropLt, value.Lt, null, null); writer.WriteProperty(options, PropLte, value.Lte, null, null); writer.WriteProperty(options, PropQueryName, value.QueryName, null, null); writer.WriteProperty(options, PropRelation, value.Relation, null, null); - writer.WriteProperty(options, PropTo, value.To, null, null); writer.WriteEndObject(); writer.WriteEndObject(); } @@ -178,7 +160,6 @@ internal TermRangeQuery(Elastic.Clients.Elasticsearch.Serialization.JsonConstruc required #endif Elastic.Clients.Elasticsearch.Field Field { get; set; } - public string? From { get; set; } /// /// @@ -215,7 +196,6 @@ internal TermRangeQuery(Elastic.Clients.Elasticsearch.Serialization.JsonConstruc /// /// public Elastic.Clients.Elasticsearch.QueryDsl.RangeRelation? Relation { get; set; } - public string? To { get; set; } string Elastic.Clients.Elasticsearch.QueryDsl.IRangeQuery.Type => "term"; } @@ -265,12 +245,6 @@ public Elastic.Clients.Elasticsearch.QueryDsl.TermRangeQueryDescriptor From(string? value) - { - Instance.From = value; - return this; - } - /// /// /// Greater than. @@ -332,12 +306,6 @@ public Elastic.Clients.Elasticsearch.QueryDsl.TermRangeQueryDescriptor To(string? value) - { - Instance.To = value; - return this; - } - [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] internal static Elastic.Clients.Elasticsearch.QueryDsl.TermRangeQuery Build(System.Action> action) { @@ -392,12 +360,6 @@ public Elastic.Clients.Elasticsearch.QueryDsl.TermRangeQueryDescriptor Field( return this; } - public Elastic.Clients.Elasticsearch.QueryDsl.TermRangeQueryDescriptor From(string? value) - { - Instance.From = value; - return this; - } - /// /// /// Greater than. @@ -459,12 +421,6 @@ public Elastic.Clients.Elasticsearch.QueryDsl.TermRangeQueryDescriptor Relation( return this; } - public Elastic.Clients.Elasticsearch.QueryDsl.TermRangeQueryDescriptor To(string? value) - { - Instance.To = value; - return this; - } - [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] internal static Elastic.Clients.Elasticsearch.QueryDsl.TermRangeQuery Build(System.Action action) { diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/UntypedRangeQuery.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/UntypedRangeQuery.g.cs index 77bc5431175..70cfeb1b20b 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/UntypedRangeQuery.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/UntypedRangeQuery.g.cs @@ -27,7 +27,6 @@ internal sealed partial class UntypedRangeQueryConverter : System.Text.Json.Seri { private static readonly System.Text.Json.JsonEncodedText PropBoost = System.Text.Json.JsonEncodedText.Encode("boost"); private static readonly System.Text.Json.JsonEncodedText PropFormat = System.Text.Json.JsonEncodedText.Encode("format"); - private static readonly System.Text.Json.JsonEncodedText PropFrom = System.Text.Json.JsonEncodedText.Encode("from"); private static readonly System.Text.Json.JsonEncodedText PropGt = System.Text.Json.JsonEncodedText.Encode("gt"); private static readonly System.Text.Json.JsonEncodedText PropGte = System.Text.Json.JsonEncodedText.Encode("gte"); private static readonly System.Text.Json.JsonEncodedText PropLt = System.Text.Json.JsonEncodedText.Encode("lt"); @@ -35,7 +34,6 @@ internal sealed partial class UntypedRangeQueryConverter : System.Text.Json.Seri private static readonly System.Text.Json.JsonEncodedText PropQueryName = System.Text.Json.JsonEncodedText.Encode("_name"); private static readonly System.Text.Json.JsonEncodedText PropRelation = System.Text.Json.JsonEncodedText.Encode("relation"); private static readonly System.Text.Json.JsonEncodedText PropTimeZone = System.Text.Json.JsonEncodedText.Encode("time_zone"); - private static readonly System.Text.Json.JsonEncodedText PropTo = System.Text.Json.JsonEncodedText.Encode("to"); public override Elastic.Clients.Elasticsearch.QueryDsl.UntypedRangeQuery Read(ref System.Text.Json.Utf8JsonReader reader, System.Type typeToConvert, System.Text.Json.JsonSerializerOptions options) { @@ -47,7 +45,6 @@ public override Elastic.Clients.Elasticsearch.QueryDsl.UntypedRangeQuery Read(re reader.ValidateToken(System.Text.Json.JsonTokenType.StartObject); LocalJsonValue propBoost = default; LocalJsonValue propFormat = default; - LocalJsonValue propFrom = default; LocalJsonValue propGt = default; LocalJsonValue propGte = default; LocalJsonValue propLt = default; @@ -55,7 +52,6 @@ public override Elastic.Clients.Elasticsearch.QueryDsl.UntypedRangeQuery Read(re LocalJsonValue propQueryName = default; LocalJsonValue propRelation = default; LocalJsonValue propTimeZone = default; - LocalJsonValue propTo = default; while (reader.Read() && reader.TokenType is System.Text.Json.JsonTokenType.PropertyName) { if (propBoost.TryReadProperty(ref reader, options, PropBoost, null)) @@ -68,11 +64,6 @@ public override Elastic.Clients.Elasticsearch.QueryDsl.UntypedRangeQuery Read(re continue; } - if (propFrom.TryReadProperty(ref reader, options, PropFrom, null)) - { - continue; - } - if (propGt.TryReadProperty(ref reader, options, PropGt, null)) { continue; @@ -108,11 +99,6 @@ public override Elastic.Clients.Elasticsearch.QueryDsl.UntypedRangeQuery Read(re continue; } - if (propTo.TryReadProperty(ref reader, options, PropTo, null)) - { - continue; - } - if (options.UnmappedMemberHandling is System.Text.Json.Serialization.JsonUnmappedMemberHandling.Skip) { reader.Skip(); @@ -130,15 +116,13 @@ public override Elastic.Clients.Elasticsearch.QueryDsl.UntypedRangeQuery Read(re Boost = propBoost.Value, Field = propField.Value, Format = propFormat.Value, - From = propFrom.Value, Gt = propGt.Value, Gte = propGte.Value, Lt = propLt.Value, Lte = propLte.Value, QueryName = propQueryName.Value, Relation = propRelation.Value, - TimeZone = propTimeZone.Value, - To = propTo.Value + TimeZone = propTimeZone.Value }; } @@ -149,7 +133,6 @@ public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clien writer.WriteStartObject(); writer.WriteProperty(options, PropBoost, value.Boost, null, null); writer.WriteProperty(options, PropFormat, value.Format, null, null); - writer.WriteProperty(options, PropFrom, value.From, null, null); writer.WriteProperty(options, PropGt, value.Gt, null, null); writer.WriteProperty(options, PropGte, value.Gte, null, null); writer.WriteProperty(options, PropLt, value.Lt, null, null); @@ -157,7 +140,6 @@ public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clien writer.WriteProperty(options, PropQueryName, value.QueryName, null, null); writer.WriteProperty(options, PropRelation, value.Relation, null, null); writer.WriteProperty(options, PropTimeZone, value.TimeZone, null, null); - writer.WriteProperty(options, PropTo, value.To, null, null); writer.WriteEndObject(); writer.WriteEndObject(); } @@ -203,7 +185,6 @@ internal UntypedRangeQuery(Elastic.Clients.Elasticsearch.Serialization.JsonConst /// /// public string? Format { get; set; } - public object? From { get; set; } /// /// @@ -247,7 +228,6 @@ internal UntypedRangeQuery(Elastic.Clients.Elasticsearch.Serialization.JsonConst /// /// public string? TimeZone { get; set; } - public object? To { get; set; } string Elastic.Clients.Elasticsearch.QueryDsl.IRangeQuery.Type => "untyped"; } @@ -308,12 +288,6 @@ public Elastic.Clients.Elasticsearch.QueryDsl.UntypedRangeQueryDescriptor From(object? value) - { - Instance.From = value; - return this; - } - /// /// /// Greater than. @@ -386,12 +360,6 @@ public Elastic.Clients.Elasticsearch.QueryDsl.UntypedRangeQueryDescriptor To(object? value) - { - Instance.To = value; - return this; - } - [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] internal static Elastic.Clients.Elasticsearch.QueryDsl.UntypedRangeQuery Build(System.Action> action) { @@ -457,12 +425,6 @@ public Elastic.Clients.Elasticsearch.QueryDsl.UntypedRangeQueryDescriptor Format return this; } - public Elastic.Clients.Elasticsearch.QueryDsl.UntypedRangeQueryDescriptor From(object? value) - { - Instance.From = value; - return this; - } - /// /// /// Greater than. @@ -535,12 +497,6 @@ public Elastic.Clients.Elasticsearch.QueryDsl.UntypedRangeQueryDescriptor TimeZo return this; } - public Elastic.Clients.Elasticsearch.QueryDsl.UntypedRangeQueryDescriptor To(object? value) - { - Instance.To = value; - return this; - } - [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] internal static Elastic.Clients.Elasticsearch.QueryDsl.UntypedRangeQuery Build(System.Action action) { diff --git a/src/Elastic.Clients.Elasticsearch/_Shared/Api/BulkRequest.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Api/BulkRequest.cs index 46570f4d86f..8b0bd587792 100644 --- a/src/Elastic.Clients.Elasticsearch/_Shared/Api/BulkRequest.cs +++ b/src/Elastic.Clients.Elasticsearch/_Shared/Api/BulkRequest.cs @@ -77,6 +77,17 @@ public async Task SerializeAsync(Stream stream, IElasticsearchClientSettings set [StructLayout(LayoutKind.Auto)] public readonly partial struct BulkRequestDescriptor { + /// + /// + /// The name of the data stream, index, or index alias to perform bulk actions on. + /// + /// + public BulkRequestDescriptor Index(string? value) + { + Instance.Index = value; + return this; + } + public BulkRequestDescriptor Create(TSource document, Action>? configure = null) { var descriptor = new BulkCreateOperationDescriptor(document); From 5cf42a91dfba0e04659b4c2838976480bc047b8c Mon Sep 17 00:00:00 2001 From: Florian Bernd Date: Mon, 2 Jun 2025 13:05:28 +0200 Subject: [PATCH 24/25] Regenerate client (#8560) --- .../Api/IndexManagement/GetAliasResponse.g.cs | 10 +- .../Inference/PutAlibabacloudResponse.g.cs | 4 +- .../Types/Enums/Enums.Inference.g.cs | 130 ++++++++++++++++++ .../Inference/CohereServiceSettings.g.cs | 4 + .../Types/QueryDsl/DateRangeQuery.g.cs | 46 ++++++- .../Types/QueryDsl/NumberRangeQuery.g.cs | 46 ++++++- .../Types/QueryDsl/TermRangeQuery.g.cs | 46 ++++++- .../Types/QueryDsl/UntypedRangeQuery.g.cs | 46 ++++++- 8 files changed, 319 insertions(+), 13 deletions(-) diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetAliasResponse.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetAliasResponse.g.cs index 3a7a95f942e..a4ba05793e7 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetAliasResponse.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/GetAliasResponse.g.cs @@ -27,12 +27,12 @@ internal sealed partial class GetAliasResponseConverter : System.Text.Json.Seria { public override Elastic.Clients.Elasticsearch.IndexManagement.GetAliasResponse Read(ref System.Text.Json.Utf8JsonReader reader, System.Type typeToConvert, System.Text.Json.JsonSerializerOptions options) { - return new Elastic.Clients.Elasticsearch.IndexManagement.GetAliasResponse(Elastic.Clients.Elasticsearch.Serialization.JsonConstructorSentinel.Instance) { Values = reader.ReadValue>(options, static System.Collections.Generic.IReadOnlyDictionary (ref System.Text.Json.Utf8JsonReader r, System.Text.Json.JsonSerializerOptions o) => r.ReadDictionaryValue(o, null, null)!) }; + return new Elastic.Clients.Elasticsearch.IndexManagement.GetAliasResponse(Elastic.Clients.Elasticsearch.Serialization.JsonConstructorSentinel.Instance) { Values = reader.ReadValue?>(options, static System.Collections.Generic.IReadOnlyDictionary? (ref System.Text.Json.Utf8JsonReader r, System.Text.Json.JsonSerializerOptions o) => r.ReadDictionaryValue(o, null, null)) }; } public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clients.Elasticsearch.IndexManagement.GetAliasResponse value, System.Text.Json.JsonSerializerOptions options) { - writer.WriteValue(options, value.Values, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, System.Collections.Generic.IReadOnlyDictionary v) => w.WriteDictionaryValue(o, v, null, null)); + writer.WriteValue(options, value.Values, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, System.Collections.Generic.IReadOnlyDictionary? v) => w.WriteDictionaryValue(o, v, null, null)); } } @@ -50,9 +50,5 @@ internal GetAliasResponse(Elastic.Clients.Elasticsearch.Serialization.JsonConstr _ = sentinel; } - public -#if NET7_0_OR_GREATER -required -#endif -System.Collections.Generic.IReadOnlyDictionary Values { get; set; } + public System.Collections.Generic.IReadOnlyDictionary? Values { get; set; } } \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/PutAlibabacloudResponse.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/PutAlibabacloudResponse.g.cs index 31d317bddda..f4cd328413d 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/PutAlibabacloudResponse.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Inference/PutAlibabacloudResponse.g.cs @@ -40,7 +40,7 @@ public override Elastic.Clients.Elasticsearch.Inference.PutAlibabacloudResponse LocalJsonValue propService = default; LocalJsonValue propServiceSettings = default; LocalJsonValue propTaskSettings = default; - LocalJsonValue propTaskType = default; + LocalJsonValue propTaskType = default; while (reader.Read() && reader.TokenType is System.Text.Json.JsonTokenType.PropertyName) { if (propChunkingSettings.TryReadProperty(ref reader, options, PropChunkingSettings, null)) @@ -177,5 +177,5 @@ internal PutAlibabacloudResponse(Elastic.Clients.Elasticsearch.Serialization.Jso #if NET7_0_OR_GREATER required #endif - Elastic.Clients.Elasticsearch.Inference.TaskType TaskType { get; set; } + Elastic.Clients.Elasticsearch.Inference.TaskTypeAlibabaCloudAI TaskType { get; set; } } \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Enums/Enums.Inference.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Enums/Enums.Inference.g.cs index 9962b1d2183..ed4e2d81572 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Enums/Enums.Inference.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Enums/Enums.Inference.g.cs @@ -1034,6 +1034,91 @@ public override void WriteAsPropertyName(System.Text.Json.Utf8JsonWriter writer, } } +internal sealed partial class TaskTypeAlibabaCloudAIConverter : System.Text.Json.Serialization.JsonConverter +{ + private static readonly System.Text.Json.JsonEncodedText MemberCompletion = System.Text.Json.JsonEncodedText.Encode("completion"); + private static readonly System.Text.Json.JsonEncodedText MemberRerank = System.Text.Json.JsonEncodedText.Encode("rerank"); + private static readonly System.Text.Json.JsonEncodedText MemberSparseEmbedding = System.Text.Json.JsonEncodedText.Encode("sparse_embedding"); + private static readonly System.Text.Json.JsonEncodedText MemberTextEmbedding = System.Text.Json.JsonEncodedText.Encode("text_embedding"); + + public override Elastic.Clients.Elasticsearch.Inference.TaskTypeAlibabaCloudAI Read(ref System.Text.Json.Utf8JsonReader reader, System.Type typeToConvert, System.Text.Json.JsonSerializerOptions options) + { + if (reader.ValueTextEquals(MemberCompletion)) + { + return Elastic.Clients.Elasticsearch.Inference.TaskTypeAlibabaCloudAI.Completion; + } + + if (reader.ValueTextEquals(MemberRerank)) + { + return Elastic.Clients.Elasticsearch.Inference.TaskTypeAlibabaCloudAI.Rerank; + } + + if (reader.ValueTextEquals(MemberSparseEmbedding)) + { + return Elastic.Clients.Elasticsearch.Inference.TaskTypeAlibabaCloudAI.SparseEmbedding; + } + + if (reader.ValueTextEquals(MemberTextEmbedding)) + { + return Elastic.Clients.Elasticsearch.Inference.TaskTypeAlibabaCloudAI.TextEmbedding; + } + + var value = reader.GetString()!; + if (string.Equals(value, MemberCompletion.Value, System.StringComparison.OrdinalIgnoreCase)) + { + return Elastic.Clients.Elasticsearch.Inference.TaskTypeAlibabaCloudAI.Completion; + } + + if (string.Equals(value, MemberRerank.Value, System.StringComparison.OrdinalIgnoreCase)) + { + return Elastic.Clients.Elasticsearch.Inference.TaskTypeAlibabaCloudAI.Rerank; + } + + if (string.Equals(value, MemberSparseEmbedding.Value, System.StringComparison.OrdinalIgnoreCase)) + { + return Elastic.Clients.Elasticsearch.Inference.TaskTypeAlibabaCloudAI.SparseEmbedding; + } + + if (string.Equals(value, MemberTextEmbedding.Value, System.StringComparison.OrdinalIgnoreCase)) + { + return Elastic.Clients.Elasticsearch.Inference.TaskTypeAlibabaCloudAI.TextEmbedding; + } + + throw new System.Text.Json.JsonException($"Unknown member '{value}' for enum '{nameof(Elastic.Clients.Elasticsearch.Inference.TaskTypeAlibabaCloudAI)}'."); + } + + public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clients.Elasticsearch.Inference.TaskTypeAlibabaCloudAI value, System.Text.Json.JsonSerializerOptions options) + { + switch (value) + { + case Elastic.Clients.Elasticsearch.Inference.TaskTypeAlibabaCloudAI.Completion: + writer.WriteStringValue(MemberCompletion); + break; + case Elastic.Clients.Elasticsearch.Inference.TaskTypeAlibabaCloudAI.Rerank: + writer.WriteStringValue(MemberRerank); + break; + case Elastic.Clients.Elasticsearch.Inference.TaskTypeAlibabaCloudAI.SparseEmbedding: + writer.WriteStringValue(MemberSparseEmbedding); + break; + case Elastic.Clients.Elasticsearch.Inference.TaskTypeAlibabaCloudAI.TextEmbedding: + writer.WriteStringValue(MemberTextEmbedding); + break; + default: + throw new System.Text.Json.JsonException($"Invalid value '{value}' for enum '{nameof(Elastic.Clients.Elasticsearch.Inference.TaskTypeAlibabaCloudAI)}'."); + } + } + + public override Elastic.Clients.Elasticsearch.Inference.TaskTypeAlibabaCloudAI ReadAsPropertyName(ref System.Text.Json.Utf8JsonReader reader, System.Type typeToConvert, System.Text.Json.JsonSerializerOptions options) + { + return Read(ref reader, typeToConvert, options); + } + + public override void WriteAsPropertyName(System.Text.Json.Utf8JsonWriter writer, Elastic.Clients.Elasticsearch.Inference.TaskTypeAlibabaCloudAI value, System.Text.Json.JsonSerializerOptions options) + { + Write(writer, value, options); + } +} + internal sealed partial class TaskTypeJinaAiConverter : System.Text.Json.Serialization.JsonConverter { private static readonly System.Text.Json.JsonEncodedText MemberRerank = System.Text.Json.JsonEncodedText.Encode("rerank"); @@ -1093,12 +1178,24 @@ public override void WriteAsPropertyName(System.Text.Json.Utf8JsonWriter writer, internal sealed partial class CohereEmbeddingTypeConverter : System.Text.Json.Serialization.JsonConverter { + private static readonly System.Text.Json.JsonEncodedText MemberBinary = System.Text.Json.JsonEncodedText.Encode("binary"); + private static readonly System.Text.Json.JsonEncodedText MemberBit = System.Text.Json.JsonEncodedText.Encode("bit"); private static readonly System.Text.Json.JsonEncodedText MemberByte = System.Text.Json.JsonEncodedText.Encode("byte"); private static readonly System.Text.Json.JsonEncodedText MemberFloat = System.Text.Json.JsonEncodedText.Encode("float"); private static readonly System.Text.Json.JsonEncodedText MemberInt8 = System.Text.Json.JsonEncodedText.Encode("int8"); public override Elastic.Clients.Elasticsearch.Inference.CohereEmbeddingType Read(ref System.Text.Json.Utf8JsonReader reader, System.Type typeToConvert, System.Text.Json.JsonSerializerOptions options) { + if (reader.ValueTextEquals(MemberBinary)) + { + return Elastic.Clients.Elasticsearch.Inference.CohereEmbeddingType.Binary; + } + + if (reader.ValueTextEquals(MemberBit)) + { + return Elastic.Clients.Elasticsearch.Inference.CohereEmbeddingType.Bit; + } + if (reader.ValueTextEquals(MemberByte)) { return Elastic.Clients.Elasticsearch.Inference.CohereEmbeddingType.Byte; @@ -1115,6 +1212,16 @@ public override Elastic.Clients.Elasticsearch.Inference.CohereEmbeddingType Read } var value = reader.GetString()!; + if (string.Equals(value, MemberBinary.Value, System.StringComparison.OrdinalIgnoreCase)) + { + return Elastic.Clients.Elasticsearch.Inference.CohereEmbeddingType.Binary; + } + + if (string.Equals(value, MemberBit.Value, System.StringComparison.OrdinalIgnoreCase)) + { + return Elastic.Clients.Elasticsearch.Inference.CohereEmbeddingType.Bit; + } + if (string.Equals(value, MemberByte.Value, System.StringComparison.OrdinalIgnoreCase)) { return Elastic.Clients.Elasticsearch.Inference.CohereEmbeddingType.Byte; @@ -1137,6 +1244,12 @@ public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clien { switch (value) { + case Elastic.Clients.Elasticsearch.Inference.CohereEmbeddingType.Binary: + writer.WriteStringValue(MemberBinary); + break; + case Elastic.Clients.Elasticsearch.Inference.CohereEmbeddingType.Bit: + writer.WriteStringValue(MemberBit); + break; case Elastic.Clients.Elasticsearch.Inference.CohereEmbeddingType.Byte: writer.WriteStringValue(MemberByte); break; @@ -1704,6 +1817,19 @@ public enum WatsonxTaskType TextEmbedding } +[System.Text.Json.Serialization.JsonConverter(typeof(Elastic.Clients.Elasticsearch.Inference.TaskTypeAlibabaCloudAIConverter))] +public enum TaskTypeAlibabaCloudAI +{ + [System.Runtime.Serialization.EnumMember(Value = "completion")] + Completion, + [System.Runtime.Serialization.EnumMember(Value = "rerank")] + Rerank, + [System.Runtime.Serialization.EnumMember(Value = "sparse_embedding")] + SparseEmbedding, + [System.Runtime.Serialization.EnumMember(Value = "text_embedding")] + TextEmbedding +} + [System.Text.Json.Serialization.JsonConverter(typeof(Elastic.Clients.Elasticsearch.Inference.TaskTypeJinaAiConverter))] public enum TaskTypeJinaAi { @@ -1716,6 +1842,10 @@ public enum TaskTypeJinaAi [System.Text.Json.Serialization.JsonConverter(typeof(Elastic.Clients.Elasticsearch.Inference.CohereEmbeddingTypeConverter))] public enum CohereEmbeddingType { + [System.Runtime.Serialization.EnumMember(Value = "binary")] + Binary, + [System.Runtime.Serialization.EnumMember(Value = "bit")] + Bit, [System.Runtime.Serialization.EnumMember(Value = "byte")] Byte, [System.Runtime.Serialization.EnumMember(Value = "float")] diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Inference/CohereServiceSettings.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Inference/CohereServiceSettings.g.cs index eb557ec44ff..e1ddc8bf595 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Inference/CohereServiceSettings.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Inference/CohereServiceSettings.g.cs @@ -144,6 +144,8 @@ internal CohereServiceSettings(Elastic.Clients.Elasticsearch.Serialization.JsonC /// /// /// For a text_embedding task, the types of embeddings you want to get back. + /// Use binary for binary embeddings, which are encoded as bytes with signed int8 precision. + /// Use bit for binary embeddings, which are encoded as bytes with signed int8 precision (this is a synonym of binary). /// Use byte for signed int8 embeddings (this is a synonym of int8). /// Use float for the default float embeddings. /// Use int8 for signed int8 embeddings. @@ -236,6 +238,8 @@ public Elastic.Clients.Elasticsearch.Inference.CohereServiceSettingsDescriptor A /// /// /// For a text_embedding task, the types of embeddings you want to get back. + /// Use binary for binary embeddings, which are encoded as bytes with signed int8 precision. + /// Use bit for binary embeddings, which are encoded as bytes with signed int8 precision (this is a synonym of binary). /// Use byte for signed int8 embeddings (this is a synonym of int8). /// Use float for the default float embeddings. /// Use int8 for signed int8 embeddings. diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/DateRangeQuery.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/DateRangeQuery.g.cs index f0d39d66d23..2a390e134a5 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/DateRangeQuery.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/DateRangeQuery.g.cs @@ -27,6 +27,7 @@ internal sealed partial class DateRangeQueryConverter : System.Text.Json.Seriali { private static readonly System.Text.Json.JsonEncodedText PropBoost = System.Text.Json.JsonEncodedText.Encode("boost"); private static readonly System.Text.Json.JsonEncodedText PropFormat = System.Text.Json.JsonEncodedText.Encode("format"); + private static readonly System.Text.Json.JsonEncodedText PropFrom = System.Text.Json.JsonEncodedText.Encode("from"); private static readonly System.Text.Json.JsonEncodedText PropGt = System.Text.Json.JsonEncodedText.Encode("gt"); private static readonly System.Text.Json.JsonEncodedText PropGte = System.Text.Json.JsonEncodedText.Encode("gte"); private static readonly System.Text.Json.JsonEncodedText PropLt = System.Text.Json.JsonEncodedText.Encode("lt"); @@ -34,6 +35,7 @@ internal sealed partial class DateRangeQueryConverter : System.Text.Json.Seriali private static readonly System.Text.Json.JsonEncodedText PropQueryName = System.Text.Json.JsonEncodedText.Encode("_name"); private static readonly System.Text.Json.JsonEncodedText PropRelation = System.Text.Json.JsonEncodedText.Encode("relation"); private static readonly System.Text.Json.JsonEncodedText PropTimeZone = System.Text.Json.JsonEncodedText.Encode("time_zone"); + private static readonly System.Text.Json.JsonEncodedText PropTo = System.Text.Json.JsonEncodedText.Encode("to"); public override Elastic.Clients.Elasticsearch.QueryDsl.DateRangeQuery Read(ref System.Text.Json.Utf8JsonReader reader, System.Type typeToConvert, System.Text.Json.JsonSerializerOptions options) { @@ -45,6 +47,7 @@ public override Elastic.Clients.Elasticsearch.QueryDsl.DateRangeQuery Read(ref S reader.ValidateToken(System.Text.Json.JsonTokenType.StartObject); LocalJsonValue propBoost = default; LocalJsonValue propFormat = default; + LocalJsonValue propFrom = default; LocalJsonValue propGt = default; LocalJsonValue propGte = default; LocalJsonValue propLt = default; @@ -52,6 +55,7 @@ public override Elastic.Clients.Elasticsearch.QueryDsl.DateRangeQuery Read(ref S LocalJsonValue propQueryName = default; LocalJsonValue propRelation = default; LocalJsonValue propTimeZone = default; + LocalJsonValue propTo = default; while (reader.Read() && reader.TokenType is System.Text.Json.JsonTokenType.PropertyName) { if (propBoost.TryReadProperty(ref reader, options, PropBoost, null)) @@ -64,6 +68,11 @@ public override Elastic.Clients.Elasticsearch.QueryDsl.DateRangeQuery Read(ref S continue; } + if (propFrom.TryReadProperty(ref reader, options, PropFrom, null)) + { + continue; + } + if (propGt.TryReadProperty(ref reader, options, PropGt, null)) { continue; @@ -99,6 +108,11 @@ public override Elastic.Clients.Elasticsearch.QueryDsl.DateRangeQuery Read(ref S continue; } + if (propTo.TryReadProperty(ref reader, options, PropTo, null)) + { + continue; + } + if (options.UnmappedMemberHandling is System.Text.Json.Serialization.JsonUnmappedMemberHandling.Skip) { reader.Skip(); @@ -116,13 +130,15 @@ public override Elastic.Clients.Elasticsearch.QueryDsl.DateRangeQuery Read(ref S Boost = propBoost.Value, Field = propField.Value, Format = propFormat.Value, + From = propFrom.Value, Gt = propGt.Value, Gte = propGte.Value, Lt = propLt.Value, Lte = propLte.Value, QueryName = propQueryName.Value, Relation = propRelation.Value, - TimeZone = propTimeZone.Value + TimeZone = propTimeZone.Value, + To = propTo.Value }; } @@ -133,6 +149,7 @@ public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clien writer.WriteStartObject(); writer.WriteProperty(options, PropBoost, value.Boost, null, null); writer.WriteProperty(options, PropFormat, value.Format, null, null); + writer.WriteProperty(options, PropFrom, value.From, null, null); writer.WriteProperty(options, PropGt, value.Gt, null, null); writer.WriteProperty(options, PropGte, value.Gte, null, null); writer.WriteProperty(options, PropLt, value.Lt, null, null); @@ -140,6 +157,7 @@ public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clien writer.WriteProperty(options, PropQueryName, value.QueryName, null, null); writer.WriteProperty(options, PropRelation, value.Relation, null, null); writer.WriteProperty(options, PropTimeZone, value.TimeZone, null, null); + writer.WriteProperty(options, PropTo, value.To, null, null); writer.WriteEndObject(); writer.WriteEndObject(); } @@ -185,6 +203,7 @@ internal DateRangeQuery(Elastic.Clients.Elasticsearch.Serialization.JsonConstruc /// /// public string? Format { get; set; } + public Elastic.Clients.Elasticsearch.DateMath? From { get; set; } /// /// @@ -228,6 +247,7 @@ internal DateRangeQuery(Elastic.Clients.Elasticsearch.Serialization.JsonConstruc /// /// public string? TimeZone { get; set; } + public Elastic.Clients.Elasticsearch.DateMath? To { get; set; } string Elastic.Clients.Elasticsearch.QueryDsl.IRangeQuery.Type => "date"; } @@ -288,6 +308,12 @@ public Elastic.Clients.Elasticsearch.QueryDsl.DateRangeQueryDescriptor From(Elastic.Clients.Elasticsearch.DateMath? value) + { + Instance.From = value; + return this; + } + /// /// /// Greater than. @@ -360,6 +386,12 @@ public Elastic.Clients.Elasticsearch.QueryDsl.DateRangeQueryDescriptor To(Elastic.Clients.Elasticsearch.DateMath? value) + { + Instance.To = value; + return this; + } + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] internal static Elastic.Clients.Elasticsearch.QueryDsl.DateRangeQuery Build(System.Action> action) { @@ -425,6 +457,12 @@ public Elastic.Clients.Elasticsearch.QueryDsl.DateRangeQueryDescriptor Format(st return this; } + public Elastic.Clients.Elasticsearch.QueryDsl.DateRangeQueryDescriptor From(Elastic.Clients.Elasticsearch.DateMath? value) + { + Instance.From = value; + return this; + } + /// /// /// Greater than. @@ -497,6 +535,12 @@ public Elastic.Clients.Elasticsearch.QueryDsl.DateRangeQueryDescriptor TimeZone( return this; } + public Elastic.Clients.Elasticsearch.QueryDsl.DateRangeQueryDescriptor To(Elastic.Clients.Elasticsearch.DateMath? value) + { + Instance.To = value; + return this; + } + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] internal static Elastic.Clients.Elasticsearch.QueryDsl.DateRangeQuery Build(System.Action action) { diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/NumberRangeQuery.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/NumberRangeQuery.g.cs index 5e6e186e62f..5facaf08a84 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/NumberRangeQuery.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/NumberRangeQuery.g.cs @@ -26,12 +26,14 @@ namespace Elastic.Clients.Elasticsearch.QueryDsl; internal sealed partial class NumberRangeQueryConverter : System.Text.Json.Serialization.JsonConverter { private static readonly System.Text.Json.JsonEncodedText PropBoost = System.Text.Json.JsonEncodedText.Encode("boost"); + private static readonly System.Text.Json.JsonEncodedText PropFrom = System.Text.Json.JsonEncodedText.Encode("from"); private static readonly System.Text.Json.JsonEncodedText PropGt = System.Text.Json.JsonEncodedText.Encode("gt"); private static readonly System.Text.Json.JsonEncodedText PropGte = System.Text.Json.JsonEncodedText.Encode("gte"); private static readonly System.Text.Json.JsonEncodedText PropLt = System.Text.Json.JsonEncodedText.Encode("lt"); private static readonly System.Text.Json.JsonEncodedText PropLte = System.Text.Json.JsonEncodedText.Encode("lte"); private static readonly System.Text.Json.JsonEncodedText PropQueryName = System.Text.Json.JsonEncodedText.Encode("_name"); private static readonly System.Text.Json.JsonEncodedText PropRelation = System.Text.Json.JsonEncodedText.Encode("relation"); + private static readonly System.Text.Json.JsonEncodedText PropTo = System.Text.Json.JsonEncodedText.Encode("to"); public override Elastic.Clients.Elasticsearch.QueryDsl.NumberRangeQuery Read(ref System.Text.Json.Utf8JsonReader reader, System.Type typeToConvert, System.Text.Json.JsonSerializerOptions options) { @@ -42,12 +44,14 @@ public override Elastic.Clients.Elasticsearch.QueryDsl.NumberRangeQuery Read(ref reader.Read(); reader.ValidateToken(System.Text.Json.JsonTokenType.StartObject); LocalJsonValue propBoost = default; + LocalJsonValue propFrom = default; LocalJsonValue propGt = default; LocalJsonValue propGte = default; LocalJsonValue propLt = default; LocalJsonValue propLte = default; LocalJsonValue propQueryName = default; LocalJsonValue propRelation = default; + LocalJsonValue propTo = default; while (reader.Read() && reader.TokenType is System.Text.Json.JsonTokenType.PropertyName) { if (propBoost.TryReadProperty(ref reader, options, PropBoost, null)) @@ -55,6 +59,11 @@ public override Elastic.Clients.Elasticsearch.QueryDsl.NumberRangeQuery Read(ref continue; } + if (propFrom.TryReadProperty(ref reader, options, PropFrom, null)) + { + continue; + } + if (propGt.TryReadProperty(ref reader, options, PropGt, null)) { continue; @@ -85,6 +94,11 @@ public override Elastic.Clients.Elasticsearch.QueryDsl.NumberRangeQuery Read(ref continue; } + if (propTo.TryReadProperty(ref reader, options, PropTo, null)) + { + continue; + } + if (options.UnmappedMemberHandling is System.Text.Json.Serialization.JsonUnmappedMemberHandling.Skip) { reader.Skip(); @@ -101,12 +115,14 @@ public override Elastic.Clients.Elasticsearch.QueryDsl.NumberRangeQuery Read(ref { Boost = propBoost.Value, Field = propField.Value, + From = propFrom.Value, Gt = propGt.Value, Gte = propGte.Value, Lt = propLt.Value, Lte = propLte.Value, QueryName = propQueryName.Value, - Relation = propRelation.Value + Relation = propRelation.Value, + To = propTo.Value }; } @@ -116,12 +132,14 @@ public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clien writer.WritePropertyName(options, value.Field, null); writer.WriteStartObject(); writer.WriteProperty(options, PropBoost, value.Boost, null, null); + writer.WriteProperty(options, PropFrom, value.From, null, null); writer.WriteProperty(options, PropGt, value.Gt, null, null); writer.WriteProperty(options, PropGte, value.Gte, null, null); writer.WriteProperty(options, PropLt, value.Lt, null, null); writer.WriteProperty(options, PropLte, value.Lte, null, null); writer.WriteProperty(options, PropQueryName, value.QueryName, null, null); writer.WriteProperty(options, PropRelation, value.Relation, null, null); + writer.WriteProperty(options, PropTo, value.To, null, null); writer.WriteEndObject(); writer.WriteEndObject(); } @@ -160,6 +178,7 @@ internal NumberRangeQuery(Elastic.Clients.Elasticsearch.Serialization.JsonConstr required #endif Elastic.Clients.Elasticsearch.Field Field { get; set; } + public double? From { get; set; } /// /// @@ -196,6 +215,7 @@ internal NumberRangeQuery(Elastic.Clients.Elasticsearch.Serialization.JsonConstr /// /// public Elastic.Clients.Elasticsearch.QueryDsl.RangeRelation? Relation { get; set; } + public double? To { get; set; } string Elastic.Clients.Elasticsearch.QueryDsl.IRangeQuery.Type => "number"; } @@ -245,6 +265,12 @@ public Elastic.Clients.Elasticsearch.QueryDsl.NumberRangeQueryDescriptor From(double? value) + { + Instance.From = value; + return this; + } + /// /// /// Greater than. @@ -306,6 +332,12 @@ public Elastic.Clients.Elasticsearch.QueryDsl.NumberRangeQueryDescriptor To(double? value) + { + Instance.To = value; + return this; + } + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] internal static Elastic.Clients.Elasticsearch.QueryDsl.NumberRangeQuery Build(System.Action> action) { @@ -360,6 +392,12 @@ public Elastic.Clients.Elasticsearch.QueryDsl.NumberRangeQueryDescriptor Field /// /// Greater than. @@ -421,6 +459,12 @@ public Elastic.Clients.Elasticsearch.QueryDsl.NumberRangeQueryDescriptor Relatio return this; } + public Elastic.Clients.Elasticsearch.QueryDsl.NumberRangeQueryDescriptor To(double? value) + { + Instance.To = value; + return this; + } + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] internal static Elastic.Clients.Elasticsearch.QueryDsl.NumberRangeQuery Build(System.Action action) { diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/TermRangeQuery.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/TermRangeQuery.g.cs index 46d01c44851..c096df4a21a 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/TermRangeQuery.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/TermRangeQuery.g.cs @@ -26,12 +26,14 @@ namespace Elastic.Clients.Elasticsearch.QueryDsl; internal sealed partial class TermRangeQueryConverter : System.Text.Json.Serialization.JsonConverter { private static readonly System.Text.Json.JsonEncodedText PropBoost = System.Text.Json.JsonEncodedText.Encode("boost"); + private static readonly System.Text.Json.JsonEncodedText PropFrom = System.Text.Json.JsonEncodedText.Encode("from"); private static readonly System.Text.Json.JsonEncodedText PropGt = System.Text.Json.JsonEncodedText.Encode("gt"); private static readonly System.Text.Json.JsonEncodedText PropGte = System.Text.Json.JsonEncodedText.Encode("gte"); private static readonly System.Text.Json.JsonEncodedText PropLt = System.Text.Json.JsonEncodedText.Encode("lt"); private static readonly System.Text.Json.JsonEncodedText PropLte = System.Text.Json.JsonEncodedText.Encode("lte"); private static readonly System.Text.Json.JsonEncodedText PropQueryName = System.Text.Json.JsonEncodedText.Encode("_name"); private static readonly System.Text.Json.JsonEncodedText PropRelation = System.Text.Json.JsonEncodedText.Encode("relation"); + private static readonly System.Text.Json.JsonEncodedText PropTo = System.Text.Json.JsonEncodedText.Encode("to"); public override Elastic.Clients.Elasticsearch.QueryDsl.TermRangeQuery Read(ref System.Text.Json.Utf8JsonReader reader, System.Type typeToConvert, System.Text.Json.JsonSerializerOptions options) { @@ -42,12 +44,14 @@ public override Elastic.Clients.Elasticsearch.QueryDsl.TermRangeQuery Read(ref S reader.Read(); reader.ValidateToken(System.Text.Json.JsonTokenType.StartObject); LocalJsonValue propBoost = default; + LocalJsonValue propFrom = default; LocalJsonValue propGt = default; LocalJsonValue propGte = default; LocalJsonValue propLt = default; LocalJsonValue propLte = default; LocalJsonValue propQueryName = default; LocalJsonValue propRelation = default; + LocalJsonValue propTo = default; while (reader.Read() && reader.TokenType is System.Text.Json.JsonTokenType.PropertyName) { if (propBoost.TryReadProperty(ref reader, options, PropBoost, null)) @@ -55,6 +59,11 @@ public override Elastic.Clients.Elasticsearch.QueryDsl.TermRangeQuery Read(ref S continue; } + if (propFrom.TryReadProperty(ref reader, options, PropFrom, null)) + { + continue; + } + if (propGt.TryReadProperty(ref reader, options, PropGt, null)) { continue; @@ -85,6 +94,11 @@ public override Elastic.Clients.Elasticsearch.QueryDsl.TermRangeQuery Read(ref S continue; } + if (propTo.TryReadProperty(ref reader, options, PropTo, null)) + { + continue; + } + if (options.UnmappedMemberHandling is System.Text.Json.Serialization.JsonUnmappedMemberHandling.Skip) { reader.Skip(); @@ -101,12 +115,14 @@ public override Elastic.Clients.Elasticsearch.QueryDsl.TermRangeQuery Read(ref S { Boost = propBoost.Value, Field = propField.Value, + From = propFrom.Value, Gt = propGt.Value, Gte = propGte.Value, Lt = propLt.Value, Lte = propLte.Value, QueryName = propQueryName.Value, - Relation = propRelation.Value + Relation = propRelation.Value, + To = propTo.Value }; } @@ -116,12 +132,14 @@ public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clien writer.WritePropertyName(options, value.Field, null); writer.WriteStartObject(); writer.WriteProperty(options, PropBoost, value.Boost, null, null); + writer.WriteProperty(options, PropFrom, value.From, null, null); writer.WriteProperty(options, PropGt, value.Gt, null, null); writer.WriteProperty(options, PropGte, value.Gte, null, null); writer.WriteProperty(options, PropLt, value.Lt, null, null); writer.WriteProperty(options, PropLte, value.Lte, null, null); writer.WriteProperty(options, PropQueryName, value.QueryName, null, null); writer.WriteProperty(options, PropRelation, value.Relation, null, null); + writer.WriteProperty(options, PropTo, value.To, null, null); writer.WriteEndObject(); writer.WriteEndObject(); } @@ -160,6 +178,7 @@ internal TermRangeQuery(Elastic.Clients.Elasticsearch.Serialization.JsonConstruc required #endif Elastic.Clients.Elasticsearch.Field Field { get; set; } + public string? From { get; set; } /// /// @@ -196,6 +215,7 @@ internal TermRangeQuery(Elastic.Clients.Elasticsearch.Serialization.JsonConstruc /// /// public Elastic.Clients.Elasticsearch.QueryDsl.RangeRelation? Relation { get; set; } + public string? To { get; set; } string Elastic.Clients.Elasticsearch.QueryDsl.IRangeQuery.Type => "term"; } @@ -245,6 +265,12 @@ public Elastic.Clients.Elasticsearch.QueryDsl.TermRangeQueryDescriptor From(string? value) + { + Instance.From = value; + return this; + } + /// /// /// Greater than. @@ -306,6 +332,12 @@ public Elastic.Clients.Elasticsearch.QueryDsl.TermRangeQueryDescriptor To(string? value) + { + Instance.To = value; + return this; + } + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] internal static Elastic.Clients.Elasticsearch.QueryDsl.TermRangeQuery Build(System.Action> action) { @@ -360,6 +392,12 @@ public Elastic.Clients.Elasticsearch.QueryDsl.TermRangeQueryDescriptor Field( return this; } + public Elastic.Clients.Elasticsearch.QueryDsl.TermRangeQueryDescriptor From(string? value) + { + Instance.From = value; + return this; + } + /// /// /// Greater than. @@ -421,6 +459,12 @@ public Elastic.Clients.Elasticsearch.QueryDsl.TermRangeQueryDescriptor Relation( return this; } + public Elastic.Clients.Elasticsearch.QueryDsl.TermRangeQueryDescriptor To(string? value) + { + Instance.To = value; + return this; + } + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] internal static Elastic.Clients.Elasticsearch.QueryDsl.TermRangeQuery Build(System.Action action) { diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/UntypedRangeQuery.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/UntypedRangeQuery.g.cs index 70cfeb1b20b..77bc5431175 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/UntypedRangeQuery.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryDsl/UntypedRangeQuery.g.cs @@ -27,6 +27,7 @@ internal sealed partial class UntypedRangeQueryConverter : System.Text.Json.Seri { private static readonly System.Text.Json.JsonEncodedText PropBoost = System.Text.Json.JsonEncodedText.Encode("boost"); private static readonly System.Text.Json.JsonEncodedText PropFormat = System.Text.Json.JsonEncodedText.Encode("format"); + private static readonly System.Text.Json.JsonEncodedText PropFrom = System.Text.Json.JsonEncodedText.Encode("from"); private static readonly System.Text.Json.JsonEncodedText PropGt = System.Text.Json.JsonEncodedText.Encode("gt"); private static readonly System.Text.Json.JsonEncodedText PropGte = System.Text.Json.JsonEncodedText.Encode("gte"); private static readonly System.Text.Json.JsonEncodedText PropLt = System.Text.Json.JsonEncodedText.Encode("lt"); @@ -34,6 +35,7 @@ internal sealed partial class UntypedRangeQueryConverter : System.Text.Json.Seri private static readonly System.Text.Json.JsonEncodedText PropQueryName = System.Text.Json.JsonEncodedText.Encode("_name"); private static readonly System.Text.Json.JsonEncodedText PropRelation = System.Text.Json.JsonEncodedText.Encode("relation"); private static readonly System.Text.Json.JsonEncodedText PropTimeZone = System.Text.Json.JsonEncodedText.Encode("time_zone"); + private static readonly System.Text.Json.JsonEncodedText PropTo = System.Text.Json.JsonEncodedText.Encode("to"); public override Elastic.Clients.Elasticsearch.QueryDsl.UntypedRangeQuery Read(ref System.Text.Json.Utf8JsonReader reader, System.Type typeToConvert, System.Text.Json.JsonSerializerOptions options) { @@ -45,6 +47,7 @@ public override Elastic.Clients.Elasticsearch.QueryDsl.UntypedRangeQuery Read(re reader.ValidateToken(System.Text.Json.JsonTokenType.StartObject); LocalJsonValue propBoost = default; LocalJsonValue propFormat = default; + LocalJsonValue propFrom = default; LocalJsonValue propGt = default; LocalJsonValue propGte = default; LocalJsonValue propLt = default; @@ -52,6 +55,7 @@ public override Elastic.Clients.Elasticsearch.QueryDsl.UntypedRangeQuery Read(re LocalJsonValue propQueryName = default; LocalJsonValue propRelation = default; LocalJsonValue propTimeZone = default; + LocalJsonValue propTo = default; while (reader.Read() && reader.TokenType is System.Text.Json.JsonTokenType.PropertyName) { if (propBoost.TryReadProperty(ref reader, options, PropBoost, null)) @@ -64,6 +68,11 @@ public override Elastic.Clients.Elasticsearch.QueryDsl.UntypedRangeQuery Read(re continue; } + if (propFrom.TryReadProperty(ref reader, options, PropFrom, null)) + { + continue; + } + if (propGt.TryReadProperty(ref reader, options, PropGt, null)) { continue; @@ -99,6 +108,11 @@ public override Elastic.Clients.Elasticsearch.QueryDsl.UntypedRangeQuery Read(re continue; } + if (propTo.TryReadProperty(ref reader, options, PropTo, null)) + { + continue; + } + if (options.UnmappedMemberHandling is System.Text.Json.Serialization.JsonUnmappedMemberHandling.Skip) { reader.Skip(); @@ -116,13 +130,15 @@ public override Elastic.Clients.Elasticsearch.QueryDsl.UntypedRangeQuery Read(re Boost = propBoost.Value, Field = propField.Value, Format = propFormat.Value, + From = propFrom.Value, Gt = propGt.Value, Gte = propGte.Value, Lt = propLt.Value, Lte = propLte.Value, QueryName = propQueryName.Value, Relation = propRelation.Value, - TimeZone = propTimeZone.Value + TimeZone = propTimeZone.Value, + To = propTo.Value }; } @@ -133,6 +149,7 @@ public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clien writer.WriteStartObject(); writer.WriteProperty(options, PropBoost, value.Boost, null, null); writer.WriteProperty(options, PropFormat, value.Format, null, null); + writer.WriteProperty(options, PropFrom, value.From, null, null); writer.WriteProperty(options, PropGt, value.Gt, null, null); writer.WriteProperty(options, PropGte, value.Gte, null, null); writer.WriteProperty(options, PropLt, value.Lt, null, null); @@ -140,6 +157,7 @@ public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clien writer.WriteProperty(options, PropQueryName, value.QueryName, null, null); writer.WriteProperty(options, PropRelation, value.Relation, null, null); writer.WriteProperty(options, PropTimeZone, value.TimeZone, null, null); + writer.WriteProperty(options, PropTo, value.To, null, null); writer.WriteEndObject(); writer.WriteEndObject(); } @@ -185,6 +203,7 @@ internal UntypedRangeQuery(Elastic.Clients.Elasticsearch.Serialization.JsonConst /// /// public string? Format { get; set; } + public object? From { get; set; } /// /// @@ -228,6 +247,7 @@ internal UntypedRangeQuery(Elastic.Clients.Elasticsearch.Serialization.JsonConst /// /// public string? TimeZone { get; set; } + public object? To { get; set; } string Elastic.Clients.Elasticsearch.QueryDsl.IRangeQuery.Type => "untyped"; } @@ -288,6 +308,12 @@ public Elastic.Clients.Elasticsearch.QueryDsl.UntypedRangeQueryDescriptor From(object? value) + { + Instance.From = value; + return this; + } + /// /// /// Greater than. @@ -360,6 +386,12 @@ public Elastic.Clients.Elasticsearch.QueryDsl.UntypedRangeQueryDescriptor To(object? value) + { + Instance.To = value; + return this; + } + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] internal static Elastic.Clients.Elasticsearch.QueryDsl.UntypedRangeQuery Build(System.Action> action) { @@ -425,6 +457,12 @@ public Elastic.Clients.Elasticsearch.QueryDsl.UntypedRangeQueryDescriptor Format return this; } + public Elastic.Clients.Elasticsearch.QueryDsl.UntypedRangeQueryDescriptor From(object? value) + { + Instance.From = value; + return this; + } + /// /// /// Greater than. @@ -497,6 +535,12 @@ public Elastic.Clients.Elasticsearch.QueryDsl.UntypedRangeQueryDescriptor TimeZo return this; } + public Elastic.Clients.Elasticsearch.QueryDsl.UntypedRangeQueryDescriptor To(object? value) + { + Instance.To = value; + return this; + } + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] internal static Elastic.Clients.Elasticsearch.QueryDsl.UntypedRangeQuery Build(System.Action action) { From df391ef77c92de288925c60b6ab4358550381517 Mon Sep 17 00:00:00 2001 From: Florian Bernd Date: Mon, 2 Jun 2025 13:26:09 +0200 Subject: [PATCH 25/25] Preserve `BucketsPath` alias (#8563) --- .../Types/Aggregations/AverageBucketAggregation.g.cs | 6 +++--- .../Types/Aggregations/BucketCorrelationAggregation.g.cs | 6 +++--- .../Types/Aggregations/BucketKsAggregation.g.cs | 6 +++--- .../Types/Aggregations/BucketScriptAggregation.g.cs | 6 +++--- .../Types/Aggregations/BucketSelectorAggregation.g.cs | 6 +++--- .../Aggregations/CumulativeCardinalityAggregation.g.cs | 6 +++--- .../Types/Aggregations/CumulativeSumAggregation.g.cs | 6 +++--- .../Types/Aggregations/DerivativeAggregation.g.cs | 6 +++--- .../Aggregations/ExtendedStatsBucketAggregation.g.cs | 6 +++--- .../Types/Aggregations/InferenceAggregation.g.cs | 8 ++++---- .../Types/Aggregations/MaxBucketAggregation.g.cs | 6 +++--- .../Types/Aggregations/MinBucketAggregation.g.cs | 6 +++--- .../Types/Aggregations/MovingFunctionAggregation.g.cs | 6 +++--- .../Types/Aggregations/MovingPercentilesAggregation.g.cs | 6 +++--- .../Types/Aggregations/NormalizeAggregation.g.cs | 6 +++--- .../Types/Aggregations/PercentilesBucketAggregation.g.cs | 6 +++--- .../Types/Aggregations/SerialDifferencingAggregation.g.cs | 6 +++--- .../Types/Aggregations/StatsBucketAggregation.g.cs | 6 +++--- .../Types/Aggregations/SumBucketAggregation.g.cs | 6 +++--- .../_Shared/Types/Aggregations/BucketsPath.cs | 2 +- 20 files changed, 59 insertions(+), 59 deletions(-) diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/AverageBucketAggregation.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/AverageBucketAggregation.g.cs index e8b8325c251..653b81d3506 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/AverageBucketAggregation.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/AverageBucketAggregation.g.cs @@ -32,7 +32,7 @@ internal sealed partial class AverageBucketAggregationConverter : System.Text.Js public override Elastic.Clients.Elasticsearch.Aggregations.AverageBucketAggregation Read(ref System.Text.Json.Utf8JsonReader reader, System.Type typeToConvert, System.Text.Json.JsonSerializerOptions options) { reader.ValidateToken(System.Text.Json.JsonTokenType.StartObject); - LocalJsonValue propBucketsPath = default; + LocalJsonValue propBucketsPath = default; LocalJsonValue propFormat = default; LocalJsonValue propGapPolicy = default; while (reader.Read() && reader.TokenType is System.Text.Json.JsonTokenType.PropertyName) @@ -104,7 +104,7 @@ internal AverageBucketAggregation(Elastic.Clients.Elasticsearch.Serialization.Js /// Path to the buckets that contain one set of values to correlate. /// /// - public object? BucketsPath { get; set; } + public Elastic.Clients.Elasticsearch.Aggregations.BucketsPath? BucketsPath { get; set; } /// /// @@ -146,7 +146,7 @@ public AverageBucketAggregationDescriptor() /// Path to the buckets that contain one set of values to correlate. /// /// - public Elastic.Clients.Elasticsearch.Aggregations.AverageBucketAggregationDescriptor BucketsPath(object? value) + public Elastic.Clients.Elasticsearch.Aggregations.AverageBucketAggregationDescriptor BucketsPath(Elastic.Clients.Elasticsearch.Aggregations.BucketsPath? value) { Instance.BucketsPath = value; return this; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/BucketCorrelationAggregation.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/BucketCorrelationAggregation.g.cs index 1d49f101c3e..19f9aa62061 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/BucketCorrelationAggregation.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/BucketCorrelationAggregation.g.cs @@ -31,7 +31,7 @@ internal sealed partial class BucketCorrelationAggregationConverter : System.Tex public override Elastic.Clients.Elasticsearch.Aggregations.BucketCorrelationAggregation Read(ref System.Text.Json.Utf8JsonReader reader, System.Type typeToConvert, System.Text.Json.JsonSerializerOptions options) { reader.ValidateToken(System.Text.Json.JsonTokenType.StartObject); - LocalJsonValue propBucketsPath = default; + LocalJsonValue propBucketsPath = default; LocalJsonValue propFunction = default; while (reader.Read() && reader.TokenType is System.Text.Json.JsonTokenType.PropertyName) { @@ -106,7 +106,7 @@ internal BucketCorrelationAggregation(Elastic.Clients.Elasticsearch.Serializatio /// Path to the buckets that contain one set of values to correlate. /// /// - public object? BucketsPath { get; set; } + public Elastic.Clients.Elasticsearch.Aggregations.BucketsPath? BucketsPath { get; set; } /// /// @@ -149,7 +149,7 @@ public BucketCorrelationAggregationDescriptor() /// Path to the buckets that contain one set of values to correlate. /// /// - public Elastic.Clients.Elasticsearch.Aggregations.BucketCorrelationAggregationDescriptor BucketsPath(object? value) + public Elastic.Clients.Elasticsearch.Aggregations.BucketCorrelationAggregationDescriptor BucketsPath(Elastic.Clients.Elasticsearch.Aggregations.BucketsPath? value) { Instance.BucketsPath = value; return this; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/BucketKsAggregation.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/BucketKsAggregation.g.cs index ee4fc75c001..864f6c6734a 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/BucketKsAggregation.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/BucketKsAggregation.g.cs @@ -34,7 +34,7 @@ public override Elastic.Clients.Elasticsearch.Aggregations.BucketKsAggregation R { reader.ValidateToken(System.Text.Json.JsonTokenType.StartObject); LocalJsonValue?> propAlternative = default; - LocalJsonValue propBucketsPath = default; + LocalJsonValue propBucketsPath = default; LocalJsonValue?> propFractions = default; LocalJsonValue propSamplingMethod = default; while (reader.Read() && reader.TokenType is System.Text.Json.JsonTokenType.PropertyName) @@ -135,7 +135,7 @@ internal BucketKsAggregation(Elastic.Clients.Elasticsearch.Serialization.JsonCon /// Path to the buckets that contain one set of values to correlate. /// /// - public object? BucketsPath { get; set; } + public Elastic.Clients.Elasticsearch.Aggregations.BucketsPath? BucketsPath { get; set; } /// /// @@ -222,7 +222,7 @@ public Elastic.Clients.Elasticsearch.Aggregations.BucketKsAggregationDescriptor /// Path to the buckets that contain one set of values to correlate. /// /// - public Elastic.Clients.Elasticsearch.Aggregations.BucketKsAggregationDescriptor BucketsPath(object? value) + public Elastic.Clients.Elasticsearch.Aggregations.BucketKsAggregationDescriptor BucketsPath(Elastic.Clients.Elasticsearch.Aggregations.BucketsPath? value) { Instance.BucketsPath = value; return this; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/BucketScriptAggregation.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/BucketScriptAggregation.g.cs index 1710fb3031a..dc99267dd8a 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/BucketScriptAggregation.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/BucketScriptAggregation.g.cs @@ -33,7 +33,7 @@ internal sealed partial class BucketScriptAggregationConverter : System.Text.Jso public override Elastic.Clients.Elasticsearch.Aggregations.BucketScriptAggregation Read(ref System.Text.Json.Utf8JsonReader reader, System.Type typeToConvert, System.Text.Json.JsonSerializerOptions options) { reader.ValidateToken(System.Text.Json.JsonTokenType.StartObject); - LocalJsonValue propBucketsPath = default; + LocalJsonValue propBucketsPath = default; LocalJsonValue propFormat = default; LocalJsonValue propGapPolicy = default; LocalJsonValue propScript = default; @@ -113,7 +113,7 @@ internal BucketScriptAggregation(Elastic.Clients.Elasticsearch.Serialization.Jso /// Path to the buckets that contain one set of values to correlate. /// /// - public object? BucketsPath { get; set; } + public Elastic.Clients.Elasticsearch.Aggregations.BucketsPath? BucketsPath { get; set; } /// /// @@ -162,7 +162,7 @@ public BucketScriptAggregationDescriptor() /// Path to the buckets that contain one set of values to correlate. /// /// - public Elastic.Clients.Elasticsearch.Aggregations.BucketScriptAggregationDescriptor BucketsPath(object? value) + public Elastic.Clients.Elasticsearch.Aggregations.BucketScriptAggregationDescriptor BucketsPath(Elastic.Clients.Elasticsearch.Aggregations.BucketsPath? value) { Instance.BucketsPath = value; return this; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/BucketSelectorAggregation.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/BucketSelectorAggregation.g.cs index 3ddde26218a..7edf3928eff 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/BucketSelectorAggregation.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/BucketSelectorAggregation.g.cs @@ -33,7 +33,7 @@ internal sealed partial class BucketSelectorAggregationConverter : System.Text.J public override Elastic.Clients.Elasticsearch.Aggregations.BucketSelectorAggregation Read(ref System.Text.Json.Utf8JsonReader reader, System.Type typeToConvert, System.Text.Json.JsonSerializerOptions options) { reader.ValidateToken(System.Text.Json.JsonTokenType.StartObject); - LocalJsonValue propBucketsPath = default; + LocalJsonValue propBucketsPath = default; LocalJsonValue propFormat = default; LocalJsonValue propGapPolicy = default; LocalJsonValue propScript = default; @@ -113,7 +113,7 @@ internal BucketSelectorAggregation(Elastic.Clients.Elasticsearch.Serialization.J /// Path to the buckets that contain one set of values to correlate. /// /// - public object? BucketsPath { get; set; } + public Elastic.Clients.Elasticsearch.Aggregations.BucketsPath? BucketsPath { get; set; } /// /// @@ -162,7 +162,7 @@ public BucketSelectorAggregationDescriptor() /// Path to the buckets that contain one set of values to correlate. /// /// - public Elastic.Clients.Elasticsearch.Aggregations.BucketSelectorAggregationDescriptor BucketsPath(object? value) + public Elastic.Clients.Elasticsearch.Aggregations.BucketSelectorAggregationDescriptor BucketsPath(Elastic.Clients.Elasticsearch.Aggregations.BucketsPath? value) { Instance.BucketsPath = value; return this; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/CumulativeCardinalityAggregation.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/CumulativeCardinalityAggregation.g.cs index 0ab62d50197..4c5ca6686a9 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/CumulativeCardinalityAggregation.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/CumulativeCardinalityAggregation.g.cs @@ -32,7 +32,7 @@ internal sealed partial class CumulativeCardinalityAggregationConverter : System public override Elastic.Clients.Elasticsearch.Aggregations.CumulativeCardinalityAggregation Read(ref System.Text.Json.Utf8JsonReader reader, System.Type typeToConvert, System.Text.Json.JsonSerializerOptions options) { reader.ValidateToken(System.Text.Json.JsonTokenType.StartObject); - LocalJsonValue propBucketsPath = default; + LocalJsonValue propBucketsPath = default; LocalJsonValue propFormat = default; LocalJsonValue propGapPolicy = default; while (reader.Read() && reader.TokenType is System.Text.Json.JsonTokenType.PropertyName) @@ -104,7 +104,7 @@ internal CumulativeCardinalityAggregation(Elastic.Clients.Elasticsearch.Serializ /// Path to the buckets that contain one set of values to correlate. /// /// - public object? BucketsPath { get; set; } + public Elastic.Clients.Elasticsearch.Aggregations.BucketsPath? BucketsPath { get; set; } /// /// @@ -146,7 +146,7 @@ public CumulativeCardinalityAggregationDescriptor() /// Path to the buckets that contain one set of values to correlate. /// /// - public Elastic.Clients.Elasticsearch.Aggregations.CumulativeCardinalityAggregationDescriptor BucketsPath(object? value) + public Elastic.Clients.Elasticsearch.Aggregations.CumulativeCardinalityAggregationDescriptor BucketsPath(Elastic.Clients.Elasticsearch.Aggregations.BucketsPath? value) { Instance.BucketsPath = value; return this; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/CumulativeSumAggregation.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/CumulativeSumAggregation.g.cs index fad254c7c5f..6accac4ce31 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/CumulativeSumAggregation.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/CumulativeSumAggregation.g.cs @@ -32,7 +32,7 @@ internal sealed partial class CumulativeSumAggregationConverter : System.Text.Js public override Elastic.Clients.Elasticsearch.Aggregations.CumulativeSumAggregation Read(ref System.Text.Json.Utf8JsonReader reader, System.Type typeToConvert, System.Text.Json.JsonSerializerOptions options) { reader.ValidateToken(System.Text.Json.JsonTokenType.StartObject); - LocalJsonValue propBucketsPath = default; + LocalJsonValue propBucketsPath = default; LocalJsonValue propFormat = default; LocalJsonValue propGapPolicy = default; while (reader.Read() && reader.TokenType is System.Text.Json.JsonTokenType.PropertyName) @@ -104,7 +104,7 @@ internal CumulativeSumAggregation(Elastic.Clients.Elasticsearch.Serialization.Js /// Path to the buckets that contain one set of values to correlate. /// /// - public object? BucketsPath { get; set; } + public Elastic.Clients.Elasticsearch.Aggregations.BucketsPath? BucketsPath { get; set; } /// /// @@ -146,7 +146,7 @@ public CumulativeSumAggregationDescriptor() /// Path to the buckets that contain one set of values to correlate. /// /// - public Elastic.Clients.Elasticsearch.Aggregations.CumulativeSumAggregationDescriptor BucketsPath(object? value) + public Elastic.Clients.Elasticsearch.Aggregations.CumulativeSumAggregationDescriptor BucketsPath(Elastic.Clients.Elasticsearch.Aggregations.BucketsPath? value) { Instance.BucketsPath = value; return this; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/DerivativeAggregation.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/DerivativeAggregation.g.cs index 4b0b1058c34..071389957a1 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/DerivativeAggregation.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/DerivativeAggregation.g.cs @@ -32,7 +32,7 @@ internal sealed partial class DerivativeAggregationConverter : System.Text.Json. public override Elastic.Clients.Elasticsearch.Aggregations.DerivativeAggregation Read(ref System.Text.Json.Utf8JsonReader reader, System.Type typeToConvert, System.Text.Json.JsonSerializerOptions options) { reader.ValidateToken(System.Text.Json.JsonTokenType.StartObject); - LocalJsonValue propBucketsPath = default; + LocalJsonValue propBucketsPath = default; LocalJsonValue propFormat = default; LocalJsonValue propGapPolicy = default; while (reader.Read() && reader.TokenType is System.Text.Json.JsonTokenType.PropertyName) @@ -104,7 +104,7 @@ internal DerivativeAggregation(Elastic.Clients.Elasticsearch.Serialization.JsonC /// Path to the buckets that contain one set of values to correlate. /// /// - public object? BucketsPath { get; set; } + public Elastic.Clients.Elasticsearch.Aggregations.BucketsPath? BucketsPath { get; set; } /// /// @@ -146,7 +146,7 @@ public DerivativeAggregationDescriptor() /// Path to the buckets that contain one set of values to correlate. /// /// - public Elastic.Clients.Elasticsearch.Aggregations.DerivativeAggregationDescriptor BucketsPath(object? value) + public Elastic.Clients.Elasticsearch.Aggregations.DerivativeAggregationDescriptor BucketsPath(Elastic.Clients.Elasticsearch.Aggregations.BucketsPath? value) { Instance.BucketsPath = value; return this; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/ExtendedStatsBucketAggregation.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/ExtendedStatsBucketAggregation.g.cs index 5dfd076bdd2..9ce88b542ab 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/ExtendedStatsBucketAggregation.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/ExtendedStatsBucketAggregation.g.cs @@ -33,7 +33,7 @@ internal sealed partial class ExtendedStatsBucketAggregationConverter : System.T public override Elastic.Clients.Elasticsearch.Aggregations.ExtendedStatsBucketAggregation Read(ref System.Text.Json.Utf8JsonReader reader, System.Type typeToConvert, System.Text.Json.JsonSerializerOptions options) { reader.ValidateToken(System.Text.Json.JsonTokenType.StartObject); - LocalJsonValue propBucketsPath = default; + LocalJsonValue propBucketsPath = default; LocalJsonValue propFormat = default; LocalJsonValue propGapPolicy = default; LocalJsonValue propSigma = default; @@ -113,7 +113,7 @@ internal ExtendedStatsBucketAggregation(Elastic.Clients.Elasticsearch.Serializat /// Path to the buckets that contain one set of values to correlate. /// /// - public object? BucketsPath { get; set; } + public Elastic.Clients.Elasticsearch.Aggregations.BucketsPath? BucketsPath { get; set; } /// /// @@ -162,7 +162,7 @@ public ExtendedStatsBucketAggregationDescriptor() /// Path to the buckets that contain one set of values to correlate. /// /// - public Elastic.Clients.Elasticsearch.Aggregations.ExtendedStatsBucketAggregationDescriptor BucketsPath(object? value) + public Elastic.Clients.Elasticsearch.Aggregations.ExtendedStatsBucketAggregationDescriptor BucketsPath(Elastic.Clients.Elasticsearch.Aggregations.BucketsPath? value) { Instance.BucketsPath = value; return this; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/InferenceAggregation.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/InferenceAggregation.g.cs index 0c3b9ec1430..fdaa3f727b4 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/InferenceAggregation.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/InferenceAggregation.g.cs @@ -34,7 +34,7 @@ internal sealed partial class InferenceAggregationConverter : System.Text.Json.S public override Elastic.Clients.Elasticsearch.Aggregations.InferenceAggregation Read(ref System.Text.Json.Utf8JsonReader reader, System.Type typeToConvert, System.Text.Json.JsonSerializerOptions options) { reader.ValidateToken(System.Text.Json.JsonTokenType.StartObject); - LocalJsonValue propBucketsPath = default; + LocalJsonValue propBucketsPath = default; LocalJsonValue propFormat = default; LocalJsonValue propGapPolicy = default; LocalJsonValue propInferenceConfig = default; @@ -128,7 +128,7 @@ internal InferenceAggregation(Elastic.Clients.Elasticsearch.Serialization.JsonCo /// Path to the buckets that contain one set of values to correlate. /// /// - public object? BucketsPath { get; set; } + public Elastic.Clients.Elasticsearch.Aggregations.BucketsPath? BucketsPath { get; set; } /// /// @@ -188,7 +188,7 @@ public InferenceAggregationDescriptor() /// Path to the buckets that contain one set of values to correlate. /// /// - public Elastic.Clients.Elasticsearch.Aggregations.InferenceAggregationDescriptor BucketsPath(object? value) + public Elastic.Clients.Elasticsearch.Aggregations.InferenceAggregationDescriptor BucketsPath(Elastic.Clients.Elasticsearch.Aggregations.BucketsPath? value) { Instance.BucketsPath = value; return this; @@ -283,7 +283,7 @@ public InferenceAggregationDescriptor() /// Path to the buckets that contain one set of values to correlate. /// /// - public Elastic.Clients.Elasticsearch.Aggregations.InferenceAggregationDescriptor BucketsPath(object? value) + public Elastic.Clients.Elasticsearch.Aggregations.InferenceAggregationDescriptor BucketsPath(Elastic.Clients.Elasticsearch.Aggregations.BucketsPath? value) { Instance.BucketsPath = value; return this; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/MaxBucketAggregation.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/MaxBucketAggregation.g.cs index b3c8d5d2853..104fb9d0de5 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/MaxBucketAggregation.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/MaxBucketAggregation.g.cs @@ -32,7 +32,7 @@ internal sealed partial class MaxBucketAggregationConverter : System.Text.Json.S public override Elastic.Clients.Elasticsearch.Aggregations.MaxBucketAggregation Read(ref System.Text.Json.Utf8JsonReader reader, System.Type typeToConvert, System.Text.Json.JsonSerializerOptions options) { reader.ValidateToken(System.Text.Json.JsonTokenType.StartObject); - LocalJsonValue propBucketsPath = default; + LocalJsonValue propBucketsPath = default; LocalJsonValue propFormat = default; LocalJsonValue propGapPolicy = default; while (reader.Read() && reader.TokenType is System.Text.Json.JsonTokenType.PropertyName) @@ -104,7 +104,7 @@ internal MaxBucketAggregation(Elastic.Clients.Elasticsearch.Serialization.JsonCo /// Path to the buckets that contain one set of values to correlate. /// /// - public object? BucketsPath { get; set; } + public Elastic.Clients.Elasticsearch.Aggregations.BucketsPath? BucketsPath { get; set; } /// /// @@ -146,7 +146,7 @@ public MaxBucketAggregationDescriptor() /// Path to the buckets that contain one set of values to correlate. /// /// - public Elastic.Clients.Elasticsearch.Aggregations.MaxBucketAggregationDescriptor BucketsPath(object? value) + public Elastic.Clients.Elasticsearch.Aggregations.MaxBucketAggregationDescriptor BucketsPath(Elastic.Clients.Elasticsearch.Aggregations.BucketsPath? value) { Instance.BucketsPath = value; return this; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/MinBucketAggregation.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/MinBucketAggregation.g.cs index d0f72b4a683..0fc1b852002 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/MinBucketAggregation.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/MinBucketAggregation.g.cs @@ -32,7 +32,7 @@ internal sealed partial class MinBucketAggregationConverter : System.Text.Json.S public override Elastic.Clients.Elasticsearch.Aggregations.MinBucketAggregation Read(ref System.Text.Json.Utf8JsonReader reader, System.Type typeToConvert, System.Text.Json.JsonSerializerOptions options) { reader.ValidateToken(System.Text.Json.JsonTokenType.StartObject); - LocalJsonValue propBucketsPath = default; + LocalJsonValue propBucketsPath = default; LocalJsonValue propFormat = default; LocalJsonValue propGapPolicy = default; while (reader.Read() && reader.TokenType is System.Text.Json.JsonTokenType.PropertyName) @@ -104,7 +104,7 @@ internal MinBucketAggregation(Elastic.Clients.Elasticsearch.Serialization.JsonCo /// Path to the buckets that contain one set of values to correlate. /// /// - public object? BucketsPath { get; set; } + public Elastic.Clients.Elasticsearch.Aggregations.BucketsPath? BucketsPath { get; set; } /// /// @@ -146,7 +146,7 @@ public MinBucketAggregationDescriptor() /// Path to the buckets that contain one set of values to correlate. /// /// - public Elastic.Clients.Elasticsearch.Aggregations.MinBucketAggregationDescriptor BucketsPath(object? value) + public Elastic.Clients.Elasticsearch.Aggregations.MinBucketAggregationDescriptor BucketsPath(Elastic.Clients.Elasticsearch.Aggregations.BucketsPath? value) { Instance.BucketsPath = value; return this; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/MovingFunctionAggregation.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/MovingFunctionAggregation.g.cs index 324449678c8..365e54719a8 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/MovingFunctionAggregation.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/MovingFunctionAggregation.g.cs @@ -35,7 +35,7 @@ internal sealed partial class MovingFunctionAggregationConverter : System.Text.J public override Elastic.Clients.Elasticsearch.Aggregations.MovingFunctionAggregation Read(ref System.Text.Json.Utf8JsonReader reader, System.Type typeToConvert, System.Text.Json.JsonSerializerOptions options) { reader.ValidateToken(System.Text.Json.JsonTokenType.StartObject); - LocalJsonValue propBucketsPath = default; + LocalJsonValue propBucketsPath = default; LocalJsonValue propFormat = default; LocalJsonValue propGapPolicy = default; LocalJsonValue propScript = default; @@ -131,7 +131,7 @@ internal MovingFunctionAggregation(Elastic.Clients.Elasticsearch.Serialization.J /// Path to the buckets that contain one set of values to correlate. /// /// - public object? BucketsPath { get; set; } + public Elastic.Clients.Elasticsearch.Aggregations.BucketsPath? BucketsPath { get; set; } /// /// @@ -195,7 +195,7 @@ public MovingFunctionAggregationDescriptor() /// Path to the buckets that contain one set of values to correlate. /// /// - public Elastic.Clients.Elasticsearch.Aggregations.MovingFunctionAggregationDescriptor BucketsPath(object? value) + public Elastic.Clients.Elasticsearch.Aggregations.MovingFunctionAggregationDescriptor BucketsPath(Elastic.Clients.Elasticsearch.Aggregations.BucketsPath? value) { Instance.BucketsPath = value; return this; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/MovingPercentilesAggregation.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/MovingPercentilesAggregation.g.cs index 3772feb36de..7913a01f015 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/MovingPercentilesAggregation.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/MovingPercentilesAggregation.g.cs @@ -34,7 +34,7 @@ internal sealed partial class MovingPercentilesAggregationConverter : System.Tex public override Elastic.Clients.Elasticsearch.Aggregations.MovingPercentilesAggregation Read(ref System.Text.Json.Utf8JsonReader reader, System.Type typeToConvert, System.Text.Json.JsonSerializerOptions options) { reader.ValidateToken(System.Text.Json.JsonTokenType.StartObject); - LocalJsonValue propBucketsPath = default; + LocalJsonValue propBucketsPath = default; LocalJsonValue propFormat = default; LocalJsonValue propGapPolicy = default; LocalJsonValue propShift = default; @@ -122,7 +122,7 @@ internal MovingPercentilesAggregation(Elastic.Clients.Elasticsearch.Serializatio /// Path to the buckets that contain one set of values to correlate. /// /// - public object? BucketsPath { get; set; } + public Elastic.Clients.Elasticsearch.Aggregations.BucketsPath? BucketsPath { get; set; } /// /// @@ -179,7 +179,7 @@ public MovingPercentilesAggregationDescriptor() /// Path to the buckets that contain one set of values to correlate. /// /// - public Elastic.Clients.Elasticsearch.Aggregations.MovingPercentilesAggregationDescriptor BucketsPath(object? value) + public Elastic.Clients.Elasticsearch.Aggregations.MovingPercentilesAggregationDescriptor BucketsPath(Elastic.Clients.Elasticsearch.Aggregations.BucketsPath? value) { Instance.BucketsPath = value; return this; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/NormalizeAggregation.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/NormalizeAggregation.g.cs index c68734fa656..bf7dc2b11cd 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/NormalizeAggregation.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/NormalizeAggregation.g.cs @@ -33,7 +33,7 @@ internal sealed partial class NormalizeAggregationConverter : System.Text.Json.S public override Elastic.Clients.Elasticsearch.Aggregations.NormalizeAggregation Read(ref System.Text.Json.Utf8JsonReader reader, System.Type typeToConvert, System.Text.Json.JsonSerializerOptions options) { reader.ValidateToken(System.Text.Json.JsonTokenType.StartObject); - LocalJsonValue propBucketsPath = default; + LocalJsonValue propBucketsPath = default; LocalJsonValue propFormat = default; LocalJsonValue propGapPolicy = default; LocalJsonValue propMethod = default; @@ -113,7 +113,7 @@ internal NormalizeAggregation(Elastic.Clients.Elasticsearch.Serialization.JsonCo /// Path to the buckets that contain one set of values to correlate. /// /// - public object? BucketsPath { get; set; } + public Elastic.Clients.Elasticsearch.Aggregations.BucketsPath? BucketsPath { get; set; } /// /// @@ -162,7 +162,7 @@ public NormalizeAggregationDescriptor() /// Path to the buckets that contain one set of values to correlate. /// /// - public Elastic.Clients.Elasticsearch.Aggregations.NormalizeAggregationDescriptor BucketsPath(object? value) + public Elastic.Clients.Elasticsearch.Aggregations.NormalizeAggregationDescriptor BucketsPath(Elastic.Clients.Elasticsearch.Aggregations.BucketsPath? value) { Instance.BucketsPath = value; return this; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/PercentilesBucketAggregation.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/PercentilesBucketAggregation.g.cs index 42531e3ec0e..4c3764150c8 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/PercentilesBucketAggregation.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/PercentilesBucketAggregation.g.cs @@ -33,7 +33,7 @@ internal sealed partial class PercentilesBucketAggregationConverter : System.Tex public override Elastic.Clients.Elasticsearch.Aggregations.PercentilesBucketAggregation Read(ref System.Text.Json.Utf8JsonReader reader, System.Type typeToConvert, System.Text.Json.JsonSerializerOptions options) { reader.ValidateToken(System.Text.Json.JsonTokenType.StartObject); - LocalJsonValue propBucketsPath = default; + LocalJsonValue propBucketsPath = default; LocalJsonValue propFormat = default; LocalJsonValue propGapPolicy = default; LocalJsonValue?> propPercents = default; @@ -113,7 +113,7 @@ internal PercentilesBucketAggregation(Elastic.Clients.Elasticsearch.Serializatio /// Path to the buckets that contain one set of values to correlate. /// /// - public object? BucketsPath { get; set; } + public Elastic.Clients.Elasticsearch.Aggregations.BucketsPath? BucketsPath { get; set; } /// /// @@ -162,7 +162,7 @@ public PercentilesBucketAggregationDescriptor() /// Path to the buckets that contain one set of values to correlate. /// /// - public Elastic.Clients.Elasticsearch.Aggregations.PercentilesBucketAggregationDescriptor BucketsPath(object? value) + public Elastic.Clients.Elasticsearch.Aggregations.PercentilesBucketAggregationDescriptor BucketsPath(Elastic.Clients.Elasticsearch.Aggregations.BucketsPath? value) { Instance.BucketsPath = value; return this; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/SerialDifferencingAggregation.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/SerialDifferencingAggregation.g.cs index d1efae4908b..05dde915331 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/SerialDifferencingAggregation.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/SerialDifferencingAggregation.g.cs @@ -33,7 +33,7 @@ internal sealed partial class SerialDifferencingAggregationConverter : System.Te public override Elastic.Clients.Elasticsearch.Aggregations.SerialDifferencingAggregation Read(ref System.Text.Json.Utf8JsonReader reader, System.Type typeToConvert, System.Text.Json.JsonSerializerOptions options) { reader.ValidateToken(System.Text.Json.JsonTokenType.StartObject); - LocalJsonValue propBucketsPath = default; + LocalJsonValue propBucketsPath = default; LocalJsonValue propFormat = default; LocalJsonValue propGapPolicy = default; LocalJsonValue propLag = default; @@ -113,7 +113,7 @@ internal SerialDifferencingAggregation(Elastic.Clients.Elasticsearch.Serializati /// Path to the buckets that contain one set of values to correlate. /// /// - public object? BucketsPath { get; set; } + public Elastic.Clients.Elasticsearch.Aggregations.BucketsPath? BucketsPath { get; set; } /// /// @@ -163,7 +163,7 @@ public SerialDifferencingAggregationDescriptor() /// Path to the buckets that contain one set of values to correlate. /// /// - public Elastic.Clients.Elasticsearch.Aggregations.SerialDifferencingAggregationDescriptor BucketsPath(object? value) + public Elastic.Clients.Elasticsearch.Aggregations.SerialDifferencingAggregationDescriptor BucketsPath(Elastic.Clients.Elasticsearch.Aggregations.BucketsPath? value) { Instance.BucketsPath = value; return this; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/StatsBucketAggregation.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/StatsBucketAggregation.g.cs index 9541dc640e6..cfd5441f9fc 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/StatsBucketAggregation.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/StatsBucketAggregation.g.cs @@ -32,7 +32,7 @@ internal sealed partial class StatsBucketAggregationConverter : System.Text.Json public override Elastic.Clients.Elasticsearch.Aggregations.StatsBucketAggregation Read(ref System.Text.Json.Utf8JsonReader reader, System.Type typeToConvert, System.Text.Json.JsonSerializerOptions options) { reader.ValidateToken(System.Text.Json.JsonTokenType.StartObject); - LocalJsonValue propBucketsPath = default; + LocalJsonValue propBucketsPath = default; LocalJsonValue propFormat = default; LocalJsonValue propGapPolicy = default; while (reader.Read() && reader.TokenType is System.Text.Json.JsonTokenType.PropertyName) @@ -104,7 +104,7 @@ internal StatsBucketAggregation(Elastic.Clients.Elasticsearch.Serialization.Json /// Path to the buckets that contain one set of values to correlate. /// /// - public object? BucketsPath { get; set; } + public Elastic.Clients.Elasticsearch.Aggregations.BucketsPath? BucketsPath { get; set; } /// /// @@ -146,7 +146,7 @@ public StatsBucketAggregationDescriptor() /// Path to the buckets that contain one set of values to correlate. /// /// - public Elastic.Clients.Elasticsearch.Aggregations.StatsBucketAggregationDescriptor BucketsPath(object? value) + public Elastic.Clients.Elasticsearch.Aggregations.StatsBucketAggregationDescriptor BucketsPath(Elastic.Clients.Elasticsearch.Aggregations.BucketsPath? value) { Instance.BucketsPath = value; return this; diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/SumBucketAggregation.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/SumBucketAggregation.g.cs index fc7136321e6..2f4aaede5ea 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/SumBucketAggregation.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Aggregations/SumBucketAggregation.g.cs @@ -32,7 +32,7 @@ internal sealed partial class SumBucketAggregationConverter : System.Text.Json.S public override Elastic.Clients.Elasticsearch.Aggregations.SumBucketAggregation Read(ref System.Text.Json.Utf8JsonReader reader, System.Type typeToConvert, System.Text.Json.JsonSerializerOptions options) { reader.ValidateToken(System.Text.Json.JsonTokenType.StartObject); - LocalJsonValue propBucketsPath = default; + LocalJsonValue propBucketsPath = default; LocalJsonValue propFormat = default; LocalJsonValue propGapPolicy = default; while (reader.Read() && reader.TokenType is System.Text.Json.JsonTokenType.PropertyName) @@ -104,7 +104,7 @@ internal SumBucketAggregation(Elastic.Clients.Elasticsearch.Serialization.JsonCo /// Path to the buckets that contain one set of values to correlate. /// /// - public object? BucketsPath { get; set; } + public Elastic.Clients.Elasticsearch.Aggregations.BucketsPath? BucketsPath { get; set; } /// /// @@ -146,7 +146,7 @@ public SumBucketAggregationDescriptor() /// Path to the buckets that contain one set of values to correlate. /// /// - public Elastic.Clients.Elasticsearch.Aggregations.SumBucketAggregationDescriptor BucketsPath(object? value) + public Elastic.Clients.Elasticsearch.Aggregations.SumBucketAggregationDescriptor BucketsPath(Elastic.Clients.Elasticsearch.Aggregations.BucketsPath? value) { Instance.BucketsPath = value; return this; diff --git a/src/Elastic.Clients.Elasticsearch/_Shared/Types/Aggregations/BucketsPath.cs b/src/Elastic.Clients.Elasticsearch/_Shared/Types/Aggregations/BucketsPath.cs index 2a68eb2bf8d..c44849da3e2 100644 --- a/src/Elastic.Clients.Elasticsearch/_Shared/Types/Aggregations/BucketsPath.cs +++ b/src/Elastic.Clients.Elasticsearch/_Shared/Types/Aggregations/BucketsPath.cs @@ -19,7 +19,7 @@ namespace Elastic.Clients.Elasticsearch.Aggregations; /// Buckets path can be expressed in different ways, and an aggregation may accept some or all of these
forms depending on its type. Please refer to each aggregation's documentation to know what buckets
path forms they accept.
/// [JsonConverter(typeof(BucketsPathConverter))] -public sealed partial class BucketsPath : IComplexUnion +public sealed class BucketsPath : IComplexUnion { public enum Kind {