From 833b6d1220ff4f61d24d8ee7403a95e8d1fc94c1 Mon Sep 17 00:00:00 2001 From: Sylvain Wallez Date: Tue, 3 May 2022 11:46:13 +0200 Subject: [PATCH] Add toString() implementations (#269) --- .../_types/AcknowledgedResponseBase.java | 6 +++ .../elasticsearch/_types/BaseNode.java | 6 +++ .../_types/BulkIndexByScrollFailure.java | 6 +++ .../elasticsearch/_types/BulkStats.java | 6 +++ .../_types/ClusterStatistics.java | 6 +++ .../elasticsearch/_types/CompletionStats.java | 6 +++ .../elasticsearch/_types/CoordsGeoBounds.java | 6 +++ .../elasticsearch/_types/DocStats.java | 6 +++ .../_types/ElasticsearchVersionInfo.java | 6 +++ .../elasticsearch/_types/ErrorCause.java | 6 +++ .../elasticsearch/_types/ErrorResponse.java | 6 +++ .../_types/FieldMemoryUsage.java | 6 +++ .../elasticsearch/_types/FieldSizeUsage.java | 6 +++ .../elasticsearch/_types/FieldSort.java | 6 +++ .../elasticsearch/_types/FielddataStats.java | 6 +++ .../elasticsearch/_types/FlushStats.java | 6 +++ .../elasticsearch/_types/GeoDistanceSort.java | 6 +++ .../elasticsearch/_types/GeoHashLocation.java | 6 +++ .../clients/elasticsearch/_types/GeoLine.java | 6 +++ .../elasticsearch/_types/GetStats.java | 6 +++ .../elasticsearch/_types/IndexingStats.java | 6 +++ .../elasticsearch/_types/IndicesOptions.java | 6 +++ .../elasticsearch/_types/InlineGet.java | 5 +++ .../_types/LatLonGeoLocation.java | 6 +++ .../elasticsearch/_types/MergesStats.java | 6 +++ .../elasticsearch/_types/NestedSortValue.java | 6 +++ .../elasticsearch/_types/NodeAttributes.java | 6 +++ .../elasticsearch/_types/NodeShard.java | 6 +++ .../elasticsearch/_types/NodeStatistics.java | 6 +++ .../elasticsearch/_types/PluginStats.java | 6 +++ .../elasticsearch/_types/QueryCacheStats.java | 6 +++ .../elasticsearch/_types/RecoveryStats.java | 6 +++ .../elasticsearch/_types/RefreshStats.java | 6 +++ .../elasticsearch/_types/RequestBase.java | 40 +++++++++++++++++ .../_types/RequestCacheStats.java | 6 +++ .../clients/elasticsearch/_types/Retries.java | 6 +++ .../elasticsearch/_types/ScoreSort.java | 6 +++ .../elasticsearch/_types/ScriptBase.java | 6 +++ .../elasticsearch/_types/ScriptField.java | 6 +++ .../elasticsearch/_types/ScriptSort.java | 6 +++ .../elasticsearch/_types/ScriptTransform.java | 6 +++ .../elasticsearch/_types/SearchStats.java | 6 +++ .../elasticsearch/_types/SearchTransform.java | 6 +++ .../elasticsearch/_types/SegmentsStats.java | 6 +++ .../elasticsearch/_types/ShardFailure.java | 6 +++ .../elasticsearch/_types/ShardStatistics.java | 6 +++ .../_types/ShardsOperationResponseBase.java | 6 +++ .../elasticsearch/_types/SlicedScroll.java | 6 +++ .../elasticsearch/_types/StoreStats.java | 6 +++ .../elasticsearch/_types/StoredScript.java | 6 +++ .../elasticsearch/_types/TaskFailure.java | 6 +++ .../_types/TopLeftBottomRightGeoBounds.java | 6 +++ .../_types/TopRightBottomLeftGeoBounds.java | 6 +++ .../elasticsearch/_types/TranslogStats.java | 6 +++ .../elasticsearch/_types/WarmerStats.java | 6 +++ .../elasticsearch/_types/WktGeoBounds.java | 6 +++ .../_types/WriteResponseBase.java | 6 +++ .../_types/aggregations/AggregateBase.java | 6 +++ .../_types/aggregations/AggregationBase.java | 6 +++ .../_types/aggregations/AggregationRange.java | 6 +++ .../aggregations/ArrayPercentilesItem.java | 5 +++ .../BucketCorrelationFunction.java | 6 +++ ...etCorrelationFunctionCountCorrelation.java | 6 +++ ...tionFunctionCountCorrelationIndicator.java | 6 +++ .../aggregations/ChiSquareHeuristic.java | 6 +++ .../CompositeAggregationSource.java | 6 +++ .../CustomCategorizeTextAnalyzer.java | 6 +++ .../aggregations/DateRangeExpression.java | 6 +++ .../aggregations/EwmaModelSettings.java | 6 +++ .../_types/aggregations/ExtendedBounds.java | 5 +++ .../aggregations/GeoLineAggregation.java | 6 +++ .../_types/aggregations/GeoLinePoint.java | 6 +++ .../_types/aggregations/GeoLineSort.java | 6 +++ .../GoogleNormalizedDistanceHeuristic.java | 6 +++ .../_types/aggregations/HdrMethod.java | 6 +++ .../_types/aggregations/HistogramOrder.java | 6 +++ .../aggregations/HoltLinearModelSettings.java | 6 +++ .../HoltWintersModelSettings.java | 6 +++ .../InferenceClassImportance.java | 6 +++ .../InferenceFeatureImportance.java | 6 +++ .../aggregations/InferenceTopClassEntry.java | 6 +++ .../aggregations/IpRangeAggregationRange.java | 6 +++ .../aggregations/MatrixStatsFields.java | 6 +++ .../aggregations/MetricAggregationBase.java | 6 +++ .../_types/aggregations/MultiBucketBase.java | 6 +++ .../_types/aggregations/MultiTermLookup.java | 6 +++ .../MutualInformationHeuristic.java | 6 +++ .../aggregations/ScriptedHeuristic.java | 6 +++ .../aggregations/StandardDeviationBounds.java | 5 +++ .../StandardDeviationBoundsAsString.java | 6 +++ .../_types/aggregations/TDigest.java | 6 +++ .../_types/aggregations/TermsPartition.java | 6 +++ .../_types/aggregations/TestPopulation.java | 6 +++ .../_types/aggregations/TopMetrics.java | 6 +++ .../_types/aggregations/TopMetricsValue.java | 6 +++ .../VariableWidthHistogramAggregation.java | 6 +++ .../aggregations/WeightedAverageValue.java | 6 +++ .../_types/analysis/CharFilterBase.java | 6 +++ .../_types/analysis/CustomAnalyzer.java | 6 +++ .../_types/analysis/CustomNormalizer.java | 6 +++ .../_types/analysis/DutchAnalyzer.java | 6 +++ .../_types/analysis/FingerprintAnalyzer.java | 6 +++ .../_types/analysis/IcuAnalyzer.java | 6 +++ .../_types/analysis/KeywordAnalyzer.java | 6 +++ .../_types/analysis/KuromojiAnalyzer.java | 6 +++ .../_types/analysis/LanguageAnalyzer.java | 6 +++ .../_types/analysis/LowercaseNormalizer.java | 6 +++ .../_types/analysis/NoriAnalyzer.java | 6 +++ .../_types/analysis/PatternAnalyzer.java | 6 +++ .../_types/analysis/SimpleAnalyzer.java | 6 +++ .../_types/analysis/SnowballAnalyzer.java | 6 +++ .../_types/analysis/StandardAnalyzer.java | 6 +++ .../_types/analysis/StopAnalyzer.java | 6 +++ .../_types/analysis/TokenFilterBase.java | 6 +++ .../_types/analysis/TokenizerBase.java | 6 +++ .../_types/analysis/WhitespaceAnalyzer.java | 6 +++ .../_types/mapping/AllField.java | 6 +++ .../_types/mapping/DataStreamTimestamp.java | 6 +++ .../mapping/DenseVectorIndexOptions.java | 6 +++ .../_types/mapping/DynamicTemplate.java | 6 +++ .../_types/mapping/FieldMapping.java | 6 +++ .../_types/mapping/FieldNamesField.java | 6 +++ .../_types/mapping/IndexField.java | 6 +++ .../_types/mapping/MatchOnlyTextProperty.java | 6 +++ .../_types/mapping/PropertyBase.java | 6 +++ .../_types/mapping/RoutingField.java | 6 +++ .../_types/mapping/RuntimeField.java | 6 +++ .../_types/mapping/SizeField.java | 6 +++ .../_types/mapping/SourceField.java | 6 +++ .../_types/mapping/SuggestContext.java | 6 +++ .../_types/mapping/TextIndexPrefixes.java | 6 +++ .../_types/mapping/TypeMapping.java | 6 +++ .../_types/query_dsl/DecayFunctionBase.java | 6 +++ .../_types/query_dsl/DecayPlacement.java | 6 +++ .../_types/query_dsl/FieldAndFormat.java | 6 +++ .../_types/query_dsl/FieldLookup.java | 6 +++ .../FieldValueFactorScoreFunction.java | 6 +++ .../_types/query_dsl/GeoPolygonPoints.java | 6 +++ .../_types/query_dsl/GeoShapeFieldQuery.java | 6 +++ .../_types/query_dsl/IntervalsAllOf.java | 6 +++ .../_types/query_dsl/IntervalsAnyOf.java | 6 +++ .../_types/query_dsl/IntervalsFuzzy.java | 6 +++ .../_types/query_dsl/IntervalsMatch.java | 6 +++ .../_types/query_dsl/IntervalsPrefix.java | 6 +++ .../_types/query_dsl/IntervalsWildcard.java | 6 +++ .../_types/query_dsl/LikeDocument.java | 6 +++ .../_types/query_dsl/PinnedDoc.java | 6 +++ .../_types/query_dsl/QueryBase.java | 6 +++ .../_types/query_dsl/RandomScoreFunction.java | 6 +++ .../RankFeatureFunctionLogarithm.java | 6 +++ .../RankFeatureFunctionSaturation.java | 6 +++ .../query_dsl/RankFeatureFunctionSigmoid.java | 6 +++ .../_types/query_dsl/ScriptScoreFunction.java | 6 +++ .../_types/query_dsl/ShapeFieldQuery.java | 6 +++ .../_types/query_dsl/TermsLookup.java | 6 +++ .../async_search/AsyncSearch.java | 6 +++ .../async_search/AsyncSearchResponseBase.java | 6 +++ .../autoscaling/AutoscalingPolicy.java | 6 +++ .../GetAutoscalingCapacityResponse.java | 6 +++ .../AutoscalingCapacity.java | 6 +++ .../AutoscalingDecider.java | 6 +++ .../AutoscalingDeciders.java | 6 +++ .../AutoscalingNode.java | 6 +++ .../AutoscalingResources.java | 6 +++ .../elasticsearch/cat/AliasesResponse.java | 6 +++ .../elasticsearch/cat/AllocationResponse.java | 6 +++ .../elasticsearch/cat/CountResponse.java | 6 +++ .../elasticsearch/cat/FielddataResponse.java | 6 +++ .../elasticsearch/cat/HealthResponse.java | 6 +++ .../elasticsearch/cat/HelpResponse.java | 6 +++ .../elasticsearch/cat/IndicesResponse.java | 6 +++ .../elasticsearch/cat/MasterResponse.java | 6 +++ .../cat/MlDataFrameAnalyticsResponse.java | 6 +++ .../cat/MlDatafeedsResponse.java | 6 +++ .../elasticsearch/cat/MlJobsResponse.java | 6 +++ .../cat/MlTrainedModelsResponse.java | 6 +++ .../elasticsearch/cat/NodeattrsResponse.java | 6 +++ .../elasticsearch/cat/NodesResponse.java | 6 +++ .../cat/PendingTasksResponse.java | 6 +++ .../elasticsearch/cat/PluginsResponse.java | 6 +++ .../elasticsearch/cat/RecoveryResponse.java | 6 +++ .../cat/RepositoriesResponse.java | 6 +++ .../elasticsearch/cat/SegmentsResponse.java | 6 +++ .../elasticsearch/cat/ShardsResponse.java | 6 +++ .../elasticsearch/cat/SnapshotsResponse.java | 6 +++ .../elasticsearch/cat/TasksResponse.java | 6 +++ .../elasticsearch/cat/TemplatesResponse.java | 6 +++ .../elasticsearch/cat/ThreadPoolResponse.java | 6 +++ .../elasticsearch/cat/TransformsResponse.java | 6 +++ .../cat/aliases/AliasesRecord.java | 6 +++ .../cat/allocation/AllocationRecord.java | 6 +++ .../elasticsearch/cat/count/CountRecord.java | 6 +++ .../cat/fielddata/FielddataRecord.java | 6 +++ .../cat/health/HealthRecord.java | 6 +++ .../elasticsearch/cat/help/HelpRecord.java | 6 +++ .../cat/indices/IndicesRecord.java | 6 +++ .../cat/master/MasterRecord.java | 6 +++ .../DataFrameAnalyticsRecord.java | 6 +++ .../cat/ml_datafeeds/DatafeedsRecord.java | 6 +++ .../elasticsearch/cat/ml_jobs/JobsRecord.java | 6 +++ .../TrainedModelsRecord.java | 6 +++ .../cat/nodeattrs/NodeAttributesRecord.java | 6 +++ .../elasticsearch/cat/nodes/NodesRecord.java | 6 +++ .../cat/pending_tasks/PendingTasksRecord.java | 6 +++ .../cat/plugins/PluginsRecord.java | 6 +++ .../cat/recovery/RecoveryRecord.java | 6 +++ .../cat/repositories/RepositoriesRecord.java | 6 +++ .../cat/segments/SegmentsRecord.java | 6 +++ .../cat/shards/ShardsRecord.java | 6 +++ .../cat/snapshots/SnapshotsRecord.java | 6 +++ .../elasticsearch/cat/tasks/TasksRecord.java | 6 +++ .../cat/templates/TemplatesRecord.java | 6 +++ .../cat/thread_pool/ThreadPoolRecord.java | 6 +++ .../cat/transforms/TransformsRecord.java | 6 +++ .../elasticsearch/ccr/CcrStatsResponse.java | 6 +++ .../elasticsearch/ccr/FollowIndexStats.java | 6 +++ .../elasticsearch/ccr/FollowInfoResponse.java | 6 +++ .../elasticsearch/ccr/FollowResponse.java | 6 +++ .../ccr/FollowStatsResponse.java | 6 +++ .../ccr/ForgetFollowerResponse.java | 6 +++ .../ccr/GetAutoFollowPatternResponse.java | 6 +++ .../elasticsearch/ccr/ReadException.java | 6 +++ .../clients/elasticsearch/ccr/ShardStats.java | 6 +++ .../ccr/follow_info/FollowerIndex.java | 6 +++ .../follow_info/FollowerIndexParameters.java | 6 +++ .../AutoFollowPattern.java | 6 +++ .../AutoFollowPatternSummary.java | 6 +++ .../ccr/stats/AutoFollowStats.java | 6 +++ .../ccr/stats/AutoFollowedCluster.java | 6 +++ .../elasticsearch/ccr/stats/FollowStats.java | 6 +++ .../cluster/AllocationExplainResponse.java | 6 +++ .../cluster/ComponentTemplate.java | 6 +++ .../cluster/ComponentTemplateNode.java | 6 +++ .../cluster/ComponentTemplateSummary.java | 6 +++ .../cluster/GetClusterSettingsResponse.java | 6 +++ .../cluster/GetComponentTemplateResponse.java | 6 +++ .../elasticsearch/cluster/HealthResponse.java | 6 +++ .../cluster/PendingTasksResponse.java | 6 +++ .../cluster/PutClusterSettingsResponse.java | 6 +++ .../cluster/RemoteInfoResponse.java | 6 +++ .../cluster/RerouteResponse.java | 6 +++ .../elasticsearch/cluster/StateResponse.java | 6 +++ .../AllocationDecision.java | 6 +++ .../allocation_explain/AllocationStore.java | 6 +++ .../allocation_explain/ClusterInfo.java | 6 +++ .../allocation_explain/CurrentNode.java | 6 +++ .../cluster/allocation_explain/DiskUsage.java | 6 +++ .../NodeAllocationExplanation.java | 6 +++ .../allocation_explain/NodeDiskUsage.java | 6 +++ .../allocation_explain/ReservedSize.java | 6 +++ .../UnassignedInformation.java | 6 +++ .../cluster/health/IndexHealthStats.java | 6 +++ .../cluster/health/ShardHealthStats.java | 6 +++ .../cluster/pending_tasks/PendingTask.java | 6 +++ .../remote_info/ClusterRemoteProxyInfo.java | 6 +++ .../remote_info/ClusterRemoteSniffInfo.java | 6 +++ .../cluster/reroute/Command.java | 6 +++ .../reroute/CommandAllocatePrimaryAction.java | 6 +++ .../reroute/CommandAllocateReplicaAction.java | 6 +++ .../cluster/reroute/CommandCancelAction.java | 6 +++ .../cluster/reroute/CommandMoveAction.java | 6 +++ .../cluster/reroute/RerouteDecision.java | 6 +++ .../cluster/reroute/RerouteExplanation.java | 6 +++ .../cluster/reroute/RerouteParameters.java | 6 +++ .../cluster/stats/CharFilterTypes.java | 6 +++ .../cluster/stats/ClusterFileSystem.java | 6 +++ .../cluster/stats/ClusterIndices.java | 6 +++ .../cluster/stats/ClusterIndicesShards.java | 6 +++ .../stats/ClusterIndicesShardsIndex.java | 6 +++ .../cluster/stats/ClusterIngest.java | 6 +++ .../cluster/stats/ClusterJvm.java | 6 +++ .../cluster/stats/ClusterJvmMemory.java | 6 +++ .../cluster/stats/ClusterJvmVersion.java | 6 +++ .../cluster/stats/ClusterNetworkTypes.java | 6 +++ .../cluster/stats/ClusterNodeCount.java | 6 +++ .../cluster/stats/ClusterNodes.java | 6 +++ .../cluster/stats/ClusterOperatingSystem.java | 6 +++ .../ClusterOperatingSystemArchitecture.java | 6 +++ .../stats/ClusterOperatingSystemName.java | 6 +++ .../ClusterOperatingSystemPrettyName.java | 6 +++ .../cluster/stats/ClusterProcess.java | 6 +++ .../cluster/stats/ClusterProcessCpu.java | 6 +++ .../ClusterProcessOpenFileDescriptors.java | 6 +++ .../cluster/stats/ClusterProcessor.java | 6 +++ .../cluster/stats/ClusterShardMetrics.java | 6 +++ .../cluster/stats/FieldTypes.java | 6 +++ .../cluster/stats/FieldTypesMappings.java | 6 +++ .../cluster/stats/IndexingPressure.java | 6 +++ .../cluster/stats/IndexingPressureMemory.java | 6 +++ .../stats/IndexingPressureMemorySummary.java | 6 +++ .../cluster/stats/IndicesVersions.java | 6 +++ .../cluster/stats/NodePackagingType.java | 6 +++ .../stats/OperatingSystemMemoryInfo.java | 6 +++ .../cluster/stats/RuntimeFieldTypes.java | 6 +++ .../elasticsearch/core/BulkResponse.java | 6 +++ .../core/ClearScrollResponse.java | 6 +++ .../core/ClosePointInTimeResponse.java | 6 +++ .../elasticsearch/core/CountResponse.java | 6 +++ .../core/DeleteByQueryResponse.java | 6 +++ .../elasticsearch/core/ExplainResponse.java | 6 +++ .../elasticsearch/core/FieldCapsResponse.java | 6 +++ .../core/GetScriptContextResponse.java | 6 +++ .../core/GetScriptLanguagesResponse.java | 6 +++ .../elasticsearch/core/GetScriptResponse.java | 6 +++ .../elasticsearch/core/GetSourceResponse.java | 5 +++ .../elasticsearch/core/InfoResponse.java | 6 +++ .../elasticsearch/core/KnnSearchResponse.java | 6 +++ .../elasticsearch/core/MgetResponse.java | 6 +++ .../core/MtermvectorsResponse.java | 6 +++ .../core/OpenPointInTimeResponse.java | 6 +++ .../elasticsearch/core/RankEvalResponse.java | 6 +++ .../elasticsearch/core/ReindexResponse.java | 6 +++ .../core/ReindexRethrottleResponse.java | 6 +++ .../core/RenderSearchTemplateResponse.java | 6 +++ .../core/ScriptsPainlessExecuteResponse.java | 5 +++ .../core/SearchShardsResponse.java | 6 +++ .../core/SearchTemplateResponse.java | 6 +++ .../elasticsearch/core/TermsEnumResponse.java | 6 +++ .../core/TermvectorsResponse.java | 6 +++ .../core/UpdateByQueryResponse.java | 6 +++ .../core/UpdateByQueryRethrottleResponse.java | 6 +++ .../core/bulk/BulkOperationBase.java | 6 +++ .../core/bulk/BulkResponseItem.java | 6 +++ .../elasticsearch/core/bulk/UpdateAction.java | 5 +++ .../core/explain/Explanation.java | 6 +++ .../core/explain/ExplanationDetail.java | 6 +++ .../core/field_caps/FieldCapability.java | 6 +++ .../elasticsearch/core/get/GetResult.java | 5 +++ .../core/get_script_context/Context.java | 6 +++ .../get_script_context/ContextMethod.java | 6 +++ .../ContextMethodParam.java | 6 +++ .../get_script_languages/LanguageContext.java | 6 +++ .../core/knn_search/KnnSearchQuery.java | 6 +++ .../core/mget/MultiGetError.java | 6 +++ .../core/mget/MultiGetOperation.java | 6 +++ .../core/msearch/MultiSearchResult.java | 6 +++ .../core/msearch/MultisearchBody.java | 6 +++ .../core/msearch/MultisearchHeader.java | 6 +++ .../core/msearch/RequestItem.java | 6 +++ .../core/msearch_template/RequestItem.java | 6 +++ .../core/msearch_template/TemplateConfig.java | 6 +++ .../MultiTermVectorsOperation.java | 6 +++ .../mtermvectors/MultiTermVectorsResult.java | 6 +++ .../core/rank_eval/DocumentRating.java | 6 +++ .../core/rank_eval/RankEvalHit.java | 6 +++ .../core/rank_eval/RankEvalHitItem.java | 5 +++ .../core/rank_eval/RankEvalMetric.java | 6 +++ .../core/rank_eval/RankEvalMetricBase.java | 6 +++ .../core/rank_eval/RankEvalMetricDetail.java | 6 +++ .../core/rank_eval/RankEvalQuery.java | 6 +++ .../core/rank_eval/RankEvalRequestItem.java | 6 +++ .../core/rank_eval/UnratedDocument.java | 6 +++ .../core/reindex/Destination.java | 6 +++ .../core/reindex/RemoteSource.java | 6 +++ .../elasticsearch/core/reindex/Source.java | 6 +++ .../reindex_rethrottle/ReindexStatus.java | 6 +++ .../core/reindex_rethrottle/ReindexTask.java | 6 +++ .../PainlessContextSetup.java | 6 +++ .../core/search/AggregationBreakdown.java | 6 +++ .../core/search/AggregationProfile.java | 6 +++ .../core/search/AggregationProfileDebug.java | 6 +++ ...AggregationProfileDelegateDebugFilter.java | 6 +++ .../elasticsearch/core/search/Collector.java | 6 +++ .../core/search/CompletionContext.java | 6 +++ .../core/search/CompletionSuggestOption.java | 5 +++ .../core/search/DirectGenerator.java | 6 +++ .../core/search/FetchProfile.java | 6 +++ .../core/search/FetchProfileBreakdown.java | 6 +++ .../core/search/FetchProfileDebug.java | 6 +++ .../core/search/FieldCollapse.java | 6 +++ .../elasticsearch/core/search/Highlight.java | 6 +++ .../core/search/HighlightField.java | 6 +++ .../elasticsearch/core/search/Hit.java | 5 +++ .../core/search/HitsMetadata.java | 5 +++ .../elasticsearch/core/search/InnerHits.java | 6 +++ .../core/search/InnerHitsResult.java | 6 +++ .../core/search/LaplaceSmoothingModel.java | 6 +++ .../LinearInterpolationSmoothingModel.java | 6 +++ .../core/search/NestedIdentity.java | 6 +++ .../core/search/PhraseSuggestCollate.java | 6 +++ .../search/PhraseSuggestCollateQuery.java | 6 +++ .../core/search/PhraseSuggestHighlight.java | 6 +++ .../core/search/PhraseSuggestOption.java | 6 +++ .../core/search/PointInTimeReference.java | 6 +++ .../elasticsearch/core/search/Profile.java | 6 +++ .../core/search/QueryBreakdown.java | 6 +++ .../core/search/QueryProfile.java | 6 +++ .../elasticsearch/core/search/Rescore.java | 6 +++ .../core/search/RescoreQuery.java | 6 +++ .../core/search/ResponseBody.java | 6 +++ .../core/search/SearchProfile.java | 6 +++ .../core/search/ShardProfile.java | 6 +++ .../core/search/SourceFilter.java | 6 +++ .../search/StupidBackoffSmoothingModel.java | 6 +++ .../core/search/SuggestBase.java | 6 +++ .../core/search/SuggestFuzziness.java | 6 +++ .../elasticsearch/core/search/Suggester.java | 6 +++ .../core/search/SuggesterBase.java | 6 +++ .../core/search/TermSuggestOption.java | 6 +++ .../elasticsearch/core/search/TotalHits.java | 6 +++ .../core/search_shards/ShardStoreIndex.java | 6 +++ .../core/termvectors/FieldStatistics.java | 6 +++ .../core/termvectors/Filter.java | 6 +++ .../elasticsearch/core/termvectors/Term.java | 6 +++ .../core/termvectors/TermVector.java | 6 +++ .../elasticsearch/core/termvectors/Token.java | 6 +++ .../ListDanglingIndicesResponse.java | 6 +++ .../list_dangling_indices/DanglingIndex.java | 6 +++ .../enrich/EnrichConfiguration.java | 6 +++ .../elasticsearch/enrich/EnrichPolicy.java | 6 +++ .../enrich/EnrichStatsResponse.java | 6 +++ .../elasticsearch/enrich/EnrichSummary.java | 6 +++ .../enrich/ExecutePolicyResponse.java | 6 +++ .../enrich/GetPolicyResponse.java | 6 +++ .../ExecuteEnrichPolicyStatus.java | 6 +++ .../enrich/stats/CacheStats.java | 6 +++ .../enrich/stats/CoordinatorStats.java | 6 +++ .../enrich/stats/ExecutingPolicy.java | 6 +++ .../clients/elasticsearch/eql/EqlHits.java | 6 +++ .../eql/EqlSearchResponseBase.java | 6 +++ .../eql/GetEqlStatusResponse.java | 6 +++ .../clients/elasticsearch/eql/HitsEvent.java | 5 +++ .../elasticsearch/eql/HitsSequence.java | 6 +++ .../elasticsearch/features/Feature.java | 6 +++ .../features/GetFeaturesResponse.java | 6 +++ .../features/ResetFeaturesResponse.java | 6 +++ .../fleet/FleetSearchResponse.java | 6 +++ .../elasticsearch/graph/Connection.java | 6 +++ .../elasticsearch/graph/ExploreControls.java | 6 +++ .../elasticsearch/graph/ExploreResponse.java | 6 +++ .../clients/elasticsearch/graph/Hop.java | 6 +++ .../elasticsearch/graph/SampleDiversity.java | 6 +++ .../clients/elasticsearch/graph/Vertex.java | 6 +++ .../elasticsearch/graph/VertexDefinition.java | 6 +++ .../elasticsearch/graph/VertexInclude.java | 6 +++ .../elasticsearch/ilm/Configurations.java | 6 +++ .../ilm/ExplainLifecycleResponse.java | 6 +++ .../ilm/ForceMergeConfiguration.java | 6 +++ .../ilm/GetIlmStatusResponse.java | 6 +++ .../ilm/GetLifecycleResponse.java | 6 +++ .../clients/elasticsearch/ilm/IlmPolicy.java | 6 +++ .../ilm/MigrateToDataTiersResponse.java | 6 +++ .../clients/elasticsearch/ilm/Phase.java | 6 +++ .../clients/elasticsearch/ilm/Phases.java | 6 +++ .../ilm/RemovePolicyResponse.java | 6 +++ .../ilm/ShrinkConfiguration.java | 6 +++ .../LifecycleExplainManaged.java | 6 +++ .../LifecycleExplainPhaseExecution.java | 6 +++ .../LifecycleExplainUnmanaged.java | 6 +++ .../ilm/get_lifecycle/Lifecycle.java | 6 +++ .../ilm/move_to_step/StepKey.java | 6 +++ .../indices/AddBlockResponse.java | 6 +++ .../clients/elasticsearch/indices/Alias.java | 6 +++ .../indices/AliasDefinition.java | 6 +++ .../indices/AnalyzeResponse.java | 6 +++ .../elasticsearch/indices/CacheQueries.java | 6 +++ .../indices/CloneIndexResponse.java | 6 +++ .../indices/CloseIndexResponse.java | 6 +++ .../indices/CreateIndexResponse.java | 6 +++ .../elasticsearch/indices/DataStream.java | 6 +++ .../indices/DataStreamIndex.java | 6 +++ .../indices/DataStreamTimestampField.java | 6 +++ .../indices/DataStreamVisibility.java | 6 +++ .../indices/DataStreamsStatsResponse.java | 6 +++ .../indices/DiskUsageResponse.java | 6 +++ .../indices/FielddataFrequencyFilter.java | 6 +++ .../indices/GetAliasResponse.java | 6 +++ .../indices/GetDataStreamResponse.java | 6 +++ .../indices/GetFieldMappingResponse.java | 6 +++ .../indices/GetIndexResponse.java | 6 +++ .../indices/GetIndexTemplateResponse.java | 6 +++ .../indices/GetIndicesSettingsResponse.java | 6 +++ .../indices/GetMappingResponse.java | 6 +++ .../indices/GetTemplateResponse.java | 6 +++ .../elasticsearch/indices/IndexRouting.java | 6 +++ .../indices/IndexRoutingAllocation.java | 6 +++ .../indices/IndexRoutingAllocationDisk.java | 6 +++ .../IndexRoutingAllocationInclude.java | 6 +++ ...IndexRoutingAllocationInitialRecovery.java | 6 +++ .../indices/IndexRoutingRebalance.java | 6 +++ .../indices/IndexSegmentSort.java | 6 +++ .../indices/IndexSettingBlocks.java | 6 +++ .../elasticsearch/indices/IndexSettings.java | 6 +++ .../indices/IndexSettingsAnalysis.java | 6 +++ .../indices/IndexSettingsLifecycle.java | 6 +++ .../indices/IndexSettingsLifecycleStep.java | 6 +++ .../indices/IndexSettingsTimeSeries.java | 6 +++ .../elasticsearch/indices/IndexState.java | 6 +++ .../elasticsearch/indices/IndexTemplate.java | 6 +++ .../IndexTemplateDataStreamConfiguration.java | 6 +++ .../indices/IndexTemplateSummary.java | 6 +++ .../indices/IndexVersioning.java | 6 +++ .../indices/IndexingPressure.java | 6 +++ .../indices/IndexingPressureMemory.java | 6 +++ .../indices/IndicesStatsResponse.java | 6 +++ .../indices/MappingLimitSettings.java | 6 +++ .../indices/MappingLimitSettingsDepth.java | 6 +++ .../MappingLimitSettingsDimensionFields.java | 6 +++ .../MappingLimitSettingsFieldNameLength.java | 6 +++ .../MappingLimitSettingsNestedFields.java | 6 +++ .../MappingLimitSettingsNestedObjects.java | 6 +++ .../MappingLimitSettingsTotalFields.java | 6 +++ .../clients/elasticsearch/indices/Merge.java | 6 +++ .../elasticsearch/indices/MergeScheduler.java | 6 +++ .../indices/NumericFielddata.java | 6 +++ .../elasticsearch/indices/OpenResponse.java | 6 +++ .../indices/PromoteDataStreamResponse.java | 6 +++ .../elasticsearch/indices/Queries.java | 6 +++ .../indices/RecoveryResponse.java | 6 +++ .../ReloadSearchAnalyzersResponse.java | 6 +++ .../indices/ResolveIndexResponse.java | 6 +++ .../elasticsearch/indices/RetentionLease.java | 6 +++ .../indices/RolloverResponse.java | 6 +++ .../elasticsearch/indices/SearchIdle.java | 6 +++ .../indices/SegmentsResponse.java | 6 +++ .../indices/SettingsAnalyze.java | 6 +++ .../indices/SettingsHighlight.java | 6 +++ .../indices/SettingsQueryString.java | 6 +++ .../elasticsearch/indices/SettingsSearch.java | 6 +++ .../indices/SettingsSimilarity.java | 6 +++ .../indices/SettingsSimilarityBm25.java | 6 +++ .../indices/SettingsSimilarityDfi.java | 6 +++ .../indices/SettingsSimilarityDfr.java | 6 +++ .../indices/SettingsSimilarityIb.java | 6 +++ .../indices/SettingsSimilarityLmd.java | 6 +++ .../indices/SettingsSimilarityLmj.java | 6 +++ .../SettingsSimilarityScriptedTfidf.java | 6 +++ .../indices/ShardStoresResponse.java | 6 +++ .../elasticsearch/indices/ShrinkResponse.java | 6 +++ .../indices/SimulateTemplateResponse.java | 6 +++ .../indices/SlowlogSettings.java | 6 +++ .../indices/SlowlogTresholdLevels.java | 6 +++ .../indices/SlowlogTresholds.java | 6 +++ .../elasticsearch/indices/SoftDeletes.java | 6 +++ .../elasticsearch/indices/SplitResponse.java | 6 +++ .../elasticsearch/indices/Storage.java | 6 +++ .../indices/TemplateMapping.java | 6 +++ .../elasticsearch/indices/Translog.java | 6 +++ .../indices/TranslogRetention.java | 6 +++ .../indices/UnfreezeResponse.java | 6 +++ .../indices/ValidateQueryResponse.java | 6 +++ .../indices/add_block/IndicesBlockStatus.java | 6 +++ .../indices/analyze/AnalyzeDetail.java | 6 +++ .../indices/analyze/AnalyzeToken.java | 6 +++ .../indices/analyze/AnalyzerDetail.java | 6 +++ .../indices/analyze/CharFilterDetail.java | 6 +++ .../indices/analyze/ExplainAnalyzeToken.java | 6 +++ .../indices/analyze/TokenDetail.java | 6 +++ .../indices/close/CloseIndexResult.java | 6 +++ .../indices/close/CloseShardResult.java | 6 +++ .../DataStreamsStatsItem.java | 6 +++ .../field_usage_stats/FieldSummary.java | 6 +++ .../field_usage_stats/FieldsUsageBody.java | 6 +++ .../field_usage_stats/InvertedIndex.java | 6 +++ .../field_usage_stats/ShardsStats.java | 6 +++ .../field_usage_stats/UsageStatsIndex.java | 6 +++ .../field_usage_stats/UsageStatsShards.java | 6 +++ .../indices/get_alias/IndexAliases.java | 6 +++ .../get_field_mapping/TypeFieldMappings.java | 6 +++ .../get_index_template/IndexTemplateItem.java | 6 +++ .../get_mapping/IndexMappingRecord.java | 6 +++ .../IndexAndDataStreamAction.java | 6 +++ .../IndexTemplateMapping.java | 6 +++ .../indices/recovery/FileDetails.java | 6 +++ .../indices/recovery/RecoveryBytes.java | 6 +++ .../indices/recovery/RecoveryFiles.java | 6 +++ .../indices/recovery/RecoveryIndexStatus.java | 6 +++ .../indices/recovery/RecoveryOrigin.java | 6 +++ .../indices/recovery/RecoveryStartStatus.java | 6 +++ .../indices/recovery/RecoveryStatus.java | 6 +++ .../indices/recovery/ShardRecovery.java | 6 +++ .../indices/recovery/TranslogStatus.java | 6 +++ .../indices/recovery/VerifyIndex.java | 6 +++ .../ReloadDetails.java | 6 +++ .../resolve_index/ResolveIndexAliasItem.java | 6 +++ .../ResolveIndexDataStreamsItem.java | 6 +++ .../resolve_index/ResolveIndexItem.java | 6 +++ .../indices/rollover/RolloverConditions.java | 6 +++ .../indices/segments/IndexSegment.java | 6 +++ .../indices/segments/Segment.java | 6 +++ .../indices/segments/ShardSegmentRouting.java | 6 +++ .../indices/segments/ShardsSegment.java | 6 +++ .../shard_stores/IndicesShardStores.java | 6 +++ .../indices/shard_stores/ShardStore.java | 6 +++ .../shard_stores/ShardStoreException.java | 6 +++ .../shard_stores/ShardStoreWrapper.java | 6 +++ .../simulate_template/Overlapping.java | 6 +++ .../indices/simulate_template/Template.java | 6 +++ .../indices/stats/IndexStats.java | 6 +++ .../indices/stats/IndicesStats.java | 6 +++ .../indices/stats/ShardCommit.java | 6 +++ .../indices/stats/ShardFileSizeInfo.java | 6 +++ .../indices/stats/ShardLease.java | 6 +++ .../indices/stats/ShardPath.java | 6 +++ .../indices/stats/ShardQueryCache.java | 6 +++ .../indices/stats/ShardRetentionLeases.java | 6 +++ .../indices/stats/ShardRouting.java | 6 +++ .../indices/stats/ShardSequenceNumber.java | 6 +++ .../indices/stats/ShardStats.java | 6 +++ .../indices/stats/ShardsTotalStats.java | 6 +++ .../indices/update_aliases/AddAction.java | 6 +++ .../indices/update_aliases/RemoveAction.java | 6 +++ .../update_aliases/RemoveIndexAction.java | 6 +++ .../IndicesValidationExplanation.java | 6 +++ .../ingest/GeoIpStatsResponse.java | 6 +++ .../ingest/GetPipelineResponse.java | 6 +++ .../ingest/InferenceConfigClassification.java | 6 +++ .../ingest/InferenceConfigRegression.java | 6 +++ .../elasticsearch/ingest/Pipeline.java | 6 +++ .../elasticsearch/ingest/ProcessorBase.java | 6 +++ .../ingest/ProcessorGrokResponse.java | 6 +++ .../ingest/SimulateResponse.java | 6 +++ .../geo_ip_stats/GeoIpDownloadStatistics.java | 6 +++ .../geo_ip_stats/GeoIpNodeDatabaseName.java | 6 +++ .../geo_ip_stats/GeoIpNodeDatabases.java | 6 +++ .../ingest/simulate/Document.java | 6 +++ .../ingest/simulate/DocumentSimulation.java | 6 +++ .../elasticsearch/ingest/simulate/Ingest.java | 6 +++ .../ingest/simulate/PipelineSimulation.java | 6 +++ .../license/GetBasicStatusResponse.java | 6 +++ .../license/GetLicenseResponse.java | 6 +++ .../license/GetTrialStatusResponse.java | 6 +++ .../elasticsearch/license/License.java | 6 +++ .../elasticsearch/license/PostResponse.java | 6 +++ .../license/PostStartBasicResponse.java | 6 +++ .../license/PostStartTrialResponse.java | 6 +++ .../license/get/LicenseInformation.java | 5 +++ .../license/post/Acknowledgement.java | 6 +++ .../logstash/GetPipelineResponse.java | 6 +++ .../elasticsearch/logstash/Pipeline.java | 6 +++ .../logstash/PipelineMetadata.java | 6 +++ .../logstash/PipelineSettings.java | 6 +++ .../migration/DeprecationsResponse.java | 6 +++ .../GetFeatureUpgradeStatusResponse.java | 6 +++ .../migration/PostFeatureUpgradeResponse.java | 6 +++ .../migration/deprecations/Deprecation.java | 6 +++ .../MigrationFeature.java | 6 +++ .../MigrationFeatureIndexInfo.java | 6 +++ .../MigrationFeature.java | 6 +++ .../elasticsearch/ml/AnalysisConfig.java | 6 +++ .../elasticsearch/ml/AnalysisConfigRead.java | 6 +++ .../elasticsearch/ml/AnalysisLimits.java | 6 +++ .../elasticsearch/ml/AnalysisMemoryLimit.java | 6 +++ .../clients/elasticsearch/ml/Anomaly.java | 6 +++ .../elasticsearch/ml/AnomalyCause.java | 6 +++ .../elasticsearch/ml/BucketInfluencer.java | 6 +++ .../elasticsearch/ml/BucketSummary.java | 6 +++ .../elasticsearch/ml/CalendarEvent.java | 6 +++ .../ml/CategorizationAnalyzerDefinition.java | 6 +++ .../clients/elasticsearch/ml/Category.java | 6 +++ .../elasticsearch/ml/ChunkingConfig.java | 6 +++ .../ml/ClassificationInferenceOptions.java | 6 +++ .../elasticsearch/ml/CloseJobResponse.java | 6 +++ .../clients/elasticsearch/ml/DataCounts.java | 6 +++ .../elasticsearch/ml/DataDescription.java | 6 +++ .../clients/elasticsearch/ml/Datafeed.java | 6 +++ .../elasticsearch/ml/DatafeedConfig.java | 6 +++ .../ml/DatafeedRunningState.java | 6 +++ .../elasticsearch/ml/DatafeedStats.java | 6 +++ .../elasticsearch/ml/DatafeedTimingStats.java | 6 +++ .../ml/DataframeAnalysisAnalyzedFields.java | 6 +++ .../ml/DataframeAnalysisBase.java | 6 +++ ...ysisFeatureProcessorFrequencyEncoding.java | 6 +++ ...AnalysisFeatureProcessorMultiEncoding.java | 6 +++ ...AnalysisFeatureProcessorNGramEncoding.java | 6 +++ ...nalysisFeatureProcessorOneHotEncoding.java | 6 +++ ...sisFeatureProcessorTargetMeanEncoding.java | 6 +++ .../ml/DataframeAnalysisOutlierDetection.java | 6 +++ .../elasticsearch/ml/DataframeAnalytics.java | 6 +++ .../ml/DataframeAnalyticsDestination.java | 6 +++ .../ml/DataframeAnalyticsFieldSelection.java | 6 +++ .../DataframeAnalyticsMemoryEstimation.java | 6 +++ .../ml/DataframeAnalyticsSource.java | 6 +++ .../ml/DataframeAnalyticsStatsDataCounts.java | 6 +++ ...ataframeAnalyticsStatsHyperparameters.java | 6 +++ .../DataframeAnalyticsStatsMemoryUsage.java | 6 +++ ...taframeAnalyticsStatsOutlierDetection.java | 6 +++ .../ml/DataframeAnalyticsStatsProgress.java | 6 +++ .../ml/DataframeAnalyticsSummary.java | 6 +++ .../ml/DataframeEvaluationClassification.java | 6 +++ ...EvaluationClassificationMetricsAucRoc.java | 6 +++ .../ml/DataframeEvaluationMetrics.java | 6 +++ .../DataframeEvaluationOutlierDetection.java | 6 +++ .../ml/DataframeEvaluationRegression.java | 6 +++ .../DataframeEvaluationRegressionMetrics.java | 6 +++ ...frameEvaluationRegressionMetricsHuber.java | 6 +++ ...aframeEvaluationRegressionMetricsMsle.java | 6 +++ .../ml/DelayedDataCheckConfig.java | 6 +++ .../ml/DeleteCalendarJobResponse.java | 6 +++ .../ml/DeleteExpiredDataResponse.java | 6 +++ .../elasticsearch/ml/DetectionRule.java | 6 +++ .../clients/elasticsearch/ml/Detector.java | 6 +++ .../elasticsearch/ml/DetectorRead.java | 6 +++ .../elasticsearch/ml/DiscoveryNode.java | 6 +++ .../ml/EstimateModelMemoryResponse.java | 6 +++ .../ml/EvaluateDataFrameResponse.java | 6 +++ .../ml/ExplainDataFrameAnalyticsResponse.java | 6 +++ .../ml/FillMaskInferenceOptions.java | 6 +++ .../ml/FillMaskInferenceUpdateOptions.java | 6 +++ .../clients/elasticsearch/ml/Filter.java | 6 +++ .../clients/elasticsearch/ml/FilterRef.java | 6 +++ .../elasticsearch/ml/FlushJobResponse.java | 6 +++ .../elasticsearch/ml/ForecastResponse.java | 6 +++ .../elasticsearch/ml/GetBucketsResponse.java | 6 +++ .../ml/GetCalendarEventsResponse.java | 6 +++ .../ml/GetCalendarsResponse.java | 6 +++ .../ml/GetCategoriesResponse.java | 6 +++ .../ml/GetDataFrameAnalyticsResponse.java | 6 +++ .../GetDataFrameAnalyticsStatsResponse.java | 6 +++ .../ml/GetDatafeedStatsResponse.java | 6 +++ .../ml/GetDatafeedsResponse.java | 6 +++ .../elasticsearch/ml/GetFiltersResponse.java | 6 +++ .../ml/GetInfluencersResponse.java | 6 +++ .../elasticsearch/ml/GetJobStatsResponse.java | 6 +++ .../elasticsearch/ml/GetJobsResponse.java | 6 +++ .../ml/GetMemoryStatsResponse.java | 6 +++ .../ml/GetModelSnapshotsResponse.java | 6 +++ .../ml/GetOverallBucketsResponse.java | 6 +++ .../elasticsearch/ml/GetRecordsResponse.java | 6 +++ .../ml/GetTrainedModelsResponse.java | 6 +++ .../ml/GetTrainedModelsStatsResponse.java | 6 +++ .../elasticsearch/ml/Hyperparameter.java | 6 +++ .../elasticsearch/ml/Hyperparameters.java | 6 +++ .../InferTrainedModelDeploymentResponse.java | 6 +++ .../clients/elasticsearch/ml/Influence.java | 6 +++ .../clients/elasticsearch/ml/Influencer.java | 6 +++ .../elastic/clients/elasticsearch/ml/Job.java | 6 +++ .../clients/elasticsearch/ml/JobBlocked.java | 6 +++ .../clients/elasticsearch/ml/JobConfig.java | 6 +++ .../ml/JobForecastStatistics.java | 6 +++ .../elasticsearch/ml/JobStatistics.java | 6 +++ .../clients/elasticsearch/ml/JobStats.java | 6 +++ .../elasticsearch/ml/JobTimingStats.java | 6 +++ .../elasticsearch/ml/MlInfoResponse.java | 6 +++ .../elasticsearch/ml/ModelPlotConfig.java | 6 +++ .../elasticsearch/ml/ModelSizeStats.java | 6 +++ .../elasticsearch/ml/ModelSnapshot.java | 6 +++ .../elasticsearch/ml/NerInferenceOptions.java | 6 +++ .../ml/NerInferenceUpdateOptions.java | 6 +++ .../ml/NlpBertTokenizationConfig.java | 6 +++ .../ml/NlpRobertaTokenizationConfig.java | 6 +++ .../ml/NlpTokenizationUpdateOptions.java | 6 +++ .../elasticsearch/ml/OpenJobResponse.java | 6 +++ .../ml/OutlierDetectionParameters.java | 6 +++ .../elasticsearch/ml/OverallBucket.java | 6 +++ .../elasticsearch/ml/OverallBucketJob.java | 6 +++ .../clients/elasticsearch/ml/Page.java | 6 +++ .../ml/PassThroughInferenceOptions.java | 6 +++ .../ml/PassThroughInferenceUpdateOptions.java | 6 +++ .../ml/PerPartitionCategorization.java | 6 +++ .../ml/PostCalendarEventsResponse.java | 6 +++ .../elasticsearch/ml/PostDataResponse.java | 6 +++ .../ml/PreviewDataFrameAnalyticsResponse.java | 6 +++ .../ml/PreviewDatafeedResponse.java | 5 +++ .../ml/PutCalendarJobResponse.java | 6 +++ .../elasticsearch/ml/PutCalendarResponse.java | 6 +++ .../ml/PutDataFrameAnalyticsResponse.java | 6 +++ .../elasticsearch/ml/PutDatafeedResponse.java | 6 +++ .../elasticsearch/ml/PutFilterResponse.java | 6 +++ .../elasticsearch/ml/PutJobResponse.java | 6 +++ .../ml/RegressionInferenceOptions.java | 6 +++ .../ml/RevertModelSnapshotResponse.java | 6 +++ .../elasticsearch/ml/RuleCondition.java | 6 +++ .../ml/RunningStateSearchInterval.java | 6 +++ .../ml/StartDataFrameAnalyticsResponse.java | 6 +++ .../ml/StartDatafeedResponse.java | 6 +++ .../StartTrainedModelDeploymentResponse.java | 6 +++ .../ml/StopDataFrameAnalyticsResponse.java | 6 +++ .../ml/StopDatafeedResponse.java | 6 +++ .../StopTrainedModelDeploymentResponse.java | 6 +++ .../TextClassificationInferenceOptions.java | 6 +++ ...tClassificationInferenceUpdateOptions.java | 6 +++ .../ml/TextEmbeddingInferenceOptions.java | 6 +++ .../TextEmbeddingInferenceUpdateOptions.java | 6 +++ .../clients/elasticsearch/ml/TimingStats.java | 6 +++ .../elasticsearch/ml/TopClassEntry.java | 6 +++ .../ml/TotalFeatureImportance.java | 6 +++ .../ml/TotalFeatureImportanceClass.java | 6 +++ .../ml/TotalFeatureImportanceStatistics.java | 6 +++ .../ml/TrainedModelAllocation.java | 6 +++ .../TrainedModelAllocationRoutingTable.java | 6 +++ .../TrainedModelAllocationTaskParameters.java | 6 +++ .../elasticsearch/ml/TrainedModelConfig.java | 6 +++ .../ml/TrainedModelConfigInput.java | 6 +++ .../ml/TrainedModelConfigMetadata.java | 6 +++ ...rainedModelDeploymentAllocationStatus.java | 6 +++ .../ml/TrainedModelDeploymentNodesStats.java | 6 +++ .../ml/TrainedModelDeploymentStats.java | 6 +++ .../ml/TrainedModelEntities.java | 6 +++ .../ml/TrainedModelInferenceStats.java | 6 +++ .../ml/TrainedModelLocation.java | 6 +++ .../ml/TrainedModelLocationIndex.java | 6 +++ .../ml/TrainedModelSizeStats.java | 6 +++ .../elasticsearch/ml/TrainedModelStats.java | 6 +++ .../ml/UpdateDataFrameAnalyticsResponse.java | 6 +++ .../ml/UpdateDatafeedResponse.java | 6 +++ .../ml/UpdateFilterResponse.java | 6 +++ .../elasticsearch/ml/UpdateJobResponse.java | 6 +++ .../ml/UpdateModelSnapshotResponse.java | 6 +++ .../ml/UpgradeJobSnapshotResponse.java | 6 +++ .../elasticsearch/ml/ValidationLoss.java | 6 +++ ...eroShotClassificationInferenceOptions.java | 6 +++ ...tClassificationInferenceUpdateOptions.java | 6 +++ .../ConfusionMatrixItem.java | 6 +++ .../ConfusionMatrixPrediction.java | 6 +++ .../ConfusionMatrixThreshold.java | 6 +++ .../DataframeClassificationSummary.java | 6 +++ ...ataframeClassificationSummaryAccuracy.java | 6 +++ ...ationSummaryMulticlassConfusionMatrix.java | 6 +++ ...taframeClassificationSummaryPrecision.java | 6 +++ .../DataframeClassificationSummaryRecall.java | 6 +++ ...frameEvaluationSummaryAucRocCurveItem.java | 6 +++ .../DataframeEvaluationValue.java | 6 +++ .../DataframeOutlierDetectionSummary.java | 6 +++ .../DataframeRegressionSummary.java | 6 +++ .../ml/get_calendars/Calendar.java | 6 +++ .../ml/get_memory_stats/JvmStats.java | 6 +++ .../ml/get_memory_stats/MemMlStats.java | 6 +++ .../ml/get_memory_stats/MemStats.java | 6 +++ .../ml/get_memory_stats/Memory.java | 6 +++ .../ml/info/AnomalyDetectors.java | 6 +++ .../elasticsearch/ml/info/Datafeeds.java | 6 +++ .../elasticsearch/ml/info/Defaults.java | 6 +++ .../clients/elasticsearch/ml/info/Limits.java | 6 +++ .../elasticsearch/ml/info/NativeCode.java | 6 +++ .../DataframePreviewConfig.java | 6 +++ .../ml/put_trained_model/AggregateOutput.java | 6 +++ .../ml/put_trained_model/Definition.java | 6 +++ .../ml/put_trained_model/Ensemble.java | 6 +++ .../FrequencyEncodingPreprocessor.java | 6 +++ .../ml/put_trained_model/Input.java | 6 +++ .../OneHotEncodingPreprocessor.java | 6 +++ .../TargetMeanEncodingPreprocessor.java | 6 +++ .../ml/put_trained_model/TrainedModel.java | 6 +++ .../put_trained_model/TrainedModelTree.java | 6 +++ .../TrainedModelTreeNode.java | 6 +++ .../ml/put_trained_model/Weights.java | 6 +++ .../monitoring/BulkResponse.java | 6 +++ .../nodes/AdaptiveSelection.java | 6 +++ .../clients/elasticsearch/nodes/Breaker.java | 6 +++ .../clients/elasticsearch/nodes/Cgroup.java | 6 +++ .../elasticsearch/nodes/CgroupCpu.java | 6 +++ .../elasticsearch/nodes/CgroupCpuStat.java | 6 +++ .../elasticsearch/nodes/CgroupMemory.java | 6 +++ .../clients/elasticsearch/nodes/Client.java | 6 +++ .../nodes/ClusterAppliedStats.java | 6 +++ .../nodes/ClusterStateQueue.java | 6 +++ .../nodes/ClusterStateUpdate.java | 6 +++ .../clients/elasticsearch/nodes/Context.java | 6 +++ .../clients/elasticsearch/nodes/Cpu.java | 6 +++ .../clients/elasticsearch/nodes/CpuAcct.java | 6 +++ .../elasticsearch/nodes/DataPathStats.java | 6 +++ .../elasticsearch/nodes/Discovery.java | 6 +++ .../elasticsearch/nodes/FileSystem.java | 6 +++ .../elasticsearch/nodes/FileSystemTotal.java | 6 +++ .../elasticsearch/nodes/GarbageCollector.java | 6 +++ .../nodes/GarbageCollectorTotal.java | 6 +++ .../nodes/HotThreadsResponse.java | 6 +++ .../clients/elasticsearch/nodes/Http.java | 6 +++ .../elasticsearch/nodes/IndexingPressure.java | 6 +++ .../nodes/IndexingPressureMemory.java | 6 +++ .../clients/elasticsearch/nodes/Ingest.java | 6 +++ .../elasticsearch/nodes/IngestTotal.java | 6 +++ .../elasticsearch/nodes/IoStatDevice.java | 6 +++ .../clients/elasticsearch/nodes/IoStats.java | 6 +++ .../clients/elasticsearch/nodes/Jvm.java | 6 +++ .../elasticsearch/nodes/JvmClasses.java | 6 +++ .../elasticsearch/nodes/JvmMemoryStats.java | 6 +++ .../elasticsearch/nodes/JvmThreads.java | 6 +++ .../elasticsearch/nodes/KeyedProcessor.java | 6 +++ .../elasticsearch/nodes/MemoryStats.java | 6 +++ .../elasticsearch/nodes/NodeBufferPool.java | 6 +++ .../elasticsearch/nodes/NodeReloadError.java | 6 +++ .../nodes/NodesResponseBase.java | 6 +++ .../elasticsearch/nodes/OperatingSystem.java | 6 +++ .../clients/elasticsearch/nodes/Pool.java | 6 +++ .../elasticsearch/nodes/PressureMemory.java | 6 +++ .../clients/elasticsearch/nodes/Process.java | 6 +++ .../elasticsearch/nodes/Processor.java | 6 +++ .../nodes/PublishedClusterStates.java | 6 +++ .../elasticsearch/nodes/Recording.java | 6 +++ .../nodes/RepositoryLocation.java | 6 +++ .../nodes/RepositoryMeteringInformation.java | 6 +++ .../elasticsearch/nodes/RequestCounts.java | 6 +++ .../elasticsearch/nodes/ScriptCache.java | 6 +++ .../elasticsearch/nodes/Scripting.java | 6 +++ .../nodes/SerializedClusterState.java | 6 +++ .../nodes/SerializedClusterStateDetail.java | 6 +++ .../clients/elasticsearch/nodes/Stats.java | 6 +++ .../elasticsearch/nodes/ThreadCount.java | 6 +++ .../elasticsearch/nodes/Transport.java | 6 +++ .../nodes/TransportHistogram.java | 6 +++ .../nodes/hot_threads/HotThread.java | 6 +++ .../nodes/info/DeprecationIndexing.java | 6 +++ .../elasticsearch/nodes/info/NodeInfo.java | 6 +++ .../nodes/info/NodeInfoAction.java | 6 +++ .../nodes/info/NodeInfoAggregation.java | 6 +++ .../nodes/info/NodeInfoBootstrap.java | 6 +++ .../nodes/info/NodeInfoClient.java | 6 +++ .../nodes/info/NodeInfoDiscover.java | 6 +++ .../nodes/info/NodeInfoHttp.java | 6 +++ .../nodes/info/NodeInfoIngest.java | 6 +++ .../nodes/info/NodeInfoIngestDownloader.java | 6 +++ .../nodes/info/NodeInfoIngestInfo.java | 6 +++ .../nodes/info/NodeInfoIngestProcessor.java | 6 +++ .../nodes/info/NodeInfoJvmMemory.java | 6 +++ .../nodes/info/NodeInfoMemory.java | 6 +++ .../nodes/info/NodeInfoNetwork.java | 6 +++ .../nodes/info/NodeInfoNetworkInterface.java | 6 +++ .../nodes/info/NodeInfoOSCPU.java | 6 +++ .../nodes/info/NodeInfoPath.java | 6 +++ .../nodes/info/NodeInfoRepositories.java | 6 +++ .../nodes/info/NodeInfoRepositoriesUrl.java | 6 +++ .../nodes/info/NodeInfoScript.java | 6 +++ .../nodes/info/NodeInfoSearch.java | 6 +++ .../nodes/info/NodeInfoSearchRemote.java | 6 +++ .../nodes/info/NodeInfoSettings.java | 6 +++ .../nodes/info/NodeInfoSettingsCluster.java | 6 +++ .../info/NodeInfoSettingsClusterElection.java | 6 +++ .../nodes/info/NodeInfoSettingsHttp.java | 6 +++ .../nodes/info/NodeInfoSettingsHttpType.java | 6 +++ .../nodes/info/NodeInfoSettingsIngest.java | 6 +++ .../nodes/info/NodeInfoSettingsNetwork.java | 6 +++ .../nodes/info/NodeInfoSettingsNode.java | 6 +++ .../nodes/info/NodeInfoSettingsTransport.java | 6 +++ .../NodeInfoSettingsTransportFeatures.java | 6 +++ .../info/NodeInfoSettingsTransportType.java | 6 +++ .../nodes/info/NodeInfoTransport.java | 6 +++ .../nodes/info/NodeInfoXpack.java | 6 +++ .../nodes/info/NodeInfoXpackLicense.java | 6 +++ .../nodes/info/NodeInfoXpackLicenseType.java | 6 +++ .../nodes/info/NodeInfoXpackSecurity.java | 6 +++ .../info/NodeInfoXpackSecurityAuthc.java | 6 +++ .../NodeInfoXpackSecurityAuthcRealms.java | 6 +++ ...odeInfoXpackSecurityAuthcRealmsStatus.java | 6 +++ .../info/NodeInfoXpackSecurityAuthcToken.java | 6 +++ .../nodes/info/NodeInfoXpackSecuritySsl.java | 6 +++ .../elasticsearch/nodes/info/NodeJvmInfo.java | 6 +++ .../nodes/info/NodeOperatingSystemInfo.java | 6 +++ .../nodes/info/NodeProcessInfo.java | 6 +++ .../nodes/info/NodeThreadPoolInfo.java | 6 +++ .../elasticsearch/nodes/usage/NodeUsage.java | 6 +++ .../rollup/DateHistogramGrouping.java | 6 +++ .../rollup/DeleteJobResponse.java | 6 +++ .../elasticsearch/rollup/FieldMetric.java | 6 +++ .../elasticsearch/rollup/GetJobsResponse.java | 6 +++ .../rollup/GetRollupCapsResponse.java | 6 +++ .../rollup/GetRollupIndexCapsResponse.java | 6 +++ .../elasticsearch/rollup/Groupings.java | 6 +++ .../rollup/HistogramGrouping.java | 6 +++ .../elasticsearch/rollup/RollupResponse.java | 6 +++ .../rollup/RollupSearchResponse.java | 6 +++ .../rollup/StartJobResponse.java | 6 +++ .../elasticsearch/rollup/StopJobResponse.java | 6 +++ .../elasticsearch/rollup/TermsGrouping.java | 6 +++ .../rollup/get_jobs/RollupJob.java | 6 +++ .../get_jobs/RollupJobConfiguration.java | 6 +++ .../rollup/get_jobs/RollupJobStats.java | 6 +++ .../rollup/get_jobs/RollupJobStatus.java | 6 +++ .../get_rollup_caps/RollupCapabilities.java | 6 +++ .../RollupCapabilitySummary.java | 6 +++ .../IndexCapabilities.java | 6 +++ .../RollupJobSummary.java | 6 +++ .../RollupJobSummaryField.java | 6 +++ .../CacheStatsResponse.java | 6 +++ .../ClearCacheResponse.java | 6 +++ .../searchable_snapshots/MountResponse.java | 6 +++ .../SearchableSnapshotsStatsResponse.java | 6 +++ .../cache_stats/Node.java | 6 +++ .../cache_stats/Shared.java | 6 +++ .../mount/MountedSnapshot.java | 6 +++ .../elasticsearch/security/ApiKey.java | 6 +++ .../ApplicationGlobalUserPrivileges.java | 6 +++ .../security/ApplicationPrivileges.java | 6 +++ .../security/AuthenticateResponse.java | 6 +++ .../security/ClearApiKeyCacheResponse.java | 6 +++ .../ClearCachedPrivilegesResponse.java | 6 +++ .../security/ClearCachedRealmsResponse.java | 6 +++ .../security/ClearCachedRolesResponse.java | 6 +++ .../ClearCachedServiceTokensResponse.java | 6 +++ .../elasticsearch/security/ClusterNode.java | 6 +++ .../security/CreateApiKeyResponse.java | 6 +++ .../security/CreateServiceTokenResponse.java | 6 +++ .../elasticsearch/security/CreatedStatus.java | 6 +++ .../security/DeletePrivilegesResponse.java | 6 +++ .../security/DeleteRoleMappingResponse.java | 6 +++ .../security/DeleteRoleResponse.java | 6 +++ .../security/DeleteServiceTokenResponse.java | 6 +++ .../security/DeleteUserResponse.java | 6 +++ .../security/EnrollKibanaResponse.java | 6 +++ .../security/EnrollNodeResponse.java | 6 +++ .../elasticsearch/security/FieldSecurity.java | 6 +++ .../security/GetApiKeyResponse.java | 6 +++ .../GetBuiltinPrivilegesResponse.java | 6 +++ .../security/GetPrivilegesResponse.java | 6 +++ .../security/GetRoleMappingResponse.java | 6 +++ .../security/GetRoleResponse.java | 6 +++ .../security/GetServiceAccountsResponse.java | 6 +++ .../GetServiceCredentialsResponse.java | 6 +++ .../security/GetTokenResponse.java | 6 +++ .../security/GetUserPrivilegesResponse.java | 6 +++ .../security/GetUserProfileResponse.java | 6 +++ .../security/GetUserResponse.java | 6 +++ .../security/GlobalPrivilege.java | 6 +++ .../security/GrantApiKeyResponse.java | 6 +++ .../security/HasPrivilegesResponse.java | 6 +++ .../security/IndicesPrivileges.java | 6 +++ .../security/InvalidateApiKeyResponse.java | 6 +++ .../security/InvalidateTokenResponse.java | 6 +++ .../security/ManageUserPrivileges.java | 6 +++ .../security/PutPrivilegesResponse.java | 6 +++ .../security/PutRoleMappingResponse.java | 6 +++ .../security/PutRoleResponse.java | 6 +++ .../security/PutUserResponse.java | 6 +++ .../security/QueryApiKeysResponse.java | 6 +++ .../clients/elasticsearch/security/Realm.java | 6 +++ .../elasticsearch/security/RealmInfo.java | 6 +++ .../elasticsearch/security/RoleMapping.java | 6 +++ .../security/SamlAuthenticateResponse.java | 6 +++ .../security/SamlInvalidateResponse.java | 6 +++ .../security/SamlLogoutResponse.java | 6 +++ .../SamlPrepareAuthenticationResponse.java | 6 +++ .../SamlServiceProviderMetadataResponse.java | 6 +++ .../security/SuggestUserProfilesResponse.java | 6 +++ .../security/TransientMetadataConfig.java | 6 +++ .../clients/elasticsearch/security/User.java | 6 +++ .../elasticsearch/security/UserProfile.java | 6 +++ .../security/UserProfileHitMetadata.java | 6 +++ .../security/UserProfileUser.java | 6 +++ .../security/authenticate/ServiceToken.java | 6 +++ .../create_api_key/IndexPrivileges.java | 6 +++ .../create_api_key/RoleDescriptor.java | 6 +++ .../security/create_service_token/Token.java | 6 +++ .../delete_privileges/FoundStatus.java | 6 +++ .../security/enroll_kibana/Token.java | 6 +++ .../elasticsearch/security/get_role/Role.java | 6 +++ .../security/get_role/RoleTemplate.java | 6 +++ .../get_service_accounts/RoleDescriptor.java | 6 +++ .../RoleDescriptorWrapper.java | 6 +++ .../NodesCredentials.java | 6 +++ .../NodesCredentialsFileToken.java | 6 +++ .../get_token/AuthenticationProvider.java | 6 +++ .../security/get_token/UserRealm.java | 6 +++ .../security/grant_api_key/GrantApiKey.java | 6 +++ .../ApplicationPrivilegesCheck.java | 6 +++ .../has_privileges/IndexPrivilegesCheck.java | 6 +++ .../security/put_privileges/Actions.java | 6 +++ .../TotalUserProfiles.java | 6 +++ .../shutdown/GetNodeResponse.java | 6 +++ .../shutdown/get_node/NodeShutdownStatus.java | 6 +++ .../get_node/PersistentTaskStatus.java | 6 +++ .../shutdown/get_node/PluginsStatus.java | 6 +++ .../get_node/ShardMigrationStatus.java | 6 +++ .../slm/ExecuteLifecycleResponse.java | 6 +++ .../slm/GetLifecycleResponse.java | 6 +++ .../slm/GetSlmStatusResponse.java | 6 +++ .../elasticsearch/slm/GetStatsResponse.java | 6 +++ .../clients/elasticsearch/slm/InProgress.java | 6 +++ .../clients/elasticsearch/slm/Invocation.java | 6 +++ .../clients/elasticsearch/slm/Retention.java | 6 +++ .../elasticsearch/slm/SlmConfiguration.java | 6 +++ .../clients/elasticsearch/slm/SlmPolicy.java | 6 +++ .../elasticsearch/slm/SnapshotLifecycle.java | 6 +++ .../clients/elasticsearch/slm/Statistics.java | 6 +++ .../snapshot/CleanupRepositoryResponse.java | 6 +++ .../snapshot/CreateSnapshotResponse.java | 6 +++ .../snapshot/FileCountSnapshotStats.java | 6 +++ .../snapshot/GetRepositoryResponse.java | 6 +++ .../snapshot/GetSnapshotResponse.java | 6 +++ .../elasticsearch/snapshot/IndexDetails.java | 6 +++ .../snapshot/InfoFeatureState.java | 6 +++ .../elasticsearch/snapshot/Repository.java | 6 +++ .../snapshot/RepositorySettings.java | 6 +++ .../snapshot/RestoreResponse.java | 6 +++ .../elasticsearch/snapshot/ShardsStats.java | 6 +++ .../snapshot/ShardsStatsSummary.java | 6 +++ .../snapshot/ShardsStatsSummaryItem.java | 6 +++ .../snapshot/SnapshotIndexStats.java | 6 +++ .../elasticsearch/snapshot/SnapshotInfo.java | 6 +++ .../snapshot/SnapshotShardFailure.java | 6 +++ .../snapshot/SnapshotShardsStatus.java | 6 +++ .../elasticsearch/snapshot/SnapshotStats.java | 6 +++ .../snapshot/SnapshotStatusResponse.java | 6 +++ .../elasticsearch/snapshot/Status.java | 6 +++ .../snapshot/VerifyRepositoryResponse.java | 6 +++ .../CleanupRepositoryResults.java | 6 +++ .../snapshot/get/SnapshotResponseItem.java | 6 +++ .../snapshot/restore/SnapshotRestore.java | 6 +++ .../verify_repository/CompactNodeInfo.java | 6 +++ .../sql/ClearCursorResponse.java | 6 +++ .../clients/elasticsearch/sql/Column.java | 6 +++ .../elasticsearch/sql/GetAsyncResponse.java | 6 +++ .../sql/GetAsyncStatusResponse.java | 6 +++ .../elasticsearch/sql/QueryResponse.java | 6 +++ .../elasticsearch/sql/TranslateResponse.java | 6 +++ .../ssl/CertificatesResponse.java | 6 +++ .../certificates/CertificateInformation.java | 6 +++ .../elasticsearch/tasks/GetTasksResponse.java | 6 +++ .../elasticsearch/tasks/NodeTasks.java | 6 +++ .../clients/elasticsearch/tasks/TaskInfo.java | 6 +++ .../tasks/TaskListResponseBase.java | 6 +++ .../elasticsearch/tasks/TaskStatus.java | 6 +++ .../elasticsearch/transform/Destination.java | 6 +++ .../transform/GetTransformResponse.java | 6 +++ .../transform/GetTransformStatsResponse.java | 6 +++ .../elasticsearch/transform/Latest.java | 6 +++ .../elasticsearch/transform/Pivot.java | 6 +++ .../transform/PreviewTransformResponse.java | 5 +++ .../elasticsearch/transform/Settings.java | 6 +++ .../elasticsearch/transform/Source.java | 6 +++ .../transform/TimeRetentionPolicy.java | 6 +++ .../elasticsearch/transform/TimeSync.java | 6 +++ .../transform/UpdateTransformResponse.java | 6 +++ .../transform/UpgradeTransformsResponse.java | 6 +++ .../get_transform/TransformSummary.java | 6 +++ .../get_transform_stats/CheckpointStats.java | 6 +++ .../get_transform_stats/Checkpointing.java | 6 +++ .../TransformIndexerStats.java | 6 +++ .../TransformProgress.java | 6 +++ .../get_transform_stats/TransformStats.java | 6 +++ .../watcher/AckWatchResponse.java | 6 +++ .../watcher/AcknowledgeState.java | 6 +++ .../clients/elasticsearch/watcher/Action.java | 6 +++ .../elasticsearch/watcher/ActionStatus.java | 6 +++ .../watcher/ActivateWatchResponse.java | 6 +++ .../watcher/ActivationState.java | 6 +++ .../watcher/ActivationStatus.java | 6 +++ .../watcher/ArrayCompareCondition.java | 6 +++ .../elasticsearch/watcher/ChainInput.java | 6 +++ .../watcher/CompareCondition.java | 6 +++ .../CompareContextPayloadCondition.java | 6 +++ .../elasticsearch/watcher/DailySchedule.java | 6 +++ .../watcher/DataEmailAttachment.java | 6 +++ .../watcher/DeactivateWatchResponse.java | 6 +++ .../watcher/DeleteWatchResponse.java | 6 +++ .../clients/elasticsearch/watcher/Email.java | 6 +++ .../elasticsearch/watcher/EmailBody.java | 6 +++ .../elasticsearch/watcher/EmailResult.java | 6 +++ .../watcher/ExecuteWatchResponse.java | 6 +++ .../watcher/ExecutionResult.java | 6 +++ .../watcher/ExecutionResultAction.java | 6 +++ .../watcher/ExecutionResultCondition.java | 6 +++ .../watcher/ExecutionResultInput.java | 6 +++ .../elasticsearch/watcher/ExecutionState.java | 6 +++ .../watcher/ExecutionThreadPool.java | 6 +++ .../watcher/GetWatchResponse.java | 6 +++ .../elasticsearch/watcher/HourAndMinute.java | 6 +++ .../elasticsearch/watcher/HourlySchedule.java | 6 +++ .../watcher/HttpEmailAttachment.java | 6 +++ .../elasticsearch/watcher/HttpInput.java | 6 +++ .../watcher/HttpInputAuthentication.java | 6 +++ .../watcher/HttpInputBasicAuthentication.java | 6 +++ .../elasticsearch/watcher/HttpInputProxy.java | 6 +++ .../watcher/HttpInputRequestDefinition.java | 6 +++ .../watcher/HttpInputResponseResult.java | 6 +++ .../elasticsearch/watcher/IndexAction.java | 6 +++ .../elasticsearch/watcher/IndexResult.java | 6 +++ .../watcher/IndexResultSummary.java | 6 +++ .../elasticsearch/watcher/LoggingAction.java | 6 +++ .../elasticsearch/watcher/LoggingResult.java | 6 +++ .../watcher/PagerDutyContext.java | 6 +++ .../elasticsearch/watcher/PagerDutyEvent.java | 6 +++ .../watcher/PagerDutyEventProxy.java | 6 +++ .../watcher/PagerDutyResult.java | 6 +++ .../watcher/PutWatchResponse.java | 6 +++ .../elasticsearch/watcher/QueryWatch.java | 6 +++ .../watcher/QueryWatchesResponse.java | 6 +++ .../watcher/ReportingEmailAttachment.java | 6 +++ .../watcher/ScheduleTriggerEvent.java | 6 +++ .../watcher/ScriptCondition.java | 6 +++ .../elasticsearch/watcher/SearchInput.java | 6 +++ .../watcher/SearchInputRequestBody.java | 6 +++ .../watcher/SearchInputRequestDefinition.java | 6 +++ .../watcher/SearchTemplateRequestBody.java | 6 +++ .../watcher/SimulatedActions.java | 6 +++ .../elasticsearch/watcher/SlackAction.java | 6 +++ .../watcher/SlackAttachment.java | 6 +++ .../watcher/SlackAttachmentField.java | 6 +++ .../watcher/SlackDynamicAttachment.java | 6 +++ .../elasticsearch/watcher/SlackMessage.java | 6 +++ .../elasticsearch/watcher/SlackResult.java | 6 +++ .../elasticsearch/watcher/ThrottleState.java | 6 +++ .../elasticsearch/watcher/TimeOfMonth.java | 6 +++ .../elasticsearch/watcher/TimeOfWeek.java | 6 +++ .../elasticsearch/watcher/TimeOfYear.java | 6 +++ .../watcher/TriggerEventResult.java | 6 +++ .../clients/elasticsearch/watcher/Watch.java | 6 +++ .../elasticsearch/watcher/WatchStatus.java | 6 +++ .../watcher/WatcherStatsResponse.java | 6 +++ .../elasticsearch/watcher/WebhookResult.java | 6 +++ .../watcher/execute_watch/WatchRecord.java | 6 +++ .../watcher/stats/WatchRecordQueuedStats.java | 6 +++ .../watcher/stats/WatcherNodeStats.java | 6 +++ .../xpack/XpackInfoResponse.java | 6 +++ .../xpack/XpackUsageResponse.java | 6 +++ .../xpack/info/BuildInformation.java | 6 +++ .../elasticsearch/xpack/info/Feature.java | 6 +++ .../elasticsearch/xpack/info/Features.java | 6 +++ .../xpack/info/MinimalLicenseInformation.java | 6 +++ .../xpack/info/NativeCodeInformation.java | 6 +++ .../elasticsearch/xpack/usage/AllJobs.java | 6 +++ .../xpack/usage/AnalyticsStatistics.java | 6 +++ .../elasticsearch/xpack/usage/Base.java | 6 +++ .../elasticsearch/xpack/usage/Counter.java | 6 +++ .../xpack/usage/DataTierPhaseStatistics.java | 6 +++ .../elasticsearch/xpack/usage/Datafeed.java | 6 +++ .../xpack/usage/EqlFeatures.java | 6 +++ .../xpack/usage/EqlFeaturesJoin.java | 6 +++ .../xpack/usage/EqlFeaturesKeys.java | 6 +++ .../xpack/usage/EqlFeaturesPipes.java | 6 +++ .../xpack/usage/EqlFeaturesSequences.java | 6 +++ .../xpack/usage/FeatureToggle.java | 6 +++ .../elasticsearch/xpack/usage/Ilm.java | 6 +++ .../xpack/usage/IlmPolicyStatistics.java | 6 +++ .../elasticsearch/xpack/usage/IpFilter.java | 6 +++ .../elasticsearch/xpack/usage/Jobs.java | 6 +++ .../elasticsearch/xpack/usage/MlCounter.java | 6 +++ .../xpack/usage/MlDataFrameAnalyticsJobs.java | 6 +++ .../MlDataFrameAnalyticsJobsAnalysis.java | 6 +++ .../usage/MlDataFrameAnalyticsJobsCount.java | 6 +++ .../usage/MlDataFrameAnalyticsJobsMemory.java | 6 +++ .../xpack/usage/MlInference.java | 6 +++ .../xpack/usage/MlInferenceDeployments.java | 6 +++ .../usage/MlInferenceDeploymentsTimeMs.java | 6 +++ .../usage/MlInferenceIngestProcessor.java | 6 +++ .../MlInferenceIngestProcessorCount.java | 6 +++ .../xpack/usage/MlInferenceTrainedModels.java | 6 +++ .../usage/MlInferenceTrainedModelsCount.java | 6 +++ .../elasticsearch/xpack/usage/RealmCache.java | 6 +++ .../xpack/usage/RoleMapping.java | 6 +++ .../xpack/usage/RuntimeFieldsType.java | 6 +++ .../xpack/usage/SecurityRoles.java | 6 +++ .../xpack/usage/SecurityRolesDls.java | 6 +++ .../usage/SecurityRolesDlsBitSetCache.java | 6 +++ .../xpack/usage/SecurityRolesFile.java | 6 +++ .../xpack/usage/SecurityRolesNative.java | 6 +++ .../elasticsearch/xpack/usage/Ssl.java | 6 +++ .../xpack/usage/WatcherActionTotals.java | 6 +++ .../xpack/usage/WatcherActions.java | 6 +++ .../xpack/usage/WatcherWatch.java | 6 +++ .../xpack/usage/WatcherWatchTrigger.java | 6 +++ .../xpack/usage/XpackUsageQuery.java | 6 +++ .../co/elastic/clients/json/JsonpUtils.java | 32 ++++++++++++++ .../clients/json/SimpleJsonpMapper.java | 8 ++++ .../elastic/clients/json/ToStringMapper.java | 44 +++++++++++++++++++ .../endpoints/DictionaryResponse.java | 5 +++ .../elasticsearch/json/JsonpUtilsTest.java | 19 ++++++++ .../elasticsearch/model/EndpointTest.java | 20 +++++++++ 1248 files changed, 7598 insertions(+) create mode 100644 java-client/src/main/java/co/elastic/clients/json/ToStringMapper.java diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/AcknowledgedResponseBase.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/AcknowledgedResponseBase.java index 741fadff3..029a3168e 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/AcknowledgedResponseBase.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/AcknowledgedResponseBase.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -81,6 +82,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + protected abstract static class AbstractBuilder> extends WithJsonObjectBuilderBase { diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/BaseNode.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/BaseNode.java index 35faf5872..a664d6ea9 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/BaseNode.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/BaseNode.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -160,6 +161,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + protected abstract static class AbstractBuilder> extends WithJsonObjectBuilderBase { diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/BulkIndexByScrollFailure.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/BulkIndexByScrollFailure.java index 667075b23..3d6412daa 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/BulkIndexByScrollFailure.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/BulkIndexByScrollFailure.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -137,6 +138,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/BulkStats.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/BulkStats.java index b9fcf6cd8..6ecddb52e 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/BulkStats.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/BulkStats.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -205,6 +206,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/ClusterStatistics.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/ClusterStatistics.java index 1b24e592c..7c730fdfd 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/ClusterStatistics.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/ClusterStatistics.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -109,6 +110,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/CompletionStats.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/CompletionStats.java index d70a48ee1..c601ee277 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/CompletionStats.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/CompletionStats.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -125,6 +126,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/CoordsGeoBounds.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/CoordsGeoBounds.java index ccc0e501d..a20fd4ea1 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/CoordsGeoBounds.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/CoordsGeoBounds.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -122,6 +123,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/DocStats.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/DocStats.java index b37b0bb66..a9c8f49fe 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/DocStats.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/DocStats.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -102,6 +103,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/ElasticsearchVersionInfo.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/ElasticsearchVersionInfo.java index da817dffb..d5d1a0d98 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/ElasticsearchVersionInfo.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/ElasticsearchVersionInfo.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -191,6 +192,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/ErrorCause.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/ErrorCause.java index 4762492c8..18f10b4c7 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/ErrorCause.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/ErrorCause.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -207,6 +208,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/ErrorResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/ErrorResponse.java index d788d6796..947137910 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/ErrorResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/ErrorResponse.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -99,6 +100,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/FieldMemoryUsage.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/FieldMemoryUsage.java index 42fc4ee1d..ae6a22f6f 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/FieldMemoryUsage.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/FieldMemoryUsage.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -102,6 +103,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/FieldSizeUsage.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/FieldSizeUsage.java index d6d5878f1..2e34ec3f4 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/FieldSizeUsage.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/FieldSizeUsage.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -102,6 +103,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/FieldSort.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/FieldSort.java index c476361dd..66d427725 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/FieldSort.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/FieldSort.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -203,6 +204,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/FielddataStats.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/FielddataStats.java index 302215d8f..ecc0c33f5 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/FielddataStats.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/FielddataStats.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -142,6 +143,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/FlushStats.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/FlushStats.java index 0de1abd29..c1fb617be 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/FlushStats.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/FlushStats.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -128,6 +129,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/GeoDistanceSort.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/GeoDistanceSort.java index 9dd135786..21504e4ec 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/GeoDistanceSort.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/GeoDistanceSort.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -191,6 +192,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/GeoHashLocation.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/GeoHashLocation.java index 5c950a6bb..a42647a35 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/GeoHashLocation.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/GeoHashLocation.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -84,6 +85,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/GeoLine.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/GeoLine.java index 10e126434..ef58346ea 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/GeoLine.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/GeoLine.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -119,6 +120,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/GetStats.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/GetStats.java index d2a144954..f71223cb2 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/GetStats.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/GetStats.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -215,6 +216,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/IndexingStats.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/IndexingStats.java index a81ddd57a..d7448908e 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/IndexingStats.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/IndexingStats.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -278,6 +279,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/IndicesOptions.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/IndicesOptions.java index 4b30d6a50..13857ec39 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/IndicesOptions.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/IndicesOptions.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -162,6 +163,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/InlineGet.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/InlineGet.java index ebaca40cc..dedba1ba1 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/InlineGet.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/InlineGet.java @@ -200,6 +200,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/LatLonGeoLocation.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/LatLonGeoLocation.java index a1ad8c8f7..cc25b3a89 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/LatLonGeoLocation.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/LatLonGeoLocation.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -96,6 +97,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/MergesStats.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/MergesStats.java index 695a96138..c6e1b5e95 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/MergesStats.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/MergesStats.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -307,6 +308,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/NestedSortValue.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/NestedSortValue.java index 484188e0d..d76658461 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/NestedSortValue.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/NestedSortValue.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -137,6 +138,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/NodeAttributes.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/NodeAttributes.java index 68239990b..18679c049 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/NodeAttributes.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/NodeAttributes.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -180,6 +181,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/NodeShard.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/NodeShard.java index 7207914a7..a74cd7e0d 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/NodeShard.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/NodeShard.java @@ -29,6 +29,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -221,6 +222,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/NodeStatistics.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/NodeStatistics.java index f7fd7d7c3..81ddd2a58 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/NodeStatistics.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/NodeStatistics.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -140,6 +141,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/PluginStats.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/PluginStats.java index 3304cd026..29b137eaa 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/PluginStats.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/PluginStats.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -212,6 +213,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/QueryCacheStats.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/QueryCacheStats.java index 8f2cbe66b..c957d7d3a 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/QueryCacheStats.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/QueryCacheStats.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -180,6 +181,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/RecoveryStats.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/RecoveryStats.java index 8ec676330..0e703711d 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/RecoveryStats.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/RecoveryStats.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -129,6 +130,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/RefreshStats.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/RefreshStats.java index a1654c928..41d816c53 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/RefreshStats.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/RefreshStats.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -155,6 +156,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/RequestBase.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/RequestBase.java index 6840b5234..ff17f62a4 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/RequestBase.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/RequestBase.java @@ -25,11 +25,17 @@ import co.elastic.clients.json.JsonpDeserializable; import co.elastic.clients.json.JsonpDeserializer; +import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; +import co.elastic.clients.transport.Endpoint; import co.elastic.clients.util.ObjectBuilder; import co.elastic.clients.util.WithJsonObjectBuilderBase; import jakarta.json.stream.JsonGenerator; +import java.io.UnsupportedEncodingException; +import java.net.URLEncoder; +import java.util.Map; import java.util.Objects; // typedef: _types.RequestBase @@ -44,6 +50,40 @@ public abstract class RequestBase { public RequestBase() { } + @Override + public String toString() { + + StringBuilder sb = new StringBuilder(); + + try { + @SuppressWarnings("unchecked") + Endpoint endpoint = (Endpoint) this.getClass() + .getDeclaredField("_ENDPOINT").get(null); + + sb.append(endpoint.method(this)).append(" ").append(endpoint.requestUrl(this)); + + Map params = endpoint.queryParameters(this); + String delim = "?"; + for (Map.Entry param : params.entrySet()) { + sb.append(delim); + delim = "&"; + sb.append(param.getKey()).append("=").append(URLEncoder.encode(param.getValue(), "UTF-8")); + } + + } catch (NoSuchFieldException | IllegalAccessException e) { + // No endpoint, ignore + } catch (UnsupportedEncodingException e) { + // Should not happen (UTF-8 is builtin) + } + + if (this instanceof JsonpSerializable) { + sb.append(' '); + JsonpUtils.toString((JsonpSerializable) this, sb); + } + + return sb.toString(); + } + protected abstract static class AbstractBuilder> extends WithJsonObjectBuilderBase { diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/RequestCacheStats.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/RequestCacheStats.java index 7057817de..d46f8a739 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/RequestCacheStats.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/RequestCacheStats.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -141,6 +142,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/Retries.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/Retries.java index 3740414cf..c0c711b40 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/Retries.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/Retries.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -96,6 +97,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/ScoreSort.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/ScoreSort.java index d620b5ba8..4e1853727 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/ScoreSort.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/ScoreSort.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -94,6 +95,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/ScriptBase.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/ScriptBase.java index fbfe785f9..8771881d0 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/ScriptBase.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/ScriptBase.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -90,6 +91,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + protected abstract static class AbstractBuilder> extends WithJsonObjectBuilderBase { diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/ScriptField.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/ScriptField.java index 3f20029d8..6fbb7c2a7 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/ScriptField.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/ScriptField.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -102,6 +103,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/ScriptSort.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/ScriptSort.java index eb65b6b43..1f0e990e8 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/ScriptSort.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/ScriptSort.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -157,6 +158,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/ScriptTransform.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/ScriptTransform.java index 45970b2db..739e1126a 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/ScriptTransform.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/ScriptTransform.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -154,6 +155,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/SearchStats.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/SearchStats.java index 6534e8fd3..2e810771e 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/SearchStats.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/SearchStats.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -269,6 +270,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/SearchTransform.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/SearchTransform.java index 7040c0ab8..81a60952e 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/SearchTransform.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/SearchTransform.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -105,6 +106,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/SegmentsStats.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/SegmentsStats.java index 4e9b68bde..287da2253 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/SegmentsStats.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/SegmentsStats.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -447,6 +448,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/ShardFailure.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/ShardFailure.java index caea0fc43..3543d2965 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/ShardFailure.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/ShardFailure.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -150,6 +151,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/ShardStatistics.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/ShardStatistics.java index a697cb219..278295b89 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/ShardStatistics.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/ShardStatistics.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -149,6 +150,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/ShardsOperationResponseBase.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/ShardsOperationResponseBase.java index 70983197e..bedb27981 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/ShardsOperationResponseBase.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/ShardsOperationResponseBase.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -80,6 +81,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + protected abstract static class AbstractBuilder> extends WithJsonObjectBuilderBase { diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/SlicedScroll.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/SlicedScroll.java index 76882c820..2aa1f72c2 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/SlicedScroll.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/SlicedScroll.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -115,6 +116,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/StoreStats.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/StoreStats.java index 92d0c156c..2406c89d2 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/StoreStats.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/StoreStats.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -167,6 +168,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/StoredScript.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/StoredScript.java index a07b1e49b..a0410bd95 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/StoredScript.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/StoredScript.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -119,6 +120,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/TaskFailure.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/TaskFailure.java index 6e9ef9cc4..3eb4e9f44 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/TaskFailure.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/TaskFailure.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -124,6 +125,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/TopLeftBottomRightGeoBounds.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/TopLeftBottomRightGeoBounds.java index 5cae5ecca..1dad66a0f 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/TopLeftBottomRightGeoBounds.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/TopLeftBottomRightGeoBounds.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -97,6 +98,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/TopRightBottomLeftGeoBounds.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/TopRightBottomLeftGeoBounds.java index 94f509b6e..4ccb6019e 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/TopRightBottomLeftGeoBounds.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/TopRightBottomLeftGeoBounds.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -97,6 +98,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/TranslogStats.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/TranslogStats.java index 9f96ef415..62b564c84 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/TranslogStats.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/TranslogStats.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -175,6 +176,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/WarmerStats.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/WarmerStats.java index af5a2a8ea..11c0d6c08 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/WarmerStats.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/WarmerStats.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -128,6 +129,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/WktGeoBounds.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/WktGeoBounds.java index 066afc23f..e837cc92c 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/WktGeoBounds.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/WktGeoBounds.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -84,6 +85,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/WriteResponseBase.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/WriteResponseBase.java index cd632644c..565842723 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/WriteResponseBase.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/WriteResponseBase.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -177,6 +178,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + protected abstract static class AbstractBuilder> extends WithJsonObjectBuilderBase { diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/AggregateBase.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/AggregateBase.java index 062e1c94a..f4c8a3a7e 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/AggregateBase.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/AggregateBase.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -91,6 +92,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + protected abstract static class AbstractBuilder> extends WithJsonObjectBuilderBase { diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/AggregationBase.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/AggregationBase.java index 55fb2f251..ddc2317f1 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/AggregationBase.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/AggregationBase.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -108,6 +109,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + protected abstract static class AbstractBuilder> extends WithJsonObjectBuilderBase { diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/AggregationRange.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/AggregationRange.java index 87e0ec369..68e316f12 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/AggregationRange.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/AggregationRange.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -123,6 +124,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/ArrayPercentilesItem.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/ArrayPercentilesItem.java index 07dd21fee..35352e11a 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/ArrayPercentilesItem.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/ArrayPercentilesItem.java @@ -119,6 +119,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/BucketCorrelationFunction.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/BucketCorrelationFunction.java index 8059966e2..aa2449928 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/BucketCorrelationFunction.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/BucketCorrelationFunction.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -88,6 +89,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/BucketCorrelationFunctionCountCorrelation.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/BucketCorrelationFunctionCountCorrelation.java index 4a6baeb36..757110ccb 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/BucketCorrelationFunctionCountCorrelation.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/BucketCorrelationFunctionCountCorrelation.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -88,6 +89,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/BucketCorrelationFunctionCountCorrelationIndicator.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/BucketCorrelationFunctionCountCorrelationIndicator.java index b8e71429f..87ce14dcf 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/BucketCorrelationFunctionCountCorrelationIndicator.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/BucketCorrelationFunctionCountCorrelationIndicator.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -142,6 +143,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/ChiSquareHeuristic.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/ChiSquareHeuristic.java index b1e5411b6..a382cb31b 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/ChiSquareHeuristic.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/ChiSquareHeuristic.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -98,6 +99,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/CompositeAggregationSource.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/CompositeAggregationSource.java index 980f4ca9e..3c01b9fe4 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/CompositeAggregationSource.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/CompositeAggregationSource.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -139,6 +140,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/CustomCategorizeTextAnalyzer.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/CustomCategorizeTextAnalyzer.java index ec64dacb1..ffa0d9aed 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/CustomCategorizeTextAnalyzer.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/CustomCategorizeTextAnalyzer.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -131,6 +132,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/DateRangeExpression.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/DateRangeExpression.java index c0804955b..f23927667 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/DateRangeExpression.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/DateRangeExpression.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -123,6 +124,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/EwmaModelSettings.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/EwmaModelSettings.java index eef451d2e..108da3649 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/EwmaModelSettings.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/EwmaModelSettings.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -89,6 +90,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/ExtendedBounds.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/ExtendedBounds.java index 87d8e6c69..1b9735abb 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/ExtendedBounds.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/ExtendedBounds.java @@ -105,6 +105,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/GeoLineAggregation.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/GeoLineAggregation.java index e59fe98c2..144a24f6b 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/GeoLineAggregation.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/GeoLineAggregation.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -159,6 +160,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/GeoLinePoint.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/GeoLinePoint.java index 4e2d7343a..9eb79106b 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/GeoLinePoint.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/GeoLinePoint.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -85,6 +86,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/GeoLineSort.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/GeoLineSort.java index 5e92d1507..6621b9c80 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/GeoLineSort.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/GeoLineSort.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -85,6 +86,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/GoogleNormalizedDistanceHeuristic.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/GoogleNormalizedDistanceHeuristic.java index b45e19072..4fbe57d63 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/GoogleNormalizedDistanceHeuristic.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/GoogleNormalizedDistanceHeuristic.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -90,6 +91,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/HdrMethod.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/HdrMethod.java index 6d9033af2..878bac5fd 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/HdrMethod.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/HdrMethod.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -89,6 +90,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/HistogramOrder.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/HistogramOrder.java index e538f8b65..51288250d 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/HistogramOrder.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/HistogramOrder.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -104,6 +105,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/HoltLinearModelSettings.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/HoltLinearModelSettings.java index 8781f67a4..f72c8064c 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/HoltLinearModelSettings.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/HoltLinearModelSettings.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -106,6 +107,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/HoltWintersModelSettings.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/HoltWintersModelSettings.java index 5c37577b3..484a12ebb 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/HoltWintersModelSettings.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/HoltWintersModelSettings.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -175,6 +176,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/InferenceClassImportance.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/InferenceClassImportance.java index 9b6d8a0a6..ad3967066 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/InferenceClassImportance.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/InferenceClassImportance.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -99,6 +100,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/InferenceFeatureImportance.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/InferenceFeatureImportance.java index 53aa47cb6..1f4c5715b 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/InferenceFeatureImportance.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/InferenceFeatureImportance.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -125,6 +126,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/InferenceTopClassEntry.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/InferenceTopClassEntry.java index a3ec82c30..964ff499c 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/InferenceTopClassEntry.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/InferenceTopClassEntry.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -112,6 +113,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/IpRangeAggregationRange.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/IpRangeAggregationRange.java index 1ee16d842..b221ec553 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/IpRangeAggregationRange.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/IpRangeAggregationRange.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -123,6 +124,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/MatrixStatsFields.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/MatrixStatsFields.java index 7efacf3e5..0da56bcc8 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/MatrixStatsFields.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/MatrixStatsFields.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -196,6 +197,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/MetricAggregationBase.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/MetricAggregationBase.java index fd99135c1..8c82d3a24 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/MetricAggregationBase.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/MetricAggregationBase.java @@ -29,6 +29,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -121,6 +122,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + protected abstract static class AbstractBuilder> extends WithJsonObjectBuilderBase { diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/MultiBucketBase.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/MultiBucketBase.java index 2fc38a715..9ab240415 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/MultiBucketBase.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/MultiBucketBase.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -99,6 +100,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + protected abstract static class AbstractBuilder> extends WithJsonObjectBuilderBase { diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/MultiTermLookup.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/MultiTermLookup.java index b29d09712..fe68bd2da 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/MultiTermLookup.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/MultiTermLookup.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -85,6 +86,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/MutualInformationHeuristic.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/MutualInformationHeuristic.java index 06de9e515..be6b58cd7 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/MutualInformationHeuristic.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/MutualInformationHeuristic.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -106,6 +107,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/ScriptedHeuristic.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/ScriptedHeuristic.java index 5000b4413..27f043285 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/ScriptedHeuristic.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/ScriptedHeuristic.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -85,6 +86,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/StandardDeviationBounds.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/StandardDeviationBounds.java index 68daba8e3..8fea33e90 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/StandardDeviationBounds.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/StandardDeviationBounds.java @@ -157,6 +157,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/StandardDeviationBoundsAsString.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/StandardDeviationBoundsAsString.java index 9e5985f3a..55f4711d9 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/StandardDeviationBoundsAsString.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/StandardDeviationBoundsAsString.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -151,6 +152,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/TDigest.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/TDigest.java index 9532f9adc..6de79eef1 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/TDigest.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/TDigest.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -88,6 +89,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/TermsPartition.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/TermsPartition.java index 5762af9bb..c35edf0f9 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/TermsPartition.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/TermsPartition.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -97,6 +98,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/TestPopulation.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/TestPopulation.java index 2f4c1146c..820b4414b 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/TestPopulation.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/TestPopulation.java @@ -29,6 +29,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -122,6 +123,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/TopMetrics.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/TopMetrics.java index fc81938a9..daa20e982 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/TopMetrics.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/TopMetrics.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -117,6 +118,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/TopMetricsValue.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/TopMetricsValue.java index 8a0459d7d..eb4d2b4c8 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/TopMetricsValue.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/TopMetricsValue.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -85,6 +86,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/VariableWidthHistogramAggregation.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/VariableWidthHistogramAggregation.java index 2d059b454..05474a8db 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/VariableWidthHistogramAggregation.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/VariableWidthHistogramAggregation.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -150,6 +151,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/WeightedAverageValue.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/WeightedAverageValue.java index 88cb14fc2..77efc9b23 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/WeightedAverageValue.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/aggregations/WeightedAverageValue.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -125,6 +126,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/analysis/CharFilterBase.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/analysis/CharFilterBase.java index c38f2ba38..5bc00f6b8 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/analysis/CharFilterBase.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/analysis/CharFilterBase.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -84,6 +85,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + protected abstract static class AbstractBuilder> extends WithJsonObjectBuilderBase { diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/analysis/CustomAnalyzer.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/analysis/CustomAnalyzer.java index a54025fc0..4df704c2b 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/analysis/CustomAnalyzer.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/analysis/CustomAnalyzer.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -171,6 +172,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/analysis/CustomNormalizer.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/analysis/CustomNormalizer.java index 4d2d9365f..4f9588168 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/analysis/CustomNormalizer.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/analysis/CustomNormalizer.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -124,6 +125,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/analysis/DutchAnalyzer.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/analysis/DutchAnalyzer.java index 21f83a420..8e4406736 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/analysis/DutchAnalyzer.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/analysis/DutchAnalyzer.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -104,6 +105,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/analysis/FingerprintAnalyzer.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/analysis/FingerprintAnalyzer.java index 8cef652ac..87dbbb459 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/analysis/FingerprintAnalyzer.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/analysis/FingerprintAnalyzer.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -179,6 +180,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/analysis/IcuAnalyzer.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/analysis/IcuAnalyzer.java index 7e85f4911..c704aa590 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/analysis/IcuAnalyzer.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/analysis/IcuAnalyzer.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -105,6 +106,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/analysis/KeywordAnalyzer.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/analysis/KeywordAnalyzer.java index 799097673..1608d4533 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/analysis/KeywordAnalyzer.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/analysis/KeywordAnalyzer.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -99,6 +100,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/analysis/KuromojiAnalyzer.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/analysis/KuromojiAnalyzer.java index 7657fadf1..4ed7d06b4 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/analysis/KuromojiAnalyzer.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/analysis/KuromojiAnalyzer.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -112,6 +113,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/analysis/LanguageAnalyzer.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/analysis/LanguageAnalyzer.java index db2c28b09..148e53414 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/analysis/LanguageAnalyzer.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/analysis/LanguageAnalyzer.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -170,6 +171,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/analysis/LowercaseNormalizer.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/analysis/LowercaseNormalizer.java index a65d276f7..5720801a6 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/analysis/LowercaseNormalizer.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/analysis/LowercaseNormalizer.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -78,6 +79,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/analysis/NoriAnalyzer.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/analysis/NoriAnalyzer.java index a8b6d4aac..a0c6b6562 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/analysis/NoriAnalyzer.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/analysis/NoriAnalyzer.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -153,6 +154,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/analysis/PatternAnalyzer.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/analysis/PatternAnalyzer.java index 1565b104c..3a5b42bb6 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/analysis/PatternAnalyzer.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/analysis/PatternAnalyzer.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -169,6 +170,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/analysis/SimpleAnalyzer.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/analysis/SimpleAnalyzer.java index 287a3aa80..bdd950d64 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/analysis/SimpleAnalyzer.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/analysis/SimpleAnalyzer.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -99,6 +100,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/analysis/SnowballAnalyzer.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/analysis/SnowballAnalyzer.java index 207920898..d491f46d0 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/analysis/SnowballAnalyzer.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/analysis/SnowballAnalyzer.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -133,6 +134,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/analysis/StandardAnalyzer.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/analysis/StandardAnalyzer.java index 6b43a67f2..5fd005751 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/analysis/StandardAnalyzer.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/analysis/StandardAnalyzer.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -122,6 +123,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/analysis/StopAnalyzer.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/analysis/StopAnalyzer.java index 93c57e5aa..39cfb7116 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/analysis/StopAnalyzer.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/analysis/StopAnalyzer.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -137,6 +138,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/analysis/TokenFilterBase.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/analysis/TokenFilterBase.java index c42453759..63e5f02e6 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/analysis/TokenFilterBase.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/analysis/TokenFilterBase.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -84,6 +85,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + protected abstract static class AbstractBuilder> extends WithJsonObjectBuilderBase { diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/analysis/TokenizerBase.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/analysis/TokenizerBase.java index 66c491984..d2d8888ec 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/analysis/TokenizerBase.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/analysis/TokenizerBase.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -84,6 +85,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + protected abstract static class AbstractBuilder> extends WithJsonObjectBuilderBase { diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/analysis/WhitespaceAnalyzer.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/analysis/WhitespaceAnalyzer.java index 8c61c00e3..6618f2993 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/analysis/WhitespaceAnalyzer.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/analysis/WhitespaceAnalyzer.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -99,6 +100,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/mapping/AllField.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/mapping/AllField.java index 8d2dcf34a..062331a74 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/mapping/AllField.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/mapping/AllField.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -205,6 +206,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/mapping/DataStreamTimestamp.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/mapping/DataStreamTimestamp.java index d0c6e3e2d..f5663bbaf 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/mapping/DataStreamTimestamp.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/mapping/DataStreamTimestamp.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -84,6 +85,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/mapping/DenseVectorIndexOptions.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/mapping/DenseVectorIndexOptions.java index 0f8de7a37..623af03dd 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/mapping/DenseVectorIndexOptions.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/mapping/DenseVectorIndexOptions.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -112,6 +113,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/mapping/DynamicTemplate.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/mapping/DynamicTemplate.java index 8ff2db054..92c873424 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/mapping/DynamicTemplate.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/mapping/DynamicTemplate.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -190,6 +191,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/mapping/FieldMapping.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/mapping/FieldMapping.java index 183dc4609..88f80aeeb 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/mapping/FieldMapping.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/mapping/FieldMapping.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -122,6 +123,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/mapping/FieldNamesField.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/mapping/FieldNamesField.java index f0b4b6a30..3ff305a21 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/mapping/FieldNamesField.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/mapping/FieldNamesField.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -84,6 +85,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/mapping/IndexField.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/mapping/IndexField.java index d114521ad..8d3e59727 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/mapping/IndexField.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/mapping/IndexField.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -83,6 +84,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/mapping/MatchOnlyTextProperty.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/mapping/MatchOnlyTextProperty.java index 44baacdb0..4e26080fb 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/mapping/MatchOnlyTextProperty.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/mapping/MatchOnlyTextProperty.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -164,6 +165,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/mapping/PropertyBase.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/mapping/PropertyBase.java index 6fc5c3ec9..66e875059 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/mapping/PropertyBase.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/mapping/PropertyBase.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -205,6 +206,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + protected abstract static class AbstractBuilder> extends WithJsonObjectBuilderBase { diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/mapping/RoutingField.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/mapping/RoutingField.java index f901e9c5a..d94709311 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/mapping/RoutingField.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/mapping/RoutingField.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -83,6 +84,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/mapping/RuntimeField.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/mapping/RuntimeField.java index d6396b128..d7b7326d1 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/mapping/RuntimeField.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/mapping/RuntimeField.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -119,6 +120,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/mapping/SizeField.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/mapping/SizeField.java index 5ccd3241d..efce164b5 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/mapping/SizeField.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/mapping/SizeField.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -83,6 +84,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/mapping/SourceField.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/mapping/SourceField.java index f7c1a74bd..17ddc3b43 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/mapping/SourceField.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/mapping/SourceField.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -165,6 +166,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/mapping/SuggestContext.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/mapping/SuggestContext.java index 46ced373d..eef094065 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/mapping/SuggestContext.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/mapping/SuggestContext.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -133,6 +134,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/mapping/TextIndexPrefixes.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/mapping/TextIndexPrefixes.java index 23ecb1e94..72556278e 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/mapping/TextIndexPrefixes.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/mapping/TextIndexPrefixes.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -97,6 +98,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/mapping/TypeMapping.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/mapping/TypeMapping.java index e786a66c4..158d9135d 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/mapping/TypeMapping.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/mapping/TypeMapping.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -373,6 +374,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/query_dsl/DecayFunctionBase.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/query_dsl/DecayFunctionBase.java index ed4ddb394..85b197e2b 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/query_dsl/DecayFunctionBase.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/query_dsl/DecayFunctionBase.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -82,6 +83,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + protected abstract static class AbstractBuilder> extends WithJsonObjectBuilderBase { diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/query_dsl/DecayPlacement.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/query_dsl/DecayPlacement.java index d276294ef..aa51af9de 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/query_dsl/DecayPlacement.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/query_dsl/DecayPlacement.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -141,6 +142,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/query_dsl/FieldAndFormat.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/query_dsl/FieldAndFormat.java index 6f5b82a7b..bbbb6241f 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/query_dsl/FieldAndFormat.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/query_dsl/FieldAndFormat.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -128,6 +129,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/query_dsl/FieldLookup.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/query_dsl/FieldLookup.java index 9d8575f95..b72713879 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/query_dsl/FieldLookup.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/query_dsl/FieldLookup.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -136,6 +137,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/query_dsl/FieldValueFactorScoreFunction.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/query_dsl/FieldValueFactorScoreFunction.java index bf63c0d7c..10ec43437 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/query_dsl/FieldValueFactorScoreFunction.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/query_dsl/FieldValueFactorScoreFunction.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -145,6 +146,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/query_dsl/GeoPolygonPoints.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/query_dsl/GeoPolygonPoints.java index 26030aee0..8d70a8e35 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/query_dsl/GeoPolygonPoints.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/query_dsl/GeoPolygonPoints.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -94,6 +95,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/query_dsl/GeoShapeFieldQuery.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/query_dsl/GeoShapeFieldQuery.java index 7c0656903..c03a119c4 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/query_dsl/GeoShapeFieldQuery.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/query_dsl/GeoShapeFieldQuery.java @@ -29,6 +29,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -123,6 +124,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/query_dsl/IntervalsAllOf.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/query_dsl/IntervalsAllOf.java index 214a135d1..90f0bebca 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/query_dsl/IntervalsAllOf.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/query_dsl/IntervalsAllOf.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -162,6 +163,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/query_dsl/IntervalsAnyOf.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/query_dsl/IntervalsAnyOf.java index ea82a2907..5540b3bc9 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/query_dsl/IntervalsAnyOf.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/query_dsl/IntervalsAnyOf.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -126,6 +127,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/query_dsl/IntervalsFuzzy.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/query_dsl/IntervalsFuzzy.java index c9ecae269..9427722b3 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/query_dsl/IntervalsFuzzy.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/query_dsl/IntervalsFuzzy.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -189,6 +190,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/query_dsl/IntervalsMatch.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/query_dsl/IntervalsMatch.java index ece7ba6c1..38c365fa0 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/query_dsl/IntervalsMatch.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/query_dsl/IntervalsMatch.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -189,6 +190,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/query_dsl/IntervalsPrefix.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/query_dsl/IntervalsPrefix.java index 89a66cdc0..896c68275 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/query_dsl/IntervalsPrefix.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/query_dsl/IntervalsPrefix.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -136,6 +137,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/query_dsl/IntervalsWildcard.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/query_dsl/IntervalsWildcard.java index 4de70414a..a97cfc54b 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/query_dsl/IntervalsWildcard.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/query_dsl/IntervalsWildcard.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -136,6 +137,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/query_dsl/LikeDocument.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/query_dsl/LikeDocument.java index b4e5f7cee..e253fb1ef 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/query_dsl/LikeDocument.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/query_dsl/LikeDocument.java @@ -29,6 +29,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -220,6 +221,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/query_dsl/PinnedDoc.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/query_dsl/PinnedDoc.java index d7232a140..1797f2a72 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/query_dsl/PinnedDoc.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/query_dsl/PinnedDoc.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -97,6 +98,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/query_dsl/QueryBase.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/query_dsl/QueryBase.java index 4c5ed2c91..f0beed6db 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/query_dsl/QueryBase.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/query_dsl/QueryBase.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -101,6 +102,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + protected abstract static class AbstractBuilder> extends WithJsonObjectBuilderBase { diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/query_dsl/RandomScoreFunction.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/query_dsl/RandomScoreFunction.java index 1321004d2..9eba95bbb 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/query_dsl/RandomScoreFunction.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/query_dsl/RandomScoreFunction.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -114,6 +115,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/query_dsl/RankFeatureFunctionLogarithm.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/query_dsl/RankFeatureFunctionLogarithm.java index a493ed73f..5026a1167 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/query_dsl/RankFeatureFunctionLogarithm.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/query_dsl/RankFeatureFunctionLogarithm.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -84,6 +85,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/query_dsl/RankFeatureFunctionSaturation.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/query_dsl/RankFeatureFunctionSaturation.java index 5604973d7..cface777d 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/query_dsl/RankFeatureFunctionSaturation.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/query_dsl/RankFeatureFunctionSaturation.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -89,6 +90,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/query_dsl/RankFeatureFunctionSigmoid.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/query_dsl/RankFeatureFunctionSigmoid.java index 4801dc404..a000d6749 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/query_dsl/RankFeatureFunctionSigmoid.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/query_dsl/RankFeatureFunctionSigmoid.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -97,6 +98,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/query_dsl/ScriptScoreFunction.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/query_dsl/ScriptScoreFunction.java index 50d662702..81a778db7 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/query_dsl/ScriptScoreFunction.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/query_dsl/ScriptScoreFunction.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -93,6 +94,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/query_dsl/ShapeFieldQuery.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/query_dsl/ShapeFieldQuery.java index 1ec91607b..37d47c8ff 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/query_dsl/ShapeFieldQuery.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/query_dsl/ShapeFieldQuery.java @@ -29,6 +29,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -123,6 +124,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/query_dsl/TermsLookup.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/query_dsl/TermsLookup.java index af50b9db3..a6dd99304 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/query_dsl/TermsLookup.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/_types/query_dsl/TermsLookup.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -128,6 +129,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/async_search/AsyncSearch.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/async_search/AsyncSearch.java index 7d734c26c..88e14e643 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/async_search/AsyncSearch.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/async_search/AsyncSearch.java @@ -36,6 +36,7 @@ import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; import co.elastic.clients.json.JsonpSerializer; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.NamedDeserializer; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; @@ -314,6 +315,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/async_search/AsyncSearchResponseBase.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/async_search/AsyncSearchResponseBase.java index d388c6bd0..2d51cafe8 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/async_search/AsyncSearchResponseBase.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/async_search/AsyncSearchResponseBase.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -138,6 +139,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + protected abstract static class AbstractBuilder> extends WithJsonObjectBuilderBase { diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/autoscaling/AutoscalingPolicy.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/autoscaling/AutoscalingPolicy.java index c6fd738e3..10e3cb481 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/autoscaling/AutoscalingPolicy.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/autoscaling/AutoscalingPolicy.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -119,6 +120,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/autoscaling/GetAutoscalingCapacityResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/autoscaling/GetAutoscalingCapacityResponse.java index 3bf4384d1..29bf56edb 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/autoscaling/GetAutoscalingCapacityResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/autoscaling/GetAutoscalingCapacityResponse.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -97,6 +98,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/autoscaling/get_autoscaling_capacity/AutoscalingCapacity.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/autoscaling/get_autoscaling_capacity/AutoscalingCapacity.java index 2c4929476..9c53cd77a 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/autoscaling/get_autoscaling_capacity/AutoscalingCapacity.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/autoscaling/get_autoscaling_capacity/AutoscalingCapacity.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -97,6 +98,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/autoscaling/get_autoscaling_capacity/AutoscalingDecider.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/autoscaling/get_autoscaling_capacity/AutoscalingDecider.java index f7ee96a37..7f5d17a33 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/autoscaling/get_autoscaling_capacity/AutoscalingDecider.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/autoscaling/get_autoscaling_capacity/AutoscalingDecider.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -121,6 +122,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/autoscaling/get_autoscaling_capacity/AutoscalingDeciders.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/autoscaling/get_autoscaling_capacity/AutoscalingDeciders.java index 362005f24..76ca4ebe9 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/autoscaling/get_autoscaling_capacity/AutoscalingDeciders.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/autoscaling/get_autoscaling_capacity/AutoscalingDeciders.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -142,6 +143,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/autoscaling/get_autoscaling_capacity/AutoscalingNode.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/autoscaling/get_autoscaling_capacity/AutoscalingNode.java index 66dcc5402..aaf8fdfbf 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/autoscaling/get_autoscaling_capacity/AutoscalingNode.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/autoscaling/get_autoscaling_capacity/AutoscalingNode.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -85,6 +86,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/autoscaling/get_autoscaling_capacity/AutoscalingResources.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/autoscaling/get_autoscaling_capacity/AutoscalingResources.java index 48389b823..69db522a1 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/autoscaling/get_autoscaling_capacity/AutoscalingResources.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/autoscaling/get_autoscaling_capacity/AutoscalingResources.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -97,6 +98,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/AliasesResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/AliasesResponse.java index 9817def38..d82a365ff 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/AliasesResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/AliasesResponse.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -83,6 +84,11 @@ public void serialize(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/AllocationResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/AllocationResponse.java index d805783ac..ffbc2693b 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/AllocationResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/AllocationResponse.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -83,6 +84,11 @@ public void serialize(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/CountResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/CountResponse.java index 0b9cba70d..b9d040e84 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/CountResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/CountResponse.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -83,6 +84,11 @@ public void serialize(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/FielddataResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/FielddataResponse.java index a1b0101b6..c5d3f057b 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/FielddataResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/FielddataResponse.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -83,6 +84,11 @@ public void serialize(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/HealthResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/HealthResponse.java index 962909cbc..3385a18f9 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/HealthResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/HealthResponse.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -83,6 +84,11 @@ public void serialize(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/HelpResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/HelpResponse.java index 3a4406f64..d35ac192f 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/HelpResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/HelpResponse.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -83,6 +84,11 @@ public void serialize(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/IndicesResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/IndicesResponse.java index de3f02c3e..171e35455 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/IndicesResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/IndicesResponse.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -83,6 +84,11 @@ public void serialize(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/MasterResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/MasterResponse.java index 79fac460b..380fe2cf9 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/MasterResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/MasterResponse.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -83,6 +84,11 @@ public void serialize(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/MlDataFrameAnalyticsResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/MlDataFrameAnalyticsResponse.java index 1cc23a5eb..818f28bed 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/MlDataFrameAnalyticsResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/MlDataFrameAnalyticsResponse.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -84,6 +85,11 @@ public void serialize(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/MlDatafeedsResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/MlDatafeedsResponse.java index 6453fe142..f1a823340 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/MlDatafeedsResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/MlDatafeedsResponse.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -83,6 +84,11 @@ public void serialize(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/MlJobsResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/MlJobsResponse.java index 855125c2d..e77921014 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/MlJobsResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/MlJobsResponse.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -83,6 +84,11 @@ public void serialize(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/MlTrainedModelsResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/MlTrainedModelsResponse.java index 6602da9e3..3db101706 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/MlTrainedModelsResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/MlTrainedModelsResponse.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -83,6 +84,11 @@ public void serialize(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/NodeattrsResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/NodeattrsResponse.java index ed07c0fd0..3eded8079 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/NodeattrsResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/NodeattrsResponse.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -83,6 +84,11 @@ public void serialize(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/NodesResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/NodesResponse.java index 09cb1b0c5..043d76586 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/NodesResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/NodesResponse.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -83,6 +84,11 @@ public void serialize(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/PendingTasksResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/PendingTasksResponse.java index 580cd3a4e..ef98fd8ed 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/PendingTasksResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/PendingTasksResponse.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -83,6 +84,11 @@ public void serialize(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/PluginsResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/PluginsResponse.java index 20de1f088..497e6943d 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/PluginsResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/PluginsResponse.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -83,6 +84,11 @@ public void serialize(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/RecoveryResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/RecoveryResponse.java index 9a78efad4..c1c22f551 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/RecoveryResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/RecoveryResponse.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -83,6 +84,11 @@ public void serialize(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/RepositoriesResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/RepositoriesResponse.java index 6492d62ea..8e6b55d9d 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/RepositoriesResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/RepositoriesResponse.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -83,6 +84,11 @@ public void serialize(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/SegmentsResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/SegmentsResponse.java index d24b34c36..1b284f99e 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/SegmentsResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/SegmentsResponse.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -83,6 +84,11 @@ public void serialize(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/ShardsResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/ShardsResponse.java index a051bcacb..4914f8a01 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/ShardsResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/ShardsResponse.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -83,6 +84,11 @@ public void serialize(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/SnapshotsResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/SnapshotsResponse.java index 632f367c4..780b3767d 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/SnapshotsResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/SnapshotsResponse.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -83,6 +84,11 @@ public void serialize(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/TasksResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/TasksResponse.java index 42ce55374..45636556a 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/TasksResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/TasksResponse.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -83,6 +84,11 @@ public void serialize(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/TemplatesResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/TemplatesResponse.java index d6ecdeb31..f020c712a 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/TemplatesResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/TemplatesResponse.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -83,6 +84,11 @@ public void serialize(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/ThreadPoolResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/ThreadPoolResponse.java index f14bd4469..16b438bce 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/ThreadPoolResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/ThreadPoolResponse.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -83,6 +84,11 @@ public void serialize(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/TransformsResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/TransformsResponse.java index 386bc3d60..d26e90639 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/TransformsResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/TransformsResponse.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -83,6 +84,11 @@ public void serialize(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/aliases/AliasesRecord.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/aliases/AliasesRecord.java index 7606d8d6c..b64855b6d 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/aliases/AliasesRecord.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/aliases/AliasesRecord.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -185,6 +186,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/allocation/AllocationRecord.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/allocation/AllocationRecord.java index b1eda18c3..b6945c2b6 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/allocation/AllocationRecord.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/allocation/AllocationRecord.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -243,6 +244,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/count/CountRecord.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/count/CountRecord.java index 346effcf2..1420d1a72 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/count/CountRecord.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/count/CountRecord.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.DateTime; @@ -127,6 +128,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/fielddata/FielddataRecord.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/fielddata/FielddataRecord.java index 9619889ce..f164fe6c7 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/fielddata/FielddataRecord.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/fielddata/FielddataRecord.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -186,6 +187,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/health/HealthRecord.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/health/HealthRecord.java index f7150ac9b..230523603 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/health/HealthRecord.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/health/HealthRecord.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.DateTime; @@ -336,6 +337,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/help/HelpRecord.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/help/HelpRecord.java index 4bc6d675a..caabffaa7 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/help/HelpRecord.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/help/HelpRecord.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -84,6 +85,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/indices/IndicesRecord.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/indices/IndicesRecord.java index 5061d7823..86f24d762 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/indices/IndicesRecord.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/indices/IndicesRecord.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -2752,6 +2753,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/master/MasterRecord.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/master/MasterRecord.java index 5e939d934..2bb23f9f0 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/master/MasterRecord.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/master/MasterRecord.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -147,6 +148,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/ml_data_frame_analytics/DataFrameAnalyticsRecord.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/ml_data_frame_analytics/DataFrameAnalyticsRecord.java index 45240a5ee..eea62b199 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/ml_data_frame_analytics/DataFrameAnalyticsRecord.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/ml_data_frame_analytics/DataFrameAnalyticsRecord.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -376,6 +377,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/ml_datafeeds/DatafeedsRecord.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/ml_datafeeds/DatafeedsRecord.java index 16632e662..4408a948f 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/ml_datafeeds/DatafeedsRecord.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/ml_datafeeds/DatafeedsRecord.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -300,6 +301,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/ml_jobs/JobsRecord.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/ml_jobs/JobsRecord.java index a8a03cdbf..60a2f24fa 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/ml_jobs/JobsRecord.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/ml_jobs/JobsRecord.java @@ -30,6 +30,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -1211,6 +1212,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/ml_trained_models/TrainedModelsRecord.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/ml_trained_models/TrainedModelsRecord.java index fa36e1d1c..84f9261a2 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/ml_trained_models/TrainedModelsRecord.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/ml_trained_models/TrainedModelsRecord.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.DateTime; @@ -413,6 +414,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/nodeattrs/NodeAttributesRecord.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/nodeattrs/NodeAttributesRecord.java index 5fe8b3753..cc8b16e39 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/nodeattrs/NodeAttributesRecord.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/nodeattrs/NodeAttributesRecord.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -224,6 +225,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/nodes/NodesRecord.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/nodes/NodesRecord.java index 44206c6bc..b79979390 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/nodes/NodesRecord.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/nodes/NodesRecord.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -1896,6 +1897,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/pending_tasks/PendingTasksRecord.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/pending_tasks/PendingTasksRecord.java index 8a6d00690..121a5050c 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/pending_tasks/PendingTasksRecord.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/pending_tasks/PendingTasksRecord.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -148,6 +149,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/plugins/PluginsRecord.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/plugins/PluginsRecord.java index 3fd0b0966..5af730400 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/plugins/PluginsRecord.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/plugins/PluginsRecord.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -185,6 +186,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/recovery/RecoveryRecord.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/recovery/RecoveryRecord.java index 9d96307e8..da21c407c 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/recovery/RecoveryRecord.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/recovery/RecoveryRecord.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -565,6 +566,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/repositories/RepositoriesRecord.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/repositories/RepositoriesRecord.java index fe10b0f81..0ec2b85c5 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/repositories/RepositoriesRecord.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/repositories/RepositoriesRecord.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -110,6 +111,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/segments/SegmentsRecord.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/segments/SegmentsRecord.java index 11edab4ed..f7677654f 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/segments/SegmentsRecord.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/segments/SegmentsRecord.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -356,6 +357,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/shards/ShardsRecord.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/shards/ShardsRecord.java index b3690d375..40b11947b 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/shards/ShardsRecord.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/shards/ShardsRecord.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -1516,6 +1517,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/snapshots/SnapshotsRecord.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/snapshots/SnapshotsRecord.java index 1c6ad42ae..da6523cf4 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/snapshots/SnapshotsRecord.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/snapshots/SnapshotsRecord.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.DateTime; @@ -317,6 +318,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/tasks/TasksRecord.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/tasks/TasksRecord.java index 0e7bb8fe3..374041dcf 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/tasks/TasksRecord.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/tasks/TasksRecord.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -375,6 +376,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/templates/TemplatesRecord.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/templates/TemplatesRecord.java index a739c85b6..763f78d59 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/templates/TemplatesRecord.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/templates/TemplatesRecord.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -167,6 +168,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/thread_pool/ThreadPoolRecord.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/thread_pool/ThreadPoolRecord.java index 91d7317ee..c5a1b792e 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/thread_pool/ThreadPoolRecord.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/thread_pool/ThreadPoolRecord.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -452,6 +453,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/transforms/TransformsRecord.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/transforms/TransformsRecord.java index 010f7b4fe..edad2b8d4 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/transforms/TransformsRecord.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cat/transforms/TransformsRecord.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -699,6 +700,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ccr/CcrStatsResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ccr/CcrStatsResponse.java index 5b46184d3..820a7dc0d 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ccr/CcrStatsResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ccr/CcrStatsResponse.java @@ -29,6 +29,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -98,6 +99,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ccr/FollowIndexStats.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ccr/FollowIndexStats.java index 856e0bba3..e3a4448e7 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ccr/FollowIndexStats.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ccr/FollowIndexStats.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -106,6 +107,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ccr/FollowInfoResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ccr/FollowInfoResponse.java index 19d53dc5c..dc27b3436 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ccr/FollowInfoResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ccr/FollowInfoResponse.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -93,6 +94,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ccr/FollowResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ccr/FollowResponse.java index d516aca7b..7cf1c0882 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ccr/FollowResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ccr/FollowResponse.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -111,6 +112,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ccr/FollowStatsResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ccr/FollowStatsResponse.java index 0f906f794..d25e99779 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ccr/FollowStatsResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ccr/FollowStatsResponse.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -92,6 +93,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ccr/ForgetFollowerResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ccr/ForgetFollowerResponse.java index 497f85f1a..3890a2b7f 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ccr/ForgetFollowerResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ccr/ForgetFollowerResponse.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -84,6 +85,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ccr/GetAutoFollowPatternResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ccr/GetAutoFollowPatternResponse.java index 549493aee..e1e38fa65 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ccr/GetAutoFollowPatternResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ccr/GetAutoFollowPatternResponse.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -94,6 +95,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ccr/ReadException.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ccr/ReadException.java index 2b566ddb7..5bd51d582 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ccr/ReadException.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ccr/ReadException.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -112,6 +113,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ccr/ShardStats.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ccr/ShardStats.java index 4d92dbda9..ad4c52d51 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ccr/ShardStats.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ccr/ShardStats.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -476,6 +477,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ccr/follow_info/FollowerIndex.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ccr/follow_info/FollowerIndex.java index 8973b7422..13fe9a69a 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ccr/follow_info/FollowerIndex.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ccr/follow_info/FollowerIndex.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -141,6 +142,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ccr/follow_info/FollowerIndexParameters.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ccr/follow_info/FollowerIndexParameters.java index 55874eb4a..76e345d61 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ccr/follow_info/FollowerIndexParameters.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ccr/follow_info/FollowerIndexParameters.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -210,6 +211,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ccr/get_auto_follow_pattern/AutoFollowPattern.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ccr/get_auto_follow_pattern/AutoFollowPattern.java index 3add0fd15..ecff1146d 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ccr/get_auto_follow_pattern/AutoFollowPattern.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ccr/get_auto_follow_pattern/AutoFollowPattern.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -98,6 +99,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ccr/get_auto_follow_pattern/AutoFollowPatternSummary.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ccr/get_auto_follow_pattern/AutoFollowPatternSummary.java index 591f43fd7..1b262c8aa 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ccr/get_auto_follow_pattern/AutoFollowPatternSummary.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ccr/get_auto_follow_pattern/AutoFollowPatternSummary.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -187,6 +188,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ccr/stats/AutoFollowStats.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ccr/stats/AutoFollowStats.java index 88f558b33..33000d767 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ccr/stats/AutoFollowStats.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ccr/stats/AutoFollowStats.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -158,6 +159,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ccr/stats/AutoFollowedCluster.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ccr/stats/AutoFollowedCluster.java index 219d95dbe..6faadf6eb 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ccr/stats/AutoFollowedCluster.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ccr/stats/AutoFollowedCluster.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -115,6 +116,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ccr/stats/FollowStats.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ccr/stats/FollowStats.java index def2f0fa5..c7fd01a54 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ccr/stats/FollowStats.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ccr/stats/FollowStats.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -93,6 +94,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/AllocationExplainResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/AllocationExplainResponse.java index ac6699f0a..7fa535134 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/AllocationExplainResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/AllocationExplainResponse.java @@ -33,6 +33,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -496,6 +497,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/ComponentTemplate.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/ComponentTemplate.java index 0ba2faf25..792b94614 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/ComponentTemplate.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/ComponentTemplate.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -98,6 +99,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/ComponentTemplateNode.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/ComponentTemplateNode.java index c4eaed44f..ebe4f23d7 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/ComponentTemplateNode.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/ComponentTemplateNode.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -127,6 +128,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/ComponentTemplateSummary.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/ComponentTemplateSummary.java index 28f087791..4dee0de3b 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/ComponentTemplateSummary.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/ComponentTemplateSummary.java @@ -31,6 +31,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -176,6 +177,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/GetClusterSettingsResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/GetClusterSettingsResponse.java index db83a4615..7fe288f9c 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/GetClusterSettingsResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/GetClusterSettingsResponse.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -137,6 +138,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/GetComponentTemplateResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/GetComponentTemplateResponse.java index 370e2d5cd..006122b08 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/GetComponentTemplateResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/GetComponentTemplateResponse.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -94,6 +95,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/HealthResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/HealthResponse.java index 9e0e499eb..9b53f28d4 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/HealthResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/HealthResponse.java @@ -29,6 +29,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -330,6 +331,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/PendingTasksResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/PendingTasksResponse.java index 6f8ece1c9..f3628885d 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/PendingTasksResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/PendingTasksResponse.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -93,6 +94,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/PutClusterSettingsResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/PutClusterSettingsResponse.java index 6f8eea758..7af607a53 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/PutClusterSettingsResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/PutClusterSettingsResponse.java @@ -29,6 +29,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -131,6 +132,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/RemoteInfoResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/RemoteInfoResponse.java index 87c029701..53fdb2925 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/RemoteInfoResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/RemoteInfoResponse.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -93,6 +94,11 @@ public void serialize(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/RerouteResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/RerouteResponse.java index caff2de32..e60003ab0 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/RerouteResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/RerouteResponse.java @@ -30,6 +30,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -125,6 +126,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/StateResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/StateResponse.java index 82a54db80..9b9c8b921 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/StateResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/StateResponse.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -77,6 +78,11 @@ public void serialize(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/allocation_explain/AllocationDecision.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/allocation_explain/AllocationDecision.java index 490e2631d..7e1c1c66c 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/allocation_explain/AllocationDecision.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/allocation_explain/AllocationDecision.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -110,6 +111,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/allocation_explain/AllocationStore.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/allocation_explain/AllocationStore.java index 104a287b9..efa336355 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/allocation_explain/AllocationStore.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/allocation_explain/AllocationStore.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -153,6 +154,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/allocation_explain/ClusterInfo.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/allocation_explain/ClusterInfo.java index 70c5d1969..9f4347bdf 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/allocation_explain/ClusterInfo.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/allocation_explain/ClusterInfo.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -180,6 +181,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/allocation_explain/CurrentNode.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/allocation_explain/CurrentNode.java index 095b74712..3aaae1b1b 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/allocation_explain/CurrentNode.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/allocation_explain/CurrentNode.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -147,6 +148,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/allocation_explain/DiskUsage.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/allocation_explain/DiskUsage.java index 1994e8a14..b7015a74c 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/allocation_explain/DiskUsage.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/allocation_explain/DiskUsage.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -152,6 +153,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/allocation_explain/NodeAllocationExplanation.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/allocation_explain/NodeAllocationExplanation.java index 64a7c7319..862cebdaa 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/allocation_explain/NodeAllocationExplanation.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/allocation_explain/NodeAllocationExplanation.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -197,6 +198,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/allocation_explain/NodeDiskUsage.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/allocation_explain/NodeDiskUsage.java index 3fb6b4669..ae2a2f83c 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/allocation_explain/NodeDiskUsage.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/allocation_explain/NodeDiskUsage.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -111,6 +112,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/allocation_explain/ReservedSize.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/allocation_explain/ReservedSize.java index e40e4fd7e..a0108f47e 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/allocation_explain/ReservedSize.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/allocation_explain/ReservedSize.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -134,6 +135,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/allocation_explain/UnassignedInformation.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/allocation_explain/UnassignedInformation.java index 1ca6bef66..4f5e9f2d0 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/allocation_explain/UnassignedInformation.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/allocation_explain/UnassignedInformation.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -185,6 +186,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/health/IndexHealthStats.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/health/IndexHealthStats.java index 33b1f4a34..d6a7236af 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/health/IndexHealthStats.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/health/IndexHealthStats.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -200,6 +201,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/health/ShardHealthStats.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/health/ShardHealthStats.java index 0b6cbe463..5ee87bf5e 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/health/ShardHealthStats.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/health/ShardHealthStats.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -151,6 +152,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/pending_tasks/PendingTask.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/pending_tasks/PendingTask.java index b27749a26..63deec515 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/pending_tasks/PendingTask.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/pending_tasks/PendingTask.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -152,6 +153,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/remote_info/ClusterRemoteProxyInfo.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/remote_info/ClusterRemoteProxyInfo.java index f94219b35..dfd2cf972 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/remote_info/ClusterRemoteProxyInfo.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/remote_info/ClusterRemoteProxyInfo.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -179,6 +180,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/remote_info/ClusterRemoteSniffInfo.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/remote_info/ClusterRemoteSniffInfo.java index 28f3c3274..eb6ed5f5b 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/remote_info/ClusterRemoteSniffInfo.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/remote_info/ClusterRemoteSniffInfo.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -175,6 +176,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/reroute/Command.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/reroute/Command.java index 59462b1da..485f409d8 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/reroute/Command.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/reroute/Command.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -189,6 +190,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/reroute/CommandAllocatePrimaryAction.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/reroute/CommandAllocatePrimaryAction.java index b1c6ee347..5a10b8add 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/reroute/CommandAllocatePrimaryAction.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/reroute/CommandAllocatePrimaryAction.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -131,6 +132,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/reroute/CommandAllocateReplicaAction.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/reroute/CommandAllocateReplicaAction.java index 8a05adab8..7de65a65f 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/reroute/CommandAllocateReplicaAction.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/reroute/CommandAllocateReplicaAction.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -115,6 +116,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/reroute/CommandCancelAction.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/reroute/CommandCancelAction.java index f9f1f4e4c..685be9735 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/reroute/CommandCancelAction.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/reroute/CommandCancelAction.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -131,6 +132,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/reroute/CommandMoveAction.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/reroute/CommandMoveAction.java index f85065f2e..3a427da5b 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/reroute/CommandMoveAction.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/reroute/CommandMoveAction.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -129,6 +130,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/reroute/RerouteDecision.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/reroute/RerouteDecision.java index 57a991903..0815890df 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/reroute/RerouteDecision.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/reroute/RerouteDecision.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -111,6 +112,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/reroute/RerouteExplanation.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/reroute/RerouteExplanation.java index e3a0e93fc..b5a34c4f7 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/reroute/RerouteExplanation.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/reroute/RerouteExplanation.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -119,6 +120,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/reroute/RerouteParameters.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/reroute/RerouteParameters.java index 87bbdf6e2..82139c392 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/reroute/RerouteParameters.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/reroute/RerouteParameters.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -161,6 +162,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/stats/CharFilterTypes.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/stats/CharFilterTypes.java index 1fc8013c4..420c8f59d 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/stats/CharFilterTypes.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/stats/CharFilterTypes.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -235,6 +236,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/stats/ClusterFileSystem.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/stats/ClusterFileSystem.java index 9d655a50d..0b24b0e13 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/stats/ClusterFileSystem.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/stats/ClusterFileSystem.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -110,6 +111,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/stats/ClusterIndices.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/stats/ClusterIndices.java index 76292747e..c05f920b5 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/stats/ClusterIndices.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/stats/ClusterIndices.java @@ -33,6 +33,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -253,6 +254,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/stats/ClusterIndicesShards.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/stats/ClusterIndicesShards.java index 763ba0a20..ec55ac4ea 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/stats/ClusterIndicesShards.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/stats/ClusterIndicesShards.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -149,6 +150,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/stats/ClusterIndicesShardsIndex.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/stats/ClusterIndicesShardsIndex.java index 78446443f..954b42682 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/stats/ClusterIndicesShardsIndex.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/stats/ClusterIndicesShardsIndex.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -119,6 +120,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/stats/ClusterIngest.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/stats/ClusterIngest.java index 79640ef3b..35f71d5df 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/stats/ClusterIngest.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/stats/ClusterIngest.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -108,6 +109,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/stats/ClusterJvm.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/stats/ClusterJvm.java index 11d797ca5..7c488169e 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/stats/ClusterJvm.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/stats/ClusterJvm.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -132,6 +133,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/stats/ClusterJvmMemory.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/stats/ClusterJvmMemory.java index 8abe0db44..62ad45553 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/stats/ClusterJvmMemory.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/stats/ClusterJvmMemory.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -97,6 +98,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/stats/ClusterJvmVersion.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/stats/ClusterJvmVersion.java index 6dcbcf4ee..87c25c19c 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/stats/ClusterJvmVersion.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/stats/ClusterJvmVersion.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -165,6 +166,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/stats/ClusterNetworkTypes.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/stats/ClusterNetworkTypes.java index d459866c6..7514650fe 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/stats/ClusterNetworkTypes.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/stats/ClusterNetworkTypes.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -117,6 +118,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/stats/ClusterNodeCount.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/stats/ClusterNodeCount.java index e633de078..d226c970f 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/stats/ClusterNodeCount.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/stats/ClusterNodeCount.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -259,6 +260,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/stats/ClusterNodes.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/stats/ClusterNodes.java index 68a70496e..92db691a0 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/stats/ClusterNodes.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/stats/ClusterNodes.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -286,6 +287,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/stats/ClusterOperatingSystem.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/stats/ClusterOperatingSystem.java index 2109c5e91..874d56196 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/stats/ClusterOperatingSystem.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/stats/ClusterOperatingSystem.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -175,6 +176,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/stats/ClusterOperatingSystemArchitecture.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/stats/ClusterOperatingSystemArchitecture.java index 520eb42a6..fb3a56a6c 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/stats/ClusterOperatingSystemArchitecture.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/stats/ClusterOperatingSystemArchitecture.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -100,6 +101,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/stats/ClusterOperatingSystemName.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/stats/ClusterOperatingSystemName.java index 0e22959f2..29a11c4c9 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/stats/ClusterOperatingSystemName.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/stats/ClusterOperatingSystemName.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -99,6 +100,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/stats/ClusterOperatingSystemPrettyName.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/stats/ClusterOperatingSystemPrettyName.java index 12dbc5f10..3f53808d8 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/stats/ClusterOperatingSystemPrettyName.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/stats/ClusterOperatingSystemPrettyName.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -100,6 +101,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/stats/ClusterProcess.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/stats/ClusterProcess.java index 49e4c8574..ec8d5b27a 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/stats/ClusterProcess.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/stats/ClusterProcess.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -97,6 +98,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/stats/ClusterProcessCpu.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/stats/ClusterProcessCpu.java index ef13a61da..0af50a6bf 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/stats/ClusterProcessCpu.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/stats/ClusterProcessCpu.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -84,6 +85,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/stats/ClusterProcessOpenFileDescriptors.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/stats/ClusterProcessOpenFileDescriptors.java index c60343983..761c70ecd 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/stats/ClusterProcessOpenFileDescriptors.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/stats/ClusterProcessOpenFileDescriptors.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -111,6 +112,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/stats/ClusterProcessor.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/stats/ClusterProcessor.java index 936d1b92d..8ef31afb8 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/stats/ClusterProcessor.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/stats/ClusterProcessor.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -123,6 +124,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/stats/ClusterShardMetrics.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/stats/ClusterShardMetrics.java index 8073abff7..84cc51ff4 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/stats/ClusterShardMetrics.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/stats/ClusterShardMetrics.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -110,6 +111,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/stats/FieldTypes.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/stats/FieldTypes.java index 9b9ecc7db..880a31b46 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/stats/FieldTypes.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/stats/FieldTypes.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -129,6 +130,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/stats/FieldTypesMappings.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/stats/FieldTypesMappings.java index 6c7fbbfdb..2e232d43d 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/stats/FieldTypesMappings.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/stats/FieldTypesMappings.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -113,6 +114,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/stats/IndexingPressure.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/stats/IndexingPressure.java index e000d371f..5a36d1405 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/stats/IndexingPressure.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/stats/IndexingPressure.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -84,6 +85,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/stats/IndexingPressureMemory.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/stats/IndexingPressureMemory.java index 92f8e4505..83c2c9617 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/stats/IndexingPressureMemory.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/stats/IndexingPressureMemory.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -111,6 +112,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/stats/IndexingPressureMemorySummary.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/stats/IndexingPressureMemorySummary.java index b44e26665..567cb3d24 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/stats/IndexingPressureMemorySummary.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/stats/IndexingPressureMemorySummary.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -191,6 +192,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/stats/IndicesVersions.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/stats/IndicesVersions.java index 77f56dde9..570be4ccd 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/stats/IndicesVersions.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/stats/IndicesVersions.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -126,6 +127,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/stats/NodePackagingType.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/stats/NodePackagingType.java index fb422ee2b..93a561e22 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/stats/NodePackagingType.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/stats/NodePackagingType.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -112,6 +113,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/stats/OperatingSystemMemoryInfo.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/stats/OperatingSystemMemoryInfo.java index b398c7294..d7cb657df 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/stats/OperatingSystemMemoryInfo.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/stats/OperatingSystemMemoryInfo.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -156,6 +157,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/stats/RuntimeFieldTypes.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/stats/RuntimeFieldTypes.java index f1d1b1d7c..82e7fd5f2 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/stats/RuntimeFieldTypes.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/stats/RuntimeFieldTypes.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -263,6 +264,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/BulkResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/BulkResponse.java index 3b27160f1..c953262e2 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/BulkResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/BulkResponse.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -138,6 +139,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/ClearScrollResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/ClearScrollResponse.java index 8c4d6725b..fb56d1a1f 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/ClearScrollResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/ClearScrollResponse.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -97,6 +98,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/ClosePointInTimeResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/ClosePointInTimeResponse.java index 7461cd3dc..ae0eacf28 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/ClosePointInTimeResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/ClosePointInTimeResponse.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -98,6 +99,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/CountResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/CountResponse.java index 334115caf..b2b2c27ec 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/CountResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/CountResponse.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -98,6 +99,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/DeleteByQueryResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/DeleteByQueryResponse.java index 4a94b555e..69f6964bc 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/DeleteByQueryResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/DeleteByQueryResponse.java @@ -29,6 +29,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -321,6 +322,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/ExplainResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/ExplainResponse.java index dea094e05..fbcbeb43d 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/ExplainResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/ExplainResponse.java @@ -30,6 +30,7 @@ import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; import co.elastic.clients.json.JsonpSerializer; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.NamedDeserializer; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; @@ -156,6 +157,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/FieldCapsResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/FieldCapsResponse.java index 548fff35c..edb9ab7f7 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/FieldCapsResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/FieldCapsResponse.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -124,6 +125,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/GetScriptContextResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/GetScriptContextResponse.java index 9e14932ee..a05009dcf 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/GetScriptContextResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/GetScriptContextResponse.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -94,6 +95,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/GetScriptLanguagesResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/GetScriptLanguagesResponse.java index 3629d32fc..222689ab7 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/GetScriptLanguagesResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/GetScriptLanguagesResponse.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -115,6 +116,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/GetScriptResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/GetScriptResponse.java index 437ee2971..e7dbf6945 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/GetScriptResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/GetScriptResponse.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -117,6 +118,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/GetSourceResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/GetSourceResponse.java index 69aec0582..7815ecb5f 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/GetSourceResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/GetSourceResponse.java @@ -85,6 +85,11 @@ public void serialize(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/InfoResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/InfoResponse.java index 1c8ff161a..ce06f7cb7 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/InfoResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/InfoResponse.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -137,6 +138,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/KnnSearchResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/KnnSearchResponse.java index c7728759c..3db0b861f 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/KnnSearchResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/KnnSearchResponse.java @@ -31,6 +31,7 @@ import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; import co.elastic.clients.json.JsonpSerializer; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.NamedDeserializer; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; @@ -192,6 +193,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/MgetResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/MgetResponse.java index e4f7b76c5..533a4d30c 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/MgetResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/MgetResponse.java @@ -29,6 +29,7 @@ import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; import co.elastic.clients.json.JsonpSerializer; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.NamedDeserializer; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; @@ -101,6 +102,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/MtermvectorsResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/MtermvectorsResponse.java index 6d037e3dc..3cdf0a3a3 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/MtermvectorsResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/MtermvectorsResponse.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -93,6 +94,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/OpenPointInTimeResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/OpenPointInTimeResponse.java index b5ec22f5c..0c80cf058 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/OpenPointInTimeResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/OpenPointInTimeResponse.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -85,6 +86,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/RankEvalResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/RankEvalResponse.java index f8df1b304..e20b9948d 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/RankEvalResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/RankEvalResponse.java @@ -29,6 +29,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -136,6 +137,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/ReindexResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/ReindexResponse.java index 3c8d2a8dc..c5618e4b9 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/ReindexResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/ReindexResponse.java @@ -30,6 +30,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -353,6 +354,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/ReindexRethrottleResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/ReindexRethrottleResponse.java index 1d3dbb73f..9714df3b2 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/ReindexRethrottleResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/ReindexRethrottleResponse.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -96,6 +97,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/RenderSearchTemplateResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/RenderSearchTemplateResponse.java index d5fdc52d8..7734887e4 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/RenderSearchTemplateResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/RenderSearchTemplateResponse.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -96,6 +97,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/ScriptsPainlessExecuteResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/ScriptsPainlessExecuteResponse.java index a0f3a3d56..820d105f8 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/ScriptsPainlessExecuteResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/ScriptsPainlessExecuteResponse.java @@ -93,6 +93,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/SearchShardsResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/SearchShardsResponse.java index 35dbd4181..f5614a858 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/SearchShardsResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/SearchShardsResponse.java @@ -30,6 +30,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -146,6 +147,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/SearchTemplateResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/SearchTemplateResponse.java index 45177b7f8..d8ec41a33 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/SearchTemplateResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/SearchTemplateResponse.java @@ -36,6 +36,7 @@ import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; import co.elastic.clients.json.JsonpSerializer; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.NamedDeserializer; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; @@ -316,6 +317,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/TermsEnumResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/TermsEnumResponse.java index b6f87d13c..19666cd5f 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/TermsEnumResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/TermsEnumResponse.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -120,6 +121,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/TermvectorsResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/TermvectorsResponse.java index 2ccd78256..78f35f67c 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/TermvectorsResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/TermvectorsResponse.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -161,6 +162,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/UpdateByQueryResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/UpdateByQueryResponse.java index 54a4a8d5f..81929e6b3 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/UpdateByQueryResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/UpdateByQueryResponse.java @@ -29,6 +29,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -321,6 +322,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/UpdateByQueryRethrottleResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/UpdateByQueryRethrottleResponse.java index 5d7200158..f00906615 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/UpdateByQueryRethrottleResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/UpdateByQueryRethrottleResponse.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -97,6 +98,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/bulk/BulkOperationBase.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/bulk/BulkOperationBase.java index 3f49e301b..f574e9b3e 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/bulk/BulkOperationBase.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/bulk/BulkOperationBase.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -186,6 +187,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + protected abstract static class AbstractBuilder> extends WithJsonObjectBuilderBase { diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/bulk/BulkResponseItem.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/bulk/BulkResponseItem.java index c09ee86e3..c1be6b1b5 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/bulk/BulkResponseItem.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/bulk/BulkResponseItem.java @@ -31,6 +31,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -274,6 +275,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/bulk/UpdateAction.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/bulk/UpdateAction.java index d0099d241..feb73b4d7 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/bulk/UpdateAction.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/bulk/UpdateAction.java @@ -222,6 +222,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/explain/Explanation.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/explain/Explanation.java index 38d65022e..95bb4ebb9 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/explain/Explanation.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/explain/Explanation.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -119,6 +120,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/explain/ExplanationDetail.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/explain/ExplanationDetail.java index 64a401971..a6610fac3 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/explain/ExplanationDetail.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/explain/ExplanationDetail.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -120,6 +121,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/field_caps/FieldCapability.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/field_caps/FieldCapability.java index ebcbdf8af..b5875ff0a 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/field_caps/FieldCapability.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/field_caps/FieldCapability.java @@ -29,6 +29,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -319,6 +320,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/get/GetResult.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/get/GetResult.java index b2bbcde4d..8fb29bbe7 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/get/GetResult.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/get/GetResult.java @@ -230,6 +230,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/get_script_context/Context.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/get_script_context/Context.java index eb7e8bf7b..8067c848a 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/get_script_context/Context.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/get_script_context/Context.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -106,6 +107,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/get_script_context/ContextMethod.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/get_script_context/ContextMethod.java index d755d0d7d..ae38a99e2 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/get_script_context/ContextMethod.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/get_script_context/ContextMethod.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -120,6 +121,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/get_script_context/ContextMethodParam.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/get_script_context/ContextMethodParam.java index 23540022b..c46dc6a7f 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/get_script_context/ContextMethodParam.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/get_script_context/ContextMethodParam.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -98,6 +99,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/get_script_languages/LanguageContext.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/get_script_languages/LanguageContext.java index e6ecb6e23..e94c88de5 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/get_script_languages/LanguageContext.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/get_script_languages/LanguageContext.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -107,6 +108,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/knn_search/KnnSearchQuery.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/knn_search/KnnSearchQuery.java index b56395dba..27bb1a1eb 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/knn_search/KnnSearchQuery.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/knn_search/KnnSearchQuery.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -142,6 +143,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/mget/MultiGetError.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/mget/MultiGetError.java index 1632d275e..f0c88e7a9 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/mget/MultiGetError.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/mget/MultiGetError.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -111,6 +112,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/mget/MultiGetOperation.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/mget/MultiGetOperation.java index 82598917b..d2f4fde78 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/mget/MultiGetOperation.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/mget/MultiGetOperation.java @@ -29,6 +29,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -204,6 +205,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/msearch/MultiSearchResult.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/msearch/MultiSearchResult.java index 89af79b29..44c44e3e1 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/msearch/MultiSearchResult.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/msearch/MultiSearchResult.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; import co.elastic.clients.json.JsonpSerializer; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -108,6 +109,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + protected abstract static class AbstractBuilder> extends WithJsonObjectBuilderBase { diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/msearch/MultisearchBody.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/msearch/MultisearchBody.java index c465953c2..f541bd04e 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/msearch/MultisearchBody.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/msearch/MultisearchBody.java @@ -32,6 +32,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -203,6 +204,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/msearch/MultisearchHeader.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/msearch/MultisearchHeader.java index cefb369a8..0582f7962 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/msearch/MultisearchHeader.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/msearch/MultisearchHeader.java @@ -29,6 +29,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -219,6 +220,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/msearch/RequestItem.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/msearch/RequestItem.java index e54d0549c..8d008374c 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/msearch/RequestItem.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/msearch/RequestItem.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.NdJsonpSerializable; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; @@ -104,6 +105,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/msearch_template/RequestItem.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/msearch_template/RequestItem.java index 52358471c..cb257028f 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/msearch_template/RequestItem.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/msearch_template/RequestItem.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.NdJsonpSerializable; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; @@ -106,6 +107,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/msearch_template/TemplateConfig.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/msearch_template/TemplateConfig.java index dc9c8c060..389cabb37 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/msearch_template/TemplateConfig.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/msearch_template/TemplateConfig.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -172,6 +173,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/mtermvectors/MultiTermVectorsOperation.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/mtermvectors/MultiTermVectorsOperation.java index 413fd03f7..c558e85e7 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/mtermvectors/MultiTermVectorsOperation.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/mtermvectors/MultiTermVectorsOperation.java @@ -30,6 +30,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -298,6 +299,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/mtermvectors/MultiTermVectorsResult.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/mtermvectors/MultiTermVectorsResult.java index b94640de2..8dfc8cdfc 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/mtermvectors/MultiTermVectorsResult.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/mtermvectors/MultiTermVectorsResult.java @@ -29,6 +29,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -193,6 +194,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/rank_eval/DocumentRating.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/rank_eval/DocumentRating.java index 6220a1cf0..908593880 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/rank_eval/DocumentRating.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/rank_eval/DocumentRating.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -119,6 +120,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/rank_eval/RankEvalHit.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/rank_eval/RankEvalHit.java index 6fbc40690..18233a796 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/rank_eval/RankEvalHit.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/rank_eval/RankEvalHit.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -112,6 +113,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/rank_eval/RankEvalHitItem.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/rank_eval/RankEvalHitItem.java index f7b16c108..522cd1c83 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/rank_eval/RankEvalHitItem.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/rank_eval/RankEvalHitItem.java @@ -106,6 +106,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/rank_eval/RankEvalMetric.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/rank_eval/RankEvalMetric.java index 2a8fa43bc..4f410c39e 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/rank_eval/RankEvalMetric.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/rank_eval/RankEvalMetric.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -156,6 +157,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/rank_eval/RankEvalMetricBase.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/rank_eval/RankEvalMetricBase.java index d5efa2d96..a329b8a1e 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/rank_eval/RankEvalMetricBase.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/rank_eval/RankEvalMetricBase.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -87,6 +88,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + protected abstract static class AbstractBuilder> extends WithJsonObjectBuilderBase { diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/rank_eval/RankEvalMetricDetail.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/rank_eval/RankEvalMetricDetail.java index 1357b2392..2c669d6fc 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/rank_eval/RankEvalMetricDetail.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/rank_eval/RankEvalMetricDetail.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -174,6 +175,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/rank_eval/RankEvalQuery.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/rank_eval/RankEvalQuery.java index 3706286c1..c9d92c2a4 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/rank_eval/RankEvalQuery.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/rank_eval/RankEvalQuery.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -104,6 +105,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/rank_eval/RankEvalRequestItem.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/rank_eval/RankEvalRequestItem.java index ba312033d..c0ba64a6b 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/rank_eval/RankEvalRequestItem.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/rank_eval/RankEvalRequestItem.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -174,6 +175,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/rank_eval/UnratedDocument.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/rank_eval/UnratedDocument.java index 76950cf6e..7d9664c4b 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/rank_eval/UnratedDocument.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/rank_eval/UnratedDocument.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -98,6 +99,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/reindex/Destination.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/reindex/Destination.java index bd68fb116..33517521c 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/reindex/Destination.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/reindex/Destination.java @@ -29,6 +29,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -153,6 +154,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/reindex/RemoteSource.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/reindex/RemoteSource.java index 538b124aa..679237522 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/reindex/RemoteSource.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/reindex/RemoteSource.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -137,6 +138,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/reindex/Source.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/reindex/Source.java index 6504550dc..28b8da761 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/reindex/Source.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/reindex/Source.java @@ -31,6 +31,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -235,6 +236,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/reindex_rethrottle/ReindexStatus.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/reindex_rethrottle/ReindexStatus.java index cb0de3a32..2de195fa9 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/reindex_rethrottle/ReindexStatus.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/reindex_rethrottle/ReindexStatus.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -218,6 +219,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/reindex_rethrottle/ReindexTask.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/reindex_rethrottle/ReindexTask.java index 19feffc75..150168eda 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/reindex_rethrottle/ReindexTask.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/reindex_rethrottle/ReindexTask.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -222,6 +223,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/scripts_painless_execute/PainlessContextSetup.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/scripts_painless_execute/PainlessContextSetup.java index 4c72e20d8..c02e4904c 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/scripts_painless_execute/PainlessContextSetup.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/scripts_painless_execute/PainlessContextSetup.java @@ -29,6 +29,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -113,6 +114,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/AggregationBreakdown.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/AggregationBreakdown.java index 69c8a4ffc..f83cacc58 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/AggregationBreakdown.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/AggregationBreakdown.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -238,6 +239,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/AggregationProfile.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/AggregationProfile.java index 8b3f1d600..3b5fb19fd 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/AggregationProfile.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/AggregationProfile.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -164,6 +165,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/AggregationProfileDebug.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/AggregationProfileDebug.java index 43efa17dc..895400c80 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/AggregationProfileDebug.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/AggregationProfileDebug.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -541,6 +542,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/AggregationProfileDelegateDebugFilter.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/AggregationProfileDelegateDebugFilter.java index 211e44b47..932923d31 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/AggregationProfileDelegateDebugFilter.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/AggregationProfileDelegateDebugFilter.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -125,6 +126,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/Collector.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/Collector.java index eff1df9c6..b0594983e 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/Collector.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/Collector.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -134,6 +135,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/CompletionContext.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/CompletionContext.java index 41c92c554..c5d089fd7 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/CompletionContext.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/CompletionContext.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -160,6 +161,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/CompletionSuggestOption.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/CompletionSuggestOption.java index 043f7081f..6882edc94 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/CompletionSuggestOption.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/CompletionSuggestOption.java @@ -250,6 +250,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/DirectGenerator.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/DirectGenerator.java index 5aa95b868..e0c5cd58a 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/DirectGenerator.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/DirectGenerator.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -258,6 +259,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/FetchProfile.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/FetchProfile.java index 1b1d1b51b..5566038b5 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/FetchProfile.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/FetchProfile.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -164,6 +165,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/FetchProfileBreakdown.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/FetchProfileBreakdown.java index c5fef67ec..85a980509 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/FetchProfileBreakdown.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/FetchProfileBreakdown.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -174,6 +175,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/FetchProfileDebug.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/FetchProfileDebug.java index 0d575c436..18c974557 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/FetchProfileDebug.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/FetchProfileDebug.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -112,6 +113,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/FieldCollapse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/FieldCollapse.java index fba8d5fac..bfeeceda4 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/FieldCollapse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/FieldCollapse.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -142,6 +143,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/Highlight.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/Highlight.java index 5d8db4c9e..c2cb14825 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/Highlight.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/Highlight.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -423,6 +424,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/HighlightField.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/HighlightField.java index 7485c7b6e..d79afa250 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/HighlightField.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/HighlightField.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -439,6 +440,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/Hit.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/Hit.java index eb9ea0b3d..9f8962a49 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/Hit.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/Hit.java @@ -441,6 +441,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/HitsMetadata.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/HitsMetadata.java index 1592f52a3..7de0361f6 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/HitsMetadata.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/HitsMetadata.java @@ -140,6 +140,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/InnerHits.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/InnerHits.java index afad7c7b6..400769ef7 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/InnerHits.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/InnerHits.java @@ -30,6 +30,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -368,6 +369,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/InnerHitsResult.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/InnerHitsResult.java index 4ad151367..ea0d98b64 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/InnerHitsResult.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/InnerHitsResult.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -85,6 +86,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/LaplaceSmoothingModel.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/LaplaceSmoothingModel.java index d1632042d..360ad25df 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/LaplaceSmoothingModel.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/LaplaceSmoothingModel.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -92,6 +93,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/LinearInterpolationSmoothingModel.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/LinearInterpolationSmoothingModel.java index a3419d907..d3c0dbac5 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/LinearInterpolationSmoothingModel.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/LinearInterpolationSmoothingModel.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -119,6 +120,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/NestedIdentity.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/NestedIdentity.java index 178f0f6f2..81163c3b7 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/NestedIdentity.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/NestedIdentity.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -117,6 +118,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/PhraseSuggestCollate.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/PhraseSuggestCollate.java index 064ba9585..c01c38d57 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/PhraseSuggestCollate.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/PhraseSuggestCollate.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -126,6 +127,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/PhraseSuggestCollateQuery.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/PhraseSuggestCollateQuery.java index facbd7269..de43be977 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/PhraseSuggestCollateQuery.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/PhraseSuggestCollateQuery.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -106,6 +107,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/PhraseSuggestHighlight.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/PhraseSuggestHighlight.java index b62253331..5378dfe25 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/PhraseSuggestHighlight.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/PhraseSuggestHighlight.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -98,6 +99,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/PhraseSuggestOption.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/PhraseSuggestOption.java index 26d6cfc20..63d33b9ce 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/PhraseSuggestOption.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/PhraseSuggestOption.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -112,6 +113,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/PointInTimeReference.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/PointInTimeReference.java index d313ab962..1dcad25df 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/PointInTimeReference.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/PointInTimeReference.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -104,6 +105,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/Profile.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/Profile.java index 373dc828c..e6500b38e 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/Profile.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/Profile.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -93,6 +94,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/QueryBreakdown.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/QueryBreakdown.java index f1ef96f47..bc2aee181 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/QueryBreakdown.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/QueryBreakdown.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -309,6 +310,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/QueryProfile.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/QueryProfile.java index 4123e8774..1f24c113a 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/QueryProfile.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/QueryProfile.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -147,6 +148,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/Rescore.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/Rescore.java index c3c5c378d..b1e1a8389 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/Rescore.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/Rescore.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -103,6 +104,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/RescoreQuery.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/RescoreQuery.java index 9fab2040a..a3bb39dea 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/RescoreQuery.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/RescoreQuery.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -137,6 +138,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/ResponseBody.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/ResponseBody.java index a791d8086..7fe07ab32 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/ResponseBody.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/ResponseBody.java @@ -33,6 +33,7 @@ import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; import co.elastic.clients.json.JsonpSerializer; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -305,6 +306,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + protected abstract static class AbstractBuilder> extends WithJsonObjectBuilderBase { diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/SearchProfile.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/SearchProfile.java index beb9decf3..be4beda7f 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/SearchProfile.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/SearchProfile.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -126,6 +127,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/ShardProfile.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/ShardProfile.java index 9f86672f1..a4f038eda 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/ShardProfile.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/ShardProfile.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -144,6 +145,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/SourceFilter.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/SourceFilter.java index 03d1ee2ef..401ee8c77 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/SourceFilter.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/SourceFilter.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -114,6 +115,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/StupidBackoffSmoothingModel.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/StupidBackoffSmoothingModel.java index 6d8fcdb37..d1843887a 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/StupidBackoffSmoothingModel.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/StupidBackoffSmoothingModel.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -92,6 +93,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/SuggestBase.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/SuggestBase.java index 5223244b8..ada71bafe 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/SuggestBase.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/SuggestBase.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -107,6 +108,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + protected abstract static class AbstractBuilder> extends WithJsonObjectBuilderBase { diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/SuggestFuzziness.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/SuggestFuzziness.java index 76e87b978..0e12a4975 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/SuggestFuzziness.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/SuggestFuzziness.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -139,6 +140,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/Suggester.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/Suggester.java index 4d2f44848..6a5ec079a 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/Suggester.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/Suggester.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -112,6 +113,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/SuggesterBase.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/SuggesterBase.java index 0f6b1250c..7eb018692 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/SuggesterBase.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/SuggesterBase.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -116,6 +117,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + protected abstract static class AbstractBuilder> extends WithJsonObjectBuilderBase { diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/TermSuggestOption.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/TermSuggestOption.java index 9c0ee1b5b..baf49ea56 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/TermSuggestOption.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/TermSuggestOption.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -113,6 +114,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/TotalHits.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/TotalHits.java index 6964c7cf8..b2acf5811 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/TotalHits.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search/TotalHits.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -97,6 +98,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search_shards/ShardStoreIndex.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search_shards/ShardStoreIndex.java index 60784ae7f..aaee31257 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search_shards/ShardStoreIndex.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/search_shards/ShardStoreIndex.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -112,6 +113,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/termvectors/FieldStatistics.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/termvectors/FieldStatistics.java index b22d2fe23..a7ef56b7f 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/termvectors/FieldStatistics.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/termvectors/FieldStatistics.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -111,6 +112,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/termvectors/Filter.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/termvectors/Filter.java index e59273b7b..812e16bfc 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/termvectors/Filter.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/termvectors/Filter.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -190,6 +191,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/termvectors/Term.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/termvectors/Term.java index 14e451f7b..8473c1d0c 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/termvectors/Term.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/termvectors/Term.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -158,6 +159,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/termvectors/TermVector.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/termvectors/TermVector.java index cbbf9a00b..b8fd0e327 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/termvectors/TermVector.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/termvectors/TermVector.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -108,6 +109,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/termvectors/Token.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/termvectors/Token.java index e63cdb280..688af29af 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/core/termvectors/Token.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/core/termvectors/Token.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -137,6 +138,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/dangling_indices/ListDanglingIndicesResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/dangling_indices/ListDanglingIndicesResponse.java index e97088700..abb669a73 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/dangling_indices/ListDanglingIndicesResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/dangling_indices/ListDanglingIndicesResponse.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -94,6 +95,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/dangling_indices/list_dangling_indices/DanglingIndex.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/dangling_indices/list_dangling_indices/DanglingIndex.java index 589ec49ee..2e75199ae 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/dangling_indices/list_dangling_indices/DanglingIndex.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/dangling_indices/list_dangling_indices/DanglingIndex.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -133,6 +134,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/enrich/EnrichConfiguration.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/enrich/EnrichConfiguration.java index 39df0e344..49e87c883 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/enrich/EnrichConfiguration.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/enrich/EnrichConfiguration.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -100,6 +101,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/enrich/EnrichPolicy.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/enrich/EnrichPolicy.java index 2963483be..dc40813c3 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/enrich/EnrichPolicy.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/enrich/EnrichPolicy.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -160,6 +161,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/enrich/EnrichStatsResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/enrich/EnrichStatsResponse.java index 8a49fb6f7..2c8260f85 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/enrich/EnrichStatsResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/enrich/EnrichStatsResponse.java @@ -30,6 +30,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -136,6 +137,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/enrich/EnrichSummary.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/enrich/EnrichSummary.java index d3f9493e1..58f1c1286 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/enrich/EnrichSummary.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/enrich/EnrichSummary.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -83,6 +84,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/enrich/ExecutePolicyResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/enrich/ExecutePolicyResponse.java index 47399f935..f7d54009c 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/enrich/ExecutePolicyResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/enrich/ExecutePolicyResponse.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -103,6 +104,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/enrich/GetPolicyResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/enrich/GetPolicyResponse.java index 61fa6556b..87ff700c0 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/enrich/GetPolicyResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/enrich/GetPolicyResponse.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -92,6 +93,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/enrich/execute_policy/ExecuteEnrichPolicyStatus.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/enrich/execute_policy/ExecuteEnrichPolicyStatus.java index f7c406365..f9d5f37f6 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/enrich/execute_policy/ExecuteEnrichPolicyStatus.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/enrich/execute_policy/ExecuteEnrichPolicyStatus.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -84,6 +85,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/enrich/stats/CacheStats.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/enrich/stats/CacheStats.java index c1b386594..a9bf07c87 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/enrich/stats/CacheStats.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/enrich/stats/CacheStats.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -137,6 +138,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/enrich/stats/CoordinatorStats.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/enrich/stats/CoordinatorStats.java index 9ab8e36b8..ea502f41b 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/enrich/stats/CoordinatorStats.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/enrich/stats/CoordinatorStats.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -142,6 +143,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/enrich/stats/ExecutingPolicy.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/enrich/stats/ExecutingPolicy.java index cce92e2bf..ac82532de 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/enrich/stats/ExecutingPolicy.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/enrich/stats/ExecutingPolicy.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -98,6 +99,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/eql/EqlHits.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/eql/EqlHits.java index f8309db72..f8f00dfd8 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/eql/EqlHits.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/eql/EqlHits.java @@ -29,6 +29,7 @@ import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; import co.elastic.clients.json.JsonpSerializer; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.NamedDeserializer; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; @@ -145,6 +146,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/eql/EqlSearchResponseBase.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/eql/EqlSearchResponseBase.java index 5f945cd0d..65d0c9a77 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/eql/EqlSearchResponseBase.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/eql/EqlSearchResponseBase.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; import co.elastic.clients.json.JsonpSerializer; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -186,6 +187,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + protected abstract static class AbstractBuilder> extends WithJsonObjectBuilderBase { diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/eql/GetEqlStatusResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/eql/GetEqlStatusResponse.java index a70aa5749..5f7300484 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/eql/GetEqlStatusResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/eql/GetEqlStatusResponse.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -182,6 +183,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/eql/HitsEvent.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/eql/HitsEvent.java index 348685991..4f6ca5c05 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/eql/HitsEvent.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/eql/HitsEvent.java @@ -157,6 +157,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/eql/HitsSequence.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/eql/HitsSequence.java index 2d2fe01ba..d76b2086a 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/eql/HitsSequence.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/eql/HitsSequence.java @@ -29,6 +29,7 @@ import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; import co.elastic.clients.json.JsonpSerializer; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.NamedDeserializer; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; @@ -126,6 +127,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/features/Feature.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/features/Feature.java index 2e2073d63..b84fb0268 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/features/Feature.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/features/Feature.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -97,6 +98,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/features/GetFeaturesResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/features/GetFeaturesResponse.java index dff694609..815cce52d 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/features/GetFeaturesResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/features/GetFeaturesResponse.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -92,6 +93,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/features/ResetFeaturesResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/features/ResetFeaturesResponse.java index 1e1c04216..4cc037780 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/features/ResetFeaturesResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/features/ResetFeaturesResponse.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -93,6 +94,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/fleet/FleetSearchResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/fleet/FleetSearchResponse.java index b61d9974c..b8dbfb329 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/fleet/FleetSearchResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/fleet/FleetSearchResponse.java @@ -36,6 +36,7 @@ import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; import co.elastic.clients.json.JsonpSerializer; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.NamedDeserializer; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; @@ -315,6 +316,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/graph/Connection.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/graph/Connection.java index 91e806154..057ba01ac 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/graph/Connection.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/graph/Connection.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -123,6 +124,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/graph/ExploreControls.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/graph/ExploreControls.java index 4ce615f68..085b0753c 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/graph/ExploreControls.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/graph/ExploreControls.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -137,6 +138,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/graph/ExploreResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/graph/ExploreResponse.java index a9b5287fe..1c6e18253 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/graph/ExploreResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/graph/ExploreResponse.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -161,6 +162,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/graph/Hop.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/graph/Hop.java index c05ed6faa..fbd2c0d12 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/graph/Hop.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/graph/Hop.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -123,6 +124,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/graph/SampleDiversity.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/graph/SampleDiversity.java index 511026193..0cc1cbe7d 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/graph/SampleDiversity.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/graph/SampleDiversity.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -98,6 +99,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/graph/Vertex.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/graph/Vertex.java index 0517b9c5e..d1a50125f 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/graph/Vertex.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/graph/Vertex.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -125,6 +126,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/graph/VertexDefinition.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/graph/VertexDefinition.java index 5c1ba77e9..e9d6943c8 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/graph/VertexDefinition.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/graph/VertexDefinition.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -179,6 +180,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/graph/VertexInclude.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/graph/VertexInclude.java index 2ffc5faa0..4437ef96f 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/graph/VertexInclude.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/graph/VertexInclude.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -98,6 +99,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ilm/Configurations.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ilm/Configurations.java index b3f33bd62..e50405269 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ilm/Configurations.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ilm/Configurations.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -122,6 +123,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ilm/ExplainLifecycleResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ilm/ExplainLifecycleResponse.java index c8161b49b..ec1a8d7fb 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ilm/ExplainLifecycleResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ilm/ExplainLifecycleResponse.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -95,6 +96,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ilm/ForceMergeConfiguration.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ilm/ForceMergeConfiguration.java index 8906f60a9..7aea99f2f 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ilm/ForceMergeConfiguration.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ilm/ForceMergeConfiguration.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -84,6 +85,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ilm/GetIlmStatusResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ilm/GetIlmStatusResponse.java index bd8ada129..5b151c9f3 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ilm/GetIlmStatusResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ilm/GetIlmStatusResponse.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -84,6 +85,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ilm/GetLifecycleResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ilm/GetLifecycleResponse.java index c91569e67..248b10e9e 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ilm/GetLifecycleResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ilm/GetLifecycleResponse.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -93,6 +94,11 @@ public void serialize(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ilm/IlmPolicy.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ilm/IlmPolicy.java index 3867527ae..1777267c4 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ilm/IlmPolicy.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ilm/IlmPolicy.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -102,6 +103,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ilm/MigrateToDataTiersResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ilm/MigrateToDataTiersResponse.java index 38d3d2bfa..07e5c7e46 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ilm/MigrateToDataTiersResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ilm/MigrateToDataTiersResponse.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -206,6 +207,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ilm/Phase.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ilm/Phase.java index 4c14d49c6..86ab60b8c 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ilm/Phase.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ilm/Phase.java @@ -29,6 +29,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -123,6 +124,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ilm/Phases.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ilm/Phases.java index 0dd31d670..eb822cb90 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ilm/Phases.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ilm/Phases.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -138,6 +139,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ilm/RemovePolicyResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ilm/RemovePolicyResponse.java index ca211f4aa..07b3d3e54 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ilm/RemovePolicyResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ilm/RemovePolicyResponse.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -106,6 +107,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ilm/ShrinkConfiguration.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ilm/ShrinkConfiguration.java index 63271d0d4..b59f41839 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ilm/ShrinkConfiguration.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ilm/ShrinkConfiguration.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -83,6 +84,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ilm/explain_lifecycle/LifecycleExplainManaged.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ilm/explain_lifecycle/LifecycleExplainManaged.java index 2882a2b70..f1cc66963 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ilm/explain_lifecycle/LifecycleExplainManaged.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ilm/explain_lifecycle/LifecycleExplainManaged.java @@ -29,6 +29,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -334,6 +335,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ilm/explain_lifecycle/LifecycleExplainPhaseExecution.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ilm/explain_lifecycle/LifecycleExplainPhaseExecution.java index 86641a38e..f7eb06224 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ilm/explain_lifecycle/LifecycleExplainPhaseExecution.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ilm/explain_lifecycle/LifecycleExplainPhaseExecution.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -115,6 +116,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ilm/explain_lifecycle/LifecycleExplainUnmanaged.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ilm/explain_lifecycle/LifecycleExplainUnmanaged.java index e9b32ae0b..3d72f48b3 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ilm/explain_lifecycle/LifecycleExplainUnmanaged.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ilm/explain_lifecycle/LifecycleExplainUnmanaged.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -95,6 +96,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ilm/get_lifecycle/Lifecycle.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ilm/get_lifecycle/Lifecycle.java index 679a5eb5a..d38b1ae8b 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ilm/get_lifecycle/Lifecycle.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ilm/get_lifecycle/Lifecycle.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -111,6 +112,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ilm/move_to_step/StepKey.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ilm/move_to_step/StepKey.java index a65608057..ccd72ebc7 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ilm/move_to_step/StepKey.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ilm/move_to_step/StepKey.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -110,6 +111,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/AddBlockResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/AddBlockResponse.java index aad700cb2..79dc5a497 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/AddBlockResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/AddBlockResponse.java @@ -29,6 +29,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -121,6 +122,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/Alias.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/Alias.java index af2a08dce..ee26c4328 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/Alias.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/Alias.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -175,6 +176,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/AliasDefinition.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/AliasDefinition.java index c3c31aea5..5c14d250e 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/AliasDefinition.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/AliasDefinition.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -175,6 +176,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/AnalyzeResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/AnalyzeResponse.java index 5a60c9dff..4d4a5ecf9 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/AnalyzeResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/AnalyzeResponse.java @@ -29,6 +29,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -111,6 +112,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/CacheQueries.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/CacheQueries.java index 94193c5ce..4f56739c2 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/CacheQueries.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/CacheQueries.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -83,6 +84,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/CloneIndexResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/CloneIndexResponse.java index 5957316f5..ad16c39e5 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/CloneIndexResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/CloneIndexResponse.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -112,6 +113,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/CloseIndexResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/CloseIndexResponse.java index 46785d782..8c9664ada 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/CloseIndexResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/CloseIndexResponse.java @@ -29,6 +29,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -122,6 +123,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/CreateIndexResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/CreateIndexResponse.java index 71b111218..808311ca1 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/CreateIndexResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/CreateIndexResponse.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -112,6 +113,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/DataStream.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/DataStream.java index 36634d52c..3e88410c0 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/DataStream.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/DataStream.java @@ -29,6 +29,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -264,6 +265,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/DataStreamIndex.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/DataStreamIndex.java index 35a855e0d..533b82f84 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/DataStreamIndex.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/DataStreamIndex.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -97,6 +98,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/DataStreamTimestampField.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/DataStreamTimestampField.java index 7cdcaf3fb..606c281a4 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/DataStreamTimestampField.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/DataStreamTimestampField.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -85,6 +86,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/DataStreamVisibility.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/DataStreamVisibility.java index 42cded30b..67c9a6b4c 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/DataStreamVisibility.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/DataStreamVisibility.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -89,6 +90,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/DataStreamsStatsResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/DataStreamsStatsResponse.java index 9978e211c..1f889742c 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/DataStreamsStatsResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/DataStreamsStatsResponse.java @@ -29,6 +29,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -167,6 +168,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/DiskUsageResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/DiskUsageResponse.java index 1d8855ba8..4e1d1f75b 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/DiskUsageResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/DiskUsageResponse.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -77,6 +78,11 @@ public void serialize(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/FielddataFrequencyFilter.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/FielddataFrequencyFilter.java index 10e784319..0e783a701 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/FielddataFrequencyFilter.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/FielddataFrequencyFilter.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -111,6 +112,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/GetAliasResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/GetAliasResponse.java index dba416b0f..f56843245 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/GetAliasResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/GetAliasResponse.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -93,6 +94,11 @@ public void serialize(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/GetDataStreamResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/GetDataStreamResponse.java index 2aeadbf98..d52549e5e 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/GetDataStreamResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/GetDataStreamResponse.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -93,6 +94,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/GetFieldMappingResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/GetFieldMappingResponse.java index b50a4798b..d7d7ad25b 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/GetFieldMappingResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/GetFieldMappingResponse.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -94,6 +95,11 @@ public void serialize(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/GetIndexResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/GetIndexResponse.java index d3c22c15f..580005a08 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/GetIndexResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/GetIndexResponse.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -92,6 +93,11 @@ public void serialize(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/GetIndexTemplateResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/GetIndexTemplateResponse.java index 3071088b7..080b73319 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/GetIndexTemplateResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/GetIndexTemplateResponse.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -94,6 +95,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/GetIndicesSettingsResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/GetIndicesSettingsResponse.java index 1b8114d5b..523de2a87 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/GetIndicesSettingsResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/GetIndicesSettingsResponse.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -92,6 +93,11 @@ public void serialize(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/GetMappingResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/GetMappingResponse.java index dab961bcb..9492bd5c7 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/GetMappingResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/GetMappingResponse.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -93,6 +94,11 @@ public void serialize(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/GetTemplateResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/GetTemplateResponse.java index 1628153f4..d9c3e93b2 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/GetTemplateResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/GetTemplateResponse.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -92,6 +93,11 @@ public void serialize(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/IndexRouting.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/IndexRouting.java index d2843a991..f820d1603 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/IndexRouting.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/IndexRouting.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -104,6 +105,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/IndexRoutingAllocation.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/IndexRoutingAllocation.java index f202acb91..ed65cddc9 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/IndexRoutingAllocation.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/IndexRoutingAllocation.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -138,6 +139,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/IndexRoutingAllocationDisk.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/IndexRoutingAllocationDisk.java index dc7b57625..32520dc70 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/IndexRoutingAllocationDisk.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/IndexRoutingAllocationDisk.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -89,6 +90,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/IndexRoutingAllocationInclude.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/IndexRoutingAllocationInclude.java index 4946de6bf..057026958 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/IndexRoutingAllocationInclude.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/IndexRoutingAllocationInclude.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -106,6 +107,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/IndexRoutingAllocationInitialRecovery.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/IndexRoutingAllocationInitialRecovery.java index 3acddf85b..612534d9e 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/IndexRoutingAllocationInitialRecovery.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/IndexRoutingAllocationInitialRecovery.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -90,6 +91,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/IndexRoutingRebalance.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/IndexRoutingRebalance.java index d7395ddb5..ec0a9b9ff 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/IndexRoutingRebalance.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/IndexRoutingRebalance.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -84,6 +85,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/IndexSegmentSort.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/IndexSegmentSort.java index af1f8cbf1..bde6d251b 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/IndexSegmentSort.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/IndexSegmentSort.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -150,6 +151,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/IndexSettingBlocks.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/IndexSettingBlocks.java index 0713b19c4..260f5ffdc 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/IndexSettingBlocks.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/IndexSettingBlocks.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -157,6 +158,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/IndexSettings.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/IndexSettings.java index e2c505d94..7bf0ef7d1 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/IndexSettings.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/IndexSettings.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -1062,6 +1063,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/IndexSettingsAnalysis.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/IndexSettingsAnalysis.java index 6ff5e8a58..f3694818a 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/IndexSettingsAnalysis.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/IndexSettingsAnalysis.java @@ -32,6 +32,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -184,6 +185,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/IndexSettingsLifecycle.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/IndexSettingsLifecycle.java index 3c268a3d2..2f91e89ba 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/IndexSettingsLifecycle.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/IndexSettingsLifecycle.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -198,6 +199,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/IndexSettingsLifecycleStep.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/IndexSettingsLifecycleStep.java index 29352fd3c..5acbfef6a 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/IndexSettingsLifecycleStep.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/IndexSettingsLifecycleStep.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -93,6 +94,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/IndexSettingsTimeSeries.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/IndexSettingsTimeSeries.java index bbd4e11ec..31c579986 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/IndexSettingsTimeSeries.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/IndexSettingsTimeSeries.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.DateTime; @@ -104,6 +105,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/IndexState.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/IndexState.java index 9a6d1f567..7937bc3d3 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/IndexState.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/IndexState.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -166,6 +167,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/IndexTemplate.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/IndexTemplate.java index 781b6f9e2..c16d3bd18 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/IndexTemplate.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/IndexTemplate.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -223,6 +224,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/IndexTemplateDataStreamConfiguration.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/IndexTemplateDataStreamConfiguration.java index adc0ee644..b479c6c57 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/IndexTemplateDataStreamConfiguration.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/IndexTemplateDataStreamConfiguration.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -111,6 +112,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/IndexTemplateSummary.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/IndexTemplateSummary.java index 2c9aa8db8..4294f6176 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/IndexTemplateSummary.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/IndexTemplateSummary.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -130,6 +131,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/IndexVersioning.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/IndexVersioning.java index 0a920c2e6..4b7812fa9 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/IndexVersioning.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/IndexVersioning.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -102,6 +103,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/IndexingPressure.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/IndexingPressure.java index ccb91383a..bf46b0aa4 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/IndexingPressure.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/IndexingPressure.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -83,6 +84,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/IndexingPressureMemory.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/IndexingPressureMemory.java index 3517a7aaa..322222f44 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/IndexingPressureMemory.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/IndexingPressureMemory.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -94,6 +95,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/IndicesStatsResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/IndicesStatsResponse.java index c6c59bb44..33b1505e2 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/IndicesStatsResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/IndicesStatsResponse.java @@ -29,6 +29,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -121,6 +122,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/MappingLimitSettings.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/MappingLimitSettings.java index 96ce2ff6a..4b4ed7e55 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/MappingLimitSettings.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/MappingLimitSettings.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -195,6 +196,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/MappingLimitSettingsDepth.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/MappingLimitSettingsDepth.java index 5cf7ace59..ff6e3b778 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/MappingLimitSettingsDepth.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/MappingLimitSettingsDepth.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -94,6 +95,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/MappingLimitSettingsDimensionFields.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/MappingLimitSettingsDimensionFields.java index 078bc79b2..2015ec80c 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/MappingLimitSettingsDimensionFields.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/MappingLimitSettingsDimensionFields.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -95,6 +96,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/MappingLimitSettingsFieldNameLength.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/MappingLimitSettingsFieldNameLength.java index 205e6a205..616fbbd6c 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/MappingLimitSettingsFieldNameLength.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/MappingLimitSettingsFieldNameLength.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -97,6 +98,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/MappingLimitSettingsNestedFields.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/MappingLimitSettingsNestedFields.java index 9f05e334c..bda69b799 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/MappingLimitSettingsNestedFields.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/MappingLimitSettingsNestedFields.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -95,6 +96,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/MappingLimitSettingsNestedObjects.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/MappingLimitSettingsNestedObjects.java index e366fc4a3..8fcaf13e7 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/MappingLimitSettingsNestedObjects.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/MappingLimitSettingsNestedObjects.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -94,6 +95,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/MappingLimitSettingsTotalFields.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/MappingLimitSettingsTotalFields.java index 23e6f6891..849a0c164 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/MappingLimitSettingsTotalFields.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/MappingLimitSettingsTotalFields.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -96,6 +97,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/Merge.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/Merge.java index a1b5e7e21..0d80cc1a7 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/Merge.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/Merge.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -87,6 +88,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/MergeScheduler.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/MergeScheduler.java index 5c437ad74..81aa3b896 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/MergeScheduler.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/MergeScheduler.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -105,6 +106,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/NumericFielddata.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/NumericFielddata.java index 4776490e5..60769703c 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/NumericFielddata.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/NumericFielddata.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -83,6 +84,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/OpenResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/OpenResponse.java index ac13dc781..ae4444b0d 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/OpenResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/OpenResponse.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -97,6 +98,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/PromoteDataStreamResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/PromoteDataStreamResponse.java index d59da22fe..431319dd4 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/PromoteDataStreamResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/PromoteDataStreamResponse.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -78,6 +79,11 @@ public void serialize(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/Queries.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/Queries.java index 240fe6103..a2b0752d2 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/Queries.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/Queries.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -87,6 +88,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/RecoveryResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/RecoveryResponse.java index dc96c9d30..f9fcfe630 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/RecoveryResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/RecoveryResponse.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -93,6 +94,11 @@ public void serialize(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/ReloadSearchAnalyzersResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/ReloadSearchAnalyzersResponse.java index b48263223..79089a3a1 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/ReloadSearchAnalyzersResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/ReloadSearchAnalyzersResponse.java @@ -29,6 +29,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -107,6 +108,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/ResolveIndexResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/ResolveIndexResponse.java index b6eedb099..6f92410af 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/ResolveIndexResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/ResolveIndexResponse.java @@ -30,6 +30,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -135,6 +136,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/RetentionLease.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/RetentionLease.java index 7cf3de6cc..6a32f8a7b 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/RetentionLease.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/RetentionLease.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -84,6 +85,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/RolloverResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/RolloverResponse.java index f34f1428f..c9926974c 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/RolloverResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/RolloverResponse.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -173,6 +174,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/SearchIdle.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/SearchIdle.java index 35e6e8628..96a2fb150 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/SearchIdle.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/SearchIdle.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -88,6 +89,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/SegmentsResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/SegmentsResponse.java index 76fa86e91..f5a73e45d 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/SegmentsResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/SegmentsResponse.java @@ -29,6 +29,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -108,6 +109,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/SettingsAnalyze.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/SettingsAnalyze.java index d390b5473..bf5c279f7 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/SettingsAnalyze.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/SettingsAnalyze.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -88,6 +89,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/SettingsHighlight.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/SettingsHighlight.java index 5f9097d40..ea4a0b236 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/SettingsHighlight.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/SettingsHighlight.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -89,6 +90,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/SettingsQueryString.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/SettingsQueryString.java index 597abf59f..6809169c3 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/SettingsQueryString.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/SettingsQueryString.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -84,6 +85,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/SettingsSearch.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/SettingsSearch.java index 573c40afd..ab9651dc8 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/SettingsSearch.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/SettingsSearch.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -104,6 +105,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/SettingsSimilarity.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/SettingsSimilarity.java index bd12c8511..52c7e9ef9 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/SettingsSimilarity.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/SettingsSimilarity.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -190,6 +191,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/SettingsSimilarityBm25.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/SettingsSimilarityBm25.java index f02a1670e..b8555baea 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/SettingsSimilarityBm25.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/SettingsSimilarityBm25.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -112,6 +113,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/SettingsSimilarityDfi.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/SettingsSimilarityDfi.java index e2dd10194..3c9367797 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/SettingsSimilarityDfi.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/SettingsSimilarityDfi.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -86,6 +87,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/SettingsSimilarityDfr.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/SettingsSimilarityDfr.java index 01cdcfcd7..f853ca001 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/SettingsSimilarityDfr.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/SettingsSimilarityDfr.java @@ -30,6 +30,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -111,6 +112,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/SettingsSimilarityIb.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/SettingsSimilarityIb.java index 490081588..185bb5e3b 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/SettingsSimilarityIb.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/SettingsSimilarityIb.java @@ -30,6 +30,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -111,6 +112,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/SettingsSimilarityLmd.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/SettingsSimilarityLmd.java index ef9c04061..4475b395f 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/SettingsSimilarityLmd.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/SettingsSimilarityLmd.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -84,6 +85,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/SettingsSimilarityLmj.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/SettingsSimilarityLmj.java index 08c3329db..b3890b127 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/SettingsSimilarityLmj.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/SettingsSimilarityLmj.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -84,6 +85,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/SettingsSimilarityScriptedTfidf.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/SettingsSimilarityScriptedTfidf.java index 1880ca3ea..ff59778c4 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/SettingsSimilarityScriptedTfidf.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/SettingsSimilarityScriptedTfidf.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -86,6 +87,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/ShardStoresResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/ShardStoresResponse.java index 462d67130..bc563d570 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/ShardStoresResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/ShardStoresResponse.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -95,6 +96,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/ShrinkResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/ShrinkResponse.java index b6e17e303..6e779f31d 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/ShrinkResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/ShrinkResponse.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -112,6 +113,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/SimulateTemplateResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/SimulateTemplateResponse.java index 342083163..8cc600a1a 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/SimulateTemplateResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/SimulateTemplateResponse.java @@ -29,6 +29,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -107,6 +108,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/SlowlogSettings.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/SlowlogSettings.java index 70ad216aa..d9ab7000a 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/SlowlogSettings.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/SlowlogSettings.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -141,6 +142,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/SlowlogTresholdLevels.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/SlowlogTresholdLevels.java index 55ea917c6..3493285c9 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/SlowlogTresholdLevels.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/SlowlogTresholdLevels.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -140,6 +141,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/SlowlogTresholds.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/SlowlogTresholds.java index 65b748f2f..06c337b3b 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/SlowlogTresholds.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/SlowlogTresholds.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -125,6 +126,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/SoftDeletes.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/SoftDeletes.java index a669a95aa..dfc72fddc 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/SoftDeletes.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/SoftDeletes.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -113,6 +114,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/SplitResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/SplitResponse.java index 235f59440..5e09c0bef 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/SplitResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/SplitResponse.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -112,6 +113,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/Storage.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/Storage.java index 1f9798ab7..a4169d483 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/Storage.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/Storage.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -108,6 +109,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/TemplateMapping.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/TemplateMapping.java index 297e45914..775659f7b 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/TemplateMapping.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/TemplateMapping.java @@ -29,6 +29,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -183,6 +184,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/Translog.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/Translog.java index e179e911e..16ab9c863 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/Translog.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/Translog.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -153,6 +154,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/TranslogRetention.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/TranslogRetention.java index f52a6a04c..0770b6143 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/TranslogRetention.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/TranslogRetention.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -123,6 +124,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/UnfreezeResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/UnfreezeResponse.java index cf8cbfc6d..b890394ff 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/UnfreezeResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/UnfreezeResponse.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -97,6 +98,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/ValidateQueryResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/ValidateQueryResponse.java index 2dc017c44..e82aad6ff 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/ValidateQueryResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/ValidateQueryResponse.java @@ -29,6 +29,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -143,6 +144,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/add_block/IndicesBlockStatus.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/add_block/IndicesBlockStatus.java index c5b305d1c..3388779e2 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/add_block/IndicesBlockStatus.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/add_block/IndicesBlockStatus.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -99,6 +100,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/analyze/AnalyzeDetail.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/analyze/AnalyzeDetail.java index 8316e3488..112bffe4e 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/analyze/AnalyzeDetail.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/analyze/AnalyzeDetail.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -161,6 +162,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/analyze/AnalyzeToken.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/analyze/AnalyzeToken.java index b93f5e791..98f23b13a 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/analyze/AnalyzeToken.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/analyze/AnalyzeToken.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -154,6 +155,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/analyze/AnalyzerDetail.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/analyze/AnalyzerDetail.java index 20b4476d4..837cf9331 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/analyze/AnalyzerDetail.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/analyze/AnalyzerDetail.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -107,6 +108,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/analyze/CharFilterDetail.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/analyze/CharFilterDetail.java index e2303ee5a..17554ce9b 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/analyze/CharFilterDetail.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/analyze/CharFilterDetail.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -106,6 +107,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/analyze/ExplainAnalyzeToken.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/analyze/ExplainAnalyzeToken.java index 9424fbf6a..5766f72f0 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/analyze/ExplainAnalyzeToken.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/analyze/ExplainAnalyzeToken.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -195,6 +196,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/analyze/TokenDetail.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/analyze/TokenDetail.java index e0cd2656e..61917b585 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/analyze/TokenDetail.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/analyze/TokenDetail.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -106,6 +107,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/close/CloseIndexResult.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/close/CloseIndexResult.java index 23ca75844..2e0dc7484 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/close/CloseIndexResult.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/close/CloseIndexResult.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -109,6 +110,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/close/CloseShardResult.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/close/CloseShardResult.java index 5bd2e5fd4..9a294028f 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/close/CloseShardResult.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/close/CloseShardResult.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -94,6 +95,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/data_streams_stats/DataStreamsStatsItem.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/data_streams_stats/DataStreamsStatsItem.java index 18f89c38f..4a5dc480f 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/data_streams_stats/DataStreamsStatsItem.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/data_streams_stats/DataStreamsStatsItem.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -143,6 +144,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/field_usage_stats/FieldSummary.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/field_usage_stats/FieldSummary.java index 8a2b0a835..3b55cb249 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/field_usage_stats/FieldSummary.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/field_usage_stats/FieldSummary.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -176,6 +177,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/field_usage_stats/FieldsUsageBody.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/field_usage_stats/FieldsUsageBody.java index 4520dad11..e181436d3 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/field_usage_stats/FieldsUsageBody.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/field_usage_stats/FieldsUsageBody.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -101,6 +102,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + protected abstract static class AbstractBuilder> extends WithJsonObjectBuilderBase { diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/field_usage_stats/InvertedIndex.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/field_usage_stats/InvertedIndex.java index ee93849c2..6b6e250aa 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/field_usage_stats/InvertedIndex.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/field_usage_stats/InvertedIndex.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -163,6 +164,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/field_usage_stats/ShardsStats.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/field_usage_stats/ShardsStats.java index 340ccf6a9..dc1914cea 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/field_usage_stats/ShardsStats.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/field_usage_stats/ShardsStats.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -108,6 +109,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/field_usage_stats/UsageStatsIndex.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/field_usage_stats/UsageStatsIndex.java index 5c0963be4..197d7fe19 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/field_usage_stats/UsageStatsIndex.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/field_usage_stats/UsageStatsIndex.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -93,6 +94,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/field_usage_stats/UsageStatsShards.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/field_usage_stats/UsageStatsShards.java index 60a41bb9d..8c805f6d1 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/field_usage_stats/UsageStatsShards.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/field_usage_stats/UsageStatsShards.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -127,6 +128,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/get_alias/IndexAliases.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/get_alias/IndexAliases.java index b0cd2f8f9..e1860e24a 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/get_alias/IndexAliases.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/get_alias/IndexAliases.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -96,6 +97,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/get_field_mapping/TypeFieldMappings.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/get_field_mapping/TypeFieldMappings.java index 561553d66..daa565905 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/get_field_mapping/TypeFieldMappings.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/get_field_mapping/TypeFieldMappings.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -85,6 +86,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/get_index_template/IndexTemplateItem.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/get_index_template/IndexTemplateItem.java index f0b01533c..98ea0a405 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/get_index_template/IndexTemplateItem.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/get_index_template/IndexTemplateItem.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -99,6 +100,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/get_mapping/IndexMappingRecord.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/get_mapping/IndexMappingRecord.java index d11fb6e1e..dc23f5661 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/get_mapping/IndexMappingRecord.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/get_mapping/IndexMappingRecord.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -102,6 +103,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/modify_data_stream/IndexAndDataStreamAction.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/modify_data_stream/IndexAndDataStreamAction.java index 0651070af..2e4136fb2 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/modify_data_stream/IndexAndDataStreamAction.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/modify_data_stream/IndexAndDataStreamAction.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -106,6 +107,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/put_index_template/IndexTemplateMapping.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/put_index_template/IndexTemplateMapping.java index 144ae1956..d621c2887 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/put_index_template/IndexTemplateMapping.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/put_index_template/IndexTemplateMapping.java @@ -30,6 +30,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -132,6 +133,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/recovery/FileDetails.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/recovery/FileDetails.java index d44f63bbb..1ac97731d 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/recovery/FileDetails.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/recovery/FileDetails.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -111,6 +112,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/recovery/RecoveryBytes.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/recovery/RecoveryBytes.java index 0797c92d7..2dd6af743 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/recovery/RecoveryBytes.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/recovery/RecoveryBytes.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -209,6 +210,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/recovery/RecoveryFiles.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/recovery/RecoveryFiles.java index 77fe6a385..9a930aa5f 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/recovery/RecoveryFiles.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/recovery/RecoveryFiles.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -146,6 +147,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/recovery/RecoveryIndexStatus.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/recovery/RecoveryIndexStatus.java index c45d49915..3792d0586 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/recovery/RecoveryIndexStatus.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/recovery/RecoveryIndexStatus.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -206,6 +207,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/recovery/RecoveryOrigin.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/recovery/RecoveryOrigin.java index 32adb1f63..14478adb9 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/recovery/RecoveryOrigin.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/recovery/RecoveryOrigin.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -277,6 +278,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/recovery/RecoveryStartStatus.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/recovery/RecoveryStartStatus.java index 708768ec6..51adbc49a 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/recovery/RecoveryStartStatus.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/recovery/RecoveryStartStatus.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -99,6 +100,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/recovery/RecoveryStatus.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/recovery/RecoveryStatus.java index 03a355120..60c517500 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/recovery/RecoveryStatus.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/recovery/RecoveryStatus.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -93,6 +94,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/recovery/ShardRecovery.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/recovery/ShardRecovery.java index 5bdb83c56..28cc83c15 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/recovery/ShardRecovery.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/recovery/ShardRecovery.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -293,6 +294,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/recovery/TranslogStatus.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/recovery/TranslogStatus.java index 4dd7469e3..5c7ba2d17 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/recovery/TranslogStatus.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/recovery/TranslogStatus.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -156,6 +157,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/recovery/VerifyIndex.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/recovery/VerifyIndex.java index 3ff044fe7..81039ed68 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/recovery/VerifyIndex.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/recovery/VerifyIndex.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -132,6 +133,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/reload_search_analyzers/ReloadDetails.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/reload_search_analyzers/ReloadDetails.java index 94be81047..7ad011b01 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/reload_search_analyzers/ReloadDetails.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/reload_search_analyzers/ReloadDetails.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -128,6 +129,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/resolve_index/ResolveIndexAliasItem.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/resolve_index/ResolveIndexAliasItem.java index 51b88f3df..99cca4d6d 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/resolve_index/ResolveIndexAliasItem.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/resolve_index/ResolveIndexAliasItem.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -107,6 +108,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/resolve_index/ResolveIndexDataStreamsItem.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/resolve_index/ResolveIndexDataStreamsItem.java index 77f06848e..5cb3e31e4 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/resolve_index/ResolveIndexDataStreamsItem.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/resolve_index/ResolveIndexDataStreamsItem.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -120,6 +121,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/resolve_index/ResolveIndexItem.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/resolve_index/ResolveIndexItem.java index 6c6fd7e00..58e0008d2 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/resolve_index/ResolveIndexItem.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/resolve_index/ResolveIndexItem.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -144,6 +145,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/rollover/RolloverConditions.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/rollover/RolloverConditions.java index 3638b116e..17571494d 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/rollover/RolloverConditions.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/rollover/RolloverConditions.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.DateTime; @@ -193,6 +194,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/segments/IndexSegment.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/segments/IndexSegment.java index 1a3b4797e..86bfbeb90 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/segments/IndexSegment.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/segments/IndexSegment.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -103,6 +104,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/segments/Segment.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/segments/Segment.java index c1deb8a44..26f8909ea 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/segments/Segment.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/segments/Segment.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -214,6 +215,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/segments/ShardSegmentRouting.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/segments/ShardSegmentRouting.java index 696cabe84..38906c2c3 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/segments/ShardSegmentRouting.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/segments/ShardSegmentRouting.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -112,6 +113,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/segments/ShardsSegment.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/segments/ShardsSegment.java index 36bfdefda..5ac897013 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/segments/ShardsSegment.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/segments/ShardsSegment.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -136,6 +137,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/shard_stores/IndicesShardStores.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/shard_stores/IndicesShardStores.java index 5042299fc..55c4fd078 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/shard_stores/IndicesShardStores.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/shard_stores/IndicesShardStores.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -95,6 +96,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/shard_stores/ShardStore.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/shard_stores/ShardStore.java index c4a8966a3..55038e245 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/shard_stores/ShardStore.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/shard_stores/ShardStore.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -186,6 +187,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/shard_stores/ShardStoreException.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/shard_stores/ShardStoreException.java index 961ced71d..abda06fdb 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/shard_stores/ShardStoreException.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/shard_stores/ShardStoreException.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -98,6 +99,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/shard_stores/ShardStoreWrapper.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/shard_stores/ShardStoreWrapper.java index 7b9917f92..fb091e0a2 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/shard_stores/ShardStoreWrapper.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/shard_stores/ShardStoreWrapper.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -93,6 +94,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/simulate_template/Overlapping.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/simulate_template/Overlapping.java index 2f57b20c8..552939e06 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/simulate_template/Overlapping.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/simulate_template/Overlapping.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -107,6 +108,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/simulate_template/Template.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/simulate_template/Template.java index 004bf4aa3..57c4ebd16 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/simulate_template/Template.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/simulate_template/Template.java @@ -30,6 +30,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -123,6 +124,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/stats/IndexStats.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/stats/IndexStats.java index 566310d0f..e832ae6c3 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/stats/IndexStats.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/stats/IndexStats.java @@ -44,6 +44,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -448,6 +449,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/stats/IndicesStats.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/stats/IndicesStats.java index e65fd5dc6..b5be907de 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/stats/IndicesStats.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/stats/IndicesStats.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -186,6 +187,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/stats/ShardCommit.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/stats/ShardCommit.java index c1580e5c1..a1fdccfeb 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/stats/ShardCommit.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/stats/ShardCommit.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -135,6 +136,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/stats/ShardFileSizeInfo.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/stats/ShardFileSizeInfo.java index 0c63e6e0e..784a5ebea 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/stats/ShardFileSizeInfo.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/stats/ShardFileSizeInfo.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -168,6 +169,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/stats/ShardLease.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/stats/ShardLease.java index eb7d3209e..eabde8728 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/stats/ShardLease.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/stats/ShardLease.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -124,6 +125,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/stats/ShardPath.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/stats/ShardPath.java index e99f79fe0..2a0e90c12 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/stats/ShardPath.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/stats/ShardPath.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -111,6 +112,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/stats/ShardQueryCache.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/stats/ShardQueryCache.java index 4b3fef589..d508850fe 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/stats/ShardQueryCache.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/stats/ShardQueryCache.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -162,6 +163,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/stats/ShardRetentionLeases.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/stats/ShardRetentionLeases.java index ac08cd42d..a4305a398 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/stats/ShardRetentionLeases.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/stats/ShardRetentionLeases.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -120,6 +121,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/stats/ShardRouting.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/stats/ShardRouting.java index 1fd376ee3..5f5c28941 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/stats/ShardRouting.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/stats/ShardRouting.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -128,6 +129,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/stats/ShardSequenceNumber.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/stats/ShardSequenceNumber.java index d881856b0..fe0c0855b 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/stats/ShardSequenceNumber.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/stats/ShardSequenceNumber.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -110,6 +111,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/stats/ShardStats.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/stats/ShardStats.java index 598af50fb..194f604fd 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/stats/ShardStats.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/stats/ShardStats.java @@ -43,6 +43,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -511,6 +512,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/stats/ShardsTotalStats.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/stats/ShardsTotalStats.java index 92905e038..97e186de2 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/stats/ShardsTotalStats.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/stats/ShardsTotalStats.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -84,6 +85,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/update_aliases/AddAction.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/update_aliases/AddAction.java index 0c99a9110..9f0db7d38 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/update_aliases/AddAction.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/update_aliases/AddAction.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -277,6 +278,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/update_aliases/RemoveAction.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/update_aliases/RemoveAction.java index dca97ba98..7c529693a 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/update_aliases/RemoveAction.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/update_aliases/RemoveAction.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -174,6 +175,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/update_aliases/RemoveIndexAction.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/update_aliases/RemoveIndexAction.java index 1455da197..3ccc22809 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/update_aliases/RemoveIndexAction.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/update_aliases/RemoveIndexAction.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -137,6 +138,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/validate_query/IndicesValidationExplanation.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/validate_query/IndicesValidationExplanation.java index 24ef50d06..733c64e78 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/validate_query/IndicesValidationExplanation.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/indices/validate_query/IndicesValidationExplanation.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -133,6 +134,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ingest/GeoIpStatsResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ingest/GeoIpStatsResponse.java index b259b2f2c..0b9b5f164 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ingest/GeoIpStatsResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ingest/GeoIpStatsResponse.java @@ -29,6 +29,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -113,6 +114,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ingest/GetPipelineResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ingest/GetPipelineResponse.java index 0032d650d..8ae768d84 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ingest/GetPipelineResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ingest/GetPipelineResponse.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -92,6 +93,11 @@ public void serialize(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ingest/InferenceConfigClassification.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ingest/InferenceConfigClassification.java index b09444f51..02347a2a9 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ingest/InferenceConfigClassification.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ingest/InferenceConfigClassification.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -166,6 +167,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ingest/InferenceConfigRegression.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ingest/InferenceConfigRegression.java index 373e3ccf4..cc616d2e8 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ingest/InferenceConfigRegression.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ingest/InferenceConfigRegression.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -115,6 +116,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ingest/Pipeline.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ingest/Pipeline.java index c51cd3aad..36757dec1 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ingest/Pipeline.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ingest/Pipeline.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -148,6 +149,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ingest/ProcessorBase.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ingest/ProcessorBase.java index adac2873c..fe7ae1960 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ingest/ProcessorBase.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ingest/ProcessorBase.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -141,6 +142,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + protected abstract static class AbstractBuilder> extends WithJsonObjectBuilderBase { diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ingest/ProcessorGrokResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ingest/ProcessorGrokResponse.java index 9458d34f5..e7ae3cdf9 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ingest/ProcessorGrokResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ingest/ProcessorGrokResponse.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -94,6 +95,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ingest/SimulateResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ingest/SimulateResponse.java index 18ea5bd42..f76bc209f 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ingest/SimulateResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ingest/SimulateResponse.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -93,6 +94,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ingest/geo_ip_stats/GeoIpDownloadStatistics.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ingest/geo_ip_stats/GeoIpDownloadStatistics.java index 33a93084f..4ede8ebfa 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ingest/geo_ip_stats/GeoIpDownloadStatistics.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ingest/geo_ip_stats/GeoIpDownloadStatistics.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -147,6 +148,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ingest/geo_ip_stats/GeoIpNodeDatabaseName.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ingest/geo_ip_stats/GeoIpNodeDatabaseName.java index 86011ab49..9f4f58795 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ingest/geo_ip_stats/GeoIpNodeDatabaseName.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ingest/geo_ip_stats/GeoIpNodeDatabaseName.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -87,6 +88,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ingest/geo_ip_stats/GeoIpNodeDatabases.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ingest/geo_ip_stats/GeoIpNodeDatabases.java index e42e26403..5b1df94bd 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ingest/geo_ip_stats/GeoIpNodeDatabases.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ingest/geo_ip_stats/GeoIpNodeDatabases.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -121,6 +122,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ingest/simulate/Document.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ingest/simulate/Document.java index 7daa271b2..53a8ecab9 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ingest/simulate/Document.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ingest/simulate/Document.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -119,6 +120,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ingest/simulate/DocumentSimulation.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ingest/simulate/DocumentSimulation.java index 869b92015..9ebb37583 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ingest/simulate/DocumentSimulation.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ingest/simulate/DocumentSimulation.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -169,6 +170,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ingest/simulate/Ingest.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ingest/simulate/Ingest.java index c3636b2b9..b9388a54b 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ingest/simulate/Ingest.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ingest/simulate/Ingest.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -102,6 +103,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ingest/simulate/PipelineSimulation.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ingest/simulate/PipelineSimulation.java index 32e417846..5f85fa7d2 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ingest/simulate/PipelineSimulation.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ingest/simulate/PipelineSimulation.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -162,6 +163,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/license/GetBasicStatusResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/license/GetBasicStatusResponse.java index e96732135..36ddefa17 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/license/GetBasicStatusResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/license/GetBasicStatusResponse.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -85,6 +86,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/license/GetLicenseResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/license/GetLicenseResponse.java index 4be0aa915..af0a4d5cf 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/license/GetLicenseResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/license/GetLicenseResponse.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -84,6 +85,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/license/GetTrialStatusResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/license/GetTrialStatusResponse.java index 584f4544f..57ae38364 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/license/GetTrialStatusResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/license/GetTrialStatusResponse.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -85,6 +86,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/license/License.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/license/License.java index 14e5f9437..8e3b35c51 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/license/License.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/license/License.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -211,6 +212,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/license/PostResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/license/PostResponse.java index f4cb0fe99..5cbfc9816 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/license/PostResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/license/PostResponse.java @@ -29,6 +29,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -116,6 +117,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/license/PostStartBasicResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/license/PostStartBasicResponse.java index cef4db701..173352d33 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/license/PostStartBasicResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/license/PostStartBasicResponse.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -164,6 +165,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/license/PostStartTrialResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/license/PostStartTrialResponse.java index 0700bd895..1b5a1e9aa 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/license/PostStartTrialResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/license/PostStartTrialResponse.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -134,6 +135,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/license/get/LicenseInformation.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/license/get/LicenseInformation.java index d7c4fc2ec..0be381f16 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/license/get/LicenseInformation.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/license/get/LicenseInformation.java @@ -241,6 +241,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/license/post/Acknowledgement.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/license/post/Acknowledgement.java index 44e0a7ec3..0d4ba186c 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/license/post/Acknowledgement.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/license/post/Acknowledgement.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -105,6 +106,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/logstash/GetPipelineResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/logstash/GetPipelineResponse.java index 95276d579..18795c394 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/logstash/GetPipelineResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/logstash/GetPipelineResponse.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -92,6 +93,11 @@ public void serialize(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/logstash/Pipeline.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/logstash/Pipeline.java index cc9280810..47337e403 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/logstash/Pipeline.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/logstash/Pipeline.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -149,6 +150,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/logstash/PipelineMetadata.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/logstash/PipelineMetadata.java index 0a8001cbd..a0ce92750 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/logstash/PipelineMetadata.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/logstash/PipelineMetadata.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -98,6 +99,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/logstash/PipelineSettings.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/logstash/PipelineSettings.java index 79dc281b3..f35a364b4 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/logstash/PipelineSettings.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/logstash/PipelineSettings.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -166,6 +167,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/migration/DeprecationsResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/migration/DeprecationsResponse.java index 9b4c3497d..e8e0d7cd3 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/migration/DeprecationsResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/migration/DeprecationsResponse.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -163,6 +164,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/migration/GetFeatureUpgradeStatusResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/migration/GetFeatureUpgradeStatusResponse.java index 8389f254e..1e4452aad 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/migration/GetFeatureUpgradeStatusResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/migration/GetFeatureUpgradeStatusResponse.java @@ -29,6 +29,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -108,6 +109,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/migration/PostFeatureUpgradeResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/migration/PostFeatureUpgradeResponse.java index 9d595fa4f..b80a33760 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/migration/PostFeatureUpgradeResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/migration/PostFeatureUpgradeResponse.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -108,6 +109,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/migration/deprecations/Deprecation.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/migration/deprecations/Deprecation.java index 8c861ce84..983feb751 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/migration/deprecations/Deprecation.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/migration/deprecations/Deprecation.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -125,6 +126,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/migration/get_feature_upgrade_status/MigrationFeature.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/migration/get_feature_upgrade_status/MigrationFeature.java index 5dac538b9..16da42123 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/migration/get_feature_upgrade_status/MigrationFeature.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/migration/get_feature_upgrade_status/MigrationFeature.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -133,6 +134,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/migration/get_feature_upgrade_status/MigrationFeatureIndexInfo.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/migration/get_feature_upgrade_status/MigrationFeatureIndexInfo.java index fca226332..959904bb5 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/migration/get_feature_upgrade_status/MigrationFeatureIndexInfo.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/migration/get_feature_upgrade_status/MigrationFeatureIndexInfo.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -117,6 +118,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/migration/post_feature_upgrade/MigrationFeature.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/migration/post_feature_upgrade/MigrationFeature.java index cae867394..69a10ccda 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/migration/post_feature_upgrade/MigrationFeature.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/migration/post_feature_upgrade/MigrationFeature.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -85,6 +86,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/AnalysisConfig.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/AnalysisConfig.java index da6812c27..2d473d975 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/AnalysisConfig.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/AnalysisConfig.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -351,6 +352,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/AnalysisConfigRead.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/AnalysisConfigRead.java index b346b2938..428ab6f07 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/AnalysisConfigRead.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/AnalysisConfigRead.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -351,6 +352,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/AnalysisLimits.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/AnalysisLimits.java index 8d03efccc..17c75dce3 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/AnalysisLimits.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/AnalysisLimits.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -131,6 +132,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/AnalysisMemoryLimit.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/AnalysisMemoryLimit.java index 13ac457df..3ca38d5ea 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/AnalysisMemoryLimit.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/AnalysisMemoryLimit.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -89,6 +90,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/Anomaly.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/Anomaly.java index 0695418c5..4581370a2 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/Anomaly.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/Anomaly.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -427,6 +428,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/AnomalyCause.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/AnomalyCause.java index 9e1608e76..ec6e1c88c 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/AnomalyCause.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/AnomalyCause.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -280,6 +281,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/BucketInfluencer.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/BucketInfluencer.java index d064f7530..f9860ada6 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/BucketInfluencer.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/BucketInfluencer.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -236,6 +237,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/BucketSummary.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/BucketSummary.java index c99a76ac4..f9ef85f1c 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/BucketSummary.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/BucketSummary.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -243,6 +244,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/CalendarEvent.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/CalendarEvent.java index 0bb929d49..e57b4fb2a 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/CalendarEvent.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/CalendarEvent.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -154,6 +155,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/CategorizationAnalyzerDefinition.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/CategorizationAnalyzerDefinition.java index 47a6b69d4..663a77eac 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/CategorizationAnalyzerDefinition.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/CategorizationAnalyzerDefinition.java @@ -30,6 +30,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -161,6 +162,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/Category.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/Category.java index 5ff77c586..02c4f1b53 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/Category.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/Category.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -329,6 +330,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/ChunkingConfig.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/ChunkingConfig.java index 61e317816..d093c0b29 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/ChunkingConfig.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/ChunkingConfig.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -111,6 +112,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/ClassificationInferenceOptions.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/ClassificationInferenceOptions.java index 3a477ef9d..1a949a9c7 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/ClassificationInferenceOptions.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/ClassificationInferenceOptions.java @@ -29,6 +29,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -195,6 +196,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/CloseJobResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/CloseJobResponse.java index c6bfec37e..9c00d49bd 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/CloseJobResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/CloseJobResponse.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -83,6 +84,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DataCounts.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DataCounts.java index bd1854e4a..810fedc0f 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DataCounts.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DataCounts.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -350,6 +351,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DataDescription.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DataDescription.java index f1bdeba1c..d513bfb8e 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DataDescription.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DataDescription.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -154,6 +155,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/Datafeed.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/Datafeed.java index 15c28f822..11e53469a 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/Datafeed.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/Datafeed.java @@ -32,6 +32,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -344,6 +345,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DatafeedConfig.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DatafeedConfig.java index ed897d3dd..833ef4146 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DatafeedConfig.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DatafeedConfig.java @@ -32,6 +32,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -422,6 +423,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DatafeedRunningState.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DatafeedRunningState.java index a03d75eac..7c9c55436 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DatafeedRunningState.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DatafeedRunningState.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -115,6 +116,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DatafeedStats.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DatafeedStats.java index 5013adee8..0dd221cab 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DatafeedStats.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DatafeedStats.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -161,6 +162,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DatafeedTimingStats.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DatafeedTimingStats.java index 31c6e9085..14a1d55a7 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DatafeedTimingStats.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DatafeedTimingStats.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -158,6 +159,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DataframeAnalysisAnalyzedFields.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DataframeAnalysisAnalyzedFields.java index e54cb08b7..cd147d7d9 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DataframeAnalysisAnalyzedFields.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DataframeAnalysisAnalyzedFields.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -122,6 +123,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DataframeAnalysisBase.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DataframeAnalysisBase.java index 40ca0ef92..18126bc64 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DataframeAnalysisBase.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DataframeAnalysisBase.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -493,6 +494,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + protected abstract static class AbstractBuilder> extends WithJsonObjectBuilderBase { diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DataframeAnalysisFeatureProcessorFrequencyEncoding.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DataframeAnalysisFeatureProcessorFrequencyEncoding.java index e9fe7a0ff..bea47313b 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DataframeAnalysisFeatureProcessorFrequencyEncoding.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DataframeAnalysisFeatureProcessorFrequencyEncoding.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -139,6 +140,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DataframeAnalysisFeatureProcessorMultiEncoding.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DataframeAnalysisFeatureProcessorMultiEncoding.java index 748f91481..665f564fb 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DataframeAnalysisFeatureProcessorMultiEncoding.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DataframeAnalysisFeatureProcessorMultiEncoding.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -109,6 +110,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DataframeAnalysisFeatureProcessorNGramEncoding.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DataframeAnalysisFeatureProcessorNGramEncoding.java index d036bda4d..d8a656fdc 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DataframeAnalysisFeatureProcessorNGramEncoding.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DataframeAnalysisFeatureProcessorNGramEncoding.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -202,6 +203,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DataframeAnalysisFeatureProcessorOneHotEncoding.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DataframeAnalysisFeatureProcessorOneHotEncoding.java index fcd99e0ef..175e6cbe5 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DataframeAnalysisFeatureProcessorOneHotEncoding.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DataframeAnalysisFeatureProcessorOneHotEncoding.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -114,6 +115,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DataframeAnalysisFeatureProcessorTargetMeanEncoding.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DataframeAnalysisFeatureProcessorTargetMeanEncoding.java index 1ae8bf190..bf15b20dd 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DataframeAnalysisFeatureProcessorTargetMeanEncoding.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DataframeAnalysisFeatureProcessorTargetMeanEncoding.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -156,6 +157,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DataframeAnalysisOutlierDetection.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DataframeAnalysisOutlierDetection.java index 6dadcd127..a36ba0fb3 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DataframeAnalysisOutlierDetection.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DataframeAnalysisOutlierDetection.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -211,6 +212,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DataframeAnalytics.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DataframeAnalytics.java index bbe76a43b..d44cd2e9a 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DataframeAnalytics.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DataframeAnalytics.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -217,6 +218,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DataframeAnalyticsDestination.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DataframeAnalyticsDestination.java index 01f149bad..f850d2c9b 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DataframeAnalyticsDestination.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DataframeAnalyticsDestination.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -109,6 +110,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DataframeAnalyticsFieldSelection.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DataframeAnalyticsFieldSelection.java index 9f287a979..75a420a11 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DataframeAnalyticsFieldSelection.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DataframeAnalyticsFieldSelection.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -182,6 +183,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DataframeAnalyticsMemoryEstimation.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DataframeAnalyticsMemoryEstimation.java index 95ab115e4..2da515d81 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DataframeAnalyticsMemoryEstimation.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DataframeAnalyticsMemoryEstimation.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -109,6 +110,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DataframeAnalyticsSource.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DataframeAnalyticsSource.java index 71c3b4cd4..a8a5cee34 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DataframeAnalyticsSource.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DataframeAnalyticsSource.java @@ -29,6 +29,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -177,6 +178,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DataframeAnalyticsStatsDataCounts.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DataframeAnalyticsStatsDataCounts.java index 993091f46..ca04025ab 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DataframeAnalyticsStatsDataCounts.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DataframeAnalyticsStatsDataCounts.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -122,6 +123,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DataframeAnalyticsStatsHyperparameters.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DataframeAnalyticsStatsHyperparameters.java index 99bee7bab..65ab67615 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DataframeAnalyticsStatsHyperparameters.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DataframeAnalyticsStatsHyperparameters.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -148,6 +149,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DataframeAnalyticsStatsMemoryUsage.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DataframeAnalyticsStatsMemoryUsage.java index 3fec91647..46622de70 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DataframeAnalyticsStatsMemoryUsage.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DataframeAnalyticsStatsMemoryUsage.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -144,6 +145,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DataframeAnalyticsStatsOutlierDetection.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DataframeAnalyticsStatsOutlierDetection.java index a641bdaff..cc5a40324 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DataframeAnalyticsStatsOutlierDetection.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DataframeAnalyticsStatsOutlierDetection.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -119,6 +120,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DataframeAnalyticsStatsProgress.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DataframeAnalyticsStatsProgress.java index df56140aa..15e92f6ac 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DataframeAnalyticsStatsProgress.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DataframeAnalyticsStatsProgress.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -105,6 +106,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DataframeAnalyticsSummary.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DataframeAnalyticsSummary.java index 81dec95e0..0f460d83e 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DataframeAnalyticsSummary.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DataframeAnalyticsSummary.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -247,6 +248,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DataframeEvaluationClassification.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DataframeEvaluationClassification.java index 93800c2ce..5b0b2f04a 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DataframeEvaluationClassification.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DataframeEvaluationClassification.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -159,6 +160,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DataframeEvaluationClassificationMetricsAucRoc.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DataframeEvaluationClassificationMetricsAucRoc.java index f1a3e8539..cb3f281cf 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DataframeEvaluationClassificationMetricsAucRoc.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DataframeEvaluationClassificationMetricsAucRoc.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -116,6 +117,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DataframeEvaluationMetrics.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DataframeEvaluationMetrics.java index 7d8452533..e75a69430 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DataframeEvaluationMetrics.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DataframeEvaluationMetrics.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -138,6 +139,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + protected abstract static class AbstractBuilder> extends WithJsonObjectBuilderBase { diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DataframeEvaluationOutlierDetection.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DataframeEvaluationOutlierDetection.java index 554297843..a98eb3cc4 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DataframeEvaluationOutlierDetection.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DataframeEvaluationOutlierDetection.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -136,6 +137,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DataframeEvaluationRegression.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DataframeEvaluationRegression.java index 7521ba61e..3506ece3d 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DataframeEvaluationRegression.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DataframeEvaluationRegression.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -134,6 +135,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DataframeEvaluationRegressionMetrics.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DataframeEvaluationRegressionMetrics.java index 4102b4922..4e3811b9f 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DataframeEvaluationRegressionMetrics.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DataframeEvaluationRegressionMetrics.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -163,6 +164,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DataframeEvaluationRegressionMetricsHuber.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DataframeEvaluationRegressionMetricsHuber.java index 7f1af2b3d..89c325e17 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DataframeEvaluationRegressionMetricsHuber.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DataframeEvaluationRegressionMetricsHuber.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -94,6 +95,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DataframeEvaluationRegressionMetricsMsle.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DataframeEvaluationRegressionMetricsMsle.java index ee960bea1..2ac5d714a 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DataframeEvaluationRegressionMetricsMsle.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DataframeEvaluationRegressionMetricsMsle.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -93,6 +94,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DelayedDataCheckConfig.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DelayedDataCheckConfig.java index b0718a952..6b53e40d6 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DelayedDataCheckConfig.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DelayedDataCheckConfig.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -113,6 +114,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DeleteCalendarJobResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DeleteCalendarJobResponse.java index 12d3aa1e5..0045cfeef 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DeleteCalendarJobResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DeleteCalendarJobResponse.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -129,6 +130,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DeleteExpiredDataResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DeleteExpiredDataResponse.java index ba0ca7d0f..ae64700d1 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DeleteExpiredDataResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DeleteExpiredDataResponse.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -83,6 +84,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DetectionRule.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DetectionRule.java index e0231d144..aacbdab8c 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DetectionRule.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DetectionRule.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -147,6 +148,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/Detector.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/Detector.java index 0a2b75882..d04fbbf91 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/Detector.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/Detector.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -281,6 +282,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DetectorRead.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DetectorRead.java index fb599e588..7f2c24f81 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DetectorRead.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DetectorRead.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -281,6 +282,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DiscoveryNode.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DiscoveryNode.java index 5419a29e6..56bc9c909 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DiscoveryNode.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/DiscoveryNode.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -145,6 +146,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/EstimateModelMemoryResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/EstimateModelMemoryResponse.java index 4e16da586..fd84000d8 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/EstimateModelMemoryResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/EstimateModelMemoryResponse.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -86,6 +87,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/EvaluateDataFrameResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/EvaluateDataFrameResponse.java index fe95839a1..e0dce30ea 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/EvaluateDataFrameResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/EvaluateDataFrameResponse.java @@ -30,6 +30,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -124,6 +125,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/ExplainDataFrameAnalyticsResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/ExplainDataFrameAnalyticsResponse.java index 46219b7ef..cb94eca5c 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/ExplainDataFrameAnalyticsResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/ExplainDataFrameAnalyticsResponse.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -112,6 +113,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/FillMaskInferenceOptions.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/FillMaskInferenceOptions.java index 8e8adc499..aa2cb3011 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/FillMaskInferenceOptions.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/FillMaskInferenceOptions.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -140,6 +141,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/FillMaskInferenceUpdateOptions.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/FillMaskInferenceUpdateOptions.java index 83e098c75..1d1c63db4 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/FillMaskInferenceUpdateOptions.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/FillMaskInferenceUpdateOptions.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -140,6 +141,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/Filter.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/Filter.java index ebffa522c..f6acee868 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/Filter.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/Filter.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -129,6 +130,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/FilterRef.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/FilterRef.java index 46b2e9a8a..6fec951a1 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/FilterRef.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/FilterRef.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -106,6 +107,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/FlushJobResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/FlushJobResponse.java index 340bd7aab..4e94a2d2a 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/FlushJobResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/FlushJobResponse.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -106,6 +107,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/ForecastResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/ForecastResponse.java index fcbd5b927..07655c23f 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/ForecastResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/ForecastResponse.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -99,6 +100,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/GetBucketsResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/GetBucketsResponse.java index 7b6099c98..721872acb 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/GetBucketsResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/GetBucketsResponse.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -105,6 +106,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/GetCalendarEventsResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/GetCalendarEventsResponse.java index 462c0d9c2..1bb20118d 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/GetCalendarEventsResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/GetCalendarEventsResponse.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -106,6 +107,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/GetCalendarsResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/GetCalendarsResponse.java index 1ef27fbf0..6737caeac 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/GetCalendarsResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/GetCalendarsResponse.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -106,6 +107,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/GetCategoriesResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/GetCategoriesResponse.java index 5f981130d..d885cc00a 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/GetCategoriesResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/GetCategoriesResponse.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -105,6 +106,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/GetDataFrameAnalyticsResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/GetDataFrameAnalyticsResponse.java index a458b27b8..d9e7baacb 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/GetDataFrameAnalyticsResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/GetDataFrameAnalyticsResponse.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -111,6 +112,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/GetDataFrameAnalyticsStatsResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/GetDataFrameAnalyticsStatsResponse.java index 9e537b292..a34614a32 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/GetDataFrameAnalyticsStatsResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/GetDataFrameAnalyticsStatsResponse.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -112,6 +113,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/GetDatafeedStatsResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/GetDatafeedStatsResponse.java index 053ba1869..7dbc8ae18 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/GetDatafeedStatsResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/GetDatafeedStatsResponse.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -106,6 +107,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/GetDatafeedsResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/GetDatafeedsResponse.java index 57ca6511d..926b71f35 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/GetDatafeedsResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/GetDatafeedsResponse.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -106,6 +107,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/GetFiltersResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/GetFiltersResponse.java index 8ed8c8556..4ad63febb 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/GetFiltersResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/GetFiltersResponse.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -106,6 +107,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/GetInfluencersResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/GetInfluencersResponse.java index d621a4240..1cd5edbfc 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/GetInfluencersResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/GetInfluencersResponse.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -108,6 +109,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/GetJobStatsResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/GetJobStatsResponse.java index de90fc60a..1edd0d26d 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/GetJobStatsResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/GetJobStatsResponse.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -106,6 +107,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/GetJobsResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/GetJobsResponse.java index c36aae984..7ac246804 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/GetJobsResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/GetJobsResponse.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -106,6 +107,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/GetMemoryStatsResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/GetMemoryStatsResponse.java index 8ca62a4d4..0bfae6f43 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/GetMemoryStatsResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/GetMemoryStatsResponse.java @@ -29,6 +29,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -122,6 +123,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/GetModelSnapshotsResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/GetModelSnapshotsResponse.java index d647125a6..29173e5b4 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/GetModelSnapshotsResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/GetModelSnapshotsResponse.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -106,6 +107,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/GetOverallBucketsResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/GetOverallBucketsResponse.java index 5d913beae..98b05cee0 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/GetOverallBucketsResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/GetOverallBucketsResponse.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -108,6 +109,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/GetRecordsResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/GetRecordsResponse.java index d5a4dab14..357cc6a34 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/GetRecordsResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/GetRecordsResponse.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -106,6 +107,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/GetTrainedModelsResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/GetTrainedModelsResponse.java index e5a7209c7..e79d26ed4 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/GetTrainedModelsResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/GetTrainedModelsResponse.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -110,6 +111,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/GetTrainedModelsStatsResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/GetTrainedModelsStatsResponse.java index d1b44eb5e..431b5502c 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/GetTrainedModelsStatsResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/GetTrainedModelsStatsResponse.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -116,6 +117,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/Hyperparameter.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/Hyperparameter.java index 597463148..4230e45ce 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/Hyperparameter.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/Hyperparameter.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -163,6 +164,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/Hyperparameters.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/Hyperparameters.java index 20d8ffbec..be8f6f0bb 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/Hyperparameters.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/Hyperparameters.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -310,6 +311,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/InferTrainedModelDeploymentResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/InferTrainedModelDeploymentResponse.java index c9d52075f..3324f241a 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/InferTrainedModelDeploymentResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/InferTrainedModelDeploymentResponse.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -227,6 +228,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/Influence.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/Influence.java index 045f67ff3..f855bc0de 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/Influence.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/Influence.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -108,6 +109,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/Influencer.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/Influencer.java index 389102e52..77f76965e 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/Influencer.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/Influencer.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -263,6 +264,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/Job.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/Job.java index f7473eaa8..297f16319 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/Job.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/Job.java @@ -29,6 +29,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -448,6 +449,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/JobBlocked.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/JobBlocked.java index c8fdd6fe9..613f5815f 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/JobBlocked.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/JobBlocked.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -101,6 +102,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/JobConfig.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/JobConfig.java index 61c85af39..285e5343e 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/JobConfig.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/JobConfig.java @@ -29,6 +29,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -361,6 +362,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/JobForecastStatistics.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/JobForecastStatistics.java index 8e4a0bd6c..b763ee3dd 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/JobForecastStatistics.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/JobForecastStatistics.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -172,6 +173,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/JobStatistics.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/JobStatistics.java index d2c2af315..90bddac95 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/JobStatistics.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/JobStatistics.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -122,6 +123,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/JobStats.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/JobStats.java index aca6f02b3..454890856 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/JobStats.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/JobStats.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -218,6 +219,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/JobTimingStats.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/JobTimingStats.java index ebc5b6f0e..54d62447c 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/JobTimingStats.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/JobTimingStats.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -198,6 +199,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/MlInfoResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/MlInfoResponse.java index f58b006fb..6609267ea 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/MlInfoResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/MlInfoResponse.java @@ -30,6 +30,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -126,6 +127,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/ModelPlotConfig.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/ModelPlotConfig.java index 9d94ed660..dbce142f5 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/ModelPlotConfig.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/ModelPlotConfig.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -134,6 +135,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/ModelSizeStats.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/ModelSizeStats.java index b22a6aa6e..2848a823b 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/ModelSizeStats.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/ModelSizeStats.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -373,6 +374,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/ModelSnapshot.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/ModelSnapshot.java index 9cccead03..34b762bb1 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/ModelSnapshot.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/ModelSnapshot.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -245,6 +246,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/NerInferenceOptions.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/NerInferenceOptions.java index a1481214f..59f1b2bde 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/NerInferenceOptions.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/NerInferenceOptions.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -143,6 +144,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/NerInferenceUpdateOptions.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/NerInferenceUpdateOptions.java index d4127ab4d..1983d8909 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/NerInferenceUpdateOptions.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/NerInferenceUpdateOptions.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -119,6 +120,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/NlpBertTokenizationConfig.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/NlpBertTokenizationConfig.java index 07cd1ed6b..b7b516249 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/NlpBertTokenizationConfig.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/NlpBertTokenizationConfig.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -178,6 +179,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/NlpRobertaTokenizationConfig.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/NlpRobertaTokenizationConfig.java index ddfea3d7f..9c40f7a79 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/NlpRobertaTokenizationConfig.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/NlpRobertaTokenizationConfig.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -178,6 +179,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/NlpTokenizationUpdateOptions.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/NlpTokenizationUpdateOptions.java index 219c08556..25de6d1dd 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/NlpTokenizationUpdateOptions.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/NlpTokenizationUpdateOptions.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -109,6 +110,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/OpenJobResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/OpenJobResponse.java index 1b85f7a95..b103b2d7f 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/OpenJobResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/OpenJobResponse.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -83,6 +84,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/OutlierDetectionParameters.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/OutlierDetectionParameters.java index 3031c6092..d92a45e22 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/OutlierDetectionParameters.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/OutlierDetectionParameters.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -177,6 +178,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/OverallBucket.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/OverallBucket.java index ef3a3ddc0..c954420dc 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/OverallBucket.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/OverallBucket.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -176,6 +177,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/OverallBucketJob.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/OverallBucketJob.java index 898ae9409..213f868da 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/OverallBucketJob.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/OverallBucketJob.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -98,6 +99,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/Page.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/Page.java index 1659249c1..301993485 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/Page.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/Page.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -109,6 +110,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/PassThroughInferenceOptions.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/PassThroughInferenceOptions.java index ad96ee5a5..9274cae37 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/PassThroughInferenceOptions.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/PassThroughInferenceOptions.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -120,6 +121,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/PassThroughInferenceUpdateOptions.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/PassThroughInferenceUpdateOptions.java index e9b68c744..d1b0b1d97 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/PassThroughInferenceUpdateOptions.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/PassThroughInferenceUpdateOptions.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -120,6 +121,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/PerPartitionCategorization.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/PerPartitionCategorization.java index 8e5b8d2e8..a5e26b025 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/PerPartitionCategorization.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/PerPartitionCategorization.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -118,6 +119,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/PostCalendarEventsResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/PostCalendarEventsResponse.java index 7408e5f05..fb22e8d4e 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/PostCalendarEventsResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/PostCalendarEventsResponse.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -93,6 +94,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/PostDataResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/PostDataResponse.java index b610e365b..aae776822 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/PostDataResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/PostDataResponse.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -273,6 +274,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/PreviewDataFrameAnalyticsResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/PreviewDataFrameAnalyticsResponse.java index e4a96c20f..14a5085d5 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/PreviewDataFrameAnalyticsResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/PreviewDataFrameAnalyticsResponse.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -108,6 +109,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/PreviewDatafeedResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/PreviewDatafeedResponse.java index e12115834..1dc8e43af 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/PreviewDatafeedResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/PreviewDatafeedResponse.java @@ -101,6 +101,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/PutCalendarJobResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/PutCalendarJobResponse.java index 73b9eeebc..94fc87d8e 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/PutCalendarJobResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/PutCalendarJobResponse.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -129,6 +130,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/PutCalendarResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/PutCalendarResponse.java index 824359749..734f365a3 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/PutCalendarResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/PutCalendarResponse.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -129,6 +130,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/PutDataFrameAnalyticsResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/PutDataFrameAnalyticsResponse.java index d1ecf7928..993bd08fe 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/PutDataFrameAnalyticsResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/PutDataFrameAnalyticsResponse.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -227,6 +228,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/PutDatafeedResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/PutDatafeedResponse.java index a6dfb236d..593a7a2e8 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/PutDatafeedResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/PutDatafeedResponse.java @@ -33,6 +33,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -308,6 +309,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/PutFilterResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/PutFilterResponse.java index e74113953..f01b46f9e 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/PutFilterResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/PutFilterResponse.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -119,6 +120,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/PutJobResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/PutJobResponse.java index 53f837c2c..842d8149e 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/PutJobResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/PutJobResponse.java @@ -29,6 +29,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -378,6 +379,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/RegressionInferenceOptions.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/RegressionInferenceOptions.java index c8cb5240b..3966e152c 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/RegressionInferenceOptions.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/RegressionInferenceOptions.java @@ -29,6 +29,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -134,6 +135,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/RevertModelSnapshotResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/RevertModelSnapshotResponse.java index 044787f88..30d5e1be5 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/RevertModelSnapshotResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/RevertModelSnapshotResponse.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -84,6 +85,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/RuleCondition.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/RuleCondition.java index 9989e9d60..1d6821a07 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/RuleCondition.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/RuleCondition.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -119,6 +120,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/RunningStateSearchInterval.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/RunningStateSearchInterval.java index d91a541ce..2a9353bdd 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/RunningStateSearchInterval.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/RunningStateSearchInterval.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -97,6 +98,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/StartDataFrameAnalyticsResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/StartDataFrameAnalyticsResponse.java index 1a9563038..586dbeff3 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/StartDataFrameAnalyticsResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/StartDataFrameAnalyticsResponse.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -105,6 +106,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/StartDatafeedResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/StartDatafeedResponse.java index 08d673a10..f8f42a116 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/StartDatafeedResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/StartDatafeedResponse.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -113,6 +114,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/StartTrainedModelDeploymentResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/StartTrainedModelDeploymentResponse.java index 7f57862f5..b427a05c6 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/StartTrainedModelDeploymentResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/StartTrainedModelDeploymentResponse.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -85,6 +86,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/StopDataFrameAnalyticsResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/StopDataFrameAnalyticsResponse.java index 03d51683f..6c7537e07 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/StopDataFrameAnalyticsResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/StopDataFrameAnalyticsResponse.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -85,6 +86,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/StopDatafeedResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/StopDatafeedResponse.java index cd81e0061..569a69b4c 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/StopDatafeedResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/StopDatafeedResponse.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -83,6 +84,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/StopTrainedModelDeploymentResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/StopTrainedModelDeploymentResponse.java index 694ffb8a7..d9935109d 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/StopTrainedModelDeploymentResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/StopTrainedModelDeploymentResponse.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -85,6 +86,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/TextClassificationInferenceOptions.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/TextClassificationInferenceOptions.java index 8f00a50e4..e7eb1bb01 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/TextClassificationInferenceOptions.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/TextClassificationInferenceOptions.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -166,6 +167,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/TextClassificationInferenceUpdateOptions.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/TextClassificationInferenceUpdateOptions.java index c3613eb62..5e80d98fa 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/TextClassificationInferenceUpdateOptions.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/TextClassificationInferenceUpdateOptions.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -165,6 +166,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/TextEmbeddingInferenceOptions.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/TextEmbeddingInferenceOptions.java index 559bc76fd..c2589d835 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/TextEmbeddingInferenceOptions.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/TextEmbeddingInferenceOptions.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -120,6 +121,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/TextEmbeddingInferenceUpdateOptions.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/TextEmbeddingInferenceUpdateOptions.java index f5241d7f2..2c27f17ae 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/TextEmbeddingInferenceUpdateOptions.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/TextEmbeddingInferenceUpdateOptions.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -118,6 +119,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/TimingStats.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/TimingStats.java index 45f1205e1..8c3de97d9 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/TimingStats.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/TimingStats.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -106,6 +107,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/TopClassEntry.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/TopClassEntry.java index c1b107534..ef99fbaa9 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/TopClassEntry.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/TopClassEntry.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -111,6 +112,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/TotalFeatureImportance.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/TotalFeatureImportance.java index 9fd23e7ce..55581485f 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/TotalFeatureImportance.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/TotalFeatureImportance.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -135,6 +136,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/TotalFeatureImportanceClass.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/TotalFeatureImportanceClass.java index 518c888f6..c04c317cf 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/TotalFeatureImportanceClass.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/TotalFeatureImportanceClass.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -112,6 +113,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/TotalFeatureImportanceStatistics.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/TotalFeatureImportanceStatistics.java index eccc28067..b59f318d6 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/TotalFeatureImportanceStatistics.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/TotalFeatureImportanceStatistics.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -122,6 +123,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/TrainedModelAllocation.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/TrainedModelAllocation.java index 2c81ff1a8..b79c15448 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/TrainedModelAllocation.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/TrainedModelAllocation.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -138,6 +139,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/TrainedModelAllocationRoutingTable.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/TrainedModelAllocationRoutingTable.java index 81d1a09e5..5de55e0e6 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/TrainedModelAllocationRoutingTable.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/TrainedModelAllocationRoutingTable.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -104,6 +105,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/TrainedModelAllocationTaskParameters.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/TrainedModelAllocationTaskParameters.java index dabeb0b0f..6593fe2ab 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/TrainedModelAllocationTaskParameters.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/TrainedModelAllocationTaskParameters.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -104,6 +105,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/TrainedModelConfig.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/TrainedModelConfig.java index ca9dd3663..b5a03ccd3 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/TrainedModelConfig.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/TrainedModelConfig.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -391,6 +392,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/TrainedModelConfigInput.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/TrainedModelConfigInput.java index 3f51fbe4d..8fddbab57 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/TrainedModelConfigInput.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/TrainedModelConfigInput.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -96,6 +97,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/TrainedModelConfigMetadata.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/TrainedModelConfigMetadata.java index cea1d9286..6de65a487 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/TrainedModelConfigMetadata.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/TrainedModelConfigMetadata.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -168,6 +169,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/TrainedModelDeploymentAllocationStatus.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/TrainedModelDeploymentAllocationStatus.java index 25ef8a4fa..fa96b9923 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/TrainedModelDeploymentAllocationStatus.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/TrainedModelDeploymentAllocationStatus.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -118,6 +119,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/TrainedModelDeploymentNodesStats.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/TrainedModelDeploymentNodesStats.java index 35e810fba..8433ab40b 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/TrainedModelDeploymentNodesStats.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/TrainedModelDeploymentNodesStats.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -269,6 +270,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/TrainedModelDeploymentStats.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/TrainedModelDeploymentStats.java index 206abadd8..fc0a02b0a 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/TrainedModelDeploymentStats.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/TrainedModelDeploymentStats.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -280,6 +281,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/TrainedModelEntities.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/TrainedModelEntities.java index ba083858a..92e2850f5 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/TrainedModelEntities.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/TrainedModelEntities.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -138,6 +139,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/TrainedModelInferenceStats.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/TrainedModelInferenceStats.java index 048ccb0f9..02c2c248e 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/TrainedModelInferenceStats.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/TrainedModelInferenceStats.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -155,6 +156,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/TrainedModelLocation.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/TrainedModelLocation.java index 03afb8715..3e22703ea 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/TrainedModelLocation.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/TrainedModelLocation.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -83,6 +84,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/TrainedModelLocationIndex.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/TrainedModelLocationIndex.java index d7df9961f..3f8af1113 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/TrainedModelLocationIndex.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/TrainedModelLocationIndex.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -85,6 +86,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/TrainedModelSizeStats.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/TrainedModelSizeStats.java index a98c1ccb8..1ad403725 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/TrainedModelSizeStats.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/TrainedModelSizeStats.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -103,6 +104,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/TrainedModelStats.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/TrainedModelStats.java index c8756f898..5f2dcc2a6 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/TrainedModelStats.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/TrainedModelStats.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -183,6 +184,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/UpdateDataFrameAnalyticsResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/UpdateDataFrameAnalyticsResponse.java index f331aeff9..598478bd6 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/UpdateDataFrameAnalyticsResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/UpdateDataFrameAnalyticsResponse.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -228,6 +229,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/UpdateDatafeedResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/UpdateDatafeedResponse.java index f4e3d9da5..89ae5a82d 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/UpdateDatafeedResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/UpdateDatafeedResponse.java @@ -33,6 +33,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -308,6 +309,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/UpdateFilterResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/UpdateFilterResponse.java index 2521133aa..b807cfb8d 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/UpdateFilterResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/UpdateFilterResponse.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -119,6 +120,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/UpdateJobResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/UpdateJobResponse.java index b5e017cf4..776eddd3e 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/UpdateJobResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/UpdateJobResponse.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -398,6 +399,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/UpdateModelSnapshotResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/UpdateModelSnapshotResponse.java index 815972d8f..c854697c4 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/UpdateModelSnapshotResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/UpdateModelSnapshotResponse.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -99,6 +100,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/UpgradeJobSnapshotResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/UpgradeJobSnapshotResponse.java index 8e70ec725..13e97465a 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/UpgradeJobSnapshotResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/UpgradeJobSnapshotResponse.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -105,6 +106,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/ValidationLoss.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/ValidationLoss.java index 434028d31..6d2aeb9d2 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/ValidationLoss.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/ValidationLoss.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -110,6 +111,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/ZeroShotClassificationInferenceOptions.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/ZeroShotClassificationInferenceOptions.java index 8ba3ff8b1..e3d3ea07d 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/ZeroShotClassificationInferenceOptions.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/ZeroShotClassificationInferenceOptions.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -209,6 +210,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/ZeroShotClassificationInferenceUpdateOptions.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/ZeroShotClassificationInferenceUpdateOptions.java index 06a42cf71..850ce973a 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/ZeroShotClassificationInferenceUpdateOptions.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/ZeroShotClassificationInferenceUpdateOptions.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -168,6 +169,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/evaluate_data_frame/ConfusionMatrixItem.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/evaluate_data_frame/ConfusionMatrixItem.java index d65e13849..66f657f1e 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/evaluate_data_frame/ConfusionMatrixItem.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/evaluate_data_frame/ConfusionMatrixItem.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -135,6 +136,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/evaluate_data_frame/ConfusionMatrixPrediction.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/evaluate_data_frame/ConfusionMatrixPrediction.java index 258c023db..7c146acdb 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/evaluate_data_frame/ConfusionMatrixPrediction.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/evaluate_data_frame/ConfusionMatrixPrediction.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -99,6 +100,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/evaluate_data_frame/ConfusionMatrixThreshold.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/evaluate_data_frame/ConfusionMatrixThreshold.java index 7b1580c82..c404d5df5 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/evaluate_data_frame/ConfusionMatrixThreshold.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/evaluate_data_frame/ConfusionMatrixThreshold.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -131,6 +132,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/evaluate_data_frame/DataframeClassificationSummary.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/evaluate_data_frame/DataframeClassificationSummary.java index 39ba8c6e1..435b60f7a 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/evaluate_data_frame/DataframeClassificationSummary.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/evaluate_data_frame/DataframeClassificationSummary.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -157,6 +158,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/evaluate_data_frame/DataframeClassificationSummaryAccuracy.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/evaluate_data_frame/DataframeClassificationSummaryAccuracy.java index 6b8e11cad..e0f85fbce 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/evaluate_data_frame/DataframeClassificationSummaryAccuracy.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/evaluate_data_frame/DataframeClassificationSummaryAccuracy.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -107,6 +108,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/evaluate_data_frame/DataframeClassificationSummaryMulticlassConfusionMatrix.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/evaluate_data_frame/DataframeClassificationSummaryMulticlassConfusionMatrix.java index a1b0e05fb..3dca5234c 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/evaluate_data_frame/DataframeClassificationSummaryMulticlassConfusionMatrix.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/evaluate_data_frame/DataframeClassificationSummaryMulticlassConfusionMatrix.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -108,6 +109,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/evaluate_data_frame/DataframeClassificationSummaryPrecision.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/evaluate_data_frame/DataframeClassificationSummaryPrecision.java index 8ca00bee3..bac6a274a 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/evaluate_data_frame/DataframeClassificationSummaryPrecision.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/evaluate_data_frame/DataframeClassificationSummaryPrecision.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -107,6 +108,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/evaluate_data_frame/DataframeClassificationSummaryRecall.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/evaluate_data_frame/DataframeClassificationSummaryRecall.java index bc8a51d75..798619893 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/evaluate_data_frame/DataframeClassificationSummaryRecall.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/evaluate_data_frame/DataframeClassificationSummaryRecall.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -107,6 +108,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/evaluate_data_frame/DataframeEvaluationSummaryAucRocCurveItem.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/evaluate_data_frame/DataframeEvaluationSummaryAucRocCurveItem.java index eee2dfb50..7d728f280 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/evaluate_data_frame/DataframeEvaluationSummaryAucRocCurveItem.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/evaluate_data_frame/DataframeEvaluationSummaryAucRocCurveItem.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -111,6 +112,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/evaluate_data_frame/DataframeEvaluationValue.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/evaluate_data_frame/DataframeEvaluationValue.java index 94ab45243..0fd54ee9a 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/evaluate_data_frame/DataframeEvaluationValue.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/evaluate_data_frame/DataframeEvaluationValue.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -85,6 +86,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/evaluate_data_frame/DataframeOutlierDetectionSummary.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/evaluate_data_frame/DataframeOutlierDetectionSummary.java index c8b88b530..f5ea5442a 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/evaluate_data_frame/DataframeOutlierDetectionSummary.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/evaluate_data_frame/DataframeOutlierDetectionSummary.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -156,6 +157,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/evaluate_data_frame/DataframeRegressionSummary.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/evaluate_data_frame/DataframeRegressionSummary.java index f3a434519..453098d5e 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/evaluate_data_frame/DataframeRegressionSummary.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/evaluate_data_frame/DataframeRegressionSummary.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -139,6 +140,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/get_calendars/Calendar.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/get_calendars/Calendar.java index abacad708..d36562620 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/get_calendars/Calendar.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/get_calendars/Calendar.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -129,6 +130,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/get_memory_stats/JvmStats.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/get_memory_stats/JvmStats.java index 1cfd9250b..de4a13860 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/get_memory_stats/JvmStats.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/get_memory_stats/JvmStats.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -178,6 +179,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/get_memory_stats/MemMlStats.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/get_memory_stats/MemMlStats.java index 0f7d22be0..e075438fb 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/get_memory_stats/MemMlStats.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/get_memory_stats/MemMlStats.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -255,6 +256,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/get_memory_stats/MemStats.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/get_memory_stats/MemStats.java index e9a7e7049..9355affda 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/get_memory_stats/MemStats.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/get_memory_stats/MemStats.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -162,6 +163,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/get_memory_stats/Memory.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/get_memory_stats/Memory.java index b72a51a18..dd0d741f2 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/get_memory_stats/Memory.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/get_memory_stats/Memory.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -190,6 +191,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/info/AnomalyDetectors.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/info/AnomalyDetectors.java index bd0e05536..aab7ec004 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/info/AnomalyDetectors.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/info/AnomalyDetectors.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -142,6 +143,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/info/Datafeeds.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/info/Datafeeds.java index 8855e5e6f..23adee26c 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/info/Datafeeds.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/info/Datafeeds.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -83,6 +84,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/info/Defaults.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/info/Defaults.java index 764ffefff..7305dc17a 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/info/Defaults.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/info/Defaults.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -96,6 +97,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/info/Limits.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/info/Limits.java index edba2f667..4d4d1478e 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/info/Limits.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/info/Limits.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -115,6 +116,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/info/NativeCode.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/info/NativeCode.java index 023a07304..7d9811d71 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/info/NativeCode.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/info/NativeCode.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -97,6 +98,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/preview_data_frame_analytics/DataframePreviewConfig.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/preview_data_frame_analytics/DataframePreviewConfig.java index 867e206d1..7ccf9e69b 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/preview_data_frame_analytics/DataframePreviewConfig.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/preview_data_frame_analytics/DataframePreviewConfig.java @@ -30,6 +30,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -154,6 +155,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/put_trained_model/AggregateOutput.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/put_trained_model/AggregateOutput.java index f7269ce7a..62aea7107 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/put_trained_model/AggregateOutput.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/put_trained_model/AggregateOutput.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -139,6 +140,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/put_trained_model/Definition.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/put_trained_model/Definition.java index 9075150c3..9182e1fbd 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/put_trained_model/Definition.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/put_trained_model/Definition.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -109,6 +110,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/put_trained_model/Ensemble.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/put_trained_model/Ensemble.java index fa6626fba..f2a645cb3 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/put_trained_model/Ensemble.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/put_trained_model/Ensemble.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -168,6 +169,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/put_trained_model/FrequencyEncodingPreprocessor.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/put_trained_model/FrequencyEncodingPreprocessor.java index f4279ac72..0f773bede 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/put_trained_model/FrequencyEncodingPreprocessor.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/put_trained_model/FrequencyEncodingPreprocessor.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -130,6 +131,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/put_trained_model/Input.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/put_trained_model/Input.java index 8c94e1a24..e8dcc7966 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/put_trained_model/Input.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/put_trained_model/Input.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -93,6 +94,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/put_trained_model/OneHotEncodingPreprocessor.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/put_trained_model/OneHotEncodingPreprocessor.java index f0310a131..dc4d97f67 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/put_trained_model/OneHotEncodingPreprocessor.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/put_trained_model/OneHotEncodingPreprocessor.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -116,6 +117,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/put_trained_model/TargetMeanEncodingPreprocessor.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/put_trained_model/TargetMeanEncodingPreprocessor.java index bcac8b40f..5a4c4b61f 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/put_trained_model/TargetMeanEncodingPreprocessor.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/put_trained_model/TargetMeanEncodingPreprocessor.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -143,6 +144,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/put_trained_model/TrainedModel.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/put_trained_model/TrainedModel.java index e02ffaa99..fd89c83f9 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/put_trained_model/TrainedModel.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/put_trained_model/TrainedModel.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -134,6 +135,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/put_trained_model/TrainedModelTree.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/put_trained_model/TrainedModelTree.java index 5b42f2108..db3b3acec 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/put_trained_model/TrainedModelTree.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/put_trained_model/TrainedModelTree.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -151,6 +152,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/put_trained_model/TrainedModelTreeNode.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/put_trained_model/TrainedModelTreeNode.java index b36162bbe..ea525a80c 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/put_trained_model/TrainedModelTreeNode.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/put_trained_model/TrainedModelTreeNode.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -225,6 +226,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/put_trained_model/Weights.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/put_trained_model/Weights.java index af1d6f0c4..03332a908 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/put_trained_model/Weights.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ml/put_trained_model/Weights.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -83,6 +84,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/monitoring/BulkResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/monitoring/BulkResponse.java index b32badac5..0fe6c9ded 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/monitoring/BulkResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/monitoring/BulkResponse.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -133,6 +134,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/AdaptiveSelection.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/AdaptiveSelection.java index 70a2549c3..c3dbe4fc0 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/AdaptiveSelection.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/AdaptiveSelection.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -191,6 +192,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/Breaker.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/Breaker.java index 060eed785..12d4f1c32 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/Breaker.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/Breaker.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -175,6 +176,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/Cgroup.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/Cgroup.java index 9caf3be99..3081360fc 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/Cgroup.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/Cgroup.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -121,6 +122,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/CgroupCpu.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/CgroupCpu.java index a28529e47..90674bbf6 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/CgroupCpu.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/CgroupCpu.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -140,6 +141,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/CgroupCpuStat.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/CgroupCpuStat.java index 21eb80896..a3a250c6a 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/CgroupCpuStat.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/CgroupCpuStat.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -122,6 +123,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/CgroupMemory.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/CgroupMemory.java index 6f2501cdd..e5573f6d7 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/CgroupMemory.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/CgroupMemory.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -122,6 +123,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/Client.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/Client.java index 195430bf7..4a4bd9ac0 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/Client.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/Client.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -259,6 +260,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/ClusterAppliedStats.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/ClusterAppliedStats.java index db731f975..af2e3c0ac 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/ClusterAppliedStats.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/ClusterAppliedStats.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -93,6 +94,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/ClusterStateQueue.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/ClusterStateQueue.java index 1b518e194..db5d6c0e0 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/ClusterStateQueue.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/ClusterStateQueue.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -122,6 +123,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/ClusterStateUpdate.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/ClusterStateUpdate.java index afa07eec4..60f29b2ad 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/ClusterStateUpdate.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/ClusterStateUpdate.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -327,6 +328,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/Context.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/Context.java index c2e41ab4c..c659dac01 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/Context.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/Context.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -140,6 +141,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/Cpu.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/Cpu.java index 15b1b507f..dda946355 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/Cpu.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/Cpu.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -216,6 +217,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/CpuAcct.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/CpuAcct.java index 6aa0c1e45..7f84576fd 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/CpuAcct.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/CpuAcct.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -106,6 +107,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/DataPathStats.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/DataPathStats.java index e6a974f10..079fb9b92 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/DataPathStats.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/DataPathStats.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -344,6 +345,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/Discovery.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/Discovery.java index bcc327611..5f18be6f7 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/Discovery.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/Discovery.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -162,6 +163,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/FileSystem.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/FileSystem.java index 4d952064f..f8069eada 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/FileSystem.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/FileSystem.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -144,6 +145,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/FileSystemTotal.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/FileSystemTotal.java index ed3b5ff66..89a5da9f3 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/FileSystemTotal.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/FileSystemTotal.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -174,6 +175,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/GarbageCollector.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/GarbageCollector.java index 4dc28b787..6a584d012 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/GarbageCollector.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/GarbageCollector.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -94,6 +95,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/GarbageCollectorTotal.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/GarbageCollectorTotal.java index c5dfd1188..04d676fa1 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/GarbageCollectorTotal.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/GarbageCollectorTotal.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -124,6 +125,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/HotThreadsResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/HotThreadsResponse.java index d6b1f2c91..1f26ae51f 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/HotThreadsResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/HotThreadsResponse.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -93,6 +94,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/Http.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/Http.java index a104b0a5e..255fac5ec 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/Http.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/Http.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -128,6 +129,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/IndexingPressure.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/IndexingPressure.java index 26df237b1..dd8d4426f 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/IndexingPressure.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/IndexingPressure.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -87,6 +88,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/IndexingPressureMemory.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/IndexingPressureMemory.java index 0a87f4feb..d3dbb36b2 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/IndexingPressureMemory.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/IndexingPressureMemory.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -123,6 +124,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/Ingest.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/Ingest.java index 120c85037..f6d10b965 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/Ingest.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/Ingest.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -111,6 +112,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/IngestTotal.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/IngestTotal.java index e18bf7c7d..a210b1251 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/IngestTotal.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/IngestTotal.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -171,6 +172,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/IoStatDevice.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/IoStatDevice.java index bf5ff7a19..b4d206896 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/IoStatDevice.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/IoStatDevice.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -174,6 +175,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/IoStats.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/IoStats.java index 71eb1b2d3..e66248208 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/IoStats.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/IoStats.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -109,6 +110,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/Jvm.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/Jvm.java index b987ab47a..168bffcf4 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/Jvm.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/Jvm.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -214,6 +215,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/JvmClasses.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/JvmClasses.java index 2f4d4c3f2..d4509ac92 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/JvmClasses.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/JvmClasses.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -122,6 +123,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/JvmMemoryStats.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/JvmMemoryStats.java index 398f0db12..9a57f4214 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/JvmMemoryStats.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/JvmMemoryStats.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -197,6 +198,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/JvmThreads.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/JvmThreads.java index 2704b61ec..7fcb4a2a7 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/JvmThreads.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/JvmThreads.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -105,6 +106,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/KeyedProcessor.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/KeyedProcessor.java index 89b1240bc..9ecdf5db3 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/KeyedProcessor.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/KeyedProcessor.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -105,6 +106,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/MemoryStats.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/MemoryStats.java index 161ce7864..e7dfd70e9 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/MemoryStats.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/MemoryStats.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -242,6 +243,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/NodeBufferPool.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/NodeBufferPool.java index 1e5dec500..d67d326dc 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/NodeBufferPool.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/NodeBufferPool.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -157,6 +158,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/NodeReloadError.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/NodeReloadError.java index 85160f4bc..92be5d91b 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/NodeReloadError.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/NodeReloadError.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -103,6 +104,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/NodesResponseBase.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/NodesResponseBase.java index d95293d80..c71145987 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/NodesResponseBase.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/NodesResponseBase.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -87,6 +88,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + protected abstract static class AbstractBuilder> extends WithJsonObjectBuilderBase { diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/OperatingSystem.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/OperatingSystem.java index 4329227a4..5a8a412e7 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/OperatingSystem.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/OperatingSystem.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -156,6 +157,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/Pool.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/Pool.java index 3acb5994a..5fd4f1dbe 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/Pool.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/Pool.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -139,6 +140,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/PressureMemory.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/PressureMemory.java index d6b2aa201..d1e5d0b7f 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/PressureMemory.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/PressureMemory.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -207,6 +208,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/Process.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/Process.java index 98df4519a..fc9c3d0dd 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/Process.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/Process.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -157,6 +158,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/Processor.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/Processor.java index 53dc7e79a..673c58058 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/Processor.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/Processor.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -139,6 +140,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/PublishedClusterStates.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/PublishedClusterStates.java index aad174802..9f1ccf033 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/PublishedClusterStates.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/PublishedClusterStates.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -123,6 +124,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/Recording.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/Recording.java index 1e2309f74..e7fe96e55 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/Recording.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/Recording.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -140,6 +141,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/RepositoryLocation.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/RepositoryLocation.java index 437163c3d..8e26381b6 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/RepositoryLocation.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/RepositoryLocation.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -123,6 +124,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/RepositoryMeteringInformation.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/RepositoryMeteringInformation.java index e34580292..9f9334e66 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/RepositoryMeteringInformation.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/RepositoryMeteringInformation.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -229,6 +230,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/RequestCounts.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/RequestCounts.java index 7133c6bd7..878a72548 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/RequestCounts.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/RequestCounts.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -284,6 +285,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/ScriptCache.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/ScriptCache.java index 6a44e4ea7..b6dfcb569 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/ScriptCache.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/ScriptCache.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -140,6 +141,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/Scripting.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/Scripting.java index 79ef771df..b5c85395a 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/Scripting.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/Scripting.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -144,6 +145,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/SerializedClusterState.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/SerializedClusterState.java index 21b2e1bb6..d7d0f52a0 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/SerializedClusterState.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/SerializedClusterState.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -105,6 +106,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/SerializedClusterStateDetail.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/SerializedClusterStateDetail.java index 536bd7903..66bf182a8 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/SerializedClusterStateDetail.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/SerializedClusterStateDetail.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -158,6 +159,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/Stats.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/Stats.java index e00358be5..ab20c299c 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/Stats.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/Stats.java @@ -29,6 +29,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -483,6 +484,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/ThreadCount.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/ThreadCount.java index 854d18fd9..4d7305358 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/ThreadCount.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/ThreadCount.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -173,6 +174,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/Transport.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/Transport.java index 5b7f55450..fee18e374 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/Transport.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/Transport.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -251,6 +252,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/TransportHistogram.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/TransportHistogram.java index 22ba96b5b..c4cb17bd1 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/TransportHistogram.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/TransportHistogram.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -122,6 +123,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/hot_threads/HotThread.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/hot_threads/HotThread.java index 9f352cfb6..37f398698 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/hot_threads/HotThread.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/hot_threads/HotThread.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -139,6 +140,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/DeprecationIndexing.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/DeprecationIndexing.java index 35c1a5467..f8fd5510e 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/DeprecationIndexing.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/DeprecationIndexing.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -84,6 +85,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfo.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfo.java index 03b0b9b90..229be15ee 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfo.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfo.java @@ -29,6 +29,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -491,6 +492,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoAction.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoAction.java index 36c0f8705..e7d1a81f1 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoAction.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoAction.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -85,6 +86,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoAggregation.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoAggregation.java index 8b6cdebd7..bac772ed7 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoAggregation.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoAggregation.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -94,6 +95,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoBootstrap.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoBootstrap.java index 6f65a3b5b..da327b9a6 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoBootstrap.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoBootstrap.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -84,6 +85,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoClient.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoClient.java index 71401d6d5..31054bb58 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoClient.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoClient.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -84,6 +85,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoDiscover.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoDiscover.java index 9a5ebe905..d451c2628 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoDiscover.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoDiscover.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -84,6 +85,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoHttp.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoHttp.java index 1b79b2571..92f1d36fc 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoHttp.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoHttp.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -137,6 +138,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoIngest.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoIngest.java index ebf149638..a6f8de567 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoIngest.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoIngest.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -92,6 +93,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoIngestDownloader.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoIngestDownloader.java index edad1e657..3be497527 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoIngestDownloader.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoIngestDownloader.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -85,6 +86,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoIngestInfo.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoIngestInfo.java index 91898d962..ca9dc7d45 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoIngestInfo.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoIngestInfo.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -84,6 +85,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoIngestProcessor.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoIngestProcessor.java index fcbac361a..7ba152a7c 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoIngestProcessor.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoIngestProcessor.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -85,6 +86,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoJvmMemory.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoJvmMemory.java index 947bec325..4c3d40bfe 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoJvmMemory.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoJvmMemory.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -222,6 +223,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoMemory.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoMemory.java index 66d66e675..af30fc676 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoMemory.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoMemory.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -98,6 +99,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoNetwork.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoNetwork.java index 8b87533a7..06e2515ca 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoNetwork.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoNetwork.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -97,6 +98,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoNetworkInterface.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoNetworkInterface.java index 8a8087eb8..641f934fb 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoNetworkInterface.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoNetworkInterface.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -111,6 +112,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoOSCPU.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoOSCPU.java index 3214852eb..08959921a 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoOSCPU.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoOSCPU.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -176,6 +177,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoPath.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoPath.java index 70f4a2c8d..208b1a61f 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoPath.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoPath.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -139,6 +140,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoRepositories.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoRepositories.java index 66989027b..6b635b2da 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoRepositories.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoRepositories.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -84,6 +85,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoRepositoriesUrl.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoRepositoriesUrl.java index 67765b19e..6e2492d4b 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoRepositoriesUrl.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoRepositoriesUrl.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -85,6 +86,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoScript.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoScript.java index 7517997f1..43bd253f9 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoScript.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoScript.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -98,6 +99,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoSearch.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoSearch.java index d22b58112..cb2087374 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoSearch.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoSearch.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -83,6 +84,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoSearchRemote.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoSearchRemote.java index b6d32e9cb..946cb231d 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoSearchRemote.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoSearchRemote.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -85,6 +86,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoSettings.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoSettings.java index 5cdeb3baa..02b600636 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoSettings.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoSettings.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -302,6 +303,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoSettingsCluster.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoSettingsCluster.java index 8b5f26177..414ff1aca 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoSettingsCluster.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoSettingsCluster.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -151,6 +152,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoSettingsClusterElection.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoSettingsClusterElection.java index 44175ab95..d5cb74f4e 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoSettingsClusterElection.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoSettingsClusterElection.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -86,6 +87,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoSettingsHttp.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoSettingsHttp.java index 33a66e53b..e8ba50aaa 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoSettingsHttp.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoSettingsHttp.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -138,6 +139,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoSettingsHttpType.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoSettingsHttpType.java index bf65a62db..c2c652670 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoSettingsHttpType.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoSettingsHttpType.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -85,6 +86,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoSettingsIngest.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoSettingsIngest.java index 014e25a17..2d61a8ce7 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoSettingsIngest.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoSettingsIngest.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -649,6 +650,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoSettingsNetwork.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoSettingsNetwork.java index 40ea060ff..469c003e0 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoSettingsNetwork.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoSettingsNetwork.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -85,6 +86,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoSettingsNode.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoSettingsNode.java index 795599bb2..493dd34c1 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoSettingsNode.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoSettingsNode.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -126,6 +127,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoSettingsTransport.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoSettingsTransport.java index 31692b9bc..537fafc47 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoSettingsTransport.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoSettingsTransport.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -120,6 +121,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoSettingsTransportFeatures.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoSettingsTransportFeatures.java index 0f966ae5b..28d4e12a0 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoSettingsTransportFeatures.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoSettingsTransportFeatures.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -86,6 +87,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoSettingsTransportType.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoSettingsTransportType.java index 436550842..84f4f76bb 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoSettingsTransportType.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoSettingsTransportType.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -85,6 +86,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoTransport.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoTransport.java index dcdf5b2a9..a0b85a536 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoTransport.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoTransport.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -128,6 +129,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoXpack.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoXpack.java index 9c972223c..738dac46c 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoXpack.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoXpack.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -125,6 +126,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoXpackLicense.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoXpackLicense.java index d08bf5998..4fdc642fe 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoXpackLicense.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoXpackLicense.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -84,6 +85,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoXpackLicenseType.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoXpackLicenseType.java index 310975016..78be9fc21 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoXpackLicenseType.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoXpackLicenseType.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -85,6 +86,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoXpackSecurity.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoXpackSecurity.java index 0ad24db60..8cd49568f 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoXpackSecurity.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoXpackSecurity.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -133,6 +134,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoXpackSecurityAuthc.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoXpackSecurityAuthc.java index 330945435..ba3ec7881 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoXpackSecurityAuthc.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoXpackSecurityAuthc.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -97,6 +98,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoXpackSecurityAuthcRealms.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoXpackSecurityAuthcRealms.java index 27fb04bb6..cbecf5143 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoXpackSecurityAuthcRealms.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoXpackSecurityAuthcRealms.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -138,6 +139,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoXpackSecurityAuthcRealmsStatus.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoXpackSecurityAuthcRealmsStatus.java index 97c089ee6..5c241444d 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoXpackSecurityAuthcRealmsStatus.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoXpackSecurityAuthcRealmsStatus.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -103,6 +104,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoXpackSecurityAuthcToken.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoXpackSecurityAuthcToken.java index dcdcc88b6..e26cd3451 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoXpackSecurityAuthcToken.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoXpackSecurityAuthcToken.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -86,6 +87,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoXpackSecuritySsl.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoXpackSecuritySsl.java index 4cf0fbcec..74af6f26a 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoXpackSecuritySsl.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeInfoXpackSecuritySsl.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -95,6 +96,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeJvmInfo.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeJvmInfo.java index 23a8deaa3..4568d7d7b 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeJvmInfo.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeJvmInfo.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -270,6 +271,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeOperatingSystemInfo.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeOperatingSystemInfo.java index 126a5b651..736584caf 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeOperatingSystemInfo.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeOperatingSystemInfo.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -236,6 +237,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeProcessInfo.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeProcessInfo.java index 64e1f4c63..21d3b1445 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeProcessInfo.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeProcessInfo.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -118,6 +119,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeThreadPoolInfo.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeThreadPoolInfo.java index 88da18381..08f58f088 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeThreadPoolInfo.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/info/NodeThreadPoolInfo.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -167,6 +168,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/usage/NodeUsage.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/usage/NodeUsage.java index 6155d2425..559064039 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/usage/NodeUsage.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/nodes/usage/NodeUsage.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -142,6 +143,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/rollup/DateHistogramGrouping.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/rollup/DateHistogramGrouping.java index 87d561c3c..4a0aea8e2 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/rollup/DateHistogramGrouping.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/rollup/DateHistogramGrouping.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -189,6 +190,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/rollup/DeleteJobResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/rollup/DeleteJobResponse.java index 47611292d..7a222ff68 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/rollup/DeleteJobResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/rollup/DeleteJobResponse.java @@ -29,6 +29,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -108,6 +109,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/rollup/FieldMetric.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/rollup/FieldMetric.java index acb6957a1..86b10e7ca 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/rollup/FieldMetric.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/rollup/FieldMetric.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -111,6 +112,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/rollup/GetJobsResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/rollup/GetJobsResponse.java index fdb383b3a..965f1f473 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/rollup/GetJobsResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/rollup/GetJobsResponse.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -93,6 +94,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/rollup/GetRollupCapsResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/rollup/GetRollupCapsResponse.java index 1bb0a2390..92a0ec3a1 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/rollup/GetRollupCapsResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/rollup/GetRollupCapsResponse.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -93,6 +94,11 @@ public void serialize(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/rollup/GetRollupIndexCapsResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/rollup/GetRollupIndexCapsResponse.java index 08455b222..772fdb478 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/rollup/GetRollupIndexCapsResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/rollup/GetRollupIndexCapsResponse.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -94,6 +95,11 @@ public void serialize(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/rollup/Groupings.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/rollup/Groupings.java index 0c078c4ee..8cfb7e07b 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/rollup/Groupings.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/rollup/Groupings.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -121,6 +122,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/rollup/HistogramGrouping.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/rollup/HistogramGrouping.java index 22eb029dd..f5a49ab78 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/rollup/HistogramGrouping.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/rollup/HistogramGrouping.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -106,6 +107,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/rollup/RollupResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/rollup/RollupResponse.java index 77efd90d4..224a8d694 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/rollup/RollupResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/rollup/RollupResponse.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -77,6 +78,11 @@ public void serialize(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/rollup/RollupSearchResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/rollup/RollupSearchResponse.java index 53547eabc..ee5f429fb 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/rollup/RollupSearchResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/rollup/RollupSearchResponse.java @@ -32,6 +32,7 @@ import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; import co.elastic.clients.json.JsonpSerializer; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.NamedDeserializer; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; @@ -171,6 +172,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/rollup/StartJobResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/rollup/StartJobResponse.java index 74bdae622..f35f4fb23 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/rollup/StartJobResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/rollup/StartJobResponse.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -83,6 +84,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/rollup/StopJobResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/rollup/StopJobResponse.java index 5d5a375d7..1481e5b53 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/rollup/StopJobResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/rollup/StopJobResponse.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -83,6 +84,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/rollup/TermsGrouping.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/rollup/TermsGrouping.java index edca9d335..abf72030e 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/rollup/TermsGrouping.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/rollup/TermsGrouping.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -93,6 +94,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/rollup/get_jobs/RollupJob.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/rollup/get_jobs/RollupJob.java index a100c17e9..fa70f3156 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/rollup/get_jobs/RollupJob.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/rollup/get_jobs/RollupJob.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -109,6 +110,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/rollup/get_jobs/RollupJobConfiguration.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/rollup/get_jobs/RollupJobConfiguration.java index 5e87a1bd7..879fb225c 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/rollup/get_jobs/RollupJobConfiguration.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/rollup/get_jobs/RollupJobConfiguration.java @@ -30,6 +30,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -188,6 +189,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/rollup/get_jobs/RollupJobStats.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/rollup/get_jobs/RollupJobStats.java index ffaa3bc0d..30e1e587f 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/rollup/get_jobs/RollupJobStats.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/rollup/get_jobs/RollupJobStats.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -227,6 +228,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/rollup/get_jobs/RollupJobStatus.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/rollup/get_jobs/RollupJobStatus.java index c679d06a6..4c762606a 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/rollup/get_jobs/RollupJobStatus.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/rollup/get_jobs/RollupJobStatus.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -126,6 +127,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/rollup/get_rollup_caps/RollupCapabilities.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/rollup/get_rollup_caps/RollupCapabilities.java index 972071635..4627f4e2f 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/rollup/get_rollup_caps/RollupCapabilities.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/rollup/get_rollup_caps/RollupCapabilities.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -93,6 +94,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/rollup/get_rollup_caps/RollupCapabilitySummary.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/rollup/get_rollup_caps/RollupCapabilitySummary.java index 97cf6fa03..11f21da2c 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/rollup/get_rollup_caps/RollupCapabilitySummary.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/rollup/get_rollup_caps/RollupCapabilitySummary.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -142,6 +143,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/rollup/get_rollup_index_caps/IndexCapabilities.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/rollup/get_rollup_index_caps/IndexCapabilities.java index 756446442..6f5409d41 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/rollup/get_rollup_index_caps/IndexCapabilities.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/rollup/get_rollup_index_caps/IndexCapabilities.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -93,6 +94,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/rollup/get_rollup_index_caps/RollupJobSummary.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/rollup/get_rollup_index_caps/RollupJobSummary.java index 50713babb..3624e32ec 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/rollup/get_rollup_index_caps/RollupJobSummary.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/rollup/get_rollup_index_caps/RollupJobSummary.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -141,6 +142,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/rollup/get_rollup_index_caps/RollupJobSummaryField.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/rollup/get_rollup_index_caps/RollupJobSummaryField.java index e53338119..aecc401b8 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/rollup/get_rollup_index_caps/RollupJobSummaryField.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/rollup/get_rollup_index_caps/RollupJobSummaryField.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -121,6 +122,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/searchable_snapshots/CacheStatsResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/searchable_snapshots/CacheStatsResponse.java index 1b694a2d6..561fa2b05 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/searchable_snapshots/CacheStatsResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/searchable_snapshots/CacheStatsResponse.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -96,6 +97,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/searchable_snapshots/ClearCacheResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/searchable_snapshots/ClearCacheResponse.java index 13ddf9e53..dda63655a 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/searchable_snapshots/ClearCacheResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/searchable_snapshots/ClearCacheResponse.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -78,6 +79,11 @@ public void serialize(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/searchable_snapshots/MountResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/searchable_snapshots/MountResponse.java index f46d02083..7ba243d40 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/searchable_snapshots/MountResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/searchable_snapshots/MountResponse.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -85,6 +86,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/searchable_snapshots/SearchableSnapshotsStatsResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/searchable_snapshots/SearchableSnapshotsStatsResponse.java index 11e6609a3..d6e7753e2 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/searchable_snapshots/SearchableSnapshotsStatsResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/searchable_snapshots/SearchableSnapshotsStatsResponse.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -99,6 +100,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/searchable_snapshots/cache_stats/Node.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/searchable_snapshots/cache_stats/Node.java index 5aee34cf8..f1d972202 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/searchable_snapshots/cache_stats/Node.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/searchable_snapshots/cache_stats/Node.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -84,6 +85,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/searchable_snapshots/cache_stats/Shared.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/searchable_snapshots/cache_stats/Shared.java index a49f1e720..6e40750da 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/searchable_snapshots/cache_stats/Shared.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/searchable_snapshots/cache_stats/Shared.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -179,6 +180,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/searchable_snapshots/mount/MountedSnapshot.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/searchable_snapshots/mount/MountedSnapshot.java index a4ca0693e..61eda3cfb 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/searchable_snapshots/mount/MountedSnapshot.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/searchable_snapshots/mount/MountedSnapshot.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -120,6 +121,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/ApiKey.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/ApiKey.java index 404413d07..051530ba9 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/ApiKey.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/ApiKey.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -208,6 +209,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/ApplicationGlobalUserPrivileges.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/ApplicationGlobalUserPrivileges.java index f284692b4..c02ec77df 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/ApplicationGlobalUserPrivileges.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/ApplicationGlobalUserPrivileges.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -85,6 +86,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/ApplicationPrivileges.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/ApplicationPrivileges.java index d2f644384..2b28799db 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/ApplicationPrivileges.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/ApplicationPrivileges.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -134,6 +135,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/AuthenticateResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/AuthenticateResponse.java index d2271b3f1..4f19acbd3 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/AuthenticateResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/AuthenticateResponse.java @@ -29,6 +29,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -252,6 +253,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/ClearApiKeyCacheResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/ClearApiKeyCacheResponse.java index e6a755dca..04fe93fed 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/ClearApiKeyCacheResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/ClearApiKeyCacheResponse.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -122,6 +123,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/ClearCachedPrivilegesResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/ClearCachedPrivilegesResponse.java index 950f39ef9..edda4ad71 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/ClearCachedPrivilegesResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/ClearCachedPrivilegesResponse.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -122,6 +123,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/ClearCachedRealmsResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/ClearCachedRealmsResponse.java index fcc9370d0..6d6a641a1 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/ClearCachedRealmsResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/ClearCachedRealmsResponse.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -122,6 +123,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/ClearCachedRolesResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/ClearCachedRolesResponse.java index 78a3a0c5a..8d5ca29a2 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/ClearCachedRolesResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/ClearCachedRolesResponse.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -122,6 +123,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/ClearCachedServiceTokensResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/ClearCachedServiceTokensResponse.java index 0c2f06e89..692476d85 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/ClearCachedServiceTokensResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/ClearCachedServiceTokensResponse.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -123,6 +124,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/ClusterNode.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/ClusterNode.java index 5d474fbb4..77240741e 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/ClusterNode.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/ClusterNode.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -84,6 +85,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/CreateApiKeyResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/CreateApiKeyResponse.java index 31a1419a3..e17287891 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/CreateApiKeyResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/CreateApiKeyResponse.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -154,6 +155,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/CreateServiceTokenResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/CreateServiceTokenResponse.java index cdb3dc629..dc1881c7a 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/CreateServiceTokenResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/CreateServiceTokenResponse.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -99,6 +100,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/CreatedStatus.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/CreatedStatus.java index e37182c3e..dffd2478e 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/CreatedStatus.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/CreatedStatus.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -83,6 +84,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/DeletePrivilegesResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/DeletePrivilegesResponse.java index 5dc0e5205..4524714af 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/DeletePrivilegesResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/DeletePrivilegesResponse.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -102,6 +103,11 @@ public void serialize(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/DeleteRoleMappingResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/DeleteRoleMappingResponse.java index b4a3dc2e9..0be58aca6 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/DeleteRoleMappingResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/DeleteRoleMappingResponse.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -84,6 +85,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/DeleteRoleResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/DeleteRoleResponse.java index 305f3a951..544826288 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/DeleteRoleResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/DeleteRoleResponse.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -83,6 +84,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/DeleteServiceTokenResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/DeleteServiceTokenResponse.java index f606e301f..32fffc797 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/DeleteServiceTokenResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/DeleteServiceTokenResponse.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -84,6 +85,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/DeleteUserResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/DeleteUserResponse.java index eaec38e1e..d7494f479 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/DeleteUserResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/DeleteUserResponse.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -83,6 +84,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/EnrollKibanaResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/EnrollKibanaResponse.java index d9a44ef95..b0a5e8091 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/EnrollKibanaResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/EnrollKibanaResponse.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -98,6 +99,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/EnrollNodeResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/EnrollNodeResponse.java index 9faca9824..8f26cac62 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/EnrollNodeResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/EnrollNodeResponse.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -158,6 +159,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/FieldSecurity.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/FieldSecurity.java index c30549aaa..9c4bd5722 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/FieldSecurity.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/FieldSecurity.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -113,6 +114,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/GetApiKeyResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/GetApiKeyResponse.java index 2e9ccd770..2124e0f88 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/GetApiKeyResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/GetApiKeyResponse.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -92,6 +93,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/GetBuiltinPrivilegesResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/GetBuiltinPrivilegesResponse.java index 2ee6109ec..e54f5d5b7 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/GetBuiltinPrivilegesResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/GetBuiltinPrivilegesResponse.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -114,6 +115,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/GetPrivilegesResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/GetPrivilegesResponse.java index 614095051..9abe336ea 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/GetPrivilegesResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/GetPrivilegesResponse.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -102,6 +103,11 @@ public void serialize(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/GetRoleMappingResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/GetRoleMappingResponse.java index 68d92733f..bf9175387 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/GetRoleMappingResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/GetRoleMappingResponse.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -93,6 +94,11 @@ public void serialize(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/GetRoleResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/GetRoleResponse.java index 5ad8cc5b6..dd7aaa6c0 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/GetRoleResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/GetRoleResponse.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -93,6 +94,11 @@ public void serialize(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/GetServiceAccountsResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/GetServiceAccountsResponse.java index c5daf0d12..001569e18 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/GetServiceAccountsResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/GetServiceAccountsResponse.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -94,6 +95,11 @@ public void serialize(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/GetServiceCredentialsResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/GetServiceCredentialsResponse.java index 2797db879..6c090b197 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/GetServiceCredentialsResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/GetServiceCredentialsResponse.java @@ -29,6 +29,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -147,6 +148,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/GetTokenResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/GetTokenResponse.java index dc20cead7..2cae77849 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/GetTokenResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/GetTokenResponse.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -172,6 +173,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/GetUserPrivilegesResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/GetUserPrivilegesResponse.java index afe3a9dbe..253ef0498 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/GetUserPrivilegesResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/GetUserPrivilegesResponse.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -174,6 +175,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/GetUserProfileResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/GetUserProfileResponse.java index 5b668c584..439bb01d3 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/GetUserProfileResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/GetUserProfileResponse.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -93,6 +94,11 @@ public void serialize(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/GetUserResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/GetUserResponse.java index 48eccaa37..c05a88ed5 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/GetUserResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/GetUserResponse.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -92,6 +93,11 @@ public void serialize(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/GlobalPrivilege.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/GlobalPrivilege.java index 7c013d15a..bd64f4de4 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/GlobalPrivilege.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/GlobalPrivilege.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -83,6 +84,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/GrantApiKeyResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/GrantApiKeyResponse.java index 2c1935a2a..3b61010ca 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/GrantApiKeyResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/GrantApiKeyResponse.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -128,6 +129,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/HasPrivilegesResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/HasPrivilegesResponse.java index 181892cf9..59ced0920 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/HasPrivilegesResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/HasPrivilegesResponse.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -187,6 +188,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/IndicesPrivileges.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/IndicesPrivileges.java index aefcfeecc..4969ca719 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/IndicesPrivileges.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/IndicesPrivileges.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -188,6 +189,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/InvalidateApiKeyResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/InvalidateApiKeyResponse.java index 4d938f1cb..30388e682 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/InvalidateApiKeyResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/InvalidateApiKeyResponse.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -151,6 +152,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/InvalidateTokenResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/InvalidateTokenResponse.java index 36d29eb3a..bd08deedd 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/InvalidateTokenResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/InvalidateTokenResponse.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -134,6 +135,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/ManageUserPrivileges.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/ManageUserPrivileges.java index 24b9a1c7a..1d4649c6a 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/ManageUserPrivileges.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/ManageUserPrivileges.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -94,6 +95,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/PutPrivilegesResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/PutPrivilegesResponse.java index 78c89b0cd..6b16f8909 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/PutPrivilegesResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/PutPrivilegesResponse.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -101,6 +102,11 @@ public void serialize(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/PutRoleMappingResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/PutRoleMappingResponse.java index d7bf40869..e50b72e3f 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/PutRoleMappingResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/PutRoleMappingResponse.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -102,6 +103,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/PutRoleResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/PutRoleResponse.java index 17fbffef0..6e10ee369 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/PutRoleResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/PutRoleResponse.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -83,6 +84,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/PutUserResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/PutUserResponse.java index 472c085a2..f8a0dd1b6 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/PutUserResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/PutUserResponse.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -83,6 +84,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/QueryApiKeysResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/QueryApiKeysResponse.java index b4aac8803..5af2fbe27 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/QueryApiKeysResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/QueryApiKeysResponse.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -120,6 +121,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/Realm.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/Realm.java index 79af157da..f92c9662d 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/Realm.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/Realm.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -92,6 +93,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/RealmInfo.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/RealmInfo.java index 90305a11a..0eac72cf0 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/RealmInfo.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/RealmInfo.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -97,6 +98,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/RoleMapping.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/RoleMapping.java index 2106891a4..2d08419e6 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/RoleMapping.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/RoleMapping.java @@ -29,6 +29,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -164,6 +165,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/SamlAuthenticateResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/SamlAuthenticateResponse.java index 2dafd74e9..79bda3658 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/SamlAuthenticateResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/SamlAuthenticateResponse.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -138,6 +139,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/SamlInvalidateResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/SamlInvalidateResponse.java index 1242ce20a..1eafe60f0 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/SamlInvalidateResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/SamlInvalidateResponse.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -112,6 +113,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/SamlLogoutResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/SamlLogoutResponse.java index 6adc40176..2ab8bed20 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/SamlLogoutResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/SamlLogoutResponse.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -84,6 +85,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/SamlPrepareAuthenticationResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/SamlPrepareAuthenticationResponse.java index c4f516afc..eb11fcd72 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/SamlPrepareAuthenticationResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/SamlPrepareAuthenticationResponse.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -112,6 +113,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/SamlServiceProviderMetadataResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/SamlServiceProviderMetadataResponse.java index a30ecf2dd..502ce055e 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/SamlServiceProviderMetadataResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/SamlServiceProviderMetadataResponse.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -86,6 +87,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/SuggestUserProfilesResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/SuggestUserProfilesResponse.java index 67ec70e5e..7fecab750 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/SuggestUserProfilesResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/SuggestUserProfilesResponse.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -121,6 +122,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/TransientMetadataConfig.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/TransientMetadataConfig.java index e28e33102..beb1066cf 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/TransientMetadataConfig.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/TransientMetadataConfig.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -84,6 +85,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/User.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/User.java index 549d22f57..7f0eccc1f 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/User.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/User.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -176,6 +177,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/UserProfile.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/UserProfile.java index 5b1e9acda..fd6a981ac 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/UserProfile.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/UserProfile.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -160,6 +161,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/UserProfileHitMetadata.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/UserProfileHitMetadata.java index 548fdc63a..f7cdc2681 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/UserProfileHitMetadata.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/UserProfileHitMetadata.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -97,6 +98,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/UserProfileUser.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/UserProfileUser.java index 97c77e0c1..9fbbacb80 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/UserProfileUser.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/UserProfileUser.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -162,6 +163,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/authenticate/ServiceToken.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/authenticate/ServiceToken.java index 6409fc4bb..06a563552 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/authenticate/ServiceToken.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/authenticate/ServiceToken.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -102,6 +103,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/create_api_key/IndexPrivileges.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/create_api_key/IndexPrivileges.java index 8127921f5..79ec51401 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/create_api_key/IndexPrivileges.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/create_api_key/IndexPrivileges.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -114,6 +115,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/create_api_key/RoleDescriptor.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/create_api_key/RoleDescriptor.java index 758438025..806bf6b7c 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/create_api_key/RoleDescriptor.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/create_api_key/RoleDescriptor.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -135,6 +136,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/create_service_token/Token.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/create_service_token/Token.java index 423a0a0f6..930022123 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/create_service_token/Token.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/create_service_token/Token.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -98,6 +99,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/delete_privileges/FoundStatus.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/delete_privileges/FoundStatus.java index 770a40366..2661069cc 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/delete_privileges/FoundStatus.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/delete_privileges/FoundStatus.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -84,6 +85,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/enroll_kibana/Token.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/enroll_kibana/Token.java index d53173333..4ca9d9682 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/enroll_kibana/Token.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/enroll_kibana/Token.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -97,6 +98,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/get_role/Role.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/get_role/Role.java index 2b4f52eb0..16fbdf06a 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/get_role/Role.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/get_role/Role.java @@ -31,6 +31,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -256,6 +257,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/get_role/RoleTemplate.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/get_role/RoleTemplate.java index 265d14d5c..1e616c0c5 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/get_role/RoleTemplate.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/get_role/RoleTemplate.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -101,6 +102,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/get_service_accounts/RoleDescriptor.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/get_service_accounts/RoleDescriptor.java index daa5fd1a7..059e9aa9c 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/get_service_accounts/RoleDescriptor.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/get_service_accounts/RoleDescriptor.java @@ -32,6 +32,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -218,6 +219,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/get_service_accounts/RoleDescriptorWrapper.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/get_service_accounts/RoleDescriptorWrapper.java index 3400b4212..9d59e3aa3 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/get_service_accounts/RoleDescriptorWrapper.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/get_service_accounts/RoleDescriptorWrapper.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -84,6 +85,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/get_service_credentials/NodesCredentials.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/get_service_credentials/NodesCredentials.java index 25ec85f0d..aa477d986 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/get_service_credentials/NodesCredentials.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/get_service_credentials/NodesCredentials.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -114,6 +115,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/get_service_credentials/NodesCredentialsFileToken.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/get_service_credentials/NodesCredentialsFileToken.java index 26a351a3c..80c8c5305 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/get_service_credentials/NodesCredentialsFileToken.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/get_service_credentials/NodesCredentialsFileToken.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -94,6 +95,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/get_token/AuthenticationProvider.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/get_token/AuthenticationProvider.java index f05a5bd15..9c136c7fe 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/get_token/AuthenticationProvider.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/get_token/AuthenticationProvider.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -98,6 +99,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/get_token/UserRealm.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/get_token/UserRealm.java index 2d40bf55c..aeac121be 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/get_token/UserRealm.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/get_token/UserRealm.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -97,6 +98,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/grant_api_key/GrantApiKey.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/grant_api_key/GrantApiKey.java index e567971fe..bacaaeb38 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/grant_api_key/GrantApiKey.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/grant_api_key/GrantApiKey.java @@ -29,6 +29,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -135,6 +136,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/has_privileges/ApplicationPrivilegesCheck.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/has_privileges/ApplicationPrivilegesCheck.java index ec9a854fe..8f4d9d480 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/has_privileges/ApplicationPrivilegesCheck.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/has_privileges/ApplicationPrivilegesCheck.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -136,6 +137,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/has_privileges/IndexPrivilegesCheck.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/has_privileges/IndexPrivilegesCheck.java index d2c45de79..c3a9803b6 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/has_privileges/IndexPrivilegesCheck.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/has_privileges/IndexPrivilegesCheck.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -145,6 +146,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/put_privileges/Actions.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/put_privileges/Actions.java index 107395659..f39ed5dbe 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/put_privileges/Actions.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/put_privileges/Actions.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -151,6 +152,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/suggest_user_profiles/TotalUserProfiles.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/suggest_user_profiles/TotalUserProfiles.java index 85176fa56..34b06d743 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/security/suggest_user_profiles/TotalUserProfiles.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/security/suggest_user_profiles/TotalUserProfiles.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -99,6 +100,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/shutdown/GetNodeResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/shutdown/GetNodeResponse.java index 565ae6a59..66216a5cb 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/shutdown/GetNodeResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/shutdown/GetNodeResponse.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -93,6 +94,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/shutdown/get_node/NodeShutdownStatus.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/shutdown/get_node/NodeShutdownStatus.java index ed4a56a20..f6fd0eceb 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/shutdown/get_node/NodeShutdownStatus.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/shutdown/get_node/NodeShutdownStatus.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -175,6 +176,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/shutdown/get_node/PersistentTaskStatus.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/shutdown/get_node/PersistentTaskStatus.java index 3b456d199..69170e02b 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/shutdown/get_node/PersistentTaskStatus.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/shutdown/get_node/PersistentTaskStatus.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -84,6 +85,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/shutdown/get_node/PluginsStatus.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/shutdown/get_node/PluginsStatus.java index 556e5ebbb..27ad8ce73 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/shutdown/get_node/PluginsStatus.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/shutdown/get_node/PluginsStatus.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -84,6 +85,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/shutdown/get_node/ShardMigrationStatus.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/shutdown/get_node/ShardMigrationStatus.java index e87f054b2..13807ad87 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/shutdown/get_node/ShardMigrationStatus.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/shutdown/get_node/ShardMigrationStatus.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -84,6 +85,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/slm/ExecuteLifecycleResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/slm/ExecuteLifecycleResponse.java index 8830cacc7..2190c118a 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/slm/ExecuteLifecycleResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/slm/ExecuteLifecycleResponse.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -84,6 +85,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/slm/GetLifecycleResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/slm/GetLifecycleResponse.java index 8a8c2a5f8..64c1de4f7 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/slm/GetLifecycleResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/slm/GetLifecycleResponse.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -92,6 +93,11 @@ public void serialize(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/slm/GetSlmStatusResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/slm/GetSlmStatusResponse.java index 06ee13c73..a5955d41b 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/slm/GetSlmStatusResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/slm/GetSlmStatusResponse.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -84,6 +85,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/slm/GetStatsResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/slm/GetStatsResponse.java index 81875fd50..edf17a916 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/slm/GetStatsResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/slm/GetStatsResponse.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -217,6 +218,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/slm/InProgress.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/slm/InProgress.java index b361599f4..8b0b6daea 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/slm/InProgress.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/slm/InProgress.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -123,6 +124,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/slm/Invocation.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/slm/Invocation.java index a0b123725..4660a3f8c 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/slm/Invocation.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/slm/Invocation.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -98,6 +99,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/slm/Retention.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/slm/Retention.java index 7b6c21dd6..c934bff2e 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/slm/Retention.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/slm/Retention.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -123,6 +124,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/slm/SlmConfiguration.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/slm/SlmConfiguration.java index 06fe0a0c8..9beba8621 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/slm/SlmConfiguration.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/slm/SlmConfiguration.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -215,6 +216,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/slm/SlmPolicy.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/slm/SlmPolicy.java index fd69e238c..04526bc9e 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/slm/SlmPolicy.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/slm/SlmPolicy.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -136,6 +137,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/slm/SnapshotLifecycle.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/slm/SnapshotLifecycle.java index 43749998d..7bc36abce 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/slm/SnapshotLifecycle.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/slm/SnapshotLifecycle.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -219,6 +220,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/slm/Statistics.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/slm/Statistics.java index c8ca7b3b3..8f2ccb173 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/slm/Statistics.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/slm/Statistics.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.DateTime; @@ -241,6 +242,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/snapshot/CleanupRepositoryResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/snapshot/CleanupRepositoryResponse.java index 66e4262d3..72ed7c0e3 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/snapshot/CleanupRepositoryResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/snapshot/CleanupRepositoryResponse.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -87,6 +88,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/snapshot/CreateSnapshotResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/snapshot/CreateSnapshotResponse.java index 0cacb05d3..fa327bd0f 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/snapshot/CreateSnapshotResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/snapshot/CreateSnapshotResponse.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -111,6 +112,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/snapshot/FileCountSnapshotStats.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/snapshot/FileCountSnapshotStats.java index 9cee4c879..3c968fd74 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/snapshot/FileCountSnapshotStats.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/snapshot/FileCountSnapshotStats.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -98,6 +99,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/snapshot/GetRepositoryResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/snapshot/GetRepositoryResponse.java index d94b6f932..ebaffd20a 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/snapshot/GetRepositoryResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/snapshot/GetRepositoryResponse.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -93,6 +94,11 @@ public void serialize(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/snapshot/GetSnapshotResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/snapshot/GetSnapshotResponse.java index 7ba26ff78..253453710 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/snapshot/GetSnapshotResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/snapshot/GetSnapshotResponse.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -146,6 +147,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/snapshot/IndexDetails.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/snapshot/IndexDetails.java index d998c1e9e..21224d1e9 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/snapshot/IndexDetails.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/snapshot/IndexDetails.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -130,6 +131,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/snapshot/InfoFeatureState.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/snapshot/InfoFeatureState.java index f604ba156..baf879df1 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/snapshot/InfoFeatureState.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/snapshot/InfoFeatureState.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -107,6 +108,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/snapshot/Repository.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/snapshot/Repository.java index d0c3307a6..6f21f3c14 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/snapshot/Repository.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/snapshot/Repository.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -114,6 +115,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/snapshot/RepositorySettings.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/snapshot/RepositorySettings.java index b69dd126e..2165758db 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/snapshot/RepositorySettings.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/snapshot/RepositorySettings.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -155,6 +156,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/snapshot/RestoreResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/snapshot/RestoreResponse.java index 16834975d..b28b5aec6 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/snapshot/RestoreResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/snapshot/RestoreResponse.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -84,6 +85,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/snapshot/ShardsStats.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/snapshot/ShardsStats.java index 032c89be5..70582200b 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/snapshot/ShardsStats.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/snapshot/ShardsStats.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -148,6 +149,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/snapshot/ShardsStatsSummary.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/snapshot/ShardsStatsSummary.java index f2b69c9af..7a0fef95b 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/snapshot/ShardsStatsSummary.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/snapshot/ShardsStatsSummary.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -124,6 +125,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/snapshot/ShardsStatsSummaryItem.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/snapshot/ShardsStatsSummaryItem.java index e06bcb55a..defa317bf 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/snapshot/ShardsStatsSummaryItem.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/snapshot/ShardsStatsSummaryItem.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -97,6 +98,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/snapshot/SnapshotIndexStats.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/snapshot/SnapshotIndexStats.java index c4b0933ad..c11de4f33 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/snapshot/SnapshotIndexStats.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/snapshot/SnapshotIndexStats.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -120,6 +121,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/snapshot/SnapshotInfo.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/snapshot/SnapshotInfo.java index aa6a667c5..ac788eb30 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/snapshot/SnapshotInfo.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/snapshot/SnapshotInfo.java @@ -30,6 +30,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -446,6 +447,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/snapshot/SnapshotShardFailure.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/snapshot/SnapshotShardFailure.java index d7b4795cb..145836eb4 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/snapshot/SnapshotShardFailure.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/snapshot/SnapshotShardFailure.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -137,6 +138,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/snapshot/SnapshotShardsStatus.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/snapshot/SnapshotShardsStatus.java index be6c356a9..528198340 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/snapshot/SnapshotShardsStatus.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/snapshot/SnapshotShardsStatus.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -96,6 +97,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/snapshot/SnapshotStats.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/snapshot/SnapshotStats.java index 6bc269ca6..6e79bca6c 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/snapshot/SnapshotStats.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/snapshot/SnapshotStats.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -123,6 +124,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/snapshot/SnapshotStatusResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/snapshot/SnapshotStatusResponse.java index 0b0867502..18e0326c9 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/snapshot/SnapshotStatusResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/snapshot/SnapshotStatusResponse.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -92,6 +93,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/snapshot/Status.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/snapshot/Status.java index 98d8d2797..bfd78ecb2 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/snapshot/Status.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/snapshot/Status.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -185,6 +186,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/snapshot/VerifyRepositoryResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/snapshot/VerifyRepositoryResponse.java index 1c2011481..6bae19431 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/snapshot/VerifyRepositoryResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/snapshot/VerifyRepositoryResponse.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -96,6 +97,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/snapshot/cleanup_repository/CleanupRepositoryResults.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/snapshot/cleanup_repository/CleanupRepositoryResults.java index daf348364..e7d7d754e 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/snapshot/cleanup_repository/CleanupRepositoryResults.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/snapshot/cleanup_repository/CleanupRepositoryResults.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -101,6 +102,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/snapshot/get/SnapshotResponseItem.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/snapshot/get/SnapshotResponseItem.java index e999388c7..94a1c3c8d 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/snapshot/get/SnapshotResponseItem.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/snapshot/get/SnapshotResponseItem.java @@ -29,6 +29,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -126,6 +127,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/snapshot/restore/SnapshotRestore.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/snapshot/restore/SnapshotRestore.java index cd9994fcd..4793660ae 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/snapshot/restore/SnapshotRestore.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/snapshot/restore/SnapshotRestore.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -120,6 +121,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/snapshot/verify_repository/CompactNodeInfo.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/snapshot/verify_repository/CompactNodeInfo.java index 9e64b618c..64c3f8ee6 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/snapshot/verify_repository/CompactNodeInfo.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/snapshot/verify_repository/CompactNodeInfo.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -85,6 +86,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/sql/ClearCursorResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/sql/ClearCursorResponse.java index 9f45388cf..208a8811e 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/sql/ClearCursorResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/sql/ClearCursorResponse.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -83,6 +84,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/sql/Column.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/sql/Column.java index 2c32b8e17..fcfe6826c 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/sql/Column.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/sql/Column.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -96,6 +97,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/sql/GetAsyncResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/sql/GetAsyncResponse.java index 6b7508051..013b27fe0 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/sql/GetAsyncResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/sql/GetAsyncResponse.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -203,6 +204,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/sql/GetAsyncStatusResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/sql/GetAsyncStatusResponse.java index a4840da4b..692b234de 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/sql/GetAsyncStatusResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/sql/GetAsyncStatusResponse.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -178,6 +179,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/sql/QueryResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/sql/QueryResponse.java index 82eb34340..025190c69 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/sql/QueryResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/sql/QueryResponse.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -214,6 +215,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/sql/TranslateResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/sql/TranslateResponse.java index ed1d902f5..703d48943 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/sql/TranslateResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/sql/TranslateResponse.java @@ -29,6 +29,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -151,6 +152,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ssl/CertificatesResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ssl/CertificatesResponse.java index 2f25f3f07..03c272fef 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ssl/CertificatesResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ssl/CertificatesResponse.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -83,6 +84,11 @@ public void serialize(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/ssl/certificates/CertificateInformation.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/ssl/certificates/CertificateInformation.java index 3d20d5723..9231eb4f9 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/ssl/certificates/CertificateInformation.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/ssl/certificates/CertificateInformation.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -164,6 +165,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/tasks/GetTasksResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/tasks/GetTasksResponse.java index c80999475..f5a6c0093 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/tasks/GetTasksResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/tasks/GetTasksResponse.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -133,6 +134,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/tasks/NodeTasks.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/tasks/NodeTasks.java index da72ed6c7..e703e4ea8 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/tasks/NodeTasks.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/tasks/NodeTasks.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -204,6 +205,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/tasks/TaskInfo.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/tasks/TaskInfo.java index 0fcedcd6b..f69186c72 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/tasks/TaskInfo.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/tasks/TaskInfo.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -255,6 +256,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/tasks/TaskListResponseBase.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/tasks/TaskListResponseBase.java index f487f2ea2..6c1d94148 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/tasks/TaskListResponseBase.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/tasks/TaskListResponseBase.java @@ -29,6 +29,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -158,6 +159,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + protected abstract static class AbstractBuilder> extends WithJsonObjectBuilderBase { diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/tasks/TaskStatus.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/tasks/TaskStatus.java index b7fb64a2d..b63c341f6 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/tasks/TaskStatus.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/tasks/TaskStatus.java @@ -29,6 +29,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -326,6 +327,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/transform/Destination.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/transform/Destination.java index 70a6236d9..73dc98431 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/transform/Destination.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/transform/Destination.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -112,6 +113,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/transform/GetTransformResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/transform/GetTransformResponse.java index 72bda608d..de00727a9 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/transform/GetTransformResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/transform/GetTransformResponse.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -108,6 +109,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/transform/GetTransformStatsResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/transform/GetTransformStatsResponse.java index 7b6e4ef2c..8c52d691e 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/transform/GetTransformStatsResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/transform/GetTransformStatsResponse.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -108,6 +109,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/transform/Latest.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/transform/Latest.java index 188ed3965..b601f6fee 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/transform/Latest.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/transform/Latest.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -112,6 +113,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/transform/Pivot.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/transform/Pivot.java index 0516a28ea..e524cbb52 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/transform/Pivot.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/transform/Pivot.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -126,6 +127,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/transform/PreviewTransformResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/transform/PreviewTransformResponse.java index d42a26195..e10f4b588 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/transform/PreviewTransformResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/transform/PreviewTransformResponse.java @@ -116,6 +116,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/transform/Settings.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/transform/Settings.java index 5f2639549..12d3376bc 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/transform/Settings.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/transform/Settings.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -182,6 +183,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/transform/Source.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/transform/Source.java index a1378aea1..3d3ac37aa 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/transform/Source.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/transform/Source.java @@ -29,6 +29,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -158,6 +159,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/transform/TimeRetentionPolicy.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/transform/TimeRetentionPolicy.java index c8de8ccc0..b32e75b99 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/transform/TimeRetentionPolicy.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/transform/TimeRetentionPolicy.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -113,6 +114,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/transform/TimeSync.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/transform/TimeSync.java index af74be84c..c0eadd5ac 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/transform/TimeSync.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/transform/TimeSync.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -117,6 +118,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/transform/UpdateTransformResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/transform/UpdateTransformResponse.java index 9b2bc923c..21ae6e104 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/transform/UpdateTransformResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/transform/UpdateTransformResponse.java @@ -31,6 +31,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -276,6 +277,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/transform/UpgradeTransformsResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/transform/UpgradeTransformsResponse.java index 06b31851c..51e4a05e9 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/transform/UpgradeTransformsResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/transform/UpgradeTransformsResponse.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -116,6 +117,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/transform/get_transform/TransformSummary.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/transform/get_transform/TransformSummary.java index 19cd25b24..cd01bb797 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/transform/get_transform/TransformSummary.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/transform/get_transform/TransformSummary.java @@ -35,6 +35,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -290,6 +291,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/transform/get_transform_stats/CheckpointStats.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/transform/get_transform_stats/CheckpointStats.java index 95689e304..0c6c0cd94 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/transform/get_transform_stats/CheckpointStats.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/transform/get_transform_stats/CheckpointStats.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -168,6 +169,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/transform/get_transform_stats/Checkpointing.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/transform/get_transform_stats/Checkpointing.java index c492a2531..d1d146869 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/transform/get_transform_stats/Checkpointing.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/transform/get_transform_stats/Checkpointing.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -171,6 +172,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/transform/get_transform_stats/TransformIndexerStats.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/transform/get_transform_stats/TransformIndexerStats.java index e77b6e449..40177fc43 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/transform/get_transform_stats/TransformIndexerStats.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/transform/get_transform_stats/TransformIndexerStats.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -305,6 +306,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/transform/get_transform_stats/TransformProgress.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/transform/get_transform_stats/TransformProgress.java index 6de53d82c..7f4531e3a 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/transform/get_transform_stats/TransformProgress.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/transform/get_transform_stats/TransformProgress.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -137,6 +138,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/transform/get_transform_stats/TransformStats.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/transform/get_transform_stats/TransformStats.java index 9a0e501aa..7570e761b 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/transform/get_transform_stats/TransformStats.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/transform/get_transform_stats/TransformStats.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -159,6 +160,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/AckWatchResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/AckWatchResponse.java index 62d16dfb5..0361e2b7e 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/AckWatchResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/AckWatchResponse.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -83,6 +84,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/AcknowledgeState.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/AcknowledgeState.java index b417fd689..430494521 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/AcknowledgeState.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/AcknowledgeState.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -96,6 +97,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/Action.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/Action.java index ac660a22e..ea77da98d 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/Action.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/Action.java @@ -29,6 +29,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.DateTime; @@ -311,6 +312,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/ActionStatus.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/ActionStatus.java index 579a50fec..8b4a23d84 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/ActionStatus.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/ActionStatus.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -135,6 +136,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/ActivateWatchResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/ActivateWatchResponse.java index e9b754aee..a44d10b17 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/ActivateWatchResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/ActivateWatchResponse.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -83,6 +84,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/ActivationState.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/ActivationState.java index aba8a1111..501b29cd6 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/ActivationState.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/ActivationState.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -98,6 +99,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/ActivationStatus.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/ActivationStatus.java index 1f05ad5c1..7067f6983 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/ActivationStatus.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/ActivationStatus.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -120,6 +121,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/ArrayCompareCondition.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/ArrayCompareCondition.java index 7705f2d47..39e7441de 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/ArrayCompareCondition.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/ArrayCompareCondition.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -145,6 +146,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/ChainInput.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/ChainInput.java index 3f7d733aa..b1b3d46f8 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/ChainInput.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/ChainInput.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -100,6 +101,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/CompareCondition.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/CompareCondition.java index 6bb0fab22..cf1cf8ad9 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/CompareCondition.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/CompareCondition.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -165,6 +166,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/CompareContextPayloadCondition.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/CompareContextPayloadCondition.java index 651780454..6cb7179a3 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/CompareContextPayloadCondition.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/CompareContextPayloadCondition.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -158,6 +159,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/DailySchedule.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/DailySchedule.java index fd7977d64..941af8e1d 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/DailySchedule.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/DailySchedule.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -100,6 +101,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/DataEmailAttachment.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/DataEmailAttachment.java index 9895ab19f..bc13553a1 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/DataEmailAttachment.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/DataEmailAttachment.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -95,6 +96,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/DeactivateWatchResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/DeactivateWatchResponse.java index f6e47f96e..8f1b5443f 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/DeactivateWatchResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/DeactivateWatchResponse.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -84,6 +85,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/DeleteWatchResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/DeleteWatchResponse.java index 84a6fde9f..d0c1d19fe 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/DeleteWatchResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/DeleteWatchResponse.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -112,6 +113,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/Email.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/Email.java index dc6652cd8..749936d2d 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/Email.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/Email.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -272,6 +273,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/EmailBody.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/EmailBody.java index ab1b56a4f..239167bce 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/EmailBody.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/EmailBody.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -105,6 +106,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/EmailResult.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/EmailResult.java index c4572749b..ba0953ca5 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/EmailResult.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/EmailResult.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -119,6 +120,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/ExecuteWatchResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/ExecuteWatchResponse.java index 77ef8cc32..130d6bf87 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/ExecuteWatchResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/ExecuteWatchResponse.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -98,6 +99,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/ExecutionResult.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/ExecutionResult.java index 5a056468f..47ba79d7a 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/ExecutionResult.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/ExecutionResult.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -144,6 +145,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/ExecutionResultAction.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/ExecutionResultAction.java index c8c34e225..c96838208 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/ExecutionResultAction.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/ExecutionResultAction.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -247,6 +248,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/ExecutionResultCondition.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/ExecutionResultCondition.java index 31d40f91b..146ed20b4 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/ExecutionResultCondition.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/ExecutionResultCondition.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -110,6 +111,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/ExecutionResultInput.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/ExecutionResultInput.java index 510afbb63..5a1102c75 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/ExecutionResultInput.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/ExecutionResultInput.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -120,6 +121,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/ExecutionState.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/ExecutionState.java index 2485cdf20..c936d3b92 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/ExecutionState.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/ExecutionState.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -116,6 +117,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/ExecutionThreadPool.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/ExecutionThreadPool.java index db127fb80..c407f074b 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/ExecutionThreadPool.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/ExecutionThreadPool.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -97,6 +98,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/GetWatchResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/GetWatchResponse.java index f84a064b6..7eee155c8 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/GetWatchResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/GetWatchResponse.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -186,6 +187,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/HourAndMinute.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/HourAndMinute.java index e360fa918..19e4f8a1c 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/HourAndMinute.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/HourAndMinute.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -113,6 +114,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/HourlySchedule.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/HourlySchedule.java index 46b933c86..f1500741b 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/HourlySchedule.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/HourlySchedule.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -101,6 +102,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/HttpEmailAttachment.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/HttpEmailAttachment.java index 5162f8a31..21feaded0 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/HttpEmailAttachment.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/HttpEmailAttachment.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -132,6 +133,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/HttpInput.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/HttpInput.java index 587c7f2b4..0302880a2 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/HttpInput.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/HttpInput.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -151,6 +152,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/HttpInputAuthentication.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/HttpInputAuthentication.java index 566908421..204fda6c8 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/HttpInputAuthentication.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/HttpInputAuthentication.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -84,6 +85,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/HttpInputBasicAuthentication.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/HttpInputBasicAuthentication.java index 1cab8c704..f66f8e9cd 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/HttpInputBasicAuthentication.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/HttpInputBasicAuthentication.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -98,6 +99,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/HttpInputProxy.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/HttpInputProxy.java index de450b9e4..05ed7aa87 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/HttpInputProxy.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/HttpInputProxy.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -98,6 +99,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/HttpInputRequestDefinition.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/HttpInputRequestDefinition.java index c45d211ce..ee88dabfe 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/HttpInputRequestDefinition.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/HttpInputRequestDefinition.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -304,6 +305,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/HttpInputResponseResult.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/HttpInputResponseResult.java index 488db1dd6..d9e6bccd0 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/HttpInputResponseResult.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/HttpInputResponseResult.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -129,6 +130,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/IndexAction.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/IndexAction.java index 15333c4bc..d2ca30066 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/IndexAction.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/IndexAction.java @@ -30,6 +30,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -171,6 +172,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/IndexResult.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/IndexResult.java index 039f23eca..b1946ee15 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/IndexResult.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/IndexResult.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -83,6 +84,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/IndexResultSummary.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/IndexResultSummary.java index 42be59a11..37b426e4e 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/IndexResultSummary.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/IndexResultSummary.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -139,6 +140,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/LoggingAction.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/LoggingAction.java index af518c294..dbe07acc2 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/LoggingAction.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/LoggingAction.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -119,6 +120,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/LoggingResult.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/LoggingResult.java index 429e2cef3..93a91211f 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/LoggingResult.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/LoggingResult.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -84,6 +85,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/PagerDutyContext.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/PagerDutyContext.java index ad2fc1310..2b9e88ec9 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/PagerDutyContext.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/PagerDutyContext.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -118,6 +119,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/PagerDutyEvent.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/PagerDutyEvent.java index aa2bebc86..b93134a01 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/PagerDutyEvent.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/PagerDutyEvent.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -217,6 +218,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/PagerDutyEventProxy.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/PagerDutyEventProxy.java index 7bff6035f..56ab5ed76 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/PagerDutyEventProxy.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/PagerDutyEventProxy.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -107,6 +108,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/PagerDutyResult.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/PagerDutyResult.java index b6c7b533b..b47dc45b4 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/PagerDutyResult.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/PagerDutyResult.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -136,6 +137,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/PutWatchResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/PutWatchResponse.java index f93ce07d6..e16f1c2aa 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/PutWatchResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/PutWatchResponse.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -138,6 +139,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/QueryWatch.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/QueryWatch.java index 9964e0a0c..ec087a202 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/QueryWatch.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/QueryWatch.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -155,6 +156,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/QueryWatchesResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/QueryWatchesResponse.java index 721f6a889..45434c6cb 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/QueryWatchesResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/QueryWatchesResponse.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -106,6 +107,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/ReportingEmailAttachment.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/ReportingEmailAttachment.java index b62fbddc2..9389279fc 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/ReportingEmailAttachment.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/ReportingEmailAttachment.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -165,6 +166,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/ScheduleTriggerEvent.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/ScheduleTriggerEvent.java index 58a85b6ff..43e753d90 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/ScheduleTriggerEvent.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/ScheduleTriggerEvent.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -109,6 +110,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/ScriptCondition.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/ScriptCondition.java index 1471fb714..d1ee1e9d7 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/ScriptCondition.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/ScriptCondition.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -154,6 +155,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/SearchInput.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/SearchInput.java index 7ad7fdcb3..a0b3233de 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/SearchInput.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/SearchInput.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -132,6 +133,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/SearchInputRequestBody.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/SearchInputRequestBody.java index ceff1dd7f..a0f5b210e 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/SearchInputRequestBody.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/SearchInputRequestBody.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -85,6 +86,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/SearchInputRequestDefinition.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/SearchInputRequestDefinition.java index 4606f7102..a5ae29224 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/SearchInputRequestDefinition.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/SearchInputRequestDefinition.java @@ -29,6 +29,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -181,6 +182,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/SearchTemplateRequestBody.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/SearchTemplateRequestBody.java index 712f4547c..262fa0730 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/SearchTemplateRequestBody.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/SearchTemplateRequestBody.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -172,6 +173,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/SimulatedActions.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/SimulatedActions.java index aad51a9c2..52433486a 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/SimulatedActions.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/SimulatedActions.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -119,6 +120,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/SlackAction.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/SlackAction.java index de7938078..f57493ecb 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/SlackAction.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/SlackAction.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -101,6 +102,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/SlackAttachment.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/SlackAttachment.java index 3474d13ef..bfabfa5bf 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/SlackAttachment.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/SlackAttachment.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -323,6 +324,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/SlackAttachmentField.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/SlackAttachmentField.java index b6f18b9b2..a74e2168d 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/SlackAttachmentField.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/SlackAttachmentField.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -112,6 +113,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/SlackDynamicAttachment.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/SlackDynamicAttachment.java index c2a591bb4..802d03597 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/SlackDynamicAttachment.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/SlackDynamicAttachment.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -98,6 +99,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/SlackMessage.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/SlackMessage.java index f70a6e878..138d3dded 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/SlackMessage.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/SlackMessage.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -173,6 +174,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/SlackResult.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/SlackResult.java index e691bc85b..7cd9b8a61 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/SlackResult.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/SlackResult.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -101,6 +102,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/ThrottleState.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/ThrottleState.java index b53dd4634..57070d5bf 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/ThrottleState.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/ThrottleState.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -98,6 +99,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/TimeOfMonth.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/TimeOfMonth.java index e59553c30..eb92e44de 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/TimeOfMonth.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/TimeOfMonth.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -114,6 +115,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/TimeOfWeek.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/TimeOfWeek.java index ca9aedf7f..e71366bf5 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/TimeOfWeek.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/TimeOfWeek.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -112,6 +113,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/TimeOfYear.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/TimeOfYear.java index 1c30ceadd..cbcb66259 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/TimeOfYear.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/TimeOfYear.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -133,6 +134,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/TriggerEventResult.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/TriggerEventResult.java index 6ddfbc75f..f4a6b1aee 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/TriggerEventResult.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/TriggerEventResult.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -111,6 +112,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/Watch.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/Watch.java index 5c7fb8a11..da94d567c 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/Watch.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/Watch.java @@ -29,6 +29,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -225,6 +226,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/WatchStatus.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/WatchStatus.java index 9c689be09..0ba9db64a 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/WatchStatus.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/WatchStatus.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -171,6 +172,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/WatcherStatsResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/WatcherStatsResponse.java index 3e083b0c2..819942fa8 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/WatcherStatsResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/WatcherStatsResponse.java @@ -29,6 +29,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -135,6 +136,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/WebhookResult.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/WebhookResult.java index 9a69ba812..8230a4856 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/WebhookResult.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/WebhookResult.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -101,6 +102,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/execute_watch/WatchRecord.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/execute_watch/WatchRecord.java index 3dde1edd4..aab216360 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/execute_watch/WatchRecord.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/execute_watch/WatchRecord.java @@ -34,6 +34,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -243,6 +244,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/stats/WatchRecordQueuedStats.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/stats/WatchRecordQueuedStats.java index 3d67e4443..2469baaf5 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/stats/WatchRecordQueuedStats.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/stats/WatchRecordQueuedStats.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -86,6 +87,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/stats/WatcherNodeStats.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/stats/WatcherNodeStats.java index 341233e61..0574b8078 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/stats/WatcherNodeStats.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/watcher/stats/WatcherNodeStats.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -167,6 +168,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/XpackInfoResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/XpackInfoResponse.java index 564470db3..10f0bdeab 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/XpackInfoResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/XpackInfoResponse.java @@ -30,6 +30,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -126,6 +127,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/XpackUsageResponse.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/XpackUsageResponse.java index 33a904de1..db158de32 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/XpackUsageResponse.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/XpackUsageResponse.java @@ -46,6 +46,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -482,6 +483,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/info/BuildInformation.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/info/BuildInformation.java index 0beb8a8f6..a36132e32 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/info/BuildInformation.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/info/BuildInformation.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -97,6 +98,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/info/Feature.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/info/Feature.java index 8e9a6b190..cc4387f40 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/info/Feature.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/info/Feature.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -133,6 +134,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/info/Features.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/info/Features.java index 432065b6a..4e33cb418 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/info/Features.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/info/Features.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -455,6 +456,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/info/MinimalLicenseInformation.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/info/MinimalLicenseInformation.java index 6ebfda89d..0d34df8b1 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/info/MinimalLicenseInformation.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/info/MinimalLicenseInformation.java @@ -29,6 +29,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -136,6 +137,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/info/NativeCodeInformation.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/info/NativeCodeInformation.java index 49abc2c7b..a20e7be6c 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/info/NativeCodeInformation.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/info/NativeCodeInformation.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -98,6 +99,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/AllJobs.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/AllJobs.java index 2b994750d..67a618ffa 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/AllJobs.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/AllJobs.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -171,6 +172,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/AnalyticsStatistics.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/AnalyticsStatistics.java index 19e6302c6..cba40e0fc 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/AnalyticsStatistics.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/AnalyticsStatistics.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -196,6 +197,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/Base.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/Base.java index ea170c35a..86091ee20 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/Base.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/Base.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -96,6 +97,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/Counter.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/Counter.java index bfb7882d9..41a2263fe 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/Counter.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/Counter.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -96,6 +97,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/DataTierPhaseStatistics.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/DataTierPhaseStatistics.java index e25b8456b..bfa255f70 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/DataTierPhaseStatistics.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/DataTierPhaseStatistics.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -204,6 +205,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/Datafeed.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/Datafeed.java index 2c7118c15..382974309 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/Datafeed.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/Datafeed.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -83,6 +84,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/EqlFeatures.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/EqlFeatures.java index 2d87d16d8..018292922 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/EqlFeatures.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/EqlFeatures.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -162,6 +163,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/EqlFeaturesJoin.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/EqlFeaturesJoin.java index 9f3d6df60..3caf9b0f5 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/EqlFeaturesJoin.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/EqlFeaturesJoin.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -137,6 +138,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/EqlFeaturesKeys.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/EqlFeaturesKeys.java index cdf8d2488..a364b4486 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/EqlFeaturesKeys.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/EqlFeaturesKeys.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -136,6 +137,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/EqlFeaturesPipes.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/EqlFeaturesPipes.java index c365ecb8d..93a8fcf26 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/EqlFeaturesPipes.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/EqlFeaturesPipes.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -97,6 +98,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/EqlFeaturesSequences.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/EqlFeaturesSequences.java index 9758f11c9..d20ba4dd7 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/EqlFeaturesSequences.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/EqlFeaturesSequences.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -153,6 +154,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/FeatureToggle.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/FeatureToggle.java index 8fa7f367f..e248ef017 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/FeatureToggle.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/FeatureToggle.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -83,6 +84,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/Ilm.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/Ilm.java index 27a9af601..cedd3162e 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/Ilm.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/Ilm.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -106,6 +107,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/IlmPolicyStatistics.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/IlmPolicyStatistics.java index c573fbb6c..f7dd58ce7 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/IlmPolicyStatistics.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/IlmPolicyStatistics.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -99,6 +100,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/IpFilter.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/IpFilter.java index d8c72355f..4a99d1468 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/IpFilter.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/IpFilter.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -96,6 +97,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/Jobs.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/Jobs.java index f012158d7..521adfcef 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/Jobs.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/Jobs.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -109,6 +110,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/MlCounter.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/MlCounter.java index 8e7d4bf4f..5b7f55907 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/MlCounter.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/MlCounter.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -83,6 +84,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/MlDataFrameAnalyticsJobs.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/MlDataFrameAnalyticsJobs.java index 90ee5ecec..433d626de 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/MlDataFrameAnalyticsJobs.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/MlDataFrameAnalyticsJobs.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -136,6 +137,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/MlDataFrameAnalyticsJobsAnalysis.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/MlDataFrameAnalyticsJobsAnalysis.java index 08960cdc7..158c3eb2a 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/MlDataFrameAnalyticsJobsAnalysis.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/MlDataFrameAnalyticsJobsAnalysis.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -124,6 +125,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/MlDataFrameAnalyticsJobsCount.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/MlDataFrameAnalyticsJobsCount.java index 349bfdcbe..2b293cdb8 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/MlDataFrameAnalyticsJobsCount.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/MlDataFrameAnalyticsJobsCount.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -84,6 +85,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/MlDataFrameAnalyticsJobsMemory.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/MlDataFrameAnalyticsJobsMemory.java index d9a479439..5a2076d15 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/MlDataFrameAnalyticsJobsMemory.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/MlDataFrameAnalyticsJobsMemory.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -86,6 +87,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/MlInference.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/MlInference.java index d5b12d5e5..fa9cd5ae5 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/MlInference.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/MlInference.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -124,6 +125,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/MlInferenceDeployments.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/MlInferenceDeployments.java index 5acc9fa21..16f39ba40 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/MlInferenceDeployments.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/MlInferenceDeployments.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -125,6 +126,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/MlInferenceDeploymentsTimeMs.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/MlInferenceDeploymentsTimeMs.java index bedccbeb7..0fe2a8d7e 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/MlInferenceDeploymentsTimeMs.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/MlInferenceDeploymentsTimeMs.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -84,6 +85,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/MlInferenceIngestProcessor.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/MlInferenceIngestProcessor.java index 11e0e9e10..0090f7b3c 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/MlInferenceIngestProcessor.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/MlInferenceIngestProcessor.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -123,6 +124,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/MlInferenceIngestProcessorCount.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/MlInferenceIngestProcessorCount.java index 9f2047f0d..6a80e9222 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/MlInferenceIngestProcessorCount.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/MlInferenceIngestProcessorCount.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -111,6 +112,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/MlInferenceTrainedModels.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/MlInferenceTrainedModels.java index 621a8ae4a..e283d90b4 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/MlInferenceTrainedModels.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/MlInferenceTrainedModels.java @@ -28,6 +28,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -154,6 +155,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/MlInferenceTrainedModelsCount.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/MlInferenceTrainedModelsCount.java index 4166a7bc0..4917450e4 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/MlInferenceTrainedModelsCount.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/MlInferenceTrainedModelsCount.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -163,6 +164,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/RealmCache.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/RealmCache.java index 90b2d3e6e..491d4ed05 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/RealmCache.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/RealmCache.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -83,6 +84,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/RoleMapping.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/RoleMapping.java index 22c0ba93a..b9324b94b 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/RoleMapping.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/RoleMapping.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -96,6 +97,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/RuntimeFieldsType.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/RuntimeFieldsType.java index 30bc31699..a837eb997 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/RuntimeFieldsType.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/RuntimeFieldsType.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -263,6 +264,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/SecurityRoles.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/SecurityRoles.java index 27e2611c9..9512ec6a1 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/SecurityRoles.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/SecurityRoles.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -109,6 +110,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/SecurityRolesDls.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/SecurityRolesDls.java index f217a3617..18d0fdd0f 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/SecurityRolesDls.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/SecurityRolesDls.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -83,6 +84,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/SecurityRolesDlsBitSetCache.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/SecurityRolesDlsBitSetCache.java index e0fb6bd0b..8fe2b0792 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/SecurityRolesDlsBitSetCache.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/SecurityRolesDlsBitSetCache.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -117,6 +118,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/SecurityRolesFile.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/SecurityRolesFile.java index 558c98d2e..e5736be16 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/SecurityRolesFile.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/SecurityRolesFile.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -111,6 +112,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/SecurityRolesNative.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/SecurityRolesNative.java index c4483e5b2..74b30784b 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/SecurityRolesNative.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/SecurityRolesNative.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -111,6 +112,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/Ssl.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/Ssl.java index 225d395e7..6824a4eae 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/Ssl.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/Ssl.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -96,6 +97,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/WatcherActionTotals.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/WatcherActionTotals.java index 2c214f0d4..5ad6c1b5d 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/WatcherActionTotals.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/WatcherActionTotals.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -97,6 +98,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/WatcherActions.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/WatcherActions.java index 2ffa672ca..4e01cb748 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/WatcherActions.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/WatcherActions.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -94,6 +95,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/WatcherWatch.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/WatcherWatch.java index be6cb5fb0..44d989f08 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/WatcherWatch.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/WatcherWatch.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -148,6 +149,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/WatcherWatchTrigger.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/WatcherWatchTrigger.java index f3b77202b..7db177273 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/WatcherWatchTrigger.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/WatcherWatchTrigger.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ApiTypeHelper; @@ -101,6 +102,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/XpackUsageQuery.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/XpackUsageQuery.java index 72c3f267a..66637da8b 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/XpackUsageQuery.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/xpack/usage/XpackUsageQuery.java @@ -27,6 +27,7 @@ import co.elastic.clients.json.JsonpDeserializer; import co.elastic.clients.json.JsonpMapper; import co.elastic.clients.json.JsonpSerializable; +import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.json.ObjectBuilderDeserializer; import co.elastic.clients.json.ObjectDeserializer; import co.elastic.clients.util.ObjectBuilder; @@ -139,6 +140,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + // --------------------------------------------------------------------------------------------- /** diff --git a/java-client/src/main/java/co/elastic/clients/json/JsonpUtils.java b/java-client/src/main/java/co/elastic/clients/json/JsonpUtils.java index 655c2c706..9a0bb50bc 100644 --- a/java-client/src/main/java/co/elastic/clients/json/JsonpUtils.java +++ b/java-client/src/main/java/co/elastic/clients/json/JsonpUtils.java @@ -32,7 +32,9 @@ import jakarta.json.stream.JsonParsingException; import javax.annotation.Nullable; +import java.io.IOException; import java.io.StringReader; +import java.io.Writer; import java.util.AbstractMap; import java.util.Map; import java.util.ServiceLoader; @@ -239,4 +241,34 @@ public static void serializeIntOrNull(JsonGenerator generator, int value, int de generator.write(value); } } + + public static String toString(JsonpSerializable value) { + return toString(value, ToStringMapper.INSTANCE, new StringBuilder()).toString(); + } + + public static StringBuilder toString(JsonpSerializable value, JsonpMapper mapper, StringBuilder dest) { + Writer writer = new Writer() { + @Override + public void write(char[] cbuf, int off, int len) throws IOException { + dest.append(cbuf, off, len); + } + + @Override + public void flush() { + } + + @Override + public void close() { + } + }; + + JsonGenerator generator = mapper.jsonProvider().createGenerator(writer); + value.serialize(generator, mapper); + generator.close(); + return dest; + } + + public static StringBuilder toString(JsonpSerializable value, StringBuilder dest) { + return toString(value, ToStringMapper.INSTANCE, dest); + } } diff --git a/java-client/src/main/java/co/elastic/clients/json/SimpleJsonpMapper.java b/java-client/src/main/java/co/elastic/clients/json/SimpleJsonpMapper.java index c1cd35efd..7faf59a0b 100644 --- a/java-client/src/main/java/co/elastic/clients/json/SimpleJsonpMapper.java +++ b/java-client/src/main/java/co/elastic/clients/json/SimpleJsonpMapper.java @@ -97,6 +97,10 @@ public void serialize(T value, JsonGenerator generator) { serializer = serializer_; } + if (serializer == null) { + serializer = getDefaultSerializer(value); + } + if (serializer != null) { serializer.serialize(value, generator, this); } else { @@ -120,4 +124,8 @@ protected JsonpDeserializer getDefaultDeserializer(Class clazz) { ); } } + + protected JsonpSerializer getDefaultSerializer(T value) { + return null; + } } diff --git a/java-client/src/main/java/co/elastic/clients/json/ToStringMapper.java b/java-client/src/main/java/co/elastic/clients/json/ToStringMapper.java new file mode 100644 index 000000000..e3ffe5778 --- /dev/null +++ b/java-client/src/main/java/co/elastic/clients/json/ToStringMapper.java @@ -0,0 +1,44 @@ +/* + * Licensed to Elasticsearch B.V. under one or more contributor + * license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright + * ownership. Elasticsearch B.V. licenses this file to you under + * the Apache License, Version 2.0 (the "License"); you may + * not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +package co.elastic.clients.json; + +import jakarta.json.stream.JsonGenerator; + +class ToStringMapper extends SimpleJsonpMapper { + + static final ToStringMapper INSTANCE = new ToStringMapper(); + + private static final JsonpSerializer toStringSerializer = new JsonpSerializer() { + @Override + public void serialize(Object value, JsonGenerator generator, JsonpMapper mapper) { + if (value == null) { + generator.writeNull(); + } else { + generator.write(value.toString()); + } + } + }; + + @Override + @SuppressWarnings("unchecked") + protected JsonpSerializer getDefaultSerializer(T value) { + return (JsonpSerializer)toStringSerializer; + } +} diff --git a/java-client/src/main/java/co/elastic/clients/transport/endpoints/DictionaryResponse.java b/java-client/src/main/java/co/elastic/clients/transport/endpoints/DictionaryResponse.java index d9e2078ea..ef66d3d17 100644 --- a/java-client/src/main/java/co/elastic/clients/transport/endpoints/DictionaryResponse.java +++ b/java-client/src/main/java/co/elastic/clients/transport/endpoints/DictionaryResponse.java @@ -85,6 +85,11 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } } + @Override + public String toString() { + return JsonpUtils.toString(this); + } + protected abstract static class AbstractBuilder> extends ObjectBuilderBase { diff --git a/java-client/src/test/java/co/elastic/clients/elasticsearch/json/JsonpUtilsTest.java b/java-client/src/test/java/co/elastic/clients/elasticsearch/json/JsonpUtilsTest.java index 95263b287..7edc1bdfe 100644 --- a/java-client/src/test/java/co/elastic/clients/elasticsearch/json/JsonpUtilsTest.java +++ b/java-client/src/test/java/co/elastic/clients/elasticsearch/json/JsonpUtilsTest.java @@ -19,6 +19,7 @@ package co.elastic.clients.elasticsearch.json; +import co.elastic.clients.elasticsearch.core.search.Hit; import co.elastic.clients.json.JsonpUtils; import co.elastic.clients.util.AllowForbiddenApis; import jakarta.json.JsonException; @@ -64,6 +65,24 @@ public Enumeration getResources(String name) { } } + @Test + public void testObjectToString() { + // Test that we call toString() on application classes. + Hit hit = Hit.of(h -> h + .source(new SomeUserData()) + .index("idx") + .id("id1") + ); + assertEquals("{\"_index\":\"idx\",\"_id\":\"id1\",\"_source\":\"Some user data\"}", hit.toString()); + } + + private static class SomeUserData { + @Override + public String toString() { + return "Some user data"; + } + } + @Test public void testSerializeDoubleOrNull() { // ---- Double values diff --git a/java-client/src/test/java/co/elastic/clients/elasticsearch/model/EndpointTest.java b/java-client/src/test/java/co/elastic/clients/elasticsearch/model/EndpointTest.java index 037f91062..1ccf7f5c8 100644 --- a/java-client/src/test/java/co/elastic/clients/elasticsearch/model/EndpointTest.java +++ b/java-client/src/test/java/co/elastic/clients/elasticsearch/model/EndpointTest.java @@ -20,6 +20,9 @@ package co.elastic.clients.elasticsearch.model; import co.elastic.clients.elasticsearch._types.ExpandWildcard; +import co.elastic.clients.elasticsearch.core.ExistsRequest; +import co.elastic.clients.elasticsearch.core.InfoRequest; +import co.elastic.clients.elasticsearch.core.SearchRequest; import co.elastic.clients.elasticsearch.indices.RefreshRequest; import org.junit.Assert; import org.junit.Test; @@ -71,4 +74,21 @@ public void testArrayQueryParameter() { req = RefreshRequest.of(b -> b.expandWildcards(ExpandWildcard.All, ExpandWildcard.Closed)); assertEquals("all,closed", RefreshRequest._ENDPOINT.queryParameters(req).get("expand_wildcards")); } + + @Test + public void testRequestToString() { + // Simple path, no parameters, no body + assertEquals("GET /", InfoRequest._INSTANCE.toString()); + + // Complex path, parameters, no body + assertEquals( + "HEAD /idx/_doc/id1?preference=foo&refresh=true", + ExistsRequest.of(b -> b.index("idx").id("id1").preference("foo").refresh(true)).toString() + ); + + assertEquals( + "POST /idx/_search?typed_keys=true {\"size\":10}", + SearchRequest.of(s -> s.index("idx").size(10)).toString() + ); + } }