in src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/IndexSettings.g.cs [495:563]
public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clients.Elasticsearch.IndexManagement.IndexSettings value, System.Text.Json.JsonSerializerOptions options)
{
writer.WriteStartObject();
writer.WriteProperty(options, PropAnalysis, value.Analysis, null, null);
writer.WriteProperty(options, PropAnalyze, value.Analyze, null, null);
writer.WriteProperty(options, PropAutoExpandReplicas, value.AutoExpandReplicas, null, null);
writer.WriteProperty(options, PropBlocks, value.Blocks, null, null);
writer.WriteProperty(options, PropCheckOnStartup, value.CheckOnStartup, null, null);
writer.WriteProperty(options, PropCodec, value.Codec, null, null);
writer.WriteProperty(options, PropCreationDate, value.CreationDate, null, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, System.DateTimeOffset? v) => w.WriteValueEx<System.DateTimeOffset>(o, v, typeof(Elastic.Clients.Elasticsearch.Serialization.DateTimeMillisMarker)));
writer.WriteProperty(options, PropCreationDateString, value.CreationDateString, null, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, System.DateTimeOffset? v) => w.WriteValueEx<System.DateTimeOffset>(o, v, typeof(Elastic.Clients.Elasticsearch.Serialization.DateTimeMarker)));
writer.WriteProperty(options, PropDefaultPipeline, value.DefaultPipeline, null, null);
writer.WriteProperty(options, PropFinalPipeline, value.FinalPipeline, null, null);
writer.WriteProperty(options, PropFormat, value.Format, null, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, Elastic.Clients.Elasticsearch.Union<string, int>? v) => w.WriteUnionValue<string, int>(o, v, null, null));
writer.WriteProperty(options, PropGcDeletes, value.GcDeletes, null, null);
writer.WriteProperty(options, PropHidden, value.Hidden, null, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, Elastic.Clients.Elasticsearch.Union<bool, string>? v) => w.WriteUnionValue<bool, string>(o, v, null, null));
writer.WriteProperty(options, PropHighlight, value.Highlight, null, null);
writer.WriteProperty(options, PropIndex, value.Index, null, null);
writer.WriteProperty(options, PropIndexingPressure, value.IndexingPressure, null, null);
writer.WriteProperty(options, PropIndexingSlowlog, value.IndexingSlowlog, null, null);
writer.WriteProperty(options, PropLifecycle, value.Lifecycle, null, null);
writer.WriteProperty(options, PropLoadFixedBitsetFiltersEagerly, value.LoadFixedBitsetFiltersEagerly, null, null);
writer.WriteProperty(options, PropMapping, value.Mapping, null, null);
writer.WriteProperty(options, PropMaxDocvalueFieldsSearch, value.MaxDocvalueFieldsSearch, null, null);
writer.WriteProperty(options, PropMaxInnerResultWindow, value.MaxInnerResultWindow, null, null);
writer.WriteProperty(options, PropMaxNgramDiff, value.MaxNgramDiff, null, null);
writer.WriteProperty(options, PropMaxRefreshListeners, value.MaxRefreshListeners, null, null);
writer.WriteProperty(options, PropMaxRegexLength, value.MaxRegexLength, null, null);
writer.WriteProperty(options, PropMaxRescoreWindow, value.MaxRescoreWindow, null, null);
writer.WriteProperty(options, PropMaxResultWindow, value.MaxResultWindow, null, null);
writer.WriteProperty(options, PropMaxScriptFields, value.MaxScriptFields, null, null);
writer.WriteProperty(options, PropMaxShingleDiff, value.MaxShingleDiff, null, null);
writer.WriteProperty(options, PropMaxSlicesPerScroll, value.MaxSlicesPerScroll, null, null);
writer.WriteProperty(options, PropMaxTermsCount, value.MaxTermsCount, null, null);
writer.WriteProperty(options, PropMerge, value.Merge, null, null);
writer.WriteProperty(options, PropMode, value.Mode, null, null);
writer.WriteProperty(options, PropNumberOfReplicas, value.NumberOfReplicas, null, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, Elastic.Clients.Elasticsearch.Union<int, string>? v) => w.WriteUnionValue<int, string>(o, v, null, null));
writer.WriteProperty(options, PropNumberOfRoutingShards, value.NumberOfRoutingShards, null, null);
writer.WriteProperty(options, PropNumberOfShards, value.NumberOfShards, null, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, Elastic.Clients.Elasticsearch.Union<int, string>? v) => w.WriteUnionValue<int, string>(o, v, null, null));
writer.WriteProperty(options, PropPriority, value.Priority, null, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, Elastic.Clients.Elasticsearch.Union<int, string>? v) => w.WriteUnionValue<int, string>(o, v, null, null));
writer.WriteProperty(options, PropProvidedName, value.ProvidedName, null, null);
writer.WriteProperty(options, PropQueries, value.Queries, null, null);
writer.WriteProperty(options, PropQueryString, value.QueryString, null, null);
writer.WriteProperty(options, PropRefreshInterval, value.RefreshInterval, null, null);
writer.WriteProperty(options, PropRouting, value.Routing, null, null);
writer.WriteProperty(options, PropRoutingPartitionSize, value.RoutingPartitionSize, null, null);
writer.WriteProperty(options, PropRoutingPath, value.RoutingPath, null, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, System.Collections.Generic.ICollection<string>? v) => w.WriteSingleOrManyCollectionValue<string>(o, v, null));
writer.WriteProperty(options, PropSearch, value.Search, null, null);
writer.WriteProperty(options, PropSettings, value.Settings, null, null);
writer.WriteProperty(options, PropSimilarity, value.Similarity, null, null);
writer.WriteProperty(options, PropSoftDeletes, value.SoftDeletes, null, null);
writer.WriteProperty(options, PropSort, value.Sort, null, null);
writer.WriteProperty(options, PropStore, value.Store, null, null);
writer.WriteProperty(options, PropTimeSeries, value.TimeSeries, null, null);
writer.WriteProperty(options, PropTopMetricsMaxSize, value.TopMetricsMaxSize, null, null);
writer.WriteProperty(options, PropTranslog, value.Translog, null, null);
writer.WriteProperty(options, PropUuid, value.Uuid, null, null);
writer.WriteProperty(options, PropVerifiedBeforeClose, value.VerifiedBeforeClose, null, static (System.Text.Json.Utf8JsonWriter w, System.Text.Json.JsonSerializerOptions o, Elastic.Clients.Elasticsearch.Union<bool, string>? v) => w.WriteUnionValue<bool, string>(o, v, null, null));
writer.WriteProperty(options, PropVersion, value.Version, null, null);
if (value.OtherSettings is not null)
{
foreach (var item in value.OtherSettings)
{
writer.WriteProperty(options, item.Key, item.Value, null, null);
}
}
writer.WriteEndObject();
}