Skip to content

Commit 7e163f4

Browse files
committed
Improve deprecation handling
1 parent bf29cbe commit 7e163f4

File tree

1,765 files changed

+45567
-4725
lines changed

Some content is hidden

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

1,765 files changed

+45567
-4725
lines changed

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

+41
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,34 @@ internal static class ApiUrlLookup
144144
internal static ApiUrls IndexManagementStats = new ApiUrls(new[] { "_stats", "_stats/{metric}", "{index}/_stats", "{index}/_stats/{metric}" });
145145
internal static ApiUrls IndexManagementUpdateAliases = new ApiUrls(new[] { "_aliases" });
146146
internal static ApiUrls IndexManagementValidateQuery = new ApiUrls(new[] { "_validate/query", "{index}/_validate/query" });
147+
internal static ApiUrls InferenceChatCompletionUnified = new ApiUrls(new[] { "_inference/chat_completion/{inference_id}/_stream" });
148+
internal static ApiUrls InferenceCompletion = new ApiUrls(new[] { "_inference/completion/{inference_id}" });
149+
internal static ApiUrls InferenceDelete = new ApiUrls(new[] { "_inference/{inference_id}", "_inference/{task_type}/{inference_id}" });
150+
internal static ApiUrls InferenceGet = new ApiUrls(new[] { "_inference", "_inference/{inference_id}", "_inference/{task_type}/{inference_id}" });
151+
internal static ApiUrls InferencePostEisChatCompletion = new ApiUrls(new[] { "_inference/chat_completion/{eis_inference_id}/_stream" });
152+
internal static ApiUrls InferencePut = new ApiUrls(new[] { "_inference/{inference_id}", "_inference/{task_type}/{inference_id}" });
153+
internal static ApiUrls InferencePutAlibabacloud = new ApiUrls(new[] { "_inference/{task_type}/{alibabacloud_inference_id}" });
154+
internal static ApiUrls InferencePutAmazonbedrock = new ApiUrls(new[] { "_inference/{task_type}/{amazonbedrock_inference_id}" });
155+
internal static ApiUrls InferencePutAnthropic = new ApiUrls(new[] { "_inference/{task_type}/{anthropic_inference_id}" });
156+
internal static ApiUrls InferencePutAzureaistudio = new ApiUrls(new[] { "_inference/{task_type}/{azureaistudio_inference_id}" });
157+
internal static ApiUrls InferencePutAzureopenai = new ApiUrls(new[] { "_inference/{task_type}/{azureopenai_inference_id}" });
158+
internal static ApiUrls InferencePutCohere = new ApiUrls(new[] { "_inference/{task_type}/{cohere_inference_id}" });
159+
internal static ApiUrls InferencePutEis = new ApiUrls(new[] { "_inference/{task_type}/{eis_inference_id}" });
160+
internal static ApiUrls InferencePutElasticsearch = new ApiUrls(new[] { "_inference/{task_type}/{elasticsearch_inference_id}" });
161+
internal static ApiUrls InferencePutElser = new ApiUrls(new[] { "_inference/{task_type}/{elser_inference_id}" });
162+
internal static ApiUrls InferencePutGoogleaistudio = new ApiUrls(new[] { "_inference/{task_type}/{googleaistudio_inference_id}" });
163+
internal static ApiUrls InferencePutGooglevertexai = new ApiUrls(new[] { "_inference/{task_type}/{googlevertexai_inference_id}" });
164+
internal static ApiUrls InferencePutHuggingFace = new ApiUrls(new[] { "_inference/{task_type}/{huggingface_inference_id}" });
165+
internal static ApiUrls InferencePutJinaai = new ApiUrls(new[] { "_inference/{task_type}/{jinaai_inference_id}" });
166+
internal static ApiUrls InferencePutMistral = new ApiUrls(new[] { "_inference/{task_type}/{mistral_inference_id}" });
167+
internal static ApiUrls InferencePutOpenai = new ApiUrls(new[] { "_inference/{task_type}/{openai_inference_id}" });
168+
internal static ApiUrls InferencePutVoyageai = new ApiUrls(new[] { "_inference/{task_type}/{voyageai_inference_id}" });
169+
internal static ApiUrls InferencePutWatsonx = new ApiUrls(new[] { "_inference/{task_type}/{watsonx_inference_id}" });
170+
internal static ApiUrls InferenceRerank = new ApiUrls(new[] { "_inference/rerank/{inference_id}" });
171+
internal static ApiUrls InferenceSparseEmbedding = new ApiUrls(new[] { "_inference/sparse_embedding/{inference_id}" });
172+
internal static ApiUrls InferenceStreamCompletion = new ApiUrls(new[] { "_inference/completion/{inference_id}/_stream" });
173+
internal static ApiUrls InferenceTextEmbedding = new ApiUrls(new[] { "_inference/text_embedding/{inference_id}" });
174+
internal static ApiUrls InferenceUpdate = new ApiUrls(new[] { "_inference/{inference_id}/_update", "_inference/{task_type}/{inference_id}/_update" });
147175
internal static ApiUrls IngestDeleteGeoipDatabase = new ApiUrls(new[] { "_ingest/geoip/database/{id}" });
148176
internal static ApiUrls IngestDeleteIpLocationDatabase = new ApiUrls(new[] { "_ingest/ip_location/database/{id}" });
149177
internal static ApiUrls IngestDeletePipeline = new ApiUrls(new[] { "_ingest/pipeline/{id}" });
@@ -180,6 +208,7 @@ internal static class ApiUrlLookup
180208
internal static ApiUrls MachineLearningEstimateModelMemory = new ApiUrls(new[] { "_ml/anomaly_detectors/_estimate_model_memory" });
181209
internal static ApiUrls MachineLearningEvaluateDataFrame = new ApiUrls(new[] { "_ml/data_frame/_evaluate" });
182210
internal static ApiUrls MachineLearningExplainDataFrameAnalytics = new ApiUrls(new[] { "_ml/data_frame/analytics/_explain", "_ml/data_frame/analytics/{id}/_explain" });
211+
internal static ApiUrls MachineLearningFlushJob = new ApiUrls(new[] { "_ml/anomaly_detectors/{job_id}/_flush" });
183212
internal static ApiUrls MachineLearningForecast = new ApiUrls(new[] { "_ml/anomaly_detectors/{job_id}/_forecast" });
184213
internal static ApiUrls MachineLearningGetBuckets = new ApiUrls(new[] { "_ml/anomaly_detectors/{job_id}/results/buckets/{timestamp}", "_ml/anomaly_detectors/{job_id}/results/buckets" });
185214
internal static ApiUrls MachineLearningGetCalendarEvents = new ApiUrls(new[] { "_ml/calendars/{calendar_id}/events" });
@@ -291,14 +320,26 @@ internal static class ApiUrlLookup
291320
internal static ApiUrls QueryRulesPutRule = new ApiUrls(new[] { "_query_rules/{ruleset_id}/_rule/{rule_id}" });
292321
internal static ApiUrls QueryRulesPutRuleset = new ApiUrls(new[] { "_query_rules/{ruleset_id}" });
293322
internal static ApiUrls QueryRulesTest = new ApiUrls(new[] { "_query_rules/{ruleset_id}/_test" });
323+
internal static ApiUrls RollupDeleteJob = new ApiUrls(new[] { "_rollup/job/{id}" });
324+
internal static ApiUrls RollupGetJobs = new ApiUrls(new[] { "_rollup/job/{id}", "_rollup/job" });
325+
internal static ApiUrls RollupGetRollupCaps = new ApiUrls(new[] { "_rollup/data/{id}", "_rollup/data" });
326+
internal static ApiUrls RollupGetRollupIndexCaps = new ApiUrls(new[] { "{index}/_rollup/data" });
327+
internal static ApiUrls RollupPutJob = new ApiUrls(new[] { "_rollup/job/{id}" });
328+
internal static ApiUrls RollupRollupSearch = new ApiUrls(new[] { "{index}/_rollup_search" });
329+
internal static ApiUrls RollupStartJob = new ApiUrls(new[] { "_rollup/job/{id}/_start" });
330+
internal static ApiUrls RollupStopJob = new ApiUrls(new[] { "_rollup/job/{id}/_stop" });
294331
internal static ApiUrls SearchableSnapshotsCacheStats = new ApiUrls(new[] { "_searchable_snapshots/cache/stats", "_searchable_snapshots/{node_id}/cache/stats" });
295332
internal static ApiUrls SearchableSnapshotsClearCache = new ApiUrls(new[] { "_searchable_snapshots/cache/clear", "{index}/_searchable_snapshots/cache/clear" });
296333
internal static ApiUrls SearchableSnapshotsMount = new ApiUrls(new[] { "_snapshot/{repository}/{snapshot}/_mount" });
297334
internal static ApiUrls SearchableSnapshotsStats = new ApiUrls(new[] { "_searchable_snapshots/stats", "{index}/_searchable_snapshots/stats" });
298335
internal static ApiUrls SearchApplicationDelete = new ApiUrls(new[] { "_application/search_application/{name}" });
336+
internal static ApiUrls SearchApplicationDeleteBehavioralAnalytics = new ApiUrls(new[] { "_application/analytics/{name}" });
299337
internal static ApiUrls SearchApplicationGet = new ApiUrls(new[] { "_application/search_application/{name}" });
338+
internal static ApiUrls SearchApplicationGetBehavioralAnalytics = new ApiUrls(new[] { "_application/analytics", "_application/analytics/{name}" });
300339
internal static ApiUrls SearchApplicationList = new ApiUrls(new[] { "_application/search_application" });
340+
internal static ApiUrls SearchApplicationPostBehavioralAnalyticsEvent = new ApiUrls(new[] { "_application/analytics/{collection_name}/event/{event_type}" });
301341
internal static ApiUrls SearchApplicationPut = new ApiUrls(new[] { "_application/search_application/{name}" });
342+
internal static ApiUrls SearchApplicationPutBehavioralAnalytics = new ApiUrls(new[] { "_application/analytics/{name}" });
302343
internal static ApiUrls SearchApplicationRenderQuery = new ApiUrls(new[] { "_application/search_application/{name}/_render_query" });
303344
internal static ApiUrls SearchApplicationSearch = new ApiUrls(new[] { "_application/search_application/{name}/_search" });
304345
internal static ApiUrls SecurityActivateUserProfile = new ApiUrls(new[] { "_security/profile/_activate" });

