Skip to content

Commit a65b06b

Browse files
Regenerate client using the latest spec (#8245) (#8246)
Co-authored-by: Florian Bernd <[email protected]>
1 parent cbb7606 commit a65b06b

File tree

95 files changed

+7382
-4774
lines changed

Some content is hidden

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

95 files changed

+7382
-4774
lines changed

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

+3-3
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public sealed partial class AsyncSearchStatusRequestParameters : RequestParamete
3434
}
3535

3636
/// <summary>
37-
/// <para>Retreives the status of a previously submitted async search request given its identifier, without retrieving search results.<br/>If the Elasticsearch security features are enabled, use of this API is restricted to the `monitoring_user` role.</para>
37+
/// <para>Get async search status<br/>Retrieves the status of a previously submitted async search request given its identifier, without retrieving search results.<br/>If the Elasticsearch security features are enabled, use of this API is restricted to the `monitoring_user` role.</para>
3838
/// </summary>
3939
public sealed partial class AsyncSearchStatusRequest : PlainRequest<AsyncSearchStatusRequestParameters>
4040
{
@@ -52,7 +52,7 @@ public AsyncSearchStatusRequest(Elastic.Clients.Elasticsearch.Serverless.Id id)
5252
}
5353

5454
/// <summary>
55-
/// <para>Retreives the status of a previously submitted async search request given its identifier, without retrieving search results.<br/>If the Elasticsearch security features are enabled, use of this API is restricted to the `monitoring_user` role.</para>
55+
/// <para>Get async search status<br/>Retrieves the status of a previously submitted async search request given its identifier, without retrieving search results.<br/>If the Elasticsearch security features are enabled, use of this API is restricted to the `monitoring_user` role.</para>
5656
/// </summary>
5757
public sealed partial class AsyncSearchStatusRequestDescriptor<TDocument> : RequestDescriptor<AsyncSearchStatusRequestDescriptor<TDocument>, AsyncSearchStatusRequestParameters>
5858
{
@@ -82,7 +82,7 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o
8282
}
8383

8484
/// <summary>
85-
/// <para>Retreives the status of a previously submitted async search request given its identifier, without retrieving search results.<br/>If the Elasticsearch security features are enabled, use of this API is restricted to the `monitoring_user` role.</para>
85+
/// <para>Get async search status<br/>Retrieves the status of a previously submitted async search request given its identifier, without retrieving search results.<br/>If the Elasticsearch security features are enabled, use of this API is restricted to the `monitoring_user` role.</para>
8686
/// </summary>
8787
public sealed partial class AsyncSearchStatusRequestDescriptor : RequestDescriptor<AsyncSearchStatusRequestDescriptor, AsyncSearchStatusRequestParameters>
8888
{

src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/CloseJobRequest.g.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public sealed partial class CloseJobRequestParameters : RequestParameters
3434
}
3535

3636
/// <summary>
37-
/// <para>Closes one or more anomaly detection jobs.<br/>A job can be opened and closed multiple times throughout its lifecycle. A closed job cannot receive data or perform analysis operations, but you can still explore and navigate results.<br/>When you close a job, it runs housekeeping tasks such as pruning the model history, flushing buffers, calculating final results and persisting the model snapshots. Depending upon the size of the job, it could take several minutes to close and the equivalent time to re-open. After it is closed, the job has a minimal overhead on the cluster except for maintaining its meta data. Therefore it is a best practice to close jobs that are no longer required to process data.<br/>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.<br/>When a datafeed that has a specified end date stops, it automatically closes its associated job.</para>
37+
/// <para>Close anomaly detection jobs<br/>A job can be opened and closed multiple times throughout its lifecycle. A closed job cannot receive data or perform analysis operations, but you can still explore and navigate results.<br/>When you close a job, it runs housekeeping tasks such as pruning the model history, flushing buffers, calculating final results and persisting the model snapshots. Depending upon the size of the job, it could take several minutes to close and the equivalent time to re-open. After it is closed, the job has a minimal overhead on the cluster except for maintaining its meta data. Therefore it is a best practice to close jobs that are no longer required to process data.<br/>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.<br/>When a datafeed that has a specified end date stops, it automatically closes its associated job.</para>
3838
/// </summary>
3939
public sealed partial class CloseJobRequest : PlainRequest<CloseJobRequestParameters>
4040
{
@@ -70,7 +70,7 @@ public CloseJobRequest(Elastic.Clients.Elasticsearch.Serverless.Id jobId) : base
7070
}
7171

