From 0e2e4f2b75c1b3e2444857c25e420ece3737ffbb Mon Sep 17 00:00:00 2001 From: Steve Gordon Date: Sat, 26 Mar 2022 07:57:25 +0000 Subject: [PATCH] Add node APIs (#6209) --- .../_Generated/Api/ApiUrlsLookup.g.cs | 5 + .../Api/Nodes/NodesHotThreadsRequest.g.cs | 121 +++++++++ .../Api/Nodes/NodesHotThreadsResponse.g.cs | 31 +++ .../Api/Nodes/NodesInfoRequest.g.cs | 108 ++++++++ .../Api/Nodes/NodesInfoResponse.g.cs | 39 +++ .../NodesReloadSecureSettingsRequest.g.cs | 92 +++++++ .../NodesReloadSecureSettingsResponse.g.cs | 39 +++ .../Api/Nodes/NodesStatsRequest.g.cs | 238 ++++++++++++++++++ .../Api/Nodes/NodesStatsResponse.g.cs | 39 +++ .../Api/Nodes/NodesUsageRequest.g.cs | 94 +++++++ .../Api/Nodes/NodesUsageResponse.g.cs | 39 +++ .../Client/ElasticsearchClient.Nodes.g.cs | 171 +++++++++++++ .../Client/ElasticsearchClient.g.cs | 4 + .../_Generated/Types/BulkStats.g.cs | 65 +++++ .../_Generated/Types/CompletionStats.g.cs | 41 +++ .../_Generated/Types/DocStats.g.cs | 37 +++ .../Enums/Enums.IndexManagement.Stats.g.cs | 82 ++++++ .../Types/Enums/Enums.NoNamespace.g.cs | 189 ++++++++++++++ .../_Generated/Types/FieldMemoryUsage.g.cs | 37 +++ .../_Generated/Types/FieldSizeUsage.g.cs | 37 +++ .../_Generated/Types/FielddataStats.g.cs | 45 ++++ .../_Generated/Types/FlushStats.g.cs | 45 ++++ .../_Generated/Types/GetStats.g.cs | 69 +++++ .../Types/IndexManagement/IndexStats.g.cs | 105 ++++++++ .../Types/IndexManagement/IndicesStats.g.cs | 45 ++++ .../Types/IndexManagement/ShardCommit.g.cs | 45 ++++ .../IndexManagement/ShardFileSizeInfo.g.cs | 53 ++++ .../Types/IndexManagement/ShardLease.g.cs | 45 ++++ .../Types/IndexManagement/ShardPath.g.cs | 41 +++ .../IndexManagement/ShardQueryCache.g.cs | 57 +++++ .../IndexManagement/ShardRetentionLeases.g.cs | 41 +++ .../Types/IndexManagement/ShardRouting.g.cs | 45 ++++ .../IndexManagement/ShardSequenceNumber.g.cs | 41 +++ .../Types/IndexManagement/ShardStats.g.cs | 129 ++++++++++ .../IndexManagement/ShardsTotalStats.g.cs | 33 +++ .../_Generated/Types/IndexingStats.g.cs | 85 +++++++ .../_Generated/Types/MergesStats.g.cs | 93 +++++++ .../_Generated/Types/NodeStatistics.g.cs | 45 ++++ .../Types/Nodes/AdaptiveSelection.g.cs | 57 +++++ .../_Generated/Types/Nodes/Breaker.g.cs | 53 ++++ .../_Generated/Types/Nodes/Cgroup.g.cs | 41 +++ .../_Generated/Types/Nodes/CgroupCpu.g.cs | 45 ++++ .../_Generated/Types/Nodes/CgroupCpuStat.g.cs | 41 +++ .../_Generated/Types/Nodes/CgroupMemory.g.cs | 41 +++ .../_Generated/Types/Nodes/Client.g.cs | 73 ++++++ .../Types/Nodes/ClusterAppliedStats.g.cs | 33 +++ .../Types/Nodes/ClusterStateQueue.g.cs | 41 +++ .../Types/Nodes/ClusterStateUpdate.g.cs | 89 +++++++ .../_Generated/Types/Nodes/Context.g.cs | 45 ++++ .../_Generated/Types/Nodes/Cpu.g.cs | 61 +++++ .../_Generated/Types/Nodes/CpuAcct.g.cs | 37 +++ .../_Generated/Types/Nodes/DataPathStats.g.cs | 93 +++++++ .../Types/Nodes/DeprecationIndexing.g.cs | 33 +++ .../_Generated/Types/Nodes/Discovery.g.cs | 49 ++++ .../Types/Nodes/ExtendedMemoryStats.g.cs | 37 +++ .../_Generated/Types/Nodes/FileSystem.g.cs | 45 ++++ .../Types/Nodes/FileSystemTotal.g.cs | 53 ++++ .../Types/Nodes/GarbageCollector.g.cs | 33 +++ .../Types/Nodes/GarbageCollectorTotal.g.cs | 41 +++ .../_Generated/Types/Nodes/HotThread.g.cs | 45 ++++ .../_Generated/Types/Nodes/Http.g.cs | 41 +++ .../Types/Nodes/IndexingPressure.g.cs | 33 +++ .../Types/Nodes/IndexingPressureMemory.g.cs | 41 +++ .../_Generated/Types/Nodes/Ingest.g.cs | 37 +++ .../_Generated/Types/Nodes/IngestTotal.g.cs | 49 ++++ .../_Generated/Types/Nodes/IoStatDevice.g.cs | 53 ++++ .../_Generated/Types/Nodes/IoStats.g.cs | 37 +++ .../_Generated/Types/Nodes/Jvm.g.cs | 61 +++++ .../_Generated/Types/Nodes/JvmClasses.g.cs | 41 +++ .../Types/Nodes/JvmMemoryStats.g.cs | 57 +++++ .../_Generated/Types/Nodes/JvmThreads.g.cs | 37 +++ .../Types/Nodes/KeyedProcessor.g.cs | 37 +++ .../_Generated/Types/Nodes/MemoryStats.g.cs | 69 +++++ .../Types/Nodes/NodeBufferPool.g.cs | 49 ++++ .../_Generated/Types/Nodes/NodeInfo.g.cs | 121 +++++++++ .../Types/Nodes/NodeInfoAction.g.cs | 33 +++ .../Types/Nodes/NodeInfoBootstrap.g.cs | 33 +++ .../Types/Nodes/NodeInfoClient.g.cs | 33 +++ .../Types/Nodes/NodeInfoDiscover.g.cs | 33 +++ .../_Generated/Types/Nodes/NodeInfoHttp.g.cs | 45 ++++ .../Types/Nodes/NodeInfoIngest.g.cs | 33 +++ .../Types/Nodes/NodeInfoIngestDownloader.g.cs | 33 +++ .../Types/Nodes/NodeInfoIngestInfo.g.cs | 33 +++ .../Types/Nodes/NodeInfoIngestProcessor.g.cs | 33 +++ .../Types/Nodes/NodeInfoJvmMemory.g.cs | 69 +++++ .../Types/Nodes/NodeInfoMemory.g.cs | 37 +++ .../Types/Nodes/NodeInfoNetwork.g.cs | 37 +++ .../Types/Nodes/NodeInfoNetworkInterface.g.cs | 41 +++ .../_Generated/Types/Nodes/NodeInfoOSCPU.g.cs | 61 +++++ .../_Generated/Types/Nodes/NodeInfoPath.g.cs | 45 ++++ .../Types/Nodes/NodeInfoRepositories.g.cs | 33 +++ .../Types/Nodes/NodeInfoRepositoriesUrl.g.cs | 33 +++ .../Types/Nodes/NodeInfoScript.g.cs | 37 +++ .../Types/Nodes/NodeInfoSearch.g.cs | 33 +++ .../Types/Nodes/NodeInfoSearchRemote.g.cs | 33 +++ .../Types/Nodes/NodeInfoSettings.g.cs | 89 +++++++ .../Types/Nodes/NodeInfoSettingsCluster.g.cs | 49 ++++ .../NodeInfoSettingsClusterElection.g.cs | 33 +++ .../Types/Nodes/NodeInfoSettingsHttp.g.cs | 45 ++++ .../Types/Nodes/NodeInfoSettingsHttpType.g.cs | 33 +++ .../Types/Nodes/NodeInfoSettingsIngest.g.cs | 165 ++++++++++++ .../Types/Nodes/NodeInfoSettingsNetwork.g.cs | 33 +++ .../Types/Nodes/NodeInfoSettingsNode.g.cs | 41 +++ .../Nodes/NodeInfoSettingsTransport.g.cs | 41 +++ .../NodeInfoSettingsTransportFeatures.g.cs | 33 +++ .../Nodes/NodeInfoSettingsTransportType.g.cs | 33 +++ .../Types/Nodes/NodeInfoTransport.g.cs | 41 +++ .../_Generated/Types/Nodes/NodeInfoXpack.g.cs | 41 +++ .../Types/Nodes/NodeInfoXpackLicense.g.cs | 33 +++ .../Types/Nodes/NodeInfoXpackLicenseType.g.cs | 33 +++ .../Types/Nodes/NodeInfoXpackSecurity.g.cs | 45 ++++ .../Nodes/NodeInfoXpackSecurityAuthc.g.cs | 37 +++ .../NodeInfoXpackSecurityAuthcRealms.g.cs | 41 +++ ...odeInfoXpackSecurityAuthcRealmsStatus.g.cs | 37 +++ .../NodeInfoXpackSecurityAuthcToken.g.cs | 33 +++ .../Types/Nodes/NodeInfoXpackSecuritySsl.g.cs | 33 +++ .../_Generated/Types/Nodes/NodeJvmInfo.g.cs | 81 ++++++ .../Types/Nodes/NodeOperatingSystemInfo.g.cs | 69 +++++ .../Types/Nodes/NodeProcessInfo.g.cs | 41 +++ .../Types/Nodes/NodeReloadError.g.cs | 37 +++ .../Types/Nodes/NodeReloadResult.g.cs | 35 +++ .../Types/Nodes/NodeThreadPoolInfo.g.cs | 53 ++++ .../_Generated/Types/Nodes/NodeUsage.g.cs | 45 ++++ .../Types/Nodes/OperatingSystem.g.cs | 49 ++++ .../_Generated/Types/Nodes/Pool.g.cs | 45 ++++ .../Types/Nodes/PressureMemory.g.cs | 61 +++++ .../_Generated/Types/Nodes/Process.g.cs | 49 ++++ .../_Generated/Types/Nodes/Processor.g.cs | 45 ++++ .../Types/Nodes/PublishedClusterStates.g.cs | 41 +++ .../_Generated/Types/Nodes/Recording.g.cs | 45 ++++ .../_Generated/Types/Nodes/ScriptCache.g.cs | 45 ++++ .../_Generated/Types/Nodes/Scripting.g.cs | 45 ++++ .../Types/Nodes/SerializedClusterState.g.cs | 37 +++ .../Nodes/SerializedClusterStateDetail.g.cs | 49 ++++ .../_Generated/Types/Nodes/Stats.g.cs | 117 +++++++++ .../_Generated/Types/Nodes/ThreadCount.g.cs | 53 ++++ .../_Generated/Types/Nodes/Transport.g.cs | 69 +++++ .../Types/Nodes/TransportHistogram.g.cs | 41 +++ .../_Generated/Types/PluginStats.g.cs | 69 +++++ .../_Generated/Types/QueryCacheStats.g.cs | 61 +++++ .../_Generated/Types/RecoveryStats.g.cs | 45 ++++ .../_Generated/Types/RefreshStats.g.cs | 53 ++++ .../_Generated/Types/RequestCacheStats.g.cs | 49 ++++ .../_Generated/Types/SearchStats.g.cs | 85 +++++++ .../_Generated/Types/SegmentsStats.g.cs | 125 +++++++++ .../_Generated/Types/StoreStats.g.cs | 53 ++++ .../_Generated/Types/TranslogStats.g.cs | 57 +++++ .../_Generated/Types/WarmerStats.g.cs | 45 ++++ 148 files changed, 7950 insertions(+) create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Api/Nodes/NodesHotThreadsRequest.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Api/Nodes/NodesHotThreadsResponse.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Api/Nodes/NodesInfoRequest.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Api/Nodes/NodesInfoResponse.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Api/Nodes/NodesReloadSecureSettingsRequest.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Api/Nodes/NodesReloadSecureSettingsResponse.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Api/Nodes/NodesStatsRequest.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Api/Nodes/NodesStatsResponse.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Api/Nodes/NodesUsageRequest.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Api/Nodes/NodesUsageResponse.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.Nodes.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/BulkStats.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/CompletionStats.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/DocStats.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Enums/Enums.IndexManagement.Stats.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/FieldMemoryUsage.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/FieldSizeUsage.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/FielddataStats.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/FlushStats.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/GetStats.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/IndexStats.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/IndicesStats.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/ShardCommit.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/ShardFileSizeInfo.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/ShardLease.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/ShardPath.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/ShardQueryCache.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/ShardRetentionLeases.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/ShardRouting.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/ShardSequenceNumber.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/ShardStats.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/ShardsTotalStats.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexingStats.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/MergesStats.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/NodeStatistics.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/AdaptiveSelection.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/Breaker.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/Cgroup.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/CgroupCpu.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/CgroupCpuStat.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/CgroupMemory.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/Client.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/ClusterAppliedStats.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/ClusterStateQueue.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/ClusterStateUpdate.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/Context.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/Cpu.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/CpuAcct.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/DataPathStats.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/DeprecationIndexing.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/Discovery.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/ExtendedMemoryStats.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/FileSystem.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/FileSystemTotal.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/GarbageCollector.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/GarbageCollectorTotal.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/HotThread.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/Http.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/IndexingPressure.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/IndexingPressureMemory.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/Ingest.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/IngestTotal.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/IoStatDevice.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/IoStats.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/Jvm.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/JvmClasses.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/JvmMemoryStats.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/JvmThreads.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/KeyedProcessor.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/MemoryStats.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeBufferPool.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfo.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoAction.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoBootstrap.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoClient.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoDiscover.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoHttp.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoIngest.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoIngestDownloader.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoIngestInfo.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoIngestProcessor.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoJvmMemory.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoMemory.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoNetwork.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoNetworkInterface.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoOSCPU.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoPath.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoRepositories.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoRepositoriesUrl.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoScript.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoSearch.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoSearchRemote.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoSettings.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoSettingsCluster.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoSettingsClusterElection.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoSettingsHttp.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoSettingsHttpType.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoSettingsIngest.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoSettingsNetwork.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoSettingsNode.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoSettingsTransport.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoSettingsTransportFeatures.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoSettingsTransportType.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoTransport.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoXpack.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoXpackLicense.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoXpackLicenseType.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoXpackSecurity.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoXpackSecurityAuthc.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoXpackSecurityAuthcRealms.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoXpackSecurityAuthcRealmsStatus.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoXpackSecurityAuthcToken.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoXpackSecuritySsl.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeJvmInfo.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeOperatingSystemInfo.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeProcessInfo.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeReloadError.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeReloadResult.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeThreadPoolInfo.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeUsage.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/OperatingSystem.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/Pool.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/PressureMemory.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/Process.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/Processor.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/PublishedClusterStates.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/Recording.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/ScriptCache.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/Scripting.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/SerializedClusterState.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/SerializedClusterStateDetail.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/Stats.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/ThreadCount.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/Transport.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/TransportHistogram.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/PluginStats.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryCacheStats.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/RecoveryStats.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/RefreshStats.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/RequestCacheStats.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/SearchStats.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/SegmentsStats.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/StoreStats.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/TranslogStats.g.cs create mode 100644 src/Elastic.Clients.Elasticsearch/_Generated/Types/WarmerStats.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 dfbfd3e0e86..71faa07b92e 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Api/ApiUrlsLookup.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/ApiUrlsLookup.g.cs @@ -59,6 +59,11 @@ internal static class ApiUrlsLookups internal static ApiUrls IndexManagementExists = new ApiUrls(new[] { "/{index}" }); internal static ApiUrls IndexManagementRefresh = new ApiUrls(new[] { "/_refresh", "/{index}/_refresh" }); internal static ApiUrls NoNamespaceIndex = new ApiUrls(new[] { "/{index}/_doc/{id}", "/{index}/_doc" }); + internal static ApiUrls NodesHotThreads = new ApiUrls(new[] { "/_nodes/hot_threads", "/_nodes/{node_id}/hot_threads" }); + internal static ApiUrls NodesInfo = new ApiUrls(new[] { "/_nodes", "/_nodes/{node_id}", "/_nodes/{metric}", "/_nodes/{node_id}/{metric}" }); + internal static ApiUrls NodesReloadSecureSettings = new ApiUrls(new[] { "/_nodes/reload_secure_settings", "/_nodes/{node_id}/reload_secure_settings" }); + internal static ApiUrls NodesStats = new ApiUrls(new[] { "/_nodes/stats", "/_nodes/{node_id}/stats", "/_nodes/stats/{metric}", "/_nodes/{node_id}/stats/{metric}", "/_nodes/stats/{metric}/{index_metric}", "/_nodes/{node_id}/stats/{metric}/{index_metric}" }); + internal static ApiUrls NodesUsage = new ApiUrls(new[] { "/_nodes/usage", "/_nodes/{node_id}/usage", "/_nodes/usage/{metric}", "/_nodes/{node_id}/usage/{metric}" }); internal static ApiUrls NoNamespaceOpenPointInTime = new ApiUrls(new[] { "/{index}/_pit" }); internal static ApiUrls NoNamespacePing = new ApiUrls(new[] { "/" }); internal static ApiUrls NoNamespaceSearch = new ApiUrls(new[] { "/_search", "/{index}/_search" }); diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Nodes/NodesHotThreadsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Nodes/NodesHotThreadsRequest.g.cs new file mode 100644 index 00000000000..4e0aa63a6d8 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Nodes/NodesHotThreadsRequest.g.cs @@ -0,0 +1,121 @@ +// 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.Nodes +{ + public class NodesHotThreadsRequestParameters : RequestParameters + { + [JsonIgnore] + public bool? IgnoreIdleThreads { get => Q("ignore_idle_threads"); set => Q("ignore_idle_threads", value); } + + [JsonIgnore] + public Elastic.Clients.Elasticsearch.Time? Interval { get => Q("interval"); set => Q("interval", value); } + + [JsonIgnore] + public long? Snapshots { get => Q("snapshots"); set => Q("snapshots", value); } + + [JsonIgnore] + public Elastic.Clients.Elasticsearch.Time? MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); } + + [JsonIgnore] + public long? Threads { get => Q("threads"); set => Q("threads", value); } + + [JsonIgnore] + public Elastic.Clients.Elasticsearch.Time? Timeout { get => Q("timeout"); set => Q("timeout", value); } + + [JsonIgnore] + public Elastic.Clients.Elasticsearch.ThreadType? Type { get => Q("type"); set => Q("type", value); } + + [JsonIgnore] + public Elastic.Clients.Elasticsearch.ThreadType? Sort { get => Q("sort"); set => Q("sort", value); } + } + + public partial class NodesHotThreadsRequest : PlainRequestBase + { + public NodesHotThreadsRequest() + { + } + + public NodesHotThreadsRequest(Elastic.Clients.Elasticsearch.NodeIds? node_id) : base(r => r.Optional("node_id", node_id)) + { + } + + internal override ApiUrls ApiUrls => ApiUrlsLookups.NodesHotThreads; + protected override HttpMethod HttpMethod => HttpMethod.GET; + protected override bool SupportsBody => false; + [JsonIgnore] + public bool? IgnoreIdleThreads { get => Q("ignore_idle_threads"); set => Q("ignore_idle_threads", value); } + + [JsonIgnore] + public Elastic.Clients.Elasticsearch.Time? Interval { get => Q("interval"); set => Q("interval", value); } + + [JsonIgnore] + public long? Snapshots { get => Q("snapshots"); set => Q("snapshots", value); } + + [JsonIgnore] + public Elastic.Clients.Elasticsearch.Time? MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); } + + [JsonIgnore] + public long? Threads { get => Q("threads"); set => Q("threads", value); } + + [JsonIgnore] + public Elastic.Clients.Elasticsearch.Time? Timeout { get => Q("timeout"); set => Q("timeout", value); } + + [JsonIgnore] + public Elastic.Clients.Elasticsearch.ThreadType? Type { get => Q("type"); set => Q("type", value); } + + [JsonIgnore] + public Elastic.Clients.Elasticsearch.ThreadType? Sort { get => Q("sort"); set => Q("sort", value); } + } + + public sealed partial class NodesHotThreadsRequestDescriptor : RequestDescriptorBase + { + internal NodesHotThreadsRequestDescriptor(Action configure) => configure.Invoke(this); + public NodesHotThreadsRequestDescriptor() + { + } + + internal override ApiUrls ApiUrls => ApiUrlsLookups.NodesHotThreads; + protected override HttpMethod HttpMethod => HttpMethod.GET; + protected override bool SupportsBody => false; + public NodesHotThreadsRequestDescriptor IgnoreIdleThreads(bool? ignoreIdleThreads = true) => Qs("ignore_idle_threads", ignoreIdleThreads); + public NodesHotThreadsRequestDescriptor Interval(Elastic.Clients.Elasticsearch.Time? interval) => Qs("interval", interval); + public NodesHotThreadsRequestDescriptor MasterTimeout(Elastic.Clients.Elasticsearch.Time? masterTimeout) => Qs("master_timeout", masterTimeout); + public NodesHotThreadsRequestDescriptor Snapshots(long? snapshots) => Qs("snapshots", snapshots); + public NodesHotThreadsRequestDescriptor Sort(Elastic.Clients.Elasticsearch.ThreadType? sort) => Qs("sort", sort); + public NodesHotThreadsRequestDescriptor Threads(long? threads) => Qs("threads", threads); + public NodesHotThreadsRequestDescriptor Timeout(Elastic.Clients.Elasticsearch.Time? timeout) => Qs("timeout", timeout); + public NodesHotThreadsRequestDescriptor Type(Elastic.Clients.Elasticsearch.ThreadType? type) => Qs("type", type); + public NodesHotThreadsRequestDescriptor NodeId(Elastic.Clients.Elasticsearch.NodeIds? node_id) + { + RouteValues.Optional("node_id", node_id); + return Self; + } + + 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/Nodes/NodesHotThreadsResponse.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Nodes/NodesHotThreadsResponse.g.cs new file mode 100644 index 00000000000..b0f99083512 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Nodes/NodesHotThreadsResponse.g.cs @@ -0,0 +1,31 @@ +// 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.Nodes +{ + public partial class NodesHotThreadsResponse : ElasticsearchResponseBase + { + [JsonInclude] + [JsonPropertyName("hot_threads")] + public IReadOnlyCollection HotThreads { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Nodes/NodesInfoRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Nodes/NodesInfoRequest.g.cs new file mode 100644 index 00000000000..6a5c49acf4a --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Nodes/NodesInfoRequest.g.cs @@ -0,0 +1,108 @@ +// 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.Nodes +{ + public class NodesInfoRequestParameters : RequestParameters + { + [JsonIgnore] + public bool? FlatSettings { get => Q("flat_settings"); set => Q("flat_settings", value); } + + [JsonIgnore] + public Elastic.Clients.Elasticsearch.Time? MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); } + + [JsonIgnore] + public Elastic.Clients.Elasticsearch.Time? Timeout { get => Q("timeout"); set => Q("timeout", value); } + } + + public partial class NodesInfoRequest : PlainRequestBase + { + public NodesInfoRequest() + { + } + + public NodesInfoRequest(Elastic.Clients.Elasticsearch.NodeIds? node_id) : base(r => r.Optional("node_id", node_id)) + { + } + + public NodesInfoRequest(Elastic.Clients.Elasticsearch.Metrics? metric) : base(r => r.Optional("metric", metric)) + { + } + + public NodesInfoRequest(Elastic.Clients.Elasticsearch.NodeIds? node_id, Elastic.Clients.Elasticsearch.Metrics? metric) : base(r => r.Optional("node_id", node_id).Optional("metric", metric)) + { + } + + internal override ApiUrls ApiUrls => ApiUrlsLookups.NodesInfo; + protected override HttpMethod HttpMethod => HttpMethod.GET; + protected override bool SupportsBody => false; + [JsonIgnore] + public bool? FlatSettings { get => Q("flat_settings"); set => Q("flat_settings", value); } + + [JsonIgnore] + public Elastic.Clients.Elasticsearch.Time? MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); } + + [JsonIgnore] + public Elastic.Clients.Elasticsearch.Time? Timeout { get => Q("timeout"); set => Q("timeout", value); } + } + + public sealed partial class NodesInfoRequestDescriptor : RequestDescriptorBase + { + internal NodesInfoRequestDescriptor(Action configure) => configure.Invoke(this); + public NodesInfoRequestDescriptor() + { + } + + public NodesInfoRequestDescriptor(Elastic.Clients.Elasticsearch.Metrics? metric) : base(r => r.Optional("metric", metric)) + { + } + + public NodesInfoRequestDescriptor(Elastic.Clients.Elasticsearch.NodeIds? node_id, Elastic.Clients.Elasticsearch.Metrics? metric) : base(r => r.Optional("node_id", node_id).Optional("metric", metric)) + { + } + + internal override ApiUrls ApiUrls => ApiUrlsLookups.NodesInfo; + protected override HttpMethod HttpMethod => HttpMethod.GET; + protected override bool SupportsBody => false; + public NodesInfoRequestDescriptor FlatSettings(bool? flatSettings = true) => Qs("flat_settings", flatSettings); + public NodesInfoRequestDescriptor MasterTimeout(Elastic.Clients.Elasticsearch.Time? masterTimeout) => Qs("master_timeout", masterTimeout); + public NodesInfoRequestDescriptor Timeout(Elastic.Clients.Elasticsearch.Time? timeout) => Qs("timeout", timeout); + public NodesInfoRequestDescriptor NodeId(Elastic.Clients.Elasticsearch.NodeIds? node_id) + { + RouteValues.Optional("node_id", node_id); + return Self; + } + + public NodesInfoRequestDescriptor Metric(Elastic.Clients.Elasticsearch.Metrics? metric) + { + RouteValues.Optional("metric", metric); + return Self; + } + + 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/Nodes/NodesInfoResponse.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Nodes/NodesInfoResponse.g.cs new file mode 100644 index 00000000000..17b0d4f7d90 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Nodes/NodesInfoResponse.g.cs @@ -0,0 +1,39 @@ +// 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.Nodes +{ + public partial class NodesInfoResponse : ElasticsearchResponseBase + { + [JsonInclude] + [JsonPropertyName("cluster_name")] + public string ClusterName { get; init; } + + [JsonInclude] + [JsonPropertyName("nodes")] + public Dictionary Nodes { get; init; } + + [JsonInclude] + [JsonPropertyName("_nodes")] + public Elastic.Clients.Elasticsearch.NodeStatistics? NodeStats { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Nodes/NodesReloadSecureSettingsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Nodes/NodesReloadSecureSettingsRequest.g.cs new file mode 100644 index 00000000000..5d75fe928f4 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Nodes/NodesReloadSecureSettingsRequest.g.cs @@ -0,0 +1,92 @@ +// 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.Nodes +{ + public class NodesReloadSecureSettingsRequestParameters : RequestParameters + { + [JsonIgnore] + public Elastic.Clients.Elasticsearch.Time? Timeout { get => Q("timeout"); set => Q("timeout", value); } + } + + public partial class NodesReloadSecureSettingsRequest : PlainRequestBase + { + public NodesReloadSecureSettingsRequest() + { + } + + public NodesReloadSecureSettingsRequest(Elastic.Clients.Elasticsearch.NodeIds? node_id) : base(r => r.Optional("node_id", node_id)) + { + } + + internal override ApiUrls ApiUrls => ApiUrlsLookups.NodesReloadSecureSettings; + protected override HttpMethod HttpMethod => HttpMethod.POST; + protected override bool SupportsBody => true; + [JsonIgnore] + public Elastic.Clients.Elasticsearch.Time? Timeout { get => Q("timeout"); set => Q("timeout", value); } + + [JsonInclude] + [JsonPropertyName("secure_settings_password")] + public string? SecureSettingsPassword { get; set; } + } + + public sealed partial class NodesReloadSecureSettingsRequestDescriptor : RequestDescriptorBase + { + internal NodesReloadSecureSettingsRequestDescriptor(Action configure) => configure.Invoke(this); + public NodesReloadSecureSettingsRequestDescriptor() + { + } + + internal override ApiUrls ApiUrls => ApiUrlsLookups.NodesReloadSecureSettings; + protected override HttpMethod HttpMethod => HttpMethod.POST; + protected override bool SupportsBody => true; + public NodesReloadSecureSettingsRequestDescriptor Timeout(Elastic.Clients.Elasticsearch.Time? timeout) => Qs("timeout", timeout); + public NodesReloadSecureSettingsRequestDescriptor NodeId(Elastic.Clients.Elasticsearch.NodeIds? node_id) + { + RouteValues.Optional("node_id", node_id); + return Self; + } + + private string? SecureSettingsPasswordValue { get; set; } + + public NodesReloadSecureSettingsRequestDescriptor SecureSettingsPassword(string? secureSettingsPassword) + { + SecureSettingsPasswordValue = secureSettingsPassword; + return Self; + } + + protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) + { + writer.WriteStartObject(); + if (SecureSettingsPasswordValue is not null) + { + writer.WritePropertyName("secure_settings_password"); + JsonSerializer.Serialize(writer, SecureSettingsPasswordValue, options); + } + + writer.WriteEndObject(); + } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Nodes/NodesReloadSecureSettingsResponse.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Nodes/NodesReloadSecureSettingsResponse.g.cs new file mode 100644 index 00000000000..4d0d35ff2cc --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Nodes/NodesReloadSecureSettingsResponse.g.cs @@ -0,0 +1,39 @@ +// 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.Nodes +{ + public partial class NodesReloadSecureSettingsResponse : ElasticsearchResponseBase + { + [JsonInclude] + [JsonPropertyName("cluster_name")] + public string ClusterName { get; init; } + + [JsonInclude] + [JsonPropertyName("nodes")] + public Dictionary Nodes { get; init; } + + [JsonInclude] + [JsonPropertyName("_nodes")] + public Elastic.Clients.Elasticsearch.NodeStatistics? NodeStats { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Nodes/NodesStatsRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Nodes/NodesStatsRequest.g.cs new file mode 100644 index 00000000000..b2214f12415 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Nodes/NodesStatsRequest.g.cs @@ -0,0 +1,238 @@ +// 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.Nodes +{ + public class NodesStatsRequestParameters : RequestParameters + { + [JsonIgnore] + public Elastic.Clients.Elasticsearch.Fields? CompletionFields { get => Q("completion_fields"); set => Q("completion_fields", value); } + + [JsonIgnore] + public Elastic.Clients.Elasticsearch.Fields? FielddataFields { get => Q("fielddata_fields"); set => Q("fielddata_fields", value); } + + [JsonIgnore] + public Elastic.Clients.Elasticsearch.Fields? Fields { get => Q("fields"); set => Q("fields", value); } + + [JsonIgnore] + public bool? Groups { get => Q("groups"); set => Q("groups", value); } + + [JsonIgnore] + public bool? IncludeSegmentFileSizes { get => Q("include_segment_file_sizes"); set => Q("include_segment_file_sizes", value); } + + [JsonIgnore] + public Elastic.Clients.Elasticsearch.Level? Level { get => Q("level"); set => Q("level", value); } + + [JsonIgnore] + public Elastic.Clients.Elasticsearch.Time? MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); } + + [JsonIgnore] + public Elastic.Clients.Elasticsearch.Time? Timeout { get => Q("timeout"); set => Q("timeout", value); } + + [JsonIgnore] + public IEnumerable? Types { get => Q?>("types"); set => Q("types", value); } + + [JsonIgnore] + public bool? IncludeUnloadedSegments { get => Q("include_unloaded_segments"); set => Q("include_unloaded_segments", value); } + } + + public partial class NodesStatsRequest : PlainRequestBase + { + public NodesStatsRequest() + { + } + + public NodesStatsRequest(Elastic.Clients.Elasticsearch.NodeIds? node_id) : base(r => r.Optional("node_id", node_id)) + { + } + + public NodesStatsRequest(Elastic.Clients.Elasticsearch.Metrics? metric) : base(r => r.Optional("metric", metric)) + { + } + + public NodesStatsRequest(Elastic.Clients.Elasticsearch.NodeIds? node_id, Elastic.Clients.Elasticsearch.Metrics? metric) : base(r => r.Optional("node_id", node_id).Optional("metric", metric)) + { + } + + public NodesStatsRequest(Elastic.Clients.Elasticsearch.Metrics? metric, Elastic.Clients.Elasticsearch.Metrics? index_metric) : base(r => r.Optional("metric", metric).Optional("index_metric", index_metric)) + { + } + + public NodesStatsRequest(Elastic.Clients.Elasticsearch.NodeIds? node_id, Elastic.Clients.Elasticsearch.Metrics? metric, Elastic.Clients.Elasticsearch.Metrics? index_metric) : base(r => r.Optional("node_id", node_id).Optional("metric", metric).Optional("index_metric", index_metric)) + { + } + + internal override ApiUrls ApiUrls => ApiUrlsLookups.NodesStats; + protected override HttpMethod HttpMethod => HttpMethod.GET; + protected override bool SupportsBody => false; + [JsonIgnore] + public Elastic.Clients.Elasticsearch.Fields? CompletionFields { get => Q("completion_fields"); set => Q("completion_fields", value); } + + [JsonIgnore] + public Elastic.Clients.Elasticsearch.Fields? FielddataFields { get => Q("fielddata_fields"); set => Q("fielddata_fields", value); } + + [JsonIgnore] + public Elastic.Clients.Elasticsearch.Fields? Fields { get => Q("fields"); set => Q("fields", value); } + + [JsonIgnore] + public bool? Groups { get => Q("groups"); set => Q("groups", value); } + + [JsonIgnore] + public bool? IncludeSegmentFileSizes { get => Q("include_segment_file_sizes"); set => Q("include_segment_file_sizes", value); } + + [JsonIgnore] + public Elastic.Clients.Elasticsearch.Level? Level { get => Q("level"); set => Q("level", value); } + + [JsonIgnore] + public Elastic.Clients.Elasticsearch.Time? MasterTimeout { get => Q("master_timeout"); set => Q("master_timeout", value); } + + [JsonIgnore] + public Elastic.Clients.Elasticsearch.Time? Timeout { get => Q("timeout"); set => Q("timeout", value); } + + [JsonIgnore] + public IEnumerable? Types { get => Q?>("types"); set => Q("types", value); } + + [JsonIgnore] + public bool? IncludeUnloadedSegments { get => Q("include_unloaded_segments"); set => Q("include_unloaded_segments", value); } + } + + public sealed partial class NodesStatsRequestDescriptor : RequestDescriptorBase, NodesStatsRequestParameters> + { + internal NodesStatsRequestDescriptor(Action> configure) => configure.Invoke(this); + public NodesStatsRequestDescriptor() + { + } + + public NodesStatsRequestDescriptor(Elastic.Clients.Elasticsearch.Metrics? metric) : base(r => r.Optional("metric", metric)) + { + } + + public NodesStatsRequestDescriptor(Elastic.Clients.Elasticsearch.NodeIds? node_id, Elastic.Clients.Elasticsearch.Metrics? metric) : base(r => r.Optional("node_id", node_id).Optional("metric", metric)) + { + } + + public NodesStatsRequestDescriptor(Elastic.Clients.Elasticsearch.Metrics? metric, Elastic.Clients.Elasticsearch.Metrics? index_metric) : base(r => r.Optional("metric", metric).Optional("index_metric", index_metric)) + { + } + + public NodesStatsRequestDescriptor(Elastic.Clients.Elasticsearch.NodeIds? node_id, Elastic.Clients.Elasticsearch.Metrics? metric, Elastic.Clients.Elasticsearch.Metrics? index_metric) : base(r => r.Optional("node_id", node_id).Optional("metric", metric).Optional("index_metric", index_metric)) + { + } + + internal override ApiUrls ApiUrls => ApiUrlsLookups.NodesStats; + protected override HttpMethod HttpMethod => HttpMethod.GET; + protected override bool SupportsBody => false; + public NodesStatsRequestDescriptor CompletionFields(Elastic.Clients.Elasticsearch.Fields? completionFields) => Qs("completion_fields", completionFields); + public NodesStatsRequestDescriptor FielddataFields(Elastic.Clients.Elasticsearch.Fields? fielddataFields) => Qs("fielddata_fields", fielddataFields); + public NodesStatsRequestDescriptor Fields(Elastic.Clients.Elasticsearch.Fields? fields) => Qs("fields", fields); + public NodesStatsRequestDescriptor Groups(bool? groups = true) => Qs("groups", groups); + public NodesStatsRequestDescriptor IncludeSegmentFileSizes(bool? includeSegmentFileSizes = true) => Qs("include_segment_file_sizes", includeSegmentFileSizes); + public NodesStatsRequestDescriptor IncludeUnloadedSegments(bool? includeUnloadedSegments = true) => Qs("include_unloaded_segments", includeUnloadedSegments); + public NodesStatsRequestDescriptor Level(Elastic.Clients.Elasticsearch.Level? level) => Qs("level", level); + public NodesStatsRequestDescriptor MasterTimeout(Elastic.Clients.Elasticsearch.Time? masterTimeout) => Qs("master_timeout", masterTimeout); + public NodesStatsRequestDescriptor Timeout(Elastic.Clients.Elasticsearch.Time? timeout) => Qs("timeout", timeout); + public NodesStatsRequestDescriptor Types(IEnumerable? types) => Qs("types", types); + public NodesStatsRequestDescriptor NodeId(Elastic.Clients.Elasticsearch.NodeIds? node_id) + { + RouteValues.Optional("node_id", node_id); + return Self; + } + + public NodesStatsRequestDescriptor Metric(Elastic.Clients.Elasticsearch.Metrics? metric) + { + RouteValues.Optional("metric", metric); + return Self; + } + + public NodesStatsRequestDescriptor IndexMetric(Elastic.Clients.Elasticsearch.Metrics? index_metric) + { + RouteValues.Optional("index_metric", index_metric); + return Self; + } + + protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings) + { + } + } + + public sealed partial class NodesStatsRequestDescriptor : RequestDescriptorBase + { + internal NodesStatsRequestDescriptor(Action configure) => configure.Invoke(this); + public NodesStatsRequestDescriptor() + { + } + + public NodesStatsRequestDescriptor(Elastic.Clients.Elasticsearch.Metrics? metric) : base(r => r.Optional("metric", metric)) + { + } + + public NodesStatsRequestDescriptor(Elastic.Clients.Elasticsearch.NodeIds? node_id, Elastic.Clients.Elasticsearch.Metrics? metric) : base(r => r.Optional("node_id", node_id).Optional("metric", metric)) + { + } + + public NodesStatsRequestDescriptor(Elastic.Clients.Elasticsearch.Metrics? metric, Elastic.Clients.Elasticsearch.Metrics? index_metric) : base(r => r.Optional("metric", metric).Optional("index_metric", index_metric)) + { + } + + public NodesStatsRequestDescriptor(Elastic.Clients.Elasticsearch.NodeIds? node_id, Elastic.Clients.Elasticsearch.Metrics? metric, Elastic.Clients.Elasticsearch.Metrics? index_metric) : base(r => r.Optional("node_id", node_id).Optional("metric", metric).Optional("index_metric", index_metric)) + { + } + + internal override ApiUrls ApiUrls => ApiUrlsLookups.NodesStats; + protected override HttpMethod HttpMethod => HttpMethod.GET; + protected override bool SupportsBody => false; + public NodesStatsRequestDescriptor CompletionFields(Elastic.Clients.Elasticsearch.Fields? completionFields) => Qs("completion_fields", completionFields); + public NodesStatsRequestDescriptor FielddataFields(Elastic.Clients.Elasticsearch.Fields? fielddataFields) => Qs("fielddata_fields", fielddataFields); + public NodesStatsRequestDescriptor Fields(Elastic.Clients.Elasticsearch.Fields? fields) => Qs("fields", fields); + public NodesStatsRequestDescriptor Groups(bool? groups = true) => Qs("groups", groups); + public NodesStatsRequestDescriptor IncludeSegmentFileSizes(bool? includeSegmentFileSizes = true) => Qs("include_segment_file_sizes", includeSegmentFileSizes); + public NodesStatsRequestDescriptor IncludeUnloadedSegments(bool? includeUnloadedSegments = true) => Qs("include_unloaded_segments", includeUnloadedSegments); + public NodesStatsRequestDescriptor Level(Elastic.Clients.Elasticsearch.Level? level) => Qs("level", level); + public NodesStatsRequestDescriptor MasterTimeout(Elastic.Clients.Elasticsearch.Time? masterTimeout) => Qs("master_timeout", masterTimeout); + public NodesStatsRequestDescriptor Timeout(Elastic.Clients.Elasticsearch.Time? timeout) => Qs("timeout", timeout); + public NodesStatsRequestDescriptor Types(IEnumerable? types) => Qs("types", types); + public NodesStatsRequestDescriptor NodeId(Elastic.Clients.Elasticsearch.NodeIds? node_id) + { + RouteValues.Optional("node_id", node_id); + return Self; + } + + public NodesStatsRequestDescriptor Metric(Elastic.Clients.Elasticsearch.Metrics? metric) + { + RouteValues.Optional("metric", metric); + return Self; + } + + public NodesStatsRequestDescriptor IndexMetric(Elastic.Clients.Elasticsearch.Metrics? index_metric) + { + RouteValues.Optional("index_metric", index_metric); + return Self; + } + + 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/Nodes/NodesStatsResponse.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Nodes/NodesStatsResponse.g.cs new file mode 100644 index 00000000000..64abda950e0 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Nodes/NodesStatsResponse.g.cs @@ -0,0 +1,39 @@ +// 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.Nodes +{ + public partial class NodesStatsResponse : ElasticsearchResponseBase + { + [JsonInclude] + [JsonPropertyName("cluster_name")] + public string? ClusterName { get; init; } + + [JsonInclude] + [JsonPropertyName("nodes")] + public Dictionary Nodes { get; init; } + + [JsonInclude] + [JsonPropertyName("_nodes")] + public Elastic.Clients.Elasticsearch.NodeStatistics? NodeStats { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Api/Nodes/NodesUsageRequest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Nodes/NodesUsageRequest.g.cs new file mode 100644 index 00000000000..10e8965568b --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Nodes/NodesUsageRequest.g.cs @@ -0,0 +1,94 @@ +// 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.Nodes +{ + public class NodesUsageRequestParameters : RequestParameters + { + [JsonIgnore] + public Elastic.Clients.Elasticsearch.Time? Timeout { get => Q("timeout"); set => Q("timeout", value); } + } + + public partial class NodesUsageRequest : PlainRequestBase + { + public NodesUsageRequest() + { + } + + public NodesUsageRequest(Elastic.Clients.Elasticsearch.NodeIds? node_id) : base(r => r.Optional("node_id", node_id)) + { + } + + public NodesUsageRequest(Elastic.Clients.Elasticsearch.Metrics? metric) : base(r => r.Optional("metric", metric)) + { + } + + public NodesUsageRequest(Elastic.Clients.Elasticsearch.NodeIds? node_id, Elastic.Clients.Elasticsearch.Metrics? metric) : base(r => r.Optional("node_id", node_id).Optional("metric", metric)) + { + } + + internal override ApiUrls ApiUrls => ApiUrlsLookups.NodesUsage; + protected override HttpMethod HttpMethod => HttpMethod.GET; + protected override bool SupportsBody => false; + [JsonIgnore] + public Elastic.Clients.Elasticsearch.Time? Timeout { get => Q("timeout"); set => Q("timeout", value); } + } + + public sealed partial class NodesUsageRequestDescriptor : RequestDescriptorBase + { + internal NodesUsageRequestDescriptor(Action configure) => configure.Invoke(this); + public NodesUsageRequestDescriptor() + { + } + + public NodesUsageRequestDescriptor(Elastic.Clients.Elasticsearch.Metrics? metric) : base(r => r.Optional("metric", metric)) + { + } + + public NodesUsageRequestDescriptor(Elastic.Clients.Elasticsearch.NodeIds? node_id, Elastic.Clients.Elasticsearch.Metrics? metric) : base(r => r.Optional("node_id", node_id).Optional("metric", metric)) + { + } + + internal override ApiUrls ApiUrls => ApiUrlsLookups.NodesUsage; + protected override HttpMethod HttpMethod => HttpMethod.GET; + protected override bool SupportsBody => false; + public NodesUsageRequestDescriptor Timeout(Elastic.Clients.Elasticsearch.Time? timeout) => Qs("timeout", timeout); + public NodesUsageRequestDescriptor NodeId(Elastic.Clients.Elasticsearch.NodeIds? node_id) + { + RouteValues.Optional("node_id", node_id); + return Self; + } + + public NodesUsageRequestDescriptor Metric(Elastic.Clients.Elasticsearch.Metrics? metric) + { + RouteValues.Optional("metric", metric); + return Self; + } + + 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/Nodes/NodesUsageResponse.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Nodes/NodesUsageResponse.g.cs new file mode 100644 index 00000000000..f51ac2028a7 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Api/Nodes/NodesUsageResponse.g.cs @@ -0,0 +1,39 @@ +// 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.Nodes +{ + public partial class NodesUsageResponse : ElasticsearchResponseBase + { + [JsonInclude] + [JsonPropertyName("cluster_name")] + public string ClusterName { get; init; } + + [JsonInclude] + [JsonPropertyName("nodes")] + public Dictionary Nodes { get; init; } + + [JsonInclude] + [JsonPropertyName("_nodes")] + public Elastic.Clients.Elasticsearch.NodeStatistics? NodeStats { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.Nodes.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.Nodes.g.cs new file mode 100644 index 00000000000..e1a75df010f --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.Nodes.g.cs @@ -0,0 +1,171 @@ +// 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.Nodes +{ + public class NodesNamespace : NamespacedClientProxy + { + internal NodesNamespace(ElasticsearchClient client) : base(client) + { + } + + public NodesHotThreadsResponse HotThreads(NodesHotThreadsRequest request) + { + request.BeforeRequest(); + return DoRequest(request); + } + + public Task HotThreadsAsync(NodesHotThreadsRequest request, CancellationToken cancellationToken = default) + { + request.BeforeRequest(); + return DoRequestAsync(request, cancellationToken); + } + + public NodesHotThreadsResponse HotThreads(Action configureRequest = null) + { + var descriptor = new NodesHotThreadsRequestDescriptor(); + configureRequest?.Invoke(descriptor); + descriptor.BeforeRequest(); + return DoRequest(descriptor); + } + + public Task HotThreadsAsync(Action configureRequest = null, CancellationToken cancellationToken = default) + { + var descriptor = new NodesHotThreadsRequestDescriptor(); + configureRequest?.Invoke(descriptor); + descriptor.BeforeRequest(); + return DoRequestAsync(descriptor); + } + + public NodesInfoResponse Info(NodesInfoRequest request) + { + request.BeforeRequest(); + return DoRequest(request); + } + + public Task InfoAsync(NodesInfoRequest request, CancellationToken cancellationToken = default) + { + request.BeforeRequest(); + return DoRequestAsync(request, cancellationToken); + } + + public NodesInfoResponse Info(Action configureRequest = null) + { + var descriptor = new NodesInfoRequestDescriptor(); + configureRequest?.Invoke(descriptor); + descriptor.BeforeRequest(); + return DoRequest(descriptor); + } + + public Task InfoAsync(Action configureRequest = null, CancellationToken cancellationToken = default) + { + var descriptor = new NodesInfoRequestDescriptor(); + configureRequest?.Invoke(descriptor); + descriptor.BeforeRequest(); + return DoRequestAsync(descriptor); + } + + public NodesReloadSecureSettingsResponse ReloadSecureSettings(NodesReloadSecureSettingsRequest request) + { + request.BeforeRequest(); + return DoRequest(request); + } + + public Task ReloadSecureSettingsAsync(NodesReloadSecureSettingsRequest request, CancellationToken cancellationToken = default) + { + request.BeforeRequest(); + return DoRequestAsync(request, cancellationToken); + } + + public NodesReloadSecureSettingsResponse ReloadSecureSettings(Action configureRequest = null) + { + var descriptor = new NodesReloadSecureSettingsRequestDescriptor(); + configureRequest?.Invoke(descriptor); + descriptor.BeforeRequest(); + return DoRequest(descriptor); + } + + public Task ReloadSecureSettingsAsync(Action configureRequest = null, CancellationToken cancellationToken = default) + { + var descriptor = new NodesReloadSecureSettingsRequestDescriptor(); + configureRequest?.Invoke(descriptor); + descriptor.BeforeRequest(); + return DoRequestAsync(descriptor); + } + + public NodesStatsResponse Stats(NodesStatsRequest request) + { + request.BeforeRequest(); + return DoRequest(request); + } + + public Task StatsAsync(NodesStatsRequest request, CancellationToken cancellationToken = default) + { + request.BeforeRequest(); + return DoRequestAsync(request, cancellationToken); + } + + public NodesStatsResponse Stats(Action configureRequest = null) + { + var descriptor = new NodesStatsRequestDescriptor(); + configureRequest?.Invoke(descriptor); + descriptor.BeforeRequest(); + return DoRequest(descriptor); + } + + public Task StatsAsync(Action configureRequest = null, CancellationToken cancellationToken = default) + { + var descriptor = new NodesStatsRequestDescriptor(); + configureRequest?.Invoke(descriptor); + descriptor.BeforeRequest(); + return DoRequestAsync(descriptor); + } + + public NodesUsageResponse Usage(NodesUsageRequest request) + { + request.BeforeRequest(); + return DoRequest(request); + } + + public Task UsageAsync(NodesUsageRequest request, CancellationToken cancellationToken = default) + { + request.BeforeRequest(); + return DoRequestAsync(request, cancellationToken); + } + + public NodesUsageResponse Usage(Action configureRequest = null) + { + var descriptor = new NodesUsageRequestDescriptor(); + configureRequest?.Invoke(descriptor); + descriptor.BeforeRequest(); + return DoRequest(descriptor); + } + + public Task UsageAsync(Action configureRequest = null, CancellationToken cancellationToken = default) + { + var descriptor = new NodesUsageRequestDescriptor(); + 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 fbdd6833af0..833f70fd745 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Client/ElasticsearchClient.g.cs @@ -22,6 +22,7 @@ using Elastic.Clients.Elasticsearch.Graph; using Elastic.Clients.Elasticsearch.Ilm; using Elastic.Clients.Elasticsearch.IndexManagement; +using Elastic.Clients.Elasticsearch.Nodes; using Elastic.Clients.Elasticsearch.Sql; using Elastic.Clients.Elasticsearch.Tasks; using System; @@ -47,6 +48,8 @@ public partial class ElasticsearchClient public IndexManagementNamespace IndexManagement { get; private set; } + public NodesNamespace Nodes { get; private set; } + public SqlNamespace Sql { get; private set; } public TasksNamespace Tasks { get; private set; } @@ -60,6 +63,7 @@ private partial void SetupNamespaces() Graph = new GraphNamespace(this); Ilm = new IlmNamespace(this); IndexManagement = new IndexManagementNamespace(this); + Nodes = new NodesNamespace(this); Sql = new SqlNamespace(this); Tasks = new TasksNamespace(this); } diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/BulkStats.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/BulkStats.g.cs new file mode 100644 index 00000000000..341e7881481 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/BulkStats.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 +{ + public partial class BulkStats + { + [JsonInclude] + [JsonPropertyName("avg_size")] + public Elastic.Clients.Elasticsearch.ByteSize? AvgSize { get; init; } + + [JsonInclude] + [JsonPropertyName("avg_size_in_bytes")] + public long AvgSizeInBytes { get; init; } + + [JsonInclude] + [JsonPropertyName("avg_time")] + public string? AvgTime { get; init; } + + [JsonInclude] + [JsonPropertyName("avg_time_in_millis")] + public long AvgTimeInMillis { get; init; } + + [JsonInclude] + [JsonPropertyName("total_operations")] + public long TotalOperations { get; init; } + + [JsonInclude] + [JsonPropertyName("total_size")] + public Elastic.Clients.Elasticsearch.ByteSize? TotalSize { get; init; } + + [JsonInclude] + [JsonPropertyName("total_size_in_bytes")] + public long TotalSizeInBytes { get; init; } + + [JsonInclude] + [JsonPropertyName("total_time")] + public string? TotalTime { get; init; } + + [JsonInclude] + [JsonPropertyName("total_time_in_millis")] + public long TotalTimeInMillis { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/CompletionStats.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/CompletionStats.g.cs new file mode 100644 index 00000000000..f65f150b52d --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/CompletionStats.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 +{ + public partial class CompletionStats + { + [JsonInclude] + [JsonPropertyName("fields")] + public Dictionary? Fields { get; init; } + + [JsonInclude] + [JsonPropertyName("size")] + public Elastic.Clients.Elasticsearch.ByteSize? Size { get; init; } + + [JsonInclude] + [JsonPropertyName("size_in_bytes")] + public long SizeInBytes { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/DocStats.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/DocStats.g.cs new file mode 100644 index 00000000000..ddadd13274d --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/DocStats.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 +{ + public partial class DocStats + { + [JsonInclude] + [JsonPropertyName("count")] + public long Count { get; init; } + + [JsonInclude] + [JsonPropertyName("deleted")] + public long? Deleted { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Enums/Enums.IndexManagement.Stats.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Enums/Enums.IndexManagement.Stats.g.cs new file mode 100644 index 00000000000..92733bd4bd3 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Enums/Enums.IndexManagement.Stats.g.cs @@ -0,0 +1,82 @@ +// 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.IndexManagement.Stats +{ + [JsonConverter(typeof(ShardRoutingStateConverter))] + public enum ShardRoutingState + { + [EnumMember(Value = "UNASSIGNED")] + Unassigned, + [EnumMember(Value = "STARTED")] + Started, + [EnumMember(Value = "RELOCATING")] + Relocating, + [EnumMember(Value = "INITIALIZING")] + Initializing + } + + internal sealed class ShardRoutingStateConverter : JsonConverter + { + public override ShardRoutingState Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) + { + var enumString = reader.GetString(); + switch (enumString) + { + case "UNASSIGNED": + return ShardRoutingState.Unassigned; + case "STARTED": + return ShardRoutingState.Started; + case "RELOCATING": + return ShardRoutingState.Relocating; + case "INITIALIZING": + return ShardRoutingState.Initializing; + } + + ThrowHelper.ThrowJsonException(); + return default; + } + + public override void Write(Utf8JsonWriter writer, ShardRoutingState value, JsonSerializerOptions options) + { + switch (value) + { + case ShardRoutingState.Unassigned: + writer.WriteStringValue("UNASSIGNED"); + return; + case ShardRoutingState.Started: + writer.WriteStringValue("STARTED"); + return; + case ShardRoutingState.Relocating: + writer.WriteStringValue("RELOCATING"); + return; + case ShardRoutingState.Initializing: + writer.WriteStringValue("INITIALIZING"); + return; + } + + writer.WriteNullValue(); + } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Enums/Enums.NoNamespace.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Enums/Enums.NoNamespace.g.cs index c3eac25e56c..715107c77b0 100644 --- a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Enums/Enums.NoNamespace.g.cs +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Enums/Enums.NoNamespace.g.cs @@ -836,6 +836,132 @@ public override void Write(Utf8JsonWriter writer, LifecycleOperationMode value, } } + [JsonConverter(typeof(NodeRoleConverter))] + public enum NodeRole + { + [EnumMember(Value = "voting_only")] + VotingOnly, + [EnumMember(Value = "transform")] + Transform, + [EnumMember(Value = "remote_cluster_client")] + RemoteClusterClient, + [EnumMember(Value = "ml")] + Ml, + [EnumMember(Value = "master")] + Master, + [EnumMember(Value = "ingest")] + Ingest, + [EnumMember(Value = "data_warm")] + DataWarm, + [EnumMember(Value = "data_hot")] + DataHot, + [EnumMember(Value = "data_frozen")] + DataFrozen, + [EnumMember(Value = "data_content")] + DataContent, + [EnumMember(Value = "data_cold")] + DataCold, + [EnumMember(Value = "data")] + Data, + [EnumMember(Value = "coordinating_only")] + CoordinatingOnly, + [EnumMember(Value = "client")] + Client + } + + internal sealed class NodeRoleConverter : JsonConverter + { + public override NodeRole Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) + { + var enumString = reader.GetString(); + switch (enumString) + { + case "voting_only": + return NodeRole.VotingOnly; + case "transform": + return NodeRole.Transform; + case "remote_cluster_client": + return NodeRole.RemoteClusterClient; + case "ml": + return NodeRole.Ml; + case "master": + return NodeRole.Master; + case "ingest": + return NodeRole.Ingest; + case "data_warm": + return NodeRole.DataWarm; + case "data_hot": + return NodeRole.DataHot; + case "data_frozen": + return NodeRole.DataFrozen; + case "data_content": + return NodeRole.DataContent; + case "data_cold": + return NodeRole.DataCold; + case "data": + return NodeRole.Data; + case "coordinating_only": + return NodeRole.CoordinatingOnly; + case "client": + return NodeRole.Client; + } + + ThrowHelper.ThrowJsonException(); + return default; + } + + public override void Write(Utf8JsonWriter writer, NodeRole value, JsonSerializerOptions options) + { + switch (value) + { + case NodeRole.VotingOnly: + writer.WriteStringValue("voting_only"); + return; + case NodeRole.Transform: + writer.WriteStringValue("transform"); + return; + case NodeRole.RemoteClusterClient: + writer.WriteStringValue("remote_cluster_client"); + return; + case NodeRole.Ml: + writer.WriteStringValue("ml"); + return; + case NodeRole.Master: + writer.WriteStringValue("master"); + return; + case NodeRole.Ingest: + writer.WriteStringValue("ingest"); + return; + case NodeRole.DataWarm: + writer.WriteStringValue("data_warm"); + return; + case NodeRole.DataHot: + writer.WriteStringValue("data_hot"); + return; + case NodeRole.DataFrozen: + writer.WriteStringValue("data_frozen"); + return; + case NodeRole.DataContent: + writer.WriteStringValue("data_content"); + return; + case NodeRole.DataCold: + writer.WriteStringValue("data_cold"); + return; + case NodeRole.Data: + writer.WriteStringValue("data"); + return; + case NodeRole.CoordinatingOnly: + writer.WriteStringValue("coordinating_only"); + return; + case NodeRole.Client: + writer.WriteStringValue("client"); + return; + } + + writer.WriteNullValue(); + } + } + [JsonConverter(typeof(NormalizationConverter))] public enum Normalization { @@ -1271,6 +1397,69 @@ public override void Write(Utf8JsonWriter writer, SuggestMode value, JsonSeriali } } + [JsonConverter(typeof(ThreadTypeConverter))] + public enum ThreadType + { + [EnumMember(Value = "wait")] + Wait, + [EnumMember(Value = "mem")] + Mem, + [EnumMember(Value = "gpu")] + Gpu, + [EnumMember(Value = "cpu")] + Cpu, + [EnumMember(Value = "block")] + Block + } + + internal sealed class ThreadTypeConverter : JsonConverter + { + public override ThreadType Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) + { + var enumString = reader.GetString(); + switch (enumString) + { + case "wait": + return ThreadType.Wait; + case "mem": + return ThreadType.Mem; + case "gpu": + return ThreadType.Gpu; + case "cpu": + return ThreadType.Cpu; + case "block": + return ThreadType.Block; + } + + ThrowHelper.ThrowJsonException(); + return default; + } + + public override void Write(Utf8JsonWriter writer, ThreadType value, JsonSerializerOptions options) + { + switch (value) + { + case ThreadType.Wait: + writer.WriteStringValue("wait"); + return; + case ThreadType.Mem: + writer.WriteStringValue("mem"); + return; + case ThreadType.Gpu: + writer.WriteStringValue("gpu"); + return; + case ThreadType.Cpu: + writer.WriteStringValue("cpu"); + return; + case ThreadType.Block: + writer.WriteStringValue("block"); + return; + } + + writer.WriteNullValue(); + } + } + [JsonConverter(typeof(TimeUnitConverter))] public enum TimeUnit { diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/FieldMemoryUsage.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/FieldMemoryUsage.g.cs new file mode 100644 index 00000000000..513ef90fdb4 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/FieldMemoryUsage.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 +{ + public partial class FieldMemoryUsage + { + [JsonInclude] + [JsonPropertyName("memory_size")] + public Elastic.Clients.Elasticsearch.ByteSize? MemorySize { get; init; } + + [JsonInclude] + [JsonPropertyName("memory_size_in_bytes")] + public long MemorySizeInBytes { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/FieldSizeUsage.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/FieldSizeUsage.g.cs new file mode 100644 index 00000000000..3a1ce604e7e --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/FieldSizeUsage.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 +{ + public partial class FieldSizeUsage + { + [JsonInclude] + [JsonPropertyName("size")] + public Elastic.Clients.Elasticsearch.ByteSize? Size { get; init; } + + [JsonInclude] + [JsonPropertyName("size_in_bytes")] + public long SizeInBytes { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/FielddataStats.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/FielddataStats.g.cs new file mode 100644 index 00000000000..b4347e931d8 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/FielddataStats.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 +{ + public partial class FielddataStats + { + [JsonInclude] + [JsonPropertyName("evictions")] + public long? Evictions { get; init; } + + [JsonInclude] + [JsonPropertyName("fields")] + public Dictionary? Fields { get; init; } + + [JsonInclude] + [JsonPropertyName("memory_size")] + public Elastic.Clients.Elasticsearch.ByteSize? MemorySize { get; init; } + + [JsonInclude] + [JsonPropertyName("memory_size_in_bytes")] + public long MemorySizeInBytes { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/FlushStats.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/FlushStats.g.cs new file mode 100644 index 00000000000..49a9e50cf45 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/FlushStats.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 +{ + public partial class FlushStats + { + [JsonInclude] + [JsonPropertyName("periodic")] + public long Periodic { get; init; } + + [JsonInclude] + [JsonPropertyName("total")] + public long Total { get; init; } + + [JsonInclude] + [JsonPropertyName("total_time")] + public string? TotalTime { get; init; } + + [JsonInclude] + [JsonPropertyName("total_time_in_millis")] + public long TotalTimeInMillis { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/GetStats.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/GetStats.g.cs new file mode 100644 index 00000000000..4fc16ca446e --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/GetStats.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 +{ + public partial class GetStats + { + [JsonInclude] + [JsonPropertyName("current")] + public long Current { get; init; } + + [JsonInclude] + [JsonPropertyName("exists_time")] + public string? ExistsTime { get; init; } + + [JsonInclude] + [JsonPropertyName("exists_time_in_millis")] + public long ExistsTimeInMillis { get; init; } + + [JsonInclude] + [JsonPropertyName("exists_total")] + public long ExistsTotal { get; init; } + + [JsonInclude] + [JsonPropertyName("missing_time")] + public string? MissingTime { get; init; } + + [JsonInclude] + [JsonPropertyName("missing_time_in_millis")] + public long MissingTimeInMillis { get; init; } + + [JsonInclude] + [JsonPropertyName("missing_total")] + public long MissingTotal { get; init; } + + [JsonInclude] + [JsonPropertyName("time")] + public string? Time { get; init; } + + [JsonInclude] + [JsonPropertyName("time_in_millis")] + public long TimeInMillis { 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/IndexManagement/IndexStats.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/IndexStats.g.cs new file mode 100644 index 00000000000..0ad0f500912 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/IndexStats.g.cs @@ -0,0 +1,105 @@ +// 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.Stats +{ + public partial class IndexStats + { + [JsonInclude] + [JsonPropertyName("bulk")] + public Elastic.Clients.Elasticsearch.BulkStats? Bulk { get; init; } + + [JsonInclude] + [JsonPropertyName("completion")] + public Elastic.Clients.Elasticsearch.CompletionStats? Completion { get; init; } + + [JsonInclude] + [JsonPropertyName("docs")] + public Elastic.Clients.Elasticsearch.DocStats? Docs { get; init; } + + [JsonInclude] + [JsonPropertyName("fielddata")] + public Elastic.Clients.Elasticsearch.FielddataStats? Fielddata { get; init; } + + [JsonInclude] + [JsonPropertyName("flush")] + public Elastic.Clients.Elasticsearch.FlushStats? Flush { get; init; } + + [JsonInclude] + [JsonPropertyName("get")] + public Elastic.Clients.Elasticsearch.GetStats? Get { get; init; } + + [JsonInclude] + [JsonPropertyName("indexing")] + public Elastic.Clients.Elasticsearch.IndexingStats? Indexing { get; init; } + + [JsonInclude] + [JsonPropertyName("indices")] + public Elastic.Clients.Elasticsearch.IndexManagement.Stats.IndicesStats? Indices { get; init; } + + [JsonInclude] + [JsonPropertyName("merges")] + public Elastic.Clients.Elasticsearch.MergesStats? Merges { get; init; } + + [JsonInclude] + [JsonPropertyName("query_cache")] + public Elastic.Clients.Elasticsearch.QueryCacheStats? QueryCache { get; init; } + + [JsonInclude] + [JsonPropertyName("recovery")] + public Elastic.Clients.Elasticsearch.RecoveryStats? Recovery { get; init; } + + [JsonInclude] + [JsonPropertyName("refresh")] + public Elastic.Clients.Elasticsearch.RefreshStats? Refresh { get; init; } + + [JsonInclude] + [JsonPropertyName("request_cache")] + public Elastic.Clients.Elasticsearch.RequestCacheStats? RequestCache { get; init; } + + [JsonInclude] + [JsonPropertyName("search")] + public Elastic.Clients.Elasticsearch.SearchStats? Search { get; init; } + + [JsonInclude] + [JsonPropertyName("segments")] + public Elastic.Clients.Elasticsearch.SegmentsStats? Segments { get; init; } + + [JsonInclude] + [JsonPropertyName("shard_stats")] + public Elastic.Clients.Elasticsearch.IndexManagement.Stats.ShardsTotalStats? ShardStats { get; init; } + + [JsonInclude] + [JsonPropertyName("store")] + public Elastic.Clients.Elasticsearch.StoreStats? Store { get; init; } + + [JsonInclude] + [JsonPropertyName("translog")] + public Elastic.Clients.Elasticsearch.TranslogStats? Translog { get; init; } + + [JsonInclude] + [JsonPropertyName("warmer")] + public Elastic.Clients.Elasticsearch.WarmerStats? Warmer { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/IndicesStats.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/IndicesStats.g.cs new file mode 100644 index 00000000000..8da2c9388cd --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/IndicesStats.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.IndexManagement.Stats +{ + public partial class IndicesStats + { + [JsonInclude] + [JsonPropertyName("primaries")] + public Elastic.Clients.Elasticsearch.IndexManagement.Stats.IndexStats? Primaries { get; init; } + + [JsonInclude] + [JsonPropertyName("shards")] + public Dictionary>? Shards { get; init; } + + [JsonInclude] + [JsonPropertyName("total")] + public Elastic.Clients.Elasticsearch.IndexManagement.Stats.IndexStats? Total { get; init; } + + [JsonInclude] + [JsonPropertyName("uuid")] + public string? Uuid { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/ShardCommit.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/ShardCommit.g.cs new file mode 100644 index 00000000000..f69dd48d934 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/ShardCommit.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.IndexManagement.Stats +{ + public partial class ShardCommit + { + [JsonInclude] + [JsonPropertyName("generation")] + public int Generation { get; init; } + + [JsonInclude] + [JsonPropertyName("id")] + public string Id { get; init; } + + [JsonInclude] + [JsonPropertyName("num_docs")] + public long NumDocs { get; init; } + + [JsonInclude] + [JsonPropertyName("user_data")] + public Dictionary UserData { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/ShardFileSizeInfo.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/ShardFileSizeInfo.g.cs new file mode 100644 index 00000000000..5ee1b3c5d34 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/ShardFileSizeInfo.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.IndexManagement.Stats +{ + public partial class ShardFileSizeInfo + { + [JsonInclude] + [JsonPropertyName("average_size_in_bytes")] + public long? AverageSizeInBytes { get; init; } + + [JsonInclude] + [JsonPropertyName("count")] + public long? Count { get; init; } + + [JsonInclude] + [JsonPropertyName("description")] + public string Description { get; init; } + + [JsonInclude] + [JsonPropertyName("max_size_in_bytes")] + public long? MaxSizeInBytes { get; init; } + + [JsonInclude] + [JsonPropertyName("min_size_in_bytes")] + public long? MinSizeInBytes { get; init; } + + [JsonInclude] + [JsonPropertyName("size_in_bytes")] + public long SizeInBytes { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/ShardLease.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/ShardLease.g.cs new file mode 100644 index 00000000000..c297b227cae --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/ShardLease.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.IndexManagement.Stats +{ + public partial class ShardLease + { + [JsonInclude] + [JsonPropertyName("id")] + public string Id { get; init; } + + [JsonInclude] + [JsonPropertyName("retaining_seq_no")] + public long RetainingSeqNo { get; init; } + + [JsonInclude] + [JsonPropertyName("source")] + public string Source { get; init; } + + [JsonInclude] + [JsonPropertyName("timestamp")] + public long Timestamp { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/ShardPath.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/ShardPath.g.cs new file mode 100644 index 00000000000..f0996f2b566 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/ShardPath.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.IndexManagement.Stats +{ + public partial class ShardPath + { + [JsonInclude] + [JsonPropertyName("data_path")] + public string DataPath { get; init; } + + [JsonInclude] + [JsonPropertyName("is_custom_data_path")] + public bool IsCustomDataPath { get; init; } + + [JsonInclude] + [JsonPropertyName("state_path")] + public string StatePath { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/ShardQueryCache.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/ShardQueryCache.g.cs new file mode 100644 index 00000000000..23fea287461 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/ShardQueryCache.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.IndexManagement.Stats +{ + public partial class ShardQueryCache + { + [JsonInclude] + [JsonPropertyName("cache_count")] + public long CacheCount { get; init; } + + [JsonInclude] + [JsonPropertyName("cache_size")] + public long CacheSize { get; init; } + + [JsonInclude] + [JsonPropertyName("evictions")] + public long Evictions { get; init; } + + [JsonInclude] + [JsonPropertyName("hit_count")] + public long HitCount { get; init; } + + [JsonInclude] + [JsonPropertyName("memory_size_in_bytes")] + public long MemorySizeInBytes { get; init; } + + [JsonInclude] + [JsonPropertyName("miss_count")] + public long MissCount { get; init; } + + [JsonInclude] + [JsonPropertyName("total_count")] + public long TotalCount { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/ShardRetentionLeases.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/ShardRetentionLeases.g.cs new file mode 100644 index 00000000000..214d5a290f4 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/ShardRetentionLeases.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.IndexManagement.Stats +{ + public partial class ShardRetentionLeases + { + [JsonInclude] + [JsonPropertyName("leases")] + public IReadOnlyCollection Leases { get; init; } + + [JsonInclude] + [JsonPropertyName("primary_term")] + public long PrimaryTerm { get; init; } + + [JsonInclude] + [JsonPropertyName("version")] + public long Version { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/ShardRouting.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/ShardRouting.g.cs new file mode 100644 index 00000000000..f72935f0cb3 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/ShardRouting.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.IndexManagement.Stats +{ + public partial class ShardRouting + { + [JsonInclude] + [JsonPropertyName("node")] + public string Node { get; init; } + + [JsonInclude] + [JsonPropertyName("primary")] + public bool Primary { get; init; } + + [JsonInclude] + [JsonPropertyName("relocating_node")] + public string? RelocatingNode { get; init; } + + [JsonInclude] + [JsonPropertyName("state")] + public Elastic.Clients.Elasticsearch.IndexManagement.Stats.ShardRoutingState State { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/ShardSequenceNumber.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/ShardSequenceNumber.g.cs new file mode 100644 index 00000000000..6d37c6558c6 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/ShardSequenceNumber.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.IndexManagement.Stats +{ + public partial class ShardSequenceNumber + { + [JsonInclude] + [JsonPropertyName("global_checkpoint")] + public long GlobalCheckpoint { get; init; } + + [JsonInclude] + [JsonPropertyName("local_checkpoint")] + public long LocalCheckpoint { get; init; } + + [JsonInclude] + [JsonPropertyName("max_seq_no")] + public long MaxSeqNo { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/ShardStats.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/ShardStats.g.cs new file mode 100644 index 00000000000..bf559412ee2 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/ShardStats.g.cs @@ -0,0 +1,129 @@ +// 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.Stats +{ + public partial class ShardStats + { + [JsonInclude] + [JsonPropertyName("bulk")] + public Elastic.Clients.Elasticsearch.BulkStats? Bulk { get; init; } + + [JsonInclude] + [JsonPropertyName("commit")] + public Elastic.Clients.Elasticsearch.IndexManagement.Stats.ShardCommit? Commit { get; init; } + + [JsonInclude] + [JsonPropertyName("completion")] + public Elastic.Clients.Elasticsearch.CompletionStats? Completion { get; init; } + + [JsonInclude] + [JsonPropertyName("docs")] + public Elastic.Clients.Elasticsearch.DocStats? Docs { get; init; } + + [JsonInclude] + [JsonPropertyName("fielddata")] + public Elastic.Clients.Elasticsearch.FielddataStats? Fielddata { get; init; } + + [JsonInclude] + [JsonPropertyName("flush")] + public Elastic.Clients.Elasticsearch.FlushStats? Flush { get; init; } + + [JsonInclude] + [JsonPropertyName("get")] + public Elastic.Clients.Elasticsearch.GetStats? Get { get; init; } + + [JsonInclude] + [JsonPropertyName("indexing")] + public Elastic.Clients.Elasticsearch.IndexingStats? Indexing { get; init; } + + [JsonInclude] + [JsonPropertyName("indices")] + public Elastic.Clients.Elasticsearch.IndexManagement.Stats.IndicesStats? Indices { get; init; } + + [JsonInclude] + [JsonPropertyName("merges")] + public Elastic.Clients.Elasticsearch.MergesStats? Merges { get; init; } + + [JsonInclude] + [JsonPropertyName("query_cache")] + public Elastic.Clients.Elasticsearch.IndexManagement.Stats.ShardQueryCache? QueryCache { get; init; } + + [JsonInclude] + [JsonPropertyName("recovery")] + public Elastic.Clients.Elasticsearch.RecoveryStats? Recovery { get; init; } + + [JsonInclude] + [JsonPropertyName("refresh")] + public Elastic.Clients.Elasticsearch.RefreshStats? Refresh { get; init; } + + [JsonInclude] + [JsonPropertyName("request_cache")] + public Elastic.Clients.Elasticsearch.RequestCacheStats? RequestCache { get; init; } + + [JsonInclude] + [JsonPropertyName("retention_leases")] + public Elastic.Clients.Elasticsearch.IndexManagement.Stats.ShardRetentionLeases? RetentionLeases { get; init; } + + [JsonInclude] + [JsonPropertyName("routing")] + public Elastic.Clients.Elasticsearch.IndexManagement.Stats.ShardRouting? Routing { get; init; } + + [JsonInclude] + [JsonPropertyName("search")] + public Elastic.Clients.Elasticsearch.SearchStats? Search { get; init; } + + [JsonInclude] + [JsonPropertyName("segments")] + public Elastic.Clients.Elasticsearch.SegmentsStats? Segments { get; init; } + + [JsonInclude] + [JsonPropertyName("seq_no")] + public Elastic.Clients.Elasticsearch.IndexManagement.Stats.ShardSequenceNumber? SeqNo { get; init; } + + [JsonInclude] + [JsonPropertyName("shard_path")] + public Elastic.Clients.Elasticsearch.IndexManagement.Stats.ShardPath? ShardPath { get; init; } + + [JsonInclude] + [JsonPropertyName("shard_stats")] + public Elastic.Clients.Elasticsearch.IndexManagement.Stats.ShardsTotalStats? ShardStatsTemp { get; init; } + + [JsonInclude] + [JsonPropertyName("shards")] + public Elastic.Clients.Elasticsearch.IndexManagement.Stats.ShardsTotalStats? Shards { get; init; } + + [JsonInclude] + [JsonPropertyName("store")] + public Elastic.Clients.Elasticsearch.StoreStats? Store { get; init; } + + [JsonInclude] + [JsonPropertyName("translog")] + public Elastic.Clients.Elasticsearch.TranslogStats? Translog { get; init; } + + [JsonInclude] + [JsonPropertyName("warmer")] + public Elastic.Clients.Elasticsearch.WarmerStats? Warmer { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/ShardsTotalStats.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/ShardsTotalStats.g.cs new file mode 100644 index 00000000000..611b1a60632 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexManagement/ShardsTotalStats.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.IndexManagement.Stats +{ + public partial class ShardsTotalStats + { + [JsonInclude] + [JsonPropertyName("total_count")] + public long TotalCount { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexingStats.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexingStats.g.cs new file mode 100644 index 00000000000..02ccfd2b17b --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/IndexingStats.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 +{ + public partial class IndexingStats + { + [JsonInclude] + [JsonPropertyName("delete_current")] + public long DeleteCurrent { get; init; } + + [JsonInclude] + [JsonPropertyName("delete_time")] + public string? DeleteTime { get; init; } + + [JsonInclude] + [JsonPropertyName("delete_time_in_millis")] + public long DeleteTimeInMillis { get; init; } + + [JsonInclude] + [JsonPropertyName("delete_total")] + public long DeleteTotal { get; init; } + + [JsonInclude] + [JsonPropertyName("index_current")] + public long IndexCurrent { get; init; } + + [JsonInclude] + [JsonPropertyName("index_failed")] + public long IndexFailed { get; init; } + + [JsonInclude] + [JsonPropertyName("index_time")] + public string? IndexTime { get; init; } + + [JsonInclude] + [JsonPropertyName("index_time_in_millis")] + public long IndexTimeInMillis { get; init; } + + [JsonInclude] + [JsonPropertyName("index_total")] + public long IndexTotal { get; init; } + + [JsonInclude] + [JsonPropertyName("is_throttled")] + public bool IsThrottled { get; init; } + + [JsonInclude] + [JsonPropertyName("noop_update_total")] + public long NoopUpdateTotal { get; init; } + + [JsonInclude] + [JsonPropertyName("throttle_time")] + public string? ThrottleTime { get; init; } + + [JsonInclude] + [JsonPropertyName("throttle_time_in_millis")] + public long ThrottleTimeInMillis { get; init; } + + [JsonInclude] + [JsonPropertyName("types")] + public Dictionary? Types { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/MergesStats.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/MergesStats.g.cs new file mode 100644 index 00000000000..1d1be16efc1 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/MergesStats.g.cs @@ -0,0 +1,93 @@ +// 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 +{ + public partial class MergesStats + { + [JsonInclude] + [JsonPropertyName("current")] + public long Current { get; init; } + + [JsonInclude] + [JsonPropertyName("current_docs")] + public long CurrentDocs { get; init; } + + [JsonInclude] + [JsonPropertyName("current_size")] + public string? CurrentSize { get; init; } + + [JsonInclude] + [JsonPropertyName("current_size_in_bytes")] + public long CurrentSizeInBytes { get; init; } + + [JsonInclude] + [JsonPropertyName("total")] + public long Total { get; init; } + + [JsonInclude] + [JsonPropertyName("total_auto_throttle")] + public string? TotalAutoThrottle { get; init; } + + [JsonInclude] + [JsonPropertyName("total_auto_throttle_in_bytes")] + public long TotalAutoThrottleInBytes { get; init; } + + [JsonInclude] + [JsonPropertyName("total_docs")] + public long TotalDocs { get; init; } + + [JsonInclude] + [JsonPropertyName("total_size")] + public string? TotalSize { get; init; } + + [JsonInclude] + [JsonPropertyName("total_size_in_bytes")] + public long TotalSizeInBytes { get; init; } + + [JsonInclude] + [JsonPropertyName("total_stopped_time")] + public string? TotalStoppedTime { get; init; } + + [JsonInclude] + [JsonPropertyName("total_stopped_time_in_millis")] + public long TotalStoppedTimeInMillis { get; init; } + + [JsonInclude] + [JsonPropertyName("total_throttled_time")] + public string? TotalThrottledTime { get; init; } + + [JsonInclude] + [JsonPropertyName("total_throttled_time_in_millis")] + public long TotalThrottledTimeInMillis { get; init; } + + [JsonInclude] + [JsonPropertyName("total_time")] + public string? TotalTime { get; init; } + + [JsonInclude] + [JsonPropertyName("total_time_in_millis")] + public long TotalTimeInMillis { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/NodeStatistics.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/NodeStatistics.g.cs new file mode 100644 index 00000000000..6f7b18b300d --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/NodeStatistics.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 +{ + public partial class NodeStatistics + { + [JsonInclude] + [JsonPropertyName("failed")] + public int Failed { get; init; } + + [JsonInclude] + [JsonPropertyName("failures")] + public IReadOnlyCollection? Failures { get; init; } + + [JsonInclude] + [JsonPropertyName("successful")] + public int Successful { 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/Nodes/AdaptiveSelection.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/AdaptiveSelection.g.cs new file mode 100644 index 00000000000..0cef292f2fe --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/AdaptiveSelection.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.Nodes +{ + public partial class AdaptiveSelection + { + [JsonInclude] + [JsonPropertyName("avg_queue_size")] + public long? AvgQueueSize { get; init; } + + [JsonInclude] + [JsonPropertyName("avg_response_time")] + public long? AvgResponseTime { get; init; } + + [JsonInclude] + [JsonPropertyName("avg_response_time_ns")] + public long? AvgResponseTimeNs { get; init; } + + [JsonInclude] + [JsonPropertyName("avg_service_time")] + public string? AvgServiceTime { get; init; } + + [JsonInclude] + [JsonPropertyName("avg_service_time_ns")] + public long? AvgServiceTimeNs { get; init; } + + [JsonInclude] + [JsonPropertyName("outgoing_searches")] + public long? OutgoingSearches { get; init; } + + [JsonInclude] + [JsonPropertyName("rank")] + public string? Rank { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/Breaker.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/Breaker.g.cs new file mode 100644 index 00000000000..c0b360cba42 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/Breaker.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.Nodes +{ + public partial class Breaker + { + [JsonInclude] + [JsonPropertyName("estimated_size")] + public string? EstimatedSize { get; init; } + + [JsonInclude] + [JsonPropertyName("estimated_size_in_bytes")] + public long? EstimatedSizeInBytes { get; init; } + + [JsonInclude] + [JsonPropertyName("limit_size")] + public string? LimitSize { get; init; } + + [JsonInclude] + [JsonPropertyName("limit_size_in_bytes")] + public long? LimitSizeInBytes { get; init; } + + [JsonInclude] + [JsonPropertyName("overhead")] + public float? Overhead { get; init; } + + [JsonInclude] + [JsonPropertyName("tripped")] + public float? Tripped { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/Cgroup.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/Cgroup.g.cs new file mode 100644 index 00000000000..f7642a3f041 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/Cgroup.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.Nodes +{ + public partial class Cgroup + { + [JsonInclude] + [JsonPropertyName("cpu")] + public Elastic.Clients.Elasticsearch.Nodes.CgroupCpu? Cpu { get; init; } + + [JsonInclude] + [JsonPropertyName("cpuacct")] + public Elastic.Clients.Elasticsearch.Nodes.CpuAcct? Cpuacct { get; init; } + + [JsonInclude] + [JsonPropertyName("memory")] + public Elastic.Clients.Elasticsearch.Nodes.CgroupMemory? Memory { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/CgroupCpu.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/CgroupCpu.g.cs new file mode 100644 index 00000000000..5ed62238446 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/CgroupCpu.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.Nodes +{ + public partial class CgroupCpu + { + [JsonInclude] + [JsonPropertyName("cfs_period_micros")] + public int? CfsPeriodMicros { get; init; } + + [JsonInclude] + [JsonPropertyName("cfs_quota_micros")] + public int? CfsQuotaMicros { get; init; } + + [JsonInclude] + [JsonPropertyName("control_group")] + public string? ControlGroup { get; init; } + + [JsonInclude] + [JsonPropertyName("stat")] + public Elastic.Clients.Elasticsearch.Nodes.CgroupCpuStat? Stat { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/CgroupCpuStat.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/CgroupCpuStat.g.cs new file mode 100644 index 00000000000..b69fd91b83d --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/CgroupCpuStat.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.Nodes +{ + public partial class CgroupCpuStat + { + [JsonInclude] + [JsonPropertyName("number_of_elapsed_periods")] + public long? NumberOfElapsedPeriods { get; init; } + + [JsonInclude] + [JsonPropertyName("number_of_times_throttled")] + public long? NumberOfTimesThrottled { get; init; } + + [JsonInclude] + [JsonPropertyName("time_throttled_nanos")] + public long? TimeThrottledNanos { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/CgroupMemory.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/CgroupMemory.g.cs new file mode 100644 index 00000000000..7b2acddc8f9 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/CgroupMemory.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.Nodes +{ + public partial class CgroupMemory + { + [JsonInclude] + [JsonPropertyName("control_group")] + public string? ControlGroup { get; init; } + + [JsonInclude] + [JsonPropertyName("limit_in_bytes")] + public string? LimitInBytes { get; init; } + + [JsonInclude] + [JsonPropertyName("usage_in_bytes")] + public string? UsageInBytes { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/Client.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/Client.g.cs new file mode 100644 index 00000000000..75b5b50961c --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/Client.g.cs @@ -0,0 +1,73 @@ +// 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.Nodes +{ + public partial class Client + { + [JsonInclude] + [JsonPropertyName("agent")] + public string? Agent { get; init; } + + [JsonInclude] + [JsonPropertyName("closed_time_millis")] + public long? ClosedTimeMillis { get; init; } + + [JsonInclude] + [JsonPropertyName("id")] + public long? Id { get; init; } + + [JsonInclude] + [JsonPropertyName("last_request_time_millis")] + public long? LastRequestTimeMillis { get; init; } + + [JsonInclude] + [JsonPropertyName("last_uri")] + public string? LastUri { get; init; } + + [JsonInclude] + [JsonPropertyName("local_address")] + public string? LocalAddress { get; init; } + + [JsonInclude] + [JsonPropertyName("opened_time_millis")] + public long? OpenedTimeMillis { get; init; } + + [JsonInclude] + [JsonPropertyName("remote_address")] + public string? RemoteAddress { get; init; } + + [JsonInclude] + [JsonPropertyName("request_count")] + public long? RequestCount { get; init; } + + [JsonInclude] + [JsonPropertyName("request_size_bytes")] + public long? RequestSizeBytes { get; init; } + + [JsonInclude] + [JsonPropertyName("x_opaque_id")] + public string? XOpaqueId { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/ClusterAppliedStats.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/ClusterAppliedStats.g.cs new file mode 100644 index 00000000000..f30d4cbe31b --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/ClusterAppliedStats.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.Nodes +{ + public partial class ClusterAppliedStats + { + [JsonInclude] + [JsonPropertyName("recordings")] + public IReadOnlyCollection? Recordings { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/ClusterStateQueue.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/ClusterStateQueue.g.cs new file mode 100644 index 00000000000..65d16fa5b8c --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/ClusterStateQueue.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.Nodes +{ + public partial class ClusterStateQueue + { + [JsonInclude] + [JsonPropertyName("committed")] + public long? Committed { get; init; } + + [JsonInclude] + [JsonPropertyName("pending")] + public long? Pending { 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/Nodes/ClusterStateUpdate.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/ClusterStateUpdate.g.cs new file mode 100644 index 00000000000..5ea0cb5a540 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/ClusterStateUpdate.g.cs @@ -0,0 +1,89 @@ +// 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.Nodes +{ + public partial class ClusterStateUpdate + { + [JsonInclude] + [JsonPropertyName("commit_time")] + public string? CommitTime { get; init; } + + [JsonInclude] + [JsonPropertyName("commit_time_millis")] + public long? CommitTimeMillis { get; init; } + + [JsonInclude] + [JsonPropertyName("completion_time")] + public string? CompletionTime { get; init; } + + [JsonInclude] + [JsonPropertyName("completion_time_millis")] + public long? CompletionTimeMillis { get; init; } + + [JsonInclude] + [JsonPropertyName("computation_time")] + public string? ComputationTime { get; init; } + + [JsonInclude] + [JsonPropertyName("computation_time_millis")] + public long? ComputationTimeMillis { get; init; } + + [JsonInclude] + [JsonPropertyName("context_construction_time")] + public string? ContextConstructionTime { get; init; } + + [JsonInclude] + [JsonPropertyName("context_construction_time_millis")] + public long? ContextConstructionTimeMillis { get; init; } + + [JsonInclude] + [JsonPropertyName("count")] + public long? Count { get; init; } + + [JsonInclude] + [JsonPropertyName("master_apply_time")] + public string? MasterApplyTime { get; init; } + + [JsonInclude] + [JsonPropertyName("master_apply_time_millis")] + public long? MasterApplyTimeMillis { get; init; } + + [JsonInclude] + [JsonPropertyName("notification_time")] + public string? NotificationTime { get; init; } + + [JsonInclude] + [JsonPropertyName("notification_time_millis")] + public long? NotificationTimeMillis { get; init; } + + [JsonInclude] + [JsonPropertyName("publication_time")] + public string? PublicationTime { get; init; } + + [JsonInclude] + [JsonPropertyName("publication_time_millis")] + public long? PublicationTimeMillis { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/Context.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/Context.g.cs new file mode 100644 index 00000000000..cfb89b9a3cd --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/Context.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.Nodes +{ + public partial class Context + { + [JsonInclude] + [JsonPropertyName("cache_evictions")] + public long? CacheEvictions { get; init; } + + [JsonInclude] + [JsonPropertyName("compilation_limit_triggered")] + public long? CompilationLimitTriggered { get; init; } + + [JsonInclude] + [JsonPropertyName("compilations")] + public long? Compilations { get; init; } + + [JsonInclude] + [JsonPropertyName("context")] + public string? ContextTemp { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/Cpu.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/Cpu.g.cs new file mode 100644 index 00000000000..8581a92a60c --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/Cpu.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.Nodes +{ + public partial class Cpu + { + [JsonInclude] + [JsonPropertyName("load_average")] + public Dictionary? LoadAverage { get; init; } + + [JsonInclude] + [JsonPropertyName("percent")] + public int? Percent { get; init; } + + [JsonInclude] + [JsonPropertyName("sys")] + public string? Sys { get; init; } + + [JsonInclude] + [JsonPropertyName("sys_in_millis")] + public long? SysInMillis { get; init; } + + [JsonInclude] + [JsonPropertyName("total")] + public string? Total { get; init; } + + [JsonInclude] + [JsonPropertyName("total_in_millis")] + public long? TotalInMillis { get; init; } + + [JsonInclude] + [JsonPropertyName("user")] + public string? User { get; init; } + + [JsonInclude] + [JsonPropertyName("user_in_millis")] + public long? UserInMillis { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/CpuAcct.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/CpuAcct.g.cs new file mode 100644 index 00000000000..14200154fc1 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/CpuAcct.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.Nodes +{ + public partial class CpuAcct + { + [JsonInclude] + [JsonPropertyName("control_group")] + public string? ControlGroup { get; init; } + + [JsonInclude] + [JsonPropertyName("usage_nanos")] + public long? UsageNanos { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/DataPathStats.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/DataPathStats.g.cs new file mode 100644 index 00000000000..db8af13b026 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/DataPathStats.g.cs @@ -0,0 +1,93 @@ +// 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.Nodes +{ + public partial class DataPathStats + { + [JsonInclude] + [JsonPropertyName("available")] + public string? Available { get; init; } + + [JsonInclude] + [JsonPropertyName("available_in_bytes")] + public long? AvailableInBytes { get; init; } + + [JsonInclude] + [JsonPropertyName("disk_queue")] + public string? DiskQueue { get; init; } + + [JsonInclude] + [JsonPropertyName("disk_read_size")] + public string? DiskReadSize { get; init; } + + [JsonInclude] + [JsonPropertyName("disk_read_size_in_bytes")] + public long? DiskReadSizeInBytes { get; init; } + + [JsonInclude] + [JsonPropertyName("disk_reads")] + public long? DiskReads { get; init; } + + [JsonInclude] + [JsonPropertyName("disk_write_size")] + public string? DiskWriteSize { get; init; } + + [JsonInclude] + [JsonPropertyName("disk_write_size_in_bytes")] + public long? DiskWriteSizeInBytes { get; init; } + + [JsonInclude] + [JsonPropertyName("disk_writes")] + public long? DiskWrites { get; init; } + + [JsonInclude] + [JsonPropertyName("free")] + public string? Free { get; init; } + + [JsonInclude] + [JsonPropertyName("free_in_bytes")] + public long? FreeInBytes { get; init; } + + [JsonInclude] + [JsonPropertyName("mount")] + public string? Mount { get; init; } + + [JsonInclude] + [JsonPropertyName("path")] + public string? Path { get; init; } + + [JsonInclude] + [JsonPropertyName("total")] + public string? Total { get; init; } + + [JsonInclude] + [JsonPropertyName("total_in_bytes")] + public long? TotalInBytes { get; init; } + + [JsonInclude] + [JsonPropertyName("type")] + public string? Type { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/DeprecationIndexing.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/DeprecationIndexing.g.cs new file mode 100644 index 00000000000..dad2aeb4526 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/DeprecationIndexing.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.Nodes.Info +{ + public partial class DeprecationIndexing + { + [JsonInclude] + [JsonPropertyName("enabled")] + public Union Enabled { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/Discovery.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/Discovery.g.cs new file mode 100644 index 00000000000..42e515a82bb --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/Discovery.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.Nodes +{ + public partial class Discovery + { + [JsonInclude] + [JsonPropertyName("cluster_applier_stats")] + public Elastic.Clients.Elasticsearch.Nodes.ClusterAppliedStats? ClusterApplierStats { get; init; } + + [JsonInclude] + [JsonPropertyName("cluster_state_queue")] + public Elastic.Clients.Elasticsearch.Nodes.ClusterStateQueue? ClusterStateQueue { get; init; } + + [JsonInclude] + [JsonPropertyName("cluster_state_update")] + public Dictionary? ClusterStateUpdate { get; init; } + + [JsonInclude] + [JsonPropertyName("published_cluster_states")] + public Elastic.Clients.Elasticsearch.Nodes.PublishedClusterStates? PublishedClusterStates { get; init; } + + [JsonInclude] + [JsonPropertyName("serialized_cluster_states")] + public Elastic.Clients.Elasticsearch.Nodes.SerializedClusterState? SerializedClusterStates { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/ExtendedMemoryStats.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/ExtendedMemoryStats.g.cs new file mode 100644 index 00000000000..12eadc8a255 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/ExtendedMemoryStats.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.Nodes +{ + public partial class ExtendedMemoryStats : Nodes.MemoryStats + { + [JsonInclude] + [JsonPropertyName("free_percent")] + public int? FreePercent { get; init; } + + [JsonInclude] + [JsonPropertyName("used_percent")] + public int? UsedPercent { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/FileSystem.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/FileSystem.g.cs new file mode 100644 index 00000000000..8ccf7568e5b --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/FileSystem.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.Nodes +{ + public partial class FileSystem + { + [JsonInclude] + [JsonPropertyName("data")] + public IReadOnlyCollection? Data { get; init; } + + [JsonInclude] + [JsonPropertyName("io_stats")] + public Elastic.Clients.Elasticsearch.Nodes.IoStats? IoStats { get; init; } + + [JsonInclude] + [JsonPropertyName("timestamp")] + public long? Timestamp { get; init; } + + [JsonInclude] + [JsonPropertyName("total")] + public Elastic.Clients.Elasticsearch.Nodes.FileSystemTotal? Total { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/FileSystemTotal.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/FileSystemTotal.g.cs new file mode 100644 index 00000000000..b74c5c0aebc --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/FileSystemTotal.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.Nodes +{ + public partial class FileSystemTotal + { + [JsonInclude] + [JsonPropertyName("available")] + public string? Available { get; init; } + + [JsonInclude] + [JsonPropertyName("available_in_bytes")] + public long? AvailableInBytes { get; init; } + + [JsonInclude] + [JsonPropertyName("free")] + public string? Free { get; init; } + + [JsonInclude] + [JsonPropertyName("free_in_bytes")] + public long? FreeInBytes { get; init; } + + [JsonInclude] + [JsonPropertyName("total")] + public string? Total { get; init; } + + [JsonInclude] + [JsonPropertyName("total_in_bytes")] + public long? TotalInBytes { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/GarbageCollector.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/GarbageCollector.g.cs new file mode 100644 index 00000000000..15518e62bf2 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/GarbageCollector.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.Nodes +{ + public partial class GarbageCollector + { + [JsonInclude] + [JsonPropertyName("collectors")] + public Dictionary? Collectors { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/GarbageCollectorTotal.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/GarbageCollectorTotal.g.cs new file mode 100644 index 00000000000..7d5c87fb481 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/GarbageCollectorTotal.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.Nodes +{ + public partial class GarbageCollectorTotal + { + [JsonInclude] + [JsonPropertyName("collection_count")] + public long? CollectionCount { get; init; } + + [JsonInclude] + [JsonPropertyName("collection_time")] + public string? CollectionTime { get; init; } + + [JsonInclude] + [JsonPropertyName("collection_time_in_millis")] + public long? CollectionTimeInMillis { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/HotThread.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/HotThread.g.cs new file mode 100644 index 00000000000..94d4f6b410d --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/HotThread.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.Nodes.HotThreads +{ + public partial class HotThread + { + [JsonInclude] + [JsonPropertyName("hosts")] + public IReadOnlyCollection Hosts { get; init; } + + [JsonInclude] + [JsonPropertyName("node_id")] + public string NodeId { get; init; } + + [JsonInclude] + [JsonPropertyName("node_name")] + public string NodeName { get; init; } + + [JsonInclude] + [JsonPropertyName("threads")] + public IReadOnlyCollection Threads { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/Http.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/Http.g.cs new file mode 100644 index 00000000000..34f2ab18de5 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/Http.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.Nodes +{ + public partial class Http + { + [JsonInclude] + [JsonPropertyName("clients")] + public IReadOnlyCollection? Clients { get; init; } + + [JsonInclude] + [JsonPropertyName("current_open")] + public int? CurrentOpen { get; init; } + + [JsonInclude] + [JsonPropertyName("total_opened")] + public long? TotalOpened { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/IndexingPressure.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/IndexingPressure.g.cs new file mode 100644 index 00000000000..1189ba557ab --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/IndexingPressure.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.Nodes +{ + public partial class IndexingPressure + { + [JsonInclude] + [JsonPropertyName("memory")] + public Elastic.Clients.Elasticsearch.Nodes.IndexingPressureMemory? Memory { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/IndexingPressureMemory.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/IndexingPressureMemory.g.cs new file mode 100644 index 00000000000..8e41841be7b --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/IndexingPressureMemory.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.Nodes +{ + public partial class IndexingPressureMemory + { + [JsonInclude] + [JsonPropertyName("current")] + public Elastic.Clients.Elasticsearch.Nodes.PressureMemory? Current { get; init; } + + [JsonInclude] + [JsonPropertyName("limit_in_bytes")] + public long? LimitInBytes { get; init; } + + [JsonInclude] + [JsonPropertyName("total")] + public Elastic.Clients.Elasticsearch.Nodes.PressureMemory? Total { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/Ingest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/Ingest.g.cs new file mode 100644 index 00000000000..5e35fc72269 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/Ingest.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.Nodes +{ + public partial class Ingest + { + [JsonInclude] + [JsonPropertyName("pipelines")] + public Dictionary? Pipelines { get; init; } + + [JsonInclude] + [JsonPropertyName("total")] + public Elastic.Clients.Elasticsearch.Nodes.IngestTotal? Total { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/IngestTotal.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/IngestTotal.g.cs new file mode 100644 index 00000000000..09e5bce838c --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/IngestTotal.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.Nodes +{ + public partial class IngestTotal + { + [JsonInclude] + [JsonPropertyName("count")] + public long? Count { get; init; } + + [JsonInclude] + [JsonPropertyName("current")] + public long? Current { get; init; } + + [JsonInclude] + [JsonPropertyName("failed")] + public long? Failed { get; init; } + + [JsonInclude] + [JsonPropertyName("processors")] + public IReadOnlyCollection>? Processors { get; init; } + + [JsonInclude] + [JsonPropertyName("time_in_millis")] + public long? TimeInMillis { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/IoStatDevice.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/IoStatDevice.g.cs new file mode 100644 index 00000000000..ba980f07429 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/IoStatDevice.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.Nodes +{ + public partial class IoStatDevice + { + [JsonInclude] + [JsonPropertyName("device_name")] + public string? DeviceName { get; init; } + + [JsonInclude] + [JsonPropertyName("operations")] + public long? Operations { get; init; } + + [JsonInclude] + [JsonPropertyName("read_kilobytes")] + public long? ReadKilobytes { get; init; } + + [JsonInclude] + [JsonPropertyName("read_operations")] + public long? ReadOperations { get; init; } + + [JsonInclude] + [JsonPropertyName("write_kilobytes")] + public long? WriteKilobytes { get; init; } + + [JsonInclude] + [JsonPropertyName("write_operations")] + public long? WriteOperations { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/IoStats.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/IoStats.g.cs new file mode 100644 index 00000000000..f0bf6bffb3d --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/IoStats.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.Nodes +{ + public partial class IoStats + { + [JsonInclude] + [JsonPropertyName("devices")] + public IReadOnlyCollection? Devices { get; init; } + + [JsonInclude] + [JsonPropertyName("total")] + public Elastic.Clients.Elasticsearch.Nodes.IoStatDevice? Total { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/Jvm.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/Jvm.g.cs new file mode 100644 index 00000000000..0c25d61f127 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/Jvm.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.Nodes +{ + public partial class Jvm + { + [JsonInclude] + [JsonPropertyName("buffer_pools")] + public Dictionary? BufferPools { get; init; } + + [JsonInclude] + [JsonPropertyName("classes")] + public Elastic.Clients.Elasticsearch.Nodes.JvmClasses? Classes { get; init; } + + [JsonInclude] + [JsonPropertyName("gc")] + public Elastic.Clients.Elasticsearch.Nodes.GarbageCollector? Gc { get; init; } + + [JsonInclude] + [JsonPropertyName("mem")] + public Elastic.Clients.Elasticsearch.Nodes.JvmMemoryStats? Mem { get; init; } + + [JsonInclude] + [JsonPropertyName("threads")] + public Elastic.Clients.Elasticsearch.Nodes.JvmThreads? Threads { get; init; } + + [JsonInclude] + [JsonPropertyName("timestamp")] + public long? Timestamp { get; init; } + + [JsonInclude] + [JsonPropertyName("uptime")] + public string? Uptime { get; init; } + + [JsonInclude] + [JsonPropertyName("uptime_in_millis")] + public long? UptimeInMillis { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/JvmClasses.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/JvmClasses.g.cs new file mode 100644 index 00000000000..421653c9481 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/JvmClasses.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.Nodes +{ + public partial class JvmClasses + { + [JsonInclude] + [JsonPropertyName("current_loaded_count")] + public long? CurrentLoadedCount { get; init; } + + [JsonInclude] + [JsonPropertyName("total_loaded_count")] + public long? TotalLoadedCount { get; init; } + + [JsonInclude] + [JsonPropertyName("total_unloaded_count")] + public long? TotalUnloadedCount { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/JvmMemoryStats.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/JvmMemoryStats.g.cs new file mode 100644 index 00000000000..c58f644bdbe --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/JvmMemoryStats.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.Nodes +{ + public partial class JvmMemoryStats + { + [JsonInclude] + [JsonPropertyName("heap_committed_in_bytes")] + public long? HeapCommittedInBytes { get; init; } + + [JsonInclude] + [JsonPropertyName("heap_max_in_bytes")] + public long? HeapMaxInBytes { get; init; } + + [JsonInclude] + [JsonPropertyName("heap_used_in_bytes")] + public long? HeapUsedInBytes { get; init; } + + [JsonInclude] + [JsonPropertyName("heap_used_percent")] + public long? HeapUsedPercent { get; init; } + + [JsonInclude] + [JsonPropertyName("non_heap_committed_in_bytes")] + public long? NonHeapCommittedInBytes { get; init; } + + [JsonInclude] + [JsonPropertyName("non_heap_used_in_bytes")] + public long? NonHeapUsedInBytes { get; init; } + + [JsonInclude] + [JsonPropertyName("pools")] + public Dictionary? Pools { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/JvmThreads.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/JvmThreads.g.cs new file mode 100644 index 00000000000..93d8c07c812 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/JvmThreads.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.Nodes +{ + public partial class JvmThreads + { + [JsonInclude] + [JsonPropertyName("count")] + public long? Count { get; init; } + + [JsonInclude] + [JsonPropertyName("peak_count")] + public long? PeakCount { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/KeyedProcessor.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/KeyedProcessor.g.cs new file mode 100644 index 00000000000..8d17f182a4e --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/KeyedProcessor.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.Nodes +{ + public partial class KeyedProcessor + { + [JsonInclude] + [JsonPropertyName("stats")] + public Elastic.Clients.Elasticsearch.Nodes.Processor? Stats { get; init; } + + [JsonInclude] + [JsonPropertyName("type")] + public string? Type { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/MemoryStats.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/MemoryStats.g.cs new file mode 100644 index 00000000000..432ba98ce0a --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/MemoryStats.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.Nodes +{ + public partial class MemoryStats + { + [JsonInclude] + [JsonPropertyName("adjusted_total_in_bytes")] + public long? AdjustedTotalInBytes { get; init; } + + [JsonInclude] + [JsonPropertyName("free_in_bytes")] + public long? FreeInBytes { get; init; } + + [JsonInclude] + [JsonPropertyName("resident")] + public string? Resident { get; init; } + + [JsonInclude] + [JsonPropertyName("resident_in_bytes")] + public long? ResidentInBytes { get; init; } + + [JsonInclude] + [JsonPropertyName("share")] + public string? Share { get; init; } + + [JsonInclude] + [JsonPropertyName("share_in_bytes")] + public long? ShareInBytes { get; init; } + + [JsonInclude] + [JsonPropertyName("total_in_bytes")] + public long? TotalInBytes { get; init; } + + [JsonInclude] + [JsonPropertyName("total_virtual")] + public string? TotalVirtual { get; init; } + + [JsonInclude] + [JsonPropertyName("total_virtual_in_bytes")] + public long? TotalVirtualInBytes { get; init; } + + [JsonInclude] + [JsonPropertyName("used_in_bytes")] + public long? UsedInBytes { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeBufferPool.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeBufferPool.g.cs new file mode 100644 index 00000000000..7ead10ecec7 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeBufferPool.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.Nodes +{ + public partial class NodeBufferPool + { + [JsonInclude] + [JsonPropertyName("count")] + public long? Count { get; init; } + + [JsonInclude] + [JsonPropertyName("total_capacity")] + public string? TotalCapacity { get; init; } + + [JsonInclude] + [JsonPropertyName("total_capacity_in_bytes")] + public long? TotalCapacityInBytes { get; init; } + + [JsonInclude] + [JsonPropertyName("used")] + public string? Used { get; init; } + + [JsonInclude] + [JsonPropertyName("used_in_bytes")] + public long? UsedInBytes { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfo.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfo.g.cs new file mode 100644 index 00000000000..3a807886ee7 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfo.g.cs @@ -0,0 +1,121 @@ +// 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.Nodes.Info +{ + public partial class NodeInfo + { + [JsonInclude] + [JsonPropertyName("attributes")] + public Dictionary Attributes { get; init; } + + [JsonInclude] + [JsonPropertyName("build_flavor")] + public string BuildFlavor { get; init; } + + [JsonInclude] + [JsonPropertyName("build_hash")] + public string BuildHash { get; init; } + + [JsonInclude] + [JsonPropertyName("build_type")] + public string BuildType { get; init; } + + [JsonInclude] + [JsonPropertyName("host")] + public string Host { get; init; } + + [JsonInclude] + [JsonPropertyName("http")] + public Elastic.Clients.Elasticsearch.Nodes.Info.NodeInfoHttp? Http { get; init; } + + [JsonInclude] + [JsonPropertyName("ingest")] + public Elastic.Clients.Elasticsearch.Nodes.Info.NodeInfoIngest? Ingest { get; init; } + + [JsonInclude] + [JsonPropertyName("ip")] + public string Ip { get; init; } + + [JsonInclude] + [JsonPropertyName("jvm")] + public Elastic.Clients.Elasticsearch.Nodes.Info.NodeJvmInfo? Jvm { get; init; } + + [JsonInclude] + [JsonPropertyName("modules")] + public IReadOnlyCollection? Modules { get; init; } + + [JsonInclude] + [JsonPropertyName("name")] + public string Name { get; init; } + + [JsonInclude] + [JsonPropertyName("network")] + public Elastic.Clients.Elasticsearch.Nodes.Info.NodeInfoNetwork? Network { get; init; } + + [JsonInclude] + [JsonPropertyName("os")] + public Elastic.Clients.Elasticsearch.Nodes.Info.NodeOperatingSystemInfo? Os { get; init; } + + [JsonInclude] + [JsonPropertyName("plugins")] + public IReadOnlyCollection? Plugins { get; init; } + + [JsonInclude] + [JsonPropertyName("process")] + public Elastic.Clients.Elasticsearch.Nodes.Info.NodeProcessInfo? Process { get; init; } + + [JsonInclude] + [JsonPropertyName("roles")] + public IReadOnlyCollection Roles { get; init; } + + [JsonInclude] + [JsonPropertyName("settings")] + public Elastic.Clients.Elasticsearch.Nodes.Info.NodeInfoSettings? Settings { get; init; } + + [JsonInclude] + [JsonPropertyName("thread_pool")] + public Dictionary? ThreadPool { get; init; } + + [JsonInclude] + [JsonPropertyName("total_indexing_buffer")] + public long? TotalIndexingBuffer { get; init; } + + [JsonInclude] + [JsonPropertyName("total_indexing_buffer_in_bytes")] + public Elastic.Clients.Elasticsearch.ByteSize? TotalIndexingBufferInBytes { get; init; } + + [JsonInclude] + [JsonPropertyName("transport")] + public Elastic.Clients.Elasticsearch.Nodes.Info.NodeInfoTransport? Transport { get; init; } + + [JsonInclude] + [JsonPropertyName("transport_address")] + public string TransportAddress { 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/Nodes/NodeInfoAction.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoAction.g.cs new file mode 100644 index 00000000000..3075cfc982a --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoAction.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.Nodes.Info +{ + public partial class NodeInfoAction + { + [JsonInclude] + [JsonPropertyName("destructive_requires_name")] + public string DestructiveRequiresName { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoBootstrap.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoBootstrap.g.cs new file mode 100644 index 00000000000..4e0c8cd99c8 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoBootstrap.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.Nodes.Info +{ + public partial class NodeInfoBootstrap + { + [JsonInclude] + [JsonPropertyName("memory_lock")] + public string MemoryLock { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoClient.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoClient.g.cs new file mode 100644 index 00000000000..47cdeaf08b6 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoClient.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.Nodes.Info +{ + public partial class NodeInfoClient + { + [JsonInclude] + [JsonPropertyName("type")] + public string Type { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoDiscover.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoDiscover.g.cs new file mode 100644 index 00000000000..fe758e48c2b --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoDiscover.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.Nodes.Info +{ + public partial class NodeInfoDiscover + { + [JsonInclude] + [JsonPropertyName("seed_hosts")] + public string SeedHosts { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoHttp.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoHttp.g.cs new file mode 100644 index 00000000000..bb1267f5399 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoHttp.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.Nodes.Info +{ + public partial class NodeInfoHttp + { + [JsonInclude] + [JsonPropertyName("bound_address")] + public IReadOnlyCollection BoundAddress { get; init; } + + [JsonInclude] + [JsonPropertyName("max_content_length")] + public Elastic.Clients.Elasticsearch.ByteSize? MaxContentLength { get; init; } + + [JsonInclude] + [JsonPropertyName("max_content_length_in_bytes")] + public long MaxContentLengthInBytes { get; init; } + + [JsonInclude] + [JsonPropertyName("publish_address")] + public string PublishAddress { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoIngest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoIngest.g.cs new file mode 100644 index 00000000000..35989223657 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoIngest.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.Nodes.Info +{ + public partial class NodeInfoIngest + { + [JsonInclude] + [JsonPropertyName("processors")] + public IReadOnlyCollection Processors { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoIngestDownloader.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoIngestDownloader.g.cs new file mode 100644 index 00000000000..8f6216fdc3c --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoIngestDownloader.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.Nodes.Info +{ + public partial class NodeInfoIngestDownloader + { + [JsonInclude] + [JsonPropertyName("enabled")] + public string Enabled { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoIngestInfo.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoIngestInfo.g.cs new file mode 100644 index 00000000000..8de4f3dd499 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoIngestInfo.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.Nodes.Info +{ + public partial class NodeInfoIngestInfo + { + [JsonInclude] + [JsonPropertyName("downloader")] + public Elastic.Clients.Elasticsearch.Nodes.Info.NodeInfoIngestDownloader Downloader { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoIngestProcessor.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoIngestProcessor.g.cs new file mode 100644 index 00000000000..b1e537cdea8 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoIngestProcessor.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.Nodes.Info +{ + public partial class NodeInfoIngestProcessor + { + [JsonInclude] + [JsonPropertyName("type")] + public string Type { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoJvmMemory.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoJvmMemory.g.cs new file mode 100644 index 00000000000..ec746c76584 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoJvmMemory.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.Nodes.Info +{ + public partial class NodeInfoJvmMemory + { + [JsonInclude] + [JsonPropertyName("direct_max")] + public Elastic.Clients.Elasticsearch.ByteSize? DirectMax { get; init; } + + [JsonInclude] + [JsonPropertyName("direct_max_in_bytes")] + public long DirectMaxInBytes { get; init; } + + [JsonInclude] + [JsonPropertyName("heap_init")] + public Elastic.Clients.Elasticsearch.ByteSize? HeapInit { get; init; } + + [JsonInclude] + [JsonPropertyName("heap_init_in_bytes")] + public long HeapInitInBytes { get; init; } + + [JsonInclude] + [JsonPropertyName("heap_max")] + public Elastic.Clients.Elasticsearch.ByteSize? HeapMax { get; init; } + + [JsonInclude] + [JsonPropertyName("heap_max_in_bytes")] + public long HeapMaxInBytes { get; init; } + + [JsonInclude] + [JsonPropertyName("non_heap_init")] + public Elastic.Clients.Elasticsearch.ByteSize? NonHeapInit { get; init; } + + [JsonInclude] + [JsonPropertyName("non_heap_init_in_bytes")] + public long NonHeapInitInBytes { get; init; } + + [JsonInclude] + [JsonPropertyName("non_heap_max")] + public Elastic.Clients.Elasticsearch.ByteSize? NonHeapMax { get; init; } + + [JsonInclude] + [JsonPropertyName("non_heap_max_in_bytes")] + public long NonHeapMaxInBytes { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoMemory.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoMemory.g.cs new file mode 100644 index 00000000000..4ced50924db --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoMemory.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.Nodes.Info +{ + public partial class NodeInfoMemory + { + [JsonInclude] + [JsonPropertyName("total")] + public string Total { get; init; } + + [JsonInclude] + [JsonPropertyName("total_in_bytes")] + public long TotalInBytes { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoNetwork.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoNetwork.g.cs new file mode 100644 index 00000000000..0b40a89b75d --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoNetwork.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.Nodes.Info +{ + public partial class NodeInfoNetwork + { + [JsonInclude] + [JsonPropertyName("primary_interface")] + public Elastic.Clients.Elasticsearch.Nodes.Info.NodeInfoNetworkInterface PrimaryInterface { get; init; } + + [JsonInclude] + [JsonPropertyName("refresh_interval")] + public int RefreshInterval { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoNetworkInterface.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoNetworkInterface.g.cs new file mode 100644 index 00000000000..58f78ac806c --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoNetworkInterface.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.Nodes.Info +{ + public partial class NodeInfoNetworkInterface + { + [JsonInclude] + [JsonPropertyName("address")] + public string Address { get; init; } + + [JsonInclude] + [JsonPropertyName("mac_address")] + public string MacAddress { get; init; } + + [JsonInclude] + [JsonPropertyName("name")] + public string Name { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoOSCPU.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoOSCPU.g.cs new file mode 100644 index 00000000000..3d6d2f7f9dd --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoOSCPU.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.Nodes.Info +{ + public partial class NodeInfoOSCPU + { + [JsonInclude] + [JsonPropertyName("cache_size")] + public string CacheSize { get; init; } + + [JsonInclude] + [JsonPropertyName("cache_size_in_bytes")] + public int CacheSizeInBytes { get; init; } + + [JsonInclude] + [JsonPropertyName("cores_per_socket")] + public int CoresPerSocket { get; init; } + + [JsonInclude] + [JsonPropertyName("mhz")] + public int Mhz { get; init; } + + [JsonInclude] + [JsonPropertyName("model")] + public string Model { get; init; } + + [JsonInclude] + [JsonPropertyName("total_cores")] + public int TotalCores { get; init; } + + [JsonInclude] + [JsonPropertyName("total_sockets")] + public int TotalSockets { get; init; } + + [JsonInclude] + [JsonPropertyName("vendor")] + public string Vendor { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoPath.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoPath.g.cs new file mode 100644 index 00000000000..0570cfee33b --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoPath.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.Nodes.Info +{ + public partial class NodeInfoPath + { + [JsonInclude] + [JsonPropertyName("data")] + public IReadOnlyCollection? Data { get; init; } + + [JsonInclude] + [JsonPropertyName("home")] + public string Home { get; init; } + + [JsonInclude] + [JsonPropertyName("logs")] + public string Logs { get; init; } + + [JsonInclude] + [JsonPropertyName("repo")] + public IReadOnlyCollection Repo { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoRepositories.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoRepositories.g.cs new file mode 100644 index 00000000000..4ae93bde323 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoRepositories.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.Nodes.Info +{ + public partial class NodeInfoRepositories + { + [JsonInclude] + [JsonPropertyName("url")] + public Elastic.Clients.Elasticsearch.Nodes.Info.NodeInfoRepositoriesUrl Url { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoRepositoriesUrl.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoRepositoriesUrl.g.cs new file mode 100644 index 00000000000..262ae384aba --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoRepositoriesUrl.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.Nodes.Info +{ + public partial class NodeInfoRepositoriesUrl + { + [JsonInclude] + [JsonPropertyName("allowed_urls")] + public string AllowedUrls { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoScript.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoScript.g.cs new file mode 100644 index 00000000000..818993d5a5e --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoScript.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.Nodes.Info +{ + public partial class NodeInfoScript + { + [JsonInclude] + [JsonPropertyName("allowed_types")] + public string AllowedTypes { get; init; } + + [JsonInclude] + [JsonPropertyName("disable_max_compilations_rate")] + public string DisableMaxCompilationsRate { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoSearch.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoSearch.g.cs new file mode 100644 index 00000000000..c33b53d1c53 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoSearch.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.Nodes.Info +{ + public partial class NodeInfoSearch + { + [JsonInclude] + [JsonPropertyName("remote")] + public Elastic.Clients.Elasticsearch.Nodes.Info.NodeInfoSearchRemote Remote { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoSearchRemote.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoSearchRemote.g.cs new file mode 100644 index 00000000000..0828d2be667 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoSearchRemote.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.Nodes.Info +{ + public partial class NodeInfoSearchRemote + { + [JsonInclude] + [JsonPropertyName("connect")] + public string Connect { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoSettings.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoSettings.g.cs new file mode 100644 index 00000000000..4507012a530 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoSettings.g.cs @@ -0,0 +1,89 @@ +// 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.Nodes.Info +{ + public partial class NodeInfoSettings + { + [JsonInclude] + [JsonPropertyName("action")] + public Elastic.Clients.Elasticsearch.Nodes.Info.NodeInfoAction? Action { get; init; } + + [JsonInclude] + [JsonPropertyName("bootstrap")] + public Elastic.Clients.Elasticsearch.Nodes.Info.NodeInfoBootstrap? Bootstrap { get; init; } + + [JsonInclude] + [JsonPropertyName("client")] + public Elastic.Clients.Elasticsearch.Nodes.Info.NodeInfoClient Client { get; init; } + + [JsonInclude] + [JsonPropertyName("cluster")] + public Elastic.Clients.Elasticsearch.Nodes.Info.NodeInfoSettingsCluster Cluster { get; init; } + + [JsonInclude] + [JsonPropertyName("discovery")] + public Elastic.Clients.Elasticsearch.Nodes.Info.NodeInfoDiscover? Discovery { get; init; } + + [JsonInclude] + [JsonPropertyName("http")] + public Elastic.Clients.Elasticsearch.Nodes.Info.NodeInfoSettingsHttp Http { get; init; } + + [JsonInclude] + [JsonPropertyName("ingest")] + public Elastic.Clients.Elasticsearch.Nodes.Info.NodeInfoSettingsIngest? Ingest { get; init; } + + [JsonInclude] + [JsonPropertyName("network")] + public Elastic.Clients.Elasticsearch.Nodes.Info.NodeInfoSettingsNetwork? Network { get; init; } + + [JsonInclude] + [JsonPropertyName("node")] + public Elastic.Clients.Elasticsearch.Nodes.Info.NodeInfoSettingsNode Node { get; init; } + + [JsonInclude] + [JsonPropertyName("path")] + public Elastic.Clients.Elasticsearch.Nodes.Info.NodeInfoPath Path { get; init; } + + [JsonInclude] + [JsonPropertyName("repositories")] + public Elastic.Clients.Elasticsearch.Nodes.Info.NodeInfoRepositories? Repositories { get; init; } + + [JsonInclude] + [JsonPropertyName("script")] + public Elastic.Clients.Elasticsearch.Nodes.Info.NodeInfoScript? Script { get; init; } + + [JsonInclude] + [JsonPropertyName("search")] + public Elastic.Clients.Elasticsearch.Nodes.Info.NodeInfoSearch? Search { get; init; } + + [JsonInclude] + [JsonPropertyName("transport")] + public Elastic.Clients.Elasticsearch.Nodes.Info.NodeInfoSettingsTransport Transport { get; init; } + + [JsonInclude] + [JsonPropertyName("xpack")] + public Elastic.Clients.Elasticsearch.Nodes.Info.NodeInfoXpack? Xpack { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoSettingsCluster.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoSettingsCluster.g.cs new file mode 100644 index 00000000000..be34b7e80bd --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoSettingsCluster.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.Nodes.Info +{ + public partial class NodeInfoSettingsCluster + { + [JsonInclude] + [JsonPropertyName("deprecation_indexing")] + public Elastic.Clients.Elasticsearch.Nodes.Info.DeprecationIndexing? DeprecationIndexing { get; init; } + + [JsonInclude] + [JsonPropertyName("election")] + public Elastic.Clients.Elasticsearch.Nodes.Info.NodeInfoSettingsClusterElection Election { get; init; } + + [JsonInclude] + [JsonPropertyName("initial_master_nodes")] + public string? InitialMasterNodes { get; init; } + + [JsonInclude] + [JsonPropertyName("name")] + public string Name { get; init; } + + [JsonInclude] + [JsonPropertyName("routing")] + public Elastic.Clients.Elasticsearch.IndexManagement.IndexRouting? Routing { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoSettingsClusterElection.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoSettingsClusterElection.g.cs new file mode 100644 index 00000000000..5a49dd5c103 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoSettingsClusterElection.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.Nodes.Info +{ + public partial class NodeInfoSettingsClusterElection + { + [JsonInclude] + [JsonPropertyName("strategy")] + public string Strategy { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoSettingsHttp.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoSettingsHttp.g.cs new file mode 100644 index 00000000000..7e12ebd038b --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoSettingsHttp.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.Nodes.Info +{ + public partial class NodeInfoSettingsHttp + { + [JsonInclude] + [JsonPropertyName("compression")] + public Union? Compression { get; init; } + + [JsonInclude] + [JsonPropertyName("port")] + public Union? Port { get; init; } + + [JsonInclude] + [JsonPropertyName("type")] + public Elastic.Clients.Elasticsearch.Nodes.Info.NodeInfoSettingsHttpType Type { get; init; } + + [JsonInclude] + [JsonPropertyName("type.default")] + public string? TypeDefault { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoSettingsHttpType.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoSettingsHttpType.g.cs new file mode 100644 index 00000000000..3e1d2544b2a --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoSettingsHttpType.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.Nodes.Info +{ + public partial class NodeInfoSettingsHttpType + { + [JsonInclude] + [JsonPropertyName("default")] + public string Default { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoSettingsIngest.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoSettingsIngest.g.cs new file mode 100644 index 00000000000..3e10a46dbca --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoSettingsIngest.g.cs @@ -0,0 +1,165 @@ +// 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.Nodes.Info +{ + public partial class NodeInfoSettingsIngest + { + [JsonInclude] + [JsonPropertyName("append")] + public Elastic.Clients.Elasticsearch.Nodes.Info.NodeInfoIngestInfo? Append { get; init; } + + [JsonInclude] + [JsonPropertyName("attachment")] + public Elastic.Clients.Elasticsearch.Nodes.Info.NodeInfoIngestInfo? Attachment { get; init; } + + [JsonInclude] + [JsonPropertyName("bytes")] + public Elastic.Clients.Elasticsearch.Nodes.Info.NodeInfoIngestInfo? Bytes { get; init; } + + [JsonInclude] + [JsonPropertyName("circle")] + public Elastic.Clients.Elasticsearch.Nodes.Info.NodeInfoIngestInfo? Circle { get; init; } + + [JsonInclude] + [JsonPropertyName("convert")] + public Elastic.Clients.Elasticsearch.Nodes.Info.NodeInfoIngestInfo? Convert { get; init; } + + [JsonInclude] + [JsonPropertyName("csv")] + public Elastic.Clients.Elasticsearch.Nodes.Info.NodeInfoIngestInfo? Csv { get; init; } + + [JsonInclude] + [JsonPropertyName("date")] + public Elastic.Clients.Elasticsearch.Nodes.Info.NodeInfoIngestInfo? Date { get; init; } + + [JsonInclude] + [JsonPropertyName("date_index_name")] + public Elastic.Clients.Elasticsearch.Nodes.Info.NodeInfoIngestInfo? DateIndexName { get; init; } + + [JsonInclude] + [JsonPropertyName("dissect")] + public Elastic.Clients.Elasticsearch.Nodes.Info.NodeInfoIngestInfo? Dissect { get; init; } + + [JsonInclude] + [JsonPropertyName("dot_expander")] + public Elastic.Clients.Elasticsearch.Nodes.Info.NodeInfoIngestInfo? DotExpander { get; init; } + + [JsonInclude] + [JsonPropertyName("drop")] + public Elastic.Clients.Elasticsearch.Nodes.Info.NodeInfoIngestInfo? Drop { get; init; } + + [JsonInclude] + [JsonPropertyName("enrich")] + public Elastic.Clients.Elasticsearch.Nodes.Info.NodeInfoIngestInfo? Enrich { get; init; } + + [JsonInclude] + [JsonPropertyName("fail")] + public Elastic.Clients.Elasticsearch.Nodes.Info.NodeInfoIngestInfo? Fail { get; init; } + + [JsonInclude] + [JsonPropertyName("foreach")] + public Elastic.Clients.Elasticsearch.Nodes.Info.NodeInfoIngestInfo? Foreach { get; init; } + + [JsonInclude] + [JsonPropertyName("geoip")] + public Elastic.Clients.Elasticsearch.Nodes.Info.NodeInfoIngestInfo? Geoip { get; init; } + + [JsonInclude] + [JsonPropertyName("grok")] + public Elastic.Clients.Elasticsearch.Nodes.Info.NodeInfoIngestInfo? Grok { get; init; } + + [JsonInclude] + [JsonPropertyName("gsub")] + public Elastic.Clients.Elasticsearch.Nodes.Info.NodeInfoIngestInfo? Gsub { get; init; } + + [JsonInclude] + [JsonPropertyName("inference")] + public Elastic.Clients.Elasticsearch.Nodes.Info.NodeInfoIngestInfo? Inference { get; init; } + + [JsonInclude] + [JsonPropertyName("join")] + public Elastic.Clients.Elasticsearch.Nodes.Info.NodeInfoIngestInfo? Join { get; init; } + + [JsonInclude] + [JsonPropertyName("json")] + public Elastic.Clients.Elasticsearch.Nodes.Info.NodeInfoIngestInfo? Json { get; init; } + + [JsonInclude] + [JsonPropertyName("kv")] + public Elastic.Clients.Elasticsearch.Nodes.Info.NodeInfoIngestInfo? Kv { get; init; } + + [JsonInclude] + [JsonPropertyName("lowercase")] + public Elastic.Clients.Elasticsearch.Nodes.Info.NodeInfoIngestInfo? Lowercase { get; init; } + + [JsonInclude] + [JsonPropertyName("pipeline")] + public Elastic.Clients.Elasticsearch.Nodes.Info.NodeInfoIngestInfo? Pipeline { get; init; } + + [JsonInclude] + [JsonPropertyName("remove")] + public Elastic.Clients.Elasticsearch.Nodes.Info.NodeInfoIngestInfo? Remove { get; init; } + + [JsonInclude] + [JsonPropertyName("rename")] + public Elastic.Clients.Elasticsearch.Nodes.Info.NodeInfoIngestInfo? Rename { get; init; } + + [JsonInclude] + [JsonPropertyName("script")] + public Elastic.Clients.Elasticsearch.Nodes.Info.NodeInfoIngestInfo? Script { get; init; } + + [JsonInclude] + [JsonPropertyName("set")] + public Elastic.Clients.Elasticsearch.Nodes.Info.NodeInfoIngestInfo? Set { get; init; } + + [JsonInclude] + [JsonPropertyName("set_security_user")] + public Elastic.Clients.Elasticsearch.Nodes.Info.NodeInfoIngestInfo? SetSecurityUser { get; init; } + + [JsonInclude] + [JsonPropertyName("sort")] + public Elastic.Clients.Elasticsearch.Nodes.Info.NodeInfoIngestInfo? Sort { get; init; } + + [JsonInclude] + [JsonPropertyName("split")] + public Elastic.Clients.Elasticsearch.Nodes.Info.NodeInfoIngestInfo? Split { get; init; } + + [JsonInclude] + [JsonPropertyName("trim")] + public Elastic.Clients.Elasticsearch.Nodes.Info.NodeInfoIngestInfo? Trim { get; init; } + + [JsonInclude] + [JsonPropertyName("uppercase")] + public Elastic.Clients.Elasticsearch.Nodes.Info.NodeInfoIngestInfo? Uppercase { get; init; } + + [JsonInclude] + [JsonPropertyName("urldecode")] + public Elastic.Clients.Elasticsearch.Nodes.Info.NodeInfoIngestInfo? Urldecode { get; init; } + + [JsonInclude] + [JsonPropertyName("user_agent")] + public Elastic.Clients.Elasticsearch.Nodes.Info.NodeInfoIngestInfo? UserAgent { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoSettingsNetwork.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoSettingsNetwork.g.cs new file mode 100644 index 00000000000..5271136f18d --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoSettingsNetwork.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.Nodes.Info +{ + public partial class NodeInfoSettingsNetwork + { + [JsonInclude] + [JsonPropertyName("host")] + public string Host { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoSettingsNode.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoSettingsNode.g.cs new file mode 100644 index 00000000000..bbe59f8025e --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoSettingsNode.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.Nodes.Info +{ + public partial class NodeInfoSettingsNode + { + [JsonInclude] + [JsonPropertyName("attr")] + public Dictionary Attr { get; init; } + + [JsonInclude] + [JsonPropertyName("max_local_storage_nodes")] + public string? MaxLocalStorageNodes { get; init; } + + [JsonInclude] + [JsonPropertyName("name")] + public string Name { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoSettingsTransport.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoSettingsTransport.g.cs new file mode 100644 index 00000000000..7e2f7b9bf2b --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoSettingsTransport.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.Nodes.Info +{ + public partial class NodeInfoSettingsTransport + { + [JsonInclude] + [JsonPropertyName("features")] + public Elastic.Clients.Elasticsearch.Nodes.Info.NodeInfoSettingsTransportFeatures? Features { get; init; } + + [JsonInclude] + [JsonPropertyName("type")] + public Elastic.Clients.Elasticsearch.Nodes.Info.NodeInfoSettingsTransportType Type { get; init; } + + [JsonInclude] + [JsonPropertyName("type.default")] + public string? TypeDefault { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoSettingsTransportFeatures.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoSettingsTransportFeatures.g.cs new file mode 100644 index 00000000000..29e64e4ff29 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoSettingsTransportFeatures.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.Nodes.Info +{ + public partial class NodeInfoSettingsTransportFeatures + { + [JsonInclude] + [JsonPropertyName("x-pack")] + public string XPack { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoSettingsTransportType.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoSettingsTransportType.g.cs new file mode 100644 index 00000000000..47f7f192fe6 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoSettingsTransportType.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.Nodes.Info +{ + public partial class NodeInfoSettingsTransportType + { + [JsonInclude] + [JsonPropertyName("default")] + public string Default { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoTransport.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoTransport.g.cs new file mode 100644 index 00000000000..7db182caf7a --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoTransport.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.Nodes.Info +{ + public partial class NodeInfoTransport + { + [JsonInclude] + [JsonPropertyName("bound_address")] + public IReadOnlyCollection BoundAddress { get; init; } + + [JsonInclude] + [JsonPropertyName("profiles")] + public Dictionary Profiles { get; init; } + + [JsonInclude] + [JsonPropertyName("publish_address")] + public string PublishAddress { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoXpack.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoXpack.g.cs new file mode 100644 index 00000000000..b630ba12cf9 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoXpack.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.Nodes.Info +{ + public partial class NodeInfoXpack + { + [JsonInclude] + [JsonPropertyName("license")] + public Elastic.Clients.Elasticsearch.Nodes.Info.NodeInfoXpackLicense? License { get; init; } + + [JsonInclude] + [JsonPropertyName("notification")] + public Dictionary? Notification { get; init; } + + [JsonInclude] + [JsonPropertyName("security")] + public Elastic.Clients.Elasticsearch.Nodes.Info.NodeInfoXpackSecurity Security { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoXpackLicense.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoXpackLicense.g.cs new file mode 100644 index 00000000000..811f1f38087 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoXpackLicense.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.Nodes.Info +{ + public partial class NodeInfoXpackLicense + { + [JsonInclude] + [JsonPropertyName("self_generated")] + public Elastic.Clients.Elasticsearch.Nodes.Info.NodeInfoXpackLicenseType SelfGenerated { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoXpackLicenseType.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoXpackLicenseType.g.cs new file mode 100644 index 00000000000..a63a558f454 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoXpackLicenseType.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.Nodes.Info +{ + public partial class NodeInfoXpackLicenseType + { + [JsonInclude] + [JsonPropertyName("type")] + public string Type { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoXpackSecurity.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoXpackSecurity.g.cs new file mode 100644 index 00000000000..d26a632993d --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoXpackSecurity.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.Nodes.Info +{ + public partial class NodeInfoXpackSecurity + { + [JsonInclude] + [JsonPropertyName("authc")] + public Elastic.Clients.Elasticsearch.Nodes.Info.NodeInfoXpackSecurityAuthc? Authc { get; init; } + + [JsonInclude] + [JsonPropertyName("enabled")] + public string Enabled { get; init; } + + [JsonInclude] + [JsonPropertyName("http")] + public Elastic.Clients.Elasticsearch.Nodes.Info.NodeInfoXpackSecuritySsl Http { get; init; } + + [JsonInclude] + [JsonPropertyName("transport")] + public Elastic.Clients.Elasticsearch.Nodes.Info.NodeInfoXpackSecuritySsl? Transport { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoXpackSecurityAuthc.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoXpackSecurityAuthc.g.cs new file mode 100644 index 00000000000..51fabf0922e --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoXpackSecurityAuthc.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.Nodes.Info +{ + public partial class NodeInfoXpackSecurityAuthc + { + [JsonInclude] + [JsonPropertyName("realms")] + public Elastic.Clients.Elasticsearch.Nodes.Info.NodeInfoXpackSecurityAuthcRealms Realms { get; init; } + + [JsonInclude] + [JsonPropertyName("token")] + public Elastic.Clients.Elasticsearch.Nodes.Info.NodeInfoXpackSecurityAuthcToken Token { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoXpackSecurityAuthcRealms.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoXpackSecurityAuthcRealms.g.cs new file mode 100644 index 00000000000..1db5078908e --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoXpackSecurityAuthcRealms.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.Nodes.Info +{ + public partial class NodeInfoXpackSecurityAuthcRealms + { + [JsonInclude] + [JsonPropertyName("file")] + public Dictionary? File { get; init; } + + [JsonInclude] + [JsonPropertyName("native")] + public Dictionary? Native { get; init; } + + [JsonInclude] + [JsonPropertyName("pki")] + public Dictionary? Pki { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoXpackSecurityAuthcRealmsStatus.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoXpackSecurityAuthcRealmsStatus.g.cs new file mode 100644 index 00000000000..ef29b33b576 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoXpackSecurityAuthcRealmsStatus.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.Nodes.Info +{ + public partial class NodeInfoXpackSecurityAuthcRealmsStatus + { + [JsonInclude] + [JsonPropertyName("enabled")] + public string? Enabled { get; init; } + + [JsonInclude] + [JsonPropertyName("order")] + public string Order { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoXpackSecurityAuthcToken.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoXpackSecurityAuthcToken.g.cs new file mode 100644 index 00000000000..45fba8d62f0 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoXpackSecurityAuthcToken.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.Nodes.Info +{ + public partial class NodeInfoXpackSecurityAuthcToken + { + [JsonInclude] + [JsonPropertyName("enabled")] + public string Enabled { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoXpackSecuritySsl.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoXpackSecuritySsl.g.cs new file mode 100644 index 00000000000..949e27511c5 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeInfoXpackSecuritySsl.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.Nodes.Info +{ + public partial class NodeInfoXpackSecuritySsl + { + [JsonInclude] + [JsonPropertyName("ssl")] + public Dictionary Ssl { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeJvmInfo.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeJvmInfo.g.cs new file mode 100644 index 00000000000..ab6376ae680 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeJvmInfo.g.cs @@ -0,0 +1,81 @@ +// 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.Nodes.Info +{ + public partial class NodeJvmInfo + { + [JsonInclude] + [JsonPropertyName("bundled_jdk")] + public bool BundledJdk { get; init; } + + [JsonInclude] + [JsonPropertyName("gc_collectors")] + public IReadOnlyCollection GcCollectors { get; init; } + + [JsonInclude] + [JsonPropertyName("input_arguments")] + public IReadOnlyCollection InputArguments { get; init; } + + [JsonInclude] + [JsonPropertyName("mem")] + public Elastic.Clients.Elasticsearch.Nodes.Info.NodeInfoJvmMemory Mem { get; init; } + + [JsonInclude] + [JsonPropertyName("memory_pools")] + public IReadOnlyCollection MemoryPools { get; init; } + + [JsonInclude] + [JsonPropertyName("pid")] + public int Pid { get; init; } + + [JsonInclude] + [JsonPropertyName("start_time_in_millis")] + public long StartTimeInMillis { get; init; } + + [JsonInclude] + [JsonPropertyName("using_bundled_jdk")] + public bool UsingBundledJdk { get; init; } + + [JsonInclude] + [JsonPropertyName("using_compressed_ordinary_object_pointers")] + public Union? UsingCompressedOrdinaryObjectPointers { get; init; } + + [JsonInclude] + [JsonPropertyName("version")] + public string Version { get; init; } + + [JsonInclude] + [JsonPropertyName("vm_name")] + public string VmName { get; init; } + + [JsonInclude] + [JsonPropertyName("vm_vendor")] + public string VmVendor { get; init; } + + [JsonInclude] + [JsonPropertyName("vm_version")] + public string VmVersion { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeOperatingSystemInfo.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeOperatingSystemInfo.g.cs new file mode 100644 index 00000000000..ddb856c8420 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeOperatingSystemInfo.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.Nodes.Info +{ + public partial class NodeOperatingSystemInfo + { + [JsonInclude] + [JsonPropertyName("allocated_processors")] + public int? AllocatedProcessors { get; init; } + + [JsonInclude] + [JsonPropertyName("arch")] + public string Arch { get; init; } + + [JsonInclude] + [JsonPropertyName("available_processors")] + public int AvailableProcessors { get; init; } + + [JsonInclude] + [JsonPropertyName("cpu")] + public Elastic.Clients.Elasticsearch.Nodes.Info.NodeInfoOSCPU? Cpu { get; init; } + + [JsonInclude] + [JsonPropertyName("mem")] + public Elastic.Clients.Elasticsearch.Nodes.Info.NodeInfoMemory? Mem { get; init; } + + [JsonInclude] + [JsonPropertyName("name")] + public string Name { get; init; } + + [JsonInclude] + [JsonPropertyName("pretty_name")] + public string PrettyName { get; init; } + + [JsonInclude] + [JsonPropertyName("refresh_interval_in_millis")] + public int RefreshIntervalInMillis { get; init; } + + [JsonInclude] + [JsonPropertyName("swap")] + public Elastic.Clients.Elasticsearch.Nodes.Info.NodeInfoMemory? Swap { 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/Nodes/NodeProcessInfo.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeProcessInfo.g.cs new file mode 100644 index 00000000000..3a4ec4616fe --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeProcessInfo.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.Nodes.Info +{ + public partial class NodeProcessInfo + { + [JsonInclude] + [JsonPropertyName("id")] + public long Id { get; init; } + + [JsonInclude] + [JsonPropertyName("mlockall")] + public bool Mlockall { get; init; } + + [JsonInclude] + [JsonPropertyName("refresh_interval_in_millis")] + public long RefreshIntervalInMillis { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeReloadError.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeReloadError.g.cs new file mode 100644 index 00000000000..51f1108b334 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeReloadError.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.Nodes +{ + public partial class NodeReloadError + { + [JsonInclude] + [JsonPropertyName("name")] + public string Name { get; init; } + + [JsonInclude] + [JsonPropertyName("reload_exception")] + public Elastic.Clients.Elasticsearch.ErrorCause? ReloadException { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeReloadResult.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeReloadResult.g.cs new file mode 100644 index 00000000000..52d9c1e1e4c --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeReloadResult.g.cs @@ -0,0 +1,35 @@ +// 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; + +#nullable restore +namespace Elastic.Clients.Elasticsearch.Nodes +{ + public partial class NodeReloadResult : Union + { + public NodeReloadResult(Elastic.Clients.Elasticsearch.Nodes.Stats? item) : base(item) + { + } + + public NodeReloadResult(Elastic.Clients.Elasticsearch.Nodes.NodeReloadError? item) : base(item) + { + } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeThreadPoolInfo.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeThreadPoolInfo.g.cs new file mode 100644 index 00000000000..81237f2bb7a --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeThreadPoolInfo.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.Nodes.Info +{ + public partial class NodeThreadPoolInfo + { + [JsonInclude] + [JsonPropertyName("core")] + public int? Core { get; init; } + + [JsonInclude] + [JsonPropertyName("keep_alive")] + public string? KeepAlive { get; init; } + + [JsonInclude] + [JsonPropertyName("max")] + public int? Max { get; init; } + + [JsonInclude] + [JsonPropertyName("queue_size")] + public int QueueSize { get; init; } + + [JsonInclude] + [JsonPropertyName("size")] + public int? Size { get; init; } + + [JsonInclude] + [JsonPropertyName("type")] + public string Type { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeUsage.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeUsage.g.cs new file mode 100644 index 00000000000..76134aaef43 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/NodeUsage.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.Nodes.Usage +{ + public partial class NodeUsage + { + [JsonInclude] + [JsonPropertyName("aggregations")] + public Dictionary Aggregations { get; init; } + + [JsonInclude] + [JsonPropertyName("rest_actions")] + public Dictionary RestActions { get; init; } + + [JsonInclude] + [JsonPropertyName("since")] + public Elastic.Clients.Elasticsearch.EpochMillis Since { get; init; } + + [JsonInclude] + [JsonPropertyName("timestamp")] + public Elastic.Clients.Elasticsearch.EpochMillis Timestamp { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/OperatingSystem.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/OperatingSystem.g.cs new file mode 100644 index 00000000000..fc0eda208c7 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/OperatingSystem.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.Nodes +{ + public partial class OperatingSystem + { + [JsonInclude] + [JsonPropertyName("cgroup")] + public Elastic.Clients.Elasticsearch.Nodes.Cgroup? Cgroup { get; init; } + + [JsonInclude] + [JsonPropertyName("cpu")] + public Elastic.Clients.Elasticsearch.Nodes.Cpu? Cpu { get; init; } + + [JsonInclude] + [JsonPropertyName("mem")] + public Elastic.Clients.Elasticsearch.Nodes.ExtendedMemoryStats? Mem { get; init; } + + [JsonInclude] + [JsonPropertyName("swap")] + public Elastic.Clients.Elasticsearch.Nodes.MemoryStats? Swap { get; init; } + + [JsonInclude] + [JsonPropertyName("timestamp")] + public long? Timestamp { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/Pool.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/Pool.g.cs new file mode 100644 index 00000000000..6ebfb8b228b --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/Pool.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.Nodes +{ + public partial class Pool + { + [JsonInclude] + [JsonPropertyName("max_in_bytes")] + public long? MaxInBytes { get; init; } + + [JsonInclude] + [JsonPropertyName("peak_max_in_bytes")] + public long? PeakMaxInBytes { get; init; } + + [JsonInclude] + [JsonPropertyName("peak_used_in_bytes")] + public long? PeakUsedInBytes { get; init; } + + [JsonInclude] + [JsonPropertyName("used_in_bytes")] + public long? UsedInBytes { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/PressureMemory.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/PressureMemory.g.cs new file mode 100644 index 00000000000..a9a005b1439 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/PressureMemory.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.Nodes +{ + public partial class PressureMemory + { + [JsonInclude] + [JsonPropertyName("all_in_bytes")] + public long? AllInBytes { get; init; } + + [JsonInclude] + [JsonPropertyName("combined_coordinating_and_primary_in_bytes")] + public long? CombinedCoordinatingAndPrimaryInBytes { get; init; } + + [JsonInclude] + [JsonPropertyName("coordinating_in_bytes")] + public long? CoordinatingInBytes { get; init; } + + [JsonInclude] + [JsonPropertyName("coordinating_rejections")] + public long? CoordinatingRejections { get; init; } + + [JsonInclude] + [JsonPropertyName("primary_in_bytes")] + public long? PrimaryInBytes { get; init; } + + [JsonInclude] + [JsonPropertyName("primary_rejections")] + public long? PrimaryRejections { get; init; } + + [JsonInclude] + [JsonPropertyName("replica_in_bytes")] + public long? ReplicaInBytes { get; init; } + + [JsonInclude] + [JsonPropertyName("replica_rejections")] + public long? ReplicaRejections { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/Process.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/Process.g.cs new file mode 100644 index 00000000000..4dc1674de95 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/Process.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.Nodes +{ + public partial class Process + { + [JsonInclude] + [JsonPropertyName("cpu")] + public Elastic.Clients.Elasticsearch.Nodes.Cpu? Cpu { get; init; } + + [JsonInclude] + [JsonPropertyName("max_file_descriptors")] + public int? MaxFileDescriptors { get; init; } + + [JsonInclude] + [JsonPropertyName("mem")] + public Elastic.Clients.Elasticsearch.Nodes.MemoryStats? Mem { get; init; } + + [JsonInclude] + [JsonPropertyName("open_file_descriptors")] + public int? OpenFileDescriptors { get; init; } + + [JsonInclude] + [JsonPropertyName("timestamp")] + public long? Timestamp { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/Processor.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/Processor.g.cs new file mode 100644 index 00000000000..411672ffc04 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/Processor.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.Nodes +{ + public partial class Processor + { + [JsonInclude] + [JsonPropertyName("count")] + public long? Count { get; init; } + + [JsonInclude] + [JsonPropertyName("current")] + public long? Current { get; init; } + + [JsonInclude] + [JsonPropertyName("failed")] + public long? Failed { get; init; } + + [JsonInclude] + [JsonPropertyName("time_in_millis")] + public long? TimeInMillis { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/PublishedClusterStates.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/PublishedClusterStates.g.cs new file mode 100644 index 00000000000..fcbf832c105 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/PublishedClusterStates.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.Nodes +{ + public partial class PublishedClusterStates + { + [JsonInclude] + [JsonPropertyName("compatible_diffs")] + public long? CompatibleDiffs { get; init; } + + [JsonInclude] + [JsonPropertyName("full_states")] + public long? FullStates { get; init; } + + [JsonInclude] + [JsonPropertyName("incompatible_diffs")] + public long? IncompatibleDiffs { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/Recording.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/Recording.g.cs new file mode 100644 index 00000000000..2a466297769 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/Recording.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.Nodes +{ + public partial class Recording + { + [JsonInclude] + [JsonPropertyName("cumulative_execution_count")] + public long? CumulativeExecutionCount { get; init; } + + [JsonInclude] + [JsonPropertyName("cumulative_execution_time")] + public string? CumulativeExecutionTime { get; init; } + + [JsonInclude] + [JsonPropertyName("cumulative_execution_time_millis")] + public long? CumulativeExecutionTimeMillis { get; init; } + + [JsonInclude] + [JsonPropertyName("name")] + public string? Name { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/ScriptCache.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/ScriptCache.g.cs new file mode 100644 index 00000000000..3f7c0771223 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/ScriptCache.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.Nodes +{ + public partial class ScriptCache + { + [JsonInclude] + [JsonPropertyName("cache_evictions")] + public long? CacheEvictions { get; init; } + + [JsonInclude] + [JsonPropertyName("compilation_limit_triggered")] + public long? CompilationLimitTriggered { get; init; } + + [JsonInclude] + [JsonPropertyName("compilations")] + public long? Compilations { get; init; } + + [JsonInclude] + [JsonPropertyName("context")] + public string? Context { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/Scripting.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/Scripting.g.cs new file mode 100644 index 00000000000..bd69cd4f135 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/Scripting.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.Nodes +{ + public partial class Scripting + { + [JsonInclude] + [JsonPropertyName("cache_evictions")] + public long? CacheEvictions { get; init; } + + [JsonInclude] + [JsonPropertyName("compilation_limit_triggered")] + public long? CompilationLimitTriggered { get; init; } + + [JsonInclude] + [JsonPropertyName("compilations")] + public long? Compilations { get; init; } + + [JsonInclude] + [JsonPropertyName("contexts")] + public IReadOnlyCollection? Contexts { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/SerializedClusterState.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/SerializedClusterState.g.cs new file mode 100644 index 00000000000..01f467cd3ab --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/SerializedClusterState.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.Nodes +{ + public partial class SerializedClusterState + { + [JsonInclude] + [JsonPropertyName("diffs")] + public Elastic.Clients.Elasticsearch.Nodes.SerializedClusterStateDetail? Diffs { get; init; } + + [JsonInclude] + [JsonPropertyName("full_states")] + public Elastic.Clients.Elasticsearch.Nodes.SerializedClusterStateDetail? FullStates { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/SerializedClusterStateDetail.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/SerializedClusterStateDetail.g.cs new file mode 100644 index 00000000000..6d1ae7a66d1 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/SerializedClusterStateDetail.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.Nodes +{ + public partial class SerializedClusterStateDetail + { + [JsonInclude] + [JsonPropertyName("compressed_size")] + public string? CompressedSize { get; init; } + + [JsonInclude] + [JsonPropertyName("compressed_size_in_bytes")] + public long? CompressedSizeInBytes { get; init; } + + [JsonInclude] + [JsonPropertyName("count")] + public long? Count { get; init; } + + [JsonInclude] + [JsonPropertyName("uncompressed_size")] + public string? UncompressedSize { get; init; } + + [JsonInclude] + [JsonPropertyName("uncompressed_size_in_bytes")] + public long? UncompressedSizeInBytes { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/Stats.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/Stats.g.cs new file mode 100644 index 00000000000..7736c0a5e5a --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/Stats.g.cs @@ -0,0 +1,117 @@ +// 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.Nodes +{ + public partial class Stats + { + [JsonInclude] + [JsonPropertyName("adaptive_selection")] + public Dictionary? AdaptiveSelection { get; init; } + + [JsonInclude] + [JsonPropertyName("attributes")] + public Dictionary? Attributes { get; init; } + + [JsonInclude] + [JsonPropertyName("breakers")] + public Dictionary? Breakers { get; init; } + + [JsonInclude] + [JsonPropertyName("discovery")] + public Elastic.Clients.Elasticsearch.Nodes.Discovery? Discovery { get; init; } + + [JsonInclude] + [JsonPropertyName("fs")] + public Elastic.Clients.Elasticsearch.Nodes.FileSystem? Fs { get; init; } + + [JsonInclude] + [JsonPropertyName("host")] + public string? Host { get; init; } + + [JsonInclude] + [JsonPropertyName("http")] + public Elastic.Clients.Elasticsearch.Nodes.Http? Http { get; init; } + + [JsonInclude] + [JsonPropertyName("indexing_pressure")] + public Elastic.Clients.Elasticsearch.Nodes.IndexingPressure? IndexingPressure { get; init; } + + [JsonInclude] + [JsonPropertyName("indices")] + public Elastic.Clients.Elasticsearch.IndexManagement.Stats.ShardStats? Indices { get; init; } + + [JsonInclude] + [JsonPropertyName("ingest")] + public Elastic.Clients.Elasticsearch.Nodes.Ingest? Ingest { get; init; } + + [JsonInclude] + [JsonPropertyName("ip")] + public IReadOnlyCollection? Ip { get; init; } + + [JsonInclude] + [JsonPropertyName("jvm")] + public Elastic.Clients.Elasticsearch.Nodes.Jvm? Jvm { get; init; } + + [JsonInclude] + [JsonPropertyName("name")] + public string? Name { get; init; } + + [JsonInclude] + [JsonPropertyName("os")] + public Elastic.Clients.Elasticsearch.Nodes.OperatingSystem? Os { get; init; } + + [JsonInclude] + [JsonPropertyName("process")] + public Elastic.Clients.Elasticsearch.Nodes.Process? Process { get; init; } + + [JsonInclude] + [JsonPropertyName("roles")] + public IReadOnlyCollection? Roles { get; init; } + + [JsonInclude] + [JsonPropertyName("script")] + public Elastic.Clients.Elasticsearch.Nodes.Scripting? Script { get; init; } + + [JsonInclude] + [JsonPropertyName("script_cache")] + public Dictionary>? ScriptCache { get; init; } + + [JsonInclude] + [JsonPropertyName("thread_pool")] + public Dictionary? ThreadPool { get; init; } + + [JsonInclude] + [JsonPropertyName("timestamp")] + public long? Timestamp { get; init; } + + [JsonInclude] + [JsonPropertyName("transport")] + public Elastic.Clients.Elasticsearch.Nodes.Transport? Transport { get; init; } + + [JsonInclude] + [JsonPropertyName("transport_address")] + public string? TransportAddress { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/ThreadCount.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/ThreadCount.g.cs new file mode 100644 index 00000000000..84ac0b4cb65 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/ThreadCount.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.Nodes +{ + public partial class ThreadCount + { + [JsonInclude] + [JsonPropertyName("active")] + public long? Active { get; init; } + + [JsonInclude] + [JsonPropertyName("completed")] + public long? Completed { get; init; } + + [JsonInclude] + [JsonPropertyName("largest")] + public long? Largest { get; init; } + + [JsonInclude] + [JsonPropertyName("queue")] + public long? Queue { get; init; } + + [JsonInclude] + [JsonPropertyName("rejected")] + public long? Rejected { get; init; } + + [JsonInclude] + [JsonPropertyName("threads")] + public long? Threads { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/Transport.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/Transport.g.cs new file mode 100644 index 00000000000..dbe62cc579b --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/Transport.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.Nodes +{ + public partial class Transport + { + [JsonInclude] + [JsonPropertyName("inbound_handling_time_histogram")] + public IReadOnlyCollection? InboundHandlingTimeHistogram { get; init; } + + [JsonInclude] + [JsonPropertyName("outbound_handling_time_histogram")] + public IReadOnlyCollection? OutboundHandlingTimeHistogram { get; init; } + + [JsonInclude] + [JsonPropertyName("rx_count")] + public long? RxCount { get; init; } + + [JsonInclude] + [JsonPropertyName("rx_size")] + public string? RxSize { get; init; } + + [JsonInclude] + [JsonPropertyName("rx_size_in_bytes")] + public long? RxSizeInBytes { get; init; } + + [JsonInclude] + [JsonPropertyName("server_open")] + public int? ServerOpen { get; init; } + + [JsonInclude] + [JsonPropertyName("total_outbound_connections")] + public long? TotalOutboundConnections { get; init; } + + [JsonInclude] + [JsonPropertyName("tx_count")] + public long? TxCount { get; init; } + + [JsonInclude] + [JsonPropertyName("tx_size")] + public string? TxSize { get; init; } + + [JsonInclude] + [JsonPropertyName("tx_size_in_bytes")] + public long? TxSizeInBytes { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/TransportHistogram.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/TransportHistogram.g.cs new file mode 100644 index 00000000000..fc0fe177b64 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/Nodes/TransportHistogram.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.Nodes +{ + public partial class TransportHistogram + { + [JsonInclude] + [JsonPropertyName("count")] + public long? Count { get; init; } + + [JsonInclude] + [JsonPropertyName("ge_millis")] + public long? GeMillis { get; init; } + + [JsonInclude] + [JsonPropertyName("lt_millis")] + public long? LtMillis { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/PluginStats.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/PluginStats.g.cs new file mode 100644 index 00000000000..ff7f730c6e5 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/PluginStats.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 +{ + public partial class PluginStats + { + [JsonInclude] + [JsonPropertyName("classname")] + public string Classname { get; init; } + + [JsonInclude] + [JsonPropertyName("description")] + public string Description { get; init; } + + [JsonInclude] + [JsonPropertyName("elasticsearch_version")] + public string ElasticsearchVersion { get; init; } + + [JsonInclude] + [JsonPropertyName("extended_plugins")] + public IReadOnlyCollection ExtendedPlugins { get; init; } + + [JsonInclude] + [JsonPropertyName("has_native_controller")] + public bool HasNativeController { get; init; } + + [JsonInclude] + [JsonPropertyName("java_version")] + public string JavaVersion { get; init; } + + [JsonInclude] + [JsonPropertyName("licensed")] + public bool Licensed { get; init; } + + [JsonInclude] + [JsonPropertyName("name")] + public string Name { get; init; } + + [JsonInclude] + [JsonPropertyName("type")] + public string Type { 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/QueryCacheStats.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryCacheStats.g.cs new file mode 100644 index 00000000000..e5903f4c7e3 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/QueryCacheStats.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 +{ + public partial class QueryCacheStats + { + [JsonInclude] + [JsonPropertyName("cache_count")] + public int CacheCount { get; init; } + + [JsonInclude] + [JsonPropertyName("cache_size")] + public int CacheSize { get; init; } + + [JsonInclude] + [JsonPropertyName("evictions")] + public int Evictions { get; init; } + + [JsonInclude] + [JsonPropertyName("hit_count")] + public int HitCount { get; init; } + + [JsonInclude] + [JsonPropertyName("memory_size")] + public Elastic.Clients.Elasticsearch.ByteSize? MemorySize { get; init; } + + [JsonInclude] + [JsonPropertyName("memory_size_in_bytes")] + public int MemorySizeInBytes { get; init; } + + [JsonInclude] + [JsonPropertyName("miss_count")] + public int MissCount { get; init; } + + [JsonInclude] + [JsonPropertyName("total_count")] + public int TotalCount { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/RecoveryStats.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/RecoveryStats.g.cs new file mode 100644 index 00000000000..79660cc10f2 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/RecoveryStats.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 +{ + public partial class RecoveryStats + { + [JsonInclude] + [JsonPropertyName("current_as_source")] + public long CurrentAsSource { get; init; } + + [JsonInclude] + [JsonPropertyName("current_as_target")] + public long CurrentAsTarget { get; init; } + + [JsonInclude] + [JsonPropertyName("throttle_time")] + public string? ThrottleTime { get; init; } + + [JsonInclude] + [JsonPropertyName("throttle_time_in_millis")] + public long ThrottleTimeInMillis { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/RefreshStats.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/RefreshStats.g.cs new file mode 100644 index 00000000000..a2006551c99 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/RefreshStats.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 +{ + public partial class RefreshStats + { + [JsonInclude] + [JsonPropertyName("external_total")] + public long ExternalTotal { get; init; } + + [JsonInclude] + [JsonPropertyName("external_total_time_in_millis")] + public long ExternalTotalTimeInMillis { get; init; } + + [JsonInclude] + [JsonPropertyName("listeners")] + public long Listeners { get; init; } + + [JsonInclude] + [JsonPropertyName("total")] + public long Total { get; init; } + + [JsonInclude] + [JsonPropertyName("total_time")] + public string? TotalTime { get; init; } + + [JsonInclude] + [JsonPropertyName("total_time_in_millis")] + public long TotalTimeInMillis { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/RequestCacheStats.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/RequestCacheStats.g.cs new file mode 100644 index 00000000000..2b6a944df31 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/RequestCacheStats.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 +{ + public partial class RequestCacheStats + { + [JsonInclude] + [JsonPropertyName("evictions")] + public long Evictions { get; init; } + + [JsonInclude] + [JsonPropertyName("hit_count")] + public long HitCount { get; init; } + + [JsonInclude] + [JsonPropertyName("memory_size")] + public string? MemorySize { get; init; } + + [JsonInclude] + [JsonPropertyName("memory_size_in_bytes")] + public long MemorySizeInBytes { get; init; } + + [JsonInclude] + [JsonPropertyName("miss_count")] + public long MissCount { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/SearchStats.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/SearchStats.g.cs new file mode 100644 index 00000000000..01efeeecb83 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/SearchStats.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 +{ + public partial class SearchStats + { + [JsonInclude] + [JsonPropertyName("fetch_current")] + public long FetchCurrent { get; init; } + + [JsonInclude] + [JsonPropertyName("fetch_time_in_millis")] + public long FetchTimeInMillis { get; init; } + + [JsonInclude] + [JsonPropertyName("fetch_total")] + public long FetchTotal { get; init; } + + [JsonInclude] + [JsonPropertyName("groups")] + public Dictionary? Groups { get; init; } + + [JsonInclude] + [JsonPropertyName("open_contexts")] + public long? OpenContexts { get; init; } + + [JsonInclude] + [JsonPropertyName("query_current")] + public long QueryCurrent { get; init; } + + [JsonInclude] + [JsonPropertyName("query_time_in_millis")] + public long QueryTimeInMillis { get; init; } + + [JsonInclude] + [JsonPropertyName("query_total")] + public long QueryTotal { get; init; } + + [JsonInclude] + [JsonPropertyName("scroll_current")] + public long ScrollCurrent { get; init; } + + [JsonInclude] + [JsonPropertyName("scroll_time_in_millis")] + public long ScrollTimeInMillis { get; init; } + + [JsonInclude] + [JsonPropertyName("scroll_total")] + public long ScrollTotal { get; init; } + + [JsonInclude] + [JsonPropertyName("suggest_current")] + public long SuggestCurrent { get; init; } + + [JsonInclude] + [JsonPropertyName("suggest_time_in_millis")] + public long SuggestTimeInMillis { get; init; } + + [JsonInclude] + [JsonPropertyName("suggest_total")] + public long SuggestTotal { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/SegmentsStats.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/SegmentsStats.g.cs new file mode 100644 index 00000000000..d3a9b78fe54 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/SegmentsStats.g.cs @@ -0,0 +1,125 @@ +// 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 +{ + public partial class SegmentsStats + { + [JsonInclude] + [JsonPropertyName("count")] + public int Count { get; init; } + + [JsonInclude] + [JsonPropertyName("doc_values_memory")] + public Elastic.Clients.Elasticsearch.ByteSize? DocValuesMemory { get; init; } + + [JsonInclude] + [JsonPropertyName("doc_values_memory_in_bytes")] + public int DocValuesMemoryInBytes { get; init; } + + [JsonInclude] + [JsonPropertyName("file_sizes")] + public Dictionary FileSizes { get; init; } + + [JsonInclude] + [JsonPropertyName("fixed_bit_set")] + public Elastic.Clients.Elasticsearch.ByteSize? FixedBitSet { get; init; } + + [JsonInclude] + [JsonPropertyName("fixed_bit_set_memory_in_bytes")] + public int FixedBitSetMemoryInBytes { get; init; } + + [JsonInclude] + [JsonPropertyName("index_writer_max_memory_in_bytes")] + public int? IndexWriterMaxMemoryInBytes { get; init; } + + [JsonInclude] + [JsonPropertyName("index_writer_memory")] + public Elastic.Clients.Elasticsearch.ByteSize? IndexWriterMemory { get; init; } + + [JsonInclude] + [JsonPropertyName("index_writer_memory_in_bytes")] + public int IndexWriterMemoryInBytes { get; init; } + + [JsonInclude] + [JsonPropertyName("max_unsafe_auto_id_timestamp")] + public long MaxUnsafeAutoIdTimestamp { get; init; } + + [JsonInclude] + [JsonPropertyName("memory")] + public Elastic.Clients.Elasticsearch.ByteSize? Memory { get; init; } + + [JsonInclude] + [JsonPropertyName("memory_in_bytes")] + public int MemoryInBytes { get; init; } + + [JsonInclude] + [JsonPropertyName("norms_memory")] + public Elastic.Clients.Elasticsearch.ByteSize? NormsMemory { get; init; } + + [JsonInclude] + [JsonPropertyName("norms_memory_in_bytes")] + public int NormsMemoryInBytes { get; init; } + + [JsonInclude] + [JsonPropertyName("points_memory")] + public Elastic.Clients.Elasticsearch.ByteSize? PointsMemory { get; init; } + + [JsonInclude] + [JsonPropertyName("points_memory_in_bytes")] + public int PointsMemoryInBytes { get; init; } + + [JsonInclude] + [JsonPropertyName("stored_fields_memory_in_bytes")] + public int StoredFieldsMemoryInBytes { get; init; } + + [JsonInclude] + [JsonPropertyName("stored_memory")] + public Elastic.Clients.Elasticsearch.ByteSize? StoredMemory { get; init; } + + [JsonInclude] + [JsonPropertyName("term_vectors_memory_in_bytes")] + public int TermVectorsMemoryInBytes { get; init; } + + [JsonInclude] + [JsonPropertyName("term_vectory_memory")] + public Elastic.Clients.Elasticsearch.ByteSize? TermVectoryMemory { get; init; } + + [JsonInclude] + [JsonPropertyName("terms_memory")] + public Elastic.Clients.Elasticsearch.ByteSize? TermsMemory { get; init; } + + [JsonInclude] + [JsonPropertyName("terms_memory_in_bytes")] + public int TermsMemoryInBytes { get; init; } + + [JsonInclude] + [JsonPropertyName("version_map_memory")] + public Elastic.Clients.Elasticsearch.ByteSize? VersionMapMemory { get; init; } + + [JsonInclude] + [JsonPropertyName("version_map_memory_in_bytes")] + public int VersionMapMemoryInBytes { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/StoreStats.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/StoreStats.g.cs new file mode 100644 index 00000000000..557adaf4a4b --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/StoreStats.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 +{ + public partial class StoreStats + { + [JsonInclude] + [JsonPropertyName("reserved")] + public Elastic.Clients.Elasticsearch.ByteSize? Reserved { get; init; } + + [JsonInclude] + [JsonPropertyName("reserved_in_bytes")] + public int ReservedInBytes { get; init; } + + [JsonInclude] + [JsonPropertyName("size")] + public Elastic.Clients.Elasticsearch.ByteSize? Size { get; init; } + + [JsonInclude] + [JsonPropertyName("size_in_bytes")] + public int SizeInBytes { get; init; } + + [JsonInclude] + [JsonPropertyName("total_data_set_size")] + public Elastic.Clients.Elasticsearch.ByteSize? TotalDataSetSize { get; init; } + + [JsonInclude] + [JsonPropertyName("total_data_set_size_in_bytes")] + public int? TotalDataSetSizeInBytes { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/TranslogStats.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/TranslogStats.g.cs new file mode 100644 index 00000000000..3f214617301 --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/TranslogStats.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 +{ + public partial class TranslogStats + { + [JsonInclude] + [JsonPropertyName("earliest_last_modified_age")] + public long EarliestLastModifiedAge { get; init; } + + [JsonInclude] + [JsonPropertyName("operations")] + public long Operations { get; init; } + + [JsonInclude] + [JsonPropertyName("size")] + public string? Size { get; init; } + + [JsonInclude] + [JsonPropertyName("size_in_bytes")] + public long SizeInBytes { get; init; } + + [JsonInclude] + [JsonPropertyName("uncommitted_operations")] + public int UncommittedOperations { get; init; } + + [JsonInclude] + [JsonPropertyName("uncommitted_size")] + public string? UncommittedSize { get; init; } + + [JsonInclude] + [JsonPropertyName("uncommitted_size_in_bytes")] + public long UncommittedSizeInBytes { get; init; } + } +} \ No newline at end of file diff --git a/src/Elastic.Clients.Elasticsearch/_Generated/Types/WarmerStats.g.cs b/src/Elastic.Clients.Elasticsearch/_Generated/Types/WarmerStats.g.cs new file mode 100644 index 00000000000..f2c2dbcc8ee --- /dev/null +++ b/src/Elastic.Clients.Elasticsearch/_Generated/Types/WarmerStats.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 +{ + public partial class WarmerStats + { + [JsonInclude] + [JsonPropertyName("current")] + public long Current { get; init; } + + [JsonInclude] + [JsonPropertyName("total")] + public long Total { get; init; } + + [JsonInclude] + [JsonPropertyName("total_time")] + public string? TotalTime { get; init; } + + [JsonInclude] + [JsonPropertyName("total_time_in_millis")] + public long TotalTimeInMillis { get; init; } + } +} \ No newline at end of file