src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/AsyncSearchStatusRequest.g.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ public AsyncSearchStatusRequestDescriptor(Elastic.Clients.Elasticsearch.Id id)
166166
Instance = new Elastic.Clients.Elasticsearch.AsyncSearch.AsyncSearchStatusRequest(id);
167167
}
168168

169-
[System.Obsolete("The type contains additional required properties that must be initialized. Please use an alternative constructor to ensure all required values are properly set.")]
169+
[System.Obsolete("TODO")]
170170
public AsyncSearchStatusRequestDescriptor()
171171
{
172172
throw new System.InvalidOperationException("The use of the parameterless constructor is not permitted for this type.");

src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/AsyncSearchStatusResponse.g.cs

-11
Original file line numberDiff line numberDiff line change
@@ -164,17 +164,6 @@ public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clien
164164
[System.Text.Json.Serialization.JsonConverter(typeof(Elastic.Clients.Elasticsearch.AsyncSearch.AsyncSearchStatusResponseConverter))]
165165
public sealed partial class AsyncSearchStatusResponse : Elastic.Transport.Products.Elasticsearch.ElasticsearchResponse
166166
{
167-
[System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
168-
public AsyncSearchStatusResponse(System.DateTime expirationTimeInMillis, bool isPartial, bool isRunning, Elastic.Clients.Elasticsearch.ShardStatistics shards, System.DateTime startTimeInMillis)
169-
{
170-
ExpirationTimeInMillis = expirationTimeInMillis;
171-
IsPartial = isPartial;
172-
IsRunning = isRunning;
173-
Shards = shards;
174-
StartTimeInMillis = startTimeInMillis;
175-
}
176-
177-
[System.Obsolete("The type contains additional required properties that must be initialized. Please use an alternative constructor to ensure all required values are properly set.")]
178167
[System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
179168
public AsyncSearchStatusResponse()
180169
{

src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/DeleteAsyncSearchRequest.g.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ public DeleteAsyncSearchRequestDescriptor(Elastic.Clients.Elasticsearch.Id id)
129129
Instance = new Elastic.Clients.Elasticsearch.AsyncSearch.DeleteAsyncSearchRequest(id);
130130
}
131131

132-
[System.Obsolete("The type contains additional required properties that must be initialized. Please use an alternative constructor to ensure all required values are properly set.")]
132+
[System.Obsolete("TODO")]
133133
public DeleteAsyncSearchRequestDescriptor()
134134
{
135135
throw new System.InvalidOperationException("The use of the parameterless constructor is not permitted for this type.");

src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/DeleteAsyncSearchResponse.g.cs

-7
Original file line numberDiff line numberDiff line change
@@ -65,13 +65,6 @@ public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clien
6565
[System.Text.Json.Serialization.JsonConverter(typeof(Elastic.Clients.Elasticsearch.AsyncSearch.DeleteAsyncSearchResponseConverter))]
6666
public sealed partial class DeleteAsyncSearchResponse : Elastic.Transport.Products.Elasticsearch.ElasticsearchResponse
6767
{
68-
[System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
69-
public DeleteAsyncSearchResponse(bool acknowledged)
70-
{
71-
Acknowledged = acknowledged;
72-
}
73-
74-
[System.Obsolete("The type contains additional required properties that must be initialized. Please use an alternative constructor to ensure all required values are properly set.")]
7568
[System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
7669
public DeleteAsyncSearchResponse()
7770
{

src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/GetAsyncSearchRequest.g.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ public GetAsyncSearchRequestDescriptor(Elastic.Clients.Elasticsearch.Id id)
180180
Instance = new Elastic.Clients.Elasticsearch.AsyncSearch.GetAsyncSearchRequest(id);
181181
}
182182

183-
[System.Obsolete("The type contains additional required properties that must be initialized. Please use an alternative constructor to ensure all required values are properly set.")]
183+
[System.Obsolete("TODO")]
184184
public GetAsyncSearchRequestDescriptor()
185185
{
186186
throw new System.InvalidOperationException("The use of the parameterless constructor is not permitted for this type.");

src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/GetAsyncSearchResponse.g.cs

-11
Original file line numberDiff line numberDiff line change
@@ -163,17 +163,6 @@ public override System.Text.Json.Serialization.JsonConverter CreateConverter(Sys
163163
[System.Text.Json.Serialization.JsonConverter(typeof(Elastic.Clients.Elasticsearch.AsyncSearch.GetAsyncSearchResponseConverterFactory))]
164164
public sealed partial class GetAsyncSearchResponse<TDocument> : Elastic.Transport.Products.Elasticsearch.ElasticsearchResponse
165165
{
166-
[System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
167-
public GetAsyncSearchResponse(System.DateTime expirationTimeInMillis, bool isPartial, bool isRunning, Elastic.Clients.Elasticsearch.AsyncSearch.AsyncSearch<TDocument> response, System.DateTime startTimeInMillis)
168-
{
169-
ExpirationTimeInMillis = expirationTimeInMillis;
170-
IsPartial = isPartial;
171-
IsRunning = isRunning;
172-
Response = response;
173-
StartTimeInMillis = startTimeInMillis;
174-
}
175-
176-
[System.Obsolete("The type contains additional required properties that must be initialized. Please use an alternative constructor to ensure all required values are properly set.")]
177166
[System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
178167
public GetAsyncSearchResponse()
179168
{

src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/SubmitAsyncSearchRequest.g.cs

+4-4
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ public sealed partial class SubmitAsyncSearchRequestParameters : Elastic.Transpo
130130
/// 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
131131
/// </para>
132132
/// </summary>
133-
public long? MaxConcurrentShardRequests { get => Q<long?>("max_concurrent_shard_requests"); set => Q("max_concurrent_shard_requests", value); }
133+
public int? MaxConcurrentShardRequests { get => Q<int?>("max_concurrent_shard_requests"); set => Q("max_concurrent_shard_requests", value); }
134134

135135
/// <summary>
136136
/// <para>
@@ -708,7 +708,7 @@ internal SubmitAsyncSearchRequest(Elastic.Clients.Elasticsearch.Serialization.Js
708708
/// 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
709709
/// </para>
710710
/// </summary>
711-
public long? MaxConcurrentShardRequests { get => Q<long?>("max_concurrent_shard_requests"); set => Q("max_concurrent_shard_requests", value); }
711+
public int? MaxConcurrentShardRequests { get => Q<int?>("max_concurrent_shard_requests"); set => Q("max_concurrent_shard_requests", value); }
712712

713713
/// <summary>
714714
/// <para>
@@ -1240,7 +1240,7 @@ public Elastic.Clients.Elasticsearch.AsyncSearch.SubmitAsyncSearchRequestDescrip
12401240
/// 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
12411241
/// </para>
12421242
/// </summary>
1243-
public Elastic.Clients.Elasticsearch.AsyncSearch.SubmitAsyncSearchRequestDescriptor MaxConcurrentShardRequests(long? value)
1243+
public Elastic.Clients.Elasticsearch.AsyncSearch.SubmitAsyncSearchRequestDescriptor MaxConcurrentShardRequests(int? value)
12441244
{
12451245
Instance.MaxConcurrentShardRequests = value;
12461246
return this;
@@ -2820,7 +2820,7 @@ public Elastic.Clients.Elasticsearch.AsyncSearch.SubmitAsyncSearchRequestDescrip
28202820
/// 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
28212821
/// </para>
28222822
/// </summary>
2823-
public Elastic.Clients.Elasticsearch.AsyncSearch.SubmitAsyncSearchRequestDescriptor<TDocument> MaxConcurrentShardRequests(long? value)
2823+
public Elastic.Clients.Elasticsearch.AsyncSearch.SubmitAsyncSearchRequestDescriptor<TDocument> MaxConcurrentShardRequests(int? value)
28242824
{
28252825
Instance.MaxConcurrentShardRequests = value;
28262826
return this;

src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/SubmitAsyncSearchResponse.g.cs

-11
Original file line numberDiff line numberDiff line change
@@ -163,17 +163,6 @@ public override System.Text.Json.Serialization.JsonConverter CreateConverter(Sys
163163
[System.Text.Json.Serialization.JsonConverter(typeof(Elastic.Clients.Elasticsearch.AsyncSearch.SubmitAsyncSearchResponseConverterFactory))]
164164
public sealed partial class SubmitAsyncSearchResponse<TDocument> : Elastic.Transport.Products.Elasticsearch.ElasticsearchResponse
165165
{
166-
[System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
167-
public SubmitAsyncSearchResponse(System.DateTime expirationTimeInMillis, bool isPartial, bool isRunning, Elastic.Clients.Elasticsearch.AsyncSearch.AsyncSearch<TDocument> response, System.DateTime startTimeInMillis)
168-
{
169-
ExpirationTimeInMillis = expirationTimeInMillis;
170-
IsPartial = isPartial;
171-
IsRunning = isRunning;
172-
Response = response;
173-
StartTimeInMillis = startTimeInMillis;
174-
}
175-
176-
[System.Obsolete("The type contains additional required properties that must be initialized. Please use an alternative constructor to ensure all required values are properly set.")]
177166
[System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
178167
public SubmitAsyncSearchResponse()
179168
{

src/Elastic.Clients.Elasticsearch/_Generated/Api/BulkResponse.g.cs

-9
Original file line numberDiff line numberDiff line change
@@ -92,15 +92,6 @@ public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clien
9292
[System.Text.Json.Serialization.JsonConverter(typeof(Elastic.Clients.Elasticsearch.BulkResponseConverter))]
9393
public partial class BulkResponse : Elastic.Transport.Products.Elasticsearch.ElasticsearchResponse
9494
{
95-
[System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
96-
public BulkResponse(bool errors, System.Collections.Generic.IReadOnlyCollection<Elastic.Clients.Elasticsearch.Core.Bulk.ResponseItem> items, long took)
97-
{
98-
Errors = errors;
99-
Items = items;
100-
Took = took;
101-
}
102-
103-
[System.Obsolete("The type contains additional required properties that must be initialized. Please use an alternative constructor to ensure all required values are properly set.")]
10495
[System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
10596
public BulkResponse()
10697
{

src/Elastic.Clients.Elasticsearch/_Generated/Api/ClearScrollResponse.g.cs

-8
Original file line numberDiff line numberDiff line change
@@ -74,14 +74,6 @@ public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clien
7474
[System.Text.Json.Serialization.JsonConverter(typeof(Elastic.Clients.Elasticsearch.ClearScrollResponseConverter))]
7575
public sealed partial class ClearScrollResponse : Elastic.Transport.Products.Elasticsearch.ElasticsearchResponse
7676
{
77-
[System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
78-
public ClearScrollResponse(int numFreed, bool succeeded)
79-
{
80-
NumFreed = numFreed;
81-
Succeeded = succeeded;
82-
}
83-
84-
[System.Obsolete("The type contains additional required properties that must be initialized. Please use an alternative constructor to ensure all required values are properly set.")]
8577
[System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
8678
public ClearScrollResponse()
8779
{

src/Elastic.Clients.Elasticsearch/_Generated/Api/ClosePointInTimeRequest.g.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ public ClosePointInTimeRequest()
8989
}
9090
#endif
9191
#if !NET7_0_OR_GREATER
92-
[System.Obsolete("The type contains additional required properties that must be initialized. Please use an alternative constructor to ensure all required values are properly set.")]
92+
[System.Obsolete("The request contains required properties that must be initialized. Please use an alternative constructor to ensure all required values are properly set.")]
9393
public ClosePointInTimeRequest()
9494
{
9595
}

src/Elastic.Clients.Elasticsearch/_Generated/Api/ClosePointInTimeResponse.g.cs

-8
Original file line numberDiff line numberDiff line change
@@ -74,14 +74,6 @@ public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clien
7474
[System.Text.Json.Serialization.JsonConverter(typeof(Elastic.Clients.Elasticsearch.ClosePointInTimeResponseConverter))]
7575
public sealed partial class ClosePointInTimeResponse : Elastic.Transport.Products.Elasticsearch.ElasticsearchResponse
7676
{
77-
[System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
78-
public ClosePointInTimeResponse(int numFreed, bool succeeded)
79-
{
80-
NumFreed = numFreed;
81-
Succeeded = succeeded;
82-
}
83-
84-
[System.Obsolete("The type contains additional required properties that must be initialized. Please use an alternative constructor to ensure all required values are properly set.")]
8577
[System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
8678
public ClosePointInTimeResponse()
8779
{

0 commit comments

Comments
 (0)