7272
/// <summary>
73-
/// <para>Closes one or more anomaly detection jobs.<br/>A job can be opened and closed multiple times throughout its lifecycle. A closed job cannot receive data or perform analysis operations, but you can still explore and navigate results.<br/>When you close a job, it runs housekeeping tasks such as pruning the model history, flushing buffers, calculating final results and persisting the model snapshots. Depending upon the size of the job, it could take several minutes to close and the equivalent time to re-open. After it is closed, the job has a minimal overhead on the cluster except for maintaining its meta data. Therefore it is a best practice to close jobs that are no longer required to process data.<br/>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.<br/>When a datafeed that has a specified end date stops, it automatically closes its associated job.</para>
73+
/// <para>Close anomaly detection jobs<br/>A job can be opened and closed multiple times throughout its lifecycle. A closed job cannot receive data or perform analysis operations, but you can still explore and navigate results.<br/>When you close a job, it runs housekeeping tasks such as pruning the model history, flushing buffers, calculating final results and persisting the model snapshots. Depending upon the size of the job, it could take several minutes to close and the equivalent time to re-open. After it is closed, the job has a minimal overhead on the cluster except for maintaining its meta data. Therefore it is a best practice to close jobs that are no longer required to process data.<br/>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.<br/>When a datafeed that has a specified end date stops, it automatically closes its associated job.</para>
7474
/// </summary>
7575
public sealed partial class CloseJobRequestDescriptor : RequestDescriptor<CloseJobRequestDescriptor, CloseJobRequestParameters>
7676
{

src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/GetTrainedModelsRequest.g.cs

+6-6
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public sealed partial class GetTrainedModelsRequestParameters : RequestParameter
6666
/// <summary>
6767
/// <para>A comma delimited string of tags. A trained model can have many tags, or<br/>none. When supplied, only trained models that contain all the supplied<br/>tags are returned.</para>
6868
/// </summary>
69-
public string? Tags { get => Q<string?>("tags"); set => Q("tags", value); }
69+
public ICollection<string>? Tags { get => Q<ICollection<string>?>("tags"); set => Q("tags", value); }
7070
}
7171

7272
/// <summary>
@@ -78,7 +78,7 @@ public GetTrainedModelsRequest()
7878
{
7979
}
8080

81-
public GetTrainedModelsRequest(Elastic.Clients.Elasticsearch.Serverless.Id? modelId) : base(r => r.Optional("model_id", modelId))
81+
public GetTrainedModelsRequest(Elastic.Clients.Elasticsearch.Serverless.Ids? modelId) : base(r => r.Optional("model_id", modelId))
8282
{
8383
}
8484

@@ -132,7 +132,7 @@ public GetTrainedModelsRequest(Elastic.Clients.Elasticsearch.Serverless.Id? mode
132132
/// <para>A comma delimited string of tags. A trained model can have many tags, or<br/>none. When supplied, only trained models that contain all the supplied<br/>tags are returned.</para>
133133
/// </summary>
134134
[JsonIgnore]
135-
public string? Tags { get => Q<string?>("tags"); set => Q("tags", value); }
135+
public ICollection<string>? Tags { get => Q<ICollection<string>?>("tags"); set => Q("tags", value); }
136136
}
137137

