Skip to content

Commit c18b1da

Browse files
authored
Regenerate client using the latest specification (#8388)
1 parent 3957c20 commit c18b1da

File tree

72 files changed

+9649
-863
lines changed

Some content is hidden

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

72 files changed

+9649
-863
lines changed

src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ApiUrlLookup.g.cs

-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,6 @@ internal static class ApiUrlLookup
7878
internal static ApiUrls IndexManagementPutIndexTemplate = new ApiUrls(new[] { "_index_template/{name}" });
7979
internal static ApiUrls IndexManagementPutMapping = new ApiUrls(new[] { "{index}/_mapping" });
8080
internal static ApiUrls IndexManagementPutSettings = new ApiUrls(new[] { "_settings", "{index}/_settings" });
81-
internal static ApiUrls IndexManagementPutTemplate = new ApiUrls(new[] { "_template/{name}" });
8281
internal static ApiUrls IndexManagementRecovery = new ApiUrls(new[] { "_recovery", "{index}/_recovery" });
8382
internal static ApiUrls IndexManagementRefresh = new ApiUrls(new[] { "_refresh", "{index}/_refresh" });
8483
internal static ApiUrls IndexManagementResolveIndex = new ApiUrls(new[] { "_resolve/index/{name}" });

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

+5-5
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@ public sealed partial class ClusterStatsRequestParameters : RequestParameters
3333
{
3434
/// <summary>
3535
/// <para>
36-
/// If <c>true</c>, returns settings in flat format.
36+
/// Include remote cluster data into the response
3737
/// </para>
3838
/// </summary>
39-
public bool? FlatSettings { get => Q<bool?>("flat_settings"); set => Q("flat_settings", value); }
39+
public bool? IncludeRemotes { get => Q<bool?>("include_remotes"); set => Q("include_remotes", value); }
4040

4141
/// <summary>
4242
/// <para>
@@ -74,11 +74,11 @@ public ClusterStatsRequest(Elastic.Clients.Elasticsearch.Serverless.NodeIds? nod
7474

7575
/// <summary>
7676
/// <para>
77-
/// If <c>true</c>, returns settings in flat format.
77+
/// Include remote cluster data into the response
7878
/// </para>
7979
/// </summary>
8080
[JsonIgnore]
81-
public bool? FlatSettings { get => Q<bool?>("flat_settings"); set => Q("flat_settings", value); }
81+
public bool? IncludeRemotes { get => Q<bool?>("include_remotes"); set => Q("include_remotes", value); }
8282

8383
/// <summary>
8484
/// <para>
@@ -117,7 +117,7 @@ public ClusterStatsRequestDescriptor()
117117

118118
internal override string OperationName => "cluster.stats";
119119

120-
public ClusterStatsRequestDescriptor FlatSettings(bool? flatSettings = true) => Qs("flat_settings", flatSettings);
120+
public ClusterStatsRequestDescriptor IncludeRemotes(bool? includeRemotes = true) => Qs("include_remotes", includeRemotes);
121121
public ClusterStatsRequestDescriptor Timeout(Elastic.Clients.Elasticsearch.Serverless.Duration? timeout) => Qs("timeout", timeout);
122122

123123
public ClusterStatsRequestDescriptor NodeId(Elastic.Clients.Elasticsearch.Serverless.NodeIds? nodeId)

src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/ClearCacheResponse.g.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,5 @@ namespace Elastic.Clients.Elasticsearch.Serverless.IndexManagement;
2929
public sealed partial class ClearCacheResponse : ElasticsearchResponse
3030
{
3131
[JsonInclude, JsonPropertyName("_shards")]
32-
public Elastic.Clients.Elasticsearch.Serverless.ShardStatistics Shards { get; init; }
32+
public Elastic.Clients.Elasticsearch.Serverless.ShardStatistics? Shards { get; init; }
3333
}

src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/FlushResponse.g.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,5 @@ namespace Elastic.Clients.Elasticsearch.Serverless.IndexManagement;
2929
public sealed partial class FlushResponse : ElasticsearchResponse
3030
{
3131
[JsonInclude, JsonPropertyName("_shards")]
32-
public Elastic.Clients.Elasticsearch.Serverless.ShardStatistics Shards { get; init; }
32+
public Elastic.Clients.Elasticsearch.Serverless.ShardStatistics? Shards { get; init; }
3333
}

src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/ForcemergeResponse.g.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.Serverless.IndexManagement;
2929
public sealed partial class ForcemergeResponse : ElasticsearchResponse
3030
{
3131
[JsonInclude, JsonPropertyName("_shards")]
32-
public Elastic.Clients.Elasticsearch.Serverless.ShardStatistics Shards { get; init; }
32+
public Elastic.Clients.Elasticsearch.Serverless.ShardStatistics? Shards { get; init; }
3333

3434
/// <summary>
3535
/// <para>

0 commit comments

Comments
 (0)