From 135994e71016f8a0c8ee9a160b4ba0705d7925b8 Mon Sep 17 00:00:00 2001 From: Steve Gordon Date: Wed, 13 Apr 2022 20:55:51 +0100 Subject: [PATCH] Add Xpack APIs (#6293) --- .../_Generated/Api/ApiUrlsLookup.g.cs | 2 + .../Api/Xpack/XpackInfoRequest.g.cs | 65 +++++++ .../Api/Xpack/XpackInfoResponse.g.cs | 43 +++++ .../Api/Xpack/XpackUsageRequest.g.cs | 58 ++++++ .../Api/Xpack/XpackUsageResponse.g.cs | 135 ++++++++++++++ .../Client/ElasticsearchClient.Xpack.g.cs | 87 +++++++++ .../Client/ElasticsearchClient.g.cs | 4 + .../_Generated/Types/Enums/Enums.License.g.cs | 173 ++++++++++++++++++ .../_Generated/Types/Ilm/Configurations.g.cs | 41 +++++ .../Types/Ilm/ForceMergeConfiguration.g.cs | 33 ++++ .../_Generated/Types/Ilm/Phase.g.cs | 41 +++++ .../_Generated/Types/Ilm/Phases.g.cs | 45 +++++ .../Types/Ilm/ShrinkConfiguration.g.cs | 33 ++++ .../IndexManagement/RolloverConditions.g.cs | 169 +++++++++++++++++ .../_Generated/Types/Ml/JobStatistics.g.cs | 45 +++++ .../_Generated/Types/Slm/Statistics.g.cs | 69 +++++++ .../_Generated/Types/Xpack/AllJobs.g.cs | 49 +++++ .../_Generated/Types/Xpack/Analytics.g.cs | 33 ++++ .../Types/Xpack/AnalyticsStatistics.g.cs | 65 +++++++ .../_Generated/Types/Xpack/Audit.g.cs | 33 ++++ .../_Generated/Types/Xpack/Base.g.cs | 37 ++++ .../Types/Xpack/BuildInformation.g.cs | 37 ++++ .../_Generated/Types/Xpack/Ccr.g.cs | 37 ++++ .../_Generated/Types/Xpack/Counter.g.cs | 37 ++++ .../_Generated/Types/Xpack/DataStreams.g.cs | 37 ++++ .../Types/Xpack/DataTierPhaseStatistics.g.cs | 69 +++++++ .../_Generated/Types/Xpack/DataTiers.g.cs | 49 +++++ .../_Generated/Types/Xpack/Datafeed.g.cs | 33 ++++ .../_Generated/Types/Xpack/Eql.g.cs | 37 ++++ .../_Generated/Types/Xpack/EqlFeatures.g.cs | 57 ++++++ .../Types/Xpack/EqlFeaturesJoin.g.cs | 49 +++++ .../Types/Xpack/EqlFeaturesKeys.g.cs | 49 +++++ .../Types/Xpack/EqlFeaturesPipes.g.cs | 37 ++++ .../Types/Xpack/EqlFeaturesSequences.g.cs | 53 ++++++ .../_Generated/Types/Xpack/Feature.g.cs | 45 +++++ .../_Generated/Types/Xpack/FeatureToggle.g.cs | 33 ++++ .../_Generated/Types/Xpack/Features.g.cs | 137 ++++++++++++++ .../_Generated/Types/Xpack/Flattened.g.cs | 33 ++++ .../_Generated/Types/Xpack/FrozenIndices.g.cs | 33 ++++ .../_Generated/Types/Xpack/Ilm.g.cs | 37 ++++ .../Types/Xpack/IlmPolicyStatistics.g.cs | 37 ++++ .../_Generated/Types/Xpack/IpFilter.g.cs | 37 ++++ .../_Generated/Types/Xpack/Jobs.g.cs | 33 ++++ .../Types/Xpack/MachineLearning.g.cs | 49 +++++ .../Xpack/MinimalLicenseInformation.g.cs | 49 +++++ .../_Generated/Types/Xpack/MlCounter.g.cs | 33 ++++ .../Types/Xpack/MlDataFrameAnalyticsJobs.g.cs | 45 +++++ .../MlDataFrameAnalyticsJobsAnalysis.g.cs | 41 +++++ .../Xpack/MlDataFrameAnalyticsJobsCount.g.cs | 33 ++++ .../Xpack/MlDataFrameAnalyticsJobsMemory.g.cs | 33 ++++ .../_Generated/Types/Xpack/MlInference.g.cs | 41 +++++ .../Types/Xpack/MlInferenceDeployments.g.cs | 45 +++++ .../Xpack/MlInferenceDeploymentsTimeMs.g.cs | 33 ++++ .../Xpack/MlInferenceIngestProcessor.g.cs | 45 +++++ .../MlInferenceIngestProcessorCount.g.cs | 41 +++++ .../Types/Xpack/MlInferenceTrainedModels.g.cs | 49 +++++ .../Xpack/MlInferenceTrainedModelsCount.g.cs | 53 ++++++ .../_Generated/Types/Xpack/Monitoring.g.cs | 37 ++++ .../Types/Xpack/NativeCodeInformation.g.cs | 37 ++++ .../_Generated/Types/Xpack/Query.g.cs | 45 +++++ .../_Generated/Types/Xpack/Realm.g.cs | 61 ++++++ .../_Generated/Types/Xpack/RealmCache.g.cs | 33 ++++ .../_Generated/Types/Xpack/RoleMapping.g.cs | 37 ++++ .../Types/Xpack/RuntimeFieldTypes.g.cs | 33 ++++ .../Types/Xpack/RuntimeFieldsType.g.cs | 85 +++++++++ .../Types/Xpack/SearchableSnapshots.g.cs | 41 +++++ .../_Generated/Types/Xpack/Security.g.cs | 77 ++++++++ .../_Generated/Types/Xpack/SecurityRoles.g.cs | 41 +++++ .../Types/Xpack/SecurityRolesDls.g.cs | 33 ++++ .../Xpack/SecurityRolesDlsBitSetCache.g.cs | 41 +++++ .../Types/Xpack/SecurityRolesFile.g.cs | 41 +++++ .../Types/Xpack/SecurityRolesNative.g.cs | 41 +++++ .../_Generated/Types/Xpack/Slm.g.cs | 37 ++++ .../_Generated/Types/Xpack/Sql.g.cs | 37 ++++ .../_Generated/Types/Xpack/Ssl.g.cs | 37 ++++ .../_Generated/Types/Xpack/Vector.g.cs | 41 +++++ .../_Generated/Types/Xpack/Watcher.g.cs | 41 +++++ .../Types/Xpack/WatcherActionTotals.g.cs | 37 ++++ .../Types/Xpack/WatcherActions.g.cs | 33 ++++ .../_Generated/Types/Xpack/WatcherWatch.g.cs | 45 +++++ .../Types/Xpack/WatcherWatchTrigger.g.cs | 37 ++++ .../Xpack/WatcherWatchTriggerSchedule.g.cs | 37 ++++ 82 files changed, 3921 insertions(+) create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Api/Xpack/XpackInfoRequest.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Api/Xpack/XpackInfoResponse.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Api/Xpack/XpackUsageRequest.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Api/Xpack/XpackUsageResponse.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.Xpack.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Enums/Enums.License.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Ilm/Configurations.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Ilm/ForceMergeConfiguration.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Ilm/Phase.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Ilm/Phases.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Ilm/ShrinkConfiguration.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/RolloverConditions.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Ml/JobStatistics.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Slm/Statistics.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/AllJobs.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/Analytics.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/AnalyticsStatistics.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/Audit.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/Base.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/BuildInformation.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/Ccr.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/Counter.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/DataStreams.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/DataTierPhaseStatistics.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/DataTiers.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/Datafeed.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/Eql.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/EqlFeatures.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/EqlFeaturesJoin.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/EqlFeaturesKeys.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/EqlFeaturesPipes.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/EqlFeaturesSequences.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/Feature.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/FeatureToggle.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/Features.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/Flattened.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/FrozenIndices.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/Ilm.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/IlmPolicyStatistics.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/IpFilter.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/Jobs.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/MachineLearning.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/MinimalLicenseInformation.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/MlCounter.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/MlDataFrameAnalyticsJobs.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/MlDataFrameAnalyticsJobsAnalysis.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/MlDataFrameAnalyticsJobsCount.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/MlDataFrameAnalyticsJobsMemory.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/MlInference.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/MlInferenceDeployments.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/MlInferenceDeploymentsTimeMs.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/MlInferenceIngestProcessor.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/MlInferenceIngestProcessorCount.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/MlInferenceTrainedModels.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/MlInferenceTrainedModelsCount.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/Monitoring.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/NativeCodeInformation.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/Query.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/Realm.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/RealmCache.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/RoleMapping.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/RuntimeFieldTypes.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/RuntimeFieldsType.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/SearchableSnapshots.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/Security.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/SecurityRoles.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/SecurityRolesDls.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/SecurityRolesDlsBitSetCache.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/SecurityRolesFile.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/SecurityRolesNative.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/Slm.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/Sql.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/Ssl.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/Vector.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/Watcher.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/WatcherActionTotals.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/WatcherActions.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/WatcherWatch.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/WatcherWatchTrigger.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/WatcherWatchTriggerSchedule.g.cs diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/ApiUrlsLookup.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/ApiUrlsLookup.g.cs index 4fe5f0c5907..f791e21e33b 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/ApiUrlsLookup.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/ApiUrlsLookup.g.cs @@ -162,5 +162,7 @@ internal static class ApiUrlsLookups internal static ApiUrls NoNamespaceUpdateByQuery = new ApiUrls(new[] { "/{index}/_update_by_query" }); internal static ApiUrls NoNamespaceUpdateByQueryRethrottle = new ApiUrls(new[] { "/_update_by_query/{task_id}/_rethrottle" }); internal static ApiUrls NoNamespaceUpdate = new ApiUrls(new[] { "/{index}/_update/{id}" }); + internal static ApiUrls XpackInfo = new ApiUrls(new[] { "/_xpack" }); + internal static ApiUrls XpackUsage = new ApiUrls(new[] { "/_xpack/usage" }); } } \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Xpack/XpackInfoRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Xpack/XpackInfoRequest.g.cs new file mode 100644 index 00000000000..c19d4afe512 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Xpack/XpackInfoRequest.g.cs @@ -0,0 +1,65 @@ +// Licensed to Elasticsearch B.V under one or more agreements. +// Elasticsearch B.V licenses this file to you under the Apache 2.0 License. +// See the LICENSE file in the project root for more information. +// +// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗ +// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝ +// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗ +// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝ +// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗ +// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝ +// ------------------------------------------------ +// +// This file is automatically generated. +// Please do not edit these files manually. +// +// ------------------------------------------------ + +using Elastic.Transport; +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +#nullable restore +namespace Elastic.Clients.Elasticsearch.Xpack +{ + public class XpackInfoRequestParameters : RequestParameters + { + [JsonIgnore] + public IEnumerable? Categories { get => Q?>("categories"); set => Q("categories", value); } + + [JsonIgnore] + public bool? AcceptEnterprise { get => Q("accept_enterprise"); set => Q("accept_enterprise", value); } + } + + public partial class XpackInfoRequest : PlainRequestBase + { + internal override ApiUrls ApiUrls => ApiUrlsLookups.XpackInfo; + protected override HttpMethod HttpMethod => HttpMethod.GET; + protected override bool SupportsBody => false; + [JsonIgnore] + public IEnumerable? Categories { get => Q?>("categories"); set => Q("categories", value); } + + [JsonIgnore] + public bool? AcceptEnterprise { get => Q("accept_enterprise"); set => Q("accept_enterprise", value); } + } + + public sealed partial class XpackInfoRequestDescriptor : RequestDescriptorBase + { + internal XpackInfoRequestDescriptor(Action configure) => configure.Invoke(this); + public XpackInfoRequestDescriptor() + { + } + + internal override ApiUrls ApiUrls => ApiUrlsLookups.XpackInfo; + protected override HttpMethod HttpMethod => HttpMethod.GET; + protected override bool SupportsBody => false; + public XpackInfoRequestDescriptor AcceptEnterprise(bool? acceptEnterprise = true) => Qs("accept_enterprise", acceptEnterprise); + public XpackInfoRequestDescriptor Categories(IEnumerable? categories) => Qs("categories", categories); + protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) + { + } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Xpack/XpackInfoResponse.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Xpack/XpackInfoResponse.g.cs new file mode 100644 index 00000000000..c9fd30d690b --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Xpack/XpackInfoResponse.g.cs @@ -0,0 +1,43 @@ +// Licensed to Elasticsearch B.V under one or more agreements. +// Elasticsearch B.V licenses this file to you under the Apache 2.0 License. +// See the LICENSE file in the project root for more information. +// +// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗ +// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝ +// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗ +// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝ +// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗ +// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝ +// ------------------------------------------------ +// +// This file is automatically generated. +// Please do not edit these files manually. +// +// ------------------------------------------------ + +using Elastic.Transport.Products.Elasticsearch; +using System.Collections.Generic; +using System.Text.Json.Serialization; + +#nullable restore +namespace Elastic.Clients.Elasticsearch.Xpack +{ + public partial class XpackInfoResponse : ElasticsearchResponseBase + { + [JsonInclude] + [JsonPropertyName("build")] + public Elastic.Clients.Elasticsearch.Xpack.BuildInformation Build { get; init; } + + [JsonInclude] + [JsonPropertyName("features")] + public Elastic.Clients.Elasticsearch.Xpack.Features Features { get; init; } + + [JsonInclude] + [JsonPropertyName("license")] + public Elastic.Clients.Elasticsearch.Xpack.MinimalLicenseInformation License { get; init; } + + [JsonInclude] + [JsonPropertyName("tagline")] + public string Tagline { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Xpack/XpackUsageRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Xpack/XpackUsageRequest.g.cs new file mode 100644 index 00000000000..30beb8cb05f --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Xpack/XpackUsageRequest.g.cs @@ -0,0 +1,58 @@ +// Licensed to Elasticsearch B.V under one or more agreements. +// Elasticsearch B.V licenses this file to you under the Apache 2.0 License. +// See the LICENSE file in the project root for more information. +// +// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗ +// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝ +// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗ +// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝ +// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗ +// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝ +// ------------------------------------------------ +// +// This file is automatically generated. +// Please do not edit these files manually. +// +// ------------------------------------------------ + +using Elastic.Transport; +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +#nullable restore +namespace Elastic.Clients.Elasticsearch.Xpack +{ + public class XpackUsageRequestParameters : RequestParameters + { + [JsonIgnore] + public Elastic.Clients.Elasticsearch.Time? MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); } + } + + public partial class XpackUsageRequest : PlainRequestBase + { + internal override ApiUrls ApiUrls => ApiUrlsLookups.XpackUsage; + protected override HttpMethod HttpMethod => HttpMethod.GET; + protected override bool SupportsBody => false; + [JsonIgnore] + public Elastic.Clients.Elasticsearch.Time? MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); } + } + + public sealed partial class XpackUsageRequestDescriptor : RequestDescriptorBase + { + internal XpackUsageRequestDescriptor(Action configure) => configure.Invoke(this); + public XpackUsageRequestDescriptor() + { + } + + internal override ApiUrls ApiUrls => ApiUrlsLookups.XpackUsage; + protected override HttpMethod HttpMethod => HttpMethod.GET; + protected override bool SupportsBody => false; + public XpackUsageRequestDescriptor MasterTimeout(Elastic.Clients.Elasticsearch.Time? masterTimeout) => Qs("master_timeout", masterTimeout); + protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) + { + } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Xpack/XpackUsageResponse.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Xpack/XpackUsageResponse.g.cs new file mode 100644 index 00000000000..2a8956182ff --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Xpack/XpackUsageResponse.g.cs @@ -0,0 +1,135 @@ +// Licensed to Elasticsearch B.V under one or more agreements. +// Elasticsearch B.V licenses this file to you under the Apache 2.0 License. +// See the LICENSE file in the project root for more information. +// +// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗ +// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝ +// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗ +// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝ +// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗ +// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝ +// ------------------------------------------------ +// +// This file is automatically generated. +// Please do not edit these files manually. +// +// ------------------------------------------------ + +using Elastic.Transport.Products.Elasticsearch; +using System.Collections.Generic; +using System.Text.Json.Serialization; + +#nullable restore +namespace Elastic.Clients.Elasticsearch.Xpack +{ + public partial class XpackUsageResponse : ElasticsearchResponseBase + { + [JsonInclude] + [JsonPropertyName("aggregate_metric")] + public Elastic.Clients.Elasticsearch.Xpack.Base AggregateMetric { get; init; } + + [JsonInclude] + [JsonPropertyName("analytics")] + public Elastic.Clients.Elasticsearch.Xpack.Analytics Analytics { get; init; } + + [JsonInclude] + [JsonPropertyName("ccr")] + public Elastic.Clients.Elasticsearch.Xpack.Ccr Ccr { get; init; } + + [JsonInclude] + [JsonPropertyName("data_frame")] + public Elastic.Clients.Elasticsearch.Xpack.Base? DataFrame { get; init; } + + [JsonInclude] + [JsonPropertyName("data_science")] + public Elastic.Clients.Elasticsearch.Xpack.Base? DataScience { get; init; } + + [JsonInclude] + [JsonPropertyName("data_streams")] + public Elastic.Clients.Elasticsearch.Xpack.DataStreams? DataStreams { get; init; } + + [JsonInclude] + [JsonPropertyName("data_tiers")] + public Elastic.Clients.Elasticsearch.Xpack.DataTiers DataTiers { get; init; } + + [JsonInclude] + [JsonPropertyName("enrich")] + public Elastic.Clients.Elasticsearch.Xpack.Base? Enrich { get; init; } + + [JsonInclude] + [JsonPropertyName("eql")] + public Elastic.Clients.Elasticsearch.Xpack.Eql Eql { get; init; } + + [JsonInclude] + [JsonPropertyName("flattened")] + public Elastic.Clients.Elasticsearch.Xpack.Flattened? Flattened { get; init; } + + [JsonInclude] + [JsonPropertyName("frozen_indices")] + public Elastic.Clients.Elasticsearch.Xpack.FrozenIndices FrozenIndices { get; init; } + + [JsonInclude] + [JsonPropertyName("graph")] + public Elastic.Clients.Elasticsearch.Xpack.Base Graph { get; init; } + + [JsonInclude] + [JsonPropertyName("ilm")] + public Elastic.Clients.Elasticsearch.Xpack.Ilm Ilm { get; init; } + + [JsonInclude] + [JsonPropertyName("logstash")] + public Elastic.Clients.Elasticsearch.Xpack.Base Logstash { get; init; } + + [JsonInclude] + [JsonPropertyName("ml")] + public Elastic.Clients.Elasticsearch.Xpack.MachineLearning Ml { get; init; } + + [JsonInclude] + [JsonPropertyName("monitoring")] + public Elastic.Clients.Elasticsearch.Xpack.Monitoring Monitoring { get; init; } + + [JsonInclude] + [JsonPropertyName("rollup")] + public Elastic.Clients.Elasticsearch.Xpack.Base Rollup { get; init; } + + [JsonInclude] + [JsonPropertyName("runtime_fields")] + public Elastic.Clients.Elasticsearch.Xpack.RuntimeFieldTypes? RuntimeFields { get; init; } + + [JsonInclude] + [JsonPropertyName("searchable_snapshots")] + public Elastic.Clients.Elasticsearch.Xpack.SearchableSnapshots SearchableSnapshots { get; init; } + + [JsonInclude] + [JsonPropertyName("security")] + public Elastic.Clients.Elasticsearch.Xpack.Security Security { get; init; } + + [JsonInclude] + [JsonPropertyName("slm")] + public Elastic.Clients.Elasticsearch.Xpack.Slm Slm { get; init; } + + [JsonInclude] + [JsonPropertyName("spatial")] + public Elastic.Clients.Elasticsearch.Xpack.Base Spatial { get; init; } + + [JsonInclude] + [JsonPropertyName("sql")] + public Elastic.Clients.Elasticsearch.Xpack.Sql Sql { get; init; } + + [JsonInclude] + [JsonPropertyName("transform")] + public Elastic.Clients.Elasticsearch.Xpack.Base Transform { get; init; } + + [JsonInclude] + [JsonPropertyName("vectors")] + public Elastic.Clients.Elasticsearch.Xpack.Vector? Vectors { get; init; } + + [JsonInclude] + [JsonPropertyName("voting_only")] + public Elastic.Clients.Elasticsearch.Xpack.Base VotingOnly { get; init; } + + [JsonInclude] + [JsonPropertyName("watcher")] + public Elastic.Clients.Elasticsearch.Xpack.Watcher Watcher { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.Xpack.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.Xpack.g.cs new file mode 100644 index 00000000000..2f102e7b370 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.Xpack.g.cs @@ -0,0 +1,87 @@ +// Licensed to Elasticsearch B.V under one or more agreements. +// Elasticsearch B.V licenses this file to you under the Apache 2.0 License. +// See the LICENSE file in the project root for more information. +// +// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗ +// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝ +// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗ +// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝ +// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗ +// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝ +// ------------------------------------------------ +// +// This file is automatically generated. +// Please do not edit these files manually. +// +// ------------------------------------------------ + +using System; +using System.Threading; +using System.Threading.Tasks; + +#nullable restore +namespace Elastic.Clients.Elasticsearch.Xpack +{ + public class XpackNamespace : NamespacedClientProxy + { + internal XpackNamespace(ElasticsearchClient client) : base(client) + { + } + + public XpackInfoResponse Info(XpackInfoRequest request) + { + request.BeforeRequest(); + return DoRequest(request); + } + + public Task InfoAsync(XpackInfoRequest request, CancellationToken cancellationToken = default) + { + request.BeforeRequest(); + return DoRequestAsync(request, cancellationToken); + } + + public XpackInfoResponse Info(Action configureRequest = null) + { + var descriptor = new XpackInfoRequestDescriptor(); + configureRequest?.Invoke(descriptor); + descriptor.BeforeRequest(); + return DoRequest(descriptor); + } + + public Task InfoAsync(Action configureRequest = null, CancellationToken cancellationToken = default) + { + var descriptor = new XpackInfoRequestDescriptor(); + configureRequest?.Invoke(descriptor); + descriptor.BeforeRequest(); + return DoRequestAsync(descriptor); + } + + public XpackUsageResponse Usage(XpackUsageRequest request) + { + request.BeforeRequest(); + return DoRequest(request); + } + + public Task UsageAsync(XpackUsageRequest request, CancellationToken cancellationToken = default) + { + request.BeforeRequest(); + return DoRequestAsync(request, cancellationToken); + } + + public XpackUsageResponse Usage(Action configureRequest = null) + { + var descriptor = new XpackUsageRequestDescriptor(); + configureRequest?.Invoke(descriptor); + descriptor.BeforeRequest(); + return DoRequest(descriptor); + } + + public Task UsageAsync(Action configureRequest = null, CancellationToken cancellationToken = default) + { + var descriptor = new XpackUsageRequestDescriptor(); + configureRequest?.Invoke(descriptor); + descriptor.BeforeRequest(); + return DoRequestAsync(descriptor); + } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.g.cs index 24bf793273e..afaf74a2a28 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.g.cs @@ -30,6 +30,7 @@ using Elastic.Clients.Elasticsearch.Snapshot; using Elastic.Clients.Elasticsearch.Sql; using Elastic.Clients.Elasticsearch.Tasks; +using Elastic.Clients.Elasticsearch.Xpack; using System; using System.Threading; using System.Threading.Tasks; @@ -69,6 +70,8 @@ public partial class ElasticsearchClient public TasksNamespace Tasks { get; private set; } + public XpackNamespace Xpack { get; private set; } + private partial void SetupNamespaces() { AsyncSearch = new AsyncSearchNamespace(this); @@ -86,6 +89,7 @@ private partial void SetupNamespaces() Snapshot = new SnapshotNamespace(this); Sql = new SqlNamespace(this); Tasks = new TasksNamespace(this); + Xpack = new XpackNamespace(this); } public BulkResponse Bulk(BulkRequest request) diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Enums/Enums.License.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Enums/Enums.License.g.cs new file mode 100644 index 00000000000..243952b385b --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Enums/Enums.License.g.cs @@ -0,0 +1,173 @@ +// Licensed to Elasticsearch B.V under one or more agreements. +// Elasticsearch B.V licenses this file to you under the Apache 2.0 License. +// See the LICENSE file in the project root for more information. +// +// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗ +// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝ +// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗ +// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝ +// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗ +// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝ +// ------------------------------------------------ +// +// This file is automatically generated. +// Please do not edit these files manually. +// +// ------------------------------------------------ + +using System; +using System.Text.Json; +using System.Text.Json.Serialization; +using System.Runtime.Serialization; +using Elastic.Transport; + +#nullable restore +namespace Elastic.Clients.Elasticsearch.License +{ + [JsonConverter(typeof(LicenseStatusConverter))] + public enum LicenseStatus + { + [EnumMember(Value = "valid")] + Valid, + [EnumMember(Value = "invalid")] + Invalid, + [EnumMember(Value = "expired")] + Expired, + [EnumMember(Value = "active")] + Active + } + + internal sealed class LicenseStatusConverter : JsonConverter + { + public override LicenseStatus Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) + { + var enumString = reader.GetString(); + switch (enumString) + { + case "valid": + return LicenseStatus.Valid; + case "invalid": + return LicenseStatus.Invalid; + case "expired": + return LicenseStatus.Expired; + case "active": + return LicenseStatus.Active; + } + + ThrowHelper.ThrowJsonException(); + return default; + } + + public override void Write(Utf8JsonWriter writer, LicenseStatus value, JsonSerializerOptions options) + { + switch (value) + { + case LicenseStatus.Valid: + writer.WriteStringValue("valid"); + return; + case LicenseStatus.Invalid: + writer.WriteStringValue("invalid"); + return; + case LicenseStatus.Expired: + writer.WriteStringValue("expired"); + return; + case LicenseStatus.Active: + writer.WriteStringValue("active"); + return; + } + + writer.WriteNullValue(); + } + } + + [JsonConverter(typeof(LicenseTypeConverter))] + public enum LicenseType + { + [EnumMember(Value = "trial")] + Trial, + [EnumMember(Value = "standard")] + Standard, + [EnumMember(Value = "silver")] + Silver, + [EnumMember(Value = "platinum")] + Platinum, + [EnumMember(Value = "missing")] + Missing, + [EnumMember(Value = "gold")] + Gold, + [EnumMember(Value = "enterprise")] + Enterprise, + [EnumMember(Value = "dev")] + Dev, + [EnumMember(Value = "basic")] + Basic + } + + internal sealed class LicenseTypeConverter : JsonConverter + { + public override LicenseType Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) + { + var enumString = reader.GetString(); + switch (enumString) + { + case "trial": + return LicenseType.Trial; + case "standard": + return LicenseType.Standard; + case "silver": + return LicenseType.Silver; + case "platinum": + return LicenseType.Platinum; + case "missing": + return LicenseType.Missing; + case "gold": + return LicenseType.Gold; + case "enterprise": + return LicenseType.Enterprise; + case "dev": + return LicenseType.Dev; + case "basic": + return LicenseType.Basic; + } + + ThrowHelper.ThrowJsonException(); + return default; + } + + public override void Write(Utf8JsonWriter writer, LicenseType value, JsonSerializerOptions options) + { + switch (value) + { + case LicenseType.Trial: + writer.WriteStringValue("trial"); + return; + case LicenseType.Standard: + writer.WriteStringValue("standard"); + return; + case LicenseType.Silver: + writer.WriteStringValue("silver"); + return; + case LicenseType.Platinum: + writer.WriteStringValue("platinum"); + return; + case LicenseType.Missing: + writer.WriteStringValue("missing"); + return; + case LicenseType.Gold: + writer.WriteStringValue("gold"); + return; + case LicenseType.Enterprise: + writer.WriteStringValue("enterprise"); + return; + case LicenseType.Dev: + writer.WriteStringValue("dev"); + return; + case LicenseType.Basic: + writer.WriteStringValue("basic"); + return; + } + + writer.WriteNullValue(); + } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ilm/Configurations.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ilm/Configurations.g.cs new file mode 100644 index 00000000000..11e9705a528 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ilm/Configurations.g.cs @@ -0,0 +1,41 @@ +// Licensed to Elasticsearch B.V under one or more agreements. +// Elasticsearch B.V licenses this file to you under the Apache 2.0 License. +// See the LICENSE file in the project root for more information. +// +// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗ +// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝ +// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗ +// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝ +// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗ +// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝ +// ------------------------------------------------ +// +// This file is automatically generated. +// Please do not edit these files manually. +// +// ------------------------------------------------ + +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +#nullable restore +namespace Elastic.Clients.Elasticsearch.Ilm +{ + public partial class Configurations + { + [JsonInclude] + [JsonPropertyName("forcemerge")] + public Elastic.Clients.Elasticsearch.Ilm.ForceMergeConfiguration? Forcemerge { get; init; } + + [JsonInclude] + [JsonPropertyName("rollover")] + public Elastic.Clients.Elasticsearch.IndexManagement.RolloverConditions? Rollover { get; init; } + + [JsonInclude] + [JsonPropertyName("shrink")] + public Elastic.Clients.Elasticsearch.Ilm.ShrinkConfiguration? Shrink { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ilm/ForceMergeConfiguration.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ilm/ForceMergeConfiguration.g.cs new file mode 100644 index 00000000000..26fb9905b6a --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ilm/ForceMergeConfiguration.g.cs @@ -0,0 +1,33 @@ +// Licensed to Elasticsearch B.V under one or more agreements. +// Elasticsearch B.V licenses this file to you under the Apache 2.0 License. +// See the LICENSE file in the project root for more information. +// +// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗ +// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝ +// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗ +// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝ +// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗ +// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝ +// ------------------------------------------------ +// +// This file is automatically generated. +// Please do not edit these files manually. +// +// ------------------------------------------------ + +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +#nullable restore +namespace Elastic.Clients.Elasticsearch.Ilm +{ + public partial class ForceMergeConfiguration + { + [JsonInclude] + [JsonPropertyName("max_num_segments")] + public int MaxNumSegments { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ilm/Phase.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ilm/Phase.g.cs new file mode 100644 index 00000000000..d94bd22be15 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ilm/Phase.g.cs @@ -0,0 +1,41 @@ +// Licensed to Elasticsearch B.V under one or more agreements. +// Elasticsearch B.V licenses this file to you under the Apache 2.0 License. +// See the LICENSE file in the project root for more information. +// +// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗ +// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝ +// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗ +// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝ +// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗ +// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝ +// ------------------------------------------------ +// +// This file is automatically generated. +// Please do not edit these files manually. +// +// ------------------------------------------------ + +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +#nullable restore +namespace Elastic.Clients.Elasticsearch.Ilm +{ + public partial class Phase + { + [JsonInclude] + [JsonPropertyName("actions")] + public object? Actions { get; init; } + + [JsonInclude] + [JsonPropertyName("configurations")] + public Elastic.Clients.Elasticsearch.Ilm.Configurations? Configurations { get; init; } + + [JsonInclude] + [JsonPropertyName("min_age")] + public Elastic.Clients.Elasticsearch.Time? MinAge { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ilm/Phases.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ilm/Phases.g.cs new file mode 100644 index 00000000000..640eec17466 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ilm/Phases.g.cs @@ -0,0 +1,45 @@ +// Licensed to Elasticsearch B.V under one or more agreements. +// Elasticsearch B.V licenses this file to you under the Apache 2.0 License. +// See the LICENSE file in the project root for more information. +// +// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗ +// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝ +// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗ +// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝ +// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗ +// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝ +// ------------------------------------------------ +// +// This file is automatically generated. +// Please do not edit these files manually. +// +// ------------------------------------------------ + +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +#nullable restore +namespace Elastic.Clients.Elasticsearch.Ilm +{ + public partial class Phases + { + [JsonInclude] + [JsonPropertyName("cold")] + public Elastic.Clients.Elasticsearch.Ilm.Phase? Cold { get; init; } + + [JsonInclude] + [JsonPropertyName("delete")] + public Elastic.Clients.Elasticsearch.Ilm.Phase? Delete { get; init; } + + [JsonInclude] + [JsonPropertyName("hot")] + public Elastic.Clients.Elasticsearch.Ilm.Phase? Hot { get; init; } + + [JsonInclude] + [JsonPropertyName("warm")] + public Elastic.Clients.Elasticsearch.Ilm.Phase? Warm { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ilm/ShrinkConfiguration.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ilm/ShrinkConfiguration.g.cs new file mode 100644 index 00000000000..6b073371236 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ilm/ShrinkConfiguration.g.cs @@ -0,0 +1,33 @@ +// Licensed to Elasticsearch B.V under one or more agreements. +// Elasticsearch B.V licenses this file to you under the Apache 2.0 License. +// See the LICENSE file in the project root for more information. +// +// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗ +// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝ +// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗ +// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝ +// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗ +// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝ +// ------------------------------------------------ +// +// This file is automatically generated. +// Please do not edit these files manually. +// +// ------------------------------------------------ + +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +#nullable restore +namespace Elastic.Clients.Elasticsearch.Ilm +{ + public partial class ShrinkConfiguration + { + [JsonInclude] + [JsonPropertyName("number_of_shards")] + public int NumberOfShards { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/RolloverConditions.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/RolloverConditions.g.cs new file mode 100644 index 00000000000..415a5f83749 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/RolloverConditions.g.cs @@ -0,0 +1,169 @@ +// Licensed to Elasticsearch B.V under one or more agreements. +// Elasticsearch B.V licenses this file to you under the Apache 2.0 License. +// See the LICENSE file in the project root for more information. +// +// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗ +// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝ +// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗ +// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝ +// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗ +// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝ +// ------------------------------------------------ +// +// This file is automatically generated. +// Please do not edit these files manually. +// +// ------------------------------------------------ + +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +#nullable restore +namespace Elastic.Clients.Elasticsearch.IndexManagement +{ + public partial class RolloverConditions + { + [JsonInclude] + [JsonPropertyName("max_age")] + public Elastic.Clients.Elasticsearch.Time? MaxAge { get; set; } + + [JsonInclude] + [JsonPropertyName("max_age_millis")] + public Elastic.Clients.Elasticsearch.EpochMillis? MaxAgeMillis { get; set; } + + [JsonInclude] + [JsonPropertyName("max_docs")] + public long? MaxDocs { get; set; } + + [JsonInclude] + [JsonPropertyName("max_primary_shard_size")] + public Elastic.Clients.Elasticsearch.ByteSize? MaxPrimaryShardSize { get; set; } + + [JsonInclude] + [JsonPropertyName("max_primary_shard_size_bytes")] + public Elastic.Clients.Elasticsearch.ByteSize? MaxPrimaryShardSizeBytes { get; set; } + + [JsonInclude] + [JsonPropertyName("max_size")] + public string? MaxSize { get; set; } + + [JsonInclude] + [JsonPropertyName("max_size_bytes")] + public Elastic.Clients.Elasticsearch.ByteSize? MaxSizeBytes { get; set; } + } + + public sealed partial class RolloverConditionsDescriptor : DescriptorBase + { + internal RolloverConditionsDescriptor(Action configure) => configure.Invoke(this); + public RolloverConditionsDescriptor() : base() + { + } + + private Elastic.Clients.Elasticsearch.Time? MaxAgeValue { get; set; } + + private Elastic.Clients.Elasticsearch.EpochMillis? MaxAgeMillisValue { get; set; } + + private long? MaxDocsValue { get; set; } + + private Elastic.Clients.Elasticsearch.ByteSize? MaxPrimaryShardSizeValue { get; set; } + + private Elastic.Clients.Elasticsearch.ByteSize? MaxPrimaryShardSizeBytesValue { get; set; } + + private string? MaxSizeValue { get; set; } + + private Elastic.Clients.Elasticsearch.ByteSize? MaxSizeBytesValue { get; set; } + + public RolloverConditionsDescriptor MaxAge(Elastic.Clients.Elasticsearch.Time? maxAge) + { + MaxAgeValue = maxAge; + return Self; + } + + public RolloverConditionsDescriptor MaxAgeMillis(Elastic.Clients.Elasticsearch.EpochMillis? maxAgeMillis) + { + MaxAgeMillisValue = maxAgeMillis; + return Self; + } + + public RolloverConditionsDescriptor MaxDocs(long? maxDocs) + { + MaxDocsValue = maxDocs; + return Self; + } + + public RolloverConditionsDescriptor MaxPrimaryShardSize(Elastic.Clients.Elasticsearch.ByteSize? maxPrimaryShardSize) + { + MaxPrimaryShardSizeValue = maxPrimaryShardSize; + return Self; + } + + public RolloverConditionsDescriptor MaxPrimaryShardSizeBytes(Elastic.Clients.Elasticsearch.ByteSize? maxPrimaryShardSizeBytes) + { + MaxPrimaryShardSizeBytesValue = maxPrimaryShardSizeBytes; + return Self; + } + + public RolloverConditionsDescriptor MaxSize(string? maxSize) + { + MaxSizeValue = maxSize; + return Self; + } + + public RolloverConditionsDescriptor MaxSizeBytes(Elastic.Clients.Elasticsearch.ByteSize? maxSizeBytes) + { + MaxSizeBytesValue = maxSizeBytes; + return Self; + } + + protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) + { + writer.WriteStartObject(); + if (MaxAgeValue is not null) + { + writer.WritePropertyName("max_age"); + JsonSerializer.Serialize(writer, MaxAgeValue, options); + } + + if (MaxAgeMillisValue is not null) + { + writer.WritePropertyName("max_age_millis"); + JsonSerializer.Serialize(writer, MaxAgeMillisValue, options); + } + + if (MaxDocsValue.HasValue) + { + writer.WritePropertyName("max_docs"); + writer.WriteNumberValue(MaxDocsValue.Value); + } + + if (MaxPrimaryShardSizeValue is not null) + { + writer.WritePropertyName("max_primary_shard_size"); + JsonSerializer.Serialize(writer, MaxPrimaryShardSizeValue, options); + } + + if (MaxPrimaryShardSizeBytesValue is not null) + { + writer.WritePropertyName("max_primary_shard_size_bytes"); + JsonSerializer.Serialize(writer, MaxPrimaryShardSizeBytesValue, options); + } + + if (!string.IsNullOrEmpty(MaxSizeValue)) + { + writer.WritePropertyName("max_size"); + writer.WriteStringValue(MaxSizeValue); + } + + if (MaxSizeBytesValue is not null) + { + writer.WritePropertyName("max_size_bytes"); + JsonSerializer.Serialize(writer, MaxSizeBytesValue, options); + } + + writer.WriteEndObject(); + } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ml/JobStatistics.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ml/JobStatistics.g.cs new file mode 100644 index 00000000000..f9aee25073c --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Ml/JobStatistics.g.cs @@ -0,0 +1,45 @@ +// Licensed to Elasticsearch B.V under one or more agreements. +// Elasticsearch B.V licenses this file to you under the Apache 2.0 License. +// See the LICENSE file in the project root for more information. +// +// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗ +// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝ +// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗ +// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝ +// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗ +// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝ +// ------------------------------------------------ +// +// This file is automatically generated. +// Please do not edit these files manually. +// +// ------------------------------------------------ + +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +#nullable restore +namespace Elastic.Clients.Elasticsearch.Ml +{ + public partial class JobStatistics + { + [JsonInclude] + [JsonPropertyName("avg")] + public double Avg { get; init; } + + [JsonInclude] + [JsonPropertyName("max")] + public double Max { get; init; } + + [JsonInclude] + [JsonPropertyName("min")] + public double Min { get; init; } + + [JsonInclude] + [JsonPropertyName("total")] + public double Total { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Slm/Statistics.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Slm/Statistics.g.cs new file mode 100644 index 00000000000..85f274f3ec3 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Slm/Statistics.g.cs @@ -0,0 +1,69 @@ +// Licensed to Elasticsearch B.V under one or more agreements. +// Elasticsearch B.V licenses this file to you under the Apache 2.0 License. +// See the LICENSE file in the project root for more information. +// +// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗ +// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝ +// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗ +// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝ +// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗ +// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝ +// ------------------------------------------------ +// +// This file is automatically generated. +// Please do not edit these files manually. +// +// ------------------------------------------------ + +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +#nullable restore +namespace Elastic.Clients.Elasticsearch.Slm +{ + public partial class Statistics + { + [JsonInclude] + [JsonPropertyName("policy")] + public string? Policy { get; init; } + + [JsonInclude] + [JsonPropertyName("retention_deletion_time")] + public string? RetentionDeletionTime { get; init; } + + [JsonInclude] + [JsonPropertyName("retention_deletion_time_millis")] + public Elastic.Clients.Elasticsearch.EpochMillis? RetentionDeletionTimeMillis { get; init; } + + [JsonInclude] + [JsonPropertyName("retention_failed")] + public long? RetentionFailed { get; init; } + + [JsonInclude] + [JsonPropertyName("retention_runs")] + public long? RetentionRuns { get; init; } + + [JsonInclude] + [JsonPropertyName("retention_timed_out")] + public long? RetentionTimedOut { get; init; } + + [JsonInclude] + [JsonPropertyName("total_snapshot_deletion_failures")] + public long? TotalSnapshotDeletionFailures { get; init; } + + [JsonInclude] + [JsonPropertyName("total_snapshots_deleted")] + public long? TotalSnapshotsDeleted { get; init; } + + [JsonInclude] + [JsonPropertyName("total_snapshots_failed")] + public long? TotalSnapshotsFailed { get; init; } + + [JsonInclude] + [JsonPropertyName("total_snapshots_taken")] + public long? TotalSnapshotsTaken { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/AllJobs.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/AllJobs.g.cs new file mode 100644 index 00000000000..582ac372db6 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/AllJobs.g.cs @@ -0,0 +1,49 @@ +// Licensed to Elasticsearch B.V under one or more agreements. +// Elasticsearch B.V licenses this file to you under the Apache 2.0 License. +// See the LICENSE file in the project root for more information. +// +// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗ +// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝ +// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗ +// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝ +// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗ +// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝ +// ------------------------------------------------ +// +// This file is automatically generated. +// Please do not edit these files manually. +// +// ------------------------------------------------ + +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +#nullable restore +namespace Elastic.Clients.Elasticsearch.Xpack +{ + public partial class AllJobs + { + [JsonInclude] + [JsonPropertyName("count")] + public int Count { get; init; } + + [JsonInclude] + [JsonPropertyName("created_by")] + public Dictionary> CreatedBy { get; init; } + + [JsonInclude] + [JsonPropertyName("detectors")] + public Dictionary Detectors { get; init; } + + [JsonInclude] + [JsonPropertyName("forecasts")] + public Dictionary Forecasts { get; init; } + + [JsonInclude] + [JsonPropertyName("model_size")] + public Dictionary ModelSize { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/Analytics.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/Analytics.g.cs new file mode 100644 index 00000000000..5b6c3063953 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/Analytics.g.cs @@ -0,0 +1,33 @@ +// Licensed to Elasticsearch B.V under one or more agreements. +// Elasticsearch B.V licenses this file to you under the Apache 2.0 License. +// See the LICENSE file in the project root for more information. +// +// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗ +// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝ +// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗ +// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝ +// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗ +// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝ +// ------------------------------------------------ +// +// This file is automatically generated. +// Please do not edit these files manually. +// +// ------------------------------------------------ + +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +#nullable restore +namespace Elastic.Clients.Elasticsearch.Xpack +{ + public partial class Analytics : Base + { + [JsonInclude] + [JsonPropertyName("stats")] + public Elastic.Clients.Elasticsearch.Xpack.AnalyticsStatistics Stats { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/AnalyticsStatistics.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/AnalyticsStatistics.g.cs new file mode 100644 index 00000000000..779020ac4ee --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/AnalyticsStatistics.g.cs @@ -0,0 +1,65 @@ +// Licensed to Elasticsearch B.V under one or more agreements. +// Elasticsearch B.V licenses this file to you under the Apache 2.0 License. +// See the LICENSE file in the project root for more information. +// +// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗ +// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝ +// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗ +// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝ +// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗ +// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝ +// ------------------------------------------------ +// +// This file is automatically generated. +// Please do not edit these files manually. +// +// ------------------------------------------------ + +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +#nullable restore +namespace Elastic.Clients.Elasticsearch.Xpack +{ + public partial class AnalyticsStatistics + { + [JsonInclude] + [JsonPropertyName("boxplot_usage")] + public long BoxplotUsage { get; init; } + + [JsonInclude] + [JsonPropertyName("cumulative_cardinality_usage")] + public long CumulativeCardinalityUsage { get; init; } + + [JsonInclude] + [JsonPropertyName("moving_percentiles_usage")] + public long MovingPercentilesUsage { get; init; } + + [JsonInclude] + [JsonPropertyName("multi_terms_usage")] + public long? MultiTermsUsage { get; init; } + + [JsonInclude] + [JsonPropertyName("normalize_usage")] + public long NormalizeUsage { get; init; } + + [JsonInclude] + [JsonPropertyName("rate_usage")] + public long RateUsage { get; init; } + + [JsonInclude] + [JsonPropertyName("string_stats_usage")] + public long StringStatsUsage { get; init; } + + [JsonInclude] + [JsonPropertyName("t_test_usage")] + public long TTestUsage { get; init; } + + [JsonInclude] + [JsonPropertyName("top_metrics_usage")] + public long TopMetricsUsage { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/Audit.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/Audit.g.cs new file mode 100644 index 00000000000..c62cedd6f1b --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/Audit.g.cs @@ -0,0 +1,33 @@ +// Licensed to Elasticsearch B.V under one or more agreements. +// Elasticsearch B.V licenses this file to you under the Apache 2.0 License. +// See the LICENSE file in the project root for more information. +// +// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗ +// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝ +// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗ +// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝ +// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗ +// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝ +// ------------------------------------------------ +// +// This file is automatically generated. +// Please do not edit these files manually. +// +// ------------------------------------------------ + +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +#nullable restore +namespace Elastic.Clients.Elasticsearch.Xpack +{ + public partial class Audit : FeatureToggle + { + [JsonInclude] + [JsonPropertyName("outputs")] + public IReadOnlyCollection? Outputs { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/Base.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/Base.g.cs new file mode 100644 index 00000000000..b24bb2f2f0e --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/Base.g.cs @@ -0,0 +1,37 @@ +// Licensed to Elasticsearch B.V under one or more agreements. +// Elasticsearch B.V licenses this file to you under the Apache 2.0 License. +// See the LICENSE file in the project root for more information. +// +// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗ +// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝ +// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗ +// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝ +// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗ +// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝ +// ------------------------------------------------ +// +// This file is automatically generated. +// Please do not edit these files manually. +// +// ------------------------------------------------ + +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +#nullable restore +namespace Elastic.Clients.Elasticsearch.Xpack +{ + public abstract partial class Base + { + [JsonInclude] + [JsonPropertyName("available")] + public bool Available { get; init; } + + [JsonInclude] + [JsonPropertyName("enabled")] + public bool Enabled { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/BuildInformation.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/BuildInformation.g.cs new file mode 100644 index 00000000000..b9faf5379aa --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/BuildInformation.g.cs @@ -0,0 +1,37 @@ +// Licensed to Elasticsearch B.V under one or more agreements. +// Elasticsearch B.V licenses this file to you under the Apache 2.0 License. +// See the LICENSE file in the project root for more information. +// +// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗ +// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝ +// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗ +// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝ +// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗ +// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝ +// ------------------------------------------------ +// +// This file is automatically generated. +// Please do not edit these files manually. +// +// ------------------------------------------------ + +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +#nullable restore +namespace Elastic.Clients.Elasticsearch.Xpack +{ + public partial class BuildInformation + { + [JsonInclude] + [JsonPropertyName("date")] + public string Date { get; init; } + + [JsonInclude] + [JsonPropertyName("hash")] + public string Hash { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/Ccr.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/Ccr.g.cs new file mode 100644 index 00000000000..c545c8b6082 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/Ccr.g.cs @@ -0,0 +1,37 @@ +// Licensed to Elasticsearch B.V under one or more agreements. +// Elasticsearch B.V licenses this file to you under the Apache 2.0 License. +// See the LICENSE file in the project root for more information. +// +// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗ +// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝ +// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗ +// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝ +// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗ +// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝ +// ------------------------------------------------ +// +// This file is automatically generated. +// Please do not edit these files manually. +// +// ------------------------------------------------ + +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +#nullable restore +namespace Elastic.Clients.Elasticsearch.Xpack +{ + public partial class Ccr : Base + { + [JsonInclude] + [JsonPropertyName("auto_follow_patterns_count")] + public int AutoFollowPatternsCount { get; init; } + + [JsonInclude] + [JsonPropertyName("follower_indices_count")] + public int FollowerIndicesCount { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/Counter.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/Counter.g.cs new file mode 100644 index 00000000000..07161bd3ad2 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/Counter.g.cs @@ -0,0 +1,37 @@ +// Licensed to Elasticsearch B.V under one or more agreements. +// Elasticsearch B.V licenses this file to you under the Apache 2.0 License. +// See the LICENSE file in the project root for more information. +// +// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗ +// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝ +// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗ +// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝ +// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗ +// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝ +// ------------------------------------------------ +// +// This file is automatically generated. +// Please do not edit these files manually. +// +// ------------------------------------------------ + +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +#nullable restore +namespace Elastic.Clients.Elasticsearch.Xpack +{ + public partial class Counter + { + [JsonInclude] + [JsonPropertyName("active")] + public long Active { get; init; } + + [JsonInclude] + [JsonPropertyName("total")] + public long Total { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/DataStreams.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/DataStreams.g.cs new file mode 100644 index 00000000000..cc45a2083dd --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/DataStreams.g.cs @@ -0,0 +1,37 @@ +// Licensed to Elasticsearch B.V under one or more agreements. +// Elasticsearch B.V licenses this file to you under the Apache 2.0 License. +// See the LICENSE file in the project root for more information. +// +// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗ +// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝ +// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗ +// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝ +// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗ +// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝ +// ------------------------------------------------ +// +// This file is automatically generated. +// Please do not edit these files manually. +// +// ------------------------------------------------ + +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +#nullable restore +namespace Elastic.Clients.Elasticsearch.Xpack +{ + public partial class DataStreams : Base + { + [JsonInclude] + [JsonPropertyName("data_streams")] + public long DataStreamsTemp { get; init; } + + [JsonInclude] + [JsonPropertyName("indices_count")] + public long IndicesCount { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/DataTierPhaseStatistics.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/DataTierPhaseStatistics.g.cs new file mode 100644 index 00000000000..a3165a5204e --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/DataTierPhaseStatistics.g.cs @@ -0,0 +1,69 @@ +// Licensed to Elasticsearch B.V under one or more agreements. +// Elasticsearch B.V licenses this file to you under the Apache 2.0 License. +// See the LICENSE file in the project root for more information. +// +// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗ +// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝ +// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗ +// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝ +// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗ +// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝ +// ------------------------------------------------ +// +// This file is automatically generated. +// Please do not edit these files manually. +// +// ------------------------------------------------ + +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +#nullable restore +namespace Elastic.Clients.Elasticsearch.Xpack +{ + public partial class DataTierPhaseStatistics + { + [JsonInclude] + [JsonPropertyName("doc_count")] + public long DocCount { get; init; } + + [JsonInclude] + [JsonPropertyName("index_count")] + public long IndexCount { get; init; } + + [JsonInclude] + [JsonPropertyName("node_count")] + public long NodeCount { get; init; } + + [JsonInclude] + [JsonPropertyName("primary_shard_count")] + public long PrimaryShardCount { get; init; } + + [JsonInclude] + [JsonPropertyName("primary_shard_size_avg_bytes")] + public long PrimaryShardSizeAvgBytes { get; init; } + + [JsonInclude] + [JsonPropertyName("primary_shard_size_mad_bytes")] + public long PrimaryShardSizeMadBytes { get; init; } + + [JsonInclude] + [JsonPropertyName("primary_shard_size_median_bytes")] + public long PrimaryShardSizeMedianBytes { get; init; } + + [JsonInclude] + [JsonPropertyName("primary_size_bytes")] + public long PrimarySizeBytes { get; init; } + + [JsonInclude] + [JsonPropertyName("total_shard_count")] + public long TotalShardCount { get; init; } + + [JsonInclude] + [JsonPropertyName("total_size_bytes")] + public long TotalSizeBytes { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/DataTiers.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/DataTiers.g.cs new file mode 100644 index 00000000000..c22c33f3422 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/DataTiers.g.cs @@ -0,0 +1,49 @@ +// Licensed to Elasticsearch B.V under one or more agreements. +// Elasticsearch B.V licenses this file to you under the Apache 2.0 License. +// See the LICENSE file in the project root for more information. +// +// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗ +// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝ +// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗ +// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝ +// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗ +// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝ +// ------------------------------------------------ +// +// This file is automatically generated. +// Please do not edit these files manually. +// +// ------------------------------------------------ + +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +#nullable restore +namespace Elastic.Clients.Elasticsearch.Xpack +{ + public partial class DataTiers : Base + { + [JsonInclude] + [JsonPropertyName("data_cold")] + public Elastic.Clients.Elasticsearch.Xpack.DataTierPhaseStatistics DataCold { get; init; } + + [JsonInclude] + [JsonPropertyName("data_content")] + public Elastic.Clients.Elasticsearch.Xpack.DataTierPhaseStatistics DataContent { get; init; } + + [JsonInclude] + [JsonPropertyName("data_frozen")] + public Elastic.Clients.Elasticsearch.Xpack.DataTierPhaseStatistics? DataFrozen { get; init; } + + [JsonInclude] + [JsonPropertyName("data_hot")] + public Elastic.Clients.Elasticsearch.Xpack.DataTierPhaseStatistics DataHot { get; init; } + + [JsonInclude] + [JsonPropertyName("data_warm")] + public Elastic.Clients.Elasticsearch.Xpack.DataTierPhaseStatistics DataWarm { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/Datafeed.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/Datafeed.g.cs new file mode 100644 index 00000000000..4d018e546ad --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/Datafeed.g.cs @@ -0,0 +1,33 @@ +// Licensed to Elasticsearch B.V under one or more agreements. +// Elasticsearch B.V licenses this file to you under the Apache 2.0 License. +// See the LICENSE file in the project root for more information. +// +// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗ +// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝ +// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗ +// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝ +// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗ +// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝ +// ------------------------------------------------ +// +// This file is automatically generated. +// Please do not edit these files manually. +// +// ------------------------------------------------ + +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +#nullable restore +namespace Elastic.Clients.Elasticsearch.Xpack +{ + public partial class Datafeed + { + [JsonInclude] + [JsonPropertyName("count")] + public long Count { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/Eql.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/Eql.g.cs new file mode 100644 index 00000000000..2e79ccd2516 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/Eql.g.cs @@ -0,0 +1,37 @@ +// Licensed to Elasticsearch B.V under one or more agreements. +// Elasticsearch B.V licenses this file to you under the Apache 2.0 License. +// See the LICENSE file in the project root for more information. +// +// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗ +// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝ +// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗ +// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝ +// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗ +// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝ +// ------------------------------------------------ +// +// This file is automatically generated. +// Please do not edit these files manually. +// +// ------------------------------------------------ + +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +#nullable restore +namespace Elastic.Clients.Elasticsearch.Xpack +{ + public partial class Eql : Base + { + [JsonInclude] + [JsonPropertyName("features")] + public Elastic.Clients.Elasticsearch.Xpack.EqlFeatures Features { get; init; } + + [JsonInclude] + [JsonPropertyName("queries")] + public Dictionary Queries { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/EqlFeatures.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/EqlFeatures.g.cs new file mode 100644 index 00000000000..6be63c21c42 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/EqlFeatures.g.cs @@ -0,0 +1,57 @@ +// Licensed to Elasticsearch B.V under one or more agreements. +// Elasticsearch B.V licenses this file to you under the Apache 2.0 License. +// See the LICENSE file in the project root for more information. +// +// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗ +// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝ +// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗ +// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝ +// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗ +// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝ +// ------------------------------------------------ +// +// This file is automatically generated. +// Please do not edit these files manually. +// +// ------------------------------------------------ + +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +#nullable restore +namespace Elastic.Clients.Elasticsearch.Xpack +{ + public partial class EqlFeatures + { + [JsonInclude] + [JsonPropertyName("event")] + public int Event { get; init; } + + [JsonInclude] + [JsonPropertyName("join")] + public int Join { get; init; } + + [JsonInclude] + [JsonPropertyName("joins")] + public Elastic.Clients.Elasticsearch.Xpack.EqlFeaturesJoin Joins { get; init; } + + [JsonInclude] + [JsonPropertyName("keys")] + public Elastic.Clients.Elasticsearch.Xpack.EqlFeaturesKeys Keys { get; init; } + + [JsonInclude] + [JsonPropertyName("pipes")] + public Elastic.Clients.Elasticsearch.Xpack.EqlFeaturesPipes Pipes { get; init; } + + [JsonInclude] + [JsonPropertyName("sequence")] + public int Sequence { get; init; } + + [JsonInclude] + [JsonPropertyName("sequences")] + public Elastic.Clients.Elasticsearch.Xpack.EqlFeaturesSequences Sequences { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/EqlFeaturesJoin.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/EqlFeaturesJoin.g.cs new file mode 100644 index 00000000000..8aded33a32d --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/EqlFeaturesJoin.g.cs @@ -0,0 +1,49 @@ +// Licensed to Elasticsearch B.V under one or more agreements. +// Elasticsearch B.V licenses this file to you under the Apache 2.0 License. +// See the LICENSE file in the project root for more information. +// +// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗ +// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝ +// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗ +// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝ +// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗ +// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝ +// ------------------------------------------------ +// +// This file is automatically generated. +// Please do not edit these files manually. +// +// ------------------------------------------------ + +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +#nullable restore +namespace Elastic.Clients.Elasticsearch.Xpack +{ + public partial class EqlFeaturesJoin + { + [JsonInclude] + [JsonPropertyName("join_queries_five_or_more")] + public int JoinQueriesFiveOrMore { get; init; } + + [JsonInclude] + [JsonPropertyName("join_queries_four")] + public int JoinQueriesFour { get; init; } + + [JsonInclude] + [JsonPropertyName("join_queries_three")] + public int JoinQueriesThree { get; init; } + + [JsonInclude] + [JsonPropertyName("join_queries_two")] + public int JoinQueriesTwo { get; init; } + + [JsonInclude] + [JsonPropertyName("join_until")] + public int JoinUntil { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/EqlFeaturesKeys.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/EqlFeaturesKeys.g.cs new file mode 100644 index 00000000000..dcf2683f674 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/EqlFeaturesKeys.g.cs @@ -0,0 +1,49 @@ +// Licensed to Elasticsearch B.V under one or more agreements. +// Elasticsearch B.V licenses this file to you under the Apache 2.0 License. +// See the LICENSE file in the project root for more information. +// +// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗ +// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝ +// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗ +// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝ +// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗ +// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝ +// ------------------------------------------------ +// +// This file is automatically generated. +// Please do not edit these files manually. +// +// ------------------------------------------------ + +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +#nullable restore +namespace Elastic.Clients.Elasticsearch.Xpack +{ + public partial class EqlFeaturesKeys + { + [JsonInclude] + [JsonPropertyName("join_keys_five_or_more")] + public int JoinKeysFiveOrMore { get; init; } + + [JsonInclude] + [JsonPropertyName("join_keys_four")] + public int JoinKeysFour { get; init; } + + [JsonInclude] + [JsonPropertyName("join_keys_one")] + public int JoinKeysOne { get; init; } + + [JsonInclude] + [JsonPropertyName("join_keys_three")] + public int JoinKeysThree { get; init; } + + [JsonInclude] + [JsonPropertyName("join_keys_two")] + public int JoinKeysTwo { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/EqlFeaturesPipes.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/EqlFeaturesPipes.g.cs new file mode 100644 index 00000000000..8176dc44407 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/EqlFeaturesPipes.g.cs @@ -0,0 +1,37 @@ +// Licensed to Elasticsearch B.V under one or more agreements. +// Elasticsearch B.V licenses this file to you under the Apache 2.0 License. +// See the LICENSE file in the project root for more information. +// +// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗ +// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝ +// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗ +// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝ +// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗ +// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝ +// ------------------------------------------------ +// +// This file is automatically generated. +// Please do not edit these files manually. +// +// ------------------------------------------------ + +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +#nullable restore +namespace Elastic.Clients.Elasticsearch.Xpack +{ + public partial class EqlFeaturesPipes + { + [JsonInclude] + [JsonPropertyName("pipe_head")] + public int PipeHead { get; init; } + + [JsonInclude] + [JsonPropertyName("pipe_tail")] + public int PipeTail { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/EqlFeaturesSequences.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/EqlFeaturesSequences.g.cs new file mode 100644 index 00000000000..bb71bcf13a6 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/EqlFeaturesSequences.g.cs @@ -0,0 +1,53 @@ +// Licensed to Elasticsearch B.V under one or more agreements. +// Elasticsearch B.V licenses this file to you under the Apache 2.0 License. +// See the LICENSE file in the project root for more information. +// +// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗ +// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝ +// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗ +// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝ +// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗ +// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝ +// ------------------------------------------------ +// +// This file is automatically generated. +// Please do not edit these files manually. +// +// ------------------------------------------------ + +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +#nullable restore +namespace Elastic.Clients.Elasticsearch.Xpack +{ + public partial class EqlFeaturesSequences + { + [JsonInclude] + [JsonPropertyName("sequence_maxspan")] + public int SequenceMaxspan { get; init; } + + [JsonInclude] + [JsonPropertyName("sequence_queries_five_or_more")] + public int SequenceQueriesFiveOrMore { get; init; } + + [JsonInclude] + [JsonPropertyName("sequence_queries_four")] + public int SequenceQueriesFour { get; init; } + + [JsonInclude] + [JsonPropertyName("sequence_queries_three")] + public int SequenceQueriesThree { get; init; } + + [JsonInclude] + [JsonPropertyName("sequence_queries_two")] + public int SequenceQueriesTwo { get; init; } + + [JsonInclude] + [JsonPropertyName("sequence_until")] + public int SequenceUntil { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/Feature.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/Feature.g.cs new file mode 100644 index 00000000000..16d7a81724a --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/Feature.g.cs @@ -0,0 +1,45 @@ +// Licensed to Elasticsearch B.V under one or more agreements. +// Elasticsearch B.V licenses this file to you under the Apache 2.0 License. +// See the LICENSE file in the project root for more information. +// +// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗ +// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝ +// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗ +// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝ +// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗ +// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝ +// ------------------------------------------------ +// +// This file is automatically generated. +// Please do not edit these files manually. +// +// ------------------------------------------------ + +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +#nullable restore +namespace Elastic.Clients.Elasticsearch.Xpack +{ + public partial class Feature + { + [JsonInclude] + [JsonPropertyName("available")] + public bool Available { get; init; } + + [JsonInclude] + [JsonPropertyName("description")] + public string? Description { get; init; } + + [JsonInclude] + [JsonPropertyName("enabled")] + public bool Enabled { get; init; } + + [JsonInclude] + [JsonPropertyName("native_code_info")] + public Elastic.Clients.Elasticsearch.Xpack.NativeCodeInformation? NativeCodeInfo { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/FeatureToggle.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/FeatureToggle.g.cs new file mode 100644 index 00000000000..74c60633e5d --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/FeatureToggle.g.cs @@ -0,0 +1,33 @@ +// Licensed to Elasticsearch B.V under one or more agreements. +// Elasticsearch B.V licenses this file to you under the Apache 2.0 License. +// See the LICENSE file in the project root for more information. +// +// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗ +// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝ +// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗ +// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝ +// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗ +// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝ +// ------------------------------------------------ +// +// This file is automatically generated. +// Please do not edit these files manually. +// +// ------------------------------------------------ + +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +#nullable restore +namespace Elastic.Clients.Elasticsearch.Xpack +{ + public partial class FeatureToggle + { + [JsonInclude] + [JsonPropertyName("enabled")] + public bool Enabled { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/Features.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/Features.g.cs new file mode 100644 index 00000000000..2f0ab8b6481 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/Features.g.cs @@ -0,0 +1,137 @@ +// Licensed to Elasticsearch B.V under one or more agreements. +// Elasticsearch B.V licenses this file to you under the Apache 2.0 License. +// See the LICENSE file in the project root for more information. +// +// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗ +// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝ +// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗ +// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝ +// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗ +// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝ +// ------------------------------------------------ +// +// This file is automatically generated. +// Please do not edit these files manually. +// +// ------------------------------------------------ + +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +#nullable restore +namespace Elastic.Clients.Elasticsearch.Xpack +{ + public partial class Features + { + [JsonInclude] + [JsonPropertyName("aggregate_metric")] + public Elastic.Clients.Elasticsearch.Xpack.Feature AggregateMetric { get; init; } + + [JsonInclude] + [JsonPropertyName("analytics")] + public Elastic.Clients.Elasticsearch.Xpack.Feature Analytics { get; init; } + + [JsonInclude] + [JsonPropertyName("ccr")] + public Elastic.Clients.Elasticsearch.Xpack.Feature Ccr { get; init; } + + [JsonInclude] + [JsonPropertyName("data_frame")] + public Elastic.Clients.Elasticsearch.Xpack.Feature? DataFrame { get; init; } + + [JsonInclude] + [JsonPropertyName("data_science")] + public Elastic.Clients.Elasticsearch.Xpack.Feature? DataScience { get; init; } + + [JsonInclude] + [JsonPropertyName("data_streams")] + public Elastic.Clients.Elasticsearch.Xpack.Feature DataStreams { get; init; } + + [JsonInclude] + [JsonPropertyName("data_tiers")] + public Elastic.Clients.Elasticsearch.Xpack.Feature DataTiers { get; init; } + + [JsonInclude] + [JsonPropertyName("enrich")] + public Elastic.Clients.Elasticsearch.Xpack.Feature Enrich { get; init; } + + [JsonInclude] + [JsonPropertyName("eql")] + public Elastic.Clients.Elasticsearch.Xpack.Feature Eql { get; init; } + + [JsonInclude] + [JsonPropertyName("flattened")] + public Elastic.Clients.Elasticsearch.Xpack.Feature? Flattened { get; init; } + + [JsonInclude] + [JsonPropertyName("frozen_indices")] + public Elastic.Clients.Elasticsearch.Xpack.Feature FrozenIndices { get; init; } + + [JsonInclude] + [JsonPropertyName("graph")] + public Elastic.Clients.Elasticsearch.Xpack.Feature Graph { get; init; } + + [JsonInclude] + [JsonPropertyName("ilm")] + public Elastic.Clients.Elasticsearch.Xpack.Feature Ilm { get; init; } + + [JsonInclude] + [JsonPropertyName("logstash")] + public Elastic.Clients.Elasticsearch.Xpack.Feature Logstash { get; init; } + + [JsonInclude] + [JsonPropertyName("ml")] + public Elastic.Clients.Elasticsearch.Xpack.Feature Ml { get; init; } + + [JsonInclude] + [JsonPropertyName("monitoring")] + public Elastic.Clients.Elasticsearch.Xpack.Feature Monitoring { get; init; } + + [JsonInclude] + [JsonPropertyName("rollup")] + public Elastic.Clients.Elasticsearch.Xpack.Feature Rollup { get; init; } + + [JsonInclude] + [JsonPropertyName("runtime_fields")] + public Elastic.Clients.Elasticsearch.Xpack.Feature? RuntimeFields { get; init; } + + [JsonInclude] + [JsonPropertyName("searchable_snapshots")] + public Elastic.Clients.Elasticsearch.Xpack.Feature SearchableSnapshots { get; init; } + + [JsonInclude] + [JsonPropertyName("security")] + public Elastic.Clients.Elasticsearch.Xpack.Feature Security { get; init; } + + [JsonInclude] + [JsonPropertyName("slm")] + public Elastic.Clients.Elasticsearch.Xpack.Feature Slm { get; init; } + + [JsonInclude] + [JsonPropertyName("spatial")] + public Elastic.Clients.Elasticsearch.Xpack.Feature Spatial { get; init; } + + [JsonInclude] + [JsonPropertyName("sql")] + public Elastic.Clients.Elasticsearch.Xpack.Feature Sql { get; init; } + + [JsonInclude] + [JsonPropertyName("transform")] + public Elastic.Clients.Elasticsearch.Xpack.Feature Transform { get; init; } + + [JsonInclude] + [JsonPropertyName("vectors")] + public Elastic.Clients.Elasticsearch.Xpack.Feature? Vectors { get; init; } + + [JsonInclude] + [JsonPropertyName("voting_only")] + public Elastic.Clients.Elasticsearch.Xpack.Feature VotingOnly { get; init; } + + [JsonInclude] + [JsonPropertyName("watcher")] + public Elastic.Clients.Elasticsearch.Xpack.Feature Watcher { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/Flattened.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/Flattened.g.cs new file mode 100644 index 00000000000..0e92a3b7653 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/Flattened.g.cs @@ -0,0 +1,33 @@ +// Licensed to Elasticsearch B.V under one or more agreements. +// Elasticsearch B.V licenses this file to you under the Apache 2.0 License. +// See the LICENSE file in the project root for more information. +// +// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗ +// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝ +// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗ +// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝ +// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗ +// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝ +// ------------------------------------------------ +// +// This file is automatically generated. +// Please do not edit these files manually. +// +// ------------------------------------------------ + +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +#nullable restore +namespace Elastic.Clients.Elasticsearch.Xpack +{ + public partial class Flattened : Base + { + [JsonInclude] + [JsonPropertyName("field_count")] + public int FieldCount { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/FrozenIndices.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/FrozenIndices.g.cs new file mode 100644 index 00000000000..df14d5fd843 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/FrozenIndices.g.cs @@ -0,0 +1,33 @@ +// Licensed to Elasticsearch B.V under one or more agreements. +// Elasticsearch B.V licenses this file to you under the Apache 2.0 License. +// See the LICENSE file in the project root for more information. +// +// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗ +// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝ +// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗ +// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝ +// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗ +// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝ +// ------------------------------------------------ +// +// This file is automatically generated. +// Please do not edit these files manually. +// +// ------------------------------------------------ + +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +#nullable restore +namespace Elastic.Clients.Elasticsearch.Xpack +{ + public partial class FrozenIndices : Base + { + [JsonInclude] + [JsonPropertyName("indices_count")] + public long IndicesCount { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/Ilm.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/Ilm.g.cs new file mode 100644 index 00000000000..9a7df8aeca8 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/Ilm.g.cs @@ -0,0 +1,37 @@ +// Licensed to Elasticsearch B.V under one or more agreements. +// Elasticsearch B.V licenses this file to you under the Apache 2.0 License. +// See the LICENSE file in the project root for more information. +// +// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗ +// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝ +// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗ +// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝ +// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗ +// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝ +// ------------------------------------------------ +// +// This file is automatically generated. +// Please do not edit these files manually. +// +// ------------------------------------------------ + +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +#nullable restore +namespace Elastic.Clients.Elasticsearch.Xpack +{ + public partial class Ilm + { + [JsonInclude] + [JsonPropertyName("policy_count")] + public int PolicyCount { get; init; } + + [JsonInclude] + [JsonPropertyName("policy_stats")] + public IReadOnlyCollection PolicyStats { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/IlmPolicyStatistics.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/IlmPolicyStatistics.g.cs new file mode 100644 index 00000000000..229c2c4da8e --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/IlmPolicyStatistics.g.cs @@ -0,0 +1,37 @@ +// Licensed to Elasticsearch B.V under one or more agreements. +// Elasticsearch B.V licenses this file to you under the Apache 2.0 License. +// See the LICENSE file in the project root for more information. +// +// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗ +// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝ +// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗ +// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝ +// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗ +// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝ +// ------------------------------------------------ +// +// This file is automatically generated. +// Please do not edit these files manually. +// +// ------------------------------------------------ + +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +#nullable restore +namespace Elastic.Clients.Elasticsearch.Xpack +{ + public partial class IlmPolicyStatistics + { + [JsonInclude] + [JsonPropertyName("indices_managed")] + public int IndicesManaged { get; init; } + + [JsonInclude] + [JsonPropertyName("phases")] + public Elastic.Clients.Elasticsearch.Ilm.Phases Phases { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/IpFilter.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/IpFilter.g.cs new file mode 100644 index 00000000000..8ede4cb6a94 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/IpFilter.g.cs @@ -0,0 +1,37 @@ +// Licensed to Elasticsearch B.V under one or more agreements. +// Elasticsearch B.V licenses this file to you under the Apache 2.0 License. +// See the LICENSE file in the project root for more information. +// +// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗ +// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝ +// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗ +// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝ +// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗ +// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝ +// ------------------------------------------------ +// +// This file is automatically generated. +// Please do not edit these files manually. +// +// ------------------------------------------------ + +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +#nullable restore +namespace Elastic.Clients.Elasticsearch.Xpack +{ + public partial class IpFilter + { + [JsonInclude] + [JsonPropertyName("http")] + public bool Http { get; init; } + + [JsonInclude] + [JsonPropertyName("transport")] + public bool Transport { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/Jobs.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/Jobs.g.cs new file mode 100644 index 00000000000..a251f0734a5 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/Jobs.g.cs @@ -0,0 +1,33 @@ +// Licensed to Elasticsearch B.V under one or more agreements. +// Elasticsearch B.V licenses this file to you under the Apache 2.0 License. +// See the LICENSE file in the project root for more information. +// +// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗ +// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝ +// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗ +// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝ +// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗ +// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝ +// ------------------------------------------------ +// +// This file is automatically generated. +// Please do not edit these files manually. +// +// ------------------------------------------------ + +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +#nullable restore +namespace Elastic.Clients.Elasticsearch.Xpack +{ + public partial class Jobs + { + [JsonInclude] + [JsonPropertyName("_all")] + public Elastic.Clients.Elasticsearch.Xpack.AllJobs? All { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/MachineLearning.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/MachineLearning.g.cs new file mode 100644 index 00000000000..9317c770493 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/MachineLearning.g.cs @@ -0,0 +1,49 @@ +// Licensed to Elasticsearch B.V under one or more agreements. +// Elasticsearch B.V licenses this file to you under the Apache 2.0 License. +// See the LICENSE file in the project root for more information. +// +// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗ +// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝ +// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗ +// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝ +// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗ +// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝ +// ------------------------------------------------ +// +// This file is automatically generated. +// Please do not edit these files manually. +// +// ------------------------------------------------ + +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +#nullable restore +namespace Elastic.Clients.Elasticsearch.Xpack +{ + public partial class MachineLearning : Base + { + [JsonInclude] + [JsonPropertyName("data_frame_analytics_jobs")] + public Elastic.Clients.Elasticsearch.Xpack.MlDataFrameAnalyticsJobs DataFrameAnalyticsJobs { get; init; } + + [JsonInclude] + [JsonPropertyName("datafeeds")] + public Dictionary Datafeeds { get; init; } + + [JsonInclude] + [JsonPropertyName("inference")] + public Elastic.Clients.Elasticsearch.Xpack.MlInference Inference { get; init; } + + [JsonInclude] + [JsonPropertyName("jobs")] + public Elastic.Clients.Elasticsearch.Xpack.Jobs Jobs { get; init; } + + [JsonInclude] + [JsonPropertyName("node_count")] + public int NodeCount { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/MinimalLicenseInformation.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/MinimalLicenseInformation.g.cs new file mode 100644 index 00000000000..9330229a9f1 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/MinimalLicenseInformation.g.cs @@ -0,0 +1,49 @@ +// Licensed to Elasticsearch B.V under one or more agreements. +// Elasticsearch B.V licenses this file to you under the Apache 2.0 License. +// See the LICENSE file in the project root for more information. +// +// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗ +// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝ +// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗ +// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝ +// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗ +// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝ +// ------------------------------------------------ +// +// This file is automatically generated. +// Please do not edit these files manually. +// +// ------------------------------------------------ + +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +#nullable restore +namespace Elastic.Clients.Elasticsearch.Xpack +{ + public partial class MinimalLicenseInformation + { + [JsonInclude] + [JsonPropertyName("expiry_date_in_millis")] + public Elastic.Clients.Elasticsearch.EpochMillis ExpiryDateInMillis { get; init; } + + [JsonInclude] + [JsonPropertyName("mode")] + public Elastic.Clients.Elasticsearch.License.LicenseType Mode { get; init; } + + [JsonInclude] + [JsonPropertyName("status")] + public Elastic.Clients.Elasticsearch.License.LicenseStatus Status { get; init; } + + [JsonInclude] + [JsonPropertyName("type")] + public Elastic.Clients.Elasticsearch.License.LicenseType Type { get; init; } + + [JsonInclude] + [JsonPropertyName("uid")] + public string Uid { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/MlCounter.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/MlCounter.g.cs new file mode 100644 index 00000000000..6a30fd4c0d1 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/MlCounter.g.cs @@ -0,0 +1,33 @@ +// Licensed to Elasticsearch B.V under one or more agreements. +// Elasticsearch B.V licenses this file to you under the Apache 2.0 License. +// See the LICENSE file in the project root for more information. +// +// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗ +// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝ +// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗ +// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝ +// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗ +// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝ +// ------------------------------------------------ +// +// This file is automatically generated. +// Please do not edit these files manually. +// +// ------------------------------------------------ + +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +#nullable restore +namespace Elastic.Clients.Elasticsearch.Xpack +{ + public partial class MlCounter + { + [JsonInclude] + [JsonPropertyName("count")] + public long Count { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/MlDataFrameAnalyticsJobs.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/MlDataFrameAnalyticsJobs.g.cs new file mode 100644 index 00000000000..da4ccbf724b --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/MlDataFrameAnalyticsJobs.g.cs @@ -0,0 +1,45 @@ +// Licensed to Elasticsearch B.V under one or more agreements. +// Elasticsearch B.V licenses this file to you under the Apache 2.0 License. +// See the LICENSE file in the project root for more information. +// +// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗ +// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝ +// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗ +// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝ +// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗ +// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝ +// ------------------------------------------------ +// +// This file is automatically generated. +// Please do not edit these files manually. +// +// ------------------------------------------------ + +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +#nullable restore +namespace Elastic.Clients.Elasticsearch.Xpack +{ + public partial class MlDataFrameAnalyticsJobs + { + [JsonInclude] + [JsonPropertyName("_all")] + public Elastic.Clients.Elasticsearch.Xpack.MlDataFrameAnalyticsJobsCount All { get; init; } + + [JsonInclude] + [JsonPropertyName("analysis_counts")] + public Elastic.Clients.Elasticsearch.Xpack.MlDataFrameAnalyticsJobsAnalysis? AnalysisCounts { get; init; } + + [JsonInclude] + [JsonPropertyName("memory_usage")] + public Elastic.Clients.Elasticsearch.Xpack.MlDataFrameAnalyticsJobsMemory? MemoryUsage { get; init; } + + [JsonInclude] + [JsonPropertyName("stopped")] + public Elastic.Clients.Elasticsearch.Xpack.MlDataFrameAnalyticsJobsCount? Stopped { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/MlDataFrameAnalyticsJobsAnalysis.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/MlDataFrameAnalyticsJobsAnalysis.g.cs new file mode 100644 index 00000000000..927e3779f39 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/MlDataFrameAnalyticsJobsAnalysis.g.cs @@ -0,0 +1,41 @@ +// Licensed to Elasticsearch B.V under one or more agreements. +// Elasticsearch B.V licenses this file to you under the Apache 2.0 License. +// See the LICENSE file in the project root for more information. +// +// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗ +// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝ +// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗ +// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝ +// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗ +// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝ +// ------------------------------------------------ +// +// This file is automatically generated. +// Please do not edit these files manually. +// +// ------------------------------------------------ + +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +#nullable restore +namespace Elastic.Clients.Elasticsearch.Xpack +{ + public partial class MlDataFrameAnalyticsJobsAnalysis + { + [JsonInclude] + [JsonPropertyName("classification")] + public int? Classification { get; init; } + + [JsonInclude] + [JsonPropertyName("outlier_detection")] + public int? OutlierDetection { get; init; } + + [JsonInclude] + [JsonPropertyName("regression")] + public int? Regression { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/MlDataFrameAnalyticsJobsCount.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/MlDataFrameAnalyticsJobsCount.g.cs new file mode 100644 index 00000000000..536bf19fb63 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/MlDataFrameAnalyticsJobsCount.g.cs @@ -0,0 +1,33 @@ +// Licensed to Elasticsearch B.V under one or more agreements. +// Elasticsearch B.V licenses this file to you under the Apache 2.0 License. +// See the LICENSE file in the project root for more information. +// +// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗ +// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝ +// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗ +// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝ +// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗ +// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝ +// ------------------------------------------------ +// +// This file is automatically generated. +// Please do not edit these files manually. +// +// ------------------------------------------------ + +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +#nullable restore +namespace Elastic.Clients.Elasticsearch.Xpack +{ + public partial class MlDataFrameAnalyticsJobsCount + { + [JsonInclude] + [JsonPropertyName("count")] + public long Count { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/MlDataFrameAnalyticsJobsMemory.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/MlDataFrameAnalyticsJobsMemory.g.cs new file mode 100644 index 00000000000..298de830c3c --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/MlDataFrameAnalyticsJobsMemory.g.cs @@ -0,0 +1,33 @@ +// Licensed to Elasticsearch B.V under one or more agreements. +// Elasticsearch B.V licenses this file to you under the Apache 2.0 License. +// See the LICENSE file in the project root for more information. +// +// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗ +// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝ +// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗ +// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝ +// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗ +// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝ +// ------------------------------------------------ +// +// This file is automatically generated. +// Please do not edit these files manually. +// +// ------------------------------------------------ + +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +#nullable restore +namespace Elastic.Clients.Elasticsearch.Xpack +{ + public partial class MlDataFrameAnalyticsJobsMemory + { + [JsonInclude] + [JsonPropertyName("peak_usage_bytes")] + public Elastic.Clients.Elasticsearch.Ml.JobStatistics PeakUsageBytes { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/MlInference.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/MlInference.g.cs new file mode 100644 index 00000000000..94aa06fd522 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/MlInference.g.cs @@ -0,0 +1,41 @@ +// Licensed to Elasticsearch B.V under one or more agreements. +// Elasticsearch B.V licenses this file to you under the Apache 2.0 License. +// See the LICENSE file in the project root for more information. +// +// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗ +// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝ +// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗ +// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝ +// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗ +// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝ +// ------------------------------------------------ +// +// This file is automatically generated. +// Please do not edit these files manually. +// +// ------------------------------------------------ + +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +#nullable restore +namespace Elastic.Clients.Elasticsearch.Xpack +{ + public partial class MlInference + { + [JsonInclude] + [JsonPropertyName("deployments")] + public Elastic.Clients.Elasticsearch.Xpack.MlInferenceDeployments? Deployments { get; init; } + + [JsonInclude] + [JsonPropertyName("ingest_processors")] + public Dictionary IngestProcessors { get; init; } + + [JsonInclude] + [JsonPropertyName("trained_models")] + public Elastic.Clients.Elasticsearch.Xpack.MlInferenceTrainedModels TrainedModels { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/MlInferenceDeployments.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/MlInferenceDeployments.g.cs new file mode 100644 index 00000000000..c7ed2013c03 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/MlInferenceDeployments.g.cs @@ -0,0 +1,45 @@ +// Licensed to Elasticsearch B.V under one or more agreements. +// Elasticsearch B.V licenses this file to you under the Apache 2.0 License. +// See the LICENSE file in the project root for more information. +// +// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗ +// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝ +// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗ +// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝ +// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗ +// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝ +// ------------------------------------------------ +// +// This file is automatically generated. +// Please do not edit these files manually. +// +// ------------------------------------------------ + +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +#nullable restore +namespace Elastic.Clients.Elasticsearch.Xpack +{ + public partial class MlInferenceDeployments + { + [JsonInclude] + [JsonPropertyName("count")] + public int Count { get; init; } + + [JsonInclude] + [JsonPropertyName("inference_counts")] + public Elastic.Clients.Elasticsearch.Ml.JobStatistics InferenceCounts { get; init; } + + [JsonInclude] + [JsonPropertyName("model_sizes_bytes")] + public Elastic.Clients.Elasticsearch.Ml.JobStatistics ModelSizesBytes { get; init; } + + [JsonInclude] + [JsonPropertyName("time_ms")] + public Elastic.Clients.Elasticsearch.Xpack.MlInferenceDeploymentsTimeMs TimeMs { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/MlInferenceDeploymentsTimeMs.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/MlInferenceDeploymentsTimeMs.g.cs new file mode 100644 index 00000000000..420a2799914 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/MlInferenceDeploymentsTimeMs.g.cs @@ -0,0 +1,33 @@ +// Licensed to Elasticsearch B.V under one or more agreements. +// Elasticsearch B.V licenses this file to you under the Apache 2.0 License. +// See the LICENSE file in the project root for more information. +// +// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗ +// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝ +// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗ +// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝ +// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗ +// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝ +// ------------------------------------------------ +// +// This file is automatically generated. +// Please do not edit these files manually. +// +// ------------------------------------------------ + +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +#nullable restore +namespace Elastic.Clients.Elasticsearch.Xpack +{ + public partial class MlInferenceDeploymentsTimeMs + { + [JsonInclude] + [JsonPropertyName("avg")] + public double Avg { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/MlInferenceIngestProcessor.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/MlInferenceIngestProcessor.g.cs new file mode 100644 index 00000000000..5d02b43dc05 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/MlInferenceIngestProcessor.g.cs @@ -0,0 +1,45 @@ +// Licensed to Elasticsearch B.V under one or more agreements. +// Elasticsearch B.V licenses this file to you under the Apache 2.0 License. +// See the LICENSE file in the project root for more information. +// +// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗ +// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝ +// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗ +// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝ +// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗ +// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝ +// ------------------------------------------------ +// +// This file is automatically generated. +// Please do not edit these files manually. +// +// ------------------------------------------------ + +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +#nullable restore +namespace Elastic.Clients.Elasticsearch.Xpack +{ + public partial class MlInferenceIngestProcessor + { + [JsonInclude] + [JsonPropertyName("num_docs_processed")] + public Elastic.Clients.Elasticsearch.Xpack.MlInferenceIngestProcessorCount NumDocsProcessed { get; init; } + + [JsonInclude] + [JsonPropertyName("num_failures")] + public Elastic.Clients.Elasticsearch.Xpack.MlInferenceIngestProcessorCount NumFailures { get; init; } + + [JsonInclude] + [JsonPropertyName("pipelines")] + public Elastic.Clients.Elasticsearch.Xpack.MlCounter Pipelines { get; init; } + + [JsonInclude] + [JsonPropertyName("time_ms")] + public Elastic.Clients.Elasticsearch.Xpack.MlInferenceIngestProcessorCount TimeMs { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/MlInferenceIngestProcessorCount.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/MlInferenceIngestProcessorCount.g.cs new file mode 100644 index 00000000000..3ed27e97612 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/MlInferenceIngestProcessorCount.g.cs @@ -0,0 +1,41 @@ +// Licensed to Elasticsearch B.V under one or more agreements. +// Elasticsearch B.V licenses this file to you under the Apache 2.0 License. +// See the LICENSE file in the project root for more information. +// +// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗ +// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝ +// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗ +// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝ +// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗ +// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝ +// ------------------------------------------------ +// +// This file is automatically generated. +// Please do not edit these files manually. +// +// ------------------------------------------------ + +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +#nullable restore +namespace Elastic.Clients.Elasticsearch.Xpack +{ + public partial class MlInferenceIngestProcessorCount + { + [JsonInclude] + [JsonPropertyName("max")] + public long Max { get; init; } + + [JsonInclude] + [JsonPropertyName("min")] + public long Min { get; init; } + + [JsonInclude] + [JsonPropertyName("sum")] + public long Sum { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/MlInferenceTrainedModels.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/MlInferenceTrainedModels.g.cs new file mode 100644 index 00000000000..7e5294250bd --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/MlInferenceTrainedModels.g.cs @@ -0,0 +1,49 @@ +// Licensed to Elasticsearch B.V under one or more agreements. +// Elasticsearch B.V licenses this file to you under the Apache 2.0 License. +// See the LICENSE file in the project root for more information. +// +// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗ +// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝ +// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗ +// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝ +// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗ +// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝ +// ------------------------------------------------ +// +// This file is automatically generated. +// Please do not edit these files manually. +// +// ------------------------------------------------ + +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +#nullable restore +namespace Elastic.Clients.Elasticsearch.Xpack +{ + public partial class MlInferenceTrainedModels + { + [JsonInclude] + [JsonPropertyName("_all")] + public Elastic.Clients.Elasticsearch.Xpack.MlCounter All { get; init; } + + [JsonInclude] + [JsonPropertyName("count")] + public Elastic.Clients.Elasticsearch.Xpack.MlInferenceTrainedModelsCount? Count { get; init; } + + [JsonInclude] + [JsonPropertyName("estimated_heap_memory_usage_bytes")] + public Elastic.Clients.Elasticsearch.Ml.JobStatistics? EstimatedHeapMemoryUsageBytes { get; init; } + + [JsonInclude] + [JsonPropertyName("estimated_operations")] + public Elastic.Clients.Elasticsearch.Ml.JobStatistics? EstimatedOperations { get; init; } + + [JsonInclude] + [JsonPropertyName("model_size_bytes")] + public Elastic.Clients.Elasticsearch.Ml.JobStatistics? ModelSizeBytes { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/MlInferenceTrainedModelsCount.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/MlInferenceTrainedModelsCount.g.cs new file mode 100644 index 00000000000..61e284c5cd6 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/MlInferenceTrainedModelsCount.g.cs @@ -0,0 +1,53 @@ +// Licensed to Elasticsearch B.V under one or more agreements. +// Elasticsearch B.V licenses this file to you under the Apache 2.0 License. +// See the LICENSE file in the project root for more information. +// +// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗ +// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝ +// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗ +// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝ +// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗ +// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝ +// ------------------------------------------------ +// +// This file is automatically generated. +// Please do not edit these files manually. +// +// ------------------------------------------------ + +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +#nullable restore +namespace Elastic.Clients.Elasticsearch.Xpack +{ + public partial class MlInferenceTrainedModelsCount + { + [JsonInclude] + [JsonPropertyName("classification")] + public long? Classification { get; init; } + + [JsonInclude] + [JsonPropertyName("ner")] + public long? Ner { get; init; } + + [JsonInclude] + [JsonPropertyName("other")] + public long Other { get; init; } + + [JsonInclude] + [JsonPropertyName("prepackaged")] + public long Prepackaged { get; init; } + + [JsonInclude] + [JsonPropertyName("regression")] + public long? Regression { get; init; } + + [JsonInclude] + [JsonPropertyName("total")] + public long Total { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/Monitoring.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/Monitoring.g.cs new file mode 100644 index 00000000000..ea83d9f7583 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/Monitoring.g.cs @@ -0,0 +1,37 @@ +// Licensed to Elasticsearch B.V under one or more agreements. +// Elasticsearch B.V licenses this file to you under the Apache 2.0 License. +// See the LICENSE file in the project root for more information. +// +// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗ +// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝ +// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗ +// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝ +// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗ +// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝ +// ------------------------------------------------ +// +// This file is automatically generated. +// Please do not edit these files manually. +// +// ------------------------------------------------ + +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +#nullable restore +namespace Elastic.Clients.Elasticsearch.Xpack +{ + public partial class Monitoring : Base + { + [JsonInclude] + [JsonPropertyName("collection_enabled")] + public bool CollectionEnabled { get; init; } + + [JsonInclude] + [JsonPropertyName("enabled_exporters")] + public Dictionary EnabledExporters { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/NativeCodeInformation.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/NativeCodeInformation.g.cs new file mode 100644 index 00000000000..6c9d31aa3d6 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/NativeCodeInformation.g.cs @@ -0,0 +1,37 @@ +// Licensed to Elasticsearch B.V under one or more agreements. +// Elasticsearch B.V licenses this file to you under the Apache 2.0 License. +// See the LICENSE file in the project root for more information. +// +// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗ +// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝ +// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗ +// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝ +// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗ +// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝ +// ------------------------------------------------ +// +// This file is automatically generated. +// Please do not edit these files manually. +// +// ------------------------------------------------ + +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +#nullable restore +namespace Elastic.Clients.Elasticsearch.Xpack +{ + public partial class NativeCodeInformation + { + [JsonInclude] + [JsonPropertyName("build_hash")] + public string BuildHash { get; init; } + + [JsonInclude] + [JsonPropertyName("version")] + public string Version { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/Query.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/Query.g.cs new file mode 100644 index 00000000000..84928941be9 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/Query.g.cs @@ -0,0 +1,45 @@ +// Licensed to Elasticsearch B.V under one or more agreements. +// Elasticsearch B.V licenses this file to you under the Apache 2.0 License. +// See the LICENSE file in the project root for more information. +// +// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗ +// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝ +// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗ +// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝ +// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗ +// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝ +// ------------------------------------------------ +// +// This file is automatically generated. +// Please do not edit these files manually. +// +// ------------------------------------------------ + +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +#nullable restore +namespace Elastic.Clients.Elasticsearch.Xpack +{ + public partial class Query + { + [JsonInclude] + [JsonPropertyName("count")] + public int? Count { get; init; } + + [JsonInclude] + [JsonPropertyName("failed")] + public int? Failed { get; init; } + + [JsonInclude] + [JsonPropertyName("paging")] + public int? Paging { get; init; } + + [JsonInclude] + [JsonPropertyName("total")] + public int? Total { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/Realm.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/Realm.g.cs new file mode 100644 index 00000000000..2d9b5641bc8 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/Realm.g.cs @@ -0,0 +1,61 @@ +// Licensed to Elasticsearch B.V under one or more agreements. +// Elasticsearch B.V licenses this file to you under the Apache 2.0 License. +// See the LICENSE file in the project root for more information. +// +// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗ +// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝ +// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗ +// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝ +// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗ +// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝ +// ------------------------------------------------ +// +// This file is automatically generated. +// Please do not edit these files manually. +// +// ------------------------------------------------ + +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +#nullable restore +namespace Elastic.Clients.Elasticsearch.Xpack +{ + public partial class Realm : Base + { + [JsonInclude] + [JsonPropertyName("cache")] + public IReadOnlyCollection? Cache { get; init; } + + [JsonInclude] + [JsonPropertyName("has_authorization_realms")] + public IReadOnlyCollection? HasAuthorizationRealms { get; init; } + + [JsonInclude] + [JsonPropertyName("has_default_username_pattern")] + public IReadOnlyCollection? HasDefaultUsernamePattern { get; init; } + + [JsonInclude] + [JsonPropertyName("has_truststore")] + public IReadOnlyCollection? HasTruststore { get; init; } + + [JsonInclude] + [JsonPropertyName("is_authentication_delegated")] + public IReadOnlyCollection? IsAuthenticationDelegated { get; init; } + + [JsonInclude] + [JsonPropertyName("name")] + public IReadOnlyCollection? Name { get; init; } + + [JsonInclude] + [JsonPropertyName("order")] + public IReadOnlyCollection? Order { get; init; } + + [JsonInclude] + [JsonPropertyName("size")] + public IReadOnlyCollection? Size { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/RealmCache.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/RealmCache.g.cs new file mode 100644 index 00000000000..8f8540246f8 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/RealmCache.g.cs @@ -0,0 +1,33 @@ +// Licensed to Elasticsearch B.V under one or more agreements. +// Elasticsearch B.V licenses this file to you under the Apache 2.0 License. +// See the LICENSE file in the project root for more information. +// +// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗ +// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝ +// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗ +// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝ +// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗ +// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝ +// ------------------------------------------------ +// +// This file is automatically generated. +// Please do not edit these files manually. +// +// ------------------------------------------------ + +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +#nullable restore +namespace Elastic.Clients.Elasticsearch.Xpack +{ + public partial class RealmCache + { + [JsonInclude] + [JsonPropertyName("size")] + public long Size { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/RoleMapping.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/RoleMapping.g.cs new file mode 100644 index 00000000000..a93691d5155 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/RoleMapping.g.cs @@ -0,0 +1,37 @@ +// Licensed to Elasticsearch B.V under one or more agreements. +// Elasticsearch B.V licenses this file to you under the Apache 2.0 License. +// See the LICENSE file in the project root for more information. +// +// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗ +// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝ +// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗ +// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝ +// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗ +// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝ +// ------------------------------------------------ +// +// This file is automatically generated. +// Please do not edit these files manually. +// +// ------------------------------------------------ + +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +#nullable restore +namespace Elastic.Clients.Elasticsearch.Xpack +{ + public partial class RoleMapping + { + [JsonInclude] + [JsonPropertyName("enabled")] + public int Enabled { get; init; } + + [JsonInclude] + [JsonPropertyName("size")] + public int Size { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/RuntimeFieldTypes.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/RuntimeFieldTypes.g.cs new file mode 100644 index 00000000000..1a7022b2b8a --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/RuntimeFieldTypes.g.cs @@ -0,0 +1,33 @@ +// Licensed to Elasticsearch B.V under one or more agreements. +// Elasticsearch B.V licenses this file to you under the Apache 2.0 License. +// See the LICENSE file in the project root for more information. +// +// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗ +// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝ +// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗ +// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝ +// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗ +// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝ +// ------------------------------------------------ +// +// This file is automatically generated. +// Please do not edit these files manually. +// +// ------------------------------------------------ + +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +#nullable restore +namespace Elastic.Clients.Elasticsearch.Xpack +{ + public partial class RuntimeFieldTypes : Base + { + [JsonInclude] + [JsonPropertyName("field_types")] + public IReadOnlyCollection FieldTypes { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/RuntimeFieldsType.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/RuntimeFieldsType.g.cs new file mode 100644 index 00000000000..508d6346c35 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/RuntimeFieldsType.g.cs @@ -0,0 +1,85 @@ +// Licensed to Elasticsearch B.V under one or more agreements. +// Elasticsearch B.V licenses this file to you under the Apache 2.0 License. +// See the LICENSE file in the project root for more information. +// +// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗ +// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝ +// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗ +// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝ +// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗ +// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝ +// ------------------------------------------------ +// +// This file is automatically generated. +// Please do not edit these files manually. +// +// ------------------------------------------------ + +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +#nullable restore +namespace Elastic.Clients.Elasticsearch.Xpack +{ + public partial class RuntimeFieldsType + { + [JsonInclude] + [JsonPropertyName("chars_max")] + public long CharsMax { get; init; } + + [JsonInclude] + [JsonPropertyName("chars_total")] + public long CharsTotal { get; init; } + + [JsonInclude] + [JsonPropertyName("count")] + public long Count { get; init; } + + [JsonInclude] + [JsonPropertyName("doc_max")] + public long DocMax { get; init; } + + [JsonInclude] + [JsonPropertyName("doc_total")] + public long DocTotal { get; init; } + + [JsonInclude] + [JsonPropertyName("index_count")] + public long IndexCount { get; init; } + + [JsonInclude] + [JsonPropertyName("lang")] + public IReadOnlyCollection Lang { get; init; } + + [JsonInclude] + [JsonPropertyName("lines_max")] + public long LinesMax { get; init; } + + [JsonInclude] + [JsonPropertyName("lines_total")] + public long LinesTotal { get; init; } + + [JsonInclude] + [JsonPropertyName("name")] + public string Name { get; init; } + + [JsonInclude] + [JsonPropertyName("scriptless_count")] + public long ScriptlessCount { get; init; } + + [JsonInclude] + [JsonPropertyName("shadowed_count")] + public long ShadowedCount { get; init; } + + [JsonInclude] + [JsonPropertyName("source_max")] + public long SourceMax { get; init; } + + [JsonInclude] + [JsonPropertyName("source_total")] + public long SourceTotal { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/SearchableSnapshots.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/SearchableSnapshots.g.cs new file mode 100644 index 00000000000..0df97181e14 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/SearchableSnapshots.g.cs @@ -0,0 +1,41 @@ +// Licensed to Elasticsearch B.V under one or more agreements. +// Elasticsearch B.V licenses this file to you under the Apache 2.0 License. +// See the LICENSE file in the project root for more information. +// +// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗ +// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝ +// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗ +// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝ +// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗ +// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝ +// ------------------------------------------------ +// +// This file is automatically generated. +// Please do not edit these files manually. +// +// ------------------------------------------------ + +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +#nullable restore +namespace Elastic.Clients.Elasticsearch.Xpack +{ + public partial class SearchableSnapshots : Base + { + [JsonInclude] + [JsonPropertyName("full_copy_indices_count")] + public int? FullCopyIndicesCount { get; init; } + + [JsonInclude] + [JsonPropertyName("indices_count")] + public int IndicesCount { get; init; } + + [JsonInclude] + [JsonPropertyName("shared_cache_indices_count")] + public int? SharedCacheIndicesCount { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/Security.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/Security.g.cs new file mode 100644 index 00000000000..230cdfdb80f --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/Security.g.cs @@ -0,0 +1,77 @@ +// Licensed to Elasticsearch B.V under one or more agreements. +// Elasticsearch B.V licenses this file to you under the Apache 2.0 License. +// See the LICENSE file in the project root for more information. +// +// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗ +// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝ +// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗ +// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝ +// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗ +// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝ +// ------------------------------------------------ +// +// This file is automatically generated. +// Please do not edit these files manually. +// +// ------------------------------------------------ + +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +#nullable restore +namespace Elastic.Clients.Elasticsearch.Xpack +{ + public partial class Security : Base + { + [JsonInclude] + [JsonPropertyName("anonymous")] + public Elastic.Clients.Elasticsearch.Xpack.FeatureToggle Anonymous { get; init; } + + [JsonInclude] + [JsonPropertyName("api_key_service")] + public Elastic.Clients.Elasticsearch.Xpack.FeatureToggle ApiKeyService { get; init; } + + [JsonInclude] + [JsonPropertyName("audit")] + public Elastic.Clients.Elasticsearch.Xpack.Audit Audit { get; init; } + + [JsonInclude] + [JsonPropertyName("fips_140")] + public Elastic.Clients.Elasticsearch.Xpack.FeatureToggle Fips140 { get; init; } + + [JsonInclude] + [JsonPropertyName("ipfilter")] + public Elastic.Clients.Elasticsearch.Xpack.IpFilter Ipfilter { get; init; } + + [JsonInclude] + [JsonPropertyName("operator_privileges")] + public Elastic.Clients.Elasticsearch.Xpack.Base OperatorPrivileges { get; init; } + + [JsonInclude] + [JsonPropertyName("realms")] + public Dictionary Realms { get; init; } + + [JsonInclude] + [JsonPropertyName("role_mapping")] + public Dictionary RoleMapping { get; init; } + + [JsonInclude] + [JsonPropertyName("roles")] + public Elastic.Clients.Elasticsearch.Xpack.SecurityRoles Roles { get; init; } + + [JsonInclude] + [JsonPropertyName("ssl")] + public Elastic.Clients.Elasticsearch.Xpack.Ssl Ssl { get; init; } + + [JsonInclude] + [JsonPropertyName("system_key")] + public Elastic.Clients.Elasticsearch.Xpack.FeatureToggle? SystemKey { get; init; } + + [JsonInclude] + [JsonPropertyName("token_service")] + public Elastic.Clients.Elasticsearch.Xpack.FeatureToggle TokenService { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/SecurityRoles.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/SecurityRoles.g.cs new file mode 100644 index 00000000000..10ae4217459 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/SecurityRoles.g.cs @@ -0,0 +1,41 @@ +// Licensed to Elasticsearch B.V under one or more agreements. +// Elasticsearch B.V licenses this file to you under the Apache 2.0 License. +// See the LICENSE file in the project root for more information. +// +// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗ +// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝ +// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗ +// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝ +// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗ +// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝ +// ------------------------------------------------ +// +// This file is automatically generated. +// Please do not edit these files manually. +// +// ------------------------------------------------ + +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +#nullable restore +namespace Elastic.Clients.Elasticsearch.Xpack +{ + public partial class SecurityRoles + { + [JsonInclude] + [JsonPropertyName("dls")] + public Elastic.Clients.Elasticsearch.Xpack.SecurityRolesDls Dls { get; init; } + + [JsonInclude] + [JsonPropertyName("file")] + public Elastic.Clients.Elasticsearch.Xpack.SecurityRolesFile File { get; init; } + + [JsonInclude] + [JsonPropertyName("native")] + public Elastic.Clients.Elasticsearch.Xpack.SecurityRolesNative Native { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/SecurityRolesDls.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/SecurityRolesDls.g.cs new file mode 100644 index 00000000000..07d199730d5 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/SecurityRolesDls.g.cs @@ -0,0 +1,33 @@ +// Licensed to Elasticsearch B.V under one or more agreements. +// Elasticsearch B.V licenses this file to you under the Apache 2.0 License. +// See the LICENSE file in the project root for more information. +// +// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗ +// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝ +// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗ +// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝ +// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗ +// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝ +// ------------------------------------------------ +// +// This file is automatically generated. +// Please do not edit these files manually. +// +// ------------------------------------------------ + +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +#nullable restore +namespace Elastic.Clients.Elasticsearch.Xpack +{ + public partial class SecurityRolesDls + { + [JsonInclude] + [JsonPropertyName("bit_set_cache")] + public Elastic.Clients.Elasticsearch.Xpack.SecurityRolesDlsBitSetCache BitSetCache { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/SecurityRolesDlsBitSetCache.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/SecurityRolesDlsBitSetCache.g.cs new file mode 100644 index 00000000000..bf5ee5898de --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/SecurityRolesDlsBitSetCache.g.cs @@ -0,0 +1,41 @@ +// Licensed to Elasticsearch B.V under one or more agreements. +// Elasticsearch B.V licenses this file to you under the Apache 2.0 License. +// See the LICENSE file in the project root for more information. +// +// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗ +// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝ +// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗ +// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝ +// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗ +// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝ +// ------------------------------------------------ +// +// This file is automatically generated. +// Please do not edit these files manually. +// +// ------------------------------------------------ + +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +#nullable restore +namespace Elastic.Clients.Elasticsearch.Xpack +{ + public partial class SecurityRolesDlsBitSetCache + { + [JsonInclude] + [JsonPropertyName("count")] + public int Count { get; init; } + + [JsonInclude] + [JsonPropertyName("memory")] + public Elastic.Clients.Elasticsearch.ByteSize? Memory { get; init; } + + [JsonInclude] + [JsonPropertyName("memory_in_bytes")] + public long MemoryInBytes { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/SecurityRolesFile.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/SecurityRolesFile.g.cs new file mode 100644 index 00000000000..498b1f08912 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/SecurityRolesFile.g.cs @@ -0,0 +1,41 @@ +// Licensed to Elasticsearch B.V under one or more agreements. +// Elasticsearch B.V licenses this file to you under the Apache 2.0 License. +// See the LICENSE file in the project root for more information. +// +// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗ +// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝ +// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗ +// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝ +// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗ +// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝ +// ------------------------------------------------ +// +// This file is automatically generated. +// Please do not edit these files manually. +// +// ------------------------------------------------ + +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +#nullable restore +namespace Elastic.Clients.Elasticsearch.Xpack +{ + public partial class SecurityRolesFile + { + [JsonInclude] + [JsonPropertyName("dls")] + public bool Dls { get; init; } + + [JsonInclude] + [JsonPropertyName("fls")] + public bool Fls { get; init; } + + [JsonInclude] + [JsonPropertyName("size")] + public long Size { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/SecurityRolesNative.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/SecurityRolesNative.g.cs new file mode 100644 index 00000000000..c44baef9387 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/SecurityRolesNative.g.cs @@ -0,0 +1,41 @@ +// Licensed to Elasticsearch B.V under one or more agreements. +// Elasticsearch B.V licenses this file to you under the Apache 2.0 License. +// See the LICENSE file in the project root for more information. +// +// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗ +// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝ +// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗ +// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝ +// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗ +// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝ +// ------------------------------------------------ +// +// This file is automatically generated. +// Please do not edit these files manually. +// +// ------------------------------------------------ + +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +#nullable restore +namespace Elastic.Clients.Elasticsearch.Xpack +{ + public partial class SecurityRolesNative + { + [JsonInclude] + [JsonPropertyName("dls")] + public bool Dls { get; init; } + + [JsonInclude] + [JsonPropertyName("fls")] + public bool Fls { get; init; } + + [JsonInclude] + [JsonPropertyName("size")] + public long Size { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/Slm.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/Slm.g.cs new file mode 100644 index 00000000000..78901ae9639 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/Slm.g.cs @@ -0,0 +1,37 @@ +// Licensed to Elasticsearch B.V under one or more agreements. +// Elasticsearch B.V licenses this file to you under the Apache 2.0 License. +// See the LICENSE file in the project root for more information. +// +// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗ +// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝ +// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗ +// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝ +// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗ +// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝ +// ------------------------------------------------ +// +// This file is automatically generated. +// Please do not edit these files manually. +// +// ------------------------------------------------ + +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +#nullable restore +namespace Elastic.Clients.Elasticsearch.Xpack +{ + public partial class Slm : Base + { + [JsonInclude] + [JsonPropertyName("policy_count")] + public int? PolicyCount { get; init; } + + [JsonInclude] + [JsonPropertyName("policy_stats")] + public Elastic.Clients.Elasticsearch.Slm.Statistics? PolicyStats { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/Sql.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/Sql.g.cs new file mode 100644 index 00000000000..1f8546c0fc2 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/Sql.g.cs @@ -0,0 +1,37 @@ +// Licensed to Elasticsearch B.V under one or more agreements. +// Elasticsearch B.V licenses this file to you under the Apache 2.0 License. +// See the LICENSE file in the project root for more information. +// +// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗ +// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝ +// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗ +// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝ +// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗ +// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝ +// ------------------------------------------------ +// +// This file is automatically generated. +// Please do not edit these files manually. +// +// ------------------------------------------------ + +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +#nullable restore +namespace Elastic.Clients.Elasticsearch.Xpack +{ + public partial class Sql : Base + { + [JsonInclude] + [JsonPropertyName("features")] + public Dictionary Features { get; init; } + + [JsonInclude] + [JsonPropertyName("queries")] + public Dictionary Queries { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/Ssl.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/Ssl.g.cs new file mode 100644 index 00000000000..b0c7c1b433d --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/Ssl.g.cs @@ -0,0 +1,37 @@ +// Licensed to Elasticsearch B.V under one or more agreements. +// Elasticsearch B.V licenses this file to you under the Apache 2.0 License. +// See the LICENSE file in the project root for more information. +// +// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗ +// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝ +// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗ +// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝ +// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗ +// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝ +// ------------------------------------------------ +// +// This file is automatically generated. +// Please do not edit these files manually. +// +// ------------------------------------------------ + +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +#nullable restore +namespace Elastic.Clients.Elasticsearch.Xpack +{ + public partial class Ssl + { + [JsonInclude] + [JsonPropertyName("http")] + public Elastic.Clients.Elasticsearch.Xpack.FeatureToggle Http { get; init; } + + [JsonInclude] + [JsonPropertyName("transport")] + public Elastic.Clients.Elasticsearch.Xpack.FeatureToggle Transport { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/Vector.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/Vector.g.cs new file mode 100644 index 00000000000..b6f1e597053 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/Vector.g.cs @@ -0,0 +1,41 @@ +// Licensed to Elasticsearch B.V under one or more agreements. +// Elasticsearch B.V licenses this file to you under the Apache 2.0 License. +// See the LICENSE file in the project root for more information. +// +// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗ +// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝ +// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗ +// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝ +// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗ +// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝ +// ------------------------------------------------ +// +// This file is automatically generated. +// Please do not edit these files manually. +// +// ------------------------------------------------ + +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +#nullable restore +namespace Elastic.Clients.Elasticsearch.Xpack +{ + public partial class Vector : Base + { + [JsonInclude] + [JsonPropertyName("dense_vector_dims_avg_count")] + public int DenseVectorDimsAvgCount { get; init; } + + [JsonInclude] + [JsonPropertyName("dense_vector_fields_count")] + public int DenseVectorFieldsCount { get; init; } + + [JsonInclude] + [JsonPropertyName("sparse_vector_fields_count")] + public int? SparseVectorFieldsCount { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/Watcher.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/Watcher.g.cs new file mode 100644 index 00000000000..bbefac7e96d --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/Watcher.g.cs @@ -0,0 +1,41 @@ +// Licensed to Elasticsearch B.V under one or more agreements. +// Elasticsearch B.V licenses this file to you under the Apache 2.0 License. +// See the LICENSE file in the project root for more information. +// +// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗ +// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝ +// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗ +// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝ +// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗ +// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝ +// ------------------------------------------------ +// +// This file is automatically generated. +// Please do not edit these files manually. +// +// ------------------------------------------------ + +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +#nullable restore +namespace Elastic.Clients.Elasticsearch.Xpack +{ + public partial class Watcher : Base + { + [JsonInclude] + [JsonPropertyName("count")] + public Elastic.Clients.Elasticsearch.Xpack.Counter Count { get; init; } + + [JsonInclude] + [JsonPropertyName("execution")] + public Elastic.Clients.Elasticsearch.Xpack.WatcherActions Execution { get; init; } + + [JsonInclude] + [JsonPropertyName("watch")] + public Elastic.Clients.Elasticsearch.Xpack.WatcherWatch Watch { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/WatcherActionTotals.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/WatcherActionTotals.g.cs new file mode 100644 index 00000000000..71f0b4dc5b7 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/WatcherActionTotals.g.cs @@ -0,0 +1,37 @@ +// Licensed to Elasticsearch B.V under one or more agreements. +// Elasticsearch B.V licenses this file to you under the Apache 2.0 License. +// See the LICENSE file in the project root for more information. +// +// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗ +// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝ +// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗ +// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝ +// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗ +// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝ +// ------------------------------------------------ +// +// This file is automatically generated. +// Please do not edit these files manually. +// +// ------------------------------------------------ + +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +#nullable restore +namespace Elastic.Clients.Elasticsearch.Xpack +{ + public partial class WatcherActionTotals + { + [JsonInclude] + [JsonPropertyName("total")] + public long Total { get; init; } + + [JsonInclude] + [JsonPropertyName("total_time_in_ms")] + public long TotalTimeInMs { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/WatcherActions.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/WatcherActions.g.cs new file mode 100644 index 00000000000..5ee40bd7322 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/WatcherActions.g.cs @@ -0,0 +1,33 @@ +// Licensed to Elasticsearch B.V under one or more agreements. +// Elasticsearch B.V licenses this file to you under the Apache 2.0 License. +// See the LICENSE file in the project root for more information. +// +// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗ +// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝ +// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗ +// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝ +// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗ +// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝ +// ------------------------------------------------ +// +// This file is automatically generated. +// Please do not edit these files manually. +// +// ------------------------------------------------ + +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +#nullable restore +namespace Elastic.Clients.Elasticsearch.Xpack +{ + public partial class WatcherActions + { + [JsonInclude] + [JsonPropertyName("actions")] + public Dictionary Actions { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/WatcherWatch.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/WatcherWatch.g.cs new file mode 100644 index 00000000000..7073a36117b --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/WatcherWatch.g.cs @@ -0,0 +1,45 @@ +// Licensed to Elasticsearch B.V under one or more agreements. +// Elasticsearch B.V licenses this file to you under the Apache 2.0 License. +// See the LICENSE file in the project root for more information. +// +// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗ +// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝ +// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗ +// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝ +// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗ +// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝ +// ------------------------------------------------ +// +// This file is automatically generated. +// Please do not edit these files manually. +// +// ------------------------------------------------ + +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +#nullable restore +namespace Elastic.Clients.Elasticsearch.Xpack +{ + public partial class WatcherWatch + { + [JsonInclude] + [JsonPropertyName("action")] + public Dictionary? Action { get; init; } + + [JsonInclude] + [JsonPropertyName("condition")] + public Dictionary? Condition { get; init; } + + [JsonInclude] + [JsonPropertyName("input")] + public Dictionary Input { get; init; } + + [JsonInclude] + [JsonPropertyName("trigger")] + public Elastic.Clients.Elasticsearch.Xpack.WatcherWatchTrigger Trigger { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/WatcherWatchTrigger.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/WatcherWatchTrigger.g.cs new file mode 100644 index 00000000000..fa49c47f2c8 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/WatcherWatchTrigger.g.cs @@ -0,0 +1,37 @@ +// Licensed to Elasticsearch B.V under one or more agreements. +// Elasticsearch B.V licenses this file to you under the Apache 2.0 License. +// See the LICENSE file in the project root for more information. +// +// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗ +// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝ +// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗ +// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝ +// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗ +// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝ +// ------------------------------------------------ +// +// This file is automatically generated. +// Please do not edit these files manually. +// +// ------------------------------------------------ + +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +#nullable restore +namespace Elastic.Clients.Elasticsearch.Xpack +{ + public partial class WatcherWatchTrigger + { + [JsonInclude] + [JsonPropertyName("_all")] + public Elastic.Clients.Elasticsearch.Xpack.Counter All { get; init; } + + [JsonInclude] + [JsonPropertyName("schedule")] + public Elastic.Clients.Elasticsearch.Xpack.WatcherWatchTriggerSchedule? Schedule { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/WatcherWatchTriggerSchedule.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/WatcherWatchTriggerSchedule.g.cs new file mode 100644 index 00000000000..cef9df3b601 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Xpack/WatcherWatchTriggerSchedule.g.cs @@ -0,0 +1,37 @@ +// Licensed to Elasticsearch B.V under one or more agreements. +// Elasticsearch B.V licenses this file to you under the Apache 2.0 License. +// See the LICENSE file in the project root for more information. +// +// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗ +// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝ +// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗ +// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝ +// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗ +// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝ +// ------------------------------------------------ +// +// This file is automatically generated. +// Please do not edit these files manually. +// +// ------------------------------------------------ + +using System; +using System.Collections.Generic; +using System.Linq.Expressions; +using System.Text.Json; +using System.Text.Json.Serialization; + +#nullable restore +namespace Elastic.Clients.Elasticsearch.Xpack +{ + public partial class WatcherWatchTriggerSchedule : Counter + { + [JsonInclude] + [JsonPropertyName("_all")] + public Elastic.Clients.Elasticsearch.Xpack.Counter All { get; init; } + + [JsonInclude] + [JsonPropertyName("cron")] + public Elastic.Clients.Elasticsearch.Xpack.Counter Cron { get; init; } + } +} \ No newline at end of file