138138
/// <summary>
@@ -142,7 +142,7 @@ public sealed partial class GetTrainedModelsRequestDescriptor : RequestDescripto
142142
{
143143
internal GetTrainedModelsRequestDescriptor(Action<GetTrainedModelsRequestDescriptor> configure) => configure.Invoke(this);
144144

145-
public GetTrainedModelsRequestDescriptor(Elastic.Clients.Elasticsearch.Serverless.Id? modelId) : base(r => r.Optional("model_id", modelId))
145+
public GetTrainedModelsRequestDescriptor(Elastic.Clients.Elasticsearch.Serverless.Ids? modelId) : base(r => r.Optional("model_id", modelId))
146146
{
147147
}
148148

@@ -164,9 +164,9 @@ public GetTrainedModelsRequestDescriptor()
164164
public GetTrainedModelsRequestDescriptor From(int? from) => Qs("from", from);
165165
public GetTrainedModelsRequestDescriptor Include(Elastic.Clients.Elasticsearch.Serverless.MachineLearning.Include? include) => Qs("include", include);
166166
public GetTrainedModelsRequestDescriptor Size(int? size) => Qs("size", size);
167-
public GetTrainedModelsRequestDescriptor Tags(string? tags) => Qs("tags", tags);
167+
public GetTrainedModelsRequestDescriptor Tags(ICollection<string>? tags) => Qs("tags", tags);
168168

169-
public GetTrainedModelsRequestDescriptor ModelId(Elastic.Clients.Elasticsearch.Serverless.Id? modelId)
169+
public GetTrainedModelsRequestDescriptor ModelId(Elastic.Clients.Elasticsearch.Serverless.Ids? modelId)
170170
{
171171
RouteValues.Optional("model_id", modelId);
172172
return Self;

src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/PutCalendarJobRequest.g.cs

+3-3
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public sealed partial class PutCalendarJobRequestParameters : RequestParameters
3838
/// </summary>
3939
public sealed partial class PutCalendarJobRequest : PlainRequest<PutCalendarJobRequestParameters>
4040
{
41-
public PutCalendarJobRequest(Elastic.Clients.Elasticsearch.Serverless.Id calendarId, Elastic.Clients.Elasticsearch.Serverless.Id jobId) : base(r => r.Required("calendar_id", calendarId).Required("job_id", jobId))
41+
public PutCalendarJobRequest(Elastic.Clients.Elasticsearch.Serverless.Id calendarId, Elastic.Clients.Elasticsearch.Serverless.Ids jobId) : base(r => r.Required("calendar_id", calendarId).Required("job_id", jobId))
4242
{
4343
}
4444

@@ -58,7 +58,7 @@ public sealed partial class PutCalendarJobRequestDescriptor : RequestDescriptor<
5858
{
5959
internal PutCalendarJobRequestDescriptor(Action<PutCalendarJobRequestDescriptor> configure) => configure.Invoke(this);
6060

61-
public PutCalendarJobRequestDescriptor(Elastic.Clients.Elasticsearch.Serverless.Id calendarId, Elastic.Clients.Elasticsearch.Serverless.Id jobId) : base(r => r.Required("calendar_id", calendarId).Required("job_id", jobId))
61+
public PutCalendarJobRequestDescriptor(Elastic.Clients.Elasticsearch.Serverless.Id calendarId, Elastic.Clients.Elasticsearch.Serverless.Ids jobId) : base(r => r.Required("calendar_id", calendarId).Required("job_id", jobId))
6262
{
6363
}
6464

@@ -76,7 +76,7 @@ public PutCalendarJobRequestDescriptor CalendarId(Elastic.Clients.Elasticsearch.
7676
return Self;
7777
}
7878

79-
public PutCalendarJobRequestDescriptor JobId(Elastic.Clients.Elasticsearch.Serverless.Id jobId)
79+
public PutCalendarJobRequestDescriptor JobId(Elastic.Clients.Elasticsearch.Serverless.Ids jobId)
8080
{
8181
RouteValues.Required("job_id", jobId);
8282
return Self;

0 commit comments

Comments
 (0)