Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Backport 8.15] Regenerate client using the latest specification #8301

Merged
merged 1 commit into from
Aug 13, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Regenerate client using the latest specification (#8299)
flobernd authored and github-actions[bot] committed Aug 13, 2024
commit de6319acaa414f3052e1b11578c9382b890699ce
Original file line number Diff line number Diff line change
@@ -35,7 +35,7 @@ public sealed partial class FlushJobRequestParameters : RequestParameters

/// <summary>
/// <para>
/// Forces any buffered data to be processed by the job.
/// Force buffered data to be processed.
/// The flush jobs API is only applicable when sending data for analysis using
/// the post data API. Depending on the content of the buffer, then it might
/// additionally calculate new results. Both flush and close operations are
@@ -103,7 +103,7 @@ public FlushJobRequest(Elastic.Clients.Elasticsearch.Serverless.Id jobId) : base

/// <summary>
/// <para>
/// Forces any buffered data to be processed by the job.
/// Force buffered data to be processed.
/// The flush jobs API is only applicable when sending data for analysis using
/// the post data API. Depending on the content of the buffer, then it might
/// additionally calculate new results. Both flush and close operations are
Original file line number Diff line number Diff line change
@@ -35,13 +35,13 @@ public sealed partial class ForecastRequestParameters : RequestParameters

/// <summary>
/// <para>
/// Predicts the future behavior of a time series by using its historical
/// behavior.
/// Predict future behavior of a time series.
/// </para>
/// <para>
/// Forecasts are not supported for jobs that perform population analysis; an
/// error occurs if you try to create a forecast for a job that has an
/// <c>over_field_name</c> in its configuration.
/// <c>over_field_name</c> in its configuration. Forcasts predict future behavior
/// based on historical data.
/// </para>
/// </summary>
public sealed partial class ForecastRequest : PlainRequest<ForecastRequestParameters>
@@ -85,13 +85,13 @@ public ForecastRequest(Elastic.Clients.Elasticsearch.Serverless.Id jobId) : base

/// <summary>
/// <para>
/// Predicts the future behavior of a time series by using its historical
/// behavior.
/// Predict future behavior of a time series.
/// </para>
/// <para>
/// Forecasts are not supported for jobs that perform population analysis; an
/// error occurs if you try to create a forecast for a job that has an
/// <c>over_field_name</c> in its configuration.
/// <c>over_field_name</c> in its configuration. Forcasts predict future behavior
/// based on historical data.
/// </para>
/// </summary>
public sealed partial class ForecastRequestDescriptor : RequestDescriptor<ForecastRequestDescriptor, ForecastRequestParameters>
Original file line number Diff line number Diff line change
@@ -48,7 +48,7 @@ public sealed partial class GetBucketsRequestParameters : RequestParameters

/// <summary>
/// <para>
/// Retrieves anomaly detection job results for one or more buckets.
/// Get anomaly detection job results for buckets.
/// The API presents a chronological view of the records, grouped by bucket.
/// </para>
/// </summary>
@@ -147,7 +147,7 @@ public GetBucketsRequest(Elastic.Clients.Elasticsearch.Serverless.Id jobId) : ba

/// <summary>
/// <para>
/// Retrieves anomaly detection job results for one or more buckets.
/// Get anomaly detection job results for buckets.
/// The API presents a chronological view of the records, grouped by bucket.
/// </para>
/// </summary>
@@ -387,7 +387,7 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o

/// <summary>
/// <para>
/// Retrieves anomaly detection job results for one or more buckets.
/// Get anomaly detection job results for buckets.
/// The API presents a chronological view of the records, grouped by bucket.
/// </para>
/// </summary>
Original file line number Diff line number Diff line change
@@ -69,7 +69,7 @@ public sealed partial class GetCalendarEventsRequestParameters : RequestParamete

/// <summary>
/// <para>
/// Retrieves information about the scheduled events in calendars.
/// Get info about events in calendars.
/// </para>
/// </summary>
public sealed partial class GetCalendarEventsRequest : PlainRequest<GetCalendarEventsRequestParameters>
@@ -129,7 +129,7 @@ public GetCalendarEventsRequest(Elastic.Clients.Elasticsearch.Serverless.Id cale

/// <summary>
/// <para>
/// Retrieves information about the scheduled events in calendars.
/// Get info about events in calendars.
/// </para>
/// </summary>
public sealed partial class GetCalendarEventsRequestDescriptor : RequestDescriptor<GetCalendarEventsRequestDescriptor, GetCalendarEventsRequestParameters>
Original file line number Diff line number Diff line change
@@ -48,7 +48,7 @@ public sealed partial class GetCalendarsRequestParameters : RequestParameters

/// <summary>
/// <para>
/// Retrieves configuration information for calendars.
/// Get calendar configuration info.
/// </para>
/// </summary>
public sealed partial class GetCalendarsRequest : PlainRequest<GetCalendarsRequestParameters>
@@ -96,7 +96,7 @@ public GetCalendarsRequest(Elastic.Clients.Elasticsearch.Serverless.Id? calendar

/// <summary>
/// <para>
/// Retrieves configuration information for calendars.
/// Get calendar configuration info.
/// </para>
/// </summary>
public sealed partial class GetCalendarsRequestDescriptor : RequestDescriptor<GetCalendarsRequestDescriptor, GetCalendarsRequestParameters>
Original file line number Diff line number Diff line change
@@ -55,7 +55,7 @@ public sealed partial class GetCategoriesRequestParameters : RequestParameters

/// <summary>
/// <para>
/// Retrieves anomaly detection job results for one or more categories.
/// Get anomaly detection job results for categories.
/// </para>
/// </summary>
public sealed partial class GetCategoriesRequest : PlainRequest<GetCategoriesRequestParameters>
@@ -112,7 +112,7 @@ public GetCategoriesRequest(Elastic.Clients.Elasticsearch.Serverless.Id jobId) :

/// <summary>
/// <para>
/// Retrieves anomaly detection job results for one or more categories.
/// Get anomaly detection job results for categories.
/// </para>
/// </summary>
public sealed partial class GetCategoriesRequestDescriptor : RequestDescriptor<GetCategoriesRequestDescriptor, GetCategoriesRequestParameters>
Original file line number Diff line number Diff line change
@@ -88,7 +88,7 @@ public sealed partial class GetDataFrameAnalyticsRequestParameters : RequestPara

/// <summary>
/// <para>
/// Retrieves configuration information for data frame analytics jobs.
/// Get data frame analytics job configuration info.
/// You can get information for multiple data frame analytics jobs in a single
/// API request by using a comma-separated list of data frame analytics jobs or a
/// wildcard expression.
@@ -173,7 +173,7 @@ public GetDataFrameAnalyticsRequest(Elastic.Clients.Elasticsearch.Serverless.Id?

/// <summary>
/// <para>
/// Retrieves configuration information for data frame analytics jobs.
/// Get data frame analytics job configuration info.
/// You can get information for multiple data frame analytics jobs in a single
/// API request by using a comma-separated list of data frame analytics jobs or a
/// wildcard expression.
@@ -217,7 +217,7 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o

/// <summary>
/// <para>
/// Retrieves configuration information for data frame analytics jobs.
/// Get data frame analytics job configuration info.
/// You can get information for multiple data frame analytics jobs in a single
/// API request by using a comma-separated list of data frame analytics jobs or a
/// wildcard expression.
Original file line number Diff line number Diff line change
@@ -86,7 +86,7 @@ public sealed partial class GetDataFrameAnalyticsStatsRequestParameters : Reques

/// <summary>
/// <para>
/// Retrieves usage information for data frame analytics jobs.
/// Get data frame analytics jobs usage info.
/// </para>
/// </summary>
public sealed partial class GetDataFrameAnalyticsStatsRequest : PlainRequest<GetDataFrameAnalyticsStatsRequestParameters>
@@ -166,7 +166,7 @@ public GetDataFrameAnalyticsStatsRequest(Elastic.Clients.Elasticsearch.Serverles

/// <summary>
/// <para>
/// Retrieves usage information for data frame analytics jobs.
/// Get data frame analytics jobs usage info.
/// </para>
/// </summary>
public sealed partial class GetDataFrameAnalyticsStatsRequestDescriptor<TDocument> : RequestDescriptor<GetDataFrameAnalyticsStatsRequestDescriptor<TDocument>, GetDataFrameAnalyticsStatsRequestParameters>
@@ -207,7 +207,7 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o

/// <summary>
/// <para>
/// Retrieves usage information for data frame analytics jobs.
/// Get data frame analytics jobs usage info.
/// </para>
/// </summary>
public sealed partial class GetDataFrameAnalyticsStatsRequestDescriptor : RequestDescriptor<GetDataFrameAnalyticsStatsRequestDescriptor, GetDataFrameAnalyticsStatsRequestParameters>
Original file line number Diff line number Diff line change
@@ -64,7 +64,7 @@ public sealed partial class GetDatafeedStatsRequestParameters : RequestParameter

/// <summary>
/// <para>
/// Retrieves usage information for datafeeds.
/// Get datafeeds usage info.
/// You can get statistics for multiple datafeeds in a single API request by
/// using a comma-separated list of datafeeds or a wildcard expression. You can
/// get statistics for all datafeeds by using <c>_all</c>, by specifying <c>*</c> as the
@@ -125,7 +125,7 @@ public GetDatafeedStatsRequest(Elastic.Clients.Elasticsearch.Serverless.Ids? dat

/// <summary>
/// <para>
/// Retrieves usage information for datafeeds.
/// Get datafeeds usage info.
/// You can get statistics for multiple datafeeds in a single API request by
/// using a comma-separated list of datafeeds or a wildcard expression. You can
/// get statistics for all datafeeds by using <c>_all</c>, by specifying <c>*</c> as the
Original file line number Diff line number Diff line change
@@ -73,7 +73,7 @@ public sealed partial class GetDatafeedsRequestParameters : RequestParameters

/// <summary>
/// <para>
/// Retrieves configuration information for datafeeds.
/// Get datafeeds configuration info.
/// You can get information for multiple datafeeds in a single API request by
/// using a comma-separated list of datafeeds or a wildcard expression. You can
/// get information for all datafeeds by using <c>_all</c>, by specifying <c>*</c> as the
@@ -143,7 +143,7 @@ public GetDatafeedsRequest(Elastic.Clients.Elasticsearch.Serverless.Ids? datafee

/// <summary>
/// <para>
/// Retrieves configuration information for datafeeds.
/// Get datafeeds configuration info.
/// You can get information for multiple datafeeds in a single API request by
/// using a comma-separated list of datafeeds or a wildcard expression. You can
/// get information for all datafeeds by using <c>_all</c>, by specifying <c>*</c> as the
Original file line number Diff line number Diff line change
@@ -48,7 +48,7 @@ public sealed partial class GetFiltersRequestParameters : RequestParameters

/// <summary>
/// <para>
/// Retrieves filters.
/// Get filters.
/// You can get a single filter or all filters.
/// </para>
/// </summary>
@@ -89,7 +89,7 @@ public GetFiltersRequest(Elastic.Clients.Elasticsearch.Serverless.Ids? filterId)

/// <summary>
/// <para>
/// Retrieves filters.
/// Get filters.
/// You can get a single filter or all filters.
/// </para>
/// </summary>
Original file line number Diff line number Diff line change
@@ -96,7 +96,7 @@ public sealed partial class GetInfluencersRequestParameters : RequestParameters

/// <summary>
/// <para>
/// Retrieves anomaly detection job results for one or more influencers.
/// Get anomaly detection job results for influencers.
/// Influencers are the entities that have contributed to, or are to blame for,
/// the anomalies. Influencer results are available only if an
/// <c>influencer_field_name</c> is specified in the job configuration.
@@ -198,7 +198,7 @@ public GetInfluencersRequest(Elastic.Clients.Elasticsearch.Serverless.Id jobId)

/// <summary>
/// <para>
/// Retrieves anomaly detection job results for one or more influencers.
/// Get anomaly detection job results for influencers.
/// Influencers are the entities that have contributed to, or are to blame for,
/// the anomalies. Influencer results are available only if an
/// <c>influencer_field_name</c> is specified in the job configuration.
@@ -294,7 +294,7 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o

/// <summary>
/// <para>
/// Retrieves anomaly detection job results for one or more influencers.
/// Get anomaly detection job results for influencers.
/// Influencers are the entities that have contributed to, or are to blame for,
/// the anomalies. Influencer results are available only if an
/// <c>influencer_field_name</c> is specified in the job configuration.
Original file line number Diff line number Diff line change
@@ -64,7 +64,7 @@ public sealed partial class GetJobStatsRequestParameters : RequestParameters

/// <summary>
/// <para>
/// Retrieves usage information for anomaly detection jobs.
/// Get anomaly detection jobs usage info.
/// </para>
/// </summary>
public sealed partial class GetJobStatsRequest : PlainRequest<GetJobStatsRequestParameters>
@@ -119,7 +119,7 @@ public GetJobStatsRequest(Elastic.Clients.Elasticsearch.Serverless.Id? jobId) :

/// <summary>
/// <para>
/// Retrieves usage information for anomaly detection jobs.
/// Get anomaly detection jobs usage info.
/// </para>
/// </summary>
public sealed partial class GetJobStatsRequestDescriptor : RequestDescriptor<GetJobStatsRequestDescriptor, GetJobStatsRequestParameters>
Original file line number Diff line number Diff line change
@@ -73,7 +73,7 @@ public sealed partial class GetJobsRequestParameters : RequestParameters

/// <summary>
/// <para>
/// Retrieves configuration information for anomaly detection jobs.
/// Get anomaly detection jobs configuration info.
/// You can get information for multiple anomaly detection jobs in a single API
/// request by using a group name, a comma-separated list of jobs, or a wildcard
/// expression. You can get information for all anomaly detection jobs by using
@@ -142,7 +142,7 @@ public GetJobsRequest(Elastic.Clients.Elasticsearch.Serverless.Ids? jobId) : bas

/// <summary>
/// <para>
/// Retrieves configuration information for anomaly detection jobs.
/// Get anomaly detection jobs configuration info.
/// You can get information for multiple anomaly detection jobs in a single API
/// request by using a group name, a comma-separated list of jobs, or a wildcard
/// expression. You can get information for all anomaly detection jobs by using
Original file line number Diff line number Diff line change
@@ -50,6 +50,7 @@ public sealed partial class GetMemoryStatsRequestParameters : RequestParameters

/// <summary>
/// <para>
/// Get machine learning memory usage info.
/// Get information about how machine learning jobs and trained models are using memory,
/// on each node, both within the JVM heap, and natively, outside of the JVM.
/// </para>
@@ -93,6 +94,7 @@ public GetMemoryStatsRequest(Elastic.Clients.Elasticsearch.Serverless.Id? nodeId

/// <summary>
/// <para>
/// Get machine learning memory usage info.
/// Get information about how machine learning jobs and trained models are using memory,
/// on each node, both within the JVM heap, and natively, outside of the JVM.
/// </para>
Original file line number Diff line number Diff line change
@@ -63,7 +63,7 @@ public sealed partial class GetModelSnapshotUpgradeStatsRequestParameters : Requ

/// <summary>
/// <para>
/// Retrieves usage information for anomaly detection job model snapshot upgrades.
/// Get anomaly detection job model snapshot upgrade usage info.
/// </para>
/// </summary>
public sealed partial class GetModelSnapshotUpgradeStatsRequest : PlainRequest<GetModelSnapshotUpgradeStatsRequestParameters>
@@ -113,7 +113,7 @@ public GetModelSnapshotUpgradeStatsRequest(Elastic.Clients.Elasticsearch.Serverl

/// <summary>
/// <para>
/// Retrieves usage information for anomaly detection job model snapshot upgrades.
/// Get anomaly detection job model snapshot upgrade usage info.
/// </para>
/// </summary>
public sealed partial class GetModelSnapshotUpgradeStatsRequestDescriptor : RequestDescriptor<GetModelSnapshotUpgradeStatsRequestDescriptor, GetModelSnapshotUpgradeStatsRequestParameters>
Original file line number Diff line number Diff line change
@@ -48,7 +48,7 @@ public sealed partial class GetModelSnapshotsRequestParameters : RequestParamete

/// <summary>
/// <para>
/// Retrieves information about model snapshots.
/// Get model snapshots info.
/// </para>
/// </summary>
public sealed partial class GetModelSnapshotsRequest : PlainRequest<GetModelSnapshotsRequestParameters>
@@ -122,7 +122,7 @@ public GetModelSnapshotsRequest(Elastic.Clients.Elasticsearch.Serverless.Id jobI

/// <summary>
/// <para>
/// Retrieves information about model snapshots.
/// Get model snapshots info.
/// </para>
/// </summary>
public sealed partial class GetModelSnapshotsRequestDescriptor<TDocument> : RequestDescriptor<GetModelSnapshotsRequestDescriptor<TDocument>, GetModelSnapshotsRequestParameters>
@@ -307,7 +307,7 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o

/// <summary>
/// <para>
/// Retrieves information about model snapshots.
/// Get model snapshots info.
/// </para>
/// </summary>
public sealed partial class GetModelSnapshotsRequestDescriptor : RequestDescriptor<GetModelSnapshotsRequestDescriptor, GetModelSnapshotsRequestParameters>
Original file line number Diff line number Diff line change
@@ -35,7 +35,10 @@ public sealed partial class GetOverallBucketsRequestParameters : RequestParamete

/// <summary>
/// <para>
/// Retrieves overall bucket results that summarize the bucket results of
/// Get overall bucket results.
/// </para>
/// <para>
/// Retrievs overall bucket results that summarize the bucket results of
/// multiple anomaly detection jobs.
/// </para>
/// <para>
@@ -128,7 +131,10 @@ public GetOverallBucketsRequest(Elastic.Clients.Elasticsearch.Serverless.Id jobI

/// <summary>
/// <para>
/// Retrieves overall bucket results that summarize the bucket results of
/// Get overall bucket results.
/// </para>
/// <para>
/// Retrievs overall bucket results that summarize the bucket results of
/// multiple anomaly detection jobs.
/// </para>
/// <para>
Loading